diff --git a/.github/workflows/build-windows-executable-app.yaml b/.github/workflows/build-windows-executable-app.yaml index 253227c9..d9b3a44a 100644 --- a/.github/workflows/build-windows-executable-app.yaml +++ b/.github/workflows/build-windows-executable-app.yaml @@ -11,6 +11,10 @@ on: # Define needed TOPP tools here env: TOPP_TOOLS: "FLASHDeconv FLASHTnT DecoyDatabase" + OPENMS_VERSION: 3.2.0 + PYTHON_VERSION: 3.11.0 + # Name of the installer + APP_NAME: FLASHApp-0.50 jobs: build-vue-js-component: @@ -74,7 +78,8 @@ jobs: - name: Setup build tools shell: bash run: | - choco install ccache ninja cmake + choco install ccache ninja -y --no-progress + choco install cmake --version=3.31.1 -y --no-progress --force ## GH CLI "SHOULD BE" installed. Sometimes I had to manually install nonetheless. Super weird. # https://github.com/actions/runner-images/blob/main/images/win/scripts/Installers/Install-GitHub-CLI.ps1 echo "C:/Program Files (x86)/GitHub CLI" >> $GITHUB_PATH @@ -197,10 +202,7 @@ jobs: build-executable: runs-on: windows-latest needs: [build-openms, build-vue-js-component] - - env: - PYTHON_VERSION: 3.11.0 - + steps: - name: Checkout uses: actions/checkout@v3 @@ -266,23 +268,21 @@ jobs: - name: Install Required Packages run: .\python-${{ env.PYTHON_VERSION }}\python -m pip install --force-reinstall -r requirements.txt --no-warn-script-location - - name: Create run_app.bat file - run: | - echo '@echo off' > run_app.bat - echo '.\\python-${{ env.PYTHON_VERSION }}\\python -m streamlit run app.py local' >> run_app.bat - - name: Set to offline deployment run: | $content = Get-Content -Raw settings.json | ConvertFrom-Json $content.online_deployment = $false $content | ConvertTo-Json -Depth 100 | Set-Content settings.json + - name: Create .bat file + run: | + echo " start /min .\python-${{ env.PYTHON_VERSION }}\python -m streamlit run app.py local" > ${{ env.APP_NAME }}.bat + - name: Create All-in-one executable folder run: | mkdir streamlit_exe mv python-${{ env.PYTHON_VERSION }} streamlit_exe - mv run_app.bat streamlit_exe cp -r src streamlit_exe cp -r content streamlit_exe cp -r assets streamlit_exe @@ -294,22 +294,153 @@ jobs: cp app.py streamlit_exe cp settings.json streamlit_exe cp default-parameters.json streamlit_exe + cp ${{ env.APP_NAME }}.bat streamlit_exe $files = $env:TOPP_TOOLS -split ' ' foreach ($file in $files) { Copy-Item "openms-bin/${file}.exe" -Destination "streamlit_exe/${file}.exe" } - - name: Delete OpenMS package artifact - uses: geekyeggo/delete-artifact@v5 - with: - name: openms-package - - - name: Compress streamlit_exe folder to OpenMS-App.zip + - name: Generate Readme.txt + shell: bash + run: | + cat < streamlit_exe/Readme.txt + Welcome to ${{ env.APP_NAME }} app! + + To launch the application: + 1. Navigate to the installation directory. + 2. Double-click on the file: ${{ env.APP_NAME }}.bat or ${{ env.APP_NAME }} shortcut. + + Additional Information: + - If multiple Streamlit apps are running, you can change the port in the .streamlit/config.toml file. + Example: + [server] + port = 8502 + + Reach out to us: + - Join our Discord server for support and community discussions: https://discord.com/invite/4TAGhqJ7s5 + - Contribute or stay updated with the latest OpenMS web app developments on GitHub: https://github.com/OpenMS/streamlit-template + - Visit our website for more information: https://openms.de/ + + Thank you for using ${{ env.APP_NAME }}! + EOF + + - name: Install WiX Toolset + run: | + curl -LO https://github.com/wixtoolset/wix3/releases/download/wix3111rtm/wix311-binaries.zip + unzip wix311-binaries.zip -d wix + rm wix311-binaries.zip + + - name: Build .wxs for streamlit_exe folder + run: | + ./wix/heat.exe dir streamlit_exe -gg -sfrag -sreg -srd -template component -cg StreamlitExeFiles -dr AppSubFolder -out streamlit_exe_files.wxs + + - name: Generate VBScript file + shell: bash + run: | + cat < ShowSuccessMessage.vbs + MsgBox "The ${{ env.APP_NAME }} application is successfully installed.", vbInformation, "Installation Complete" + EOF + + - name: Prepare SourceDir + run: | + mkdir SourceDir + mv streamlit_exe/* SourceDir + cp ShowSuccessMessage.vbs SourceDir + cp assets/openms_license.rtf SourceDir + # Logo of app + cp assets/openms.ico SourceDir + + - name: Generate WiX XML file + shell: bash + run: | + cat < streamlit_exe.wxs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NOT Installed + + + + + + + + + + + + + + + EOF + + - name: Build .wixobj file with candle.exe + run: | + ./wix/candle.exe streamlit_exe.wxs streamlit_exe_files.wxs + + - name: Link .wixobj file into .msi with light.exe + run: | + ./wix/light.exe -ext WixUIExtension -sice:ICE60 -o ${{ env.APP_NAME }}.msi streamlit_exe_files.wixobj streamlit_exe.wixobj + + - name: Compress Installer run: | - 7z a OpenMS-App.zip ./streamlit_exe/* -r + 7z a OpenMS-App.zip ${{ env.APP_NAME }}.msi - - name: Upload artifact + - name: Archive build artifacts uses: actions/upload-artifact@v4 with: name: OpenMS-App diff --git a/.github/workflows/test-win-exe-w-embed-py.yaml b/.github/workflows/test-win-exe-w-embed-py.yaml index 040d2afc..30fd3eb5 100644 --- a/.github/workflows/test-win-exe-w-embed-py.yaml +++ b/.github/workflows/test-win-exe-w-embed-py.yaml @@ -1,5 +1,7 @@ name: Test streamlit executable for Windows with embeddable python on: + push: + branches: [ "main" ] workflow_dispatch: jobs: @@ -8,17 +10,18 @@ jobs: env: PYTHON_VERSION: 3.11.9 + APP_NAME: OpenMS-StreamlitTemplateApp-Test steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Download python embeddable version run: | - mkdir python-${{ env.PYTHON_VERSION }} - curl -O https://www.python.org/ftp/python/${{ env.PYTHON_VERSION }}/python-${{ env.PYTHON_VERSION }}-embed-amd64.zip - unzip python-${{ env.PYTHON_VERSION }}-embed-amd64.zip -d python-${{ env.PYTHON_VERSION }} - rm python-${{ env.PYTHON_VERSION }}-embed-amd64.zip + mkdir python-${{ env.PYTHON_VERSION }} + curl -O https://www.python.org/ftp/python/${{ env.PYTHON_VERSION }}/python-${{ env.PYTHON_VERSION }}-embed-amd64.zip + unzip python-${{ env.PYTHON_VERSION }}-embed-amd64.zip -d python-${{ env.PYTHON_VERSION }} + rm python-${{ env.PYTHON_VERSION }}-embed-amd64.zip - name: Install pip run: | @@ -36,26 +39,164 @@ jobs: - name: Install Required Packages run: .\python-${{ env.PYTHON_VERSION }}\python -m pip install -r requirements.txt --no-warn-script-location - - - name: Create run_app.bat file - run: | - echo '@echo off' > run_app.bat - echo '.\\python-${{ env.PYTHON_VERSION }}\\python -m streamlit run app.py local' >> run_app.bat + - name: Create .bat file + run: | + echo " start /min .\python-${{ env.PYTHON_VERSION }}\python -m streamlit run app.py local" > ${{ env.APP_NAME }}.bat + - name: Create All-in-one executable folder run: | mkdir streamlit_exe mv python-${{ env.PYTHON_VERSION }} streamlit_exe - mv run_app.bat streamlit_exe cp -r src streamlit_exe cp -r content streamlit_exe + cp -r docs streamlit_exe cp -r assets streamlit_exe cp -r example-data streamlit_exe cp -r .streamlit streamlit_exe cp app.py streamlit_exe + cp settings.json streamlit_exe + cp default-parameters.json streamlit_exe + cp ${{ env.APP_NAME }}.bat streamlit_exe + + - name: Generate Readme.txt + shell: bash + run: | + cat < streamlit_exe/Readme.txt + Welcome to ${{ env.APP_NAME }} app! + + To launch the application: + 1. Navigate to the installation directory. + 2. Double-click on the file: ${{ env.APP_NAME }}.bat or ${{ env.APP_NAME }} shortcut. + + Additional Information: + - If multiple Streamlit apps are running, you can change the port in the .streamlit/config.toml file. + Example: + [server] + port = 8502 + + Reach out to us: + - Join our Discord server for support and community discussions: https://discord.com/invite/4TAGhqJ7s5 + - Contribute or stay updated with the latest OpenMS web app developments on GitHub: https://github.com/OpenMS/streamlit-template + - Visit our website for more information: https://openms.de/ + + Thank you for using ${{ env.APP_NAME }}! + EOF + + - name: Install WiX Toolset + run: | + curl -LO https://github.com/wixtoolset/wix3/releases/download/wix3111rtm/wix311-binaries.zip + unzip wix311-binaries.zip -d wix + rm wix311-binaries.zip + + - name: Build .wxs for streamlit_exe folder + run: | + ./wix/heat.exe dir streamlit_exe -gg -sfrag -sreg -srd -template component -cg StreamlitExeFiles -dr AppSubFolder -out streamlit_exe_files.wxs + + - name: Generate VBScript file + shell: bash + run: | + cat < ShowSuccessMessage.vbs + MsgBox " The ${{ env.APP_NAME }} application is successfully installed.", vbInformation, "Installation Complete" + EOF + + - name: Prepare SourceDir + run: | + mkdir SourceDir + mv streamlit_exe/* SourceDir + cp ShowSuccessMessage.vbs SourceDir + cp assets/openms_license.rtf SourceDir + # Logo of app + cp assets/openms.ico SourceDir + + - name: Generate WiX XML file + shell: bash + run: | + cat < streamlit_exe.wxs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NOT Installed + + + + + + + + + + + + + + + EOF + + - name: Build .wixobj file with candle.exe + run: | + ./wix/candle.exe streamlit_exe.wxs streamlit_exe_files.wxs + + - name: Link .wixobj file into .msi with light.exe + run: | + ./wix/light.exe -ext WixUIExtension -sice:ICE60 -o ${{ env.APP_NAME }}.msi streamlit_exe_files.wixobj streamlit_exe.wixobj - - name: Archive streamlit_exe folder - uses: actions/upload-artifact@v2 + - name: Archive build artifacts + uses: actions/upload-artifact@v4 with: - name: streamlit_exe - path: streamlit_exe + name: OpenMS-App-Test + path: | + ${{ env.APP_NAME }}.msi \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 0d803502..9fd1b1e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,7 +64,7 @@ RUN (type -p wget >/dev/null || (apt-get update && apt-get install wget -y)) \ && apt-get update \ && apt-get install gh -y -# Download and install mamba. +# Download and install miniforge. ENV PATH="/root/miniforge3/bin:${PATH}" RUN wget -q \ https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh \ diff --git a/app.py b/app.py index a8d19f0b..73801251 100644 --- a/app.py +++ b/app.py @@ -14,7 +14,6 @@ st.Page(Path("content", "FLASHDeconv", "FLASHDeconvLayoutManager.py"), title="Layout Manager", icon="๐Ÿ“๏ธ"), st.Page(Path("content", "FLASHDeconv", "FLASHDeconvViewer.py"), title="Viewer", icon="๐Ÿ‘€"), st.Page(Path("content", "FLASHDeconv", "FLASHDeconvDownload.py"), title="Download", icon="โฌ‡๏ธ"), - st.Page(Path("content", "FLASHDeconv", "FLASHDeconvFDR.py"), title="ECDF Plot", icon="๐Ÿ“ˆ"), ], "๐Ÿงจ FLASHTnT": [ st.Page(Path("content", "FLASHTnT", "FLASHTnTWorkflow.py"), title="Workflow", icon="โš™๏ธ"), diff --git a/assets/openms.ico b/assets/openms.ico new file mode 100644 index 00000000..7716027e Binary files /dev/null and b/assets/openms.ico differ diff --git a/assets/openms_license.rtf b/assets/openms_license.rtf new file mode 100644 index 00000000..ba42af1a --- /dev/null +++ b/assets/openms_license.rtf @@ -0,0 +1,456 @@ +{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch0\stshfloch45\stshfhich45\stshfbi45\deflang1031\deflangfe1031\themelang1031\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria Math;} +{\f45\fbidi \fnil\fcharset0\fprq2{\*\panose 020b0604020202020204} Arial{\*\falt Arial};}{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\fdbmajor\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhimajor\f31502\fbidi \fswiss\fcharset0\fprq2 Aptos Display;}{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fdbminor\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2 Aptos;} +{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1285\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f1286\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;} +{\f1288\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f1289\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f1290\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);} +{\f1291\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f1292\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f1293\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);} +{\f1625\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}{\f1626\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}{\f1628\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f1629\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;} +{\f1632\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}{\f1633\fbidi \froman\fcharset163\fprq2 Cambria Math (Vietnamese);}{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;} +{\flomajor\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;} +{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;} +{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbmajor\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fdbmajor\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;} +{\fdbmajor\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbmajor\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fdbmajor\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);} +{\fdbmajor\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbmajor\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fdbmajor\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);} +{\fhimajor\f31528\fbidi \fswiss\fcharset238\fprq2 Aptos Display CE;}{\fhimajor\f31529\fbidi \fswiss\fcharset204\fprq2 Aptos Display Cyr;}{\fhimajor\f31531\fbidi \fswiss\fcharset161\fprq2 Aptos Display Greek;} +{\fhimajor\f31532\fbidi \fswiss\fcharset162\fprq2 Aptos Display Tur;}{\fhimajor\f31535\fbidi \fswiss\fcharset186\fprq2 Aptos Display Baltic;}{\fhimajor\f31536\fbidi \fswiss\fcharset163\fprq2 Aptos Display (Vietnamese);} +{\fbimajor\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbimajor\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fbimajor\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;} +{\fbimajor\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbimajor\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fbimajor\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);} +{\fbimajor\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbimajor\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\flominor\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;} +{\flominor\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flominor\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\flominor\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;} +{\flominor\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flominor\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\flominor\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;} +{\flominor\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbminor\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fdbminor\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;} +{\fdbminor\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbminor\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fdbminor\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);} +{\fdbminor\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbminor\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fdbminor\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);} +{\fhiminor\f31568\fbidi \fswiss\fcharset238\fprq2 Aptos CE;}{\fhiminor\f31569\fbidi \fswiss\fcharset204\fprq2 Aptos Cyr;}{\fhiminor\f31571\fbidi \fswiss\fcharset161\fprq2 Aptos Greek;}{\fhiminor\f31572\fbidi \fswiss\fcharset162\fprq2 Aptos Tur;} +{\fhiminor\f31575\fbidi \fswiss\fcharset186\fprq2 Aptos Baltic;}{\fhiminor\f31576\fbidi \fswiss\fcharset163\fprq2 Aptos (Vietnamese);}{\fbiminor\f31578\fbidi \froman\fcharset238\fprq2 Times New Roman CE;} +{\fbiminor\f31579\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fbiminor\f31581\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbiminor\f31582\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;} +{\fbiminor\f31583\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fbiminor\f31584\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbiminor\f31585\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;} +{\fbiminor\f31586\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0; +\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;\red0\green0\blue0;\red0\green0\blue0; +\red242\green242\blue242;\red79\green129\blue189;\red64\green64\blue64;\red221\green235\blue246;\red254\green242\blue203;}{\*\defchp \f45\fs22 }{\*\defpap \ql \li0\ri0\sa200\sl276\slmult1 +\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 }\noqfpromote {\stylesheet{\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \snext0 \sqformat Normal;}{\s1\ql \li0\ri0\sb480\sa200\keep\keepn\nowidctlpar\wrapdefault\faauto\outlinelevel0\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs40\alang1025 \ltrch\fcs0 +\f45\fs40\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \slink15 \sqformat \spriority9 heading 1;}{\s2\ql \li0\ri0\sb360\sa200\keep\keepn\nowidctlpar\wrapdefault\faauto\outlinelevel1\rin0\lin0\itap0 \rtlch\fcs1 +\af45\afs34\alang1025 \ltrch\fcs0 \f45\fs34\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \slink16 \sqformat heading 2;}{\s3\ql \li0\ri0\sb320\sa200\keep\keepn\nowidctlpar\wrapdefault\faauto\outlinelevel2\rin0\lin0\itap0 +\rtlch\fcs1 \af45\afs30\alang1025 \ltrch\fcs0 \f45\fs30\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \slink17 \sqformat heading 3;}{ +\s4\ql \li0\ri0\sb320\sa200\keep\keepn\nowidctlpar\wrapdefault\faauto\outlinelevel3\rin0\lin0\itap0 \rtlch\fcs1 \ab\af45\afs26\alang1025 \ltrch\fcs0 \b\f45\fs26\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \slink18 \sqformat +heading 4;}{\s5\ql \li0\ri0\sb320\sa200\keep\keepn\nowidctlpar\wrapdefault\faauto\outlinelevel4\rin0\lin0\itap0 \rtlch\fcs1 \ab\af45\afs24\alang1025 \ltrch\fcs0 \b\f45\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 +\sbasedon0 \snext0 \slink19 \sqformat heading 5;}{\s6\ql \li0\ri0\sb320\sa200\keep\keepn\nowidctlpar\wrapdefault\faauto\outlinelevel5\rin0\lin0\itap0 \rtlch\fcs1 \ab\af45\afs22\alang1025 \ltrch\fcs0 +\b\f45\fs22\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \slink20 \sqformat heading 6;}{\s7\ql \li0\ri0\sb320\sa200\keep\keepn\nowidctlpar\wrapdefault\faauto\outlinelevel6\rin0\lin0\itap0 \rtlch\fcs1 \ab\ai\af45\afs22\alang1025 +\ltrch\fcs0 \b\i\f45\fs22\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \slink21 \sqformat heading 7;}{\s8\ql \li0\ri0\sb320\sa200\keep\keepn\nowidctlpar\wrapdefault\faauto\outlinelevel7\rin0\lin0\itap0 \rtlch\fcs1 +\ai\af45\afs22\alang1025 \ltrch\fcs0 \i\f45\fs22\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \slink22 \sqformat heading 8;}{\s9\ql \li0\ri0\sb320\sa200\keep\keepn\nowidctlpar\wrapdefault\faauto\outlinelevel8\rin0\lin0\itap0 +\rtlch\fcs1 \ai\af45\afs21\alang1025 \ltrch\fcs0 \i\f45\fs21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \slink23 \sqformat heading 9;}{\*\cs10 \additive \ssemihidden \sunhideused Default Paragraph Font;}{\* +\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\sa200\sl276\slmult1 +\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \snext11 \ssemihidden \sunhideused Normal Table;}{\*\cs15 \additive +\rtlch\fcs1 \af45\afs40 \ltrch\fcs0 \f45\fs40 \sbasedon10 \slink1 Heading 1 Char;}{\*\cs16 \additive \rtlch\fcs1 \af45\afs34 \ltrch\fcs0 \f45\fs34 \sbasedon10 \slink2 Heading 2 Char;}{\*\cs17 \additive \rtlch\fcs1 \af45\afs30 \ltrch\fcs0 \f45\fs30 +\sbasedon10 \slink3 Heading 3 Char;}{\*\cs18 \additive \rtlch\fcs1 \ab\af45\afs26 \ltrch\fcs0 \b\f45\fs26 \sbasedon10 \slink4 Heading 4 Char;}{\*\cs19 \additive \rtlch\fcs1 \ab\af45 \ltrch\fcs0 \b\f45 \sbasedon10 \slink5 Heading 5 Char;}{\*\cs20 +\additive \rtlch\fcs1 \ab\af45\afs22 \ltrch\fcs0 \b\f45\fs22 \sbasedon10 \slink6 Heading 6 Char;}{\*\cs21 \additive \rtlch\fcs1 \ab\ai\af45\afs22 \ltrch\fcs0 \b\i\f45\fs22 \sbasedon10 \slink7 Heading 7 Char;}{\*\cs22 \additive \rtlch\fcs1 \ai\af45\afs22 +\ltrch\fcs0 \i\f45\fs22 \sbasedon10 \slink8 Heading 8 Char;}{\*\cs23 \additive \rtlch\fcs1 \ai\af45\afs21 \ltrch\fcs0 \i\f45\fs21 \sbasedon10 \slink9 Heading 9 Char;}{ +\s24\ql \li0\ri0\sb300\sa200\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\contextualspace \rtlch\fcs1 \af0\afs48\alang1025 \ltrch\fcs0 \fs48\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \slink25 \sqformat Title;}{\*\cs25 +\additive \rtlch\fcs1 \af0\afs48 \ltrch\fcs0 \fs48 \sbasedon10 \slink24 Title Char;}{\s26\ql \li0\ri0\sb200\sa200\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \slink27 \sqformat Subtitle;}{\*\cs27 \additive \rtlch\fcs1 \af0 \ltrch\fcs0 \sbasedon10 \slink26 Subtitle Char;}{ +\s28\ql \li720\ri720\nowidctlpar\wrapdefault\faauto\rin720\lin720\itap0 \rtlch\fcs1 \ai\af0\afs24\alang1025 \ltrch\fcs0 \i\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \slink29 \sqformat Quote;}{\*\cs29 \additive \rtlch\fcs1 +\ai\af0 \ltrch\fcs0 \i \sbasedon10 \slink28 Quote Char;}{\s30\ql \li720\ri720\nowidctlpar\brdrt\brdrs\brdrw10\brsp100\brdrcf8 \brdrl\brdrs\brdrw10\brsp200\brdrcf8 \brdrb\brdrs\brdrw10\brsp100\brdrcf8 \brdrr\brdrs\brdrw10\brsp200\brdrcf8 +\wrapdefault\faauto\rin720\lin720\rtlgutter\itap0\contextualspace \cbpat19 \rtlch\fcs1 \ai\af0\afs24\alang1025 \ltrch\fcs0 \i\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \slink31 \sqformat Intense Quote;}{\*\cs31 \additive +\rtlch\fcs1 \ai\af0 \ltrch\fcs0 \i \sbasedon10 \slink30 Intense Quote Char;}{\s32\ql \li0\ri0\nowidctlpar\tqc\tx7143\tqr\tx14287\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext32 \slink33 \sunhideused header;}{\*\cs33 \additive \rtlch\fcs1 \af0 \ltrch\fcs0 \sbasedon10 \slink32 Header Char;}{\s34\ql \li0\ri0\nowidctlpar +\tqc\tx7143\tqr\tx14287\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext34 \slink37 \sunhideused footer;}{\* +\ts35\tsrowd\trautofit1\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext35 Table Grid;}{\s36\ql \li0\ri0\sl276\slmult1 +\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \ab\af0\afs18\alang1025 \ltrch\fcs0 \b\fs18\cf20\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \sqformat caption;}{\*\cs37 \additive \slink34 Footer Char;}{\* +\ts38\tsrowd\trautofit1\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext38 Grid Table Light;}{\* +\ts39\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext39 Plain Table 1;}{\*\ts40\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext40 Plain Table 2;}{\* +\ts41\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext41 Plain Table 3;}{\*\ts42\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext42 Plain Table 4;}{\* +\ts43\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext43 Plain Table 5;}{\*\ts44\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext44 Grid Table 1 Light;}{\* +\ts45\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext45 Grid Table 1 Light Accent 1;}{\* +\ts46\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext46 Grid Table 1 Light Accent 2;}{\* +\ts47\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext47 Grid Table 1 Light Accent 3;}{\* +\ts48\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext48 Grid Table 1 Light Accent 4;}{\* +\ts49\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext49 Grid Table 1 Light Accent 5;}{\* +\ts50\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext50 Grid Table 1 Light Accent 6;}{\* +\ts51\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext51 Grid Table 2;}{\*\ts52\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext52 Grid Table 2 Accent 1;}{\* +\ts53\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext53 Grid Table 2 Accent 2;}{\*\ts54\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext54 Grid Table 2 Accent 3;}{\* +\ts55\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext55 Grid Table 2 Accent 4;}{\*\ts56\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext56 Grid Table 2 Accent 5;}{\* +\ts57\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext57 Grid Table 2 Accent 6;}{\*\ts58\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext58 Grid Table 3;}{\* +\ts59\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext59 Grid Table 3 Accent 1;}{\*\ts60\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext60 Grid Table 3 Accent 2;}{\* +\ts61\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext61 Grid Table 3 Accent 3;}{\*\ts62\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext62 Grid Table 3 Accent 4;}{\* +\ts63\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext63 Grid Table 3 Accent 5;}{\*\ts64\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext64 Grid Table 3 Accent 6;}{\* +\ts65\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext65 Grid Table 4;}{\*\ts66\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext66 Grid Table 4 Accent 1;}{\* +\ts67\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext67 Grid Table 4 Accent 2;}{\*\ts68\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext68 Grid Table 4 Accent 3;}{\* +\ts69\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext69 Grid Table 4 Accent 4;}{\*\ts70\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext70 Grid Table 4 Accent 5;}{\* +\ts71\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext71 Grid Table 4 Accent 6;}{\*\ts72\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext72 Grid Table 5 Dark;}{\* +\ts73\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 +\ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext73 Grid Table 5 Dark- Accent 1;}{\* +\ts74\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext74 Grid Table 5 Dark Accent 2;}{\*\ts75\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext75 Grid Table 5 Dark Accent 3;}{\* +\ts76\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 +\ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext76 Grid Table 5 Dark- Accent 4;}{\* +\ts77\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext77 Grid Table 5 Dark Accent 5;}{\*\ts78\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext78 Grid Table 5 Dark Accent 6;}{\* +\ts79\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext79 Grid Table 6 Colorful;}{\*\ts80\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext80 Grid Table 6 Colorful Accent 1;}{\* +\ts81\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext81 Grid Table 6 Colorful Accent 2;}{\*\ts82\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext82 Grid Table 6 Colorful Accent 3;}{\* +\ts83\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext83 Grid Table 6 Colorful Accent 4;}{\*\ts84\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext84 Grid Table 6 Colorful Accent 5;}{\* +\ts85\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext85 Grid Table 6 Colorful Accent 6;}{\*\ts86\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext86 Grid Table 7 Colorful;}{\* +\ts87\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext87 Grid Table 7 Colorful Accent 1;}{\*\ts88\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext88 Grid Table 7 Colorful Accent 2;}{\* +\ts89\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext89 Grid Table 7 Colorful Accent 3;}{\*\ts90\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext90 Grid Table 7 Colorful Accent 4;}{\* +\ts91\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext91 Grid Table 7 Colorful Accent 5;}{\*\ts92\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext92 Grid Table 7 Colorful Accent 6;}{\* +\ts93\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext93 List Table 1 Light;}{\*\ts94\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext94 List Table 1 Light Accent 1;}{\* +\ts95\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext95 List Table 1 Light Accent 2;}{\*\ts96\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext96 List Table 1 Light Accent 3;}{\* +\ts97\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext97 List Table 1 Light Accent 4;}{\*\ts98\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext98 List Table 1 Light Accent 5;}{\* +\ts99\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext99 List Table 1 Light Accent 6;}{\*\ts100\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext100 List Table 2;}{\* +\ts101\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext101 List Table 2 Accent 1;}{\*\ts102\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext102 List Table 2 Accent 2;}{\* +\ts103\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext103 List Table 2 Accent 3;}{\*\ts104\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext104 List Table 2 Accent 4;}{\* +\ts105\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext105 List Table 2 Accent 5;}{\*\ts106\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext106 List Table 2 Accent 6;}{\* +\ts107\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext107 List Table 3;}{\*\ts108\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext108 List Table 3 Accent 1;}{\* +\ts109\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext109 List Table 3 Accent 2;}{\*\ts110\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext110 List Table 3 Accent 3;}{\* +\ts111\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext111 List Table 3 Accent 4;}{\*\ts112\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext112 List Table 3 Accent 5;}{\* +\ts113\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext113 List Table 3 Accent 6;}{\*\ts114\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext114 List Table 4;}{\* +\ts115\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext115 List Table 4 Accent 1;}{\*\ts116\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext116 List Table 4 Accent 2;}{\* +\ts117\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext117 List Table 4 Accent 3;}{\*\ts118\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext118 List Table 4 Accent 4;}{\* +\ts119\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 +\f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext119 List Table 4 Accent 5;}{\*\ts120\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af45\afs22\alang1025 \ltrch\fcs0 \f45\fs22\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext120 List Table 4 Accent 6;}{\* +\ts121\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext121 List Table 5 Dark;}{\*\ts122\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext122 List Table 5 Dark Accent 1;}{\* +\ts123\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext123 List Table 5 Dark Accent 2;}{\*\ts124\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext124 List Table 5 Dark Accent 3;}{\* +\ts125\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext125 List Table 5 Dark Accent 4;}{\*\ts126\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext126 List Table 5 Dark Accent 5;}{\* +\ts127\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext127 List Table 5 Dark Accent 6;}{\*\ts128\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext128 List Table 6 Colorful;}{\* +\ts129\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext129 List Table 6 Colorful Accent 1;}{\*\ts130\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext130 List Table 6 Colorful Accent 2;}{\* +\ts131\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext131 List Table 6 Colorful Accent 3;}{\*\ts132\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext132 List Table 6 Colorful Accent 4;}{\* +\ts133\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext133 List Table 6 Colorful Accent 5;}{\*\ts134\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext134 List Table 6 Colorful Accent 6;}{\* +\ts135\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext135 List Table 7 Colorful;}{\*\ts136\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext136 List Table 7 Colorful Accent 1;}{\* +\ts137\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext137 List Table 7 Colorful Accent 2;}{\*\ts138\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext138 List Table 7 Colorful Accent 3;}{\* +\ts139\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext139 List Table 7 Colorful Accent 4;}{\*\ts140\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext140 List Table 7 Colorful Accent 5;}{\* +\ts141\tsrowd\trautofit1\trcbpat1\trcfpat1\tblind0\tblindtype0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 +\fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext141 List Table 7 Colorful Accent 6;}{\* +\ts142\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext142 Lined - Accent;}{\* +\ts143\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext143 Lined - Accent 1;}{\* +\ts144\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext144 Lined - Accent 2;}{\* +\ts145\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext145 Lined - Accent 3;}{\* +\ts146\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext146 Lined - Accent 4;}{\* +\ts147\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext147 Lined - Accent 5;}{\* +\ts148\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext148 Lined - Accent 6;}{\* +\ts149\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext149 Bordered & Lined - Accent;}{\* +\ts150\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext150 Bordered & Lined - Accent 1;}{\* +\ts151\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext151 Bordered & Lined - Accent 2;}{\* +\ts152\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext152 Bordered & Lined - Accent 3;}{\* +\ts153\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext153 Bordered & Lined - Accent 4;}{\* +\ts154\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext154 Bordered & Lined - Accent 5;}{\* +\ts155\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\cf21\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext155 Bordered & Lined - Accent 6;}{\* +\ts156\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext156 Bordered;}{\* +\ts157\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext157 Bordered - Accent 1;}{\* +\ts158\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext158 Bordered - Accent 2;}{\* +\ts159\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext159 Bordered - Accent 3;}{\* +\ts160\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext160 Bordered - Accent 4;}{\* +\ts161\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext161 Bordered - Accent 5;}{\* +\ts162\tsrowd\trautofit1\trcbpat1\trcfpat1\tscbandsh1\tscbandsv1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 +\af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon11 \snext162 Bordered - Accent 6;}{\*\cs163 \additive \rtlch\fcs1 \af0 \ltrch\fcs0 \ul\cf2 \sbasedon10 \sunhideused Hyperlink;}{ +\s164\ql \li0\ri0\sa40\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs18\alang1025 \ltrch\fcs0 \fs18\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext164 \slink165 \ssemihidden \sunhideused footnote text;}{\*\cs165 +\additive \rtlch\fcs1 \af0\afs18 \ltrch\fcs0 \fs18 \sbasedon10 \slink164 Footnote Text Char;}{\*\cs166 \additive \rtlch\fcs1 \af0 \ltrch\fcs0 \super \sbasedon10 \sunhideused footnote reference;}{ +\s167\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs20\alang1025 \ltrch\fcs0 \fs20\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext167 \slink168 \ssemihidden \sunhideused endnote text;}{\*\cs168 +\additive \rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20 \sbasedon10 \slink167 Endnote Text Char;}{\*\cs169 \additive \rtlch\fcs1 \af0 \ltrch\fcs0 \super \sbasedon10 \ssemihidden \sunhideused endnote reference;}{ +\s170\ql \li0\ri0\sa57\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \sunhideused toc 1;}{ +\s171\ql \li283\ri0\sa57\nowidctlpar\wrapdefault\faauto\rin0\lin283\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \sunhideused toc 2;}{ +\s172\ql \li567\ri0\sa57\nowidctlpar\wrapdefault\faauto\rin0\lin567\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \sunhideused toc 3;}{ +\s173\ql \li850\ri0\sa57\nowidctlpar\wrapdefault\faauto\rin0\lin850\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \sunhideused toc 4;}{ +\s174\ql \li1134\ri0\sa57\nowidctlpar\wrapdefault\faauto\rin0\lin1134\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \sunhideused toc 5;}{ +\s175\ql \li1417\ri0\sa57\nowidctlpar\wrapdefault\faauto\rin0\lin1417\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \sunhideused toc 6;}{ +\s176\ql \li1701\ri0\sa57\nowidctlpar\wrapdefault\faauto\rin0\lin1701\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \sunhideused toc 7;}{ +\s177\ql \li1984\ri0\sa57\nowidctlpar\wrapdefault\faauto\rin0\lin1984\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \sunhideused toc 8;}{ +\s178\ql \li2268\ri0\sa57\nowidctlpar\wrapdefault\faauto\rin0\lin2268\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \sunhideused toc 9;}{ +\s179\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon1 \snext0 \sqformat TOC Heading;}{ +\s180\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext0 \sunhideused table of figures;}{ +\s181\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext181 \sqformat No Spacing;}{ +\s182\ql \li720\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin720\itap0\contextualspace \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 \sbasedon0 \snext182 \sqformat List Paragraph;}} +{\*\rsidtbl \rsid9131398\rsid10704359\rsid16278708\rsid16660114}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0\mdefJc1\mwrapIndent1440\mintLim0\mnaryLim1}{\info{\operator Arslan}{\creatim\yr2024\mo11\dy27\hr22\min5} +{\revtim\yr2024\mo11\dy27\hr22\min5}{\version2}{\edmins0}{\nofpages1}{\nofwords238}{\nofchars1506}{\nofcharsws1741}{\vern107}}{\*\userprops {\propname Application}\proptype30{\staticval ONLYOFFICE/7.3.3.0}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.co +m/office/word/2003/wordml}}\paperw11906\paperh16838\margl1701\margr850\margt1134\margb1134\gutter0\ltrsect +\deftab708\widowctrl\ftnbj\aendnotes\hyphhotz425\trackmoves0\trackformatting1\donotembedsysfont0\relyonvml0\donotembedlingdata1\grfdocevents0\validatexml0\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors0\horzdoc\dghspace120 +\dgvspace120\dghorigin1701\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind1\viewscale100\htmautsp\rsidroot9131398\spltpgpar \fet0{\*\wgrffmtfilter 2450}\ilfomacatclnup0{\*\ftnsep \ltrpar \pard\plain \ltrpar +\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 {\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\insrsid10704359 \chftnsep }{\rtlch\fcs1 \af0 +\ltrch\fcs0 \insrsid10704359 +\par }}{\*\ftnsepc \ltrpar \pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 {\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 +\f45\fs22\insrsid10704359 \chftnsepc }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid10704359 +\par }}{\*\aftnsep \ltrpar \pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 {\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 +\f45\fs22\insrsid10704359 \chftnsep }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid10704359 +\par }}{\*\aftnsepc \ltrpar \pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 {\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 +\f45\fs22\insrsid10704359 \chftnsepc }{\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid10704359 +\par }}\ltrpar \sectd \ltrsect\linex0\headery709\footery709\colsx708\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang +{\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7 +\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\ql \li0\ri0\sa200\sl276\slmult1 +\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1031\langfe1031\cgrid\langnp1031\langfenp1031 {\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 +\f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 --------------------------------------------------------------------------}{\rtlch\fcs1 \af0 \ltrch\fcs0 \lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 +\par }{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 OpenMS -- Open-Source Mass Spectrometry}{\rtlch\fcs1 \af0 \ltrch\fcs0 +\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 +\par }{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 --------------------------------------------------------------------------}{\rtlch\fcs1 \af0 \ltrch\fcs0 +\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 +\par }{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,}{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 +\f45\fs22\lang1033\langfe1031\langnp1033\insrsid16660114\charrsid16660114 }{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 ETH Zurich, and Freie Universitaet Berlin 2002-present.}{ +\rtlch\fcs1 \af0 \ltrch\fcs0 \lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 +\par }{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 This software is released under a three-clause BSD license:}{\rtlch\fcs1 \af0 \ltrch\fcs0 +\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 +\par }{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.}{\rtlch\fcs1 +\af0 \ltrch\fcs0 \lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 +\par }{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the}{ +\rtlch\fcs1 \af0 \ltrch\fcs0 \lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 +\par }{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 documentation and/or other materials provided with the distribution.}{\rtlch\fcs1 \af0 \ltrch\fcs0 +\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 +\par }{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 * Neither the name of any author or any participating institution +may be used to endorse or promote products derived from this software without specific prior written permission.}{\rtlch\fcs1 \af0 \ltrch\fcs0 \lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 +\par }{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 --------------------------------------------------------------------------}{\rtlch\fcs1 \af0 \ltrch\fcs0 +\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 +\par }{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 THIS SOFTWARE IS PROVIDED BY THE}{\rtlch\fcs1 \af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid16660114 }{\rtlch\fcs1 +\af45\afs22 \ltrch\fcs0 \f45\fs22\lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 +COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CON +TRIBUTING INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEV +ER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.}{\rtlch\fcs1 \af0 +\ltrch\fcs0 \lang1033\langfe1031\langnp1033\insrsid10704359\charrsid16660114 +\par }{\*\themedata 504b030414000600080000002100e9de0fbfff0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb4ec3301045f748fc83e52d4a +9cb2400825e982c78ec7a27cc0c8992416c9d8b2a755fbf74cd25442a820166c2cd933f79e3be372bd1f07b5c3989ca74aaff2422b24eb1b475da5df374fd9ad +5689811a183c61a50f98f4babebc2837878049899a52a57be670674cb23d8e90721f90a4d2fa3802cb35762680fd800ecd7551dc18eb899138e3c943d7e503b6 +b01d583deee5f99824e290b4ba3f364eac4a430883b3c092d4eca8f946c916422ecab927f52ea42b89a1cd59c254f919b0e85e6535d135a8de20f20b8c12c3b0 +0c895fcf6720192de6bf3b9e89ecdbd6596cbcdd8eb28e7c365ecc4ec1ff1460f53fe813d3cc7f5b7f020000ffff0300504b030414000600080000002100a5d6 +a7e7c0000000360100000b0000005f72656c732f2e72656c73848fcf6ac3300c87ef85bd83d17d51d2c31825762fa590432fa37d00e1287f68221bdb1bebdb4f +c7060abb0884a4eff7a93dfeae8bf9e194e720169aaa06c3e2433fcb68e1763dbf7f82c985a4a725085b787086a37bdbb55fbc50d1a33ccd311ba548b6309512 +0f88d94fbc52ae4264d1c910d24a45db3462247fa791715fd71f989e19e0364cd3f51652d73760ae8fa8c9ffb3c330cc9e4fc17faf2ce545046e37944c69e462 +a1a82fe353bd90a865aad41ed0b5b8f9d6fd010000ffff0300504b0304140006000800000021006b799616830000008a0000001c0000007468656d652f746865 +6d652f7468656d654d616e616765722e786d6c0ccc4d0ac3201040e17da17790d93763bb284562b2cbaebbf600439c1a41c7a0d29fdbd7e5e38337cedf14d59b +4b0d592c9c070d8a65cd2e88b7f07c2ca71ba8da481cc52c6ce1c715e6e97818c9b48d13df49c873517d23d59085adb5dd20d6b52bd521ef2cdd5eb9246a3d8b +4757e8d3f729e245eb2b260a0238fd010000ffff0300504b03041400060008000000210094a9528694070000c7200000160000007468656d652f7468656d652f +7468656d65312e786d6cec595f8b1bc9117f0fe43b0cf32e6b66248da4c5f2a1bfdeb3776d63c90ef7d82bb566dadb333d4cb7762d8e83e07bca4b207077e421 +0779cb430839c8418ebce4c3186c92cb874875cf68d42db5bc7f30c184dd7dd1b47e55fd9baaeaaa52f5fdcf5e27d4b9c039272cedb9fe3dcf75703a670b9246 +3df7c56c52ebb80e17285d20ca52dc73d798bb9f3df8e52feea32311e3043b209ff223d4736321b2a37a9dcf6119f17b2cc3297cb7647982043ce6517d91a34b +d09bd07ae079613d4124759d1425a0f6e97249e6d8994995ee838df23185c75470b930a7f954aac68684c22ece7d89e06b3ea4b9738168cf857d16ec72865f0b +d7a1880bf8a2e77aeacfad3fb85f4747a51015076435b989fa2be54a81c579a0f6cca3b36a536f1c749a7ea55f01a8d8c78d3bf2bfd2a700683e87372db8e83a +fd56e8758212ab818a8f16ddddb6df30f19afec61e67bf1b0e82a6a15f810afdcd3dbc37e98e472d03af4005beb587ef7bc1a0db30f00a54e0c33d7c73dc6f07 +6303af403125e9f93e3a6c773a6189ae204b468fadf06e187aed5109dfa2201aaae8925b2c592a0ec55a825eb17c020009a44890d411eb0c2fd11ca2b89f09c6 +9d11e119456bd7c950ca382c7b81ef43e835bda0fa571647471869d2921730e17b4b928fc3e739c944cf7d045a5d0df2eea79fdebef9f1ed9bbfbffdfaebb76f +feea9c902816852a43ee18a5912ef7f39f7ef79fef7fedfcfb6f7ffcf99b6fed78aee3dfffe537effff1cf0fa987a3b635c5bbef7e78ffe30fef7effdb7ffdf9 +1b8bf67e8ece74f88c24983b4ff0a5f39c25f082ca14267f7c96df4c621623a24bf4d388a314c95d2cfac72236d04fd688220b6e804d3bbecc21d5d8800f57af +0cc2d3385f0962d1f8384e0ce0296374c072ab151ecbbd3433cf566964df3c5fe9b8e7085dd8f61ea2d4f0f27895418e253695c3181b349f51940a14e1140b47 +7ec7ce31b6bcdd178418763d25f39c71b614ce17c419206235c98c9c19d1b4153a2609f8656d2308fe366c73fad219306a7beb11be3091703610b5909f616a98 +f1215a0994d854ce504275839f2011db484ed7f95cc78db9004f47983267bcc09cdb649ee6f0be9ad31f23c86e56b79fd27562227341ce6d3a4f10633a72c4ce +87314a321b764ad258c77ececf214491f38c091bfc949927443e831f507ad0dd2f0936dc7d75367801594ea7b40d10f9cd2ab7f8f2216646fc4ed77489b02dd5 +f4f3c448b1fd9c58a363b08a8cd03ec198a24bb4c0d879f1b985c1806586cdb7a41fc590558eb12db01e213356e5738a39f44ab2b9d9cf9327841b213bc5113b +c0e774bd9378d6284d507e48f313f0ba6ef3f1590e87d142e1299d9febc027047a408817ab519e72d0a105f741adcf62641430f9ccedf1bace0dff5de78cc1b9 +7c65d0b8c6b904197c631948ecbacc076d3343d4d8601b3033449c135bba0511c3fd5b11595c95d8ca2ab7340fedd60dd01d194d4f42d22b3aa0ff5de703fdc5 +bb3f7c6f09c18fd3edd8151ba9ea867dcea15472bcd3dd1cc2edf63443962fc8a7dfd28cd02a7d86a18aece7abbb8ee6aea371ffef3b9a43e7f9ae8f39d46ddc +f5312ef417777d4c395af9387dccb67581ae468e178a318f1afa2407673e4b42e954ac293ee16aecc3e1d7cc62028b524ecd3b713503cc62f828cb1c6c60e0a2 +1c29192767e25744c4d31865301bf25da924e2a5ea883b19e3303252cb56dd124f57c9295b14a34e355bf28acaca91d8ae7b2d183a15eb30a612053a6c978b92 +9f9aa7025fc5365263d60d01297b1312da6626898685447bb37805093935fb382cba16161da97ee3aa3d5300b5ca2bf073db811fe93db7d594846046cee7d09a +2fa49f0a576fbcab9cf9313d7dc8984604c058b1781318ca579eee4aae075f4fbe5d116ad7f0b4414239a5082b9384b28c6af0780c3f82cbe894abd7a171535f +77b72e35e84953a8fd20beb734da9d0fb1b8adaf416e3737d054cf1434752e7b6ed86841c8cc51d673973032868f4906b1c3e52f2e4423b877998bbc38f0b7c9 +2c59cec508f1b830b84a3a857b122270ee5092f45cf9fa951b68aa7288e2e60790103e59725d482b9f1a3970bae964bc5ce2b9d0ddaead484b178f90e18b5c61 +fd5689df1e2c25d90adc3d8d1797ce195de5cf118458abed4b032e08879b03bfb0e682c0555895c8b6f1b75398cae4afdf45a9182ad611cd625456143d991770 +554f2a3aeaa9b281f654be33185433495908cf22596075a31ad5b42a5d05878355f76a2169392d696e6ba6915564d5b4673163874d19d8b1e5ed8abcc66a6362 +c8697a852f52f76ecaed6e72dd4e9f505509307865bfdb957e8dda7633839a64bc9f8665ce2e57cddab179c12ba85da74868593fdca8ddb15b5523acdbc1e2ad +2a3fc8ed462d2c2d377da5b2b4ba33d7afb5d9d92b481e23e872575470e54a98ebe608bab2a9ea498ab40147e4b5288f067c725639e9b95f7aad7e7318b48635 +afd31ad79a8da657ebb4fa8d5abfd56af8e396ef8d06c1575058449cf8ade2be7e02d717745ddedaabf5bd9bfb647343736fce923a5337f375455cdddcfbc1e1 +9b7b8740d2f93218fbcda01f0c6bc3911fd69ac128ac75da8d7e6d1884a3a00f293d9cf4bf729d0b05f607a3d164d20a6ae110704dafdfaaf5078d612dec8c07 +c1c41f37471e80cbccf91afa6fb0e9c616f051f17af05f000000ffff0300504b0304140006000800000021000dd1909fb60000001b010000270000007468656d +652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73848f4d0ac2301484f78277086f6fd3ba109126dd88d0add40384e4350d +363f2451eced0dae2c082e8761be9969bb979dc9136332de3168aa1a083ae995719ac16db8ec8e4052164e89d93b64b060828e6f37ed1567914b284d26245228 +2e3198720e274a939cd08a54f980ae38a38f56e422a3a641c8bbd048f7757da0f19b017cc524bd62107bd5001996509affb3fd381a89672f1f165dfe514173d9 +850528a2c6cce0239baa4c04ca5bbabac4df000000ffff0300504b01022d0014000600080000002100e9de0fbfff0000001c0200001300000000000000000000 +000000000000005b436f6e74656e745f54797065735d2e786d6c504b01022d0014000600080000002100a5d6a7e7c0000000360100000b000000000000000000 +00000000300100005f72656c732f2e72656c73504b01022d00140006000800000021006b799616830000008a0000001c00000000000000000000000000190200 +007468656d652f7468656d652f7468656d654d616e616765722e786d6c504b01022d001400060008000000210094a9528694070000c720000016000000000000 +00000000000000d60200007468656d652f7468656d652f7468656d65312e786d6c504b01022d00140006000800000021000dd1909fb60000001b010000270000 +00000000000000000000009e0a00007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73504b050600000000050005005d010000990b00000000} +{\*\colorschememapping 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a3c613a636c724d +617020786d6c6e733a613d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f64726177696e676d6c2f323030362f6d6169 +6e22206267313d226c743122207478313d22646b3122206267323d226c743222207478323d22646b322220616363656e74313d22616363656e74312220616363 +656e74323d22616363656e74322220616363656e74333d22616363656e74332220616363656e74343d22616363656e74342220616363656e74353d22616363656e74352220616363656e74363d22616363656e74362220686c696e6b3d22686c696e6b2220666f6c486c696e6b3d22666f6c486c696e6b222f3e} +{\*\latentstyles\lsdstimax376\lsdlockeddef0\lsdsemihiddendef0\lsdunhideuseddef0\lsdqformatdef0\lsdprioritydef99{\lsdlockedexcept \lsdqformat1 \lsdlocked0 Normal;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 1;\lsdqformat1 \lsdlocked0 heading 2; +\lsdqformat1 \lsdlocked0 heading 3;\lsdqformat1 \lsdlocked0 heading 4;\lsdqformat1 \lsdlocked0 heading 5;\lsdqformat1 \lsdlocked0 heading 6;\lsdqformat1 \lsdlocked0 heading 7;\lsdqformat1 \lsdlocked0 heading 8;\lsdqformat1 \lsdlocked0 heading 9; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 4; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 6;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 8; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 9;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toc 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toc 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toc 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toc 4; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toc 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toc 6;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toc 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toc 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toc 9; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal Indent;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footnote text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 header; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footer;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index heading;\lsdqformat1 \lsdlocked0 caption;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 table of figures; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 envelope address;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 envelope return;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footnote reference;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation reference; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 line number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 page number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 endnote reference;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 endnote text; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 table of authorities;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 macro;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toa heading;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 5;\lsdqformat1 \lsdlocked0 Title;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Closing;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Signature; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Default Paragraph Font;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 5; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Message Header;\lsdqformat1 \lsdlocked0 Subtitle;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Salutation;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Date; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Note Heading;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text 2; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Block Text; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Hyperlink;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 FollowedHyperlink;\lsdqformat1 \lsdpriority22 \lsdlocked0 Strong;\lsdqformat1 \lsdpriority20 \lsdlocked0 Emphasis; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Document Map;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Plain Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 E-mail Signature;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Top of Form; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Bottom of Form;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal (Web);\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Acronym;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Address; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Cite;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Code;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Definition;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Keyboard; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Preformatted;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Sample;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Typewriter;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Variable; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal Table;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation subject;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 No List;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 1; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Simple 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Simple 2; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Simple 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Colorful 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Colorful 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Colorful 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 4; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 6;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 7; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 6;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 7; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table 3D effects 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table 3D effects 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table 3D effects 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Contemporary;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Elegant;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Professional;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Subtle 1; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Subtle 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Web 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Web 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Web 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Balloon Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Theme;\lsdsemihidden1 \lsdlocked0 Placeholder Text;\lsdqformat1 \lsdlocked0 No Spacing;\lsdpriority60 \lsdlocked0 Light Shading; +\lsdpriority61 \lsdlocked0 Light List;\lsdpriority62 \lsdlocked0 Light Grid;\lsdpriority63 \lsdlocked0 Medium Shading 1;\lsdpriority64 \lsdlocked0 Medium Shading 2;\lsdpriority65 \lsdlocked0 Medium List 1;\lsdpriority66 \lsdlocked0 Medium List 2; +\lsdpriority67 \lsdlocked0 Medium Grid 1;\lsdpriority68 \lsdlocked0 Medium Grid 2;\lsdpriority69 \lsdlocked0 Medium Grid 3;\lsdpriority70 \lsdlocked0 Dark List;\lsdpriority71 \lsdlocked0 Colorful Shading;\lsdpriority72 \lsdlocked0 Colorful List; +\lsdpriority73 \lsdlocked0 Colorful Grid;\lsdpriority60 \lsdlocked0 Light Shading Accent 1;\lsdpriority61 \lsdlocked0 Light List Accent 1;\lsdpriority62 \lsdlocked0 Light Grid Accent 1;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 1; +\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 1;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 1;\lsdsemihidden1 \lsdlocked0 Revision;\lsdqformat1 \lsdlocked0 List Paragraph;\lsdqformat1 \lsdlocked0 Quote;\lsdqformat1 \lsdlocked0 Intense Quote; +\lsdpriority66 \lsdlocked0 Medium List 2 Accent 1;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 1;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 1;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 1;\lsdpriority70 \lsdlocked0 Dark List Accent 1; +\lsdpriority71 \lsdlocked0 Colorful Shading Accent 1;\lsdpriority72 \lsdlocked0 Colorful List Accent 1;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 1;\lsdpriority60 \lsdlocked0 Light Shading Accent 2;\lsdpriority61 \lsdlocked0 Light List Accent 2; +\lsdpriority62 \lsdlocked0 Light Grid Accent 2;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 2;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 2;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 2;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 2; +\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 2;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 2;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 2;\lsdpriority70 \lsdlocked0 Dark List Accent 2;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 2; +\lsdpriority72 \lsdlocked0 Colorful List Accent 2;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 2;\lsdpriority60 \lsdlocked0 Light Shading Accent 3;\lsdpriority61 \lsdlocked0 Light List Accent 3;\lsdpriority62 \lsdlocked0 Light Grid Accent 3; +\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 3;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 3;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 3;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 3; +\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 3;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 3;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 3;\lsdpriority70 \lsdlocked0 Dark List Accent 3;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 3; +\lsdpriority72 \lsdlocked0 Colorful List Accent 3;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 3;\lsdpriority60 \lsdlocked0 Light Shading Accent 4;\lsdpriority61 \lsdlocked0 Light List Accent 4;\lsdpriority62 \lsdlocked0 Light Grid Accent 4; +\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 4;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 4;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 4;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 4; +\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 4;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 4;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 4;\lsdpriority70 \lsdlocked0 Dark List Accent 4;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 4; +\lsdpriority72 \lsdlocked0 Colorful List Accent 4;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 4;\lsdpriority60 \lsdlocked0 Light Shading Accent 5;\lsdpriority61 \lsdlocked0 Light List Accent 5;\lsdpriority62 \lsdlocked0 Light Grid Accent 5; +\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 5;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 5;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 5;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 5; +\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 5;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 5;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 5;\lsdpriority70 \lsdlocked0 Dark List Accent 5;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 5; +\lsdpriority72 \lsdlocked0 Colorful List Accent 5;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 5;\lsdpriority60 \lsdlocked0 Light Shading Accent 6;\lsdpriority61 \lsdlocked0 Light List Accent 6;\lsdpriority62 \lsdlocked0 Light Grid Accent 6; +\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 6;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 6;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 6;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 6; +\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 6;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 6;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 6;\lsdpriority70 \lsdlocked0 Dark List Accent 6;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 6; +\lsdpriority72 \lsdlocked0 Colorful List Accent 6;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 6;\lsdqformat1 \lsdpriority19 \lsdlocked0 Subtle Emphasis;\lsdqformat1 \lsdpriority21 \lsdlocked0 Intense Emphasis; +\lsdqformat1 \lsdpriority31 \lsdlocked0 Subtle Reference;\lsdqformat1 \lsdpriority32 \lsdlocked0 Intense Reference;\lsdqformat1 \lsdpriority33 \lsdlocked0 Book Title;\lsdsemihidden1 \lsdunhideused1 \lsdpriority37 \lsdlocked0 Bibliography; +\lsdqformat1 \lsdlocked0 TOC Heading;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 1;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Mention; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Smart Hyperlink;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Hashtag;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Unresolved Mention;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Smart Link;}}{\*\datastore 01050000 +02000000180000004d73786d6c322e534158584d4c5265616465722e362e3000000000000000000000060000 +d0cf11e0a1b11ae1000000000000000000000000000000003e000300feff090006000000000000000000000001000000010000000000000000100000feffffff00000000feffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +fffffffffffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffff52006f006f007400200045006e00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500ffffffffffffffffffffffff0c6ad98892f1d411a65f0040963251e50000000000000000000000001056 +041c1041db01feffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000 +00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000 +000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000105000000000000}} \ No newline at end of file diff --git a/content/FLASHDeconv/FLASHDeconvFDR.py b/content/FLASHDeconv/FLASHDeconvFDR.py deleted file mode 100644 index bc1f5974..00000000 --- a/content/FLASHDeconv/FLASHDeconvFDR.py +++ /dev/null @@ -1,77 +0,0 @@ -import streamlit as st -import plotly.express as px -import numpy as np -import plotly.graph_objects as go - -from pathlib import Path - -from src.workflow.FileManager import FileManager - - -def ecdf(data): - """Compute ECDF.""" - x = np.sort(data) - y = np.arange(1, len(data) + 1) / len(data) - return x, y - -def generate_and_display_plots(df): - """Generate and display ECDF and density plots.""" - # Extract Qscore data - target_qscores = df[df['IsDecoy'] == 0]['Qscore'] - decoy_qscores = df[df['IsDecoy'] > 0]['Qscore'] - - # Generate ECDF data - x_target, y_target = ecdf(target_qscores) - x_decoy, y_decoy = ecdf(decoy_qscores) - - # Create ECDF Plotly figure - fig_ecdf = px.line(title='ECDF of QScore Distribution') - fig_ecdf.add_scatter(x=x_target, y=y_target, mode='markers', name='Target QScores', marker=dict(color='green')) - fig_ecdf.add_scatter(x=x_decoy, y=y_decoy, mode='markers', name='Decoy QScores', marker=dict(color='red')) - fig_ecdf.update_layout( - xaxis_title='qScore', - yaxis_title='ECDF', - legend_title='QScore Type' - ) - - # Create Density Plotly figure without area fill - fig_density = go.Figure() - fig_density.add_trace(go.Histogram(x=target_qscores, histnorm='density', name='Targets', opacity=0.75, marker_color='green')) - fig_density.add_trace(go.Histogram(x=decoy_qscores, histnorm='density', name='Decoys', opacity=0.75, marker_color='red')) - fig_density.update_traces(opacity=0.75) - fig_density.update_layout( - title='Density Plot of QScore Distribution', - xaxis_title='qScore', - yaxis_title='Density', - barmode='overlay', - legend_title='QScore Type' - ) - - # Display plots - st.plotly_chart(fig_ecdf) - st.plotly_chart(fig_density) - -st.title('ECDF and Density Plot of QScore Distribution of Targets and Decoys') - -# Get available results -file_manager = FileManager( - st.session_state["workspace"], - Path(st.session_state['workspace'], 'flashdeconv', 'cache') -) -experiments = file_manager.get_results_list(['parsed_tsv_files']) - -if len(experiments) == 0: - st.warning("No TSV files uploaded. Please upload TSV files first.") - st.stop() - -experiment = st.selectbox("Select TSV file", experiments) - -if experiment: - df = file_manager.get_results( - experiment, ['parsed_tsv_files'] - )['parsed_tsv_files'] - generate_and_display_plots(df) - - - - diff --git a/content/FLASHDeconv/FLASHDeconvLayoutManager.py b/content/FLASHDeconv/FLASHDeconvLayoutManager.py index 569e8f95..46b2d13e 100644 --- a/content/FLASHDeconv/FLASHDeconvLayoutManager.py +++ b/content/FLASHDeconv/FLASHDeconvLayoutManager.py @@ -10,6 +10,7 @@ 'Annotated spectrum (Scan table needed)', 'Mass table (Scan table needed)', '3D S/N plot (Mass table needed)', + 'QScore ECDF Plot (report_FDR must be enabled)' # "Sequence view" and "Internal fragment map" is added when "input_sequence" is submitted ] @@ -21,6 +22,7 @@ 'anno_spectrum', 'mass_table', '3D_SN_plot', + 'fdr_plot', # "sequence view" and "internal fragment map" added when "input_sequence" is submitted ] diff --git a/content/FLASHDeconv/FLASHDeconvViewer.py b/content/FLASHDeconv/FLASHDeconvViewer.py index 2512fc96..6e858239 100644 --- a/content/FLASHDeconv/FLASHDeconvViewer.py +++ b/content/FLASHDeconv/FLASHDeconvViewer.py @@ -1,3 +1,4 @@ +import numpy as np import pandas as pd import streamlit as st @@ -6,7 +7,7 @@ from src.common.common import page_setup, save_params from src.masstable import getMSSignalDF, getSpectraTableDF from src.components import PlotlyHeatmap, PlotlyLineplot, Plotly3Dplot, Tabulator, SequenceView, InternalFragmentMap, \ - FlashViewerComponent, flash_viewer_grid_component + FlashViewerComponent, flash_viewer_grid_component, FDRPlotly from src.sequence import getFragmentDataFromSeq, getInternalFragmentDataFromSeq from src.workflow.FileManager import FileManager @@ -18,10 +19,24 @@ def sendDataToJS(selected_data, layout_info_per_exp, grid_key='flash_viewer_grid'): # Get data - results = file_manager.get_results(selected_data, ['anno_dfs', 'deconv_dfs']) + results = file_manager.get_results( + selected_data, + ['anno_dfs', 'deconv_dfs', 'parsed_tsv_file_ms1', 'parsed_tsv_file_ms2'], + partial=True + ) spec_df = results['deconv_dfs'] anno_df = results['anno_dfs'] + fdr_dfs = [] + if 'parsed_tsv_file_ms1' in results: + fdr_dfs.append(results['parsed_tsv_file_ms1']) + if 'parsed_tsv_file_ms2' in results: + fdr_dfs.append(results['parsed_tsv_file_ms2']) + if len(fdr_dfs) > 0: + fdr_dfs = pd.concat(fdr_dfs, axis=0, ignore_index=True) + else: + fdr_dfs = None + components = [] data_to_send = {} per_scan_contents = {'mass_table': False, 'anno_spec': False, 'deconv_spec': False, '3d': False} @@ -58,6 +73,12 @@ def sendDataToJS(selected_data, layout_info_per_exp, grid_key='flash_viewer_grid elif comp_name == 'internal_fragment_map': data_to_send['internal_fragment_data'] = getInternalFragmentDataFromSeq(st.session_state.input_sequence) component_arguments = InternalFragmentMap() + elif comp_name == 'fdr_plot': + if fdr_dfs is not None: + ecdf_target, ecdf_decoy = ecdf(fdr_dfs) + data_to_send['ecdf_target'] = ecdf_target + data_to_send['ecdf_decoy'] = ecdf_decoy + component_arguments = FDRPlotly() components_of_this_row.append(FlashViewerComponent(component_arguments)) components.append(components_of_this_row) @@ -93,9 +114,23 @@ def sendDataToJS(selected_data, layout_info_per_exp, grid_key='flash_viewer_grid # if Internal fragment map was selected, but sequence view was not if ('internal_fragment_data' in data_to_send) and ('sequence_data' not in data_to_send): data_to_send['sequence_data'] = {0 : getFragmentDataFromSeq(st.session_state.input_sequence)} + data_to_send['dataset'] = selected_data flash_viewer_grid_component(components=components, data=data_to_send, component_key=grid_key) +def ecdf(df): + target_qscores = df[df['TargetDecoyType'] == 0]['Qscore'] + decoy_qscores = df[df['TargetDecoyType'] > 0]['Qscore'] + + ecdf_target = pd.DataFrame({ + 'x' : np.sort(target_qscores), + 'y' : np.arange(1, len(target_qscores) + 1) / len(target_qscores) + }) + ecdf_decoy = pd.DataFrame({ + 'x' : np.sort(decoy_qscores), + 'y' : np.arange(1, len(decoy_qscores) + 1) / len(decoy_qscores) + }) + return ecdf_target, ecdf_decoy def setSequenceViewInDefaultView(): if 'input_sequence' in st.session_state and st.session_state.input_sequence: diff --git a/content/FLASHDeconv/FLASHDeconvWorkflow.py b/content/FLASHDeconv/FLASHDeconvWorkflow.py index ce09258d..543ff554 100644 --- a/content/FLASHDeconv/FLASHDeconvWorkflow.py +++ b/content/FLASHDeconv/FLASHDeconvWorkflow.py @@ -12,7 +12,7 @@ wf = DeconvWorkflow() -st.title(wf.name) +st.title('FLASHDeconv - Ultrafast Deconvolution') t = st.tabs(["๐Ÿ“ **File Upload**", "โš™๏ธ **Configure**", "๐Ÿš€ **Run**", "๐Ÿ’ก **Manual Result Upload**"]) with t[0]: @@ -41,9 +41,16 @@ def process_uploaded_files(uploaded_files): else: st.warning(f'Invalid file : {file.name}') elif file.name.endswith("tsv"): - wf.file_manager.store_file( - file.name.split('.tsv')[0], 'out_tsv', file - ) + if file.name.endswith('_spec1.tsv'): + wf.file_manager.store_file( + file.name.split('_spec1.tsv')[0], 'spec1_tsv', file + ) + elif file.name.endswith('_spec2.tsv'): + wf.file_manager.store_file( + file.name.split('_spec2.tsv')[0], 'spec2_tsv', file + ) + else: + st.warning(f'Invalid file : {file.name}') else: st.warning(f'Invalid file : {file.name}') @@ -53,25 +60,27 @@ def process_uploaded_files(uploaded_files): unparsed_files = input_files - parsed_files # Get the unpared tsv files - tsv_files = set(wf.file_manager.get_results_list(['out_tsv'])) - parsed_tsv_files = set(wf.file_manager.get_results_list(['parsed_tsv_files'])) - unparsed_tsv_files = (tsv_files - parsed_tsv_files) & input_files + ms1_tsv_files = set(wf.file_manager.get_results_list(['spec1_tsv'])) + parsed_ms1_tsv_files = set(wf.file_manager.get_results_list(['parsed_tsv_file_ms1'])) + ms2_tsv_files = set(wf.file_manager.get_results_list(['spec2_tsv'])) + parsed_ms2_tsv_files = set(wf.file_manager.get_results_list(['parsed_tsv_file_ms2'])) + unparsed_tsv_files = ( + ( + (ms1_tsv_files - parsed_ms1_tsv_files) + | (ms2_tsv_files - parsed_ms2_tsv_files) + ) & input_files + ) # Process unparsed datasets for unparsed_dataset in (unparsed_files | unparsed_tsv_files): results = wf.file_manager.get_results( - unparsed_dataset, ['out_deconv_mzML', 'anno_annotated_mzML'] + unparsed_dataset, + ['out_deconv_mzML', 'anno_annotated_mzML', + 'spec1_tsv', 'spec2_tsv'], + partial=True ) - tsv_results = None - if wf.file_manager.result_exists(unparsed_dataset, 'out'): - tsv_results = wf.file_manager.get_results( - unparsed_dataset, ['out'] - )['out'] - - parsed_data = parseDeconv( - results['out_deconv_mzML'], results['anno_annotated_mzML'], tsv_results - ) + parsed_data = parseDeconv(**results) for k, v in parsed_data.items(): wf.file_manager.store_data(unparsed_dataset, k, v) @@ -86,8 +95,8 @@ def process_uploaded_files(uploaded_files): if c2.button("Load Example Data", type="primary"): # loading and copying example files into default workspace for filename_postfix, name_tag in zip( - ['*_deconv.mzML', '*_annotated.mzML', '*.tsv'], - ["out_deconv_mzML", "anno_annotated_mzML", "out_tsv"] + ['*_deconv.mzML', '*_annotated.mzML', '*_spec1.tsv'], + ["out_deconv_mzML", "anno_annotated_mzML", "spec1_tsv"] ): for file in Path("example-data", "flashdeconv").glob(filename_postfix): wf.file_manager.store_file( @@ -98,7 +107,7 @@ def process_uploaded_files(uploaded_files): st.success("Example files loaded!") with tabs[0]: - st.subheader("**Upload FLASHDeconv output files (\*_annotated.mzML & \*_deconv.mzML) or TSV files (ECDF Plot only)**") + st.subheader("**Upload FLASHDeconv output files (\*_annotated.mzML & \*_deconv.mzML) or spec1/2 TSV files (ECDF Plot only)**") st.info( """ **๐Ÿ’ก How to upload files** @@ -130,7 +139,8 @@ def process_uploaded_files(uploaded_files): # File Upload Table experiments = ( - set(wf.file_manager.get_results_list(['out_tsv'])) + set(wf.file_manager.get_results_list(['spec1_tsv'])) + | set(wf.file_manager.get_results_list(['spec2_tsv'])) | set(wf.file_manager.get_results_list(['out_deconv_mzML'])) | set(wf.file_manager.get_results_list(['anno_annotated_mzML'])) ) @@ -138,7 +148,8 @@ def process_uploaded_files(uploaded_files): 'Experiment Name' : [], 'Deconvolved Files' : [], 'Annotated Files' : [], - '(TSV Files)' : [], + '(MS1 TSV Files)' : [], + '(MS2 TSV Files)' : [], } for experiment in experiments: table['Experiment Name'].append(experiment) @@ -153,10 +164,14 @@ def process_uploaded_files(uploaded_files): else: table['Annotated Files'].append(False) - if wf.file_manager.result_exists(experiment, 'out_tsv'): - table['(TSV Files)'].append(True) + if wf.file_manager.result_exists(experiment, 'spec1_tsv'): + table['(MS1 TSV Files)'].append(True) + else: + table['(MS1 TSV Files)'].append(False) + if wf.file_manager.result_exists(experiment, 'spec2_tsv'): + table['(MS2 TSV Files)'].append(True) else: - table['(TSV Files)'].append(False) + table['(MS2 TSV Files)'].append(False) st.markdown('**Uploaded experiments in current workspace**') st.dataframe(pd.DataFrame(table)) diff --git a/content/FLASHQuant/FLASHQuantViewer.py b/content/FLASHQuant/FLASHQuantViewer.py index 4c60f792..61c417db 100644 --- a/content/FLASHQuant/FLASHQuantViewer.py +++ b/content/FLASHQuant/FLASHQuantViewer.py @@ -38,6 +38,6 @@ quant_df = file_manager.get_results(selected_exp0, 'quant_dfs')['quant_dfs'] component = [[FlashViewerComponent(FLASHQuant())]] -flash_viewer_grid_component(components=component, data={'quant_data': quant_df}, component_key='flash_viewer_grid') +flash_viewer_grid_component(components=component, data={'quant_data': quant_df, 'dataset': selected_exp0}, component_key='flash_viewer_grid') save_params(params) diff --git a/content/FLASHTnT/FLASHTnTViewer.py b/content/FLASHTnT/FLASHTnTViewer.py index 8f9857c9..4f490bd2 100644 --- a/content/FLASHTnT/FLASHTnTViewer.py +++ b/content/FLASHTnT/FLASHTnTViewer.py @@ -45,8 +45,8 @@ def sendDataToJS(selected_data, layout_info_per_exp, grid_key='flash_viewer_grid )['FTnT_parameters_json'] with open(tnt_settings_file, 'r') as f: tnt_settings = json.load(f) - if 'tnt:ion_type' in tnt_settings: - fragments = tnt_settings['tnt:ion_type'].split('\n') + if 'ion_type' in tnt_settings: + fragments = tnt_settings['ion_type'].split('\n') # Process tag df into a linear data format new_tag_df = {c : [] for c in tag_df.columns} @@ -192,6 +192,7 @@ def sendDataToJS(selected_data, layout_info_per_exp, grid_key='flash_viewer_grid per_scan_contents['3d'] = True component_arguments = Plotly3Dplot(title="Precursor Signals") elif comp_name == 'sequence_view': + per_scan_contents['deconv_spec'] = True # data_to_send['sequence_data'] = getFragmentDataFromSeq(st.session_state.input_sequence) component_arguments = SequenceView() elif comp_name == 'internal_fragment_map': @@ -237,6 +238,7 @@ def sendDataToJS(selected_data, layout_info_per_exp, grid_key='flash_viewer_grid 'tolerance' : spec_df['tol'].to_numpy(dtype='float')[0], 'ion_types' : fragments } + data_to_send['dataset'] = selected_data flash_viewer_grid_component(components=components, data=data_to_send, component_key=grid_key) diff --git a/content/FLASHTnT/FLASHTnTWorkflow.py b/content/FLASHTnT/FLASHTnTWorkflow.py index fbd7bb69..c63c52c9 100644 --- a/content/FLASHTnT/FLASHTnTWorkflow.py +++ b/content/FLASHTnT/FLASHTnTWorkflow.py @@ -12,7 +12,7 @@ wf = TagWorkflow() -st.title(wf.name) +st.title('FLASHTnT - Tag and Extend') t = st.tabs(["๐Ÿ“ **File Upload**", "โš™๏ธ **Configure**", "๐Ÿš€ **Run**", "๐Ÿ’ก **Manual Result Upload**"]) with t[0]: diff --git a/content/quickstart.py b/content/quickstart.py index 0152a6bf..e8a92bc1 100644 --- a/content/quickstart.py +++ b/content/quickstart.py @@ -35,7 +35,7 @@ ) st.markdown( """ -Extract the zip file and run the executable (.exe) file to launch the app. Since every dependency is compressed and packacked the app will take a while to launch (up to one minute). +Extract the zip file and run the installer (.msi) file to install the app. The app can then be launched using the corresponding desktop icon. """ ) diff --git a/example-data/flashdeconv/FDR_deconv.tsv b/example-data/flashdeconv/example_fd_spec1.tsv similarity index 100% rename from example-data/flashdeconv/FDR_deconv.tsv rename to example-data/flashdeconv/example_fd_spec1.tsv diff --git a/js-component/dist/assets/index-944dcd57.css b/js-component/dist/assets/index-0b9e47f6.css similarity index 99% rename from js-component/dist/assets/index-944dcd57.css rename to js-component/dist/assets/index-0b9e47f6.css index ca1a959a..da1598a8 100644 --- a/js-component/dist/assets/index-944dcd57.css +++ b/js-component/dist/assets/index-0b9e47f6.css @@ -1,4 +1,4 @@ -.tabulator{position:relative;border:1px solid #dee2e6;background-color:#fff;font-size:16px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;user-select:none}.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){-webkit-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #dee2e6;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;outline:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #dee2e6;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:#d6d6d6;color:#000}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:#3876ca;color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:11}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;display:inline-block;background:white!important;border-top:1px solid #dee2e6;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:white!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:100%;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#ececec!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-range-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{position:absolute;box-sizing:border-box;border:1px solid #2975DD}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";position:absolute;right:-3px;bottom:-3px;width:6px;height:6px;background-color:#2975dd;border-radius:999px}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active{position:absolute;box-sizing:border-box;border:2px solid #2975DD}.tabulator .tabulator-footer{border-top:1px solid #dee2e6;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px;background:rgba(255,255,255,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:11;vertical-align:middle}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #D00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:24px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#f9f9f9}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6;pointer-events:none;z-index:15}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:#d6d6d6;color:#000}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:#3876ca;color:#fff}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:16px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #dee2e6;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;outline:none}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:11}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1D68CD;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #dd0000}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(.tabulator-range-row-header){background-color:#9abcea}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:inline-block;width:7px}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;box-shadow:0 0 5px #0003;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;-webkit-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#f9f9f9}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-width:1px 1px 0 0;border-style:solid;border-color:#dee2e6;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #dee2e6}.tabulator-edit-list{max-height:200px;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1D68CD}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1D68CD}@media (hover: hover) and (pointer: fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1D68CD}}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #dee2e6;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:5px;border-bottom-left-radius:initial;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>*:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{background-color:#fff;border:none}.tabulator .tabulator-header{border-top:1px solid #dee2e6;border-bottom:2px solid #dee2e6;color:inherit}.tabulator .tabulator-header .tabulator-col{border-right:none;background-color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{padding:12px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #dee2e6}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input{padding:.375rem .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1rem;line-height:1.5;color:#495057}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus{color:#495057;background-color:#fff;border:1px solid #1D68CD;outline:0}.tabulator .tabulator-header .tabulator-calcs-holder{width:100%;border-bottom:1px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-tableholder .tabulator-table,.tabulator .tabulator-footer,.tabulator .tabulator-footer .tabulator-paginator{color:inherit}.tabulator .tabulator-footer .tabulator-pages{margin:0}.tabulator .tabulator-footer .tabulator-page{margin:5px 0 0;padding:8px 12px}.tabulator .tabulator-footer .tabulator-page[data-page=first]{border-top-left-radius:4px;border-bottom-left-radius:4px}.tabulator .tabulator-footer .tabulator-page[data-page=last]{border:1px solid #dee2e6;border-top-right-radius:4px;border-bottom-right-radius:4px}.tabulator .tabulator-footer .tabulator-page.active{border-color:#007bff;background-color:#007bff;color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{border-color:#dee2e6;background:#fff;color:#6c757d}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{border-color:#dee2e6;background:#e9ecef;color:#0056b3}}.tabulator.thead-dark .tabulator-header,.tabulator.thead-dark .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark{background-color:#212529}.tabulator.table-dark:not(.thead-light) .tabulator-header{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark:not(.thead-light) .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark .tabulator-tableholder{color:#fff}.tabulator.table-dark .tabulator-row{border-color:#32383e;background-color:#212529;color:#fff}@media (hover: hover) and (pointer: fine){.tabulator.table-dark .tabulator-row:hover{background-color:#32383e}.tabulator.table-dark .tabulator-row:hover .tabulator-cell{background-color:#ffffff13}}.tabulator.table-dark .tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator.table-dark .tabulator-footer{border-color:#32383e!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder{border-color:#32383e!important;background:#212529!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder .tabulator-row{border-color:#32383e!important;background-color:#212529!important;color:#fff!important}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even{background-color:#f9f9f9}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator.table-striped.table-dark .tabulator-row:nth-child(2n) .tabulator-cell{background-color:#ffffff0d}.tabulator.table-bordered{border:1px solid #dee2e6}.tabulator.table-bordered .tabulator-header .tabulator-col,.tabulator.table-bordered .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{border-right:1px solid #dee2e6}.tabulator.table-borderless .tabulator-header,.tabulator.table-borderless .tabulator-row{border:none}.tabulator.table-sm .tabulator-header .tabulator-col .tabulator-col-content{padding:5px!important}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row{min-height:26px}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{padding:5px!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-active{background:#f5f5f5!important}.tabulator-row{min-height:40px;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-cell{padding:12px;border-right:none}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell .tabulator-data-tree-control{border:1px solid #ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-row.tabulator-group{background:#fafafa}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}@media (hover: hover) and (pointer: fine){.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#fff}}.tabulator-edit-select-list .tabulator-edit-select-list-notice,.tabulator-edit-select-list .tabulator-edit-select-list-group{color:inherit}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:initial}.tabulator-print-table .tabulator-print-table-group{background:#fafafa}.tabulator-print-table .tabulator-print-table-group span{color:#666}.tabulator-print-table .tabulator-data-tree-control{color:inherit}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-col-title,.tabulator-cell{font-size:14px}.plot-container[data-v-f0f0a749]{position:relative;width:100%}.simple-button[data-v-f0f0a749]{position:absolute;top:17%;left:6.5%;z-index:1000;background-color:#f0f0f0;border:none;border-radius:50%;width:30px;height:30px;text-align:center;line-height:230%;cursor:pointer}.simple-button[data-v-f0f0a749]:hover{background-color:#e0e0e0}.foreground[data-v-2de7ee7a]{position:relative;z-index:1000}.sequence-amino-acid-highlighted[data-v-2de7ee7a],.sequence-amino-acid.highlighted[data-v-2de7ee7a]{background-color:#f3a712;color:#000;outline:3px solid #29335C;font-weight:700}.sequence-amino-acid-truncated[data-v-2de7ee7a],.sequence-amino-acid.truncated .aa-text[data-v-2de7ee7a]{color:#8080804d;outline:rgba(128,128,128,.3);text-decoration:line-through!important}.sequence-amino-acid[data-v-2de7ee7a]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-2de7ee7a]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-2de7ee7a]{background-color:var(--amino-acid-cell-bg-color);color:#f3a712}.sequence-amino-acid-highlighted[data-v-2de7ee7a]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-2de7ee7a]{background-color:#a79c91}.sequence-amino-acid-modified[data-v-2de7ee7a]:hover{background-color:#c5baaf}.frag-marker-container[data-v-2de7ee7a],.frag-marker-container-a[data-v-2de7ee7a],.frag-marker-container-b[data-v-2de7ee7a],.frag-marker-container-c[data-v-2de7ee7a],.frag-marker-container-x[data-v-2de7ee7a],.frag-marker-container-y[data-v-2de7ee7a],.frag-marker-container-z[data-v-2de7ee7a],.frag-marker-extra-type[data-v-2de7ee7a]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-2de7ee7a]{top:-28%;left:15%}.frag-marker-container-b[data-v-2de7ee7a]{top:-8%;left:13%}.frag-marker-container-c[data-v-2de7ee7a]{top:-28%;left:15%}.frag-marker-container-x[data-v-2de7ee7a]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-2de7ee7a]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-2de7ee7a]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-2de7ee7a]{top:-30%}.aa-text[data-v-2de7ee7a]{position:absolute}.tag-marker[data-v-2de7ee7a]{position:absolute;top:-7.5%;left:-7.5%;width:115%;height:115%;display:flex;align-items:center;justify-content:right;border-top:.3em solid black;border-right:.3em solid black;border-bottom:.3em solid black;border-left:.3em solid black;z-index:1100}.tag-start[data-v-2de7ee7a]{clip-path:inset(0 50% 0 0)}.tag-end[data-v-2de7ee7a]{clip-path:inset(0 0 0 50%)}.mod-marker[data-v-2de7ee7a]{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:right;background-image:radial-gradient(#676a9c .5px,transparent .5px),radial-gradient(#444cf7 .5px,#e5e5f7 .5px);background-size:15px 15px;background-position:0 0,10px 10px;background-repeat:repeat}.mod-mass[data-v-2de7ee7a]{background-color:#fff;display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;justify-content:right;border-top:.1em solid #a79c91;border-right:.1em solid #a79c91;border-bottom:.1em solid #a79c91;border-left:.1em solid #a79c91;font-size:.7em;padding:0 .2em;z-index:1100}.mod-mass-a[data-v-2de7ee7a]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid green;border-right:.2em solid green;border-bottom:.2em solid green;border-radius:.5rem;padding:0 .2em;z-index:1200;font-size:.7em;color:#0000}.mod-mass-b[data-v-2de7ee7a]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid blue;border-right:.2em solid blue;border-bottom:.2em solid blue;border-radius:.5rem;z-index:1200;padding:0 .2em;font-size:.7em;color:#0000}.mod-mass-c[data-v-2de7ee7a]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid red;border-right:.2em solid red;border-bottom:.2em solid red;border-radius:.5rem;z-index:1200;font-size:.7em;padding:0 .2em;color:#0000}.mod-start[data-v-2de7ee7a]{clip-path:inset(0 50% 0 0)}.mod-end[data-v-2de7ee7a],.mod-start-cont[data-v-2de7ee7a]{clip-path:inset(0 0 0 50%)}.mod-end-cont[data-v-2de7ee7a]{clip-path:inset(0 50% 0 0)}.mod-center-cont[data-v-2de7ee7a]{width:125%}.undetermined[data-v-beee67fe]{position:relative;top:-20%;font-size:.7em;font-weight:1000;color:red;z-index:1100}.protein-terminal[data-v-beee67fe]:hover{background-color:var(--protein-terminal-cell-hover-bg-color);color:var(--protein-terminal-cell-hover-color)}.terminal-text[data-v-beee67fe]{font-weight:1000}.terminal-text.truncated[data-v-beee67fe]{color:#80808066;outline:rgba(128,128,128,.4)}.protein-terminal-modified[data-v-beee67fe]{background-color:#9c1e1e;color:var(--amino-acid-cell-color)}.protein-terminal-modified[data-v-beee67fe]:hover{background-color:#ff1e1e}.sequence-grid[data-v-9a6912d6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-9a6912d6]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-9a6912d6]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-9a6912d6]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-9a6912d6]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-9a6912d6]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-f3852c57]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-f3852c57]{aspect-ratio:1}.protein-terminal[data-v-f3852c57]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-f3852c57]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-f3852c57]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-f3852c57]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-f3852c57]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-f3852c57]{grid-template-columns:repeat(42,1fr)}.sequence-and-scale[data-v-f3852c57]{display:flex;align-items:center}.scale-container[data-v-f3852c57]{display:flex;flex-direction:column;align-items:center}#sequence-part[data-v-f3852c57]{flex-grow:1}.scale[data-v-f3852c57]{width:60px;height:100px;background:linear-gradient(to top,rgba(228,87,46,.1),rgba(228,87,46,.2) 10%,rgba(228,87,46,.4) 20%,rgba(228,87,46,.6) 40%,rgba(228,87,46,.8) 70%,#e4572e 100%)}.scale-text[data-v-f3852c57]{text-align:center;font-size:14pt;font-weight:700}.sequence-text[data-v-d41ea218]{font-size:8px}.fragment-segment[data-v-d41ea218],.by-fragment[data-v-d41ea218],.cy-fragment[data-v-d41ea218],.bz-fragment[data-v-d41ea218],.not-in-fragment[data-v-d41ea218],.by-fragment-overlayed[data-v-d41ea218],.by-fragment-legend[data-v-d41ea218],.cy-fragment-overlayed[data-v-d41ea218],.cy-fragment-legend[data-v-d41ea218],.bz-fragment-overlayed[data-v-d41ea218],.bz-fragment-legend[data-v-d41ea218]{aspect-ratio:1}.by-fragment[data-v-d41ea218],.by-fragment-overlayed[data-v-d41ea218],.by-fragment-legend[data-v-d41ea218]{background:#f0a441}.by-fragment-overlayed[data-v-d41ea218]{opacity:var(--frag-block-opacity-value)}.by-fragment-legend[data-v-d41ea218]{height:10px}.cy-fragment[data-v-d41ea218],.cy-fragment-overlayed[data-v-d41ea218],.cy-fragment-legend[data-v-d41ea218]{background:#12871d}.cy-fragment-overlayed[data-v-d41ea218]{opacity:var(--frag-block-opacity-value)}.cy-fragment-legend[data-v-d41ea218]{height:10px}.bz-fragment[data-v-d41ea218],.bz-fragment-overlayed[data-v-d41ea218],.bz-fragment-legend[data-v-d41ea218]{background:#7831cc}.bz-fragment-overlayed[data-v-d41ea218]{opacity:var(--frag-block-opacity-value)}.bz-fragment-legend[data-v-d41ea218]{height:10px}.not-in-fragment[data-v-d41ea218]{background:transparent;aspect-ratio:1}.v-input.textFieldFontSize[data-v-d41ea218]{width:100px}.component-row[data-v-c6c4664e]{display:flex;flex-direction:row;align-items:center}.height-1[data-v-c6c4664e]{min-height:200px;height:fit-content;max-height:400px}.height-2[data-v-c6c4664e]{min-height:200px;height:fit-content;max-height:800px}.height-any[data-v-c6c4664e]{min-height:200px;height:fit-content}.component-width-1[data-v-c6c4664e]{flex-basis:100%;flex-grow:0}.component-width-2[data-v-c6c4664e]{max-width:50%;flex-basis:50%;flex-grow:0}.component-width-3[data-v-c6c4664e]{max-width:33%;flex-basis:33%;flex-grow:0}.component-layout[data-v-1d160719]{display:flex;flex-direction:column}body{margin:0;font-family:Source Sans Pro,sans-serif}.tabulator-tooltip{background:#fff;color:#000}@font-face{font-family:Material Design Icons;src:url(./materialdesignicons-webfont-67d24abe.eot?v=7.2.96);src:url(./materialdesignicons-webfont-67d24abe.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(./materialdesignicons-webfont-c1c004a9.woff2?v=7.2.96) format("woff2"),url(./materialdesignicons-webfont-80bb28b3.woff?v=7.2.96) format("woff"),url(./materialdesignicons-webfont-a58ecb54.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"๓ฐ‡‰"}.mdi-abacus:before{content:"๓ฑ› "}.mdi-abjad-arabic:before{content:"๓ฑŒจ"}.mdi-abjad-hebrew:before{content:"๓ฑŒฉ"}.mdi-abugida-devanagari:before{content:"๓ฑŒช"}.mdi-abugida-thai:before{content:"๓ฑŒซ"}.mdi-access-point:before{content:"๓ฐ€ƒ"}.mdi-access-point-check:before{content:"๓ฑ”ธ"}.mdi-access-point-minus:before{content:"๓ฑ”น"}.mdi-access-point-network:before{content:"๓ฐ€‚"}.mdi-access-point-network-off:before{content:"๓ฐฏก"}.mdi-access-point-off:before{content:"๓ฑ”‘"}.mdi-access-point-plus:before{content:"๓ฑ”บ"}.mdi-access-point-remove:before{content:"๓ฑ”ป"}.mdi-account:before{content:"๓ฐ€„"}.mdi-account-alert:before{content:"๓ฐ€…"}.mdi-account-alert-outline:before{content:"๓ฐญ"}.mdi-account-arrow-down:before{content:"๓ฑกจ"}.mdi-account-arrow-down-outline:before{content:"๓ฑกฉ"}.mdi-account-arrow-left:before{content:"๓ฐญ‘"}.mdi-account-arrow-left-outline:before{content:"๓ฐญ’"}.mdi-account-arrow-right:before{content:"๓ฐญ“"}.mdi-account-arrow-right-outline:before{content:"๓ฐญ”"}.mdi-account-arrow-up:before{content:"๓ฑกง"}.mdi-account-arrow-up-outline:before{content:"๓ฑกช"}.mdi-account-badge:before{content:"๓ฑฌŠ"}.mdi-account-badge-outline:before{content:"๓ฑฌ‹"}.mdi-account-box:before{content:"๓ฐ€†"}.mdi-account-box-multiple:before{content:"๓ฐคด"}.mdi-account-box-multiple-outline:before{content:"๓ฑ€Š"}.mdi-account-box-outline:before{content:"๓ฐ€‡"}.mdi-account-cancel:before{content:"๓ฑ‹Ÿ"}.mdi-account-cancel-outline:before{content:"๓ฑ‹ "}.mdi-account-card:before{content:"๓ฑฎค"}.mdi-account-card-outline:before{content:"๓ฑฎฅ"}.mdi-account-cash:before{content:"๓ฑ‚—"}.mdi-account-cash-outline:before{content:"๓ฑ‚˜"}.mdi-account-check:before{content:"๓ฐ€ˆ"}.mdi-account-check-outline:before{content:"๓ฐฏข"}.mdi-account-child:before{content:"๓ฐช‰"}.mdi-account-child-circle:before{content:"๓ฐชŠ"}.mdi-account-child-outline:before{content:"๓ฑƒˆ"}.mdi-account-circle:before{content:"๓ฐ€‰"}.mdi-account-circle-outline:before{content:"๓ฐญ•"}.mdi-account-clock:before{content:"๓ฐญ–"}.mdi-account-clock-outline:before{content:"๓ฐญ—"}.mdi-account-cog:before{content:"๓ฑฐ"}.mdi-account-cog-outline:before{content:"๓ฑฑ"}.mdi-account-convert:before{content:"๓ฐ€Š"}.mdi-account-convert-outline:before{content:"๓ฑŒ"}.mdi-account-cowboy-hat:before{content:"๓ฐบ›"}.mdi-account-cowboy-hat-outline:before{content:"๓ฑŸณ"}.mdi-account-credit-card:before{content:"๓ฑฎฆ"}.mdi-account-credit-card-outline:before{content:"๓ฑฎง"}.mdi-account-details:before{content:"๓ฐ˜ฑ"}.mdi-account-details-outline:before{content:"๓ฑฒ"}.mdi-account-edit:before{content:"๓ฐšผ"}.mdi-account-edit-outline:before{content:"๓ฐฟป"}.mdi-account-eye:before{content:"๓ฐ "}.mdi-account-eye-outline:before{content:"๓ฑ‰ป"}.mdi-account-filter:before{content:"๓ฐคถ"}.mdi-account-filter-outline:before{content:"๓ฐพ"}.mdi-account-group:before{content:"๓ฐก‰"}.mdi-account-group-outline:before{content:"๓ฐญ˜"}.mdi-account-hard-hat:before{content:"๓ฐ–ต"}.mdi-account-hard-hat-outline:before{content:"๓ฑจŸ"}.mdi-account-heart:before{content:"๓ฐข™"}.mdi-account-heart-outline:before{content:"๓ฐฏฃ"}.mdi-account-injury:before{content:"๓ฑ •"}.mdi-account-injury-outline:before{content:"๓ฑ –"}.mdi-account-key:before{content:"๓ฐ€‹"}.mdi-account-key-outline:before{content:"๓ฐฏค"}.mdi-account-lock:before{content:"๓ฑ…ž"}.mdi-account-lock-open:before{content:"๓ฑฅ "}.mdi-account-lock-open-outline:before{content:"๓ฑฅก"}.mdi-account-lock-outline:before{content:"๓ฑ…Ÿ"}.mdi-account-minus:before{content:"๓ฐ€"}.mdi-account-minus-outline:before{content:"๓ฐซฌ"}.mdi-account-multiple:before{content:"๓ฐ€Ž"}.mdi-account-multiple-check:before{content:"๓ฐฃ…"}.mdi-account-multiple-check-outline:before{content:"๓ฑ‡พ"}.mdi-account-multiple-minus:before{content:"๓ฐ—“"}.mdi-account-multiple-minus-outline:before{content:"๓ฐฏฅ"}.mdi-account-multiple-outline:before{content:"๓ฐ€"}.mdi-account-multiple-plus:before{content:"๓ฐ€"}.mdi-account-multiple-plus-outline:before{content:"๓ฐ €"}.mdi-account-multiple-remove:before{content:"๓ฑˆŠ"}.mdi-account-multiple-remove-outline:before{content:"๓ฑˆ‹"}.mdi-account-music:before{content:"๓ฐ ƒ"}.mdi-account-music-outline:before{content:"๓ฐณฉ"}.mdi-account-network:before{content:"๓ฐ€‘"}.mdi-account-network-off:before{content:"๓ฑซฑ"}.mdi-account-network-off-outline:before{content:"๓ฑซฒ"}.mdi-account-network-outline:before{content:"๓ฐฏฆ"}.mdi-account-off:before{content:"๓ฐ€’"}.mdi-account-off-outline:before{content:"๓ฐฏง"}.mdi-account-outline:before{content:"๓ฐ€“"}.mdi-account-plus:before{content:"๓ฐ€”"}.mdi-account-plus-outline:before{content:"๓ฐ "}.mdi-account-question:before{content:"๓ฐญ™"}.mdi-account-question-outline:before{content:"๓ฐญš"}.mdi-account-reactivate:before{content:"๓ฑ”ซ"}.mdi-account-reactivate-outline:before{content:"๓ฑ”ฌ"}.mdi-account-remove:before{content:"๓ฐ€•"}.mdi-account-remove-outline:before{content:"๓ฐซญ"}.mdi-account-school:before{content:"๓ฑจ "}.mdi-account-school-outline:before{content:"๓ฑจก"}.mdi-account-search:before{content:"๓ฐ€–"}.mdi-account-search-outline:before{content:"๓ฐคต"}.mdi-account-settings:before{content:"๓ฐ˜ฐ"}.mdi-account-settings-outline:before{content:"๓ฑƒ‰"}.mdi-account-star:before{content:"๓ฐ€—"}.mdi-account-star-outline:before{content:"๓ฐฏจ"}.mdi-account-supervisor:before{content:"๓ฐช‹"}.mdi-account-supervisor-circle:before{content:"๓ฐชŒ"}.mdi-account-supervisor-circle-outline:before{content:"๓ฑ“ฌ"}.mdi-account-supervisor-outline:before{content:"๓ฑ„ญ"}.mdi-account-switch:before{content:"๓ฐ€™"}.mdi-account-switch-outline:before{content:"๓ฐ“‹"}.mdi-account-sync:before{content:"๓ฑค›"}.mdi-account-sync-outline:before{content:"๓ฑคœ"}.mdi-account-tag:before{content:"๓ฑฐ›"}.mdi-account-tag-outline:before{content:"๓ฑฐœ"}.mdi-account-tie:before{content:"๓ฐณฃ"}.mdi-account-tie-hat:before{content:"๓ฑข˜"}.mdi-account-tie-hat-outline:before{content:"๓ฑข™"}.mdi-account-tie-outline:before{content:"๓ฑƒŠ"}.mdi-account-tie-voice:before{content:"๓ฑŒˆ"}.mdi-account-tie-voice-off:before{content:"๓ฑŒŠ"}.mdi-account-tie-voice-off-outline:before{content:"๓ฑŒ‹"}.mdi-account-tie-voice-outline:before{content:"๓ฑŒ‰"}.mdi-account-tie-woman:before{content:"๓ฑชŒ"}.mdi-account-voice:before{content:"๓ฐ—‹"}.mdi-account-voice-off:before{content:"๓ฐป”"}.mdi-account-wrench:before{content:"๓ฑขš"}.mdi-account-wrench-outline:before{content:"๓ฑข›"}.mdi-adjust:before{content:"๓ฐ€š"}.mdi-advertisements:before{content:"๓ฑคช"}.mdi-advertisements-off:before{content:"๓ฑคซ"}.mdi-air-conditioner:before{content:"๓ฐ€›"}.mdi-air-filter:before{content:"๓ฐตƒ"}.mdi-air-horn:before{content:"๓ฐถฌ"}.mdi-air-humidifier:before{content:"๓ฑ‚™"}.mdi-air-humidifier-off:before{content:"๓ฑ‘ฆ"}.mdi-air-purifier:before{content:"๓ฐต„"}.mdi-air-purifier-off:before{content:"๓ฑญ—"}.mdi-airbag:before{content:"๓ฐฏฉ"}.mdi-airballoon:before{content:"๓ฐ€œ"}.mdi-airballoon-outline:before{content:"๓ฑ€‹"}.mdi-airplane:before{content:"๓ฐ€"}.mdi-airplane-alert:before{content:"๓ฑกบ"}.mdi-airplane-check:before{content:"๓ฑกป"}.mdi-airplane-clock:before{content:"๓ฑกผ"}.mdi-airplane-cog:before{content:"๓ฑกฝ"}.mdi-airplane-edit:before{content:"๓ฑกพ"}.mdi-airplane-landing:before{content:"๓ฐ—”"}.mdi-airplane-marker:before{content:"๓ฑกฟ"}.mdi-airplane-minus:before{content:"๓ฑข€"}.mdi-airplane-off:before{content:"๓ฐ€ž"}.mdi-airplane-plus:before{content:"๓ฑข"}.mdi-airplane-remove:before{content:"๓ฑข‚"}.mdi-airplane-search:before{content:"๓ฑขƒ"}.mdi-airplane-settings:before{content:"๓ฑข„"}.mdi-airplane-takeoff:before{content:"๓ฐ—•"}.mdi-airport:before{content:"๓ฐก‹"}.mdi-alarm:before{content:"๓ฐ€ "}.mdi-alarm-bell:before{content:"๓ฐžŽ"}.mdi-alarm-check:before{content:"๓ฐ€ก"}.mdi-alarm-light:before{content:"๓ฐž"}.mdi-alarm-light-off:before{content:"๓ฑœž"}.mdi-alarm-light-off-outline:before{content:"๓ฑœŸ"}.mdi-alarm-light-outline:before{content:"๓ฐฏช"}.mdi-alarm-multiple:before{content:"๓ฐ€ข"}.mdi-alarm-note:before{content:"๓ฐนฑ"}.mdi-alarm-note-off:before{content:"๓ฐนฒ"}.mdi-alarm-off:before{content:"๓ฐ€ฃ"}.mdi-alarm-panel:before{content:"๓ฑ—„"}.mdi-alarm-panel-outline:before{content:"๓ฑ—…"}.mdi-alarm-plus:before{content:"๓ฐ€ค"}.mdi-alarm-snooze:before{content:"๓ฐšŽ"}.mdi-album:before{content:"๓ฐ€ฅ"}.mdi-alert:before{content:"๓ฐ€ฆ"}.mdi-alert-box:before{content:"๓ฐ€ง"}.mdi-alert-box-outline:before{content:"๓ฐณค"}.mdi-alert-circle:before{content:"๓ฐ€จ"}.mdi-alert-circle-check:before{content:"๓ฑ‡ญ"}.mdi-alert-circle-check-outline:before{content:"๓ฑ‡ฎ"}.mdi-alert-circle-outline:before{content:"๓ฐ—–"}.mdi-alert-decagram:before{content:"๓ฐšฝ"}.mdi-alert-decagram-outline:before{content:"๓ฐณฅ"}.mdi-alert-minus:before{content:"๓ฑ’ป"}.mdi-alert-minus-outline:before{content:"๓ฑ’พ"}.mdi-alert-octagon:before{content:"๓ฐ€ฉ"}.mdi-alert-octagon-outline:before{content:"๓ฐณฆ"}.mdi-alert-octagram:before{content:"๓ฐง"}.mdi-alert-octagram-outline:before{content:"๓ฐณง"}.mdi-alert-outline:before{content:"๓ฐ€ช"}.mdi-alert-plus:before{content:"๓ฑ’บ"}.mdi-alert-plus-outline:before{content:"๓ฑ’ฝ"}.mdi-alert-remove:before{content:"๓ฑ’ผ"}.mdi-alert-remove-outline:before{content:"๓ฑ’ฟ"}.mdi-alert-rhombus:before{content:"๓ฑ‡Ž"}.mdi-alert-rhombus-outline:before{content:"๓ฑ‡"}.mdi-alien:before{content:"๓ฐขš"}.mdi-alien-outline:before{content:"๓ฑƒ‹"}.mdi-align-horizontal-center:before{content:"๓ฑ‡ƒ"}.mdi-align-horizontal-distribute:before{content:"๓ฑฅข"}.mdi-align-horizontal-left:before{content:"๓ฑ‡‚"}.mdi-align-horizontal-right:before{content:"๓ฑ‡„"}.mdi-align-vertical-bottom:before{content:"๓ฑ‡…"}.mdi-align-vertical-center:before{content:"๓ฑ‡†"}.mdi-align-vertical-distribute:before{content:"๓ฑฅฃ"}.mdi-align-vertical-top:before{content:"๓ฑ‡‡"}.mdi-all-inclusive:before{content:"๓ฐšพ"}.mdi-all-inclusive-box:before{content:"๓ฑข"}.mdi-all-inclusive-box-outline:before{content:"๓ฑขŽ"}.mdi-allergy:before{content:"๓ฑ‰˜"}.mdi-alpha:before{content:"๓ฐ€ซ"}.mdi-alpha-a:before{content:"๓ฐซฎ"}.mdi-alpha-a-box:before{content:"๓ฐฌˆ"}.mdi-alpha-a-box-outline:before{content:"๓ฐฏซ"}.mdi-alpha-a-circle:before{content:"๓ฐฏฌ"}.mdi-alpha-a-circle-outline:before{content:"๓ฐฏญ"}.mdi-alpha-b:before{content:"๓ฐซฏ"}.mdi-alpha-b-box:before{content:"๓ฐฌ‰"}.mdi-alpha-b-box-outline:before{content:"๓ฐฏฎ"}.mdi-alpha-b-circle:before{content:"๓ฐฏฏ"}.mdi-alpha-b-circle-outline:before{content:"๓ฐฏฐ"}.mdi-alpha-c:before{content:"๓ฐซฐ"}.mdi-alpha-c-box:before{content:"๓ฐฌŠ"}.mdi-alpha-c-box-outline:before{content:"๓ฐฏฑ"}.mdi-alpha-c-circle:before{content:"๓ฐฏฒ"}.mdi-alpha-c-circle-outline:before{content:"๓ฐฏณ"}.mdi-alpha-d:before{content:"๓ฐซฑ"}.mdi-alpha-d-box:before{content:"๓ฐฌ‹"}.mdi-alpha-d-box-outline:before{content:"๓ฐฏด"}.mdi-alpha-d-circle:before{content:"๓ฐฏต"}.mdi-alpha-d-circle-outline:before{content:"๓ฐฏถ"}.mdi-alpha-e:before{content:"๓ฐซฒ"}.mdi-alpha-e-box:before{content:"๓ฐฌŒ"}.mdi-alpha-e-box-outline:before{content:"๓ฐฏท"}.mdi-alpha-e-circle:before{content:"๓ฐฏธ"}.mdi-alpha-e-circle-outline:before{content:"๓ฐฏน"}.mdi-alpha-f:before{content:"๓ฐซณ"}.mdi-alpha-f-box:before{content:"๓ฐฌ"}.mdi-alpha-f-box-outline:before{content:"๓ฐฏบ"}.mdi-alpha-f-circle:before{content:"๓ฐฏป"}.mdi-alpha-f-circle-outline:before{content:"๓ฐฏผ"}.mdi-alpha-g:before{content:"๓ฐซด"}.mdi-alpha-g-box:before{content:"๓ฐฌŽ"}.mdi-alpha-g-box-outline:before{content:"๓ฐฏฝ"}.mdi-alpha-g-circle:before{content:"๓ฐฏพ"}.mdi-alpha-g-circle-outline:before{content:"๓ฐฏฟ"}.mdi-alpha-h:before{content:"๓ฐซต"}.mdi-alpha-h-box:before{content:"๓ฐฌ"}.mdi-alpha-h-box-outline:before{content:"๓ฐฐ€"}.mdi-alpha-h-circle:before{content:"๓ฐฐ"}.mdi-alpha-h-circle-outline:before{content:"๓ฐฐ‚"}.mdi-alpha-i:before{content:"๓ฐซถ"}.mdi-alpha-i-box:before{content:"๓ฐฌ"}.mdi-alpha-i-box-outline:before{content:"๓ฐฐƒ"}.mdi-alpha-i-circle:before{content:"๓ฐฐ„"}.mdi-alpha-i-circle-outline:before{content:"๓ฐฐ…"}.mdi-alpha-j:before{content:"๓ฐซท"}.mdi-alpha-j-box:before{content:"๓ฐฌ‘"}.mdi-alpha-j-box-outline:before{content:"๓ฐฐ†"}.mdi-alpha-j-circle:before{content:"๓ฐฐ‡"}.mdi-alpha-j-circle-outline:before{content:"๓ฐฐˆ"}.mdi-alpha-k:before{content:"๓ฐซธ"}.mdi-alpha-k-box:before{content:"๓ฐฌ’"}.mdi-alpha-k-box-outline:before{content:"๓ฐฐ‰"}.mdi-alpha-k-circle:before{content:"๓ฐฐŠ"}.mdi-alpha-k-circle-outline:before{content:"๓ฐฐ‹"}.mdi-alpha-l:before{content:"๓ฐซน"}.mdi-alpha-l-box:before{content:"๓ฐฌ“"}.mdi-alpha-l-box-outline:before{content:"๓ฐฐŒ"}.mdi-alpha-l-circle:before{content:"๓ฐฐ"}.mdi-alpha-l-circle-outline:before{content:"๓ฐฐŽ"}.mdi-alpha-m:before{content:"๓ฐซบ"}.mdi-alpha-m-box:before{content:"๓ฐฌ”"}.mdi-alpha-m-box-outline:before{content:"๓ฐฐ"}.mdi-alpha-m-circle:before{content:"๓ฐฐ"}.mdi-alpha-m-circle-outline:before{content:"๓ฐฐ‘"}.mdi-alpha-n:before{content:"๓ฐซป"}.mdi-alpha-n-box:before{content:"๓ฐฌ•"}.mdi-alpha-n-box-outline:before{content:"๓ฐฐ’"}.mdi-alpha-n-circle:before{content:"๓ฐฐ“"}.mdi-alpha-n-circle-outline:before{content:"๓ฐฐ”"}.mdi-alpha-o:before{content:"๓ฐซผ"}.mdi-alpha-o-box:before{content:"๓ฐฌ–"}.mdi-alpha-o-box-outline:before{content:"๓ฐฐ•"}.mdi-alpha-o-circle:before{content:"๓ฐฐ–"}.mdi-alpha-o-circle-outline:before{content:"๓ฐฐ—"}.mdi-alpha-p:before{content:"๓ฐซฝ"}.mdi-alpha-p-box:before{content:"๓ฐฌ—"}.mdi-alpha-p-box-outline:before{content:"๓ฐฐ˜"}.mdi-alpha-p-circle:before{content:"๓ฐฐ™"}.mdi-alpha-p-circle-outline:before{content:"๓ฐฐš"}.mdi-alpha-q:before{content:"๓ฐซพ"}.mdi-alpha-q-box:before{content:"๓ฐฌ˜"}.mdi-alpha-q-box-outline:before{content:"๓ฐฐ›"}.mdi-alpha-q-circle:before{content:"๓ฐฐœ"}.mdi-alpha-q-circle-outline:before{content:"๓ฐฐ"}.mdi-alpha-r:before{content:"๓ฐซฟ"}.mdi-alpha-r-box:before{content:"๓ฐฌ™"}.mdi-alpha-r-box-outline:before{content:"๓ฐฐž"}.mdi-alpha-r-circle:before{content:"๓ฐฐŸ"}.mdi-alpha-r-circle-outline:before{content:"๓ฐฐ "}.mdi-alpha-s:before{content:"๓ฐฌ€"}.mdi-alpha-s-box:before{content:"๓ฐฌš"}.mdi-alpha-s-box-outline:before{content:"๓ฐฐก"}.mdi-alpha-s-circle:before{content:"๓ฐฐข"}.mdi-alpha-s-circle-outline:before{content:"๓ฐฐฃ"}.mdi-alpha-t:before{content:"๓ฐฌ"}.mdi-alpha-t-box:before{content:"๓ฐฌ›"}.mdi-alpha-t-box-outline:before{content:"๓ฐฐค"}.mdi-alpha-t-circle:before{content:"๓ฐฐฅ"}.mdi-alpha-t-circle-outline:before{content:"๓ฐฐฆ"}.mdi-alpha-u:before{content:"๓ฐฌ‚"}.mdi-alpha-u-box:before{content:"๓ฐฌœ"}.mdi-alpha-u-box-outline:before{content:"๓ฐฐง"}.mdi-alpha-u-circle:before{content:"๓ฐฐจ"}.mdi-alpha-u-circle-outline:before{content:"๓ฐฐฉ"}.mdi-alpha-v:before{content:"๓ฐฌƒ"}.mdi-alpha-v-box:before{content:"๓ฐฌ"}.mdi-alpha-v-box-outline:before{content:"๓ฐฐช"}.mdi-alpha-v-circle:before{content:"๓ฐฐซ"}.mdi-alpha-v-circle-outline:before{content:"๓ฐฐฌ"}.mdi-alpha-w:before{content:"๓ฐฌ„"}.mdi-alpha-w-box:before{content:"๓ฐฌž"}.mdi-alpha-w-box-outline:before{content:"๓ฐฐญ"}.mdi-alpha-w-circle:before{content:"๓ฐฐฎ"}.mdi-alpha-w-circle-outline:before{content:"๓ฐฐฏ"}.mdi-alpha-x:before{content:"๓ฐฌ…"}.mdi-alpha-x-box:before{content:"๓ฐฌŸ"}.mdi-alpha-x-box-outline:before{content:"๓ฐฐฐ"}.mdi-alpha-x-circle:before{content:"๓ฐฐฑ"}.mdi-alpha-x-circle-outline:before{content:"๓ฐฐฒ"}.mdi-alpha-y:before{content:"๓ฐฌ†"}.mdi-alpha-y-box:before{content:"๓ฐฌ "}.mdi-alpha-y-box-outline:before{content:"๓ฐฐณ"}.mdi-alpha-y-circle:before{content:"๓ฐฐด"}.mdi-alpha-y-circle-outline:before{content:"๓ฐฐต"}.mdi-alpha-z:before{content:"๓ฐฌ‡"}.mdi-alpha-z-box:before{content:"๓ฐฌก"}.mdi-alpha-z-box-outline:before{content:"๓ฐฐถ"}.mdi-alpha-z-circle:before{content:"๓ฐฐท"}.mdi-alpha-z-circle-outline:before{content:"๓ฐฐธ"}.mdi-alphabet-aurebesh:before{content:"๓ฑŒฌ"}.mdi-alphabet-cyrillic:before{content:"๓ฑŒญ"}.mdi-alphabet-greek:before{content:"๓ฑŒฎ"}.mdi-alphabet-latin:before{content:"๓ฑŒฏ"}.mdi-alphabet-piqad:before{content:"๓ฑŒฐ"}.mdi-alphabet-tengwar:before{content:"๓ฑŒท"}.mdi-alphabetical:before{content:"๓ฐ€ฌ"}.mdi-alphabetical-off:before{content:"๓ฑ€Œ"}.mdi-alphabetical-variant:before{content:"๓ฑ€"}.mdi-alphabetical-variant-off:before{content:"๓ฑ€Ž"}.mdi-altimeter:before{content:"๓ฐ——"}.mdi-ambulance:before{content:"๓ฐ€ฏ"}.mdi-ammunition:before{content:"๓ฐณจ"}.mdi-ampersand:before{content:"๓ฐช"}.mdi-amplifier:before{content:"๓ฐ€ฐ"}.mdi-amplifier-off:before{content:"๓ฑ†ต"}.mdi-anchor:before{content:"๓ฐ€ฑ"}.mdi-android:before{content:"๓ฐ€ฒ"}.mdi-android-studio:before{content:"๓ฐ€ด"}.mdi-angle-acute:before{content:"๓ฐคท"}.mdi-angle-obtuse:before{content:"๓ฐคธ"}.mdi-angle-right:before{content:"๓ฐคน"}.mdi-angular:before{content:"๓ฐšฒ"}.mdi-angularjs:before{content:"๓ฐšฟ"}.mdi-animation:before{content:"๓ฐ—˜"}.mdi-animation-outline:before{content:"๓ฐช"}.mdi-animation-play:before{content:"๓ฐคบ"}.mdi-animation-play-outline:before{content:"๓ฐช"}.mdi-ansible:before{content:"๓ฑ‚š"}.mdi-antenna:before{content:"๓ฑ„™"}.mdi-anvil:before{content:"๓ฐข›"}.mdi-apache-kafka:before{content:"๓ฑ€"}.mdi-api:before{content:"๓ฑ‚›"}.mdi-api-off:before{content:"๓ฑ‰—"}.mdi-apple:before{content:"๓ฐ€ต"}.mdi-apple-finder:before{content:"๓ฐ€ถ"}.mdi-apple-icloud:before{content:"๓ฐ€ธ"}.mdi-apple-ios:before{content:"๓ฐ€ท"}.mdi-apple-keyboard-caps:before{content:"๓ฐ˜ฒ"}.mdi-apple-keyboard-command:before{content:"๓ฐ˜ณ"}.mdi-apple-keyboard-control:before{content:"๓ฐ˜ด"}.mdi-apple-keyboard-option:before{content:"๓ฐ˜ต"}.mdi-apple-keyboard-shift:before{content:"๓ฐ˜ถ"}.mdi-apple-safari:before{content:"๓ฐ€น"}.mdi-application:before{content:"๓ฐฃ†"}.mdi-application-array:before{content:"๓ฑƒต"}.mdi-application-array-outline:before{content:"๓ฑƒถ"}.mdi-application-braces:before{content:"๓ฑƒท"}.mdi-application-braces-outline:before{content:"๓ฑƒธ"}.mdi-application-brackets:before{content:"๓ฐฒ‹"}.mdi-application-brackets-outline:before{content:"๓ฐฒŒ"}.mdi-application-cog:before{content:"๓ฐ™ต"}.mdi-application-cog-outline:before{content:"๓ฑ•ท"}.mdi-application-edit:before{content:"๓ฐ‚ฎ"}.mdi-application-edit-outline:before{content:"๓ฐ˜™"}.mdi-application-export:before{content:"๓ฐถญ"}.mdi-application-import:before{content:"๓ฐถฎ"}.mdi-application-outline:before{content:"๓ฐ˜”"}.mdi-application-parentheses:before{content:"๓ฑƒน"}.mdi-application-parentheses-outline:before{content:"๓ฑƒบ"}.mdi-application-settings:before{content:"๓ฐญ "}.mdi-application-settings-outline:before{content:"๓ฑ••"}.mdi-application-variable:before{content:"๓ฑƒป"}.mdi-application-variable-outline:before{content:"๓ฑƒผ"}.mdi-approximately-equal:before{content:"๓ฐพž"}.mdi-approximately-equal-box:before{content:"๓ฐพŸ"}.mdi-apps:before{content:"๓ฐ€ป"}.mdi-apps-box:before{content:"๓ฐต†"}.mdi-arch:before{content:"๓ฐฃ‡"}.mdi-archive:before{content:"๓ฐ€ผ"}.mdi-archive-alert:before{content:"๓ฑ“ฝ"}.mdi-archive-alert-outline:before{content:"๓ฑ“พ"}.mdi-archive-arrow-down:before{content:"๓ฑ‰™"}.mdi-archive-arrow-down-outline:before{content:"๓ฑ‰š"}.mdi-archive-arrow-up:before{content:"๓ฑ‰›"}.mdi-archive-arrow-up-outline:before{content:"๓ฑ‰œ"}.mdi-archive-cancel:before{content:"๓ฑ‹"}.mdi-archive-cancel-outline:before{content:"๓ฑŒ"}.mdi-archive-check:before{content:"๓ฑ"}.mdi-archive-check-outline:before{content:"๓ฑŽ"}.mdi-archive-clock:before{content:"๓ฑ"}.mdi-archive-clock-outline:before{content:"๓ฑ"}.mdi-archive-cog:before{content:"๓ฑ‘"}.mdi-archive-cog-outline:before{content:"๓ฑ’"}.mdi-archive-edit:before{content:"๓ฑ“"}.mdi-archive-edit-outline:before{content:"๓ฑ”"}.mdi-archive-eye:before{content:"๓ฑ•"}.mdi-archive-eye-outline:before{content:"๓ฑ–"}.mdi-archive-lock:before{content:"๓ฑ—"}.mdi-archive-lock-open:before{content:"๓ฑ˜"}.mdi-archive-lock-open-outline:before{content:"๓ฑ™"}.mdi-archive-lock-outline:before{content:"๓ฑš"}.mdi-archive-marker:before{content:"๓ฑ›"}.mdi-archive-marker-outline:before{content:"๓ฑœ"}.mdi-archive-minus:before{content:"๓ฑ"}.mdi-archive-minus-outline:before{content:"๓ฑž"}.mdi-archive-music:before{content:"๓ฑŸ"}.mdi-archive-music-outline:before{content:"๓ฑ "}.mdi-archive-off:before{content:"๓ฑก"}.mdi-archive-off-outline:before{content:"๓ฑข"}.mdi-archive-outline:before{content:"๓ฑˆŽ"}.mdi-archive-plus:before{content:"๓ฑฃ"}.mdi-archive-plus-outline:before{content:"๓ฑค"}.mdi-archive-refresh:before{content:"๓ฑฅ"}.mdi-archive-refresh-outline:before{content:"๓ฑฆ"}.mdi-archive-remove:before{content:"๓ฑง"}.mdi-archive-remove-outline:before{content:"๓ฑจ"}.mdi-archive-search:before{content:"๓ฑฉ"}.mdi-archive-search-outline:before{content:"๓ฑช"}.mdi-archive-settings:before{content:"๓ฑซ"}.mdi-archive-settings-outline:before{content:"๓ฑฌ"}.mdi-archive-star:before{content:"๓ฑญ"}.mdi-archive-star-outline:before{content:"๓ฑฎ"}.mdi-archive-sync:before{content:"๓ฑฏ"}.mdi-archive-sync-outline:before{content:"๓ฑฐ"}.mdi-arm-flex:before{content:"๓ฐฟ—"}.mdi-arm-flex-outline:before{content:"๓ฐฟ–"}.mdi-arrange-bring-forward:before{content:"๓ฐ€ฝ"}.mdi-arrange-bring-to-front:before{content:"๓ฐ€พ"}.mdi-arrange-send-backward:before{content:"๓ฐ€ฟ"}.mdi-arrange-send-to-back:before{content:"๓ฐ€"}.mdi-arrow-all:before{content:"๓ฐ"}.mdi-arrow-bottom-left:before{content:"๓ฐ‚"}.mdi-arrow-bottom-left-bold-box:before{content:"๓ฑฅค"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"๓ฑฅฅ"}.mdi-arrow-bottom-left-bold-outline:before{content:"๓ฐฆท"}.mdi-arrow-bottom-left-thick:before{content:"๓ฐฆธ"}.mdi-arrow-bottom-left-thin:before{content:"๓ฑฆถ"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"๓ฑ––"}.mdi-arrow-bottom-right:before{content:"๓ฐƒ"}.mdi-arrow-bottom-right-bold-box:before{content:"๓ฑฅฆ"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"๓ฑฅง"}.mdi-arrow-bottom-right-bold-outline:before{content:"๓ฐฆน"}.mdi-arrow-bottom-right-thick:before{content:"๓ฐฆบ"}.mdi-arrow-bottom-right-thin:before{content:"๓ฑฆท"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"๓ฑ–•"}.mdi-arrow-collapse:before{content:"๓ฐ˜•"}.mdi-arrow-collapse-all:before{content:"๓ฐ„"}.mdi-arrow-collapse-down:before{content:"๓ฐž’"}.mdi-arrow-collapse-horizontal:before{content:"๓ฐกŒ"}.mdi-arrow-collapse-left:before{content:"๓ฐž“"}.mdi-arrow-collapse-right:before{content:"๓ฐž”"}.mdi-arrow-collapse-up:before{content:"๓ฐž•"}.mdi-arrow-collapse-vertical:before{content:"๓ฐก"}.mdi-arrow-decision:before{content:"๓ฐฆป"}.mdi-arrow-decision-auto:before{content:"๓ฐฆผ"}.mdi-arrow-decision-auto-outline:before{content:"๓ฐฆฝ"}.mdi-arrow-decision-outline:before{content:"๓ฐฆพ"}.mdi-arrow-down:before{content:"๓ฐ…"}.mdi-arrow-down-bold:before{content:"๓ฐœฎ"}.mdi-arrow-down-bold-box:before{content:"๓ฐœฏ"}.mdi-arrow-down-bold-box-outline:before{content:"๓ฐœฐ"}.mdi-arrow-down-bold-circle:before{content:"๓ฐ‡"}.mdi-arrow-down-bold-circle-outline:before{content:"๓ฐˆ"}.mdi-arrow-down-bold-hexagon-outline:before{content:"๓ฐ‰"}.mdi-arrow-down-bold-outline:before{content:"๓ฐฆฟ"}.mdi-arrow-down-box:before{content:"๓ฐ›€"}.mdi-arrow-down-circle:before{content:"๓ฐณ›"}.mdi-arrow-down-circle-outline:before{content:"๓ฐณœ"}.mdi-arrow-down-drop-circle:before{content:"๓ฐŠ"}.mdi-arrow-down-drop-circle-outline:before{content:"๓ฐ‹"}.mdi-arrow-down-left:before{content:"๓ฑžก"}.mdi-arrow-down-left-bold:before{content:"๓ฑžข"}.mdi-arrow-down-right:before{content:"๓ฑžฃ"}.mdi-arrow-down-right-bold:before{content:"๓ฑžค"}.mdi-arrow-down-thick:before{content:"๓ฐ†"}.mdi-arrow-down-thin:before{content:"๓ฑฆณ"}.mdi-arrow-down-thin-circle-outline:before{content:"๓ฑ–™"}.mdi-arrow-expand:before{content:"๓ฐ˜–"}.mdi-arrow-expand-all:before{content:"๓ฐŒ"}.mdi-arrow-expand-down:before{content:"๓ฐž–"}.mdi-arrow-expand-horizontal:before{content:"๓ฐกŽ"}.mdi-arrow-expand-left:before{content:"๓ฐž—"}.mdi-arrow-expand-right:before{content:"๓ฐž˜"}.mdi-arrow-expand-up:before{content:"๓ฐž™"}.mdi-arrow-expand-vertical:before{content:"๓ฐก"}.mdi-arrow-horizontal-lock:before{content:"๓ฑ…›"}.mdi-arrow-left:before{content:"๓ฐ"}.mdi-arrow-left-bold:before{content:"๓ฐœฑ"}.mdi-arrow-left-bold-box:before{content:"๓ฐœฒ"}.mdi-arrow-left-bold-box-outline:before{content:"๓ฐœณ"}.mdi-arrow-left-bold-circle:before{content:"๓ฐ"}.mdi-arrow-left-bold-circle-outline:before{content:"๓ฐ"}.mdi-arrow-left-bold-hexagon-outline:before{content:"๓ฐ‘"}.mdi-arrow-left-bold-outline:before{content:"๓ฐง€"}.mdi-arrow-left-bottom:before{content:"๓ฑžฅ"}.mdi-arrow-left-bottom-bold:before{content:"๓ฑžฆ"}.mdi-arrow-left-box:before{content:"๓ฐ›"}.mdi-arrow-left-circle:before{content:"๓ฐณ"}.mdi-arrow-left-circle-outline:before{content:"๓ฐณž"}.mdi-arrow-left-drop-circle:before{content:"๓ฐ’"}.mdi-arrow-left-drop-circle-outline:before{content:"๓ฐ“"}.mdi-arrow-left-right:before{content:"๓ฐนณ"}.mdi-arrow-left-right-bold:before{content:"๓ฐนด"}.mdi-arrow-left-right-bold-outline:before{content:"๓ฐง"}.mdi-arrow-left-thick:before{content:"๓ฐŽ"}.mdi-arrow-left-thin:before{content:"๓ฑฆฑ"}.mdi-arrow-left-thin-circle-outline:before{content:"๓ฑ–š"}.mdi-arrow-left-top:before{content:"๓ฑžง"}.mdi-arrow-left-top-bold:before{content:"๓ฑžจ"}.mdi-arrow-projectile:before{content:"๓ฑก€"}.mdi-arrow-projectile-multiple:before{content:"๓ฑ ฟ"}.mdi-arrow-right:before{content:"๓ฐ”"}.mdi-arrow-right-bold:before{content:"๓ฐœด"}.mdi-arrow-right-bold-box:before{content:"๓ฐœต"}.mdi-arrow-right-bold-box-outline:before{content:"๓ฐœถ"}.mdi-arrow-right-bold-circle:before{content:"๓ฐ–"}.mdi-arrow-right-bold-circle-outline:before{content:"๓ฐ—"}.mdi-arrow-right-bold-hexagon-outline:before{content:"๓ฐ˜"}.mdi-arrow-right-bold-outline:before{content:"๓ฐง‚"}.mdi-arrow-right-bottom:before{content:"๓ฑžฉ"}.mdi-arrow-right-bottom-bold:before{content:"๓ฑžช"}.mdi-arrow-right-box:before{content:"๓ฐ›‚"}.mdi-arrow-right-circle:before{content:"๓ฐณŸ"}.mdi-arrow-right-circle-outline:before{content:"๓ฐณ "}.mdi-arrow-right-drop-circle:before{content:"๓ฐ™"}.mdi-arrow-right-drop-circle-outline:before{content:"๓ฐš"}.mdi-arrow-right-thick:before{content:"๓ฐ•"}.mdi-arrow-right-thin:before{content:"๓ฑฆฐ"}.mdi-arrow-right-thin-circle-outline:before{content:"๓ฑ–˜"}.mdi-arrow-right-top:before{content:"๓ฑžซ"}.mdi-arrow-right-top-bold:before{content:"๓ฑžฌ"}.mdi-arrow-split-horizontal:before{content:"๓ฐคป"}.mdi-arrow-split-vertical:before{content:"๓ฐคผ"}.mdi-arrow-top-left:before{content:"๓ฐ›"}.mdi-arrow-top-left-bold-box:before{content:"๓ฑฅจ"}.mdi-arrow-top-left-bold-box-outline:before{content:"๓ฑฅฉ"}.mdi-arrow-top-left-bold-outline:before{content:"๓ฐงƒ"}.mdi-arrow-top-left-bottom-right:before{content:"๓ฐนต"}.mdi-arrow-top-left-bottom-right-bold:before{content:"๓ฐนถ"}.mdi-arrow-top-left-thick:before{content:"๓ฐง„"}.mdi-arrow-top-left-thin:before{content:"๓ฑฆต"}.mdi-arrow-top-left-thin-circle-outline:before{content:"๓ฑ–“"}.mdi-arrow-top-right:before{content:"๓ฐœ"}.mdi-arrow-top-right-bold-box:before{content:"๓ฑฅช"}.mdi-arrow-top-right-bold-box-outline:before{content:"๓ฑฅซ"}.mdi-arrow-top-right-bold-outline:before{content:"๓ฐง…"}.mdi-arrow-top-right-bottom-left:before{content:"๓ฐนท"}.mdi-arrow-top-right-bottom-left-bold:before{content:"๓ฐนธ"}.mdi-arrow-top-right-thick:before{content:"๓ฐง†"}.mdi-arrow-top-right-thin:before{content:"๓ฑฆด"}.mdi-arrow-top-right-thin-circle-outline:before{content:"๓ฑ–”"}.mdi-arrow-u-down-left:before{content:"๓ฑžญ"}.mdi-arrow-u-down-left-bold:before{content:"๓ฑžฎ"}.mdi-arrow-u-down-right:before{content:"๓ฑžฏ"}.mdi-arrow-u-down-right-bold:before{content:"๓ฑžฐ"}.mdi-arrow-u-left-bottom:before{content:"๓ฑžฑ"}.mdi-arrow-u-left-bottom-bold:before{content:"๓ฑžฒ"}.mdi-arrow-u-left-top:before{content:"๓ฑžณ"}.mdi-arrow-u-left-top-bold:before{content:"๓ฑžด"}.mdi-arrow-u-right-bottom:before{content:"๓ฑžต"}.mdi-arrow-u-right-bottom-bold:before{content:"๓ฑžถ"}.mdi-arrow-u-right-top:before{content:"๓ฑžท"}.mdi-arrow-u-right-top-bold:before{content:"๓ฑžธ"}.mdi-arrow-u-up-left:before{content:"๓ฑžน"}.mdi-arrow-u-up-left-bold:before{content:"๓ฑžบ"}.mdi-arrow-u-up-right:before{content:"๓ฑžป"}.mdi-arrow-u-up-right-bold:before{content:"๓ฑžผ"}.mdi-arrow-up:before{content:"๓ฐ"}.mdi-arrow-up-bold:before{content:"๓ฐœท"}.mdi-arrow-up-bold-box:before{content:"๓ฐœธ"}.mdi-arrow-up-bold-box-outline:before{content:"๓ฐœน"}.mdi-arrow-up-bold-circle:before{content:"๓ฐŸ"}.mdi-arrow-up-bold-circle-outline:before{content:"๓ฐ "}.mdi-arrow-up-bold-hexagon-outline:before{content:"๓ฐก"}.mdi-arrow-up-bold-outline:before{content:"๓ฐง‡"}.mdi-arrow-up-box:before{content:"๓ฐ›ƒ"}.mdi-arrow-up-circle:before{content:"๓ฐณก"}.mdi-arrow-up-circle-outline:before{content:"๓ฐณข"}.mdi-arrow-up-down:before{content:"๓ฐนน"}.mdi-arrow-up-down-bold:before{content:"๓ฐนบ"}.mdi-arrow-up-down-bold-outline:before{content:"๓ฐงˆ"}.mdi-arrow-up-drop-circle:before{content:"๓ฐข"}.mdi-arrow-up-drop-circle-outline:before{content:"๓ฐฃ"}.mdi-arrow-up-left:before{content:"๓ฑžฝ"}.mdi-arrow-up-left-bold:before{content:"๓ฑžพ"}.mdi-arrow-up-right:before{content:"๓ฑžฟ"}.mdi-arrow-up-right-bold:before{content:"๓ฑŸ€"}.mdi-arrow-up-thick:before{content:"๓ฐž"}.mdi-arrow-up-thin:before{content:"๓ฑฆฒ"}.mdi-arrow-up-thin-circle-outline:before{content:"๓ฑ–—"}.mdi-arrow-vertical-lock:before{content:"๓ฑ…œ"}.mdi-artboard:before{content:"๓ฑฎš"}.mdi-artstation:before{content:"๓ฐญ›"}.mdi-aspect-ratio:before{content:"๓ฐจค"}.mdi-assistant:before{content:"๓ฐค"}.mdi-asterisk:before{content:"๓ฐ›„"}.mdi-asterisk-circle-outline:before{content:"๓ฑจง"}.mdi-at:before{content:"๓ฐฅ"}.mdi-atlassian:before{content:"๓ฐ „"}.mdi-atm:before{content:"๓ฐต‡"}.mdi-atom:before{content:"๓ฐจ"}.mdi-atom-variant:before{content:"๓ฐนป"}.mdi-attachment:before{content:"๓ฐฆ"}.mdi-attachment-check:before{content:"๓ฑซ"}.mdi-attachment-lock:before{content:"๓ฑง„"}.mdi-attachment-minus:before{content:"๓ฑซ‚"}.mdi-attachment-off:before{content:"๓ฑซƒ"}.mdi-attachment-plus:before{content:"๓ฑซ„"}.mdi-attachment-remove:before{content:"๓ฑซ…"}.mdi-atv:before{content:"๓ฑญฐ"}.mdi-audio-input-rca:before{content:"๓ฑกซ"}.mdi-audio-input-stereo-minijack:before{content:"๓ฑกฌ"}.mdi-audio-input-xlr:before{content:"๓ฑกญ"}.mdi-audio-video:before{content:"๓ฐคฝ"}.mdi-audio-video-off:before{content:"๓ฑ†ถ"}.mdi-augmented-reality:before{content:"๓ฐก"}.mdi-aurora:before{content:"๓ฑฎน"}.mdi-auto-download:before{content:"๓ฑพ"}.mdi-auto-fix:before{content:"๓ฐจ"}.mdi-auto-mode:before{content:"๓ฑฐ "}.mdi-auto-upload:before{content:"๓ฐฉ"}.mdi-autorenew:before{content:"๓ฐช"}.mdi-autorenew-off:before{content:"๓ฑงง"}.mdi-av-timer:before{content:"๓ฐซ"}.mdi-awning:before{content:"๓ฑฎ‡"}.mdi-awning-outline:before{content:"๓ฑฎˆ"}.mdi-aws:before{content:"๓ฐธ"}.mdi-axe:before{content:"๓ฐฃˆ"}.mdi-axe-battle:before{content:"๓ฑก‚"}.mdi-axis:before{content:"๓ฐตˆ"}.mdi-axis-arrow:before{content:"๓ฐต‰"}.mdi-axis-arrow-info:before{content:"๓ฑŽ"}.mdi-axis-arrow-lock:before{content:"๓ฐตŠ"}.mdi-axis-lock:before{content:"๓ฐต‹"}.mdi-axis-x-arrow:before{content:"๓ฐตŒ"}.mdi-axis-x-arrow-lock:before{content:"๓ฐต"}.mdi-axis-x-rotate-clockwise:before{content:"๓ฐตŽ"}.mdi-axis-x-rotate-counterclockwise:before{content:"๓ฐต"}.mdi-axis-x-y-arrow-lock:before{content:"๓ฐต"}.mdi-axis-y-arrow:before{content:"๓ฐต‘"}.mdi-axis-y-arrow-lock:before{content:"๓ฐต’"}.mdi-axis-y-rotate-clockwise:before{content:"๓ฐต“"}.mdi-axis-y-rotate-counterclockwise:before{content:"๓ฐต”"}.mdi-axis-z-arrow:before{content:"๓ฐต•"}.mdi-axis-z-arrow-lock:before{content:"๓ฐต–"}.mdi-axis-z-rotate-clockwise:before{content:"๓ฐต—"}.mdi-axis-z-rotate-counterclockwise:before{content:"๓ฐต˜"}.mdi-babel:before{content:"๓ฐจฅ"}.mdi-baby:before{content:"๓ฐฌ"}.mdi-baby-bottle:before{content:"๓ฐผน"}.mdi-baby-bottle-outline:before{content:"๓ฐผบ"}.mdi-baby-buggy:before{content:"๓ฑ "}.mdi-baby-buggy-off:before{content:"๓ฑซณ"}.mdi-baby-carriage:before{content:"๓ฐš"}.mdi-baby-carriage-off:before{content:"๓ฐพ "}.mdi-baby-face:before{content:"๓ฐนผ"}.mdi-baby-face-outline:before{content:"๓ฐนฝ"}.mdi-backburger:before{content:"๓ฐญ"}.mdi-backspace:before{content:"๓ฐฎ"}.mdi-backspace-outline:before{content:"๓ฐญœ"}.mdi-backspace-reverse:before{content:"๓ฐนพ"}.mdi-backspace-reverse-outline:before{content:"๓ฐนฟ"}.mdi-backup-restore:before{content:"๓ฐฏ"}.mdi-bacteria:before{content:"๓ฐป•"}.mdi-bacteria-outline:before{content:"๓ฐป–"}.mdi-badge-account:before{content:"๓ฐถง"}.mdi-badge-account-alert:before{content:"๓ฐถจ"}.mdi-badge-account-alert-outline:before{content:"๓ฐถฉ"}.mdi-badge-account-horizontal:before{content:"๓ฐธ"}.mdi-badge-account-horizontal-outline:before{content:"๓ฐธŽ"}.mdi-badge-account-outline:before{content:"๓ฐถช"}.mdi-badminton:before{content:"๓ฐก‘"}.mdi-bag-carry-on:before{content:"๓ฐผป"}.mdi-bag-carry-on-check:before{content:"๓ฐตฅ"}.mdi-bag-carry-on-off:before{content:"๓ฐผผ"}.mdi-bag-checked:before{content:"๓ฐผฝ"}.mdi-bag-personal:before{content:"๓ฐธ"}.mdi-bag-personal-off:before{content:"๓ฐธ‘"}.mdi-bag-personal-off-outline:before{content:"๓ฐธ’"}.mdi-bag-personal-outline:before{content:"๓ฐธ“"}.mdi-bag-personal-tag:before{content:"๓ฑฌŒ"}.mdi-bag-personal-tag-outline:before{content:"๓ฑฌ"}.mdi-bag-suitcase:before{content:"๓ฑ–‹"}.mdi-bag-suitcase-off:before{content:"๓ฑ–"}.mdi-bag-suitcase-off-outline:before{content:"๓ฑ–Ž"}.mdi-bag-suitcase-outline:before{content:"๓ฑ–Œ"}.mdi-baguette:before{content:"๓ฐผพ"}.mdi-balcony:before{content:"๓ฑ —"}.mdi-balloon:before{content:"๓ฐจฆ"}.mdi-ballot:before{content:"๓ฐง‰"}.mdi-ballot-outline:before{content:"๓ฐงŠ"}.mdi-ballot-recount:before{content:"๓ฐฐน"}.mdi-ballot-recount-outline:before{content:"๓ฐฐบ"}.mdi-bandage:before{content:"๓ฐถฏ"}.mdi-bank:before{content:"๓ฐฐ"}.mdi-bank-check:before{content:"๓ฑ™•"}.mdi-bank-circle:before{content:"๓ฑฐƒ"}.mdi-bank-circle-outline:before{content:"๓ฑฐ„"}.mdi-bank-minus:before{content:"๓ฐถฐ"}.mdi-bank-off:before{content:"๓ฑ™–"}.mdi-bank-off-outline:before{content:"๓ฑ™—"}.mdi-bank-outline:before{content:"๓ฐบ€"}.mdi-bank-plus:before{content:"๓ฐถฑ"}.mdi-bank-remove:before{content:"๓ฐถฒ"}.mdi-bank-transfer:before{content:"๓ฐจง"}.mdi-bank-transfer-in:before{content:"๓ฐจจ"}.mdi-bank-transfer-out:before{content:"๓ฐจฉ"}.mdi-barcode:before{content:"๓ฐฑ"}.mdi-barcode-off:before{content:"๓ฑˆถ"}.mdi-barcode-scan:before{content:"๓ฐฒ"}.mdi-barley:before{content:"๓ฐณ"}.mdi-barley-off:before{content:"๓ฐญ"}.mdi-barn:before{content:"๓ฐญž"}.mdi-barrel:before{content:"๓ฐด"}.mdi-barrel-outline:before{content:"๓ฑจจ"}.mdi-baseball:before{content:"๓ฐก’"}.mdi-baseball-bat:before{content:"๓ฐก“"}.mdi-baseball-diamond:before{content:"๓ฑ—ฌ"}.mdi-baseball-diamond-outline:before{content:"๓ฑ—ญ"}.mdi-baseball-outline:before{content:"๓ฑฑš"}.mdi-bash:before{content:"๓ฑ†ƒ"}.mdi-basket:before{content:"๓ฐถ"}.mdi-basket-check:before{content:"๓ฑฃฅ"}.mdi-basket-check-outline:before{content:"๓ฑฃฆ"}.mdi-basket-fill:before{content:"๓ฐท"}.mdi-basket-minus:before{content:"๓ฑ”ฃ"}.mdi-basket-minus-outline:before{content:"๓ฑ”ค"}.mdi-basket-off:before{content:"๓ฑ”ฅ"}.mdi-basket-off-outline:before{content:"๓ฑ”ฆ"}.mdi-basket-outline:before{content:"๓ฑ†"}.mdi-basket-plus:before{content:"๓ฑ”ง"}.mdi-basket-plus-outline:before{content:"๓ฑ”จ"}.mdi-basket-remove:before{content:"๓ฑ”ฉ"}.mdi-basket-remove-outline:before{content:"๓ฑ”ช"}.mdi-basket-unfill:before{content:"๓ฐธ"}.mdi-basketball:before{content:"๓ฐ †"}.mdi-basketball-hoop:before{content:"๓ฐฐป"}.mdi-basketball-hoop-outline:before{content:"๓ฐฐผ"}.mdi-bat:before{content:"๓ฐญŸ"}.mdi-bathtub:before{content:"๓ฑ ˜"}.mdi-bathtub-outline:before{content:"๓ฑ ™"}.mdi-battery:before{content:"๓ฐน"}.mdi-battery-10:before{content:"๓ฐบ"}.mdi-battery-10-bluetooth:before{content:"๓ฐคพ"}.mdi-battery-20:before{content:"๓ฐป"}.mdi-battery-20-bluetooth:before{content:"๓ฐคฟ"}.mdi-battery-30:before{content:"๓ฐผ"}.mdi-battery-30-bluetooth:before{content:"๓ฐฅ€"}.mdi-battery-40:before{content:"๓ฐฝ"}.mdi-battery-40-bluetooth:before{content:"๓ฐฅ"}.mdi-battery-50:before{content:"๓ฐพ"}.mdi-battery-50-bluetooth:before{content:"๓ฐฅ‚"}.mdi-battery-60:before{content:"๓ฐฟ"}.mdi-battery-60-bluetooth:before{content:"๓ฐฅƒ"}.mdi-battery-70:before{content:"๓ฐ‚€"}.mdi-battery-70-bluetooth:before{content:"๓ฐฅ„"}.mdi-battery-80:before{content:"๓ฐ‚"}.mdi-battery-80-bluetooth:before{content:"๓ฐฅ…"}.mdi-battery-90:before{content:"๓ฐ‚‚"}.mdi-battery-90-bluetooth:before{content:"๓ฐฅ†"}.mdi-battery-alert:before{content:"๓ฐ‚ƒ"}.mdi-battery-alert-bluetooth:before{content:"๓ฐฅ‡"}.mdi-battery-alert-variant:before{content:"๓ฑƒŒ"}.mdi-battery-alert-variant-outline:before{content:"๓ฑƒ"}.mdi-battery-arrow-down:before{content:"๓ฑŸž"}.mdi-battery-arrow-down-outline:before{content:"๓ฑŸŸ"}.mdi-battery-arrow-up:before{content:"๓ฑŸ "}.mdi-battery-arrow-up-outline:before{content:"๓ฑŸก"}.mdi-battery-bluetooth:before{content:"๓ฐฅˆ"}.mdi-battery-bluetooth-variant:before{content:"๓ฐฅ‰"}.mdi-battery-charging:before{content:"๓ฐ‚„"}.mdi-battery-charging-10:before{content:"๓ฐขœ"}.mdi-battery-charging-100:before{content:"๓ฐ‚…"}.mdi-battery-charging-20:before{content:"๓ฐ‚†"}.mdi-battery-charging-30:before{content:"๓ฐ‚‡"}.mdi-battery-charging-40:before{content:"๓ฐ‚ˆ"}.mdi-battery-charging-50:before{content:"๓ฐข"}.mdi-battery-charging-60:before{content:"๓ฐ‚‰"}.mdi-battery-charging-70:before{content:"๓ฐขž"}.mdi-battery-charging-80:before{content:"๓ฐ‚Š"}.mdi-battery-charging-90:before{content:"๓ฐ‚‹"}.mdi-battery-charging-high:before{content:"๓ฑŠฆ"}.mdi-battery-charging-low:before{content:"๓ฑŠค"}.mdi-battery-charging-medium:before{content:"๓ฑŠฅ"}.mdi-battery-charging-outline:before{content:"๓ฐขŸ"}.mdi-battery-charging-wireless:before{content:"๓ฐ ‡"}.mdi-battery-charging-wireless-10:before{content:"๓ฐ ˆ"}.mdi-battery-charging-wireless-20:before{content:"๓ฐ ‰"}.mdi-battery-charging-wireless-30:before{content:"๓ฐ Š"}.mdi-battery-charging-wireless-40:before{content:"๓ฐ ‹"}.mdi-battery-charging-wireless-50:before{content:"๓ฐ Œ"}.mdi-battery-charging-wireless-60:before{content:"๓ฐ "}.mdi-battery-charging-wireless-70:before{content:"๓ฐ Ž"}.mdi-battery-charging-wireless-80:before{content:"๓ฐ "}.mdi-battery-charging-wireless-90:before{content:"๓ฐ "}.mdi-battery-charging-wireless-alert:before{content:"๓ฐ ‘"}.mdi-battery-charging-wireless-outline:before{content:"๓ฐ ’"}.mdi-battery-check:before{content:"๓ฑŸข"}.mdi-battery-check-outline:before{content:"๓ฑŸฃ"}.mdi-battery-clock:before{content:"๓ฑงฅ"}.mdi-battery-clock-outline:before{content:"๓ฑงฆ"}.mdi-battery-heart:before{content:"๓ฑˆ"}.mdi-battery-heart-outline:before{content:"๓ฑˆ"}.mdi-battery-heart-variant:before{content:"๓ฑˆ‘"}.mdi-battery-high:before{content:"๓ฑŠฃ"}.mdi-battery-lock:before{content:"๓ฑžœ"}.mdi-battery-lock-open:before{content:"๓ฑž"}.mdi-battery-low:before{content:"๓ฑŠก"}.mdi-battery-medium:before{content:"๓ฑŠข"}.mdi-battery-minus:before{content:"๓ฑŸค"}.mdi-battery-minus-outline:before{content:"๓ฑŸฅ"}.mdi-battery-minus-variant:before{content:"๓ฐ‚Œ"}.mdi-battery-negative:before{content:"๓ฐ‚"}.mdi-battery-off:before{content:"๓ฑ‰"}.mdi-battery-off-outline:before{content:"๓ฑ‰ž"}.mdi-battery-outline:before{content:"๓ฐ‚Ž"}.mdi-battery-plus:before{content:"๓ฑŸฆ"}.mdi-battery-plus-outline:before{content:"๓ฑŸง"}.mdi-battery-plus-variant:before{content:"๓ฐ‚"}.mdi-battery-positive:before{content:"๓ฐ‚"}.mdi-battery-remove:before{content:"๓ฑŸจ"}.mdi-battery-remove-outline:before{content:"๓ฑŸฉ"}.mdi-battery-sync:before{content:"๓ฑ ด"}.mdi-battery-sync-outline:before{content:"๓ฑ ต"}.mdi-battery-unknown:before{content:"๓ฐ‚‘"}.mdi-battery-unknown-bluetooth:before{content:"๓ฐฅŠ"}.mdi-beach:before{content:"๓ฐ‚’"}.mdi-beaker:before{content:"๓ฐณช"}.mdi-beaker-alert:before{content:"๓ฑˆฉ"}.mdi-beaker-alert-outline:before{content:"๓ฑˆช"}.mdi-beaker-check:before{content:"๓ฑˆซ"}.mdi-beaker-check-outline:before{content:"๓ฑˆฌ"}.mdi-beaker-minus:before{content:"๓ฑˆญ"}.mdi-beaker-minus-outline:before{content:"๓ฑˆฎ"}.mdi-beaker-outline:before{content:"๓ฐš"}.mdi-beaker-plus:before{content:"๓ฑˆฏ"}.mdi-beaker-plus-outline:before{content:"๓ฑˆฐ"}.mdi-beaker-question:before{content:"๓ฑˆฑ"}.mdi-beaker-question-outline:before{content:"๓ฑˆฒ"}.mdi-beaker-remove:before{content:"๓ฑˆณ"}.mdi-beaker-remove-outline:before{content:"๓ฑˆด"}.mdi-bed:before{content:"๓ฐ‹ฃ"}.mdi-bed-clock:before{content:"๓ฑฎ”"}.mdi-bed-double:before{content:"๓ฐฟ”"}.mdi-bed-double-outline:before{content:"๓ฐฟ“"}.mdi-bed-empty:before{content:"๓ฐข "}.mdi-bed-king:before{content:"๓ฐฟ’"}.mdi-bed-king-outline:before{content:"๓ฐฟ‘"}.mdi-bed-outline:before{content:"๓ฐ‚™"}.mdi-bed-queen:before{content:"๓ฐฟ"}.mdi-bed-queen-outline:before{content:"๓ฐฟ›"}.mdi-bed-single:before{content:"๓ฑญ"}.mdi-bed-single-outline:before{content:"๓ฑฎ"}.mdi-bee:before{content:"๓ฐพก"}.mdi-bee-flower:before{content:"๓ฐพข"}.mdi-beehive-off-outline:before{content:"๓ฑญ"}.mdi-beehive-outline:before{content:"๓ฑƒŽ"}.mdi-beekeeper:before{content:"๓ฑ“ข"}.mdi-beer:before{content:"๓ฐ‚˜"}.mdi-beer-outline:before{content:"๓ฑŒŒ"}.mdi-bell:before{content:"๓ฐ‚š"}.mdi-bell-alert:before{content:"๓ฐต™"}.mdi-bell-alert-outline:before{content:"๓ฐบ"}.mdi-bell-badge:before{content:"๓ฑ…ซ"}.mdi-bell-badge-outline:before{content:"๓ฐ…ธ"}.mdi-bell-cancel:before{content:"๓ฑง"}.mdi-bell-cancel-outline:before{content:"๓ฑจ"}.mdi-bell-check:before{content:"๓ฑ‡ฅ"}.mdi-bell-check-outline:before{content:"๓ฑ‡ฆ"}.mdi-bell-circle:before{content:"๓ฐตš"}.mdi-bell-circle-outline:before{content:"๓ฐต›"}.mdi-bell-cog:before{content:"๓ฑจฉ"}.mdi-bell-cog-outline:before{content:"๓ฑจช"}.mdi-bell-minus:before{content:"๓ฑฉ"}.mdi-bell-minus-outline:before{content:"๓ฑช"}.mdi-bell-off:before{content:"๓ฐ‚›"}.mdi-bell-off-outline:before{content:"๓ฐช‘"}.mdi-bell-outline:before{content:"๓ฐ‚œ"}.mdi-bell-plus:before{content:"๓ฐ‚"}.mdi-bell-plus-outline:before{content:"๓ฐช’"}.mdi-bell-remove:before{content:"๓ฑซ"}.mdi-bell-remove-outline:before{content:"๓ฑฌ"}.mdi-bell-ring:before{content:"๓ฐ‚ž"}.mdi-bell-ring-outline:before{content:"๓ฐ‚Ÿ"}.mdi-bell-sleep:before{content:"๓ฐ‚ "}.mdi-bell-sleep-outline:before{content:"๓ฐช“"}.mdi-bench:before{content:"๓ฑฐก"}.mdi-bench-back:before{content:"๓ฑฐข"}.mdi-beta:before{content:"๓ฐ‚ก"}.mdi-betamax:before{content:"๓ฐง‹"}.mdi-biathlon:before{content:"๓ฐธ”"}.mdi-bicycle:before{content:"๓ฑ‚œ"}.mdi-bicycle-basket:before{content:"๓ฑˆต"}.mdi-bicycle-cargo:before{content:"๓ฑขœ"}.mdi-bicycle-electric:before{content:"๓ฑ–ด"}.mdi-bicycle-penny-farthing:before{content:"๓ฑ—ฉ"}.mdi-bike:before{content:"๓ฐ‚ฃ"}.mdi-bike-fast:before{content:"๓ฑ„Ÿ"}.mdi-bike-pedal:before{content:"๓ฑฐฃ"}.mdi-bike-pedal-clipless:before{content:"๓ฑฐค"}.mdi-bike-pedal-mountain:before{content:"๓ฑฐฅ"}.mdi-billboard:before{content:"๓ฑ€"}.mdi-billiards:before{content:"๓ฐญก"}.mdi-billiards-rack:before{content:"๓ฐญข"}.mdi-binoculars:before{content:"๓ฐ‚ฅ"}.mdi-bio:before{content:"๓ฐ‚ฆ"}.mdi-biohazard:before{content:"๓ฐ‚ง"}.mdi-bird:before{content:"๓ฑ—†"}.mdi-bitbucket:before{content:"๓ฐ‚จ"}.mdi-bitcoin:before{content:"๓ฐ “"}.mdi-black-mesa:before{content:"๓ฐ‚ฉ"}.mdi-blender:before{content:"๓ฐณซ"}.mdi-blender-outline:before{content:"๓ฑ š"}.mdi-blender-software:before{content:"๓ฐ‚ซ"}.mdi-blinds:before{content:"๓ฐ‚ฌ"}.mdi-blinds-horizontal:before{content:"๓ฑจซ"}.mdi-blinds-horizontal-closed:before{content:"๓ฑจฌ"}.mdi-blinds-open:before{content:"๓ฑ€‘"}.mdi-blinds-vertical:before{content:"๓ฑจญ"}.mdi-blinds-vertical-closed:before{content:"๓ฑจฎ"}.mdi-block-helper:before{content:"๓ฐ‚ญ"}.mdi-blood-bag:before{content:"๓ฐณฌ"}.mdi-bluetooth:before{content:"๓ฐ‚ฏ"}.mdi-bluetooth-audio:before{content:"๓ฐ‚ฐ"}.mdi-bluetooth-connect:before{content:"๓ฐ‚ฑ"}.mdi-bluetooth-off:before{content:"๓ฐ‚ฒ"}.mdi-bluetooth-settings:before{content:"๓ฐ‚ณ"}.mdi-bluetooth-transfer:before{content:"๓ฐ‚ด"}.mdi-blur:before{content:"๓ฐ‚ต"}.mdi-blur-linear:before{content:"๓ฐ‚ถ"}.mdi-blur-off:before{content:"๓ฐ‚ท"}.mdi-blur-radial:before{content:"๓ฐ‚ธ"}.mdi-bolt:before{content:"๓ฐถณ"}.mdi-bomb:before{content:"๓ฐš‘"}.mdi-bomb-off:before{content:"๓ฐ›…"}.mdi-bone:before{content:"๓ฐ‚น"}.mdi-bone-off:before{content:"๓ฑง "}.mdi-book:before{content:"๓ฐ‚บ"}.mdi-book-account:before{content:"๓ฑŽญ"}.mdi-book-account-outline:before{content:"๓ฑŽฎ"}.mdi-book-alert:before{content:"๓ฑ™ผ"}.mdi-book-alert-outline:before{content:"๓ฑ™ฝ"}.mdi-book-alphabet:before{content:"๓ฐ˜"}.mdi-book-arrow-down:before{content:"๓ฑ™พ"}.mdi-book-arrow-down-outline:before{content:"๓ฑ™ฟ"}.mdi-book-arrow-left:before{content:"๓ฑš€"}.mdi-book-arrow-left-outline:before{content:"๓ฑš"}.mdi-book-arrow-right:before{content:"๓ฑš‚"}.mdi-book-arrow-right-outline:before{content:"๓ฑšƒ"}.mdi-book-arrow-up:before{content:"๓ฑš„"}.mdi-book-arrow-up-outline:before{content:"๓ฑš…"}.mdi-book-cancel:before{content:"๓ฑš†"}.mdi-book-cancel-outline:before{content:"๓ฑš‡"}.mdi-book-check:before{content:"๓ฑ“ณ"}.mdi-book-check-outline:before{content:"๓ฑ“ด"}.mdi-book-clock:before{content:"๓ฑšˆ"}.mdi-book-clock-outline:before{content:"๓ฑš‰"}.mdi-book-cog:before{content:"๓ฑšŠ"}.mdi-book-cog-outline:before{content:"๓ฑš‹"}.mdi-book-cross:before{content:"๓ฐ‚ข"}.mdi-book-edit:before{content:"๓ฑšŒ"}.mdi-book-edit-outline:before{content:"๓ฑš"}.mdi-book-education:before{content:"๓ฑ›‰"}.mdi-book-education-outline:before{content:"๓ฑ›Š"}.mdi-book-heart:before{content:"๓ฑจ"}.mdi-book-heart-outline:before{content:"๓ฑจž"}.mdi-book-information-variant:before{content:"๓ฑฏ"}.mdi-book-lock:before{content:"๓ฐžš"}.mdi-book-lock-open:before{content:"๓ฐž›"}.mdi-book-lock-open-outline:before{content:"๓ฑšŽ"}.mdi-book-lock-outline:before{content:"๓ฑš"}.mdi-book-marker:before{content:"๓ฑš"}.mdi-book-marker-outline:before{content:"๓ฑš‘"}.mdi-book-minus:before{content:"๓ฐ—™"}.mdi-book-minus-multiple:before{content:"๓ฐช”"}.mdi-book-minus-multiple-outline:before{content:"๓ฐค‹"}.mdi-book-minus-outline:before{content:"๓ฑš’"}.mdi-book-multiple:before{content:"๓ฐ‚ป"}.mdi-book-multiple-outline:before{content:"๓ฐถ"}.mdi-book-music:before{content:"๓ฐง"}.mdi-book-music-outline:before{content:"๓ฑš“"}.mdi-book-off:before{content:"๓ฑš”"}.mdi-book-off-outline:before{content:"๓ฑš•"}.mdi-book-open:before{content:"๓ฐ‚ฝ"}.mdi-book-open-blank-variant:before{content:"๓ฐ‚พ"}.mdi-book-open-outline:before{content:"๓ฐญฃ"}.mdi-book-open-page-variant:before{content:"๓ฐ—š"}.mdi-book-open-page-variant-outline:before{content:"๓ฑ—–"}.mdi-book-open-variant:before{content:"๓ฑ“ท"}.mdi-book-outline:before{content:"๓ฐญค"}.mdi-book-play:before{content:"๓ฐบ‚"}.mdi-book-play-outline:before{content:"๓ฐบƒ"}.mdi-book-plus:before{content:"๓ฐ—›"}.mdi-book-plus-multiple:before{content:"๓ฐช•"}.mdi-book-plus-multiple-outline:before{content:"๓ฐซž"}.mdi-book-plus-outline:before{content:"๓ฑš–"}.mdi-book-refresh:before{content:"๓ฑš—"}.mdi-book-refresh-outline:before{content:"๓ฑš˜"}.mdi-book-remove:before{content:"๓ฐช—"}.mdi-book-remove-multiple:before{content:"๓ฐช–"}.mdi-book-remove-multiple-outline:before{content:"๓ฐ“Š"}.mdi-book-remove-outline:before{content:"๓ฑš™"}.mdi-book-search:before{content:"๓ฐบ„"}.mdi-book-search-outline:before{content:"๓ฐบ…"}.mdi-book-settings:before{content:"๓ฑšš"}.mdi-book-settings-outline:before{content:"๓ฑš›"}.mdi-book-sync:before{content:"๓ฑšœ"}.mdi-book-sync-outline:before{content:"๓ฑ›ˆ"}.mdi-book-variant:before{content:"๓ฐ‚ฟ"}.mdi-bookmark:before{content:"๓ฐƒ€"}.mdi-bookmark-box:before{content:"๓ฑญต"}.mdi-bookmark-box-multiple:before{content:"๓ฑฅฌ"}.mdi-bookmark-box-multiple-outline:before{content:"๓ฑฅญ"}.mdi-bookmark-box-outline:before{content:"๓ฑญถ"}.mdi-bookmark-check:before{content:"๓ฐƒ"}.mdi-bookmark-check-outline:before{content:"๓ฑป"}.mdi-bookmark-minus:before{content:"๓ฐงŒ"}.mdi-bookmark-minus-outline:before{content:"๓ฐง"}.mdi-bookmark-multiple:before{content:"๓ฐธ•"}.mdi-bookmark-multiple-outline:before{content:"๓ฐธ–"}.mdi-bookmark-music:before{content:"๓ฐƒ‚"}.mdi-bookmark-music-outline:before{content:"๓ฑน"}.mdi-bookmark-off:before{content:"๓ฐงŽ"}.mdi-bookmark-off-outline:before{content:"๓ฐง"}.mdi-bookmark-outline:before{content:"๓ฐƒƒ"}.mdi-bookmark-plus:before{content:"๓ฐƒ…"}.mdi-bookmark-plus-outline:before{content:"๓ฐƒ„"}.mdi-bookmark-remove:before{content:"๓ฐƒ†"}.mdi-bookmark-remove-outline:before{content:"๓ฑบ"}.mdi-bookshelf:before{content:"๓ฑ‰Ÿ"}.mdi-boom-gate:before{content:"๓ฐบ†"}.mdi-boom-gate-alert:before{content:"๓ฐบ‡"}.mdi-boom-gate-alert-outline:before{content:"๓ฐบˆ"}.mdi-boom-gate-arrow-down:before{content:"๓ฐบ‰"}.mdi-boom-gate-arrow-down-outline:before{content:"๓ฐบŠ"}.mdi-boom-gate-arrow-up:before{content:"๓ฐบŒ"}.mdi-boom-gate-arrow-up-outline:before{content:"๓ฐบ"}.mdi-boom-gate-outline:before{content:"๓ฐบ‹"}.mdi-boom-gate-up:before{content:"๓ฑŸน"}.mdi-boom-gate-up-outline:before{content:"๓ฑŸบ"}.mdi-boombox:before{content:"๓ฐ—œ"}.mdi-boomerang:before{content:"๓ฑƒ"}.mdi-bootstrap:before{content:"๓ฐ›†"}.mdi-border-all:before{content:"๓ฐƒ‡"}.mdi-border-all-variant:before{content:"๓ฐขก"}.mdi-border-bottom:before{content:"๓ฐƒˆ"}.mdi-border-bottom-variant:before{content:"๓ฐขข"}.mdi-border-color:before{content:"๓ฐƒ‰"}.mdi-border-horizontal:before{content:"๓ฐƒŠ"}.mdi-border-inside:before{content:"๓ฐƒ‹"}.mdi-border-left:before{content:"๓ฐƒŒ"}.mdi-border-left-variant:before{content:"๓ฐขฃ"}.mdi-border-none:before{content:"๓ฐƒ"}.mdi-border-none-variant:before{content:"๓ฐขค"}.mdi-border-outside:before{content:"๓ฐƒŽ"}.mdi-border-radius:before{content:"๓ฑซด"}.mdi-border-right:before{content:"๓ฐƒ"}.mdi-border-right-variant:before{content:"๓ฐขฅ"}.mdi-border-style:before{content:"๓ฐƒ"}.mdi-border-top:before{content:"๓ฐƒ‘"}.mdi-border-top-variant:before{content:"๓ฐขฆ"}.mdi-border-vertical:before{content:"๓ฐƒ’"}.mdi-bottle-soda:before{content:"๓ฑฐ"}.mdi-bottle-soda-classic:before{content:"๓ฑฑ"}.mdi-bottle-soda-classic-outline:before{content:"๓ฑฃ"}.mdi-bottle-soda-outline:before{content:"๓ฑฒ"}.mdi-bottle-tonic:before{content:"๓ฑ„ฎ"}.mdi-bottle-tonic-outline:before{content:"๓ฑ„ฏ"}.mdi-bottle-tonic-plus:before{content:"๓ฑ„ฐ"}.mdi-bottle-tonic-plus-outline:before{content:"๓ฑ„ฑ"}.mdi-bottle-tonic-skull:before{content:"๓ฑ„ฒ"}.mdi-bottle-tonic-skull-outline:before{content:"๓ฑ„ณ"}.mdi-bottle-wine:before{content:"๓ฐก”"}.mdi-bottle-wine-outline:before{content:"๓ฑŒ"}.mdi-bow-arrow:before{content:"๓ฑก"}.mdi-bow-tie:before{content:"๓ฐ™ธ"}.mdi-bowl:before{content:"๓ฐŠŽ"}.mdi-bowl-mix:before{content:"๓ฐ˜—"}.mdi-bowl-mix-outline:before{content:"๓ฐ‹ค"}.mdi-bowl-outline:before{content:"๓ฐŠฉ"}.mdi-bowling:before{content:"๓ฐƒ“"}.mdi-box:before{content:"๓ฐƒ”"}.mdi-box-cutter:before{content:"๓ฐƒ•"}.mdi-box-cutter-off:before{content:"๓ฐญŠ"}.mdi-box-shadow:before{content:"๓ฐ˜ท"}.mdi-boxing-glove:before{content:"๓ฐญฅ"}.mdi-braille:before{content:"๓ฐง"}.mdi-brain:before{content:"๓ฐง‘"}.mdi-bread-slice:before{content:"๓ฐณฎ"}.mdi-bread-slice-outline:before{content:"๓ฐณฏ"}.mdi-bridge:before{content:"๓ฐ˜˜"}.mdi-briefcase:before{content:"๓ฐƒ–"}.mdi-briefcase-account:before{content:"๓ฐณฐ"}.mdi-briefcase-account-outline:before{content:"๓ฐณฑ"}.mdi-briefcase-arrow-left-right:before{content:"๓ฑช"}.mdi-briefcase-arrow-left-right-outline:before{content:"๓ฑชŽ"}.mdi-briefcase-arrow-up-down:before{content:"๓ฑช"}.mdi-briefcase-arrow-up-down-outline:before{content:"๓ฑช"}.mdi-briefcase-check:before{content:"๓ฐƒ—"}.mdi-briefcase-check-outline:before{content:"๓ฑŒž"}.mdi-briefcase-clock:before{content:"๓ฑƒ"}.mdi-briefcase-clock-outline:before{content:"๓ฑƒ‘"}.mdi-briefcase-download:before{content:"๓ฐƒ˜"}.mdi-briefcase-download-outline:before{content:"๓ฐฐฝ"}.mdi-briefcase-edit:before{content:"๓ฐช˜"}.mdi-briefcase-edit-outline:before{content:"๓ฐฐพ"}.mdi-briefcase-eye:before{content:"๓ฑŸ™"}.mdi-briefcase-eye-outline:before{content:"๓ฑŸš"}.mdi-briefcase-minus:before{content:"๓ฐจช"}.mdi-briefcase-minus-outline:before{content:"๓ฐฐฟ"}.mdi-briefcase-off:before{content:"๓ฑ™˜"}.mdi-briefcase-off-outline:before{content:"๓ฑ™™"}.mdi-briefcase-outline:before{content:"๓ฐ ”"}.mdi-briefcase-plus:before{content:"๓ฐจซ"}.mdi-briefcase-plus-outline:before{content:"๓ฐฑ€"}.mdi-briefcase-remove:before{content:"๓ฐจฌ"}.mdi-briefcase-remove-outline:before{content:"๓ฐฑ"}.mdi-briefcase-search:before{content:"๓ฐจญ"}.mdi-briefcase-search-outline:before{content:"๓ฐฑ‚"}.mdi-briefcase-upload:before{content:"๓ฐƒ™"}.mdi-briefcase-upload-outline:before{content:"๓ฐฑƒ"}.mdi-briefcase-variant:before{content:"๓ฑ’”"}.mdi-briefcase-variant-off:before{content:"๓ฑ™š"}.mdi-briefcase-variant-off-outline:before{content:"๓ฑ™›"}.mdi-briefcase-variant-outline:before{content:"๓ฑ’•"}.mdi-brightness-1:before{content:"๓ฐƒš"}.mdi-brightness-2:before{content:"๓ฐƒ›"}.mdi-brightness-3:before{content:"๓ฐƒœ"}.mdi-brightness-4:before{content:"๓ฐƒ"}.mdi-brightness-5:before{content:"๓ฐƒž"}.mdi-brightness-6:before{content:"๓ฐƒŸ"}.mdi-brightness-7:before{content:"๓ฐƒ "}.mdi-brightness-auto:before{content:"๓ฐƒก"}.mdi-brightness-percent:before{content:"๓ฐณฒ"}.mdi-broadcast:before{content:"๓ฑœ "}.mdi-broadcast-off:before{content:"๓ฑœก"}.mdi-broom:before{content:"๓ฐƒข"}.mdi-brush:before{content:"๓ฐƒฃ"}.mdi-brush-off:before{content:"๓ฑฑ"}.mdi-brush-outline:before{content:"๓ฑจ"}.mdi-brush-variant:before{content:"๓ฑ “"}.mdi-bucket:before{content:"๓ฑ•"}.mdi-bucket-outline:before{content:"๓ฑ–"}.mdi-buffet:before{content:"๓ฐ•ธ"}.mdi-bug:before{content:"๓ฐƒค"}.mdi-bug-check:before{content:"๓ฐจฎ"}.mdi-bug-check-outline:before{content:"๓ฐจฏ"}.mdi-bug-outline:before{content:"๓ฐจฐ"}.mdi-bug-pause:before{content:"๓ฑซต"}.mdi-bug-pause-outline:before{content:"๓ฑซถ"}.mdi-bug-play:before{content:"๓ฑซท"}.mdi-bug-play-outline:before{content:"๓ฑซธ"}.mdi-bug-stop:before{content:"๓ฑซน"}.mdi-bug-stop-outline:before{content:"๓ฑซบ"}.mdi-bugle:before{content:"๓ฐถด"}.mdi-bulkhead-light:before{content:"๓ฑจฏ"}.mdi-bulldozer:before{content:"๓ฐฌข"}.mdi-bullet:before{content:"๓ฐณณ"}.mdi-bulletin-board:before{content:"๓ฐƒฅ"}.mdi-bullhorn:before{content:"๓ฐƒฆ"}.mdi-bullhorn-outline:before{content:"๓ฐฌฃ"}.mdi-bullhorn-variant:before{content:"๓ฑฅฎ"}.mdi-bullhorn-variant-outline:before{content:"๓ฑฅฏ"}.mdi-bullseye:before{content:"๓ฐ—"}.mdi-bullseye-arrow:before{content:"๓ฐฃ‰"}.mdi-bulma:before{content:"๓ฑ‹ง"}.mdi-bunk-bed:before{content:"๓ฑŒ‚"}.mdi-bunk-bed-outline:before{content:"๓ฐ‚—"}.mdi-bus:before{content:"๓ฐƒง"}.mdi-bus-alert:before{content:"๓ฐช™"}.mdi-bus-articulated-end:before{content:"๓ฐžœ"}.mdi-bus-articulated-front:before{content:"๓ฐž"}.mdi-bus-clock:before{content:"๓ฐฃŠ"}.mdi-bus-double-decker:before{content:"๓ฐžž"}.mdi-bus-electric:before{content:"๓ฑค"}.mdi-bus-marker:before{content:"๓ฑˆ’"}.mdi-bus-multiple:before{content:"๓ฐผฟ"}.mdi-bus-school:before{content:"๓ฐžŸ"}.mdi-bus-side:before{content:"๓ฐž "}.mdi-bus-stop:before{content:"๓ฑ€’"}.mdi-bus-stop-covered:before{content:"๓ฑ€“"}.mdi-bus-stop-uncovered:before{content:"๓ฑ€”"}.mdi-butterfly:before{content:"๓ฑ–‰"}.mdi-butterfly-outline:before{content:"๓ฑ–Š"}.mdi-button-cursor:before{content:"๓ฑญ"}.mdi-button-pointer:before{content:"๓ฑญ"}.mdi-cabin-a-frame:before{content:"๓ฑขŒ"}.mdi-cable-data:before{content:"๓ฑŽ”"}.mdi-cached:before{content:"๓ฐƒจ"}.mdi-cactus:before{content:"๓ฐถต"}.mdi-cake:before{content:"๓ฐƒฉ"}.mdi-cake-layered:before{content:"๓ฐƒช"}.mdi-cake-variant:before{content:"๓ฐƒซ"}.mdi-cake-variant-outline:before{content:"๓ฑŸฐ"}.mdi-calculator:before{content:"๓ฐƒฌ"}.mdi-calculator-variant:before{content:"๓ฐชš"}.mdi-calculator-variant-outline:before{content:"๓ฑ–ฆ"}.mdi-calendar:before{content:"๓ฐƒญ"}.mdi-calendar-account:before{content:"๓ฐป—"}.mdi-calendar-account-outline:before{content:"๓ฐป˜"}.mdi-calendar-alert:before{content:"๓ฐจฑ"}.mdi-calendar-alert-outline:before{content:"๓ฑญข"}.mdi-calendar-arrow-left:before{content:"๓ฑ„ด"}.mdi-calendar-arrow-right:before{content:"๓ฑ„ต"}.mdi-calendar-badge:before{content:"๓ฑฎ"}.mdi-calendar-badge-outline:before{content:"๓ฑฎž"}.mdi-calendar-blank:before{content:"๓ฐƒฎ"}.mdi-calendar-blank-multiple:before{content:"๓ฑณ"}.mdi-calendar-blank-outline:before{content:"๓ฐญฆ"}.mdi-calendar-check:before{content:"๓ฐƒฏ"}.mdi-calendar-check-outline:before{content:"๓ฐฑ„"}.mdi-calendar-clock:before{content:"๓ฐƒฐ"}.mdi-calendar-clock-outline:before{content:"๓ฑ›ก"}.mdi-calendar-collapse-horizontal:before{content:"๓ฑข"}.mdi-calendar-collapse-horizontal-outline:before{content:"๓ฑญฃ"}.mdi-calendar-cursor:before{content:"๓ฑ•ป"}.mdi-calendar-cursor-outline:before{content:"๓ฑญค"}.mdi-calendar-edit:before{content:"๓ฐขง"}.mdi-calendar-edit-outline:before{content:"๓ฑญฅ"}.mdi-calendar-end:before{content:"๓ฑ™ฌ"}.mdi-calendar-end-outline:before{content:"๓ฑญฆ"}.mdi-calendar-expand-horizontal:before{content:"๓ฑขž"}.mdi-calendar-expand-horizontal-outline:before{content:"๓ฑญง"}.mdi-calendar-export:before{content:"๓ฐฌค"}.mdi-calendar-export-outline:before{content:"๓ฑญจ"}.mdi-calendar-filter:before{content:"๓ฑจฒ"}.mdi-calendar-filter-outline:before{content:"๓ฑจณ"}.mdi-calendar-heart:before{content:"๓ฐง’"}.mdi-calendar-heart-outline:before{content:"๓ฑญฉ"}.mdi-calendar-import:before{content:"๓ฐฌฅ"}.mdi-calendar-import-outline:before{content:"๓ฑญช"}.mdi-calendar-lock:before{content:"๓ฑ™"}.mdi-calendar-lock-open:before{content:"๓ฑญ›"}.mdi-calendar-lock-open-outline:before{content:"๓ฑญœ"}.mdi-calendar-lock-outline:before{content:"๓ฑ™‚"}.mdi-calendar-minus:before{content:"๓ฐตœ"}.mdi-calendar-minus-outline:before{content:"๓ฑญซ"}.mdi-calendar-month:before{content:"๓ฐธ—"}.mdi-calendar-month-outline:before{content:"๓ฐธ˜"}.mdi-calendar-multiple:before{content:"๓ฐƒฑ"}.mdi-calendar-multiple-check:before{content:"๓ฐƒฒ"}.mdi-calendar-multiselect:before{content:"๓ฐจฒ"}.mdi-calendar-multiselect-outline:before{content:"๓ฑญ•"}.mdi-calendar-outline:before{content:"๓ฐญง"}.mdi-calendar-plus:before{content:"๓ฐƒณ"}.mdi-calendar-plus-outline:before{content:"๓ฑญฌ"}.mdi-calendar-question:before{content:"๓ฐš’"}.mdi-calendar-question-outline:before{content:"๓ฑญญ"}.mdi-calendar-range:before{content:"๓ฐ™น"}.mdi-calendar-range-outline:before{content:"๓ฐญจ"}.mdi-calendar-refresh:before{content:"๓ฐ‡ก"}.mdi-calendar-refresh-outline:before{content:"๓ฐˆƒ"}.mdi-calendar-remove:before{content:"๓ฐƒด"}.mdi-calendar-remove-outline:before{content:"๓ฐฑ…"}.mdi-calendar-search:before{content:"๓ฐฅŒ"}.mdi-calendar-search-outline:before{content:"๓ฑญฎ"}.mdi-calendar-star:before{content:"๓ฐง“"}.mdi-calendar-star-four-points:before{content:"๓ฑฐŸ"}.mdi-calendar-star-outline:before{content:"๓ฑญ“"}.mdi-calendar-start:before{content:"๓ฑ™ญ"}.mdi-calendar-start-outline:before{content:"๓ฑญฏ"}.mdi-calendar-sync:before{content:"๓ฐบŽ"}.mdi-calendar-sync-outline:before{content:"๓ฐบ"}.mdi-calendar-text:before{content:"๓ฐƒต"}.mdi-calendar-text-outline:before{content:"๓ฐฑ†"}.mdi-calendar-today:before{content:"๓ฐƒถ"}.mdi-calendar-today-outline:before{content:"๓ฑจฐ"}.mdi-calendar-week:before{content:"๓ฐจณ"}.mdi-calendar-week-begin:before{content:"๓ฐจด"}.mdi-calendar-week-begin-outline:before{content:"๓ฑจฑ"}.mdi-calendar-week-outline:before{content:"๓ฑจด"}.mdi-calendar-weekend:before{content:"๓ฐป™"}.mdi-calendar-weekend-outline:before{content:"๓ฐปš"}.mdi-call-made:before{content:"๓ฐƒท"}.mdi-call-merge:before{content:"๓ฐƒธ"}.mdi-call-missed:before{content:"๓ฐƒน"}.mdi-call-received:before{content:"๓ฐƒบ"}.mdi-call-split:before{content:"๓ฐƒป"}.mdi-camcorder:before{content:"๓ฐƒผ"}.mdi-camcorder-off:before{content:"๓ฐƒฟ"}.mdi-camera:before{content:"๓ฐ„€"}.mdi-camera-account:before{content:"๓ฐฃ‹"}.mdi-camera-burst:before{content:"๓ฐš“"}.mdi-camera-control:before{content:"๓ฐญฉ"}.mdi-camera-document:before{content:"๓ฑกฑ"}.mdi-camera-document-off:before{content:"๓ฑกฒ"}.mdi-camera-enhance:before{content:"๓ฐ„"}.mdi-camera-enhance-outline:before{content:"๓ฐญช"}.mdi-camera-flip:before{content:"๓ฑ—™"}.mdi-camera-flip-outline:before{content:"๓ฑ—š"}.mdi-camera-front:before{content:"๓ฐ„‚"}.mdi-camera-front-variant:before{content:"๓ฐ„ƒ"}.mdi-camera-gopro:before{content:"๓ฐžก"}.mdi-camera-image:before{content:"๓ฐฃŒ"}.mdi-camera-iris:before{content:"๓ฐ„„"}.mdi-camera-lock:before{content:"๓ฑจ”"}.mdi-camera-lock-open:before{content:"๓ฑฐ"}.mdi-camera-lock-open-outline:before{content:"๓ฑฐŽ"}.mdi-camera-lock-outline:before{content:"๓ฑจ•"}.mdi-camera-marker:before{content:"๓ฑฆง"}.mdi-camera-marker-outline:before{content:"๓ฑฆจ"}.mdi-camera-metering-center:before{content:"๓ฐžข"}.mdi-camera-metering-matrix:before{content:"๓ฐžฃ"}.mdi-camera-metering-partial:before{content:"๓ฐžค"}.mdi-camera-metering-spot:before{content:"๓ฐžฅ"}.mdi-camera-off:before{content:"๓ฐ—Ÿ"}.mdi-camera-off-outline:before{content:"๓ฑฆฟ"}.mdi-camera-outline:before{content:"๓ฐต"}.mdi-camera-party-mode:before{content:"๓ฐ„…"}.mdi-camera-plus:before{content:"๓ฐป›"}.mdi-camera-plus-outline:before{content:"๓ฐปœ"}.mdi-camera-rear:before{content:"๓ฐ„†"}.mdi-camera-rear-variant:before{content:"๓ฐ„‡"}.mdi-camera-retake:before{content:"๓ฐธ™"}.mdi-camera-retake-outline:before{content:"๓ฐธš"}.mdi-camera-switch:before{content:"๓ฐ„ˆ"}.mdi-camera-switch-outline:before{content:"๓ฐกŠ"}.mdi-camera-timer:before{content:"๓ฐ„‰"}.mdi-camera-wireless:before{content:"๓ฐถถ"}.mdi-camera-wireless-outline:before{content:"๓ฐถท"}.mdi-campfire:before{content:"๓ฐป"}.mdi-cancel:before{content:"๓ฐœบ"}.mdi-candelabra:before{content:"๓ฑŸ’"}.mdi-candelabra-fire:before{content:"๓ฑŸ“"}.mdi-candle:before{content:"๓ฐ—ข"}.mdi-candy:before{content:"๓ฑฅฐ"}.mdi-candy-off:before{content:"๓ฑฅฑ"}.mdi-candy-off-outline:before{content:"๓ฑฅฒ"}.mdi-candy-outline:before{content:"๓ฑฅณ"}.mdi-candycane:before{content:"๓ฐ„Š"}.mdi-cannabis:before{content:"๓ฐžฆ"}.mdi-cannabis-off:before{content:"๓ฑ™ฎ"}.mdi-caps-lock:before{content:"๓ฐช›"}.mdi-car:before{content:"๓ฐ„‹"}.mdi-car-2-plus:before{content:"๓ฑ€•"}.mdi-car-3-plus:before{content:"๓ฑ€–"}.mdi-car-arrow-left:before{content:"๓ฑŽฒ"}.mdi-car-arrow-right:before{content:"๓ฑŽณ"}.mdi-car-back:before{content:"๓ฐธ›"}.mdi-car-battery:before{content:"๓ฐ„Œ"}.mdi-car-brake-abs:before{content:"๓ฐฑ‡"}.mdi-car-brake-alert:before{content:"๓ฐฑˆ"}.mdi-car-brake-fluid-level:before{content:"๓ฑค‰"}.mdi-car-brake-hold:before{content:"๓ฐตž"}.mdi-car-brake-low-pressure:before{content:"๓ฑคŠ"}.mdi-car-brake-parking:before{content:"๓ฐตŸ"}.mdi-car-brake-retarder:before{content:"๓ฑ€—"}.mdi-car-brake-temperature:before{content:"๓ฑค‹"}.mdi-car-brake-worn-linings:before{content:"๓ฑคŒ"}.mdi-car-child-seat:before{content:"๓ฐพฃ"}.mdi-car-clock:before{content:"๓ฑฅด"}.mdi-car-clutch:before{content:"๓ฑ€˜"}.mdi-car-cog:before{content:"๓ฑŒ"}.mdi-car-connected:before{content:"๓ฐ„"}.mdi-car-convertible:before{content:"๓ฐžง"}.mdi-car-coolant-level:before{content:"๓ฑ€™"}.mdi-car-cruise-control:before{content:"๓ฐต "}.mdi-car-defrost-front:before{content:"๓ฐตก"}.mdi-car-defrost-rear:before{content:"๓ฐตข"}.mdi-car-door:before{content:"๓ฐญซ"}.mdi-car-door-lock:before{content:"๓ฑ‚"}.mdi-car-electric:before{content:"๓ฐญฌ"}.mdi-car-electric-outline:before{content:"๓ฑ–ต"}.mdi-car-emergency:before{content:"๓ฑ˜"}.mdi-car-esp:before{content:"๓ฐฑ‰"}.mdi-car-estate:before{content:"๓ฐžจ"}.mdi-car-hatchback:before{content:"๓ฐžฉ"}.mdi-car-info:before{content:"๓ฑ†พ"}.mdi-car-key:before{content:"๓ฐญญ"}.mdi-car-lifted-pickup:before{content:"๓ฑ”ญ"}.mdi-car-light-alert:before{content:"๓ฑค"}.mdi-car-light-dimmed:before{content:"๓ฐฑŠ"}.mdi-car-light-fog:before{content:"๓ฐฑ‹"}.mdi-car-light-high:before{content:"๓ฐฑŒ"}.mdi-car-limousine:before{content:"๓ฐฃ"}.mdi-car-multiple:before{content:"๓ฐญฎ"}.mdi-car-off:before{content:"๓ฐธœ"}.mdi-car-outline:before{content:"๓ฑ“ญ"}.mdi-car-parking-lights:before{content:"๓ฐตฃ"}.mdi-car-pickup:before{content:"๓ฐžช"}.mdi-car-search:before{content:"๓ฑฎ"}.mdi-car-search-outline:before{content:"๓ฑฎŽ"}.mdi-car-seat:before{content:"๓ฐพค"}.mdi-car-seat-cooler:before{content:"๓ฐพฅ"}.mdi-car-seat-heater:before{content:"๓ฐพฆ"}.mdi-car-select:before{content:"๓ฑกน"}.mdi-car-settings:before{content:"๓ฑ"}.mdi-car-shift-pattern:before{content:"๓ฐฝ€"}.mdi-car-side:before{content:"๓ฐžซ"}.mdi-car-speed-limiter:before{content:"๓ฑคŽ"}.mdi-car-sports:before{content:"๓ฐžฌ"}.mdi-car-tire-alert:before{content:"๓ฐฑ"}.mdi-car-traction-control:before{content:"๓ฐตค"}.mdi-car-turbocharger:before{content:"๓ฑ€š"}.mdi-car-wash:before{content:"๓ฐ„Ž"}.mdi-car-windshield:before{content:"๓ฑ€›"}.mdi-car-windshield-outline:before{content:"๓ฑ€œ"}.mdi-car-wireless:before{content:"๓ฑกธ"}.mdi-car-wrench:before{content:"๓ฑ ”"}.mdi-carabiner:before{content:"๓ฑ“€"}.mdi-caravan:before{content:"๓ฐžญ"}.mdi-card:before{content:"๓ฐญฏ"}.mdi-card-account-details:before{content:"๓ฐ—’"}.mdi-card-account-details-outline:before{content:"๓ฐถซ"}.mdi-card-account-details-star:before{content:"๓ฐŠฃ"}.mdi-card-account-details-star-outline:before{content:"๓ฐ››"}.mdi-card-account-mail:before{content:"๓ฐ†Ž"}.mdi-card-account-mail-outline:before{content:"๓ฐบ˜"}.mdi-card-account-phone:before{content:"๓ฐบ™"}.mdi-card-account-phone-outline:before{content:"๓ฐบš"}.mdi-card-bulleted:before{content:"๓ฐญฐ"}.mdi-card-bulleted-off:before{content:"๓ฐญฑ"}.mdi-card-bulleted-off-outline:before{content:"๓ฐญฒ"}.mdi-card-bulleted-outline:before{content:"๓ฐญณ"}.mdi-card-bulleted-settings:before{content:"๓ฐญด"}.mdi-card-bulleted-settings-outline:before{content:"๓ฐญต"}.mdi-card-minus:before{content:"๓ฑ˜€"}.mdi-card-minus-outline:before{content:"๓ฑ˜"}.mdi-card-multiple:before{content:"๓ฑŸฑ"}.mdi-card-multiple-outline:before{content:"๓ฑŸฒ"}.mdi-card-off:before{content:"๓ฑ˜‚"}.mdi-card-off-outline:before{content:"๓ฑ˜ƒ"}.mdi-card-outline:before{content:"๓ฐญถ"}.mdi-card-plus:before{content:"๓ฑ‡ฟ"}.mdi-card-plus-outline:before{content:"๓ฑˆ€"}.mdi-card-remove:before{content:"๓ฑ˜„"}.mdi-card-remove-outline:before{content:"๓ฑ˜…"}.mdi-card-search:before{content:"๓ฑด"}.mdi-card-search-outline:before{content:"๓ฑต"}.mdi-card-text:before{content:"๓ฐญท"}.mdi-card-text-outline:before{content:"๓ฐญธ"}.mdi-cards:before{content:"๓ฐ˜ธ"}.mdi-cards-club:before{content:"๓ฐฃŽ"}.mdi-cards-club-outline:before{content:"๓ฑขŸ"}.mdi-cards-diamond:before{content:"๓ฐฃ"}.mdi-cards-diamond-outline:before{content:"๓ฑ€"}.mdi-cards-heart:before{content:"๓ฐฃ"}.mdi-cards-heart-outline:before{content:"๓ฑข "}.mdi-cards-outline:before{content:"๓ฐ˜น"}.mdi-cards-playing:before{content:"๓ฑขก"}.mdi-cards-playing-club:before{content:"๓ฑขข"}.mdi-cards-playing-club-multiple:before{content:"๓ฑขฃ"}.mdi-cards-playing-club-multiple-outline:before{content:"๓ฑขค"}.mdi-cards-playing-club-outline:before{content:"๓ฑขฅ"}.mdi-cards-playing-diamond:before{content:"๓ฑขฆ"}.mdi-cards-playing-diamond-multiple:before{content:"๓ฑขง"}.mdi-cards-playing-diamond-multiple-outline:before{content:"๓ฑขจ"}.mdi-cards-playing-diamond-outline:before{content:"๓ฑขฉ"}.mdi-cards-playing-heart:before{content:"๓ฑขช"}.mdi-cards-playing-heart-multiple:before{content:"๓ฑขซ"}.mdi-cards-playing-heart-multiple-outline:before{content:"๓ฑขฌ"}.mdi-cards-playing-heart-outline:before{content:"๓ฑขญ"}.mdi-cards-playing-outline:before{content:"๓ฐ˜บ"}.mdi-cards-playing-spade:before{content:"๓ฑขฎ"}.mdi-cards-playing-spade-multiple:before{content:"๓ฑขฏ"}.mdi-cards-playing-spade-multiple-outline:before{content:"๓ฑขฐ"}.mdi-cards-playing-spade-outline:before{content:"๓ฑขฑ"}.mdi-cards-spade:before{content:"๓ฐฃ‘"}.mdi-cards-spade-outline:before{content:"๓ฑขฒ"}.mdi-cards-variant:before{content:"๓ฐ›‡"}.mdi-carrot:before{content:"๓ฐ„"}.mdi-cart:before{content:"๓ฐ„"}.mdi-cart-arrow-down:before{content:"๓ฐตฆ"}.mdi-cart-arrow-right:before{content:"๓ฐฑŽ"}.mdi-cart-arrow-up:before{content:"๓ฐตง"}.mdi-cart-check:before{content:"๓ฑ—ช"}.mdi-cart-heart:before{content:"๓ฑฃ "}.mdi-cart-minus:before{content:"๓ฐตจ"}.mdi-cart-off:before{content:"๓ฐ™ซ"}.mdi-cart-outline:before{content:"๓ฐ„‘"}.mdi-cart-percent:before{content:"๓ฑฎฎ"}.mdi-cart-plus:before{content:"๓ฐ„’"}.mdi-cart-remove:before{content:"๓ฐตฉ"}.mdi-cart-variant:before{content:"๓ฑ—ซ"}.mdi-case-sensitive-alt:before{content:"๓ฐ„“"}.mdi-cash:before{content:"๓ฐ„”"}.mdi-cash-100:before{content:"๓ฐ„•"}.mdi-cash-check:before{content:"๓ฑ“ฎ"}.mdi-cash-clock:before{content:"๓ฑช‘"}.mdi-cash-fast:before{content:"๓ฑกœ"}.mdi-cash-lock:before{content:"๓ฑ“ช"}.mdi-cash-lock-open:before{content:"๓ฑ“ซ"}.mdi-cash-marker:before{content:"๓ฐถธ"}.mdi-cash-minus:before{content:"๓ฑ‰ "}.mdi-cash-multiple:before{content:"๓ฐ„–"}.mdi-cash-off:before{content:"๓ฑฑน"}.mdi-cash-plus:before{content:"๓ฑ‰ก"}.mdi-cash-refund:before{content:"๓ฐชœ"}.mdi-cash-register:before{content:"๓ฐณด"}.mdi-cash-remove:before{content:"๓ฑ‰ข"}.mdi-cash-sync:before{content:"๓ฑช’"}.mdi-cassette:before{content:"๓ฐง”"}.mdi-cast:before{content:"๓ฐ„˜"}.mdi-cast-audio:before{content:"๓ฑ€ž"}.mdi-cast-audio-variant:before{content:"๓ฑ‰"}.mdi-cast-connected:before{content:"๓ฐ„™"}.mdi-cast-education:before{content:"๓ฐธ"}.mdi-cast-off:before{content:"๓ฐžŠ"}.mdi-cast-variant:before{content:"๓ฐ€Ÿ"}.mdi-castle:before{content:"๓ฐ„š"}.mdi-cat:before{content:"๓ฐ„›"}.mdi-cctv:before{content:"๓ฐžฎ"}.mdi-cctv-off:before{content:"๓ฑกŸ"}.mdi-ceiling-fan:before{content:"๓ฑž—"}.mdi-ceiling-fan-light:before{content:"๓ฑž˜"}.mdi-ceiling-light:before{content:"๓ฐฉ"}.mdi-ceiling-light-multiple:before{content:"๓ฑฃ"}.mdi-ceiling-light-multiple-outline:before{content:"๓ฑฃž"}.mdi-ceiling-light-outline:before{content:"๓ฑŸ‡"}.mdi-cellphone:before{content:"๓ฐ„œ"}.mdi-cellphone-arrow-down:before{content:"๓ฐง•"}.mdi-cellphone-arrow-down-variant:before{content:"๓ฑง…"}.mdi-cellphone-basic:before{content:"๓ฐ„ž"}.mdi-cellphone-charging:before{content:"๓ฑŽ—"}.mdi-cellphone-check:before{content:"๓ฑŸฝ"}.mdi-cellphone-cog:before{content:"๓ฐฅ‘"}.mdi-cellphone-dock:before{content:"๓ฐ„Ÿ"}.mdi-cellphone-information:before{content:"๓ฐฝ"}.mdi-cellphone-key:before{content:"๓ฐฅŽ"}.mdi-cellphone-link:before{content:"๓ฐ„ก"}.mdi-cellphone-link-off:before{content:"๓ฐ„ข"}.mdi-cellphone-lock:before{content:"๓ฐฅ"}.mdi-cellphone-marker:before{content:"๓ฑ บ"}.mdi-cellphone-message:before{content:"๓ฐฃ“"}.mdi-cellphone-message-off:before{content:"๓ฑƒ’"}.mdi-cellphone-nfc:before{content:"๓ฐบ"}.mdi-cellphone-nfc-off:before{content:"๓ฑ‹˜"}.mdi-cellphone-off:before{content:"๓ฐฅ"}.mdi-cellphone-play:before{content:"๓ฑ€Ÿ"}.mdi-cellphone-remove:before{content:"๓ฐฅ"}.mdi-cellphone-screenshot:before{content:"๓ฐจต"}.mdi-cellphone-settings:before{content:"๓ฐ„ฃ"}.mdi-cellphone-sound:before{content:"๓ฐฅ’"}.mdi-cellphone-text:before{content:"๓ฐฃ’"}.mdi-cellphone-wireless:before{content:"๓ฐ •"}.mdi-centos:before{content:"๓ฑ„š"}.mdi-certificate:before{content:"๓ฐ„ค"}.mdi-certificate-outline:before{content:"๓ฑ†ˆ"}.mdi-chair-rolling:before{content:"๓ฐฝˆ"}.mdi-chair-school:before{content:"๓ฐ„ฅ"}.mdi-chandelier:before{content:"๓ฑž“"}.mdi-charity:before{content:"๓ฐฑ"}.mdi-chart-arc:before{content:"๓ฐ„ฆ"}.mdi-chart-areaspline:before{content:"๓ฐ„ง"}.mdi-chart-areaspline-variant:before{content:"๓ฐบ‘"}.mdi-chart-bar:before{content:"๓ฐ„จ"}.mdi-chart-bar-stacked:before{content:"๓ฐช"}.mdi-chart-bell-curve:before{content:"๓ฐฑ"}.mdi-chart-bell-curve-cumulative:before{content:"๓ฐพง"}.mdi-chart-box:before{content:"๓ฑ•"}.mdi-chart-box-outline:before{content:"๓ฑ•Ž"}.mdi-chart-box-plus-outline:before{content:"๓ฑ•"}.mdi-chart-bubble:before{content:"๓ฐ—ฃ"}.mdi-chart-donut:before{content:"๓ฐžฏ"}.mdi-chart-donut-variant:before{content:"๓ฐžฐ"}.mdi-chart-gantt:before{content:"๓ฐ™ฌ"}.mdi-chart-histogram:before{content:"๓ฐ„ฉ"}.mdi-chart-line:before{content:"๓ฐ„ช"}.mdi-chart-line-stacked:before{content:"๓ฐซ"}.mdi-chart-line-variant:before{content:"๓ฐžฑ"}.mdi-chart-multiline:before{content:"๓ฐฃ”"}.mdi-chart-multiple:before{content:"๓ฑˆ“"}.mdi-chart-pie:before{content:"๓ฐ„ซ"}.mdi-chart-pie-outline:before{content:"๓ฑฏŸ"}.mdi-chart-ppf:before{content:"๓ฑŽ€"}.mdi-chart-sankey:before{content:"๓ฑ‡Ÿ"}.mdi-chart-sankey-variant:before{content:"๓ฑ‡ "}.mdi-chart-scatter-plot:before{content:"๓ฐบ’"}.mdi-chart-scatter-plot-hexbin:before{content:"๓ฐ™ญ"}.mdi-chart-timeline:before{content:"๓ฐ™ฎ"}.mdi-chart-timeline-variant:before{content:"๓ฐบ“"}.mdi-chart-timeline-variant-shimmer:before{content:"๓ฑ–ถ"}.mdi-chart-tree:before{content:"๓ฐบ”"}.mdi-chart-waterfall:before{content:"๓ฑค˜"}.mdi-chat:before{content:"๓ฐญน"}.mdi-chat-alert:before{content:"๓ฐญบ"}.mdi-chat-alert-outline:before{content:"๓ฑ‹‰"}.mdi-chat-minus:before{content:"๓ฑ"}.mdi-chat-minus-outline:before{content:"๓ฑ“"}.mdi-chat-outline:before{content:"๓ฐปž"}.mdi-chat-plus:before{content:"๓ฑ"}.mdi-chat-plus-outline:before{content:"๓ฑ’"}.mdi-chat-processing:before{content:"๓ฐญป"}.mdi-chat-processing-outline:before{content:"๓ฑ‹Š"}.mdi-chat-question:before{content:"๓ฑœธ"}.mdi-chat-question-outline:before{content:"๓ฑœน"}.mdi-chat-remove:before{content:"๓ฑ‘"}.mdi-chat-remove-outline:before{content:"๓ฑ”"}.mdi-chat-sleep:before{content:"๓ฑ‹‘"}.mdi-chat-sleep-outline:before{content:"๓ฑ‹’"}.mdi-check:before{content:"๓ฐ„ฌ"}.mdi-check-all:before{content:"๓ฐ„ญ"}.mdi-check-bold:before{content:"๓ฐธž"}.mdi-check-circle:before{content:"๓ฐ— "}.mdi-check-circle-outline:before{content:"๓ฐ—ก"}.mdi-check-decagram:before{content:"๓ฐž‘"}.mdi-check-decagram-outline:before{content:"๓ฑ€"}.mdi-check-network:before{content:"๓ฐฑ“"}.mdi-check-network-outline:before{content:"๓ฐฑ”"}.mdi-check-outline:before{content:"๓ฐก•"}.mdi-check-underline:before{content:"๓ฐธŸ"}.mdi-check-underline-circle:before{content:"๓ฐธ "}.mdi-check-underline-circle-outline:before{content:"๓ฐธก"}.mdi-checkbook:before{content:"๓ฐช"}.mdi-checkbook-arrow-left:before{content:"๓ฑฐ"}.mdi-checkbook-arrow-right:before{content:"๓ฑฐž"}.mdi-checkbox-blank:before{content:"๓ฐ„ฎ"}.mdi-checkbox-blank-badge:before{content:"๓ฑ…ถ"}.mdi-checkbox-blank-badge-outline:before{content:"๓ฐ„—"}.mdi-checkbox-blank-circle:before{content:"๓ฐ„ฏ"}.mdi-checkbox-blank-circle-outline:before{content:"๓ฐ„ฐ"}.mdi-checkbox-blank-off:before{content:"๓ฑ‹ฌ"}.mdi-checkbox-blank-off-outline:before{content:"๓ฑ‹ญ"}.mdi-checkbox-blank-outline:before{content:"๓ฐ„ฑ"}.mdi-checkbox-intermediate:before{content:"๓ฐก–"}.mdi-checkbox-intermediate-variant:before{content:"๓ฑญ”"}.mdi-checkbox-marked:before{content:"๓ฐ„ฒ"}.mdi-checkbox-marked-circle:before{content:"๓ฐ„ณ"}.mdi-checkbox-marked-circle-auto-outline:before{content:"๓ฑฐฆ"}.mdi-checkbox-marked-circle-minus-outline:before{content:"๓ฑฐง"}.mdi-checkbox-marked-circle-outline:before{content:"๓ฐ„ด"}.mdi-checkbox-marked-circle-plus-outline:before{content:"๓ฑคง"}.mdi-checkbox-marked-outline:before{content:"๓ฐ„ต"}.mdi-checkbox-multiple-blank:before{content:"๓ฐ„ถ"}.mdi-checkbox-multiple-blank-circle:before{content:"๓ฐ˜ป"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"๓ฐ˜ผ"}.mdi-checkbox-multiple-blank-outline:before{content:"๓ฐ„ท"}.mdi-checkbox-multiple-marked:before{content:"๓ฐ„ธ"}.mdi-checkbox-multiple-marked-circle:before{content:"๓ฐ˜ฝ"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"๓ฐ˜พ"}.mdi-checkbox-multiple-marked-outline:before{content:"๓ฐ„น"}.mdi-checkbox-multiple-outline:before{content:"๓ฐฑ‘"}.mdi-checkbox-outline:before{content:"๓ฐฑ’"}.mdi-checkerboard:before{content:"๓ฐ„บ"}.mdi-checkerboard-minus:before{content:"๓ฑˆ‚"}.mdi-checkerboard-plus:before{content:"๓ฑˆ"}.mdi-checkerboard-remove:before{content:"๓ฑˆƒ"}.mdi-cheese:before{content:"๓ฑŠน"}.mdi-cheese-off:before{content:"๓ฑฎ"}.mdi-chef-hat:before{content:"๓ฐญผ"}.mdi-chemical-weapon:before{content:"๓ฐ„ป"}.mdi-chess-bishop:before{content:"๓ฐกœ"}.mdi-chess-king:before{content:"๓ฐก—"}.mdi-chess-knight:before{content:"๓ฐก˜"}.mdi-chess-pawn:before{content:"๓ฐก™"}.mdi-chess-queen:before{content:"๓ฐกš"}.mdi-chess-rook:before{content:"๓ฐก›"}.mdi-chevron-double-down:before{content:"๓ฐ„ผ"}.mdi-chevron-double-left:before{content:"๓ฐ„ฝ"}.mdi-chevron-double-right:before{content:"๓ฐ„พ"}.mdi-chevron-double-up:before{content:"๓ฐ„ฟ"}.mdi-chevron-down:before{content:"๓ฐ…€"}.mdi-chevron-down-box:before{content:"๓ฐง–"}.mdi-chevron-down-box-outline:before{content:"๓ฐง—"}.mdi-chevron-down-circle:before{content:"๓ฐฌฆ"}.mdi-chevron-down-circle-outline:before{content:"๓ฐฌง"}.mdi-chevron-left:before{content:"๓ฐ…"}.mdi-chevron-left-box:before{content:"๓ฐง˜"}.mdi-chevron-left-box-outline:before{content:"๓ฐง™"}.mdi-chevron-left-circle:before{content:"๓ฐฌจ"}.mdi-chevron-left-circle-outline:before{content:"๓ฐฌฉ"}.mdi-chevron-right:before{content:"๓ฐ…‚"}.mdi-chevron-right-box:before{content:"๓ฐงš"}.mdi-chevron-right-box-outline:before{content:"๓ฐง›"}.mdi-chevron-right-circle:before{content:"๓ฐฌช"}.mdi-chevron-right-circle-outline:before{content:"๓ฐฌซ"}.mdi-chevron-triple-down:before{content:"๓ฐถน"}.mdi-chevron-triple-left:before{content:"๓ฐถบ"}.mdi-chevron-triple-right:before{content:"๓ฐถป"}.mdi-chevron-triple-up:before{content:"๓ฐถผ"}.mdi-chevron-up:before{content:"๓ฐ…ƒ"}.mdi-chevron-up-box:before{content:"๓ฐงœ"}.mdi-chevron-up-box-outline:before{content:"๓ฐง"}.mdi-chevron-up-circle:before{content:"๓ฐฌฌ"}.mdi-chevron-up-circle-outline:before{content:"๓ฐฌญ"}.mdi-chili-alert:before{content:"๓ฑŸช"}.mdi-chili-alert-outline:before{content:"๓ฑŸซ"}.mdi-chili-hot:before{content:"๓ฐžฒ"}.mdi-chili-hot-outline:before{content:"๓ฑŸฌ"}.mdi-chili-medium:before{content:"๓ฐžณ"}.mdi-chili-medium-outline:before{content:"๓ฑŸญ"}.mdi-chili-mild:before{content:"๓ฐžด"}.mdi-chili-mild-outline:before{content:"๓ฑŸฎ"}.mdi-chili-off:before{content:"๓ฑ‘ง"}.mdi-chili-off-outline:before{content:"๓ฑŸฏ"}.mdi-chip:before{content:"๓ฐ˜š"}.mdi-church:before{content:"๓ฐ…„"}.mdi-church-outline:before{content:"๓ฑฌ‚"}.mdi-cigar:before{content:"๓ฑ†‰"}.mdi-cigar-off:before{content:"๓ฑ›"}.mdi-circle:before{content:"๓ฐฅ"}.mdi-circle-box:before{content:"๓ฑ—œ"}.mdi-circle-box-outline:before{content:"๓ฑ—"}.mdi-circle-double:before{content:"๓ฐบ•"}.mdi-circle-edit-outline:before{content:"๓ฐฃ•"}.mdi-circle-expand:before{content:"๓ฐบ–"}.mdi-circle-half:before{content:"๓ฑŽ•"}.mdi-circle-half-full:before{content:"๓ฑŽ–"}.mdi-circle-medium:before{content:"๓ฐงž"}.mdi-circle-multiple:before{content:"๓ฐฌธ"}.mdi-circle-multiple-outline:before{content:"๓ฐš•"}.mdi-circle-off-outline:before{content:"๓ฑƒ“"}.mdi-circle-opacity:before{content:"๓ฑก“"}.mdi-circle-outline:before{content:"๓ฐฆ"}.mdi-circle-slice-1:before{content:"๓ฐชž"}.mdi-circle-slice-2:before{content:"๓ฐชŸ"}.mdi-circle-slice-3:before{content:"๓ฐช "}.mdi-circle-slice-4:before{content:"๓ฐชก"}.mdi-circle-slice-5:before{content:"๓ฐชข"}.mdi-circle-slice-6:before{content:"๓ฐชฃ"}.mdi-circle-slice-7:before{content:"๓ฐชค"}.mdi-circle-slice-8:before{content:"๓ฐชฅ"}.mdi-circle-small:before{content:"๓ฐงŸ"}.mdi-circular-saw:before{content:"๓ฐธข"}.mdi-city:before{content:"๓ฐ…†"}.mdi-city-switch:before{content:"๓ฑฐจ"}.mdi-city-variant:before{content:"๓ฐจถ"}.mdi-city-variant-outline:before{content:"๓ฐจท"}.mdi-clipboard:before{content:"๓ฐ…‡"}.mdi-clipboard-account:before{content:"๓ฐ…ˆ"}.mdi-clipboard-account-outline:before{content:"๓ฐฑ•"}.mdi-clipboard-alert:before{content:"๓ฐ…‰"}.mdi-clipboard-alert-outline:before{content:"๓ฐณท"}.mdi-clipboard-arrow-down:before{content:"๓ฐ…Š"}.mdi-clipboard-arrow-down-outline:before{content:"๓ฐฑ–"}.mdi-clipboard-arrow-left:before{content:"๓ฐ…‹"}.mdi-clipboard-arrow-left-outline:before{content:"๓ฐณธ"}.mdi-clipboard-arrow-right:before{content:"๓ฐณน"}.mdi-clipboard-arrow-right-outline:before{content:"๓ฐณบ"}.mdi-clipboard-arrow-up:before{content:"๓ฐฑ—"}.mdi-clipboard-arrow-up-outline:before{content:"๓ฐฑ˜"}.mdi-clipboard-check:before{content:"๓ฐ…Ž"}.mdi-clipboard-check-multiple:before{content:"๓ฑ‰ฃ"}.mdi-clipboard-check-multiple-outline:before{content:"๓ฑ‰ค"}.mdi-clipboard-check-outline:before{content:"๓ฐขจ"}.mdi-clipboard-clock:before{content:"๓ฑ›ข"}.mdi-clipboard-clock-outline:before{content:"๓ฑ›ฃ"}.mdi-clipboard-edit:before{content:"๓ฑ“ฅ"}.mdi-clipboard-edit-outline:before{content:"๓ฑ“ฆ"}.mdi-clipboard-file:before{content:"๓ฑ‰ฅ"}.mdi-clipboard-file-outline:before{content:"๓ฑ‰ฆ"}.mdi-clipboard-flow:before{content:"๓ฐ›ˆ"}.mdi-clipboard-flow-outline:before{content:"๓ฑ„—"}.mdi-clipboard-list:before{content:"๓ฑƒ”"}.mdi-clipboard-list-outline:before{content:"๓ฑƒ•"}.mdi-clipboard-minus:before{content:"๓ฑ˜˜"}.mdi-clipboard-minus-outline:before{content:"๓ฑ˜™"}.mdi-clipboard-multiple:before{content:"๓ฑ‰ง"}.mdi-clipboard-multiple-outline:before{content:"๓ฑ‰จ"}.mdi-clipboard-off:before{content:"๓ฑ˜š"}.mdi-clipboard-off-outline:before{content:"๓ฑ˜›"}.mdi-clipboard-outline:before{content:"๓ฐ…Œ"}.mdi-clipboard-play:before{content:"๓ฐฑ™"}.mdi-clipboard-play-multiple:before{content:"๓ฑ‰ฉ"}.mdi-clipboard-play-multiple-outline:before{content:"๓ฑ‰ช"}.mdi-clipboard-play-outline:before{content:"๓ฐฑš"}.mdi-clipboard-plus:before{content:"๓ฐ‘"}.mdi-clipboard-plus-outline:before{content:"๓ฑŒŸ"}.mdi-clipboard-pulse:before{content:"๓ฐก"}.mdi-clipboard-pulse-outline:before{content:"๓ฐกž"}.mdi-clipboard-remove:before{content:"๓ฑ˜œ"}.mdi-clipboard-remove-outline:before{content:"๓ฑ˜"}.mdi-clipboard-search:before{content:"๓ฑ˜ž"}.mdi-clipboard-search-outline:before{content:"๓ฑ˜Ÿ"}.mdi-clipboard-text:before{content:"๓ฐ…"}.mdi-clipboard-text-clock:before{content:"๓ฑฃน"}.mdi-clipboard-text-clock-outline:before{content:"๓ฑฃบ"}.mdi-clipboard-text-multiple:before{content:"๓ฑ‰ซ"}.mdi-clipboard-text-multiple-outline:before{content:"๓ฑ‰ฌ"}.mdi-clipboard-text-off:before{content:"๓ฑ˜ "}.mdi-clipboard-text-off-outline:before{content:"๓ฑ˜ก"}.mdi-clipboard-text-outline:before{content:"๓ฐจธ"}.mdi-clipboard-text-play:before{content:"๓ฐฑ›"}.mdi-clipboard-text-play-outline:before{content:"๓ฐฑœ"}.mdi-clipboard-text-search:before{content:"๓ฑ˜ข"}.mdi-clipboard-text-search-outline:before{content:"๓ฑ˜ฃ"}.mdi-clippy:before{content:"๓ฐ…"}.mdi-clock:before{content:"๓ฐฅ”"}.mdi-clock-alert:before{content:"๓ฐฅ•"}.mdi-clock-alert-outline:before{content:"๓ฐ—Ž"}.mdi-clock-check:before{content:"๓ฐพจ"}.mdi-clock-check-outline:before{content:"๓ฐพฉ"}.mdi-clock-digital:before{content:"๓ฐบ—"}.mdi-clock-edit:before{content:"๓ฑฆบ"}.mdi-clock-edit-outline:before{content:"๓ฑฆป"}.mdi-clock-end:before{content:"๓ฐ…‘"}.mdi-clock-fast:before{content:"๓ฐ…’"}.mdi-clock-in:before{content:"๓ฐ…“"}.mdi-clock-minus:before{content:"๓ฑกฃ"}.mdi-clock-minus-outline:before{content:"๓ฑกค"}.mdi-clock-out:before{content:"๓ฐ…”"}.mdi-clock-outline:before{content:"๓ฐ…"}.mdi-clock-plus:before{content:"๓ฑกก"}.mdi-clock-plus-outline:before{content:"๓ฑกข"}.mdi-clock-remove:before{content:"๓ฑกฅ"}.mdi-clock-remove-outline:before{content:"๓ฑกฆ"}.mdi-clock-star-four-points:before{content:"๓ฑฐฉ"}.mdi-clock-star-four-points-outline:before{content:"๓ฑฐช"}.mdi-clock-start:before{content:"๓ฐ…•"}.mdi-clock-time-eight:before{content:"๓ฑ‘†"}.mdi-clock-time-eight-outline:before{content:"๓ฑ‘’"}.mdi-clock-time-eleven:before{content:"๓ฑ‘‰"}.mdi-clock-time-eleven-outline:before{content:"๓ฑ‘•"}.mdi-clock-time-five:before{content:"๓ฑ‘ƒ"}.mdi-clock-time-five-outline:before{content:"๓ฑ‘"}.mdi-clock-time-four:before{content:"๓ฑ‘‚"}.mdi-clock-time-four-outline:before{content:"๓ฑ‘Ž"}.mdi-clock-time-nine:before{content:"๓ฑ‘‡"}.mdi-clock-time-nine-outline:before{content:"๓ฑ‘“"}.mdi-clock-time-one:before{content:"๓ฑฟ"}.mdi-clock-time-one-outline:before{content:"๓ฑ‘‹"}.mdi-clock-time-seven:before{content:"๓ฑ‘…"}.mdi-clock-time-seven-outline:before{content:"๓ฑ‘‘"}.mdi-clock-time-six:before{content:"๓ฑ‘„"}.mdi-clock-time-six-outline:before{content:"๓ฑ‘"}.mdi-clock-time-ten:before{content:"๓ฑ‘ˆ"}.mdi-clock-time-ten-outline:before{content:"๓ฑ‘”"}.mdi-clock-time-three:before{content:"๓ฑ‘"}.mdi-clock-time-three-outline:before{content:"๓ฑ‘"}.mdi-clock-time-twelve:before{content:"๓ฑ‘Š"}.mdi-clock-time-twelve-outline:before{content:"๓ฑ‘–"}.mdi-clock-time-two:before{content:"๓ฑ‘€"}.mdi-clock-time-two-outline:before{content:"๓ฑ‘Œ"}.mdi-close:before{content:"๓ฐ…–"}.mdi-close-box:before{content:"๓ฐ…—"}.mdi-close-box-multiple:before{content:"๓ฐฑ"}.mdi-close-box-multiple-outline:before{content:"๓ฐฑž"}.mdi-close-box-outline:before{content:"๓ฐ…˜"}.mdi-close-circle:before{content:"๓ฐ…™"}.mdi-close-circle-multiple:before{content:"๓ฐ˜ช"}.mdi-close-circle-multiple-outline:before{content:"๓ฐขƒ"}.mdi-close-circle-outline:before{content:"๓ฐ…š"}.mdi-close-network:before{content:"๓ฐ…›"}.mdi-close-network-outline:before{content:"๓ฐฑŸ"}.mdi-close-octagon:before{content:"๓ฐ…œ"}.mdi-close-octagon-outline:before{content:"๓ฐ…"}.mdi-close-outline:before{content:"๓ฐ›‰"}.mdi-close-thick:before{content:"๓ฑŽ˜"}.mdi-closed-caption:before{content:"๓ฐ…ž"}.mdi-closed-caption-outline:before{content:"๓ฐถฝ"}.mdi-cloud:before{content:"๓ฐ…Ÿ"}.mdi-cloud-alert:before{content:"๓ฐง "}.mdi-cloud-alert-outline:before{content:"๓ฑฏ "}.mdi-cloud-arrow-down:before{content:"๓ฑฏก"}.mdi-cloud-arrow-down-outline:before{content:"๓ฑฏข"}.mdi-cloud-arrow-left:before{content:"๓ฑฏฃ"}.mdi-cloud-arrow-left-outline:before{content:"๓ฑฏค"}.mdi-cloud-arrow-right:before{content:"๓ฑฏฅ"}.mdi-cloud-arrow-right-outline:before{content:"๓ฑฏฆ"}.mdi-cloud-arrow-up:before{content:"๓ฑฏง"}.mdi-cloud-arrow-up-outline:before{content:"๓ฑฏจ"}.mdi-cloud-braces:before{content:"๓ฐžต"}.mdi-cloud-cancel:before{content:"๓ฑฏฉ"}.mdi-cloud-cancel-outline:before{content:"๓ฑฏช"}.mdi-cloud-check:before{content:"๓ฑฏซ"}.mdi-cloud-check-outline:before{content:"๓ฑฏฌ"}.mdi-cloud-check-variant:before{content:"๓ฐ… "}.mdi-cloud-check-variant-outline:before{content:"๓ฑ‹Œ"}.mdi-cloud-circle:before{content:"๓ฐ…ก"}.mdi-cloud-circle-outline:before{content:"๓ฑฏญ"}.mdi-cloud-clock:before{content:"๓ฑฏฎ"}.mdi-cloud-clock-outline:before{content:"๓ฑฏฏ"}.mdi-cloud-cog:before{content:"๓ฑฏฐ"}.mdi-cloud-cog-outline:before{content:"๓ฑฏฑ"}.mdi-cloud-download:before{content:"๓ฐ…ข"}.mdi-cloud-download-outline:before{content:"๓ฐญฝ"}.mdi-cloud-lock:before{content:"๓ฑ‡ฑ"}.mdi-cloud-lock-open:before{content:"๓ฑฏฒ"}.mdi-cloud-lock-open-outline:before{content:"๓ฑฏณ"}.mdi-cloud-lock-outline:before{content:"๓ฑ‡ฒ"}.mdi-cloud-minus:before{content:"๓ฑฏด"}.mdi-cloud-minus-outline:before{content:"๓ฑฏต"}.mdi-cloud-off:before{content:"๓ฑฏถ"}.mdi-cloud-off-outline:before{content:"๓ฐ…ค"}.mdi-cloud-outline:before{content:"๓ฐ…ฃ"}.mdi-cloud-percent:before{content:"๓ฑจต"}.mdi-cloud-percent-outline:before{content:"๓ฑจถ"}.mdi-cloud-plus:before{content:"๓ฑฏท"}.mdi-cloud-plus-outline:before{content:"๓ฑฏธ"}.mdi-cloud-print:before{content:"๓ฐ…ฅ"}.mdi-cloud-print-outline:before{content:"๓ฐ…ฆ"}.mdi-cloud-question:before{content:"๓ฐจน"}.mdi-cloud-question-outline:before{content:"๓ฑฏน"}.mdi-cloud-refresh:before{content:"๓ฑฏบ"}.mdi-cloud-refresh-outline:before{content:"๓ฑฏป"}.mdi-cloud-refresh-variant:before{content:"๓ฐ”ช"}.mdi-cloud-refresh-variant-outline:before{content:"๓ฑฏผ"}.mdi-cloud-remove:before{content:"๓ฑฏฝ"}.mdi-cloud-remove-outline:before{content:"๓ฑฏพ"}.mdi-cloud-search:before{content:"๓ฐฅ–"}.mdi-cloud-search-outline:before{content:"๓ฐฅ—"}.mdi-cloud-sync:before{content:"๓ฐ˜ฟ"}.mdi-cloud-sync-outline:before{content:"๓ฑ‹–"}.mdi-cloud-tags:before{content:"๓ฐžถ"}.mdi-cloud-upload:before{content:"๓ฐ…ง"}.mdi-cloud-upload-outline:before{content:"๓ฐญพ"}.mdi-clouds:before{content:"๓ฑฎ•"}.mdi-clover:before{content:"๓ฐ –"}.mdi-clover-outline:before{content:"๓ฑฑข"}.mdi-coach-lamp:before{content:"๓ฑ€ "}.mdi-coach-lamp-variant:before{content:"๓ฑจท"}.mdi-coat-rack:before{content:"๓ฑ‚ž"}.mdi-code-array:before{content:"๓ฐ…จ"}.mdi-code-braces:before{content:"๓ฐ…ฉ"}.mdi-code-braces-box:before{content:"๓ฑƒ–"}.mdi-code-brackets:before{content:"๓ฐ…ช"}.mdi-code-equal:before{content:"๓ฐ…ซ"}.mdi-code-greater-than:before{content:"๓ฐ…ฌ"}.mdi-code-greater-than-or-equal:before{content:"๓ฐ…ญ"}.mdi-code-json:before{content:"๓ฐ˜ฆ"}.mdi-code-less-than:before{content:"๓ฐ…ฎ"}.mdi-code-less-than-or-equal:before{content:"๓ฐ…ฏ"}.mdi-code-not-equal:before{content:"๓ฐ…ฐ"}.mdi-code-not-equal-variant:before{content:"๓ฐ…ฑ"}.mdi-code-parentheses:before{content:"๓ฐ…ฒ"}.mdi-code-parentheses-box:before{content:"๓ฑƒ—"}.mdi-code-string:before{content:"๓ฐ…ณ"}.mdi-code-tags:before{content:"๓ฐ…ด"}.mdi-code-tags-check:before{content:"๓ฐš”"}.mdi-codepen:before{content:"๓ฐ…ต"}.mdi-coffee:before{content:"๓ฐ…ถ"}.mdi-coffee-maker:before{content:"๓ฑ‚Ÿ"}.mdi-coffee-maker-check:before{content:"๓ฑคฑ"}.mdi-coffee-maker-check-outline:before{content:"๓ฑคฒ"}.mdi-coffee-maker-outline:before{content:"๓ฑ ›"}.mdi-coffee-off:before{content:"๓ฐพช"}.mdi-coffee-off-outline:before{content:"๓ฐพซ"}.mdi-coffee-outline:before{content:"๓ฐ›Š"}.mdi-coffee-to-go:before{content:"๓ฐ…ท"}.mdi-coffee-to-go-outline:before{content:"๓ฑŒŽ"}.mdi-coffin:before{content:"๓ฐญฟ"}.mdi-cog:before{content:"๓ฐ’“"}.mdi-cog-box:before{content:"๓ฐ’”"}.mdi-cog-clockwise:before{content:"๓ฑ‡"}.mdi-cog-counterclockwise:before{content:"๓ฑ‡ž"}.mdi-cog-off:before{content:"๓ฑŽ"}.mdi-cog-off-outline:before{content:"๓ฑ"}.mdi-cog-outline:before{content:"๓ฐขป"}.mdi-cog-pause:before{content:"๓ฑคณ"}.mdi-cog-pause-outline:before{content:"๓ฑคด"}.mdi-cog-play:before{content:"๓ฑคต"}.mdi-cog-play-outline:before{content:"๓ฑคถ"}.mdi-cog-refresh:before{content:"๓ฑ‘ž"}.mdi-cog-refresh-outline:before{content:"๓ฑ‘Ÿ"}.mdi-cog-stop:before{content:"๓ฑคท"}.mdi-cog-stop-outline:before{content:"๓ฑคธ"}.mdi-cog-sync:before{content:"๓ฑ‘ "}.mdi-cog-sync-outline:before{content:"๓ฑ‘ก"}.mdi-cog-transfer:before{content:"๓ฑ›"}.mdi-cog-transfer-outline:before{content:"๓ฑœ"}.mdi-cogs:before{content:"๓ฐฃ–"}.mdi-collage:before{content:"๓ฐ™€"}.mdi-collapse-all:before{content:"๓ฐชฆ"}.mdi-collapse-all-outline:before{content:"๓ฐชง"}.mdi-color-helper:before{content:"๓ฐ…น"}.mdi-comma:before{content:"๓ฐธฃ"}.mdi-comma-box:before{content:"๓ฐธซ"}.mdi-comma-box-outline:before{content:"๓ฐธค"}.mdi-comma-circle:before{content:"๓ฐธฅ"}.mdi-comma-circle-outline:before{content:"๓ฐธฆ"}.mdi-comment:before{content:"๓ฐ…บ"}.mdi-comment-account:before{content:"๓ฐ…ป"}.mdi-comment-account-outline:before{content:"๓ฐ…ผ"}.mdi-comment-alert:before{content:"๓ฐ…ฝ"}.mdi-comment-alert-outline:before{content:"๓ฐ…พ"}.mdi-comment-arrow-left:before{content:"๓ฐงก"}.mdi-comment-arrow-left-outline:before{content:"๓ฐงข"}.mdi-comment-arrow-right:before{content:"๓ฐงฃ"}.mdi-comment-arrow-right-outline:before{content:"๓ฐงค"}.mdi-comment-bookmark:before{content:"๓ฑ–ฎ"}.mdi-comment-bookmark-outline:before{content:"๓ฑ–ฏ"}.mdi-comment-check:before{content:"๓ฐ…ฟ"}.mdi-comment-check-outline:before{content:"๓ฐ†€"}.mdi-comment-edit:before{content:"๓ฑ†ฟ"}.mdi-comment-edit-outline:before{content:"๓ฑ‹„"}.mdi-comment-eye:before{content:"๓ฐจบ"}.mdi-comment-eye-outline:before{content:"๓ฐจป"}.mdi-comment-flash:before{content:"๓ฑ–ฐ"}.mdi-comment-flash-outline:before{content:"๓ฑ–ฑ"}.mdi-comment-minus:before{content:"๓ฑ—Ÿ"}.mdi-comment-minus-outline:before{content:"๓ฑ— "}.mdi-comment-multiple:before{content:"๓ฐกŸ"}.mdi-comment-multiple-outline:before{content:"๓ฐ†"}.mdi-comment-off:before{content:"๓ฑ—ก"}.mdi-comment-off-outline:before{content:"๓ฑ—ข"}.mdi-comment-outline:before{content:"๓ฐ†‚"}.mdi-comment-plus:before{content:"๓ฐงฅ"}.mdi-comment-plus-outline:before{content:"๓ฐ†ƒ"}.mdi-comment-processing:before{content:"๓ฐ†„"}.mdi-comment-processing-outline:before{content:"๓ฐ†…"}.mdi-comment-question:before{content:"๓ฐ —"}.mdi-comment-question-outline:before{content:"๓ฐ††"}.mdi-comment-quote:before{content:"๓ฑ€ก"}.mdi-comment-quote-outline:before{content:"๓ฑ€ข"}.mdi-comment-remove:before{content:"๓ฐ—ž"}.mdi-comment-remove-outline:before{content:"๓ฐ†‡"}.mdi-comment-search:before{content:"๓ฐจผ"}.mdi-comment-search-outline:before{content:"๓ฐจฝ"}.mdi-comment-text:before{content:"๓ฐ†ˆ"}.mdi-comment-text-multiple:before{content:"๓ฐก "}.mdi-comment-text-multiple-outline:before{content:"๓ฐกก"}.mdi-comment-text-outline:before{content:"๓ฐ†‰"}.mdi-compare:before{content:"๓ฐ†Š"}.mdi-compare-horizontal:before{content:"๓ฑ’’"}.mdi-compare-remove:before{content:"๓ฑขณ"}.mdi-compare-vertical:before{content:"๓ฑ’“"}.mdi-compass:before{content:"๓ฐ†‹"}.mdi-compass-off:before{content:"๓ฐฎ€"}.mdi-compass-off-outline:before{content:"๓ฐฎ"}.mdi-compass-outline:before{content:"๓ฐ†Œ"}.mdi-compass-rose:before{content:"๓ฑŽ‚"}.mdi-compost:before{content:"๓ฑจธ"}.mdi-cone:before{content:"๓ฑฅŒ"}.mdi-cone-off:before{content:"๓ฑฅ"}.mdi-connection:before{content:"๓ฑ˜–"}.mdi-console:before{content:"๓ฐ†"}.mdi-console-line:before{content:"๓ฐžท"}.mdi-console-network:before{content:"๓ฐขฉ"}.mdi-console-network-outline:before{content:"๓ฐฑ "}.mdi-consolidate:before{content:"๓ฑƒ˜"}.mdi-contactless-payment:before{content:"๓ฐตช"}.mdi-contactless-payment-circle:before{content:"๓ฐŒก"}.mdi-contactless-payment-circle-outline:before{content:"๓ฐˆ"}.mdi-contacts:before{content:"๓ฐ›‹"}.mdi-contacts-outline:before{content:"๓ฐ–ธ"}.mdi-contain:before{content:"๓ฐจพ"}.mdi-contain-end:before{content:"๓ฐจฟ"}.mdi-contain-start:before{content:"๓ฐฉ€"}.mdi-content-copy:before{content:"๓ฐ†"}.mdi-content-cut:before{content:"๓ฐ†"}.mdi-content-duplicate:before{content:"๓ฐ†‘"}.mdi-content-paste:before{content:"๓ฐ†’"}.mdi-content-save:before{content:"๓ฐ†“"}.mdi-content-save-alert:before{content:"๓ฐฝ‚"}.mdi-content-save-alert-outline:before{content:"๓ฐฝƒ"}.mdi-content-save-all:before{content:"๓ฐ†”"}.mdi-content-save-all-outline:before{content:"๓ฐฝ„"}.mdi-content-save-check:before{content:"๓ฑฃช"}.mdi-content-save-check-outline:before{content:"๓ฑฃซ"}.mdi-content-save-cog:before{content:"๓ฑ‘›"}.mdi-content-save-cog-outline:before{content:"๓ฑ‘œ"}.mdi-content-save-edit:before{content:"๓ฐณป"}.mdi-content-save-edit-outline:before{content:"๓ฐณผ"}.mdi-content-save-minus:before{content:"๓ฑญƒ"}.mdi-content-save-minus-outline:before{content:"๓ฑญ„"}.mdi-content-save-move:before{content:"๓ฐธง"}.mdi-content-save-move-outline:before{content:"๓ฐธจ"}.mdi-content-save-off:before{content:"๓ฑ™ƒ"}.mdi-content-save-off-outline:before{content:"๓ฑ™„"}.mdi-content-save-outline:before{content:"๓ฐ ˜"}.mdi-content-save-plus:before{content:"๓ฑญ"}.mdi-content-save-plus-outline:before{content:"๓ฑญ‚"}.mdi-content-save-settings:before{content:"๓ฐ˜›"}.mdi-content-save-settings-outline:before{content:"๓ฐฌฎ"}.mdi-contrast:before{content:"๓ฐ†•"}.mdi-contrast-box:before{content:"๓ฐ†–"}.mdi-contrast-circle:before{content:"๓ฐ†—"}.mdi-controller:before{content:"๓ฐŠด"}.mdi-controller-classic:before{content:"๓ฐฎ‚"}.mdi-controller-classic-outline:before{content:"๓ฐฎƒ"}.mdi-controller-off:before{content:"๓ฐŠต"}.mdi-cookie:before{content:"๓ฐ†˜"}.mdi-cookie-alert:before{content:"๓ฑ›"}.mdi-cookie-alert-outline:before{content:"๓ฑ›‘"}.mdi-cookie-check:before{content:"๓ฑ›’"}.mdi-cookie-check-outline:before{content:"๓ฑ›“"}.mdi-cookie-clock:before{content:"๓ฑ›ค"}.mdi-cookie-clock-outline:before{content:"๓ฑ›ฅ"}.mdi-cookie-cog:before{content:"๓ฑ›”"}.mdi-cookie-cog-outline:before{content:"๓ฑ›•"}.mdi-cookie-edit:before{content:"๓ฑ›ฆ"}.mdi-cookie-edit-outline:before{content:"๓ฑ›ง"}.mdi-cookie-lock:before{content:"๓ฑ›จ"}.mdi-cookie-lock-outline:before{content:"๓ฑ›ฉ"}.mdi-cookie-minus:before{content:"๓ฑ›š"}.mdi-cookie-minus-outline:before{content:"๓ฑ››"}.mdi-cookie-off:before{content:"๓ฑ›ช"}.mdi-cookie-off-outline:before{content:"๓ฑ›ซ"}.mdi-cookie-outline:before{content:"๓ฑ›ž"}.mdi-cookie-plus:before{content:"๓ฑ›–"}.mdi-cookie-plus-outline:before{content:"๓ฑ›—"}.mdi-cookie-refresh:before{content:"๓ฑ›ฌ"}.mdi-cookie-refresh-outline:before{content:"๓ฑ›ญ"}.mdi-cookie-remove:before{content:"๓ฑ›˜"}.mdi-cookie-remove-outline:before{content:"๓ฑ›™"}.mdi-cookie-settings:before{content:"๓ฑ›œ"}.mdi-cookie-settings-outline:before{content:"๓ฑ›"}.mdi-coolant-temperature:before{content:"๓ฐˆ"}.mdi-copyleft:before{content:"๓ฑคน"}.mdi-copyright:before{content:"๓ฐ—ฆ"}.mdi-cordova:before{content:"๓ฐฅ˜"}.mdi-corn:before{content:"๓ฐžธ"}.mdi-corn-off:before{content:"๓ฑฏ"}.mdi-cosine-wave:before{content:"๓ฑ‘น"}.mdi-counter:before{content:"๓ฐ†™"}.mdi-countertop:before{content:"๓ฑ œ"}.mdi-countertop-outline:before{content:"๓ฑ "}.mdi-cow:before{content:"๓ฐ†š"}.mdi-cow-off:before{content:"๓ฑฃผ"}.mdi-cpu-32-bit:before{content:"๓ฐปŸ"}.mdi-cpu-64-bit:before{content:"๓ฐป "}.mdi-cradle:before{content:"๓ฑฆ‹"}.mdi-cradle-outline:before{content:"๓ฑฆ‘"}.mdi-crane:before{content:"๓ฐกข"}.mdi-creation:before{content:"๓ฐ™ด"}.mdi-creation-outline:before{content:"๓ฑฐซ"}.mdi-creative-commons:before{content:"๓ฐตซ"}.mdi-credit-card:before{content:"๓ฐฟฏ"}.mdi-credit-card-check:before{content:"๓ฑ"}.mdi-credit-card-check-outline:before{content:"๓ฑ‘"}.mdi-credit-card-chip:before{content:"๓ฑค"}.mdi-credit-card-chip-outline:before{content:"๓ฑค"}.mdi-credit-card-clock:before{content:"๓ฐปก"}.mdi-credit-card-clock-outline:before{content:"๓ฐปข"}.mdi-credit-card-edit:before{content:"๓ฑŸ—"}.mdi-credit-card-edit-outline:before{content:"๓ฑŸ˜"}.mdi-credit-card-fast:before{content:"๓ฑค‘"}.mdi-credit-card-fast-outline:before{content:"๓ฑค’"}.mdi-credit-card-lock:before{content:"๓ฑฃง"}.mdi-credit-card-lock-outline:before{content:"๓ฑฃจ"}.mdi-credit-card-marker:before{content:"๓ฐšจ"}.mdi-credit-card-marker-outline:before{content:"๓ฐถพ"}.mdi-credit-card-minus:before{content:"๓ฐพฌ"}.mdi-credit-card-minus-outline:before{content:"๓ฐพญ"}.mdi-credit-card-multiple:before{content:"๓ฐฟฐ"}.mdi-credit-card-multiple-outline:before{content:"๓ฐ†œ"}.mdi-credit-card-off:before{content:"๓ฐฟฑ"}.mdi-credit-card-off-outline:before{content:"๓ฐ—ค"}.mdi-credit-card-outline:before{content:"๓ฐ†›"}.mdi-credit-card-plus:before{content:"๓ฐฟฒ"}.mdi-credit-card-plus-outline:before{content:"๓ฐ™ถ"}.mdi-credit-card-refresh:before{content:"๓ฑ™…"}.mdi-credit-card-refresh-outline:before{content:"๓ฑ™†"}.mdi-credit-card-refund:before{content:"๓ฐฟณ"}.mdi-credit-card-refund-outline:before{content:"๓ฐชจ"}.mdi-credit-card-remove:before{content:"๓ฐพฎ"}.mdi-credit-card-remove-outline:before{content:"๓ฐพฏ"}.mdi-credit-card-scan:before{content:"๓ฐฟด"}.mdi-credit-card-scan-outline:before{content:"๓ฐ†"}.mdi-credit-card-search:before{content:"๓ฑ™‡"}.mdi-credit-card-search-outline:before{content:"๓ฑ™ˆ"}.mdi-credit-card-settings:before{content:"๓ฐฟต"}.mdi-credit-card-settings-outline:before{content:"๓ฐฃ—"}.mdi-credit-card-sync:before{content:"๓ฑ™‰"}.mdi-credit-card-sync-outline:before{content:"๓ฑ™Š"}.mdi-credit-card-wireless:before{content:"๓ฐ ‚"}.mdi-credit-card-wireless-off:before{content:"๓ฐ•บ"}.mdi-credit-card-wireless-off-outline:before{content:"๓ฐ•ป"}.mdi-credit-card-wireless-outline:before{content:"๓ฐตฌ"}.mdi-cricket:before{content:"๓ฐตญ"}.mdi-crop:before{content:"๓ฐ†ž"}.mdi-crop-free:before{content:"๓ฐ†Ÿ"}.mdi-crop-landscape:before{content:"๓ฐ† "}.mdi-crop-portrait:before{content:"๓ฐ†ก"}.mdi-crop-rotate:before{content:"๓ฐš–"}.mdi-crop-square:before{content:"๓ฐ†ข"}.mdi-cross:before{content:"๓ฐฅ“"}.mdi-cross-bolnisi:before{content:"๓ฐณญ"}.mdi-cross-celtic:before{content:"๓ฐณต"}.mdi-cross-outline:before{content:"๓ฐณถ"}.mdi-crosshairs:before{content:"๓ฐ†ฃ"}.mdi-crosshairs-gps:before{content:"๓ฐ†ค"}.mdi-crosshairs-off:before{content:"๓ฐฝ…"}.mdi-crosshairs-question:before{content:"๓ฑ„ถ"}.mdi-crowd:before{content:"๓ฑฅต"}.mdi-crown:before{content:"๓ฐ†ฅ"}.mdi-crown-circle:before{content:"๓ฑŸœ"}.mdi-crown-circle-outline:before{content:"๓ฑŸ"}.mdi-crown-outline:before{content:"๓ฑ‡"}.mdi-cryengine:before{content:"๓ฐฅ™"}.mdi-crystal-ball:before{content:"๓ฐฌฏ"}.mdi-cube:before{content:"๓ฐ†ฆ"}.mdi-cube-off:before{content:"๓ฑœ"}.mdi-cube-off-outline:before{content:"๓ฑ"}.mdi-cube-outline:before{content:"๓ฐ†ง"}.mdi-cube-scan:before{content:"๓ฐฎ„"}.mdi-cube-send:before{content:"๓ฐ†จ"}.mdi-cube-unfolded:before{content:"๓ฐ†ฉ"}.mdi-cup:before{content:"๓ฐ†ช"}.mdi-cup-off:before{content:"๓ฐ—ฅ"}.mdi-cup-off-outline:before{content:"๓ฑฝ"}.mdi-cup-outline:before{content:"๓ฑŒ"}.mdi-cup-water:before{content:"๓ฐ†ซ"}.mdi-cupboard:before{content:"๓ฐฝ†"}.mdi-cupboard-outline:before{content:"๓ฐฝ‡"}.mdi-cupcake:before{content:"๓ฐฅš"}.mdi-curling:before{content:"๓ฐกฃ"}.mdi-currency-bdt:before{content:"๓ฐกค"}.mdi-currency-brl:before{content:"๓ฐฎ…"}.mdi-currency-btc:before{content:"๓ฐ†ฌ"}.mdi-currency-cny:before{content:"๓ฐžบ"}.mdi-currency-eth:before{content:"๓ฐžป"}.mdi-currency-eur:before{content:"๓ฐ†ญ"}.mdi-currency-eur-off:before{content:"๓ฑŒ•"}.mdi-currency-fra:before{content:"๓ฑจน"}.mdi-currency-gbp:before{content:"๓ฐ†ฎ"}.mdi-currency-ils:before{content:"๓ฐฑก"}.mdi-currency-inr:before{content:"๓ฐ†ฏ"}.mdi-currency-jpy:before{content:"๓ฐžผ"}.mdi-currency-krw:before{content:"๓ฐžฝ"}.mdi-currency-kzt:before{content:"๓ฐกฅ"}.mdi-currency-mnt:before{content:"๓ฑ”’"}.mdi-currency-ngn:before{content:"๓ฐ†ฐ"}.mdi-currency-php:before{content:"๓ฐงฆ"}.mdi-currency-rial:before{content:"๓ฐบœ"}.mdi-currency-rub:before{content:"๓ฐ†ฑ"}.mdi-currency-rupee:before{content:"๓ฑฅถ"}.mdi-currency-sign:before{content:"๓ฐžพ"}.mdi-currency-thb:before{content:"๓ฑฐ…"}.mdi-currency-try:before{content:"๓ฐ†ฒ"}.mdi-currency-twd:before{content:"๓ฐžฟ"}.mdi-currency-uah:before{content:"๓ฑฎ›"}.mdi-currency-usd:before{content:"๓ฐ‡"}.mdi-currency-usd-off:before{content:"๓ฐ™บ"}.mdi-current-ac:before{content:"๓ฑ’€"}.mdi-current-dc:before{content:"๓ฐฅœ"}.mdi-cursor-default:before{content:"๓ฐ‡€"}.mdi-cursor-default-click:before{content:"๓ฐณฝ"}.mdi-cursor-default-click-outline:before{content:"๓ฐณพ"}.mdi-cursor-default-gesture:before{content:"๓ฑ„ง"}.mdi-cursor-default-gesture-outline:before{content:"๓ฑ„จ"}.mdi-cursor-default-outline:before{content:"๓ฐ†ฟ"}.mdi-cursor-move:before{content:"๓ฐ†พ"}.mdi-cursor-pointer:before{content:"๓ฐ†ฝ"}.mdi-cursor-text:before{content:"๓ฐ—ง"}.mdi-curtains:before{content:"๓ฑก†"}.mdi-curtains-closed:before{content:"๓ฑก‡"}.mdi-cylinder:before{content:"๓ฑฅŽ"}.mdi-cylinder-off:before{content:"๓ฑฅ"}.mdi-dance-ballroom:before{content:"๓ฑ—ป"}.mdi-dance-pole:before{content:"๓ฑ•ธ"}.mdi-data-matrix:before{content:"๓ฑ”ผ"}.mdi-data-matrix-edit:before{content:"๓ฑ”ฝ"}.mdi-data-matrix-minus:before{content:"๓ฑ”พ"}.mdi-data-matrix-plus:before{content:"๓ฑ”ฟ"}.mdi-data-matrix-remove:before{content:"๓ฑ•€"}.mdi-data-matrix-scan:before{content:"๓ฑ•"}.mdi-database:before{content:"๓ฐ†ผ"}.mdi-database-alert:before{content:"๓ฑ˜บ"}.mdi-database-alert-outline:before{content:"๓ฑ˜ค"}.mdi-database-arrow-down:before{content:"๓ฑ˜ป"}.mdi-database-arrow-down-outline:before{content:"๓ฑ˜ฅ"}.mdi-database-arrow-left:before{content:"๓ฑ˜ผ"}.mdi-database-arrow-left-outline:before{content:"๓ฑ˜ฆ"}.mdi-database-arrow-right:before{content:"๓ฑ˜ฝ"}.mdi-database-arrow-right-outline:before{content:"๓ฑ˜ง"}.mdi-database-arrow-up:before{content:"๓ฑ˜พ"}.mdi-database-arrow-up-outline:before{content:"๓ฑ˜จ"}.mdi-database-check:before{content:"๓ฐชฉ"}.mdi-database-check-outline:before{content:"๓ฑ˜ฉ"}.mdi-database-clock:before{content:"๓ฑ˜ฟ"}.mdi-database-clock-outline:before{content:"๓ฑ˜ช"}.mdi-database-cog:before{content:"๓ฑ™‹"}.mdi-database-cog-outline:before{content:"๓ฑ™Œ"}.mdi-database-edit:before{content:"๓ฐฎ†"}.mdi-database-edit-outline:before{content:"๓ฑ˜ซ"}.mdi-database-export:before{content:"๓ฐฅž"}.mdi-database-export-outline:before{content:"๓ฑ˜ฌ"}.mdi-database-eye:before{content:"๓ฑคŸ"}.mdi-database-eye-off:before{content:"๓ฑค "}.mdi-database-eye-off-outline:before{content:"๓ฑคก"}.mdi-database-eye-outline:before{content:"๓ฑคข"}.mdi-database-import:before{content:"๓ฐฅ"}.mdi-database-import-outline:before{content:"๓ฑ˜ญ"}.mdi-database-lock:before{content:"๓ฐชช"}.mdi-database-lock-outline:before{content:"๓ฑ˜ฎ"}.mdi-database-marker:before{content:"๓ฑ‹ถ"}.mdi-database-marker-outline:before{content:"๓ฑ˜ฏ"}.mdi-database-minus:before{content:"๓ฐ†ป"}.mdi-database-minus-outline:before{content:"๓ฑ˜ฐ"}.mdi-database-off:before{content:"๓ฑ™€"}.mdi-database-off-outline:before{content:"๓ฑ˜ฑ"}.mdi-database-outline:before{content:"๓ฑ˜ฒ"}.mdi-database-plus:before{content:"๓ฐ†บ"}.mdi-database-plus-outline:before{content:"๓ฑ˜ณ"}.mdi-database-refresh:before{content:"๓ฐ—‚"}.mdi-database-refresh-outline:before{content:"๓ฑ˜ด"}.mdi-database-remove:before{content:"๓ฐด€"}.mdi-database-remove-outline:before{content:"๓ฑ˜ต"}.mdi-database-search:before{content:"๓ฐกฆ"}.mdi-database-search-outline:before{content:"๓ฑ˜ถ"}.mdi-database-settings:before{content:"๓ฐด"}.mdi-database-settings-outline:before{content:"๓ฑ˜ท"}.mdi-database-sync:before{content:"๓ฐณฟ"}.mdi-database-sync-outline:before{content:"๓ฑ˜ธ"}.mdi-death-star:before{content:"๓ฐฃ˜"}.mdi-death-star-variant:before{content:"๓ฐฃ™"}.mdi-deathly-hallows:before{content:"๓ฐฎ‡"}.mdi-debian:before{content:"๓ฐฃš"}.mdi-debug-step-into:before{content:"๓ฐ†น"}.mdi-debug-step-out:before{content:"๓ฐ†ธ"}.mdi-debug-step-over:before{content:"๓ฐ†ท"}.mdi-decagram:before{content:"๓ฐฌ"}.mdi-decagram-outline:before{content:"๓ฐญ"}.mdi-decimal:before{content:"๓ฑ‚ก"}.mdi-decimal-comma:before{content:"๓ฑ‚ข"}.mdi-decimal-comma-decrease:before{content:"๓ฑ‚ฃ"}.mdi-decimal-comma-increase:before{content:"๓ฑ‚ค"}.mdi-decimal-decrease:before{content:"๓ฐ†ถ"}.mdi-decimal-increase:before{content:"๓ฐ†ต"}.mdi-delete:before{content:"๓ฐ†ด"}.mdi-delete-alert:before{content:"๓ฑ‚ฅ"}.mdi-delete-alert-outline:before{content:"๓ฑ‚ฆ"}.mdi-delete-circle:before{content:"๓ฐšƒ"}.mdi-delete-circle-outline:before{content:"๓ฐฎˆ"}.mdi-delete-clock:before{content:"๓ฑ•–"}.mdi-delete-clock-outline:before{content:"๓ฑ•—"}.mdi-delete-empty:before{content:"๓ฐ›Œ"}.mdi-delete-empty-outline:before{content:"๓ฐบ"}.mdi-delete-forever:before{content:"๓ฐ—จ"}.mdi-delete-forever-outline:before{content:"๓ฐฎ‰"}.mdi-delete-off:before{content:"๓ฑ‚ง"}.mdi-delete-off-outline:before{content:"๓ฑ‚จ"}.mdi-delete-outline:before{content:"๓ฐงง"}.mdi-delete-restore:before{content:"๓ฐ ™"}.mdi-delete-sweep:before{content:"๓ฐ—ฉ"}.mdi-delete-sweep-outline:before{content:"๓ฐฑข"}.mdi-delete-variant:before{content:"๓ฐ†ณ"}.mdi-delta:before{content:"๓ฐ‡‚"}.mdi-desk:before{content:"๓ฑˆน"}.mdi-desk-lamp:before{content:"๓ฐฅŸ"}.mdi-desk-lamp-off:before{content:"๓ฑฌŸ"}.mdi-desk-lamp-on:before{content:"๓ฑฌ "}.mdi-deskphone:before{content:"๓ฐ‡ƒ"}.mdi-desktop-classic:before{content:"๓ฐŸ€"}.mdi-desktop-tower:before{content:"๓ฐ‡…"}.mdi-desktop-tower-monitor:before{content:"๓ฐชซ"}.mdi-details:before{content:"๓ฐ‡†"}.mdi-dev-to:before{content:"๓ฐตฎ"}.mdi-developer-board:before{content:"๓ฐš—"}.mdi-deviantart:before{content:"๓ฐ‡‡"}.mdi-devices:before{content:"๓ฐพฐ"}.mdi-dharmachakra:before{content:"๓ฐฅ‹"}.mdi-diabetes:before{content:"๓ฑ„ฆ"}.mdi-dialpad:before{content:"๓ฐ˜œ"}.mdi-diameter:before{content:"๓ฐฑฃ"}.mdi-diameter-outline:before{content:"๓ฐฑค"}.mdi-diameter-variant:before{content:"๓ฐฑฅ"}.mdi-diamond:before{content:"๓ฐฎŠ"}.mdi-diamond-outline:before{content:"๓ฐฎ‹"}.mdi-diamond-stone:before{content:"๓ฐ‡ˆ"}.mdi-dice-1:before{content:"๓ฐ‡Š"}.mdi-dice-1-outline:before{content:"๓ฑ…Š"}.mdi-dice-2:before{content:"๓ฐ‡‹"}.mdi-dice-2-outline:before{content:"๓ฑ…‹"}.mdi-dice-3:before{content:"๓ฐ‡Œ"}.mdi-dice-3-outline:before{content:"๓ฑ…Œ"}.mdi-dice-4:before{content:"๓ฐ‡"}.mdi-dice-4-outline:before{content:"๓ฑ…"}.mdi-dice-5:before{content:"๓ฐ‡Ž"}.mdi-dice-5-outline:before{content:"๓ฑ…Ž"}.mdi-dice-6:before{content:"๓ฐ‡"}.mdi-dice-6-outline:before{content:"๓ฑ…"}.mdi-dice-d10:before{content:"๓ฑ…“"}.mdi-dice-d10-outline:before{content:"๓ฐฏ"}.mdi-dice-d12:before{content:"๓ฑ…”"}.mdi-dice-d12-outline:before{content:"๓ฐกง"}.mdi-dice-d20:before{content:"๓ฑ…•"}.mdi-dice-d20-outline:before{content:"๓ฐ—ช"}.mdi-dice-d4:before{content:"๓ฑ…"}.mdi-dice-d4-outline:before{content:"๓ฐ—ซ"}.mdi-dice-d6:before{content:"๓ฑ…‘"}.mdi-dice-d6-outline:before{content:"๓ฐ—ญ"}.mdi-dice-d8:before{content:"๓ฑ…’"}.mdi-dice-d8-outline:before{content:"๓ฐ—ฌ"}.mdi-dice-multiple:before{content:"๓ฐฎ"}.mdi-dice-multiple-outline:before{content:"๓ฑ…–"}.mdi-digital-ocean:before{content:"๓ฑˆท"}.mdi-dip-switch:before{content:"๓ฐŸ"}.mdi-directions:before{content:"๓ฐ‡"}.mdi-directions-fork:before{content:"๓ฐ™"}.mdi-disc:before{content:"๓ฐ—ฎ"}.mdi-disc-alert:before{content:"๓ฐ‡‘"}.mdi-disc-player:before{content:"๓ฐฅ "}.mdi-dishwasher:before{content:"๓ฐชฌ"}.mdi-dishwasher-alert:before{content:"๓ฑ†ธ"}.mdi-dishwasher-off:before{content:"๓ฑ†น"}.mdi-disqus:before{content:"๓ฐ‡’"}.mdi-distribute-horizontal-center:before{content:"๓ฑ‡‰"}.mdi-distribute-horizontal-left:before{content:"๓ฑ‡ˆ"}.mdi-distribute-horizontal-right:before{content:"๓ฑ‡Š"}.mdi-distribute-vertical-bottom:before{content:"๓ฑ‡‹"}.mdi-distribute-vertical-center:before{content:"๓ฑ‡Œ"}.mdi-distribute-vertical-top:before{content:"๓ฑ‡"}.mdi-diversify:before{content:"๓ฑกท"}.mdi-diving:before{content:"๓ฑฅท"}.mdi-diving-flippers:before{content:"๓ฐถฟ"}.mdi-diving-helmet:before{content:"๓ฐท€"}.mdi-diving-scuba:before{content:"๓ฑญท"}.mdi-diving-scuba-flag:before{content:"๓ฐท‚"}.mdi-diving-scuba-mask:before{content:"๓ฐท"}.mdi-diving-scuba-tank:before{content:"๓ฐทƒ"}.mdi-diving-scuba-tank-multiple:before{content:"๓ฐท„"}.mdi-diving-snorkel:before{content:"๓ฐท…"}.mdi-division:before{content:"๓ฐ‡”"}.mdi-division-box:before{content:"๓ฐ‡•"}.mdi-dlna:before{content:"๓ฐฉ"}.mdi-dna:before{content:"๓ฐš„"}.mdi-dns:before{content:"๓ฐ‡–"}.mdi-dns-outline:before{content:"๓ฐฎŒ"}.mdi-dock-bottom:before{content:"๓ฑ‚ฉ"}.mdi-dock-left:before{content:"๓ฑ‚ช"}.mdi-dock-right:before{content:"๓ฑ‚ซ"}.mdi-dock-top:before{content:"๓ฑ”“"}.mdi-dock-window:before{content:"๓ฑ‚ฌ"}.mdi-docker:before{content:"๓ฐกจ"}.mdi-doctor:before{content:"๓ฐฉ‚"}.mdi-dog:before{content:"๓ฐฉƒ"}.mdi-dog-service:before{content:"๓ฐชญ"}.mdi-dog-side:before{content:"๓ฐฉ„"}.mdi-dog-side-off:before{content:"๓ฑ›ฎ"}.mdi-dolby:before{content:"๓ฐšณ"}.mdi-dolly:before{content:"๓ฐบž"}.mdi-dolphin:before{content:"๓ฑขด"}.mdi-domain:before{content:"๓ฐ‡—"}.mdi-domain-off:before{content:"๓ฐตฏ"}.mdi-domain-plus:before{content:"๓ฑ‚ญ"}.mdi-domain-remove:before{content:"๓ฑ‚ฎ"}.mdi-domain-switch:before{content:"๓ฑฐฌ"}.mdi-dome-light:before{content:"๓ฑž"}.mdi-domino-mask:before{content:"๓ฑ€ฃ"}.mdi-donkey:before{content:"๓ฐŸ‚"}.mdi-door:before{content:"๓ฐ š"}.mdi-door-closed:before{content:"๓ฐ ›"}.mdi-door-closed-lock:before{content:"๓ฑ‚ฏ"}.mdi-door-open:before{content:"๓ฐ œ"}.mdi-door-sliding:before{content:"๓ฑ ž"}.mdi-door-sliding-lock:before{content:"๓ฑ Ÿ"}.mdi-door-sliding-open:before{content:"๓ฑ  "}.mdi-doorbell:before{content:"๓ฑ‹ฆ"}.mdi-doorbell-video:before{content:"๓ฐกฉ"}.mdi-dot-net:before{content:"๓ฐชฎ"}.mdi-dots-circle:before{content:"๓ฑฅธ"}.mdi-dots-grid:before{content:"๓ฑ—ผ"}.mdi-dots-hexagon:before{content:"๓ฑ—ฟ"}.mdi-dots-horizontal:before{content:"๓ฐ‡˜"}.mdi-dots-horizontal-circle:before{content:"๓ฐŸƒ"}.mdi-dots-horizontal-circle-outline:before{content:"๓ฐฎ"}.mdi-dots-square:before{content:"๓ฑ—ฝ"}.mdi-dots-triangle:before{content:"๓ฑ—พ"}.mdi-dots-vertical:before{content:"๓ฐ‡™"}.mdi-dots-vertical-circle:before{content:"๓ฐŸ„"}.mdi-dots-vertical-circle-outline:before{content:"๓ฐฎŽ"}.mdi-download:before{content:"๓ฐ‡š"}.mdi-download-box:before{content:"๓ฑ‘ข"}.mdi-download-box-outline:before{content:"๓ฑ‘ฃ"}.mdi-download-circle:before{content:"๓ฑ‘ค"}.mdi-download-circle-outline:before{content:"๓ฑ‘ฅ"}.mdi-download-lock:before{content:"๓ฑŒ "}.mdi-download-lock-outline:before{content:"๓ฑŒก"}.mdi-download-multiple:before{content:"๓ฐงฉ"}.mdi-download-network:before{content:"๓ฐ›ด"}.mdi-download-network-outline:before{content:"๓ฐฑฆ"}.mdi-download-off:before{content:"๓ฑ‚ฐ"}.mdi-download-off-outline:before{content:"๓ฑ‚ฑ"}.mdi-download-outline:before{content:"๓ฐฎ"}.mdi-drag:before{content:"๓ฐ‡›"}.mdi-drag-horizontal:before{content:"๓ฐ‡œ"}.mdi-drag-horizontal-variant:before{content:"๓ฑ‹ฐ"}.mdi-drag-variant:before{content:"๓ฐฎ"}.mdi-drag-vertical:before{content:"๓ฐ‡"}.mdi-drag-vertical-variant:before{content:"๓ฑ‹ฑ"}.mdi-drama-masks:before{content:"๓ฐด‚"}.mdi-draw:before{content:"๓ฐฝ‰"}.mdi-draw-pen:before{content:"๓ฑฆน"}.mdi-drawing:before{content:"๓ฐ‡ž"}.mdi-drawing-box:before{content:"๓ฐ‡Ÿ"}.mdi-dresser:before{content:"๓ฐฝŠ"}.mdi-dresser-outline:before{content:"๓ฐฝ‹"}.mdi-drone:before{content:"๓ฐ‡ข"}.mdi-dropbox:before{content:"๓ฐ‡ฃ"}.mdi-drupal:before{content:"๓ฐ‡ค"}.mdi-duck:before{content:"๓ฐ‡ฅ"}.mdi-dumbbell:before{content:"๓ฐ‡ฆ"}.mdi-dump-truck:before{content:"๓ฐฑง"}.mdi-ear-hearing:before{content:"๓ฐŸ…"}.mdi-ear-hearing-loop:before{content:"๓ฑซฎ"}.mdi-ear-hearing-off:before{content:"๓ฐฉ…"}.mdi-earbuds:before{content:"๓ฑก"}.mdi-earbuds-off:before{content:"๓ฑก"}.mdi-earbuds-off-outline:before{content:"๓ฑก‘"}.mdi-earbuds-outline:before{content:"๓ฑก’"}.mdi-earth:before{content:"๓ฐ‡ง"}.mdi-earth-arrow-right:before{content:"๓ฑŒ‘"}.mdi-earth-box:before{content:"๓ฐ›"}.mdi-earth-box-minus:before{content:"๓ฑ‡"}.mdi-earth-box-off:before{content:"๓ฐ›Ž"}.mdi-earth-box-plus:before{content:"๓ฑ†"}.mdi-earth-box-remove:before{content:"๓ฑˆ"}.mdi-earth-minus:before{content:"๓ฑ„"}.mdi-earth-off:before{content:"๓ฐ‡จ"}.mdi-earth-plus:before{content:"๓ฑƒ"}.mdi-earth-remove:before{content:"๓ฑ…"}.mdi-egg:before{content:"๓ฐชฏ"}.mdi-egg-easter:before{content:"๓ฐชฐ"}.mdi-egg-fried:before{content:"๓ฑกŠ"}.mdi-egg-off:before{content:"๓ฑฐ"}.mdi-egg-off-outline:before{content:"๓ฑฑ"}.mdi-egg-outline:before{content:"๓ฑฒ"}.mdi-eiffel-tower:before{content:"๓ฑ•ซ"}.mdi-eight-track:before{content:"๓ฐงช"}.mdi-eject:before{content:"๓ฐ‡ช"}.mdi-eject-circle:before{content:"๓ฑฌฃ"}.mdi-eject-circle-outline:before{content:"๓ฑฌค"}.mdi-eject-outline:before{content:"๓ฐฎ‘"}.mdi-electric-switch:before{content:"๓ฐบŸ"}.mdi-electric-switch-closed:before{content:"๓ฑƒ™"}.mdi-electron-framework:before{content:"๓ฑ€ค"}.mdi-elephant:before{content:"๓ฐŸ†"}.mdi-elevation-decline:before{content:"๓ฐ‡ซ"}.mdi-elevation-rise:before{content:"๓ฐ‡ฌ"}.mdi-elevator:before{content:"๓ฐ‡ญ"}.mdi-elevator-down:before{content:"๓ฑ‹‚"}.mdi-elevator-passenger:before{content:"๓ฑŽ"}.mdi-elevator-passenger-off:before{content:"๓ฑฅน"}.mdi-elevator-passenger-off-outline:before{content:"๓ฑฅบ"}.mdi-elevator-passenger-outline:before{content:"๓ฑฅป"}.mdi-elevator-up:before{content:"๓ฑ‹"}.mdi-ellipse:before{content:"๓ฐบ "}.mdi-ellipse-outline:before{content:"๓ฐบก"}.mdi-email:before{content:"๓ฐ‡ฎ"}.mdi-email-alert:before{content:"๓ฐ›"}.mdi-email-alert-outline:before{content:"๓ฐต‚"}.mdi-email-arrow-left:before{content:"๓ฑƒš"}.mdi-email-arrow-left-outline:before{content:"๓ฑƒ›"}.mdi-email-arrow-right:before{content:"๓ฑƒœ"}.mdi-email-arrow-right-outline:before{content:"๓ฑƒ"}.mdi-email-box:before{content:"๓ฐดƒ"}.mdi-email-check:before{content:"๓ฐชฑ"}.mdi-email-check-outline:before{content:"๓ฐชฒ"}.mdi-email-edit:before{content:"๓ฐปฃ"}.mdi-email-edit-outline:before{content:"๓ฐปค"}.mdi-email-fast:before{content:"๓ฑกฏ"}.mdi-email-fast-outline:before{content:"๓ฑกฐ"}.mdi-email-heart-outline:before{content:"๓ฑฑ›"}.mdi-email-lock:before{content:"๓ฐ‡ฑ"}.mdi-email-lock-outline:before{content:"๓ฑญก"}.mdi-email-mark-as-unread:before{content:"๓ฐฎ’"}.mdi-email-minus:before{content:"๓ฐปฅ"}.mdi-email-minus-outline:before{content:"๓ฐปฆ"}.mdi-email-multiple:before{content:"๓ฐปง"}.mdi-email-multiple-outline:before{content:"๓ฐปจ"}.mdi-email-newsletter:before{content:"๓ฐพฑ"}.mdi-email-off:before{content:"๓ฑฃ"}.mdi-email-off-outline:before{content:"๓ฑค"}.mdi-email-open:before{content:"๓ฐ‡ฏ"}.mdi-email-open-heart-outline:before{content:"๓ฑฑœ"}.mdi-email-open-multiple:before{content:"๓ฐปฉ"}.mdi-email-open-multiple-outline:before{content:"๓ฐปช"}.mdi-email-open-outline:before{content:"๓ฐ—ฏ"}.mdi-email-outline:before{content:"๓ฐ‡ฐ"}.mdi-email-plus:before{content:"๓ฐงซ"}.mdi-email-plus-outline:before{content:"๓ฐงฌ"}.mdi-email-remove:before{content:"๓ฑ™ก"}.mdi-email-remove-outline:before{content:"๓ฑ™ข"}.mdi-email-seal:before{content:"๓ฑฅ›"}.mdi-email-seal-outline:before{content:"๓ฑฅœ"}.mdi-email-search:before{content:"๓ฐฅก"}.mdi-email-search-outline:before{content:"๓ฐฅข"}.mdi-email-sync:before{content:"๓ฑ‹‡"}.mdi-email-sync-outline:before{content:"๓ฑ‹ˆ"}.mdi-email-variant:before{content:"๓ฐ—ฐ"}.mdi-ember:before{content:"๓ฐฌฐ"}.mdi-emby:before{content:"๓ฐšด"}.mdi-emoticon:before{content:"๓ฐฑจ"}.mdi-emoticon-angry:before{content:"๓ฐฑฉ"}.mdi-emoticon-angry-outline:before{content:"๓ฐฑช"}.mdi-emoticon-confused:before{content:"๓ฑƒž"}.mdi-emoticon-confused-outline:before{content:"๓ฑƒŸ"}.mdi-emoticon-cool:before{content:"๓ฐฑซ"}.mdi-emoticon-cool-outline:before{content:"๓ฐ‡ณ"}.mdi-emoticon-cry:before{content:"๓ฐฑฌ"}.mdi-emoticon-cry-outline:before{content:"๓ฐฑญ"}.mdi-emoticon-dead:before{content:"๓ฐฑฎ"}.mdi-emoticon-dead-outline:before{content:"๓ฐš›"}.mdi-emoticon-devil:before{content:"๓ฐฑฏ"}.mdi-emoticon-devil-outline:before{content:"๓ฐ‡ด"}.mdi-emoticon-excited:before{content:"๓ฐฑฐ"}.mdi-emoticon-excited-outline:before{content:"๓ฐšœ"}.mdi-emoticon-frown:before{content:"๓ฐฝŒ"}.mdi-emoticon-frown-outline:before{content:"๓ฐฝ"}.mdi-emoticon-happy:before{content:"๓ฐฑฑ"}.mdi-emoticon-happy-outline:before{content:"๓ฐ‡ต"}.mdi-emoticon-kiss:before{content:"๓ฐฑฒ"}.mdi-emoticon-kiss-outline:before{content:"๓ฐฑณ"}.mdi-emoticon-lol:before{content:"๓ฑˆ”"}.mdi-emoticon-lol-outline:before{content:"๓ฑˆ•"}.mdi-emoticon-neutral:before{content:"๓ฐฑด"}.mdi-emoticon-neutral-outline:before{content:"๓ฐ‡ถ"}.mdi-emoticon-outline:before{content:"๓ฐ‡ฒ"}.mdi-emoticon-poop:before{content:"๓ฐ‡ท"}.mdi-emoticon-poop-outline:before{content:"๓ฐฑต"}.mdi-emoticon-sad:before{content:"๓ฐฑถ"}.mdi-emoticon-sad-outline:before{content:"๓ฐ‡ธ"}.mdi-emoticon-sick:before{content:"๓ฑ•ผ"}.mdi-emoticon-sick-outline:before{content:"๓ฑ•ฝ"}.mdi-emoticon-tongue:before{content:"๓ฐ‡น"}.mdi-emoticon-tongue-outline:before{content:"๓ฐฑท"}.mdi-emoticon-wink:before{content:"๓ฐฑธ"}.mdi-emoticon-wink-outline:before{content:"๓ฐฑน"}.mdi-engine:before{content:"๓ฐ‡บ"}.mdi-engine-off:before{content:"๓ฐฉ†"}.mdi-engine-off-outline:before{content:"๓ฐฉ‡"}.mdi-engine-outline:before{content:"๓ฐ‡ป"}.mdi-epsilon:before{content:"๓ฑƒ "}.mdi-equal:before{content:"๓ฐ‡ผ"}.mdi-equal-box:before{content:"๓ฐ‡ฝ"}.mdi-equalizer:before{content:"๓ฐบข"}.mdi-equalizer-outline:before{content:"๓ฐบฃ"}.mdi-eraser:before{content:"๓ฐ‡พ"}.mdi-eraser-variant:before{content:"๓ฐ™‚"}.mdi-escalator:before{content:"๓ฐ‡ฟ"}.mdi-escalator-box:before{content:"๓ฑŽ™"}.mdi-escalator-down:before{content:"๓ฑ‹€"}.mdi-escalator-up:before{content:"๓ฑŠฟ"}.mdi-eslint:before{content:"๓ฐฑบ"}.mdi-et:before{content:"๓ฐชณ"}.mdi-ethereum:before{content:"๓ฐกช"}.mdi-ethernet:before{content:"๓ฐˆ€"}.mdi-ethernet-cable:before{content:"๓ฐˆ"}.mdi-ethernet-cable-off:before{content:"๓ฐˆ‚"}.mdi-ev-plug-ccs1:before{content:"๓ฑ”™"}.mdi-ev-plug-ccs2:before{content:"๓ฑ”š"}.mdi-ev-plug-chademo:before{content:"๓ฑ”›"}.mdi-ev-plug-tesla:before{content:"๓ฑ”œ"}.mdi-ev-plug-type1:before{content:"๓ฑ”"}.mdi-ev-plug-type2:before{content:"๓ฑ”ž"}.mdi-ev-station:before{content:"๓ฐ—ฑ"}.mdi-evernote:before{content:"๓ฐˆ„"}.mdi-excavator:before{content:"๓ฑ€ฅ"}.mdi-exclamation:before{content:"๓ฐˆ…"}.mdi-exclamation-thick:before{content:"๓ฑˆธ"}.mdi-exit-run:before{content:"๓ฐฉˆ"}.mdi-exit-to-app:before{content:"๓ฐˆ†"}.mdi-expand-all:before{content:"๓ฐชด"}.mdi-expand-all-outline:before{content:"๓ฐชต"}.mdi-expansion-card:before{content:"๓ฐขฎ"}.mdi-expansion-card-variant:before{content:"๓ฐพฒ"}.mdi-exponent:before{content:"๓ฐฅฃ"}.mdi-exponent-box:before{content:"๓ฐฅค"}.mdi-export:before{content:"๓ฐˆ‡"}.mdi-export-variant:before{content:"๓ฐฎ“"}.mdi-eye:before{content:"๓ฐˆˆ"}.mdi-eye-arrow-left:before{content:"๓ฑฃฝ"}.mdi-eye-arrow-left-outline:before{content:"๓ฑฃพ"}.mdi-eye-arrow-right:before{content:"๓ฑฃฟ"}.mdi-eye-arrow-right-outline:before{content:"๓ฑค€"}.mdi-eye-check:before{content:"๓ฐด„"}.mdi-eye-check-outline:before{content:"๓ฐด…"}.mdi-eye-circle:before{content:"๓ฐฎ”"}.mdi-eye-circle-outline:before{content:"๓ฐฎ•"}.mdi-eye-lock:before{content:"๓ฑฐ†"}.mdi-eye-lock-open:before{content:"๓ฑฐ‡"}.mdi-eye-lock-open-outline:before{content:"๓ฑฐˆ"}.mdi-eye-lock-outline:before{content:"๓ฑฐ‰"}.mdi-eye-minus:before{content:"๓ฑ€ฆ"}.mdi-eye-minus-outline:before{content:"๓ฑ€ง"}.mdi-eye-off:before{content:"๓ฐˆ‰"}.mdi-eye-off-outline:before{content:"๓ฐ›‘"}.mdi-eye-outline:before{content:"๓ฐ›"}.mdi-eye-plus:before{content:"๓ฐกซ"}.mdi-eye-plus-outline:before{content:"๓ฐกฌ"}.mdi-eye-refresh:before{content:"๓ฑฅผ"}.mdi-eye-refresh-outline:before{content:"๓ฑฅฝ"}.mdi-eye-remove:before{content:"๓ฑ—ฃ"}.mdi-eye-remove-outline:before{content:"๓ฑ—ค"}.mdi-eye-settings:before{content:"๓ฐกญ"}.mdi-eye-settings-outline:before{content:"๓ฐกฎ"}.mdi-eyedropper:before{content:"๓ฐˆŠ"}.mdi-eyedropper-minus:before{content:"๓ฑ"}.mdi-eyedropper-off:before{content:"๓ฑŸ"}.mdi-eyedropper-plus:before{content:"๓ฑœ"}.mdi-eyedropper-remove:before{content:"๓ฑž"}.mdi-eyedropper-variant:before{content:"๓ฐˆ‹"}.mdi-face-agent:before{content:"๓ฐตฐ"}.mdi-face-man:before{content:"๓ฐ™ƒ"}.mdi-face-man-outline:before{content:"๓ฐฎ–"}.mdi-face-man-profile:before{content:"๓ฐ™„"}.mdi-face-man-shimmer:before{content:"๓ฑ—Œ"}.mdi-face-man-shimmer-outline:before{content:"๓ฑ—"}.mdi-face-mask:before{content:"๓ฑ–†"}.mdi-face-mask-outline:before{content:"๓ฑ–‡"}.mdi-face-recognition:before{content:"๓ฐฑป"}.mdi-face-woman:before{content:"๓ฑท"}.mdi-face-woman-outline:before{content:"๓ฑธ"}.mdi-face-woman-profile:before{content:"๓ฑถ"}.mdi-face-woman-shimmer:before{content:"๓ฑ—Ž"}.mdi-face-woman-shimmer-outline:before{content:"๓ฑ—"}.mdi-facebook:before{content:"๓ฐˆŒ"}.mdi-facebook-gaming:before{content:"๓ฐŸ"}.mdi-facebook-messenger:before{content:"๓ฐˆŽ"}.mdi-facebook-workplace:before{content:"๓ฐฌฑ"}.mdi-factory:before{content:"๓ฐˆ"}.mdi-family-tree:before{content:"๓ฑ˜Ž"}.mdi-fan:before{content:"๓ฐˆ"}.mdi-fan-alert:before{content:"๓ฑ‘ฌ"}.mdi-fan-auto:before{content:"๓ฑœ"}.mdi-fan-chevron-down:before{content:"๓ฑ‘ญ"}.mdi-fan-chevron-up:before{content:"๓ฑ‘ฎ"}.mdi-fan-clock:before{content:"๓ฑจบ"}.mdi-fan-minus:before{content:"๓ฑ‘ฐ"}.mdi-fan-off:before{content:"๓ฐ "}.mdi-fan-plus:before{content:"๓ฑ‘ฏ"}.mdi-fan-remove:before{content:"๓ฑ‘ฑ"}.mdi-fan-speed-1:before{content:"๓ฑ‘ฒ"}.mdi-fan-speed-2:before{content:"๓ฑ‘ณ"}.mdi-fan-speed-3:before{content:"๓ฑ‘ด"}.mdi-fast-forward:before{content:"๓ฐˆ‘"}.mdi-fast-forward-10:before{content:"๓ฐตฑ"}.mdi-fast-forward-15:before{content:"๓ฑคบ"}.mdi-fast-forward-30:before{content:"๓ฐด†"}.mdi-fast-forward-45:before{content:"๓ฑฌ’"}.mdi-fast-forward-5:before{content:"๓ฑ‡ธ"}.mdi-fast-forward-60:before{content:"๓ฑ˜‹"}.mdi-fast-forward-outline:before{content:"๓ฐ›’"}.mdi-faucet:before{content:"๓ฑฌฉ"}.mdi-faucet-variant:before{content:"๓ฑฌช"}.mdi-fax:before{content:"๓ฐˆ’"}.mdi-feather:before{content:"๓ฐ›“"}.mdi-feature-search:before{content:"๓ฐฉ‰"}.mdi-feature-search-outline:before{content:"๓ฐฉŠ"}.mdi-fedora:before{content:"๓ฐฃ›"}.mdi-fence:before{content:"๓ฑžš"}.mdi-fence-electric:before{content:"๓ฑŸถ"}.mdi-fencing:before{content:"๓ฑ“"}.mdi-ferris-wheel:before{content:"๓ฐบค"}.mdi-ferry:before{content:"๓ฐˆ“"}.mdi-file:before{content:"๓ฐˆ”"}.mdi-file-account:before{content:"๓ฐœป"}.mdi-file-account-outline:before{content:"๓ฑ€จ"}.mdi-file-alert:before{content:"๓ฐฉ‹"}.mdi-file-alert-outline:before{content:"๓ฐฉŒ"}.mdi-file-arrow-left-right:before{content:"๓ฑช“"}.mdi-file-arrow-left-right-outline:before{content:"๓ฑช”"}.mdi-file-arrow-up-down:before{content:"๓ฑช•"}.mdi-file-arrow-up-down-outline:before{content:"๓ฑช–"}.mdi-file-cabinet:before{content:"๓ฐชถ"}.mdi-file-cad:before{content:"๓ฐปซ"}.mdi-file-cad-box:before{content:"๓ฐปฌ"}.mdi-file-cancel:before{content:"๓ฐท†"}.mdi-file-cancel-outline:before{content:"๓ฐท‡"}.mdi-file-certificate:before{content:"๓ฑ††"}.mdi-file-certificate-outline:before{content:"๓ฑ†‡"}.mdi-file-chart:before{content:"๓ฐˆ•"}.mdi-file-chart-check:before{content:"๓ฑง†"}.mdi-file-chart-check-outline:before{content:"๓ฑง‡"}.mdi-file-chart-outline:before{content:"๓ฑ€ฉ"}.mdi-file-check:before{content:"๓ฐˆ–"}.mdi-file-check-outline:before{content:"๓ฐธฉ"}.mdi-file-clock:before{content:"๓ฑ‹ก"}.mdi-file-clock-outline:before{content:"๓ฑ‹ข"}.mdi-file-cloud:before{content:"๓ฐˆ—"}.mdi-file-cloud-outline:before{content:"๓ฑ€ช"}.mdi-file-code:before{content:"๓ฐˆฎ"}.mdi-file-code-outline:before{content:"๓ฑ€ซ"}.mdi-file-cog:before{content:"๓ฑป"}.mdi-file-cog-outline:before{content:"๓ฑผ"}.mdi-file-compare:before{content:"๓ฐขช"}.mdi-file-delimited:before{content:"๓ฐˆ˜"}.mdi-file-delimited-outline:before{content:"๓ฐบฅ"}.mdi-file-document:before{content:"๓ฐˆ™"}.mdi-file-document-alert:before{content:"๓ฑช—"}.mdi-file-document-alert-outline:before{content:"๓ฑช˜"}.mdi-file-document-arrow-right:before{content:"๓ฑฐ"}.mdi-file-document-arrow-right-outline:before{content:"๓ฑฐ"}.mdi-file-document-check:before{content:"๓ฑช™"}.mdi-file-document-check-outline:before{content:"๓ฑชš"}.mdi-file-document-edit:before{content:"๓ฐทˆ"}.mdi-file-document-edit-outline:before{content:"๓ฐท‰"}.mdi-file-document-minus:before{content:"๓ฑช›"}.mdi-file-document-minus-outline:before{content:"๓ฑชœ"}.mdi-file-document-multiple:before{content:"๓ฑ”—"}.mdi-file-document-multiple-outline:before{content:"๓ฑ”˜"}.mdi-file-document-outline:before{content:"๓ฐงฎ"}.mdi-file-document-plus:before{content:"๓ฑช"}.mdi-file-document-plus-outline:before{content:"๓ฑชž"}.mdi-file-document-refresh:before{content:"๓ฑฑบ"}.mdi-file-document-refresh-outline:before{content:"๓ฑฑป"}.mdi-file-document-remove:before{content:"๓ฑชŸ"}.mdi-file-document-remove-outline:before{content:"๓ฑช "}.mdi-file-download:before{content:"๓ฐฅฅ"}.mdi-file-download-outline:before{content:"๓ฐฅฆ"}.mdi-file-edit:before{content:"๓ฑ‡ง"}.mdi-file-edit-outline:before{content:"๓ฑ‡จ"}.mdi-file-excel:before{content:"๓ฐˆ›"}.mdi-file-excel-box:before{content:"๓ฐˆœ"}.mdi-file-excel-box-outline:before{content:"๓ฑ€ฌ"}.mdi-file-excel-outline:before{content:"๓ฑ€ญ"}.mdi-file-export:before{content:"๓ฐˆ"}.mdi-file-export-outline:before{content:"๓ฑ€ฎ"}.mdi-file-eye:before{content:"๓ฐทŠ"}.mdi-file-eye-outline:before{content:"๓ฐท‹"}.mdi-file-find:before{content:"๓ฐˆž"}.mdi-file-find-outline:before{content:"๓ฐฎ—"}.mdi-file-gif-box:before{content:"๓ฐตธ"}.mdi-file-hidden:before{content:"๓ฐ˜“"}.mdi-file-image:before{content:"๓ฐˆŸ"}.mdi-file-image-marker:before{content:"๓ฑฒ"}.mdi-file-image-marker-outline:before{content:"๓ฑณ"}.mdi-file-image-minus:before{content:"๓ฑคป"}.mdi-file-image-minus-outline:before{content:"๓ฑคผ"}.mdi-file-image-outline:before{content:"๓ฐบฐ"}.mdi-file-image-plus:before{content:"๓ฑคฝ"}.mdi-file-image-plus-outline:before{content:"๓ฑคพ"}.mdi-file-image-remove:before{content:"๓ฑคฟ"}.mdi-file-image-remove-outline:before{content:"๓ฑฅ€"}.mdi-file-import:before{content:"๓ฐˆ "}.mdi-file-import-outline:before{content:"๓ฑ€ฏ"}.mdi-file-jpg-box:before{content:"๓ฐˆฅ"}.mdi-file-key:before{content:"๓ฑ†„"}.mdi-file-key-outline:before{content:"๓ฑ†…"}.mdi-file-link:before{content:"๓ฑ…ท"}.mdi-file-link-outline:before{content:"๓ฑ…ธ"}.mdi-file-lock:before{content:"๓ฐˆก"}.mdi-file-lock-open:before{content:"๓ฑงˆ"}.mdi-file-lock-open-outline:before{content:"๓ฑง‰"}.mdi-file-lock-outline:before{content:"๓ฑ€ฐ"}.mdi-file-marker:before{content:"๓ฑด"}.mdi-file-marker-outline:before{content:"๓ฑต"}.mdi-file-minus:before{content:"๓ฑชก"}.mdi-file-minus-outline:before{content:"๓ฑชข"}.mdi-file-move:before{content:"๓ฐชน"}.mdi-file-move-outline:before{content:"๓ฑ€ฑ"}.mdi-file-multiple:before{content:"๓ฐˆข"}.mdi-file-multiple-outline:before{content:"๓ฑ€ฒ"}.mdi-file-music:before{content:"๓ฐˆฃ"}.mdi-file-music-outline:before{content:"๓ฐธช"}.mdi-file-outline:before{content:"๓ฐˆค"}.mdi-file-pdf-box:before{content:"๓ฐˆฆ"}.mdi-file-percent:before{content:"๓ฐ ž"}.mdi-file-percent-outline:before{content:"๓ฑ€ณ"}.mdi-file-phone:before{content:"๓ฑ…น"}.mdi-file-phone-outline:before{content:"๓ฑ…บ"}.mdi-file-plus:before{content:"๓ฐ’"}.mdi-file-plus-outline:before{content:"๓ฐปญ"}.mdi-file-png-box:before{content:"๓ฐธญ"}.mdi-file-powerpoint:before{content:"๓ฐˆง"}.mdi-file-powerpoint-box:before{content:"๓ฐˆจ"}.mdi-file-powerpoint-box-outline:before{content:"๓ฑ€ด"}.mdi-file-powerpoint-outline:before{content:"๓ฑ€ต"}.mdi-file-presentation-box:before{content:"๓ฐˆฉ"}.mdi-file-question:before{content:"๓ฐกฏ"}.mdi-file-question-outline:before{content:"๓ฑ€ถ"}.mdi-file-refresh:before{content:"๓ฐค˜"}.mdi-file-refresh-outline:before{content:"๓ฐ•"}.mdi-file-remove:before{content:"๓ฐฎ˜"}.mdi-file-remove-outline:before{content:"๓ฑ€ท"}.mdi-file-replace:before{content:"๓ฐฌฒ"}.mdi-file-replace-outline:before{content:"๓ฐฌณ"}.mdi-file-restore:before{content:"๓ฐ™ฐ"}.mdi-file-restore-outline:before{content:"๓ฑ€ธ"}.mdi-file-rotate-left:before{content:"๓ฑจป"}.mdi-file-rotate-left-outline:before{content:"๓ฑจผ"}.mdi-file-rotate-right:before{content:"๓ฑจฝ"}.mdi-file-rotate-right-outline:before{content:"๓ฑจพ"}.mdi-file-search:before{content:"๓ฐฑผ"}.mdi-file-search-outline:before{content:"๓ฐฑฝ"}.mdi-file-send:before{content:"๓ฐˆช"}.mdi-file-send-outline:before{content:"๓ฑ€น"}.mdi-file-settings:before{content:"๓ฑน"}.mdi-file-settings-outline:before{content:"๓ฑบ"}.mdi-file-sign:before{content:"๓ฑงƒ"}.mdi-file-star:before{content:"๓ฑ€บ"}.mdi-file-star-four-points:before{content:"๓ฑฐญ"}.mdi-file-star-four-points-outline:before{content:"๓ฑฐฎ"}.mdi-file-star-outline:before{content:"๓ฑ€ป"}.mdi-file-swap:before{content:"๓ฐพด"}.mdi-file-swap-outline:before{content:"๓ฐพต"}.mdi-file-sync:before{content:"๓ฑˆ–"}.mdi-file-sync-outline:before{content:"๓ฑˆ—"}.mdi-file-table:before{content:"๓ฐฑพ"}.mdi-file-table-box:before{content:"๓ฑƒก"}.mdi-file-table-box-multiple:before{content:"๓ฑƒข"}.mdi-file-table-box-multiple-outline:before{content:"๓ฑƒฃ"}.mdi-file-table-box-outline:before{content:"๓ฑƒค"}.mdi-file-table-outline:before{content:"๓ฐฑฟ"}.mdi-file-tree:before{content:"๓ฐ™…"}.mdi-file-tree-outline:before{content:"๓ฑ’"}.mdi-file-undo:before{content:"๓ฐฃœ"}.mdi-file-undo-outline:before{content:"๓ฑ€ผ"}.mdi-file-upload:before{content:"๓ฐฉ"}.mdi-file-upload-outline:before{content:"๓ฐฉŽ"}.mdi-file-video:before{content:"๓ฐˆซ"}.mdi-file-video-outline:before{content:"๓ฐธฌ"}.mdi-file-word:before{content:"๓ฐˆฌ"}.mdi-file-word-box:before{content:"๓ฐˆญ"}.mdi-file-word-box-outline:before{content:"๓ฑ€ฝ"}.mdi-file-word-outline:before{content:"๓ฑ€พ"}.mdi-file-xml-box:before{content:"๓ฑญ‹"}.mdi-film:before{content:"๓ฐˆฏ"}.mdi-filmstrip:before{content:"๓ฐˆฐ"}.mdi-filmstrip-box:before{content:"๓ฐŒฒ"}.mdi-filmstrip-box-multiple:before{content:"๓ฐด˜"}.mdi-filmstrip-off:before{content:"๓ฐˆฑ"}.mdi-filter:before{content:"๓ฐˆฒ"}.mdi-filter-check:before{content:"๓ฑฃฌ"}.mdi-filter-check-outline:before{content:"๓ฑฃญ"}.mdi-filter-cog:before{content:"๓ฑชฃ"}.mdi-filter-cog-outline:before{content:"๓ฑชค"}.mdi-filter-menu:before{content:"๓ฑƒฅ"}.mdi-filter-menu-outline:before{content:"๓ฑƒฆ"}.mdi-filter-minus:before{content:"๓ฐปฎ"}.mdi-filter-minus-outline:before{content:"๓ฐปฏ"}.mdi-filter-multiple:before{content:"๓ฑจฟ"}.mdi-filter-multiple-outline:before{content:"๓ฑฉ€"}.mdi-filter-off:before{content:"๓ฑ“ฏ"}.mdi-filter-off-outline:before{content:"๓ฑ“ฐ"}.mdi-filter-outline:before{content:"๓ฐˆณ"}.mdi-filter-plus:before{content:"๓ฐปฐ"}.mdi-filter-plus-outline:before{content:"๓ฐปฑ"}.mdi-filter-remove:before{content:"๓ฐˆด"}.mdi-filter-remove-outline:before{content:"๓ฐˆต"}.mdi-filter-settings:before{content:"๓ฑชฅ"}.mdi-filter-settings-outline:before{content:"๓ฑชฆ"}.mdi-filter-variant:before{content:"๓ฐˆถ"}.mdi-filter-variant-minus:before{content:"๓ฑ„’"}.mdi-filter-variant-plus:before{content:"๓ฑ„“"}.mdi-filter-variant-remove:before{content:"๓ฑ€ฟ"}.mdi-finance:before{content:"๓ฐ Ÿ"}.mdi-find-replace:before{content:"๓ฐ›”"}.mdi-fingerprint:before{content:"๓ฐˆท"}.mdi-fingerprint-off:before{content:"๓ฐบฑ"}.mdi-fire:before{content:"๓ฐˆธ"}.mdi-fire-alert:before{content:"๓ฑ——"}.mdi-fire-circle:before{content:"๓ฑ ‡"}.mdi-fire-extinguisher:before{content:"๓ฐปฒ"}.mdi-fire-hydrant:before{content:"๓ฑ„ท"}.mdi-fire-hydrant-alert:before{content:"๓ฑ„ธ"}.mdi-fire-hydrant-off:before{content:"๓ฑ„น"}.mdi-fire-off:before{content:"๓ฑœข"}.mdi-fire-truck:before{content:"๓ฐขซ"}.mdi-firebase:before{content:"๓ฐฅง"}.mdi-firefox:before{content:"๓ฐˆน"}.mdi-fireplace:before{content:"๓ฐธฎ"}.mdi-fireplace-off:before{content:"๓ฐธฏ"}.mdi-firewire:before{content:"๓ฐ–พ"}.mdi-firework:before{content:"๓ฐธฐ"}.mdi-firework-off:before{content:"๓ฑœฃ"}.mdi-fish:before{content:"๓ฐˆบ"}.mdi-fish-off:before{content:"๓ฑณ"}.mdi-fishbowl:before{content:"๓ฐปณ"}.mdi-fishbowl-outline:before{content:"๓ฐปด"}.mdi-fit-to-page:before{content:"๓ฐปต"}.mdi-fit-to-page-outline:before{content:"๓ฐปถ"}.mdi-fit-to-screen:before{content:"๓ฑฃด"}.mdi-fit-to-screen-outline:before{content:"๓ฑฃต"}.mdi-flag:before{content:"๓ฐˆป"}.mdi-flag-checkered:before{content:"๓ฐˆผ"}.mdi-flag-minus:before{content:"๓ฐฎ™"}.mdi-flag-minus-outline:before{content:"๓ฑ‚ฒ"}.mdi-flag-off:before{content:"๓ฑฃฎ"}.mdi-flag-off-outline:before{content:"๓ฑฃฏ"}.mdi-flag-outline:before{content:"๓ฐˆฝ"}.mdi-flag-plus:before{content:"๓ฐฎš"}.mdi-flag-plus-outline:before{content:"๓ฑ‚ณ"}.mdi-flag-remove:before{content:"๓ฐฎ›"}.mdi-flag-remove-outline:before{content:"๓ฑ‚ด"}.mdi-flag-triangle:before{content:"๓ฐˆฟ"}.mdi-flag-variant:before{content:"๓ฐ‰€"}.mdi-flag-variant-minus:before{content:"๓ฑฎด"}.mdi-flag-variant-minus-outline:before{content:"๓ฑฎต"}.mdi-flag-variant-off:before{content:"๓ฑฎฐ"}.mdi-flag-variant-off-outline:before{content:"๓ฑฎฑ"}.mdi-flag-variant-outline:before{content:"๓ฐˆพ"}.mdi-flag-variant-plus:before{content:"๓ฑฎฒ"}.mdi-flag-variant-plus-outline:before{content:"๓ฑฎณ"}.mdi-flag-variant-remove:before{content:"๓ฑฎถ"}.mdi-flag-variant-remove-outline:before{content:"๓ฑฎท"}.mdi-flare:before{content:"๓ฐตฒ"}.mdi-flash:before{content:"๓ฐ‰"}.mdi-flash-alert:before{content:"๓ฐปท"}.mdi-flash-alert-outline:before{content:"๓ฐปธ"}.mdi-flash-auto:before{content:"๓ฐ‰‚"}.mdi-flash-off:before{content:"๓ฐ‰ƒ"}.mdi-flash-off-outline:before{content:"๓ฑญ…"}.mdi-flash-outline:before{content:"๓ฐ›•"}.mdi-flash-red-eye:before{content:"๓ฐ™ป"}.mdi-flash-triangle:before{content:"๓ฑฌ"}.mdi-flash-triangle-outline:before{content:"๓ฑฌž"}.mdi-flashlight:before{content:"๓ฐ‰„"}.mdi-flashlight-off:before{content:"๓ฐ‰…"}.mdi-flask:before{content:"๓ฐ‚“"}.mdi-flask-empty:before{content:"๓ฐ‚”"}.mdi-flask-empty-minus:before{content:"๓ฑˆบ"}.mdi-flask-empty-minus-outline:before{content:"๓ฑˆป"}.mdi-flask-empty-off:before{content:"๓ฑด"}.mdi-flask-empty-off-outline:before{content:"๓ฑต"}.mdi-flask-empty-outline:before{content:"๓ฐ‚•"}.mdi-flask-empty-plus:before{content:"๓ฑˆผ"}.mdi-flask-empty-plus-outline:before{content:"๓ฑˆฝ"}.mdi-flask-empty-remove:before{content:"๓ฑˆพ"}.mdi-flask-empty-remove-outline:before{content:"๓ฑˆฟ"}.mdi-flask-minus:before{content:"๓ฑ‰€"}.mdi-flask-minus-outline:before{content:"๓ฑ‰"}.mdi-flask-off:before{content:"๓ฑถ"}.mdi-flask-off-outline:before{content:"๓ฑท"}.mdi-flask-outline:before{content:"๓ฐ‚–"}.mdi-flask-plus:before{content:"๓ฑ‰‚"}.mdi-flask-plus-outline:before{content:"๓ฑ‰ƒ"}.mdi-flask-remove:before{content:"๓ฑ‰„"}.mdi-flask-remove-outline:before{content:"๓ฑ‰…"}.mdi-flask-round-bottom:before{content:"๓ฑ‰‹"}.mdi-flask-round-bottom-empty:before{content:"๓ฑ‰Œ"}.mdi-flask-round-bottom-empty-outline:before{content:"๓ฑ‰"}.mdi-flask-round-bottom-outline:before{content:"๓ฑ‰Ž"}.mdi-fleur-de-lis:before{content:"๓ฑŒƒ"}.mdi-flip-horizontal:before{content:"๓ฑƒง"}.mdi-flip-to-back:before{content:"๓ฐ‰‡"}.mdi-flip-to-front:before{content:"๓ฐ‰ˆ"}.mdi-flip-vertical:before{content:"๓ฑƒจ"}.mdi-floor-lamp:before{content:"๓ฐฃ"}.mdi-floor-lamp-dual:before{content:"๓ฑ€"}.mdi-floor-lamp-dual-outline:before{content:"๓ฑŸŽ"}.mdi-floor-lamp-outline:before{content:"๓ฑŸˆ"}.mdi-floor-lamp-torchiere:before{content:"๓ฑ‡"}.mdi-floor-lamp-torchiere-outline:before{content:"๓ฑŸ–"}.mdi-floor-lamp-torchiere-variant:before{content:"๓ฑ"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"๓ฑŸ"}.mdi-floor-plan:before{content:"๓ฐ ก"}.mdi-floppy:before{content:"๓ฐ‰‰"}.mdi-floppy-variant:before{content:"๓ฐงฏ"}.mdi-flower:before{content:"๓ฐ‰Š"}.mdi-flower-outline:before{content:"๓ฐงฐ"}.mdi-flower-pollen:before{content:"๓ฑข…"}.mdi-flower-pollen-outline:before{content:"๓ฑข†"}.mdi-flower-poppy:before{content:"๓ฐดˆ"}.mdi-flower-tulip:before{content:"๓ฐงฑ"}.mdi-flower-tulip-outline:before{content:"๓ฐงฒ"}.mdi-focus-auto:before{content:"๓ฐฝŽ"}.mdi-focus-field:before{content:"๓ฐฝ"}.mdi-focus-field-horizontal:before{content:"๓ฐฝ"}.mdi-focus-field-vertical:before{content:"๓ฐฝ‘"}.mdi-folder:before{content:"๓ฐ‰‹"}.mdi-folder-account:before{content:"๓ฐ‰Œ"}.mdi-folder-account-outline:before{content:"๓ฐฎœ"}.mdi-folder-alert:before{content:"๓ฐทŒ"}.mdi-folder-alert-outline:before{content:"๓ฐท"}.mdi-folder-arrow-down:before{content:"๓ฑงจ"}.mdi-folder-arrow-down-outline:before{content:"๓ฑงฉ"}.mdi-folder-arrow-left:before{content:"๓ฑงช"}.mdi-folder-arrow-left-outline:before{content:"๓ฑงซ"}.mdi-folder-arrow-left-right:before{content:"๓ฑงฌ"}.mdi-folder-arrow-left-right-outline:before{content:"๓ฑงญ"}.mdi-folder-arrow-right:before{content:"๓ฑงฎ"}.mdi-folder-arrow-right-outline:before{content:"๓ฑงฏ"}.mdi-folder-arrow-up:before{content:"๓ฑงฐ"}.mdi-folder-arrow-up-down:before{content:"๓ฑงฑ"}.mdi-folder-arrow-up-down-outline:before{content:"๓ฑงฒ"}.mdi-folder-arrow-up-outline:before{content:"๓ฑงณ"}.mdi-folder-cancel:before{content:"๓ฑงด"}.mdi-folder-cancel-outline:before{content:"๓ฑงต"}.mdi-folder-check:before{content:"๓ฑฅพ"}.mdi-folder-check-outline:before{content:"๓ฑฅฟ"}.mdi-folder-clock:before{content:"๓ฐชบ"}.mdi-folder-clock-outline:before{content:"๓ฐชป"}.mdi-folder-cog:before{content:"๓ฑฟ"}.mdi-folder-cog-outline:before{content:"๓ฑ‚€"}.mdi-folder-download:before{content:"๓ฐ‰"}.mdi-folder-download-outline:before{content:"๓ฑƒฉ"}.mdi-folder-edit:before{content:"๓ฐฃž"}.mdi-folder-edit-outline:before{content:"๓ฐทŽ"}.mdi-folder-eye:before{content:"๓ฑžŠ"}.mdi-folder-eye-outline:before{content:"๓ฑž‹"}.mdi-folder-file:before{content:"๓ฑงถ"}.mdi-folder-file-outline:before{content:"๓ฑงท"}.mdi-folder-google-drive:before{content:"๓ฐ‰Ž"}.mdi-folder-heart:before{content:"๓ฑƒช"}.mdi-folder-heart-outline:before{content:"๓ฑƒซ"}.mdi-folder-hidden:before{content:"๓ฑžž"}.mdi-folder-home:before{content:"๓ฑ‚ต"}.mdi-folder-home-outline:before{content:"๓ฑ‚ถ"}.mdi-folder-image:before{content:"๓ฐ‰"}.mdi-folder-information:before{content:"๓ฑ‚ท"}.mdi-folder-information-outline:before{content:"๓ฑ‚ธ"}.mdi-folder-key:before{content:"๓ฐขฌ"}.mdi-folder-key-network:before{content:"๓ฐขญ"}.mdi-folder-key-network-outline:before{content:"๓ฐฒ€"}.mdi-folder-key-outline:before{content:"๓ฑƒฌ"}.mdi-folder-lock:before{content:"๓ฐ‰"}.mdi-folder-lock-open:before{content:"๓ฐ‰‘"}.mdi-folder-lock-open-outline:before{content:"๓ฑชง"}.mdi-folder-lock-outline:before{content:"๓ฑชจ"}.mdi-folder-marker:before{content:"๓ฑ‰ญ"}.mdi-folder-marker-outline:before{content:"๓ฑ‰ฎ"}.mdi-folder-minus:before{content:"๓ฑญ‰"}.mdi-folder-minus-outline:before{content:"๓ฑญŠ"}.mdi-folder-move:before{content:"๓ฐ‰’"}.mdi-folder-move-outline:before{content:"๓ฑ‰†"}.mdi-folder-multiple:before{content:"๓ฐ‰“"}.mdi-folder-multiple-image:before{content:"๓ฐ‰”"}.mdi-folder-multiple-outline:before{content:"๓ฐ‰•"}.mdi-folder-multiple-plus:before{content:"๓ฑ‘พ"}.mdi-folder-multiple-plus-outline:before{content:"๓ฑ‘ฟ"}.mdi-folder-music:before{content:"๓ฑ™"}.mdi-folder-music-outline:before{content:"๓ฑš"}.mdi-folder-network:before{content:"๓ฐกฐ"}.mdi-folder-network-outline:before{content:"๓ฐฒ"}.mdi-folder-off:before{content:"๓ฑงธ"}.mdi-folder-off-outline:before{content:"๓ฑงน"}.mdi-folder-open:before{content:"๓ฐฐ"}.mdi-folder-open-outline:before{content:"๓ฐท"}.mdi-folder-outline:before{content:"๓ฐ‰–"}.mdi-folder-play:before{content:"๓ฑงบ"}.mdi-folder-play-outline:before{content:"๓ฑงป"}.mdi-folder-plus:before{content:"๓ฐ‰—"}.mdi-folder-plus-outline:before{content:"๓ฐฎ"}.mdi-folder-pound:before{content:"๓ฐด‰"}.mdi-folder-pound-outline:before{content:"๓ฐดŠ"}.mdi-folder-question:before{content:"๓ฑงŠ"}.mdi-folder-question-outline:before{content:"๓ฑง‹"}.mdi-folder-refresh:before{content:"๓ฐ‰"}.mdi-folder-refresh-outline:before{content:"๓ฐ•‚"}.mdi-folder-remove:before{content:"๓ฐ‰˜"}.mdi-folder-remove-outline:before{content:"๓ฐฎž"}.mdi-folder-search:before{content:"๓ฐฅจ"}.mdi-folder-search-outline:before{content:"๓ฐฅฉ"}.mdi-folder-settings:before{content:"๓ฑฝ"}.mdi-folder-settings-outline:before{content:"๓ฑพ"}.mdi-folder-star:before{content:"๓ฐš"}.mdi-folder-star-multiple:before{content:"๓ฑ“"}.mdi-folder-star-multiple-outline:before{content:"๓ฑ”"}.mdi-folder-star-outline:before{content:"๓ฐฎŸ"}.mdi-folder-swap:before{content:"๓ฐพถ"}.mdi-folder-swap-outline:before{content:"๓ฐพท"}.mdi-folder-sync:before{content:"๓ฐด‹"}.mdi-folder-sync-outline:before{content:"๓ฐดŒ"}.mdi-folder-table:before{content:"๓ฑ‹ฃ"}.mdi-folder-table-outline:before{content:"๓ฑ‹ค"}.mdi-folder-text:before{content:"๓ฐฒ‚"}.mdi-folder-text-outline:before{content:"๓ฐฒƒ"}.mdi-folder-upload:before{content:"๓ฐ‰™"}.mdi-folder-upload-outline:before{content:"๓ฑƒญ"}.mdi-folder-wrench:before{content:"๓ฑงผ"}.mdi-folder-wrench-outline:before{content:"๓ฑงฝ"}.mdi-folder-zip:before{content:"๓ฐ›ซ"}.mdi-folder-zip-outline:before{content:"๓ฐžน"}.mdi-font-awesome:before{content:"๓ฐ€บ"}.mdi-food:before{content:"๓ฐ‰š"}.mdi-food-apple:before{content:"๓ฐ‰›"}.mdi-food-apple-outline:before{content:"๓ฐฒ„"}.mdi-food-croissant:before{content:"๓ฐŸˆ"}.mdi-food-drumstick:before{content:"๓ฑŸ"}.mdi-food-drumstick-off:before{content:"๓ฑ‘จ"}.mdi-food-drumstick-off-outline:before{content:"๓ฑ‘ฉ"}.mdi-food-drumstick-outline:before{content:"๓ฑ "}.mdi-food-fork-drink:before{content:"๓ฐ—ฒ"}.mdi-food-halal:before{content:"๓ฑ•ฒ"}.mdi-food-hot-dog:before{content:"๓ฑก‹"}.mdi-food-kosher:before{content:"๓ฑ•ณ"}.mdi-food-off:before{content:"๓ฐ—ณ"}.mdi-food-off-outline:before{content:"๓ฑค•"}.mdi-food-outline:before{content:"๓ฑค–"}.mdi-food-steak:before{content:"๓ฑ‘ช"}.mdi-food-steak-off:before{content:"๓ฑ‘ซ"}.mdi-food-takeout-box:before{content:"๓ฑ ถ"}.mdi-food-takeout-box-outline:before{content:"๓ฑ ท"}.mdi-food-turkey:before{content:"๓ฑœœ"}.mdi-food-variant:before{content:"๓ฐ‰œ"}.mdi-food-variant-off:before{content:"๓ฑฅ"}.mdi-foot-print:before{content:"๓ฐฝ’"}.mdi-football:before{content:"๓ฐ‰"}.mdi-football-australian:before{content:"๓ฐ‰ž"}.mdi-football-helmet:before{content:"๓ฐ‰Ÿ"}.mdi-forest:before{content:"๓ฑข—"}.mdi-forest-outline:before{content:"๓ฑฑฃ"}.mdi-forklift:before{content:"๓ฐŸ‰"}.mdi-form-dropdown:before{content:"๓ฑ€"}.mdi-form-select:before{content:"๓ฑ"}.mdi-form-textarea:before{content:"๓ฑ‚•"}.mdi-form-textbox:before{content:"๓ฐ˜Ž"}.mdi-form-textbox-lock:before{content:"๓ฑ"}.mdi-form-textbox-password:before{content:"๓ฐŸต"}.mdi-format-align-bottom:before{content:"๓ฐ“"}.mdi-format-align-center:before{content:"๓ฐ‰ "}.mdi-format-align-justify:before{content:"๓ฐ‰ก"}.mdi-format-align-left:before{content:"๓ฐ‰ข"}.mdi-format-align-middle:before{content:"๓ฐ”"}.mdi-format-align-right:before{content:"๓ฐ‰ฃ"}.mdi-format-align-top:before{content:"๓ฐ•"}.mdi-format-annotation-minus:before{content:"๓ฐชผ"}.mdi-format-annotation-plus:before{content:"๓ฐ™†"}.mdi-format-bold:before{content:"๓ฐ‰ค"}.mdi-format-clear:before{content:"๓ฐ‰ฅ"}.mdi-format-color-fill:before{content:"๓ฐ‰ฆ"}.mdi-format-color-highlight:before{content:"๓ฐธฑ"}.mdi-format-color-marker-cancel:before{content:"๓ฑŒ“"}.mdi-format-color-text:before{content:"๓ฐšž"}.mdi-format-columns:before{content:"๓ฐฃŸ"}.mdi-format-float-center:before{content:"๓ฐ‰ง"}.mdi-format-float-left:before{content:"๓ฐ‰จ"}.mdi-format-float-none:before{content:"๓ฐ‰ฉ"}.mdi-format-float-right:before{content:"๓ฐ‰ช"}.mdi-format-font:before{content:"๓ฐ›–"}.mdi-format-font-size-decrease:before{content:"๓ฐงณ"}.mdi-format-font-size-increase:before{content:"๓ฐงด"}.mdi-format-header-1:before{content:"๓ฐ‰ซ"}.mdi-format-header-2:before{content:"๓ฐ‰ฌ"}.mdi-format-header-3:before{content:"๓ฐ‰ญ"}.mdi-format-header-4:before{content:"๓ฐ‰ฎ"}.mdi-format-header-5:before{content:"๓ฐ‰ฏ"}.mdi-format-header-6:before{content:"๓ฐ‰ฐ"}.mdi-format-header-decrease:before{content:"๓ฐ‰ฑ"}.mdi-format-header-equal:before{content:"๓ฐ‰ฒ"}.mdi-format-header-increase:before{content:"๓ฐ‰ณ"}.mdi-format-header-pound:before{content:"๓ฐ‰ด"}.mdi-format-horizontal-align-center:before{content:"๓ฐ˜ž"}.mdi-format-horizontal-align-left:before{content:"๓ฐ˜Ÿ"}.mdi-format-horizontal-align-right:before{content:"๓ฐ˜ "}.mdi-format-indent-decrease:before{content:"๓ฐ‰ต"}.mdi-format-indent-increase:before{content:"๓ฐ‰ถ"}.mdi-format-italic:before{content:"๓ฐ‰ท"}.mdi-format-letter-case:before{content:"๓ฐฌด"}.mdi-format-letter-case-lower:before{content:"๓ฐฌต"}.mdi-format-letter-case-upper:before{content:"๓ฐฌถ"}.mdi-format-letter-ends-with:before{content:"๓ฐพธ"}.mdi-format-letter-matches:before{content:"๓ฐพน"}.mdi-format-letter-spacing:before{content:"๓ฑฅ–"}.mdi-format-letter-spacing-variant:before{content:"๓ฑซป"}.mdi-format-letter-starts-with:before{content:"๓ฐพบ"}.mdi-format-line-height:before{content:"๓ฑซผ"}.mdi-format-line-spacing:before{content:"๓ฐ‰ธ"}.mdi-format-line-style:before{content:"๓ฐ—ˆ"}.mdi-format-line-weight:before{content:"๓ฐ—‰"}.mdi-format-list-bulleted:before{content:"๓ฐ‰น"}.mdi-format-list-bulleted-square:before{content:"๓ฐท"}.mdi-format-list-bulleted-triangle:before{content:"๓ฐบฒ"}.mdi-format-list-bulleted-type:before{content:"๓ฐ‰บ"}.mdi-format-list-checkbox:before{content:"๓ฐฅช"}.mdi-format-list-checks:before{content:"๓ฐ–"}.mdi-format-list-group:before{content:"๓ฑก "}.mdi-format-list-group-plus:before{content:"๓ฑญ–"}.mdi-format-list-numbered:before{content:"๓ฐ‰ป"}.mdi-format-list-numbered-rtl:before{content:"๓ฐด"}.mdi-format-list-text:before{content:"๓ฑ‰ฏ"}.mdi-format-overline:before{content:"๓ฐบณ"}.mdi-format-page-break:before{content:"๓ฐ›—"}.mdi-format-page-split:before{content:"๓ฑค—"}.mdi-format-paint:before{content:"๓ฐ‰ผ"}.mdi-format-paragraph:before{content:"๓ฐ‰ฝ"}.mdi-format-paragraph-spacing:before{content:"๓ฑซฝ"}.mdi-format-pilcrow:before{content:"๓ฐ›˜"}.mdi-format-pilcrow-arrow-left:before{content:"๓ฐŠ†"}.mdi-format-pilcrow-arrow-right:before{content:"๓ฐŠ…"}.mdi-format-quote-close:before{content:"๓ฐ‰พ"}.mdi-format-quote-close-outline:before{content:"๓ฑ†จ"}.mdi-format-quote-open:before{content:"๓ฐ—"}.mdi-format-quote-open-outline:before{content:"๓ฑ†ง"}.mdi-format-rotate-90:before{content:"๓ฐšช"}.mdi-format-section:before{content:"๓ฐšŸ"}.mdi-format-size:before{content:"๓ฐ‰ฟ"}.mdi-format-strikethrough:before{content:"๓ฐŠ€"}.mdi-format-strikethrough-variant:before{content:"๓ฐŠ"}.mdi-format-subscript:before{content:"๓ฐŠ‚"}.mdi-format-superscript:before{content:"๓ฐŠƒ"}.mdi-format-text:before{content:"๓ฐŠ„"}.mdi-format-text-rotation-angle-down:before{content:"๓ฐพป"}.mdi-format-text-rotation-angle-up:before{content:"๓ฐพผ"}.mdi-format-text-rotation-down:before{content:"๓ฐตณ"}.mdi-format-text-rotation-down-vertical:before{content:"๓ฐพฝ"}.mdi-format-text-rotation-none:before{content:"๓ฐตด"}.mdi-format-text-rotation-up:before{content:"๓ฐพพ"}.mdi-format-text-rotation-vertical:before{content:"๓ฐพฟ"}.mdi-format-text-variant:before{content:"๓ฐธฒ"}.mdi-format-text-variant-outline:before{content:"๓ฑ”"}.mdi-format-text-wrapping-clip:before{content:"๓ฐดŽ"}.mdi-format-text-wrapping-overflow:before{content:"๓ฐด"}.mdi-format-text-wrapping-wrap:before{content:"๓ฐด"}.mdi-format-textbox:before{content:"๓ฐด‘"}.mdi-format-title:before{content:"๓ฐ—ด"}.mdi-format-underline:before{content:"๓ฐŠ‡"}.mdi-format-underline-wavy:before{content:"๓ฑฃฉ"}.mdi-format-vertical-align-bottom:before{content:"๓ฐ˜ก"}.mdi-format-vertical-align-center:before{content:"๓ฐ˜ข"}.mdi-format-vertical-align-top:before{content:"๓ฐ˜ฃ"}.mdi-format-wrap-inline:before{content:"๓ฐŠˆ"}.mdi-format-wrap-square:before{content:"๓ฐŠ‰"}.mdi-format-wrap-tight:before{content:"๓ฐŠŠ"}.mdi-format-wrap-top-bottom:before{content:"๓ฐŠ‹"}.mdi-forum:before{content:"๓ฐŠŒ"}.mdi-forum-minus:before{content:"๓ฑชฉ"}.mdi-forum-minus-outline:before{content:"๓ฑชช"}.mdi-forum-outline:before{content:"๓ฐ ข"}.mdi-forum-plus:before{content:"๓ฑชซ"}.mdi-forum-plus-outline:before{content:"๓ฑชฌ"}.mdi-forum-remove:before{content:"๓ฑชญ"}.mdi-forum-remove-outline:before{content:"๓ฑชฎ"}.mdi-forward:before{content:"๓ฐŠ"}.mdi-forwardburger:before{content:"๓ฐตต"}.mdi-fountain:before{content:"๓ฐฅซ"}.mdi-fountain-pen:before{content:"๓ฐด’"}.mdi-fountain-pen-tip:before{content:"๓ฐด“"}.mdi-fraction-one-half:before{content:"๓ฑฆ’"}.mdi-freebsd:before{content:"๓ฐฃ "}.mdi-french-fries:before{content:"๓ฑฅ—"}.mdi-frequently-asked-questions:before{content:"๓ฐบด"}.mdi-fridge:before{content:"๓ฐŠ"}.mdi-fridge-alert:before{content:"๓ฑ†ฑ"}.mdi-fridge-alert-outline:before{content:"๓ฑ†ฒ"}.mdi-fridge-bottom:before{content:"๓ฐŠ’"}.mdi-fridge-industrial:before{content:"๓ฑ—ฎ"}.mdi-fridge-industrial-alert:before{content:"๓ฑ—ฏ"}.mdi-fridge-industrial-alert-outline:before{content:"๓ฑ—ฐ"}.mdi-fridge-industrial-off:before{content:"๓ฑ—ฑ"}.mdi-fridge-industrial-off-outline:before{content:"๓ฑ—ฒ"}.mdi-fridge-industrial-outline:before{content:"๓ฑ—ณ"}.mdi-fridge-off:before{content:"๓ฑ†ฏ"}.mdi-fridge-off-outline:before{content:"๓ฑ†ฐ"}.mdi-fridge-outline:before{content:"๓ฐŠ"}.mdi-fridge-top:before{content:"๓ฐŠ‘"}.mdi-fridge-variant:before{content:"๓ฑ—ด"}.mdi-fridge-variant-alert:before{content:"๓ฑ—ต"}.mdi-fridge-variant-alert-outline:before{content:"๓ฑ—ถ"}.mdi-fridge-variant-off:before{content:"๓ฑ—ท"}.mdi-fridge-variant-off-outline:before{content:"๓ฑ—ธ"}.mdi-fridge-variant-outline:before{content:"๓ฑ—น"}.mdi-fruit-cherries:before{content:"๓ฑ‚"}.mdi-fruit-cherries-off:before{content:"๓ฑธ"}.mdi-fruit-citrus:before{content:"๓ฑƒ"}.mdi-fruit-citrus-off:before{content:"๓ฑน"}.mdi-fruit-grapes:before{content:"๓ฑ„"}.mdi-fruit-grapes-outline:before{content:"๓ฑ…"}.mdi-fruit-pear:before{content:"๓ฑจŽ"}.mdi-fruit-pineapple:before{content:"๓ฑ†"}.mdi-fruit-watermelon:before{content:"๓ฑ‡"}.mdi-fuel:before{content:"๓ฐŸŠ"}.mdi-fuel-cell:before{content:"๓ฑขต"}.mdi-fullscreen:before{content:"๓ฐŠ“"}.mdi-fullscreen-exit:before{content:"๓ฐŠ”"}.mdi-function:before{content:"๓ฐŠ•"}.mdi-function-variant:before{content:"๓ฐกฑ"}.mdi-furigana-horizontal:before{content:"๓ฑ‚"}.mdi-furigana-vertical:before{content:"๓ฑ‚‚"}.mdi-fuse:before{content:"๓ฐฒ…"}.mdi-fuse-alert:before{content:"๓ฑญ"}.mdi-fuse-blade:before{content:"๓ฐฒ†"}.mdi-fuse-off:before{content:"๓ฑฌ"}.mdi-gamepad:before{content:"๓ฐŠ–"}.mdi-gamepad-circle:before{content:"๓ฐธณ"}.mdi-gamepad-circle-down:before{content:"๓ฐธด"}.mdi-gamepad-circle-left:before{content:"๓ฐธต"}.mdi-gamepad-circle-outline:before{content:"๓ฐธถ"}.mdi-gamepad-circle-right:before{content:"๓ฐธท"}.mdi-gamepad-circle-up:before{content:"๓ฐธธ"}.mdi-gamepad-down:before{content:"๓ฐธน"}.mdi-gamepad-left:before{content:"๓ฐธบ"}.mdi-gamepad-outline:before{content:"๓ฑค™"}.mdi-gamepad-right:before{content:"๓ฐธป"}.mdi-gamepad-round:before{content:"๓ฐธผ"}.mdi-gamepad-round-down:before{content:"๓ฐธฝ"}.mdi-gamepad-round-left:before{content:"๓ฐธพ"}.mdi-gamepad-round-outline:before{content:"๓ฐธฟ"}.mdi-gamepad-round-right:before{content:"๓ฐน€"}.mdi-gamepad-round-up:before{content:"๓ฐน"}.mdi-gamepad-square:before{content:"๓ฐบต"}.mdi-gamepad-square-outline:before{content:"๓ฐบถ"}.mdi-gamepad-up:before{content:"๓ฐน‚"}.mdi-gamepad-variant:before{content:"๓ฐŠ—"}.mdi-gamepad-variant-outline:before{content:"๓ฐบท"}.mdi-gamma:before{content:"๓ฑƒฎ"}.mdi-gantry-crane:before{content:"๓ฐท‘"}.mdi-garage:before{content:"๓ฐ›™"}.mdi-garage-alert:before{content:"๓ฐกฒ"}.mdi-garage-alert-variant:before{content:"๓ฑ‹•"}.mdi-garage-lock:before{content:"๓ฑŸป"}.mdi-garage-open:before{content:"๓ฐ›š"}.mdi-garage-open-variant:before{content:"๓ฑ‹”"}.mdi-garage-variant:before{content:"๓ฑ‹“"}.mdi-garage-variant-lock:before{content:"๓ฑŸผ"}.mdi-gas-burner:before{content:"๓ฑจ›"}.mdi-gas-cylinder:before{content:"๓ฐ™‡"}.mdi-gas-station:before{content:"๓ฐŠ˜"}.mdi-gas-station-off:before{content:"๓ฑ‰"}.mdi-gas-station-off-outline:before{content:"๓ฑŠ"}.mdi-gas-station-outline:before{content:"๓ฐบธ"}.mdi-gate:before{content:"๓ฐŠ™"}.mdi-gate-alert:before{content:"๓ฑŸธ"}.mdi-gate-and:before{content:"๓ฐฃก"}.mdi-gate-arrow-left:before{content:"๓ฑŸท"}.mdi-gate-arrow-right:before{content:"๓ฑ…ฉ"}.mdi-gate-buffer:before{content:"๓ฑซพ"}.mdi-gate-nand:before{content:"๓ฐฃข"}.mdi-gate-nor:before{content:"๓ฐฃฃ"}.mdi-gate-not:before{content:"๓ฐฃค"}.mdi-gate-open:before{content:"๓ฑ…ช"}.mdi-gate-or:before{content:"๓ฐฃฅ"}.mdi-gate-xnor:before{content:"๓ฐฃฆ"}.mdi-gate-xor:before{content:"๓ฐฃง"}.mdi-gatsby:before{content:"๓ฐนƒ"}.mdi-gauge:before{content:"๓ฐŠš"}.mdi-gauge-empty:before{content:"๓ฐกณ"}.mdi-gauge-full:before{content:"๓ฐกด"}.mdi-gauge-low:before{content:"๓ฐกต"}.mdi-gavel:before{content:"๓ฐŠ›"}.mdi-gender-female:before{content:"๓ฐŠœ"}.mdi-gender-male:before{content:"๓ฐŠ"}.mdi-gender-male-female:before{content:"๓ฐŠž"}.mdi-gender-male-female-variant:before{content:"๓ฑ„ฟ"}.mdi-gender-non-binary:before{content:"๓ฑ…€"}.mdi-gender-transgender:before{content:"๓ฐŠŸ"}.mdi-gentoo:before{content:"๓ฐฃจ"}.mdi-gesture:before{content:"๓ฐŸ‹"}.mdi-gesture-double-tap:before{content:"๓ฐœผ"}.mdi-gesture-pinch:before{content:"๓ฐชฝ"}.mdi-gesture-spread:before{content:"๓ฐชพ"}.mdi-gesture-swipe:before{content:"๓ฐตถ"}.mdi-gesture-swipe-down:before{content:"๓ฐœฝ"}.mdi-gesture-swipe-horizontal:before{content:"๓ฐชฟ"}.mdi-gesture-swipe-left:before{content:"๓ฐœพ"}.mdi-gesture-swipe-right:before{content:"๓ฐœฟ"}.mdi-gesture-swipe-up:before{content:"๓ฐ€"}.mdi-gesture-swipe-vertical:before{content:"๓ฐซ€"}.mdi-gesture-tap:before{content:"๓ฐ"}.mdi-gesture-tap-box:before{content:"๓ฑŠฉ"}.mdi-gesture-tap-button:before{content:"๓ฑŠจ"}.mdi-gesture-tap-hold:before{content:"๓ฐตท"}.mdi-gesture-two-double-tap:before{content:"๓ฐ‚"}.mdi-gesture-two-tap:before{content:"๓ฐƒ"}.mdi-ghost:before{content:"๓ฐŠ "}.mdi-ghost-off:before{content:"๓ฐงต"}.mdi-ghost-off-outline:before{content:"๓ฑ™œ"}.mdi-ghost-outline:before{content:"๓ฑ™"}.mdi-gift:before{content:"๓ฐน„"}.mdi-gift-off:before{content:"๓ฑ›ฏ"}.mdi-gift-off-outline:before{content:"๓ฑ›ฐ"}.mdi-gift-open:before{content:"๓ฑ›ฑ"}.mdi-gift-open-outline:before{content:"๓ฑ›ฒ"}.mdi-gift-outline:before{content:"๓ฐŠก"}.mdi-git:before{content:"๓ฐŠข"}.mdi-github:before{content:"๓ฐŠค"}.mdi-gitlab:before{content:"๓ฐฎ "}.mdi-glass-cocktail:before{content:"๓ฐ–"}.mdi-glass-cocktail-off:before{content:"๓ฑ—ฆ"}.mdi-glass-flute:before{content:"๓ฐŠฅ"}.mdi-glass-fragile:before{content:"๓ฑกณ"}.mdi-glass-mug:before{content:"๓ฐŠฆ"}.mdi-glass-mug-off:before{content:"๓ฑ—ง"}.mdi-glass-mug-variant:before{content:"๓ฑ„–"}.mdi-glass-mug-variant-off:before{content:"๓ฑ—จ"}.mdi-glass-pint-outline:before{content:"๓ฑŒ"}.mdi-glass-stange:before{content:"๓ฐŠง"}.mdi-glass-tulip:before{content:"๓ฐŠจ"}.mdi-glass-wine:before{content:"๓ฐกถ"}.mdi-glasses:before{content:"๓ฐŠช"}.mdi-globe-light:before{content:"๓ฐ™ฏ"}.mdi-globe-light-outline:before{content:"๓ฑ‹—"}.mdi-globe-model:before{content:"๓ฐฃฉ"}.mdi-gmail:before{content:"๓ฐŠซ"}.mdi-gnome:before{content:"๓ฐŠฌ"}.mdi-go-kart:before{content:"๓ฐตน"}.mdi-go-kart-track:before{content:"๓ฐตบ"}.mdi-gog:before{content:"๓ฐฎก"}.mdi-gold:before{content:"๓ฑ‰"}.mdi-golf:before{content:"๓ฐ ฃ"}.mdi-golf-cart:before{content:"๓ฑ†ค"}.mdi-golf-tee:before{content:"๓ฑ‚ƒ"}.mdi-gondola:before{content:"๓ฐš†"}.mdi-goodreads:before{content:"๓ฐตป"}.mdi-google:before{content:"๓ฐŠญ"}.mdi-google-ads:before{content:"๓ฐฒ‡"}.mdi-google-analytics:before{content:"๓ฐŸŒ"}.mdi-google-assistant:before{content:"๓ฐŸ"}.mdi-google-cardboard:before{content:"๓ฐŠฎ"}.mdi-google-chrome:before{content:"๓ฐŠฏ"}.mdi-google-circles:before{content:"๓ฐŠฐ"}.mdi-google-circles-communities:before{content:"๓ฐŠฑ"}.mdi-google-circles-extended:before{content:"๓ฐŠฒ"}.mdi-google-circles-group:before{content:"๓ฐŠณ"}.mdi-google-classroom:before{content:"๓ฐ‹€"}.mdi-google-cloud:before{content:"๓ฑ‡ถ"}.mdi-google-downasaur:before{content:"๓ฑข"}.mdi-google-drive:before{content:"๓ฐŠถ"}.mdi-google-earth:before{content:"๓ฐŠท"}.mdi-google-fit:before{content:"๓ฐฅฌ"}.mdi-google-glass:before{content:"๓ฐŠธ"}.mdi-google-hangouts:before{content:"๓ฐ‹‰"}.mdi-google-keep:before{content:"๓ฐ›œ"}.mdi-google-lens:before{content:"๓ฐงถ"}.mdi-google-maps:before{content:"๓ฐ—ต"}.mdi-google-my-business:before{content:"๓ฑˆ"}.mdi-google-nearby:before{content:"๓ฐŠน"}.mdi-google-play:before{content:"๓ฐŠผ"}.mdi-google-plus:before{content:"๓ฐŠฝ"}.mdi-google-podcast:before{content:"๓ฐบน"}.mdi-google-spreadsheet:before{content:"๓ฐงท"}.mdi-google-street-view:before{content:"๓ฐฒˆ"}.mdi-google-translate:before{content:"๓ฐŠฟ"}.mdi-gradient-horizontal:before{content:"๓ฑŠ"}.mdi-gradient-vertical:before{content:"๓ฐš "}.mdi-grain:before{content:"๓ฐตผ"}.mdi-graph:before{content:"๓ฑ‰"}.mdi-graph-outline:before{content:"๓ฑŠ"}.mdi-graphql:before{content:"๓ฐกท"}.mdi-grass:before{content:"๓ฑ”"}.mdi-grave-stone:before{content:"๓ฐฎข"}.mdi-grease-pencil:before{content:"๓ฐ™ˆ"}.mdi-greater-than:before{content:"๓ฐฅญ"}.mdi-greater-than-or-equal:before{content:"๓ฐฅฎ"}.mdi-greenhouse:before{content:"๓ฐ€ญ"}.mdi-grid:before{content:"๓ฐ‹"}.mdi-grid-large:before{content:"๓ฐ˜"}.mdi-grid-off:before{content:"๓ฐ‹‚"}.mdi-grill:before{content:"๓ฐน…"}.mdi-grill-outline:before{content:"๓ฑ†Š"}.mdi-group:before{content:"๓ฐ‹ƒ"}.mdi-guitar-acoustic:before{content:"๓ฐฑ"}.mdi-guitar-electric:before{content:"๓ฐ‹„"}.mdi-guitar-pick:before{content:"๓ฐ‹…"}.mdi-guitar-pick-outline:before{content:"๓ฐ‹†"}.mdi-guy-fawkes-mask:before{content:"๓ฐ ฅ"}.mdi-gymnastics:before{content:"๓ฑฉ"}.mdi-hail:before{content:"๓ฐซ"}.mdi-hair-dryer:before{content:"๓ฑƒฏ"}.mdi-hair-dryer-outline:before{content:"๓ฑƒฐ"}.mdi-halloween:before{content:"๓ฐฎฃ"}.mdi-hamburger:before{content:"๓ฐš…"}.mdi-hamburger-check:before{content:"๓ฑถ"}.mdi-hamburger-minus:before{content:"๓ฑท"}.mdi-hamburger-off:before{content:"๓ฑธ"}.mdi-hamburger-plus:before{content:"๓ฑน"}.mdi-hamburger-remove:before{content:"๓ฑบ"}.mdi-hammer:before{content:"๓ฐฃช"}.mdi-hammer-screwdriver:before{content:"๓ฑŒข"}.mdi-hammer-sickle:before{content:"๓ฑข‡"}.mdi-hammer-wrench:before{content:"๓ฑŒฃ"}.mdi-hand-back-left:before{content:"๓ฐน†"}.mdi-hand-back-left-off:before{content:"๓ฑ ฐ"}.mdi-hand-back-left-off-outline:before{content:"๓ฑ ฒ"}.mdi-hand-back-left-outline:before{content:"๓ฑ ฌ"}.mdi-hand-back-right:before{content:"๓ฐน‡"}.mdi-hand-back-right-off:before{content:"๓ฑ ฑ"}.mdi-hand-back-right-off-outline:before{content:"๓ฑ ณ"}.mdi-hand-back-right-outline:before{content:"๓ฑ ญ"}.mdi-hand-clap:before{content:"๓ฑฅ‹"}.mdi-hand-clap-off:before{content:"๓ฑฉ‚"}.mdi-hand-coin:before{content:"๓ฑข"}.mdi-hand-coin-outline:before{content:"๓ฑข"}.mdi-hand-cycle:before{content:"๓ฑฎœ"}.mdi-hand-extended:before{content:"๓ฑขถ"}.mdi-hand-extended-outline:before{content:"๓ฑขท"}.mdi-hand-front-left:before{content:"๓ฑ ซ"}.mdi-hand-front-left-outline:before{content:"๓ฑ ฎ"}.mdi-hand-front-right:before{content:"๓ฐฉ"}.mdi-hand-front-right-outline:before{content:"๓ฑ ฏ"}.mdi-hand-heart:before{content:"๓ฑƒฑ"}.mdi-hand-heart-outline:before{content:"๓ฑ•พ"}.mdi-hand-okay:before{content:"๓ฐฉ"}.mdi-hand-peace:before{content:"๓ฐฉ‘"}.mdi-hand-peace-variant:before{content:"๓ฐฉ’"}.mdi-hand-pointing-down:before{content:"๓ฐฉ“"}.mdi-hand-pointing-left:before{content:"๓ฐฉ”"}.mdi-hand-pointing-right:before{content:"๓ฐ‹‡"}.mdi-hand-pointing-up:before{content:"๓ฐฉ•"}.mdi-hand-saw:before{content:"๓ฐนˆ"}.mdi-hand-wash:before{content:"๓ฑ•ฟ"}.mdi-hand-wash-outline:before{content:"๓ฑ–€"}.mdi-hand-water:before{content:"๓ฑŽŸ"}.mdi-hand-wave:before{content:"๓ฑ ก"}.mdi-hand-wave-outline:before{content:"๓ฑ ข"}.mdi-handball:before{content:"๓ฐฝ“"}.mdi-handcuffs:before{content:"๓ฑ„พ"}.mdi-hands-pray:before{content:"๓ฐ•น"}.mdi-handshake:before{content:"๓ฑˆ˜"}.mdi-handshake-outline:before{content:"๓ฑ–ก"}.mdi-hanger:before{content:"๓ฐ‹ˆ"}.mdi-hard-hat:before{content:"๓ฐฅฏ"}.mdi-harddisk:before{content:"๓ฐ‹Š"}.mdi-harddisk-plus:before{content:"๓ฑ‹"}.mdi-harddisk-remove:before{content:"๓ฑŒ"}.mdi-hat-fedora:before{content:"๓ฐฎค"}.mdi-hazard-lights:before{content:"๓ฐฒ‰"}.mdi-hdmi-port:before{content:"๓ฑฎธ"}.mdi-hdr:before{content:"๓ฐตฝ"}.mdi-hdr-off:before{content:"๓ฐตพ"}.mdi-head:before{content:"๓ฑž"}.mdi-head-alert:before{content:"๓ฑŒธ"}.mdi-head-alert-outline:before{content:"๓ฑŒน"}.mdi-head-check:before{content:"๓ฑŒบ"}.mdi-head-check-outline:before{content:"๓ฑŒป"}.mdi-head-cog:before{content:"๓ฑŒผ"}.mdi-head-cog-outline:before{content:"๓ฑŒฝ"}.mdi-head-dots-horizontal:before{content:"๓ฑŒพ"}.mdi-head-dots-horizontal-outline:before{content:"๓ฑŒฟ"}.mdi-head-flash:before{content:"๓ฑ€"}.mdi-head-flash-outline:before{content:"๓ฑ"}.mdi-head-heart:before{content:"๓ฑ‚"}.mdi-head-heart-outline:before{content:"๓ฑƒ"}.mdi-head-lightbulb:before{content:"๓ฑ„"}.mdi-head-lightbulb-outline:before{content:"๓ฑ…"}.mdi-head-minus:before{content:"๓ฑ†"}.mdi-head-minus-outline:before{content:"๓ฑ‡"}.mdi-head-outline:before{content:"๓ฑŸ"}.mdi-head-plus:before{content:"๓ฑˆ"}.mdi-head-plus-outline:before{content:"๓ฑ‰"}.mdi-head-question:before{content:"๓ฑŠ"}.mdi-head-question-outline:before{content:"๓ฑ‹"}.mdi-head-remove:before{content:"๓ฑŒ"}.mdi-head-remove-outline:before{content:"๓ฑ"}.mdi-head-snowflake:before{content:"๓ฑŽ"}.mdi-head-snowflake-outline:before{content:"๓ฑ"}.mdi-head-sync:before{content:"๓ฑ"}.mdi-head-sync-outline:before{content:"๓ฑ‘"}.mdi-headphones:before{content:"๓ฐ‹‹"}.mdi-headphones-bluetooth:before{content:"๓ฐฅฐ"}.mdi-headphones-box:before{content:"๓ฐ‹Œ"}.mdi-headphones-off:before{content:"๓ฐŸŽ"}.mdi-headphones-settings:before{content:"๓ฐ‹"}.mdi-headset:before{content:"๓ฐ‹Ž"}.mdi-headset-dock:before{content:"๓ฐ‹"}.mdi-headset-off:before{content:"๓ฐ‹"}.mdi-heart:before{content:"๓ฐ‹‘"}.mdi-heart-box:before{content:"๓ฐ‹’"}.mdi-heart-box-outline:before{content:"๓ฐ‹“"}.mdi-heart-broken:before{content:"๓ฐ‹”"}.mdi-heart-broken-outline:before{content:"๓ฐด”"}.mdi-heart-circle:before{content:"๓ฐฅฑ"}.mdi-heart-circle-outline:before{content:"๓ฐฅฒ"}.mdi-heart-cog:before{content:"๓ฑ™ฃ"}.mdi-heart-cog-outline:before{content:"๓ฑ™ค"}.mdi-heart-flash:before{content:"๓ฐปน"}.mdi-heart-half:before{content:"๓ฐ›Ÿ"}.mdi-heart-half-full:before{content:"๓ฐ›ž"}.mdi-heart-half-outline:before{content:"๓ฐ› "}.mdi-heart-minus:before{content:"๓ฑฏ"}.mdi-heart-minus-outline:before{content:"๓ฑฒ"}.mdi-heart-multiple:before{content:"๓ฐฉ–"}.mdi-heart-multiple-outline:before{content:"๓ฐฉ—"}.mdi-heart-off:before{content:"๓ฐ™"}.mdi-heart-off-outline:before{content:"๓ฑด"}.mdi-heart-outline:before{content:"๓ฐ‹•"}.mdi-heart-plus:before{content:"๓ฑฎ"}.mdi-heart-plus-outline:before{content:"๓ฑฑ"}.mdi-heart-pulse:before{content:"๓ฐ—ถ"}.mdi-heart-remove:before{content:"๓ฑฐ"}.mdi-heart-remove-outline:before{content:"๓ฑณ"}.mdi-heart-settings:before{content:"๓ฑ™ฅ"}.mdi-heart-settings-outline:before{content:"๓ฑ™ฆ"}.mdi-heat-pump:before{content:"๓ฑฉƒ"}.mdi-heat-pump-outline:before{content:"๓ฑฉ„"}.mdi-heat-wave:before{content:"๓ฑฉ…"}.mdi-heating-coil:before{content:"๓ฑชฏ"}.mdi-helicopter:before{content:"๓ฐซ‚"}.mdi-help:before{content:"๓ฐ‹–"}.mdi-help-box:before{content:"๓ฐž‹"}.mdi-help-box-multiple:before{content:"๓ฑฐŠ"}.mdi-help-box-multiple-outline:before{content:"๓ฑฐ‹"}.mdi-help-box-outline:before{content:"๓ฑฐŒ"}.mdi-help-circle:before{content:"๓ฐ‹—"}.mdi-help-circle-outline:before{content:"๓ฐ˜ฅ"}.mdi-help-network:before{content:"๓ฐ›ต"}.mdi-help-network-outline:before{content:"๓ฐฒŠ"}.mdi-help-rhombus:before{content:"๓ฐฎฅ"}.mdi-help-rhombus-outline:before{content:"๓ฐฎฆ"}.mdi-hexadecimal:before{content:"๓ฑŠง"}.mdi-hexagon:before{content:"๓ฐ‹˜"}.mdi-hexagon-multiple:before{content:"๓ฐ›ก"}.mdi-hexagon-multiple-outline:before{content:"๓ฑƒฒ"}.mdi-hexagon-outline:before{content:"๓ฐ‹™"}.mdi-hexagon-slice-1:before{content:"๓ฐซƒ"}.mdi-hexagon-slice-2:before{content:"๓ฐซ„"}.mdi-hexagon-slice-3:before{content:"๓ฐซ…"}.mdi-hexagon-slice-4:before{content:"๓ฐซ†"}.mdi-hexagon-slice-5:before{content:"๓ฐซ‡"}.mdi-hexagon-slice-6:before{content:"๓ฐซˆ"}.mdi-hexagram:before{content:"๓ฐซ‰"}.mdi-hexagram-outline:before{content:"๓ฐซŠ"}.mdi-high-definition:before{content:"๓ฐŸ"}.mdi-high-definition-box:before{content:"๓ฐกธ"}.mdi-highway:before{content:"๓ฐ—ท"}.mdi-hiking:before{content:"๓ฐตฟ"}.mdi-history:before{content:"๓ฐ‹š"}.mdi-hockey-puck:before{content:"๓ฐกน"}.mdi-hockey-sticks:before{content:"๓ฐกบ"}.mdi-hololens:before{content:"๓ฐ‹›"}.mdi-home:before{content:"๓ฐ‹œ"}.mdi-home-account:before{content:"๓ฐ ฆ"}.mdi-home-alert:before{content:"๓ฐกป"}.mdi-home-alert-outline:before{content:"๓ฑ—"}.mdi-home-analytics:before{content:"๓ฐบบ"}.mdi-home-assistant:before{content:"๓ฐŸ"}.mdi-home-automation:before{content:"๓ฐŸ‘"}.mdi-home-battery:before{content:"๓ฑค"}.mdi-home-battery-outline:before{content:"๓ฑค‚"}.mdi-home-circle:before{content:"๓ฐŸ’"}.mdi-home-circle-outline:before{content:"๓ฑ"}.mdi-home-city:before{content:"๓ฐด•"}.mdi-home-city-outline:before{content:"๓ฐด–"}.mdi-home-clock:before{content:"๓ฑจ’"}.mdi-home-clock-outline:before{content:"๓ฑจ“"}.mdi-home-edit:before{content:"๓ฑ…™"}.mdi-home-edit-outline:before{content:"๓ฑ…š"}.mdi-home-export-outline:before{content:"๓ฐพ›"}.mdi-home-flood:before{content:"๓ฐปบ"}.mdi-home-floor-0:before{content:"๓ฐท’"}.mdi-home-floor-1:before{content:"๓ฐถ€"}.mdi-home-floor-2:before{content:"๓ฐถ"}.mdi-home-floor-3:before{content:"๓ฐถ‚"}.mdi-home-floor-a:before{content:"๓ฐถƒ"}.mdi-home-floor-b:before{content:"๓ฐถ„"}.mdi-home-floor-g:before{content:"๓ฐถ…"}.mdi-home-floor-l:before{content:"๓ฐถ†"}.mdi-home-floor-negative-1:before{content:"๓ฐท“"}.mdi-home-group:before{content:"๓ฐท”"}.mdi-home-group-minus:before{content:"๓ฑง"}.mdi-home-group-plus:before{content:"๓ฑง€"}.mdi-home-group-remove:before{content:"๓ฑง‚"}.mdi-home-heart:before{content:"๓ฐ ง"}.mdi-home-import-outline:before{content:"๓ฐพœ"}.mdi-home-lightbulb:before{content:"๓ฑ‰‘"}.mdi-home-lightbulb-outline:before{content:"๓ฑ‰’"}.mdi-home-lightning-bolt:before{content:"๓ฑคƒ"}.mdi-home-lightning-bolt-outline:before{content:"๓ฑค„"}.mdi-home-lock:before{content:"๓ฐฃซ"}.mdi-home-lock-open:before{content:"๓ฐฃฌ"}.mdi-home-map-marker:before{content:"๓ฐ—ธ"}.mdi-home-minus:before{content:"๓ฐฅด"}.mdi-home-minus-outline:before{content:"๓ฑ•"}.mdi-home-modern:before{content:"๓ฐ‹"}.mdi-home-off:before{content:"๓ฑฉ†"}.mdi-home-off-outline:before{content:"๓ฑฉ‡"}.mdi-home-outline:before{content:"๓ฐšก"}.mdi-home-percent:before{content:"๓ฑฑผ"}.mdi-home-percent-outline:before{content:"๓ฑฑฝ"}.mdi-home-plus:before{content:"๓ฐฅต"}.mdi-home-plus-outline:before{content:"๓ฑ–"}.mdi-home-remove:before{content:"๓ฑ‰‡"}.mdi-home-remove-outline:before{content:"๓ฑ—"}.mdi-home-roof:before{content:"๓ฑ„ซ"}.mdi-home-search:before{content:"๓ฑŽฐ"}.mdi-home-search-outline:before{content:"๓ฑŽฑ"}.mdi-home-silo:before{content:"๓ฑฎ "}.mdi-home-silo-outline:before{content:"๓ฑฎก"}.mdi-home-sound-in:before{content:"๓ฑฐฏ"}.mdi-home-sound-in-outline:before{content:"๓ฑฐฐ"}.mdi-home-sound-out:before{content:"๓ฑฐฑ"}.mdi-home-sound-out-outline:before{content:"๓ฑฐฒ"}.mdi-home-switch:before{content:"๓ฑž”"}.mdi-home-switch-outline:before{content:"๓ฑž•"}.mdi-home-thermometer:before{content:"๓ฐฝ”"}.mdi-home-thermometer-outline:before{content:"๓ฐฝ•"}.mdi-home-variant:before{content:"๓ฐ‹ž"}.mdi-home-variant-outline:before{content:"๓ฐฎง"}.mdi-hook:before{content:"๓ฐ›ข"}.mdi-hook-off:before{content:"๓ฐ›ฃ"}.mdi-hoop-house:before{content:"๓ฐน–"}.mdi-hops:before{content:"๓ฐ‹Ÿ"}.mdi-horizontal-rotate-clockwise:before{content:"๓ฑƒณ"}.mdi-horizontal-rotate-counterclockwise:before{content:"๓ฑƒด"}.mdi-horse:before{content:"๓ฑ–ฟ"}.mdi-horse-human:before{content:"๓ฑ—€"}.mdi-horse-variant:before{content:"๓ฑ—"}.mdi-horse-variant-fast:before{content:"๓ฑกฎ"}.mdi-horseshoe:before{content:"๓ฐฉ˜"}.mdi-hospital:before{content:"๓ฐฟถ"}.mdi-hospital-box:before{content:"๓ฐ‹ "}.mdi-hospital-box-outline:before{content:"๓ฐฟท"}.mdi-hospital-building:before{content:"๓ฐ‹ก"}.mdi-hospital-marker:before{content:"๓ฐ‹ข"}.mdi-hot-tub:before{content:"๓ฐ จ"}.mdi-hours-24:before{content:"๓ฑ‘ธ"}.mdi-hubspot:before{content:"๓ฐด—"}.mdi-hulu:before{content:"๓ฐ ฉ"}.mdi-human:before{content:"๓ฐ‹ฆ"}.mdi-human-baby-changing-table:before{content:"๓ฑŽ‹"}.mdi-human-cane:before{content:"๓ฑ–"}.mdi-human-capacity-decrease:before{content:"๓ฑ–›"}.mdi-human-capacity-increase:before{content:"๓ฑ–œ"}.mdi-human-child:before{content:"๓ฐ‹ง"}.mdi-human-dolly:before{content:"๓ฑฆ€"}.mdi-human-edit:before{content:"๓ฑ“จ"}.mdi-human-female:before{content:"๓ฐ™‰"}.mdi-human-female-boy:before{content:"๓ฐฉ™"}.mdi-human-female-dance:before{content:"๓ฑ—‰"}.mdi-human-female-female:before{content:"๓ฐฉš"}.mdi-human-female-girl:before{content:"๓ฐฉ›"}.mdi-human-greeting:before{content:"๓ฑŸ„"}.mdi-human-greeting-proximity:before{content:"๓ฑ–"}.mdi-human-greeting-variant:before{content:"๓ฐ™Š"}.mdi-human-handsdown:before{content:"๓ฐ™‹"}.mdi-human-handsup:before{content:"๓ฐ™Œ"}.mdi-human-male:before{content:"๓ฐ™"}.mdi-human-male-board:before{content:"๓ฐข"}.mdi-human-male-board-poll:before{content:"๓ฐก†"}.mdi-human-male-boy:before{content:"๓ฐฉœ"}.mdi-human-male-child:before{content:"๓ฑŽŒ"}.mdi-human-male-female:before{content:"๓ฐ‹จ"}.mdi-human-male-female-child:before{content:"๓ฑ ฃ"}.mdi-human-male-girl:before{content:"๓ฐฉ"}.mdi-human-male-height:before{content:"๓ฐปป"}.mdi-human-male-height-variant:before{content:"๓ฐปผ"}.mdi-human-male-male:before{content:"๓ฐฉž"}.mdi-human-non-binary:before{content:"๓ฑกˆ"}.mdi-human-pregnant:before{content:"๓ฐ—"}.mdi-human-queue:before{content:"๓ฑ•ฑ"}.mdi-human-scooter:before{content:"๓ฑ‡ฉ"}.mdi-human-walker:before{content:"๓ฑญฑ"}.mdi-human-wheelchair:before{content:"๓ฑŽ"}.mdi-human-white-cane:before{content:"๓ฑฆ"}.mdi-humble-bundle:before{content:"๓ฐ„"}.mdi-hvac:before{content:"๓ฑ’"}.mdi-hvac-off:before{content:"๓ฑ–ž"}.mdi-hydraulic-oil-level:before{content:"๓ฑŒค"}.mdi-hydraulic-oil-temperature:before{content:"๓ฑŒฅ"}.mdi-hydro-power:before{content:"๓ฑ‹ฅ"}.mdi-hydrogen-station:before{content:"๓ฑข”"}.mdi-ice-cream:before{content:"๓ฐ ช"}.mdi-ice-cream-off:before{content:"๓ฐน’"}.mdi-ice-pop:before{content:"๓ฐปฝ"}.mdi-id-card:before{content:"๓ฐฟ€"}.mdi-identifier:before{content:"๓ฐปพ"}.mdi-ideogram-cjk:before{content:"๓ฑŒฑ"}.mdi-ideogram-cjk-variant:before{content:"๓ฑŒฒ"}.mdi-image:before{content:"๓ฐ‹ฉ"}.mdi-image-album:before{content:"๓ฐ‹ช"}.mdi-image-area:before{content:"๓ฐ‹ซ"}.mdi-image-area-close:before{content:"๓ฐ‹ฌ"}.mdi-image-auto-adjust:before{content:"๓ฐฟ"}.mdi-image-broken:before{content:"๓ฐ‹ญ"}.mdi-image-broken-variant:before{content:"๓ฐ‹ฎ"}.mdi-image-check:before{content:"๓ฑฌฅ"}.mdi-image-check-outline:before{content:"๓ฑฌฆ"}.mdi-image-edit:before{content:"๓ฑ‡ฃ"}.mdi-image-edit-outline:before{content:"๓ฑ‡ค"}.mdi-image-filter-black-white:before{content:"๓ฐ‹ฐ"}.mdi-image-filter-center-focus:before{content:"๓ฐ‹ฑ"}.mdi-image-filter-center-focus-strong:before{content:"๓ฐปฟ"}.mdi-image-filter-center-focus-strong-outline:before{content:"๓ฐผ€"}.mdi-image-filter-center-focus-weak:before{content:"๓ฐ‹ฒ"}.mdi-image-filter-drama:before{content:"๓ฐ‹ณ"}.mdi-image-filter-drama-outline:before{content:"๓ฑฏฟ"}.mdi-image-filter-frames:before{content:"๓ฐ‹ด"}.mdi-image-filter-hdr:before{content:"๓ฐ‹ต"}.mdi-image-filter-hdr-outline:before{content:"๓ฑฑค"}.mdi-image-filter-none:before{content:"๓ฐ‹ถ"}.mdi-image-filter-tilt-shift:before{content:"๓ฐ‹ท"}.mdi-image-filter-vintage:before{content:"๓ฐ‹ธ"}.mdi-image-frame:before{content:"๓ฐน‰"}.mdi-image-lock:before{content:"๓ฑชฐ"}.mdi-image-lock-outline:before{content:"๓ฑชฑ"}.mdi-image-marker:before{content:"๓ฑป"}.mdi-image-marker-outline:before{content:"๓ฑผ"}.mdi-image-minus:before{content:"๓ฑ™"}.mdi-image-minus-outline:before{content:"๓ฑญ‡"}.mdi-image-move:before{content:"๓ฐงธ"}.mdi-image-multiple:before{content:"๓ฐ‹น"}.mdi-image-multiple-outline:before{content:"๓ฐ‹ฏ"}.mdi-image-off:before{content:"๓ฐ ซ"}.mdi-image-off-outline:before{content:"๓ฑ‡‘"}.mdi-image-outline:before{content:"๓ฐฅถ"}.mdi-image-plus:before{content:"๓ฐกผ"}.mdi-image-plus-outline:before{content:"๓ฑญ†"}.mdi-image-refresh:before{content:"๓ฑงพ"}.mdi-image-refresh-outline:before{content:"๓ฑงฟ"}.mdi-image-remove:before{content:"๓ฑ˜"}.mdi-image-remove-outline:before{content:"๓ฑญˆ"}.mdi-image-search:before{content:"๓ฐฅท"}.mdi-image-search-outline:before{content:"๓ฐฅธ"}.mdi-image-size-select-actual:before{content:"๓ฐฒ"}.mdi-image-size-select-large:before{content:"๓ฐฒŽ"}.mdi-image-size-select-small:before{content:"๓ฐฒ"}.mdi-image-sync:before{content:"๓ฑจ€"}.mdi-image-sync-outline:before{content:"๓ฑจ"}.mdi-image-text:before{content:"๓ฑ˜"}.mdi-import:before{content:"๓ฐ‹บ"}.mdi-inbox:before{content:"๓ฐš‡"}.mdi-inbox-arrow-down:before{content:"๓ฐ‹ป"}.mdi-inbox-arrow-down-outline:before{content:"๓ฑ‰ฐ"}.mdi-inbox-arrow-up:before{content:"๓ฐ‘"}.mdi-inbox-arrow-up-outline:before{content:"๓ฑ‰ฑ"}.mdi-inbox-full:before{content:"๓ฑ‰ฒ"}.mdi-inbox-full-outline:before{content:"๓ฑ‰ณ"}.mdi-inbox-multiple:before{content:"๓ฐขฐ"}.mdi-inbox-multiple-outline:before{content:"๓ฐฎจ"}.mdi-inbox-outline:before{content:"๓ฑ‰ด"}.mdi-inbox-remove:before{content:"๓ฑ–Ÿ"}.mdi-inbox-remove-outline:before{content:"๓ฑ– "}.mdi-incognito:before{content:"๓ฐ—น"}.mdi-incognito-circle:before{content:"๓ฑก"}.mdi-incognito-circle-off:before{content:"๓ฑข"}.mdi-incognito-off:before{content:"๓ฐต"}.mdi-induction:before{content:"๓ฑกŒ"}.mdi-infinity:before{content:"๓ฐ›ค"}.mdi-information:before{content:"๓ฐ‹ผ"}.mdi-information-box:before{content:"๓ฑฑฅ"}.mdi-information-box-outline:before{content:"๓ฑฑฆ"}.mdi-information-off:before{content:"๓ฑžŒ"}.mdi-information-off-outline:before{content:"๓ฑž"}.mdi-information-outline:before{content:"๓ฐ‹ฝ"}.mdi-information-slab-box:before{content:"๓ฑฑง"}.mdi-information-slab-box-outline:before{content:"๓ฑฑจ"}.mdi-information-slab-circle:before{content:"๓ฑฑฉ"}.mdi-information-slab-circle-outline:before{content:"๓ฑฑช"}.mdi-information-slab-symbol:before{content:"๓ฑฑซ"}.mdi-information-symbol:before{content:"๓ฑฑฌ"}.mdi-information-variant:before{content:"๓ฐ™Ž"}.mdi-information-variant-box:before{content:"๓ฑฑญ"}.mdi-information-variant-box-outline:before{content:"๓ฑฑฎ"}.mdi-information-variant-circle:before{content:"๓ฑฑฏ"}.mdi-information-variant-circle-outline:before{content:"๓ฑฑฐ"}.mdi-instagram:before{content:"๓ฐ‹พ"}.mdi-instrument-triangle:before{content:"๓ฑŽ"}.mdi-integrated-circuit-chip:before{content:"๓ฑค“"}.mdi-invert-colors:before{content:"๓ฐŒ"}.mdi-invert-colors-off:before{content:"๓ฐนŠ"}.mdi-iobroker:before{content:"๓ฑ‹จ"}.mdi-ip:before{content:"๓ฐฉŸ"}.mdi-ip-network:before{content:"๓ฐฉ "}.mdi-ip-network-outline:before{content:"๓ฐฒ"}.mdi-ip-outline:before{content:"๓ฑฆ‚"}.mdi-ipod:before{content:"๓ฐฒ‘"}.mdi-iron:before{content:"๓ฑ ค"}.mdi-iron-board:before{content:"๓ฑ ธ"}.mdi-iron-outline:before{content:"๓ฑ ฅ"}.mdi-island:before{content:"๓ฑ"}.mdi-iv-bag:before{content:"๓ฑ‚น"}.mdi-jabber:before{content:"๓ฐท•"}.mdi-jeepney:before{content:"๓ฐŒ‚"}.mdi-jellyfish:before{content:"๓ฐผ"}.mdi-jellyfish-outline:before{content:"๓ฐผ‚"}.mdi-jira:before{content:"๓ฐŒƒ"}.mdi-jquery:before{content:"๓ฐกฝ"}.mdi-jsfiddle:before{content:"๓ฐŒ„"}.mdi-jump-rope:before{content:"๓ฑ‹ฟ"}.mdi-kabaddi:before{content:"๓ฐถ‡"}.mdi-kangaroo:before{content:"๓ฑ•˜"}.mdi-karate:before{content:"๓ฐ ฌ"}.mdi-kayaking:before{content:"๓ฐขฏ"}.mdi-keg:before{content:"๓ฐŒ…"}.mdi-kettle:before{content:"๓ฐ—บ"}.mdi-kettle-alert:before{content:"๓ฑŒ—"}.mdi-kettle-alert-outline:before{content:"๓ฑŒ˜"}.mdi-kettle-off:before{content:"๓ฑŒ›"}.mdi-kettle-off-outline:before{content:"๓ฑŒœ"}.mdi-kettle-outline:before{content:"๓ฐฝ–"}.mdi-kettle-pour-over:before{content:"๓ฑœผ"}.mdi-kettle-steam:before{content:"๓ฑŒ™"}.mdi-kettle-steam-outline:before{content:"๓ฑŒš"}.mdi-kettlebell:before{content:"๓ฑŒ€"}.mdi-key:before{content:"๓ฐŒ†"}.mdi-key-alert:before{content:"๓ฑฆƒ"}.mdi-key-alert-outline:before{content:"๓ฑฆ„"}.mdi-key-arrow-right:before{content:"๓ฑŒ’"}.mdi-key-chain:before{content:"๓ฑ•ด"}.mdi-key-chain-variant:before{content:"๓ฑ•ต"}.mdi-key-change:before{content:"๓ฐŒ‡"}.mdi-key-link:before{content:"๓ฑ†Ÿ"}.mdi-key-minus:before{content:"๓ฐŒˆ"}.mdi-key-outline:before{content:"๓ฐท–"}.mdi-key-plus:before{content:"๓ฐŒ‰"}.mdi-key-remove:before{content:"๓ฐŒŠ"}.mdi-key-star:before{content:"๓ฑ†ž"}.mdi-key-variant:before{content:"๓ฐŒ‹"}.mdi-key-wireless:before{content:"๓ฐฟ‚"}.mdi-keyboard:before{content:"๓ฐŒŒ"}.mdi-keyboard-backspace:before{content:"๓ฐŒ"}.mdi-keyboard-caps:before{content:"๓ฐŒŽ"}.mdi-keyboard-close:before{content:"๓ฐŒ"}.mdi-keyboard-close-outline:before{content:"๓ฑฐ€"}.mdi-keyboard-esc:before{content:"๓ฑŠท"}.mdi-keyboard-f1:before{content:"๓ฑŠซ"}.mdi-keyboard-f10:before{content:"๓ฑŠด"}.mdi-keyboard-f11:before{content:"๓ฑŠต"}.mdi-keyboard-f12:before{content:"๓ฑŠถ"}.mdi-keyboard-f2:before{content:"๓ฑŠฌ"}.mdi-keyboard-f3:before{content:"๓ฑŠญ"}.mdi-keyboard-f4:before{content:"๓ฑŠฎ"}.mdi-keyboard-f5:before{content:"๓ฑŠฏ"}.mdi-keyboard-f6:before{content:"๓ฑŠฐ"}.mdi-keyboard-f7:before{content:"๓ฑŠฑ"}.mdi-keyboard-f8:before{content:"๓ฑŠฒ"}.mdi-keyboard-f9:before{content:"๓ฑŠณ"}.mdi-keyboard-off:before{content:"๓ฐŒ"}.mdi-keyboard-off-outline:before{content:"๓ฐน‹"}.mdi-keyboard-outline:before{content:"๓ฐฅป"}.mdi-keyboard-return:before{content:"๓ฐŒ‘"}.mdi-keyboard-settings:before{content:"๓ฐงน"}.mdi-keyboard-settings-outline:before{content:"๓ฐงบ"}.mdi-keyboard-space:before{content:"๓ฑ"}.mdi-keyboard-tab:before{content:"๓ฐŒ’"}.mdi-keyboard-tab-reverse:before{content:"๓ฐŒฅ"}.mdi-keyboard-variant:before{content:"๓ฐŒ“"}.mdi-khanda:before{content:"๓ฑƒฝ"}.mdi-kickstarter:before{content:"๓ฐ…"}.mdi-kite:before{content:"๓ฑฆ…"}.mdi-kite-outline:before{content:"๓ฑฆ†"}.mdi-kitesurfing:before{content:"๓ฑ„"}.mdi-klingon:before{content:"๓ฑ›"}.mdi-knife:before{content:"๓ฐงป"}.mdi-knife-military:before{content:"๓ฐงผ"}.mdi-knob:before{content:"๓ฑฎ–"}.mdi-koala:before{content:"๓ฑœฟ"}.mdi-kodi:before{content:"๓ฐŒ”"}.mdi-kubernetes:before{content:"๓ฑƒพ"}.mdi-label:before{content:"๓ฐŒ•"}.mdi-label-multiple:before{content:"๓ฑต"}.mdi-label-multiple-outline:before{content:"๓ฑถ"}.mdi-label-off:before{content:"๓ฐซ‹"}.mdi-label-off-outline:before{content:"๓ฐซŒ"}.mdi-label-outline:before{content:"๓ฐŒ–"}.mdi-label-percent:before{content:"๓ฑ‹ช"}.mdi-label-percent-outline:before{content:"๓ฑ‹ซ"}.mdi-label-variant:before{content:"๓ฐซ"}.mdi-label-variant-outline:before{content:"๓ฐซŽ"}.mdi-ladder:before{content:"๓ฑ–ข"}.mdi-ladybug:before{content:"๓ฐ ญ"}.mdi-lambda:before{content:"๓ฐ˜ง"}.mdi-lamp:before{content:"๓ฐšต"}.mdi-lamp-outline:before{content:"๓ฑŸ"}.mdi-lamps:before{content:"๓ฑ•ถ"}.mdi-lamps-outline:before{content:"๓ฑŸ‘"}.mdi-lan:before{content:"๓ฐŒ—"}.mdi-lan-check:before{content:"๓ฑŠช"}.mdi-lan-connect:before{content:"๓ฐŒ˜"}.mdi-lan-disconnect:before{content:"๓ฐŒ™"}.mdi-lan-pending:before{content:"๓ฐŒš"}.mdi-land-fields:before{content:"๓ฑชฒ"}.mdi-land-plots:before{content:"๓ฑชณ"}.mdi-land-plots-circle:before{content:"๓ฑชด"}.mdi-land-plots-circle-variant:before{content:"๓ฑชต"}.mdi-land-plots-marker:before{content:"๓ฑฑ"}.mdi-land-rows-horizontal:before{content:"๓ฑชถ"}.mdi-land-rows-vertical:before{content:"๓ฑชท"}.mdi-landslide:before{content:"๓ฑฉˆ"}.mdi-landslide-outline:before{content:"๓ฑฉ‰"}.mdi-language-c:before{content:"๓ฐ™ฑ"}.mdi-language-cpp:before{content:"๓ฐ™ฒ"}.mdi-language-csharp:before{content:"๓ฐŒ›"}.mdi-language-css3:before{content:"๓ฐŒœ"}.mdi-language-fortran:before{content:"๓ฑˆš"}.mdi-language-go:before{content:"๓ฐŸ“"}.mdi-language-haskell:before{content:"๓ฐฒ’"}.mdi-language-html5:before{content:"๓ฐŒ"}.mdi-language-java:before{content:"๓ฐฌท"}.mdi-language-javascript:before{content:"๓ฐŒž"}.mdi-language-kotlin:before{content:"๓ฑˆ™"}.mdi-language-lua:before{content:"๓ฐขฑ"}.mdi-language-markdown:before{content:"๓ฐ”"}.mdi-language-markdown-outline:before{content:"๓ฐฝ›"}.mdi-language-php:before{content:"๓ฐŒŸ"}.mdi-language-python:before{content:"๓ฐŒ "}.mdi-language-r:before{content:"๓ฐŸ”"}.mdi-language-ruby:before{content:"๓ฐดญ"}.mdi-language-ruby-on-rails:before{content:"๓ฐซ"}.mdi-language-rust:before{content:"๓ฑ˜—"}.mdi-language-swift:before{content:"๓ฐ›ฅ"}.mdi-language-typescript:before{content:"๓ฐ›ฆ"}.mdi-language-xaml:before{content:"๓ฐ™ณ"}.mdi-laptop:before{content:"๓ฐŒข"}.mdi-laptop-account:before{content:"๓ฑฉŠ"}.mdi-laptop-off:before{content:"๓ฐ›ง"}.mdi-laravel:before{content:"๓ฐซ"}.mdi-laser-pointer:before{content:"๓ฑ’„"}.mdi-lasso:before{content:"๓ฐผƒ"}.mdi-lastpass:before{content:"๓ฐ‘†"}.mdi-latitude:before{content:"๓ฐฝ—"}.mdi-launch:before{content:"๓ฐŒง"}.mdi-lava-lamp:before{content:"๓ฐŸ•"}.mdi-layers:before{content:"๓ฐŒจ"}.mdi-layers-edit:before{content:"๓ฑข’"}.mdi-layers-minus:before{content:"๓ฐนŒ"}.mdi-layers-off:before{content:"๓ฐŒฉ"}.mdi-layers-off-outline:before{content:"๓ฐงฝ"}.mdi-layers-outline:before{content:"๓ฐงพ"}.mdi-layers-plus:before{content:"๓ฐน"}.mdi-layers-remove:before{content:"๓ฐนŽ"}.mdi-layers-search:before{content:"๓ฑˆ†"}.mdi-layers-search-outline:before{content:"๓ฑˆ‡"}.mdi-layers-triple:before{content:"๓ฐฝ˜"}.mdi-layers-triple-outline:before{content:"๓ฐฝ™"}.mdi-lead-pencil:before{content:"๓ฐ™"}.mdi-leaf:before{content:"๓ฐŒช"}.mdi-leaf-circle:before{content:"๓ฑค…"}.mdi-leaf-circle-outline:before{content:"๓ฑค†"}.mdi-leaf-maple:before{content:"๓ฐฒ“"}.mdi-leaf-maple-off:before{content:"๓ฑ‹š"}.mdi-leaf-off:before{content:"๓ฑ‹™"}.mdi-leak:before{content:"๓ฐท—"}.mdi-leak-off:before{content:"๓ฐท˜"}.mdi-lectern:before{content:"๓ฑซฐ"}.mdi-led-off:before{content:"๓ฐŒซ"}.mdi-led-on:before{content:"๓ฐŒฌ"}.mdi-led-outline:before{content:"๓ฐŒญ"}.mdi-led-strip:before{content:"๓ฐŸ–"}.mdi-led-strip-variant:before{content:"๓ฑ‘"}.mdi-led-strip-variant-off:before{content:"๓ฑฉ‹"}.mdi-led-variant-off:before{content:"๓ฐŒฎ"}.mdi-led-variant-on:before{content:"๓ฐŒฏ"}.mdi-led-variant-outline:before{content:"๓ฐŒฐ"}.mdi-leek:before{content:"๓ฑ…ฝ"}.mdi-less-than:before{content:"๓ฐฅผ"}.mdi-less-than-or-equal:before{content:"๓ฐฅฝ"}.mdi-library:before{content:"๓ฐŒฑ"}.mdi-library-outline:before{content:"๓ฑจข"}.mdi-library-shelves:before{content:"๓ฐฎฉ"}.mdi-license:before{content:"๓ฐฟƒ"}.mdi-lifebuoy:before{content:"๓ฐกพ"}.mdi-light-flood-down:before{content:"๓ฑฆ‡"}.mdi-light-flood-up:before{content:"๓ฑฆˆ"}.mdi-light-recessed:before{content:"๓ฑž›"}.mdi-light-switch:before{content:"๓ฐฅพ"}.mdi-light-switch-off:before{content:"๓ฑจค"}.mdi-lightbulb:before{content:"๓ฐŒต"}.mdi-lightbulb-alert:before{content:"๓ฑงก"}.mdi-lightbulb-alert-outline:before{content:"๓ฑงข"}.mdi-lightbulb-auto:before{content:"๓ฑ €"}.mdi-lightbulb-auto-outline:before{content:"๓ฑ "}.mdi-lightbulb-cfl:before{content:"๓ฑˆˆ"}.mdi-lightbulb-cfl-off:before{content:"๓ฑˆ‰"}.mdi-lightbulb-cfl-spiral:before{content:"๓ฑ‰ต"}.mdi-lightbulb-cfl-spiral-off:before{content:"๓ฑ‹ƒ"}.mdi-lightbulb-fluorescent-tube:before{content:"๓ฑ „"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"๓ฑ …"}.mdi-lightbulb-group:before{content:"๓ฑ‰“"}.mdi-lightbulb-group-off:before{content:"๓ฑ‹"}.mdi-lightbulb-group-off-outline:before{content:"๓ฑ‹Ž"}.mdi-lightbulb-group-outline:before{content:"๓ฑ‰”"}.mdi-lightbulb-multiple:before{content:"๓ฑ‰•"}.mdi-lightbulb-multiple-off:before{content:"๓ฑ‹"}.mdi-lightbulb-multiple-off-outline:before{content:"๓ฑ‹"}.mdi-lightbulb-multiple-outline:before{content:"๓ฑ‰–"}.mdi-lightbulb-night:before{content:"๓ฑฉŒ"}.mdi-lightbulb-night-outline:before{content:"๓ฑฉ"}.mdi-lightbulb-off:before{content:"๓ฐน"}.mdi-lightbulb-off-outline:before{content:"๓ฐน"}.mdi-lightbulb-on:before{content:"๓ฐ›จ"}.mdi-lightbulb-on-10:before{content:"๓ฑฉŽ"}.mdi-lightbulb-on-20:before{content:"๓ฑฉ"}.mdi-lightbulb-on-30:before{content:"๓ฑฉ"}.mdi-lightbulb-on-40:before{content:"๓ฑฉ‘"}.mdi-lightbulb-on-50:before{content:"๓ฑฉ’"}.mdi-lightbulb-on-60:before{content:"๓ฑฉ“"}.mdi-lightbulb-on-70:before{content:"๓ฑฉ”"}.mdi-lightbulb-on-80:before{content:"๓ฑฉ•"}.mdi-lightbulb-on-90:before{content:"๓ฑฉ–"}.mdi-lightbulb-on-outline:before{content:"๓ฐ›ฉ"}.mdi-lightbulb-outline:before{content:"๓ฐŒถ"}.mdi-lightbulb-question:before{content:"๓ฑงฃ"}.mdi-lightbulb-question-outline:before{content:"๓ฑงค"}.mdi-lightbulb-spot:before{content:"๓ฑŸด"}.mdi-lightbulb-spot-off:before{content:"๓ฑŸต"}.mdi-lightbulb-variant:before{content:"๓ฑ ‚"}.mdi-lightbulb-variant-outline:before{content:"๓ฑ ƒ"}.mdi-lighthouse:before{content:"๓ฐงฟ"}.mdi-lighthouse-on:before{content:"๓ฐจ€"}.mdi-lightning-bolt:before{content:"๓ฑ‹"}.mdi-lightning-bolt-circle:before{content:"๓ฐ  "}.mdi-lightning-bolt-outline:before{content:"๓ฑŒ"}.mdi-line-scan:before{content:"๓ฐ˜ค"}.mdi-lingerie:before{content:"๓ฑ‘ถ"}.mdi-link:before{content:"๓ฐŒท"}.mdi-link-box:before{content:"๓ฐดš"}.mdi-link-box-outline:before{content:"๓ฐด›"}.mdi-link-box-variant:before{content:"๓ฐดœ"}.mdi-link-box-variant-outline:before{content:"๓ฐด"}.mdi-link-lock:before{content:"๓ฑ‚บ"}.mdi-link-off:before{content:"๓ฐŒธ"}.mdi-link-plus:before{content:"๓ฐฒ”"}.mdi-link-variant:before{content:"๓ฐŒน"}.mdi-link-variant-minus:before{content:"๓ฑƒฟ"}.mdi-link-variant-off:before{content:"๓ฐŒบ"}.mdi-link-variant-plus:before{content:"๓ฑ„€"}.mdi-link-variant-remove:before{content:"๓ฑ„"}.mdi-linkedin:before{content:"๓ฐŒป"}.mdi-linux:before{content:"๓ฐŒฝ"}.mdi-linux-mint:before{content:"๓ฐฃญ"}.mdi-lipstick:before{content:"๓ฑŽต"}.mdi-liquid-spot:before{content:"๓ฑ ฆ"}.mdi-liquor:before{content:"๓ฑคž"}.mdi-list-box:before{content:"๓ฑญป"}.mdi-list-box-outline:before{content:"๓ฑญผ"}.mdi-list-status:before{content:"๓ฑ–ซ"}.mdi-litecoin:before{content:"๓ฐฉก"}.mdi-loading:before{content:"๓ฐฒ"}.mdi-location-enter:before{content:"๓ฐฟ„"}.mdi-location-exit:before{content:"๓ฐฟ…"}.mdi-lock:before{content:"๓ฐŒพ"}.mdi-lock-alert:before{content:"๓ฐฃฎ"}.mdi-lock-alert-outline:before{content:"๓ฑ—‘"}.mdi-lock-check:before{content:"๓ฑŽš"}.mdi-lock-check-outline:before{content:"๓ฑšจ"}.mdi-lock-clock:before{content:"๓ฐฅฟ"}.mdi-lock-minus:before{content:"๓ฑšฉ"}.mdi-lock-minus-outline:before{content:"๓ฑšช"}.mdi-lock-off:before{content:"๓ฑ™ฑ"}.mdi-lock-off-outline:before{content:"๓ฑ™ฒ"}.mdi-lock-open:before{content:"๓ฐŒฟ"}.mdi-lock-open-alert:before{content:"๓ฑŽ›"}.mdi-lock-open-alert-outline:before{content:"๓ฑ—’"}.mdi-lock-open-check:before{content:"๓ฑŽœ"}.mdi-lock-open-check-outline:before{content:"๓ฑšซ"}.mdi-lock-open-minus:before{content:"๓ฑšฌ"}.mdi-lock-open-minus-outline:before{content:"๓ฑšญ"}.mdi-lock-open-outline:before{content:"๓ฐ€"}.mdi-lock-open-plus:before{content:"๓ฑšฎ"}.mdi-lock-open-plus-outline:before{content:"๓ฑšฏ"}.mdi-lock-open-remove:before{content:"๓ฑšฐ"}.mdi-lock-open-remove-outline:before{content:"๓ฑšฑ"}.mdi-lock-open-variant:before{content:"๓ฐฟ†"}.mdi-lock-open-variant-outline:before{content:"๓ฐฟ‡"}.mdi-lock-outline:before{content:"๓ฐ"}.mdi-lock-pattern:before{content:"๓ฐ›ช"}.mdi-lock-percent:before{content:"๓ฑฐ’"}.mdi-lock-percent-open:before{content:"๓ฑฐ“"}.mdi-lock-percent-open-outline:before{content:"๓ฑฐ”"}.mdi-lock-percent-open-variant:before{content:"๓ฑฐ•"}.mdi-lock-percent-open-variant-outline:before{content:"๓ฑฐ–"}.mdi-lock-percent-outline:before{content:"๓ฑฐ—"}.mdi-lock-plus:before{content:"๓ฐ—ป"}.mdi-lock-plus-outline:before{content:"๓ฑšฒ"}.mdi-lock-question:before{content:"๓ฐฃฏ"}.mdi-lock-remove:before{content:"๓ฑšณ"}.mdi-lock-remove-outline:before{content:"๓ฑšด"}.mdi-lock-reset:before{content:"๓ฐณ"}.mdi-lock-smart:before{content:"๓ฐขฒ"}.mdi-locker:before{content:"๓ฐŸ—"}.mdi-locker-multiple:before{content:"๓ฐŸ˜"}.mdi-login:before{content:"๓ฐ‚"}.mdi-login-variant:before{content:"๓ฐ—ผ"}.mdi-logout:before{content:"๓ฐƒ"}.mdi-logout-variant:before{content:"๓ฐ—ฝ"}.mdi-longitude:before{content:"๓ฐฝš"}.mdi-looks:before{content:"๓ฐ„"}.mdi-lotion:before{content:"๓ฑ–‚"}.mdi-lotion-outline:before{content:"๓ฑ–ƒ"}.mdi-lotion-plus:before{content:"๓ฑ–„"}.mdi-lotion-plus-outline:before{content:"๓ฑ–…"}.mdi-loupe:before{content:"๓ฐ…"}.mdi-lumx:before{content:"๓ฐ†"}.mdi-lungs:before{content:"๓ฑ‚„"}.mdi-mace:before{content:"๓ฑกƒ"}.mdi-magazine-pistol:before{content:"๓ฐŒค"}.mdi-magazine-rifle:before{content:"๓ฐŒฃ"}.mdi-magic-staff:before{content:"๓ฑก„"}.mdi-magnet:before{content:"๓ฐ‡"}.mdi-magnet-on:before{content:"๓ฐˆ"}.mdi-magnify:before{content:"๓ฐ‰"}.mdi-magnify-close:before{content:"๓ฐฆ€"}.mdi-magnify-expand:before{content:"๓ฑกด"}.mdi-magnify-minus:before{content:"๓ฐŠ"}.mdi-magnify-minus-cursor:before{content:"๓ฐฉข"}.mdi-magnify-minus-outline:before{content:"๓ฐ›ฌ"}.mdi-magnify-plus:before{content:"๓ฐ‹"}.mdi-magnify-plus-cursor:before{content:"๓ฐฉฃ"}.mdi-magnify-plus-outline:before{content:"๓ฐ›ญ"}.mdi-magnify-remove-cursor:before{content:"๓ฑˆŒ"}.mdi-magnify-remove-outline:before{content:"๓ฑˆ"}.mdi-magnify-scan:before{content:"๓ฑ‰ถ"}.mdi-mail:before{content:"๓ฐบป"}.mdi-mailbox:before{content:"๓ฐ›ฎ"}.mdi-mailbox-open:before{content:"๓ฐถˆ"}.mdi-mailbox-open-outline:before{content:"๓ฐถ‰"}.mdi-mailbox-open-up:before{content:"๓ฐถŠ"}.mdi-mailbox-open-up-outline:before{content:"๓ฐถ‹"}.mdi-mailbox-outline:before{content:"๓ฐถŒ"}.mdi-mailbox-up:before{content:"๓ฐถ"}.mdi-mailbox-up-outline:before{content:"๓ฐถŽ"}.mdi-manjaro:before{content:"๓ฑ˜Š"}.mdi-map:before{content:"๓ฐ"}.mdi-map-check:before{content:"๓ฐบผ"}.mdi-map-check-outline:before{content:"๓ฐบฝ"}.mdi-map-clock:before{content:"๓ฐดž"}.mdi-map-clock-outline:before{content:"๓ฐดŸ"}.mdi-map-legend:before{content:"๓ฐจ"}.mdi-map-marker:before{content:"๓ฐŽ"}.mdi-map-marker-account:before{content:"๓ฑฃฃ"}.mdi-map-marker-account-outline:before{content:"๓ฑฃค"}.mdi-map-marker-alert:before{content:"๓ฐผ…"}.mdi-map-marker-alert-outline:before{content:"๓ฐผ†"}.mdi-map-marker-check:before{content:"๓ฐฒ•"}.mdi-map-marker-check-outline:before{content:"๓ฑ‹ป"}.mdi-map-marker-circle:before{content:"๓ฐ"}.mdi-map-marker-distance:before{content:"๓ฐฃฐ"}.mdi-map-marker-down:before{content:"๓ฑ„‚"}.mdi-map-marker-left:before{content:"๓ฑ‹›"}.mdi-map-marker-left-outline:before{content:"๓ฑ‹"}.mdi-map-marker-minus:before{content:"๓ฐ™"}.mdi-map-marker-minus-outline:before{content:"๓ฑ‹น"}.mdi-map-marker-multiple:before{content:"๓ฐ"}.mdi-map-marker-multiple-outline:before{content:"๓ฑ‰ท"}.mdi-map-marker-off:before{content:"๓ฐ‘"}.mdi-map-marker-off-outline:before{content:"๓ฑ‹ฝ"}.mdi-map-marker-outline:before{content:"๓ฐŸ™"}.mdi-map-marker-path:before{content:"๓ฐด "}.mdi-map-marker-plus:before{content:"๓ฐ™‘"}.mdi-map-marker-plus-outline:before{content:"๓ฑ‹ธ"}.mdi-map-marker-question:before{content:"๓ฐผ‡"}.mdi-map-marker-question-outline:before{content:"๓ฐผˆ"}.mdi-map-marker-radius:before{content:"๓ฐ’"}.mdi-map-marker-radius-outline:before{content:"๓ฑ‹ผ"}.mdi-map-marker-remove:before{content:"๓ฐผ‰"}.mdi-map-marker-remove-outline:before{content:"๓ฑ‹บ"}.mdi-map-marker-remove-variant:before{content:"๓ฐผŠ"}.mdi-map-marker-right:before{content:"๓ฑ‹œ"}.mdi-map-marker-right-outline:before{content:"๓ฑ‹ž"}.mdi-map-marker-star:before{content:"๓ฑ˜ˆ"}.mdi-map-marker-star-outline:before{content:"๓ฑ˜‰"}.mdi-map-marker-up:before{content:"๓ฑ„ƒ"}.mdi-map-minus:before{content:"๓ฐฆ"}.mdi-map-outline:before{content:"๓ฐฆ‚"}.mdi-map-plus:before{content:"๓ฐฆƒ"}.mdi-map-search:before{content:"๓ฐฆ„"}.mdi-map-search-outline:before{content:"๓ฐฆ…"}.mdi-mapbox:before{content:"๓ฐฎช"}.mdi-margin:before{content:"๓ฐ“"}.mdi-marker:before{content:"๓ฐ™’"}.mdi-marker-cancel:before{content:"๓ฐท™"}.mdi-marker-check:before{content:"๓ฐ•"}.mdi-mastodon:before{content:"๓ฐซ‘"}.mdi-material-design:before{content:"๓ฐฆ†"}.mdi-material-ui:before{content:"๓ฐ—"}.mdi-math-compass:before{content:"๓ฐ˜"}.mdi-math-cos:before{content:"๓ฐฒ–"}.mdi-math-integral:before{content:"๓ฐฟˆ"}.mdi-math-integral-box:before{content:"๓ฐฟ‰"}.mdi-math-log:before{content:"๓ฑ‚…"}.mdi-math-norm:before{content:"๓ฐฟŠ"}.mdi-math-norm-box:before{content:"๓ฐฟ‹"}.mdi-math-sin:before{content:"๓ฐฒ—"}.mdi-math-tan:before{content:"๓ฐฒ˜"}.mdi-matrix:before{content:"๓ฐ˜จ"}.mdi-medal:before{content:"๓ฐฆ‡"}.mdi-medal-outline:before{content:"๓ฑŒฆ"}.mdi-medical-bag:before{content:"๓ฐ›ฏ"}.mdi-medical-cotton-swab:before{content:"๓ฑชธ"}.mdi-medication:before{content:"๓ฑฌ”"}.mdi-medication-outline:before{content:"๓ฑฌ•"}.mdi-meditation:before{content:"๓ฑ…ป"}.mdi-memory:before{content:"๓ฐ›"}.mdi-menorah:before{content:"๓ฑŸ”"}.mdi-menorah-fire:before{content:"๓ฑŸ•"}.mdi-menu:before{content:"๓ฐœ"}.mdi-menu-down:before{content:"๓ฐ"}.mdi-menu-down-outline:before{content:"๓ฐšถ"}.mdi-menu-left:before{content:"๓ฐž"}.mdi-menu-left-outline:before{content:"๓ฐจ‚"}.mdi-menu-open:before{content:"๓ฐฎซ"}.mdi-menu-right:before{content:"๓ฐŸ"}.mdi-menu-right-outline:before{content:"๓ฐจƒ"}.mdi-menu-swap:before{content:"๓ฐฉค"}.mdi-menu-swap-outline:before{content:"๓ฐฉฅ"}.mdi-menu-up:before{content:"๓ฐ "}.mdi-menu-up-outline:before{content:"๓ฐšท"}.mdi-merge:before{content:"๓ฐฝœ"}.mdi-message:before{content:"๓ฐก"}.mdi-message-alert:before{content:"๓ฐข"}.mdi-message-alert-outline:before{content:"๓ฐจ„"}.mdi-message-arrow-left:before{content:"๓ฑ‹ฒ"}.mdi-message-arrow-left-outline:before{content:"๓ฑ‹ณ"}.mdi-message-arrow-right:before{content:"๓ฑ‹ด"}.mdi-message-arrow-right-outline:before{content:"๓ฑ‹ต"}.mdi-message-badge:before{content:"๓ฑฅ"}.mdi-message-badge-outline:before{content:"๓ฑฅ‚"}.mdi-message-bookmark:before{content:"๓ฑ–ฌ"}.mdi-message-bookmark-outline:before{content:"๓ฑ–ญ"}.mdi-message-bulleted:before{content:"๓ฐšข"}.mdi-message-bulleted-off:before{content:"๓ฐšฃ"}.mdi-message-check:before{content:"๓ฑฎŠ"}.mdi-message-check-outline:before{content:"๓ฑฎ‹"}.mdi-message-cog:before{content:"๓ฐ›ฑ"}.mdi-message-cog-outline:before{content:"๓ฑ…ฒ"}.mdi-message-draw:before{content:"๓ฐฃ"}.mdi-message-fast:before{content:"๓ฑงŒ"}.mdi-message-fast-outline:before{content:"๓ฑง"}.mdi-message-flash:before{content:"๓ฑ–ฉ"}.mdi-message-flash-outline:before{content:"๓ฑ–ช"}.mdi-message-image:before{content:"๓ฐค"}.mdi-message-image-outline:before{content:"๓ฑ…ฌ"}.mdi-message-lock:before{content:"๓ฐฟŒ"}.mdi-message-lock-outline:before{content:"๓ฑ…ญ"}.mdi-message-minus:before{content:"๓ฑ…ฎ"}.mdi-message-minus-outline:before{content:"๓ฑ…ฏ"}.mdi-message-off:before{content:"๓ฑ™"}.mdi-message-off-outline:before{content:"๓ฑ™Ž"}.mdi-message-outline:before{content:"๓ฐฅ"}.mdi-message-plus:before{content:"๓ฐ™“"}.mdi-message-plus-outline:before{content:"๓ฑ‚ป"}.mdi-message-processing:before{content:"๓ฐฆ"}.mdi-message-processing-outline:before{content:"๓ฑ…ฐ"}.mdi-message-question:before{content:"๓ฑœบ"}.mdi-message-question-outline:before{content:"๓ฑœป"}.mdi-message-reply:before{content:"๓ฐง"}.mdi-message-reply-outline:before{content:"๓ฑœฝ"}.mdi-message-reply-text:before{content:"๓ฐจ"}.mdi-message-reply-text-outline:before{content:"๓ฑœพ"}.mdi-message-settings:before{content:"๓ฐ›ฐ"}.mdi-message-settings-outline:before{content:"๓ฑ…ฑ"}.mdi-message-star:before{content:"๓ฐšš"}.mdi-message-star-outline:before{content:"๓ฑ‰"}.mdi-message-text:before{content:"๓ฐฉ"}.mdi-message-text-clock:before{content:"๓ฑ…ณ"}.mdi-message-text-clock-outline:before{content:"๓ฑ…ด"}.mdi-message-text-fast:before{content:"๓ฑงŽ"}.mdi-message-text-fast-outline:before{content:"๓ฑง"}.mdi-message-text-lock:before{content:"๓ฐฟ"}.mdi-message-text-lock-outline:before{content:"๓ฑ…ต"}.mdi-message-text-outline:before{content:"๓ฐช"}.mdi-message-video:before{content:"๓ฐซ"}.mdi-meteor:before{content:"๓ฐ˜ฉ"}.mdi-meter-electric:before{content:"๓ฑฉ—"}.mdi-meter-electric-outline:before{content:"๓ฑฉ˜"}.mdi-meter-gas:before{content:"๓ฑฉ™"}.mdi-meter-gas-outline:before{content:"๓ฑฉš"}.mdi-metronome:before{content:"๓ฐŸš"}.mdi-metronome-tick:before{content:"๓ฐŸ›"}.mdi-micro-sd:before{content:"๓ฐŸœ"}.mdi-microphone:before{content:"๓ฐฌ"}.mdi-microphone-message:before{content:"๓ฐ”Š"}.mdi-microphone-message-off:before{content:"๓ฐ”‹"}.mdi-microphone-minus:before{content:"๓ฐขณ"}.mdi-microphone-off:before{content:"๓ฐญ"}.mdi-microphone-outline:before{content:"๓ฐฎ"}.mdi-microphone-plus:before{content:"๓ฐขด"}.mdi-microphone-question:before{content:"๓ฑฆ‰"}.mdi-microphone-question-outline:before{content:"๓ฑฆŠ"}.mdi-microphone-settings:before{content:"๓ฐฏ"}.mdi-microphone-variant:before{content:"๓ฐฐ"}.mdi-microphone-variant-off:before{content:"๓ฐฑ"}.mdi-microscope:before{content:"๓ฐ™”"}.mdi-microsoft:before{content:"๓ฐฒ"}.mdi-microsoft-access:before{content:"๓ฑŽŽ"}.mdi-microsoft-azure:before{content:"๓ฐ …"}.mdi-microsoft-azure-devops:before{content:"๓ฐฟ•"}.mdi-microsoft-bing:before{content:"๓ฐ‚ค"}.mdi-microsoft-dynamics-365:before{content:"๓ฐฆˆ"}.mdi-microsoft-edge:before{content:"๓ฐ‡ฉ"}.mdi-microsoft-excel:before{content:"๓ฑŽ"}.mdi-microsoft-internet-explorer:before{content:"๓ฐŒ€"}.mdi-microsoft-office:before{content:"๓ฐ†"}.mdi-microsoft-onedrive:before{content:"๓ฐŠ"}.mdi-microsoft-onenote:before{content:"๓ฐ‡"}.mdi-microsoft-outlook:before{content:"๓ฐดข"}.mdi-microsoft-powerpoint:before{content:"๓ฑŽ"}.mdi-microsoft-sharepoint:before{content:"๓ฑŽ‘"}.mdi-microsoft-teams:before{content:"๓ฐŠป"}.mdi-microsoft-visual-studio:before{content:"๓ฐ˜"}.mdi-microsoft-visual-studio-code:before{content:"๓ฐจž"}.mdi-microsoft-windows:before{content:"๓ฐ–ณ"}.mdi-microsoft-windows-classic:before{content:"๓ฐจก"}.mdi-microsoft-word:before{content:"๓ฑŽ’"}.mdi-microsoft-xbox:before{content:"๓ฐ–น"}.mdi-microsoft-xbox-controller:before{content:"๓ฐ–บ"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"๓ฐ‹"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"๓ฐจข"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"๓ฐŒ"}.mdi-microsoft-xbox-controller-battery-full:before{content:"๓ฐ"}.mdi-microsoft-xbox-controller-battery-low:before{content:"๓ฐŽ"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"๓ฐ"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"๓ฐ"}.mdi-microsoft-xbox-controller-menu:before{content:"๓ฐนฏ"}.mdi-microsoft-xbox-controller-off:before{content:"๓ฐ–ป"}.mdi-microsoft-xbox-controller-view:before{content:"๓ฐนฐ"}.mdi-microwave:before{content:"๓ฐฒ™"}.mdi-microwave-off:before{content:"๓ฑฃ"}.mdi-middleware:before{content:"๓ฐฝ"}.mdi-middleware-outline:before{content:"๓ฐฝž"}.mdi-midi:before{content:"๓ฐฃฑ"}.mdi-midi-port:before{content:"๓ฐฃฒ"}.mdi-mine:before{content:"๓ฐทš"}.mdi-minecraft:before{content:"๓ฐณ"}.mdi-mini-sd:before{content:"๓ฐจ…"}.mdi-minidisc:before{content:"๓ฐจ†"}.mdi-minus:before{content:"๓ฐด"}.mdi-minus-box:before{content:"๓ฐต"}.mdi-minus-box-multiple:before{content:"๓ฑ…"}.mdi-minus-box-multiple-outline:before{content:"๓ฑ…‚"}.mdi-minus-box-outline:before{content:"๓ฐ›ฒ"}.mdi-minus-circle:before{content:"๓ฐถ"}.mdi-minus-circle-multiple:before{content:"๓ฐš"}.mdi-minus-circle-multiple-outline:before{content:"๓ฐซ“"}.mdi-minus-circle-off:before{content:"๓ฑ‘™"}.mdi-minus-circle-off-outline:before{content:"๓ฑ‘š"}.mdi-minus-circle-outline:before{content:"๓ฐท"}.mdi-minus-network:before{content:"๓ฐธ"}.mdi-minus-network-outline:before{content:"๓ฐฒš"}.mdi-minus-thick:before{content:"๓ฑ˜น"}.mdi-mirror:before{content:"๓ฑ‡ฝ"}.mdi-mirror-rectangle:before{content:"๓ฑžŸ"}.mdi-mirror-variant:before{content:"๓ฑž "}.mdi-mixed-martial-arts:before{content:"๓ฐถ"}.mdi-mixed-reality:before{content:"๓ฐกฟ"}.mdi-molecule:before{content:"๓ฐฎฌ"}.mdi-molecule-co:before{content:"๓ฑ‹พ"}.mdi-molecule-co2:before{content:"๓ฐŸค"}.mdi-monitor:before{content:"๓ฐน"}.mdi-monitor-account:before{content:"๓ฑฉ›"}.mdi-monitor-arrow-down:before{content:"๓ฑง"}.mdi-monitor-arrow-down-variant:before{content:"๓ฑง‘"}.mdi-monitor-cellphone:before{content:"๓ฐฆ‰"}.mdi-monitor-cellphone-star:before{content:"๓ฐฆŠ"}.mdi-monitor-dashboard:before{content:"๓ฐจ‡"}.mdi-monitor-edit:before{content:"๓ฑ‹†"}.mdi-monitor-eye:before{content:"๓ฑŽด"}.mdi-monitor-lock:before{content:"๓ฐท›"}.mdi-monitor-multiple:before{content:"๓ฐบ"}.mdi-monitor-off:before{content:"๓ฐถ"}.mdi-monitor-screenshot:before{content:"๓ฐน‘"}.mdi-monitor-share:before{content:"๓ฑ’ƒ"}.mdi-monitor-shimmer:before{content:"๓ฑ„„"}.mdi-monitor-small:before{content:"๓ฑกถ"}.mdi-monitor-speaker:before{content:"๓ฐฝŸ"}.mdi-monitor-speaker-off:before{content:"๓ฐฝ "}.mdi-monitor-star:before{content:"๓ฐทœ"}.mdi-monitor-vertical:before{content:"๓ฑฐณ"}.mdi-moon-first-quarter:before{content:"๓ฐฝก"}.mdi-moon-full:before{content:"๓ฐฝข"}.mdi-moon-last-quarter:before{content:"๓ฐฝฃ"}.mdi-moon-new:before{content:"๓ฐฝค"}.mdi-moon-waning-crescent:before{content:"๓ฐฝฅ"}.mdi-moon-waning-gibbous:before{content:"๓ฐฝฆ"}.mdi-moon-waxing-crescent:before{content:"๓ฐฝง"}.mdi-moon-waxing-gibbous:before{content:"๓ฐฝจ"}.mdi-moped:before{content:"๓ฑ‚†"}.mdi-moped-electric:before{content:"๓ฑ–ท"}.mdi-moped-electric-outline:before{content:"๓ฑ–ธ"}.mdi-moped-outline:before{content:"๓ฑ–น"}.mdi-more:before{content:"๓ฐป"}.mdi-mortar-pestle:before{content:"๓ฑˆ"}.mdi-mortar-pestle-plus:before{content:"๓ฐฑ"}.mdi-mosque:before{content:"๓ฐต…"}.mdi-mosque-outline:before{content:"๓ฑ ง"}.mdi-mother-heart:before{content:"๓ฑŒ”"}.mdi-mother-nurse:before{content:"๓ฐดก"}.mdi-motion:before{content:"๓ฑ–ฒ"}.mdi-motion-outline:before{content:"๓ฑ–ณ"}.mdi-motion-pause:before{content:"๓ฑ–"}.mdi-motion-pause-outline:before{content:"๓ฑ–’"}.mdi-motion-play:before{content:"๓ฑ–"}.mdi-motion-play-outline:before{content:"๓ฑ–‘"}.mdi-motion-sensor:before{content:"๓ฐถ‘"}.mdi-motion-sensor-off:before{content:"๓ฑต"}.mdi-motorbike:before{content:"๓ฐผ"}.mdi-motorbike-electric:before{content:"๓ฑ–บ"}.mdi-motorbike-off:before{content:"๓ฑฌ–"}.mdi-mouse:before{content:"๓ฐฝ"}.mdi-mouse-bluetooth:before{content:"๓ฐฆ‹"}.mdi-mouse-move-down:before{content:"๓ฑ•"}.mdi-mouse-move-up:before{content:"๓ฑ•‘"}.mdi-mouse-move-vertical:before{content:"๓ฑ•’"}.mdi-mouse-off:before{content:"๓ฐพ"}.mdi-mouse-variant:before{content:"๓ฐฟ"}.mdi-mouse-variant-off:before{content:"๓ฐŽ€"}.mdi-move-resize:before{content:"๓ฐ™•"}.mdi-move-resize-variant:before{content:"๓ฐ™–"}.mdi-movie:before{content:"๓ฐŽ"}.mdi-movie-check:before{content:"๓ฑ›ณ"}.mdi-movie-check-outline:before{content:"๓ฑ›ด"}.mdi-movie-cog:before{content:"๓ฑ›ต"}.mdi-movie-cog-outline:before{content:"๓ฑ›ถ"}.mdi-movie-edit:before{content:"๓ฑ„ข"}.mdi-movie-edit-outline:before{content:"๓ฑ„ฃ"}.mdi-movie-filter:before{content:"๓ฑ„ค"}.mdi-movie-filter-outline:before{content:"๓ฑ„ฅ"}.mdi-movie-minus:before{content:"๓ฑ›ท"}.mdi-movie-minus-outline:before{content:"๓ฑ›ธ"}.mdi-movie-off:before{content:"๓ฑ›น"}.mdi-movie-off-outline:before{content:"๓ฑ›บ"}.mdi-movie-open:before{content:"๓ฐฟŽ"}.mdi-movie-open-check:before{content:"๓ฑ›ป"}.mdi-movie-open-check-outline:before{content:"๓ฑ›ผ"}.mdi-movie-open-cog:before{content:"๓ฑ›ฝ"}.mdi-movie-open-cog-outline:before{content:"๓ฑ›พ"}.mdi-movie-open-edit:before{content:"๓ฑ›ฟ"}.mdi-movie-open-edit-outline:before{content:"๓ฑœ€"}.mdi-movie-open-minus:before{content:"๓ฑœ"}.mdi-movie-open-minus-outline:before{content:"๓ฑœ‚"}.mdi-movie-open-off:before{content:"๓ฑœƒ"}.mdi-movie-open-off-outline:before{content:"๓ฑœ„"}.mdi-movie-open-outline:before{content:"๓ฐฟ"}.mdi-movie-open-play:before{content:"๓ฑœ…"}.mdi-movie-open-play-outline:before{content:"๓ฑœ†"}.mdi-movie-open-plus:before{content:"๓ฑœ‡"}.mdi-movie-open-plus-outline:before{content:"๓ฑœˆ"}.mdi-movie-open-remove:before{content:"๓ฑœ‰"}.mdi-movie-open-remove-outline:before{content:"๓ฑœŠ"}.mdi-movie-open-settings:before{content:"๓ฑœ‹"}.mdi-movie-open-settings-outline:before{content:"๓ฑœŒ"}.mdi-movie-open-star:before{content:"๓ฑœ"}.mdi-movie-open-star-outline:before{content:"๓ฑœŽ"}.mdi-movie-outline:before{content:"๓ฐท"}.mdi-movie-play:before{content:"๓ฑœ"}.mdi-movie-play-outline:before{content:"๓ฑœ"}.mdi-movie-plus:before{content:"๓ฑœ‘"}.mdi-movie-plus-outline:before{content:"๓ฑœ’"}.mdi-movie-remove:before{content:"๓ฑœ“"}.mdi-movie-remove-outline:before{content:"๓ฑœ”"}.mdi-movie-roll:before{content:"๓ฐŸž"}.mdi-movie-search:before{content:"๓ฑ‡’"}.mdi-movie-search-outline:before{content:"๓ฑ‡“"}.mdi-movie-settings:before{content:"๓ฑœ•"}.mdi-movie-settings-outline:before{content:"๓ฑœ–"}.mdi-movie-star:before{content:"๓ฑœ—"}.mdi-movie-star-outline:before{content:"๓ฑœ˜"}.mdi-mower:before{content:"๓ฑ™ฏ"}.mdi-mower-bag:before{content:"๓ฑ™ฐ"}.mdi-mower-bag-on:before{content:"๓ฑญ "}.mdi-mower-on:before{content:"๓ฑญŸ"}.mdi-muffin:before{content:"๓ฐฆŒ"}.mdi-multicast:before{content:"๓ฑข“"}.mdi-multimedia:before{content:"๓ฑฎ—"}.mdi-multiplication:before{content:"๓ฐŽ‚"}.mdi-multiplication-box:before{content:"๓ฐŽƒ"}.mdi-mushroom:before{content:"๓ฐŸŸ"}.mdi-mushroom-off:before{content:"๓ฑบ"}.mdi-mushroom-off-outline:before{content:"๓ฑป"}.mdi-mushroom-outline:before{content:"๓ฐŸ "}.mdi-music:before{content:"๓ฐš"}.mdi-music-accidental-double-flat:before{content:"๓ฐฝฉ"}.mdi-music-accidental-double-sharp:before{content:"๓ฐฝช"}.mdi-music-accidental-flat:before{content:"๓ฐฝซ"}.mdi-music-accidental-natural:before{content:"๓ฐฝฌ"}.mdi-music-accidental-sharp:before{content:"๓ฐฝญ"}.mdi-music-box:before{content:"๓ฐŽ„"}.mdi-music-box-multiple:before{content:"๓ฐŒณ"}.mdi-music-box-multiple-outline:before{content:"๓ฐผ„"}.mdi-music-box-outline:before{content:"๓ฐŽ…"}.mdi-music-circle:before{content:"๓ฐŽ†"}.mdi-music-circle-outline:before{content:"๓ฐซ”"}.mdi-music-clef-alto:before{content:"๓ฐฝฎ"}.mdi-music-clef-bass:before{content:"๓ฐฝฏ"}.mdi-music-clef-treble:before{content:"๓ฐฝฐ"}.mdi-music-note:before{content:"๓ฐŽ‡"}.mdi-music-note-bluetooth:before{content:"๓ฐ—พ"}.mdi-music-note-bluetooth-off:before{content:"๓ฐ—ฟ"}.mdi-music-note-eighth:before{content:"๓ฐŽˆ"}.mdi-music-note-eighth-dotted:before{content:"๓ฐฝฑ"}.mdi-music-note-half:before{content:"๓ฐŽ‰"}.mdi-music-note-half-dotted:before{content:"๓ฐฝฒ"}.mdi-music-note-minus:before{content:"๓ฑฎ‰"}.mdi-music-note-off:before{content:"๓ฐŽŠ"}.mdi-music-note-off-outline:before{content:"๓ฐฝณ"}.mdi-music-note-outline:before{content:"๓ฐฝด"}.mdi-music-note-plus:before{content:"๓ฐทž"}.mdi-music-note-quarter:before{content:"๓ฐŽ‹"}.mdi-music-note-quarter-dotted:before{content:"๓ฐฝต"}.mdi-music-note-sixteenth:before{content:"๓ฐŽŒ"}.mdi-music-note-sixteenth-dotted:before{content:"๓ฐฝถ"}.mdi-music-note-whole:before{content:"๓ฐŽ"}.mdi-music-note-whole-dotted:before{content:"๓ฐฝท"}.mdi-music-off:before{content:"๓ฐ›"}.mdi-music-rest-eighth:before{content:"๓ฐฝธ"}.mdi-music-rest-half:before{content:"๓ฐฝน"}.mdi-music-rest-quarter:before{content:"๓ฐฝบ"}.mdi-music-rest-sixteenth:before{content:"๓ฐฝป"}.mdi-music-rest-whole:before{content:"๓ฐฝผ"}.mdi-mustache:before{content:"๓ฑ—ž"}.mdi-nail:before{content:"๓ฐทŸ"}.mdi-nas:before{content:"๓ฐฃณ"}.mdi-nativescript:before{content:"๓ฐข€"}.mdi-nature:before{content:"๓ฐŽŽ"}.mdi-nature-outline:before{content:"๓ฑฑฑ"}.mdi-nature-people:before{content:"๓ฐŽ"}.mdi-nature-people-outline:before{content:"๓ฑฑฒ"}.mdi-navigation:before{content:"๓ฐŽ"}.mdi-navigation-outline:before{content:"๓ฑ˜‡"}.mdi-navigation-variant:before{content:"๓ฑฃฐ"}.mdi-navigation-variant-outline:before{content:"๓ฑฃฑ"}.mdi-near-me:before{content:"๓ฐ—"}.mdi-necklace:before{content:"๓ฐผ‹"}.mdi-needle:before{content:"๓ฐŽ‘"}.mdi-needle-off:before{content:"๓ฑง’"}.mdi-netflix:before{content:"๓ฐ†"}.mdi-network:before{content:"๓ฐ›ณ"}.mdi-network-off:before{content:"๓ฐฒ›"}.mdi-network-off-outline:before{content:"๓ฐฒœ"}.mdi-network-outline:before{content:"๓ฐฒ"}.mdi-network-pos:before{content:"๓ฑซ‹"}.mdi-network-strength-1:before{content:"๓ฐฃด"}.mdi-network-strength-1-alert:before{content:"๓ฐฃต"}.mdi-network-strength-2:before{content:"๓ฐฃถ"}.mdi-network-strength-2-alert:before{content:"๓ฐฃท"}.mdi-network-strength-3:before{content:"๓ฐฃธ"}.mdi-network-strength-3-alert:before{content:"๓ฐฃน"}.mdi-network-strength-4:before{content:"๓ฐฃบ"}.mdi-network-strength-4-alert:before{content:"๓ฐฃป"}.mdi-network-strength-4-cog:before{content:"๓ฑคš"}.mdi-network-strength-off:before{content:"๓ฐฃผ"}.mdi-network-strength-off-outline:before{content:"๓ฐฃฝ"}.mdi-network-strength-outline:before{content:"๓ฐฃพ"}.mdi-new-box:before{content:"๓ฐŽ”"}.mdi-newspaper:before{content:"๓ฐŽ•"}.mdi-newspaper-check:before{content:"๓ฑฅƒ"}.mdi-newspaper-minus:before{content:"๓ฐผŒ"}.mdi-newspaper-plus:before{content:"๓ฐผ"}.mdi-newspaper-remove:before{content:"๓ฑฅ„"}.mdi-newspaper-variant:before{content:"๓ฑ€"}.mdi-newspaper-variant-multiple:before{content:"๓ฑ€‚"}.mdi-newspaper-variant-multiple-outline:before{content:"๓ฑ€ƒ"}.mdi-newspaper-variant-outline:before{content:"๓ฑ€„"}.mdi-nfc:before{content:"๓ฐŽ–"}.mdi-nfc-search-variant:before{content:"๓ฐน“"}.mdi-nfc-tap:before{content:"๓ฐŽ—"}.mdi-nfc-variant:before{content:"๓ฐŽ˜"}.mdi-nfc-variant-off:before{content:"๓ฐน”"}.mdi-ninja:before{content:"๓ฐด"}.mdi-nintendo-game-boy:before{content:"๓ฑŽ“"}.mdi-nintendo-switch:before{content:"๓ฐŸก"}.mdi-nintendo-wii:before{content:"๓ฐ–ซ"}.mdi-nintendo-wiiu:before{content:"๓ฐœญ"}.mdi-nix:before{content:"๓ฑ„…"}.mdi-nodejs:before{content:"๓ฐŽ™"}.mdi-noodles:before{content:"๓ฑ…พ"}.mdi-not-equal:before{content:"๓ฐฆ"}.mdi-not-equal-variant:before{content:"๓ฐฆŽ"}.mdi-note:before{content:"๓ฐŽš"}.mdi-note-alert:before{content:"๓ฑฝ"}.mdi-note-alert-outline:before{content:"๓ฑพ"}.mdi-note-check:before{content:"๓ฑฟ"}.mdi-note-check-outline:before{content:"๓ฑž€"}.mdi-note-edit:before{content:"๓ฑž"}.mdi-note-edit-outline:before{content:"๓ฑž‚"}.mdi-note-minus:before{content:"๓ฑ™"}.mdi-note-minus-outline:before{content:"๓ฑ™"}.mdi-note-multiple:before{content:"๓ฐšธ"}.mdi-note-multiple-outline:before{content:"๓ฐšน"}.mdi-note-off:before{content:"๓ฑžƒ"}.mdi-note-off-outline:before{content:"๓ฑž„"}.mdi-note-outline:before{content:"๓ฐŽ›"}.mdi-note-plus:before{content:"๓ฐŽœ"}.mdi-note-plus-outline:before{content:"๓ฐŽ"}.mdi-note-remove:before{content:"๓ฑ™‘"}.mdi-note-remove-outline:before{content:"๓ฑ™’"}.mdi-note-search:before{content:"๓ฑ™“"}.mdi-note-search-outline:before{content:"๓ฑ™”"}.mdi-note-text:before{content:"๓ฐŽž"}.mdi-note-text-outline:before{content:"๓ฑ‡—"}.mdi-notebook:before{content:"๓ฐ ฎ"}.mdi-notebook-check:before{content:"๓ฑ“ต"}.mdi-notebook-check-outline:before{content:"๓ฑ“ถ"}.mdi-notebook-edit:before{content:"๓ฑ“ง"}.mdi-notebook-edit-outline:before{content:"๓ฑ“ฉ"}.mdi-notebook-heart:before{content:"๓ฑจ‹"}.mdi-notebook-heart-outline:before{content:"๓ฑจŒ"}.mdi-notebook-minus:before{content:"๓ฑ˜"}.mdi-notebook-minus-outline:before{content:"๓ฑ˜‘"}.mdi-notebook-multiple:before{content:"๓ฐน•"}.mdi-notebook-outline:before{content:"๓ฐบฟ"}.mdi-notebook-plus:before{content:"๓ฑ˜’"}.mdi-notebook-plus-outline:before{content:"๓ฑ˜“"}.mdi-notebook-remove:before{content:"๓ฑ˜”"}.mdi-notebook-remove-outline:before{content:"๓ฑ˜•"}.mdi-notification-clear-all:before{content:"๓ฐŽŸ"}.mdi-npm:before{content:"๓ฐ›ท"}.mdi-nuke:before{content:"๓ฐšค"}.mdi-null:before{content:"๓ฐŸข"}.mdi-numeric:before{content:"๓ฐŽ "}.mdi-numeric-0:before{content:"๓ฐฌน"}.mdi-numeric-0-box:before{content:"๓ฐŽก"}.mdi-numeric-0-box-multiple:before{content:"๓ฐผŽ"}.mdi-numeric-0-box-multiple-outline:before{content:"๓ฐŽข"}.mdi-numeric-0-box-outline:before{content:"๓ฐŽฃ"}.mdi-numeric-0-circle:before{content:"๓ฐฒž"}.mdi-numeric-0-circle-outline:before{content:"๓ฐฒŸ"}.mdi-numeric-1:before{content:"๓ฐฌบ"}.mdi-numeric-1-box:before{content:"๓ฐŽค"}.mdi-numeric-1-box-multiple:before{content:"๓ฐผ"}.mdi-numeric-1-box-multiple-outline:before{content:"๓ฐŽฅ"}.mdi-numeric-1-box-outline:before{content:"๓ฐŽฆ"}.mdi-numeric-1-circle:before{content:"๓ฐฒ "}.mdi-numeric-1-circle-outline:before{content:"๓ฐฒก"}.mdi-numeric-10:before{content:"๓ฐฟฉ"}.mdi-numeric-10-box:before{content:"๓ฐฝฝ"}.mdi-numeric-10-box-multiple:before{content:"๓ฐฟช"}.mdi-numeric-10-box-multiple-outline:before{content:"๓ฐฟซ"}.mdi-numeric-10-box-outline:before{content:"๓ฐฝพ"}.mdi-numeric-10-circle:before{content:"๓ฐฟฌ"}.mdi-numeric-10-circle-outline:before{content:"๓ฐฟญ"}.mdi-numeric-2:before{content:"๓ฐฌป"}.mdi-numeric-2-box:before{content:"๓ฐŽง"}.mdi-numeric-2-box-multiple:before{content:"๓ฐผ"}.mdi-numeric-2-box-multiple-outline:before{content:"๓ฐŽจ"}.mdi-numeric-2-box-outline:before{content:"๓ฐŽฉ"}.mdi-numeric-2-circle:before{content:"๓ฐฒข"}.mdi-numeric-2-circle-outline:before{content:"๓ฐฒฃ"}.mdi-numeric-3:before{content:"๓ฐฌผ"}.mdi-numeric-3-box:before{content:"๓ฐŽช"}.mdi-numeric-3-box-multiple:before{content:"๓ฐผ‘"}.mdi-numeric-3-box-multiple-outline:before{content:"๓ฐŽซ"}.mdi-numeric-3-box-outline:before{content:"๓ฐŽฌ"}.mdi-numeric-3-circle:before{content:"๓ฐฒค"}.mdi-numeric-3-circle-outline:before{content:"๓ฐฒฅ"}.mdi-numeric-4:before{content:"๓ฐฌฝ"}.mdi-numeric-4-box:before{content:"๓ฐŽญ"}.mdi-numeric-4-box-multiple:before{content:"๓ฐผ’"}.mdi-numeric-4-box-multiple-outline:before{content:"๓ฐŽฒ"}.mdi-numeric-4-box-outline:before{content:"๓ฐŽฎ"}.mdi-numeric-4-circle:before{content:"๓ฐฒฆ"}.mdi-numeric-4-circle-outline:before{content:"๓ฐฒง"}.mdi-numeric-5:before{content:"๓ฐฌพ"}.mdi-numeric-5-box:before{content:"๓ฐŽฑ"}.mdi-numeric-5-box-multiple:before{content:"๓ฐผ“"}.mdi-numeric-5-box-multiple-outline:before{content:"๓ฐŽฏ"}.mdi-numeric-5-box-outline:before{content:"๓ฐŽฐ"}.mdi-numeric-5-circle:before{content:"๓ฐฒจ"}.mdi-numeric-5-circle-outline:before{content:"๓ฐฒฉ"}.mdi-numeric-6:before{content:"๓ฐฌฟ"}.mdi-numeric-6-box:before{content:"๓ฐŽณ"}.mdi-numeric-6-box-multiple:before{content:"๓ฐผ”"}.mdi-numeric-6-box-multiple-outline:before{content:"๓ฐŽด"}.mdi-numeric-6-box-outline:before{content:"๓ฐŽต"}.mdi-numeric-6-circle:before{content:"๓ฐฒช"}.mdi-numeric-6-circle-outline:before{content:"๓ฐฒซ"}.mdi-numeric-7:before{content:"๓ฐญ€"}.mdi-numeric-7-box:before{content:"๓ฐŽถ"}.mdi-numeric-7-box-multiple:before{content:"๓ฐผ•"}.mdi-numeric-7-box-multiple-outline:before{content:"๓ฐŽท"}.mdi-numeric-7-box-outline:before{content:"๓ฐŽธ"}.mdi-numeric-7-circle:before{content:"๓ฐฒฌ"}.mdi-numeric-7-circle-outline:before{content:"๓ฐฒญ"}.mdi-numeric-8:before{content:"๓ฐญ"}.mdi-numeric-8-box:before{content:"๓ฐŽน"}.mdi-numeric-8-box-multiple:before{content:"๓ฐผ–"}.mdi-numeric-8-box-multiple-outline:before{content:"๓ฐŽบ"}.mdi-numeric-8-box-outline:before{content:"๓ฐŽป"}.mdi-numeric-8-circle:before{content:"๓ฐฒฎ"}.mdi-numeric-8-circle-outline:before{content:"๓ฐฒฏ"}.mdi-numeric-9:before{content:"๓ฐญ‚"}.mdi-numeric-9-box:before{content:"๓ฐŽผ"}.mdi-numeric-9-box-multiple:before{content:"๓ฐผ—"}.mdi-numeric-9-box-multiple-outline:before{content:"๓ฐŽฝ"}.mdi-numeric-9-box-outline:before{content:"๓ฐŽพ"}.mdi-numeric-9-circle:before{content:"๓ฐฒฐ"}.mdi-numeric-9-circle-outline:before{content:"๓ฐฒฑ"}.mdi-numeric-9-plus:before{content:"๓ฐฟฎ"}.mdi-numeric-9-plus-box:before{content:"๓ฐŽฟ"}.mdi-numeric-9-plus-box-multiple:before{content:"๓ฐผ˜"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"๓ฐ€"}.mdi-numeric-9-plus-box-outline:before{content:"๓ฐ"}.mdi-numeric-9-plus-circle:before{content:"๓ฐฒฒ"}.mdi-numeric-9-plus-circle-outline:before{content:"๓ฐฒณ"}.mdi-numeric-negative-1:before{content:"๓ฑ’"}.mdi-numeric-off:before{content:"๓ฑง“"}.mdi-numeric-positive-1:before{content:"๓ฑ—‹"}.mdi-nut:before{content:"๓ฐ›ธ"}.mdi-nutrition:before{content:"๓ฐ‚"}.mdi-nuxt:before{content:"๓ฑ„†"}.mdi-oar:before{content:"๓ฐ™ผ"}.mdi-ocarina:before{content:"๓ฐท "}.mdi-oci:before{content:"๓ฑ‹ฉ"}.mdi-ocr:before{content:"๓ฑ„บ"}.mdi-octagon:before{content:"๓ฐƒ"}.mdi-octagon-outline:before{content:"๓ฐ„"}.mdi-octagram:before{content:"๓ฐ›น"}.mdi-octagram-edit:before{content:"๓ฑฐด"}.mdi-octagram-edit-outline:before{content:"๓ฑฐต"}.mdi-octagram-minus:before{content:"๓ฑฐถ"}.mdi-octagram-minus-outline:before{content:"๓ฑฐท"}.mdi-octagram-outline:before{content:"๓ฐต"}.mdi-octagram-plus:before{content:"๓ฑฐธ"}.mdi-octagram-plus-outline:before{content:"๓ฑฐน"}.mdi-octahedron:before{content:"๓ฑฅ"}.mdi-octahedron-off:before{content:"๓ฑฅ‘"}.mdi-odnoklassniki:before{content:"๓ฐ…"}.mdi-offer:before{content:"๓ฑˆ›"}.mdi-office-building:before{content:"๓ฐฆ‘"}.mdi-office-building-cog:before{content:"๓ฑฅ‰"}.mdi-office-building-cog-outline:before{content:"๓ฑฅŠ"}.mdi-office-building-marker:before{content:"๓ฑ” "}.mdi-office-building-marker-outline:before{content:"๓ฑ”ก"}.mdi-office-building-minus:before{content:"๓ฑฎช"}.mdi-office-building-minus-outline:before{content:"๓ฑฎซ"}.mdi-office-building-outline:before{content:"๓ฑ”Ÿ"}.mdi-office-building-plus:before{content:"๓ฑฎจ"}.mdi-office-building-plus-outline:before{content:"๓ฑฎฉ"}.mdi-office-building-remove:before{content:"๓ฑฎฌ"}.mdi-office-building-remove-outline:before{content:"๓ฑฎญ"}.mdi-oil:before{content:"๓ฐ‡"}.mdi-oil-lamp:before{content:"๓ฐผ™"}.mdi-oil-level:before{content:"๓ฑ“"}.mdi-oil-temperature:before{content:"๓ฐฟธ"}.mdi-om:before{content:"๓ฐฅณ"}.mdi-omega:before{content:"๓ฐ‰"}.mdi-one-up:before{content:"๓ฐฎญ"}.mdi-onepassword:before{content:"๓ฐข"}.mdi-opacity:before{content:"๓ฐ—Œ"}.mdi-open-in-app:before{content:"๓ฐ‹"}.mdi-open-in-new:before{content:"๓ฐŒ"}.mdi-open-source-initiative:before{content:"๓ฐฎฎ"}.mdi-openid:before{content:"๓ฐ"}.mdi-opera:before{content:"๓ฐŽ"}.mdi-orbit:before{content:"๓ฐ€˜"}.mdi-orbit-variant:before{content:"๓ฑ—›"}.mdi-order-alphabetical-ascending:before{content:"๓ฐˆ"}.mdi-order-alphabetical-descending:before{content:"๓ฐด‡"}.mdi-order-bool-ascending:before{content:"๓ฐŠพ"}.mdi-order-bool-ascending-variant:before{content:"๓ฐฆ"}.mdi-order-bool-descending:before{content:"๓ฑŽ„"}.mdi-order-bool-descending-variant:before{content:"๓ฐฆ"}.mdi-order-numeric-ascending:before{content:"๓ฐ•…"}.mdi-order-numeric-descending:before{content:"๓ฐ•†"}.mdi-origin:before{content:"๓ฐญƒ"}.mdi-ornament:before{content:"๓ฐ"}.mdi-ornament-variant:before{content:"๓ฐ"}.mdi-outdoor-lamp:before{content:"๓ฑ”"}.mdi-overscan:before{content:"๓ฑ€…"}.mdi-owl:before{content:"๓ฐ’"}.mdi-pac-man:before{content:"๓ฐฎฏ"}.mdi-package:before{content:"๓ฐ“"}.mdi-package-check:before{content:"๓ฑญ‘"}.mdi-package-down:before{content:"๓ฐ”"}.mdi-package-up:before{content:"๓ฐ•"}.mdi-package-variant:before{content:"๓ฐ–"}.mdi-package-variant-closed:before{content:"๓ฐ—"}.mdi-package-variant-closed-check:before{content:"๓ฑญ’"}.mdi-package-variant-closed-minus:before{content:"๓ฑง”"}.mdi-package-variant-closed-plus:before{content:"๓ฑง•"}.mdi-package-variant-closed-remove:before{content:"๓ฑง–"}.mdi-package-variant-minus:before{content:"๓ฑง—"}.mdi-package-variant-plus:before{content:"๓ฑง˜"}.mdi-package-variant-remove:before{content:"๓ฑง™"}.mdi-page-first:before{content:"๓ฐ˜€"}.mdi-page-last:before{content:"๓ฐ˜"}.mdi-page-layout-body:before{content:"๓ฐ›บ"}.mdi-page-layout-footer:before{content:"๓ฐ›ป"}.mdi-page-layout-header:before{content:"๓ฐ›ผ"}.mdi-page-layout-header-footer:before{content:"๓ฐฝฟ"}.mdi-page-layout-sidebar-left:before{content:"๓ฐ›ฝ"}.mdi-page-layout-sidebar-right:before{content:"๓ฐ›พ"}.mdi-page-next:before{content:"๓ฐฎฐ"}.mdi-page-next-outline:before{content:"๓ฐฎฑ"}.mdi-page-previous:before{content:"๓ฐฎฒ"}.mdi-page-previous-outline:before{content:"๓ฐฎณ"}.mdi-pail:before{content:"๓ฑ—"}.mdi-pail-minus:before{content:"๓ฑท"}.mdi-pail-minus-outline:before{content:"๓ฑผ"}.mdi-pail-off:before{content:"๓ฑน"}.mdi-pail-off-outline:before{content:"๓ฑพ"}.mdi-pail-outline:before{content:"๓ฑบ"}.mdi-pail-plus:before{content:"๓ฑถ"}.mdi-pail-plus-outline:before{content:"๓ฑป"}.mdi-pail-remove:before{content:"๓ฑธ"}.mdi-pail-remove-outline:before{content:"๓ฑฝ"}.mdi-palette:before{content:"๓ฐ˜"}.mdi-palette-advanced:before{content:"๓ฐ™"}.mdi-palette-outline:before{content:"๓ฐธŒ"}.mdi-palette-swatch:before{content:"๓ฐขต"}.mdi-palette-swatch-outline:before{content:"๓ฑœ"}.mdi-palette-swatch-variant:before{content:"๓ฑฅš"}.mdi-palm-tree:before{content:"๓ฑ•"}.mdi-pan:before{content:"๓ฐฎด"}.mdi-pan-bottom-left:before{content:"๓ฐฎต"}.mdi-pan-bottom-right:before{content:"๓ฐฎถ"}.mdi-pan-down:before{content:"๓ฐฎท"}.mdi-pan-horizontal:before{content:"๓ฐฎธ"}.mdi-pan-left:before{content:"๓ฐฎน"}.mdi-pan-right:before{content:"๓ฐฎบ"}.mdi-pan-top-left:before{content:"๓ฐฎป"}.mdi-pan-top-right:before{content:"๓ฐฎผ"}.mdi-pan-up:before{content:"๓ฐฎฝ"}.mdi-pan-vertical:before{content:"๓ฐฎพ"}.mdi-panda:before{content:"๓ฐš"}.mdi-pandora:before{content:"๓ฐ›"}.mdi-panorama:before{content:"๓ฐœ"}.mdi-panorama-fisheye:before{content:"๓ฐ"}.mdi-panorama-horizontal:before{content:"๓ฑคจ"}.mdi-panorama-horizontal-outline:before{content:"๓ฐž"}.mdi-panorama-outline:before{content:"๓ฑฆŒ"}.mdi-panorama-sphere:before{content:"๓ฑฆ"}.mdi-panorama-sphere-outline:before{content:"๓ฑฆŽ"}.mdi-panorama-variant:before{content:"๓ฑฆ"}.mdi-panorama-variant-outline:before{content:"๓ฑฆ"}.mdi-panorama-vertical:before{content:"๓ฑคฉ"}.mdi-panorama-vertical-outline:before{content:"๓ฐŸ"}.mdi-panorama-wide-angle:before{content:"๓ฑฅŸ"}.mdi-panorama-wide-angle-outline:before{content:"๓ฐ "}.mdi-paper-cut-vertical:before{content:"๓ฐก"}.mdi-paper-roll:before{content:"๓ฑ…—"}.mdi-paper-roll-outline:before{content:"๓ฑ…˜"}.mdi-paperclip:before{content:"๓ฐข"}.mdi-paperclip-check:before{content:"๓ฑซ†"}.mdi-paperclip-lock:before{content:"๓ฑงš"}.mdi-paperclip-minus:before{content:"๓ฑซ‡"}.mdi-paperclip-off:before{content:"๓ฑซˆ"}.mdi-paperclip-plus:before{content:"๓ฑซ‰"}.mdi-paperclip-remove:before{content:"๓ฑซŠ"}.mdi-parachute:before{content:"๓ฐฒด"}.mdi-parachute-outline:before{content:"๓ฐฒต"}.mdi-paragliding:before{content:"๓ฑ…"}.mdi-parking:before{content:"๓ฐฃ"}.mdi-party-popper:before{content:"๓ฑ–"}.mdi-passport:before{content:"๓ฐŸฃ"}.mdi-passport-biometric:before{content:"๓ฐทก"}.mdi-pasta:before{content:"๓ฑ… "}.mdi-patio-heater:before{content:"๓ฐพ€"}.mdi-patreon:before{content:"๓ฐข‚"}.mdi-pause:before{content:"๓ฐค"}.mdi-pause-box:before{content:"๓ฐ‚ผ"}.mdi-pause-box-outline:before{content:"๓ฑญบ"}.mdi-pause-circle:before{content:"๓ฐฅ"}.mdi-pause-circle-outline:before{content:"๓ฐฆ"}.mdi-pause-octagon:before{content:"๓ฐง"}.mdi-pause-octagon-outline:before{content:"๓ฐจ"}.mdi-paw:before{content:"๓ฐฉ"}.mdi-paw-off:before{content:"๓ฐ™—"}.mdi-paw-off-outline:before{content:"๓ฑ™ถ"}.mdi-paw-outline:before{content:"๓ฑ™ต"}.mdi-peace:before{content:"๓ฐข„"}.mdi-peanut:before{content:"๓ฐฟผ"}.mdi-peanut-off:before{content:"๓ฐฟฝ"}.mdi-peanut-off-outline:before{content:"๓ฐฟฟ"}.mdi-peanut-outline:before{content:"๓ฐฟพ"}.mdi-pen:before{content:"๓ฐช"}.mdi-pen-lock:before{content:"๓ฐทข"}.mdi-pen-minus:before{content:"๓ฐทฃ"}.mdi-pen-off:before{content:"๓ฐทค"}.mdi-pen-plus:before{content:"๓ฐทฅ"}.mdi-pen-remove:before{content:"๓ฐทฆ"}.mdi-pencil:before{content:"๓ฐซ"}.mdi-pencil-box:before{content:"๓ฐฌ"}.mdi-pencil-box-multiple:before{content:"๓ฑ…„"}.mdi-pencil-box-multiple-outline:before{content:"๓ฑ……"}.mdi-pencil-box-outline:before{content:"๓ฐญ"}.mdi-pencil-circle:before{content:"๓ฐ›ฟ"}.mdi-pencil-circle-outline:before{content:"๓ฐถ"}.mdi-pencil-lock:before{content:"๓ฐฎ"}.mdi-pencil-lock-outline:before{content:"๓ฐทง"}.mdi-pencil-minus:before{content:"๓ฐทจ"}.mdi-pencil-minus-outline:before{content:"๓ฐทฉ"}.mdi-pencil-off:before{content:"๓ฐฏ"}.mdi-pencil-off-outline:before{content:"๓ฐทช"}.mdi-pencil-outline:before{content:"๓ฐฒถ"}.mdi-pencil-plus:before{content:"๓ฐทซ"}.mdi-pencil-plus-outline:before{content:"๓ฐทฌ"}.mdi-pencil-remove:before{content:"๓ฐทญ"}.mdi-pencil-remove-outline:before{content:"๓ฐทฎ"}.mdi-pencil-ruler:before{content:"๓ฑ“"}.mdi-pencil-ruler-outline:before{content:"๓ฑฐ‘"}.mdi-penguin:before{content:"๓ฐป€"}.mdi-pentagon:before{content:"๓ฐœ"}.mdi-pentagon-outline:before{content:"๓ฐœ€"}.mdi-pentagram:before{content:"๓ฑ™ง"}.mdi-percent:before{content:"๓ฐฐ"}.mdi-percent-box:before{content:"๓ฑจ‚"}.mdi-percent-box-outline:before{content:"๓ฑจƒ"}.mdi-percent-circle:before{content:"๓ฑจ„"}.mdi-percent-circle-outline:before{content:"๓ฑจ…"}.mdi-percent-outline:before{content:"๓ฑ‰ธ"}.mdi-periodic-table:before{content:"๓ฐขถ"}.mdi-perspective-less:before{content:"๓ฐดฃ"}.mdi-perspective-more:before{content:"๓ฐดค"}.mdi-ph:before{content:"๓ฑŸ…"}.mdi-phone:before{content:"๓ฐฒ"}.mdi-phone-alert:before{content:"๓ฐผš"}.mdi-phone-alert-outline:before{content:"๓ฑ†Ž"}.mdi-phone-bluetooth:before{content:"๓ฐณ"}.mdi-phone-bluetooth-outline:before{content:"๓ฑ†"}.mdi-phone-cancel:before{content:"๓ฑ‚ผ"}.mdi-phone-cancel-outline:before{content:"๓ฑ†"}.mdi-phone-check:before{content:"๓ฑ†ฉ"}.mdi-phone-check-outline:before{content:"๓ฑ†ช"}.mdi-phone-classic:before{content:"๓ฐ˜‚"}.mdi-phone-classic-off:before{content:"๓ฑ‰น"}.mdi-phone-clock:before{content:"๓ฑง›"}.mdi-phone-dial:before{content:"๓ฑ•™"}.mdi-phone-dial-outline:before{content:"๓ฑ•š"}.mdi-phone-forward:before{content:"๓ฐด"}.mdi-phone-forward-outline:before{content:"๓ฑ†‘"}.mdi-phone-hangup:before{content:"๓ฐต"}.mdi-phone-hangup-outline:before{content:"๓ฑ†’"}.mdi-phone-in-talk:before{content:"๓ฐถ"}.mdi-phone-in-talk-outline:before{content:"๓ฑ†‚"}.mdi-phone-incoming:before{content:"๓ฐท"}.mdi-phone-incoming-outgoing:before{content:"๓ฑฌฟ"}.mdi-phone-incoming-outgoing-outline:before{content:"๓ฑญ€"}.mdi-phone-incoming-outline:before{content:"๓ฑ†“"}.mdi-phone-lock:before{content:"๓ฐธ"}.mdi-phone-lock-outline:before{content:"๓ฑ†”"}.mdi-phone-log:before{content:"๓ฐน"}.mdi-phone-log-outline:before{content:"๓ฑ†•"}.mdi-phone-message:before{content:"๓ฑ†–"}.mdi-phone-message-outline:before{content:"๓ฑ†—"}.mdi-phone-minus:before{content:"๓ฐ™˜"}.mdi-phone-minus-outline:before{content:"๓ฑ†˜"}.mdi-phone-missed:before{content:"๓ฐบ"}.mdi-phone-missed-outline:before{content:"๓ฑ†ฅ"}.mdi-phone-off:before{content:"๓ฐทฏ"}.mdi-phone-off-outline:before{content:"๓ฑ†ฆ"}.mdi-phone-outgoing:before{content:"๓ฐป"}.mdi-phone-outgoing-outline:before{content:"๓ฑ†™"}.mdi-phone-outline:before{content:"๓ฐทฐ"}.mdi-phone-paused:before{content:"๓ฐผ"}.mdi-phone-paused-outline:before{content:"๓ฑ†š"}.mdi-phone-plus:before{content:"๓ฐ™™"}.mdi-phone-plus-outline:before{content:"๓ฑ†›"}.mdi-phone-refresh:before{content:"๓ฑฆ“"}.mdi-phone-refresh-outline:before{content:"๓ฑฆ”"}.mdi-phone-remove:before{content:"๓ฑ”ฏ"}.mdi-phone-remove-outline:before{content:"๓ฑ”ฐ"}.mdi-phone-return:before{content:"๓ฐ ฏ"}.mdi-phone-return-outline:before{content:"๓ฑ†œ"}.mdi-phone-ring:before{content:"๓ฑ†ซ"}.mdi-phone-ring-outline:before{content:"๓ฑ†ฌ"}.mdi-phone-rotate-landscape:before{content:"๓ฐข…"}.mdi-phone-rotate-portrait:before{content:"๓ฐข†"}.mdi-phone-settings:before{content:"๓ฐฝ"}.mdi-phone-settings-outline:before{content:"๓ฑ†"}.mdi-phone-sync:before{content:"๓ฑฆ•"}.mdi-phone-sync-outline:before{content:"๓ฑฆ–"}.mdi-phone-voip:before{content:"๓ฐพ"}.mdi-pi:before{content:"๓ฐฟ"}.mdi-pi-box:before{content:"๓ฐ€"}.mdi-pi-hole:before{content:"๓ฐทฑ"}.mdi-piano:before{content:"๓ฐ™ฝ"}.mdi-piano-off:before{content:"๓ฐš˜"}.mdi-pickaxe:before{content:"๓ฐขท"}.mdi-picture-in-picture-bottom-right:before{content:"๓ฐน—"}.mdi-picture-in-picture-bottom-right-outline:before{content:"๓ฐน˜"}.mdi-picture-in-picture-top-right:before{content:"๓ฐน™"}.mdi-picture-in-picture-top-right-outline:before{content:"๓ฐนš"}.mdi-pier:before{content:"๓ฐข‡"}.mdi-pier-crane:before{content:"๓ฐขˆ"}.mdi-pig:before{content:"๓ฐ"}.mdi-pig-variant:before{content:"๓ฑ€†"}.mdi-pig-variant-outline:before{content:"๓ฑ™ธ"}.mdi-piggy-bank:before{content:"๓ฑ€‡"}.mdi-piggy-bank-outline:before{content:"๓ฑ™น"}.mdi-pill:before{content:"๓ฐ‚"}.mdi-pill-multiple:before{content:"๓ฑญŒ"}.mdi-pill-off:before{content:"๓ฑฉœ"}.mdi-pillar:before{content:"๓ฐœ‚"}.mdi-pin:before{content:"๓ฐƒ"}.mdi-pin-off:before{content:"๓ฐ„"}.mdi-pin-off-outline:before{content:"๓ฐคฐ"}.mdi-pin-outline:before{content:"๓ฐคฑ"}.mdi-pine-tree:before{content:"๓ฐ…"}.mdi-pine-tree-box:before{content:"๓ฐ†"}.mdi-pine-tree-fire:before{content:"๓ฑš"}.mdi-pine-tree-variant:before{content:"๓ฑฑณ"}.mdi-pine-tree-variant-outline:before{content:"๓ฑฑด"}.mdi-pinterest:before{content:"๓ฐ‡"}.mdi-pinwheel:before{content:"๓ฐซ•"}.mdi-pinwheel-outline:before{content:"๓ฐซ–"}.mdi-pipe:before{content:"๓ฐŸฅ"}.mdi-pipe-disconnected:before{content:"๓ฐŸฆ"}.mdi-pipe-leak:before{content:"๓ฐข‰"}.mdi-pipe-valve:before{content:"๓ฑก"}.mdi-pipe-wrench:before{content:"๓ฑ”"}.mdi-pirate:before{content:"๓ฐจˆ"}.mdi-pistol:before{content:"๓ฐœƒ"}.mdi-piston:before{content:"๓ฐขŠ"}.mdi-pitchfork:before{content:"๓ฑ•“"}.mdi-pizza:before{content:"๓ฐ‰"}.mdi-plane-car:before{content:"๓ฑซฟ"}.mdi-plane-train:before{content:"๓ฑฌ€"}.mdi-play:before{content:"๓ฐŠ"}.mdi-play-box:before{content:"๓ฑ‰บ"}.mdi-play-box-edit-outline:before{content:"๓ฑฐบ"}.mdi-play-box-lock:before{content:"๓ฑจ–"}.mdi-play-box-lock-open:before{content:"๓ฑจ—"}.mdi-play-box-lock-open-outline:before{content:"๓ฑจ˜"}.mdi-play-box-lock-outline:before{content:"๓ฑจ™"}.mdi-play-box-multiple:before{content:"๓ฐด™"}.mdi-play-box-multiple-outline:before{content:"๓ฑฆ"}.mdi-play-box-outline:before{content:"๓ฐ‹"}.mdi-play-circle:before{content:"๓ฐŒ"}.mdi-play-circle-outline:before{content:"๓ฐ"}.mdi-play-network:before{content:"๓ฐข‹"}.mdi-play-network-outline:before{content:"๓ฐฒท"}.mdi-play-outline:before{content:"๓ฐผ›"}.mdi-play-pause:before{content:"๓ฐŽ"}.mdi-play-protected-content:before{content:"๓ฐ"}.mdi-play-speed:before{content:"๓ฐฃฟ"}.mdi-playlist-check:before{content:"๓ฐ—‡"}.mdi-playlist-edit:before{content:"๓ฐค€"}.mdi-playlist-minus:before{content:"๓ฐ"}.mdi-playlist-music:before{content:"๓ฐฒธ"}.mdi-playlist-music-outline:before{content:"๓ฐฒน"}.mdi-playlist-play:before{content:"๓ฐ‘"}.mdi-playlist-plus:before{content:"๓ฐ’"}.mdi-playlist-remove:before{content:"๓ฐ“"}.mdi-playlist-star:before{content:"๓ฐทฒ"}.mdi-plex:before{content:"๓ฐšบ"}.mdi-pliers:before{content:"๓ฑฆค"}.mdi-plus:before{content:"๓ฐ•"}.mdi-plus-box:before{content:"๓ฐ–"}.mdi-plus-box-multiple:before{content:"๓ฐŒด"}.mdi-plus-box-multiple-outline:before{content:"๓ฑ…ƒ"}.mdi-plus-box-outline:before{content:"๓ฐœ„"}.mdi-plus-circle:before{content:"๓ฐ—"}.mdi-plus-circle-multiple:before{content:"๓ฐŒ"}.mdi-plus-circle-multiple-outline:before{content:"๓ฐ˜"}.mdi-plus-circle-outline:before{content:"๓ฐ™"}.mdi-plus-lock:before{content:"๓ฑฉ"}.mdi-plus-lock-open:before{content:"๓ฑฉž"}.mdi-plus-minus:before{content:"๓ฐฆ’"}.mdi-plus-minus-box:before{content:"๓ฐฆ“"}.mdi-plus-minus-variant:before{content:"๓ฑ“‰"}.mdi-plus-network:before{content:"๓ฐš"}.mdi-plus-network-outline:before{content:"๓ฐฒบ"}.mdi-plus-outline:before{content:"๓ฐœ…"}.mdi-plus-thick:before{content:"๓ฑ‡ฌ"}.mdi-podcast:before{content:"๓ฐฆ”"}.mdi-podium:before{content:"๓ฐดฅ"}.mdi-podium-bronze:before{content:"๓ฐดฆ"}.mdi-podium-gold:before{content:"๓ฐดง"}.mdi-podium-silver:before{content:"๓ฐดจ"}.mdi-point-of-sale:before{content:"๓ฐถ’"}.mdi-pokeball:before{content:"๓ฐ"}.mdi-pokemon-go:before{content:"๓ฐจ‰"}.mdi-poker-chip:before{content:"๓ฐ ฐ"}.mdi-polaroid:before{content:"๓ฐž"}.mdi-police-badge:before{content:"๓ฑ…ง"}.mdi-police-badge-outline:before{content:"๓ฑ…จ"}.mdi-police-station:before{content:"๓ฑ น"}.mdi-poll:before{content:"๓ฐŸ"}.mdi-polo:before{content:"๓ฑ“ƒ"}.mdi-polymer:before{content:"๓ฐก"}.mdi-pool:before{content:"๓ฐ˜†"}.mdi-pool-thermometer:before{content:"๓ฑฉŸ"}.mdi-popcorn:before{content:"๓ฐข"}.mdi-post:before{content:"๓ฑ€ˆ"}.mdi-post-lamp:before{content:"๓ฑฉ "}.mdi-post-outline:before{content:"๓ฑ€‰"}.mdi-postage-stamp:before{content:"๓ฐฒป"}.mdi-pot:before{content:"๓ฐ‹ฅ"}.mdi-pot-mix:before{content:"๓ฐ™›"}.mdi-pot-mix-outline:before{content:"๓ฐ™ท"}.mdi-pot-outline:before{content:"๓ฐ‹ฟ"}.mdi-pot-steam:before{content:"๓ฐ™š"}.mdi-pot-steam-outline:before{content:"๓ฐŒฆ"}.mdi-pound:before{content:"๓ฐฃ"}.mdi-pound-box:before{content:"๓ฐค"}.mdi-pound-box-outline:before{content:"๓ฑ…ฟ"}.mdi-power:before{content:"๓ฐฅ"}.mdi-power-cycle:before{content:"๓ฐค"}.mdi-power-off:before{content:"๓ฐค‚"}.mdi-power-on:before{content:"๓ฐคƒ"}.mdi-power-plug:before{content:"๓ฐšฅ"}.mdi-power-plug-battery:before{content:"๓ฑฐป"}.mdi-power-plug-battery-outline:before{content:"๓ฑฐผ"}.mdi-power-plug-off:before{content:"๓ฐšฆ"}.mdi-power-plug-off-outline:before{content:"๓ฑค"}.mdi-power-plug-outline:before{content:"๓ฑฅ"}.mdi-power-settings:before{content:"๓ฐฆ"}.mdi-power-sleep:before{content:"๓ฐค„"}.mdi-power-socket:before{content:"๓ฐง"}.mdi-power-socket-au:before{content:"๓ฐค…"}.mdi-power-socket-ch:before{content:"๓ฐพณ"}.mdi-power-socket-de:before{content:"๓ฑ„‡"}.mdi-power-socket-eu:before{content:"๓ฐŸง"}.mdi-power-socket-fr:before{content:"๓ฑ„ˆ"}.mdi-power-socket-it:before{content:"๓ฑ“ฟ"}.mdi-power-socket-jp:before{content:"๓ฑ„‰"}.mdi-power-socket-uk:before{content:"๓ฐŸจ"}.mdi-power-socket-us:before{content:"๓ฐŸฉ"}.mdi-power-standby:before{content:"๓ฐค†"}.mdi-powershell:before{content:"๓ฐจŠ"}.mdi-prescription:before{content:"๓ฐœ†"}.mdi-presentation:before{content:"๓ฐจ"}.mdi-presentation-play:before{content:"๓ฐฉ"}.mdi-pretzel:before{content:"๓ฑ•ข"}.mdi-printer:before{content:"๓ฐช"}.mdi-printer-3d:before{content:"๓ฐซ"}.mdi-printer-3d-nozzle:before{content:"๓ฐน›"}.mdi-printer-3d-nozzle-alert:before{content:"๓ฑ‡€"}.mdi-printer-3d-nozzle-alert-outline:before{content:"๓ฑ‡"}.mdi-printer-3d-nozzle-heat:before{content:"๓ฑขธ"}.mdi-printer-3d-nozzle-heat-outline:before{content:"๓ฑขน"}.mdi-printer-3d-nozzle-off:before{content:"๓ฑฌ™"}.mdi-printer-3d-nozzle-off-outline:before{content:"๓ฑฌš"}.mdi-printer-3d-nozzle-outline:before{content:"๓ฐนœ"}.mdi-printer-3d-off:before{content:"๓ฑฌŽ"}.mdi-printer-alert:before{content:"๓ฐฌ"}.mdi-printer-check:before{content:"๓ฑ…†"}.mdi-printer-eye:before{content:"๓ฑ‘˜"}.mdi-printer-off:before{content:"๓ฐน"}.mdi-printer-off-outline:before{content:"๓ฑž…"}.mdi-printer-outline:before{content:"๓ฑž†"}.mdi-printer-pos:before{content:"๓ฑ—"}.mdi-printer-pos-alert:before{content:"๓ฑฎผ"}.mdi-printer-pos-alert-outline:before{content:"๓ฑฎฝ"}.mdi-printer-pos-cancel:before{content:"๓ฑฎพ"}.mdi-printer-pos-cancel-outline:before{content:"๓ฑฎฟ"}.mdi-printer-pos-check:before{content:"๓ฑฏ€"}.mdi-printer-pos-check-outline:before{content:"๓ฑฏ"}.mdi-printer-pos-cog:before{content:"๓ฑฏ‚"}.mdi-printer-pos-cog-outline:before{content:"๓ฑฏƒ"}.mdi-printer-pos-edit:before{content:"๓ฑฏ„"}.mdi-printer-pos-edit-outline:before{content:"๓ฑฏ…"}.mdi-printer-pos-minus:before{content:"๓ฑฏ†"}.mdi-printer-pos-minus-outline:before{content:"๓ฑฏ‡"}.mdi-printer-pos-network:before{content:"๓ฑฏˆ"}.mdi-printer-pos-network-outline:before{content:"๓ฑฏ‰"}.mdi-printer-pos-off:before{content:"๓ฑฏŠ"}.mdi-printer-pos-off-outline:before{content:"๓ฑฏ‹"}.mdi-printer-pos-outline:before{content:"๓ฑฏŒ"}.mdi-printer-pos-pause:before{content:"๓ฑฏ"}.mdi-printer-pos-pause-outline:before{content:"๓ฑฏŽ"}.mdi-printer-pos-play:before{content:"๓ฑฏ"}.mdi-printer-pos-play-outline:before{content:"๓ฑฏ"}.mdi-printer-pos-plus:before{content:"๓ฑฏ‘"}.mdi-printer-pos-plus-outline:before{content:"๓ฑฏ’"}.mdi-printer-pos-refresh:before{content:"๓ฑฏ“"}.mdi-printer-pos-refresh-outline:before{content:"๓ฑฏ”"}.mdi-printer-pos-remove:before{content:"๓ฑฏ•"}.mdi-printer-pos-remove-outline:before{content:"๓ฑฏ–"}.mdi-printer-pos-star:before{content:"๓ฑฏ—"}.mdi-printer-pos-star-outline:before{content:"๓ฑฏ˜"}.mdi-printer-pos-stop:before{content:"๓ฑฏ™"}.mdi-printer-pos-stop-outline:before{content:"๓ฑฏš"}.mdi-printer-pos-sync:before{content:"๓ฑฏ›"}.mdi-printer-pos-sync-outline:before{content:"๓ฑฏœ"}.mdi-printer-pos-wrench:before{content:"๓ฑฏ"}.mdi-printer-pos-wrench-outline:before{content:"๓ฑฏž"}.mdi-printer-search:before{content:"๓ฑ‘—"}.mdi-printer-settings:before{content:"๓ฐœ‡"}.mdi-printer-wireless:before{content:"๓ฐจ‹"}.mdi-priority-high:before{content:"๓ฐ˜ƒ"}.mdi-priority-low:before{content:"๓ฐ˜„"}.mdi-professional-hexagon:before{content:"๓ฐญ"}.mdi-progress-alert:before{content:"๓ฐฒผ"}.mdi-progress-check:before{content:"๓ฐฆ•"}.mdi-progress-clock:before{content:"๓ฐฆ–"}.mdi-progress-close:before{content:"๓ฑ„Š"}.mdi-progress-download:before{content:"๓ฐฆ—"}.mdi-progress-helper:before{content:"๓ฑฎข"}.mdi-progress-pencil:before{content:"๓ฑž‡"}.mdi-progress-question:before{content:"๓ฑ”ข"}.mdi-progress-star:before{content:"๓ฑžˆ"}.mdi-progress-star-four-points:before{content:"๓ฑฐฝ"}.mdi-progress-upload:before{content:"๓ฐฆ˜"}.mdi-progress-wrench:before{content:"๓ฐฒฝ"}.mdi-projector:before{content:"๓ฐฎ"}.mdi-projector-off:before{content:"๓ฑจฃ"}.mdi-projector-screen:before{content:"๓ฐฏ"}.mdi-projector-screen-off:before{content:"๓ฑ "}.mdi-projector-screen-off-outline:before{content:"๓ฑ Ž"}.mdi-projector-screen-outline:before{content:"๓ฑœค"}.mdi-projector-screen-variant:before{content:"๓ฑ "}.mdi-projector-screen-variant-off:before{content:"๓ฑ "}.mdi-projector-screen-variant-off-outline:before{content:"๓ฑ ‘"}.mdi-projector-screen-variant-outline:before{content:"๓ฑ ’"}.mdi-propane-tank:before{content:"๓ฑ—"}.mdi-propane-tank-outline:before{content:"๓ฑ˜"}.mdi-protocol:before{content:"๓ฐฟ˜"}.mdi-publish:before{content:"๓ฐšง"}.mdi-publish-off:before{content:"๓ฑฅ…"}.mdi-pulse:before{content:"๓ฐฐ"}.mdi-pump:before{content:"๓ฑ‚"}.mdi-pump-off:before{content:"๓ฑฌข"}.mdi-pumpkin:before{content:"๓ฐฎฟ"}.mdi-purse:before{content:"๓ฐผœ"}.mdi-purse-outline:before{content:"๓ฐผ"}.mdi-puzzle:before{content:"๓ฐฑ"}.mdi-puzzle-check:before{content:"๓ฑฆ"}.mdi-puzzle-check-outline:before{content:"๓ฑง"}.mdi-puzzle-edit:before{content:"๓ฑ““"}.mdi-puzzle-edit-outline:before{content:"๓ฑ“™"}.mdi-puzzle-heart:before{content:"๓ฑ“”"}.mdi-puzzle-heart-outline:before{content:"๓ฑ“š"}.mdi-puzzle-minus:before{content:"๓ฑ“‘"}.mdi-puzzle-minus-outline:before{content:"๓ฑ“—"}.mdi-puzzle-outline:before{content:"๓ฐฉฆ"}.mdi-puzzle-plus:before{content:"๓ฑ“"}.mdi-puzzle-plus-outline:before{content:"๓ฑ“–"}.mdi-puzzle-remove:before{content:"๓ฑ“’"}.mdi-puzzle-remove-outline:before{content:"๓ฑ“˜"}.mdi-puzzle-star:before{content:"๓ฑ“•"}.mdi-puzzle-star-outline:before{content:"๓ฑ“›"}.mdi-pyramid:before{content:"๓ฑฅ’"}.mdi-pyramid-off:before{content:"๓ฑฅ“"}.mdi-qi:before{content:"๓ฐฆ™"}.mdi-qqchat:before{content:"๓ฐ˜…"}.mdi-qrcode:before{content:"๓ฐฒ"}.mdi-qrcode-edit:before{content:"๓ฐขธ"}.mdi-qrcode-minus:before{content:"๓ฑ†Œ"}.mdi-qrcode-plus:before{content:"๓ฑ†‹"}.mdi-qrcode-remove:before{content:"๓ฑ†"}.mdi-qrcode-scan:before{content:"๓ฐณ"}.mdi-quadcopter:before{content:"๓ฐด"}.mdi-quality-high:before{content:"๓ฐต"}.mdi-quality-low:before{content:"๓ฐจŒ"}.mdi-quality-medium:before{content:"๓ฐจ"}.mdi-quora:before{content:"๓ฐดฉ"}.mdi-rabbit:before{content:"๓ฐค‡"}.mdi-rabbit-variant:before{content:"๓ฑฉก"}.mdi-rabbit-variant-outline:before{content:"๓ฑฉข"}.mdi-racing-helmet:before{content:"๓ฐถ“"}.mdi-racquetball:before{content:"๓ฐถ”"}.mdi-radar:before{content:"๓ฐท"}.mdi-radiator:before{content:"๓ฐธ"}.mdi-radiator-disabled:before{content:"๓ฐซ—"}.mdi-radiator-off:before{content:"๓ฐซ˜"}.mdi-radio:before{content:"๓ฐน"}.mdi-radio-am:before{content:"๓ฐฒพ"}.mdi-radio-fm:before{content:"๓ฐฒฟ"}.mdi-radio-handheld:before{content:"๓ฐบ"}.mdi-radio-off:before{content:"๓ฑˆœ"}.mdi-radio-tower:before{content:"๓ฐป"}.mdi-radioactive:before{content:"๓ฐผ"}.mdi-radioactive-circle:before{content:"๓ฑก"}.mdi-radioactive-circle-outline:before{content:"๓ฑกž"}.mdi-radioactive-off:before{content:"๓ฐป"}.mdi-radiobox-blank:before{content:"๓ฐฝ"}.mdi-radiobox-indeterminate-variant:before{content:"๓ฑฑž"}.mdi-radiobox-marked:before{content:"๓ฐพ"}.mdi-radiology-box:before{content:"๓ฑ“…"}.mdi-radiology-box-outline:before{content:"๓ฑ“†"}.mdi-radius:before{content:"๓ฐณ€"}.mdi-radius-outline:before{content:"๓ฐณ"}.mdi-railroad-light:before{content:"๓ฐผž"}.mdi-rake:before{content:"๓ฑ•„"}.mdi-raspberry-pi:before{content:"๓ฐฟ"}.mdi-raw:before{content:"๓ฑจ"}.mdi-raw-off:before{content:"๓ฑจ"}.mdi-ray-end:before{content:"๓ฐ‘€"}.mdi-ray-end-arrow:before{content:"๓ฐ‘"}.mdi-ray-start:before{content:"๓ฐ‘‚"}.mdi-ray-start-arrow:before{content:"๓ฐ‘ƒ"}.mdi-ray-start-end:before{content:"๓ฐ‘„"}.mdi-ray-start-vertex-end:before{content:"๓ฑ—˜"}.mdi-ray-vertex:before{content:"๓ฐ‘…"}.mdi-razor-double-edge:before{content:"๓ฑฆ—"}.mdi-razor-single-edge:before{content:"๓ฑฆ˜"}.mdi-react:before{content:"๓ฐœˆ"}.mdi-read:before{content:"๓ฐ‘‡"}.mdi-receipt:before{content:"๓ฐ ค"}.mdi-receipt-clock:before{content:"๓ฑฐพ"}.mdi-receipt-clock-outline:before{content:"๓ฑฐฟ"}.mdi-receipt-outline:before{content:"๓ฐ“ท"}.mdi-receipt-send:before{content:"๓ฑฑ€"}.mdi-receipt-send-outline:before{content:"๓ฑฑ"}.mdi-receipt-text:before{content:"๓ฐ‘‰"}.mdi-receipt-text-arrow-left:before{content:"๓ฑฑ‚"}.mdi-receipt-text-arrow-left-outline:before{content:"๓ฑฑƒ"}.mdi-receipt-text-arrow-right:before{content:"๓ฑฑ„"}.mdi-receipt-text-arrow-right-outline:before{content:"๓ฑฑ…"}.mdi-receipt-text-check:before{content:"๓ฑฉฃ"}.mdi-receipt-text-check-outline:before{content:"๓ฑฉค"}.mdi-receipt-text-clock:before{content:"๓ฑฑ†"}.mdi-receipt-text-clock-outline:before{content:"๓ฑฑ‡"}.mdi-receipt-text-edit:before{content:"๓ฑฑˆ"}.mdi-receipt-text-edit-outline:before{content:"๓ฑฑ‰"}.mdi-receipt-text-minus:before{content:"๓ฑฉฅ"}.mdi-receipt-text-minus-outline:before{content:"๓ฑฉฆ"}.mdi-receipt-text-outline:before{content:"๓ฑงœ"}.mdi-receipt-text-plus:before{content:"๓ฑฉง"}.mdi-receipt-text-plus-outline:before{content:"๓ฑฉจ"}.mdi-receipt-text-remove:before{content:"๓ฑฉฉ"}.mdi-receipt-text-remove-outline:before{content:"๓ฑฉช"}.mdi-receipt-text-send:before{content:"๓ฑฑŠ"}.mdi-receipt-text-send-outline:before{content:"๓ฑฑ‹"}.mdi-record:before{content:"๓ฐ‘Š"}.mdi-record-circle:before{content:"๓ฐป‚"}.mdi-record-circle-outline:before{content:"๓ฐปƒ"}.mdi-record-player:before{content:"๓ฐฆš"}.mdi-record-rec:before{content:"๓ฐ‘‹"}.mdi-rectangle:before{content:"๓ฐนž"}.mdi-rectangle-outline:before{content:"๓ฐนŸ"}.mdi-recycle:before{content:"๓ฐ‘Œ"}.mdi-recycle-variant:before{content:"๓ฑŽ"}.mdi-reddit:before{content:"๓ฐ‘"}.mdi-redhat:before{content:"๓ฑ„›"}.mdi-redo:before{content:"๓ฐ‘Ž"}.mdi-redo-variant:before{content:"๓ฐ‘"}.mdi-reflect-horizontal:before{content:"๓ฐจŽ"}.mdi-reflect-vertical:before{content:"๓ฐจ"}.mdi-refresh:before{content:"๓ฐ‘"}.mdi-refresh-auto:before{content:"๓ฑฃฒ"}.mdi-refresh-circle:before{content:"๓ฑท"}.mdi-regex:before{content:"๓ฐ‘‘"}.mdi-registered-trademark:before{content:"๓ฐฉง"}.mdi-reiterate:before{content:"๓ฑ–ˆ"}.mdi-relation-many-to-many:before{content:"๓ฑ’–"}.mdi-relation-many-to-one:before{content:"๓ฑ’—"}.mdi-relation-many-to-one-or-many:before{content:"๓ฑ’˜"}.mdi-relation-many-to-only-one:before{content:"๓ฑ’™"}.mdi-relation-many-to-zero-or-many:before{content:"๓ฑ’š"}.mdi-relation-many-to-zero-or-one:before{content:"๓ฑ’›"}.mdi-relation-one-or-many-to-many:before{content:"๓ฑ’œ"}.mdi-relation-one-or-many-to-one:before{content:"๓ฑ’"}.mdi-relation-one-or-many-to-one-or-many:before{content:"๓ฑ’ž"}.mdi-relation-one-or-many-to-only-one:before{content:"๓ฑ’Ÿ"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"๓ฑ’ "}.mdi-relation-one-or-many-to-zero-or-one:before{content:"๓ฑ’ก"}.mdi-relation-one-to-many:before{content:"๓ฑ’ข"}.mdi-relation-one-to-one:before{content:"๓ฑ’ฃ"}.mdi-relation-one-to-one-or-many:before{content:"๓ฑ’ค"}.mdi-relation-one-to-only-one:before{content:"๓ฑ’ฅ"}.mdi-relation-one-to-zero-or-many:before{content:"๓ฑ’ฆ"}.mdi-relation-one-to-zero-or-one:before{content:"๓ฑ’ง"}.mdi-relation-only-one-to-many:before{content:"๓ฑ’จ"}.mdi-relation-only-one-to-one:before{content:"๓ฑ’ฉ"}.mdi-relation-only-one-to-one-or-many:before{content:"๓ฑ’ช"}.mdi-relation-only-one-to-only-one:before{content:"๓ฑ’ซ"}.mdi-relation-only-one-to-zero-or-many:before{content:"๓ฑ’ฌ"}.mdi-relation-only-one-to-zero-or-one:before{content:"๓ฑ’ญ"}.mdi-relation-zero-or-many-to-many:before{content:"๓ฑ’ฎ"}.mdi-relation-zero-or-many-to-one:before{content:"๓ฑ’ฏ"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"๓ฑ’ฐ"}.mdi-relation-zero-or-many-to-only-one:before{content:"๓ฑ’ฑ"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"๓ฑ’ฒ"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"๓ฑ’ณ"}.mdi-relation-zero-or-one-to-many:before{content:"๓ฑ’ด"}.mdi-relation-zero-or-one-to-one:before{content:"๓ฑ’ต"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"๓ฑ’ถ"}.mdi-relation-zero-or-one-to-only-one:before{content:"๓ฑ’ท"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"๓ฑ’ธ"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"๓ฑ’น"}.mdi-relative-scale:before{content:"๓ฐ‘’"}.mdi-reload:before{content:"๓ฐ‘“"}.mdi-reload-alert:before{content:"๓ฑ„‹"}.mdi-reminder:before{content:"๓ฐขŒ"}.mdi-remote:before{content:"๓ฐ‘”"}.mdi-remote-desktop:before{content:"๓ฐขน"}.mdi-remote-off:before{content:"๓ฐป„"}.mdi-remote-tv:before{content:"๓ฐป…"}.mdi-remote-tv-off:before{content:"๓ฐป†"}.mdi-rename:before{content:"๓ฑฐ˜"}.mdi-rename-box:before{content:"๓ฐ‘•"}.mdi-rename-box-outline:before{content:"๓ฑฐ™"}.mdi-rename-outline:before{content:"๓ฑฐš"}.mdi-reorder-horizontal:before{content:"๓ฐšˆ"}.mdi-reorder-vertical:before{content:"๓ฐš‰"}.mdi-repeat:before{content:"๓ฐ‘–"}.mdi-repeat-off:before{content:"๓ฐ‘—"}.mdi-repeat-once:before{content:"๓ฐ‘˜"}.mdi-repeat-variant:before{content:"๓ฐ•‡"}.mdi-replay:before{content:"๓ฐ‘™"}.mdi-reply:before{content:"๓ฐ‘š"}.mdi-reply-all:before{content:"๓ฐ‘›"}.mdi-reply-all-outline:before{content:"๓ฐผŸ"}.mdi-reply-circle:before{content:"๓ฑ†ฎ"}.mdi-reply-outline:before{content:"๓ฐผ "}.mdi-reproduction:before{content:"๓ฐ‘œ"}.mdi-resistor:before{content:"๓ฐญ„"}.mdi-resistor-nodes:before{content:"๓ฐญ…"}.mdi-resize:before{content:"๓ฐฉจ"}.mdi-resize-bottom-right:before{content:"๓ฐ‘"}.mdi-responsive:before{content:"๓ฐ‘ž"}.mdi-restart:before{content:"๓ฐœ‰"}.mdi-restart-alert:before{content:"๓ฑ„Œ"}.mdi-restart-off:before{content:"๓ฐถ•"}.mdi-restore:before{content:"๓ฐฆ›"}.mdi-restore-alert:before{content:"๓ฑ„"}.mdi-rewind:before{content:"๓ฐ‘Ÿ"}.mdi-rewind-10:before{content:"๓ฐดช"}.mdi-rewind-15:before{content:"๓ฑฅ†"}.mdi-rewind-30:before{content:"๓ฐถ–"}.mdi-rewind-45:before{content:"๓ฑฌ“"}.mdi-rewind-5:before{content:"๓ฑ‡น"}.mdi-rewind-60:before{content:"๓ฑ˜Œ"}.mdi-rewind-outline:before{content:"๓ฐœŠ"}.mdi-rhombus:before{content:"๓ฐœ‹"}.mdi-rhombus-medium:before{content:"๓ฐจ"}.mdi-rhombus-medium-outline:before{content:"๓ฑ“œ"}.mdi-rhombus-outline:before{content:"๓ฐœŒ"}.mdi-rhombus-split:before{content:"๓ฐจ‘"}.mdi-rhombus-split-outline:before{content:"๓ฑ“"}.mdi-ribbon:before{content:"๓ฐ‘ "}.mdi-rice:before{content:"๓ฐŸช"}.mdi-rickshaw:before{content:"๓ฑ–ป"}.mdi-rickshaw-electric:before{content:"๓ฑ–ผ"}.mdi-ring:before{content:"๓ฐŸซ"}.mdi-rivet:before{content:"๓ฐน "}.mdi-road:before{content:"๓ฐ‘ก"}.mdi-road-variant:before{content:"๓ฐ‘ข"}.mdi-robber:before{content:"๓ฑ˜"}.mdi-robot:before{content:"๓ฐšฉ"}.mdi-robot-angry:before{content:"๓ฑš"}.mdi-robot-angry-outline:before{content:"๓ฑšž"}.mdi-robot-confused:before{content:"๓ฑšŸ"}.mdi-robot-confused-outline:before{content:"๓ฑš "}.mdi-robot-dead:before{content:"๓ฑšก"}.mdi-robot-dead-outline:before{content:"๓ฑšข"}.mdi-robot-excited:before{content:"๓ฑšฃ"}.mdi-robot-excited-outline:before{content:"๓ฑšค"}.mdi-robot-happy:before{content:"๓ฑœ™"}.mdi-robot-happy-outline:before{content:"๓ฑœš"}.mdi-robot-industrial:before{content:"๓ฐญ†"}.mdi-robot-industrial-outline:before{content:"๓ฑจš"}.mdi-robot-love:before{content:"๓ฑšฅ"}.mdi-robot-love-outline:before{content:"๓ฑšฆ"}.mdi-robot-mower:before{content:"๓ฑ‡ท"}.mdi-robot-mower-outline:before{content:"๓ฑ‡ณ"}.mdi-robot-off:before{content:"๓ฑšง"}.mdi-robot-off-outline:before{content:"๓ฑ™ป"}.mdi-robot-outline:before{content:"๓ฑ™บ"}.mdi-robot-vacuum:before{content:"๓ฐœ"}.mdi-robot-vacuum-alert:before{content:"๓ฑญ"}.mdi-robot-vacuum-off:before{content:"๓ฑฐ"}.mdi-robot-vacuum-variant:before{content:"๓ฐคˆ"}.mdi-robot-vacuum-variant-alert:before{content:"๓ฑญž"}.mdi-robot-vacuum-variant-off:before{content:"๓ฑฐ‚"}.mdi-rocket:before{content:"๓ฐ‘ฃ"}.mdi-rocket-launch:before{content:"๓ฑ“ž"}.mdi-rocket-launch-outline:before{content:"๓ฑ“Ÿ"}.mdi-rocket-outline:before{content:"๓ฑŽฏ"}.mdi-rodent:before{content:"๓ฑŒง"}.mdi-roller-shade:before{content:"๓ฑฉซ"}.mdi-roller-shade-closed:before{content:"๓ฑฉฌ"}.mdi-roller-skate:before{content:"๓ฐดซ"}.mdi-roller-skate-off:before{content:"๓ฐ……"}.mdi-rollerblade:before{content:"๓ฐดฌ"}.mdi-rollerblade-off:before{content:"๓ฐ€ฎ"}.mdi-rollupjs:before{content:"๓ฐฏ€"}.mdi-rolodex:before{content:"๓ฑชน"}.mdi-rolodex-outline:before{content:"๓ฑชบ"}.mdi-roman-numeral-1:before{content:"๓ฑ‚ˆ"}.mdi-roman-numeral-10:before{content:"๓ฑ‚‘"}.mdi-roman-numeral-2:before{content:"๓ฑ‚‰"}.mdi-roman-numeral-3:before{content:"๓ฑ‚Š"}.mdi-roman-numeral-4:before{content:"๓ฑ‚‹"}.mdi-roman-numeral-5:before{content:"๓ฑ‚Œ"}.mdi-roman-numeral-6:before{content:"๓ฑ‚"}.mdi-roman-numeral-7:before{content:"๓ฑ‚Ž"}.mdi-roman-numeral-8:before{content:"๓ฑ‚"}.mdi-roman-numeral-9:before{content:"๓ฑ‚"}.mdi-room-service:before{content:"๓ฐข"}.mdi-room-service-outline:before{content:"๓ฐถ—"}.mdi-rotate-360:before{content:"๓ฑฆ™"}.mdi-rotate-3d:before{content:"๓ฐป‡"}.mdi-rotate-3d-variant:before{content:"๓ฐ‘ค"}.mdi-rotate-left:before{content:"๓ฐ‘ฅ"}.mdi-rotate-left-variant:before{content:"๓ฐ‘ฆ"}.mdi-rotate-orbit:before{content:"๓ฐถ˜"}.mdi-rotate-right:before{content:"๓ฐ‘ง"}.mdi-rotate-right-variant:before{content:"๓ฐ‘จ"}.mdi-rounded-corner:before{content:"๓ฐ˜‡"}.mdi-router:before{content:"๓ฑ‡ข"}.mdi-router-network:before{content:"๓ฑ‚‡"}.mdi-router-wireless:before{content:"๓ฐ‘ฉ"}.mdi-router-wireless-off:before{content:"๓ฑ–ฃ"}.mdi-router-wireless-settings:before{content:"๓ฐฉฉ"}.mdi-routes:before{content:"๓ฐ‘ช"}.mdi-routes-clock:before{content:"๓ฑ™"}.mdi-rowing:before{content:"๓ฐ˜ˆ"}.mdi-rss:before{content:"๓ฐ‘ซ"}.mdi-rss-box:before{content:"๓ฐ‘ฌ"}.mdi-rss-off:before{content:"๓ฐผก"}.mdi-rug:before{content:"๓ฑ‘ต"}.mdi-rugby:before{content:"๓ฐถ™"}.mdi-ruler:before{content:"๓ฐ‘ญ"}.mdi-ruler-square:before{content:"๓ฐณ‚"}.mdi-ruler-square-compass:before{content:"๓ฐบพ"}.mdi-run:before{content:"๓ฐœŽ"}.mdi-run-fast:before{content:"๓ฐ‘ฎ"}.mdi-rv-truck:before{content:"๓ฑ‡”"}.mdi-sack:before{content:"๓ฐดฎ"}.mdi-sack-outline:before{content:"๓ฑฑŒ"}.mdi-sack-percent:before{content:"๓ฐดฏ"}.mdi-safe:before{content:"๓ฐฉช"}.mdi-safe-square:before{content:"๓ฑ‰ผ"}.mdi-safe-square-outline:before{content:"๓ฑ‰ฝ"}.mdi-safety-goggles:before{content:"๓ฐดฐ"}.mdi-sail-boat:before{content:"๓ฐปˆ"}.mdi-sail-boat-sink:before{content:"๓ฑซฏ"}.mdi-sale:before{content:"๓ฐ‘ฏ"}.mdi-sale-outline:before{content:"๓ฑจ†"}.mdi-salesforce:before{content:"๓ฐขŽ"}.mdi-sass:before{content:"๓ฐŸฌ"}.mdi-satellite:before{content:"๓ฐ‘ฐ"}.mdi-satellite-uplink:before{content:"๓ฐค‰"}.mdi-satellite-variant:before{content:"๓ฐ‘ฑ"}.mdi-sausage:before{content:"๓ฐขบ"}.mdi-sausage-off:before{content:"๓ฑž‰"}.mdi-saw-blade:before{content:"๓ฐนก"}.mdi-sawtooth-wave:before{content:"๓ฑ‘บ"}.mdi-saxophone:before{content:"๓ฐ˜‰"}.mdi-scale:before{content:"๓ฐ‘ฒ"}.mdi-scale-balance:before{content:"๓ฐ—‘"}.mdi-scale-bathroom:before{content:"๓ฐ‘ณ"}.mdi-scale-off:before{content:"๓ฑš"}.mdi-scale-unbalanced:before{content:"๓ฑฆธ"}.mdi-scan-helper:before{content:"๓ฑ˜"}.mdi-scanner:before{content:"๓ฐšซ"}.mdi-scanner-off:before{content:"๓ฐคŠ"}.mdi-scatter-plot:before{content:"๓ฐป‰"}.mdi-scatter-plot-outline:before{content:"๓ฐปŠ"}.mdi-scent:before{content:"๓ฑฅ˜"}.mdi-scent-off:before{content:"๓ฑฅ™"}.mdi-school:before{content:"๓ฐ‘ด"}.mdi-school-outline:before{content:"๓ฑ†€"}.mdi-scissors-cutting:before{content:"๓ฐฉซ"}.mdi-scooter:before{content:"๓ฑ–ฝ"}.mdi-scooter-electric:before{content:"๓ฑ–พ"}.mdi-scoreboard:before{content:"๓ฑ‰พ"}.mdi-scoreboard-outline:before{content:"๓ฑ‰ฟ"}.mdi-screen-rotation:before{content:"๓ฐ‘ต"}.mdi-screen-rotation-lock:before{content:"๓ฐ‘ธ"}.mdi-screw-flat-top:before{content:"๓ฐทณ"}.mdi-screw-lag:before{content:"๓ฐทด"}.mdi-screw-machine-flat-top:before{content:"๓ฐทต"}.mdi-screw-machine-round-top:before{content:"๓ฐทถ"}.mdi-screw-round-top:before{content:"๓ฐทท"}.mdi-screwdriver:before{content:"๓ฐ‘ถ"}.mdi-script:before{content:"๓ฐฏ"}.mdi-script-outline:before{content:"๓ฐ‘ท"}.mdi-script-text:before{content:"๓ฐฏ‚"}.mdi-script-text-key:before{content:"๓ฑœฅ"}.mdi-script-text-key-outline:before{content:"๓ฑœฆ"}.mdi-script-text-outline:before{content:"๓ฐฏƒ"}.mdi-script-text-play:before{content:"๓ฑœง"}.mdi-script-text-play-outline:before{content:"๓ฑœจ"}.mdi-sd:before{content:"๓ฐ‘น"}.mdi-seal:before{content:"๓ฐ‘บ"}.mdi-seal-variant:before{content:"๓ฐฟ™"}.mdi-search-web:before{content:"๓ฐœ"}.mdi-seat:before{content:"๓ฐณƒ"}.mdi-seat-flat:before{content:"๓ฐ‘ป"}.mdi-seat-flat-angled:before{content:"๓ฐ‘ผ"}.mdi-seat-individual-suite:before{content:"๓ฐ‘ฝ"}.mdi-seat-legroom-extra:before{content:"๓ฐ‘พ"}.mdi-seat-legroom-normal:before{content:"๓ฐ‘ฟ"}.mdi-seat-legroom-reduced:before{content:"๓ฐ’€"}.mdi-seat-outline:before{content:"๓ฐณ„"}.mdi-seat-passenger:before{content:"๓ฑ‰‰"}.mdi-seat-recline-extra:before{content:"๓ฐ’"}.mdi-seat-recline-normal:before{content:"๓ฐ’‚"}.mdi-seatbelt:before{content:"๓ฐณ…"}.mdi-security:before{content:"๓ฐ’ƒ"}.mdi-security-network:before{content:"๓ฐ’„"}.mdi-seed:before{content:"๓ฐนข"}.mdi-seed-off:before{content:"๓ฑฝ"}.mdi-seed-off-outline:before{content:"๓ฑพ"}.mdi-seed-outline:before{content:"๓ฐนฃ"}.mdi-seed-plus:before{content:"๓ฑฉญ"}.mdi-seed-plus-outline:before{content:"๓ฑฉฎ"}.mdi-seesaw:before{content:"๓ฑ–ค"}.mdi-segment:before{content:"๓ฐป‹"}.mdi-select:before{content:"๓ฐ’…"}.mdi-select-all:before{content:"๓ฐ’†"}.mdi-select-arrow-down:before{content:"๓ฑญ™"}.mdi-select-arrow-up:before{content:"๓ฑญ˜"}.mdi-select-color:before{content:"๓ฐดฑ"}.mdi-select-compare:before{content:"๓ฐซ™"}.mdi-select-drag:before{content:"๓ฐฉฌ"}.mdi-select-group:before{content:"๓ฐพ‚"}.mdi-select-inverse:before{content:"๓ฐ’‡"}.mdi-select-marker:before{content:"๓ฑŠ€"}.mdi-select-multiple:before{content:"๓ฑŠ"}.mdi-select-multiple-marker:before{content:"๓ฑŠ‚"}.mdi-select-off:before{content:"๓ฐ’ˆ"}.mdi-select-place:before{content:"๓ฐฟš"}.mdi-select-remove:before{content:"๓ฑŸ"}.mdi-select-search:before{content:"๓ฑˆ„"}.mdi-selection:before{content:"๓ฐ’‰"}.mdi-selection-drag:before{content:"๓ฐฉญ"}.mdi-selection-ellipse:before{content:"๓ฐดฒ"}.mdi-selection-ellipse-arrow-inside:before{content:"๓ฐผข"}.mdi-selection-ellipse-remove:before{content:"๓ฑŸ‚"}.mdi-selection-marker:before{content:"๓ฑŠƒ"}.mdi-selection-multiple:before{content:"๓ฑŠ…"}.mdi-selection-multiple-marker:before{content:"๓ฑŠ„"}.mdi-selection-off:before{content:"๓ฐท"}.mdi-selection-remove:before{content:"๓ฑŸƒ"}.mdi-selection-search:before{content:"๓ฑˆ…"}.mdi-semantic-web:before{content:"๓ฑŒ–"}.mdi-send:before{content:"๓ฐ’Š"}.mdi-send-check:before{content:"๓ฑ…ก"}.mdi-send-check-outline:before{content:"๓ฑ…ข"}.mdi-send-circle:before{content:"๓ฐทธ"}.mdi-send-circle-outline:before{content:"๓ฐทน"}.mdi-send-clock:before{content:"๓ฑ…ฃ"}.mdi-send-clock-outline:before{content:"๓ฑ…ค"}.mdi-send-lock:before{content:"๓ฐŸญ"}.mdi-send-lock-outline:before{content:"๓ฑ…ฆ"}.mdi-send-outline:before{content:"๓ฑ…ฅ"}.mdi-send-variant:before{content:"๓ฑฑ"}.mdi-send-variant-clock:before{content:"๓ฑฑพ"}.mdi-send-variant-clock-outline:before{content:"๓ฑฑฟ"}.mdi-send-variant-outline:before{content:"๓ฑฑŽ"}.mdi-serial-port:before{content:"๓ฐ™œ"}.mdi-server:before{content:"๓ฐ’‹"}.mdi-server-minus:before{content:"๓ฐ’Œ"}.mdi-server-network:before{content:"๓ฐ’"}.mdi-server-network-off:before{content:"๓ฐ’Ž"}.mdi-server-off:before{content:"๓ฐ’"}.mdi-server-plus:before{content:"๓ฐ’"}.mdi-server-remove:before{content:"๓ฐ’‘"}.mdi-server-security:before{content:"๓ฐ’’"}.mdi-set-all:before{content:"๓ฐธ"}.mdi-set-center:before{content:"๓ฐน"}.mdi-set-center-right:before{content:"๓ฐบ"}.mdi-set-left:before{content:"๓ฐป"}.mdi-set-left-center:before{content:"๓ฐผ"}.mdi-set-left-right:before{content:"๓ฐฝ"}.mdi-set-merge:before{content:"๓ฑ“ "}.mdi-set-none:before{content:"๓ฐพ"}.mdi-set-right:before{content:"๓ฐฟ"}.mdi-set-split:before{content:"๓ฑ“ก"}.mdi-set-square:before{content:"๓ฑ‘"}.mdi-set-top-box:before{content:"๓ฐฆŸ"}.mdi-settings-helper:before{content:"๓ฐฉฎ"}.mdi-shaker:before{content:"๓ฑ„Ž"}.mdi-shaker-outline:before{content:"๓ฑ„"}.mdi-shape:before{content:"๓ฐ ฑ"}.mdi-shape-circle-plus:before{content:"๓ฐ™"}.mdi-shape-outline:before{content:"๓ฐ ฒ"}.mdi-shape-oval-plus:before{content:"๓ฑ‡บ"}.mdi-shape-plus:before{content:"๓ฐ’•"}.mdi-shape-plus-outline:before{content:"๓ฑฑ"}.mdi-shape-polygon-plus:before{content:"๓ฐ™ž"}.mdi-shape-rectangle-plus:before{content:"๓ฐ™Ÿ"}.mdi-shape-square-plus:before{content:"๓ฐ™ "}.mdi-shape-square-rounded-plus:before{content:"๓ฑ“บ"}.mdi-share:before{content:"๓ฐ’–"}.mdi-share-all:before{content:"๓ฑ‡ด"}.mdi-share-all-outline:before{content:"๓ฑ‡ต"}.mdi-share-circle:before{content:"๓ฑ†ญ"}.mdi-share-off:before{content:"๓ฐผฃ"}.mdi-share-off-outline:before{content:"๓ฐผค"}.mdi-share-outline:before{content:"๓ฐคฒ"}.mdi-share-variant:before{content:"๓ฐ’—"}.mdi-share-variant-outline:before{content:"๓ฑ””"}.mdi-shark:before{content:"๓ฑขบ"}.mdi-shark-fin:before{content:"๓ฑ™ณ"}.mdi-shark-fin-outline:before{content:"๓ฑ™ด"}.mdi-shark-off:before{content:"๓ฑขป"}.mdi-sheep:before{content:"๓ฐณ†"}.mdi-shield:before{content:"๓ฐ’˜"}.mdi-shield-account:before{content:"๓ฐข"}.mdi-shield-account-outline:before{content:"๓ฐจ’"}.mdi-shield-account-variant:before{content:"๓ฑ–ง"}.mdi-shield-account-variant-outline:before{content:"๓ฑ–จ"}.mdi-shield-airplane:before{content:"๓ฐšป"}.mdi-shield-airplane-outline:before{content:"๓ฐณ‡"}.mdi-shield-alert:before{content:"๓ฐปŒ"}.mdi-shield-alert-outline:before{content:"๓ฐป"}.mdi-shield-bug:before{content:"๓ฑš"}.mdi-shield-bug-outline:before{content:"๓ฑ›"}.mdi-shield-car:before{content:"๓ฐพƒ"}.mdi-shield-check:before{content:"๓ฐ•ฅ"}.mdi-shield-check-outline:before{content:"๓ฐณˆ"}.mdi-shield-cross:before{content:"๓ฐณ‰"}.mdi-shield-cross-outline:before{content:"๓ฐณŠ"}.mdi-shield-crown:before{content:"๓ฑขผ"}.mdi-shield-crown-outline:before{content:"๓ฑขฝ"}.mdi-shield-edit:before{content:"๓ฑ† "}.mdi-shield-edit-outline:before{content:"๓ฑ†ก"}.mdi-shield-half:before{content:"๓ฑ "}.mdi-shield-half-full:before{content:"๓ฐž€"}.mdi-shield-home:before{content:"๓ฐšŠ"}.mdi-shield-home-outline:before{content:"๓ฐณ‹"}.mdi-shield-key:before{content:"๓ฐฏ„"}.mdi-shield-key-outline:before{content:"๓ฐฏ…"}.mdi-shield-link-variant:before{content:"๓ฐดณ"}.mdi-shield-link-variant-outline:before{content:"๓ฐดด"}.mdi-shield-lock:before{content:"๓ฐฆ"}.mdi-shield-lock-open:before{content:"๓ฑฆš"}.mdi-shield-lock-open-outline:before{content:"๓ฑฆ›"}.mdi-shield-lock-outline:before{content:"๓ฐณŒ"}.mdi-shield-moon:before{content:"๓ฑ จ"}.mdi-shield-moon-outline:before{content:"๓ฑ ฉ"}.mdi-shield-off:before{content:"๓ฐฆž"}.mdi-shield-off-outline:before{content:"๓ฐฆœ"}.mdi-shield-outline:before{content:"๓ฐ’™"}.mdi-shield-plus:before{content:"๓ฐซš"}.mdi-shield-plus-outline:before{content:"๓ฐซ›"}.mdi-shield-refresh:before{content:"๓ฐ‚ช"}.mdi-shield-refresh-outline:before{content:"๓ฐ‡ "}.mdi-shield-remove:before{content:"๓ฐซœ"}.mdi-shield-remove-outline:before{content:"๓ฐซ"}.mdi-shield-search:before{content:"๓ฐถš"}.mdi-shield-star:before{content:"๓ฑ„ป"}.mdi-shield-star-outline:before{content:"๓ฑ„ผ"}.mdi-shield-sun:before{content:"๓ฑ"}.mdi-shield-sun-outline:before{content:"๓ฑž"}.mdi-shield-sword:before{content:"๓ฑขพ"}.mdi-shield-sword-outline:before{content:"๓ฑขฟ"}.mdi-shield-sync:before{content:"๓ฑ†ข"}.mdi-shield-sync-outline:before{content:"๓ฑ†ฃ"}.mdi-shimmer:before{content:"๓ฑ•…"}.mdi-ship-wheel:before{content:"๓ฐ ณ"}.mdi-shipping-pallet:before{content:"๓ฑกŽ"}.mdi-shoe-ballet:before{content:"๓ฑ—Š"}.mdi-shoe-cleat:before{content:"๓ฑ—‡"}.mdi-shoe-formal:before{content:"๓ฐญ‡"}.mdi-shoe-heel:before{content:"๓ฐญˆ"}.mdi-shoe-print:before{content:"๓ฐทบ"}.mdi-shoe-sneaker:before{content:"๓ฑ—ˆ"}.mdi-shopping:before{content:"๓ฐ’š"}.mdi-shopping-music:before{content:"๓ฐ’›"}.mdi-shopping-outline:before{content:"๓ฑ‡•"}.mdi-shopping-search:before{content:"๓ฐพ„"}.mdi-shopping-search-outline:before{content:"๓ฑฉฏ"}.mdi-shore:before{content:"๓ฑ“น"}.mdi-shovel:before{content:"๓ฐœ"}.mdi-shovel-off:before{content:"๓ฐœ‘"}.mdi-shower:before{content:"๓ฐฆ "}.mdi-shower-head:before{content:"๓ฐฆก"}.mdi-shredder:before{content:"๓ฐ’œ"}.mdi-shuffle:before{content:"๓ฐ’"}.mdi-shuffle-disabled:before{content:"๓ฐ’ž"}.mdi-shuffle-variant:before{content:"๓ฐ’Ÿ"}.mdi-shuriken:before{content:"๓ฑฟ"}.mdi-sickle:before{content:"๓ฑฃ€"}.mdi-sigma:before{content:"๓ฐ’ "}.mdi-sigma-lower:before{content:"๓ฐ˜ซ"}.mdi-sign-caution:before{content:"๓ฐ’ก"}.mdi-sign-direction:before{content:"๓ฐž"}.mdi-sign-direction-minus:before{content:"๓ฑ€€"}.mdi-sign-direction-plus:before{content:"๓ฐฟœ"}.mdi-sign-direction-remove:before{content:"๓ฐฟ"}.mdi-sign-language:before{content:"๓ฑญ"}.mdi-sign-language-outline:before{content:"๓ฑญŽ"}.mdi-sign-pole:before{content:"๓ฑ“ธ"}.mdi-sign-real-estate:before{content:"๓ฑ„˜"}.mdi-sign-text:before{content:"๓ฐž‚"}.mdi-sign-yield:before{content:"๓ฑฎฏ"}.mdi-signal:before{content:"๓ฐ’ข"}.mdi-signal-2g:before{content:"๓ฐœ’"}.mdi-signal-3g:before{content:"๓ฐœ“"}.mdi-signal-4g:before{content:"๓ฐœ”"}.mdi-signal-5g:before{content:"๓ฐฉฏ"}.mdi-signal-cellular-1:before{content:"๓ฐขผ"}.mdi-signal-cellular-2:before{content:"๓ฐขฝ"}.mdi-signal-cellular-3:before{content:"๓ฐขพ"}.mdi-signal-cellular-outline:before{content:"๓ฐขฟ"}.mdi-signal-distance-variant:before{content:"๓ฐนค"}.mdi-signal-hspa:before{content:"๓ฐœ•"}.mdi-signal-hspa-plus:before{content:"๓ฐœ–"}.mdi-signal-off:before{content:"๓ฐžƒ"}.mdi-signal-variant:before{content:"๓ฐ˜Š"}.mdi-signature:before{content:"๓ฐทป"}.mdi-signature-freehand:before{content:"๓ฐทผ"}.mdi-signature-image:before{content:"๓ฐทฝ"}.mdi-signature-text:before{content:"๓ฐทพ"}.mdi-silo:before{content:"๓ฑฎŸ"}.mdi-silo-outline:before{content:"๓ฐญ‰"}.mdi-silverware:before{content:"๓ฐ’ฃ"}.mdi-silverware-clean:before{content:"๓ฐฟž"}.mdi-silverware-fork:before{content:"๓ฐ’ค"}.mdi-silverware-fork-knife:before{content:"๓ฐฉฐ"}.mdi-silverware-spoon:before{content:"๓ฐ’ฅ"}.mdi-silverware-variant:before{content:"๓ฐ’ฆ"}.mdi-sim:before{content:"๓ฐ’ง"}.mdi-sim-alert:before{content:"๓ฐ’จ"}.mdi-sim-alert-outline:before{content:"๓ฑ—“"}.mdi-sim-off:before{content:"๓ฐ’ฉ"}.mdi-sim-off-outline:before{content:"๓ฑ—”"}.mdi-sim-outline:before{content:"๓ฑ—•"}.mdi-simple-icons:before{content:"๓ฑŒ"}.mdi-sina-weibo:before{content:"๓ฐซŸ"}.mdi-sine-wave:before{content:"๓ฐฅ›"}.mdi-sitemap:before{content:"๓ฐ’ช"}.mdi-sitemap-outline:before{content:"๓ฑฆœ"}.mdi-size-l:before{content:"๓ฑŽฆ"}.mdi-size-m:before{content:"๓ฑŽฅ"}.mdi-size-s:before{content:"๓ฑŽค"}.mdi-size-xl:before{content:"๓ฑŽง"}.mdi-size-xs:before{content:"๓ฑŽฃ"}.mdi-size-xxl:before{content:"๓ฑŽจ"}.mdi-size-xxs:before{content:"๓ฑŽข"}.mdi-size-xxxl:before{content:"๓ฑŽฉ"}.mdi-skate:before{content:"๓ฐดต"}.mdi-skate-off:before{content:"๓ฐš™"}.mdi-skateboard:before{content:"๓ฑ“‚"}.mdi-skateboarding:before{content:"๓ฐ”"}.mdi-skew-less:before{content:"๓ฐดถ"}.mdi-skew-more:before{content:"๓ฐดท"}.mdi-ski:before{content:"๓ฑŒ„"}.mdi-ski-cross-country:before{content:"๓ฑŒ…"}.mdi-ski-water:before{content:"๓ฑŒ†"}.mdi-skip-backward:before{content:"๓ฐ’ซ"}.mdi-skip-backward-outline:before{content:"๓ฐผฅ"}.mdi-skip-forward:before{content:"๓ฐ’ฌ"}.mdi-skip-forward-outline:before{content:"๓ฐผฆ"}.mdi-skip-next:before{content:"๓ฐ’ญ"}.mdi-skip-next-circle:before{content:"๓ฐ™ก"}.mdi-skip-next-circle-outline:before{content:"๓ฐ™ข"}.mdi-skip-next-outline:before{content:"๓ฐผง"}.mdi-skip-previous:before{content:"๓ฐ’ฎ"}.mdi-skip-previous-circle:before{content:"๓ฐ™ฃ"}.mdi-skip-previous-circle-outline:before{content:"๓ฐ™ค"}.mdi-skip-previous-outline:before{content:"๓ฐผจ"}.mdi-skull:before{content:"๓ฐšŒ"}.mdi-skull-crossbones:before{content:"๓ฐฏ†"}.mdi-skull-crossbones-outline:before{content:"๓ฐฏ‡"}.mdi-skull-outline:before{content:"๓ฐฏˆ"}.mdi-skull-scan:before{content:"๓ฑ“‡"}.mdi-skull-scan-outline:before{content:"๓ฑ“ˆ"}.mdi-skype:before{content:"๓ฐ’ฏ"}.mdi-skype-business:before{content:"๓ฐ’ฐ"}.mdi-slack:before{content:"๓ฐ’ฑ"}.mdi-slash-forward:before{content:"๓ฐฟŸ"}.mdi-slash-forward-box:before{content:"๓ฐฟ "}.mdi-sledding:before{content:"๓ฐ›"}.mdi-sleep:before{content:"๓ฐ’ฒ"}.mdi-sleep-off:before{content:"๓ฐ’ณ"}.mdi-slide:before{content:"๓ฑ–ฅ"}.mdi-slope-downhill:before{content:"๓ฐทฟ"}.mdi-slope-uphill:before{content:"๓ฐธ€"}.mdi-slot-machine:before{content:"๓ฑ„”"}.mdi-slot-machine-outline:before{content:"๓ฑ„•"}.mdi-smart-card:before{content:"๓ฑ‚ฝ"}.mdi-smart-card-off:before{content:"๓ฑฃท"}.mdi-smart-card-off-outline:before{content:"๓ฑฃธ"}.mdi-smart-card-outline:before{content:"๓ฑ‚พ"}.mdi-smart-card-reader:before{content:"๓ฑ‚ฟ"}.mdi-smart-card-reader-outline:before{content:"๓ฑƒ€"}.mdi-smog:before{content:"๓ฐฉฑ"}.mdi-smoke:before{content:"๓ฑž™"}.mdi-smoke-detector:before{content:"๓ฐŽ’"}.mdi-smoke-detector-alert:before{content:"๓ฑคฎ"}.mdi-smoke-detector-alert-outline:before{content:"๓ฑคฏ"}.mdi-smoke-detector-off:before{content:"๓ฑ ‰"}.mdi-smoke-detector-off-outline:before{content:"๓ฑ Š"}.mdi-smoke-detector-outline:before{content:"๓ฑ ˆ"}.mdi-smoke-detector-variant:before{content:"๓ฑ ‹"}.mdi-smoke-detector-variant-alert:before{content:"๓ฑคฐ"}.mdi-smoke-detector-variant-off:before{content:"๓ฑ Œ"}.mdi-smoking:before{content:"๓ฐ’ด"}.mdi-smoking-off:before{content:"๓ฐ’ต"}.mdi-smoking-pipe:before{content:"๓ฑ"}.mdi-smoking-pipe-off:before{content:"๓ฑจ"}.mdi-snail:before{content:"๓ฑ™ท"}.mdi-snake:before{content:"๓ฑ”Ž"}.mdi-snapchat:before{content:"๓ฐ’ถ"}.mdi-snowboard:before{content:"๓ฑŒ‡"}.mdi-snowflake:before{content:"๓ฐœ—"}.mdi-snowflake-alert:before{content:"๓ฐผฉ"}.mdi-snowflake-check:before{content:"๓ฑฉฐ"}.mdi-snowflake-melt:before{content:"๓ฑ‹‹"}.mdi-snowflake-off:before{content:"๓ฑ“ฃ"}.mdi-snowflake-thermometer:before{content:"๓ฑฉฑ"}.mdi-snowflake-variant:before{content:"๓ฐผช"}.mdi-snowman:before{content:"๓ฐ’ท"}.mdi-snowmobile:before{content:"๓ฐ›"}.mdi-snowshoeing:before{content:"๓ฑฉฒ"}.mdi-soccer:before{content:"๓ฐ’ธ"}.mdi-soccer-field:before{content:"๓ฐ ด"}.mdi-social-distance-2-meters:before{content:"๓ฑ•น"}.mdi-social-distance-6-feet:before{content:"๓ฑ•บ"}.mdi-sofa:before{content:"๓ฐ’น"}.mdi-sofa-outline:before{content:"๓ฑ•ญ"}.mdi-sofa-single:before{content:"๓ฑ•ฎ"}.mdi-sofa-single-outline:before{content:"๓ฑ•ฏ"}.mdi-solar-panel:before{content:"๓ฐถ›"}.mdi-solar-panel-large:before{content:"๓ฐถœ"}.mdi-solar-power:before{content:"๓ฐฉฒ"}.mdi-solar-power-variant:before{content:"๓ฑฉณ"}.mdi-solar-power-variant-outline:before{content:"๓ฑฉด"}.mdi-soldering-iron:before{content:"๓ฑ‚’"}.mdi-solid:before{content:"๓ฐš"}.mdi-sony-playstation:before{content:"๓ฐ”"}.mdi-sort:before{content:"๓ฐ’บ"}.mdi-sort-alphabetical-ascending:before{content:"๓ฐ–ฝ"}.mdi-sort-alphabetical-ascending-variant:before{content:"๓ฑ…ˆ"}.mdi-sort-alphabetical-descending:before{content:"๓ฐ–ฟ"}.mdi-sort-alphabetical-descending-variant:before{content:"๓ฑ…‰"}.mdi-sort-alphabetical-variant:before{content:"๓ฐ’ป"}.mdi-sort-ascending:before{content:"๓ฐ’ผ"}.mdi-sort-bool-ascending:before{content:"๓ฑŽ…"}.mdi-sort-bool-ascending-variant:before{content:"๓ฑŽ†"}.mdi-sort-bool-descending:before{content:"๓ฑŽ‡"}.mdi-sort-bool-descending-variant:before{content:"๓ฑŽˆ"}.mdi-sort-calendar-ascending:before{content:"๓ฑ•‡"}.mdi-sort-calendar-descending:before{content:"๓ฑ•ˆ"}.mdi-sort-clock-ascending:before{content:"๓ฑ•‰"}.mdi-sort-clock-ascending-outline:before{content:"๓ฑ•Š"}.mdi-sort-clock-descending:before{content:"๓ฑ•‹"}.mdi-sort-clock-descending-outline:before{content:"๓ฑ•Œ"}.mdi-sort-descending:before{content:"๓ฐ’ฝ"}.mdi-sort-numeric-ascending:before{content:"๓ฑŽ‰"}.mdi-sort-numeric-ascending-variant:before{content:"๓ฐค"}.mdi-sort-numeric-descending:before{content:"๓ฑŽŠ"}.mdi-sort-numeric-descending-variant:before{content:"๓ฐซ’"}.mdi-sort-numeric-variant:before{content:"๓ฐ’พ"}.mdi-sort-reverse-variant:before{content:"๓ฐŒผ"}.mdi-sort-variant:before{content:"๓ฐ’ฟ"}.mdi-sort-variant-lock:before{content:"๓ฐณ"}.mdi-sort-variant-lock-open:before{content:"๓ฐณŽ"}.mdi-sort-variant-off:before{content:"๓ฑชป"}.mdi-sort-variant-remove:before{content:"๓ฑ…‡"}.mdi-soundbar:before{content:"๓ฑŸ›"}.mdi-soundcloud:before{content:"๓ฐ“€"}.mdi-source-branch:before{content:"๓ฐ˜ฌ"}.mdi-source-branch-check:before{content:"๓ฑ“"}.mdi-source-branch-minus:before{content:"๓ฑ“‹"}.mdi-source-branch-plus:before{content:"๓ฑ“Š"}.mdi-source-branch-refresh:before{content:"๓ฑ“"}.mdi-source-branch-remove:before{content:"๓ฑ“Œ"}.mdi-source-branch-sync:before{content:"๓ฑ“Ž"}.mdi-source-commit:before{content:"๓ฐœ˜"}.mdi-source-commit-end:before{content:"๓ฐœ™"}.mdi-source-commit-end-local:before{content:"๓ฐœš"}.mdi-source-commit-local:before{content:"๓ฐœ›"}.mdi-source-commit-next-local:before{content:"๓ฐœœ"}.mdi-source-commit-start:before{content:"๓ฐœ"}.mdi-source-commit-start-next-local:before{content:"๓ฐœž"}.mdi-source-fork:before{content:"๓ฐ“"}.mdi-source-merge:before{content:"๓ฐ˜ญ"}.mdi-source-pull:before{content:"๓ฐ“‚"}.mdi-source-repository:before{content:"๓ฐณ"}.mdi-source-repository-multiple:before{content:"๓ฐณ"}.mdi-soy-sauce:before{content:"๓ฐŸฎ"}.mdi-soy-sauce-off:before{content:"๓ฑผ"}.mdi-spa:before{content:"๓ฐณ‘"}.mdi-spa-outline:before{content:"๓ฐณ’"}.mdi-space-invaders:before{content:"๓ฐฏ‰"}.mdi-space-station:before{content:"๓ฑŽƒ"}.mdi-spade:before{content:"๓ฐนฅ"}.mdi-speaker:before{content:"๓ฐ“ƒ"}.mdi-speaker-bluetooth:before{content:"๓ฐฆข"}.mdi-speaker-message:before{content:"๓ฑฌ‘"}.mdi-speaker-multiple:before{content:"๓ฐดธ"}.mdi-speaker-off:before{content:"๓ฐ“„"}.mdi-speaker-pause:before{content:"๓ฑญณ"}.mdi-speaker-play:before{content:"๓ฑญฒ"}.mdi-speaker-stop:before{content:"๓ฑญด"}.mdi-speaker-wireless:before{content:"๓ฐœŸ"}.mdi-spear:before{content:"๓ฑก…"}.mdi-speedometer:before{content:"๓ฐ“…"}.mdi-speedometer-medium:before{content:"๓ฐพ…"}.mdi-speedometer-slow:before{content:"๓ฐพ†"}.mdi-spellcheck:before{content:"๓ฐ“†"}.mdi-sphere:before{content:"๓ฑฅ”"}.mdi-sphere-off:before{content:"๓ฑฅ•"}.mdi-spider:before{content:"๓ฑ‡ช"}.mdi-spider-outline:before{content:"๓ฑฑต"}.mdi-spider-thread:before{content:"๓ฑ‡ซ"}.mdi-spider-web:before{content:"๓ฐฏŠ"}.mdi-spirit-level:before{content:"๓ฑ“ฑ"}.mdi-spoon-sugar:before{content:"๓ฑฉ"}.mdi-spotify:before{content:"๓ฐ“‡"}.mdi-spotlight:before{content:"๓ฐ“ˆ"}.mdi-spotlight-beam:before{content:"๓ฐ“‰"}.mdi-spray:before{content:"๓ฐ™ฅ"}.mdi-spray-bottle:before{content:"๓ฐซ "}.mdi-sprinkler:before{content:"๓ฑŸ"}.mdi-sprinkler-fire:before{content:"๓ฑฆ"}.mdi-sprinkler-variant:before{content:"๓ฑ "}.mdi-sprout:before{content:"๓ฐนฆ"}.mdi-sprout-outline:before{content:"๓ฐนง"}.mdi-square:before{content:"๓ฐค"}.mdi-square-circle:before{content:"๓ฑ”€"}.mdi-square-circle-outline:before{content:"๓ฑฑ"}.mdi-square-edit-outline:before{content:"๓ฐคŒ"}.mdi-square-medium:before{content:"๓ฐจ“"}.mdi-square-medium-outline:before{content:"๓ฐจ”"}.mdi-square-off:before{content:"๓ฑ‹ฎ"}.mdi-square-off-outline:before{content:"๓ฑ‹ฏ"}.mdi-square-opacity:before{content:"๓ฑก”"}.mdi-square-outline:before{content:"๓ฐฃ"}.mdi-square-root:before{content:"๓ฐž„"}.mdi-square-root-box:before{content:"๓ฐฆฃ"}.mdi-square-rounded:before{content:"๓ฑ“ป"}.mdi-square-rounded-badge:before{content:"๓ฑจ‡"}.mdi-square-rounded-badge-outline:before{content:"๓ฑจˆ"}.mdi-square-rounded-outline:before{content:"๓ฑ“ผ"}.mdi-square-small:before{content:"๓ฐจ•"}.mdi-square-wave:before{content:"๓ฑ‘ป"}.mdi-squeegee:before{content:"๓ฐซก"}.mdi-ssh:before{content:"๓ฐฃ€"}.mdi-stack-exchange:before{content:"๓ฐ˜‹"}.mdi-stack-overflow:before{content:"๓ฐ“Œ"}.mdi-stackpath:before{content:"๓ฐ™"}.mdi-stadium:before{content:"๓ฐฟน"}.mdi-stadium-outline:before{content:"๓ฑฌƒ"}.mdi-stadium-variant:before{content:"๓ฐœ "}.mdi-stairs:before{content:"๓ฐ“"}.mdi-stairs-box:before{content:"๓ฑŽž"}.mdi-stairs-down:before{content:"๓ฑŠพ"}.mdi-stairs-up:before{content:"๓ฑŠฝ"}.mdi-stamper:before{content:"๓ฐดน"}.mdi-standard-definition:before{content:"๓ฐŸฏ"}.mdi-star:before{content:"๓ฐ“Ž"}.mdi-star-box:before{content:"๓ฐฉณ"}.mdi-star-box-multiple:before{content:"๓ฑŠ†"}.mdi-star-box-multiple-outline:before{content:"๓ฑŠ‡"}.mdi-star-box-outline:before{content:"๓ฐฉด"}.mdi-star-check:before{content:"๓ฑ•ฆ"}.mdi-star-check-outline:before{content:"๓ฑ•ช"}.mdi-star-circle:before{content:"๓ฐ“"}.mdi-star-circle-outline:before{content:"๓ฐฆค"}.mdi-star-cog:before{content:"๓ฑ™จ"}.mdi-star-cog-outline:before{content:"๓ฑ™ฉ"}.mdi-star-crescent:before{content:"๓ฐฅน"}.mdi-star-david:before{content:"๓ฐฅบ"}.mdi-star-face:before{content:"๓ฐฆฅ"}.mdi-star-four-points:before{content:"๓ฐซข"}.mdi-star-four-points-box:before{content:"๓ฑฑ‘"}.mdi-star-four-points-box-outline:before{content:"๓ฑฑ’"}.mdi-star-four-points-circle:before{content:"๓ฑฑ“"}.mdi-star-four-points-circle-outline:before{content:"๓ฑฑ”"}.mdi-star-four-points-outline:before{content:"๓ฐซฃ"}.mdi-star-four-points-small:before{content:"๓ฑฑ•"}.mdi-star-half:before{content:"๓ฐ‰†"}.mdi-star-half-full:before{content:"๓ฐ“"}.mdi-star-minus:before{content:"๓ฑ•ค"}.mdi-star-minus-outline:before{content:"๓ฑ•จ"}.mdi-star-off:before{content:"๓ฐ“‘"}.mdi-star-off-outline:before{content:"๓ฑ•›"}.mdi-star-outline:before{content:"๓ฐ“’"}.mdi-star-plus:before{content:"๓ฑ•ฃ"}.mdi-star-plus-outline:before{content:"๓ฑ•ง"}.mdi-star-remove:before{content:"๓ฑ•ฅ"}.mdi-star-remove-outline:before{content:"๓ฑ•ฉ"}.mdi-star-settings:before{content:"๓ฑ™ช"}.mdi-star-settings-outline:before{content:"๓ฑ™ซ"}.mdi-star-shooting:before{content:"๓ฑ"}.mdi-star-shooting-outline:before{content:"๓ฑ‚"}.mdi-star-three-points:before{content:"๓ฐซค"}.mdi-star-three-points-outline:before{content:"๓ฐซฅ"}.mdi-state-machine:before{content:"๓ฑ‡ฏ"}.mdi-steam:before{content:"๓ฐ““"}.mdi-steering:before{content:"๓ฐ“”"}.mdi-steering-off:before{content:"๓ฐคŽ"}.mdi-step-backward:before{content:"๓ฐ“•"}.mdi-step-backward-2:before{content:"๓ฐ“–"}.mdi-step-forward:before{content:"๓ฐ“—"}.mdi-step-forward-2:before{content:"๓ฐ“˜"}.mdi-stethoscope:before{content:"๓ฐ“™"}.mdi-sticker:before{content:"๓ฑค"}.mdi-sticker-alert:before{content:"๓ฑฅ"}.mdi-sticker-alert-outline:before{content:"๓ฑฆ"}.mdi-sticker-check:before{content:"๓ฑง"}.mdi-sticker-check-outline:before{content:"๓ฑจ"}.mdi-sticker-circle-outline:before{content:"๓ฐ—"}.mdi-sticker-emoji:before{content:"๓ฐž…"}.mdi-sticker-minus:before{content:"๓ฑฉ"}.mdi-sticker-minus-outline:before{content:"๓ฑช"}.mdi-sticker-outline:before{content:"๓ฑซ"}.mdi-sticker-plus:before{content:"๓ฑฌ"}.mdi-sticker-plus-outline:before{content:"๓ฑญ"}.mdi-sticker-remove:before{content:"๓ฑฎ"}.mdi-sticker-remove-outline:before{content:"๓ฑฏ"}.mdi-sticker-text:before{content:"๓ฑžŽ"}.mdi-sticker-text-outline:before{content:"๓ฑž"}.mdi-stocking:before{content:"๓ฐ“š"}.mdi-stomach:before{content:"๓ฑ‚“"}.mdi-stool:before{content:"๓ฑฅ"}.mdi-stool-outline:before{content:"๓ฑฅž"}.mdi-stop:before{content:"๓ฐ“›"}.mdi-stop-circle:before{content:"๓ฐ™ฆ"}.mdi-stop-circle-outline:before{content:"๓ฐ™ง"}.mdi-storage-tank:before{content:"๓ฑฉต"}.mdi-storage-tank-outline:before{content:"๓ฑฉถ"}.mdi-store:before{content:"๓ฐ“œ"}.mdi-store-24-hour:before{content:"๓ฐ“"}.mdi-store-alert:before{content:"๓ฑฃ"}.mdi-store-alert-outline:before{content:"๓ฑฃ‚"}.mdi-store-check:before{content:"๓ฑฃƒ"}.mdi-store-check-outline:before{content:"๓ฑฃ„"}.mdi-store-clock:before{content:"๓ฑฃ…"}.mdi-store-clock-outline:before{content:"๓ฑฃ†"}.mdi-store-cog:before{content:"๓ฑฃ‡"}.mdi-store-cog-outline:before{content:"๓ฑฃˆ"}.mdi-store-edit:before{content:"๓ฑฃ‰"}.mdi-store-edit-outline:before{content:"๓ฑฃŠ"}.mdi-store-marker:before{content:"๓ฑฃ‹"}.mdi-store-marker-outline:before{content:"๓ฑฃŒ"}.mdi-store-minus:before{content:"๓ฑ™ž"}.mdi-store-minus-outline:before{content:"๓ฑฃ"}.mdi-store-off:before{content:"๓ฑฃŽ"}.mdi-store-off-outline:before{content:"๓ฑฃ"}.mdi-store-outline:before{content:"๓ฑก"}.mdi-store-plus:before{content:"๓ฑ™Ÿ"}.mdi-store-plus-outline:before{content:"๓ฑฃ"}.mdi-store-remove:before{content:"๓ฑ™ "}.mdi-store-remove-outline:before{content:"๓ฑฃ‘"}.mdi-store-search:before{content:"๓ฑฃ’"}.mdi-store-search-outline:before{content:"๓ฑฃ“"}.mdi-store-settings:before{content:"๓ฑฃ”"}.mdi-store-settings-outline:before{content:"๓ฑฃ•"}.mdi-storefront:before{content:"๓ฐŸ‡"}.mdi-storefront-check:before{content:"๓ฑญฝ"}.mdi-storefront-check-outline:before{content:"๓ฑญพ"}.mdi-storefront-edit:before{content:"๓ฑญฟ"}.mdi-storefront-edit-outline:before{content:"๓ฑฎ€"}.mdi-storefront-minus:before{content:"๓ฑฎƒ"}.mdi-storefront-minus-outline:before{content:"๓ฑฎ„"}.mdi-storefront-outline:before{content:"๓ฑƒ"}.mdi-storefront-plus:before{content:"๓ฑฎ"}.mdi-storefront-plus-outline:before{content:"๓ฑฎ‚"}.mdi-storefront-remove:before{content:"๓ฑฎ…"}.mdi-storefront-remove-outline:before{content:"๓ฑฎ†"}.mdi-stove:before{content:"๓ฐ“ž"}.mdi-strategy:before{content:"๓ฑ‡–"}.mdi-stretch-to-page:before{content:"๓ฐผซ"}.mdi-stretch-to-page-outline:before{content:"๓ฐผฌ"}.mdi-string-lights:before{content:"๓ฑŠบ"}.mdi-string-lights-off:before{content:"๓ฑŠป"}.mdi-subdirectory-arrow-left:before{content:"๓ฐ˜Œ"}.mdi-subdirectory-arrow-right:before{content:"๓ฐ˜"}.mdi-submarine:before{content:"๓ฑ•ฌ"}.mdi-subtitles:before{content:"๓ฐจ–"}.mdi-subtitles-outline:before{content:"๓ฐจ—"}.mdi-subway:before{content:"๓ฐšฌ"}.mdi-subway-alert-variant:before{content:"๓ฐถ"}.mdi-subway-variant:before{content:"๓ฐ“Ÿ"}.mdi-summit:before{content:"๓ฐž†"}.mdi-sun-angle:before{content:"๓ฑฌง"}.mdi-sun-angle-outline:before{content:"๓ฑฌจ"}.mdi-sun-clock:before{content:"๓ฑฉท"}.mdi-sun-clock-outline:before{content:"๓ฑฉธ"}.mdi-sun-compass:before{content:"๓ฑฆฅ"}.mdi-sun-snowflake:before{content:"๓ฑž–"}.mdi-sun-snowflake-variant:before{content:"๓ฑฉน"}.mdi-sun-thermometer:before{content:"๓ฑฃ–"}.mdi-sun-thermometer-outline:before{content:"๓ฑฃ—"}.mdi-sun-wireless:before{content:"๓ฑŸพ"}.mdi-sun-wireless-outline:before{content:"๓ฑŸฟ"}.mdi-sunglasses:before{content:"๓ฐ“ "}.mdi-surfing:before{content:"๓ฑ†"}.mdi-surround-sound:before{content:"๓ฐ—…"}.mdi-surround-sound-2-0:before{content:"๓ฐŸฐ"}.mdi-surround-sound-2-1:before{content:"๓ฑœฉ"}.mdi-surround-sound-3-1:before{content:"๓ฐŸฑ"}.mdi-surround-sound-5-1:before{content:"๓ฐŸฒ"}.mdi-surround-sound-5-1-2:before{content:"๓ฑœช"}.mdi-surround-sound-7-1:before{content:"๓ฐŸณ"}.mdi-svg:before{content:"๓ฐœก"}.mdi-swap-horizontal:before{content:"๓ฐ“ก"}.mdi-swap-horizontal-bold:before{content:"๓ฐฏ"}.mdi-swap-horizontal-circle:before{content:"๓ฐฟก"}.mdi-swap-horizontal-circle-outline:before{content:"๓ฐฟข"}.mdi-swap-horizontal-variant:before{content:"๓ฐฃ"}.mdi-swap-vertical:before{content:"๓ฐ“ข"}.mdi-swap-vertical-bold:before{content:"๓ฐฏŽ"}.mdi-swap-vertical-circle:before{content:"๓ฐฟฃ"}.mdi-swap-vertical-circle-outline:before{content:"๓ฐฟค"}.mdi-swap-vertical-variant:before{content:"๓ฐฃ‚"}.mdi-swim:before{content:"๓ฐ“ฃ"}.mdi-switch:before{content:"๓ฐ“ค"}.mdi-sword:before{content:"๓ฐ“ฅ"}.mdi-sword-cross:before{content:"๓ฐž‡"}.mdi-syllabary-hangul:before{content:"๓ฑŒณ"}.mdi-syllabary-hiragana:before{content:"๓ฑŒด"}.mdi-syllabary-katakana:before{content:"๓ฑŒต"}.mdi-syllabary-katakana-halfwidth:before{content:"๓ฑŒถ"}.mdi-symbol:before{content:"๓ฑ”"}.mdi-symfony:before{content:"๓ฐซฆ"}.mdi-synagogue:before{content:"๓ฑฌ„"}.mdi-synagogue-outline:before{content:"๓ฑฌ…"}.mdi-sync:before{content:"๓ฐ“ฆ"}.mdi-sync-alert:before{content:"๓ฐ“ง"}.mdi-sync-circle:before{content:"๓ฑธ"}.mdi-sync-off:before{content:"๓ฐ“จ"}.mdi-tab:before{content:"๓ฐ“ฉ"}.mdi-tab-minus:before{content:"๓ฐญ‹"}.mdi-tab-plus:before{content:"๓ฐœ"}.mdi-tab-remove:before{content:"๓ฐญŒ"}.mdi-tab-search:before{content:"๓ฑฆž"}.mdi-tab-unselected:before{content:"๓ฐ“ช"}.mdi-table:before{content:"๓ฐ“ซ"}.mdi-table-account:before{content:"๓ฑŽน"}.mdi-table-alert:before{content:"๓ฑŽบ"}.mdi-table-arrow-down:before{content:"๓ฑŽป"}.mdi-table-arrow-left:before{content:"๓ฑŽผ"}.mdi-table-arrow-right:before{content:"๓ฑŽฝ"}.mdi-table-arrow-up:before{content:"๓ฑŽพ"}.mdi-table-border:before{content:"๓ฐจ˜"}.mdi-table-cancel:before{content:"๓ฑŽฟ"}.mdi-table-chair:before{content:"๓ฑก"}.mdi-table-check:before{content:"๓ฑ€"}.mdi-table-clock:before{content:"๓ฑ"}.mdi-table-cog:before{content:"๓ฑ‚"}.mdi-table-column:before{content:"๓ฐ ต"}.mdi-table-column-plus-after:before{content:"๓ฐ“ฌ"}.mdi-table-column-plus-before:before{content:"๓ฐ“ญ"}.mdi-table-column-remove:before{content:"๓ฐ“ฎ"}.mdi-table-column-width:before{content:"๓ฐ“ฏ"}.mdi-table-edit:before{content:"๓ฐ“ฐ"}.mdi-table-eye:before{content:"๓ฑ‚”"}.mdi-table-eye-off:before{content:"๓ฑƒ"}.mdi-table-filter:before{content:"๓ฑฎŒ"}.mdi-table-furniture:before{content:"๓ฐ–ผ"}.mdi-table-headers-eye:before{content:"๓ฑˆ"}.mdi-table-headers-eye-off:before{content:"๓ฑˆž"}.mdi-table-heart:before{content:"๓ฑ„"}.mdi-table-key:before{content:"๓ฑ…"}.mdi-table-large:before{content:"๓ฐ“ฑ"}.mdi-table-large-plus:before{content:"๓ฐพ‡"}.mdi-table-large-remove:before{content:"๓ฐพˆ"}.mdi-table-lock:before{content:"๓ฑ†"}.mdi-table-merge-cells:before{content:"๓ฐฆฆ"}.mdi-table-minus:before{content:"๓ฑ‡"}.mdi-table-multiple:before{content:"๓ฑˆ"}.mdi-table-network:before{content:"๓ฑ‰"}.mdi-table-of-contents:before{content:"๓ฐ ถ"}.mdi-table-off:before{content:"๓ฑŠ"}.mdi-table-picnic:before{content:"๓ฑƒ"}.mdi-table-pivot:before{content:"๓ฑ ผ"}.mdi-table-plus:before{content:"๓ฐฉต"}.mdi-table-question:before{content:"๓ฑฌก"}.mdi-table-refresh:before{content:"๓ฑŽ "}.mdi-table-remove:before{content:"๓ฐฉถ"}.mdi-table-row:before{content:"๓ฐ ท"}.mdi-table-row-height:before{content:"๓ฐ“ฒ"}.mdi-table-row-plus-after:before{content:"๓ฐ“ณ"}.mdi-table-row-plus-before:before{content:"๓ฐ“ด"}.mdi-table-row-remove:before{content:"๓ฐ“ต"}.mdi-table-search:before{content:"๓ฐค"}.mdi-table-settings:before{content:"๓ฐ ธ"}.mdi-table-split-cell:before{content:"๓ฑช"}.mdi-table-star:before{content:"๓ฑ‹"}.mdi-table-sync:before{content:"๓ฑŽก"}.mdi-table-tennis:before{content:"๓ฐนจ"}.mdi-tablet:before{content:"๓ฐ“ถ"}.mdi-tablet-cellphone:before{content:"๓ฐฆง"}.mdi-tablet-dashboard:before{content:"๓ฐปŽ"}.mdi-taco:before{content:"๓ฐข"}.mdi-tag:before{content:"๓ฐ“น"}.mdi-tag-arrow-down:before{content:"๓ฑœซ"}.mdi-tag-arrow-down-outline:before{content:"๓ฑœฌ"}.mdi-tag-arrow-left:before{content:"๓ฑœญ"}.mdi-tag-arrow-left-outline:before{content:"๓ฑœฎ"}.mdi-tag-arrow-right:before{content:"๓ฑœฏ"}.mdi-tag-arrow-right-outline:before{content:"๓ฑœฐ"}.mdi-tag-arrow-up:before{content:"๓ฑœฑ"}.mdi-tag-arrow-up-outline:before{content:"๓ฑœฒ"}.mdi-tag-check:before{content:"๓ฑฉบ"}.mdi-tag-check-outline:before{content:"๓ฑฉป"}.mdi-tag-faces:before{content:"๓ฐ“บ"}.mdi-tag-heart:before{content:"๓ฐš‹"}.mdi-tag-heart-outline:before{content:"๓ฐฏ"}.mdi-tag-hidden:before{content:"๓ฑฑถ"}.mdi-tag-minus:before{content:"๓ฐค"}.mdi-tag-minus-outline:before{content:"๓ฑˆŸ"}.mdi-tag-multiple:before{content:"๓ฐ“ป"}.mdi-tag-multiple-outline:before{content:"๓ฑ‹ท"}.mdi-tag-off:before{content:"๓ฑˆ "}.mdi-tag-off-outline:before{content:"๓ฑˆก"}.mdi-tag-outline:before{content:"๓ฐ“ผ"}.mdi-tag-plus:before{content:"๓ฐœข"}.mdi-tag-plus-outline:before{content:"๓ฑˆข"}.mdi-tag-remove:before{content:"๓ฐœฃ"}.mdi-tag-remove-outline:before{content:"๓ฑˆฃ"}.mdi-tag-search:before{content:"๓ฑค‡"}.mdi-tag-search-outline:before{content:"๓ฑคˆ"}.mdi-tag-text:before{content:"๓ฑˆค"}.mdi-tag-text-outline:before{content:"๓ฐ“ฝ"}.mdi-tailwind:before{content:"๓ฑฟ"}.mdi-tally-mark-1:before{content:"๓ฑชผ"}.mdi-tally-mark-2:before{content:"๓ฑชฝ"}.mdi-tally-mark-3:before{content:"๓ฑชพ"}.mdi-tally-mark-4:before{content:"๓ฑชฟ"}.mdi-tally-mark-5:before{content:"๓ฑซ€"}.mdi-tangram:before{content:"๓ฐ“ธ"}.mdi-tank:before{content:"๓ฐดบ"}.mdi-tanker-truck:before{content:"๓ฐฟฅ"}.mdi-tape-drive:before{content:"๓ฑ›Ÿ"}.mdi-tape-measure:before{content:"๓ฐญ"}.mdi-target:before{content:"๓ฐ“พ"}.mdi-target-account:before{content:"๓ฐฏ"}.mdi-target-variant:before{content:"๓ฐฉท"}.mdi-taxi:before{content:"๓ฐ“ฟ"}.mdi-tea:before{content:"๓ฐถž"}.mdi-tea-outline:before{content:"๓ฐถŸ"}.mdi-teamviewer:before{content:"๓ฐ”€"}.mdi-teddy-bear:before{content:"๓ฑฃป"}.mdi-telescope:before{content:"๓ฐญŽ"}.mdi-television:before{content:"๓ฐ”‚"}.mdi-television-ambient-light:before{content:"๓ฑ–"}.mdi-television-box:before{content:"๓ฐ น"}.mdi-television-classic:before{content:"๓ฐŸด"}.mdi-television-classic-off:before{content:"๓ฐ บ"}.mdi-television-guide:before{content:"๓ฐ”ƒ"}.mdi-television-off:before{content:"๓ฐ ป"}.mdi-television-pause:before{content:"๓ฐพ‰"}.mdi-television-play:before{content:"๓ฐป"}.mdi-television-shimmer:before{content:"๓ฑ„"}.mdi-television-speaker:before{content:"๓ฑฌ›"}.mdi-television-speaker-off:before{content:"๓ฑฌœ"}.mdi-television-stop:before{content:"๓ฐพŠ"}.mdi-temperature-celsius:before{content:"๓ฐ”„"}.mdi-temperature-fahrenheit:before{content:"๓ฐ”…"}.mdi-temperature-kelvin:before{content:"๓ฐ”†"}.mdi-temple-buddhist:before{content:"๓ฑฌ†"}.mdi-temple-buddhist-outline:before{content:"๓ฑฌ‡"}.mdi-temple-hindu:before{content:"๓ฑฌˆ"}.mdi-temple-hindu-outline:before{content:"๓ฑฌ‰"}.mdi-tennis:before{content:"๓ฐถ "}.mdi-tennis-ball:before{content:"๓ฐ”‡"}.mdi-tennis-ball-outline:before{content:"๓ฑฑŸ"}.mdi-tent:before{content:"๓ฐ”ˆ"}.mdi-terraform:before{content:"๓ฑข"}.mdi-terrain:before{content:"๓ฐ”‰"}.mdi-test-tube:before{content:"๓ฐ™จ"}.mdi-test-tube-empty:before{content:"๓ฐค‘"}.mdi-test-tube-off:before{content:"๓ฐค’"}.mdi-text:before{content:"๓ฐฆจ"}.mdi-text-account:before{content:"๓ฑ•ฐ"}.mdi-text-box:before{content:"๓ฐˆš"}.mdi-text-box-check:before{content:"๓ฐบฆ"}.mdi-text-box-check-outline:before{content:"๓ฐบง"}.mdi-text-box-edit:before{content:"๓ฑฉผ"}.mdi-text-box-edit-outline:before{content:"๓ฑฉฝ"}.mdi-text-box-minus:before{content:"๓ฐบจ"}.mdi-text-box-minus-outline:before{content:"๓ฐบฉ"}.mdi-text-box-multiple:before{content:"๓ฐชท"}.mdi-text-box-multiple-outline:before{content:"๓ฐชธ"}.mdi-text-box-outline:before{content:"๓ฐงญ"}.mdi-text-box-plus:before{content:"๓ฐบช"}.mdi-text-box-plus-outline:before{content:"๓ฐบซ"}.mdi-text-box-remove:before{content:"๓ฐบฌ"}.mdi-text-box-remove-outline:before{content:"๓ฐบญ"}.mdi-text-box-search:before{content:"๓ฐบฎ"}.mdi-text-box-search-outline:before{content:"๓ฐบฏ"}.mdi-text-long:before{content:"๓ฐฆช"}.mdi-text-recognition:before{content:"๓ฑ„ฝ"}.mdi-text-search:before{content:"๓ฑŽธ"}.mdi-text-search-variant:before{content:"๓ฑฉพ"}.mdi-text-shadow:before{content:"๓ฐ™ฉ"}.mdi-text-short:before{content:"๓ฐฆฉ"}.mdi-texture:before{content:"๓ฐ”Œ"}.mdi-texture-box:before{content:"๓ฐฟฆ"}.mdi-theater:before{content:"๓ฐ”"}.mdi-theme-light-dark:before{content:"๓ฐ”Ž"}.mdi-thermometer:before{content:"๓ฐ”"}.mdi-thermometer-alert:before{content:"๓ฐธ"}.mdi-thermometer-auto:before{content:"๓ฑฌ"}.mdi-thermometer-bluetooth:before{content:"๓ฑข•"}.mdi-thermometer-check:before{content:"๓ฑฉฟ"}.mdi-thermometer-chevron-down:before{content:"๓ฐธ‚"}.mdi-thermometer-chevron-up:before{content:"๓ฐธƒ"}.mdi-thermometer-high:before{content:"๓ฑƒ‚"}.mdi-thermometer-lines:before{content:"๓ฐ”"}.mdi-thermometer-low:before{content:"๓ฑƒƒ"}.mdi-thermometer-minus:before{content:"๓ฐธ„"}.mdi-thermometer-off:before{content:"๓ฑ”ฑ"}.mdi-thermometer-plus:before{content:"๓ฐธ…"}.mdi-thermometer-probe:before{content:"๓ฑฌซ"}.mdi-thermometer-probe-off:before{content:"๓ฑฌฌ"}.mdi-thermometer-water:before{content:"๓ฑช€"}.mdi-thermostat:before{content:"๓ฐŽ“"}.mdi-thermostat-auto:before{content:"๓ฑฌ—"}.mdi-thermostat-box:before{content:"๓ฐข‘"}.mdi-thermostat-box-auto:before{content:"๓ฑฌ˜"}.mdi-thermostat-cog:before{content:"๓ฑฒ€"}.mdi-thought-bubble:before{content:"๓ฐŸถ"}.mdi-thought-bubble-outline:before{content:"๓ฐŸท"}.mdi-thumb-down:before{content:"๓ฐ”‘"}.mdi-thumb-down-outline:before{content:"๓ฐ”’"}.mdi-thumb-up:before{content:"๓ฐ”“"}.mdi-thumb-up-outline:before{content:"๓ฐ””"}.mdi-thumbs-up-down:before{content:"๓ฐ”•"}.mdi-thumbs-up-down-outline:before{content:"๓ฑค”"}.mdi-ticket:before{content:"๓ฐ”–"}.mdi-ticket-account:before{content:"๓ฐ”—"}.mdi-ticket-confirmation:before{content:"๓ฐ”˜"}.mdi-ticket-confirmation-outline:before{content:"๓ฑŽช"}.mdi-ticket-outline:before{content:"๓ฐค“"}.mdi-ticket-percent:before{content:"๓ฐœค"}.mdi-ticket-percent-outline:before{content:"๓ฑซ"}.mdi-tie:before{content:"๓ฐ”™"}.mdi-tilde:before{content:"๓ฐœฅ"}.mdi-tilde-off:before{content:"๓ฑฃณ"}.mdi-timelapse:before{content:"๓ฐ”š"}.mdi-timeline:before{content:"๓ฐฏ‘"}.mdi-timeline-alert:before{content:"๓ฐพ•"}.mdi-timeline-alert-outline:before{content:"๓ฐพ˜"}.mdi-timeline-check:before{content:"๓ฑ”ฒ"}.mdi-timeline-check-outline:before{content:"๓ฑ”ณ"}.mdi-timeline-clock:before{content:"๓ฑ‡ป"}.mdi-timeline-clock-outline:before{content:"๓ฑ‡ผ"}.mdi-timeline-minus:before{content:"๓ฑ”ด"}.mdi-timeline-minus-outline:before{content:"๓ฑ”ต"}.mdi-timeline-outline:before{content:"๓ฐฏ’"}.mdi-timeline-plus:before{content:"๓ฐพ–"}.mdi-timeline-plus-outline:before{content:"๓ฐพ—"}.mdi-timeline-question:before{content:"๓ฐพ™"}.mdi-timeline-question-outline:before{content:"๓ฐพš"}.mdi-timeline-remove:before{content:"๓ฑ”ถ"}.mdi-timeline-remove-outline:before{content:"๓ฑ”ท"}.mdi-timeline-text:before{content:"๓ฐฏ“"}.mdi-timeline-text-outline:before{content:"๓ฐฏ”"}.mdi-timer:before{content:"๓ฑŽซ"}.mdi-timer-10:before{content:"๓ฐ”œ"}.mdi-timer-3:before{content:"๓ฐ”"}.mdi-timer-alert:before{content:"๓ฑซŒ"}.mdi-timer-alert-outline:before{content:"๓ฑซ"}.mdi-timer-cancel:before{content:"๓ฑซŽ"}.mdi-timer-cancel-outline:before{content:"๓ฑซ"}.mdi-timer-check:before{content:"๓ฑซ"}.mdi-timer-check-outline:before{content:"๓ฑซ‘"}.mdi-timer-cog:before{content:"๓ฑคฅ"}.mdi-timer-cog-outline:before{content:"๓ฑคฆ"}.mdi-timer-edit:before{content:"๓ฑซ’"}.mdi-timer-edit-outline:before{content:"๓ฑซ“"}.mdi-timer-lock:before{content:"๓ฑซ”"}.mdi-timer-lock-open:before{content:"๓ฑซ•"}.mdi-timer-lock-open-outline:before{content:"๓ฑซ–"}.mdi-timer-lock-outline:before{content:"๓ฑซ—"}.mdi-timer-marker:before{content:"๓ฑซ˜"}.mdi-timer-marker-outline:before{content:"๓ฑซ™"}.mdi-timer-minus:before{content:"๓ฑซš"}.mdi-timer-minus-outline:before{content:"๓ฑซ›"}.mdi-timer-music:before{content:"๓ฑซœ"}.mdi-timer-music-outline:before{content:"๓ฑซ"}.mdi-timer-off:before{content:"๓ฑŽฌ"}.mdi-timer-off-outline:before{content:"๓ฐ”ž"}.mdi-timer-outline:before{content:"๓ฐ”›"}.mdi-timer-pause:before{content:"๓ฑซž"}.mdi-timer-pause-outline:before{content:"๓ฑซŸ"}.mdi-timer-play:before{content:"๓ฑซ "}.mdi-timer-play-outline:before{content:"๓ฑซก"}.mdi-timer-plus:before{content:"๓ฑซข"}.mdi-timer-plus-outline:before{content:"๓ฑซฃ"}.mdi-timer-refresh:before{content:"๓ฑซค"}.mdi-timer-refresh-outline:before{content:"๓ฑซฅ"}.mdi-timer-remove:before{content:"๓ฑซฆ"}.mdi-timer-remove-outline:before{content:"๓ฑซง"}.mdi-timer-sand:before{content:"๓ฐ”Ÿ"}.mdi-timer-sand-complete:before{content:"๓ฑฆŸ"}.mdi-timer-sand-empty:before{content:"๓ฐšญ"}.mdi-timer-sand-full:before{content:"๓ฐžŒ"}.mdi-timer-sand-paused:before{content:"๓ฑฆ "}.mdi-timer-settings:before{content:"๓ฑคฃ"}.mdi-timer-settings-outline:before{content:"๓ฑคค"}.mdi-timer-star:before{content:"๓ฑซจ"}.mdi-timer-star-outline:before{content:"๓ฑซฉ"}.mdi-timer-stop:before{content:"๓ฑซช"}.mdi-timer-stop-outline:before{content:"๓ฑซซ"}.mdi-timer-sync:before{content:"๓ฑซฌ"}.mdi-timer-sync-outline:before{content:"๓ฑซญ"}.mdi-timetable:before{content:"๓ฐ” "}.mdi-tire:before{content:"๓ฑข–"}.mdi-toaster:before{content:"๓ฑฃ"}.mdi-toaster-off:before{content:"๓ฑ†ท"}.mdi-toaster-oven:before{content:"๓ฐณ“"}.mdi-toggle-switch:before{content:"๓ฐ”ก"}.mdi-toggle-switch-off:before{content:"๓ฐ”ข"}.mdi-toggle-switch-off-outline:before{content:"๓ฐจ™"}.mdi-toggle-switch-outline:before{content:"๓ฐจš"}.mdi-toggle-switch-variant:before{content:"๓ฑจฅ"}.mdi-toggle-switch-variant-off:before{content:"๓ฑจฆ"}.mdi-toilet:before{content:"๓ฐฆซ"}.mdi-toolbox:before{content:"๓ฐฆฌ"}.mdi-toolbox-outline:before{content:"๓ฐฆญ"}.mdi-tools:before{content:"๓ฑค"}.mdi-tooltip:before{content:"๓ฐ”ฃ"}.mdi-tooltip-account:before{content:"๓ฐ€Œ"}.mdi-tooltip-cellphone:before{content:"๓ฑ ป"}.mdi-tooltip-check:before{content:"๓ฑ•œ"}.mdi-tooltip-check-outline:before{content:"๓ฑ•"}.mdi-tooltip-edit:before{content:"๓ฐ”ค"}.mdi-tooltip-edit-outline:before{content:"๓ฑ‹…"}.mdi-tooltip-image:before{content:"๓ฐ”ฅ"}.mdi-tooltip-image-outline:before{content:"๓ฐฏ•"}.mdi-tooltip-minus:before{content:"๓ฑ•ž"}.mdi-tooltip-minus-outline:before{content:"๓ฑ•Ÿ"}.mdi-tooltip-outline:before{content:"๓ฐ”ฆ"}.mdi-tooltip-plus:before{content:"๓ฐฏ–"}.mdi-tooltip-plus-outline:before{content:"๓ฐ”ง"}.mdi-tooltip-question:before{content:"๓ฑฎบ"}.mdi-tooltip-question-outline:before{content:"๓ฑฎป"}.mdi-tooltip-remove:before{content:"๓ฑ• "}.mdi-tooltip-remove-outline:before{content:"๓ฑ•ก"}.mdi-tooltip-text:before{content:"๓ฐ”จ"}.mdi-tooltip-text-outline:before{content:"๓ฐฏ—"}.mdi-tooth:before{content:"๓ฐฃƒ"}.mdi-tooth-outline:before{content:"๓ฐ”ฉ"}.mdi-toothbrush:before{content:"๓ฑ„ฉ"}.mdi-toothbrush-electric:before{content:"๓ฑ„ฌ"}.mdi-toothbrush-paste:before{content:"๓ฑ„ช"}.mdi-torch:before{content:"๓ฑ˜†"}.mdi-tortoise:before{content:"๓ฐดป"}.mdi-toslink:before{content:"๓ฑŠธ"}.mdi-touch-text-outline:before{content:"๓ฑฑ "}.mdi-tournament:before{content:"๓ฐฆฎ"}.mdi-tow-truck:before{content:"๓ฐ ผ"}.mdi-tower-beach:before{content:"๓ฐš"}.mdi-tower-fire:before{content:"๓ฐš‚"}.mdi-town-hall:before{content:"๓ฑกต"}.mdi-toy-brick:before{content:"๓ฑŠˆ"}.mdi-toy-brick-marker:before{content:"๓ฑŠ‰"}.mdi-toy-brick-marker-outline:before{content:"๓ฑŠŠ"}.mdi-toy-brick-minus:before{content:"๓ฑŠ‹"}.mdi-toy-brick-minus-outline:before{content:"๓ฑŠŒ"}.mdi-toy-brick-outline:before{content:"๓ฑŠ"}.mdi-toy-brick-plus:before{content:"๓ฑŠŽ"}.mdi-toy-brick-plus-outline:before{content:"๓ฑŠ"}.mdi-toy-brick-remove:before{content:"๓ฑŠ"}.mdi-toy-brick-remove-outline:before{content:"๓ฑŠ‘"}.mdi-toy-brick-search:before{content:"๓ฑŠ’"}.mdi-toy-brick-search-outline:before{content:"๓ฑŠ“"}.mdi-track-light:before{content:"๓ฐค”"}.mdi-track-light-off:before{content:"๓ฑฌ"}.mdi-trackpad:before{content:"๓ฐŸธ"}.mdi-trackpad-lock:before{content:"๓ฐคณ"}.mdi-tractor:before{content:"๓ฐข’"}.mdi-tractor-variant:before{content:"๓ฑ“„"}.mdi-trademark:before{content:"๓ฐฉธ"}.mdi-traffic-cone:before{content:"๓ฑผ"}.mdi-traffic-light:before{content:"๓ฐ”ซ"}.mdi-traffic-light-outline:before{content:"๓ฑ ช"}.mdi-train:before{content:"๓ฐ”ฌ"}.mdi-train-car:before{content:"๓ฐฏ˜"}.mdi-train-car-autorack:before{content:"๓ฑฌญ"}.mdi-train-car-box:before{content:"๓ฑฌฎ"}.mdi-train-car-box-full:before{content:"๓ฑฌฏ"}.mdi-train-car-box-open:before{content:"๓ฑฌฐ"}.mdi-train-car-caboose:before{content:"๓ฑฌฑ"}.mdi-train-car-centerbeam:before{content:"๓ฑฌฒ"}.mdi-train-car-centerbeam-full:before{content:"๓ฑฌณ"}.mdi-train-car-container:before{content:"๓ฑฌด"}.mdi-train-car-flatbed:before{content:"๓ฑฌต"}.mdi-train-car-flatbed-car:before{content:"๓ฑฌถ"}.mdi-train-car-flatbed-tank:before{content:"๓ฑฌท"}.mdi-train-car-gondola:before{content:"๓ฑฌธ"}.mdi-train-car-gondola-full:before{content:"๓ฑฌน"}.mdi-train-car-hopper:before{content:"๓ฑฌบ"}.mdi-train-car-hopper-covered:before{content:"๓ฑฌป"}.mdi-train-car-hopper-full:before{content:"๓ฑฌผ"}.mdi-train-car-intermodal:before{content:"๓ฑฌฝ"}.mdi-train-car-passenger:before{content:"๓ฑœณ"}.mdi-train-car-passenger-door:before{content:"๓ฑœด"}.mdi-train-car-passenger-door-open:before{content:"๓ฑœต"}.mdi-train-car-passenger-variant:before{content:"๓ฑœถ"}.mdi-train-car-tank:before{content:"๓ฑฌพ"}.mdi-train-variant:before{content:"๓ฐฃ„"}.mdi-tram:before{content:"๓ฐ”ญ"}.mdi-tram-side:before{content:"๓ฐฟง"}.mdi-transcribe:before{content:"๓ฐ”ฎ"}.mdi-transcribe-close:before{content:"๓ฐ”ฏ"}.mdi-transfer:before{content:"๓ฑฅ"}.mdi-transfer-down:before{content:"๓ฐถก"}.mdi-transfer-left:before{content:"๓ฐถข"}.mdi-transfer-right:before{content:"๓ฐ”ฐ"}.mdi-transfer-up:before{content:"๓ฐถฃ"}.mdi-transit-connection:before{content:"๓ฐดผ"}.mdi-transit-connection-horizontal:before{content:"๓ฑ•†"}.mdi-transit-connection-variant:before{content:"๓ฐดฝ"}.mdi-transit-detour:before{content:"๓ฐพ‹"}.mdi-transit-skip:before{content:"๓ฑ”•"}.mdi-transit-transfer:before{content:"๓ฐšฎ"}.mdi-transition:before{content:"๓ฐค•"}.mdi-transition-masked:before{content:"๓ฐค–"}.mdi-translate:before{content:"๓ฐ—Š"}.mdi-translate-off:before{content:"๓ฐธ†"}.mdi-translate-variant:before{content:"๓ฑฎ™"}.mdi-transmission-tower:before{content:"๓ฐดพ"}.mdi-transmission-tower-export:before{content:"๓ฑคฌ"}.mdi-transmission-tower-import:before{content:"๓ฑคญ"}.mdi-transmission-tower-off:before{content:"๓ฑง"}.mdi-trash-can:before{content:"๓ฐฉน"}.mdi-trash-can-outline:before{content:"๓ฐฉบ"}.mdi-tray:before{content:"๓ฑŠ”"}.mdi-tray-alert:before{content:"๓ฑŠ•"}.mdi-tray-arrow-down:before{content:"๓ฐ„ "}.mdi-tray-arrow-up:before{content:"๓ฐ„"}.mdi-tray-full:before{content:"๓ฑŠ–"}.mdi-tray-minus:before{content:"๓ฑŠ—"}.mdi-tray-plus:before{content:"๓ฑŠ˜"}.mdi-tray-remove:before{content:"๓ฑŠ™"}.mdi-treasure-chest:before{content:"๓ฐœฆ"}.mdi-treasure-chest-outline:before{content:"๓ฑฑท"}.mdi-tree:before{content:"๓ฐ”ฑ"}.mdi-tree-outline:before{content:"๓ฐนฉ"}.mdi-trello:before{content:"๓ฐ”ฒ"}.mdi-trending-down:before{content:"๓ฐ”ณ"}.mdi-trending-neutral:before{content:"๓ฐ”ด"}.mdi-trending-up:before{content:"๓ฐ”ต"}.mdi-triangle:before{content:"๓ฐ”ถ"}.mdi-triangle-down:before{content:"๓ฑฑ–"}.mdi-triangle-down-outline:before{content:"๓ฑฑ—"}.mdi-triangle-outline:before{content:"๓ฐ”ท"}.mdi-triangle-small-down:before{content:"๓ฑจ‰"}.mdi-triangle-small-up:before{content:"๓ฑจŠ"}.mdi-triangle-wave:before{content:"๓ฑ‘ผ"}.mdi-triforce:before{content:"๓ฐฏ™"}.mdi-trophy:before{content:"๓ฐ”ธ"}.mdi-trophy-award:before{content:"๓ฐ”น"}.mdi-trophy-broken:before{content:"๓ฐถค"}.mdi-trophy-outline:before{content:"๓ฐ”บ"}.mdi-trophy-variant:before{content:"๓ฐ”ป"}.mdi-trophy-variant-outline:before{content:"๓ฐ”ผ"}.mdi-truck:before{content:"๓ฐ”ฝ"}.mdi-truck-alert:before{content:"๓ฑงž"}.mdi-truck-alert-outline:before{content:"๓ฑงŸ"}.mdi-truck-cargo-container:before{content:"๓ฑฃ˜"}.mdi-truck-check:before{content:"๓ฐณ”"}.mdi-truck-check-outline:before{content:"๓ฑŠš"}.mdi-truck-delivery:before{content:"๓ฐ”พ"}.mdi-truck-delivery-outline:before{content:"๓ฑŠ›"}.mdi-truck-fast:before{content:"๓ฐžˆ"}.mdi-truck-fast-outline:before{content:"๓ฑŠœ"}.mdi-truck-flatbed:before{content:"๓ฑข‘"}.mdi-truck-minus:before{content:"๓ฑฆฎ"}.mdi-truck-minus-outline:before{content:"๓ฑฆฝ"}.mdi-truck-outline:before{content:"๓ฑŠ"}.mdi-truck-plus:before{content:"๓ฑฆญ"}.mdi-truck-plus-outline:before{content:"๓ฑฆผ"}.mdi-truck-remove:before{content:"๓ฑฆฏ"}.mdi-truck-remove-outline:before{content:"๓ฑฆพ"}.mdi-truck-snowflake:before{content:"๓ฑฆฆ"}.mdi-truck-trailer:before{content:"๓ฐœง"}.mdi-trumpet:before{content:"๓ฑ‚–"}.mdi-tshirt-crew:before{content:"๓ฐฉป"}.mdi-tshirt-crew-outline:before{content:"๓ฐ”ฟ"}.mdi-tshirt-v:before{content:"๓ฐฉผ"}.mdi-tshirt-v-outline:before{content:"๓ฐ•€"}.mdi-tsunami:before{content:"๓ฑช"}.mdi-tumble-dryer:before{content:"๓ฐค—"}.mdi-tumble-dryer-alert:before{content:"๓ฑ†บ"}.mdi-tumble-dryer-off:before{content:"๓ฑ†ป"}.mdi-tune:before{content:"๓ฐ˜ฎ"}.mdi-tune-variant:before{content:"๓ฑ•‚"}.mdi-tune-vertical:before{content:"๓ฐ™ช"}.mdi-tune-vertical-variant:before{content:"๓ฑ•ƒ"}.mdi-tunnel:before{content:"๓ฑ ฝ"}.mdi-tunnel-outline:before{content:"๓ฑ พ"}.mdi-turbine:before{content:"๓ฑช‚"}.mdi-turkey:before{content:"๓ฑœ›"}.mdi-turnstile:before{content:"๓ฐณ•"}.mdi-turnstile-outline:before{content:"๓ฐณ–"}.mdi-turtle:before{content:"๓ฐณ—"}.mdi-twitch:before{content:"๓ฐ•ƒ"}.mdi-twitter:before{content:"๓ฐ•„"}.mdi-two-factor-authentication:before{content:"๓ฐฆฏ"}.mdi-typewriter:before{content:"๓ฐผญ"}.mdi-ubisoft:before{content:"๓ฐฏš"}.mdi-ubuntu:before{content:"๓ฐ•ˆ"}.mdi-ufo:before{content:"๓ฑƒ„"}.mdi-ufo-outline:before{content:"๓ฑƒ…"}.mdi-ultra-high-definition:before{content:"๓ฐŸน"}.mdi-umbraco:before{content:"๓ฐ•‰"}.mdi-umbrella:before{content:"๓ฐ•Š"}.mdi-umbrella-beach:before{content:"๓ฑขŠ"}.mdi-umbrella-beach-outline:before{content:"๓ฑข‹"}.mdi-umbrella-closed:before{content:"๓ฐฆฐ"}.mdi-umbrella-closed-outline:before{content:"๓ฑข"}.mdi-umbrella-closed-variant:before{content:"๓ฑก"}.mdi-umbrella-outline:before{content:"๓ฐ•‹"}.mdi-undo:before{content:"๓ฐ•Œ"}.mdi-undo-variant:before{content:"๓ฐ•"}.mdi-unfold-less-horizontal:before{content:"๓ฐ•Ž"}.mdi-unfold-less-vertical:before{content:"๓ฐ "}.mdi-unfold-more-horizontal:before{content:"๓ฐ•"}.mdi-unfold-more-vertical:before{content:"๓ฐก"}.mdi-ungroup:before{content:"๓ฐ•"}.mdi-unicode:before{content:"๓ฐป"}.mdi-unicorn:before{content:"๓ฑ—‚"}.mdi-unicorn-variant:before{content:"๓ฑ—ƒ"}.mdi-unicycle:before{content:"๓ฑ—ฅ"}.mdi-unity:before{content:"๓ฐšฏ"}.mdi-unreal:before{content:"๓ฐฆฑ"}.mdi-update:before{content:"๓ฐšฐ"}.mdi-upload:before{content:"๓ฐ•’"}.mdi-upload-lock:before{content:"๓ฑณ"}.mdi-upload-lock-outline:before{content:"๓ฑด"}.mdi-upload-multiple:before{content:"๓ฐ ฝ"}.mdi-upload-network:before{content:"๓ฐ›ถ"}.mdi-upload-network-outline:before{content:"๓ฐณ˜"}.mdi-upload-off:before{content:"๓ฑƒ†"}.mdi-upload-off-outline:before{content:"๓ฑƒ‡"}.mdi-upload-outline:before{content:"๓ฐธ‡"}.mdi-usb:before{content:"๓ฐ•“"}.mdi-usb-flash-drive:before{content:"๓ฑŠž"}.mdi-usb-flash-drive-outline:before{content:"๓ฑŠŸ"}.mdi-usb-port:before{content:"๓ฑ‡ฐ"}.mdi-vacuum:before{content:"๓ฑฆก"}.mdi-vacuum-outline:before{content:"๓ฑฆข"}.mdi-valve:before{content:"๓ฑฆ"}.mdi-valve-closed:before{content:"๓ฑง"}.mdi-valve-open:before{content:"๓ฑจ"}.mdi-van-passenger:before{content:"๓ฐŸบ"}.mdi-van-utility:before{content:"๓ฐŸป"}.mdi-vanish:before{content:"๓ฐŸผ"}.mdi-vanish-quarter:before{content:"๓ฑ•”"}.mdi-vanity-light:before{content:"๓ฑ‡ก"}.mdi-variable:before{content:"๓ฐซง"}.mdi-variable-box:before{content:"๓ฑ„‘"}.mdi-vector-arrange-above:before{content:"๓ฐ•”"}.mdi-vector-arrange-below:before{content:"๓ฐ••"}.mdi-vector-bezier:before{content:"๓ฐซจ"}.mdi-vector-circle:before{content:"๓ฐ•–"}.mdi-vector-circle-variant:before{content:"๓ฐ•—"}.mdi-vector-combine:before{content:"๓ฐ•˜"}.mdi-vector-curve:before{content:"๓ฐ•™"}.mdi-vector-difference:before{content:"๓ฐ•š"}.mdi-vector-difference-ab:before{content:"๓ฐ•›"}.mdi-vector-difference-ba:before{content:"๓ฐ•œ"}.mdi-vector-ellipse:before{content:"๓ฐข“"}.mdi-vector-intersection:before{content:"๓ฐ•"}.mdi-vector-line:before{content:"๓ฐ•ž"}.mdi-vector-link:before{content:"๓ฐฟจ"}.mdi-vector-point:before{content:"๓ฐ‡„"}.mdi-vector-point-edit:before{content:"๓ฐงจ"}.mdi-vector-point-minus:before{content:"๓ฑญธ"}.mdi-vector-point-plus:before{content:"๓ฑญน"}.mdi-vector-point-select:before{content:"๓ฐ•Ÿ"}.mdi-vector-polygon:before{content:"๓ฐ• "}.mdi-vector-polygon-variant:before{content:"๓ฑก–"}.mdi-vector-polyline:before{content:"๓ฐ•ก"}.mdi-vector-polyline-edit:before{content:"๓ฑˆฅ"}.mdi-vector-polyline-minus:before{content:"๓ฑˆฆ"}.mdi-vector-polyline-plus:before{content:"๓ฑˆง"}.mdi-vector-polyline-remove:before{content:"๓ฑˆจ"}.mdi-vector-radius:before{content:"๓ฐŠ"}.mdi-vector-rectangle:before{content:"๓ฐ—†"}.mdi-vector-selection:before{content:"๓ฐ•ข"}.mdi-vector-square:before{content:"๓ฐ€"}.mdi-vector-square-close:before{content:"๓ฑก—"}.mdi-vector-square-edit:before{content:"๓ฑฃ™"}.mdi-vector-square-minus:before{content:"๓ฑฃš"}.mdi-vector-square-open:before{content:"๓ฑก˜"}.mdi-vector-square-plus:before{content:"๓ฑฃ›"}.mdi-vector-square-remove:before{content:"๓ฑฃœ"}.mdi-vector-triangle:before{content:"๓ฐ•ฃ"}.mdi-vector-union:before{content:"๓ฐ•ค"}.mdi-vhs:before{content:"๓ฐจ›"}.mdi-vibrate:before{content:"๓ฐ•ฆ"}.mdi-vibrate-off:before{content:"๓ฐณ™"}.mdi-video:before{content:"๓ฐ•ง"}.mdi-video-2d:before{content:"๓ฑจœ"}.mdi-video-3d:before{content:"๓ฐŸฝ"}.mdi-video-3d-off:before{content:"๓ฑ™"}.mdi-video-3d-variant:before{content:"๓ฐป‘"}.mdi-video-4k-box:before{content:"๓ฐ พ"}.mdi-video-account:before{content:"๓ฐค™"}.mdi-video-box:before{content:"๓ฐƒฝ"}.mdi-video-box-off:before{content:"๓ฐƒพ"}.mdi-video-check:before{content:"๓ฑฉ"}.mdi-video-check-outline:before{content:"๓ฑช"}.mdi-video-high-definition:before{content:"๓ฑ”ฎ"}.mdi-video-image:before{content:"๓ฐคš"}.mdi-video-input-antenna:before{content:"๓ฐ ฟ"}.mdi-video-input-component:before{content:"๓ฐก€"}.mdi-video-input-hdmi:before{content:"๓ฐก"}.mdi-video-input-scart:before{content:"๓ฐพŒ"}.mdi-video-input-svideo:before{content:"๓ฐก‚"}.mdi-video-marker:before{content:"๓ฑฆฉ"}.mdi-video-marker-outline:before{content:"๓ฑฆช"}.mdi-video-minus:before{content:"๓ฐฆฒ"}.mdi-video-minus-outline:before{content:"๓ฐŠบ"}.mdi-video-off:before{content:"๓ฐ•จ"}.mdi-video-off-outline:before{content:"๓ฐฏ›"}.mdi-video-outline:before{content:"๓ฐฏœ"}.mdi-video-plus:before{content:"๓ฐฆณ"}.mdi-video-plus-outline:before{content:"๓ฐ‡“"}.mdi-video-stabilization:before{content:"๓ฐค›"}.mdi-video-switch:before{content:"๓ฐ•ฉ"}.mdi-video-switch-outline:before{content:"๓ฐž"}.mdi-video-vintage:before{content:"๓ฐจœ"}.mdi-video-wireless:before{content:"๓ฐป’"}.mdi-video-wireless-outline:before{content:"๓ฐป“"}.mdi-view-agenda:before{content:"๓ฐ•ช"}.mdi-view-agenda-outline:before{content:"๓ฑ‡˜"}.mdi-view-array:before{content:"๓ฐ•ซ"}.mdi-view-array-outline:before{content:"๓ฑ’…"}.mdi-view-carousel:before{content:"๓ฐ•ฌ"}.mdi-view-carousel-outline:before{content:"๓ฑ’†"}.mdi-view-column:before{content:"๓ฐ•ญ"}.mdi-view-column-outline:before{content:"๓ฑ’‡"}.mdi-view-comfy:before{content:"๓ฐนช"}.mdi-view-comfy-outline:before{content:"๓ฑ’ˆ"}.mdi-view-compact:before{content:"๓ฐนซ"}.mdi-view-compact-outline:before{content:"๓ฐนฌ"}.mdi-view-dashboard:before{content:"๓ฐ•ฎ"}.mdi-view-dashboard-edit:before{content:"๓ฑฅ‡"}.mdi-view-dashboard-edit-outline:before{content:"๓ฑฅˆ"}.mdi-view-dashboard-outline:before{content:"๓ฐจ"}.mdi-view-dashboard-variant:before{content:"๓ฐกƒ"}.mdi-view-dashboard-variant-outline:before{content:"๓ฑ’‰"}.mdi-view-day:before{content:"๓ฐ•ฏ"}.mdi-view-day-outline:before{content:"๓ฑ’Š"}.mdi-view-gallery:before{content:"๓ฑขˆ"}.mdi-view-gallery-outline:before{content:"๓ฑข‰"}.mdi-view-grid:before{content:"๓ฐ•ฐ"}.mdi-view-grid-compact:before{content:"๓ฑฑก"}.mdi-view-grid-outline:before{content:"๓ฑ‡™"}.mdi-view-grid-plus:before{content:"๓ฐพ"}.mdi-view-grid-plus-outline:before{content:"๓ฑ‡š"}.mdi-view-headline:before{content:"๓ฐ•ฑ"}.mdi-view-list:before{content:"๓ฐ•ฒ"}.mdi-view-list-outline:before{content:"๓ฑ’‹"}.mdi-view-module:before{content:"๓ฐ•ณ"}.mdi-view-module-outline:before{content:"๓ฑ’Œ"}.mdi-view-parallel:before{content:"๓ฐœจ"}.mdi-view-parallel-outline:before{content:"๓ฑ’"}.mdi-view-quilt:before{content:"๓ฐ•ด"}.mdi-view-quilt-outline:before{content:"๓ฑ’Ž"}.mdi-view-sequential:before{content:"๓ฐœฉ"}.mdi-view-sequential-outline:before{content:"๓ฑ’"}.mdi-view-split-horizontal:before{content:"๓ฐฏ‹"}.mdi-view-split-vertical:before{content:"๓ฐฏŒ"}.mdi-view-stream:before{content:"๓ฐ•ต"}.mdi-view-stream-outline:before{content:"๓ฑ’"}.mdi-view-week:before{content:"๓ฐ•ถ"}.mdi-view-week-outline:before{content:"๓ฑ’‘"}.mdi-vimeo:before{content:"๓ฐ•ท"}.mdi-violin:before{content:"๓ฐ˜"}.mdi-virtual-reality:before{content:"๓ฐข”"}.mdi-virus:before{content:"๓ฑŽถ"}.mdi-virus-off:before{content:"๓ฑฃก"}.mdi-virus-off-outline:before{content:"๓ฑฃข"}.mdi-virus-outline:before{content:"๓ฑŽท"}.mdi-vlc:before{content:"๓ฐ•ผ"}.mdi-voicemail:before{content:"๓ฐ•ฝ"}.mdi-volcano:before{content:"๓ฑชƒ"}.mdi-volcano-outline:before{content:"๓ฑช„"}.mdi-volleyball:before{content:"๓ฐฆด"}.mdi-volume-equal:before{content:"๓ฑฌ"}.mdi-volume-high:before{content:"๓ฐ•พ"}.mdi-volume-low:before{content:"๓ฐ•ฟ"}.mdi-volume-medium:before{content:"๓ฐ–€"}.mdi-volume-minus:before{content:"๓ฐž"}.mdi-volume-mute:before{content:"๓ฐŸ"}.mdi-volume-off:before{content:"๓ฐ–"}.mdi-volume-plus:before{content:"๓ฐ"}.mdi-volume-source:before{content:"๓ฑ„ "}.mdi-volume-variant-off:before{content:"๓ฐธˆ"}.mdi-volume-vibrate:before{content:"๓ฑ„ก"}.mdi-vote:before{content:"๓ฐจŸ"}.mdi-vote-outline:before{content:"๓ฐจ "}.mdi-vpn:before{content:"๓ฐ–‚"}.mdi-vuejs:before{content:"๓ฐก„"}.mdi-vuetify:before{content:"๓ฐนญ"}.mdi-walk:before{content:"๓ฐ–ƒ"}.mdi-wall:before{content:"๓ฐŸพ"}.mdi-wall-fire:before{content:"๓ฑจ‘"}.mdi-wall-sconce:before{content:"๓ฐคœ"}.mdi-wall-sconce-flat:before{content:"๓ฐค"}.mdi-wall-sconce-flat-outline:before{content:"๓ฑŸ‰"}.mdi-wall-sconce-flat-variant:before{content:"๓ฐœ"}.mdi-wall-sconce-flat-variant-outline:before{content:"๓ฑŸŠ"}.mdi-wall-sconce-outline:before{content:"๓ฑŸ‹"}.mdi-wall-sconce-round:before{content:"๓ฐˆ"}.mdi-wall-sconce-round-outline:before{content:"๓ฑŸŒ"}.mdi-wall-sconce-round-variant:before{content:"๓ฐคž"}.mdi-wall-sconce-round-variant-outline:before{content:"๓ฑŸ"}.mdi-wallet:before{content:"๓ฐ–„"}.mdi-wallet-bifold:before{content:"๓ฑฑ˜"}.mdi-wallet-bifold-outline:before{content:"๓ฑฑ™"}.mdi-wallet-giftcard:before{content:"๓ฐ–…"}.mdi-wallet-membership:before{content:"๓ฐ–†"}.mdi-wallet-outline:before{content:"๓ฐฏ"}.mdi-wallet-plus:before{content:"๓ฐพŽ"}.mdi-wallet-plus-outline:before{content:"๓ฐพ"}.mdi-wallet-travel:before{content:"๓ฐ–‡"}.mdi-wallpaper:before{content:"๓ฐธ‰"}.mdi-wan:before{content:"๓ฐ–ˆ"}.mdi-wardrobe:before{content:"๓ฐพ"}.mdi-wardrobe-outline:before{content:"๓ฐพ‘"}.mdi-warehouse:before{content:"๓ฐพ"}.mdi-washing-machine:before{content:"๓ฐœช"}.mdi-washing-machine-alert:before{content:"๓ฑ†ผ"}.mdi-washing-machine-off:before{content:"๓ฑ†ฝ"}.mdi-watch:before{content:"๓ฐ–‰"}.mdi-watch-export:before{content:"๓ฐ–Š"}.mdi-watch-export-variant:before{content:"๓ฐข•"}.mdi-watch-import:before{content:"๓ฐ–‹"}.mdi-watch-import-variant:before{content:"๓ฐข–"}.mdi-watch-variant:before{content:"๓ฐข—"}.mdi-watch-vibrate:before{content:"๓ฐšฑ"}.mdi-watch-vibrate-off:before{content:"๓ฐณš"}.mdi-water:before{content:"๓ฐ–Œ"}.mdi-water-alert:before{content:"๓ฑ”‚"}.mdi-water-alert-outline:before{content:"๓ฑ”ƒ"}.mdi-water-boiler:before{content:"๓ฐพ’"}.mdi-water-boiler-alert:before{content:"๓ฑ†ณ"}.mdi-water-boiler-auto:before{content:"๓ฑฎ˜"}.mdi-water-boiler-off:before{content:"๓ฑ†ด"}.mdi-water-check:before{content:"๓ฑ”„"}.mdi-water-check-outline:before{content:"๓ฑ”…"}.mdi-water-circle:before{content:"๓ฑ †"}.mdi-water-minus:before{content:"๓ฑ”†"}.mdi-water-minus-outline:before{content:"๓ฑ”‡"}.mdi-water-off:before{content:"๓ฐ–"}.mdi-water-off-outline:before{content:"๓ฑ”ˆ"}.mdi-water-opacity:before{content:"๓ฑก•"}.mdi-water-outline:before{content:"๓ฐธŠ"}.mdi-water-percent:before{content:"๓ฐ–Ž"}.mdi-water-percent-alert:before{content:"๓ฑ”‰"}.mdi-water-plus:before{content:"๓ฑ”Š"}.mdi-water-plus-outline:before{content:"๓ฑ”‹"}.mdi-water-polo:before{content:"๓ฑŠ "}.mdi-water-pump:before{content:"๓ฐ–"}.mdi-water-pump-off:before{content:"๓ฐพ“"}.mdi-water-remove:before{content:"๓ฑ”Œ"}.mdi-water-remove-outline:before{content:"๓ฑ”"}.mdi-water-sync:before{content:"๓ฑŸ†"}.mdi-water-thermometer:before{content:"๓ฑช…"}.mdi-water-thermometer-outline:before{content:"๓ฑช†"}.mdi-water-well:before{content:"๓ฑซ"}.mdi-water-well-outline:before{content:"๓ฑฌ"}.mdi-waterfall:before{content:"๓ฑก‰"}.mdi-watering-can:before{content:"๓ฑ’"}.mdi-watering-can-outline:before{content:"๓ฑ’‚"}.mdi-watermark:before{content:"๓ฐ˜’"}.mdi-wave:before{content:"๓ฐผฎ"}.mdi-waveform:before{content:"๓ฑ‘ฝ"}.mdi-waves:before{content:"๓ฐž"}.mdi-waves-arrow-left:before{content:"๓ฑก™"}.mdi-waves-arrow-right:before{content:"๓ฑกš"}.mdi-waves-arrow-up:before{content:"๓ฑก›"}.mdi-waze:before{content:"๓ฐฏž"}.mdi-weather-cloudy:before{content:"๓ฐ–"}.mdi-weather-cloudy-alert:before{content:"๓ฐผฏ"}.mdi-weather-cloudy-arrow-right:before{content:"๓ฐนฎ"}.mdi-weather-cloudy-clock:before{content:"๓ฑฃถ"}.mdi-weather-dust:before{content:"๓ฑญš"}.mdi-weather-fog:before{content:"๓ฐ–‘"}.mdi-weather-hail:before{content:"๓ฐ–’"}.mdi-weather-hazy:before{content:"๓ฐผฐ"}.mdi-weather-hurricane:before{content:"๓ฐข˜"}.mdi-weather-hurricane-outline:before{content:"๓ฑฑธ"}.mdi-weather-lightning:before{content:"๓ฐ–“"}.mdi-weather-lightning-rainy:before{content:"๓ฐ™พ"}.mdi-weather-night:before{content:"๓ฐ–”"}.mdi-weather-night-partly-cloudy:before{content:"๓ฐผฑ"}.mdi-weather-partly-cloudy:before{content:"๓ฐ–•"}.mdi-weather-partly-lightning:before{content:"๓ฐผฒ"}.mdi-weather-partly-rainy:before{content:"๓ฐผณ"}.mdi-weather-partly-snowy:before{content:"๓ฐผด"}.mdi-weather-partly-snowy-rainy:before{content:"๓ฐผต"}.mdi-weather-pouring:before{content:"๓ฐ––"}.mdi-weather-rainy:before{content:"๓ฐ–—"}.mdi-weather-snowy:before{content:"๓ฐ–˜"}.mdi-weather-snowy-heavy:before{content:"๓ฐผถ"}.mdi-weather-snowy-rainy:before{content:"๓ฐ™ฟ"}.mdi-weather-sunny:before{content:"๓ฐ–™"}.mdi-weather-sunny-alert:before{content:"๓ฐผท"}.mdi-weather-sunny-off:before{content:"๓ฑ“ค"}.mdi-weather-sunset:before{content:"๓ฐ–š"}.mdi-weather-sunset-down:before{content:"๓ฐ–›"}.mdi-weather-sunset-up:before{content:"๓ฐ–œ"}.mdi-weather-tornado:before{content:"๓ฐผธ"}.mdi-weather-windy:before{content:"๓ฐ–"}.mdi-weather-windy-variant:before{content:"๓ฐ–ž"}.mdi-web:before{content:"๓ฐ–Ÿ"}.mdi-web-box:before{content:"๓ฐพ”"}.mdi-web-cancel:before{content:"๓ฑž"}.mdi-web-check:before{content:"๓ฐž‰"}.mdi-web-clock:before{content:"๓ฑ‰Š"}.mdi-web-minus:before{content:"๓ฑ‚ "}.mdi-web-off:before{content:"๓ฐชŽ"}.mdi-web-plus:before{content:"๓ฐ€ณ"}.mdi-web-refresh:before{content:"๓ฑž‘"}.mdi-web-remove:before{content:"๓ฐ•‘"}.mdi-web-sync:before{content:"๓ฑž’"}.mdi-webcam:before{content:"๓ฐ– "}.mdi-webcam-off:before{content:"๓ฑœท"}.mdi-webhook:before{content:"๓ฐ˜ฏ"}.mdi-webpack:before{content:"๓ฐœซ"}.mdi-webrtc:before{content:"๓ฑ‰ˆ"}.mdi-wechat:before{content:"๓ฐ˜‘"}.mdi-weight:before{content:"๓ฐ–ก"}.mdi-weight-gram:before{content:"๓ฐดฟ"}.mdi-weight-kilogram:before{content:"๓ฐ–ข"}.mdi-weight-lifter:before{content:"๓ฑ…"}.mdi-weight-pound:before{content:"๓ฐฆต"}.mdi-whatsapp:before{content:"๓ฐ–ฃ"}.mdi-wheel-barrow:before{content:"๓ฑ“ฒ"}.mdi-wheelchair:before{content:"๓ฑช‡"}.mdi-wheelchair-accessibility:before{content:"๓ฐ–ค"}.mdi-whistle:before{content:"๓ฐฆถ"}.mdi-whistle-outline:before{content:"๓ฑŠผ"}.mdi-white-balance-auto:before{content:"๓ฐ–ฅ"}.mdi-white-balance-incandescent:before{content:"๓ฐ–ฆ"}.mdi-white-balance-iridescent:before{content:"๓ฐ–ง"}.mdi-white-balance-sunny:before{content:"๓ฐ–จ"}.mdi-widgets:before{content:"๓ฐœฌ"}.mdi-widgets-outline:before{content:"๓ฑ•"}.mdi-wifi:before{content:"๓ฐ–ฉ"}.mdi-wifi-alert:before{content:"๓ฑšต"}.mdi-wifi-arrow-down:before{content:"๓ฑšถ"}.mdi-wifi-arrow-left:before{content:"๓ฑšท"}.mdi-wifi-arrow-left-right:before{content:"๓ฑšธ"}.mdi-wifi-arrow-right:before{content:"๓ฑšน"}.mdi-wifi-arrow-up:before{content:"๓ฑšบ"}.mdi-wifi-arrow-up-down:before{content:"๓ฑšป"}.mdi-wifi-cancel:before{content:"๓ฑšผ"}.mdi-wifi-check:before{content:"๓ฑšฝ"}.mdi-wifi-cog:before{content:"๓ฑšพ"}.mdi-wifi-lock:before{content:"๓ฑšฟ"}.mdi-wifi-lock-open:before{content:"๓ฑ›€"}.mdi-wifi-marker:before{content:"๓ฑ›"}.mdi-wifi-minus:before{content:"๓ฑ›‚"}.mdi-wifi-off:before{content:"๓ฐ–ช"}.mdi-wifi-plus:before{content:"๓ฑ›ƒ"}.mdi-wifi-refresh:before{content:"๓ฑ›„"}.mdi-wifi-remove:before{content:"๓ฑ›…"}.mdi-wifi-settings:before{content:"๓ฑ›†"}.mdi-wifi-star:before{content:"๓ฐธ‹"}.mdi-wifi-strength-1:before{content:"๓ฐคŸ"}.mdi-wifi-strength-1-alert:before{content:"๓ฐค "}.mdi-wifi-strength-1-lock:before{content:"๓ฐคก"}.mdi-wifi-strength-1-lock-open:before{content:"๓ฑ›‹"}.mdi-wifi-strength-2:before{content:"๓ฐคข"}.mdi-wifi-strength-2-alert:before{content:"๓ฐคฃ"}.mdi-wifi-strength-2-lock:before{content:"๓ฐคค"}.mdi-wifi-strength-2-lock-open:before{content:"๓ฑ›Œ"}.mdi-wifi-strength-3:before{content:"๓ฐคฅ"}.mdi-wifi-strength-3-alert:before{content:"๓ฐคฆ"}.mdi-wifi-strength-3-lock:before{content:"๓ฐคง"}.mdi-wifi-strength-3-lock-open:before{content:"๓ฑ›"}.mdi-wifi-strength-4:before{content:"๓ฐคจ"}.mdi-wifi-strength-4-alert:before{content:"๓ฐคฉ"}.mdi-wifi-strength-4-lock:before{content:"๓ฐคช"}.mdi-wifi-strength-4-lock-open:before{content:"๓ฑ›Ž"}.mdi-wifi-strength-alert-outline:before{content:"๓ฐคซ"}.mdi-wifi-strength-lock-open-outline:before{content:"๓ฑ›"}.mdi-wifi-strength-lock-outline:before{content:"๓ฐคฌ"}.mdi-wifi-strength-off:before{content:"๓ฐคญ"}.mdi-wifi-strength-off-outline:before{content:"๓ฐคฎ"}.mdi-wifi-strength-outline:before{content:"๓ฐคฏ"}.mdi-wifi-sync:before{content:"๓ฑ›‡"}.mdi-wikipedia:before{content:"๓ฐ–ฌ"}.mdi-wind-power:before{content:"๓ฑชˆ"}.mdi-wind-power-outline:before{content:"๓ฑช‰"}.mdi-wind-turbine:before{content:"๓ฐถฅ"}.mdi-wind-turbine-alert:before{content:"๓ฑฆซ"}.mdi-wind-turbine-check:before{content:"๓ฑฆฌ"}.mdi-window-close:before{content:"๓ฐ–ญ"}.mdi-window-closed:before{content:"๓ฐ–ฎ"}.mdi-window-closed-variant:before{content:"๓ฑ‡›"}.mdi-window-maximize:before{content:"๓ฐ–ฏ"}.mdi-window-minimize:before{content:"๓ฐ–ฐ"}.mdi-window-open:before{content:"๓ฐ–ฑ"}.mdi-window-open-variant:before{content:"๓ฑ‡œ"}.mdi-window-restore:before{content:"๓ฐ–ฒ"}.mdi-window-shutter:before{content:"๓ฑ„œ"}.mdi-window-shutter-alert:before{content:"๓ฑ„"}.mdi-window-shutter-auto:before{content:"๓ฑฎฃ"}.mdi-window-shutter-cog:before{content:"๓ฑชŠ"}.mdi-window-shutter-open:before{content:"๓ฑ„ž"}.mdi-window-shutter-settings:before{content:"๓ฑช‹"}.mdi-windsock:before{content:"๓ฑ—บ"}.mdi-wiper:before{content:"๓ฐซฉ"}.mdi-wiper-wash:before{content:"๓ฐถฆ"}.mdi-wiper-wash-alert:before{content:"๓ฑฃŸ"}.mdi-wizard-hat:before{content:"๓ฑ‘ท"}.mdi-wordpress:before{content:"๓ฐ–ด"}.mdi-wrap:before{content:"๓ฐ–ถ"}.mdi-wrap-disabled:before{content:"๓ฐฏŸ"}.mdi-wrench:before{content:"๓ฐ–ท"}.mdi-wrench-check:before{content:"๓ฑฎ"}.mdi-wrench-check-outline:before{content:"๓ฑฎ"}.mdi-wrench-clock:before{content:"๓ฑฆฃ"}.mdi-wrench-clock-outline:before{content:"๓ฑฎ“"}.mdi-wrench-cog:before{content:"๓ฑฎ‘"}.mdi-wrench-cog-outline:before{content:"๓ฑฎ’"}.mdi-wrench-outline:before{content:"๓ฐฏ "}.mdi-xamarin:before{content:"๓ฐก…"}.mdi-xml:before{content:"๓ฐ—€"}.mdi-xmpp:before{content:"๓ฐŸฟ"}.mdi-yahoo:before{content:"๓ฐญ"}.mdi-yeast:before{content:"๓ฐ—"}.mdi-yin-yang:before{content:"๓ฐš€"}.mdi-yoga:before{content:"๓ฑ…ผ"}.mdi-youtube:before{content:"๓ฐ—ƒ"}.mdi-youtube-gaming:before{content:"๓ฐกˆ"}.mdi-youtube-studio:before{content:"๓ฐก‡"}.mdi-youtube-subscription:before{content:"๓ฐต€"}.mdi-youtube-tv:before{content:"๓ฐ‘ˆ"}.mdi-yurt:before{content:"๓ฑ”–"}.mdi-z-wave:before{content:"๓ฐซช"}.mdi-zend:before{content:"๓ฐซซ"}.mdi-zigbee:before{content:"๓ฐต"}.mdi-zip-box:before{content:"๓ฐ—„"}.mdi-zip-box-outline:before{content:"๓ฐฟบ"}.mdi-zip-disk:before{content:"๓ฐจฃ"}.mdi-zodiac-aquarius:before{content:"๓ฐฉฝ"}.mdi-zodiac-aries:before{content:"๓ฐฉพ"}.mdi-zodiac-cancer:before{content:"๓ฐฉฟ"}.mdi-zodiac-capricorn:before{content:"๓ฐช€"}.mdi-zodiac-gemini:before{content:"๓ฐช"}.mdi-zodiac-leo:before{content:"๓ฐช‚"}.mdi-zodiac-libra:before{content:"๓ฐชƒ"}.mdi-zodiac-pisces:before{content:"๓ฐช„"}.mdi-zodiac-sagittarius:before{content:"๓ฐช…"}.mdi-zodiac-scorpio:before{content:"๓ฐช†"}.mdi-zodiac-taurus:before{content:"๓ฐช‡"}.mdi-zodiac-virgo:before{content:"๓ฐชˆ"}.mdi-blank:before{content:"๏šŒ";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! +.tabulator{position:relative;border:1px solid #dee2e6;background-color:#fff;font-size:16px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;user-select:none}.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){-webkit-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #dee2e6;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;outline:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #dee2e6;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:#d6d6d6;color:#000}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:#3876ca;color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:11}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;display:inline-block;background:white!important;border-top:1px solid #dee2e6;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:white!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:100%;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#ececec!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-range-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{position:absolute;box-sizing:border-box;border:1px solid #2975DD}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";position:absolute;right:-3px;bottom:-3px;width:6px;height:6px;background-color:#2975dd;border-radius:999px}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active{position:absolute;box-sizing:border-box;border:2px solid #2975DD}.tabulator .tabulator-footer{border-top:1px solid #dee2e6;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px;background:rgba(255,255,255,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:11;vertical-align:middle}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #D00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:24px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#f9f9f9}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6;pointer-events:none;z-index:15}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:#d6d6d6;color:#000}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:#3876ca;color:#fff}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:16px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #dee2e6;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;outline:none}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:11}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1D68CD;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #dd0000}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(.tabulator-range-row-header){background-color:#9abcea}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:inline-block;width:7px}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;box-shadow:0 0 5px #0003;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;-webkit-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#f9f9f9}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-width:1px 1px 0 0;border-style:solid;border-color:#dee2e6;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #dee2e6}.tabulator-edit-list{max-height:200px;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1D68CD}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1D68CD}@media (hover: hover) and (pointer: fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1D68CD}}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #dee2e6;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:5px;border-bottom-left-radius:initial;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>*:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{background-color:#fff;border:none}.tabulator .tabulator-header{border-top:1px solid #dee2e6;border-bottom:2px solid #dee2e6;color:inherit}.tabulator .tabulator-header .tabulator-col{border-right:none;background-color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{padding:12px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #dee2e6}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input{padding:.375rem .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1rem;line-height:1.5;color:#495057}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus{color:#495057;background-color:#fff;border:1px solid #1D68CD;outline:0}.tabulator .tabulator-header .tabulator-calcs-holder{width:100%;border-bottom:1px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-tableholder .tabulator-table,.tabulator .tabulator-footer,.tabulator .tabulator-footer .tabulator-paginator{color:inherit}.tabulator .tabulator-footer .tabulator-pages{margin:0}.tabulator .tabulator-footer .tabulator-page{margin:5px 0 0;padding:8px 12px}.tabulator .tabulator-footer .tabulator-page[data-page=first]{border-top-left-radius:4px;border-bottom-left-radius:4px}.tabulator .tabulator-footer .tabulator-page[data-page=last]{border:1px solid #dee2e6;border-top-right-radius:4px;border-bottom-right-radius:4px}.tabulator .tabulator-footer .tabulator-page.active{border-color:#007bff;background-color:#007bff;color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{border-color:#dee2e6;background:#fff;color:#6c757d}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{border-color:#dee2e6;background:#e9ecef;color:#0056b3}}.tabulator.thead-dark .tabulator-header,.tabulator.thead-dark .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark{background-color:#212529}.tabulator.table-dark:not(.thead-light) .tabulator-header{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark:not(.thead-light) .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark .tabulator-tableholder{color:#fff}.tabulator.table-dark .tabulator-row{border-color:#32383e;background-color:#212529;color:#fff}@media (hover: hover) and (pointer: fine){.tabulator.table-dark .tabulator-row:hover{background-color:#32383e}.tabulator.table-dark .tabulator-row:hover .tabulator-cell{background-color:#ffffff13}}.tabulator.table-dark .tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator.table-dark .tabulator-footer{border-color:#32383e!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder{border-color:#32383e!important;background:#212529!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder .tabulator-row{border-color:#32383e!important;background-color:#212529!important;color:#fff!important}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even{background-color:#f9f9f9}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator.table-striped.table-dark .tabulator-row:nth-child(2n) .tabulator-cell{background-color:#ffffff0d}.tabulator.table-bordered{border:1px solid #dee2e6}.tabulator.table-bordered .tabulator-header .tabulator-col,.tabulator.table-bordered .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{border-right:1px solid #dee2e6}.tabulator.table-borderless .tabulator-header,.tabulator.table-borderless .tabulator-row{border:none}.tabulator.table-sm .tabulator-header .tabulator-col .tabulator-col-content{padding:5px!important}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row{min-height:26px}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{padding:5px!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-active{background:#f5f5f5!important}.tabulator-row{min-height:40px;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-cell{padding:12px;border-right:none}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell .tabulator-data-tree-control{border:1px solid #ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-row.tabulator-group{background:#fafafa}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}@media (hover: hover) and (pointer: fine){.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#fff}}.tabulator-edit-select-list .tabulator-edit-select-list-notice,.tabulator-edit-select-list .tabulator-edit-select-list-group{color:inherit}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:initial}.tabulator-print-table .tabulator-print-table-group{background:#fafafa}.tabulator-print-table .tabulator-print-table-group span{color:#666}.tabulator-print-table .tabulator-data-tree-control{color:inherit}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-col-title,.tabulator-cell{font-size:14px}.plot-container[data-v-f0f0a749]{position:relative;width:100%}.simple-button[data-v-f0f0a749]{position:absolute;top:17%;left:6.5%;z-index:1000;background-color:#f0f0f0;border:none;border-radius:50%;width:30px;height:30px;text-align:center;line-height:230%;cursor:pointer}.simple-button[data-v-f0f0a749]:hover{background-color:#e0e0e0}.foreground[data-v-2de7ee7a]{position:relative;z-index:1000}.sequence-amino-acid-highlighted[data-v-2de7ee7a],.sequence-amino-acid.highlighted[data-v-2de7ee7a]{background-color:#f3a712;color:#000;outline:3px solid #29335C;font-weight:700}.sequence-amino-acid-truncated[data-v-2de7ee7a],.sequence-amino-acid.truncated .aa-text[data-v-2de7ee7a]{color:#8080804d;outline:rgba(128,128,128,.3);text-decoration:line-through!important}.sequence-amino-acid[data-v-2de7ee7a]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-2de7ee7a]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-2de7ee7a]{background-color:var(--amino-acid-cell-bg-color);color:#f3a712}.sequence-amino-acid-highlighted[data-v-2de7ee7a]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-2de7ee7a]{background-color:#a79c91}.sequence-amino-acid-modified[data-v-2de7ee7a]:hover{background-color:#c5baaf}.frag-marker-container[data-v-2de7ee7a],.frag-marker-container-a[data-v-2de7ee7a],.frag-marker-container-b[data-v-2de7ee7a],.frag-marker-container-c[data-v-2de7ee7a],.frag-marker-container-x[data-v-2de7ee7a],.frag-marker-container-y[data-v-2de7ee7a],.frag-marker-container-z[data-v-2de7ee7a],.frag-marker-extra-type[data-v-2de7ee7a]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-2de7ee7a]{top:-28%;left:15%}.frag-marker-container-b[data-v-2de7ee7a]{top:-8%;left:13%}.frag-marker-container-c[data-v-2de7ee7a]{top:-28%;left:15%}.frag-marker-container-x[data-v-2de7ee7a]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-2de7ee7a]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-2de7ee7a]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-2de7ee7a]{top:-30%}.aa-text[data-v-2de7ee7a]{position:absolute}.tag-marker[data-v-2de7ee7a]{position:absolute;top:-7.5%;left:-7.5%;width:115%;height:115%;display:flex;align-items:center;justify-content:right;border-top:.3em solid black;border-right:.3em solid black;border-bottom:.3em solid black;border-left:.3em solid black;z-index:1100}.tag-start[data-v-2de7ee7a]{clip-path:inset(0 50% 0 0)}.tag-end[data-v-2de7ee7a]{clip-path:inset(0 0 0 50%)}.mod-marker[data-v-2de7ee7a]{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:right;background-image:radial-gradient(#676a9c .5px,transparent .5px),radial-gradient(#444cf7 .5px,#e5e5f7 .5px);background-size:15px 15px;background-position:0 0,10px 10px;background-repeat:repeat}.mod-mass[data-v-2de7ee7a]{background-color:#fff;display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;justify-content:right;border-top:.1em solid #a79c91;border-right:.1em solid #a79c91;border-bottom:.1em solid #a79c91;border-left:.1em solid #a79c91;font-size:.7em;padding:0 .2em;z-index:1100}.mod-mass-a[data-v-2de7ee7a]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid green;border-right:.2em solid green;border-bottom:.2em solid green;border-radius:.5rem;padding:0 .2em;z-index:1200;font-size:.7em;color:#0000}.mod-mass-b[data-v-2de7ee7a]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid blue;border-right:.2em solid blue;border-bottom:.2em solid blue;border-radius:.5rem;z-index:1200;padding:0 .2em;font-size:.7em;color:#0000}.mod-mass-c[data-v-2de7ee7a]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid red;border-right:.2em solid red;border-bottom:.2em solid red;border-radius:.5rem;z-index:1200;font-size:.7em;padding:0 .2em;color:#0000}.mod-start[data-v-2de7ee7a]{clip-path:inset(0 50% 0 0)}.mod-end[data-v-2de7ee7a],.mod-start-cont[data-v-2de7ee7a]{clip-path:inset(0 0 0 50%)}.mod-end-cont[data-v-2de7ee7a]{clip-path:inset(0 50% 0 0)}.mod-center-cont[data-v-2de7ee7a]{width:125%}.undetermined[data-v-beee67fe]{position:relative;top:-20%;font-size:.7em;font-weight:1000;color:red;z-index:1100}.protein-terminal[data-v-beee67fe]:hover{background-color:var(--protein-terminal-cell-hover-bg-color);color:var(--protein-terminal-cell-hover-color)}.terminal-text[data-v-beee67fe]{font-weight:1000}.terminal-text.truncated[data-v-beee67fe]{color:#80808066;outline:rgba(128,128,128,.4)}.protein-terminal-modified[data-v-beee67fe]{background-color:#9c1e1e;color:var(--amino-acid-cell-color)}.protein-terminal-modified[data-v-beee67fe]:hover{background-color:#ff1e1e}.sequence-grid[data-v-9a6912d6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-9a6912d6]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-9a6912d6]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-9a6912d6]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-9a6912d6]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-9a6912d6]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-dd9aeeba]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-dd9aeeba]{aspect-ratio:1}.protein-terminal[data-v-dd9aeeba]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-dd9aeeba]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-dd9aeeba]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-dd9aeeba]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-dd9aeeba]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-dd9aeeba]{grid-template-columns:repeat(42,1fr)}.sequence-and-scale[data-v-dd9aeeba]{display:flex;align-items:center}.scale-container[data-v-dd9aeeba]{display:flex;flex-direction:column;align-items:center}#sequence-part[data-v-dd9aeeba]{flex-grow:1}.scale[data-v-dd9aeeba]{width:60px;height:100px;background:linear-gradient(to top,rgba(228,87,46,.1),rgba(228,87,46,.2) 10%,rgba(228,87,46,.4) 20%,rgba(228,87,46,.6) 40%,rgba(228,87,46,.8) 70%,#e4572e 100%)}.scale-text[data-v-dd9aeeba]{text-align:center;font-size:14pt;font-weight:700}.sequence-text[data-v-d41ea218]{font-size:8px}.fragment-segment[data-v-d41ea218],.by-fragment[data-v-d41ea218],.cy-fragment[data-v-d41ea218],.bz-fragment[data-v-d41ea218],.not-in-fragment[data-v-d41ea218],.by-fragment-overlayed[data-v-d41ea218],.by-fragment-legend[data-v-d41ea218],.cy-fragment-overlayed[data-v-d41ea218],.cy-fragment-legend[data-v-d41ea218],.bz-fragment-overlayed[data-v-d41ea218],.bz-fragment-legend[data-v-d41ea218]{aspect-ratio:1}.by-fragment[data-v-d41ea218],.by-fragment-overlayed[data-v-d41ea218],.by-fragment-legend[data-v-d41ea218]{background:#f0a441}.by-fragment-overlayed[data-v-d41ea218]{opacity:var(--frag-block-opacity-value)}.by-fragment-legend[data-v-d41ea218]{height:10px}.cy-fragment[data-v-d41ea218],.cy-fragment-overlayed[data-v-d41ea218],.cy-fragment-legend[data-v-d41ea218]{background:#12871d}.cy-fragment-overlayed[data-v-d41ea218]{opacity:var(--frag-block-opacity-value)}.cy-fragment-legend[data-v-d41ea218]{height:10px}.bz-fragment[data-v-d41ea218],.bz-fragment-overlayed[data-v-d41ea218],.bz-fragment-legend[data-v-d41ea218]{background:#7831cc}.bz-fragment-overlayed[data-v-d41ea218]{opacity:var(--frag-block-opacity-value)}.bz-fragment-legend[data-v-d41ea218]{height:10px}.not-in-fragment[data-v-d41ea218]{background:transparent;aspect-ratio:1}.v-input.textFieldFontSize[data-v-d41ea218]{width:100px}.component-row[data-v-5f0d2ddf]{display:flex;flex-direction:row;align-items:center}.height-1[data-v-5f0d2ddf]{min-height:200px;height:fit-content;max-height:400px}.height-2[data-v-5f0d2ddf]{min-height:200px;height:fit-content;max-height:800px}.height-any[data-v-5f0d2ddf]{min-height:200px;height:fit-content}.component-width-1[data-v-5f0d2ddf]{flex-basis:100%;flex-grow:0}.component-width-2[data-v-5f0d2ddf]{max-width:50%;flex-basis:50%;flex-grow:0}.component-width-3[data-v-5f0d2ddf]{max-width:33%;flex-basis:33%;flex-grow:0}.component-layout[data-v-721e06dc]{display:flex;flex-direction:column}body{margin:0;font-family:Source Sans Pro,sans-serif}.tabulator-tooltip{background:#fff;color:#000}@font-face{font-family:Material Design Icons;src:url(./materialdesignicons-webfont-67d24abe.eot?v=7.2.96);src:url(./materialdesignicons-webfont-67d24abe.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(./materialdesignicons-webfont-c1c004a9.woff2?v=7.2.96) format("woff2"),url(./materialdesignicons-webfont-80bb28b3.woff?v=7.2.96) format("woff"),url(./materialdesignicons-webfont-a58ecb54.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"๓ฐ‡‰"}.mdi-abacus:before{content:"๓ฑ› "}.mdi-abjad-arabic:before{content:"๓ฑŒจ"}.mdi-abjad-hebrew:before{content:"๓ฑŒฉ"}.mdi-abugida-devanagari:before{content:"๓ฑŒช"}.mdi-abugida-thai:before{content:"๓ฑŒซ"}.mdi-access-point:before{content:"๓ฐ€ƒ"}.mdi-access-point-check:before{content:"๓ฑ”ธ"}.mdi-access-point-minus:before{content:"๓ฑ”น"}.mdi-access-point-network:before{content:"๓ฐ€‚"}.mdi-access-point-network-off:before{content:"๓ฐฏก"}.mdi-access-point-off:before{content:"๓ฑ”‘"}.mdi-access-point-plus:before{content:"๓ฑ”บ"}.mdi-access-point-remove:before{content:"๓ฑ”ป"}.mdi-account:before{content:"๓ฐ€„"}.mdi-account-alert:before{content:"๓ฐ€…"}.mdi-account-alert-outline:before{content:"๓ฐญ"}.mdi-account-arrow-down:before{content:"๓ฑกจ"}.mdi-account-arrow-down-outline:before{content:"๓ฑกฉ"}.mdi-account-arrow-left:before{content:"๓ฐญ‘"}.mdi-account-arrow-left-outline:before{content:"๓ฐญ’"}.mdi-account-arrow-right:before{content:"๓ฐญ“"}.mdi-account-arrow-right-outline:before{content:"๓ฐญ”"}.mdi-account-arrow-up:before{content:"๓ฑกง"}.mdi-account-arrow-up-outline:before{content:"๓ฑกช"}.mdi-account-badge:before{content:"๓ฑฌŠ"}.mdi-account-badge-outline:before{content:"๓ฑฌ‹"}.mdi-account-box:before{content:"๓ฐ€†"}.mdi-account-box-multiple:before{content:"๓ฐคด"}.mdi-account-box-multiple-outline:before{content:"๓ฑ€Š"}.mdi-account-box-outline:before{content:"๓ฐ€‡"}.mdi-account-cancel:before{content:"๓ฑ‹Ÿ"}.mdi-account-cancel-outline:before{content:"๓ฑ‹ "}.mdi-account-card:before{content:"๓ฑฎค"}.mdi-account-card-outline:before{content:"๓ฑฎฅ"}.mdi-account-cash:before{content:"๓ฑ‚—"}.mdi-account-cash-outline:before{content:"๓ฑ‚˜"}.mdi-account-check:before{content:"๓ฐ€ˆ"}.mdi-account-check-outline:before{content:"๓ฐฏข"}.mdi-account-child:before{content:"๓ฐช‰"}.mdi-account-child-circle:before{content:"๓ฐชŠ"}.mdi-account-child-outline:before{content:"๓ฑƒˆ"}.mdi-account-circle:before{content:"๓ฐ€‰"}.mdi-account-circle-outline:before{content:"๓ฐญ•"}.mdi-account-clock:before{content:"๓ฐญ–"}.mdi-account-clock-outline:before{content:"๓ฐญ—"}.mdi-account-cog:before{content:"๓ฑฐ"}.mdi-account-cog-outline:before{content:"๓ฑฑ"}.mdi-account-convert:before{content:"๓ฐ€Š"}.mdi-account-convert-outline:before{content:"๓ฑŒ"}.mdi-account-cowboy-hat:before{content:"๓ฐบ›"}.mdi-account-cowboy-hat-outline:before{content:"๓ฑŸณ"}.mdi-account-credit-card:before{content:"๓ฑฎฆ"}.mdi-account-credit-card-outline:before{content:"๓ฑฎง"}.mdi-account-details:before{content:"๓ฐ˜ฑ"}.mdi-account-details-outline:before{content:"๓ฑฒ"}.mdi-account-edit:before{content:"๓ฐšผ"}.mdi-account-edit-outline:before{content:"๓ฐฟป"}.mdi-account-eye:before{content:"๓ฐ "}.mdi-account-eye-outline:before{content:"๓ฑ‰ป"}.mdi-account-filter:before{content:"๓ฐคถ"}.mdi-account-filter-outline:before{content:"๓ฐพ"}.mdi-account-group:before{content:"๓ฐก‰"}.mdi-account-group-outline:before{content:"๓ฐญ˜"}.mdi-account-hard-hat:before{content:"๓ฐ–ต"}.mdi-account-hard-hat-outline:before{content:"๓ฑจŸ"}.mdi-account-heart:before{content:"๓ฐข™"}.mdi-account-heart-outline:before{content:"๓ฐฏฃ"}.mdi-account-injury:before{content:"๓ฑ •"}.mdi-account-injury-outline:before{content:"๓ฑ –"}.mdi-account-key:before{content:"๓ฐ€‹"}.mdi-account-key-outline:before{content:"๓ฐฏค"}.mdi-account-lock:before{content:"๓ฑ…ž"}.mdi-account-lock-open:before{content:"๓ฑฅ "}.mdi-account-lock-open-outline:before{content:"๓ฑฅก"}.mdi-account-lock-outline:before{content:"๓ฑ…Ÿ"}.mdi-account-minus:before{content:"๓ฐ€"}.mdi-account-minus-outline:before{content:"๓ฐซฌ"}.mdi-account-multiple:before{content:"๓ฐ€Ž"}.mdi-account-multiple-check:before{content:"๓ฐฃ…"}.mdi-account-multiple-check-outline:before{content:"๓ฑ‡พ"}.mdi-account-multiple-minus:before{content:"๓ฐ—“"}.mdi-account-multiple-minus-outline:before{content:"๓ฐฏฅ"}.mdi-account-multiple-outline:before{content:"๓ฐ€"}.mdi-account-multiple-plus:before{content:"๓ฐ€"}.mdi-account-multiple-plus-outline:before{content:"๓ฐ €"}.mdi-account-multiple-remove:before{content:"๓ฑˆŠ"}.mdi-account-multiple-remove-outline:before{content:"๓ฑˆ‹"}.mdi-account-music:before{content:"๓ฐ ƒ"}.mdi-account-music-outline:before{content:"๓ฐณฉ"}.mdi-account-network:before{content:"๓ฐ€‘"}.mdi-account-network-off:before{content:"๓ฑซฑ"}.mdi-account-network-off-outline:before{content:"๓ฑซฒ"}.mdi-account-network-outline:before{content:"๓ฐฏฆ"}.mdi-account-off:before{content:"๓ฐ€’"}.mdi-account-off-outline:before{content:"๓ฐฏง"}.mdi-account-outline:before{content:"๓ฐ€“"}.mdi-account-plus:before{content:"๓ฐ€”"}.mdi-account-plus-outline:before{content:"๓ฐ "}.mdi-account-question:before{content:"๓ฐญ™"}.mdi-account-question-outline:before{content:"๓ฐญš"}.mdi-account-reactivate:before{content:"๓ฑ”ซ"}.mdi-account-reactivate-outline:before{content:"๓ฑ”ฌ"}.mdi-account-remove:before{content:"๓ฐ€•"}.mdi-account-remove-outline:before{content:"๓ฐซญ"}.mdi-account-school:before{content:"๓ฑจ "}.mdi-account-school-outline:before{content:"๓ฑจก"}.mdi-account-search:before{content:"๓ฐ€–"}.mdi-account-search-outline:before{content:"๓ฐคต"}.mdi-account-settings:before{content:"๓ฐ˜ฐ"}.mdi-account-settings-outline:before{content:"๓ฑƒ‰"}.mdi-account-star:before{content:"๓ฐ€—"}.mdi-account-star-outline:before{content:"๓ฐฏจ"}.mdi-account-supervisor:before{content:"๓ฐช‹"}.mdi-account-supervisor-circle:before{content:"๓ฐชŒ"}.mdi-account-supervisor-circle-outline:before{content:"๓ฑ“ฌ"}.mdi-account-supervisor-outline:before{content:"๓ฑ„ญ"}.mdi-account-switch:before{content:"๓ฐ€™"}.mdi-account-switch-outline:before{content:"๓ฐ“‹"}.mdi-account-sync:before{content:"๓ฑค›"}.mdi-account-sync-outline:before{content:"๓ฑคœ"}.mdi-account-tag:before{content:"๓ฑฐ›"}.mdi-account-tag-outline:before{content:"๓ฑฐœ"}.mdi-account-tie:before{content:"๓ฐณฃ"}.mdi-account-tie-hat:before{content:"๓ฑข˜"}.mdi-account-tie-hat-outline:before{content:"๓ฑข™"}.mdi-account-tie-outline:before{content:"๓ฑƒŠ"}.mdi-account-tie-voice:before{content:"๓ฑŒˆ"}.mdi-account-tie-voice-off:before{content:"๓ฑŒŠ"}.mdi-account-tie-voice-off-outline:before{content:"๓ฑŒ‹"}.mdi-account-tie-voice-outline:before{content:"๓ฑŒ‰"}.mdi-account-tie-woman:before{content:"๓ฑชŒ"}.mdi-account-voice:before{content:"๓ฐ—‹"}.mdi-account-voice-off:before{content:"๓ฐป”"}.mdi-account-wrench:before{content:"๓ฑขš"}.mdi-account-wrench-outline:before{content:"๓ฑข›"}.mdi-adjust:before{content:"๓ฐ€š"}.mdi-advertisements:before{content:"๓ฑคช"}.mdi-advertisements-off:before{content:"๓ฑคซ"}.mdi-air-conditioner:before{content:"๓ฐ€›"}.mdi-air-filter:before{content:"๓ฐตƒ"}.mdi-air-horn:before{content:"๓ฐถฌ"}.mdi-air-humidifier:before{content:"๓ฑ‚™"}.mdi-air-humidifier-off:before{content:"๓ฑ‘ฆ"}.mdi-air-purifier:before{content:"๓ฐต„"}.mdi-air-purifier-off:before{content:"๓ฑญ—"}.mdi-airbag:before{content:"๓ฐฏฉ"}.mdi-airballoon:before{content:"๓ฐ€œ"}.mdi-airballoon-outline:before{content:"๓ฑ€‹"}.mdi-airplane:before{content:"๓ฐ€"}.mdi-airplane-alert:before{content:"๓ฑกบ"}.mdi-airplane-check:before{content:"๓ฑกป"}.mdi-airplane-clock:before{content:"๓ฑกผ"}.mdi-airplane-cog:before{content:"๓ฑกฝ"}.mdi-airplane-edit:before{content:"๓ฑกพ"}.mdi-airplane-landing:before{content:"๓ฐ—”"}.mdi-airplane-marker:before{content:"๓ฑกฟ"}.mdi-airplane-minus:before{content:"๓ฑข€"}.mdi-airplane-off:before{content:"๓ฐ€ž"}.mdi-airplane-plus:before{content:"๓ฑข"}.mdi-airplane-remove:before{content:"๓ฑข‚"}.mdi-airplane-search:before{content:"๓ฑขƒ"}.mdi-airplane-settings:before{content:"๓ฑข„"}.mdi-airplane-takeoff:before{content:"๓ฐ—•"}.mdi-airport:before{content:"๓ฐก‹"}.mdi-alarm:before{content:"๓ฐ€ "}.mdi-alarm-bell:before{content:"๓ฐžŽ"}.mdi-alarm-check:before{content:"๓ฐ€ก"}.mdi-alarm-light:before{content:"๓ฐž"}.mdi-alarm-light-off:before{content:"๓ฑœž"}.mdi-alarm-light-off-outline:before{content:"๓ฑœŸ"}.mdi-alarm-light-outline:before{content:"๓ฐฏช"}.mdi-alarm-multiple:before{content:"๓ฐ€ข"}.mdi-alarm-note:before{content:"๓ฐนฑ"}.mdi-alarm-note-off:before{content:"๓ฐนฒ"}.mdi-alarm-off:before{content:"๓ฐ€ฃ"}.mdi-alarm-panel:before{content:"๓ฑ—„"}.mdi-alarm-panel-outline:before{content:"๓ฑ—…"}.mdi-alarm-plus:before{content:"๓ฐ€ค"}.mdi-alarm-snooze:before{content:"๓ฐšŽ"}.mdi-album:before{content:"๓ฐ€ฅ"}.mdi-alert:before{content:"๓ฐ€ฆ"}.mdi-alert-box:before{content:"๓ฐ€ง"}.mdi-alert-box-outline:before{content:"๓ฐณค"}.mdi-alert-circle:before{content:"๓ฐ€จ"}.mdi-alert-circle-check:before{content:"๓ฑ‡ญ"}.mdi-alert-circle-check-outline:before{content:"๓ฑ‡ฎ"}.mdi-alert-circle-outline:before{content:"๓ฐ—–"}.mdi-alert-decagram:before{content:"๓ฐšฝ"}.mdi-alert-decagram-outline:before{content:"๓ฐณฅ"}.mdi-alert-minus:before{content:"๓ฑ’ป"}.mdi-alert-minus-outline:before{content:"๓ฑ’พ"}.mdi-alert-octagon:before{content:"๓ฐ€ฉ"}.mdi-alert-octagon-outline:before{content:"๓ฐณฆ"}.mdi-alert-octagram:before{content:"๓ฐง"}.mdi-alert-octagram-outline:before{content:"๓ฐณง"}.mdi-alert-outline:before{content:"๓ฐ€ช"}.mdi-alert-plus:before{content:"๓ฑ’บ"}.mdi-alert-plus-outline:before{content:"๓ฑ’ฝ"}.mdi-alert-remove:before{content:"๓ฑ’ผ"}.mdi-alert-remove-outline:before{content:"๓ฑ’ฟ"}.mdi-alert-rhombus:before{content:"๓ฑ‡Ž"}.mdi-alert-rhombus-outline:before{content:"๓ฑ‡"}.mdi-alien:before{content:"๓ฐขš"}.mdi-alien-outline:before{content:"๓ฑƒ‹"}.mdi-align-horizontal-center:before{content:"๓ฑ‡ƒ"}.mdi-align-horizontal-distribute:before{content:"๓ฑฅข"}.mdi-align-horizontal-left:before{content:"๓ฑ‡‚"}.mdi-align-horizontal-right:before{content:"๓ฑ‡„"}.mdi-align-vertical-bottom:before{content:"๓ฑ‡…"}.mdi-align-vertical-center:before{content:"๓ฑ‡†"}.mdi-align-vertical-distribute:before{content:"๓ฑฅฃ"}.mdi-align-vertical-top:before{content:"๓ฑ‡‡"}.mdi-all-inclusive:before{content:"๓ฐšพ"}.mdi-all-inclusive-box:before{content:"๓ฑข"}.mdi-all-inclusive-box-outline:before{content:"๓ฑขŽ"}.mdi-allergy:before{content:"๓ฑ‰˜"}.mdi-alpha:before{content:"๓ฐ€ซ"}.mdi-alpha-a:before{content:"๓ฐซฎ"}.mdi-alpha-a-box:before{content:"๓ฐฌˆ"}.mdi-alpha-a-box-outline:before{content:"๓ฐฏซ"}.mdi-alpha-a-circle:before{content:"๓ฐฏฌ"}.mdi-alpha-a-circle-outline:before{content:"๓ฐฏญ"}.mdi-alpha-b:before{content:"๓ฐซฏ"}.mdi-alpha-b-box:before{content:"๓ฐฌ‰"}.mdi-alpha-b-box-outline:before{content:"๓ฐฏฎ"}.mdi-alpha-b-circle:before{content:"๓ฐฏฏ"}.mdi-alpha-b-circle-outline:before{content:"๓ฐฏฐ"}.mdi-alpha-c:before{content:"๓ฐซฐ"}.mdi-alpha-c-box:before{content:"๓ฐฌŠ"}.mdi-alpha-c-box-outline:before{content:"๓ฐฏฑ"}.mdi-alpha-c-circle:before{content:"๓ฐฏฒ"}.mdi-alpha-c-circle-outline:before{content:"๓ฐฏณ"}.mdi-alpha-d:before{content:"๓ฐซฑ"}.mdi-alpha-d-box:before{content:"๓ฐฌ‹"}.mdi-alpha-d-box-outline:before{content:"๓ฐฏด"}.mdi-alpha-d-circle:before{content:"๓ฐฏต"}.mdi-alpha-d-circle-outline:before{content:"๓ฐฏถ"}.mdi-alpha-e:before{content:"๓ฐซฒ"}.mdi-alpha-e-box:before{content:"๓ฐฌŒ"}.mdi-alpha-e-box-outline:before{content:"๓ฐฏท"}.mdi-alpha-e-circle:before{content:"๓ฐฏธ"}.mdi-alpha-e-circle-outline:before{content:"๓ฐฏน"}.mdi-alpha-f:before{content:"๓ฐซณ"}.mdi-alpha-f-box:before{content:"๓ฐฌ"}.mdi-alpha-f-box-outline:before{content:"๓ฐฏบ"}.mdi-alpha-f-circle:before{content:"๓ฐฏป"}.mdi-alpha-f-circle-outline:before{content:"๓ฐฏผ"}.mdi-alpha-g:before{content:"๓ฐซด"}.mdi-alpha-g-box:before{content:"๓ฐฌŽ"}.mdi-alpha-g-box-outline:before{content:"๓ฐฏฝ"}.mdi-alpha-g-circle:before{content:"๓ฐฏพ"}.mdi-alpha-g-circle-outline:before{content:"๓ฐฏฟ"}.mdi-alpha-h:before{content:"๓ฐซต"}.mdi-alpha-h-box:before{content:"๓ฐฌ"}.mdi-alpha-h-box-outline:before{content:"๓ฐฐ€"}.mdi-alpha-h-circle:before{content:"๓ฐฐ"}.mdi-alpha-h-circle-outline:before{content:"๓ฐฐ‚"}.mdi-alpha-i:before{content:"๓ฐซถ"}.mdi-alpha-i-box:before{content:"๓ฐฌ"}.mdi-alpha-i-box-outline:before{content:"๓ฐฐƒ"}.mdi-alpha-i-circle:before{content:"๓ฐฐ„"}.mdi-alpha-i-circle-outline:before{content:"๓ฐฐ…"}.mdi-alpha-j:before{content:"๓ฐซท"}.mdi-alpha-j-box:before{content:"๓ฐฌ‘"}.mdi-alpha-j-box-outline:before{content:"๓ฐฐ†"}.mdi-alpha-j-circle:before{content:"๓ฐฐ‡"}.mdi-alpha-j-circle-outline:before{content:"๓ฐฐˆ"}.mdi-alpha-k:before{content:"๓ฐซธ"}.mdi-alpha-k-box:before{content:"๓ฐฌ’"}.mdi-alpha-k-box-outline:before{content:"๓ฐฐ‰"}.mdi-alpha-k-circle:before{content:"๓ฐฐŠ"}.mdi-alpha-k-circle-outline:before{content:"๓ฐฐ‹"}.mdi-alpha-l:before{content:"๓ฐซน"}.mdi-alpha-l-box:before{content:"๓ฐฌ“"}.mdi-alpha-l-box-outline:before{content:"๓ฐฐŒ"}.mdi-alpha-l-circle:before{content:"๓ฐฐ"}.mdi-alpha-l-circle-outline:before{content:"๓ฐฐŽ"}.mdi-alpha-m:before{content:"๓ฐซบ"}.mdi-alpha-m-box:before{content:"๓ฐฌ”"}.mdi-alpha-m-box-outline:before{content:"๓ฐฐ"}.mdi-alpha-m-circle:before{content:"๓ฐฐ"}.mdi-alpha-m-circle-outline:before{content:"๓ฐฐ‘"}.mdi-alpha-n:before{content:"๓ฐซป"}.mdi-alpha-n-box:before{content:"๓ฐฌ•"}.mdi-alpha-n-box-outline:before{content:"๓ฐฐ’"}.mdi-alpha-n-circle:before{content:"๓ฐฐ“"}.mdi-alpha-n-circle-outline:before{content:"๓ฐฐ”"}.mdi-alpha-o:before{content:"๓ฐซผ"}.mdi-alpha-o-box:before{content:"๓ฐฌ–"}.mdi-alpha-o-box-outline:before{content:"๓ฐฐ•"}.mdi-alpha-o-circle:before{content:"๓ฐฐ–"}.mdi-alpha-o-circle-outline:before{content:"๓ฐฐ—"}.mdi-alpha-p:before{content:"๓ฐซฝ"}.mdi-alpha-p-box:before{content:"๓ฐฌ—"}.mdi-alpha-p-box-outline:before{content:"๓ฐฐ˜"}.mdi-alpha-p-circle:before{content:"๓ฐฐ™"}.mdi-alpha-p-circle-outline:before{content:"๓ฐฐš"}.mdi-alpha-q:before{content:"๓ฐซพ"}.mdi-alpha-q-box:before{content:"๓ฐฌ˜"}.mdi-alpha-q-box-outline:before{content:"๓ฐฐ›"}.mdi-alpha-q-circle:before{content:"๓ฐฐœ"}.mdi-alpha-q-circle-outline:before{content:"๓ฐฐ"}.mdi-alpha-r:before{content:"๓ฐซฟ"}.mdi-alpha-r-box:before{content:"๓ฐฌ™"}.mdi-alpha-r-box-outline:before{content:"๓ฐฐž"}.mdi-alpha-r-circle:before{content:"๓ฐฐŸ"}.mdi-alpha-r-circle-outline:before{content:"๓ฐฐ "}.mdi-alpha-s:before{content:"๓ฐฌ€"}.mdi-alpha-s-box:before{content:"๓ฐฌš"}.mdi-alpha-s-box-outline:before{content:"๓ฐฐก"}.mdi-alpha-s-circle:before{content:"๓ฐฐข"}.mdi-alpha-s-circle-outline:before{content:"๓ฐฐฃ"}.mdi-alpha-t:before{content:"๓ฐฌ"}.mdi-alpha-t-box:before{content:"๓ฐฌ›"}.mdi-alpha-t-box-outline:before{content:"๓ฐฐค"}.mdi-alpha-t-circle:before{content:"๓ฐฐฅ"}.mdi-alpha-t-circle-outline:before{content:"๓ฐฐฆ"}.mdi-alpha-u:before{content:"๓ฐฌ‚"}.mdi-alpha-u-box:before{content:"๓ฐฌœ"}.mdi-alpha-u-box-outline:before{content:"๓ฐฐง"}.mdi-alpha-u-circle:before{content:"๓ฐฐจ"}.mdi-alpha-u-circle-outline:before{content:"๓ฐฐฉ"}.mdi-alpha-v:before{content:"๓ฐฌƒ"}.mdi-alpha-v-box:before{content:"๓ฐฌ"}.mdi-alpha-v-box-outline:before{content:"๓ฐฐช"}.mdi-alpha-v-circle:before{content:"๓ฐฐซ"}.mdi-alpha-v-circle-outline:before{content:"๓ฐฐฌ"}.mdi-alpha-w:before{content:"๓ฐฌ„"}.mdi-alpha-w-box:before{content:"๓ฐฌž"}.mdi-alpha-w-box-outline:before{content:"๓ฐฐญ"}.mdi-alpha-w-circle:before{content:"๓ฐฐฎ"}.mdi-alpha-w-circle-outline:before{content:"๓ฐฐฏ"}.mdi-alpha-x:before{content:"๓ฐฌ…"}.mdi-alpha-x-box:before{content:"๓ฐฌŸ"}.mdi-alpha-x-box-outline:before{content:"๓ฐฐฐ"}.mdi-alpha-x-circle:before{content:"๓ฐฐฑ"}.mdi-alpha-x-circle-outline:before{content:"๓ฐฐฒ"}.mdi-alpha-y:before{content:"๓ฐฌ†"}.mdi-alpha-y-box:before{content:"๓ฐฌ "}.mdi-alpha-y-box-outline:before{content:"๓ฐฐณ"}.mdi-alpha-y-circle:before{content:"๓ฐฐด"}.mdi-alpha-y-circle-outline:before{content:"๓ฐฐต"}.mdi-alpha-z:before{content:"๓ฐฌ‡"}.mdi-alpha-z-box:before{content:"๓ฐฌก"}.mdi-alpha-z-box-outline:before{content:"๓ฐฐถ"}.mdi-alpha-z-circle:before{content:"๓ฐฐท"}.mdi-alpha-z-circle-outline:before{content:"๓ฐฐธ"}.mdi-alphabet-aurebesh:before{content:"๓ฑŒฌ"}.mdi-alphabet-cyrillic:before{content:"๓ฑŒญ"}.mdi-alphabet-greek:before{content:"๓ฑŒฎ"}.mdi-alphabet-latin:before{content:"๓ฑŒฏ"}.mdi-alphabet-piqad:before{content:"๓ฑŒฐ"}.mdi-alphabet-tengwar:before{content:"๓ฑŒท"}.mdi-alphabetical:before{content:"๓ฐ€ฌ"}.mdi-alphabetical-off:before{content:"๓ฑ€Œ"}.mdi-alphabetical-variant:before{content:"๓ฑ€"}.mdi-alphabetical-variant-off:before{content:"๓ฑ€Ž"}.mdi-altimeter:before{content:"๓ฐ——"}.mdi-ambulance:before{content:"๓ฐ€ฏ"}.mdi-ammunition:before{content:"๓ฐณจ"}.mdi-ampersand:before{content:"๓ฐช"}.mdi-amplifier:before{content:"๓ฐ€ฐ"}.mdi-amplifier-off:before{content:"๓ฑ†ต"}.mdi-anchor:before{content:"๓ฐ€ฑ"}.mdi-android:before{content:"๓ฐ€ฒ"}.mdi-android-studio:before{content:"๓ฐ€ด"}.mdi-angle-acute:before{content:"๓ฐคท"}.mdi-angle-obtuse:before{content:"๓ฐคธ"}.mdi-angle-right:before{content:"๓ฐคน"}.mdi-angular:before{content:"๓ฐšฒ"}.mdi-angularjs:before{content:"๓ฐšฟ"}.mdi-animation:before{content:"๓ฐ—˜"}.mdi-animation-outline:before{content:"๓ฐช"}.mdi-animation-play:before{content:"๓ฐคบ"}.mdi-animation-play-outline:before{content:"๓ฐช"}.mdi-ansible:before{content:"๓ฑ‚š"}.mdi-antenna:before{content:"๓ฑ„™"}.mdi-anvil:before{content:"๓ฐข›"}.mdi-apache-kafka:before{content:"๓ฑ€"}.mdi-api:before{content:"๓ฑ‚›"}.mdi-api-off:before{content:"๓ฑ‰—"}.mdi-apple:before{content:"๓ฐ€ต"}.mdi-apple-finder:before{content:"๓ฐ€ถ"}.mdi-apple-icloud:before{content:"๓ฐ€ธ"}.mdi-apple-ios:before{content:"๓ฐ€ท"}.mdi-apple-keyboard-caps:before{content:"๓ฐ˜ฒ"}.mdi-apple-keyboard-command:before{content:"๓ฐ˜ณ"}.mdi-apple-keyboard-control:before{content:"๓ฐ˜ด"}.mdi-apple-keyboard-option:before{content:"๓ฐ˜ต"}.mdi-apple-keyboard-shift:before{content:"๓ฐ˜ถ"}.mdi-apple-safari:before{content:"๓ฐ€น"}.mdi-application:before{content:"๓ฐฃ†"}.mdi-application-array:before{content:"๓ฑƒต"}.mdi-application-array-outline:before{content:"๓ฑƒถ"}.mdi-application-braces:before{content:"๓ฑƒท"}.mdi-application-braces-outline:before{content:"๓ฑƒธ"}.mdi-application-brackets:before{content:"๓ฐฒ‹"}.mdi-application-brackets-outline:before{content:"๓ฐฒŒ"}.mdi-application-cog:before{content:"๓ฐ™ต"}.mdi-application-cog-outline:before{content:"๓ฑ•ท"}.mdi-application-edit:before{content:"๓ฐ‚ฎ"}.mdi-application-edit-outline:before{content:"๓ฐ˜™"}.mdi-application-export:before{content:"๓ฐถญ"}.mdi-application-import:before{content:"๓ฐถฎ"}.mdi-application-outline:before{content:"๓ฐ˜”"}.mdi-application-parentheses:before{content:"๓ฑƒน"}.mdi-application-parentheses-outline:before{content:"๓ฑƒบ"}.mdi-application-settings:before{content:"๓ฐญ "}.mdi-application-settings-outline:before{content:"๓ฑ••"}.mdi-application-variable:before{content:"๓ฑƒป"}.mdi-application-variable-outline:before{content:"๓ฑƒผ"}.mdi-approximately-equal:before{content:"๓ฐพž"}.mdi-approximately-equal-box:before{content:"๓ฐพŸ"}.mdi-apps:before{content:"๓ฐ€ป"}.mdi-apps-box:before{content:"๓ฐต†"}.mdi-arch:before{content:"๓ฐฃ‡"}.mdi-archive:before{content:"๓ฐ€ผ"}.mdi-archive-alert:before{content:"๓ฑ“ฝ"}.mdi-archive-alert-outline:before{content:"๓ฑ“พ"}.mdi-archive-arrow-down:before{content:"๓ฑ‰™"}.mdi-archive-arrow-down-outline:before{content:"๓ฑ‰š"}.mdi-archive-arrow-up:before{content:"๓ฑ‰›"}.mdi-archive-arrow-up-outline:before{content:"๓ฑ‰œ"}.mdi-archive-cancel:before{content:"๓ฑ‹"}.mdi-archive-cancel-outline:before{content:"๓ฑŒ"}.mdi-archive-check:before{content:"๓ฑ"}.mdi-archive-check-outline:before{content:"๓ฑŽ"}.mdi-archive-clock:before{content:"๓ฑ"}.mdi-archive-clock-outline:before{content:"๓ฑ"}.mdi-archive-cog:before{content:"๓ฑ‘"}.mdi-archive-cog-outline:before{content:"๓ฑ’"}.mdi-archive-edit:before{content:"๓ฑ“"}.mdi-archive-edit-outline:before{content:"๓ฑ”"}.mdi-archive-eye:before{content:"๓ฑ•"}.mdi-archive-eye-outline:before{content:"๓ฑ–"}.mdi-archive-lock:before{content:"๓ฑ—"}.mdi-archive-lock-open:before{content:"๓ฑ˜"}.mdi-archive-lock-open-outline:before{content:"๓ฑ™"}.mdi-archive-lock-outline:before{content:"๓ฑš"}.mdi-archive-marker:before{content:"๓ฑ›"}.mdi-archive-marker-outline:before{content:"๓ฑœ"}.mdi-archive-minus:before{content:"๓ฑ"}.mdi-archive-minus-outline:before{content:"๓ฑž"}.mdi-archive-music:before{content:"๓ฑŸ"}.mdi-archive-music-outline:before{content:"๓ฑ "}.mdi-archive-off:before{content:"๓ฑก"}.mdi-archive-off-outline:before{content:"๓ฑข"}.mdi-archive-outline:before{content:"๓ฑˆŽ"}.mdi-archive-plus:before{content:"๓ฑฃ"}.mdi-archive-plus-outline:before{content:"๓ฑค"}.mdi-archive-refresh:before{content:"๓ฑฅ"}.mdi-archive-refresh-outline:before{content:"๓ฑฆ"}.mdi-archive-remove:before{content:"๓ฑง"}.mdi-archive-remove-outline:before{content:"๓ฑจ"}.mdi-archive-search:before{content:"๓ฑฉ"}.mdi-archive-search-outline:before{content:"๓ฑช"}.mdi-archive-settings:before{content:"๓ฑซ"}.mdi-archive-settings-outline:before{content:"๓ฑฌ"}.mdi-archive-star:before{content:"๓ฑญ"}.mdi-archive-star-outline:before{content:"๓ฑฎ"}.mdi-archive-sync:before{content:"๓ฑฏ"}.mdi-archive-sync-outline:before{content:"๓ฑฐ"}.mdi-arm-flex:before{content:"๓ฐฟ—"}.mdi-arm-flex-outline:before{content:"๓ฐฟ–"}.mdi-arrange-bring-forward:before{content:"๓ฐ€ฝ"}.mdi-arrange-bring-to-front:before{content:"๓ฐ€พ"}.mdi-arrange-send-backward:before{content:"๓ฐ€ฟ"}.mdi-arrange-send-to-back:before{content:"๓ฐ€"}.mdi-arrow-all:before{content:"๓ฐ"}.mdi-arrow-bottom-left:before{content:"๓ฐ‚"}.mdi-arrow-bottom-left-bold-box:before{content:"๓ฑฅค"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"๓ฑฅฅ"}.mdi-arrow-bottom-left-bold-outline:before{content:"๓ฐฆท"}.mdi-arrow-bottom-left-thick:before{content:"๓ฐฆธ"}.mdi-arrow-bottom-left-thin:before{content:"๓ฑฆถ"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"๓ฑ––"}.mdi-arrow-bottom-right:before{content:"๓ฐƒ"}.mdi-arrow-bottom-right-bold-box:before{content:"๓ฑฅฆ"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"๓ฑฅง"}.mdi-arrow-bottom-right-bold-outline:before{content:"๓ฐฆน"}.mdi-arrow-bottom-right-thick:before{content:"๓ฐฆบ"}.mdi-arrow-bottom-right-thin:before{content:"๓ฑฆท"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"๓ฑ–•"}.mdi-arrow-collapse:before{content:"๓ฐ˜•"}.mdi-arrow-collapse-all:before{content:"๓ฐ„"}.mdi-arrow-collapse-down:before{content:"๓ฐž’"}.mdi-arrow-collapse-horizontal:before{content:"๓ฐกŒ"}.mdi-arrow-collapse-left:before{content:"๓ฐž“"}.mdi-arrow-collapse-right:before{content:"๓ฐž”"}.mdi-arrow-collapse-up:before{content:"๓ฐž•"}.mdi-arrow-collapse-vertical:before{content:"๓ฐก"}.mdi-arrow-decision:before{content:"๓ฐฆป"}.mdi-arrow-decision-auto:before{content:"๓ฐฆผ"}.mdi-arrow-decision-auto-outline:before{content:"๓ฐฆฝ"}.mdi-arrow-decision-outline:before{content:"๓ฐฆพ"}.mdi-arrow-down:before{content:"๓ฐ…"}.mdi-arrow-down-bold:before{content:"๓ฐœฎ"}.mdi-arrow-down-bold-box:before{content:"๓ฐœฏ"}.mdi-arrow-down-bold-box-outline:before{content:"๓ฐœฐ"}.mdi-arrow-down-bold-circle:before{content:"๓ฐ‡"}.mdi-arrow-down-bold-circle-outline:before{content:"๓ฐˆ"}.mdi-arrow-down-bold-hexagon-outline:before{content:"๓ฐ‰"}.mdi-arrow-down-bold-outline:before{content:"๓ฐฆฟ"}.mdi-arrow-down-box:before{content:"๓ฐ›€"}.mdi-arrow-down-circle:before{content:"๓ฐณ›"}.mdi-arrow-down-circle-outline:before{content:"๓ฐณœ"}.mdi-arrow-down-drop-circle:before{content:"๓ฐŠ"}.mdi-arrow-down-drop-circle-outline:before{content:"๓ฐ‹"}.mdi-arrow-down-left:before{content:"๓ฑžก"}.mdi-arrow-down-left-bold:before{content:"๓ฑžข"}.mdi-arrow-down-right:before{content:"๓ฑžฃ"}.mdi-arrow-down-right-bold:before{content:"๓ฑžค"}.mdi-arrow-down-thick:before{content:"๓ฐ†"}.mdi-arrow-down-thin:before{content:"๓ฑฆณ"}.mdi-arrow-down-thin-circle-outline:before{content:"๓ฑ–™"}.mdi-arrow-expand:before{content:"๓ฐ˜–"}.mdi-arrow-expand-all:before{content:"๓ฐŒ"}.mdi-arrow-expand-down:before{content:"๓ฐž–"}.mdi-arrow-expand-horizontal:before{content:"๓ฐกŽ"}.mdi-arrow-expand-left:before{content:"๓ฐž—"}.mdi-arrow-expand-right:before{content:"๓ฐž˜"}.mdi-arrow-expand-up:before{content:"๓ฐž™"}.mdi-arrow-expand-vertical:before{content:"๓ฐก"}.mdi-arrow-horizontal-lock:before{content:"๓ฑ…›"}.mdi-arrow-left:before{content:"๓ฐ"}.mdi-arrow-left-bold:before{content:"๓ฐœฑ"}.mdi-arrow-left-bold-box:before{content:"๓ฐœฒ"}.mdi-arrow-left-bold-box-outline:before{content:"๓ฐœณ"}.mdi-arrow-left-bold-circle:before{content:"๓ฐ"}.mdi-arrow-left-bold-circle-outline:before{content:"๓ฐ"}.mdi-arrow-left-bold-hexagon-outline:before{content:"๓ฐ‘"}.mdi-arrow-left-bold-outline:before{content:"๓ฐง€"}.mdi-arrow-left-bottom:before{content:"๓ฑžฅ"}.mdi-arrow-left-bottom-bold:before{content:"๓ฑžฆ"}.mdi-arrow-left-box:before{content:"๓ฐ›"}.mdi-arrow-left-circle:before{content:"๓ฐณ"}.mdi-arrow-left-circle-outline:before{content:"๓ฐณž"}.mdi-arrow-left-drop-circle:before{content:"๓ฐ’"}.mdi-arrow-left-drop-circle-outline:before{content:"๓ฐ“"}.mdi-arrow-left-right:before{content:"๓ฐนณ"}.mdi-arrow-left-right-bold:before{content:"๓ฐนด"}.mdi-arrow-left-right-bold-outline:before{content:"๓ฐง"}.mdi-arrow-left-thick:before{content:"๓ฐŽ"}.mdi-arrow-left-thin:before{content:"๓ฑฆฑ"}.mdi-arrow-left-thin-circle-outline:before{content:"๓ฑ–š"}.mdi-arrow-left-top:before{content:"๓ฑžง"}.mdi-arrow-left-top-bold:before{content:"๓ฑžจ"}.mdi-arrow-projectile:before{content:"๓ฑก€"}.mdi-arrow-projectile-multiple:before{content:"๓ฑ ฟ"}.mdi-arrow-right:before{content:"๓ฐ”"}.mdi-arrow-right-bold:before{content:"๓ฐœด"}.mdi-arrow-right-bold-box:before{content:"๓ฐœต"}.mdi-arrow-right-bold-box-outline:before{content:"๓ฐœถ"}.mdi-arrow-right-bold-circle:before{content:"๓ฐ–"}.mdi-arrow-right-bold-circle-outline:before{content:"๓ฐ—"}.mdi-arrow-right-bold-hexagon-outline:before{content:"๓ฐ˜"}.mdi-arrow-right-bold-outline:before{content:"๓ฐง‚"}.mdi-arrow-right-bottom:before{content:"๓ฑžฉ"}.mdi-arrow-right-bottom-bold:before{content:"๓ฑžช"}.mdi-arrow-right-box:before{content:"๓ฐ›‚"}.mdi-arrow-right-circle:before{content:"๓ฐณŸ"}.mdi-arrow-right-circle-outline:before{content:"๓ฐณ "}.mdi-arrow-right-drop-circle:before{content:"๓ฐ™"}.mdi-arrow-right-drop-circle-outline:before{content:"๓ฐš"}.mdi-arrow-right-thick:before{content:"๓ฐ•"}.mdi-arrow-right-thin:before{content:"๓ฑฆฐ"}.mdi-arrow-right-thin-circle-outline:before{content:"๓ฑ–˜"}.mdi-arrow-right-top:before{content:"๓ฑžซ"}.mdi-arrow-right-top-bold:before{content:"๓ฑžฌ"}.mdi-arrow-split-horizontal:before{content:"๓ฐคป"}.mdi-arrow-split-vertical:before{content:"๓ฐคผ"}.mdi-arrow-top-left:before{content:"๓ฐ›"}.mdi-arrow-top-left-bold-box:before{content:"๓ฑฅจ"}.mdi-arrow-top-left-bold-box-outline:before{content:"๓ฑฅฉ"}.mdi-arrow-top-left-bold-outline:before{content:"๓ฐงƒ"}.mdi-arrow-top-left-bottom-right:before{content:"๓ฐนต"}.mdi-arrow-top-left-bottom-right-bold:before{content:"๓ฐนถ"}.mdi-arrow-top-left-thick:before{content:"๓ฐง„"}.mdi-arrow-top-left-thin:before{content:"๓ฑฆต"}.mdi-arrow-top-left-thin-circle-outline:before{content:"๓ฑ–“"}.mdi-arrow-top-right:before{content:"๓ฐœ"}.mdi-arrow-top-right-bold-box:before{content:"๓ฑฅช"}.mdi-arrow-top-right-bold-box-outline:before{content:"๓ฑฅซ"}.mdi-arrow-top-right-bold-outline:before{content:"๓ฐง…"}.mdi-arrow-top-right-bottom-left:before{content:"๓ฐนท"}.mdi-arrow-top-right-bottom-left-bold:before{content:"๓ฐนธ"}.mdi-arrow-top-right-thick:before{content:"๓ฐง†"}.mdi-arrow-top-right-thin:before{content:"๓ฑฆด"}.mdi-arrow-top-right-thin-circle-outline:before{content:"๓ฑ–”"}.mdi-arrow-u-down-left:before{content:"๓ฑžญ"}.mdi-arrow-u-down-left-bold:before{content:"๓ฑžฎ"}.mdi-arrow-u-down-right:before{content:"๓ฑžฏ"}.mdi-arrow-u-down-right-bold:before{content:"๓ฑžฐ"}.mdi-arrow-u-left-bottom:before{content:"๓ฑžฑ"}.mdi-arrow-u-left-bottom-bold:before{content:"๓ฑžฒ"}.mdi-arrow-u-left-top:before{content:"๓ฑžณ"}.mdi-arrow-u-left-top-bold:before{content:"๓ฑžด"}.mdi-arrow-u-right-bottom:before{content:"๓ฑžต"}.mdi-arrow-u-right-bottom-bold:before{content:"๓ฑžถ"}.mdi-arrow-u-right-top:before{content:"๓ฑžท"}.mdi-arrow-u-right-top-bold:before{content:"๓ฑžธ"}.mdi-arrow-u-up-left:before{content:"๓ฑžน"}.mdi-arrow-u-up-left-bold:before{content:"๓ฑžบ"}.mdi-arrow-u-up-right:before{content:"๓ฑžป"}.mdi-arrow-u-up-right-bold:before{content:"๓ฑžผ"}.mdi-arrow-up:before{content:"๓ฐ"}.mdi-arrow-up-bold:before{content:"๓ฐœท"}.mdi-arrow-up-bold-box:before{content:"๓ฐœธ"}.mdi-arrow-up-bold-box-outline:before{content:"๓ฐœน"}.mdi-arrow-up-bold-circle:before{content:"๓ฐŸ"}.mdi-arrow-up-bold-circle-outline:before{content:"๓ฐ "}.mdi-arrow-up-bold-hexagon-outline:before{content:"๓ฐก"}.mdi-arrow-up-bold-outline:before{content:"๓ฐง‡"}.mdi-arrow-up-box:before{content:"๓ฐ›ƒ"}.mdi-arrow-up-circle:before{content:"๓ฐณก"}.mdi-arrow-up-circle-outline:before{content:"๓ฐณข"}.mdi-arrow-up-down:before{content:"๓ฐนน"}.mdi-arrow-up-down-bold:before{content:"๓ฐนบ"}.mdi-arrow-up-down-bold-outline:before{content:"๓ฐงˆ"}.mdi-arrow-up-drop-circle:before{content:"๓ฐข"}.mdi-arrow-up-drop-circle-outline:before{content:"๓ฐฃ"}.mdi-arrow-up-left:before{content:"๓ฑžฝ"}.mdi-arrow-up-left-bold:before{content:"๓ฑžพ"}.mdi-arrow-up-right:before{content:"๓ฑžฟ"}.mdi-arrow-up-right-bold:before{content:"๓ฑŸ€"}.mdi-arrow-up-thick:before{content:"๓ฐž"}.mdi-arrow-up-thin:before{content:"๓ฑฆฒ"}.mdi-arrow-up-thin-circle-outline:before{content:"๓ฑ–—"}.mdi-arrow-vertical-lock:before{content:"๓ฑ…œ"}.mdi-artboard:before{content:"๓ฑฎš"}.mdi-artstation:before{content:"๓ฐญ›"}.mdi-aspect-ratio:before{content:"๓ฐจค"}.mdi-assistant:before{content:"๓ฐค"}.mdi-asterisk:before{content:"๓ฐ›„"}.mdi-asterisk-circle-outline:before{content:"๓ฑจง"}.mdi-at:before{content:"๓ฐฅ"}.mdi-atlassian:before{content:"๓ฐ „"}.mdi-atm:before{content:"๓ฐต‡"}.mdi-atom:before{content:"๓ฐจ"}.mdi-atom-variant:before{content:"๓ฐนป"}.mdi-attachment:before{content:"๓ฐฆ"}.mdi-attachment-check:before{content:"๓ฑซ"}.mdi-attachment-lock:before{content:"๓ฑง„"}.mdi-attachment-minus:before{content:"๓ฑซ‚"}.mdi-attachment-off:before{content:"๓ฑซƒ"}.mdi-attachment-plus:before{content:"๓ฑซ„"}.mdi-attachment-remove:before{content:"๓ฑซ…"}.mdi-atv:before{content:"๓ฑญฐ"}.mdi-audio-input-rca:before{content:"๓ฑกซ"}.mdi-audio-input-stereo-minijack:before{content:"๓ฑกฌ"}.mdi-audio-input-xlr:before{content:"๓ฑกญ"}.mdi-audio-video:before{content:"๓ฐคฝ"}.mdi-audio-video-off:before{content:"๓ฑ†ถ"}.mdi-augmented-reality:before{content:"๓ฐก"}.mdi-aurora:before{content:"๓ฑฎน"}.mdi-auto-download:before{content:"๓ฑพ"}.mdi-auto-fix:before{content:"๓ฐจ"}.mdi-auto-mode:before{content:"๓ฑฐ "}.mdi-auto-upload:before{content:"๓ฐฉ"}.mdi-autorenew:before{content:"๓ฐช"}.mdi-autorenew-off:before{content:"๓ฑงง"}.mdi-av-timer:before{content:"๓ฐซ"}.mdi-awning:before{content:"๓ฑฎ‡"}.mdi-awning-outline:before{content:"๓ฑฎˆ"}.mdi-aws:before{content:"๓ฐธ"}.mdi-axe:before{content:"๓ฐฃˆ"}.mdi-axe-battle:before{content:"๓ฑก‚"}.mdi-axis:before{content:"๓ฐตˆ"}.mdi-axis-arrow:before{content:"๓ฐต‰"}.mdi-axis-arrow-info:before{content:"๓ฑŽ"}.mdi-axis-arrow-lock:before{content:"๓ฐตŠ"}.mdi-axis-lock:before{content:"๓ฐต‹"}.mdi-axis-x-arrow:before{content:"๓ฐตŒ"}.mdi-axis-x-arrow-lock:before{content:"๓ฐต"}.mdi-axis-x-rotate-clockwise:before{content:"๓ฐตŽ"}.mdi-axis-x-rotate-counterclockwise:before{content:"๓ฐต"}.mdi-axis-x-y-arrow-lock:before{content:"๓ฐต"}.mdi-axis-y-arrow:before{content:"๓ฐต‘"}.mdi-axis-y-arrow-lock:before{content:"๓ฐต’"}.mdi-axis-y-rotate-clockwise:before{content:"๓ฐต“"}.mdi-axis-y-rotate-counterclockwise:before{content:"๓ฐต”"}.mdi-axis-z-arrow:before{content:"๓ฐต•"}.mdi-axis-z-arrow-lock:before{content:"๓ฐต–"}.mdi-axis-z-rotate-clockwise:before{content:"๓ฐต—"}.mdi-axis-z-rotate-counterclockwise:before{content:"๓ฐต˜"}.mdi-babel:before{content:"๓ฐจฅ"}.mdi-baby:before{content:"๓ฐฌ"}.mdi-baby-bottle:before{content:"๓ฐผน"}.mdi-baby-bottle-outline:before{content:"๓ฐผบ"}.mdi-baby-buggy:before{content:"๓ฑ "}.mdi-baby-buggy-off:before{content:"๓ฑซณ"}.mdi-baby-carriage:before{content:"๓ฐš"}.mdi-baby-carriage-off:before{content:"๓ฐพ "}.mdi-baby-face:before{content:"๓ฐนผ"}.mdi-baby-face-outline:before{content:"๓ฐนฝ"}.mdi-backburger:before{content:"๓ฐญ"}.mdi-backspace:before{content:"๓ฐฎ"}.mdi-backspace-outline:before{content:"๓ฐญœ"}.mdi-backspace-reverse:before{content:"๓ฐนพ"}.mdi-backspace-reverse-outline:before{content:"๓ฐนฟ"}.mdi-backup-restore:before{content:"๓ฐฏ"}.mdi-bacteria:before{content:"๓ฐป•"}.mdi-bacteria-outline:before{content:"๓ฐป–"}.mdi-badge-account:before{content:"๓ฐถง"}.mdi-badge-account-alert:before{content:"๓ฐถจ"}.mdi-badge-account-alert-outline:before{content:"๓ฐถฉ"}.mdi-badge-account-horizontal:before{content:"๓ฐธ"}.mdi-badge-account-horizontal-outline:before{content:"๓ฐธŽ"}.mdi-badge-account-outline:before{content:"๓ฐถช"}.mdi-badminton:before{content:"๓ฐก‘"}.mdi-bag-carry-on:before{content:"๓ฐผป"}.mdi-bag-carry-on-check:before{content:"๓ฐตฅ"}.mdi-bag-carry-on-off:before{content:"๓ฐผผ"}.mdi-bag-checked:before{content:"๓ฐผฝ"}.mdi-bag-personal:before{content:"๓ฐธ"}.mdi-bag-personal-off:before{content:"๓ฐธ‘"}.mdi-bag-personal-off-outline:before{content:"๓ฐธ’"}.mdi-bag-personal-outline:before{content:"๓ฐธ“"}.mdi-bag-personal-tag:before{content:"๓ฑฌŒ"}.mdi-bag-personal-tag-outline:before{content:"๓ฑฌ"}.mdi-bag-suitcase:before{content:"๓ฑ–‹"}.mdi-bag-suitcase-off:before{content:"๓ฑ–"}.mdi-bag-suitcase-off-outline:before{content:"๓ฑ–Ž"}.mdi-bag-suitcase-outline:before{content:"๓ฑ–Œ"}.mdi-baguette:before{content:"๓ฐผพ"}.mdi-balcony:before{content:"๓ฑ —"}.mdi-balloon:before{content:"๓ฐจฆ"}.mdi-ballot:before{content:"๓ฐง‰"}.mdi-ballot-outline:before{content:"๓ฐงŠ"}.mdi-ballot-recount:before{content:"๓ฐฐน"}.mdi-ballot-recount-outline:before{content:"๓ฐฐบ"}.mdi-bandage:before{content:"๓ฐถฏ"}.mdi-bank:before{content:"๓ฐฐ"}.mdi-bank-check:before{content:"๓ฑ™•"}.mdi-bank-circle:before{content:"๓ฑฐƒ"}.mdi-bank-circle-outline:before{content:"๓ฑฐ„"}.mdi-bank-minus:before{content:"๓ฐถฐ"}.mdi-bank-off:before{content:"๓ฑ™–"}.mdi-bank-off-outline:before{content:"๓ฑ™—"}.mdi-bank-outline:before{content:"๓ฐบ€"}.mdi-bank-plus:before{content:"๓ฐถฑ"}.mdi-bank-remove:before{content:"๓ฐถฒ"}.mdi-bank-transfer:before{content:"๓ฐจง"}.mdi-bank-transfer-in:before{content:"๓ฐจจ"}.mdi-bank-transfer-out:before{content:"๓ฐจฉ"}.mdi-barcode:before{content:"๓ฐฑ"}.mdi-barcode-off:before{content:"๓ฑˆถ"}.mdi-barcode-scan:before{content:"๓ฐฒ"}.mdi-barley:before{content:"๓ฐณ"}.mdi-barley-off:before{content:"๓ฐญ"}.mdi-barn:before{content:"๓ฐญž"}.mdi-barrel:before{content:"๓ฐด"}.mdi-barrel-outline:before{content:"๓ฑจจ"}.mdi-baseball:before{content:"๓ฐก’"}.mdi-baseball-bat:before{content:"๓ฐก“"}.mdi-baseball-diamond:before{content:"๓ฑ—ฌ"}.mdi-baseball-diamond-outline:before{content:"๓ฑ—ญ"}.mdi-baseball-outline:before{content:"๓ฑฑš"}.mdi-bash:before{content:"๓ฑ†ƒ"}.mdi-basket:before{content:"๓ฐถ"}.mdi-basket-check:before{content:"๓ฑฃฅ"}.mdi-basket-check-outline:before{content:"๓ฑฃฆ"}.mdi-basket-fill:before{content:"๓ฐท"}.mdi-basket-minus:before{content:"๓ฑ”ฃ"}.mdi-basket-minus-outline:before{content:"๓ฑ”ค"}.mdi-basket-off:before{content:"๓ฑ”ฅ"}.mdi-basket-off-outline:before{content:"๓ฑ”ฆ"}.mdi-basket-outline:before{content:"๓ฑ†"}.mdi-basket-plus:before{content:"๓ฑ”ง"}.mdi-basket-plus-outline:before{content:"๓ฑ”จ"}.mdi-basket-remove:before{content:"๓ฑ”ฉ"}.mdi-basket-remove-outline:before{content:"๓ฑ”ช"}.mdi-basket-unfill:before{content:"๓ฐธ"}.mdi-basketball:before{content:"๓ฐ †"}.mdi-basketball-hoop:before{content:"๓ฐฐป"}.mdi-basketball-hoop-outline:before{content:"๓ฐฐผ"}.mdi-bat:before{content:"๓ฐญŸ"}.mdi-bathtub:before{content:"๓ฑ ˜"}.mdi-bathtub-outline:before{content:"๓ฑ ™"}.mdi-battery:before{content:"๓ฐน"}.mdi-battery-10:before{content:"๓ฐบ"}.mdi-battery-10-bluetooth:before{content:"๓ฐคพ"}.mdi-battery-20:before{content:"๓ฐป"}.mdi-battery-20-bluetooth:before{content:"๓ฐคฟ"}.mdi-battery-30:before{content:"๓ฐผ"}.mdi-battery-30-bluetooth:before{content:"๓ฐฅ€"}.mdi-battery-40:before{content:"๓ฐฝ"}.mdi-battery-40-bluetooth:before{content:"๓ฐฅ"}.mdi-battery-50:before{content:"๓ฐพ"}.mdi-battery-50-bluetooth:before{content:"๓ฐฅ‚"}.mdi-battery-60:before{content:"๓ฐฟ"}.mdi-battery-60-bluetooth:before{content:"๓ฐฅƒ"}.mdi-battery-70:before{content:"๓ฐ‚€"}.mdi-battery-70-bluetooth:before{content:"๓ฐฅ„"}.mdi-battery-80:before{content:"๓ฐ‚"}.mdi-battery-80-bluetooth:before{content:"๓ฐฅ…"}.mdi-battery-90:before{content:"๓ฐ‚‚"}.mdi-battery-90-bluetooth:before{content:"๓ฐฅ†"}.mdi-battery-alert:before{content:"๓ฐ‚ƒ"}.mdi-battery-alert-bluetooth:before{content:"๓ฐฅ‡"}.mdi-battery-alert-variant:before{content:"๓ฑƒŒ"}.mdi-battery-alert-variant-outline:before{content:"๓ฑƒ"}.mdi-battery-arrow-down:before{content:"๓ฑŸž"}.mdi-battery-arrow-down-outline:before{content:"๓ฑŸŸ"}.mdi-battery-arrow-up:before{content:"๓ฑŸ "}.mdi-battery-arrow-up-outline:before{content:"๓ฑŸก"}.mdi-battery-bluetooth:before{content:"๓ฐฅˆ"}.mdi-battery-bluetooth-variant:before{content:"๓ฐฅ‰"}.mdi-battery-charging:before{content:"๓ฐ‚„"}.mdi-battery-charging-10:before{content:"๓ฐขœ"}.mdi-battery-charging-100:before{content:"๓ฐ‚…"}.mdi-battery-charging-20:before{content:"๓ฐ‚†"}.mdi-battery-charging-30:before{content:"๓ฐ‚‡"}.mdi-battery-charging-40:before{content:"๓ฐ‚ˆ"}.mdi-battery-charging-50:before{content:"๓ฐข"}.mdi-battery-charging-60:before{content:"๓ฐ‚‰"}.mdi-battery-charging-70:before{content:"๓ฐขž"}.mdi-battery-charging-80:before{content:"๓ฐ‚Š"}.mdi-battery-charging-90:before{content:"๓ฐ‚‹"}.mdi-battery-charging-high:before{content:"๓ฑŠฆ"}.mdi-battery-charging-low:before{content:"๓ฑŠค"}.mdi-battery-charging-medium:before{content:"๓ฑŠฅ"}.mdi-battery-charging-outline:before{content:"๓ฐขŸ"}.mdi-battery-charging-wireless:before{content:"๓ฐ ‡"}.mdi-battery-charging-wireless-10:before{content:"๓ฐ ˆ"}.mdi-battery-charging-wireless-20:before{content:"๓ฐ ‰"}.mdi-battery-charging-wireless-30:before{content:"๓ฐ Š"}.mdi-battery-charging-wireless-40:before{content:"๓ฐ ‹"}.mdi-battery-charging-wireless-50:before{content:"๓ฐ Œ"}.mdi-battery-charging-wireless-60:before{content:"๓ฐ "}.mdi-battery-charging-wireless-70:before{content:"๓ฐ Ž"}.mdi-battery-charging-wireless-80:before{content:"๓ฐ "}.mdi-battery-charging-wireless-90:before{content:"๓ฐ "}.mdi-battery-charging-wireless-alert:before{content:"๓ฐ ‘"}.mdi-battery-charging-wireless-outline:before{content:"๓ฐ ’"}.mdi-battery-check:before{content:"๓ฑŸข"}.mdi-battery-check-outline:before{content:"๓ฑŸฃ"}.mdi-battery-clock:before{content:"๓ฑงฅ"}.mdi-battery-clock-outline:before{content:"๓ฑงฆ"}.mdi-battery-heart:before{content:"๓ฑˆ"}.mdi-battery-heart-outline:before{content:"๓ฑˆ"}.mdi-battery-heart-variant:before{content:"๓ฑˆ‘"}.mdi-battery-high:before{content:"๓ฑŠฃ"}.mdi-battery-lock:before{content:"๓ฑžœ"}.mdi-battery-lock-open:before{content:"๓ฑž"}.mdi-battery-low:before{content:"๓ฑŠก"}.mdi-battery-medium:before{content:"๓ฑŠข"}.mdi-battery-minus:before{content:"๓ฑŸค"}.mdi-battery-minus-outline:before{content:"๓ฑŸฅ"}.mdi-battery-minus-variant:before{content:"๓ฐ‚Œ"}.mdi-battery-negative:before{content:"๓ฐ‚"}.mdi-battery-off:before{content:"๓ฑ‰"}.mdi-battery-off-outline:before{content:"๓ฑ‰ž"}.mdi-battery-outline:before{content:"๓ฐ‚Ž"}.mdi-battery-plus:before{content:"๓ฑŸฆ"}.mdi-battery-plus-outline:before{content:"๓ฑŸง"}.mdi-battery-plus-variant:before{content:"๓ฐ‚"}.mdi-battery-positive:before{content:"๓ฐ‚"}.mdi-battery-remove:before{content:"๓ฑŸจ"}.mdi-battery-remove-outline:before{content:"๓ฑŸฉ"}.mdi-battery-sync:before{content:"๓ฑ ด"}.mdi-battery-sync-outline:before{content:"๓ฑ ต"}.mdi-battery-unknown:before{content:"๓ฐ‚‘"}.mdi-battery-unknown-bluetooth:before{content:"๓ฐฅŠ"}.mdi-beach:before{content:"๓ฐ‚’"}.mdi-beaker:before{content:"๓ฐณช"}.mdi-beaker-alert:before{content:"๓ฑˆฉ"}.mdi-beaker-alert-outline:before{content:"๓ฑˆช"}.mdi-beaker-check:before{content:"๓ฑˆซ"}.mdi-beaker-check-outline:before{content:"๓ฑˆฌ"}.mdi-beaker-minus:before{content:"๓ฑˆญ"}.mdi-beaker-minus-outline:before{content:"๓ฑˆฎ"}.mdi-beaker-outline:before{content:"๓ฐš"}.mdi-beaker-plus:before{content:"๓ฑˆฏ"}.mdi-beaker-plus-outline:before{content:"๓ฑˆฐ"}.mdi-beaker-question:before{content:"๓ฑˆฑ"}.mdi-beaker-question-outline:before{content:"๓ฑˆฒ"}.mdi-beaker-remove:before{content:"๓ฑˆณ"}.mdi-beaker-remove-outline:before{content:"๓ฑˆด"}.mdi-bed:before{content:"๓ฐ‹ฃ"}.mdi-bed-clock:before{content:"๓ฑฎ”"}.mdi-bed-double:before{content:"๓ฐฟ”"}.mdi-bed-double-outline:before{content:"๓ฐฟ“"}.mdi-bed-empty:before{content:"๓ฐข "}.mdi-bed-king:before{content:"๓ฐฟ’"}.mdi-bed-king-outline:before{content:"๓ฐฟ‘"}.mdi-bed-outline:before{content:"๓ฐ‚™"}.mdi-bed-queen:before{content:"๓ฐฟ"}.mdi-bed-queen-outline:before{content:"๓ฐฟ›"}.mdi-bed-single:before{content:"๓ฑญ"}.mdi-bed-single-outline:before{content:"๓ฑฎ"}.mdi-bee:before{content:"๓ฐพก"}.mdi-bee-flower:before{content:"๓ฐพข"}.mdi-beehive-off-outline:before{content:"๓ฑญ"}.mdi-beehive-outline:before{content:"๓ฑƒŽ"}.mdi-beekeeper:before{content:"๓ฑ“ข"}.mdi-beer:before{content:"๓ฐ‚˜"}.mdi-beer-outline:before{content:"๓ฑŒŒ"}.mdi-bell:before{content:"๓ฐ‚š"}.mdi-bell-alert:before{content:"๓ฐต™"}.mdi-bell-alert-outline:before{content:"๓ฐบ"}.mdi-bell-badge:before{content:"๓ฑ…ซ"}.mdi-bell-badge-outline:before{content:"๓ฐ…ธ"}.mdi-bell-cancel:before{content:"๓ฑง"}.mdi-bell-cancel-outline:before{content:"๓ฑจ"}.mdi-bell-check:before{content:"๓ฑ‡ฅ"}.mdi-bell-check-outline:before{content:"๓ฑ‡ฆ"}.mdi-bell-circle:before{content:"๓ฐตš"}.mdi-bell-circle-outline:before{content:"๓ฐต›"}.mdi-bell-cog:before{content:"๓ฑจฉ"}.mdi-bell-cog-outline:before{content:"๓ฑจช"}.mdi-bell-minus:before{content:"๓ฑฉ"}.mdi-bell-minus-outline:before{content:"๓ฑช"}.mdi-bell-off:before{content:"๓ฐ‚›"}.mdi-bell-off-outline:before{content:"๓ฐช‘"}.mdi-bell-outline:before{content:"๓ฐ‚œ"}.mdi-bell-plus:before{content:"๓ฐ‚"}.mdi-bell-plus-outline:before{content:"๓ฐช’"}.mdi-bell-remove:before{content:"๓ฑซ"}.mdi-bell-remove-outline:before{content:"๓ฑฌ"}.mdi-bell-ring:before{content:"๓ฐ‚ž"}.mdi-bell-ring-outline:before{content:"๓ฐ‚Ÿ"}.mdi-bell-sleep:before{content:"๓ฐ‚ "}.mdi-bell-sleep-outline:before{content:"๓ฐช“"}.mdi-bench:before{content:"๓ฑฐก"}.mdi-bench-back:before{content:"๓ฑฐข"}.mdi-beta:before{content:"๓ฐ‚ก"}.mdi-betamax:before{content:"๓ฐง‹"}.mdi-biathlon:before{content:"๓ฐธ”"}.mdi-bicycle:before{content:"๓ฑ‚œ"}.mdi-bicycle-basket:before{content:"๓ฑˆต"}.mdi-bicycle-cargo:before{content:"๓ฑขœ"}.mdi-bicycle-electric:before{content:"๓ฑ–ด"}.mdi-bicycle-penny-farthing:before{content:"๓ฑ—ฉ"}.mdi-bike:before{content:"๓ฐ‚ฃ"}.mdi-bike-fast:before{content:"๓ฑ„Ÿ"}.mdi-bike-pedal:before{content:"๓ฑฐฃ"}.mdi-bike-pedal-clipless:before{content:"๓ฑฐค"}.mdi-bike-pedal-mountain:before{content:"๓ฑฐฅ"}.mdi-billboard:before{content:"๓ฑ€"}.mdi-billiards:before{content:"๓ฐญก"}.mdi-billiards-rack:before{content:"๓ฐญข"}.mdi-binoculars:before{content:"๓ฐ‚ฅ"}.mdi-bio:before{content:"๓ฐ‚ฆ"}.mdi-biohazard:before{content:"๓ฐ‚ง"}.mdi-bird:before{content:"๓ฑ—†"}.mdi-bitbucket:before{content:"๓ฐ‚จ"}.mdi-bitcoin:before{content:"๓ฐ “"}.mdi-black-mesa:before{content:"๓ฐ‚ฉ"}.mdi-blender:before{content:"๓ฐณซ"}.mdi-blender-outline:before{content:"๓ฑ š"}.mdi-blender-software:before{content:"๓ฐ‚ซ"}.mdi-blinds:before{content:"๓ฐ‚ฌ"}.mdi-blinds-horizontal:before{content:"๓ฑจซ"}.mdi-blinds-horizontal-closed:before{content:"๓ฑจฌ"}.mdi-blinds-open:before{content:"๓ฑ€‘"}.mdi-blinds-vertical:before{content:"๓ฑจญ"}.mdi-blinds-vertical-closed:before{content:"๓ฑจฎ"}.mdi-block-helper:before{content:"๓ฐ‚ญ"}.mdi-blood-bag:before{content:"๓ฐณฌ"}.mdi-bluetooth:before{content:"๓ฐ‚ฏ"}.mdi-bluetooth-audio:before{content:"๓ฐ‚ฐ"}.mdi-bluetooth-connect:before{content:"๓ฐ‚ฑ"}.mdi-bluetooth-off:before{content:"๓ฐ‚ฒ"}.mdi-bluetooth-settings:before{content:"๓ฐ‚ณ"}.mdi-bluetooth-transfer:before{content:"๓ฐ‚ด"}.mdi-blur:before{content:"๓ฐ‚ต"}.mdi-blur-linear:before{content:"๓ฐ‚ถ"}.mdi-blur-off:before{content:"๓ฐ‚ท"}.mdi-blur-radial:before{content:"๓ฐ‚ธ"}.mdi-bolt:before{content:"๓ฐถณ"}.mdi-bomb:before{content:"๓ฐš‘"}.mdi-bomb-off:before{content:"๓ฐ›…"}.mdi-bone:before{content:"๓ฐ‚น"}.mdi-bone-off:before{content:"๓ฑง "}.mdi-book:before{content:"๓ฐ‚บ"}.mdi-book-account:before{content:"๓ฑŽญ"}.mdi-book-account-outline:before{content:"๓ฑŽฎ"}.mdi-book-alert:before{content:"๓ฑ™ผ"}.mdi-book-alert-outline:before{content:"๓ฑ™ฝ"}.mdi-book-alphabet:before{content:"๓ฐ˜"}.mdi-book-arrow-down:before{content:"๓ฑ™พ"}.mdi-book-arrow-down-outline:before{content:"๓ฑ™ฟ"}.mdi-book-arrow-left:before{content:"๓ฑš€"}.mdi-book-arrow-left-outline:before{content:"๓ฑš"}.mdi-book-arrow-right:before{content:"๓ฑš‚"}.mdi-book-arrow-right-outline:before{content:"๓ฑšƒ"}.mdi-book-arrow-up:before{content:"๓ฑš„"}.mdi-book-arrow-up-outline:before{content:"๓ฑš…"}.mdi-book-cancel:before{content:"๓ฑš†"}.mdi-book-cancel-outline:before{content:"๓ฑš‡"}.mdi-book-check:before{content:"๓ฑ“ณ"}.mdi-book-check-outline:before{content:"๓ฑ“ด"}.mdi-book-clock:before{content:"๓ฑšˆ"}.mdi-book-clock-outline:before{content:"๓ฑš‰"}.mdi-book-cog:before{content:"๓ฑšŠ"}.mdi-book-cog-outline:before{content:"๓ฑš‹"}.mdi-book-cross:before{content:"๓ฐ‚ข"}.mdi-book-edit:before{content:"๓ฑšŒ"}.mdi-book-edit-outline:before{content:"๓ฑš"}.mdi-book-education:before{content:"๓ฑ›‰"}.mdi-book-education-outline:before{content:"๓ฑ›Š"}.mdi-book-heart:before{content:"๓ฑจ"}.mdi-book-heart-outline:before{content:"๓ฑจž"}.mdi-book-information-variant:before{content:"๓ฑฏ"}.mdi-book-lock:before{content:"๓ฐžš"}.mdi-book-lock-open:before{content:"๓ฐž›"}.mdi-book-lock-open-outline:before{content:"๓ฑšŽ"}.mdi-book-lock-outline:before{content:"๓ฑš"}.mdi-book-marker:before{content:"๓ฑš"}.mdi-book-marker-outline:before{content:"๓ฑš‘"}.mdi-book-minus:before{content:"๓ฐ—™"}.mdi-book-minus-multiple:before{content:"๓ฐช”"}.mdi-book-minus-multiple-outline:before{content:"๓ฐค‹"}.mdi-book-minus-outline:before{content:"๓ฑš’"}.mdi-book-multiple:before{content:"๓ฐ‚ป"}.mdi-book-multiple-outline:before{content:"๓ฐถ"}.mdi-book-music:before{content:"๓ฐง"}.mdi-book-music-outline:before{content:"๓ฑš“"}.mdi-book-off:before{content:"๓ฑš”"}.mdi-book-off-outline:before{content:"๓ฑš•"}.mdi-book-open:before{content:"๓ฐ‚ฝ"}.mdi-book-open-blank-variant:before{content:"๓ฐ‚พ"}.mdi-book-open-outline:before{content:"๓ฐญฃ"}.mdi-book-open-page-variant:before{content:"๓ฐ—š"}.mdi-book-open-page-variant-outline:before{content:"๓ฑ—–"}.mdi-book-open-variant:before{content:"๓ฑ“ท"}.mdi-book-outline:before{content:"๓ฐญค"}.mdi-book-play:before{content:"๓ฐบ‚"}.mdi-book-play-outline:before{content:"๓ฐบƒ"}.mdi-book-plus:before{content:"๓ฐ—›"}.mdi-book-plus-multiple:before{content:"๓ฐช•"}.mdi-book-plus-multiple-outline:before{content:"๓ฐซž"}.mdi-book-plus-outline:before{content:"๓ฑš–"}.mdi-book-refresh:before{content:"๓ฑš—"}.mdi-book-refresh-outline:before{content:"๓ฑš˜"}.mdi-book-remove:before{content:"๓ฐช—"}.mdi-book-remove-multiple:before{content:"๓ฐช–"}.mdi-book-remove-multiple-outline:before{content:"๓ฐ“Š"}.mdi-book-remove-outline:before{content:"๓ฑš™"}.mdi-book-search:before{content:"๓ฐบ„"}.mdi-book-search-outline:before{content:"๓ฐบ…"}.mdi-book-settings:before{content:"๓ฑšš"}.mdi-book-settings-outline:before{content:"๓ฑš›"}.mdi-book-sync:before{content:"๓ฑšœ"}.mdi-book-sync-outline:before{content:"๓ฑ›ˆ"}.mdi-book-variant:before{content:"๓ฐ‚ฟ"}.mdi-bookmark:before{content:"๓ฐƒ€"}.mdi-bookmark-box:before{content:"๓ฑญต"}.mdi-bookmark-box-multiple:before{content:"๓ฑฅฌ"}.mdi-bookmark-box-multiple-outline:before{content:"๓ฑฅญ"}.mdi-bookmark-box-outline:before{content:"๓ฑญถ"}.mdi-bookmark-check:before{content:"๓ฐƒ"}.mdi-bookmark-check-outline:before{content:"๓ฑป"}.mdi-bookmark-minus:before{content:"๓ฐงŒ"}.mdi-bookmark-minus-outline:before{content:"๓ฐง"}.mdi-bookmark-multiple:before{content:"๓ฐธ•"}.mdi-bookmark-multiple-outline:before{content:"๓ฐธ–"}.mdi-bookmark-music:before{content:"๓ฐƒ‚"}.mdi-bookmark-music-outline:before{content:"๓ฑน"}.mdi-bookmark-off:before{content:"๓ฐงŽ"}.mdi-bookmark-off-outline:before{content:"๓ฐง"}.mdi-bookmark-outline:before{content:"๓ฐƒƒ"}.mdi-bookmark-plus:before{content:"๓ฐƒ…"}.mdi-bookmark-plus-outline:before{content:"๓ฐƒ„"}.mdi-bookmark-remove:before{content:"๓ฐƒ†"}.mdi-bookmark-remove-outline:before{content:"๓ฑบ"}.mdi-bookshelf:before{content:"๓ฑ‰Ÿ"}.mdi-boom-gate:before{content:"๓ฐบ†"}.mdi-boom-gate-alert:before{content:"๓ฐบ‡"}.mdi-boom-gate-alert-outline:before{content:"๓ฐบˆ"}.mdi-boom-gate-arrow-down:before{content:"๓ฐบ‰"}.mdi-boom-gate-arrow-down-outline:before{content:"๓ฐบŠ"}.mdi-boom-gate-arrow-up:before{content:"๓ฐบŒ"}.mdi-boom-gate-arrow-up-outline:before{content:"๓ฐบ"}.mdi-boom-gate-outline:before{content:"๓ฐบ‹"}.mdi-boom-gate-up:before{content:"๓ฑŸน"}.mdi-boom-gate-up-outline:before{content:"๓ฑŸบ"}.mdi-boombox:before{content:"๓ฐ—œ"}.mdi-boomerang:before{content:"๓ฑƒ"}.mdi-bootstrap:before{content:"๓ฐ›†"}.mdi-border-all:before{content:"๓ฐƒ‡"}.mdi-border-all-variant:before{content:"๓ฐขก"}.mdi-border-bottom:before{content:"๓ฐƒˆ"}.mdi-border-bottom-variant:before{content:"๓ฐขข"}.mdi-border-color:before{content:"๓ฐƒ‰"}.mdi-border-horizontal:before{content:"๓ฐƒŠ"}.mdi-border-inside:before{content:"๓ฐƒ‹"}.mdi-border-left:before{content:"๓ฐƒŒ"}.mdi-border-left-variant:before{content:"๓ฐขฃ"}.mdi-border-none:before{content:"๓ฐƒ"}.mdi-border-none-variant:before{content:"๓ฐขค"}.mdi-border-outside:before{content:"๓ฐƒŽ"}.mdi-border-radius:before{content:"๓ฑซด"}.mdi-border-right:before{content:"๓ฐƒ"}.mdi-border-right-variant:before{content:"๓ฐขฅ"}.mdi-border-style:before{content:"๓ฐƒ"}.mdi-border-top:before{content:"๓ฐƒ‘"}.mdi-border-top-variant:before{content:"๓ฐขฆ"}.mdi-border-vertical:before{content:"๓ฐƒ’"}.mdi-bottle-soda:before{content:"๓ฑฐ"}.mdi-bottle-soda-classic:before{content:"๓ฑฑ"}.mdi-bottle-soda-classic-outline:before{content:"๓ฑฃ"}.mdi-bottle-soda-outline:before{content:"๓ฑฒ"}.mdi-bottle-tonic:before{content:"๓ฑ„ฎ"}.mdi-bottle-tonic-outline:before{content:"๓ฑ„ฏ"}.mdi-bottle-tonic-plus:before{content:"๓ฑ„ฐ"}.mdi-bottle-tonic-plus-outline:before{content:"๓ฑ„ฑ"}.mdi-bottle-tonic-skull:before{content:"๓ฑ„ฒ"}.mdi-bottle-tonic-skull-outline:before{content:"๓ฑ„ณ"}.mdi-bottle-wine:before{content:"๓ฐก”"}.mdi-bottle-wine-outline:before{content:"๓ฑŒ"}.mdi-bow-arrow:before{content:"๓ฑก"}.mdi-bow-tie:before{content:"๓ฐ™ธ"}.mdi-bowl:before{content:"๓ฐŠŽ"}.mdi-bowl-mix:before{content:"๓ฐ˜—"}.mdi-bowl-mix-outline:before{content:"๓ฐ‹ค"}.mdi-bowl-outline:before{content:"๓ฐŠฉ"}.mdi-bowling:before{content:"๓ฐƒ“"}.mdi-box:before{content:"๓ฐƒ”"}.mdi-box-cutter:before{content:"๓ฐƒ•"}.mdi-box-cutter-off:before{content:"๓ฐญŠ"}.mdi-box-shadow:before{content:"๓ฐ˜ท"}.mdi-boxing-glove:before{content:"๓ฐญฅ"}.mdi-braille:before{content:"๓ฐง"}.mdi-brain:before{content:"๓ฐง‘"}.mdi-bread-slice:before{content:"๓ฐณฎ"}.mdi-bread-slice-outline:before{content:"๓ฐณฏ"}.mdi-bridge:before{content:"๓ฐ˜˜"}.mdi-briefcase:before{content:"๓ฐƒ–"}.mdi-briefcase-account:before{content:"๓ฐณฐ"}.mdi-briefcase-account-outline:before{content:"๓ฐณฑ"}.mdi-briefcase-arrow-left-right:before{content:"๓ฑช"}.mdi-briefcase-arrow-left-right-outline:before{content:"๓ฑชŽ"}.mdi-briefcase-arrow-up-down:before{content:"๓ฑช"}.mdi-briefcase-arrow-up-down-outline:before{content:"๓ฑช"}.mdi-briefcase-check:before{content:"๓ฐƒ—"}.mdi-briefcase-check-outline:before{content:"๓ฑŒž"}.mdi-briefcase-clock:before{content:"๓ฑƒ"}.mdi-briefcase-clock-outline:before{content:"๓ฑƒ‘"}.mdi-briefcase-download:before{content:"๓ฐƒ˜"}.mdi-briefcase-download-outline:before{content:"๓ฐฐฝ"}.mdi-briefcase-edit:before{content:"๓ฐช˜"}.mdi-briefcase-edit-outline:before{content:"๓ฐฐพ"}.mdi-briefcase-eye:before{content:"๓ฑŸ™"}.mdi-briefcase-eye-outline:before{content:"๓ฑŸš"}.mdi-briefcase-minus:before{content:"๓ฐจช"}.mdi-briefcase-minus-outline:before{content:"๓ฐฐฟ"}.mdi-briefcase-off:before{content:"๓ฑ™˜"}.mdi-briefcase-off-outline:before{content:"๓ฑ™™"}.mdi-briefcase-outline:before{content:"๓ฐ ”"}.mdi-briefcase-plus:before{content:"๓ฐจซ"}.mdi-briefcase-plus-outline:before{content:"๓ฐฑ€"}.mdi-briefcase-remove:before{content:"๓ฐจฌ"}.mdi-briefcase-remove-outline:before{content:"๓ฐฑ"}.mdi-briefcase-search:before{content:"๓ฐจญ"}.mdi-briefcase-search-outline:before{content:"๓ฐฑ‚"}.mdi-briefcase-upload:before{content:"๓ฐƒ™"}.mdi-briefcase-upload-outline:before{content:"๓ฐฑƒ"}.mdi-briefcase-variant:before{content:"๓ฑ’”"}.mdi-briefcase-variant-off:before{content:"๓ฑ™š"}.mdi-briefcase-variant-off-outline:before{content:"๓ฑ™›"}.mdi-briefcase-variant-outline:before{content:"๓ฑ’•"}.mdi-brightness-1:before{content:"๓ฐƒš"}.mdi-brightness-2:before{content:"๓ฐƒ›"}.mdi-brightness-3:before{content:"๓ฐƒœ"}.mdi-brightness-4:before{content:"๓ฐƒ"}.mdi-brightness-5:before{content:"๓ฐƒž"}.mdi-brightness-6:before{content:"๓ฐƒŸ"}.mdi-brightness-7:before{content:"๓ฐƒ "}.mdi-brightness-auto:before{content:"๓ฐƒก"}.mdi-brightness-percent:before{content:"๓ฐณฒ"}.mdi-broadcast:before{content:"๓ฑœ "}.mdi-broadcast-off:before{content:"๓ฑœก"}.mdi-broom:before{content:"๓ฐƒข"}.mdi-brush:before{content:"๓ฐƒฃ"}.mdi-brush-off:before{content:"๓ฑฑ"}.mdi-brush-outline:before{content:"๓ฑจ"}.mdi-brush-variant:before{content:"๓ฑ “"}.mdi-bucket:before{content:"๓ฑ•"}.mdi-bucket-outline:before{content:"๓ฑ–"}.mdi-buffet:before{content:"๓ฐ•ธ"}.mdi-bug:before{content:"๓ฐƒค"}.mdi-bug-check:before{content:"๓ฐจฎ"}.mdi-bug-check-outline:before{content:"๓ฐจฏ"}.mdi-bug-outline:before{content:"๓ฐจฐ"}.mdi-bug-pause:before{content:"๓ฑซต"}.mdi-bug-pause-outline:before{content:"๓ฑซถ"}.mdi-bug-play:before{content:"๓ฑซท"}.mdi-bug-play-outline:before{content:"๓ฑซธ"}.mdi-bug-stop:before{content:"๓ฑซน"}.mdi-bug-stop-outline:before{content:"๓ฑซบ"}.mdi-bugle:before{content:"๓ฐถด"}.mdi-bulkhead-light:before{content:"๓ฑจฏ"}.mdi-bulldozer:before{content:"๓ฐฌข"}.mdi-bullet:before{content:"๓ฐณณ"}.mdi-bulletin-board:before{content:"๓ฐƒฅ"}.mdi-bullhorn:before{content:"๓ฐƒฆ"}.mdi-bullhorn-outline:before{content:"๓ฐฌฃ"}.mdi-bullhorn-variant:before{content:"๓ฑฅฎ"}.mdi-bullhorn-variant-outline:before{content:"๓ฑฅฏ"}.mdi-bullseye:before{content:"๓ฐ—"}.mdi-bullseye-arrow:before{content:"๓ฐฃ‰"}.mdi-bulma:before{content:"๓ฑ‹ง"}.mdi-bunk-bed:before{content:"๓ฑŒ‚"}.mdi-bunk-bed-outline:before{content:"๓ฐ‚—"}.mdi-bus:before{content:"๓ฐƒง"}.mdi-bus-alert:before{content:"๓ฐช™"}.mdi-bus-articulated-end:before{content:"๓ฐžœ"}.mdi-bus-articulated-front:before{content:"๓ฐž"}.mdi-bus-clock:before{content:"๓ฐฃŠ"}.mdi-bus-double-decker:before{content:"๓ฐžž"}.mdi-bus-electric:before{content:"๓ฑค"}.mdi-bus-marker:before{content:"๓ฑˆ’"}.mdi-bus-multiple:before{content:"๓ฐผฟ"}.mdi-bus-school:before{content:"๓ฐžŸ"}.mdi-bus-side:before{content:"๓ฐž "}.mdi-bus-stop:before{content:"๓ฑ€’"}.mdi-bus-stop-covered:before{content:"๓ฑ€“"}.mdi-bus-stop-uncovered:before{content:"๓ฑ€”"}.mdi-butterfly:before{content:"๓ฑ–‰"}.mdi-butterfly-outline:before{content:"๓ฑ–Š"}.mdi-button-cursor:before{content:"๓ฑญ"}.mdi-button-pointer:before{content:"๓ฑญ"}.mdi-cabin-a-frame:before{content:"๓ฑขŒ"}.mdi-cable-data:before{content:"๓ฑŽ”"}.mdi-cached:before{content:"๓ฐƒจ"}.mdi-cactus:before{content:"๓ฐถต"}.mdi-cake:before{content:"๓ฐƒฉ"}.mdi-cake-layered:before{content:"๓ฐƒช"}.mdi-cake-variant:before{content:"๓ฐƒซ"}.mdi-cake-variant-outline:before{content:"๓ฑŸฐ"}.mdi-calculator:before{content:"๓ฐƒฌ"}.mdi-calculator-variant:before{content:"๓ฐชš"}.mdi-calculator-variant-outline:before{content:"๓ฑ–ฆ"}.mdi-calendar:before{content:"๓ฐƒญ"}.mdi-calendar-account:before{content:"๓ฐป—"}.mdi-calendar-account-outline:before{content:"๓ฐป˜"}.mdi-calendar-alert:before{content:"๓ฐจฑ"}.mdi-calendar-alert-outline:before{content:"๓ฑญข"}.mdi-calendar-arrow-left:before{content:"๓ฑ„ด"}.mdi-calendar-arrow-right:before{content:"๓ฑ„ต"}.mdi-calendar-badge:before{content:"๓ฑฎ"}.mdi-calendar-badge-outline:before{content:"๓ฑฎž"}.mdi-calendar-blank:before{content:"๓ฐƒฎ"}.mdi-calendar-blank-multiple:before{content:"๓ฑณ"}.mdi-calendar-blank-outline:before{content:"๓ฐญฆ"}.mdi-calendar-check:before{content:"๓ฐƒฏ"}.mdi-calendar-check-outline:before{content:"๓ฐฑ„"}.mdi-calendar-clock:before{content:"๓ฐƒฐ"}.mdi-calendar-clock-outline:before{content:"๓ฑ›ก"}.mdi-calendar-collapse-horizontal:before{content:"๓ฑข"}.mdi-calendar-collapse-horizontal-outline:before{content:"๓ฑญฃ"}.mdi-calendar-cursor:before{content:"๓ฑ•ป"}.mdi-calendar-cursor-outline:before{content:"๓ฑญค"}.mdi-calendar-edit:before{content:"๓ฐขง"}.mdi-calendar-edit-outline:before{content:"๓ฑญฅ"}.mdi-calendar-end:before{content:"๓ฑ™ฌ"}.mdi-calendar-end-outline:before{content:"๓ฑญฆ"}.mdi-calendar-expand-horizontal:before{content:"๓ฑขž"}.mdi-calendar-expand-horizontal-outline:before{content:"๓ฑญง"}.mdi-calendar-export:before{content:"๓ฐฌค"}.mdi-calendar-export-outline:before{content:"๓ฑญจ"}.mdi-calendar-filter:before{content:"๓ฑจฒ"}.mdi-calendar-filter-outline:before{content:"๓ฑจณ"}.mdi-calendar-heart:before{content:"๓ฐง’"}.mdi-calendar-heart-outline:before{content:"๓ฑญฉ"}.mdi-calendar-import:before{content:"๓ฐฌฅ"}.mdi-calendar-import-outline:before{content:"๓ฑญช"}.mdi-calendar-lock:before{content:"๓ฑ™"}.mdi-calendar-lock-open:before{content:"๓ฑญ›"}.mdi-calendar-lock-open-outline:before{content:"๓ฑญœ"}.mdi-calendar-lock-outline:before{content:"๓ฑ™‚"}.mdi-calendar-minus:before{content:"๓ฐตœ"}.mdi-calendar-minus-outline:before{content:"๓ฑญซ"}.mdi-calendar-month:before{content:"๓ฐธ—"}.mdi-calendar-month-outline:before{content:"๓ฐธ˜"}.mdi-calendar-multiple:before{content:"๓ฐƒฑ"}.mdi-calendar-multiple-check:before{content:"๓ฐƒฒ"}.mdi-calendar-multiselect:before{content:"๓ฐจฒ"}.mdi-calendar-multiselect-outline:before{content:"๓ฑญ•"}.mdi-calendar-outline:before{content:"๓ฐญง"}.mdi-calendar-plus:before{content:"๓ฐƒณ"}.mdi-calendar-plus-outline:before{content:"๓ฑญฌ"}.mdi-calendar-question:before{content:"๓ฐš’"}.mdi-calendar-question-outline:before{content:"๓ฑญญ"}.mdi-calendar-range:before{content:"๓ฐ™น"}.mdi-calendar-range-outline:before{content:"๓ฐญจ"}.mdi-calendar-refresh:before{content:"๓ฐ‡ก"}.mdi-calendar-refresh-outline:before{content:"๓ฐˆƒ"}.mdi-calendar-remove:before{content:"๓ฐƒด"}.mdi-calendar-remove-outline:before{content:"๓ฐฑ…"}.mdi-calendar-search:before{content:"๓ฐฅŒ"}.mdi-calendar-search-outline:before{content:"๓ฑญฎ"}.mdi-calendar-star:before{content:"๓ฐง“"}.mdi-calendar-star-four-points:before{content:"๓ฑฐŸ"}.mdi-calendar-star-outline:before{content:"๓ฑญ“"}.mdi-calendar-start:before{content:"๓ฑ™ญ"}.mdi-calendar-start-outline:before{content:"๓ฑญฏ"}.mdi-calendar-sync:before{content:"๓ฐบŽ"}.mdi-calendar-sync-outline:before{content:"๓ฐบ"}.mdi-calendar-text:before{content:"๓ฐƒต"}.mdi-calendar-text-outline:before{content:"๓ฐฑ†"}.mdi-calendar-today:before{content:"๓ฐƒถ"}.mdi-calendar-today-outline:before{content:"๓ฑจฐ"}.mdi-calendar-week:before{content:"๓ฐจณ"}.mdi-calendar-week-begin:before{content:"๓ฐจด"}.mdi-calendar-week-begin-outline:before{content:"๓ฑจฑ"}.mdi-calendar-week-outline:before{content:"๓ฑจด"}.mdi-calendar-weekend:before{content:"๓ฐป™"}.mdi-calendar-weekend-outline:before{content:"๓ฐปš"}.mdi-call-made:before{content:"๓ฐƒท"}.mdi-call-merge:before{content:"๓ฐƒธ"}.mdi-call-missed:before{content:"๓ฐƒน"}.mdi-call-received:before{content:"๓ฐƒบ"}.mdi-call-split:before{content:"๓ฐƒป"}.mdi-camcorder:before{content:"๓ฐƒผ"}.mdi-camcorder-off:before{content:"๓ฐƒฟ"}.mdi-camera:before{content:"๓ฐ„€"}.mdi-camera-account:before{content:"๓ฐฃ‹"}.mdi-camera-burst:before{content:"๓ฐš“"}.mdi-camera-control:before{content:"๓ฐญฉ"}.mdi-camera-document:before{content:"๓ฑกฑ"}.mdi-camera-document-off:before{content:"๓ฑกฒ"}.mdi-camera-enhance:before{content:"๓ฐ„"}.mdi-camera-enhance-outline:before{content:"๓ฐญช"}.mdi-camera-flip:before{content:"๓ฑ—™"}.mdi-camera-flip-outline:before{content:"๓ฑ—š"}.mdi-camera-front:before{content:"๓ฐ„‚"}.mdi-camera-front-variant:before{content:"๓ฐ„ƒ"}.mdi-camera-gopro:before{content:"๓ฐžก"}.mdi-camera-image:before{content:"๓ฐฃŒ"}.mdi-camera-iris:before{content:"๓ฐ„„"}.mdi-camera-lock:before{content:"๓ฑจ”"}.mdi-camera-lock-open:before{content:"๓ฑฐ"}.mdi-camera-lock-open-outline:before{content:"๓ฑฐŽ"}.mdi-camera-lock-outline:before{content:"๓ฑจ•"}.mdi-camera-marker:before{content:"๓ฑฆง"}.mdi-camera-marker-outline:before{content:"๓ฑฆจ"}.mdi-camera-metering-center:before{content:"๓ฐžข"}.mdi-camera-metering-matrix:before{content:"๓ฐžฃ"}.mdi-camera-metering-partial:before{content:"๓ฐžค"}.mdi-camera-metering-spot:before{content:"๓ฐžฅ"}.mdi-camera-off:before{content:"๓ฐ—Ÿ"}.mdi-camera-off-outline:before{content:"๓ฑฆฟ"}.mdi-camera-outline:before{content:"๓ฐต"}.mdi-camera-party-mode:before{content:"๓ฐ„…"}.mdi-camera-plus:before{content:"๓ฐป›"}.mdi-camera-plus-outline:before{content:"๓ฐปœ"}.mdi-camera-rear:before{content:"๓ฐ„†"}.mdi-camera-rear-variant:before{content:"๓ฐ„‡"}.mdi-camera-retake:before{content:"๓ฐธ™"}.mdi-camera-retake-outline:before{content:"๓ฐธš"}.mdi-camera-switch:before{content:"๓ฐ„ˆ"}.mdi-camera-switch-outline:before{content:"๓ฐกŠ"}.mdi-camera-timer:before{content:"๓ฐ„‰"}.mdi-camera-wireless:before{content:"๓ฐถถ"}.mdi-camera-wireless-outline:before{content:"๓ฐถท"}.mdi-campfire:before{content:"๓ฐป"}.mdi-cancel:before{content:"๓ฐœบ"}.mdi-candelabra:before{content:"๓ฑŸ’"}.mdi-candelabra-fire:before{content:"๓ฑŸ“"}.mdi-candle:before{content:"๓ฐ—ข"}.mdi-candy:before{content:"๓ฑฅฐ"}.mdi-candy-off:before{content:"๓ฑฅฑ"}.mdi-candy-off-outline:before{content:"๓ฑฅฒ"}.mdi-candy-outline:before{content:"๓ฑฅณ"}.mdi-candycane:before{content:"๓ฐ„Š"}.mdi-cannabis:before{content:"๓ฐžฆ"}.mdi-cannabis-off:before{content:"๓ฑ™ฎ"}.mdi-caps-lock:before{content:"๓ฐช›"}.mdi-car:before{content:"๓ฐ„‹"}.mdi-car-2-plus:before{content:"๓ฑ€•"}.mdi-car-3-plus:before{content:"๓ฑ€–"}.mdi-car-arrow-left:before{content:"๓ฑŽฒ"}.mdi-car-arrow-right:before{content:"๓ฑŽณ"}.mdi-car-back:before{content:"๓ฐธ›"}.mdi-car-battery:before{content:"๓ฐ„Œ"}.mdi-car-brake-abs:before{content:"๓ฐฑ‡"}.mdi-car-brake-alert:before{content:"๓ฐฑˆ"}.mdi-car-brake-fluid-level:before{content:"๓ฑค‰"}.mdi-car-brake-hold:before{content:"๓ฐตž"}.mdi-car-brake-low-pressure:before{content:"๓ฑคŠ"}.mdi-car-brake-parking:before{content:"๓ฐตŸ"}.mdi-car-brake-retarder:before{content:"๓ฑ€—"}.mdi-car-brake-temperature:before{content:"๓ฑค‹"}.mdi-car-brake-worn-linings:before{content:"๓ฑคŒ"}.mdi-car-child-seat:before{content:"๓ฐพฃ"}.mdi-car-clock:before{content:"๓ฑฅด"}.mdi-car-clutch:before{content:"๓ฑ€˜"}.mdi-car-cog:before{content:"๓ฑŒ"}.mdi-car-connected:before{content:"๓ฐ„"}.mdi-car-convertible:before{content:"๓ฐžง"}.mdi-car-coolant-level:before{content:"๓ฑ€™"}.mdi-car-cruise-control:before{content:"๓ฐต "}.mdi-car-defrost-front:before{content:"๓ฐตก"}.mdi-car-defrost-rear:before{content:"๓ฐตข"}.mdi-car-door:before{content:"๓ฐญซ"}.mdi-car-door-lock:before{content:"๓ฑ‚"}.mdi-car-electric:before{content:"๓ฐญฌ"}.mdi-car-electric-outline:before{content:"๓ฑ–ต"}.mdi-car-emergency:before{content:"๓ฑ˜"}.mdi-car-esp:before{content:"๓ฐฑ‰"}.mdi-car-estate:before{content:"๓ฐžจ"}.mdi-car-hatchback:before{content:"๓ฐžฉ"}.mdi-car-info:before{content:"๓ฑ†พ"}.mdi-car-key:before{content:"๓ฐญญ"}.mdi-car-lifted-pickup:before{content:"๓ฑ”ญ"}.mdi-car-light-alert:before{content:"๓ฑค"}.mdi-car-light-dimmed:before{content:"๓ฐฑŠ"}.mdi-car-light-fog:before{content:"๓ฐฑ‹"}.mdi-car-light-high:before{content:"๓ฐฑŒ"}.mdi-car-limousine:before{content:"๓ฐฃ"}.mdi-car-multiple:before{content:"๓ฐญฎ"}.mdi-car-off:before{content:"๓ฐธœ"}.mdi-car-outline:before{content:"๓ฑ“ญ"}.mdi-car-parking-lights:before{content:"๓ฐตฃ"}.mdi-car-pickup:before{content:"๓ฐžช"}.mdi-car-search:before{content:"๓ฑฎ"}.mdi-car-search-outline:before{content:"๓ฑฎŽ"}.mdi-car-seat:before{content:"๓ฐพค"}.mdi-car-seat-cooler:before{content:"๓ฐพฅ"}.mdi-car-seat-heater:before{content:"๓ฐพฆ"}.mdi-car-select:before{content:"๓ฑกน"}.mdi-car-settings:before{content:"๓ฑ"}.mdi-car-shift-pattern:before{content:"๓ฐฝ€"}.mdi-car-side:before{content:"๓ฐžซ"}.mdi-car-speed-limiter:before{content:"๓ฑคŽ"}.mdi-car-sports:before{content:"๓ฐžฌ"}.mdi-car-tire-alert:before{content:"๓ฐฑ"}.mdi-car-traction-control:before{content:"๓ฐตค"}.mdi-car-turbocharger:before{content:"๓ฑ€š"}.mdi-car-wash:before{content:"๓ฐ„Ž"}.mdi-car-windshield:before{content:"๓ฑ€›"}.mdi-car-windshield-outline:before{content:"๓ฑ€œ"}.mdi-car-wireless:before{content:"๓ฑกธ"}.mdi-car-wrench:before{content:"๓ฑ ”"}.mdi-carabiner:before{content:"๓ฑ“€"}.mdi-caravan:before{content:"๓ฐžญ"}.mdi-card:before{content:"๓ฐญฏ"}.mdi-card-account-details:before{content:"๓ฐ—’"}.mdi-card-account-details-outline:before{content:"๓ฐถซ"}.mdi-card-account-details-star:before{content:"๓ฐŠฃ"}.mdi-card-account-details-star-outline:before{content:"๓ฐ››"}.mdi-card-account-mail:before{content:"๓ฐ†Ž"}.mdi-card-account-mail-outline:before{content:"๓ฐบ˜"}.mdi-card-account-phone:before{content:"๓ฐบ™"}.mdi-card-account-phone-outline:before{content:"๓ฐบš"}.mdi-card-bulleted:before{content:"๓ฐญฐ"}.mdi-card-bulleted-off:before{content:"๓ฐญฑ"}.mdi-card-bulleted-off-outline:before{content:"๓ฐญฒ"}.mdi-card-bulleted-outline:before{content:"๓ฐญณ"}.mdi-card-bulleted-settings:before{content:"๓ฐญด"}.mdi-card-bulleted-settings-outline:before{content:"๓ฐญต"}.mdi-card-minus:before{content:"๓ฑ˜€"}.mdi-card-minus-outline:before{content:"๓ฑ˜"}.mdi-card-multiple:before{content:"๓ฑŸฑ"}.mdi-card-multiple-outline:before{content:"๓ฑŸฒ"}.mdi-card-off:before{content:"๓ฑ˜‚"}.mdi-card-off-outline:before{content:"๓ฑ˜ƒ"}.mdi-card-outline:before{content:"๓ฐญถ"}.mdi-card-plus:before{content:"๓ฑ‡ฟ"}.mdi-card-plus-outline:before{content:"๓ฑˆ€"}.mdi-card-remove:before{content:"๓ฑ˜„"}.mdi-card-remove-outline:before{content:"๓ฑ˜…"}.mdi-card-search:before{content:"๓ฑด"}.mdi-card-search-outline:before{content:"๓ฑต"}.mdi-card-text:before{content:"๓ฐญท"}.mdi-card-text-outline:before{content:"๓ฐญธ"}.mdi-cards:before{content:"๓ฐ˜ธ"}.mdi-cards-club:before{content:"๓ฐฃŽ"}.mdi-cards-club-outline:before{content:"๓ฑขŸ"}.mdi-cards-diamond:before{content:"๓ฐฃ"}.mdi-cards-diamond-outline:before{content:"๓ฑ€"}.mdi-cards-heart:before{content:"๓ฐฃ"}.mdi-cards-heart-outline:before{content:"๓ฑข "}.mdi-cards-outline:before{content:"๓ฐ˜น"}.mdi-cards-playing:before{content:"๓ฑขก"}.mdi-cards-playing-club:before{content:"๓ฑขข"}.mdi-cards-playing-club-multiple:before{content:"๓ฑขฃ"}.mdi-cards-playing-club-multiple-outline:before{content:"๓ฑขค"}.mdi-cards-playing-club-outline:before{content:"๓ฑขฅ"}.mdi-cards-playing-diamond:before{content:"๓ฑขฆ"}.mdi-cards-playing-diamond-multiple:before{content:"๓ฑขง"}.mdi-cards-playing-diamond-multiple-outline:before{content:"๓ฑขจ"}.mdi-cards-playing-diamond-outline:before{content:"๓ฑขฉ"}.mdi-cards-playing-heart:before{content:"๓ฑขช"}.mdi-cards-playing-heart-multiple:before{content:"๓ฑขซ"}.mdi-cards-playing-heart-multiple-outline:before{content:"๓ฑขฌ"}.mdi-cards-playing-heart-outline:before{content:"๓ฑขญ"}.mdi-cards-playing-outline:before{content:"๓ฐ˜บ"}.mdi-cards-playing-spade:before{content:"๓ฑขฎ"}.mdi-cards-playing-spade-multiple:before{content:"๓ฑขฏ"}.mdi-cards-playing-spade-multiple-outline:before{content:"๓ฑขฐ"}.mdi-cards-playing-spade-outline:before{content:"๓ฑขฑ"}.mdi-cards-spade:before{content:"๓ฐฃ‘"}.mdi-cards-spade-outline:before{content:"๓ฑขฒ"}.mdi-cards-variant:before{content:"๓ฐ›‡"}.mdi-carrot:before{content:"๓ฐ„"}.mdi-cart:before{content:"๓ฐ„"}.mdi-cart-arrow-down:before{content:"๓ฐตฆ"}.mdi-cart-arrow-right:before{content:"๓ฐฑŽ"}.mdi-cart-arrow-up:before{content:"๓ฐตง"}.mdi-cart-check:before{content:"๓ฑ—ช"}.mdi-cart-heart:before{content:"๓ฑฃ "}.mdi-cart-minus:before{content:"๓ฐตจ"}.mdi-cart-off:before{content:"๓ฐ™ซ"}.mdi-cart-outline:before{content:"๓ฐ„‘"}.mdi-cart-percent:before{content:"๓ฑฎฎ"}.mdi-cart-plus:before{content:"๓ฐ„’"}.mdi-cart-remove:before{content:"๓ฐตฉ"}.mdi-cart-variant:before{content:"๓ฑ—ซ"}.mdi-case-sensitive-alt:before{content:"๓ฐ„“"}.mdi-cash:before{content:"๓ฐ„”"}.mdi-cash-100:before{content:"๓ฐ„•"}.mdi-cash-check:before{content:"๓ฑ“ฎ"}.mdi-cash-clock:before{content:"๓ฑช‘"}.mdi-cash-fast:before{content:"๓ฑกœ"}.mdi-cash-lock:before{content:"๓ฑ“ช"}.mdi-cash-lock-open:before{content:"๓ฑ“ซ"}.mdi-cash-marker:before{content:"๓ฐถธ"}.mdi-cash-minus:before{content:"๓ฑ‰ "}.mdi-cash-multiple:before{content:"๓ฐ„–"}.mdi-cash-off:before{content:"๓ฑฑน"}.mdi-cash-plus:before{content:"๓ฑ‰ก"}.mdi-cash-refund:before{content:"๓ฐชœ"}.mdi-cash-register:before{content:"๓ฐณด"}.mdi-cash-remove:before{content:"๓ฑ‰ข"}.mdi-cash-sync:before{content:"๓ฑช’"}.mdi-cassette:before{content:"๓ฐง”"}.mdi-cast:before{content:"๓ฐ„˜"}.mdi-cast-audio:before{content:"๓ฑ€ž"}.mdi-cast-audio-variant:before{content:"๓ฑ‰"}.mdi-cast-connected:before{content:"๓ฐ„™"}.mdi-cast-education:before{content:"๓ฐธ"}.mdi-cast-off:before{content:"๓ฐžŠ"}.mdi-cast-variant:before{content:"๓ฐ€Ÿ"}.mdi-castle:before{content:"๓ฐ„š"}.mdi-cat:before{content:"๓ฐ„›"}.mdi-cctv:before{content:"๓ฐžฎ"}.mdi-cctv-off:before{content:"๓ฑกŸ"}.mdi-ceiling-fan:before{content:"๓ฑž—"}.mdi-ceiling-fan-light:before{content:"๓ฑž˜"}.mdi-ceiling-light:before{content:"๓ฐฉ"}.mdi-ceiling-light-multiple:before{content:"๓ฑฃ"}.mdi-ceiling-light-multiple-outline:before{content:"๓ฑฃž"}.mdi-ceiling-light-outline:before{content:"๓ฑŸ‡"}.mdi-cellphone:before{content:"๓ฐ„œ"}.mdi-cellphone-arrow-down:before{content:"๓ฐง•"}.mdi-cellphone-arrow-down-variant:before{content:"๓ฑง…"}.mdi-cellphone-basic:before{content:"๓ฐ„ž"}.mdi-cellphone-charging:before{content:"๓ฑŽ—"}.mdi-cellphone-check:before{content:"๓ฑŸฝ"}.mdi-cellphone-cog:before{content:"๓ฐฅ‘"}.mdi-cellphone-dock:before{content:"๓ฐ„Ÿ"}.mdi-cellphone-information:before{content:"๓ฐฝ"}.mdi-cellphone-key:before{content:"๓ฐฅŽ"}.mdi-cellphone-link:before{content:"๓ฐ„ก"}.mdi-cellphone-link-off:before{content:"๓ฐ„ข"}.mdi-cellphone-lock:before{content:"๓ฐฅ"}.mdi-cellphone-marker:before{content:"๓ฑ บ"}.mdi-cellphone-message:before{content:"๓ฐฃ“"}.mdi-cellphone-message-off:before{content:"๓ฑƒ’"}.mdi-cellphone-nfc:before{content:"๓ฐบ"}.mdi-cellphone-nfc-off:before{content:"๓ฑ‹˜"}.mdi-cellphone-off:before{content:"๓ฐฅ"}.mdi-cellphone-play:before{content:"๓ฑ€Ÿ"}.mdi-cellphone-remove:before{content:"๓ฐฅ"}.mdi-cellphone-screenshot:before{content:"๓ฐจต"}.mdi-cellphone-settings:before{content:"๓ฐ„ฃ"}.mdi-cellphone-sound:before{content:"๓ฐฅ’"}.mdi-cellphone-text:before{content:"๓ฐฃ’"}.mdi-cellphone-wireless:before{content:"๓ฐ •"}.mdi-centos:before{content:"๓ฑ„š"}.mdi-certificate:before{content:"๓ฐ„ค"}.mdi-certificate-outline:before{content:"๓ฑ†ˆ"}.mdi-chair-rolling:before{content:"๓ฐฝˆ"}.mdi-chair-school:before{content:"๓ฐ„ฅ"}.mdi-chandelier:before{content:"๓ฑž“"}.mdi-charity:before{content:"๓ฐฑ"}.mdi-chart-arc:before{content:"๓ฐ„ฆ"}.mdi-chart-areaspline:before{content:"๓ฐ„ง"}.mdi-chart-areaspline-variant:before{content:"๓ฐบ‘"}.mdi-chart-bar:before{content:"๓ฐ„จ"}.mdi-chart-bar-stacked:before{content:"๓ฐช"}.mdi-chart-bell-curve:before{content:"๓ฐฑ"}.mdi-chart-bell-curve-cumulative:before{content:"๓ฐพง"}.mdi-chart-box:before{content:"๓ฑ•"}.mdi-chart-box-outline:before{content:"๓ฑ•Ž"}.mdi-chart-box-plus-outline:before{content:"๓ฑ•"}.mdi-chart-bubble:before{content:"๓ฐ—ฃ"}.mdi-chart-donut:before{content:"๓ฐžฏ"}.mdi-chart-donut-variant:before{content:"๓ฐžฐ"}.mdi-chart-gantt:before{content:"๓ฐ™ฌ"}.mdi-chart-histogram:before{content:"๓ฐ„ฉ"}.mdi-chart-line:before{content:"๓ฐ„ช"}.mdi-chart-line-stacked:before{content:"๓ฐซ"}.mdi-chart-line-variant:before{content:"๓ฐžฑ"}.mdi-chart-multiline:before{content:"๓ฐฃ”"}.mdi-chart-multiple:before{content:"๓ฑˆ“"}.mdi-chart-pie:before{content:"๓ฐ„ซ"}.mdi-chart-pie-outline:before{content:"๓ฑฏŸ"}.mdi-chart-ppf:before{content:"๓ฑŽ€"}.mdi-chart-sankey:before{content:"๓ฑ‡Ÿ"}.mdi-chart-sankey-variant:before{content:"๓ฑ‡ "}.mdi-chart-scatter-plot:before{content:"๓ฐบ’"}.mdi-chart-scatter-plot-hexbin:before{content:"๓ฐ™ญ"}.mdi-chart-timeline:before{content:"๓ฐ™ฎ"}.mdi-chart-timeline-variant:before{content:"๓ฐบ“"}.mdi-chart-timeline-variant-shimmer:before{content:"๓ฑ–ถ"}.mdi-chart-tree:before{content:"๓ฐบ”"}.mdi-chart-waterfall:before{content:"๓ฑค˜"}.mdi-chat:before{content:"๓ฐญน"}.mdi-chat-alert:before{content:"๓ฐญบ"}.mdi-chat-alert-outline:before{content:"๓ฑ‹‰"}.mdi-chat-minus:before{content:"๓ฑ"}.mdi-chat-minus-outline:before{content:"๓ฑ“"}.mdi-chat-outline:before{content:"๓ฐปž"}.mdi-chat-plus:before{content:"๓ฑ"}.mdi-chat-plus-outline:before{content:"๓ฑ’"}.mdi-chat-processing:before{content:"๓ฐญป"}.mdi-chat-processing-outline:before{content:"๓ฑ‹Š"}.mdi-chat-question:before{content:"๓ฑœธ"}.mdi-chat-question-outline:before{content:"๓ฑœน"}.mdi-chat-remove:before{content:"๓ฑ‘"}.mdi-chat-remove-outline:before{content:"๓ฑ”"}.mdi-chat-sleep:before{content:"๓ฑ‹‘"}.mdi-chat-sleep-outline:before{content:"๓ฑ‹’"}.mdi-check:before{content:"๓ฐ„ฌ"}.mdi-check-all:before{content:"๓ฐ„ญ"}.mdi-check-bold:before{content:"๓ฐธž"}.mdi-check-circle:before{content:"๓ฐ— "}.mdi-check-circle-outline:before{content:"๓ฐ—ก"}.mdi-check-decagram:before{content:"๓ฐž‘"}.mdi-check-decagram-outline:before{content:"๓ฑ€"}.mdi-check-network:before{content:"๓ฐฑ“"}.mdi-check-network-outline:before{content:"๓ฐฑ”"}.mdi-check-outline:before{content:"๓ฐก•"}.mdi-check-underline:before{content:"๓ฐธŸ"}.mdi-check-underline-circle:before{content:"๓ฐธ "}.mdi-check-underline-circle-outline:before{content:"๓ฐธก"}.mdi-checkbook:before{content:"๓ฐช"}.mdi-checkbook-arrow-left:before{content:"๓ฑฐ"}.mdi-checkbook-arrow-right:before{content:"๓ฑฐž"}.mdi-checkbox-blank:before{content:"๓ฐ„ฎ"}.mdi-checkbox-blank-badge:before{content:"๓ฑ…ถ"}.mdi-checkbox-blank-badge-outline:before{content:"๓ฐ„—"}.mdi-checkbox-blank-circle:before{content:"๓ฐ„ฏ"}.mdi-checkbox-blank-circle-outline:before{content:"๓ฐ„ฐ"}.mdi-checkbox-blank-off:before{content:"๓ฑ‹ฌ"}.mdi-checkbox-blank-off-outline:before{content:"๓ฑ‹ญ"}.mdi-checkbox-blank-outline:before{content:"๓ฐ„ฑ"}.mdi-checkbox-intermediate:before{content:"๓ฐก–"}.mdi-checkbox-intermediate-variant:before{content:"๓ฑญ”"}.mdi-checkbox-marked:before{content:"๓ฐ„ฒ"}.mdi-checkbox-marked-circle:before{content:"๓ฐ„ณ"}.mdi-checkbox-marked-circle-auto-outline:before{content:"๓ฑฐฆ"}.mdi-checkbox-marked-circle-minus-outline:before{content:"๓ฑฐง"}.mdi-checkbox-marked-circle-outline:before{content:"๓ฐ„ด"}.mdi-checkbox-marked-circle-plus-outline:before{content:"๓ฑคง"}.mdi-checkbox-marked-outline:before{content:"๓ฐ„ต"}.mdi-checkbox-multiple-blank:before{content:"๓ฐ„ถ"}.mdi-checkbox-multiple-blank-circle:before{content:"๓ฐ˜ป"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"๓ฐ˜ผ"}.mdi-checkbox-multiple-blank-outline:before{content:"๓ฐ„ท"}.mdi-checkbox-multiple-marked:before{content:"๓ฐ„ธ"}.mdi-checkbox-multiple-marked-circle:before{content:"๓ฐ˜ฝ"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"๓ฐ˜พ"}.mdi-checkbox-multiple-marked-outline:before{content:"๓ฐ„น"}.mdi-checkbox-multiple-outline:before{content:"๓ฐฑ‘"}.mdi-checkbox-outline:before{content:"๓ฐฑ’"}.mdi-checkerboard:before{content:"๓ฐ„บ"}.mdi-checkerboard-minus:before{content:"๓ฑˆ‚"}.mdi-checkerboard-plus:before{content:"๓ฑˆ"}.mdi-checkerboard-remove:before{content:"๓ฑˆƒ"}.mdi-cheese:before{content:"๓ฑŠน"}.mdi-cheese-off:before{content:"๓ฑฎ"}.mdi-chef-hat:before{content:"๓ฐญผ"}.mdi-chemical-weapon:before{content:"๓ฐ„ป"}.mdi-chess-bishop:before{content:"๓ฐกœ"}.mdi-chess-king:before{content:"๓ฐก—"}.mdi-chess-knight:before{content:"๓ฐก˜"}.mdi-chess-pawn:before{content:"๓ฐก™"}.mdi-chess-queen:before{content:"๓ฐกš"}.mdi-chess-rook:before{content:"๓ฐก›"}.mdi-chevron-double-down:before{content:"๓ฐ„ผ"}.mdi-chevron-double-left:before{content:"๓ฐ„ฝ"}.mdi-chevron-double-right:before{content:"๓ฐ„พ"}.mdi-chevron-double-up:before{content:"๓ฐ„ฟ"}.mdi-chevron-down:before{content:"๓ฐ…€"}.mdi-chevron-down-box:before{content:"๓ฐง–"}.mdi-chevron-down-box-outline:before{content:"๓ฐง—"}.mdi-chevron-down-circle:before{content:"๓ฐฌฆ"}.mdi-chevron-down-circle-outline:before{content:"๓ฐฌง"}.mdi-chevron-left:before{content:"๓ฐ…"}.mdi-chevron-left-box:before{content:"๓ฐง˜"}.mdi-chevron-left-box-outline:before{content:"๓ฐง™"}.mdi-chevron-left-circle:before{content:"๓ฐฌจ"}.mdi-chevron-left-circle-outline:before{content:"๓ฐฌฉ"}.mdi-chevron-right:before{content:"๓ฐ…‚"}.mdi-chevron-right-box:before{content:"๓ฐงš"}.mdi-chevron-right-box-outline:before{content:"๓ฐง›"}.mdi-chevron-right-circle:before{content:"๓ฐฌช"}.mdi-chevron-right-circle-outline:before{content:"๓ฐฌซ"}.mdi-chevron-triple-down:before{content:"๓ฐถน"}.mdi-chevron-triple-left:before{content:"๓ฐถบ"}.mdi-chevron-triple-right:before{content:"๓ฐถป"}.mdi-chevron-triple-up:before{content:"๓ฐถผ"}.mdi-chevron-up:before{content:"๓ฐ…ƒ"}.mdi-chevron-up-box:before{content:"๓ฐงœ"}.mdi-chevron-up-box-outline:before{content:"๓ฐง"}.mdi-chevron-up-circle:before{content:"๓ฐฌฌ"}.mdi-chevron-up-circle-outline:before{content:"๓ฐฌญ"}.mdi-chili-alert:before{content:"๓ฑŸช"}.mdi-chili-alert-outline:before{content:"๓ฑŸซ"}.mdi-chili-hot:before{content:"๓ฐžฒ"}.mdi-chili-hot-outline:before{content:"๓ฑŸฌ"}.mdi-chili-medium:before{content:"๓ฐžณ"}.mdi-chili-medium-outline:before{content:"๓ฑŸญ"}.mdi-chili-mild:before{content:"๓ฐžด"}.mdi-chili-mild-outline:before{content:"๓ฑŸฎ"}.mdi-chili-off:before{content:"๓ฑ‘ง"}.mdi-chili-off-outline:before{content:"๓ฑŸฏ"}.mdi-chip:before{content:"๓ฐ˜š"}.mdi-church:before{content:"๓ฐ…„"}.mdi-church-outline:before{content:"๓ฑฌ‚"}.mdi-cigar:before{content:"๓ฑ†‰"}.mdi-cigar-off:before{content:"๓ฑ›"}.mdi-circle:before{content:"๓ฐฅ"}.mdi-circle-box:before{content:"๓ฑ—œ"}.mdi-circle-box-outline:before{content:"๓ฑ—"}.mdi-circle-double:before{content:"๓ฐบ•"}.mdi-circle-edit-outline:before{content:"๓ฐฃ•"}.mdi-circle-expand:before{content:"๓ฐบ–"}.mdi-circle-half:before{content:"๓ฑŽ•"}.mdi-circle-half-full:before{content:"๓ฑŽ–"}.mdi-circle-medium:before{content:"๓ฐงž"}.mdi-circle-multiple:before{content:"๓ฐฌธ"}.mdi-circle-multiple-outline:before{content:"๓ฐš•"}.mdi-circle-off-outline:before{content:"๓ฑƒ“"}.mdi-circle-opacity:before{content:"๓ฑก“"}.mdi-circle-outline:before{content:"๓ฐฆ"}.mdi-circle-slice-1:before{content:"๓ฐชž"}.mdi-circle-slice-2:before{content:"๓ฐชŸ"}.mdi-circle-slice-3:before{content:"๓ฐช "}.mdi-circle-slice-4:before{content:"๓ฐชก"}.mdi-circle-slice-5:before{content:"๓ฐชข"}.mdi-circle-slice-6:before{content:"๓ฐชฃ"}.mdi-circle-slice-7:before{content:"๓ฐชค"}.mdi-circle-slice-8:before{content:"๓ฐชฅ"}.mdi-circle-small:before{content:"๓ฐงŸ"}.mdi-circular-saw:before{content:"๓ฐธข"}.mdi-city:before{content:"๓ฐ…†"}.mdi-city-switch:before{content:"๓ฑฐจ"}.mdi-city-variant:before{content:"๓ฐจถ"}.mdi-city-variant-outline:before{content:"๓ฐจท"}.mdi-clipboard:before{content:"๓ฐ…‡"}.mdi-clipboard-account:before{content:"๓ฐ…ˆ"}.mdi-clipboard-account-outline:before{content:"๓ฐฑ•"}.mdi-clipboard-alert:before{content:"๓ฐ…‰"}.mdi-clipboard-alert-outline:before{content:"๓ฐณท"}.mdi-clipboard-arrow-down:before{content:"๓ฐ…Š"}.mdi-clipboard-arrow-down-outline:before{content:"๓ฐฑ–"}.mdi-clipboard-arrow-left:before{content:"๓ฐ…‹"}.mdi-clipboard-arrow-left-outline:before{content:"๓ฐณธ"}.mdi-clipboard-arrow-right:before{content:"๓ฐณน"}.mdi-clipboard-arrow-right-outline:before{content:"๓ฐณบ"}.mdi-clipboard-arrow-up:before{content:"๓ฐฑ—"}.mdi-clipboard-arrow-up-outline:before{content:"๓ฐฑ˜"}.mdi-clipboard-check:before{content:"๓ฐ…Ž"}.mdi-clipboard-check-multiple:before{content:"๓ฑ‰ฃ"}.mdi-clipboard-check-multiple-outline:before{content:"๓ฑ‰ค"}.mdi-clipboard-check-outline:before{content:"๓ฐขจ"}.mdi-clipboard-clock:before{content:"๓ฑ›ข"}.mdi-clipboard-clock-outline:before{content:"๓ฑ›ฃ"}.mdi-clipboard-edit:before{content:"๓ฑ“ฅ"}.mdi-clipboard-edit-outline:before{content:"๓ฑ“ฆ"}.mdi-clipboard-file:before{content:"๓ฑ‰ฅ"}.mdi-clipboard-file-outline:before{content:"๓ฑ‰ฆ"}.mdi-clipboard-flow:before{content:"๓ฐ›ˆ"}.mdi-clipboard-flow-outline:before{content:"๓ฑ„—"}.mdi-clipboard-list:before{content:"๓ฑƒ”"}.mdi-clipboard-list-outline:before{content:"๓ฑƒ•"}.mdi-clipboard-minus:before{content:"๓ฑ˜˜"}.mdi-clipboard-minus-outline:before{content:"๓ฑ˜™"}.mdi-clipboard-multiple:before{content:"๓ฑ‰ง"}.mdi-clipboard-multiple-outline:before{content:"๓ฑ‰จ"}.mdi-clipboard-off:before{content:"๓ฑ˜š"}.mdi-clipboard-off-outline:before{content:"๓ฑ˜›"}.mdi-clipboard-outline:before{content:"๓ฐ…Œ"}.mdi-clipboard-play:before{content:"๓ฐฑ™"}.mdi-clipboard-play-multiple:before{content:"๓ฑ‰ฉ"}.mdi-clipboard-play-multiple-outline:before{content:"๓ฑ‰ช"}.mdi-clipboard-play-outline:before{content:"๓ฐฑš"}.mdi-clipboard-plus:before{content:"๓ฐ‘"}.mdi-clipboard-plus-outline:before{content:"๓ฑŒŸ"}.mdi-clipboard-pulse:before{content:"๓ฐก"}.mdi-clipboard-pulse-outline:before{content:"๓ฐกž"}.mdi-clipboard-remove:before{content:"๓ฑ˜œ"}.mdi-clipboard-remove-outline:before{content:"๓ฑ˜"}.mdi-clipboard-search:before{content:"๓ฑ˜ž"}.mdi-clipboard-search-outline:before{content:"๓ฑ˜Ÿ"}.mdi-clipboard-text:before{content:"๓ฐ…"}.mdi-clipboard-text-clock:before{content:"๓ฑฃน"}.mdi-clipboard-text-clock-outline:before{content:"๓ฑฃบ"}.mdi-clipboard-text-multiple:before{content:"๓ฑ‰ซ"}.mdi-clipboard-text-multiple-outline:before{content:"๓ฑ‰ฌ"}.mdi-clipboard-text-off:before{content:"๓ฑ˜ "}.mdi-clipboard-text-off-outline:before{content:"๓ฑ˜ก"}.mdi-clipboard-text-outline:before{content:"๓ฐจธ"}.mdi-clipboard-text-play:before{content:"๓ฐฑ›"}.mdi-clipboard-text-play-outline:before{content:"๓ฐฑœ"}.mdi-clipboard-text-search:before{content:"๓ฑ˜ข"}.mdi-clipboard-text-search-outline:before{content:"๓ฑ˜ฃ"}.mdi-clippy:before{content:"๓ฐ…"}.mdi-clock:before{content:"๓ฐฅ”"}.mdi-clock-alert:before{content:"๓ฐฅ•"}.mdi-clock-alert-outline:before{content:"๓ฐ—Ž"}.mdi-clock-check:before{content:"๓ฐพจ"}.mdi-clock-check-outline:before{content:"๓ฐพฉ"}.mdi-clock-digital:before{content:"๓ฐบ—"}.mdi-clock-edit:before{content:"๓ฑฆบ"}.mdi-clock-edit-outline:before{content:"๓ฑฆป"}.mdi-clock-end:before{content:"๓ฐ…‘"}.mdi-clock-fast:before{content:"๓ฐ…’"}.mdi-clock-in:before{content:"๓ฐ…“"}.mdi-clock-minus:before{content:"๓ฑกฃ"}.mdi-clock-minus-outline:before{content:"๓ฑกค"}.mdi-clock-out:before{content:"๓ฐ…”"}.mdi-clock-outline:before{content:"๓ฐ…"}.mdi-clock-plus:before{content:"๓ฑกก"}.mdi-clock-plus-outline:before{content:"๓ฑกข"}.mdi-clock-remove:before{content:"๓ฑกฅ"}.mdi-clock-remove-outline:before{content:"๓ฑกฆ"}.mdi-clock-star-four-points:before{content:"๓ฑฐฉ"}.mdi-clock-star-four-points-outline:before{content:"๓ฑฐช"}.mdi-clock-start:before{content:"๓ฐ…•"}.mdi-clock-time-eight:before{content:"๓ฑ‘†"}.mdi-clock-time-eight-outline:before{content:"๓ฑ‘’"}.mdi-clock-time-eleven:before{content:"๓ฑ‘‰"}.mdi-clock-time-eleven-outline:before{content:"๓ฑ‘•"}.mdi-clock-time-five:before{content:"๓ฑ‘ƒ"}.mdi-clock-time-five-outline:before{content:"๓ฑ‘"}.mdi-clock-time-four:before{content:"๓ฑ‘‚"}.mdi-clock-time-four-outline:before{content:"๓ฑ‘Ž"}.mdi-clock-time-nine:before{content:"๓ฑ‘‡"}.mdi-clock-time-nine-outline:before{content:"๓ฑ‘“"}.mdi-clock-time-one:before{content:"๓ฑฟ"}.mdi-clock-time-one-outline:before{content:"๓ฑ‘‹"}.mdi-clock-time-seven:before{content:"๓ฑ‘…"}.mdi-clock-time-seven-outline:before{content:"๓ฑ‘‘"}.mdi-clock-time-six:before{content:"๓ฑ‘„"}.mdi-clock-time-six-outline:before{content:"๓ฑ‘"}.mdi-clock-time-ten:before{content:"๓ฑ‘ˆ"}.mdi-clock-time-ten-outline:before{content:"๓ฑ‘”"}.mdi-clock-time-three:before{content:"๓ฑ‘"}.mdi-clock-time-three-outline:before{content:"๓ฑ‘"}.mdi-clock-time-twelve:before{content:"๓ฑ‘Š"}.mdi-clock-time-twelve-outline:before{content:"๓ฑ‘–"}.mdi-clock-time-two:before{content:"๓ฑ‘€"}.mdi-clock-time-two-outline:before{content:"๓ฑ‘Œ"}.mdi-close:before{content:"๓ฐ…–"}.mdi-close-box:before{content:"๓ฐ…—"}.mdi-close-box-multiple:before{content:"๓ฐฑ"}.mdi-close-box-multiple-outline:before{content:"๓ฐฑž"}.mdi-close-box-outline:before{content:"๓ฐ…˜"}.mdi-close-circle:before{content:"๓ฐ…™"}.mdi-close-circle-multiple:before{content:"๓ฐ˜ช"}.mdi-close-circle-multiple-outline:before{content:"๓ฐขƒ"}.mdi-close-circle-outline:before{content:"๓ฐ…š"}.mdi-close-network:before{content:"๓ฐ…›"}.mdi-close-network-outline:before{content:"๓ฐฑŸ"}.mdi-close-octagon:before{content:"๓ฐ…œ"}.mdi-close-octagon-outline:before{content:"๓ฐ…"}.mdi-close-outline:before{content:"๓ฐ›‰"}.mdi-close-thick:before{content:"๓ฑŽ˜"}.mdi-closed-caption:before{content:"๓ฐ…ž"}.mdi-closed-caption-outline:before{content:"๓ฐถฝ"}.mdi-cloud:before{content:"๓ฐ…Ÿ"}.mdi-cloud-alert:before{content:"๓ฐง "}.mdi-cloud-alert-outline:before{content:"๓ฑฏ "}.mdi-cloud-arrow-down:before{content:"๓ฑฏก"}.mdi-cloud-arrow-down-outline:before{content:"๓ฑฏข"}.mdi-cloud-arrow-left:before{content:"๓ฑฏฃ"}.mdi-cloud-arrow-left-outline:before{content:"๓ฑฏค"}.mdi-cloud-arrow-right:before{content:"๓ฑฏฅ"}.mdi-cloud-arrow-right-outline:before{content:"๓ฑฏฆ"}.mdi-cloud-arrow-up:before{content:"๓ฑฏง"}.mdi-cloud-arrow-up-outline:before{content:"๓ฑฏจ"}.mdi-cloud-braces:before{content:"๓ฐžต"}.mdi-cloud-cancel:before{content:"๓ฑฏฉ"}.mdi-cloud-cancel-outline:before{content:"๓ฑฏช"}.mdi-cloud-check:before{content:"๓ฑฏซ"}.mdi-cloud-check-outline:before{content:"๓ฑฏฌ"}.mdi-cloud-check-variant:before{content:"๓ฐ… "}.mdi-cloud-check-variant-outline:before{content:"๓ฑ‹Œ"}.mdi-cloud-circle:before{content:"๓ฐ…ก"}.mdi-cloud-circle-outline:before{content:"๓ฑฏญ"}.mdi-cloud-clock:before{content:"๓ฑฏฎ"}.mdi-cloud-clock-outline:before{content:"๓ฑฏฏ"}.mdi-cloud-cog:before{content:"๓ฑฏฐ"}.mdi-cloud-cog-outline:before{content:"๓ฑฏฑ"}.mdi-cloud-download:before{content:"๓ฐ…ข"}.mdi-cloud-download-outline:before{content:"๓ฐญฝ"}.mdi-cloud-lock:before{content:"๓ฑ‡ฑ"}.mdi-cloud-lock-open:before{content:"๓ฑฏฒ"}.mdi-cloud-lock-open-outline:before{content:"๓ฑฏณ"}.mdi-cloud-lock-outline:before{content:"๓ฑ‡ฒ"}.mdi-cloud-minus:before{content:"๓ฑฏด"}.mdi-cloud-minus-outline:before{content:"๓ฑฏต"}.mdi-cloud-off:before{content:"๓ฑฏถ"}.mdi-cloud-off-outline:before{content:"๓ฐ…ค"}.mdi-cloud-outline:before{content:"๓ฐ…ฃ"}.mdi-cloud-percent:before{content:"๓ฑจต"}.mdi-cloud-percent-outline:before{content:"๓ฑจถ"}.mdi-cloud-plus:before{content:"๓ฑฏท"}.mdi-cloud-plus-outline:before{content:"๓ฑฏธ"}.mdi-cloud-print:before{content:"๓ฐ…ฅ"}.mdi-cloud-print-outline:before{content:"๓ฐ…ฆ"}.mdi-cloud-question:before{content:"๓ฐจน"}.mdi-cloud-question-outline:before{content:"๓ฑฏน"}.mdi-cloud-refresh:before{content:"๓ฑฏบ"}.mdi-cloud-refresh-outline:before{content:"๓ฑฏป"}.mdi-cloud-refresh-variant:before{content:"๓ฐ”ช"}.mdi-cloud-refresh-variant-outline:before{content:"๓ฑฏผ"}.mdi-cloud-remove:before{content:"๓ฑฏฝ"}.mdi-cloud-remove-outline:before{content:"๓ฑฏพ"}.mdi-cloud-search:before{content:"๓ฐฅ–"}.mdi-cloud-search-outline:before{content:"๓ฐฅ—"}.mdi-cloud-sync:before{content:"๓ฐ˜ฟ"}.mdi-cloud-sync-outline:before{content:"๓ฑ‹–"}.mdi-cloud-tags:before{content:"๓ฐžถ"}.mdi-cloud-upload:before{content:"๓ฐ…ง"}.mdi-cloud-upload-outline:before{content:"๓ฐญพ"}.mdi-clouds:before{content:"๓ฑฎ•"}.mdi-clover:before{content:"๓ฐ –"}.mdi-clover-outline:before{content:"๓ฑฑข"}.mdi-coach-lamp:before{content:"๓ฑ€ "}.mdi-coach-lamp-variant:before{content:"๓ฑจท"}.mdi-coat-rack:before{content:"๓ฑ‚ž"}.mdi-code-array:before{content:"๓ฐ…จ"}.mdi-code-braces:before{content:"๓ฐ…ฉ"}.mdi-code-braces-box:before{content:"๓ฑƒ–"}.mdi-code-brackets:before{content:"๓ฐ…ช"}.mdi-code-equal:before{content:"๓ฐ…ซ"}.mdi-code-greater-than:before{content:"๓ฐ…ฌ"}.mdi-code-greater-than-or-equal:before{content:"๓ฐ…ญ"}.mdi-code-json:before{content:"๓ฐ˜ฆ"}.mdi-code-less-than:before{content:"๓ฐ…ฎ"}.mdi-code-less-than-or-equal:before{content:"๓ฐ…ฏ"}.mdi-code-not-equal:before{content:"๓ฐ…ฐ"}.mdi-code-not-equal-variant:before{content:"๓ฐ…ฑ"}.mdi-code-parentheses:before{content:"๓ฐ…ฒ"}.mdi-code-parentheses-box:before{content:"๓ฑƒ—"}.mdi-code-string:before{content:"๓ฐ…ณ"}.mdi-code-tags:before{content:"๓ฐ…ด"}.mdi-code-tags-check:before{content:"๓ฐš”"}.mdi-codepen:before{content:"๓ฐ…ต"}.mdi-coffee:before{content:"๓ฐ…ถ"}.mdi-coffee-maker:before{content:"๓ฑ‚Ÿ"}.mdi-coffee-maker-check:before{content:"๓ฑคฑ"}.mdi-coffee-maker-check-outline:before{content:"๓ฑคฒ"}.mdi-coffee-maker-outline:before{content:"๓ฑ ›"}.mdi-coffee-off:before{content:"๓ฐพช"}.mdi-coffee-off-outline:before{content:"๓ฐพซ"}.mdi-coffee-outline:before{content:"๓ฐ›Š"}.mdi-coffee-to-go:before{content:"๓ฐ…ท"}.mdi-coffee-to-go-outline:before{content:"๓ฑŒŽ"}.mdi-coffin:before{content:"๓ฐญฟ"}.mdi-cog:before{content:"๓ฐ’“"}.mdi-cog-box:before{content:"๓ฐ’”"}.mdi-cog-clockwise:before{content:"๓ฑ‡"}.mdi-cog-counterclockwise:before{content:"๓ฑ‡ž"}.mdi-cog-off:before{content:"๓ฑŽ"}.mdi-cog-off-outline:before{content:"๓ฑ"}.mdi-cog-outline:before{content:"๓ฐขป"}.mdi-cog-pause:before{content:"๓ฑคณ"}.mdi-cog-pause-outline:before{content:"๓ฑคด"}.mdi-cog-play:before{content:"๓ฑคต"}.mdi-cog-play-outline:before{content:"๓ฑคถ"}.mdi-cog-refresh:before{content:"๓ฑ‘ž"}.mdi-cog-refresh-outline:before{content:"๓ฑ‘Ÿ"}.mdi-cog-stop:before{content:"๓ฑคท"}.mdi-cog-stop-outline:before{content:"๓ฑคธ"}.mdi-cog-sync:before{content:"๓ฑ‘ "}.mdi-cog-sync-outline:before{content:"๓ฑ‘ก"}.mdi-cog-transfer:before{content:"๓ฑ›"}.mdi-cog-transfer-outline:before{content:"๓ฑœ"}.mdi-cogs:before{content:"๓ฐฃ–"}.mdi-collage:before{content:"๓ฐ™€"}.mdi-collapse-all:before{content:"๓ฐชฆ"}.mdi-collapse-all-outline:before{content:"๓ฐชง"}.mdi-color-helper:before{content:"๓ฐ…น"}.mdi-comma:before{content:"๓ฐธฃ"}.mdi-comma-box:before{content:"๓ฐธซ"}.mdi-comma-box-outline:before{content:"๓ฐธค"}.mdi-comma-circle:before{content:"๓ฐธฅ"}.mdi-comma-circle-outline:before{content:"๓ฐธฆ"}.mdi-comment:before{content:"๓ฐ…บ"}.mdi-comment-account:before{content:"๓ฐ…ป"}.mdi-comment-account-outline:before{content:"๓ฐ…ผ"}.mdi-comment-alert:before{content:"๓ฐ…ฝ"}.mdi-comment-alert-outline:before{content:"๓ฐ…พ"}.mdi-comment-arrow-left:before{content:"๓ฐงก"}.mdi-comment-arrow-left-outline:before{content:"๓ฐงข"}.mdi-comment-arrow-right:before{content:"๓ฐงฃ"}.mdi-comment-arrow-right-outline:before{content:"๓ฐงค"}.mdi-comment-bookmark:before{content:"๓ฑ–ฎ"}.mdi-comment-bookmark-outline:before{content:"๓ฑ–ฏ"}.mdi-comment-check:before{content:"๓ฐ…ฟ"}.mdi-comment-check-outline:before{content:"๓ฐ†€"}.mdi-comment-edit:before{content:"๓ฑ†ฟ"}.mdi-comment-edit-outline:before{content:"๓ฑ‹„"}.mdi-comment-eye:before{content:"๓ฐจบ"}.mdi-comment-eye-outline:before{content:"๓ฐจป"}.mdi-comment-flash:before{content:"๓ฑ–ฐ"}.mdi-comment-flash-outline:before{content:"๓ฑ–ฑ"}.mdi-comment-minus:before{content:"๓ฑ—Ÿ"}.mdi-comment-minus-outline:before{content:"๓ฑ— "}.mdi-comment-multiple:before{content:"๓ฐกŸ"}.mdi-comment-multiple-outline:before{content:"๓ฐ†"}.mdi-comment-off:before{content:"๓ฑ—ก"}.mdi-comment-off-outline:before{content:"๓ฑ—ข"}.mdi-comment-outline:before{content:"๓ฐ†‚"}.mdi-comment-plus:before{content:"๓ฐงฅ"}.mdi-comment-plus-outline:before{content:"๓ฐ†ƒ"}.mdi-comment-processing:before{content:"๓ฐ†„"}.mdi-comment-processing-outline:before{content:"๓ฐ†…"}.mdi-comment-question:before{content:"๓ฐ —"}.mdi-comment-question-outline:before{content:"๓ฐ††"}.mdi-comment-quote:before{content:"๓ฑ€ก"}.mdi-comment-quote-outline:before{content:"๓ฑ€ข"}.mdi-comment-remove:before{content:"๓ฐ—ž"}.mdi-comment-remove-outline:before{content:"๓ฐ†‡"}.mdi-comment-search:before{content:"๓ฐจผ"}.mdi-comment-search-outline:before{content:"๓ฐจฝ"}.mdi-comment-text:before{content:"๓ฐ†ˆ"}.mdi-comment-text-multiple:before{content:"๓ฐก "}.mdi-comment-text-multiple-outline:before{content:"๓ฐกก"}.mdi-comment-text-outline:before{content:"๓ฐ†‰"}.mdi-compare:before{content:"๓ฐ†Š"}.mdi-compare-horizontal:before{content:"๓ฑ’’"}.mdi-compare-remove:before{content:"๓ฑขณ"}.mdi-compare-vertical:before{content:"๓ฑ’“"}.mdi-compass:before{content:"๓ฐ†‹"}.mdi-compass-off:before{content:"๓ฐฎ€"}.mdi-compass-off-outline:before{content:"๓ฐฎ"}.mdi-compass-outline:before{content:"๓ฐ†Œ"}.mdi-compass-rose:before{content:"๓ฑŽ‚"}.mdi-compost:before{content:"๓ฑจธ"}.mdi-cone:before{content:"๓ฑฅŒ"}.mdi-cone-off:before{content:"๓ฑฅ"}.mdi-connection:before{content:"๓ฑ˜–"}.mdi-console:before{content:"๓ฐ†"}.mdi-console-line:before{content:"๓ฐžท"}.mdi-console-network:before{content:"๓ฐขฉ"}.mdi-console-network-outline:before{content:"๓ฐฑ "}.mdi-consolidate:before{content:"๓ฑƒ˜"}.mdi-contactless-payment:before{content:"๓ฐตช"}.mdi-contactless-payment-circle:before{content:"๓ฐŒก"}.mdi-contactless-payment-circle-outline:before{content:"๓ฐˆ"}.mdi-contacts:before{content:"๓ฐ›‹"}.mdi-contacts-outline:before{content:"๓ฐ–ธ"}.mdi-contain:before{content:"๓ฐจพ"}.mdi-contain-end:before{content:"๓ฐจฟ"}.mdi-contain-start:before{content:"๓ฐฉ€"}.mdi-content-copy:before{content:"๓ฐ†"}.mdi-content-cut:before{content:"๓ฐ†"}.mdi-content-duplicate:before{content:"๓ฐ†‘"}.mdi-content-paste:before{content:"๓ฐ†’"}.mdi-content-save:before{content:"๓ฐ†“"}.mdi-content-save-alert:before{content:"๓ฐฝ‚"}.mdi-content-save-alert-outline:before{content:"๓ฐฝƒ"}.mdi-content-save-all:before{content:"๓ฐ†”"}.mdi-content-save-all-outline:before{content:"๓ฐฝ„"}.mdi-content-save-check:before{content:"๓ฑฃช"}.mdi-content-save-check-outline:before{content:"๓ฑฃซ"}.mdi-content-save-cog:before{content:"๓ฑ‘›"}.mdi-content-save-cog-outline:before{content:"๓ฑ‘œ"}.mdi-content-save-edit:before{content:"๓ฐณป"}.mdi-content-save-edit-outline:before{content:"๓ฐณผ"}.mdi-content-save-minus:before{content:"๓ฑญƒ"}.mdi-content-save-minus-outline:before{content:"๓ฑญ„"}.mdi-content-save-move:before{content:"๓ฐธง"}.mdi-content-save-move-outline:before{content:"๓ฐธจ"}.mdi-content-save-off:before{content:"๓ฑ™ƒ"}.mdi-content-save-off-outline:before{content:"๓ฑ™„"}.mdi-content-save-outline:before{content:"๓ฐ ˜"}.mdi-content-save-plus:before{content:"๓ฑญ"}.mdi-content-save-plus-outline:before{content:"๓ฑญ‚"}.mdi-content-save-settings:before{content:"๓ฐ˜›"}.mdi-content-save-settings-outline:before{content:"๓ฐฌฎ"}.mdi-contrast:before{content:"๓ฐ†•"}.mdi-contrast-box:before{content:"๓ฐ†–"}.mdi-contrast-circle:before{content:"๓ฐ†—"}.mdi-controller:before{content:"๓ฐŠด"}.mdi-controller-classic:before{content:"๓ฐฎ‚"}.mdi-controller-classic-outline:before{content:"๓ฐฎƒ"}.mdi-controller-off:before{content:"๓ฐŠต"}.mdi-cookie:before{content:"๓ฐ†˜"}.mdi-cookie-alert:before{content:"๓ฑ›"}.mdi-cookie-alert-outline:before{content:"๓ฑ›‘"}.mdi-cookie-check:before{content:"๓ฑ›’"}.mdi-cookie-check-outline:before{content:"๓ฑ›“"}.mdi-cookie-clock:before{content:"๓ฑ›ค"}.mdi-cookie-clock-outline:before{content:"๓ฑ›ฅ"}.mdi-cookie-cog:before{content:"๓ฑ›”"}.mdi-cookie-cog-outline:before{content:"๓ฑ›•"}.mdi-cookie-edit:before{content:"๓ฑ›ฆ"}.mdi-cookie-edit-outline:before{content:"๓ฑ›ง"}.mdi-cookie-lock:before{content:"๓ฑ›จ"}.mdi-cookie-lock-outline:before{content:"๓ฑ›ฉ"}.mdi-cookie-minus:before{content:"๓ฑ›š"}.mdi-cookie-minus-outline:before{content:"๓ฑ››"}.mdi-cookie-off:before{content:"๓ฑ›ช"}.mdi-cookie-off-outline:before{content:"๓ฑ›ซ"}.mdi-cookie-outline:before{content:"๓ฑ›ž"}.mdi-cookie-plus:before{content:"๓ฑ›–"}.mdi-cookie-plus-outline:before{content:"๓ฑ›—"}.mdi-cookie-refresh:before{content:"๓ฑ›ฌ"}.mdi-cookie-refresh-outline:before{content:"๓ฑ›ญ"}.mdi-cookie-remove:before{content:"๓ฑ›˜"}.mdi-cookie-remove-outline:before{content:"๓ฑ›™"}.mdi-cookie-settings:before{content:"๓ฑ›œ"}.mdi-cookie-settings-outline:before{content:"๓ฑ›"}.mdi-coolant-temperature:before{content:"๓ฐˆ"}.mdi-copyleft:before{content:"๓ฑคน"}.mdi-copyright:before{content:"๓ฐ—ฆ"}.mdi-cordova:before{content:"๓ฐฅ˜"}.mdi-corn:before{content:"๓ฐžธ"}.mdi-corn-off:before{content:"๓ฑฏ"}.mdi-cosine-wave:before{content:"๓ฑ‘น"}.mdi-counter:before{content:"๓ฐ†™"}.mdi-countertop:before{content:"๓ฑ œ"}.mdi-countertop-outline:before{content:"๓ฑ "}.mdi-cow:before{content:"๓ฐ†š"}.mdi-cow-off:before{content:"๓ฑฃผ"}.mdi-cpu-32-bit:before{content:"๓ฐปŸ"}.mdi-cpu-64-bit:before{content:"๓ฐป "}.mdi-cradle:before{content:"๓ฑฆ‹"}.mdi-cradle-outline:before{content:"๓ฑฆ‘"}.mdi-crane:before{content:"๓ฐกข"}.mdi-creation:before{content:"๓ฐ™ด"}.mdi-creation-outline:before{content:"๓ฑฐซ"}.mdi-creative-commons:before{content:"๓ฐตซ"}.mdi-credit-card:before{content:"๓ฐฟฏ"}.mdi-credit-card-check:before{content:"๓ฑ"}.mdi-credit-card-check-outline:before{content:"๓ฑ‘"}.mdi-credit-card-chip:before{content:"๓ฑค"}.mdi-credit-card-chip-outline:before{content:"๓ฑค"}.mdi-credit-card-clock:before{content:"๓ฐปก"}.mdi-credit-card-clock-outline:before{content:"๓ฐปข"}.mdi-credit-card-edit:before{content:"๓ฑŸ—"}.mdi-credit-card-edit-outline:before{content:"๓ฑŸ˜"}.mdi-credit-card-fast:before{content:"๓ฑค‘"}.mdi-credit-card-fast-outline:before{content:"๓ฑค’"}.mdi-credit-card-lock:before{content:"๓ฑฃง"}.mdi-credit-card-lock-outline:before{content:"๓ฑฃจ"}.mdi-credit-card-marker:before{content:"๓ฐšจ"}.mdi-credit-card-marker-outline:before{content:"๓ฐถพ"}.mdi-credit-card-minus:before{content:"๓ฐพฌ"}.mdi-credit-card-minus-outline:before{content:"๓ฐพญ"}.mdi-credit-card-multiple:before{content:"๓ฐฟฐ"}.mdi-credit-card-multiple-outline:before{content:"๓ฐ†œ"}.mdi-credit-card-off:before{content:"๓ฐฟฑ"}.mdi-credit-card-off-outline:before{content:"๓ฐ—ค"}.mdi-credit-card-outline:before{content:"๓ฐ†›"}.mdi-credit-card-plus:before{content:"๓ฐฟฒ"}.mdi-credit-card-plus-outline:before{content:"๓ฐ™ถ"}.mdi-credit-card-refresh:before{content:"๓ฑ™…"}.mdi-credit-card-refresh-outline:before{content:"๓ฑ™†"}.mdi-credit-card-refund:before{content:"๓ฐฟณ"}.mdi-credit-card-refund-outline:before{content:"๓ฐชจ"}.mdi-credit-card-remove:before{content:"๓ฐพฎ"}.mdi-credit-card-remove-outline:before{content:"๓ฐพฏ"}.mdi-credit-card-scan:before{content:"๓ฐฟด"}.mdi-credit-card-scan-outline:before{content:"๓ฐ†"}.mdi-credit-card-search:before{content:"๓ฑ™‡"}.mdi-credit-card-search-outline:before{content:"๓ฑ™ˆ"}.mdi-credit-card-settings:before{content:"๓ฐฟต"}.mdi-credit-card-settings-outline:before{content:"๓ฐฃ—"}.mdi-credit-card-sync:before{content:"๓ฑ™‰"}.mdi-credit-card-sync-outline:before{content:"๓ฑ™Š"}.mdi-credit-card-wireless:before{content:"๓ฐ ‚"}.mdi-credit-card-wireless-off:before{content:"๓ฐ•บ"}.mdi-credit-card-wireless-off-outline:before{content:"๓ฐ•ป"}.mdi-credit-card-wireless-outline:before{content:"๓ฐตฌ"}.mdi-cricket:before{content:"๓ฐตญ"}.mdi-crop:before{content:"๓ฐ†ž"}.mdi-crop-free:before{content:"๓ฐ†Ÿ"}.mdi-crop-landscape:before{content:"๓ฐ† "}.mdi-crop-portrait:before{content:"๓ฐ†ก"}.mdi-crop-rotate:before{content:"๓ฐš–"}.mdi-crop-square:before{content:"๓ฐ†ข"}.mdi-cross:before{content:"๓ฐฅ“"}.mdi-cross-bolnisi:before{content:"๓ฐณญ"}.mdi-cross-celtic:before{content:"๓ฐณต"}.mdi-cross-outline:before{content:"๓ฐณถ"}.mdi-crosshairs:before{content:"๓ฐ†ฃ"}.mdi-crosshairs-gps:before{content:"๓ฐ†ค"}.mdi-crosshairs-off:before{content:"๓ฐฝ…"}.mdi-crosshairs-question:before{content:"๓ฑ„ถ"}.mdi-crowd:before{content:"๓ฑฅต"}.mdi-crown:before{content:"๓ฐ†ฅ"}.mdi-crown-circle:before{content:"๓ฑŸœ"}.mdi-crown-circle-outline:before{content:"๓ฑŸ"}.mdi-crown-outline:before{content:"๓ฑ‡"}.mdi-cryengine:before{content:"๓ฐฅ™"}.mdi-crystal-ball:before{content:"๓ฐฌฏ"}.mdi-cube:before{content:"๓ฐ†ฆ"}.mdi-cube-off:before{content:"๓ฑœ"}.mdi-cube-off-outline:before{content:"๓ฑ"}.mdi-cube-outline:before{content:"๓ฐ†ง"}.mdi-cube-scan:before{content:"๓ฐฎ„"}.mdi-cube-send:before{content:"๓ฐ†จ"}.mdi-cube-unfolded:before{content:"๓ฐ†ฉ"}.mdi-cup:before{content:"๓ฐ†ช"}.mdi-cup-off:before{content:"๓ฐ—ฅ"}.mdi-cup-off-outline:before{content:"๓ฑฝ"}.mdi-cup-outline:before{content:"๓ฑŒ"}.mdi-cup-water:before{content:"๓ฐ†ซ"}.mdi-cupboard:before{content:"๓ฐฝ†"}.mdi-cupboard-outline:before{content:"๓ฐฝ‡"}.mdi-cupcake:before{content:"๓ฐฅš"}.mdi-curling:before{content:"๓ฐกฃ"}.mdi-currency-bdt:before{content:"๓ฐกค"}.mdi-currency-brl:before{content:"๓ฐฎ…"}.mdi-currency-btc:before{content:"๓ฐ†ฌ"}.mdi-currency-cny:before{content:"๓ฐžบ"}.mdi-currency-eth:before{content:"๓ฐžป"}.mdi-currency-eur:before{content:"๓ฐ†ญ"}.mdi-currency-eur-off:before{content:"๓ฑŒ•"}.mdi-currency-fra:before{content:"๓ฑจน"}.mdi-currency-gbp:before{content:"๓ฐ†ฎ"}.mdi-currency-ils:before{content:"๓ฐฑก"}.mdi-currency-inr:before{content:"๓ฐ†ฏ"}.mdi-currency-jpy:before{content:"๓ฐžผ"}.mdi-currency-krw:before{content:"๓ฐžฝ"}.mdi-currency-kzt:before{content:"๓ฐกฅ"}.mdi-currency-mnt:before{content:"๓ฑ”’"}.mdi-currency-ngn:before{content:"๓ฐ†ฐ"}.mdi-currency-php:before{content:"๓ฐงฆ"}.mdi-currency-rial:before{content:"๓ฐบœ"}.mdi-currency-rub:before{content:"๓ฐ†ฑ"}.mdi-currency-rupee:before{content:"๓ฑฅถ"}.mdi-currency-sign:before{content:"๓ฐžพ"}.mdi-currency-thb:before{content:"๓ฑฐ…"}.mdi-currency-try:before{content:"๓ฐ†ฒ"}.mdi-currency-twd:before{content:"๓ฐžฟ"}.mdi-currency-uah:before{content:"๓ฑฎ›"}.mdi-currency-usd:before{content:"๓ฐ‡"}.mdi-currency-usd-off:before{content:"๓ฐ™บ"}.mdi-current-ac:before{content:"๓ฑ’€"}.mdi-current-dc:before{content:"๓ฐฅœ"}.mdi-cursor-default:before{content:"๓ฐ‡€"}.mdi-cursor-default-click:before{content:"๓ฐณฝ"}.mdi-cursor-default-click-outline:before{content:"๓ฐณพ"}.mdi-cursor-default-gesture:before{content:"๓ฑ„ง"}.mdi-cursor-default-gesture-outline:before{content:"๓ฑ„จ"}.mdi-cursor-default-outline:before{content:"๓ฐ†ฟ"}.mdi-cursor-move:before{content:"๓ฐ†พ"}.mdi-cursor-pointer:before{content:"๓ฐ†ฝ"}.mdi-cursor-text:before{content:"๓ฐ—ง"}.mdi-curtains:before{content:"๓ฑก†"}.mdi-curtains-closed:before{content:"๓ฑก‡"}.mdi-cylinder:before{content:"๓ฑฅŽ"}.mdi-cylinder-off:before{content:"๓ฑฅ"}.mdi-dance-ballroom:before{content:"๓ฑ—ป"}.mdi-dance-pole:before{content:"๓ฑ•ธ"}.mdi-data-matrix:before{content:"๓ฑ”ผ"}.mdi-data-matrix-edit:before{content:"๓ฑ”ฝ"}.mdi-data-matrix-minus:before{content:"๓ฑ”พ"}.mdi-data-matrix-plus:before{content:"๓ฑ”ฟ"}.mdi-data-matrix-remove:before{content:"๓ฑ•€"}.mdi-data-matrix-scan:before{content:"๓ฑ•"}.mdi-database:before{content:"๓ฐ†ผ"}.mdi-database-alert:before{content:"๓ฑ˜บ"}.mdi-database-alert-outline:before{content:"๓ฑ˜ค"}.mdi-database-arrow-down:before{content:"๓ฑ˜ป"}.mdi-database-arrow-down-outline:before{content:"๓ฑ˜ฅ"}.mdi-database-arrow-left:before{content:"๓ฑ˜ผ"}.mdi-database-arrow-left-outline:before{content:"๓ฑ˜ฆ"}.mdi-database-arrow-right:before{content:"๓ฑ˜ฝ"}.mdi-database-arrow-right-outline:before{content:"๓ฑ˜ง"}.mdi-database-arrow-up:before{content:"๓ฑ˜พ"}.mdi-database-arrow-up-outline:before{content:"๓ฑ˜จ"}.mdi-database-check:before{content:"๓ฐชฉ"}.mdi-database-check-outline:before{content:"๓ฑ˜ฉ"}.mdi-database-clock:before{content:"๓ฑ˜ฟ"}.mdi-database-clock-outline:before{content:"๓ฑ˜ช"}.mdi-database-cog:before{content:"๓ฑ™‹"}.mdi-database-cog-outline:before{content:"๓ฑ™Œ"}.mdi-database-edit:before{content:"๓ฐฎ†"}.mdi-database-edit-outline:before{content:"๓ฑ˜ซ"}.mdi-database-export:before{content:"๓ฐฅž"}.mdi-database-export-outline:before{content:"๓ฑ˜ฌ"}.mdi-database-eye:before{content:"๓ฑคŸ"}.mdi-database-eye-off:before{content:"๓ฑค "}.mdi-database-eye-off-outline:before{content:"๓ฑคก"}.mdi-database-eye-outline:before{content:"๓ฑคข"}.mdi-database-import:before{content:"๓ฐฅ"}.mdi-database-import-outline:before{content:"๓ฑ˜ญ"}.mdi-database-lock:before{content:"๓ฐชช"}.mdi-database-lock-outline:before{content:"๓ฑ˜ฎ"}.mdi-database-marker:before{content:"๓ฑ‹ถ"}.mdi-database-marker-outline:before{content:"๓ฑ˜ฏ"}.mdi-database-minus:before{content:"๓ฐ†ป"}.mdi-database-minus-outline:before{content:"๓ฑ˜ฐ"}.mdi-database-off:before{content:"๓ฑ™€"}.mdi-database-off-outline:before{content:"๓ฑ˜ฑ"}.mdi-database-outline:before{content:"๓ฑ˜ฒ"}.mdi-database-plus:before{content:"๓ฐ†บ"}.mdi-database-plus-outline:before{content:"๓ฑ˜ณ"}.mdi-database-refresh:before{content:"๓ฐ—‚"}.mdi-database-refresh-outline:before{content:"๓ฑ˜ด"}.mdi-database-remove:before{content:"๓ฐด€"}.mdi-database-remove-outline:before{content:"๓ฑ˜ต"}.mdi-database-search:before{content:"๓ฐกฆ"}.mdi-database-search-outline:before{content:"๓ฑ˜ถ"}.mdi-database-settings:before{content:"๓ฐด"}.mdi-database-settings-outline:before{content:"๓ฑ˜ท"}.mdi-database-sync:before{content:"๓ฐณฟ"}.mdi-database-sync-outline:before{content:"๓ฑ˜ธ"}.mdi-death-star:before{content:"๓ฐฃ˜"}.mdi-death-star-variant:before{content:"๓ฐฃ™"}.mdi-deathly-hallows:before{content:"๓ฐฎ‡"}.mdi-debian:before{content:"๓ฐฃš"}.mdi-debug-step-into:before{content:"๓ฐ†น"}.mdi-debug-step-out:before{content:"๓ฐ†ธ"}.mdi-debug-step-over:before{content:"๓ฐ†ท"}.mdi-decagram:before{content:"๓ฐฌ"}.mdi-decagram-outline:before{content:"๓ฐญ"}.mdi-decimal:before{content:"๓ฑ‚ก"}.mdi-decimal-comma:before{content:"๓ฑ‚ข"}.mdi-decimal-comma-decrease:before{content:"๓ฑ‚ฃ"}.mdi-decimal-comma-increase:before{content:"๓ฑ‚ค"}.mdi-decimal-decrease:before{content:"๓ฐ†ถ"}.mdi-decimal-increase:before{content:"๓ฐ†ต"}.mdi-delete:before{content:"๓ฐ†ด"}.mdi-delete-alert:before{content:"๓ฑ‚ฅ"}.mdi-delete-alert-outline:before{content:"๓ฑ‚ฆ"}.mdi-delete-circle:before{content:"๓ฐšƒ"}.mdi-delete-circle-outline:before{content:"๓ฐฎˆ"}.mdi-delete-clock:before{content:"๓ฑ•–"}.mdi-delete-clock-outline:before{content:"๓ฑ•—"}.mdi-delete-empty:before{content:"๓ฐ›Œ"}.mdi-delete-empty-outline:before{content:"๓ฐบ"}.mdi-delete-forever:before{content:"๓ฐ—จ"}.mdi-delete-forever-outline:before{content:"๓ฐฎ‰"}.mdi-delete-off:before{content:"๓ฑ‚ง"}.mdi-delete-off-outline:before{content:"๓ฑ‚จ"}.mdi-delete-outline:before{content:"๓ฐงง"}.mdi-delete-restore:before{content:"๓ฐ ™"}.mdi-delete-sweep:before{content:"๓ฐ—ฉ"}.mdi-delete-sweep-outline:before{content:"๓ฐฑข"}.mdi-delete-variant:before{content:"๓ฐ†ณ"}.mdi-delta:before{content:"๓ฐ‡‚"}.mdi-desk:before{content:"๓ฑˆน"}.mdi-desk-lamp:before{content:"๓ฐฅŸ"}.mdi-desk-lamp-off:before{content:"๓ฑฌŸ"}.mdi-desk-lamp-on:before{content:"๓ฑฌ "}.mdi-deskphone:before{content:"๓ฐ‡ƒ"}.mdi-desktop-classic:before{content:"๓ฐŸ€"}.mdi-desktop-tower:before{content:"๓ฐ‡…"}.mdi-desktop-tower-monitor:before{content:"๓ฐชซ"}.mdi-details:before{content:"๓ฐ‡†"}.mdi-dev-to:before{content:"๓ฐตฎ"}.mdi-developer-board:before{content:"๓ฐš—"}.mdi-deviantart:before{content:"๓ฐ‡‡"}.mdi-devices:before{content:"๓ฐพฐ"}.mdi-dharmachakra:before{content:"๓ฐฅ‹"}.mdi-diabetes:before{content:"๓ฑ„ฆ"}.mdi-dialpad:before{content:"๓ฐ˜œ"}.mdi-diameter:before{content:"๓ฐฑฃ"}.mdi-diameter-outline:before{content:"๓ฐฑค"}.mdi-diameter-variant:before{content:"๓ฐฑฅ"}.mdi-diamond:before{content:"๓ฐฎŠ"}.mdi-diamond-outline:before{content:"๓ฐฎ‹"}.mdi-diamond-stone:before{content:"๓ฐ‡ˆ"}.mdi-dice-1:before{content:"๓ฐ‡Š"}.mdi-dice-1-outline:before{content:"๓ฑ…Š"}.mdi-dice-2:before{content:"๓ฐ‡‹"}.mdi-dice-2-outline:before{content:"๓ฑ…‹"}.mdi-dice-3:before{content:"๓ฐ‡Œ"}.mdi-dice-3-outline:before{content:"๓ฑ…Œ"}.mdi-dice-4:before{content:"๓ฐ‡"}.mdi-dice-4-outline:before{content:"๓ฑ…"}.mdi-dice-5:before{content:"๓ฐ‡Ž"}.mdi-dice-5-outline:before{content:"๓ฑ…Ž"}.mdi-dice-6:before{content:"๓ฐ‡"}.mdi-dice-6-outline:before{content:"๓ฑ…"}.mdi-dice-d10:before{content:"๓ฑ…“"}.mdi-dice-d10-outline:before{content:"๓ฐฏ"}.mdi-dice-d12:before{content:"๓ฑ…”"}.mdi-dice-d12-outline:before{content:"๓ฐกง"}.mdi-dice-d20:before{content:"๓ฑ…•"}.mdi-dice-d20-outline:before{content:"๓ฐ—ช"}.mdi-dice-d4:before{content:"๓ฑ…"}.mdi-dice-d4-outline:before{content:"๓ฐ—ซ"}.mdi-dice-d6:before{content:"๓ฑ…‘"}.mdi-dice-d6-outline:before{content:"๓ฐ—ญ"}.mdi-dice-d8:before{content:"๓ฑ…’"}.mdi-dice-d8-outline:before{content:"๓ฐ—ฌ"}.mdi-dice-multiple:before{content:"๓ฐฎ"}.mdi-dice-multiple-outline:before{content:"๓ฑ…–"}.mdi-digital-ocean:before{content:"๓ฑˆท"}.mdi-dip-switch:before{content:"๓ฐŸ"}.mdi-directions:before{content:"๓ฐ‡"}.mdi-directions-fork:before{content:"๓ฐ™"}.mdi-disc:before{content:"๓ฐ—ฎ"}.mdi-disc-alert:before{content:"๓ฐ‡‘"}.mdi-disc-player:before{content:"๓ฐฅ "}.mdi-dishwasher:before{content:"๓ฐชฌ"}.mdi-dishwasher-alert:before{content:"๓ฑ†ธ"}.mdi-dishwasher-off:before{content:"๓ฑ†น"}.mdi-disqus:before{content:"๓ฐ‡’"}.mdi-distribute-horizontal-center:before{content:"๓ฑ‡‰"}.mdi-distribute-horizontal-left:before{content:"๓ฑ‡ˆ"}.mdi-distribute-horizontal-right:before{content:"๓ฑ‡Š"}.mdi-distribute-vertical-bottom:before{content:"๓ฑ‡‹"}.mdi-distribute-vertical-center:before{content:"๓ฑ‡Œ"}.mdi-distribute-vertical-top:before{content:"๓ฑ‡"}.mdi-diversify:before{content:"๓ฑกท"}.mdi-diving:before{content:"๓ฑฅท"}.mdi-diving-flippers:before{content:"๓ฐถฟ"}.mdi-diving-helmet:before{content:"๓ฐท€"}.mdi-diving-scuba:before{content:"๓ฑญท"}.mdi-diving-scuba-flag:before{content:"๓ฐท‚"}.mdi-diving-scuba-mask:before{content:"๓ฐท"}.mdi-diving-scuba-tank:before{content:"๓ฐทƒ"}.mdi-diving-scuba-tank-multiple:before{content:"๓ฐท„"}.mdi-diving-snorkel:before{content:"๓ฐท…"}.mdi-division:before{content:"๓ฐ‡”"}.mdi-division-box:before{content:"๓ฐ‡•"}.mdi-dlna:before{content:"๓ฐฉ"}.mdi-dna:before{content:"๓ฐš„"}.mdi-dns:before{content:"๓ฐ‡–"}.mdi-dns-outline:before{content:"๓ฐฎŒ"}.mdi-dock-bottom:before{content:"๓ฑ‚ฉ"}.mdi-dock-left:before{content:"๓ฑ‚ช"}.mdi-dock-right:before{content:"๓ฑ‚ซ"}.mdi-dock-top:before{content:"๓ฑ”“"}.mdi-dock-window:before{content:"๓ฑ‚ฌ"}.mdi-docker:before{content:"๓ฐกจ"}.mdi-doctor:before{content:"๓ฐฉ‚"}.mdi-dog:before{content:"๓ฐฉƒ"}.mdi-dog-service:before{content:"๓ฐชญ"}.mdi-dog-side:before{content:"๓ฐฉ„"}.mdi-dog-side-off:before{content:"๓ฑ›ฎ"}.mdi-dolby:before{content:"๓ฐšณ"}.mdi-dolly:before{content:"๓ฐบž"}.mdi-dolphin:before{content:"๓ฑขด"}.mdi-domain:before{content:"๓ฐ‡—"}.mdi-domain-off:before{content:"๓ฐตฏ"}.mdi-domain-plus:before{content:"๓ฑ‚ญ"}.mdi-domain-remove:before{content:"๓ฑ‚ฎ"}.mdi-domain-switch:before{content:"๓ฑฐฌ"}.mdi-dome-light:before{content:"๓ฑž"}.mdi-domino-mask:before{content:"๓ฑ€ฃ"}.mdi-donkey:before{content:"๓ฐŸ‚"}.mdi-door:before{content:"๓ฐ š"}.mdi-door-closed:before{content:"๓ฐ ›"}.mdi-door-closed-lock:before{content:"๓ฑ‚ฏ"}.mdi-door-open:before{content:"๓ฐ œ"}.mdi-door-sliding:before{content:"๓ฑ ž"}.mdi-door-sliding-lock:before{content:"๓ฑ Ÿ"}.mdi-door-sliding-open:before{content:"๓ฑ  "}.mdi-doorbell:before{content:"๓ฑ‹ฆ"}.mdi-doorbell-video:before{content:"๓ฐกฉ"}.mdi-dot-net:before{content:"๓ฐชฎ"}.mdi-dots-circle:before{content:"๓ฑฅธ"}.mdi-dots-grid:before{content:"๓ฑ—ผ"}.mdi-dots-hexagon:before{content:"๓ฑ—ฟ"}.mdi-dots-horizontal:before{content:"๓ฐ‡˜"}.mdi-dots-horizontal-circle:before{content:"๓ฐŸƒ"}.mdi-dots-horizontal-circle-outline:before{content:"๓ฐฎ"}.mdi-dots-square:before{content:"๓ฑ—ฝ"}.mdi-dots-triangle:before{content:"๓ฑ—พ"}.mdi-dots-vertical:before{content:"๓ฐ‡™"}.mdi-dots-vertical-circle:before{content:"๓ฐŸ„"}.mdi-dots-vertical-circle-outline:before{content:"๓ฐฎŽ"}.mdi-download:before{content:"๓ฐ‡š"}.mdi-download-box:before{content:"๓ฑ‘ข"}.mdi-download-box-outline:before{content:"๓ฑ‘ฃ"}.mdi-download-circle:before{content:"๓ฑ‘ค"}.mdi-download-circle-outline:before{content:"๓ฑ‘ฅ"}.mdi-download-lock:before{content:"๓ฑŒ "}.mdi-download-lock-outline:before{content:"๓ฑŒก"}.mdi-download-multiple:before{content:"๓ฐงฉ"}.mdi-download-network:before{content:"๓ฐ›ด"}.mdi-download-network-outline:before{content:"๓ฐฑฆ"}.mdi-download-off:before{content:"๓ฑ‚ฐ"}.mdi-download-off-outline:before{content:"๓ฑ‚ฑ"}.mdi-download-outline:before{content:"๓ฐฎ"}.mdi-drag:before{content:"๓ฐ‡›"}.mdi-drag-horizontal:before{content:"๓ฐ‡œ"}.mdi-drag-horizontal-variant:before{content:"๓ฑ‹ฐ"}.mdi-drag-variant:before{content:"๓ฐฎ"}.mdi-drag-vertical:before{content:"๓ฐ‡"}.mdi-drag-vertical-variant:before{content:"๓ฑ‹ฑ"}.mdi-drama-masks:before{content:"๓ฐด‚"}.mdi-draw:before{content:"๓ฐฝ‰"}.mdi-draw-pen:before{content:"๓ฑฆน"}.mdi-drawing:before{content:"๓ฐ‡ž"}.mdi-drawing-box:before{content:"๓ฐ‡Ÿ"}.mdi-dresser:before{content:"๓ฐฝŠ"}.mdi-dresser-outline:before{content:"๓ฐฝ‹"}.mdi-drone:before{content:"๓ฐ‡ข"}.mdi-dropbox:before{content:"๓ฐ‡ฃ"}.mdi-drupal:before{content:"๓ฐ‡ค"}.mdi-duck:before{content:"๓ฐ‡ฅ"}.mdi-dumbbell:before{content:"๓ฐ‡ฆ"}.mdi-dump-truck:before{content:"๓ฐฑง"}.mdi-ear-hearing:before{content:"๓ฐŸ…"}.mdi-ear-hearing-loop:before{content:"๓ฑซฎ"}.mdi-ear-hearing-off:before{content:"๓ฐฉ…"}.mdi-earbuds:before{content:"๓ฑก"}.mdi-earbuds-off:before{content:"๓ฑก"}.mdi-earbuds-off-outline:before{content:"๓ฑก‘"}.mdi-earbuds-outline:before{content:"๓ฑก’"}.mdi-earth:before{content:"๓ฐ‡ง"}.mdi-earth-arrow-right:before{content:"๓ฑŒ‘"}.mdi-earth-box:before{content:"๓ฐ›"}.mdi-earth-box-minus:before{content:"๓ฑ‡"}.mdi-earth-box-off:before{content:"๓ฐ›Ž"}.mdi-earth-box-plus:before{content:"๓ฑ†"}.mdi-earth-box-remove:before{content:"๓ฑˆ"}.mdi-earth-minus:before{content:"๓ฑ„"}.mdi-earth-off:before{content:"๓ฐ‡จ"}.mdi-earth-plus:before{content:"๓ฑƒ"}.mdi-earth-remove:before{content:"๓ฑ…"}.mdi-egg:before{content:"๓ฐชฏ"}.mdi-egg-easter:before{content:"๓ฐชฐ"}.mdi-egg-fried:before{content:"๓ฑกŠ"}.mdi-egg-off:before{content:"๓ฑฐ"}.mdi-egg-off-outline:before{content:"๓ฑฑ"}.mdi-egg-outline:before{content:"๓ฑฒ"}.mdi-eiffel-tower:before{content:"๓ฑ•ซ"}.mdi-eight-track:before{content:"๓ฐงช"}.mdi-eject:before{content:"๓ฐ‡ช"}.mdi-eject-circle:before{content:"๓ฑฌฃ"}.mdi-eject-circle-outline:before{content:"๓ฑฌค"}.mdi-eject-outline:before{content:"๓ฐฎ‘"}.mdi-electric-switch:before{content:"๓ฐบŸ"}.mdi-electric-switch-closed:before{content:"๓ฑƒ™"}.mdi-electron-framework:before{content:"๓ฑ€ค"}.mdi-elephant:before{content:"๓ฐŸ†"}.mdi-elevation-decline:before{content:"๓ฐ‡ซ"}.mdi-elevation-rise:before{content:"๓ฐ‡ฌ"}.mdi-elevator:before{content:"๓ฐ‡ญ"}.mdi-elevator-down:before{content:"๓ฑ‹‚"}.mdi-elevator-passenger:before{content:"๓ฑŽ"}.mdi-elevator-passenger-off:before{content:"๓ฑฅน"}.mdi-elevator-passenger-off-outline:before{content:"๓ฑฅบ"}.mdi-elevator-passenger-outline:before{content:"๓ฑฅป"}.mdi-elevator-up:before{content:"๓ฑ‹"}.mdi-ellipse:before{content:"๓ฐบ "}.mdi-ellipse-outline:before{content:"๓ฐบก"}.mdi-email:before{content:"๓ฐ‡ฎ"}.mdi-email-alert:before{content:"๓ฐ›"}.mdi-email-alert-outline:before{content:"๓ฐต‚"}.mdi-email-arrow-left:before{content:"๓ฑƒš"}.mdi-email-arrow-left-outline:before{content:"๓ฑƒ›"}.mdi-email-arrow-right:before{content:"๓ฑƒœ"}.mdi-email-arrow-right-outline:before{content:"๓ฑƒ"}.mdi-email-box:before{content:"๓ฐดƒ"}.mdi-email-check:before{content:"๓ฐชฑ"}.mdi-email-check-outline:before{content:"๓ฐชฒ"}.mdi-email-edit:before{content:"๓ฐปฃ"}.mdi-email-edit-outline:before{content:"๓ฐปค"}.mdi-email-fast:before{content:"๓ฑกฏ"}.mdi-email-fast-outline:before{content:"๓ฑกฐ"}.mdi-email-heart-outline:before{content:"๓ฑฑ›"}.mdi-email-lock:before{content:"๓ฐ‡ฑ"}.mdi-email-lock-outline:before{content:"๓ฑญก"}.mdi-email-mark-as-unread:before{content:"๓ฐฎ’"}.mdi-email-minus:before{content:"๓ฐปฅ"}.mdi-email-minus-outline:before{content:"๓ฐปฆ"}.mdi-email-multiple:before{content:"๓ฐปง"}.mdi-email-multiple-outline:before{content:"๓ฐปจ"}.mdi-email-newsletter:before{content:"๓ฐพฑ"}.mdi-email-off:before{content:"๓ฑฃ"}.mdi-email-off-outline:before{content:"๓ฑค"}.mdi-email-open:before{content:"๓ฐ‡ฏ"}.mdi-email-open-heart-outline:before{content:"๓ฑฑœ"}.mdi-email-open-multiple:before{content:"๓ฐปฉ"}.mdi-email-open-multiple-outline:before{content:"๓ฐปช"}.mdi-email-open-outline:before{content:"๓ฐ—ฏ"}.mdi-email-outline:before{content:"๓ฐ‡ฐ"}.mdi-email-plus:before{content:"๓ฐงซ"}.mdi-email-plus-outline:before{content:"๓ฐงฌ"}.mdi-email-remove:before{content:"๓ฑ™ก"}.mdi-email-remove-outline:before{content:"๓ฑ™ข"}.mdi-email-seal:before{content:"๓ฑฅ›"}.mdi-email-seal-outline:before{content:"๓ฑฅœ"}.mdi-email-search:before{content:"๓ฐฅก"}.mdi-email-search-outline:before{content:"๓ฐฅข"}.mdi-email-sync:before{content:"๓ฑ‹‡"}.mdi-email-sync-outline:before{content:"๓ฑ‹ˆ"}.mdi-email-variant:before{content:"๓ฐ—ฐ"}.mdi-ember:before{content:"๓ฐฌฐ"}.mdi-emby:before{content:"๓ฐšด"}.mdi-emoticon:before{content:"๓ฐฑจ"}.mdi-emoticon-angry:before{content:"๓ฐฑฉ"}.mdi-emoticon-angry-outline:before{content:"๓ฐฑช"}.mdi-emoticon-confused:before{content:"๓ฑƒž"}.mdi-emoticon-confused-outline:before{content:"๓ฑƒŸ"}.mdi-emoticon-cool:before{content:"๓ฐฑซ"}.mdi-emoticon-cool-outline:before{content:"๓ฐ‡ณ"}.mdi-emoticon-cry:before{content:"๓ฐฑฌ"}.mdi-emoticon-cry-outline:before{content:"๓ฐฑญ"}.mdi-emoticon-dead:before{content:"๓ฐฑฎ"}.mdi-emoticon-dead-outline:before{content:"๓ฐš›"}.mdi-emoticon-devil:before{content:"๓ฐฑฏ"}.mdi-emoticon-devil-outline:before{content:"๓ฐ‡ด"}.mdi-emoticon-excited:before{content:"๓ฐฑฐ"}.mdi-emoticon-excited-outline:before{content:"๓ฐšœ"}.mdi-emoticon-frown:before{content:"๓ฐฝŒ"}.mdi-emoticon-frown-outline:before{content:"๓ฐฝ"}.mdi-emoticon-happy:before{content:"๓ฐฑฑ"}.mdi-emoticon-happy-outline:before{content:"๓ฐ‡ต"}.mdi-emoticon-kiss:before{content:"๓ฐฑฒ"}.mdi-emoticon-kiss-outline:before{content:"๓ฐฑณ"}.mdi-emoticon-lol:before{content:"๓ฑˆ”"}.mdi-emoticon-lol-outline:before{content:"๓ฑˆ•"}.mdi-emoticon-neutral:before{content:"๓ฐฑด"}.mdi-emoticon-neutral-outline:before{content:"๓ฐ‡ถ"}.mdi-emoticon-outline:before{content:"๓ฐ‡ฒ"}.mdi-emoticon-poop:before{content:"๓ฐ‡ท"}.mdi-emoticon-poop-outline:before{content:"๓ฐฑต"}.mdi-emoticon-sad:before{content:"๓ฐฑถ"}.mdi-emoticon-sad-outline:before{content:"๓ฐ‡ธ"}.mdi-emoticon-sick:before{content:"๓ฑ•ผ"}.mdi-emoticon-sick-outline:before{content:"๓ฑ•ฝ"}.mdi-emoticon-tongue:before{content:"๓ฐ‡น"}.mdi-emoticon-tongue-outline:before{content:"๓ฐฑท"}.mdi-emoticon-wink:before{content:"๓ฐฑธ"}.mdi-emoticon-wink-outline:before{content:"๓ฐฑน"}.mdi-engine:before{content:"๓ฐ‡บ"}.mdi-engine-off:before{content:"๓ฐฉ†"}.mdi-engine-off-outline:before{content:"๓ฐฉ‡"}.mdi-engine-outline:before{content:"๓ฐ‡ป"}.mdi-epsilon:before{content:"๓ฑƒ "}.mdi-equal:before{content:"๓ฐ‡ผ"}.mdi-equal-box:before{content:"๓ฐ‡ฝ"}.mdi-equalizer:before{content:"๓ฐบข"}.mdi-equalizer-outline:before{content:"๓ฐบฃ"}.mdi-eraser:before{content:"๓ฐ‡พ"}.mdi-eraser-variant:before{content:"๓ฐ™‚"}.mdi-escalator:before{content:"๓ฐ‡ฟ"}.mdi-escalator-box:before{content:"๓ฑŽ™"}.mdi-escalator-down:before{content:"๓ฑ‹€"}.mdi-escalator-up:before{content:"๓ฑŠฟ"}.mdi-eslint:before{content:"๓ฐฑบ"}.mdi-et:before{content:"๓ฐชณ"}.mdi-ethereum:before{content:"๓ฐกช"}.mdi-ethernet:before{content:"๓ฐˆ€"}.mdi-ethernet-cable:before{content:"๓ฐˆ"}.mdi-ethernet-cable-off:before{content:"๓ฐˆ‚"}.mdi-ev-plug-ccs1:before{content:"๓ฑ”™"}.mdi-ev-plug-ccs2:before{content:"๓ฑ”š"}.mdi-ev-plug-chademo:before{content:"๓ฑ”›"}.mdi-ev-plug-tesla:before{content:"๓ฑ”œ"}.mdi-ev-plug-type1:before{content:"๓ฑ”"}.mdi-ev-plug-type2:before{content:"๓ฑ”ž"}.mdi-ev-station:before{content:"๓ฐ—ฑ"}.mdi-evernote:before{content:"๓ฐˆ„"}.mdi-excavator:before{content:"๓ฑ€ฅ"}.mdi-exclamation:before{content:"๓ฐˆ…"}.mdi-exclamation-thick:before{content:"๓ฑˆธ"}.mdi-exit-run:before{content:"๓ฐฉˆ"}.mdi-exit-to-app:before{content:"๓ฐˆ†"}.mdi-expand-all:before{content:"๓ฐชด"}.mdi-expand-all-outline:before{content:"๓ฐชต"}.mdi-expansion-card:before{content:"๓ฐขฎ"}.mdi-expansion-card-variant:before{content:"๓ฐพฒ"}.mdi-exponent:before{content:"๓ฐฅฃ"}.mdi-exponent-box:before{content:"๓ฐฅค"}.mdi-export:before{content:"๓ฐˆ‡"}.mdi-export-variant:before{content:"๓ฐฎ“"}.mdi-eye:before{content:"๓ฐˆˆ"}.mdi-eye-arrow-left:before{content:"๓ฑฃฝ"}.mdi-eye-arrow-left-outline:before{content:"๓ฑฃพ"}.mdi-eye-arrow-right:before{content:"๓ฑฃฟ"}.mdi-eye-arrow-right-outline:before{content:"๓ฑค€"}.mdi-eye-check:before{content:"๓ฐด„"}.mdi-eye-check-outline:before{content:"๓ฐด…"}.mdi-eye-circle:before{content:"๓ฐฎ”"}.mdi-eye-circle-outline:before{content:"๓ฐฎ•"}.mdi-eye-lock:before{content:"๓ฑฐ†"}.mdi-eye-lock-open:before{content:"๓ฑฐ‡"}.mdi-eye-lock-open-outline:before{content:"๓ฑฐˆ"}.mdi-eye-lock-outline:before{content:"๓ฑฐ‰"}.mdi-eye-minus:before{content:"๓ฑ€ฆ"}.mdi-eye-minus-outline:before{content:"๓ฑ€ง"}.mdi-eye-off:before{content:"๓ฐˆ‰"}.mdi-eye-off-outline:before{content:"๓ฐ›‘"}.mdi-eye-outline:before{content:"๓ฐ›"}.mdi-eye-plus:before{content:"๓ฐกซ"}.mdi-eye-plus-outline:before{content:"๓ฐกฌ"}.mdi-eye-refresh:before{content:"๓ฑฅผ"}.mdi-eye-refresh-outline:before{content:"๓ฑฅฝ"}.mdi-eye-remove:before{content:"๓ฑ—ฃ"}.mdi-eye-remove-outline:before{content:"๓ฑ—ค"}.mdi-eye-settings:before{content:"๓ฐกญ"}.mdi-eye-settings-outline:before{content:"๓ฐกฎ"}.mdi-eyedropper:before{content:"๓ฐˆŠ"}.mdi-eyedropper-minus:before{content:"๓ฑ"}.mdi-eyedropper-off:before{content:"๓ฑŸ"}.mdi-eyedropper-plus:before{content:"๓ฑœ"}.mdi-eyedropper-remove:before{content:"๓ฑž"}.mdi-eyedropper-variant:before{content:"๓ฐˆ‹"}.mdi-face-agent:before{content:"๓ฐตฐ"}.mdi-face-man:before{content:"๓ฐ™ƒ"}.mdi-face-man-outline:before{content:"๓ฐฎ–"}.mdi-face-man-profile:before{content:"๓ฐ™„"}.mdi-face-man-shimmer:before{content:"๓ฑ—Œ"}.mdi-face-man-shimmer-outline:before{content:"๓ฑ—"}.mdi-face-mask:before{content:"๓ฑ–†"}.mdi-face-mask-outline:before{content:"๓ฑ–‡"}.mdi-face-recognition:before{content:"๓ฐฑป"}.mdi-face-woman:before{content:"๓ฑท"}.mdi-face-woman-outline:before{content:"๓ฑธ"}.mdi-face-woman-profile:before{content:"๓ฑถ"}.mdi-face-woman-shimmer:before{content:"๓ฑ—Ž"}.mdi-face-woman-shimmer-outline:before{content:"๓ฑ—"}.mdi-facebook:before{content:"๓ฐˆŒ"}.mdi-facebook-gaming:before{content:"๓ฐŸ"}.mdi-facebook-messenger:before{content:"๓ฐˆŽ"}.mdi-facebook-workplace:before{content:"๓ฐฌฑ"}.mdi-factory:before{content:"๓ฐˆ"}.mdi-family-tree:before{content:"๓ฑ˜Ž"}.mdi-fan:before{content:"๓ฐˆ"}.mdi-fan-alert:before{content:"๓ฑ‘ฌ"}.mdi-fan-auto:before{content:"๓ฑœ"}.mdi-fan-chevron-down:before{content:"๓ฑ‘ญ"}.mdi-fan-chevron-up:before{content:"๓ฑ‘ฎ"}.mdi-fan-clock:before{content:"๓ฑจบ"}.mdi-fan-minus:before{content:"๓ฑ‘ฐ"}.mdi-fan-off:before{content:"๓ฐ "}.mdi-fan-plus:before{content:"๓ฑ‘ฏ"}.mdi-fan-remove:before{content:"๓ฑ‘ฑ"}.mdi-fan-speed-1:before{content:"๓ฑ‘ฒ"}.mdi-fan-speed-2:before{content:"๓ฑ‘ณ"}.mdi-fan-speed-3:before{content:"๓ฑ‘ด"}.mdi-fast-forward:before{content:"๓ฐˆ‘"}.mdi-fast-forward-10:before{content:"๓ฐตฑ"}.mdi-fast-forward-15:before{content:"๓ฑคบ"}.mdi-fast-forward-30:before{content:"๓ฐด†"}.mdi-fast-forward-45:before{content:"๓ฑฌ’"}.mdi-fast-forward-5:before{content:"๓ฑ‡ธ"}.mdi-fast-forward-60:before{content:"๓ฑ˜‹"}.mdi-fast-forward-outline:before{content:"๓ฐ›’"}.mdi-faucet:before{content:"๓ฑฌฉ"}.mdi-faucet-variant:before{content:"๓ฑฌช"}.mdi-fax:before{content:"๓ฐˆ’"}.mdi-feather:before{content:"๓ฐ›“"}.mdi-feature-search:before{content:"๓ฐฉ‰"}.mdi-feature-search-outline:before{content:"๓ฐฉŠ"}.mdi-fedora:before{content:"๓ฐฃ›"}.mdi-fence:before{content:"๓ฑžš"}.mdi-fence-electric:before{content:"๓ฑŸถ"}.mdi-fencing:before{content:"๓ฑ“"}.mdi-ferris-wheel:before{content:"๓ฐบค"}.mdi-ferry:before{content:"๓ฐˆ“"}.mdi-file:before{content:"๓ฐˆ”"}.mdi-file-account:before{content:"๓ฐœป"}.mdi-file-account-outline:before{content:"๓ฑ€จ"}.mdi-file-alert:before{content:"๓ฐฉ‹"}.mdi-file-alert-outline:before{content:"๓ฐฉŒ"}.mdi-file-arrow-left-right:before{content:"๓ฑช“"}.mdi-file-arrow-left-right-outline:before{content:"๓ฑช”"}.mdi-file-arrow-up-down:before{content:"๓ฑช•"}.mdi-file-arrow-up-down-outline:before{content:"๓ฑช–"}.mdi-file-cabinet:before{content:"๓ฐชถ"}.mdi-file-cad:before{content:"๓ฐปซ"}.mdi-file-cad-box:before{content:"๓ฐปฌ"}.mdi-file-cancel:before{content:"๓ฐท†"}.mdi-file-cancel-outline:before{content:"๓ฐท‡"}.mdi-file-certificate:before{content:"๓ฑ††"}.mdi-file-certificate-outline:before{content:"๓ฑ†‡"}.mdi-file-chart:before{content:"๓ฐˆ•"}.mdi-file-chart-check:before{content:"๓ฑง†"}.mdi-file-chart-check-outline:before{content:"๓ฑง‡"}.mdi-file-chart-outline:before{content:"๓ฑ€ฉ"}.mdi-file-check:before{content:"๓ฐˆ–"}.mdi-file-check-outline:before{content:"๓ฐธฉ"}.mdi-file-clock:before{content:"๓ฑ‹ก"}.mdi-file-clock-outline:before{content:"๓ฑ‹ข"}.mdi-file-cloud:before{content:"๓ฐˆ—"}.mdi-file-cloud-outline:before{content:"๓ฑ€ช"}.mdi-file-code:before{content:"๓ฐˆฎ"}.mdi-file-code-outline:before{content:"๓ฑ€ซ"}.mdi-file-cog:before{content:"๓ฑป"}.mdi-file-cog-outline:before{content:"๓ฑผ"}.mdi-file-compare:before{content:"๓ฐขช"}.mdi-file-delimited:before{content:"๓ฐˆ˜"}.mdi-file-delimited-outline:before{content:"๓ฐบฅ"}.mdi-file-document:before{content:"๓ฐˆ™"}.mdi-file-document-alert:before{content:"๓ฑช—"}.mdi-file-document-alert-outline:before{content:"๓ฑช˜"}.mdi-file-document-arrow-right:before{content:"๓ฑฐ"}.mdi-file-document-arrow-right-outline:before{content:"๓ฑฐ"}.mdi-file-document-check:before{content:"๓ฑช™"}.mdi-file-document-check-outline:before{content:"๓ฑชš"}.mdi-file-document-edit:before{content:"๓ฐทˆ"}.mdi-file-document-edit-outline:before{content:"๓ฐท‰"}.mdi-file-document-minus:before{content:"๓ฑช›"}.mdi-file-document-minus-outline:before{content:"๓ฑชœ"}.mdi-file-document-multiple:before{content:"๓ฑ”—"}.mdi-file-document-multiple-outline:before{content:"๓ฑ”˜"}.mdi-file-document-outline:before{content:"๓ฐงฎ"}.mdi-file-document-plus:before{content:"๓ฑช"}.mdi-file-document-plus-outline:before{content:"๓ฑชž"}.mdi-file-document-refresh:before{content:"๓ฑฑบ"}.mdi-file-document-refresh-outline:before{content:"๓ฑฑป"}.mdi-file-document-remove:before{content:"๓ฑชŸ"}.mdi-file-document-remove-outline:before{content:"๓ฑช "}.mdi-file-download:before{content:"๓ฐฅฅ"}.mdi-file-download-outline:before{content:"๓ฐฅฆ"}.mdi-file-edit:before{content:"๓ฑ‡ง"}.mdi-file-edit-outline:before{content:"๓ฑ‡จ"}.mdi-file-excel:before{content:"๓ฐˆ›"}.mdi-file-excel-box:before{content:"๓ฐˆœ"}.mdi-file-excel-box-outline:before{content:"๓ฑ€ฌ"}.mdi-file-excel-outline:before{content:"๓ฑ€ญ"}.mdi-file-export:before{content:"๓ฐˆ"}.mdi-file-export-outline:before{content:"๓ฑ€ฎ"}.mdi-file-eye:before{content:"๓ฐทŠ"}.mdi-file-eye-outline:before{content:"๓ฐท‹"}.mdi-file-find:before{content:"๓ฐˆž"}.mdi-file-find-outline:before{content:"๓ฐฎ—"}.mdi-file-gif-box:before{content:"๓ฐตธ"}.mdi-file-hidden:before{content:"๓ฐ˜“"}.mdi-file-image:before{content:"๓ฐˆŸ"}.mdi-file-image-marker:before{content:"๓ฑฒ"}.mdi-file-image-marker-outline:before{content:"๓ฑณ"}.mdi-file-image-minus:before{content:"๓ฑคป"}.mdi-file-image-minus-outline:before{content:"๓ฑคผ"}.mdi-file-image-outline:before{content:"๓ฐบฐ"}.mdi-file-image-plus:before{content:"๓ฑคฝ"}.mdi-file-image-plus-outline:before{content:"๓ฑคพ"}.mdi-file-image-remove:before{content:"๓ฑคฟ"}.mdi-file-image-remove-outline:before{content:"๓ฑฅ€"}.mdi-file-import:before{content:"๓ฐˆ "}.mdi-file-import-outline:before{content:"๓ฑ€ฏ"}.mdi-file-jpg-box:before{content:"๓ฐˆฅ"}.mdi-file-key:before{content:"๓ฑ†„"}.mdi-file-key-outline:before{content:"๓ฑ†…"}.mdi-file-link:before{content:"๓ฑ…ท"}.mdi-file-link-outline:before{content:"๓ฑ…ธ"}.mdi-file-lock:before{content:"๓ฐˆก"}.mdi-file-lock-open:before{content:"๓ฑงˆ"}.mdi-file-lock-open-outline:before{content:"๓ฑง‰"}.mdi-file-lock-outline:before{content:"๓ฑ€ฐ"}.mdi-file-marker:before{content:"๓ฑด"}.mdi-file-marker-outline:before{content:"๓ฑต"}.mdi-file-minus:before{content:"๓ฑชก"}.mdi-file-minus-outline:before{content:"๓ฑชข"}.mdi-file-move:before{content:"๓ฐชน"}.mdi-file-move-outline:before{content:"๓ฑ€ฑ"}.mdi-file-multiple:before{content:"๓ฐˆข"}.mdi-file-multiple-outline:before{content:"๓ฑ€ฒ"}.mdi-file-music:before{content:"๓ฐˆฃ"}.mdi-file-music-outline:before{content:"๓ฐธช"}.mdi-file-outline:before{content:"๓ฐˆค"}.mdi-file-pdf-box:before{content:"๓ฐˆฆ"}.mdi-file-percent:before{content:"๓ฐ ž"}.mdi-file-percent-outline:before{content:"๓ฑ€ณ"}.mdi-file-phone:before{content:"๓ฑ…น"}.mdi-file-phone-outline:before{content:"๓ฑ…บ"}.mdi-file-plus:before{content:"๓ฐ’"}.mdi-file-plus-outline:before{content:"๓ฐปญ"}.mdi-file-png-box:before{content:"๓ฐธญ"}.mdi-file-powerpoint:before{content:"๓ฐˆง"}.mdi-file-powerpoint-box:before{content:"๓ฐˆจ"}.mdi-file-powerpoint-box-outline:before{content:"๓ฑ€ด"}.mdi-file-powerpoint-outline:before{content:"๓ฑ€ต"}.mdi-file-presentation-box:before{content:"๓ฐˆฉ"}.mdi-file-question:before{content:"๓ฐกฏ"}.mdi-file-question-outline:before{content:"๓ฑ€ถ"}.mdi-file-refresh:before{content:"๓ฐค˜"}.mdi-file-refresh-outline:before{content:"๓ฐ•"}.mdi-file-remove:before{content:"๓ฐฎ˜"}.mdi-file-remove-outline:before{content:"๓ฑ€ท"}.mdi-file-replace:before{content:"๓ฐฌฒ"}.mdi-file-replace-outline:before{content:"๓ฐฌณ"}.mdi-file-restore:before{content:"๓ฐ™ฐ"}.mdi-file-restore-outline:before{content:"๓ฑ€ธ"}.mdi-file-rotate-left:before{content:"๓ฑจป"}.mdi-file-rotate-left-outline:before{content:"๓ฑจผ"}.mdi-file-rotate-right:before{content:"๓ฑจฝ"}.mdi-file-rotate-right-outline:before{content:"๓ฑจพ"}.mdi-file-search:before{content:"๓ฐฑผ"}.mdi-file-search-outline:before{content:"๓ฐฑฝ"}.mdi-file-send:before{content:"๓ฐˆช"}.mdi-file-send-outline:before{content:"๓ฑ€น"}.mdi-file-settings:before{content:"๓ฑน"}.mdi-file-settings-outline:before{content:"๓ฑบ"}.mdi-file-sign:before{content:"๓ฑงƒ"}.mdi-file-star:before{content:"๓ฑ€บ"}.mdi-file-star-four-points:before{content:"๓ฑฐญ"}.mdi-file-star-four-points-outline:before{content:"๓ฑฐฎ"}.mdi-file-star-outline:before{content:"๓ฑ€ป"}.mdi-file-swap:before{content:"๓ฐพด"}.mdi-file-swap-outline:before{content:"๓ฐพต"}.mdi-file-sync:before{content:"๓ฑˆ–"}.mdi-file-sync-outline:before{content:"๓ฑˆ—"}.mdi-file-table:before{content:"๓ฐฑพ"}.mdi-file-table-box:before{content:"๓ฑƒก"}.mdi-file-table-box-multiple:before{content:"๓ฑƒข"}.mdi-file-table-box-multiple-outline:before{content:"๓ฑƒฃ"}.mdi-file-table-box-outline:before{content:"๓ฑƒค"}.mdi-file-table-outline:before{content:"๓ฐฑฟ"}.mdi-file-tree:before{content:"๓ฐ™…"}.mdi-file-tree-outline:before{content:"๓ฑ’"}.mdi-file-undo:before{content:"๓ฐฃœ"}.mdi-file-undo-outline:before{content:"๓ฑ€ผ"}.mdi-file-upload:before{content:"๓ฐฉ"}.mdi-file-upload-outline:before{content:"๓ฐฉŽ"}.mdi-file-video:before{content:"๓ฐˆซ"}.mdi-file-video-outline:before{content:"๓ฐธฌ"}.mdi-file-word:before{content:"๓ฐˆฌ"}.mdi-file-word-box:before{content:"๓ฐˆญ"}.mdi-file-word-box-outline:before{content:"๓ฑ€ฝ"}.mdi-file-word-outline:before{content:"๓ฑ€พ"}.mdi-file-xml-box:before{content:"๓ฑญ‹"}.mdi-film:before{content:"๓ฐˆฏ"}.mdi-filmstrip:before{content:"๓ฐˆฐ"}.mdi-filmstrip-box:before{content:"๓ฐŒฒ"}.mdi-filmstrip-box-multiple:before{content:"๓ฐด˜"}.mdi-filmstrip-off:before{content:"๓ฐˆฑ"}.mdi-filter:before{content:"๓ฐˆฒ"}.mdi-filter-check:before{content:"๓ฑฃฌ"}.mdi-filter-check-outline:before{content:"๓ฑฃญ"}.mdi-filter-cog:before{content:"๓ฑชฃ"}.mdi-filter-cog-outline:before{content:"๓ฑชค"}.mdi-filter-menu:before{content:"๓ฑƒฅ"}.mdi-filter-menu-outline:before{content:"๓ฑƒฆ"}.mdi-filter-minus:before{content:"๓ฐปฎ"}.mdi-filter-minus-outline:before{content:"๓ฐปฏ"}.mdi-filter-multiple:before{content:"๓ฑจฟ"}.mdi-filter-multiple-outline:before{content:"๓ฑฉ€"}.mdi-filter-off:before{content:"๓ฑ“ฏ"}.mdi-filter-off-outline:before{content:"๓ฑ“ฐ"}.mdi-filter-outline:before{content:"๓ฐˆณ"}.mdi-filter-plus:before{content:"๓ฐปฐ"}.mdi-filter-plus-outline:before{content:"๓ฐปฑ"}.mdi-filter-remove:before{content:"๓ฐˆด"}.mdi-filter-remove-outline:before{content:"๓ฐˆต"}.mdi-filter-settings:before{content:"๓ฑชฅ"}.mdi-filter-settings-outline:before{content:"๓ฑชฆ"}.mdi-filter-variant:before{content:"๓ฐˆถ"}.mdi-filter-variant-minus:before{content:"๓ฑ„’"}.mdi-filter-variant-plus:before{content:"๓ฑ„“"}.mdi-filter-variant-remove:before{content:"๓ฑ€ฟ"}.mdi-finance:before{content:"๓ฐ Ÿ"}.mdi-find-replace:before{content:"๓ฐ›”"}.mdi-fingerprint:before{content:"๓ฐˆท"}.mdi-fingerprint-off:before{content:"๓ฐบฑ"}.mdi-fire:before{content:"๓ฐˆธ"}.mdi-fire-alert:before{content:"๓ฑ——"}.mdi-fire-circle:before{content:"๓ฑ ‡"}.mdi-fire-extinguisher:before{content:"๓ฐปฒ"}.mdi-fire-hydrant:before{content:"๓ฑ„ท"}.mdi-fire-hydrant-alert:before{content:"๓ฑ„ธ"}.mdi-fire-hydrant-off:before{content:"๓ฑ„น"}.mdi-fire-off:before{content:"๓ฑœข"}.mdi-fire-truck:before{content:"๓ฐขซ"}.mdi-firebase:before{content:"๓ฐฅง"}.mdi-firefox:before{content:"๓ฐˆน"}.mdi-fireplace:before{content:"๓ฐธฎ"}.mdi-fireplace-off:before{content:"๓ฐธฏ"}.mdi-firewire:before{content:"๓ฐ–พ"}.mdi-firework:before{content:"๓ฐธฐ"}.mdi-firework-off:before{content:"๓ฑœฃ"}.mdi-fish:before{content:"๓ฐˆบ"}.mdi-fish-off:before{content:"๓ฑณ"}.mdi-fishbowl:before{content:"๓ฐปณ"}.mdi-fishbowl-outline:before{content:"๓ฐปด"}.mdi-fit-to-page:before{content:"๓ฐปต"}.mdi-fit-to-page-outline:before{content:"๓ฐปถ"}.mdi-fit-to-screen:before{content:"๓ฑฃด"}.mdi-fit-to-screen-outline:before{content:"๓ฑฃต"}.mdi-flag:before{content:"๓ฐˆป"}.mdi-flag-checkered:before{content:"๓ฐˆผ"}.mdi-flag-minus:before{content:"๓ฐฎ™"}.mdi-flag-minus-outline:before{content:"๓ฑ‚ฒ"}.mdi-flag-off:before{content:"๓ฑฃฎ"}.mdi-flag-off-outline:before{content:"๓ฑฃฏ"}.mdi-flag-outline:before{content:"๓ฐˆฝ"}.mdi-flag-plus:before{content:"๓ฐฎš"}.mdi-flag-plus-outline:before{content:"๓ฑ‚ณ"}.mdi-flag-remove:before{content:"๓ฐฎ›"}.mdi-flag-remove-outline:before{content:"๓ฑ‚ด"}.mdi-flag-triangle:before{content:"๓ฐˆฟ"}.mdi-flag-variant:before{content:"๓ฐ‰€"}.mdi-flag-variant-minus:before{content:"๓ฑฎด"}.mdi-flag-variant-minus-outline:before{content:"๓ฑฎต"}.mdi-flag-variant-off:before{content:"๓ฑฎฐ"}.mdi-flag-variant-off-outline:before{content:"๓ฑฎฑ"}.mdi-flag-variant-outline:before{content:"๓ฐˆพ"}.mdi-flag-variant-plus:before{content:"๓ฑฎฒ"}.mdi-flag-variant-plus-outline:before{content:"๓ฑฎณ"}.mdi-flag-variant-remove:before{content:"๓ฑฎถ"}.mdi-flag-variant-remove-outline:before{content:"๓ฑฎท"}.mdi-flare:before{content:"๓ฐตฒ"}.mdi-flash:before{content:"๓ฐ‰"}.mdi-flash-alert:before{content:"๓ฐปท"}.mdi-flash-alert-outline:before{content:"๓ฐปธ"}.mdi-flash-auto:before{content:"๓ฐ‰‚"}.mdi-flash-off:before{content:"๓ฐ‰ƒ"}.mdi-flash-off-outline:before{content:"๓ฑญ…"}.mdi-flash-outline:before{content:"๓ฐ›•"}.mdi-flash-red-eye:before{content:"๓ฐ™ป"}.mdi-flash-triangle:before{content:"๓ฑฌ"}.mdi-flash-triangle-outline:before{content:"๓ฑฌž"}.mdi-flashlight:before{content:"๓ฐ‰„"}.mdi-flashlight-off:before{content:"๓ฐ‰…"}.mdi-flask:before{content:"๓ฐ‚“"}.mdi-flask-empty:before{content:"๓ฐ‚”"}.mdi-flask-empty-minus:before{content:"๓ฑˆบ"}.mdi-flask-empty-minus-outline:before{content:"๓ฑˆป"}.mdi-flask-empty-off:before{content:"๓ฑด"}.mdi-flask-empty-off-outline:before{content:"๓ฑต"}.mdi-flask-empty-outline:before{content:"๓ฐ‚•"}.mdi-flask-empty-plus:before{content:"๓ฑˆผ"}.mdi-flask-empty-plus-outline:before{content:"๓ฑˆฝ"}.mdi-flask-empty-remove:before{content:"๓ฑˆพ"}.mdi-flask-empty-remove-outline:before{content:"๓ฑˆฟ"}.mdi-flask-minus:before{content:"๓ฑ‰€"}.mdi-flask-minus-outline:before{content:"๓ฑ‰"}.mdi-flask-off:before{content:"๓ฑถ"}.mdi-flask-off-outline:before{content:"๓ฑท"}.mdi-flask-outline:before{content:"๓ฐ‚–"}.mdi-flask-plus:before{content:"๓ฑ‰‚"}.mdi-flask-plus-outline:before{content:"๓ฑ‰ƒ"}.mdi-flask-remove:before{content:"๓ฑ‰„"}.mdi-flask-remove-outline:before{content:"๓ฑ‰…"}.mdi-flask-round-bottom:before{content:"๓ฑ‰‹"}.mdi-flask-round-bottom-empty:before{content:"๓ฑ‰Œ"}.mdi-flask-round-bottom-empty-outline:before{content:"๓ฑ‰"}.mdi-flask-round-bottom-outline:before{content:"๓ฑ‰Ž"}.mdi-fleur-de-lis:before{content:"๓ฑŒƒ"}.mdi-flip-horizontal:before{content:"๓ฑƒง"}.mdi-flip-to-back:before{content:"๓ฐ‰‡"}.mdi-flip-to-front:before{content:"๓ฐ‰ˆ"}.mdi-flip-vertical:before{content:"๓ฑƒจ"}.mdi-floor-lamp:before{content:"๓ฐฃ"}.mdi-floor-lamp-dual:before{content:"๓ฑ€"}.mdi-floor-lamp-dual-outline:before{content:"๓ฑŸŽ"}.mdi-floor-lamp-outline:before{content:"๓ฑŸˆ"}.mdi-floor-lamp-torchiere:before{content:"๓ฑ‡"}.mdi-floor-lamp-torchiere-outline:before{content:"๓ฑŸ–"}.mdi-floor-lamp-torchiere-variant:before{content:"๓ฑ"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"๓ฑŸ"}.mdi-floor-plan:before{content:"๓ฐ ก"}.mdi-floppy:before{content:"๓ฐ‰‰"}.mdi-floppy-variant:before{content:"๓ฐงฏ"}.mdi-flower:before{content:"๓ฐ‰Š"}.mdi-flower-outline:before{content:"๓ฐงฐ"}.mdi-flower-pollen:before{content:"๓ฑข…"}.mdi-flower-pollen-outline:before{content:"๓ฑข†"}.mdi-flower-poppy:before{content:"๓ฐดˆ"}.mdi-flower-tulip:before{content:"๓ฐงฑ"}.mdi-flower-tulip-outline:before{content:"๓ฐงฒ"}.mdi-focus-auto:before{content:"๓ฐฝŽ"}.mdi-focus-field:before{content:"๓ฐฝ"}.mdi-focus-field-horizontal:before{content:"๓ฐฝ"}.mdi-focus-field-vertical:before{content:"๓ฐฝ‘"}.mdi-folder:before{content:"๓ฐ‰‹"}.mdi-folder-account:before{content:"๓ฐ‰Œ"}.mdi-folder-account-outline:before{content:"๓ฐฎœ"}.mdi-folder-alert:before{content:"๓ฐทŒ"}.mdi-folder-alert-outline:before{content:"๓ฐท"}.mdi-folder-arrow-down:before{content:"๓ฑงจ"}.mdi-folder-arrow-down-outline:before{content:"๓ฑงฉ"}.mdi-folder-arrow-left:before{content:"๓ฑงช"}.mdi-folder-arrow-left-outline:before{content:"๓ฑงซ"}.mdi-folder-arrow-left-right:before{content:"๓ฑงฌ"}.mdi-folder-arrow-left-right-outline:before{content:"๓ฑงญ"}.mdi-folder-arrow-right:before{content:"๓ฑงฎ"}.mdi-folder-arrow-right-outline:before{content:"๓ฑงฏ"}.mdi-folder-arrow-up:before{content:"๓ฑงฐ"}.mdi-folder-arrow-up-down:before{content:"๓ฑงฑ"}.mdi-folder-arrow-up-down-outline:before{content:"๓ฑงฒ"}.mdi-folder-arrow-up-outline:before{content:"๓ฑงณ"}.mdi-folder-cancel:before{content:"๓ฑงด"}.mdi-folder-cancel-outline:before{content:"๓ฑงต"}.mdi-folder-check:before{content:"๓ฑฅพ"}.mdi-folder-check-outline:before{content:"๓ฑฅฟ"}.mdi-folder-clock:before{content:"๓ฐชบ"}.mdi-folder-clock-outline:before{content:"๓ฐชป"}.mdi-folder-cog:before{content:"๓ฑฟ"}.mdi-folder-cog-outline:before{content:"๓ฑ‚€"}.mdi-folder-download:before{content:"๓ฐ‰"}.mdi-folder-download-outline:before{content:"๓ฑƒฉ"}.mdi-folder-edit:before{content:"๓ฐฃž"}.mdi-folder-edit-outline:before{content:"๓ฐทŽ"}.mdi-folder-eye:before{content:"๓ฑžŠ"}.mdi-folder-eye-outline:before{content:"๓ฑž‹"}.mdi-folder-file:before{content:"๓ฑงถ"}.mdi-folder-file-outline:before{content:"๓ฑงท"}.mdi-folder-google-drive:before{content:"๓ฐ‰Ž"}.mdi-folder-heart:before{content:"๓ฑƒช"}.mdi-folder-heart-outline:before{content:"๓ฑƒซ"}.mdi-folder-hidden:before{content:"๓ฑžž"}.mdi-folder-home:before{content:"๓ฑ‚ต"}.mdi-folder-home-outline:before{content:"๓ฑ‚ถ"}.mdi-folder-image:before{content:"๓ฐ‰"}.mdi-folder-information:before{content:"๓ฑ‚ท"}.mdi-folder-information-outline:before{content:"๓ฑ‚ธ"}.mdi-folder-key:before{content:"๓ฐขฌ"}.mdi-folder-key-network:before{content:"๓ฐขญ"}.mdi-folder-key-network-outline:before{content:"๓ฐฒ€"}.mdi-folder-key-outline:before{content:"๓ฑƒฌ"}.mdi-folder-lock:before{content:"๓ฐ‰"}.mdi-folder-lock-open:before{content:"๓ฐ‰‘"}.mdi-folder-lock-open-outline:before{content:"๓ฑชง"}.mdi-folder-lock-outline:before{content:"๓ฑชจ"}.mdi-folder-marker:before{content:"๓ฑ‰ญ"}.mdi-folder-marker-outline:before{content:"๓ฑ‰ฎ"}.mdi-folder-minus:before{content:"๓ฑญ‰"}.mdi-folder-minus-outline:before{content:"๓ฑญŠ"}.mdi-folder-move:before{content:"๓ฐ‰’"}.mdi-folder-move-outline:before{content:"๓ฑ‰†"}.mdi-folder-multiple:before{content:"๓ฐ‰“"}.mdi-folder-multiple-image:before{content:"๓ฐ‰”"}.mdi-folder-multiple-outline:before{content:"๓ฐ‰•"}.mdi-folder-multiple-plus:before{content:"๓ฑ‘พ"}.mdi-folder-multiple-plus-outline:before{content:"๓ฑ‘ฟ"}.mdi-folder-music:before{content:"๓ฑ™"}.mdi-folder-music-outline:before{content:"๓ฑš"}.mdi-folder-network:before{content:"๓ฐกฐ"}.mdi-folder-network-outline:before{content:"๓ฐฒ"}.mdi-folder-off:before{content:"๓ฑงธ"}.mdi-folder-off-outline:before{content:"๓ฑงน"}.mdi-folder-open:before{content:"๓ฐฐ"}.mdi-folder-open-outline:before{content:"๓ฐท"}.mdi-folder-outline:before{content:"๓ฐ‰–"}.mdi-folder-play:before{content:"๓ฑงบ"}.mdi-folder-play-outline:before{content:"๓ฑงป"}.mdi-folder-plus:before{content:"๓ฐ‰—"}.mdi-folder-plus-outline:before{content:"๓ฐฎ"}.mdi-folder-pound:before{content:"๓ฐด‰"}.mdi-folder-pound-outline:before{content:"๓ฐดŠ"}.mdi-folder-question:before{content:"๓ฑงŠ"}.mdi-folder-question-outline:before{content:"๓ฑง‹"}.mdi-folder-refresh:before{content:"๓ฐ‰"}.mdi-folder-refresh-outline:before{content:"๓ฐ•‚"}.mdi-folder-remove:before{content:"๓ฐ‰˜"}.mdi-folder-remove-outline:before{content:"๓ฐฎž"}.mdi-folder-search:before{content:"๓ฐฅจ"}.mdi-folder-search-outline:before{content:"๓ฐฅฉ"}.mdi-folder-settings:before{content:"๓ฑฝ"}.mdi-folder-settings-outline:before{content:"๓ฑพ"}.mdi-folder-star:before{content:"๓ฐš"}.mdi-folder-star-multiple:before{content:"๓ฑ“"}.mdi-folder-star-multiple-outline:before{content:"๓ฑ”"}.mdi-folder-star-outline:before{content:"๓ฐฎŸ"}.mdi-folder-swap:before{content:"๓ฐพถ"}.mdi-folder-swap-outline:before{content:"๓ฐพท"}.mdi-folder-sync:before{content:"๓ฐด‹"}.mdi-folder-sync-outline:before{content:"๓ฐดŒ"}.mdi-folder-table:before{content:"๓ฑ‹ฃ"}.mdi-folder-table-outline:before{content:"๓ฑ‹ค"}.mdi-folder-text:before{content:"๓ฐฒ‚"}.mdi-folder-text-outline:before{content:"๓ฐฒƒ"}.mdi-folder-upload:before{content:"๓ฐ‰™"}.mdi-folder-upload-outline:before{content:"๓ฑƒญ"}.mdi-folder-wrench:before{content:"๓ฑงผ"}.mdi-folder-wrench-outline:before{content:"๓ฑงฝ"}.mdi-folder-zip:before{content:"๓ฐ›ซ"}.mdi-folder-zip-outline:before{content:"๓ฐžน"}.mdi-font-awesome:before{content:"๓ฐ€บ"}.mdi-food:before{content:"๓ฐ‰š"}.mdi-food-apple:before{content:"๓ฐ‰›"}.mdi-food-apple-outline:before{content:"๓ฐฒ„"}.mdi-food-croissant:before{content:"๓ฐŸˆ"}.mdi-food-drumstick:before{content:"๓ฑŸ"}.mdi-food-drumstick-off:before{content:"๓ฑ‘จ"}.mdi-food-drumstick-off-outline:before{content:"๓ฑ‘ฉ"}.mdi-food-drumstick-outline:before{content:"๓ฑ "}.mdi-food-fork-drink:before{content:"๓ฐ—ฒ"}.mdi-food-halal:before{content:"๓ฑ•ฒ"}.mdi-food-hot-dog:before{content:"๓ฑก‹"}.mdi-food-kosher:before{content:"๓ฑ•ณ"}.mdi-food-off:before{content:"๓ฐ—ณ"}.mdi-food-off-outline:before{content:"๓ฑค•"}.mdi-food-outline:before{content:"๓ฑค–"}.mdi-food-steak:before{content:"๓ฑ‘ช"}.mdi-food-steak-off:before{content:"๓ฑ‘ซ"}.mdi-food-takeout-box:before{content:"๓ฑ ถ"}.mdi-food-takeout-box-outline:before{content:"๓ฑ ท"}.mdi-food-turkey:before{content:"๓ฑœœ"}.mdi-food-variant:before{content:"๓ฐ‰œ"}.mdi-food-variant-off:before{content:"๓ฑฅ"}.mdi-foot-print:before{content:"๓ฐฝ’"}.mdi-football:before{content:"๓ฐ‰"}.mdi-football-australian:before{content:"๓ฐ‰ž"}.mdi-football-helmet:before{content:"๓ฐ‰Ÿ"}.mdi-forest:before{content:"๓ฑข—"}.mdi-forest-outline:before{content:"๓ฑฑฃ"}.mdi-forklift:before{content:"๓ฐŸ‰"}.mdi-form-dropdown:before{content:"๓ฑ€"}.mdi-form-select:before{content:"๓ฑ"}.mdi-form-textarea:before{content:"๓ฑ‚•"}.mdi-form-textbox:before{content:"๓ฐ˜Ž"}.mdi-form-textbox-lock:before{content:"๓ฑ"}.mdi-form-textbox-password:before{content:"๓ฐŸต"}.mdi-format-align-bottom:before{content:"๓ฐ“"}.mdi-format-align-center:before{content:"๓ฐ‰ "}.mdi-format-align-justify:before{content:"๓ฐ‰ก"}.mdi-format-align-left:before{content:"๓ฐ‰ข"}.mdi-format-align-middle:before{content:"๓ฐ”"}.mdi-format-align-right:before{content:"๓ฐ‰ฃ"}.mdi-format-align-top:before{content:"๓ฐ•"}.mdi-format-annotation-minus:before{content:"๓ฐชผ"}.mdi-format-annotation-plus:before{content:"๓ฐ™†"}.mdi-format-bold:before{content:"๓ฐ‰ค"}.mdi-format-clear:before{content:"๓ฐ‰ฅ"}.mdi-format-color-fill:before{content:"๓ฐ‰ฆ"}.mdi-format-color-highlight:before{content:"๓ฐธฑ"}.mdi-format-color-marker-cancel:before{content:"๓ฑŒ“"}.mdi-format-color-text:before{content:"๓ฐšž"}.mdi-format-columns:before{content:"๓ฐฃŸ"}.mdi-format-float-center:before{content:"๓ฐ‰ง"}.mdi-format-float-left:before{content:"๓ฐ‰จ"}.mdi-format-float-none:before{content:"๓ฐ‰ฉ"}.mdi-format-float-right:before{content:"๓ฐ‰ช"}.mdi-format-font:before{content:"๓ฐ›–"}.mdi-format-font-size-decrease:before{content:"๓ฐงณ"}.mdi-format-font-size-increase:before{content:"๓ฐงด"}.mdi-format-header-1:before{content:"๓ฐ‰ซ"}.mdi-format-header-2:before{content:"๓ฐ‰ฌ"}.mdi-format-header-3:before{content:"๓ฐ‰ญ"}.mdi-format-header-4:before{content:"๓ฐ‰ฎ"}.mdi-format-header-5:before{content:"๓ฐ‰ฏ"}.mdi-format-header-6:before{content:"๓ฐ‰ฐ"}.mdi-format-header-decrease:before{content:"๓ฐ‰ฑ"}.mdi-format-header-equal:before{content:"๓ฐ‰ฒ"}.mdi-format-header-increase:before{content:"๓ฐ‰ณ"}.mdi-format-header-pound:before{content:"๓ฐ‰ด"}.mdi-format-horizontal-align-center:before{content:"๓ฐ˜ž"}.mdi-format-horizontal-align-left:before{content:"๓ฐ˜Ÿ"}.mdi-format-horizontal-align-right:before{content:"๓ฐ˜ "}.mdi-format-indent-decrease:before{content:"๓ฐ‰ต"}.mdi-format-indent-increase:before{content:"๓ฐ‰ถ"}.mdi-format-italic:before{content:"๓ฐ‰ท"}.mdi-format-letter-case:before{content:"๓ฐฌด"}.mdi-format-letter-case-lower:before{content:"๓ฐฌต"}.mdi-format-letter-case-upper:before{content:"๓ฐฌถ"}.mdi-format-letter-ends-with:before{content:"๓ฐพธ"}.mdi-format-letter-matches:before{content:"๓ฐพน"}.mdi-format-letter-spacing:before{content:"๓ฑฅ–"}.mdi-format-letter-spacing-variant:before{content:"๓ฑซป"}.mdi-format-letter-starts-with:before{content:"๓ฐพบ"}.mdi-format-line-height:before{content:"๓ฑซผ"}.mdi-format-line-spacing:before{content:"๓ฐ‰ธ"}.mdi-format-line-style:before{content:"๓ฐ—ˆ"}.mdi-format-line-weight:before{content:"๓ฐ—‰"}.mdi-format-list-bulleted:before{content:"๓ฐ‰น"}.mdi-format-list-bulleted-square:before{content:"๓ฐท"}.mdi-format-list-bulleted-triangle:before{content:"๓ฐบฒ"}.mdi-format-list-bulleted-type:before{content:"๓ฐ‰บ"}.mdi-format-list-checkbox:before{content:"๓ฐฅช"}.mdi-format-list-checks:before{content:"๓ฐ–"}.mdi-format-list-group:before{content:"๓ฑก "}.mdi-format-list-group-plus:before{content:"๓ฑญ–"}.mdi-format-list-numbered:before{content:"๓ฐ‰ป"}.mdi-format-list-numbered-rtl:before{content:"๓ฐด"}.mdi-format-list-text:before{content:"๓ฑ‰ฏ"}.mdi-format-overline:before{content:"๓ฐบณ"}.mdi-format-page-break:before{content:"๓ฐ›—"}.mdi-format-page-split:before{content:"๓ฑค—"}.mdi-format-paint:before{content:"๓ฐ‰ผ"}.mdi-format-paragraph:before{content:"๓ฐ‰ฝ"}.mdi-format-paragraph-spacing:before{content:"๓ฑซฝ"}.mdi-format-pilcrow:before{content:"๓ฐ›˜"}.mdi-format-pilcrow-arrow-left:before{content:"๓ฐŠ†"}.mdi-format-pilcrow-arrow-right:before{content:"๓ฐŠ…"}.mdi-format-quote-close:before{content:"๓ฐ‰พ"}.mdi-format-quote-close-outline:before{content:"๓ฑ†จ"}.mdi-format-quote-open:before{content:"๓ฐ—"}.mdi-format-quote-open-outline:before{content:"๓ฑ†ง"}.mdi-format-rotate-90:before{content:"๓ฐšช"}.mdi-format-section:before{content:"๓ฐšŸ"}.mdi-format-size:before{content:"๓ฐ‰ฟ"}.mdi-format-strikethrough:before{content:"๓ฐŠ€"}.mdi-format-strikethrough-variant:before{content:"๓ฐŠ"}.mdi-format-subscript:before{content:"๓ฐŠ‚"}.mdi-format-superscript:before{content:"๓ฐŠƒ"}.mdi-format-text:before{content:"๓ฐŠ„"}.mdi-format-text-rotation-angle-down:before{content:"๓ฐพป"}.mdi-format-text-rotation-angle-up:before{content:"๓ฐพผ"}.mdi-format-text-rotation-down:before{content:"๓ฐตณ"}.mdi-format-text-rotation-down-vertical:before{content:"๓ฐพฝ"}.mdi-format-text-rotation-none:before{content:"๓ฐตด"}.mdi-format-text-rotation-up:before{content:"๓ฐพพ"}.mdi-format-text-rotation-vertical:before{content:"๓ฐพฟ"}.mdi-format-text-variant:before{content:"๓ฐธฒ"}.mdi-format-text-variant-outline:before{content:"๓ฑ”"}.mdi-format-text-wrapping-clip:before{content:"๓ฐดŽ"}.mdi-format-text-wrapping-overflow:before{content:"๓ฐด"}.mdi-format-text-wrapping-wrap:before{content:"๓ฐด"}.mdi-format-textbox:before{content:"๓ฐด‘"}.mdi-format-title:before{content:"๓ฐ—ด"}.mdi-format-underline:before{content:"๓ฐŠ‡"}.mdi-format-underline-wavy:before{content:"๓ฑฃฉ"}.mdi-format-vertical-align-bottom:before{content:"๓ฐ˜ก"}.mdi-format-vertical-align-center:before{content:"๓ฐ˜ข"}.mdi-format-vertical-align-top:before{content:"๓ฐ˜ฃ"}.mdi-format-wrap-inline:before{content:"๓ฐŠˆ"}.mdi-format-wrap-square:before{content:"๓ฐŠ‰"}.mdi-format-wrap-tight:before{content:"๓ฐŠŠ"}.mdi-format-wrap-top-bottom:before{content:"๓ฐŠ‹"}.mdi-forum:before{content:"๓ฐŠŒ"}.mdi-forum-minus:before{content:"๓ฑชฉ"}.mdi-forum-minus-outline:before{content:"๓ฑชช"}.mdi-forum-outline:before{content:"๓ฐ ข"}.mdi-forum-plus:before{content:"๓ฑชซ"}.mdi-forum-plus-outline:before{content:"๓ฑชฌ"}.mdi-forum-remove:before{content:"๓ฑชญ"}.mdi-forum-remove-outline:before{content:"๓ฑชฎ"}.mdi-forward:before{content:"๓ฐŠ"}.mdi-forwardburger:before{content:"๓ฐตต"}.mdi-fountain:before{content:"๓ฐฅซ"}.mdi-fountain-pen:before{content:"๓ฐด’"}.mdi-fountain-pen-tip:before{content:"๓ฐด“"}.mdi-fraction-one-half:before{content:"๓ฑฆ’"}.mdi-freebsd:before{content:"๓ฐฃ "}.mdi-french-fries:before{content:"๓ฑฅ—"}.mdi-frequently-asked-questions:before{content:"๓ฐบด"}.mdi-fridge:before{content:"๓ฐŠ"}.mdi-fridge-alert:before{content:"๓ฑ†ฑ"}.mdi-fridge-alert-outline:before{content:"๓ฑ†ฒ"}.mdi-fridge-bottom:before{content:"๓ฐŠ’"}.mdi-fridge-industrial:before{content:"๓ฑ—ฎ"}.mdi-fridge-industrial-alert:before{content:"๓ฑ—ฏ"}.mdi-fridge-industrial-alert-outline:before{content:"๓ฑ—ฐ"}.mdi-fridge-industrial-off:before{content:"๓ฑ—ฑ"}.mdi-fridge-industrial-off-outline:before{content:"๓ฑ—ฒ"}.mdi-fridge-industrial-outline:before{content:"๓ฑ—ณ"}.mdi-fridge-off:before{content:"๓ฑ†ฏ"}.mdi-fridge-off-outline:before{content:"๓ฑ†ฐ"}.mdi-fridge-outline:before{content:"๓ฐŠ"}.mdi-fridge-top:before{content:"๓ฐŠ‘"}.mdi-fridge-variant:before{content:"๓ฑ—ด"}.mdi-fridge-variant-alert:before{content:"๓ฑ—ต"}.mdi-fridge-variant-alert-outline:before{content:"๓ฑ—ถ"}.mdi-fridge-variant-off:before{content:"๓ฑ—ท"}.mdi-fridge-variant-off-outline:before{content:"๓ฑ—ธ"}.mdi-fridge-variant-outline:before{content:"๓ฑ—น"}.mdi-fruit-cherries:before{content:"๓ฑ‚"}.mdi-fruit-cherries-off:before{content:"๓ฑธ"}.mdi-fruit-citrus:before{content:"๓ฑƒ"}.mdi-fruit-citrus-off:before{content:"๓ฑน"}.mdi-fruit-grapes:before{content:"๓ฑ„"}.mdi-fruit-grapes-outline:before{content:"๓ฑ…"}.mdi-fruit-pear:before{content:"๓ฑจŽ"}.mdi-fruit-pineapple:before{content:"๓ฑ†"}.mdi-fruit-watermelon:before{content:"๓ฑ‡"}.mdi-fuel:before{content:"๓ฐŸŠ"}.mdi-fuel-cell:before{content:"๓ฑขต"}.mdi-fullscreen:before{content:"๓ฐŠ“"}.mdi-fullscreen-exit:before{content:"๓ฐŠ”"}.mdi-function:before{content:"๓ฐŠ•"}.mdi-function-variant:before{content:"๓ฐกฑ"}.mdi-furigana-horizontal:before{content:"๓ฑ‚"}.mdi-furigana-vertical:before{content:"๓ฑ‚‚"}.mdi-fuse:before{content:"๓ฐฒ…"}.mdi-fuse-alert:before{content:"๓ฑญ"}.mdi-fuse-blade:before{content:"๓ฐฒ†"}.mdi-fuse-off:before{content:"๓ฑฌ"}.mdi-gamepad:before{content:"๓ฐŠ–"}.mdi-gamepad-circle:before{content:"๓ฐธณ"}.mdi-gamepad-circle-down:before{content:"๓ฐธด"}.mdi-gamepad-circle-left:before{content:"๓ฐธต"}.mdi-gamepad-circle-outline:before{content:"๓ฐธถ"}.mdi-gamepad-circle-right:before{content:"๓ฐธท"}.mdi-gamepad-circle-up:before{content:"๓ฐธธ"}.mdi-gamepad-down:before{content:"๓ฐธน"}.mdi-gamepad-left:before{content:"๓ฐธบ"}.mdi-gamepad-outline:before{content:"๓ฑค™"}.mdi-gamepad-right:before{content:"๓ฐธป"}.mdi-gamepad-round:before{content:"๓ฐธผ"}.mdi-gamepad-round-down:before{content:"๓ฐธฝ"}.mdi-gamepad-round-left:before{content:"๓ฐธพ"}.mdi-gamepad-round-outline:before{content:"๓ฐธฟ"}.mdi-gamepad-round-right:before{content:"๓ฐน€"}.mdi-gamepad-round-up:before{content:"๓ฐน"}.mdi-gamepad-square:before{content:"๓ฐบต"}.mdi-gamepad-square-outline:before{content:"๓ฐบถ"}.mdi-gamepad-up:before{content:"๓ฐน‚"}.mdi-gamepad-variant:before{content:"๓ฐŠ—"}.mdi-gamepad-variant-outline:before{content:"๓ฐบท"}.mdi-gamma:before{content:"๓ฑƒฎ"}.mdi-gantry-crane:before{content:"๓ฐท‘"}.mdi-garage:before{content:"๓ฐ›™"}.mdi-garage-alert:before{content:"๓ฐกฒ"}.mdi-garage-alert-variant:before{content:"๓ฑ‹•"}.mdi-garage-lock:before{content:"๓ฑŸป"}.mdi-garage-open:before{content:"๓ฐ›š"}.mdi-garage-open-variant:before{content:"๓ฑ‹”"}.mdi-garage-variant:before{content:"๓ฑ‹“"}.mdi-garage-variant-lock:before{content:"๓ฑŸผ"}.mdi-gas-burner:before{content:"๓ฑจ›"}.mdi-gas-cylinder:before{content:"๓ฐ™‡"}.mdi-gas-station:before{content:"๓ฐŠ˜"}.mdi-gas-station-off:before{content:"๓ฑ‰"}.mdi-gas-station-off-outline:before{content:"๓ฑŠ"}.mdi-gas-station-outline:before{content:"๓ฐบธ"}.mdi-gate:before{content:"๓ฐŠ™"}.mdi-gate-alert:before{content:"๓ฑŸธ"}.mdi-gate-and:before{content:"๓ฐฃก"}.mdi-gate-arrow-left:before{content:"๓ฑŸท"}.mdi-gate-arrow-right:before{content:"๓ฑ…ฉ"}.mdi-gate-buffer:before{content:"๓ฑซพ"}.mdi-gate-nand:before{content:"๓ฐฃข"}.mdi-gate-nor:before{content:"๓ฐฃฃ"}.mdi-gate-not:before{content:"๓ฐฃค"}.mdi-gate-open:before{content:"๓ฑ…ช"}.mdi-gate-or:before{content:"๓ฐฃฅ"}.mdi-gate-xnor:before{content:"๓ฐฃฆ"}.mdi-gate-xor:before{content:"๓ฐฃง"}.mdi-gatsby:before{content:"๓ฐนƒ"}.mdi-gauge:before{content:"๓ฐŠš"}.mdi-gauge-empty:before{content:"๓ฐกณ"}.mdi-gauge-full:before{content:"๓ฐกด"}.mdi-gauge-low:before{content:"๓ฐกต"}.mdi-gavel:before{content:"๓ฐŠ›"}.mdi-gender-female:before{content:"๓ฐŠœ"}.mdi-gender-male:before{content:"๓ฐŠ"}.mdi-gender-male-female:before{content:"๓ฐŠž"}.mdi-gender-male-female-variant:before{content:"๓ฑ„ฟ"}.mdi-gender-non-binary:before{content:"๓ฑ…€"}.mdi-gender-transgender:before{content:"๓ฐŠŸ"}.mdi-gentoo:before{content:"๓ฐฃจ"}.mdi-gesture:before{content:"๓ฐŸ‹"}.mdi-gesture-double-tap:before{content:"๓ฐœผ"}.mdi-gesture-pinch:before{content:"๓ฐชฝ"}.mdi-gesture-spread:before{content:"๓ฐชพ"}.mdi-gesture-swipe:before{content:"๓ฐตถ"}.mdi-gesture-swipe-down:before{content:"๓ฐœฝ"}.mdi-gesture-swipe-horizontal:before{content:"๓ฐชฟ"}.mdi-gesture-swipe-left:before{content:"๓ฐœพ"}.mdi-gesture-swipe-right:before{content:"๓ฐœฟ"}.mdi-gesture-swipe-up:before{content:"๓ฐ€"}.mdi-gesture-swipe-vertical:before{content:"๓ฐซ€"}.mdi-gesture-tap:before{content:"๓ฐ"}.mdi-gesture-tap-box:before{content:"๓ฑŠฉ"}.mdi-gesture-tap-button:before{content:"๓ฑŠจ"}.mdi-gesture-tap-hold:before{content:"๓ฐตท"}.mdi-gesture-two-double-tap:before{content:"๓ฐ‚"}.mdi-gesture-two-tap:before{content:"๓ฐƒ"}.mdi-ghost:before{content:"๓ฐŠ "}.mdi-ghost-off:before{content:"๓ฐงต"}.mdi-ghost-off-outline:before{content:"๓ฑ™œ"}.mdi-ghost-outline:before{content:"๓ฑ™"}.mdi-gift:before{content:"๓ฐน„"}.mdi-gift-off:before{content:"๓ฑ›ฏ"}.mdi-gift-off-outline:before{content:"๓ฑ›ฐ"}.mdi-gift-open:before{content:"๓ฑ›ฑ"}.mdi-gift-open-outline:before{content:"๓ฑ›ฒ"}.mdi-gift-outline:before{content:"๓ฐŠก"}.mdi-git:before{content:"๓ฐŠข"}.mdi-github:before{content:"๓ฐŠค"}.mdi-gitlab:before{content:"๓ฐฎ "}.mdi-glass-cocktail:before{content:"๓ฐ–"}.mdi-glass-cocktail-off:before{content:"๓ฑ—ฆ"}.mdi-glass-flute:before{content:"๓ฐŠฅ"}.mdi-glass-fragile:before{content:"๓ฑกณ"}.mdi-glass-mug:before{content:"๓ฐŠฆ"}.mdi-glass-mug-off:before{content:"๓ฑ—ง"}.mdi-glass-mug-variant:before{content:"๓ฑ„–"}.mdi-glass-mug-variant-off:before{content:"๓ฑ—จ"}.mdi-glass-pint-outline:before{content:"๓ฑŒ"}.mdi-glass-stange:before{content:"๓ฐŠง"}.mdi-glass-tulip:before{content:"๓ฐŠจ"}.mdi-glass-wine:before{content:"๓ฐกถ"}.mdi-glasses:before{content:"๓ฐŠช"}.mdi-globe-light:before{content:"๓ฐ™ฏ"}.mdi-globe-light-outline:before{content:"๓ฑ‹—"}.mdi-globe-model:before{content:"๓ฐฃฉ"}.mdi-gmail:before{content:"๓ฐŠซ"}.mdi-gnome:before{content:"๓ฐŠฌ"}.mdi-go-kart:before{content:"๓ฐตน"}.mdi-go-kart-track:before{content:"๓ฐตบ"}.mdi-gog:before{content:"๓ฐฎก"}.mdi-gold:before{content:"๓ฑ‰"}.mdi-golf:before{content:"๓ฐ ฃ"}.mdi-golf-cart:before{content:"๓ฑ†ค"}.mdi-golf-tee:before{content:"๓ฑ‚ƒ"}.mdi-gondola:before{content:"๓ฐš†"}.mdi-goodreads:before{content:"๓ฐตป"}.mdi-google:before{content:"๓ฐŠญ"}.mdi-google-ads:before{content:"๓ฐฒ‡"}.mdi-google-analytics:before{content:"๓ฐŸŒ"}.mdi-google-assistant:before{content:"๓ฐŸ"}.mdi-google-cardboard:before{content:"๓ฐŠฎ"}.mdi-google-chrome:before{content:"๓ฐŠฏ"}.mdi-google-circles:before{content:"๓ฐŠฐ"}.mdi-google-circles-communities:before{content:"๓ฐŠฑ"}.mdi-google-circles-extended:before{content:"๓ฐŠฒ"}.mdi-google-circles-group:before{content:"๓ฐŠณ"}.mdi-google-classroom:before{content:"๓ฐ‹€"}.mdi-google-cloud:before{content:"๓ฑ‡ถ"}.mdi-google-downasaur:before{content:"๓ฑข"}.mdi-google-drive:before{content:"๓ฐŠถ"}.mdi-google-earth:before{content:"๓ฐŠท"}.mdi-google-fit:before{content:"๓ฐฅฌ"}.mdi-google-glass:before{content:"๓ฐŠธ"}.mdi-google-hangouts:before{content:"๓ฐ‹‰"}.mdi-google-keep:before{content:"๓ฐ›œ"}.mdi-google-lens:before{content:"๓ฐงถ"}.mdi-google-maps:before{content:"๓ฐ—ต"}.mdi-google-my-business:before{content:"๓ฑˆ"}.mdi-google-nearby:before{content:"๓ฐŠน"}.mdi-google-play:before{content:"๓ฐŠผ"}.mdi-google-plus:before{content:"๓ฐŠฝ"}.mdi-google-podcast:before{content:"๓ฐบน"}.mdi-google-spreadsheet:before{content:"๓ฐงท"}.mdi-google-street-view:before{content:"๓ฐฒˆ"}.mdi-google-translate:before{content:"๓ฐŠฟ"}.mdi-gradient-horizontal:before{content:"๓ฑŠ"}.mdi-gradient-vertical:before{content:"๓ฐš "}.mdi-grain:before{content:"๓ฐตผ"}.mdi-graph:before{content:"๓ฑ‰"}.mdi-graph-outline:before{content:"๓ฑŠ"}.mdi-graphql:before{content:"๓ฐกท"}.mdi-grass:before{content:"๓ฑ”"}.mdi-grave-stone:before{content:"๓ฐฎข"}.mdi-grease-pencil:before{content:"๓ฐ™ˆ"}.mdi-greater-than:before{content:"๓ฐฅญ"}.mdi-greater-than-or-equal:before{content:"๓ฐฅฎ"}.mdi-greenhouse:before{content:"๓ฐ€ญ"}.mdi-grid:before{content:"๓ฐ‹"}.mdi-grid-large:before{content:"๓ฐ˜"}.mdi-grid-off:before{content:"๓ฐ‹‚"}.mdi-grill:before{content:"๓ฐน…"}.mdi-grill-outline:before{content:"๓ฑ†Š"}.mdi-group:before{content:"๓ฐ‹ƒ"}.mdi-guitar-acoustic:before{content:"๓ฐฑ"}.mdi-guitar-electric:before{content:"๓ฐ‹„"}.mdi-guitar-pick:before{content:"๓ฐ‹…"}.mdi-guitar-pick-outline:before{content:"๓ฐ‹†"}.mdi-guy-fawkes-mask:before{content:"๓ฐ ฅ"}.mdi-gymnastics:before{content:"๓ฑฉ"}.mdi-hail:before{content:"๓ฐซ"}.mdi-hair-dryer:before{content:"๓ฑƒฏ"}.mdi-hair-dryer-outline:before{content:"๓ฑƒฐ"}.mdi-halloween:before{content:"๓ฐฎฃ"}.mdi-hamburger:before{content:"๓ฐš…"}.mdi-hamburger-check:before{content:"๓ฑถ"}.mdi-hamburger-minus:before{content:"๓ฑท"}.mdi-hamburger-off:before{content:"๓ฑธ"}.mdi-hamburger-plus:before{content:"๓ฑน"}.mdi-hamburger-remove:before{content:"๓ฑบ"}.mdi-hammer:before{content:"๓ฐฃช"}.mdi-hammer-screwdriver:before{content:"๓ฑŒข"}.mdi-hammer-sickle:before{content:"๓ฑข‡"}.mdi-hammer-wrench:before{content:"๓ฑŒฃ"}.mdi-hand-back-left:before{content:"๓ฐน†"}.mdi-hand-back-left-off:before{content:"๓ฑ ฐ"}.mdi-hand-back-left-off-outline:before{content:"๓ฑ ฒ"}.mdi-hand-back-left-outline:before{content:"๓ฑ ฌ"}.mdi-hand-back-right:before{content:"๓ฐน‡"}.mdi-hand-back-right-off:before{content:"๓ฑ ฑ"}.mdi-hand-back-right-off-outline:before{content:"๓ฑ ณ"}.mdi-hand-back-right-outline:before{content:"๓ฑ ญ"}.mdi-hand-clap:before{content:"๓ฑฅ‹"}.mdi-hand-clap-off:before{content:"๓ฑฉ‚"}.mdi-hand-coin:before{content:"๓ฑข"}.mdi-hand-coin-outline:before{content:"๓ฑข"}.mdi-hand-cycle:before{content:"๓ฑฎœ"}.mdi-hand-extended:before{content:"๓ฑขถ"}.mdi-hand-extended-outline:before{content:"๓ฑขท"}.mdi-hand-front-left:before{content:"๓ฑ ซ"}.mdi-hand-front-left-outline:before{content:"๓ฑ ฎ"}.mdi-hand-front-right:before{content:"๓ฐฉ"}.mdi-hand-front-right-outline:before{content:"๓ฑ ฏ"}.mdi-hand-heart:before{content:"๓ฑƒฑ"}.mdi-hand-heart-outline:before{content:"๓ฑ•พ"}.mdi-hand-okay:before{content:"๓ฐฉ"}.mdi-hand-peace:before{content:"๓ฐฉ‘"}.mdi-hand-peace-variant:before{content:"๓ฐฉ’"}.mdi-hand-pointing-down:before{content:"๓ฐฉ“"}.mdi-hand-pointing-left:before{content:"๓ฐฉ”"}.mdi-hand-pointing-right:before{content:"๓ฐ‹‡"}.mdi-hand-pointing-up:before{content:"๓ฐฉ•"}.mdi-hand-saw:before{content:"๓ฐนˆ"}.mdi-hand-wash:before{content:"๓ฑ•ฟ"}.mdi-hand-wash-outline:before{content:"๓ฑ–€"}.mdi-hand-water:before{content:"๓ฑŽŸ"}.mdi-hand-wave:before{content:"๓ฑ ก"}.mdi-hand-wave-outline:before{content:"๓ฑ ข"}.mdi-handball:before{content:"๓ฐฝ“"}.mdi-handcuffs:before{content:"๓ฑ„พ"}.mdi-hands-pray:before{content:"๓ฐ•น"}.mdi-handshake:before{content:"๓ฑˆ˜"}.mdi-handshake-outline:before{content:"๓ฑ–ก"}.mdi-hanger:before{content:"๓ฐ‹ˆ"}.mdi-hard-hat:before{content:"๓ฐฅฏ"}.mdi-harddisk:before{content:"๓ฐ‹Š"}.mdi-harddisk-plus:before{content:"๓ฑ‹"}.mdi-harddisk-remove:before{content:"๓ฑŒ"}.mdi-hat-fedora:before{content:"๓ฐฎค"}.mdi-hazard-lights:before{content:"๓ฐฒ‰"}.mdi-hdmi-port:before{content:"๓ฑฎธ"}.mdi-hdr:before{content:"๓ฐตฝ"}.mdi-hdr-off:before{content:"๓ฐตพ"}.mdi-head:before{content:"๓ฑž"}.mdi-head-alert:before{content:"๓ฑŒธ"}.mdi-head-alert-outline:before{content:"๓ฑŒน"}.mdi-head-check:before{content:"๓ฑŒบ"}.mdi-head-check-outline:before{content:"๓ฑŒป"}.mdi-head-cog:before{content:"๓ฑŒผ"}.mdi-head-cog-outline:before{content:"๓ฑŒฝ"}.mdi-head-dots-horizontal:before{content:"๓ฑŒพ"}.mdi-head-dots-horizontal-outline:before{content:"๓ฑŒฟ"}.mdi-head-flash:before{content:"๓ฑ€"}.mdi-head-flash-outline:before{content:"๓ฑ"}.mdi-head-heart:before{content:"๓ฑ‚"}.mdi-head-heart-outline:before{content:"๓ฑƒ"}.mdi-head-lightbulb:before{content:"๓ฑ„"}.mdi-head-lightbulb-outline:before{content:"๓ฑ…"}.mdi-head-minus:before{content:"๓ฑ†"}.mdi-head-minus-outline:before{content:"๓ฑ‡"}.mdi-head-outline:before{content:"๓ฑŸ"}.mdi-head-plus:before{content:"๓ฑˆ"}.mdi-head-plus-outline:before{content:"๓ฑ‰"}.mdi-head-question:before{content:"๓ฑŠ"}.mdi-head-question-outline:before{content:"๓ฑ‹"}.mdi-head-remove:before{content:"๓ฑŒ"}.mdi-head-remove-outline:before{content:"๓ฑ"}.mdi-head-snowflake:before{content:"๓ฑŽ"}.mdi-head-snowflake-outline:before{content:"๓ฑ"}.mdi-head-sync:before{content:"๓ฑ"}.mdi-head-sync-outline:before{content:"๓ฑ‘"}.mdi-headphones:before{content:"๓ฐ‹‹"}.mdi-headphones-bluetooth:before{content:"๓ฐฅฐ"}.mdi-headphones-box:before{content:"๓ฐ‹Œ"}.mdi-headphones-off:before{content:"๓ฐŸŽ"}.mdi-headphones-settings:before{content:"๓ฐ‹"}.mdi-headset:before{content:"๓ฐ‹Ž"}.mdi-headset-dock:before{content:"๓ฐ‹"}.mdi-headset-off:before{content:"๓ฐ‹"}.mdi-heart:before{content:"๓ฐ‹‘"}.mdi-heart-box:before{content:"๓ฐ‹’"}.mdi-heart-box-outline:before{content:"๓ฐ‹“"}.mdi-heart-broken:before{content:"๓ฐ‹”"}.mdi-heart-broken-outline:before{content:"๓ฐด”"}.mdi-heart-circle:before{content:"๓ฐฅฑ"}.mdi-heart-circle-outline:before{content:"๓ฐฅฒ"}.mdi-heart-cog:before{content:"๓ฑ™ฃ"}.mdi-heart-cog-outline:before{content:"๓ฑ™ค"}.mdi-heart-flash:before{content:"๓ฐปน"}.mdi-heart-half:before{content:"๓ฐ›Ÿ"}.mdi-heart-half-full:before{content:"๓ฐ›ž"}.mdi-heart-half-outline:before{content:"๓ฐ› "}.mdi-heart-minus:before{content:"๓ฑฏ"}.mdi-heart-minus-outline:before{content:"๓ฑฒ"}.mdi-heart-multiple:before{content:"๓ฐฉ–"}.mdi-heart-multiple-outline:before{content:"๓ฐฉ—"}.mdi-heart-off:before{content:"๓ฐ™"}.mdi-heart-off-outline:before{content:"๓ฑด"}.mdi-heart-outline:before{content:"๓ฐ‹•"}.mdi-heart-plus:before{content:"๓ฑฎ"}.mdi-heart-plus-outline:before{content:"๓ฑฑ"}.mdi-heart-pulse:before{content:"๓ฐ—ถ"}.mdi-heart-remove:before{content:"๓ฑฐ"}.mdi-heart-remove-outline:before{content:"๓ฑณ"}.mdi-heart-settings:before{content:"๓ฑ™ฅ"}.mdi-heart-settings-outline:before{content:"๓ฑ™ฆ"}.mdi-heat-pump:before{content:"๓ฑฉƒ"}.mdi-heat-pump-outline:before{content:"๓ฑฉ„"}.mdi-heat-wave:before{content:"๓ฑฉ…"}.mdi-heating-coil:before{content:"๓ฑชฏ"}.mdi-helicopter:before{content:"๓ฐซ‚"}.mdi-help:before{content:"๓ฐ‹–"}.mdi-help-box:before{content:"๓ฐž‹"}.mdi-help-box-multiple:before{content:"๓ฑฐŠ"}.mdi-help-box-multiple-outline:before{content:"๓ฑฐ‹"}.mdi-help-box-outline:before{content:"๓ฑฐŒ"}.mdi-help-circle:before{content:"๓ฐ‹—"}.mdi-help-circle-outline:before{content:"๓ฐ˜ฅ"}.mdi-help-network:before{content:"๓ฐ›ต"}.mdi-help-network-outline:before{content:"๓ฐฒŠ"}.mdi-help-rhombus:before{content:"๓ฐฎฅ"}.mdi-help-rhombus-outline:before{content:"๓ฐฎฆ"}.mdi-hexadecimal:before{content:"๓ฑŠง"}.mdi-hexagon:before{content:"๓ฐ‹˜"}.mdi-hexagon-multiple:before{content:"๓ฐ›ก"}.mdi-hexagon-multiple-outline:before{content:"๓ฑƒฒ"}.mdi-hexagon-outline:before{content:"๓ฐ‹™"}.mdi-hexagon-slice-1:before{content:"๓ฐซƒ"}.mdi-hexagon-slice-2:before{content:"๓ฐซ„"}.mdi-hexagon-slice-3:before{content:"๓ฐซ…"}.mdi-hexagon-slice-4:before{content:"๓ฐซ†"}.mdi-hexagon-slice-5:before{content:"๓ฐซ‡"}.mdi-hexagon-slice-6:before{content:"๓ฐซˆ"}.mdi-hexagram:before{content:"๓ฐซ‰"}.mdi-hexagram-outline:before{content:"๓ฐซŠ"}.mdi-high-definition:before{content:"๓ฐŸ"}.mdi-high-definition-box:before{content:"๓ฐกธ"}.mdi-highway:before{content:"๓ฐ—ท"}.mdi-hiking:before{content:"๓ฐตฟ"}.mdi-history:before{content:"๓ฐ‹š"}.mdi-hockey-puck:before{content:"๓ฐกน"}.mdi-hockey-sticks:before{content:"๓ฐกบ"}.mdi-hololens:before{content:"๓ฐ‹›"}.mdi-home:before{content:"๓ฐ‹œ"}.mdi-home-account:before{content:"๓ฐ ฆ"}.mdi-home-alert:before{content:"๓ฐกป"}.mdi-home-alert-outline:before{content:"๓ฑ—"}.mdi-home-analytics:before{content:"๓ฐบบ"}.mdi-home-assistant:before{content:"๓ฐŸ"}.mdi-home-automation:before{content:"๓ฐŸ‘"}.mdi-home-battery:before{content:"๓ฑค"}.mdi-home-battery-outline:before{content:"๓ฑค‚"}.mdi-home-circle:before{content:"๓ฐŸ’"}.mdi-home-circle-outline:before{content:"๓ฑ"}.mdi-home-city:before{content:"๓ฐด•"}.mdi-home-city-outline:before{content:"๓ฐด–"}.mdi-home-clock:before{content:"๓ฑจ’"}.mdi-home-clock-outline:before{content:"๓ฑจ“"}.mdi-home-edit:before{content:"๓ฑ…™"}.mdi-home-edit-outline:before{content:"๓ฑ…š"}.mdi-home-export-outline:before{content:"๓ฐพ›"}.mdi-home-flood:before{content:"๓ฐปบ"}.mdi-home-floor-0:before{content:"๓ฐท’"}.mdi-home-floor-1:before{content:"๓ฐถ€"}.mdi-home-floor-2:before{content:"๓ฐถ"}.mdi-home-floor-3:before{content:"๓ฐถ‚"}.mdi-home-floor-a:before{content:"๓ฐถƒ"}.mdi-home-floor-b:before{content:"๓ฐถ„"}.mdi-home-floor-g:before{content:"๓ฐถ…"}.mdi-home-floor-l:before{content:"๓ฐถ†"}.mdi-home-floor-negative-1:before{content:"๓ฐท“"}.mdi-home-group:before{content:"๓ฐท”"}.mdi-home-group-minus:before{content:"๓ฑง"}.mdi-home-group-plus:before{content:"๓ฑง€"}.mdi-home-group-remove:before{content:"๓ฑง‚"}.mdi-home-heart:before{content:"๓ฐ ง"}.mdi-home-import-outline:before{content:"๓ฐพœ"}.mdi-home-lightbulb:before{content:"๓ฑ‰‘"}.mdi-home-lightbulb-outline:before{content:"๓ฑ‰’"}.mdi-home-lightning-bolt:before{content:"๓ฑคƒ"}.mdi-home-lightning-bolt-outline:before{content:"๓ฑค„"}.mdi-home-lock:before{content:"๓ฐฃซ"}.mdi-home-lock-open:before{content:"๓ฐฃฌ"}.mdi-home-map-marker:before{content:"๓ฐ—ธ"}.mdi-home-minus:before{content:"๓ฐฅด"}.mdi-home-minus-outline:before{content:"๓ฑ•"}.mdi-home-modern:before{content:"๓ฐ‹"}.mdi-home-off:before{content:"๓ฑฉ†"}.mdi-home-off-outline:before{content:"๓ฑฉ‡"}.mdi-home-outline:before{content:"๓ฐšก"}.mdi-home-percent:before{content:"๓ฑฑผ"}.mdi-home-percent-outline:before{content:"๓ฑฑฝ"}.mdi-home-plus:before{content:"๓ฐฅต"}.mdi-home-plus-outline:before{content:"๓ฑ–"}.mdi-home-remove:before{content:"๓ฑ‰‡"}.mdi-home-remove-outline:before{content:"๓ฑ—"}.mdi-home-roof:before{content:"๓ฑ„ซ"}.mdi-home-search:before{content:"๓ฑŽฐ"}.mdi-home-search-outline:before{content:"๓ฑŽฑ"}.mdi-home-silo:before{content:"๓ฑฎ "}.mdi-home-silo-outline:before{content:"๓ฑฎก"}.mdi-home-sound-in:before{content:"๓ฑฐฏ"}.mdi-home-sound-in-outline:before{content:"๓ฑฐฐ"}.mdi-home-sound-out:before{content:"๓ฑฐฑ"}.mdi-home-sound-out-outline:before{content:"๓ฑฐฒ"}.mdi-home-switch:before{content:"๓ฑž”"}.mdi-home-switch-outline:before{content:"๓ฑž•"}.mdi-home-thermometer:before{content:"๓ฐฝ”"}.mdi-home-thermometer-outline:before{content:"๓ฐฝ•"}.mdi-home-variant:before{content:"๓ฐ‹ž"}.mdi-home-variant-outline:before{content:"๓ฐฎง"}.mdi-hook:before{content:"๓ฐ›ข"}.mdi-hook-off:before{content:"๓ฐ›ฃ"}.mdi-hoop-house:before{content:"๓ฐน–"}.mdi-hops:before{content:"๓ฐ‹Ÿ"}.mdi-horizontal-rotate-clockwise:before{content:"๓ฑƒณ"}.mdi-horizontal-rotate-counterclockwise:before{content:"๓ฑƒด"}.mdi-horse:before{content:"๓ฑ–ฟ"}.mdi-horse-human:before{content:"๓ฑ—€"}.mdi-horse-variant:before{content:"๓ฑ—"}.mdi-horse-variant-fast:before{content:"๓ฑกฎ"}.mdi-horseshoe:before{content:"๓ฐฉ˜"}.mdi-hospital:before{content:"๓ฐฟถ"}.mdi-hospital-box:before{content:"๓ฐ‹ "}.mdi-hospital-box-outline:before{content:"๓ฐฟท"}.mdi-hospital-building:before{content:"๓ฐ‹ก"}.mdi-hospital-marker:before{content:"๓ฐ‹ข"}.mdi-hot-tub:before{content:"๓ฐ จ"}.mdi-hours-24:before{content:"๓ฑ‘ธ"}.mdi-hubspot:before{content:"๓ฐด—"}.mdi-hulu:before{content:"๓ฐ ฉ"}.mdi-human:before{content:"๓ฐ‹ฆ"}.mdi-human-baby-changing-table:before{content:"๓ฑŽ‹"}.mdi-human-cane:before{content:"๓ฑ–"}.mdi-human-capacity-decrease:before{content:"๓ฑ–›"}.mdi-human-capacity-increase:before{content:"๓ฑ–œ"}.mdi-human-child:before{content:"๓ฐ‹ง"}.mdi-human-dolly:before{content:"๓ฑฆ€"}.mdi-human-edit:before{content:"๓ฑ“จ"}.mdi-human-female:before{content:"๓ฐ™‰"}.mdi-human-female-boy:before{content:"๓ฐฉ™"}.mdi-human-female-dance:before{content:"๓ฑ—‰"}.mdi-human-female-female:before{content:"๓ฐฉš"}.mdi-human-female-girl:before{content:"๓ฐฉ›"}.mdi-human-greeting:before{content:"๓ฑŸ„"}.mdi-human-greeting-proximity:before{content:"๓ฑ–"}.mdi-human-greeting-variant:before{content:"๓ฐ™Š"}.mdi-human-handsdown:before{content:"๓ฐ™‹"}.mdi-human-handsup:before{content:"๓ฐ™Œ"}.mdi-human-male:before{content:"๓ฐ™"}.mdi-human-male-board:before{content:"๓ฐข"}.mdi-human-male-board-poll:before{content:"๓ฐก†"}.mdi-human-male-boy:before{content:"๓ฐฉœ"}.mdi-human-male-child:before{content:"๓ฑŽŒ"}.mdi-human-male-female:before{content:"๓ฐ‹จ"}.mdi-human-male-female-child:before{content:"๓ฑ ฃ"}.mdi-human-male-girl:before{content:"๓ฐฉ"}.mdi-human-male-height:before{content:"๓ฐปป"}.mdi-human-male-height-variant:before{content:"๓ฐปผ"}.mdi-human-male-male:before{content:"๓ฐฉž"}.mdi-human-non-binary:before{content:"๓ฑกˆ"}.mdi-human-pregnant:before{content:"๓ฐ—"}.mdi-human-queue:before{content:"๓ฑ•ฑ"}.mdi-human-scooter:before{content:"๓ฑ‡ฉ"}.mdi-human-walker:before{content:"๓ฑญฑ"}.mdi-human-wheelchair:before{content:"๓ฑŽ"}.mdi-human-white-cane:before{content:"๓ฑฆ"}.mdi-humble-bundle:before{content:"๓ฐ„"}.mdi-hvac:before{content:"๓ฑ’"}.mdi-hvac-off:before{content:"๓ฑ–ž"}.mdi-hydraulic-oil-level:before{content:"๓ฑŒค"}.mdi-hydraulic-oil-temperature:before{content:"๓ฑŒฅ"}.mdi-hydro-power:before{content:"๓ฑ‹ฅ"}.mdi-hydrogen-station:before{content:"๓ฑข”"}.mdi-ice-cream:before{content:"๓ฐ ช"}.mdi-ice-cream-off:before{content:"๓ฐน’"}.mdi-ice-pop:before{content:"๓ฐปฝ"}.mdi-id-card:before{content:"๓ฐฟ€"}.mdi-identifier:before{content:"๓ฐปพ"}.mdi-ideogram-cjk:before{content:"๓ฑŒฑ"}.mdi-ideogram-cjk-variant:before{content:"๓ฑŒฒ"}.mdi-image:before{content:"๓ฐ‹ฉ"}.mdi-image-album:before{content:"๓ฐ‹ช"}.mdi-image-area:before{content:"๓ฐ‹ซ"}.mdi-image-area-close:before{content:"๓ฐ‹ฌ"}.mdi-image-auto-adjust:before{content:"๓ฐฟ"}.mdi-image-broken:before{content:"๓ฐ‹ญ"}.mdi-image-broken-variant:before{content:"๓ฐ‹ฎ"}.mdi-image-check:before{content:"๓ฑฌฅ"}.mdi-image-check-outline:before{content:"๓ฑฌฆ"}.mdi-image-edit:before{content:"๓ฑ‡ฃ"}.mdi-image-edit-outline:before{content:"๓ฑ‡ค"}.mdi-image-filter-black-white:before{content:"๓ฐ‹ฐ"}.mdi-image-filter-center-focus:before{content:"๓ฐ‹ฑ"}.mdi-image-filter-center-focus-strong:before{content:"๓ฐปฟ"}.mdi-image-filter-center-focus-strong-outline:before{content:"๓ฐผ€"}.mdi-image-filter-center-focus-weak:before{content:"๓ฐ‹ฒ"}.mdi-image-filter-drama:before{content:"๓ฐ‹ณ"}.mdi-image-filter-drama-outline:before{content:"๓ฑฏฟ"}.mdi-image-filter-frames:before{content:"๓ฐ‹ด"}.mdi-image-filter-hdr:before{content:"๓ฐ‹ต"}.mdi-image-filter-hdr-outline:before{content:"๓ฑฑค"}.mdi-image-filter-none:before{content:"๓ฐ‹ถ"}.mdi-image-filter-tilt-shift:before{content:"๓ฐ‹ท"}.mdi-image-filter-vintage:before{content:"๓ฐ‹ธ"}.mdi-image-frame:before{content:"๓ฐน‰"}.mdi-image-lock:before{content:"๓ฑชฐ"}.mdi-image-lock-outline:before{content:"๓ฑชฑ"}.mdi-image-marker:before{content:"๓ฑป"}.mdi-image-marker-outline:before{content:"๓ฑผ"}.mdi-image-minus:before{content:"๓ฑ™"}.mdi-image-minus-outline:before{content:"๓ฑญ‡"}.mdi-image-move:before{content:"๓ฐงธ"}.mdi-image-multiple:before{content:"๓ฐ‹น"}.mdi-image-multiple-outline:before{content:"๓ฐ‹ฏ"}.mdi-image-off:before{content:"๓ฐ ซ"}.mdi-image-off-outline:before{content:"๓ฑ‡‘"}.mdi-image-outline:before{content:"๓ฐฅถ"}.mdi-image-plus:before{content:"๓ฐกผ"}.mdi-image-plus-outline:before{content:"๓ฑญ†"}.mdi-image-refresh:before{content:"๓ฑงพ"}.mdi-image-refresh-outline:before{content:"๓ฑงฟ"}.mdi-image-remove:before{content:"๓ฑ˜"}.mdi-image-remove-outline:before{content:"๓ฑญˆ"}.mdi-image-search:before{content:"๓ฐฅท"}.mdi-image-search-outline:before{content:"๓ฐฅธ"}.mdi-image-size-select-actual:before{content:"๓ฐฒ"}.mdi-image-size-select-large:before{content:"๓ฐฒŽ"}.mdi-image-size-select-small:before{content:"๓ฐฒ"}.mdi-image-sync:before{content:"๓ฑจ€"}.mdi-image-sync-outline:before{content:"๓ฑจ"}.mdi-image-text:before{content:"๓ฑ˜"}.mdi-import:before{content:"๓ฐ‹บ"}.mdi-inbox:before{content:"๓ฐš‡"}.mdi-inbox-arrow-down:before{content:"๓ฐ‹ป"}.mdi-inbox-arrow-down-outline:before{content:"๓ฑ‰ฐ"}.mdi-inbox-arrow-up:before{content:"๓ฐ‘"}.mdi-inbox-arrow-up-outline:before{content:"๓ฑ‰ฑ"}.mdi-inbox-full:before{content:"๓ฑ‰ฒ"}.mdi-inbox-full-outline:before{content:"๓ฑ‰ณ"}.mdi-inbox-multiple:before{content:"๓ฐขฐ"}.mdi-inbox-multiple-outline:before{content:"๓ฐฎจ"}.mdi-inbox-outline:before{content:"๓ฑ‰ด"}.mdi-inbox-remove:before{content:"๓ฑ–Ÿ"}.mdi-inbox-remove-outline:before{content:"๓ฑ– "}.mdi-incognito:before{content:"๓ฐ—น"}.mdi-incognito-circle:before{content:"๓ฑก"}.mdi-incognito-circle-off:before{content:"๓ฑข"}.mdi-incognito-off:before{content:"๓ฐต"}.mdi-induction:before{content:"๓ฑกŒ"}.mdi-infinity:before{content:"๓ฐ›ค"}.mdi-information:before{content:"๓ฐ‹ผ"}.mdi-information-box:before{content:"๓ฑฑฅ"}.mdi-information-box-outline:before{content:"๓ฑฑฆ"}.mdi-information-off:before{content:"๓ฑžŒ"}.mdi-information-off-outline:before{content:"๓ฑž"}.mdi-information-outline:before{content:"๓ฐ‹ฝ"}.mdi-information-slab-box:before{content:"๓ฑฑง"}.mdi-information-slab-box-outline:before{content:"๓ฑฑจ"}.mdi-information-slab-circle:before{content:"๓ฑฑฉ"}.mdi-information-slab-circle-outline:before{content:"๓ฑฑช"}.mdi-information-slab-symbol:before{content:"๓ฑฑซ"}.mdi-information-symbol:before{content:"๓ฑฑฌ"}.mdi-information-variant:before{content:"๓ฐ™Ž"}.mdi-information-variant-box:before{content:"๓ฑฑญ"}.mdi-information-variant-box-outline:before{content:"๓ฑฑฎ"}.mdi-information-variant-circle:before{content:"๓ฑฑฏ"}.mdi-information-variant-circle-outline:before{content:"๓ฑฑฐ"}.mdi-instagram:before{content:"๓ฐ‹พ"}.mdi-instrument-triangle:before{content:"๓ฑŽ"}.mdi-integrated-circuit-chip:before{content:"๓ฑค“"}.mdi-invert-colors:before{content:"๓ฐŒ"}.mdi-invert-colors-off:before{content:"๓ฐนŠ"}.mdi-iobroker:before{content:"๓ฑ‹จ"}.mdi-ip:before{content:"๓ฐฉŸ"}.mdi-ip-network:before{content:"๓ฐฉ "}.mdi-ip-network-outline:before{content:"๓ฐฒ"}.mdi-ip-outline:before{content:"๓ฑฆ‚"}.mdi-ipod:before{content:"๓ฐฒ‘"}.mdi-iron:before{content:"๓ฑ ค"}.mdi-iron-board:before{content:"๓ฑ ธ"}.mdi-iron-outline:before{content:"๓ฑ ฅ"}.mdi-island:before{content:"๓ฑ"}.mdi-iv-bag:before{content:"๓ฑ‚น"}.mdi-jabber:before{content:"๓ฐท•"}.mdi-jeepney:before{content:"๓ฐŒ‚"}.mdi-jellyfish:before{content:"๓ฐผ"}.mdi-jellyfish-outline:before{content:"๓ฐผ‚"}.mdi-jira:before{content:"๓ฐŒƒ"}.mdi-jquery:before{content:"๓ฐกฝ"}.mdi-jsfiddle:before{content:"๓ฐŒ„"}.mdi-jump-rope:before{content:"๓ฑ‹ฟ"}.mdi-kabaddi:before{content:"๓ฐถ‡"}.mdi-kangaroo:before{content:"๓ฑ•˜"}.mdi-karate:before{content:"๓ฐ ฌ"}.mdi-kayaking:before{content:"๓ฐขฏ"}.mdi-keg:before{content:"๓ฐŒ…"}.mdi-kettle:before{content:"๓ฐ—บ"}.mdi-kettle-alert:before{content:"๓ฑŒ—"}.mdi-kettle-alert-outline:before{content:"๓ฑŒ˜"}.mdi-kettle-off:before{content:"๓ฑŒ›"}.mdi-kettle-off-outline:before{content:"๓ฑŒœ"}.mdi-kettle-outline:before{content:"๓ฐฝ–"}.mdi-kettle-pour-over:before{content:"๓ฑœผ"}.mdi-kettle-steam:before{content:"๓ฑŒ™"}.mdi-kettle-steam-outline:before{content:"๓ฑŒš"}.mdi-kettlebell:before{content:"๓ฑŒ€"}.mdi-key:before{content:"๓ฐŒ†"}.mdi-key-alert:before{content:"๓ฑฆƒ"}.mdi-key-alert-outline:before{content:"๓ฑฆ„"}.mdi-key-arrow-right:before{content:"๓ฑŒ’"}.mdi-key-chain:before{content:"๓ฑ•ด"}.mdi-key-chain-variant:before{content:"๓ฑ•ต"}.mdi-key-change:before{content:"๓ฐŒ‡"}.mdi-key-link:before{content:"๓ฑ†Ÿ"}.mdi-key-minus:before{content:"๓ฐŒˆ"}.mdi-key-outline:before{content:"๓ฐท–"}.mdi-key-plus:before{content:"๓ฐŒ‰"}.mdi-key-remove:before{content:"๓ฐŒŠ"}.mdi-key-star:before{content:"๓ฑ†ž"}.mdi-key-variant:before{content:"๓ฐŒ‹"}.mdi-key-wireless:before{content:"๓ฐฟ‚"}.mdi-keyboard:before{content:"๓ฐŒŒ"}.mdi-keyboard-backspace:before{content:"๓ฐŒ"}.mdi-keyboard-caps:before{content:"๓ฐŒŽ"}.mdi-keyboard-close:before{content:"๓ฐŒ"}.mdi-keyboard-close-outline:before{content:"๓ฑฐ€"}.mdi-keyboard-esc:before{content:"๓ฑŠท"}.mdi-keyboard-f1:before{content:"๓ฑŠซ"}.mdi-keyboard-f10:before{content:"๓ฑŠด"}.mdi-keyboard-f11:before{content:"๓ฑŠต"}.mdi-keyboard-f12:before{content:"๓ฑŠถ"}.mdi-keyboard-f2:before{content:"๓ฑŠฌ"}.mdi-keyboard-f3:before{content:"๓ฑŠญ"}.mdi-keyboard-f4:before{content:"๓ฑŠฎ"}.mdi-keyboard-f5:before{content:"๓ฑŠฏ"}.mdi-keyboard-f6:before{content:"๓ฑŠฐ"}.mdi-keyboard-f7:before{content:"๓ฑŠฑ"}.mdi-keyboard-f8:before{content:"๓ฑŠฒ"}.mdi-keyboard-f9:before{content:"๓ฑŠณ"}.mdi-keyboard-off:before{content:"๓ฐŒ"}.mdi-keyboard-off-outline:before{content:"๓ฐน‹"}.mdi-keyboard-outline:before{content:"๓ฐฅป"}.mdi-keyboard-return:before{content:"๓ฐŒ‘"}.mdi-keyboard-settings:before{content:"๓ฐงน"}.mdi-keyboard-settings-outline:before{content:"๓ฐงบ"}.mdi-keyboard-space:before{content:"๓ฑ"}.mdi-keyboard-tab:before{content:"๓ฐŒ’"}.mdi-keyboard-tab-reverse:before{content:"๓ฐŒฅ"}.mdi-keyboard-variant:before{content:"๓ฐŒ“"}.mdi-khanda:before{content:"๓ฑƒฝ"}.mdi-kickstarter:before{content:"๓ฐ…"}.mdi-kite:before{content:"๓ฑฆ…"}.mdi-kite-outline:before{content:"๓ฑฆ†"}.mdi-kitesurfing:before{content:"๓ฑ„"}.mdi-klingon:before{content:"๓ฑ›"}.mdi-knife:before{content:"๓ฐงป"}.mdi-knife-military:before{content:"๓ฐงผ"}.mdi-knob:before{content:"๓ฑฎ–"}.mdi-koala:before{content:"๓ฑœฟ"}.mdi-kodi:before{content:"๓ฐŒ”"}.mdi-kubernetes:before{content:"๓ฑƒพ"}.mdi-label:before{content:"๓ฐŒ•"}.mdi-label-multiple:before{content:"๓ฑต"}.mdi-label-multiple-outline:before{content:"๓ฑถ"}.mdi-label-off:before{content:"๓ฐซ‹"}.mdi-label-off-outline:before{content:"๓ฐซŒ"}.mdi-label-outline:before{content:"๓ฐŒ–"}.mdi-label-percent:before{content:"๓ฑ‹ช"}.mdi-label-percent-outline:before{content:"๓ฑ‹ซ"}.mdi-label-variant:before{content:"๓ฐซ"}.mdi-label-variant-outline:before{content:"๓ฐซŽ"}.mdi-ladder:before{content:"๓ฑ–ข"}.mdi-ladybug:before{content:"๓ฐ ญ"}.mdi-lambda:before{content:"๓ฐ˜ง"}.mdi-lamp:before{content:"๓ฐšต"}.mdi-lamp-outline:before{content:"๓ฑŸ"}.mdi-lamps:before{content:"๓ฑ•ถ"}.mdi-lamps-outline:before{content:"๓ฑŸ‘"}.mdi-lan:before{content:"๓ฐŒ—"}.mdi-lan-check:before{content:"๓ฑŠช"}.mdi-lan-connect:before{content:"๓ฐŒ˜"}.mdi-lan-disconnect:before{content:"๓ฐŒ™"}.mdi-lan-pending:before{content:"๓ฐŒš"}.mdi-land-fields:before{content:"๓ฑชฒ"}.mdi-land-plots:before{content:"๓ฑชณ"}.mdi-land-plots-circle:before{content:"๓ฑชด"}.mdi-land-plots-circle-variant:before{content:"๓ฑชต"}.mdi-land-plots-marker:before{content:"๓ฑฑ"}.mdi-land-rows-horizontal:before{content:"๓ฑชถ"}.mdi-land-rows-vertical:before{content:"๓ฑชท"}.mdi-landslide:before{content:"๓ฑฉˆ"}.mdi-landslide-outline:before{content:"๓ฑฉ‰"}.mdi-language-c:before{content:"๓ฐ™ฑ"}.mdi-language-cpp:before{content:"๓ฐ™ฒ"}.mdi-language-csharp:before{content:"๓ฐŒ›"}.mdi-language-css3:before{content:"๓ฐŒœ"}.mdi-language-fortran:before{content:"๓ฑˆš"}.mdi-language-go:before{content:"๓ฐŸ“"}.mdi-language-haskell:before{content:"๓ฐฒ’"}.mdi-language-html5:before{content:"๓ฐŒ"}.mdi-language-java:before{content:"๓ฐฌท"}.mdi-language-javascript:before{content:"๓ฐŒž"}.mdi-language-kotlin:before{content:"๓ฑˆ™"}.mdi-language-lua:before{content:"๓ฐขฑ"}.mdi-language-markdown:before{content:"๓ฐ”"}.mdi-language-markdown-outline:before{content:"๓ฐฝ›"}.mdi-language-php:before{content:"๓ฐŒŸ"}.mdi-language-python:before{content:"๓ฐŒ "}.mdi-language-r:before{content:"๓ฐŸ”"}.mdi-language-ruby:before{content:"๓ฐดญ"}.mdi-language-ruby-on-rails:before{content:"๓ฐซ"}.mdi-language-rust:before{content:"๓ฑ˜—"}.mdi-language-swift:before{content:"๓ฐ›ฅ"}.mdi-language-typescript:before{content:"๓ฐ›ฆ"}.mdi-language-xaml:before{content:"๓ฐ™ณ"}.mdi-laptop:before{content:"๓ฐŒข"}.mdi-laptop-account:before{content:"๓ฑฉŠ"}.mdi-laptop-off:before{content:"๓ฐ›ง"}.mdi-laravel:before{content:"๓ฐซ"}.mdi-laser-pointer:before{content:"๓ฑ’„"}.mdi-lasso:before{content:"๓ฐผƒ"}.mdi-lastpass:before{content:"๓ฐ‘†"}.mdi-latitude:before{content:"๓ฐฝ—"}.mdi-launch:before{content:"๓ฐŒง"}.mdi-lava-lamp:before{content:"๓ฐŸ•"}.mdi-layers:before{content:"๓ฐŒจ"}.mdi-layers-edit:before{content:"๓ฑข’"}.mdi-layers-minus:before{content:"๓ฐนŒ"}.mdi-layers-off:before{content:"๓ฐŒฉ"}.mdi-layers-off-outline:before{content:"๓ฐงฝ"}.mdi-layers-outline:before{content:"๓ฐงพ"}.mdi-layers-plus:before{content:"๓ฐน"}.mdi-layers-remove:before{content:"๓ฐนŽ"}.mdi-layers-search:before{content:"๓ฑˆ†"}.mdi-layers-search-outline:before{content:"๓ฑˆ‡"}.mdi-layers-triple:before{content:"๓ฐฝ˜"}.mdi-layers-triple-outline:before{content:"๓ฐฝ™"}.mdi-lead-pencil:before{content:"๓ฐ™"}.mdi-leaf:before{content:"๓ฐŒช"}.mdi-leaf-circle:before{content:"๓ฑค…"}.mdi-leaf-circle-outline:before{content:"๓ฑค†"}.mdi-leaf-maple:before{content:"๓ฐฒ“"}.mdi-leaf-maple-off:before{content:"๓ฑ‹š"}.mdi-leaf-off:before{content:"๓ฑ‹™"}.mdi-leak:before{content:"๓ฐท—"}.mdi-leak-off:before{content:"๓ฐท˜"}.mdi-lectern:before{content:"๓ฑซฐ"}.mdi-led-off:before{content:"๓ฐŒซ"}.mdi-led-on:before{content:"๓ฐŒฌ"}.mdi-led-outline:before{content:"๓ฐŒญ"}.mdi-led-strip:before{content:"๓ฐŸ–"}.mdi-led-strip-variant:before{content:"๓ฑ‘"}.mdi-led-strip-variant-off:before{content:"๓ฑฉ‹"}.mdi-led-variant-off:before{content:"๓ฐŒฎ"}.mdi-led-variant-on:before{content:"๓ฐŒฏ"}.mdi-led-variant-outline:before{content:"๓ฐŒฐ"}.mdi-leek:before{content:"๓ฑ…ฝ"}.mdi-less-than:before{content:"๓ฐฅผ"}.mdi-less-than-or-equal:before{content:"๓ฐฅฝ"}.mdi-library:before{content:"๓ฐŒฑ"}.mdi-library-outline:before{content:"๓ฑจข"}.mdi-library-shelves:before{content:"๓ฐฎฉ"}.mdi-license:before{content:"๓ฐฟƒ"}.mdi-lifebuoy:before{content:"๓ฐกพ"}.mdi-light-flood-down:before{content:"๓ฑฆ‡"}.mdi-light-flood-up:before{content:"๓ฑฆˆ"}.mdi-light-recessed:before{content:"๓ฑž›"}.mdi-light-switch:before{content:"๓ฐฅพ"}.mdi-light-switch-off:before{content:"๓ฑจค"}.mdi-lightbulb:before{content:"๓ฐŒต"}.mdi-lightbulb-alert:before{content:"๓ฑงก"}.mdi-lightbulb-alert-outline:before{content:"๓ฑงข"}.mdi-lightbulb-auto:before{content:"๓ฑ €"}.mdi-lightbulb-auto-outline:before{content:"๓ฑ "}.mdi-lightbulb-cfl:before{content:"๓ฑˆˆ"}.mdi-lightbulb-cfl-off:before{content:"๓ฑˆ‰"}.mdi-lightbulb-cfl-spiral:before{content:"๓ฑ‰ต"}.mdi-lightbulb-cfl-spiral-off:before{content:"๓ฑ‹ƒ"}.mdi-lightbulb-fluorescent-tube:before{content:"๓ฑ „"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"๓ฑ …"}.mdi-lightbulb-group:before{content:"๓ฑ‰“"}.mdi-lightbulb-group-off:before{content:"๓ฑ‹"}.mdi-lightbulb-group-off-outline:before{content:"๓ฑ‹Ž"}.mdi-lightbulb-group-outline:before{content:"๓ฑ‰”"}.mdi-lightbulb-multiple:before{content:"๓ฑ‰•"}.mdi-lightbulb-multiple-off:before{content:"๓ฑ‹"}.mdi-lightbulb-multiple-off-outline:before{content:"๓ฑ‹"}.mdi-lightbulb-multiple-outline:before{content:"๓ฑ‰–"}.mdi-lightbulb-night:before{content:"๓ฑฉŒ"}.mdi-lightbulb-night-outline:before{content:"๓ฑฉ"}.mdi-lightbulb-off:before{content:"๓ฐน"}.mdi-lightbulb-off-outline:before{content:"๓ฐน"}.mdi-lightbulb-on:before{content:"๓ฐ›จ"}.mdi-lightbulb-on-10:before{content:"๓ฑฉŽ"}.mdi-lightbulb-on-20:before{content:"๓ฑฉ"}.mdi-lightbulb-on-30:before{content:"๓ฑฉ"}.mdi-lightbulb-on-40:before{content:"๓ฑฉ‘"}.mdi-lightbulb-on-50:before{content:"๓ฑฉ’"}.mdi-lightbulb-on-60:before{content:"๓ฑฉ“"}.mdi-lightbulb-on-70:before{content:"๓ฑฉ”"}.mdi-lightbulb-on-80:before{content:"๓ฑฉ•"}.mdi-lightbulb-on-90:before{content:"๓ฑฉ–"}.mdi-lightbulb-on-outline:before{content:"๓ฐ›ฉ"}.mdi-lightbulb-outline:before{content:"๓ฐŒถ"}.mdi-lightbulb-question:before{content:"๓ฑงฃ"}.mdi-lightbulb-question-outline:before{content:"๓ฑงค"}.mdi-lightbulb-spot:before{content:"๓ฑŸด"}.mdi-lightbulb-spot-off:before{content:"๓ฑŸต"}.mdi-lightbulb-variant:before{content:"๓ฑ ‚"}.mdi-lightbulb-variant-outline:before{content:"๓ฑ ƒ"}.mdi-lighthouse:before{content:"๓ฐงฟ"}.mdi-lighthouse-on:before{content:"๓ฐจ€"}.mdi-lightning-bolt:before{content:"๓ฑ‹"}.mdi-lightning-bolt-circle:before{content:"๓ฐ  "}.mdi-lightning-bolt-outline:before{content:"๓ฑŒ"}.mdi-line-scan:before{content:"๓ฐ˜ค"}.mdi-lingerie:before{content:"๓ฑ‘ถ"}.mdi-link:before{content:"๓ฐŒท"}.mdi-link-box:before{content:"๓ฐดš"}.mdi-link-box-outline:before{content:"๓ฐด›"}.mdi-link-box-variant:before{content:"๓ฐดœ"}.mdi-link-box-variant-outline:before{content:"๓ฐด"}.mdi-link-lock:before{content:"๓ฑ‚บ"}.mdi-link-off:before{content:"๓ฐŒธ"}.mdi-link-plus:before{content:"๓ฐฒ”"}.mdi-link-variant:before{content:"๓ฐŒน"}.mdi-link-variant-minus:before{content:"๓ฑƒฟ"}.mdi-link-variant-off:before{content:"๓ฐŒบ"}.mdi-link-variant-plus:before{content:"๓ฑ„€"}.mdi-link-variant-remove:before{content:"๓ฑ„"}.mdi-linkedin:before{content:"๓ฐŒป"}.mdi-linux:before{content:"๓ฐŒฝ"}.mdi-linux-mint:before{content:"๓ฐฃญ"}.mdi-lipstick:before{content:"๓ฑŽต"}.mdi-liquid-spot:before{content:"๓ฑ ฆ"}.mdi-liquor:before{content:"๓ฑคž"}.mdi-list-box:before{content:"๓ฑญป"}.mdi-list-box-outline:before{content:"๓ฑญผ"}.mdi-list-status:before{content:"๓ฑ–ซ"}.mdi-litecoin:before{content:"๓ฐฉก"}.mdi-loading:before{content:"๓ฐฒ"}.mdi-location-enter:before{content:"๓ฐฟ„"}.mdi-location-exit:before{content:"๓ฐฟ…"}.mdi-lock:before{content:"๓ฐŒพ"}.mdi-lock-alert:before{content:"๓ฐฃฎ"}.mdi-lock-alert-outline:before{content:"๓ฑ—‘"}.mdi-lock-check:before{content:"๓ฑŽš"}.mdi-lock-check-outline:before{content:"๓ฑšจ"}.mdi-lock-clock:before{content:"๓ฐฅฟ"}.mdi-lock-minus:before{content:"๓ฑšฉ"}.mdi-lock-minus-outline:before{content:"๓ฑšช"}.mdi-lock-off:before{content:"๓ฑ™ฑ"}.mdi-lock-off-outline:before{content:"๓ฑ™ฒ"}.mdi-lock-open:before{content:"๓ฐŒฟ"}.mdi-lock-open-alert:before{content:"๓ฑŽ›"}.mdi-lock-open-alert-outline:before{content:"๓ฑ—’"}.mdi-lock-open-check:before{content:"๓ฑŽœ"}.mdi-lock-open-check-outline:before{content:"๓ฑšซ"}.mdi-lock-open-minus:before{content:"๓ฑšฌ"}.mdi-lock-open-minus-outline:before{content:"๓ฑšญ"}.mdi-lock-open-outline:before{content:"๓ฐ€"}.mdi-lock-open-plus:before{content:"๓ฑšฎ"}.mdi-lock-open-plus-outline:before{content:"๓ฑšฏ"}.mdi-lock-open-remove:before{content:"๓ฑšฐ"}.mdi-lock-open-remove-outline:before{content:"๓ฑšฑ"}.mdi-lock-open-variant:before{content:"๓ฐฟ†"}.mdi-lock-open-variant-outline:before{content:"๓ฐฟ‡"}.mdi-lock-outline:before{content:"๓ฐ"}.mdi-lock-pattern:before{content:"๓ฐ›ช"}.mdi-lock-percent:before{content:"๓ฑฐ’"}.mdi-lock-percent-open:before{content:"๓ฑฐ“"}.mdi-lock-percent-open-outline:before{content:"๓ฑฐ”"}.mdi-lock-percent-open-variant:before{content:"๓ฑฐ•"}.mdi-lock-percent-open-variant-outline:before{content:"๓ฑฐ–"}.mdi-lock-percent-outline:before{content:"๓ฑฐ—"}.mdi-lock-plus:before{content:"๓ฐ—ป"}.mdi-lock-plus-outline:before{content:"๓ฑšฒ"}.mdi-lock-question:before{content:"๓ฐฃฏ"}.mdi-lock-remove:before{content:"๓ฑšณ"}.mdi-lock-remove-outline:before{content:"๓ฑšด"}.mdi-lock-reset:before{content:"๓ฐณ"}.mdi-lock-smart:before{content:"๓ฐขฒ"}.mdi-locker:before{content:"๓ฐŸ—"}.mdi-locker-multiple:before{content:"๓ฐŸ˜"}.mdi-login:before{content:"๓ฐ‚"}.mdi-login-variant:before{content:"๓ฐ—ผ"}.mdi-logout:before{content:"๓ฐƒ"}.mdi-logout-variant:before{content:"๓ฐ—ฝ"}.mdi-longitude:before{content:"๓ฐฝš"}.mdi-looks:before{content:"๓ฐ„"}.mdi-lotion:before{content:"๓ฑ–‚"}.mdi-lotion-outline:before{content:"๓ฑ–ƒ"}.mdi-lotion-plus:before{content:"๓ฑ–„"}.mdi-lotion-plus-outline:before{content:"๓ฑ–…"}.mdi-loupe:before{content:"๓ฐ…"}.mdi-lumx:before{content:"๓ฐ†"}.mdi-lungs:before{content:"๓ฑ‚„"}.mdi-mace:before{content:"๓ฑกƒ"}.mdi-magazine-pistol:before{content:"๓ฐŒค"}.mdi-magazine-rifle:before{content:"๓ฐŒฃ"}.mdi-magic-staff:before{content:"๓ฑก„"}.mdi-magnet:before{content:"๓ฐ‡"}.mdi-magnet-on:before{content:"๓ฐˆ"}.mdi-magnify:before{content:"๓ฐ‰"}.mdi-magnify-close:before{content:"๓ฐฆ€"}.mdi-magnify-expand:before{content:"๓ฑกด"}.mdi-magnify-minus:before{content:"๓ฐŠ"}.mdi-magnify-minus-cursor:before{content:"๓ฐฉข"}.mdi-magnify-minus-outline:before{content:"๓ฐ›ฌ"}.mdi-magnify-plus:before{content:"๓ฐ‹"}.mdi-magnify-plus-cursor:before{content:"๓ฐฉฃ"}.mdi-magnify-plus-outline:before{content:"๓ฐ›ญ"}.mdi-magnify-remove-cursor:before{content:"๓ฑˆŒ"}.mdi-magnify-remove-outline:before{content:"๓ฑˆ"}.mdi-magnify-scan:before{content:"๓ฑ‰ถ"}.mdi-mail:before{content:"๓ฐบป"}.mdi-mailbox:before{content:"๓ฐ›ฎ"}.mdi-mailbox-open:before{content:"๓ฐถˆ"}.mdi-mailbox-open-outline:before{content:"๓ฐถ‰"}.mdi-mailbox-open-up:before{content:"๓ฐถŠ"}.mdi-mailbox-open-up-outline:before{content:"๓ฐถ‹"}.mdi-mailbox-outline:before{content:"๓ฐถŒ"}.mdi-mailbox-up:before{content:"๓ฐถ"}.mdi-mailbox-up-outline:before{content:"๓ฐถŽ"}.mdi-manjaro:before{content:"๓ฑ˜Š"}.mdi-map:before{content:"๓ฐ"}.mdi-map-check:before{content:"๓ฐบผ"}.mdi-map-check-outline:before{content:"๓ฐบฝ"}.mdi-map-clock:before{content:"๓ฐดž"}.mdi-map-clock-outline:before{content:"๓ฐดŸ"}.mdi-map-legend:before{content:"๓ฐจ"}.mdi-map-marker:before{content:"๓ฐŽ"}.mdi-map-marker-account:before{content:"๓ฑฃฃ"}.mdi-map-marker-account-outline:before{content:"๓ฑฃค"}.mdi-map-marker-alert:before{content:"๓ฐผ…"}.mdi-map-marker-alert-outline:before{content:"๓ฐผ†"}.mdi-map-marker-check:before{content:"๓ฐฒ•"}.mdi-map-marker-check-outline:before{content:"๓ฑ‹ป"}.mdi-map-marker-circle:before{content:"๓ฐ"}.mdi-map-marker-distance:before{content:"๓ฐฃฐ"}.mdi-map-marker-down:before{content:"๓ฑ„‚"}.mdi-map-marker-left:before{content:"๓ฑ‹›"}.mdi-map-marker-left-outline:before{content:"๓ฑ‹"}.mdi-map-marker-minus:before{content:"๓ฐ™"}.mdi-map-marker-minus-outline:before{content:"๓ฑ‹น"}.mdi-map-marker-multiple:before{content:"๓ฐ"}.mdi-map-marker-multiple-outline:before{content:"๓ฑ‰ท"}.mdi-map-marker-off:before{content:"๓ฐ‘"}.mdi-map-marker-off-outline:before{content:"๓ฑ‹ฝ"}.mdi-map-marker-outline:before{content:"๓ฐŸ™"}.mdi-map-marker-path:before{content:"๓ฐด "}.mdi-map-marker-plus:before{content:"๓ฐ™‘"}.mdi-map-marker-plus-outline:before{content:"๓ฑ‹ธ"}.mdi-map-marker-question:before{content:"๓ฐผ‡"}.mdi-map-marker-question-outline:before{content:"๓ฐผˆ"}.mdi-map-marker-radius:before{content:"๓ฐ’"}.mdi-map-marker-radius-outline:before{content:"๓ฑ‹ผ"}.mdi-map-marker-remove:before{content:"๓ฐผ‰"}.mdi-map-marker-remove-outline:before{content:"๓ฑ‹บ"}.mdi-map-marker-remove-variant:before{content:"๓ฐผŠ"}.mdi-map-marker-right:before{content:"๓ฑ‹œ"}.mdi-map-marker-right-outline:before{content:"๓ฑ‹ž"}.mdi-map-marker-star:before{content:"๓ฑ˜ˆ"}.mdi-map-marker-star-outline:before{content:"๓ฑ˜‰"}.mdi-map-marker-up:before{content:"๓ฑ„ƒ"}.mdi-map-minus:before{content:"๓ฐฆ"}.mdi-map-outline:before{content:"๓ฐฆ‚"}.mdi-map-plus:before{content:"๓ฐฆƒ"}.mdi-map-search:before{content:"๓ฐฆ„"}.mdi-map-search-outline:before{content:"๓ฐฆ…"}.mdi-mapbox:before{content:"๓ฐฎช"}.mdi-margin:before{content:"๓ฐ“"}.mdi-marker:before{content:"๓ฐ™’"}.mdi-marker-cancel:before{content:"๓ฐท™"}.mdi-marker-check:before{content:"๓ฐ•"}.mdi-mastodon:before{content:"๓ฐซ‘"}.mdi-material-design:before{content:"๓ฐฆ†"}.mdi-material-ui:before{content:"๓ฐ—"}.mdi-math-compass:before{content:"๓ฐ˜"}.mdi-math-cos:before{content:"๓ฐฒ–"}.mdi-math-integral:before{content:"๓ฐฟˆ"}.mdi-math-integral-box:before{content:"๓ฐฟ‰"}.mdi-math-log:before{content:"๓ฑ‚…"}.mdi-math-norm:before{content:"๓ฐฟŠ"}.mdi-math-norm-box:before{content:"๓ฐฟ‹"}.mdi-math-sin:before{content:"๓ฐฒ—"}.mdi-math-tan:before{content:"๓ฐฒ˜"}.mdi-matrix:before{content:"๓ฐ˜จ"}.mdi-medal:before{content:"๓ฐฆ‡"}.mdi-medal-outline:before{content:"๓ฑŒฆ"}.mdi-medical-bag:before{content:"๓ฐ›ฏ"}.mdi-medical-cotton-swab:before{content:"๓ฑชธ"}.mdi-medication:before{content:"๓ฑฌ”"}.mdi-medication-outline:before{content:"๓ฑฌ•"}.mdi-meditation:before{content:"๓ฑ…ป"}.mdi-memory:before{content:"๓ฐ›"}.mdi-menorah:before{content:"๓ฑŸ”"}.mdi-menorah-fire:before{content:"๓ฑŸ•"}.mdi-menu:before{content:"๓ฐœ"}.mdi-menu-down:before{content:"๓ฐ"}.mdi-menu-down-outline:before{content:"๓ฐšถ"}.mdi-menu-left:before{content:"๓ฐž"}.mdi-menu-left-outline:before{content:"๓ฐจ‚"}.mdi-menu-open:before{content:"๓ฐฎซ"}.mdi-menu-right:before{content:"๓ฐŸ"}.mdi-menu-right-outline:before{content:"๓ฐจƒ"}.mdi-menu-swap:before{content:"๓ฐฉค"}.mdi-menu-swap-outline:before{content:"๓ฐฉฅ"}.mdi-menu-up:before{content:"๓ฐ "}.mdi-menu-up-outline:before{content:"๓ฐšท"}.mdi-merge:before{content:"๓ฐฝœ"}.mdi-message:before{content:"๓ฐก"}.mdi-message-alert:before{content:"๓ฐข"}.mdi-message-alert-outline:before{content:"๓ฐจ„"}.mdi-message-arrow-left:before{content:"๓ฑ‹ฒ"}.mdi-message-arrow-left-outline:before{content:"๓ฑ‹ณ"}.mdi-message-arrow-right:before{content:"๓ฑ‹ด"}.mdi-message-arrow-right-outline:before{content:"๓ฑ‹ต"}.mdi-message-badge:before{content:"๓ฑฅ"}.mdi-message-badge-outline:before{content:"๓ฑฅ‚"}.mdi-message-bookmark:before{content:"๓ฑ–ฌ"}.mdi-message-bookmark-outline:before{content:"๓ฑ–ญ"}.mdi-message-bulleted:before{content:"๓ฐšข"}.mdi-message-bulleted-off:before{content:"๓ฐšฃ"}.mdi-message-check:before{content:"๓ฑฎŠ"}.mdi-message-check-outline:before{content:"๓ฑฎ‹"}.mdi-message-cog:before{content:"๓ฐ›ฑ"}.mdi-message-cog-outline:before{content:"๓ฑ…ฒ"}.mdi-message-draw:before{content:"๓ฐฃ"}.mdi-message-fast:before{content:"๓ฑงŒ"}.mdi-message-fast-outline:before{content:"๓ฑง"}.mdi-message-flash:before{content:"๓ฑ–ฉ"}.mdi-message-flash-outline:before{content:"๓ฑ–ช"}.mdi-message-image:before{content:"๓ฐค"}.mdi-message-image-outline:before{content:"๓ฑ…ฌ"}.mdi-message-lock:before{content:"๓ฐฟŒ"}.mdi-message-lock-outline:before{content:"๓ฑ…ญ"}.mdi-message-minus:before{content:"๓ฑ…ฎ"}.mdi-message-minus-outline:before{content:"๓ฑ…ฏ"}.mdi-message-off:before{content:"๓ฑ™"}.mdi-message-off-outline:before{content:"๓ฑ™Ž"}.mdi-message-outline:before{content:"๓ฐฅ"}.mdi-message-plus:before{content:"๓ฐ™“"}.mdi-message-plus-outline:before{content:"๓ฑ‚ป"}.mdi-message-processing:before{content:"๓ฐฆ"}.mdi-message-processing-outline:before{content:"๓ฑ…ฐ"}.mdi-message-question:before{content:"๓ฑœบ"}.mdi-message-question-outline:before{content:"๓ฑœป"}.mdi-message-reply:before{content:"๓ฐง"}.mdi-message-reply-outline:before{content:"๓ฑœฝ"}.mdi-message-reply-text:before{content:"๓ฐจ"}.mdi-message-reply-text-outline:before{content:"๓ฑœพ"}.mdi-message-settings:before{content:"๓ฐ›ฐ"}.mdi-message-settings-outline:before{content:"๓ฑ…ฑ"}.mdi-message-star:before{content:"๓ฐšš"}.mdi-message-star-outline:before{content:"๓ฑ‰"}.mdi-message-text:before{content:"๓ฐฉ"}.mdi-message-text-clock:before{content:"๓ฑ…ณ"}.mdi-message-text-clock-outline:before{content:"๓ฑ…ด"}.mdi-message-text-fast:before{content:"๓ฑงŽ"}.mdi-message-text-fast-outline:before{content:"๓ฑง"}.mdi-message-text-lock:before{content:"๓ฐฟ"}.mdi-message-text-lock-outline:before{content:"๓ฑ…ต"}.mdi-message-text-outline:before{content:"๓ฐช"}.mdi-message-video:before{content:"๓ฐซ"}.mdi-meteor:before{content:"๓ฐ˜ฉ"}.mdi-meter-electric:before{content:"๓ฑฉ—"}.mdi-meter-electric-outline:before{content:"๓ฑฉ˜"}.mdi-meter-gas:before{content:"๓ฑฉ™"}.mdi-meter-gas-outline:before{content:"๓ฑฉš"}.mdi-metronome:before{content:"๓ฐŸš"}.mdi-metronome-tick:before{content:"๓ฐŸ›"}.mdi-micro-sd:before{content:"๓ฐŸœ"}.mdi-microphone:before{content:"๓ฐฌ"}.mdi-microphone-message:before{content:"๓ฐ”Š"}.mdi-microphone-message-off:before{content:"๓ฐ”‹"}.mdi-microphone-minus:before{content:"๓ฐขณ"}.mdi-microphone-off:before{content:"๓ฐญ"}.mdi-microphone-outline:before{content:"๓ฐฎ"}.mdi-microphone-plus:before{content:"๓ฐขด"}.mdi-microphone-question:before{content:"๓ฑฆ‰"}.mdi-microphone-question-outline:before{content:"๓ฑฆŠ"}.mdi-microphone-settings:before{content:"๓ฐฏ"}.mdi-microphone-variant:before{content:"๓ฐฐ"}.mdi-microphone-variant-off:before{content:"๓ฐฑ"}.mdi-microscope:before{content:"๓ฐ™”"}.mdi-microsoft:before{content:"๓ฐฒ"}.mdi-microsoft-access:before{content:"๓ฑŽŽ"}.mdi-microsoft-azure:before{content:"๓ฐ …"}.mdi-microsoft-azure-devops:before{content:"๓ฐฟ•"}.mdi-microsoft-bing:before{content:"๓ฐ‚ค"}.mdi-microsoft-dynamics-365:before{content:"๓ฐฆˆ"}.mdi-microsoft-edge:before{content:"๓ฐ‡ฉ"}.mdi-microsoft-excel:before{content:"๓ฑŽ"}.mdi-microsoft-internet-explorer:before{content:"๓ฐŒ€"}.mdi-microsoft-office:before{content:"๓ฐ†"}.mdi-microsoft-onedrive:before{content:"๓ฐŠ"}.mdi-microsoft-onenote:before{content:"๓ฐ‡"}.mdi-microsoft-outlook:before{content:"๓ฐดข"}.mdi-microsoft-powerpoint:before{content:"๓ฑŽ"}.mdi-microsoft-sharepoint:before{content:"๓ฑŽ‘"}.mdi-microsoft-teams:before{content:"๓ฐŠป"}.mdi-microsoft-visual-studio:before{content:"๓ฐ˜"}.mdi-microsoft-visual-studio-code:before{content:"๓ฐจž"}.mdi-microsoft-windows:before{content:"๓ฐ–ณ"}.mdi-microsoft-windows-classic:before{content:"๓ฐจก"}.mdi-microsoft-word:before{content:"๓ฑŽ’"}.mdi-microsoft-xbox:before{content:"๓ฐ–น"}.mdi-microsoft-xbox-controller:before{content:"๓ฐ–บ"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"๓ฐ‹"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"๓ฐจข"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"๓ฐŒ"}.mdi-microsoft-xbox-controller-battery-full:before{content:"๓ฐ"}.mdi-microsoft-xbox-controller-battery-low:before{content:"๓ฐŽ"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"๓ฐ"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"๓ฐ"}.mdi-microsoft-xbox-controller-menu:before{content:"๓ฐนฏ"}.mdi-microsoft-xbox-controller-off:before{content:"๓ฐ–ป"}.mdi-microsoft-xbox-controller-view:before{content:"๓ฐนฐ"}.mdi-microwave:before{content:"๓ฐฒ™"}.mdi-microwave-off:before{content:"๓ฑฃ"}.mdi-middleware:before{content:"๓ฐฝ"}.mdi-middleware-outline:before{content:"๓ฐฝž"}.mdi-midi:before{content:"๓ฐฃฑ"}.mdi-midi-port:before{content:"๓ฐฃฒ"}.mdi-mine:before{content:"๓ฐทš"}.mdi-minecraft:before{content:"๓ฐณ"}.mdi-mini-sd:before{content:"๓ฐจ…"}.mdi-minidisc:before{content:"๓ฐจ†"}.mdi-minus:before{content:"๓ฐด"}.mdi-minus-box:before{content:"๓ฐต"}.mdi-minus-box-multiple:before{content:"๓ฑ…"}.mdi-minus-box-multiple-outline:before{content:"๓ฑ…‚"}.mdi-minus-box-outline:before{content:"๓ฐ›ฒ"}.mdi-minus-circle:before{content:"๓ฐถ"}.mdi-minus-circle-multiple:before{content:"๓ฐš"}.mdi-minus-circle-multiple-outline:before{content:"๓ฐซ“"}.mdi-minus-circle-off:before{content:"๓ฑ‘™"}.mdi-minus-circle-off-outline:before{content:"๓ฑ‘š"}.mdi-minus-circle-outline:before{content:"๓ฐท"}.mdi-minus-network:before{content:"๓ฐธ"}.mdi-minus-network-outline:before{content:"๓ฐฒš"}.mdi-minus-thick:before{content:"๓ฑ˜น"}.mdi-mirror:before{content:"๓ฑ‡ฝ"}.mdi-mirror-rectangle:before{content:"๓ฑžŸ"}.mdi-mirror-variant:before{content:"๓ฑž "}.mdi-mixed-martial-arts:before{content:"๓ฐถ"}.mdi-mixed-reality:before{content:"๓ฐกฟ"}.mdi-molecule:before{content:"๓ฐฎฌ"}.mdi-molecule-co:before{content:"๓ฑ‹พ"}.mdi-molecule-co2:before{content:"๓ฐŸค"}.mdi-monitor:before{content:"๓ฐน"}.mdi-monitor-account:before{content:"๓ฑฉ›"}.mdi-monitor-arrow-down:before{content:"๓ฑง"}.mdi-monitor-arrow-down-variant:before{content:"๓ฑง‘"}.mdi-monitor-cellphone:before{content:"๓ฐฆ‰"}.mdi-monitor-cellphone-star:before{content:"๓ฐฆŠ"}.mdi-monitor-dashboard:before{content:"๓ฐจ‡"}.mdi-monitor-edit:before{content:"๓ฑ‹†"}.mdi-monitor-eye:before{content:"๓ฑŽด"}.mdi-monitor-lock:before{content:"๓ฐท›"}.mdi-monitor-multiple:before{content:"๓ฐบ"}.mdi-monitor-off:before{content:"๓ฐถ"}.mdi-monitor-screenshot:before{content:"๓ฐน‘"}.mdi-monitor-share:before{content:"๓ฑ’ƒ"}.mdi-monitor-shimmer:before{content:"๓ฑ„„"}.mdi-monitor-small:before{content:"๓ฑกถ"}.mdi-monitor-speaker:before{content:"๓ฐฝŸ"}.mdi-monitor-speaker-off:before{content:"๓ฐฝ "}.mdi-monitor-star:before{content:"๓ฐทœ"}.mdi-monitor-vertical:before{content:"๓ฑฐณ"}.mdi-moon-first-quarter:before{content:"๓ฐฝก"}.mdi-moon-full:before{content:"๓ฐฝข"}.mdi-moon-last-quarter:before{content:"๓ฐฝฃ"}.mdi-moon-new:before{content:"๓ฐฝค"}.mdi-moon-waning-crescent:before{content:"๓ฐฝฅ"}.mdi-moon-waning-gibbous:before{content:"๓ฐฝฆ"}.mdi-moon-waxing-crescent:before{content:"๓ฐฝง"}.mdi-moon-waxing-gibbous:before{content:"๓ฐฝจ"}.mdi-moped:before{content:"๓ฑ‚†"}.mdi-moped-electric:before{content:"๓ฑ–ท"}.mdi-moped-electric-outline:before{content:"๓ฑ–ธ"}.mdi-moped-outline:before{content:"๓ฑ–น"}.mdi-more:before{content:"๓ฐป"}.mdi-mortar-pestle:before{content:"๓ฑˆ"}.mdi-mortar-pestle-plus:before{content:"๓ฐฑ"}.mdi-mosque:before{content:"๓ฐต…"}.mdi-mosque-outline:before{content:"๓ฑ ง"}.mdi-mother-heart:before{content:"๓ฑŒ”"}.mdi-mother-nurse:before{content:"๓ฐดก"}.mdi-motion:before{content:"๓ฑ–ฒ"}.mdi-motion-outline:before{content:"๓ฑ–ณ"}.mdi-motion-pause:before{content:"๓ฑ–"}.mdi-motion-pause-outline:before{content:"๓ฑ–’"}.mdi-motion-play:before{content:"๓ฑ–"}.mdi-motion-play-outline:before{content:"๓ฑ–‘"}.mdi-motion-sensor:before{content:"๓ฐถ‘"}.mdi-motion-sensor-off:before{content:"๓ฑต"}.mdi-motorbike:before{content:"๓ฐผ"}.mdi-motorbike-electric:before{content:"๓ฑ–บ"}.mdi-motorbike-off:before{content:"๓ฑฌ–"}.mdi-mouse:before{content:"๓ฐฝ"}.mdi-mouse-bluetooth:before{content:"๓ฐฆ‹"}.mdi-mouse-move-down:before{content:"๓ฑ•"}.mdi-mouse-move-up:before{content:"๓ฑ•‘"}.mdi-mouse-move-vertical:before{content:"๓ฑ•’"}.mdi-mouse-off:before{content:"๓ฐพ"}.mdi-mouse-variant:before{content:"๓ฐฟ"}.mdi-mouse-variant-off:before{content:"๓ฐŽ€"}.mdi-move-resize:before{content:"๓ฐ™•"}.mdi-move-resize-variant:before{content:"๓ฐ™–"}.mdi-movie:before{content:"๓ฐŽ"}.mdi-movie-check:before{content:"๓ฑ›ณ"}.mdi-movie-check-outline:before{content:"๓ฑ›ด"}.mdi-movie-cog:before{content:"๓ฑ›ต"}.mdi-movie-cog-outline:before{content:"๓ฑ›ถ"}.mdi-movie-edit:before{content:"๓ฑ„ข"}.mdi-movie-edit-outline:before{content:"๓ฑ„ฃ"}.mdi-movie-filter:before{content:"๓ฑ„ค"}.mdi-movie-filter-outline:before{content:"๓ฑ„ฅ"}.mdi-movie-minus:before{content:"๓ฑ›ท"}.mdi-movie-minus-outline:before{content:"๓ฑ›ธ"}.mdi-movie-off:before{content:"๓ฑ›น"}.mdi-movie-off-outline:before{content:"๓ฑ›บ"}.mdi-movie-open:before{content:"๓ฐฟŽ"}.mdi-movie-open-check:before{content:"๓ฑ›ป"}.mdi-movie-open-check-outline:before{content:"๓ฑ›ผ"}.mdi-movie-open-cog:before{content:"๓ฑ›ฝ"}.mdi-movie-open-cog-outline:before{content:"๓ฑ›พ"}.mdi-movie-open-edit:before{content:"๓ฑ›ฟ"}.mdi-movie-open-edit-outline:before{content:"๓ฑœ€"}.mdi-movie-open-minus:before{content:"๓ฑœ"}.mdi-movie-open-minus-outline:before{content:"๓ฑœ‚"}.mdi-movie-open-off:before{content:"๓ฑœƒ"}.mdi-movie-open-off-outline:before{content:"๓ฑœ„"}.mdi-movie-open-outline:before{content:"๓ฐฟ"}.mdi-movie-open-play:before{content:"๓ฑœ…"}.mdi-movie-open-play-outline:before{content:"๓ฑœ†"}.mdi-movie-open-plus:before{content:"๓ฑœ‡"}.mdi-movie-open-plus-outline:before{content:"๓ฑœˆ"}.mdi-movie-open-remove:before{content:"๓ฑœ‰"}.mdi-movie-open-remove-outline:before{content:"๓ฑœŠ"}.mdi-movie-open-settings:before{content:"๓ฑœ‹"}.mdi-movie-open-settings-outline:before{content:"๓ฑœŒ"}.mdi-movie-open-star:before{content:"๓ฑœ"}.mdi-movie-open-star-outline:before{content:"๓ฑœŽ"}.mdi-movie-outline:before{content:"๓ฐท"}.mdi-movie-play:before{content:"๓ฑœ"}.mdi-movie-play-outline:before{content:"๓ฑœ"}.mdi-movie-plus:before{content:"๓ฑœ‘"}.mdi-movie-plus-outline:before{content:"๓ฑœ’"}.mdi-movie-remove:before{content:"๓ฑœ“"}.mdi-movie-remove-outline:before{content:"๓ฑœ”"}.mdi-movie-roll:before{content:"๓ฐŸž"}.mdi-movie-search:before{content:"๓ฑ‡’"}.mdi-movie-search-outline:before{content:"๓ฑ‡“"}.mdi-movie-settings:before{content:"๓ฑœ•"}.mdi-movie-settings-outline:before{content:"๓ฑœ–"}.mdi-movie-star:before{content:"๓ฑœ—"}.mdi-movie-star-outline:before{content:"๓ฑœ˜"}.mdi-mower:before{content:"๓ฑ™ฏ"}.mdi-mower-bag:before{content:"๓ฑ™ฐ"}.mdi-mower-bag-on:before{content:"๓ฑญ "}.mdi-mower-on:before{content:"๓ฑญŸ"}.mdi-muffin:before{content:"๓ฐฆŒ"}.mdi-multicast:before{content:"๓ฑข“"}.mdi-multimedia:before{content:"๓ฑฎ—"}.mdi-multiplication:before{content:"๓ฐŽ‚"}.mdi-multiplication-box:before{content:"๓ฐŽƒ"}.mdi-mushroom:before{content:"๓ฐŸŸ"}.mdi-mushroom-off:before{content:"๓ฑบ"}.mdi-mushroom-off-outline:before{content:"๓ฑป"}.mdi-mushroom-outline:before{content:"๓ฐŸ "}.mdi-music:before{content:"๓ฐš"}.mdi-music-accidental-double-flat:before{content:"๓ฐฝฉ"}.mdi-music-accidental-double-sharp:before{content:"๓ฐฝช"}.mdi-music-accidental-flat:before{content:"๓ฐฝซ"}.mdi-music-accidental-natural:before{content:"๓ฐฝฌ"}.mdi-music-accidental-sharp:before{content:"๓ฐฝญ"}.mdi-music-box:before{content:"๓ฐŽ„"}.mdi-music-box-multiple:before{content:"๓ฐŒณ"}.mdi-music-box-multiple-outline:before{content:"๓ฐผ„"}.mdi-music-box-outline:before{content:"๓ฐŽ…"}.mdi-music-circle:before{content:"๓ฐŽ†"}.mdi-music-circle-outline:before{content:"๓ฐซ”"}.mdi-music-clef-alto:before{content:"๓ฐฝฎ"}.mdi-music-clef-bass:before{content:"๓ฐฝฏ"}.mdi-music-clef-treble:before{content:"๓ฐฝฐ"}.mdi-music-note:before{content:"๓ฐŽ‡"}.mdi-music-note-bluetooth:before{content:"๓ฐ—พ"}.mdi-music-note-bluetooth-off:before{content:"๓ฐ—ฟ"}.mdi-music-note-eighth:before{content:"๓ฐŽˆ"}.mdi-music-note-eighth-dotted:before{content:"๓ฐฝฑ"}.mdi-music-note-half:before{content:"๓ฐŽ‰"}.mdi-music-note-half-dotted:before{content:"๓ฐฝฒ"}.mdi-music-note-minus:before{content:"๓ฑฎ‰"}.mdi-music-note-off:before{content:"๓ฐŽŠ"}.mdi-music-note-off-outline:before{content:"๓ฐฝณ"}.mdi-music-note-outline:before{content:"๓ฐฝด"}.mdi-music-note-plus:before{content:"๓ฐทž"}.mdi-music-note-quarter:before{content:"๓ฐŽ‹"}.mdi-music-note-quarter-dotted:before{content:"๓ฐฝต"}.mdi-music-note-sixteenth:before{content:"๓ฐŽŒ"}.mdi-music-note-sixteenth-dotted:before{content:"๓ฐฝถ"}.mdi-music-note-whole:before{content:"๓ฐŽ"}.mdi-music-note-whole-dotted:before{content:"๓ฐฝท"}.mdi-music-off:before{content:"๓ฐ›"}.mdi-music-rest-eighth:before{content:"๓ฐฝธ"}.mdi-music-rest-half:before{content:"๓ฐฝน"}.mdi-music-rest-quarter:before{content:"๓ฐฝบ"}.mdi-music-rest-sixteenth:before{content:"๓ฐฝป"}.mdi-music-rest-whole:before{content:"๓ฐฝผ"}.mdi-mustache:before{content:"๓ฑ—ž"}.mdi-nail:before{content:"๓ฐทŸ"}.mdi-nas:before{content:"๓ฐฃณ"}.mdi-nativescript:before{content:"๓ฐข€"}.mdi-nature:before{content:"๓ฐŽŽ"}.mdi-nature-outline:before{content:"๓ฑฑฑ"}.mdi-nature-people:before{content:"๓ฐŽ"}.mdi-nature-people-outline:before{content:"๓ฑฑฒ"}.mdi-navigation:before{content:"๓ฐŽ"}.mdi-navigation-outline:before{content:"๓ฑ˜‡"}.mdi-navigation-variant:before{content:"๓ฑฃฐ"}.mdi-navigation-variant-outline:before{content:"๓ฑฃฑ"}.mdi-near-me:before{content:"๓ฐ—"}.mdi-necklace:before{content:"๓ฐผ‹"}.mdi-needle:before{content:"๓ฐŽ‘"}.mdi-needle-off:before{content:"๓ฑง’"}.mdi-netflix:before{content:"๓ฐ†"}.mdi-network:before{content:"๓ฐ›ณ"}.mdi-network-off:before{content:"๓ฐฒ›"}.mdi-network-off-outline:before{content:"๓ฐฒœ"}.mdi-network-outline:before{content:"๓ฐฒ"}.mdi-network-pos:before{content:"๓ฑซ‹"}.mdi-network-strength-1:before{content:"๓ฐฃด"}.mdi-network-strength-1-alert:before{content:"๓ฐฃต"}.mdi-network-strength-2:before{content:"๓ฐฃถ"}.mdi-network-strength-2-alert:before{content:"๓ฐฃท"}.mdi-network-strength-3:before{content:"๓ฐฃธ"}.mdi-network-strength-3-alert:before{content:"๓ฐฃน"}.mdi-network-strength-4:before{content:"๓ฐฃบ"}.mdi-network-strength-4-alert:before{content:"๓ฐฃป"}.mdi-network-strength-4-cog:before{content:"๓ฑคš"}.mdi-network-strength-off:before{content:"๓ฐฃผ"}.mdi-network-strength-off-outline:before{content:"๓ฐฃฝ"}.mdi-network-strength-outline:before{content:"๓ฐฃพ"}.mdi-new-box:before{content:"๓ฐŽ”"}.mdi-newspaper:before{content:"๓ฐŽ•"}.mdi-newspaper-check:before{content:"๓ฑฅƒ"}.mdi-newspaper-minus:before{content:"๓ฐผŒ"}.mdi-newspaper-plus:before{content:"๓ฐผ"}.mdi-newspaper-remove:before{content:"๓ฑฅ„"}.mdi-newspaper-variant:before{content:"๓ฑ€"}.mdi-newspaper-variant-multiple:before{content:"๓ฑ€‚"}.mdi-newspaper-variant-multiple-outline:before{content:"๓ฑ€ƒ"}.mdi-newspaper-variant-outline:before{content:"๓ฑ€„"}.mdi-nfc:before{content:"๓ฐŽ–"}.mdi-nfc-search-variant:before{content:"๓ฐน“"}.mdi-nfc-tap:before{content:"๓ฐŽ—"}.mdi-nfc-variant:before{content:"๓ฐŽ˜"}.mdi-nfc-variant-off:before{content:"๓ฐน”"}.mdi-ninja:before{content:"๓ฐด"}.mdi-nintendo-game-boy:before{content:"๓ฑŽ“"}.mdi-nintendo-switch:before{content:"๓ฐŸก"}.mdi-nintendo-wii:before{content:"๓ฐ–ซ"}.mdi-nintendo-wiiu:before{content:"๓ฐœญ"}.mdi-nix:before{content:"๓ฑ„…"}.mdi-nodejs:before{content:"๓ฐŽ™"}.mdi-noodles:before{content:"๓ฑ…พ"}.mdi-not-equal:before{content:"๓ฐฆ"}.mdi-not-equal-variant:before{content:"๓ฐฆŽ"}.mdi-note:before{content:"๓ฐŽš"}.mdi-note-alert:before{content:"๓ฑฝ"}.mdi-note-alert-outline:before{content:"๓ฑพ"}.mdi-note-check:before{content:"๓ฑฟ"}.mdi-note-check-outline:before{content:"๓ฑž€"}.mdi-note-edit:before{content:"๓ฑž"}.mdi-note-edit-outline:before{content:"๓ฑž‚"}.mdi-note-minus:before{content:"๓ฑ™"}.mdi-note-minus-outline:before{content:"๓ฑ™"}.mdi-note-multiple:before{content:"๓ฐšธ"}.mdi-note-multiple-outline:before{content:"๓ฐšน"}.mdi-note-off:before{content:"๓ฑžƒ"}.mdi-note-off-outline:before{content:"๓ฑž„"}.mdi-note-outline:before{content:"๓ฐŽ›"}.mdi-note-plus:before{content:"๓ฐŽœ"}.mdi-note-plus-outline:before{content:"๓ฐŽ"}.mdi-note-remove:before{content:"๓ฑ™‘"}.mdi-note-remove-outline:before{content:"๓ฑ™’"}.mdi-note-search:before{content:"๓ฑ™“"}.mdi-note-search-outline:before{content:"๓ฑ™”"}.mdi-note-text:before{content:"๓ฐŽž"}.mdi-note-text-outline:before{content:"๓ฑ‡—"}.mdi-notebook:before{content:"๓ฐ ฎ"}.mdi-notebook-check:before{content:"๓ฑ“ต"}.mdi-notebook-check-outline:before{content:"๓ฑ“ถ"}.mdi-notebook-edit:before{content:"๓ฑ“ง"}.mdi-notebook-edit-outline:before{content:"๓ฑ“ฉ"}.mdi-notebook-heart:before{content:"๓ฑจ‹"}.mdi-notebook-heart-outline:before{content:"๓ฑจŒ"}.mdi-notebook-minus:before{content:"๓ฑ˜"}.mdi-notebook-minus-outline:before{content:"๓ฑ˜‘"}.mdi-notebook-multiple:before{content:"๓ฐน•"}.mdi-notebook-outline:before{content:"๓ฐบฟ"}.mdi-notebook-plus:before{content:"๓ฑ˜’"}.mdi-notebook-plus-outline:before{content:"๓ฑ˜“"}.mdi-notebook-remove:before{content:"๓ฑ˜”"}.mdi-notebook-remove-outline:before{content:"๓ฑ˜•"}.mdi-notification-clear-all:before{content:"๓ฐŽŸ"}.mdi-npm:before{content:"๓ฐ›ท"}.mdi-nuke:before{content:"๓ฐšค"}.mdi-null:before{content:"๓ฐŸข"}.mdi-numeric:before{content:"๓ฐŽ "}.mdi-numeric-0:before{content:"๓ฐฌน"}.mdi-numeric-0-box:before{content:"๓ฐŽก"}.mdi-numeric-0-box-multiple:before{content:"๓ฐผŽ"}.mdi-numeric-0-box-multiple-outline:before{content:"๓ฐŽข"}.mdi-numeric-0-box-outline:before{content:"๓ฐŽฃ"}.mdi-numeric-0-circle:before{content:"๓ฐฒž"}.mdi-numeric-0-circle-outline:before{content:"๓ฐฒŸ"}.mdi-numeric-1:before{content:"๓ฐฌบ"}.mdi-numeric-1-box:before{content:"๓ฐŽค"}.mdi-numeric-1-box-multiple:before{content:"๓ฐผ"}.mdi-numeric-1-box-multiple-outline:before{content:"๓ฐŽฅ"}.mdi-numeric-1-box-outline:before{content:"๓ฐŽฆ"}.mdi-numeric-1-circle:before{content:"๓ฐฒ "}.mdi-numeric-1-circle-outline:before{content:"๓ฐฒก"}.mdi-numeric-10:before{content:"๓ฐฟฉ"}.mdi-numeric-10-box:before{content:"๓ฐฝฝ"}.mdi-numeric-10-box-multiple:before{content:"๓ฐฟช"}.mdi-numeric-10-box-multiple-outline:before{content:"๓ฐฟซ"}.mdi-numeric-10-box-outline:before{content:"๓ฐฝพ"}.mdi-numeric-10-circle:before{content:"๓ฐฟฌ"}.mdi-numeric-10-circle-outline:before{content:"๓ฐฟญ"}.mdi-numeric-2:before{content:"๓ฐฌป"}.mdi-numeric-2-box:before{content:"๓ฐŽง"}.mdi-numeric-2-box-multiple:before{content:"๓ฐผ"}.mdi-numeric-2-box-multiple-outline:before{content:"๓ฐŽจ"}.mdi-numeric-2-box-outline:before{content:"๓ฐŽฉ"}.mdi-numeric-2-circle:before{content:"๓ฐฒข"}.mdi-numeric-2-circle-outline:before{content:"๓ฐฒฃ"}.mdi-numeric-3:before{content:"๓ฐฌผ"}.mdi-numeric-3-box:before{content:"๓ฐŽช"}.mdi-numeric-3-box-multiple:before{content:"๓ฐผ‘"}.mdi-numeric-3-box-multiple-outline:before{content:"๓ฐŽซ"}.mdi-numeric-3-box-outline:before{content:"๓ฐŽฌ"}.mdi-numeric-3-circle:before{content:"๓ฐฒค"}.mdi-numeric-3-circle-outline:before{content:"๓ฐฒฅ"}.mdi-numeric-4:before{content:"๓ฐฌฝ"}.mdi-numeric-4-box:before{content:"๓ฐŽญ"}.mdi-numeric-4-box-multiple:before{content:"๓ฐผ’"}.mdi-numeric-4-box-multiple-outline:before{content:"๓ฐŽฒ"}.mdi-numeric-4-box-outline:before{content:"๓ฐŽฎ"}.mdi-numeric-4-circle:before{content:"๓ฐฒฆ"}.mdi-numeric-4-circle-outline:before{content:"๓ฐฒง"}.mdi-numeric-5:before{content:"๓ฐฌพ"}.mdi-numeric-5-box:before{content:"๓ฐŽฑ"}.mdi-numeric-5-box-multiple:before{content:"๓ฐผ“"}.mdi-numeric-5-box-multiple-outline:before{content:"๓ฐŽฏ"}.mdi-numeric-5-box-outline:before{content:"๓ฐŽฐ"}.mdi-numeric-5-circle:before{content:"๓ฐฒจ"}.mdi-numeric-5-circle-outline:before{content:"๓ฐฒฉ"}.mdi-numeric-6:before{content:"๓ฐฌฟ"}.mdi-numeric-6-box:before{content:"๓ฐŽณ"}.mdi-numeric-6-box-multiple:before{content:"๓ฐผ”"}.mdi-numeric-6-box-multiple-outline:before{content:"๓ฐŽด"}.mdi-numeric-6-box-outline:before{content:"๓ฐŽต"}.mdi-numeric-6-circle:before{content:"๓ฐฒช"}.mdi-numeric-6-circle-outline:before{content:"๓ฐฒซ"}.mdi-numeric-7:before{content:"๓ฐญ€"}.mdi-numeric-7-box:before{content:"๓ฐŽถ"}.mdi-numeric-7-box-multiple:before{content:"๓ฐผ•"}.mdi-numeric-7-box-multiple-outline:before{content:"๓ฐŽท"}.mdi-numeric-7-box-outline:before{content:"๓ฐŽธ"}.mdi-numeric-7-circle:before{content:"๓ฐฒฌ"}.mdi-numeric-7-circle-outline:before{content:"๓ฐฒญ"}.mdi-numeric-8:before{content:"๓ฐญ"}.mdi-numeric-8-box:before{content:"๓ฐŽน"}.mdi-numeric-8-box-multiple:before{content:"๓ฐผ–"}.mdi-numeric-8-box-multiple-outline:before{content:"๓ฐŽบ"}.mdi-numeric-8-box-outline:before{content:"๓ฐŽป"}.mdi-numeric-8-circle:before{content:"๓ฐฒฎ"}.mdi-numeric-8-circle-outline:before{content:"๓ฐฒฏ"}.mdi-numeric-9:before{content:"๓ฐญ‚"}.mdi-numeric-9-box:before{content:"๓ฐŽผ"}.mdi-numeric-9-box-multiple:before{content:"๓ฐผ—"}.mdi-numeric-9-box-multiple-outline:before{content:"๓ฐŽฝ"}.mdi-numeric-9-box-outline:before{content:"๓ฐŽพ"}.mdi-numeric-9-circle:before{content:"๓ฐฒฐ"}.mdi-numeric-9-circle-outline:before{content:"๓ฐฒฑ"}.mdi-numeric-9-plus:before{content:"๓ฐฟฎ"}.mdi-numeric-9-plus-box:before{content:"๓ฐŽฟ"}.mdi-numeric-9-plus-box-multiple:before{content:"๓ฐผ˜"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"๓ฐ€"}.mdi-numeric-9-plus-box-outline:before{content:"๓ฐ"}.mdi-numeric-9-plus-circle:before{content:"๓ฐฒฒ"}.mdi-numeric-9-plus-circle-outline:before{content:"๓ฐฒณ"}.mdi-numeric-negative-1:before{content:"๓ฑ’"}.mdi-numeric-off:before{content:"๓ฑง“"}.mdi-numeric-positive-1:before{content:"๓ฑ—‹"}.mdi-nut:before{content:"๓ฐ›ธ"}.mdi-nutrition:before{content:"๓ฐ‚"}.mdi-nuxt:before{content:"๓ฑ„†"}.mdi-oar:before{content:"๓ฐ™ผ"}.mdi-ocarina:before{content:"๓ฐท "}.mdi-oci:before{content:"๓ฑ‹ฉ"}.mdi-ocr:before{content:"๓ฑ„บ"}.mdi-octagon:before{content:"๓ฐƒ"}.mdi-octagon-outline:before{content:"๓ฐ„"}.mdi-octagram:before{content:"๓ฐ›น"}.mdi-octagram-edit:before{content:"๓ฑฐด"}.mdi-octagram-edit-outline:before{content:"๓ฑฐต"}.mdi-octagram-minus:before{content:"๓ฑฐถ"}.mdi-octagram-minus-outline:before{content:"๓ฑฐท"}.mdi-octagram-outline:before{content:"๓ฐต"}.mdi-octagram-plus:before{content:"๓ฑฐธ"}.mdi-octagram-plus-outline:before{content:"๓ฑฐน"}.mdi-octahedron:before{content:"๓ฑฅ"}.mdi-octahedron-off:before{content:"๓ฑฅ‘"}.mdi-odnoklassniki:before{content:"๓ฐ…"}.mdi-offer:before{content:"๓ฑˆ›"}.mdi-office-building:before{content:"๓ฐฆ‘"}.mdi-office-building-cog:before{content:"๓ฑฅ‰"}.mdi-office-building-cog-outline:before{content:"๓ฑฅŠ"}.mdi-office-building-marker:before{content:"๓ฑ” "}.mdi-office-building-marker-outline:before{content:"๓ฑ”ก"}.mdi-office-building-minus:before{content:"๓ฑฎช"}.mdi-office-building-minus-outline:before{content:"๓ฑฎซ"}.mdi-office-building-outline:before{content:"๓ฑ”Ÿ"}.mdi-office-building-plus:before{content:"๓ฑฎจ"}.mdi-office-building-plus-outline:before{content:"๓ฑฎฉ"}.mdi-office-building-remove:before{content:"๓ฑฎฌ"}.mdi-office-building-remove-outline:before{content:"๓ฑฎญ"}.mdi-oil:before{content:"๓ฐ‡"}.mdi-oil-lamp:before{content:"๓ฐผ™"}.mdi-oil-level:before{content:"๓ฑ“"}.mdi-oil-temperature:before{content:"๓ฐฟธ"}.mdi-om:before{content:"๓ฐฅณ"}.mdi-omega:before{content:"๓ฐ‰"}.mdi-one-up:before{content:"๓ฐฎญ"}.mdi-onepassword:before{content:"๓ฐข"}.mdi-opacity:before{content:"๓ฐ—Œ"}.mdi-open-in-app:before{content:"๓ฐ‹"}.mdi-open-in-new:before{content:"๓ฐŒ"}.mdi-open-source-initiative:before{content:"๓ฐฎฎ"}.mdi-openid:before{content:"๓ฐ"}.mdi-opera:before{content:"๓ฐŽ"}.mdi-orbit:before{content:"๓ฐ€˜"}.mdi-orbit-variant:before{content:"๓ฑ—›"}.mdi-order-alphabetical-ascending:before{content:"๓ฐˆ"}.mdi-order-alphabetical-descending:before{content:"๓ฐด‡"}.mdi-order-bool-ascending:before{content:"๓ฐŠพ"}.mdi-order-bool-ascending-variant:before{content:"๓ฐฆ"}.mdi-order-bool-descending:before{content:"๓ฑŽ„"}.mdi-order-bool-descending-variant:before{content:"๓ฐฆ"}.mdi-order-numeric-ascending:before{content:"๓ฐ•…"}.mdi-order-numeric-descending:before{content:"๓ฐ•†"}.mdi-origin:before{content:"๓ฐญƒ"}.mdi-ornament:before{content:"๓ฐ"}.mdi-ornament-variant:before{content:"๓ฐ"}.mdi-outdoor-lamp:before{content:"๓ฑ”"}.mdi-overscan:before{content:"๓ฑ€…"}.mdi-owl:before{content:"๓ฐ’"}.mdi-pac-man:before{content:"๓ฐฎฏ"}.mdi-package:before{content:"๓ฐ“"}.mdi-package-check:before{content:"๓ฑญ‘"}.mdi-package-down:before{content:"๓ฐ”"}.mdi-package-up:before{content:"๓ฐ•"}.mdi-package-variant:before{content:"๓ฐ–"}.mdi-package-variant-closed:before{content:"๓ฐ—"}.mdi-package-variant-closed-check:before{content:"๓ฑญ’"}.mdi-package-variant-closed-minus:before{content:"๓ฑง”"}.mdi-package-variant-closed-plus:before{content:"๓ฑง•"}.mdi-package-variant-closed-remove:before{content:"๓ฑง–"}.mdi-package-variant-minus:before{content:"๓ฑง—"}.mdi-package-variant-plus:before{content:"๓ฑง˜"}.mdi-package-variant-remove:before{content:"๓ฑง™"}.mdi-page-first:before{content:"๓ฐ˜€"}.mdi-page-last:before{content:"๓ฐ˜"}.mdi-page-layout-body:before{content:"๓ฐ›บ"}.mdi-page-layout-footer:before{content:"๓ฐ›ป"}.mdi-page-layout-header:before{content:"๓ฐ›ผ"}.mdi-page-layout-header-footer:before{content:"๓ฐฝฟ"}.mdi-page-layout-sidebar-left:before{content:"๓ฐ›ฝ"}.mdi-page-layout-sidebar-right:before{content:"๓ฐ›พ"}.mdi-page-next:before{content:"๓ฐฎฐ"}.mdi-page-next-outline:before{content:"๓ฐฎฑ"}.mdi-page-previous:before{content:"๓ฐฎฒ"}.mdi-page-previous-outline:before{content:"๓ฐฎณ"}.mdi-pail:before{content:"๓ฑ—"}.mdi-pail-minus:before{content:"๓ฑท"}.mdi-pail-minus-outline:before{content:"๓ฑผ"}.mdi-pail-off:before{content:"๓ฑน"}.mdi-pail-off-outline:before{content:"๓ฑพ"}.mdi-pail-outline:before{content:"๓ฑบ"}.mdi-pail-plus:before{content:"๓ฑถ"}.mdi-pail-plus-outline:before{content:"๓ฑป"}.mdi-pail-remove:before{content:"๓ฑธ"}.mdi-pail-remove-outline:before{content:"๓ฑฝ"}.mdi-palette:before{content:"๓ฐ˜"}.mdi-palette-advanced:before{content:"๓ฐ™"}.mdi-palette-outline:before{content:"๓ฐธŒ"}.mdi-palette-swatch:before{content:"๓ฐขต"}.mdi-palette-swatch-outline:before{content:"๓ฑœ"}.mdi-palette-swatch-variant:before{content:"๓ฑฅš"}.mdi-palm-tree:before{content:"๓ฑ•"}.mdi-pan:before{content:"๓ฐฎด"}.mdi-pan-bottom-left:before{content:"๓ฐฎต"}.mdi-pan-bottom-right:before{content:"๓ฐฎถ"}.mdi-pan-down:before{content:"๓ฐฎท"}.mdi-pan-horizontal:before{content:"๓ฐฎธ"}.mdi-pan-left:before{content:"๓ฐฎน"}.mdi-pan-right:before{content:"๓ฐฎบ"}.mdi-pan-top-left:before{content:"๓ฐฎป"}.mdi-pan-top-right:before{content:"๓ฐฎผ"}.mdi-pan-up:before{content:"๓ฐฎฝ"}.mdi-pan-vertical:before{content:"๓ฐฎพ"}.mdi-panda:before{content:"๓ฐš"}.mdi-pandora:before{content:"๓ฐ›"}.mdi-panorama:before{content:"๓ฐœ"}.mdi-panorama-fisheye:before{content:"๓ฐ"}.mdi-panorama-horizontal:before{content:"๓ฑคจ"}.mdi-panorama-horizontal-outline:before{content:"๓ฐž"}.mdi-panorama-outline:before{content:"๓ฑฆŒ"}.mdi-panorama-sphere:before{content:"๓ฑฆ"}.mdi-panorama-sphere-outline:before{content:"๓ฑฆŽ"}.mdi-panorama-variant:before{content:"๓ฑฆ"}.mdi-panorama-variant-outline:before{content:"๓ฑฆ"}.mdi-panorama-vertical:before{content:"๓ฑคฉ"}.mdi-panorama-vertical-outline:before{content:"๓ฐŸ"}.mdi-panorama-wide-angle:before{content:"๓ฑฅŸ"}.mdi-panorama-wide-angle-outline:before{content:"๓ฐ "}.mdi-paper-cut-vertical:before{content:"๓ฐก"}.mdi-paper-roll:before{content:"๓ฑ…—"}.mdi-paper-roll-outline:before{content:"๓ฑ…˜"}.mdi-paperclip:before{content:"๓ฐข"}.mdi-paperclip-check:before{content:"๓ฑซ†"}.mdi-paperclip-lock:before{content:"๓ฑงš"}.mdi-paperclip-minus:before{content:"๓ฑซ‡"}.mdi-paperclip-off:before{content:"๓ฑซˆ"}.mdi-paperclip-plus:before{content:"๓ฑซ‰"}.mdi-paperclip-remove:before{content:"๓ฑซŠ"}.mdi-parachute:before{content:"๓ฐฒด"}.mdi-parachute-outline:before{content:"๓ฐฒต"}.mdi-paragliding:before{content:"๓ฑ…"}.mdi-parking:before{content:"๓ฐฃ"}.mdi-party-popper:before{content:"๓ฑ–"}.mdi-passport:before{content:"๓ฐŸฃ"}.mdi-passport-biometric:before{content:"๓ฐทก"}.mdi-pasta:before{content:"๓ฑ… "}.mdi-patio-heater:before{content:"๓ฐพ€"}.mdi-patreon:before{content:"๓ฐข‚"}.mdi-pause:before{content:"๓ฐค"}.mdi-pause-box:before{content:"๓ฐ‚ผ"}.mdi-pause-box-outline:before{content:"๓ฑญบ"}.mdi-pause-circle:before{content:"๓ฐฅ"}.mdi-pause-circle-outline:before{content:"๓ฐฆ"}.mdi-pause-octagon:before{content:"๓ฐง"}.mdi-pause-octagon-outline:before{content:"๓ฐจ"}.mdi-paw:before{content:"๓ฐฉ"}.mdi-paw-off:before{content:"๓ฐ™—"}.mdi-paw-off-outline:before{content:"๓ฑ™ถ"}.mdi-paw-outline:before{content:"๓ฑ™ต"}.mdi-peace:before{content:"๓ฐข„"}.mdi-peanut:before{content:"๓ฐฟผ"}.mdi-peanut-off:before{content:"๓ฐฟฝ"}.mdi-peanut-off-outline:before{content:"๓ฐฟฟ"}.mdi-peanut-outline:before{content:"๓ฐฟพ"}.mdi-pen:before{content:"๓ฐช"}.mdi-pen-lock:before{content:"๓ฐทข"}.mdi-pen-minus:before{content:"๓ฐทฃ"}.mdi-pen-off:before{content:"๓ฐทค"}.mdi-pen-plus:before{content:"๓ฐทฅ"}.mdi-pen-remove:before{content:"๓ฐทฆ"}.mdi-pencil:before{content:"๓ฐซ"}.mdi-pencil-box:before{content:"๓ฐฌ"}.mdi-pencil-box-multiple:before{content:"๓ฑ…„"}.mdi-pencil-box-multiple-outline:before{content:"๓ฑ……"}.mdi-pencil-box-outline:before{content:"๓ฐญ"}.mdi-pencil-circle:before{content:"๓ฐ›ฟ"}.mdi-pencil-circle-outline:before{content:"๓ฐถ"}.mdi-pencil-lock:before{content:"๓ฐฎ"}.mdi-pencil-lock-outline:before{content:"๓ฐทง"}.mdi-pencil-minus:before{content:"๓ฐทจ"}.mdi-pencil-minus-outline:before{content:"๓ฐทฉ"}.mdi-pencil-off:before{content:"๓ฐฏ"}.mdi-pencil-off-outline:before{content:"๓ฐทช"}.mdi-pencil-outline:before{content:"๓ฐฒถ"}.mdi-pencil-plus:before{content:"๓ฐทซ"}.mdi-pencil-plus-outline:before{content:"๓ฐทฌ"}.mdi-pencil-remove:before{content:"๓ฐทญ"}.mdi-pencil-remove-outline:before{content:"๓ฐทฎ"}.mdi-pencil-ruler:before{content:"๓ฑ“"}.mdi-pencil-ruler-outline:before{content:"๓ฑฐ‘"}.mdi-penguin:before{content:"๓ฐป€"}.mdi-pentagon:before{content:"๓ฐœ"}.mdi-pentagon-outline:before{content:"๓ฐœ€"}.mdi-pentagram:before{content:"๓ฑ™ง"}.mdi-percent:before{content:"๓ฐฐ"}.mdi-percent-box:before{content:"๓ฑจ‚"}.mdi-percent-box-outline:before{content:"๓ฑจƒ"}.mdi-percent-circle:before{content:"๓ฑจ„"}.mdi-percent-circle-outline:before{content:"๓ฑจ…"}.mdi-percent-outline:before{content:"๓ฑ‰ธ"}.mdi-periodic-table:before{content:"๓ฐขถ"}.mdi-perspective-less:before{content:"๓ฐดฃ"}.mdi-perspective-more:before{content:"๓ฐดค"}.mdi-ph:before{content:"๓ฑŸ…"}.mdi-phone:before{content:"๓ฐฒ"}.mdi-phone-alert:before{content:"๓ฐผš"}.mdi-phone-alert-outline:before{content:"๓ฑ†Ž"}.mdi-phone-bluetooth:before{content:"๓ฐณ"}.mdi-phone-bluetooth-outline:before{content:"๓ฑ†"}.mdi-phone-cancel:before{content:"๓ฑ‚ผ"}.mdi-phone-cancel-outline:before{content:"๓ฑ†"}.mdi-phone-check:before{content:"๓ฑ†ฉ"}.mdi-phone-check-outline:before{content:"๓ฑ†ช"}.mdi-phone-classic:before{content:"๓ฐ˜‚"}.mdi-phone-classic-off:before{content:"๓ฑ‰น"}.mdi-phone-clock:before{content:"๓ฑง›"}.mdi-phone-dial:before{content:"๓ฑ•™"}.mdi-phone-dial-outline:before{content:"๓ฑ•š"}.mdi-phone-forward:before{content:"๓ฐด"}.mdi-phone-forward-outline:before{content:"๓ฑ†‘"}.mdi-phone-hangup:before{content:"๓ฐต"}.mdi-phone-hangup-outline:before{content:"๓ฑ†’"}.mdi-phone-in-talk:before{content:"๓ฐถ"}.mdi-phone-in-talk-outline:before{content:"๓ฑ†‚"}.mdi-phone-incoming:before{content:"๓ฐท"}.mdi-phone-incoming-outgoing:before{content:"๓ฑฌฟ"}.mdi-phone-incoming-outgoing-outline:before{content:"๓ฑญ€"}.mdi-phone-incoming-outline:before{content:"๓ฑ†“"}.mdi-phone-lock:before{content:"๓ฐธ"}.mdi-phone-lock-outline:before{content:"๓ฑ†”"}.mdi-phone-log:before{content:"๓ฐน"}.mdi-phone-log-outline:before{content:"๓ฑ†•"}.mdi-phone-message:before{content:"๓ฑ†–"}.mdi-phone-message-outline:before{content:"๓ฑ†—"}.mdi-phone-minus:before{content:"๓ฐ™˜"}.mdi-phone-minus-outline:before{content:"๓ฑ†˜"}.mdi-phone-missed:before{content:"๓ฐบ"}.mdi-phone-missed-outline:before{content:"๓ฑ†ฅ"}.mdi-phone-off:before{content:"๓ฐทฏ"}.mdi-phone-off-outline:before{content:"๓ฑ†ฆ"}.mdi-phone-outgoing:before{content:"๓ฐป"}.mdi-phone-outgoing-outline:before{content:"๓ฑ†™"}.mdi-phone-outline:before{content:"๓ฐทฐ"}.mdi-phone-paused:before{content:"๓ฐผ"}.mdi-phone-paused-outline:before{content:"๓ฑ†š"}.mdi-phone-plus:before{content:"๓ฐ™™"}.mdi-phone-plus-outline:before{content:"๓ฑ†›"}.mdi-phone-refresh:before{content:"๓ฑฆ“"}.mdi-phone-refresh-outline:before{content:"๓ฑฆ”"}.mdi-phone-remove:before{content:"๓ฑ”ฏ"}.mdi-phone-remove-outline:before{content:"๓ฑ”ฐ"}.mdi-phone-return:before{content:"๓ฐ ฏ"}.mdi-phone-return-outline:before{content:"๓ฑ†œ"}.mdi-phone-ring:before{content:"๓ฑ†ซ"}.mdi-phone-ring-outline:before{content:"๓ฑ†ฌ"}.mdi-phone-rotate-landscape:before{content:"๓ฐข…"}.mdi-phone-rotate-portrait:before{content:"๓ฐข†"}.mdi-phone-settings:before{content:"๓ฐฝ"}.mdi-phone-settings-outline:before{content:"๓ฑ†"}.mdi-phone-sync:before{content:"๓ฑฆ•"}.mdi-phone-sync-outline:before{content:"๓ฑฆ–"}.mdi-phone-voip:before{content:"๓ฐพ"}.mdi-pi:before{content:"๓ฐฟ"}.mdi-pi-box:before{content:"๓ฐ€"}.mdi-pi-hole:before{content:"๓ฐทฑ"}.mdi-piano:before{content:"๓ฐ™ฝ"}.mdi-piano-off:before{content:"๓ฐš˜"}.mdi-pickaxe:before{content:"๓ฐขท"}.mdi-picture-in-picture-bottom-right:before{content:"๓ฐน—"}.mdi-picture-in-picture-bottom-right-outline:before{content:"๓ฐน˜"}.mdi-picture-in-picture-top-right:before{content:"๓ฐน™"}.mdi-picture-in-picture-top-right-outline:before{content:"๓ฐนš"}.mdi-pier:before{content:"๓ฐข‡"}.mdi-pier-crane:before{content:"๓ฐขˆ"}.mdi-pig:before{content:"๓ฐ"}.mdi-pig-variant:before{content:"๓ฑ€†"}.mdi-pig-variant-outline:before{content:"๓ฑ™ธ"}.mdi-piggy-bank:before{content:"๓ฑ€‡"}.mdi-piggy-bank-outline:before{content:"๓ฑ™น"}.mdi-pill:before{content:"๓ฐ‚"}.mdi-pill-multiple:before{content:"๓ฑญŒ"}.mdi-pill-off:before{content:"๓ฑฉœ"}.mdi-pillar:before{content:"๓ฐœ‚"}.mdi-pin:before{content:"๓ฐƒ"}.mdi-pin-off:before{content:"๓ฐ„"}.mdi-pin-off-outline:before{content:"๓ฐคฐ"}.mdi-pin-outline:before{content:"๓ฐคฑ"}.mdi-pine-tree:before{content:"๓ฐ…"}.mdi-pine-tree-box:before{content:"๓ฐ†"}.mdi-pine-tree-fire:before{content:"๓ฑš"}.mdi-pine-tree-variant:before{content:"๓ฑฑณ"}.mdi-pine-tree-variant-outline:before{content:"๓ฑฑด"}.mdi-pinterest:before{content:"๓ฐ‡"}.mdi-pinwheel:before{content:"๓ฐซ•"}.mdi-pinwheel-outline:before{content:"๓ฐซ–"}.mdi-pipe:before{content:"๓ฐŸฅ"}.mdi-pipe-disconnected:before{content:"๓ฐŸฆ"}.mdi-pipe-leak:before{content:"๓ฐข‰"}.mdi-pipe-valve:before{content:"๓ฑก"}.mdi-pipe-wrench:before{content:"๓ฑ”"}.mdi-pirate:before{content:"๓ฐจˆ"}.mdi-pistol:before{content:"๓ฐœƒ"}.mdi-piston:before{content:"๓ฐขŠ"}.mdi-pitchfork:before{content:"๓ฑ•“"}.mdi-pizza:before{content:"๓ฐ‰"}.mdi-plane-car:before{content:"๓ฑซฟ"}.mdi-plane-train:before{content:"๓ฑฌ€"}.mdi-play:before{content:"๓ฐŠ"}.mdi-play-box:before{content:"๓ฑ‰บ"}.mdi-play-box-edit-outline:before{content:"๓ฑฐบ"}.mdi-play-box-lock:before{content:"๓ฑจ–"}.mdi-play-box-lock-open:before{content:"๓ฑจ—"}.mdi-play-box-lock-open-outline:before{content:"๓ฑจ˜"}.mdi-play-box-lock-outline:before{content:"๓ฑจ™"}.mdi-play-box-multiple:before{content:"๓ฐด™"}.mdi-play-box-multiple-outline:before{content:"๓ฑฆ"}.mdi-play-box-outline:before{content:"๓ฐ‹"}.mdi-play-circle:before{content:"๓ฐŒ"}.mdi-play-circle-outline:before{content:"๓ฐ"}.mdi-play-network:before{content:"๓ฐข‹"}.mdi-play-network-outline:before{content:"๓ฐฒท"}.mdi-play-outline:before{content:"๓ฐผ›"}.mdi-play-pause:before{content:"๓ฐŽ"}.mdi-play-protected-content:before{content:"๓ฐ"}.mdi-play-speed:before{content:"๓ฐฃฟ"}.mdi-playlist-check:before{content:"๓ฐ—‡"}.mdi-playlist-edit:before{content:"๓ฐค€"}.mdi-playlist-minus:before{content:"๓ฐ"}.mdi-playlist-music:before{content:"๓ฐฒธ"}.mdi-playlist-music-outline:before{content:"๓ฐฒน"}.mdi-playlist-play:before{content:"๓ฐ‘"}.mdi-playlist-plus:before{content:"๓ฐ’"}.mdi-playlist-remove:before{content:"๓ฐ“"}.mdi-playlist-star:before{content:"๓ฐทฒ"}.mdi-plex:before{content:"๓ฐšบ"}.mdi-pliers:before{content:"๓ฑฆค"}.mdi-plus:before{content:"๓ฐ•"}.mdi-plus-box:before{content:"๓ฐ–"}.mdi-plus-box-multiple:before{content:"๓ฐŒด"}.mdi-plus-box-multiple-outline:before{content:"๓ฑ…ƒ"}.mdi-plus-box-outline:before{content:"๓ฐœ„"}.mdi-plus-circle:before{content:"๓ฐ—"}.mdi-plus-circle-multiple:before{content:"๓ฐŒ"}.mdi-plus-circle-multiple-outline:before{content:"๓ฐ˜"}.mdi-plus-circle-outline:before{content:"๓ฐ™"}.mdi-plus-lock:before{content:"๓ฑฉ"}.mdi-plus-lock-open:before{content:"๓ฑฉž"}.mdi-plus-minus:before{content:"๓ฐฆ’"}.mdi-plus-minus-box:before{content:"๓ฐฆ“"}.mdi-plus-minus-variant:before{content:"๓ฑ“‰"}.mdi-plus-network:before{content:"๓ฐš"}.mdi-plus-network-outline:before{content:"๓ฐฒบ"}.mdi-plus-outline:before{content:"๓ฐœ…"}.mdi-plus-thick:before{content:"๓ฑ‡ฌ"}.mdi-podcast:before{content:"๓ฐฆ”"}.mdi-podium:before{content:"๓ฐดฅ"}.mdi-podium-bronze:before{content:"๓ฐดฆ"}.mdi-podium-gold:before{content:"๓ฐดง"}.mdi-podium-silver:before{content:"๓ฐดจ"}.mdi-point-of-sale:before{content:"๓ฐถ’"}.mdi-pokeball:before{content:"๓ฐ"}.mdi-pokemon-go:before{content:"๓ฐจ‰"}.mdi-poker-chip:before{content:"๓ฐ ฐ"}.mdi-polaroid:before{content:"๓ฐž"}.mdi-police-badge:before{content:"๓ฑ…ง"}.mdi-police-badge-outline:before{content:"๓ฑ…จ"}.mdi-police-station:before{content:"๓ฑ น"}.mdi-poll:before{content:"๓ฐŸ"}.mdi-polo:before{content:"๓ฑ“ƒ"}.mdi-polymer:before{content:"๓ฐก"}.mdi-pool:before{content:"๓ฐ˜†"}.mdi-pool-thermometer:before{content:"๓ฑฉŸ"}.mdi-popcorn:before{content:"๓ฐข"}.mdi-post:before{content:"๓ฑ€ˆ"}.mdi-post-lamp:before{content:"๓ฑฉ "}.mdi-post-outline:before{content:"๓ฑ€‰"}.mdi-postage-stamp:before{content:"๓ฐฒป"}.mdi-pot:before{content:"๓ฐ‹ฅ"}.mdi-pot-mix:before{content:"๓ฐ™›"}.mdi-pot-mix-outline:before{content:"๓ฐ™ท"}.mdi-pot-outline:before{content:"๓ฐ‹ฟ"}.mdi-pot-steam:before{content:"๓ฐ™š"}.mdi-pot-steam-outline:before{content:"๓ฐŒฆ"}.mdi-pound:before{content:"๓ฐฃ"}.mdi-pound-box:before{content:"๓ฐค"}.mdi-pound-box-outline:before{content:"๓ฑ…ฟ"}.mdi-power:before{content:"๓ฐฅ"}.mdi-power-cycle:before{content:"๓ฐค"}.mdi-power-off:before{content:"๓ฐค‚"}.mdi-power-on:before{content:"๓ฐคƒ"}.mdi-power-plug:before{content:"๓ฐšฅ"}.mdi-power-plug-battery:before{content:"๓ฑฐป"}.mdi-power-plug-battery-outline:before{content:"๓ฑฐผ"}.mdi-power-plug-off:before{content:"๓ฐšฆ"}.mdi-power-plug-off-outline:before{content:"๓ฑค"}.mdi-power-plug-outline:before{content:"๓ฑฅ"}.mdi-power-settings:before{content:"๓ฐฆ"}.mdi-power-sleep:before{content:"๓ฐค„"}.mdi-power-socket:before{content:"๓ฐง"}.mdi-power-socket-au:before{content:"๓ฐค…"}.mdi-power-socket-ch:before{content:"๓ฐพณ"}.mdi-power-socket-de:before{content:"๓ฑ„‡"}.mdi-power-socket-eu:before{content:"๓ฐŸง"}.mdi-power-socket-fr:before{content:"๓ฑ„ˆ"}.mdi-power-socket-it:before{content:"๓ฑ“ฟ"}.mdi-power-socket-jp:before{content:"๓ฑ„‰"}.mdi-power-socket-uk:before{content:"๓ฐŸจ"}.mdi-power-socket-us:before{content:"๓ฐŸฉ"}.mdi-power-standby:before{content:"๓ฐค†"}.mdi-powershell:before{content:"๓ฐจŠ"}.mdi-prescription:before{content:"๓ฐœ†"}.mdi-presentation:before{content:"๓ฐจ"}.mdi-presentation-play:before{content:"๓ฐฉ"}.mdi-pretzel:before{content:"๓ฑ•ข"}.mdi-printer:before{content:"๓ฐช"}.mdi-printer-3d:before{content:"๓ฐซ"}.mdi-printer-3d-nozzle:before{content:"๓ฐน›"}.mdi-printer-3d-nozzle-alert:before{content:"๓ฑ‡€"}.mdi-printer-3d-nozzle-alert-outline:before{content:"๓ฑ‡"}.mdi-printer-3d-nozzle-heat:before{content:"๓ฑขธ"}.mdi-printer-3d-nozzle-heat-outline:before{content:"๓ฑขน"}.mdi-printer-3d-nozzle-off:before{content:"๓ฑฌ™"}.mdi-printer-3d-nozzle-off-outline:before{content:"๓ฑฌš"}.mdi-printer-3d-nozzle-outline:before{content:"๓ฐนœ"}.mdi-printer-3d-off:before{content:"๓ฑฌŽ"}.mdi-printer-alert:before{content:"๓ฐฌ"}.mdi-printer-check:before{content:"๓ฑ…†"}.mdi-printer-eye:before{content:"๓ฑ‘˜"}.mdi-printer-off:before{content:"๓ฐน"}.mdi-printer-off-outline:before{content:"๓ฑž…"}.mdi-printer-outline:before{content:"๓ฑž†"}.mdi-printer-pos:before{content:"๓ฑ—"}.mdi-printer-pos-alert:before{content:"๓ฑฎผ"}.mdi-printer-pos-alert-outline:before{content:"๓ฑฎฝ"}.mdi-printer-pos-cancel:before{content:"๓ฑฎพ"}.mdi-printer-pos-cancel-outline:before{content:"๓ฑฎฟ"}.mdi-printer-pos-check:before{content:"๓ฑฏ€"}.mdi-printer-pos-check-outline:before{content:"๓ฑฏ"}.mdi-printer-pos-cog:before{content:"๓ฑฏ‚"}.mdi-printer-pos-cog-outline:before{content:"๓ฑฏƒ"}.mdi-printer-pos-edit:before{content:"๓ฑฏ„"}.mdi-printer-pos-edit-outline:before{content:"๓ฑฏ…"}.mdi-printer-pos-minus:before{content:"๓ฑฏ†"}.mdi-printer-pos-minus-outline:before{content:"๓ฑฏ‡"}.mdi-printer-pos-network:before{content:"๓ฑฏˆ"}.mdi-printer-pos-network-outline:before{content:"๓ฑฏ‰"}.mdi-printer-pos-off:before{content:"๓ฑฏŠ"}.mdi-printer-pos-off-outline:before{content:"๓ฑฏ‹"}.mdi-printer-pos-outline:before{content:"๓ฑฏŒ"}.mdi-printer-pos-pause:before{content:"๓ฑฏ"}.mdi-printer-pos-pause-outline:before{content:"๓ฑฏŽ"}.mdi-printer-pos-play:before{content:"๓ฑฏ"}.mdi-printer-pos-play-outline:before{content:"๓ฑฏ"}.mdi-printer-pos-plus:before{content:"๓ฑฏ‘"}.mdi-printer-pos-plus-outline:before{content:"๓ฑฏ’"}.mdi-printer-pos-refresh:before{content:"๓ฑฏ“"}.mdi-printer-pos-refresh-outline:before{content:"๓ฑฏ”"}.mdi-printer-pos-remove:before{content:"๓ฑฏ•"}.mdi-printer-pos-remove-outline:before{content:"๓ฑฏ–"}.mdi-printer-pos-star:before{content:"๓ฑฏ—"}.mdi-printer-pos-star-outline:before{content:"๓ฑฏ˜"}.mdi-printer-pos-stop:before{content:"๓ฑฏ™"}.mdi-printer-pos-stop-outline:before{content:"๓ฑฏš"}.mdi-printer-pos-sync:before{content:"๓ฑฏ›"}.mdi-printer-pos-sync-outline:before{content:"๓ฑฏœ"}.mdi-printer-pos-wrench:before{content:"๓ฑฏ"}.mdi-printer-pos-wrench-outline:before{content:"๓ฑฏž"}.mdi-printer-search:before{content:"๓ฑ‘—"}.mdi-printer-settings:before{content:"๓ฐœ‡"}.mdi-printer-wireless:before{content:"๓ฐจ‹"}.mdi-priority-high:before{content:"๓ฐ˜ƒ"}.mdi-priority-low:before{content:"๓ฐ˜„"}.mdi-professional-hexagon:before{content:"๓ฐญ"}.mdi-progress-alert:before{content:"๓ฐฒผ"}.mdi-progress-check:before{content:"๓ฐฆ•"}.mdi-progress-clock:before{content:"๓ฐฆ–"}.mdi-progress-close:before{content:"๓ฑ„Š"}.mdi-progress-download:before{content:"๓ฐฆ—"}.mdi-progress-helper:before{content:"๓ฑฎข"}.mdi-progress-pencil:before{content:"๓ฑž‡"}.mdi-progress-question:before{content:"๓ฑ”ข"}.mdi-progress-star:before{content:"๓ฑžˆ"}.mdi-progress-star-four-points:before{content:"๓ฑฐฝ"}.mdi-progress-upload:before{content:"๓ฐฆ˜"}.mdi-progress-wrench:before{content:"๓ฐฒฝ"}.mdi-projector:before{content:"๓ฐฎ"}.mdi-projector-off:before{content:"๓ฑจฃ"}.mdi-projector-screen:before{content:"๓ฐฏ"}.mdi-projector-screen-off:before{content:"๓ฑ "}.mdi-projector-screen-off-outline:before{content:"๓ฑ Ž"}.mdi-projector-screen-outline:before{content:"๓ฑœค"}.mdi-projector-screen-variant:before{content:"๓ฑ "}.mdi-projector-screen-variant-off:before{content:"๓ฑ "}.mdi-projector-screen-variant-off-outline:before{content:"๓ฑ ‘"}.mdi-projector-screen-variant-outline:before{content:"๓ฑ ’"}.mdi-propane-tank:before{content:"๓ฑ—"}.mdi-propane-tank-outline:before{content:"๓ฑ˜"}.mdi-protocol:before{content:"๓ฐฟ˜"}.mdi-publish:before{content:"๓ฐšง"}.mdi-publish-off:before{content:"๓ฑฅ…"}.mdi-pulse:before{content:"๓ฐฐ"}.mdi-pump:before{content:"๓ฑ‚"}.mdi-pump-off:before{content:"๓ฑฌข"}.mdi-pumpkin:before{content:"๓ฐฎฟ"}.mdi-purse:before{content:"๓ฐผœ"}.mdi-purse-outline:before{content:"๓ฐผ"}.mdi-puzzle:before{content:"๓ฐฑ"}.mdi-puzzle-check:before{content:"๓ฑฆ"}.mdi-puzzle-check-outline:before{content:"๓ฑง"}.mdi-puzzle-edit:before{content:"๓ฑ““"}.mdi-puzzle-edit-outline:before{content:"๓ฑ“™"}.mdi-puzzle-heart:before{content:"๓ฑ“”"}.mdi-puzzle-heart-outline:before{content:"๓ฑ“š"}.mdi-puzzle-minus:before{content:"๓ฑ“‘"}.mdi-puzzle-minus-outline:before{content:"๓ฑ“—"}.mdi-puzzle-outline:before{content:"๓ฐฉฆ"}.mdi-puzzle-plus:before{content:"๓ฑ“"}.mdi-puzzle-plus-outline:before{content:"๓ฑ“–"}.mdi-puzzle-remove:before{content:"๓ฑ“’"}.mdi-puzzle-remove-outline:before{content:"๓ฑ“˜"}.mdi-puzzle-star:before{content:"๓ฑ“•"}.mdi-puzzle-star-outline:before{content:"๓ฑ“›"}.mdi-pyramid:before{content:"๓ฑฅ’"}.mdi-pyramid-off:before{content:"๓ฑฅ“"}.mdi-qi:before{content:"๓ฐฆ™"}.mdi-qqchat:before{content:"๓ฐ˜…"}.mdi-qrcode:before{content:"๓ฐฒ"}.mdi-qrcode-edit:before{content:"๓ฐขธ"}.mdi-qrcode-minus:before{content:"๓ฑ†Œ"}.mdi-qrcode-plus:before{content:"๓ฑ†‹"}.mdi-qrcode-remove:before{content:"๓ฑ†"}.mdi-qrcode-scan:before{content:"๓ฐณ"}.mdi-quadcopter:before{content:"๓ฐด"}.mdi-quality-high:before{content:"๓ฐต"}.mdi-quality-low:before{content:"๓ฐจŒ"}.mdi-quality-medium:before{content:"๓ฐจ"}.mdi-quora:before{content:"๓ฐดฉ"}.mdi-rabbit:before{content:"๓ฐค‡"}.mdi-rabbit-variant:before{content:"๓ฑฉก"}.mdi-rabbit-variant-outline:before{content:"๓ฑฉข"}.mdi-racing-helmet:before{content:"๓ฐถ“"}.mdi-racquetball:before{content:"๓ฐถ”"}.mdi-radar:before{content:"๓ฐท"}.mdi-radiator:before{content:"๓ฐธ"}.mdi-radiator-disabled:before{content:"๓ฐซ—"}.mdi-radiator-off:before{content:"๓ฐซ˜"}.mdi-radio:before{content:"๓ฐน"}.mdi-radio-am:before{content:"๓ฐฒพ"}.mdi-radio-fm:before{content:"๓ฐฒฟ"}.mdi-radio-handheld:before{content:"๓ฐบ"}.mdi-radio-off:before{content:"๓ฑˆœ"}.mdi-radio-tower:before{content:"๓ฐป"}.mdi-radioactive:before{content:"๓ฐผ"}.mdi-radioactive-circle:before{content:"๓ฑก"}.mdi-radioactive-circle-outline:before{content:"๓ฑกž"}.mdi-radioactive-off:before{content:"๓ฐป"}.mdi-radiobox-blank:before{content:"๓ฐฝ"}.mdi-radiobox-indeterminate-variant:before{content:"๓ฑฑž"}.mdi-radiobox-marked:before{content:"๓ฐพ"}.mdi-radiology-box:before{content:"๓ฑ“…"}.mdi-radiology-box-outline:before{content:"๓ฑ“†"}.mdi-radius:before{content:"๓ฐณ€"}.mdi-radius-outline:before{content:"๓ฐณ"}.mdi-railroad-light:before{content:"๓ฐผž"}.mdi-rake:before{content:"๓ฑ•„"}.mdi-raspberry-pi:before{content:"๓ฐฟ"}.mdi-raw:before{content:"๓ฑจ"}.mdi-raw-off:before{content:"๓ฑจ"}.mdi-ray-end:before{content:"๓ฐ‘€"}.mdi-ray-end-arrow:before{content:"๓ฐ‘"}.mdi-ray-start:before{content:"๓ฐ‘‚"}.mdi-ray-start-arrow:before{content:"๓ฐ‘ƒ"}.mdi-ray-start-end:before{content:"๓ฐ‘„"}.mdi-ray-start-vertex-end:before{content:"๓ฑ—˜"}.mdi-ray-vertex:before{content:"๓ฐ‘…"}.mdi-razor-double-edge:before{content:"๓ฑฆ—"}.mdi-razor-single-edge:before{content:"๓ฑฆ˜"}.mdi-react:before{content:"๓ฐœˆ"}.mdi-read:before{content:"๓ฐ‘‡"}.mdi-receipt:before{content:"๓ฐ ค"}.mdi-receipt-clock:before{content:"๓ฑฐพ"}.mdi-receipt-clock-outline:before{content:"๓ฑฐฟ"}.mdi-receipt-outline:before{content:"๓ฐ“ท"}.mdi-receipt-send:before{content:"๓ฑฑ€"}.mdi-receipt-send-outline:before{content:"๓ฑฑ"}.mdi-receipt-text:before{content:"๓ฐ‘‰"}.mdi-receipt-text-arrow-left:before{content:"๓ฑฑ‚"}.mdi-receipt-text-arrow-left-outline:before{content:"๓ฑฑƒ"}.mdi-receipt-text-arrow-right:before{content:"๓ฑฑ„"}.mdi-receipt-text-arrow-right-outline:before{content:"๓ฑฑ…"}.mdi-receipt-text-check:before{content:"๓ฑฉฃ"}.mdi-receipt-text-check-outline:before{content:"๓ฑฉค"}.mdi-receipt-text-clock:before{content:"๓ฑฑ†"}.mdi-receipt-text-clock-outline:before{content:"๓ฑฑ‡"}.mdi-receipt-text-edit:before{content:"๓ฑฑˆ"}.mdi-receipt-text-edit-outline:before{content:"๓ฑฑ‰"}.mdi-receipt-text-minus:before{content:"๓ฑฉฅ"}.mdi-receipt-text-minus-outline:before{content:"๓ฑฉฆ"}.mdi-receipt-text-outline:before{content:"๓ฑงœ"}.mdi-receipt-text-plus:before{content:"๓ฑฉง"}.mdi-receipt-text-plus-outline:before{content:"๓ฑฉจ"}.mdi-receipt-text-remove:before{content:"๓ฑฉฉ"}.mdi-receipt-text-remove-outline:before{content:"๓ฑฉช"}.mdi-receipt-text-send:before{content:"๓ฑฑŠ"}.mdi-receipt-text-send-outline:before{content:"๓ฑฑ‹"}.mdi-record:before{content:"๓ฐ‘Š"}.mdi-record-circle:before{content:"๓ฐป‚"}.mdi-record-circle-outline:before{content:"๓ฐปƒ"}.mdi-record-player:before{content:"๓ฐฆš"}.mdi-record-rec:before{content:"๓ฐ‘‹"}.mdi-rectangle:before{content:"๓ฐนž"}.mdi-rectangle-outline:before{content:"๓ฐนŸ"}.mdi-recycle:before{content:"๓ฐ‘Œ"}.mdi-recycle-variant:before{content:"๓ฑŽ"}.mdi-reddit:before{content:"๓ฐ‘"}.mdi-redhat:before{content:"๓ฑ„›"}.mdi-redo:before{content:"๓ฐ‘Ž"}.mdi-redo-variant:before{content:"๓ฐ‘"}.mdi-reflect-horizontal:before{content:"๓ฐจŽ"}.mdi-reflect-vertical:before{content:"๓ฐจ"}.mdi-refresh:before{content:"๓ฐ‘"}.mdi-refresh-auto:before{content:"๓ฑฃฒ"}.mdi-refresh-circle:before{content:"๓ฑท"}.mdi-regex:before{content:"๓ฐ‘‘"}.mdi-registered-trademark:before{content:"๓ฐฉง"}.mdi-reiterate:before{content:"๓ฑ–ˆ"}.mdi-relation-many-to-many:before{content:"๓ฑ’–"}.mdi-relation-many-to-one:before{content:"๓ฑ’—"}.mdi-relation-many-to-one-or-many:before{content:"๓ฑ’˜"}.mdi-relation-many-to-only-one:before{content:"๓ฑ’™"}.mdi-relation-many-to-zero-or-many:before{content:"๓ฑ’š"}.mdi-relation-many-to-zero-or-one:before{content:"๓ฑ’›"}.mdi-relation-one-or-many-to-many:before{content:"๓ฑ’œ"}.mdi-relation-one-or-many-to-one:before{content:"๓ฑ’"}.mdi-relation-one-or-many-to-one-or-many:before{content:"๓ฑ’ž"}.mdi-relation-one-or-many-to-only-one:before{content:"๓ฑ’Ÿ"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"๓ฑ’ "}.mdi-relation-one-or-many-to-zero-or-one:before{content:"๓ฑ’ก"}.mdi-relation-one-to-many:before{content:"๓ฑ’ข"}.mdi-relation-one-to-one:before{content:"๓ฑ’ฃ"}.mdi-relation-one-to-one-or-many:before{content:"๓ฑ’ค"}.mdi-relation-one-to-only-one:before{content:"๓ฑ’ฅ"}.mdi-relation-one-to-zero-or-many:before{content:"๓ฑ’ฆ"}.mdi-relation-one-to-zero-or-one:before{content:"๓ฑ’ง"}.mdi-relation-only-one-to-many:before{content:"๓ฑ’จ"}.mdi-relation-only-one-to-one:before{content:"๓ฑ’ฉ"}.mdi-relation-only-one-to-one-or-many:before{content:"๓ฑ’ช"}.mdi-relation-only-one-to-only-one:before{content:"๓ฑ’ซ"}.mdi-relation-only-one-to-zero-or-many:before{content:"๓ฑ’ฌ"}.mdi-relation-only-one-to-zero-or-one:before{content:"๓ฑ’ญ"}.mdi-relation-zero-or-many-to-many:before{content:"๓ฑ’ฎ"}.mdi-relation-zero-or-many-to-one:before{content:"๓ฑ’ฏ"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"๓ฑ’ฐ"}.mdi-relation-zero-or-many-to-only-one:before{content:"๓ฑ’ฑ"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"๓ฑ’ฒ"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"๓ฑ’ณ"}.mdi-relation-zero-or-one-to-many:before{content:"๓ฑ’ด"}.mdi-relation-zero-or-one-to-one:before{content:"๓ฑ’ต"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"๓ฑ’ถ"}.mdi-relation-zero-or-one-to-only-one:before{content:"๓ฑ’ท"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"๓ฑ’ธ"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"๓ฑ’น"}.mdi-relative-scale:before{content:"๓ฐ‘’"}.mdi-reload:before{content:"๓ฐ‘“"}.mdi-reload-alert:before{content:"๓ฑ„‹"}.mdi-reminder:before{content:"๓ฐขŒ"}.mdi-remote:before{content:"๓ฐ‘”"}.mdi-remote-desktop:before{content:"๓ฐขน"}.mdi-remote-off:before{content:"๓ฐป„"}.mdi-remote-tv:before{content:"๓ฐป…"}.mdi-remote-tv-off:before{content:"๓ฐป†"}.mdi-rename:before{content:"๓ฑฐ˜"}.mdi-rename-box:before{content:"๓ฐ‘•"}.mdi-rename-box-outline:before{content:"๓ฑฐ™"}.mdi-rename-outline:before{content:"๓ฑฐš"}.mdi-reorder-horizontal:before{content:"๓ฐšˆ"}.mdi-reorder-vertical:before{content:"๓ฐš‰"}.mdi-repeat:before{content:"๓ฐ‘–"}.mdi-repeat-off:before{content:"๓ฐ‘—"}.mdi-repeat-once:before{content:"๓ฐ‘˜"}.mdi-repeat-variant:before{content:"๓ฐ•‡"}.mdi-replay:before{content:"๓ฐ‘™"}.mdi-reply:before{content:"๓ฐ‘š"}.mdi-reply-all:before{content:"๓ฐ‘›"}.mdi-reply-all-outline:before{content:"๓ฐผŸ"}.mdi-reply-circle:before{content:"๓ฑ†ฎ"}.mdi-reply-outline:before{content:"๓ฐผ "}.mdi-reproduction:before{content:"๓ฐ‘œ"}.mdi-resistor:before{content:"๓ฐญ„"}.mdi-resistor-nodes:before{content:"๓ฐญ…"}.mdi-resize:before{content:"๓ฐฉจ"}.mdi-resize-bottom-right:before{content:"๓ฐ‘"}.mdi-responsive:before{content:"๓ฐ‘ž"}.mdi-restart:before{content:"๓ฐœ‰"}.mdi-restart-alert:before{content:"๓ฑ„Œ"}.mdi-restart-off:before{content:"๓ฐถ•"}.mdi-restore:before{content:"๓ฐฆ›"}.mdi-restore-alert:before{content:"๓ฑ„"}.mdi-rewind:before{content:"๓ฐ‘Ÿ"}.mdi-rewind-10:before{content:"๓ฐดช"}.mdi-rewind-15:before{content:"๓ฑฅ†"}.mdi-rewind-30:before{content:"๓ฐถ–"}.mdi-rewind-45:before{content:"๓ฑฌ“"}.mdi-rewind-5:before{content:"๓ฑ‡น"}.mdi-rewind-60:before{content:"๓ฑ˜Œ"}.mdi-rewind-outline:before{content:"๓ฐœŠ"}.mdi-rhombus:before{content:"๓ฐœ‹"}.mdi-rhombus-medium:before{content:"๓ฐจ"}.mdi-rhombus-medium-outline:before{content:"๓ฑ“œ"}.mdi-rhombus-outline:before{content:"๓ฐœŒ"}.mdi-rhombus-split:before{content:"๓ฐจ‘"}.mdi-rhombus-split-outline:before{content:"๓ฑ“"}.mdi-ribbon:before{content:"๓ฐ‘ "}.mdi-rice:before{content:"๓ฐŸช"}.mdi-rickshaw:before{content:"๓ฑ–ป"}.mdi-rickshaw-electric:before{content:"๓ฑ–ผ"}.mdi-ring:before{content:"๓ฐŸซ"}.mdi-rivet:before{content:"๓ฐน "}.mdi-road:before{content:"๓ฐ‘ก"}.mdi-road-variant:before{content:"๓ฐ‘ข"}.mdi-robber:before{content:"๓ฑ˜"}.mdi-robot:before{content:"๓ฐšฉ"}.mdi-robot-angry:before{content:"๓ฑš"}.mdi-robot-angry-outline:before{content:"๓ฑšž"}.mdi-robot-confused:before{content:"๓ฑšŸ"}.mdi-robot-confused-outline:before{content:"๓ฑš "}.mdi-robot-dead:before{content:"๓ฑšก"}.mdi-robot-dead-outline:before{content:"๓ฑšข"}.mdi-robot-excited:before{content:"๓ฑšฃ"}.mdi-robot-excited-outline:before{content:"๓ฑšค"}.mdi-robot-happy:before{content:"๓ฑœ™"}.mdi-robot-happy-outline:before{content:"๓ฑœš"}.mdi-robot-industrial:before{content:"๓ฐญ†"}.mdi-robot-industrial-outline:before{content:"๓ฑจš"}.mdi-robot-love:before{content:"๓ฑšฅ"}.mdi-robot-love-outline:before{content:"๓ฑšฆ"}.mdi-robot-mower:before{content:"๓ฑ‡ท"}.mdi-robot-mower-outline:before{content:"๓ฑ‡ณ"}.mdi-robot-off:before{content:"๓ฑšง"}.mdi-robot-off-outline:before{content:"๓ฑ™ป"}.mdi-robot-outline:before{content:"๓ฑ™บ"}.mdi-robot-vacuum:before{content:"๓ฐœ"}.mdi-robot-vacuum-alert:before{content:"๓ฑญ"}.mdi-robot-vacuum-off:before{content:"๓ฑฐ"}.mdi-robot-vacuum-variant:before{content:"๓ฐคˆ"}.mdi-robot-vacuum-variant-alert:before{content:"๓ฑญž"}.mdi-robot-vacuum-variant-off:before{content:"๓ฑฐ‚"}.mdi-rocket:before{content:"๓ฐ‘ฃ"}.mdi-rocket-launch:before{content:"๓ฑ“ž"}.mdi-rocket-launch-outline:before{content:"๓ฑ“Ÿ"}.mdi-rocket-outline:before{content:"๓ฑŽฏ"}.mdi-rodent:before{content:"๓ฑŒง"}.mdi-roller-shade:before{content:"๓ฑฉซ"}.mdi-roller-shade-closed:before{content:"๓ฑฉฌ"}.mdi-roller-skate:before{content:"๓ฐดซ"}.mdi-roller-skate-off:before{content:"๓ฐ……"}.mdi-rollerblade:before{content:"๓ฐดฌ"}.mdi-rollerblade-off:before{content:"๓ฐ€ฎ"}.mdi-rollupjs:before{content:"๓ฐฏ€"}.mdi-rolodex:before{content:"๓ฑชน"}.mdi-rolodex-outline:before{content:"๓ฑชบ"}.mdi-roman-numeral-1:before{content:"๓ฑ‚ˆ"}.mdi-roman-numeral-10:before{content:"๓ฑ‚‘"}.mdi-roman-numeral-2:before{content:"๓ฑ‚‰"}.mdi-roman-numeral-3:before{content:"๓ฑ‚Š"}.mdi-roman-numeral-4:before{content:"๓ฑ‚‹"}.mdi-roman-numeral-5:before{content:"๓ฑ‚Œ"}.mdi-roman-numeral-6:before{content:"๓ฑ‚"}.mdi-roman-numeral-7:before{content:"๓ฑ‚Ž"}.mdi-roman-numeral-8:before{content:"๓ฑ‚"}.mdi-roman-numeral-9:before{content:"๓ฑ‚"}.mdi-room-service:before{content:"๓ฐข"}.mdi-room-service-outline:before{content:"๓ฐถ—"}.mdi-rotate-360:before{content:"๓ฑฆ™"}.mdi-rotate-3d:before{content:"๓ฐป‡"}.mdi-rotate-3d-variant:before{content:"๓ฐ‘ค"}.mdi-rotate-left:before{content:"๓ฐ‘ฅ"}.mdi-rotate-left-variant:before{content:"๓ฐ‘ฆ"}.mdi-rotate-orbit:before{content:"๓ฐถ˜"}.mdi-rotate-right:before{content:"๓ฐ‘ง"}.mdi-rotate-right-variant:before{content:"๓ฐ‘จ"}.mdi-rounded-corner:before{content:"๓ฐ˜‡"}.mdi-router:before{content:"๓ฑ‡ข"}.mdi-router-network:before{content:"๓ฑ‚‡"}.mdi-router-wireless:before{content:"๓ฐ‘ฉ"}.mdi-router-wireless-off:before{content:"๓ฑ–ฃ"}.mdi-router-wireless-settings:before{content:"๓ฐฉฉ"}.mdi-routes:before{content:"๓ฐ‘ช"}.mdi-routes-clock:before{content:"๓ฑ™"}.mdi-rowing:before{content:"๓ฐ˜ˆ"}.mdi-rss:before{content:"๓ฐ‘ซ"}.mdi-rss-box:before{content:"๓ฐ‘ฌ"}.mdi-rss-off:before{content:"๓ฐผก"}.mdi-rug:before{content:"๓ฑ‘ต"}.mdi-rugby:before{content:"๓ฐถ™"}.mdi-ruler:before{content:"๓ฐ‘ญ"}.mdi-ruler-square:before{content:"๓ฐณ‚"}.mdi-ruler-square-compass:before{content:"๓ฐบพ"}.mdi-run:before{content:"๓ฐœŽ"}.mdi-run-fast:before{content:"๓ฐ‘ฎ"}.mdi-rv-truck:before{content:"๓ฑ‡”"}.mdi-sack:before{content:"๓ฐดฎ"}.mdi-sack-outline:before{content:"๓ฑฑŒ"}.mdi-sack-percent:before{content:"๓ฐดฏ"}.mdi-safe:before{content:"๓ฐฉช"}.mdi-safe-square:before{content:"๓ฑ‰ผ"}.mdi-safe-square-outline:before{content:"๓ฑ‰ฝ"}.mdi-safety-goggles:before{content:"๓ฐดฐ"}.mdi-sail-boat:before{content:"๓ฐปˆ"}.mdi-sail-boat-sink:before{content:"๓ฑซฏ"}.mdi-sale:before{content:"๓ฐ‘ฏ"}.mdi-sale-outline:before{content:"๓ฑจ†"}.mdi-salesforce:before{content:"๓ฐขŽ"}.mdi-sass:before{content:"๓ฐŸฌ"}.mdi-satellite:before{content:"๓ฐ‘ฐ"}.mdi-satellite-uplink:before{content:"๓ฐค‰"}.mdi-satellite-variant:before{content:"๓ฐ‘ฑ"}.mdi-sausage:before{content:"๓ฐขบ"}.mdi-sausage-off:before{content:"๓ฑž‰"}.mdi-saw-blade:before{content:"๓ฐนก"}.mdi-sawtooth-wave:before{content:"๓ฑ‘บ"}.mdi-saxophone:before{content:"๓ฐ˜‰"}.mdi-scale:before{content:"๓ฐ‘ฒ"}.mdi-scale-balance:before{content:"๓ฐ—‘"}.mdi-scale-bathroom:before{content:"๓ฐ‘ณ"}.mdi-scale-off:before{content:"๓ฑš"}.mdi-scale-unbalanced:before{content:"๓ฑฆธ"}.mdi-scan-helper:before{content:"๓ฑ˜"}.mdi-scanner:before{content:"๓ฐšซ"}.mdi-scanner-off:before{content:"๓ฐคŠ"}.mdi-scatter-plot:before{content:"๓ฐป‰"}.mdi-scatter-plot-outline:before{content:"๓ฐปŠ"}.mdi-scent:before{content:"๓ฑฅ˜"}.mdi-scent-off:before{content:"๓ฑฅ™"}.mdi-school:before{content:"๓ฐ‘ด"}.mdi-school-outline:before{content:"๓ฑ†€"}.mdi-scissors-cutting:before{content:"๓ฐฉซ"}.mdi-scooter:before{content:"๓ฑ–ฝ"}.mdi-scooter-electric:before{content:"๓ฑ–พ"}.mdi-scoreboard:before{content:"๓ฑ‰พ"}.mdi-scoreboard-outline:before{content:"๓ฑ‰ฟ"}.mdi-screen-rotation:before{content:"๓ฐ‘ต"}.mdi-screen-rotation-lock:before{content:"๓ฐ‘ธ"}.mdi-screw-flat-top:before{content:"๓ฐทณ"}.mdi-screw-lag:before{content:"๓ฐทด"}.mdi-screw-machine-flat-top:before{content:"๓ฐทต"}.mdi-screw-machine-round-top:before{content:"๓ฐทถ"}.mdi-screw-round-top:before{content:"๓ฐทท"}.mdi-screwdriver:before{content:"๓ฐ‘ถ"}.mdi-script:before{content:"๓ฐฏ"}.mdi-script-outline:before{content:"๓ฐ‘ท"}.mdi-script-text:before{content:"๓ฐฏ‚"}.mdi-script-text-key:before{content:"๓ฑœฅ"}.mdi-script-text-key-outline:before{content:"๓ฑœฆ"}.mdi-script-text-outline:before{content:"๓ฐฏƒ"}.mdi-script-text-play:before{content:"๓ฑœง"}.mdi-script-text-play-outline:before{content:"๓ฑœจ"}.mdi-sd:before{content:"๓ฐ‘น"}.mdi-seal:before{content:"๓ฐ‘บ"}.mdi-seal-variant:before{content:"๓ฐฟ™"}.mdi-search-web:before{content:"๓ฐœ"}.mdi-seat:before{content:"๓ฐณƒ"}.mdi-seat-flat:before{content:"๓ฐ‘ป"}.mdi-seat-flat-angled:before{content:"๓ฐ‘ผ"}.mdi-seat-individual-suite:before{content:"๓ฐ‘ฝ"}.mdi-seat-legroom-extra:before{content:"๓ฐ‘พ"}.mdi-seat-legroom-normal:before{content:"๓ฐ‘ฟ"}.mdi-seat-legroom-reduced:before{content:"๓ฐ’€"}.mdi-seat-outline:before{content:"๓ฐณ„"}.mdi-seat-passenger:before{content:"๓ฑ‰‰"}.mdi-seat-recline-extra:before{content:"๓ฐ’"}.mdi-seat-recline-normal:before{content:"๓ฐ’‚"}.mdi-seatbelt:before{content:"๓ฐณ…"}.mdi-security:before{content:"๓ฐ’ƒ"}.mdi-security-network:before{content:"๓ฐ’„"}.mdi-seed:before{content:"๓ฐนข"}.mdi-seed-off:before{content:"๓ฑฝ"}.mdi-seed-off-outline:before{content:"๓ฑพ"}.mdi-seed-outline:before{content:"๓ฐนฃ"}.mdi-seed-plus:before{content:"๓ฑฉญ"}.mdi-seed-plus-outline:before{content:"๓ฑฉฎ"}.mdi-seesaw:before{content:"๓ฑ–ค"}.mdi-segment:before{content:"๓ฐป‹"}.mdi-select:before{content:"๓ฐ’…"}.mdi-select-all:before{content:"๓ฐ’†"}.mdi-select-arrow-down:before{content:"๓ฑญ™"}.mdi-select-arrow-up:before{content:"๓ฑญ˜"}.mdi-select-color:before{content:"๓ฐดฑ"}.mdi-select-compare:before{content:"๓ฐซ™"}.mdi-select-drag:before{content:"๓ฐฉฌ"}.mdi-select-group:before{content:"๓ฐพ‚"}.mdi-select-inverse:before{content:"๓ฐ’‡"}.mdi-select-marker:before{content:"๓ฑŠ€"}.mdi-select-multiple:before{content:"๓ฑŠ"}.mdi-select-multiple-marker:before{content:"๓ฑŠ‚"}.mdi-select-off:before{content:"๓ฐ’ˆ"}.mdi-select-place:before{content:"๓ฐฟš"}.mdi-select-remove:before{content:"๓ฑŸ"}.mdi-select-search:before{content:"๓ฑˆ„"}.mdi-selection:before{content:"๓ฐ’‰"}.mdi-selection-drag:before{content:"๓ฐฉญ"}.mdi-selection-ellipse:before{content:"๓ฐดฒ"}.mdi-selection-ellipse-arrow-inside:before{content:"๓ฐผข"}.mdi-selection-ellipse-remove:before{content:"๓ฑŸ‚"}.mdi-selection-marker:before{content:"๓ฑŠƒ"}.mdi-selection-multiple:before{content:"๓ฑŠ…"}.mdi-selection-multiple-marker:before{content:"๓ฑŠ„"}.mdi-selection-off:before{content:"๓ฐท"}.mdi-selection-remove:before{content:"๓ฑŸƒ"}.mdi-selection-search:before{content:"๓ฑˆ…"}.mdi-semantic-web:before{content:"๓ฑŒ–"}.mdi-send:before{content:"๓ฐ’Š"}.mdi-send-check:before{content:"๓ฑ…ก"}.mdi-send-check-outline:before{content:"๓ฑ…ข"}.mdi-send-circle:before{content:"๓ฐทธ"}.mdi-send-circle-outline:before{content:"๓ฐทน"}.mdi-send-clock:before{content:"๓ฑ…ฃ"}.mdi-send-clock-outline:before{content:"๓ฑ…ค"}.mdi-send-lock:before{content:"๓ฐŸญ"}.mdi-send-lock-outline:before{content:"๓ฑ…ฆ"}.mdi-send-outline:before{content:"๓ฑ…ฅ"}.mdi-send-variant:before{content:"๓ฑฑ"}.mdi-send-variant-clock:before{content:"๓ฑฑพ"}.mdi-send-variant-clock-outline:before{content:"๓ฑฑฟ"}.mdi-send-variant-outline:before{content:"๓ฑฑŽ"}.mdi-serial-port:before{content:"๓ฐ™œ"}.mdi-server:before{content:"๓ฐ’‹"}.mdi-server-minus:before{content:"๓ฐ’Œ"}.mdi-server-network:before{content:"๓ฐ’"}.mdi-server-network-off:before{content:"๓ฐ’Ž"}.mdi-server-off:before{content:"๓ฐ’"}.mdi-server-plus:before{content:"๓ฐ’"}.mdi-server-remove:before{content:"๓ฐ’‘"}.mdi-server-security:before{content:"๓ฐ’’"}.mdi-set-all:before{content:"๓ฐธ"}.mdi-set-center:before{content:"๓ฐน"}.mdi-set-center-right:before{content:"๓ฐบ"}.mdi-set-left:before{content:"๓ฐป"}.mdi-set-left-center:before{content:"๓ฐผ"}.mdi-set-left-right:before{content:"๓ฐฝ"}.mdi-set-merge:before{content:"๓ฑ“ "}.mdi-set-none:before{content:"๓ฐพ"}.mdi-set-right:before{content:"๓ฐฟ"}.mdi-set-split:before{content:"๓ฑ“ก"}.mdi-set-square:before{content:"๓ฑ‘"}.mdi-set-top-box:before{content:"๓ฐฆŸ"}.mdi-settings-helper:before{content:"๓ฐฉฎ"}.mdi-shaker:before{content:"๓ฑ„Ž"}.mdi-shaker-outline:before{content:"๓ฑ„"}.mdi-shape:before{content:"๓ฐ ฑ"}.mdi-shape-circle-plus:before{content:"๓ฐ™"}.mdi-shape-outline:before{content:"๓ฐ ฒ"}.mdi-shape-oval-plus:before{content:"๓ฑ‡บ"}.mdi-shape-plus:before{content:"๓ฐ’•"}.mdi-shape-plus-outline:before{content:"๓ฑฑ"}.mdi-shape-polygon-plus:before{content:"๓ฐ™ž"}.mdi-shape-rectangle-plus:before{content:"๓ฐ™Ÿ"}.mdi-shape-square-plus:before{content:"๓ฐ™ "}.mdi-shape-square-rounded-plus:before{content:"๓ฑ“บ"}.mdi-share:before{content:"๓ฐ’–"}.mdi-share-all:before{content:"๓ฑ‡ด"}.mdi-share-all-outline:before{content:"๓ฑ‡ต"}.mdi-share-circle:before{content:"๓ฑ†ญ"}.mdi-share-off:before{content:"๓ฐผฃ"}.mdi-share-off-outline:before{content:"๓ฐผค"}.mdi-share-outline:before{content:"๓ฐคฒ"}.mdi-share-variant:before{content:"๓ฐ’—"}.mdi-share-variant-outline:before{content:"๓ฑ””"}.mdi-shark:before{content:"๓ฑขบ"}.mdi-shark-fin:before{content:"๓ฑ™ณ"}.mdi-shark-fin-outline:before{content:"๓ฑ™ด"}.mdi-shark-off:before{content:"๓ฑขป"}.mdi-sheep:before{content:"๓ฐณ†"}.mdi-shield:before{content:"๓ฐ’˜"}.mdi-shield-account:before{content:"๓ฐข"}.mdi-shield-account-outline:before{content:"๓ฐจ’"}.mdi-shield-account-variant:before{content:"๓ฑ–ง"}.mdi-shield-account-variant-outline:before{content:"๓ฑ–จ"}.mdi-shield-airplane:before{content:"๓ฐšป"}.mdi-shield-airplane-outline:before{content:"๓ฐณ‡"}.mdi-shield-alert:before{content:"๓ฐปŒ"}.mdi-shield-alert-outline:before{content:"๓ฐป"}.mdi-shield-bug:before{content:"๓ฑš"}.mdi-shield-bug-outline:before{content:"๓ฑ›"}.mdi-shield-car:before{content:"๓ฐพƒ"}.mdi-shield-check:before{content:"๓ฐ•ฅ"}.mdi-shield-check-outline:before{content:"๓ฐณˆ"}.mdi-shield-cross:before{content:"๓ฐณ‰"}.mdi-shield-cross-outline:before{content:"๓ฐณŠ"}.mdi-shield-crown:before{content:"๓ฑขผ"}.mdi-shield-crown-outline:before{content:"๓ฑขฝ"}.mdi-shield-edit:before{content:"๓ฑ† "}.mdi-shield-edit-outline:before{content:"๓ฑ†ก"}.mdi-shield-half:before{content:"๓ฑ "}.mdi-shield-half-full:before{content:"๓ฐž€"}.mdi-shield-home:before{content:"๓ฐšŠ"}.mdi-shield-home-outline:before{content:"๓ฐณ‹"}.mdi-shield-key:before{content:"๓ฐฏ„"}.mdi-shield-key-outline:before{content:"๓ฐฏ…"}.mdi-shield-link-variant:before{content:"๓ฐดณ"}.mdi-shield-link-variant-outline:before{content:"๓ฐดด"}.mdi-shield-lock:before{content:"๓ฐฆ"}.mdi-shield-lock-open:before{content:"๓ฑฆš"}.mdi-shield-lock-open-outline:before{content:"๓ฑฆ›"}.mdi-shield-lock-outline:before{content:"๓ฐณŒ"}.mdi-shield-moon:before{content:"๓ฑ จ"}.mdi-shield-moon-outline:before{content:"๓ฑ ฉ"}.mdi-shield-off:before{content:"๓ฐฆž"}.mdi-shield-off-outline:before{content:"๓ฐฆœ"}.mdi-shield-outline:before{content:"๓ฐ’™"}.mdi-shield-plus:before{content:"๓ฐซš"}.mdi-shield-plus-outline:before{content:"๓ฐซ›"}.mdi-shield-refresh:before{content:"๓ฐ‚ช"}.mdi-shield-refresh-outline:before{content:"๓ฐ‡ "}.mdi-shield-remove:before{content:"๓ฐซœ"}.mdi-shield-remove-outline:before{content:"๓ฐซ"}.mdi-shield-search:before{content:"๓ฐถš"}.mdi-shield-star:before{content:"๓ฑ„ป"}.mdi-shield-star-outline:before{content:"๓ฑ„ผ"}.mdi-shield-sun:before{content:"๓ฑ"}.mdi-shield-sun-outline:before{content:"๓ฑž"}.mdi-shield-sword:before{content:"๓ฑขพ"}.mdi-shield-sword-outline:before{content:"๓ฑขฟ"}.mdi-shield-sync:before{content:"๓ฑ†ข"}.mdi-shield-sync-outline:before{content:"๓ฑ†ฃ"}.mdi-shimmer:before{content:"๓ฑ•…"}.mdi-ship-wheel:before{content:"๓ฐ ณ"}.mdi-shipping-pallet:before{content:"๓ฑกŽ"}.mdi-shoe-ballet:before{content:"๓ฑ—Š"}.mdi-shoe-cleat:before{content:"๓ฑ—‡"}.mdi-shoe-formal:before{content:"๓ฐญ‡"}.mdi-shoe-heel:before{content:"๓ฐญˆ"}.mdi-shoe-print:before{content:"๓ฐทบ"}.mdi-shoe-sneaker:before{content:"๓ฑ—ˆ"}.mdi-shopping:before{content:"๓ฐ’š"}.mdi-shopping-music:before{content:"๓ฐ’›"}.mdi-shopping-outline:before{content:"๓ฑ‡•"}.mdi-shopping-search:before{content:"๓ฐพ„"}.mdi-shopping-search-outline:before{content:"๓ฑฉฏ"}.mdi-shore:before{content:"๓ฑ“น"}.mdi-shovel:before{content:"๓ฐœ"}.mdi-shovel-off:before{content:"๓ฐœ‘"}.mdi-shower:before{content:"๓ฐฆ "}.mdi-shower-head:before{content:"๓ฐฆก"}.mdi-shredder:before{content:"๓ฐ’œ"}.mdi-shuffle:before{content:"๓ฐ’"}.mdi-shuffle-disabled:before{content:"๓ฐ’ž"}.mdi-shuffle-variant:before{content:"๓ฐ’Ÿ"}.mdi-shuriken:before{content:"๓ฑฟ"}.mdi-sickle:before{content:"๓ฑฃ€"}.mdi-sigma:before{content:"๓ฐ’ "}.mdi-sigma-lower:before{content:"๓ฐ˜ซ"}.mdi-sign-caution:before{content:"๓ฐ’ก"}.mdi-sign-direction:before{content:"๓ฐž"}.mdi-sign-direction-minus:before{content:"๓ฑ€€"}.mdi-sign-direction-plus:before{content:"๓ฐฟœ"}.mdi-sign-direction-remove:before{content:"๓ฐฟ"}.mdi-sign-language:before{content:"๓ฑญ"}.mdi-sign-language-outline:before{content:"๓ฑญŽ"}.mdi-sign-pole:before{content:"๓ฑ“ธ"}.mdi-sign-real-estate:before{content:"๓ฑ„˜"}.mdi-sign-text:before{content:"๓ฐž‚"}.mdi-sign-yield:before{content:"๓ฑฎฏ"}.mdi-signal:before{content:"๓ฐ’ข"}.mdi-signal-2g:before{content:"๓ฐœ’"}.mdi-signal-3g:before{content:"๓ฐœ“"}.mdi-signal-4g:before{content:"๓ฐœ”"}.mdi-signal-5g:before{content:"๓ฐฉฏ"}.mdi-signal-cellular-1:before{content:"๓ฐขผ"}.mdi-signal-cellular-2:before{content:"๓ฐขฝ"}.mdi-signal-cellular-3:before{content:"๓ฐขพ"}.mdi-signal-cellular-outline:before{content:"๓ฐขฟ"}.mdi-signal-distance-variant:before{content:"๓ฐนค"}.mdi-signal-hspa:before{content:"๓ฐœ•"}.mdi-signal-hspa-plus:before{content:"๓ฐœ–"}.mdi-signal-off:before{content:"๓ฐžƒ"}.mdi-signal-variant:before{content:"๓ฐ˜Š"}.mdi-signature:before{content:"๓ฐทป"}.mdi-signature-freehand:before{content:"๓ฐทผ"}.mdi-signature-image:before{content:"๓ฐทฝ"}.mdi-signature-text:before{content:"๓ฐทพ"}.mdi-silo:before{content:"๓ฑฎŸ"}.mdi-silo-outline:before{content:"๓ฐญ‰"}.mdi-silverware:before{content:"๓ฐ’ฃ"}.mdi-silverware-clean:before{content:"๓ฐฟž"}.mdi-silverware-fork:before{content:"๓ฐ’ค"}.mdi-silverware-fork-knife:before{content:"๓ฐฉฐ"}.mdi-silverware-spoon:before{content:"๓ฐ’ฅ"}.mdi-silverware-variant:before{content:"๓ฐ’ฆ"}.mdi-sim:before{content:"๓ฐ’ง"}.mdi-sim-alert:before{content:"๓ฐ’จ"}.mdi-sim-alert-outline:before{content:"๓ฑ—“"}.mdi-sim-off:before{content:"๓ฐ’ฉ"}.mdi-sim-off-outline:before{content:"๓ฑ—”"}.mdi-sim-outline:before{content:"๓ฑ—•"}.mdi-simple-icons:before{content:"๓ฑŒ"}.mdi-sina-weibo:before{content:"๓ฐซŸ"}.mdi-sine-wave:before{content:"๓ฐฅ›"}.mdi-sitemap:before{content:"๓ฐ’ช"}.mdi-sitemap-outline:before{content:"๓ฑฆœ"}.mdi-size-l:before{content:"๓ฑŽฆ"}.mdi-size-m:before{content:"๓ฑŽฅ"}.mdi-size-s:before{content:"๓ฑŽค"}.mdi-size-xl:before{content:"๓ฑŽง"}.mdi-size-xs:before{content:"๓ฑŽฃ"}.mdi-size-xxl:before{content:"๓ฑŽจ"}.mdi-size-xxs:before{content:"๓ฑŽข"}.mdi-size-xxxl:before{content:"๓ฑŽฉ"}.mdi-skate:before{content:"๓ฐดต"}.mdi-skate-off:before{content:"๓ฐš™"}.mdi-skateboard:before{content:"๓ฑ“‚"}.mdi-skateboarding:before{content:"๓ฐ”"}.mdi-skew-less:before{content:"๓ฐดถ"}.mdi-skew-more:before{content:"๓ฐดท"}.mdi-ski:before{content:"๓ฑŒ„"}.mdi-ski-cross-country:before{content:"๓ฑŒ…"}.mdi-ski-water:before{content:"๓ฑŒ†"}.mdi-skip-backward:before{content:"๓ฐ’ซ"}.mdi-skip-backward-outline:before{content:"๓ฐผฅ"}.mdi-skip-forward:before{content:"๓ฐ’ฌ"}.mdi-skip-forward-outline:before{content:"๓ฐผฆ"}.mdi-skip-next:before{content:"๓ฐ’ญ"}.mdi-skip-next-circle:before{content:"๓ฐ™ก"}.mdi-skip-next-circle-outline:before{content:"๓ฐ™ข"}.mdi-skip-next-outline:before{content:"๓ฐผง"}.mdi-skip-previous:before{content:"๓ฐ’ฎ"}.mdi-skip-previous-circle:before{content:"๓ฐ™ฃ"}.mdi-skip-previous-circle-outline:before{content:"๓ฐ™ค"}.mdi-skip-previous-outline:before{content:"๓ฐผจ"}.mdi-skull:before{content:"๓ฐšŒ"}.mdi-skull-crossbones:before{content:"๓ฐฏ†"}.mdi-skull-crossbones-outline:before{content:"๓ฐฏ‡"}.mdi-skull-outline:before{content:"๓ฐฏˆ"}.mdi-skull-scan:before{content:"๓ฑ“‡"}.mdi-skull-scan-outline:before{content:"๓ฑ“ˆ"}.mdi-skype:before{content:"๓ฐ’ฏ"}.mdi-skype-business:before{content:"๓ฐ’ฐ"}.mdi-slack:before{content:"๓ฐ’ฑ"}.mdi-slash-forward:before{content:"๓ฐฟŸ"}.mdi-slash-forward-box:before{content:"๓ฐฟ "}.mdi-sledding:before{content:"๓ฐ›"}.mdi-sleep:before{content:"๓ฐ’ฒ"}.mdi-sleep-off:before{content:"๓ฐ’ณ"}.mdi-slide:before{content:"๓ฑ–ฅ"}.mdi-slope-downhill:before{content:"๓ฐทฟ"}.mdi-slope-uphill:before{content:"๓ฐธ€"}.mdi-slot-machine:before{content:"๓ฑ„”"}.mdi-slot-machine-outline:before{content:"๓ฑ„•"}.mdi-smart-card:before{content:"๓ฑ‚ฝ"}.mdi-smart-card-off:before{content:"๓ฑฃท"}.mdi-smart-card-off-outline:before{content:"๓ฑฃธ"}.mdi-smart-card-outline:before{content:"๓ฑ‚พ"}.mdi-smart-card-reader:before{content:"๓ฑ‚ฟ"}.mdi-smart-card-reader-outline:before{content:"๓ฑƒ€"}.mdi-smog:before{content:"๓ฐฉฑ"}.mdi-smoke:before{content:"๓ฑž™"}.mdi-smoke-detector:before{content:"๓ฐŽ’"}.mdi-smoke-detector-alert:before{content:"๓ฑคฎ"}.mdi-smoke-detector-alert-outline:before{content:"๓ฑคฏ"}.mdi-smoke-detector-off:before{content:"๓ฑ ‰"}.mdi-smoke-detector-off-outline:before{content:"๓ฑ Š"}.mdi-smoke-detector-outline:before{content:"๓ฑ ˆ"}.mdi-smoke-detector-variant:before{content:"๓ฑ ‹"}.mdi-smoke-detector-variant-alert:before{content:"๓ฑคฐ"}.mdi-smoke-detector-variant-off:before{content:"๓ฑ Œ"}.mdi-smoking:before{content:"๓ฐ’ด"}.mdi-smoking-off:before{content:"๓ฐ’ต"}.mdi-smoking-pipe:before{content:"๓ฑ"}.mdi-smoking-pipe-off:before{content:"๓ฑจ"}.mdi-snail:before{content:"๓ฑ™ท"}.mdi-snake:before{content:"๓ฑ”Ž"}.mdi-snapchat:before{content:"๓ฐ’ถ"}.mdi-snowboard:before{content:"๓ฑŒ‡"}.mdi-snowflake:before{content:"๓ฐœ—"}.mdi-snowflake-alert:before{content:"๓ฐผฉ"}.mdi-snowflake-check:before{content:"๓ฑฉฐ"}.mdi-snowflake-melt:before{content:"๓ฑ‹‹"}.mdi-snowflake-off:before{content:"๓ฑ“ฃ"}.mdi-snowflake-thermometer:before{content:"๓ฑฉฑ"}.mdi-snowflake-variant:before{content:"๓ฐผช"}.mdi-snowman:before{content:"๓ฐ’ท"}.mdi-snowmobile:before{content:"๓ฐ›"}.mdi-snowshoeing:before{content:"๓ฑฉฒ"}.mdi-soccer:before{content:"๓ฐ’ธ"}.mdi-soccer-field:before{content:"๓ฐ ด"}.mdi-social-distance-2-meters:before{content:"๓ฑ•น"}.mdi-social-distance-6-feet:before{content:"๓ฑ•บ"}.mdi-sofa:before{content:"๓ฐ’น"}.mdi-sofa-outline:before{content:"๓ฑ•ญ"}.mdi-sofa-single:before{content:"๓ฑ•ฎ"}.mdi-sofa-single-outline:before{content:"๓ฑ•ฏ"}.mdi-solar-panel:before{content:"๓ฐถ›"}.mdi-solar-panel-large:before{content:"๓ฐถœ"}.mdi-solar-power:before{content:"๓ฐฉฒ"}.mdi-solar-power-variant:before{content:"๓ฑฉณ"}.mdi-solar-power-variant-outline:before{content:"๓ฑฉด"}.mdi-soldering-iron:before{content:"๓ฑ‚’"}.mdi-solid:before{content:"๓ฐš"}.mdi-sony-playstation:before{content:"๓ฐ”"}.mdi-sort:before{content:"๓ฐ’บ"}.mdi-sort-alphabetical-ascending:before{content:"๓ฐ–ฝ"}.mdi-sort-alphabetical-ascending-variant:before{content:"๓ฑ…ˆ"}.mdi-sort-alphabetical-descending:before{content:"๓ฐ–ฟ"}.mdi-sort-alphabetical-descending-variant:before{content:"๓ฑ…‰"}.mdi-sort-alphabetical-variant:before{content:"๓ฐ’ป"}.mdi-sort-ascending:before{content:"๓ฐ’ผ"}.mdi-sort-bool-ascending:before{content:"๓ฑŽ…"}.mdi-sort-bool-ascending-variant:before{content:"๓ฑŽ†"}.mdi-sort-bool-descending:before{content:"๓ฑŽ‡"}.mdi-sort-bool-descending-variant:before{content:"๓ฑŽˆ"}.mdi-sort-calendar-ascending:before{content:"๓ฑ•‡"}.mdi-sort-calendar-descending:before{content:"๓ฑ•ˆ"}.mdi-sort-clock-ascending:before{content:"๓ฑ•‰"}.mdi-sort-clock-ascending-outline:before{content:"๓ฑ•Š"}.mdi-sort-clock-descending:before{content:"๓ฑ•‹"}.mdi-sort-clock-descending-outline:before{content:"๓ฑ•Œ"}.mdi-sort-descending:before{content:"๓ฐ’ฝ"}.mdi-sort-numeric-ascending:before{content:"๓ฑŽ‰"}.mdi-sort-numeric-ascending-variant:before{content:"๓ฐค"}.mdi-sort-numeric-descending:before{content:"๓ฑŽŠ"}.mdi-sort-numeric-descending-variant:before{content:"๓ฐซ’"}.mdi-sort-numeric-variant:before{content:"๓ฐ’พ"}.mdi-sort-reverse-variant:before{content:"๓ฐŒผ"}.mdi-sort-variant:before{content:"๓ฐ’ฟ"}.mdi-sort-variant-lock:before{content:"๓ฐณ"}.mdi-sort-variant-lock-open:before{content:"๓ฐณŽ"}.mdi-sort-variant-off:before{content:"๓ฑชป"}.mdi-sort-variant-remove:before{content:"๓ฑ…‡"}.mdi-soundbar:before{content:"๓ฑŸ›"}.mdi-soundcloud:before{content:"๓ฐ“€"}.mdi-source-branch:before{content:"๓ฐ˜ฌ"}.mdi-source-branch-check:before{content:"๓ฑ“"}.mdi-source-branch-minus:before{content:"๓ฑ“‹"}.mdi-source-branch-plus:before{content:"๓ฑ“Š"}.mdi-source-branch-refresh:before{content:"๓ฑ“"}.mdi-source-branch-remove:before{content:"๓ฑ“Œ"}.mdi-source-branch-sync:before{content:"๓ฑ“Ž"}.mdi-source-commit:before{content:"๓ฐœ˜"}.mdi-source-commit-end:before{content:"๓ฐœ™"}.mdi-source-commit-end-local:before{content:"๓ฐœš"}.mdi-source-commit-local:before{content:"๓ฐœ›"}.mdi-source-commit-next-local:before{content:"๓ฐœœ"}.mdi-source-commit-start:before{content:"๓ฐœ"}.mdi-source-commit-start-next-local:before{content:"๓ฐœž"}.mdi-source-fork:before{content:"๓ฐ“"}.mdi-source-merge:before{content:"๓ฐ˜ญ"}.mdi-source-pull:before{content:"๓ฐ“‚"}.mdi-source-repository:before{content:"๓ฐณ"}.mdi-source-repository-multiple:before{content:"๓ฐณ"}.mdi-soy-sauce:before{content:"๓ฐŸฎ"}.mdi-soy-sauce-off:before{content:"๓ฑผ"}.mdi-spa:before{content:"๓ฐณ‘"}.mdi-spa-outline:before{content:"๓ฐณ’"}.mdi-space-invaders:before{content:"๓ฐฏ‰"}.mdi-space-station:before{content:"๓ฑŽƒ"}.mdi-spade:before{content:"๓ฐนฅ"}.mdi-speaker:before{content:"๓ฐ“ƒ"}.mdi-speaker-bluetooth:before{content:"๓ฐฆข"}.mdi-speaker-message:before{content:"๓ฑฌ‘"}.mdi-speaker-multiple:before{content:"๓ฐดธ"}.mdi-speaker-off:before{content:"๓ฐ“„"}.mdi-speaker-pause:before{content:"๓ฑญณ"}.mdi-speaker-play:before{content:"๓ฑญฒ"}.mdi-speaker-stop:before{content:"๓ฑญด"}.mdi-speaker-wireless:before{content:"๓ฐœŸ"}.mdi-spear:before{content:"๓ฑก…"}.mdi-speedometer:before{content:"๓ฐ“…"}.mdi-speedometer-medium:before{content:"๓ฐพ…"}.mdi-speedometer-slow:before{content:"๓ฐพ†"}.mdi-spellcheck:before{content:"๓ฐ“†"}.mdi-sphere:before{content:"๓ฑฅ”"}.mdi-sphere-off:before{content:"๓ฑฅ•"}.mdi-spider:before{content:"๓ฑ‡ช"}.mdi-spider-outline:before{content:"๓ฑฑต"}.mdi-spider-thread:before{content:"๓ฑ‡ซ"}.mdi-spider-web:before{content:"๓ฐฏŠ"}.mdi-spirit-level:before{content:"๓ฑ“ฑ"}.mdi-spoon-sugar:before{content:"๓ฑฉ"}.mdi-spotify:before{content:"๓ฐ“‡"}.mdi-spotlight:before{content:"๓ฐ“ˆ"}.mdi-spotlight-beam:before{content:"๓ฐ“‰"}.mdi-spray:before{content:"๓ฐ™ฅ"}.mdi-spray-bottle:before{content:"๓ฐซ "}.mdi-sprinkler:before{content:"๓ฑŸ"}.mdi-sprinkler-fire:before{content:"๓ฑฆ"}.mdi-sprinkler-variant:before{content:"๓ฑ "}.mdi-sprout:before{content:"๓ฐนฆ"}.mdi-sprout-outline:before{content:"๓ฐนง"}.mdi-square:before{content:"๓ฐค"}.mdi-square-circle:before{content:"๓ฑ”€"}.mdi-square-circle-outline:before{content:"๓ฑฑ"}.mdi-square-edit-outline:before{content:"๓ฐคŒ"}.mdi-square-medium:before{content:"๓ฐจ“"}.mdi-square-medium-outline:before{content:"๓ฐจ”"}.mdi-square-off:before{content:"๓ฑ‹ฎ"}.mdi-square-off-outline:before{content:"๓ฑ‹ฏ"}.mdi-square-opacity:before{content:"๓ฑก”"}.mdi-square-outline:before{content:"๓ฐฃ"}.mdi-square-root:before{content:"๓ฐž„"}.mdi-square-root-box:before{content:"๓ฐฆฃ"}.mdi-square-rounded:before{content:"๓ฑ“ป"}.mdi-square-rounded-badge:before{content:"๓ฑจ‡"}.mdi-square-rounded-badge-outline:before{content:"๓ฑจˆ"}.mdi-square-rounded-outline:before{content:"๓ฑ“ผ"}.mdi-square-small:before{content:"๓ฐจ•"}.mdi-square-wave:before{content:"๓ฑ‘ป"}.mdi-squeegee:before{content:"๓ฐซก"}.mdi-ssh:before{content:"๓ฐฃ€"}.mdi-stack-exchange:before{content:"๓ฐ˜‹"}.mdi-stack-overflow:before{content:"๓ฐ“Œ"}.mdi-stackpath:before{content:"๓ฐ™"}.mdi-stadium:before{content:"๓ฐฟน"}.mdi-stadium-outline:before{content:"๓ฑฌƒ"}.mdi-stadium-variant:before{content:"๓ฐœ "}.mdi-stairs:before{content:"๓ฐ“"}.mdi-stairs-box:before{content:"๓ฑŽž"}.mdi-stairs-down:before{content:"๓ฑŠพ"}.mdi-stairs-up:before{content:"๓ฑŠฝ"}.mdi-stamper:before{content:"๓ฐดน"}.mdi-standard-definition:before{content:"๓ฐŸฏ"}.mdi-star:before{content:"๓ฐ“Ž"}.mdi-star-box:before{content:"๓ฐฉณ"}.mdi-star-box-multiple:before{content:"๓ฑŠ†"}.mdi-star-box-multiple-outline:before{content:"๓ฑŠ‡"}.mdi-star-box-outline:before{content:"๓ฐฉด"}.mdi-star-check:before{content:"๓ฑ•ฆ"}.mdi-star-check-outline:before{content:"๓ฑ•ช"}.mdi-star-circle:before{content:"๓ฐ“"}.mdi-star-circle-outline:before{content:"๓ฐฆค"}.mdi-star-cog:before{content:"๓ฑ™จ"}.mdi-star-cog-outline:before{content:"๓ฑ™ฉ"}.mdi-star-crescent:before{content:"๓ฐฅน"}.mdi-star-david:before{content:"๓ฐฅบ"}.mdi-star-face:before{content:"๓ฐฆฅ"}.mdi-star-four-points:before{content:"๓ฐซข"}.mdi-star-four-points-box:before{content:"๓ฑฑ‘"}.mdi-star-four-points-box-outline:before{content:"๓ฑฑ’"}.mdi-star-four-points-circle:before{content:"๓ฑฑ“"}.mdi-star-four-points-circle-outline:before{content:"๓ฑฑ”"}.mdi-star-four-points-outline:before{content:"๓ฐซฃ"}.mdi-star-four-points-small:before{content:"๓ฑฑ•"}.mdi-star-half:before{content:"๓ฐ‰†"}.mdi-star-half-full:before{content:"๓ฐ“"}.mdi-star-minus:before{content:"๓ฑ•ค"}.mdi-star-minus-outline:before{content:"๓ฑ•จ"}.mdi-star-off:before{content:"๓ฐ“‘"}.mdi-star-off-outline:before{content:"๓ฑ•›"}.mdi-star-outline:before{content:"๓ฐ“’"}.mdi-star-plus:before{content:"๓ฑ•ฃ"}.mdi-star-plus-outline:before{content:"๓ฑ•ง"}.mdi-star-remove:before{content:"๓ฑ•ฅ"}.mdi-star-remove-outline:before{content:"๓ฑ•ฉ"}.mdi-star-settings:before{content:"๓ฑ™ช"}.mdi-star-settings-outline:before{content:"๓ฑ™ซ"}.mdi-star-shooting:before{content:"๓ฑ"}.mdi-star-shooting-outline:before{content:"๓ฑ‚"}.mdi-star-three-points:before{content:"๓ฐซค"}.mdi-star-three-points-outline:before{content:"๓ฐซฅ"}.mdi-state-machine:before{content:"๓ฑ‡ฏ"}.mdi-steam:before{content:"๓ฐ““"}.mdi-steering:before{content:"๓ฐ“”"}.mdi-steering-off:before{content:"๓ฐคŽ"}.mdi-step-backward:before{content:"๓ฐ“•"}.mdi-step-backward-2:before{content:"๓ฐ“–"}.mdi-step-forward:before{content:"๓ฐ“—"}.mdi-step-forward-2:before{content:"๓ฐ“˜"}.mdi-stethoscope:before{content:"๓ฐ“™"}.mdi-sticker:before{content:"๓ฑค"}.mdi-sticker-alert:before{content:"๓ฑฅ"}.mdi-sticker-alert-outline:before{content:"๓ฑฆ"}.mdi-sticker-check:before{content:"๓ฑง"}.mdi-sticker-check-outline:before{content:"๓ฑจ"}.mdi-sticker-circle-outline:before{content:"๓ฐ—"}.mdi-sticker-emoji:before{content:"๓ฐž…"}.mdi-sticker-minus:before{content:"๓ฑฉ"}.mdi-sticker-minus-outline:before{content:"๓ฑช"}.mdi-sticker-outline:before{content:"๓ฑซ"}.mdi-sticker-plus:before{content:"๓ฑฌ"}.mdi-sticker-plus-outline:before{content:"๓ฑญ"}.mdi-sticker-remove:before{content:"๓ฑฎ"}.mdi-sticker-remove-outline:before{content:"๓ฑฏ"}.mdi-sticker-text:before{content:"๓ฑžŽ"}.mdi-sticker-text-outline:before{content:"๓ฑž"}.mdi-stocking:before{content:"๓ฐ“š"}.mdi-stomach:before{content:"๓ฑ‚“"}.mdi-stool:before{content:"๓ฑฅ"}.mdi-stool-outline:before{content:"๓ฑฅž"}.mdi-stop:before{content:"๓ฐ“›"}.mdi-stop-circle:before{content:"๓ฐ™ฆ"}.mdi-stop-circle-outline:before{content:"๓ฐ™ง"}.mdi-storage-tank:before{content:"๓ฑฉต"}.mdi-storage-tank-outline:before{content:"๓ฑฉถ"}.mdi-store:before{content:"๓ฐ“œ"}.mdi-store-24-hour:before{content:"๓ฐ“"}.mdi-store-alert:before{content:"๓ฑฃ"}.mdi-store-alert-outline:before{content:"๓ฑฃ‚"}.mdi-store-check:before{content:"๓ฑฃƒ"}.mdi-store-check-outline:before{content:"๓ฑฃ„"}.mdi-store-clock:before{content:"๓ฑฃ…"}.mdi-store-clock-outline:before{content:"๓ฑฃ†"}.mdi-store-cog:before{content:"๓ฑฃ‡"}.mdi-store-cog-outline:before{content:"๓ฑฃˆ"}.mdi-store-edit:before{content:"๓ฑฃ‰"}.mdi-store-edit-outline:before{content:"๓ฑฃŠ"}.mdi-store-marker:before{content:"๓ฑฃ‹"}.mdi-store-marker-outline:before{content:"๓ฑฃŒ"}.mdi-store-minus:before{content:"๓ฑ™ž"}.mdi-store-minus-outline:before{content:"๓ฑฃ"}.mdi-store-off:before{content:"๓ฑฃŽ"}.mdi-store-off-outline:before{content:"๓ฑฃ"}.mdi-store-outline:before{content:"๓ฑก"}.mdi-store-plus:before{content:"๓ฑ™Ÿ"}.mdi-store-plus-outline:before{content:"๓ฑฃ"}.mdi-store-remove:before{content:"๓ฑ™ "}.mdi-store-remove-outline:before{content:"๓ฑฃ‘"}.mdi-store-search:before{content:"๓ฑฃ’"}.mdi-store-search-outline:before{content:"๓ฑฃ“"}.mdi-store-settings:before{content:"๓ฑฃ”"}.mdi-store-settings-outline:before{content:"๓ฑฃ•"}.mdi-storefront:before{content:"๓ฐŸ‡"}.mdi-storefront-check:before{content:"๓ฑญฝ"}.mdi-storefront-check-outline:before{content:"๓ฑญพ"}.mdi-storefront-edit:before{content:"๓ฑญฟ"}.mdi-storefront-edit-outline:before{content:"๓ฑฎ€"}.mdi-storefront-minus:before{content:"๓ฑฎƒ"}.mdi-storefront-minus-outline:before{content:"๓ฑฎ„"}.mdi-storefront-outline:before{content:"๓ฑƒ"}.mdi-storefront-plus:before{content:"๓ฑฎ"}.mdi-storefront-plus-outline:before{content:"๓ฑฎ‚"}.mdi-storefront-remove:before{content:"๓ฑฎ…"}.mdi-storefront-remove-outline:before{content:"๓ฑฎ†"}.mdi-stove:before{content:"๓ฐ“ž"}.mdi-strategy:before{content:"๓ฑ‡–"}.mdi-stretch-to-page:before{content:"๓ฐผซ"}.mdi-stretch-to-page-outline:before{content:"๓ฐผฌ"}.mdi-string-lights:before{content:"๓ฑŠบ"}.mdi-string-lights-off:before{content:"๓ฑŠป"}.mdi-subdirectory-arrow-left:before{content:"๓ฐ˜Œ"}.mdi-subdirectory-arrow-right:before{content:"๓ฐ˜"}.mdi-submarine:before{content:"๓ฑ•ฌ"}.mdi-subtitles:before{content:"๓ฐจ–"}.mdi-subtitles-outline:before{content:"๓ฐจ—"}.mdi-subway:before{content:"๓ฐšฌ"}.mdi-subway-alert-variant:before{content:"๓ฐถ"}.mdi-subway-variant:before{content:"๓ฐ“Ÿ"}.mdi-summit:before{content:"๓ฐž†"}.mdi-sun-angle:before{content:"๓ฑฌง"}.mdi-sun-angle-outline:before{content:"๓ฑฌจ"}.mdi-sun-clock:before{content:"๓ฑฉท"}.mdi-sun-clock-outline:before{content:"๓ฑฉธ"}.mdi-sun-compass:before{content:"๓ฑฆฅ"}.mdi-sun-snowflake:before{content:"๓ฑž–"}.mdi-sun-snowflake-variant:before{content:"๓ฑฉน"}.mdi-sun-thermometer:before{content:"๓ฑฃ–"}.mdi-sun-thermometer-outline:before{content:"๓ฑฃ—"}.mdi-sun-wireless:before{content:"๓ฑŸพ"}.mdi-sun-wireless-outline:before{content:"๓ฑŸฟ"}.mdi-sunglasses:before{content:"๓ฐ“ "}.mdi-surfing:before{content:"๓ฑ†"}.mdi-surround-sound:before{content:"๓ฐ—…"}.mdi-surround-sound-2-0:before{content:"๓ฐŸฐ"}.mdi-surround-sound-2-1:before{content:"๓ฑœฉ"}.mdi-surround-sound-3-1:before{content:"๓ฐŸฑ"}.mdi-surround-sound-5-1:before{content:"๓ฐŸฒ"}.mdi-surround-sound-5-1-2:before{content:"๓ฑœช"}.mdi-surround-sound-7-1:before{content:"๓ฐŸณ"}.mdi-svg:before{content:"๓ฐœก"}.mdi-swap-horizontal:before{content:"๓ฐ“ก"}.mdi-swap-horizontal-bold:before{content:"๓ฐฏ"}.mdi-swap-horizontal-circle:before{content:"๓ฐฟก"}.mdi-swap-horizontal-circle-outline:before{content:"๓ฐฟข"}.mdi-swap-horizontal-variant:before{content:"๓ฐฃ"}.mdi-swap-vertical:before{content:"๓ฐ“ข"}.mdi-swap-vertical-bold:before{content:"๓ฐฏŽ"}.mdi-swap-vertical-circle:before{content:"๓ฐฟฃ"}.mdi-swap-vertical-circle-outline:before{content:"๓ฐฟค"}.mdi-swap-vertical-variant:before{content:"๓ฐฃ‚"}.mdi-swim:before{content:"๓ฐ“ฃ"}.mdi-switch:before{content:"๓ฐ“ค"}.mdi-sword:before{content:"๓ฐ“ฅ"}.mdi-sword-cross:before{content:"๓ฐž‡"}.mdi-syllabary-hangul:before{content:"๓ฑŒณ"}.mdi-syllabary-hiragana:before{content:"๓ฑŒด"}.mdi-syllabary-katakana:before{content:"๓ฑŒต"}.mdi-syllabary-katakana-halfwidth:before{content:"๓ฑŒถ"}.mdi-symbol:before{content:"๓ฑ”"}.mdi-symfony:before{content:"๓ฐซฆ"}.mdi-synagogue:before{content:"๓ฑฌ„"}.mdi-synagogue-outline:before{content:"๓ฑฌ…"}.mdi-sync:before{content:"๓ฐ“ฆ"}.mdi-sync-alert:before{content:"๓ฐ“ง"}.mdi-sync-circle:before{content:"๓ฑธ"}.mdi-sync-off:before{content:"๓ฐ“จ"}.mdi-tab:before{content:"๓ฐ“ฉ"}.mdi-tab-minus:before{content:"๓ฐญ‹"}.mdi-tab-plus:before{content:"๓ฐœ"}.mdi-tab-remove:before{content:"๓ฐญŒ"}.mdi-tab-search:before{content:"๓ฑฆž"}.mdi-tab-unselected:before{content:"๓ฐ“ช"}.mdi-table:before{content:"๓ฐ“ซ"}.mdi-table-account:before{content:"๓ฑŽน"}.mdi-table-alert:before{content:"๓ฑŽบ"}.mdi-table-arrow-down:before{content:"๓ฑŽป"}.mdi-table-arrow-left:before{content:"๓ฑŽผ"}.mdi-table-arrow-right:before{content:"๓ฑŽฝ"}.mdi-table-arrow-up:before{content:"๓ฑŽพ"}.mdi-table-border:before{content:"๓ฐจ˜"}.mdi-table-cancel:before{content:"๓ฑŽฟ"}.mdi-table-chair:before{content:"๓ฑก"}.mdi-table-check:before{content:"๓ฑ€"}.mdi-table-clock:before{content:"๓ฑ"}.mdi-table-cog:before{content:"๓ฑ‚"}.mdi-table-column:before{content:"๓ฐ ต"}.mdi-table-column-plus-after:before{content:"๓ฐ“ฌ"}.mdi-table-column-plus-before:before{content:"๓ฐ“ญ"}.mdi-table-column-remove:before{content:"๓ฐ“ฎ"}.mdi-table-column-width:before{content:"๓ฐ“ฏ"}.mdi-table-edit:before{content:"๓ฐ“ฐ"}.mdi-table-eye:before{content:"๓ฑ‚”"}.mdi-table-eye-off:before{content:"๓ฑƒ"}.mdi-table-filter:before{content:"๓ฑฎŒ"}.mdi-table-furniture:before{content:"๓ฐ–ผ"}.mdi-table-headers-eye:before{content:"๓ฑˆ"}.mdi-table-headers-eye-off:before{content:"๓ฑˆž"}.mdi-table-heart:before{content:"๓ฑ„"}.mdi-table-key:before{content:"๓ฑ…"}.mdi-table-large:before{content:"๓ฐ“ฑ"}.mdi-table-large-plus:before{content:"๓ฐพ‡"}.mdi-table-large-remove:before{content:"๓ฐพˆ"}.mdi-table-lock:before{content:"๓ฑ†"}.mdi-table-merge-cells:before{content:"๓ฐฆฆ"}.mdi-table-minus:before{content:"๓ฑ‡"}.mdi-table-multiple:before{content:"๓ฑˆ"}.mdi-table-network:before{content:"๓ฑ‰"}.mdi-table-of-contents:before{content:"๓ฐ ถ"}.mdi-table-off:before{content:"๓ฑŠ"}.mdi-table-picnic:before{content:"๓ฑƒ"}.mdi-table-pivot:before{content:"๓ฑ ผ"}.mdi-table-plus:before{content:"๓ฐฉต"}.mdi-table-question:before{content:"๓ฑฌก"}.mdi-table-refresh:before{content:"๓ฑŽ "}.mdi-table-remove:before{content:"๓ฐฉถ"}.mdi-table-row:before{content:"๓ฐ ท"}.mdi-table-row-height:before{content:"๓ฐ“ฒ"}.mdi-table-row-plus-after:before{content:"๓ฐ“ณ"}.mdi-table-row-plus-before:before{content:"๓ฐ“ด"}.mdi-table-row-remove:before{content:"๓ฐ“ต"}.mdi-table-search:before{content:"๓ฐค"}.mdi-table-settings:before{content:"๓ฐ ธ"}.mdi-table-split-cell:before{content:"๓ฑช"}.mdi-table-star:before{content:"๓ฑ‹"}.mdi-table-sync:before{content:"๓ฑŽก"}.mdi-table-tennis:before{content:"๓ฐนจ"}.mdi-tablet:before{content:"๓ฐ“ถ"}.mdi-tablet-cellphone:before{content:"๓ฐฆง"}.mdi-tablet-dashboard:before{content:"๓ฐปŽ"}.mdi-taco:before{content:"๓ฐข"}.mdi-tag:before{content:"๓ฐ“น"}.mdi-tag-arrow-down:before{content:"๓ฑœซ"}.mdi-tag-arrow-down-outline:before{content:"๓ฑœฌ"}.mdi-tag-arrow-left:before{content:"๓ฑœญ"}.mdi-tag-arrow-left-outline:before{content:"๓ฑœฎ"}.mdi-tag-arrow-right:before{content:"๓ฑœฏ"}.mdi-tag-arrow-right-outline:before{content:"๓ฑœฐ"}.mdi-tag-arrow-up:before{content:"๓ฑœฑ"}.mdi-tag-arrow-up-outline:before{content:"๓ฑœฒ"}.mdi-tag-check:before{content:"๓ฑฉบ"}.mdi-tag-check-outline:before{content:"๓ฑฉป"}.mdi-tag-faces:before{content:"๓ฐ“บ"}.mdi-tag-heart:before{content:"๓ฐš‹"}.mdi-tag-heart-outline:before{content:"๓ฐฏ"}.mdi-tag-hidden:before{content:"๓ฑฑถ"}.mdi-tag-minus:before{content:"๓ฐค"}.mdi-tag-minus-outline:before{content:"๓ฑˆŸ"}.mdi-tag-multiple:before{content:"๓ฐ“ป"}.mdi-tag-multiple-outline:before{content:"๓ฑ‹ท"}.mdi-tag-off:before{content:"๓ฑˆ "}.mdi-tag-off-outline:before{content:"๓ฑˆก"}.mdi-tag-outline:before{content:"๓ฐ“ผ"}.mdi-tag-plus:before{content:"๓ฐœข"}.mdi-tag-plus-outline:before{content:"๓ฑˆข"}.mdi-tag-remove:before{content:"๓ฐœฃ"}.mdi-tag-remove-outline:before{content:"๓ฑˆฃ"}.mdi-tag-search:before{content:"๓ฑค‡"}.mdi-tag-search-outline:before{content:"๓ฑคˆ"}.mdi-tag-text:before{content:"๓ฑˆค"}.mdi-tag-text-outline:before{content:"๓ฐ“ฝ"}.mdi-tailwind:before{content:"๓ฑฟ"}.mdi-tally-mark-1:before{content:"๓ฑชผ"}.mdi-tally-mark-2:before{content:"๓ฑชฝ"}.mdi-tally-mark-3:before{content:"๓ฑชพ"}.mdi-tally-mark-4:before{content:"๓ฑชฟ"}.mdi-tally-mark-5:before{content:"๓ฑซ€"}.mdi-tangram:before{content:"๓ฐ“ธ"}.mdi-tank:before{content:"๓ฐดบ"}.mdi-tanker-truck:before{content:"๓ฐฟฅ"}.mdi-tape-drive:before{content:"๓ฑ›Ÿ"}.mdi-tape-measure:before{content:"๓ฐญ"}.mdi-target:before{content:"๓ฐ“พ"}.mdi-target-account:before{content:"๓ฐฏ"}.mdi-target-variant:before{content:"๓ฐฉท"}.mdi-taxi:before{content:"๓ฐ“ฟ"}.mdi-tea:before{content:"๓ฐถž"}.mdi-tea-outline:before{content:"๓ฐถŸ"}.mdi-teamviewer:before{content:"๓ฐ”€"}.mdi-teddy-bear:before{content:"๓ฑฃป"}.mdi-telescope:before{content:"๓ฐญŽ"}.mdi-television:before{content:"๓ฐ”‚"}.mdi-television-ambient-light:before{content:"๓ฑ–"}.mdi-television-box:before{content:"๓ฐ น"}.mdi-television-classic:before{content:"๓ฐŸด"}.mdi-television-classic-off:before{content:"๓ฐ บ"}.mdi-television-guide:before{content:"๓ฐ”ƒ"}.mdi-television-off:before{content:"๓ฐ ป"}.mdi-television-pause:before{content:"๓ฐพ‰"}.mdi-television-play:before{content:"๓ฐป"}.mdi-television-shimmer:before{content:"๓ฑ„"}.mdi-television-speaker:before{content:"๓ฑฌ›"}.mdi-television-speaker-off:before{content:"๓ฑฌœ"}.mdi-television-stop:before{content:"๓ฐพŠ"}.mdi-temperature-celsius:before{content:"๓ฐ”„"}.mdi-temperature-fahrenheit:before{content:"๓ฐ”…"}.mdi-temperature-kelvin:before{content:"๓ฐ”†"}.mdi-temple-buddhist:before{content:"๓ฑฌ†"}.mdi-temple-buddhist-outline:before{content:"๓ฑฌ‡"}.mdi-temple-hindu:before{content:"๓ฑฌˆ"}.mdi-temple-hindu-outline:before{content:"๓ฑฌ‰"}.mdi-tennis:before{content:"๓ฐถ "}.mdi-tennis-ball:before{content:"๓ฐ”‡"}.mdi-tennis-ball-outline:before{content:"๓ฑฑŸ"}.mdi-tent:before{content:"๓ฐ”ˆ"}.mdi-terraform:before{content:"๓ฑข"}.mdi-terrain:before{content:"๓ฐ”‰"}.mdi-test-tube:before{content:"๓ฐ™จ"}.mdi-test-tube-empty:before{content:"๓ฐค‘"}.mdi-test-tube-off:before{content:"๓ฐค’"}.mdi-text:before{content:"๓ฐฆจ"}.mdi-text-account:before{content:"๓ฑ•ฐ"}.mdi-text-box:before{content:"๓ฐˆš"}.mdi-text-box-check:before{content:"๓ฐบฆ"}.mdi-text-box-check-outline:before{content:"๓ฐบง"}.mdi-text-box-edit:before{content:"๓ฑฉผ"}.mdi-text-box-edit-outline:before{content:"๓ฑฉฝ"}.mdi-text-box-minus:before{content:"๓ฐบจ"}.mdi-text-box-minus-outline:before{content:"๓ฐบฉ"}.mdi-text-box-multiple:before{content:"๓ฐชท"}.mdi-text-box-multiple-outline:before{content:"๓ฐชธ"}.mdi-text-box-outline:before{content:"๓ฐงญ"}.mdi-text-box-plus:before{content:"๓ฐบช"}.mdi-text-box-plus-outline:before{content:"๓ฐบซ"}.mdi-text-box-remove:before{content:"๓ฐบฌ"}.mdi-text-box-remove-outline:before{content:"๓ฐบญ"}.mdi-text-box-search:before{content:"๓ฐบฎ"}.mdi-text-box-search-outline:before{content:"๓ฐบฏ"}.mdi-text-long:before{content:"๓ฐฆช"}.mdi-text-recognition:before{content:"๓ฑ„ฝ"}.mdi-text-search:before{content:"๓ฑŽธ"}.mdi-text-search-variant:before{content:"๓ฑฉพ"}.mdi-text-shadow:before{content:"๓ฐ™ฉ"}.mdi-text-short:before{content:"๓ฐฆฉ"}.mdi-texture:before{content:"๓ฐ”Œ"}.mdi-texture-box:before{content:"๓ฐฟฆ"}.mdi-theater:before{content:"๓ฐ”"}.mdi-theme-light-dark:before{content:"๓ฐ”Ž"}.mdi-thermometer:before{content:"๓ฐ”"}.mdi-thermometer-alert:before{content:"๓ฐธ"}.mdi-thermometer-auto:before{content:"๓ฑฌ"}.mdi-thermometer-bluetooth:before{content:"๓ฑข•"}.mdi-thermometer-check:before{content:"๓ฑฉฟ"}.mdi-thermometer-chevron-down:before{content:"๓ฐธ‚"}.mdi-thermometer-chevron-up:before{content:"๓ฐธƒ"}.mdi-thermometer-high:before{content:"๓ฑƒ‚"}.mdi-thermometer-lines:before{content:"๓ฐ”"}.mdi-thermometer-low:before{content:"๓ฑƒƒ"}.mdi-thermometer-minus:before{content:"๓ฐธ„"}.mdi-thermometer-off:before{content:"๓ฑ”ฑ"}.mdi-thermometer-plus:before{content:"๓ฐธ…"}.mdi-thermometer-probe:before{content:"๓ฑฌซ"}.mdi-thermometer-probe-off:before{content:"๓ฑฌฌ"}.mdi-thermometer-water:before{content:"๓ฑช€"}.mdi-thermostat:before{content:"๓ฐŽ“"}.mdi-thermostat-auto:before{content:"๓ฑฌ—"}.mdi-thermostat-box:before{content:"๓ฐข‘"}.mdi-thermostat-box-auto:before{content:"๓ฑฌ˜"}.mdi-thermostat-cog:before{content:"๓ฑฒ€"}.mdi-thought-bubble:before{content:"๓ฐŸถ"}.mdi-thought-bubble-outline:before{content:"๓ฐŸท"}.mdi-thumb-down:before{content:"๓ฐ”‘"}.mdi-thumb-down-outline:before{content:"๓ฐ”’"}.mdi-thumb-up:before{content:"๓ฐ”“"}.mdi-thumb-up-outline:before{content:"๓ฐ””"}.mdi-thumbs-up-down:before{content:"๓ฐ”•"}.mdi-thumbs-up-down-outline:before{content:"๓ฑค”"}.mdi-ticket:before{content:"๓ฐ”–"}.mdi-ticket-account:before{content:"๓ฐ”—"}.mdi-ticket-confirmation:before{content:"๓ฐ”˜"}.mdi-ticket-confirmation-outline:before{content:"๓ฑŽช"}.mdi-ticket-outline:before{content:"๓ฐค“"}.mdi-ticket-percent:before{content:"๓ฐœค"}.mdi-ticket-percent-outline:before{content:"๓ฑซ"}.mdi-tie:before{content:"๓ฐ”™"}.mdi-tilde:before{content:"๓ฐœฅ"}.mdi-tilde-off:before{content:"๓ฑฃณ"}.mdi-timelapse:before{content:"๓ฐ”š"}.mdi-timeline:before{content:"๓ฐฏ‘"}.mdi-timeline-alert:before{content:"๓ฐพ•"}.mdi-timeline-alert-outline:before{content:"๓ฐพ˜"}.mdi-timeline-check:before{content:"๓ฑ”ฒ"}.mdi-timeline-check-outline:before{content:"๓ฑ”ณ"}.mdi-timeline-clock:before{content:"๓ฑ‡ป"}.mdi-timeline-clock-outline:before{content:"๓ฑ‡ผ"}.mdi-timeline-minus:before{content:"๓ฑ”ด"}.mdi-timeline-minus-outline:before{content:"๓ฑ”ต"}.mdi-timeline-outline:before{content:"๓ฐฏ’"}.mdi-timeline-plus:before{content:"๓ฐพ–"}.mdi-timeline-plus-outline:before{content:"๓ฐพ—"}.mdi-timeline-question:before{content:"๓ฐพ™"}.mdi-timeline-question-outline:before{content:"๓ฐพš"}.mdi-timeline-remove:before{content:"๓ฑ”ถ"}.mdi-timeline-remove-outline:before{content:"๓ฑ”ท"}.mdi-timeline-text:before{content:"๓ฐฏ“"}.mdi-timeline-text-outline:before{content:"๓ฐฏ”"}.mdi-timer:before{content:"๓ฑŽซ"}.mdi-timer-10:before{content:"๓ฐ”œ"}.mdi-timer-3:before{content:"๓ฐ”"}.mdi-timer-alert:before{content:"๓ฑซŒ"}.mdi-timer-alert-outline:before{content:"๓ฑซ"}.mdi-timer-cancel:before{content:"๓ฑซŽ"}.mdi-timer-cancel-outline:before{content:"๓ฑซ"}.mdi-timer-check:before{content:"๓ฑซ"}.mdi-timer-check-outline:before{content:"๓ฑซ‘"}.mdi-timer-cog:before{content:"๓ฑคฅ"}.mdi-timer-cog-outline:before{content:"๓ฑคฆ"}.mdi-timer-edit:before{content:"๓ฑซ’"}.mdi-timer-edit-outline:before{content:"๓ฑซ“"}.mdi-timer-lock:before{content:"๓ฑซ”"}.mdi-timer-lock-open:before{content:"๓ฑซ•"}.mdi-timer-lock-open-outline:before{content:"๓ฑซ–"}.mdi-timer-lock-outline:before{content:"๓ฑซ—"}.mdi-timer-marker:before{content:"๓ฑซ˜"}.mdi-timer-marker-outline:before{content:"๓ฑซ™"}.mdi-timer-minus:before{content:"๓ฑซš"}.mdi-timer-minus-outline:before{content:"๓ฑซ›"}.mdi-timer-music:before{content:"๓ฑซœ"}.mdi-timer-music-outline:before{content:"๓ฑซ"}.mdi-timer-off:before{content:"๓ฑŽฌ"}.mdi-timer-off-outline:before{content:"๓ฐ”ž"}.mdi-timer-outline:before{content:"๓ฐ”›"}.mdi-timer-pause:before{content:"๓ฑซž"}.mdi-timer-pause-outline:before{content:"๓ฑซŸ"}.mdi-timer-play:before{content:"๓ฑซ "}.mdi-timer-play-outline:before{content:"๓ฑซก"}.mdi-timer-plus:before{content:"๓ฑซข"}.mdi-timer-plus-outline:before{content:"๓ฑซฃ"}.mdi-timer-refresh:before{content:"๓ฑซค"}.mdi-timer-refresh-outline:before{content:"๓ฑซฅ"}.mdi-timer-remove:before{content:"๓ฑซฆ"}.mdi-timer-remove-outline:before{content:"๓ฑซง"}.mdi-timer-sand:before{content:"๓ฐ”Ÿ"}.mdi-timer-sand-complete:before{content:"๓ฑฆŸ"}.mdi-timer-sand-empty:before{content:"๓ฐšญ"}.mdi-timer-sand-full:before{content:"๓ฐžŒ"}.mdi-timer-sand-paused:before{content:"๓ฑฆ "}.mdi-timer-settings:before{content:"๓ฑคฃ"}.mdi-timer-settings-outline:before{content:"๓ฑคค"}.mdi-timer-star:before{content:"๓ฑซจ"}.mdi-timer-star-outline:before{content:"๓ฑซฉ"}.mdi-timer-stop:before{content:"๓ฑซช"}.mdi-timer-stop-outline:before{content:"๓ฑซซ"}.mdi-timer-sync:before{content:"๓ฑซฌ"}.mdi-timer-sync-outline:before{content:"๓ฑซญ"}.mdi-timetable:before{content:"๓ฐ” "}.mdi-tire:before{content:"๓ฑข–"}.mdi-toaster:before{content:"๓ฑฃ"}.mdi-toaster-off:before{content:"๓ฑ†ท"}.mdi-toaster-oven:before{content:"๓ฐณ“"}.mdi-toggle-switch:before{content:"๓ฐ”ก"}.mdi-toggle-switch-off:before{content:"๓ฐ”ข"}.mdi-toggle-switch-off-outline:before{content:"๓ฐจ™"}.mdi-toggle-switch-outline:before{content:"๓ฐจš"}.mdi-toggle-switch-variant:before{content:"๓ฑจฅ"}.mdi-toggle-switch-variant-off:before{content:"๓ฑจฆ"}.mdi-toilet:before{content:"๓ฐฆซ"}.mdi-toolbox:before{content:"๓ฐฆฌ"}.mdi-toolbox-outline:before{content:"๓ฐฆญ"}.mdi-tools:before{content:"๓ฑค"}.mdi-tooltip:before{content:"๓ฐ”ฃ"}.mdi-tooltip-account:before{content:"๓ฐ€Œ"}.mdi-tooltip-cellphone:before{content:"๓ฑ ป"}.mdi-tooltip-check:before{content:"๓ฑ•œ"}.mdi-tooltip-check-outline:before{content:"๓ฑ•"}.mdi-tooltip-edit:before{content:"๓ฐ”ค"}.mdi-tooltip-edit-outline:before{content:"๓ฑ‹…"}.mdi-tooltip-image:before{content:"๓ฐ”ฅ"}.mdi-tooltip-image-outline:before{content:"๓ฐฏ•"}.mdi-tooltip-minus:before{content:"๓ฑ•ž"}.mdi-tooltip-minus-outline:before{content:"๓ฑ•Ÿ"}.mdi-tooltip-outline:before{content:"๓ฐ”ฆ"}.mdi-tooltip-plus:before{content:"๓ฐฏ–"}.mdi-tooltip-plus-outline:before{content:"๓ฐ”ง"}.mdi-tooltip-question:before{content:"๓ฑฎบ"}.mdi-tooltip-question-outline:before{content:"๓ฑฎป"}.mdi-tooltip-remove:before{content:"๓ฑ• "}.mdi-tooltip-remove-outline:before{content:"๓ฑ•ก"}.mdi-tooltip-text:before{content:"๓ฐ”จ"}.mdi-tooltip-text-outline:before{content:"๓ฐฏ—"}.mdi-tooth:before{content:"๓ฐฃƒ"}.mdi-tooth-outline:before{content:"๓ฐ”ฉ"}.mdi-toothbrush:before{content:"๓ฑ„ฉ"}.mdi-toothbrush-electric:before{content:"๓ฑ„ฌ"}.mdi-toothbrush-paste:before{content:"๓ฑ„ช"}.mdi-torch:before{content:"๓ฑ˜†"}.mdi-tortoise:before{content:"๓ฐดป"}.mdi-toslink:before{content:"๓ฑŠธ"}.mdi-touch-text-outline:before{content:"๓ฑฑ "}.mdi-tournament:before{content:"๓ฐฆฎ"}.mdi-tow-truck:before{content:"๓ฐ ผ"}.mdi-tower-beach:before{content:"๓ฐš"}.mdi-tower-fire:before{content:"๓ฐš‚"}.mdi-town-hall:before{content:"๓ฑกต"}.mdi-toy-brick:before{content:"๓ฑŠˆ"}.mdi-toy-brick-marker:before{content:"๓ฑŠ‰"}.mdi-toy-brick-marker-outline:before{content:"๓ฑŠŠ"}.mdi-toy-brick-minus:before{content:"๓ฑŠ‹"}.mdi-toy-brick-minus-outline:before{content:"๓ฑŠŒ"}.mdi-toy-brick-outline:before{content:"๓ฑŠ"}.mdi-toy-brick-plus:before{content:"๓ฑŠŽ"}.mdi-toy-brick-plus-outline:before{content:"๓ฑŠ"}.mdi-toy-brick-remove:before{content:"๓ฑŠ"}.mdi-toy-brick-remove-outline:before{content:"๓ฑŠ‘"}.mdi-toy-brick-search:before{content:"๓ฑŠ’"}.mdi-toy-brick-search-outline:before{content:"๓ฑŠ“"}.mdi-track-light:before{content:"๓ฐค”"}.mdi-track-light-off:before{content:"๓ฑฌ"}.mdi-trackpad:before{content:"๓ฐŸธ"}.mdi-trackpad-lock:before{content:"๓ฐคณ"}.mdi-tractor:before{content:"๓ฐข’"}.mdi-tractor-variant:before{content:"๓ฑ“„"}.mdi-trademark:before{content:"๓ฐฉธ"}.mdi-traffic-cone:before{content:"๓ฑผ"}.mdi-traffic-light:before{content:"๓ฐ”ซ"}.mdi-traffic-light-outline:before{content:"๓ฑ ช"}.mdi-train:before{content:"๓ฐ”ฌ"}.mdi-train-car:before{content:"๓ฐฏ˜"}.mdi-train-car-autorack:before{content:"๓ฑฌญ"}.mdi-train-car-box:before{content:"๓ฑฌฎ"}.mdi-train-car-box-full:before{content:"๓ฑฌฏ"}.mdi-train-car-box-open:before{content:"๓ฑฌฐ"}.mdi-train-car-caboose:before{content:"๓ฑฌฑ"}.mdi-train-car-centerbeam:before{content:"๓ฑฌฒ"}.mdi-train-car-centerbeam-full:before{content:"๓ฑฌณ"}.mdi-train-car-container:before{content:"๓ฑฌด"}.mdi-train-car-flatbed:before{content:"๓ฑฌต"}.mdi-train-car-flatbed-car:before{content:"๓ฑฌถ"}.mdi-train-car-flatbed-tank:before{content:"๓ฑฌท"}.mdi-train-car-gondola:before{content:"๓ฑฌธ"}.mdi-train-car-gondola-full:before{content:"๓ฑฌน"}.mdi-train-car-hopper:before{content:"๓ฑฌบ"}.mdi-train-car-hopper-covered:before{content:"๓ฑฌป"}.mdi-train-car-hopper-full:before{content:"๓ฑฌผ"}.mdi-train-car-intermodal:before{content:"๓ฑฌฝ"}.mdi-train-car-passenger:before{content:"๓ฑœณ"}.mdi-train-car-passenger-door:before{content:"๓ฑœด"}.mdi-train-car-passenger-door-open:before{content:"๓ฑœต"}.mdi-train-car-passenger-variant:before{content:"๓ฑœถ"}.mdi-train-car-tank:before{content:"๓ฑฌพ"}.mdi-train-variant:before{content:"๓ฐฃ„"}.mdi-tram:before{content:"๓ฐ”ญ"}.mdi-tram-side:before{content:"๓ฐฟง"}.mdi-transcribe:before{content:"๓ฐ”ฎ"}.mdi-transcribe-close:before{content:"๓ฐ”ฏ"}.mdi-transfer:before{content:"๓ฑฅ"}.mdi-transfer-down:before{content:"๓ฐถก"}.mdi-transfer-left:before{content:"๓ฐถข"}.mdi-transfer-right:before{content:"๓ฐ”ฐ"}.mdi-transfer-up:before{content:"๓ฐถฃ"}.mdi-transit-connection:before{content:"๓ฐดผ"}.mdi-transit-connection-horizontal:before{content:"๓ฑ•†"}.mdi-transit-connection-variant:before{content:"๓ฐดฝ"}.mdi-transit-detour:before{content:"๓ฐพ‹"}.mdi-transit-skip:before{content:"๓ฑ”•"}.mdi-transit-transfer:before{content:"๓ฐšฎ"}.mdi-transition:before{content:"๓ฐค•"}.mdi-transition-masked:before{content:"๓ฐค–"}.mdi-translate:before{content:"๓ฐ—Š"}.mdi-translate-off:before{content:"๓ฐธ†"}.mdi-translate-variant:before{content:"๓ฑฎ™"}.mdi-transmission-tower:before{content:"๓ฐดพ"}.mdi-transmission-tower-export:before{content:"๓ฑคฌ"}.mdi-transmission-tower-import:before{content:"๓ฑคญ"}.mdi-transmission-tower-off:before{content:"๓ฑง"}.mdi-trash-can:before{content:"๓ฐฉน"}.mdi-trash-can-outline:before{content:"๓ฐฉบ"}.mdi-tray:before{content:"๓ฑŠ”"}.mdi-tray-alert:before{content:"๓ฑŠ•"}.mdi-tray-arrow-down:before{content:"๓ฐ„ "}.mdi-tray-arrow-up:before{content:"๓ฐ„"}.mdi-tray-full:before{content:"๓ฑŠ–"}.mdi-tray-minus:before{content:"๓ฑŠ—"}.mdi-tray-plus:before{content:"๓ฑŠ˜"}.mdi-tray-remove:before{content:"๓ฑŠ™"}.mdi-treasure-chest:before{content:"๓ฐœฆ"}.mdi-treasure-chest-outline:before{content:"๓ฑฑท"}.mdi-tree:before{content:"๓ฐ”ฑ"}.mdi-tree-outline:before{content:"๓ฐนฉ"}.mdi-trello:before{content:"๓ฐ”ฒ"}.mdi-trending-down:before{content:"๓ฐ”ณ"}.mdi-trending-neutral:before{content:"๓ฐ”ด"}.mdi-trending-up:before{content:"๓ฐ”ต"}.mdi-triangle:before{content:"๓ฐ”ถ"}.mdi-triangle-down:before{content:"๓ฑฑ–"}.mdi-triangle-down-outline:before{content:"๓ฑฑ—"}.mdi-triangle-outline:before{content:"๓ฐ”ท"}.mdi-triangle-small-down:before{content:"๓ฑจ‰"}.mdi-triangle-small-up:before{content:"๓ฑจŠ"}.mdi-triangle-wave:before{content:"๓ฑ‘ผ"}.mdi-triforce:before{content:"๓ฐฏ™"}.mdi-trophy:before{content:"๓ฐ”ธ"}.mdi-trophy-award:before{content:"๓ฐ”น"}.mdi-trophy-broken:before{content:"๓ฐถค"}.mdi-trophy-outline:before{content:"๓ฐ”บ"}.mdi-trophy-variant:before{content:"๓ฐ”ป"}.mdi-trophy-variant-outline:before{content:"๓ฐ”ผ"}.mdi-truck:before{content:"๓ฐ”ฝ"}.mdi-truck-alert:before{content:"๓ฑงž"}.mdi-truck-alert-outline:before{content:"๓ฑงŸ"}.mdi-truck-cargo-container:before{content:"๓ฑฃ˜"}.mdi-truck-check:before{content:"๓ฐณ”"}.mdi-truck-check-outline:before{content:"๓ฑŠš"}.mdi-truck-delivery:before{content:"๓ฐ”พ"}.mdi-truck-delivery-outline:before{content:"๓ฑŠ›"}.mdi-truck-fast:before{content:"๓ฐžˆ"}.mdi-truck-fast-outline:before{content:"๓ฑŠœ"}.mdi-truck-flatbed:before{content:"๓ฑข‘"}.mdi-truck-minus:before{content:"๓ฑฆฎ"}.mdi-truck-minus-outline:before{content:"๓ฑฆฝ"}.mdi-truck-outline:before{content:"๓ฑŠ"}.mdi-truck-plus:before{content:"๓ฑฆญ"}.mdi-truck-plus-outline:before{content:"๓ฑฆผ"}.mdi-truck-remove:before{content:"๓ฑฆฏ"}.mdi-truck-remove-outline:before{content:"๓ฑฆพ"}.mdi-truck-snowflake:before{content:"๓ฑฆฆ"}.mdi-truck-trailer:before{content:"๓ฐœง"}.mdi-trumpet:before{content:"๓ฑ‚–"}.mdi-tshirt-crew:before{content:"๓ฐฉป"}.mdi-tshirt-crew-outline:before{content:"๓ฐ”ฟ"}.mdi-tshirt-v:before{content:"๓ฐฉผ"}.mdi-tshirt-v-outline:before{content:"๓ฐ•€"}.mdi-tsunami:before{content:"๓ฑช"}.mdi-tumble-dryer:before{content:"๓ฐค—"}.mdi-tumble-dryer-alert:before{content:"๓ฑ†บ"}.mdi-tumble-dryer-off:before{content:"๓ฑ†ป"}.mdi-tune:before{content:"๓ฐ˜ฎ"}.mdi-tune-variant:before{content:"๓ฑ•‚"}.mdi-tune-vertical:before{content:"๓ฐ™ช"}.mdi-tune-vertical-variant:before{content:"๓ฑ•ƒ"}.mdi-tunnel:before{content:"๓ฑ ฝ"}.mdi-tunnel-outline:before{content:"๓ฑ พ"}.mdi-turbine:before{content:"๓ฑช‚"}.mdi-turkey:before{content:"๓ฑœ›"}.mdi-turnstile:before{content:"๓ฐณ•"}.mdi-turnstile-outline:before{content:"๓ฐณ–"}.mdi-turtle:before{content:"๓ฐณ—"}.mdi-twitch:before{content:"๓ฐ•ƒ"}.mdi-twitter:before{content:"๓ฐ•„"}.mdi-two-factor-authentication:before{content:"๓ฐฆฏ"}.mdi-typewriter:before{content:"๓ฐผญ"}.mdi-ubisoft:before{content:"๓ฐฏš"}.mdi-ubuntu:before{content:"๓ฐ•ˆ"}.mdi-ufo:before{content:"๓ฑƒ„"}.mdi-ufo-outline:before{content:"๓ฑƒ…"}.mdi-ultra-high-definition:before{content:"๓ฐŸน"}.mdi-umbraco:before{content:"๓ฐ•‰"}.mdi-umbrella:before{content:"๓ฐ•Š"}.mdi-umbrella-beach:before{content:"๓ฑขŠ"}.mdi-umbrella-beach-outline:before{content:"๓ฑข‹"}.mdi-umbrella-closed:before{content:"๓ฐฆฐ"}.mdi-umbrella-closed-outline:before{content:"๓ฑข"}.mdi-umbrella-closed-variant:before{content:"๓ฑก"}.mdi-umbrella-outline:before{content:"๓ฐ•‹"}.mdi-undo:before{content:"๓ฐ•Œ"}.mdi-undo-variant:before{content:"๓ฐ•"}.mdi-unfold-less-horizontal:before{content:"๓ฐ•Ž"}.mdi-unfold-less-vertical:before{content:"๓ฐ "}.mdi-unfold-more-horizontal:before{content:"๓ฐ•"}.mdi-unfold-more-vertical:before{content:"๓ฐก"}.mdi-ungroup:before{content:"๓ฐ•"}.mdi-unicode:before{content:"๓ฐป"}.mdi-unicorn:before{content:"๓ฑ—‚"}.mdi-unicorn-variant:before{content:"๓ฑ—ƒ"}.mdi-unicycle:before{content:"๓ฑ—ฅ"}.mdi-unity:before{content:"๓ฐšฏ"}.mdi-unreal:before{content:"๓ฐฆฑ"}.mdi-update:before{content:"๓ฐšฐ"}.mdi-upload:before{content:"๓ฐ•’"}.mdi-upload-lock:before{content:"๓ฑณ"}.mdi-upload-lock-outline:before{content:"๓ฑด"}.mdi-upload-multiple:before{content:"๓ฐ ฝ"}.mdi-upload-network:before{content:"๓ฐ›ถ"}.mdi-upload-network-outline:before{content:"๓ฐณ˜"}.mdi-upload-off:before{content:"๓ฑƒ†"}.mdi-upload-off-outline:before{content:"๓ฑƒ‡"}.mdi-upload-outline:before{content:"๓ฐธ‡"}.mdi-usb:before{content:"๓ฐ•“"}.mdi-usb-flash-drive:before{content:"๓ฑŠž"}.mdi-usb-flash-drive-outline:before{content:"๓ฑŠŸ"}.mdi-usb-port:before{content:"๓ฑ‡ฐ"}.mdi-vacuum:before{content:"๓ฑฆก"}.mdi-vacuum-outline:before{content:"๓ฑฆข"}.mdi-valve:before{content:"๓ฑฆ"}.mdi-valve-closed:before{content:"๓ฑง"}.mdi-valve-open:before{content:"๓ฑจ"}.mdi-van-passenger:before{content:"๓ฐŸบ"}.mdi-van-utility:before{content:"๓ฐŸป"}.mdi-vanish:before{content:"๓ฐŸผ"}.mdi-vanish-quarter:before{content:"๓ฑ•”"}.mdi-vanity-light:before{content:"๓ฑ‡ก"}.mdi-variable:before{content:"๓ฐซง"}.mdi-variable-box:before{content:"๓ฑ„‘"}.mdi-vector-arrange-above:before{content:"๓ฐ•”"}.mdi-vector-arrange-below:before{content:"๓ฐ••"}.mdi-vector-bezier:before{content:"๓ฐซจ"}.mdi-vector-circle:before{content:"๓ฐ•–"}.mdi-vector-circle-variant:before{content:"๓ฐ•—"}.mdi-vector-combine:before{content:"๓ฐ•˜"}.mdi-vector-curve:before{content:"๓ฐ•™"}.mdi-vector-difference:before{content:"๓ฐ•š"}.mdi-vector-difference-ab:before{content:"๓ฐ•›"}.mdi-vector-difference-ba:before{content:"๓ฐ•œ"}.mdi-vector-ellipse:before{content:"๓ฐข“"}.mdi-vector-intersection:before{content:"๓ฐ•"}.mdi-vector-line:before{content:"๓ฐ•ž"}.mdi-vector-link:before{content:"๓ฐฟจ"}.mdi-vector-point:before{content:"๓ฐ‡„"}.mdi-vector-point-edit:before{content:"๓ฐงจ"}.mdi-vector-point-minus:before{content:"๓ฑญธ"}.mdi-vector-point-plus:before{content:"๓ฑญน"}.mdi-vector-point-select:before{content:"๓ฐ•Ÿ"}.mdi-vector-polygon:before{content:"๓ฐ• "}.mdi-vector-polygon-variant:before{content:"๓ฑก–"}.mdi-vector-polyline:before{content:"๓ฐ•ก"}.mdi-vector-polyline-edit:before{content:"๓ฑˆฅ"}.mdi-vector-polyline-minus:before{content:"๓ฑˆฆ"}.mdi-vector-polyline-plus:before{content:"๓ฑˆง"}.mdi-vector-polyline-remove:before{content:"๓ฑˆจ"}.mdi-vector-radius:before{content:"๓ฐŠ"}.mdi-vector-rectangle:before{content:"๓ฐ—†"}.mdi-vector-selection:before{content:"๓ฐ•ข"}.mdi-vector-square:before{content:"๓ฐ€"}.mdi-vector-square-close:before{content:"๓ฑก—"}.mdi-vector-square-edit:before{content:"๓ฑฃ™"}.mdi-vector-square-minus:before{content:"๓ฑฃš"}.mdi-vector-square-open:before{content:"๓ฑก˜"}.mdi-vector-square-plus:before{content:"๓ฑฃ›"}.mdi-vector-square-remove:before{content:"๓ฑฃœ"}.mdi-vector-triangle:before{content:"๓ฐ•ฃ"}.mdi-vector-union:before{content:"๓ฐ•ค"}.mdi-vhs:before{content:"๓ฐจ›"}.mdi-vibrate:before{content:"๓ฐ•ฆ"}.mdi-vibrate-off:before{content:"๓ฐณ™"}.mdi-video:before{content:"๓ฐ•ง"}.mdi-video-2d:before{content:"๓ฑจœ"}.mdi-video-3d:before{content:"๓ฐŸฝ"}.mdi-video-3d-off:before{content:"๓ฑ™"}.mdi-video-3d-variant:before{content:"๓ฐป‘"}.mdi-video-4k-box:before{content:"๓ฐ พ"}.mdi-video-account:before{content:"๓ฐค™"}.mdi-video-box:before{content:"๓ฐƒฝ"}.mdi-video-box-off:before{content:"๓ฐƒพ"}.mdi-video-check:before{content:"๓ฑฉ"}.mdi-video-check-outline:before{content:"๓ฑช"}.mdi-video-high-definition:before{content:"๓ฑ”ฎ"}.mdi-video-image:before{content:"๓ฐคš"}.mdi-video-input-antenna:before{content:"๓ฐ ฟ"}.mdi-video-input-component:before{content:"๓ฐก€"}.mdi-video-input-hdmi:before{content:"๓ฐก"}.mdi-video-input-scart:before{content:"๓ฐพŒ"}.mdi-video-input-svideo:before{content:"๓ฐก‚"}.mdi-video-marker:before{content:"๓ฑฆฉ"}.mdi-video-marker-outline:before{content:"๓ฑฆช"}.mdi-video-minus:before{content:"๓ฐฆฒ"}.mdi-video-minus-outline:before{content:"๓ฐŠบ"}.mdi-video-off:before{content:"๓ฐ•จ"}.mdi-video-off-outline:before{content:"๓ฐฏ›"}.mdi-video-outline:before{content:"๓ฐฏœ"}.mdi-video-plus:before{content:"๓ฐฆณ"}.mdi-video-plus-outline:before{content:"๓ฐ‡“"}.mdi-video-stabilization:before{content:"๓ฐค›"}.mdi-video-switch:before{content:"๓ฐ•ฉ"}.mdi-video-switch-outline:before{content:"๓ฐž"}.mdi-video-vintage:before{content:"๓ฐจœ"}.mdi-video-wireless:before{content:"๓ฐป’"}.mdi-video-wireless-outline:before{content:"๓ฐป“"}.mdi-view-agenda:before{content:"๓ฐ•ช"}.mdi-view-agenda-outline:before{content:"๓ฑ‡˜"}.mdi-view-array:before{content:"๓ฐ•ซ"}.mdi-view-array-outline:before{content:"๓ฑ’…"}.mdi-view-carousel:before{content:"๓ฐ•ฌ"}.mdi-view-carousel-outline:before{content:"๓ฑ’†"}.mdi-view-column:before{content:"๓ฐ•ญ"}.mdi-view-column-outline:before{content:"๓ฑ’‡"}.mdi-view-comfy:before{content:"๓ฐนช"}.mdi-view-comfy-outline:before{content:"๓ฑ’ˆ"}.mdi-view-compact:before{content:"๓ฐนซ"}.mdi-view-compact-outline:before{content:"๓ฐนฌ"}.mdi-view-dashboard:before{content:"๓ฐ•ฎ"}.mdi-view-dashboard-edit:before{content:"๓ฑฅ‡"}.mdi-view-dashboard-edit-outline:before{content:"๓ฑฅˆ"}.mdi-view-dashboard-outline:before{content:"๓ฐจ"}.mdi-view-dashboard-variant:before{content:"๓ฐกƒ"}.mdi-view-dashboard-variant-outline:before{content:"๓ฑ’‰"}.mdi-view-day:before{content:"๓ฐ•ฏ"}.mdi-view-day-outline:before{content:"๓ฑ’Š"}.mdi-view-gallery:before{content:"๓ฑขˆ"}.mdi-view-gallery-outline:before{content:"๓ฑข‰"}.mdi-view-grid:before{content:"๓ฐ•ฐ"}.mdi-view-grid-compact:before{content:"๓ฑฑก"}.mdi-view-grid-outline:before{content:"๓ฑ‡™"}.mdi-view-grid-plus:before{content:"๓ฐพ"}.mdi-view-grid-plus-outline:before{content:"๓ฑ‡š"}.mdi-view-headline:before{content:"๓ฐ•ฑ"}.mdi-view-list:before{content:"๓ฐ•ฒ"}.mdi-view-list-outline:before{content:"๓ฑ’‹"}.mdi-view-module:before{content:"๓ฐ•ณ"}.mdi-view-module-outline:before{content:"๓ฑ’Œ"}.mdi-view-parallel:before{content:"๓ฐœจ"}.mdi-view-parallel-outline:before{content:"๓ฑ’"}.mdi-view-quilt:before{content:"๓ฐ•ด"}.mdi-view-quilt-outline:before{content:"๓ฑ’Ž"}.mdi-view-sequential:before{content:"๓ฐœฉ"}.mdi-view-sequential-outline:before{content:"๓ฑ’"}.mdi-view-split-horizontal:before{content:"๓ฐฏ‹"}.mdi-view-split-vertical:before{content:"๓ฐฏŒ"}.mdi-view-stream:before{content:"๓ฐ•ต"}.mdi-view-stream-outline:before{content:"๓ฑ’"}.mdi-view-week:before{content:"๓ฐ•ถ"}.mdi-view-week-outline:before{content:"๓ฑ’‘"}.mdi-vimeo:before{content:"๓ฐ•ท"}.mdi-violin:before{content:"๓ฐ˜"}.mdi-virtual-reality:before{content:"๓ฐข”"}.mdi-virus:before{content:"๓ฑŽถ"}.mdi-virus-off:before{content:"๓ฑฃก"}.mdi-virus-off-outline:before{content:"๓ฑฃข"}.mdi-virus-outline:before{content:"๓ฑŽท"}.mdi-vlc:before{content:"๓ฐ•ผ"}.mdi-voicemail:before{content:"๓ฐ•ฝ"}.mdi-volcano:before{content:"๓ฑชƒ"}.mdi-volcano-outline:before{content:"๓ฑช„"}.mdi-volleyball:before{content:"๓ฐฆด"}.mdi-volume-equal:before{content:"๓ฑฌ"}.mdi-volume-high:before{content:"๓ฐ•พ"}.mdi-volume-low:before{content:"๓ฐ•ฟ"}.mdi-volume-medium:before{content:"๓ฐ–€"}.mdi-volume-minus:before{content:"๓ฐž"}.mdi-volume-mute:before{content:"๓ฐŸ"}.mdi-volume-off:before{content:"๓ฐ–"}.mdi-volume-plus:before{content:"๓ฐ"}.mdi-volume-source:before{content:"๓ฑ„ "}.mdi-volume-variant-off:before{content:"๓ฐธˆ"}.mdi-volume-vibrate:before{content:"๓ฑ„ก"}.mdi-vote:before{content:"๓ฐจŸ"}.mdi-vote-outline:before{content:"๓ฐจ "}.mdi-vpn:before{content:"๓ฐ–‚"}.mdi-vuejs:before{content:"๓ฐก„"}.mdi-vuetify:before{content:"๓ฐนญ"}.mdi-walk:before{content:"๓ฐ–ƒ"}.mdi-wall:before{content:"๓ฐŸพ"}.mdi-wall-fire:before{content:"๓ฑจ‘"}.mdi-wall-sconce:before{content:"๓ฐคœ"}.mdi-wall-sconce-flat:before{content:"๓ฐค"}.mdi-wall-sconce-flat-outline:before{content:"๓ฑŸ‰"}.mdi-wall-sconce-flat-variant:before{content:"๓ฐœ"}.mdi-wall-sconce-flat-variant-outline:before{content:"๓ฑŸŠ"}.mdi-wall-sconce-outline:before{content:"๓ฑŸ‹"}.mdi-wall-sconce-round:before{content:"๓ฐˆ"}.mdi-wall-sconce-round-outline:before{content:"๓ฑŸŒ"}.mdi-wall-sconce-round-variant:before{content:"๓ฐคž"}.mdi-wall-sconce-round-variant-outline:before{content:"๓ฑŸ"}.mdi-wallet:before{content:"๓ฐ–„"}.mdi-wallet-bifold:before{content:"๓ฑฑ˜"}.mdi-wallet-bifold-outline:before{content:"๓ฑฑ™"}.mdi-wallet-giftcard:before{content:"๓ฐ–…"}.mdi-wallet-membership:before{content:"๓ฐ–†"}.mdi-wallet-outline:before{content:"๓ฐฏ"}.mdi-wallet-plus:before{content:"๓ฐพŽ"}.mdi-wallet-plus-outline:before{content:"๓ฐพ"}.mdi-wallet-travel:before{content:"๓ฐ–‡"}.mdi-wallpaper:before{content:"๓ฐธ‰"}.mdi-wan:before{content:"๓ฐ–ˆ"}.mdi-wardrobe:before{content:"๓ฐพ"}.mdi-wardrobe-outline:before{content:"๓ฐพ‘"}.mdi-warehouse:before{content:"๓ฐพ"}.mdi-washing-machine:before{content:"๓ฐœช"}.mdi-washing-machine-alert:before{content:"๓ฑ†ผ"}.mdi-washing-machine-off:before{content:"๓ฑ†ฝ"}.mdi-watch:before{content:"๓ฐ–‰"}.mdi-watch-export:before{content:"๓ฐ–Š"}.mdi-watch-export-variant:before{content:"๓ฐข•"}.mdi-watch-import:before{content:"๓ฐ–‹"}.mdi-watch-import-variant:before{content:"๓ฐข–"}.mdi-watch-variant:before{content:"๓ฐข—"}.mdi-watch-vibrate:before{content:"๓ฐšฑ"}.mdi-watch-vibrate-off:before{content:"๓ฐณš"}.mdi-water:before{content:"๓ฐ–Œ"}.mdi-water-alert:before{content:"๓ฑ”‚"}.mdi-water-alert-outline:before{content:"๓ฑ”ƒ"}.mdi-water-boiler:before{content:"๓ฐพ’"}.mdi-water-boiler-alert:before{content:"๓ฑ†ณ"}.mdi-water-boiler-auto:before{content:"๓ฑฎ˜"}.mdi-water-boiler-off:before{content:"๓ฑ†ด"}.mdi-water-check:before{content:"๓ฑ”„"}.mdi-water-check-outline:before{content:"๓ฑ”…"}.mdi-water-circle:before{content:"๓ฑ †"}.mdi-water-minus:before{content:"๓ฑ”†"}.mdi-water-minus-outline:before{content:"๓ฑ”‡"}.mdi-water-off:before{content:"๓ฐ–"}.mdi-water-off-outline:before{content:"๓ฑ”ˆ"}.mdi-water-opacity:before{content:"๓ฑก•"}.mdi-water-outline:before{content:"๓ฐธŠ"}.mdi-water-percent:before{content:"๓ฐ–Ž"}.mdi-water-percent-alert:before{content:"๓ฑ”‰"}.mdi-water-plus:before{content:"๓ฑ”Š"}.mdi-water-plus-outline:before{content:"๓ฑ”‹"}.mdi-water-polo:before{content:"๓ฑŠ "}.mdi-water-pump:before{content:"๓ฐ–"}.mdi-water-pump-off:before{content:"๓ฐพ“"}.mdi-water-remove:before{content:"๓ฑ”Œ"}.mdi-water-remove-outline:before{content:"๓ฑ”"}.mdi-water-sync:before{content:"๓ฑŸ†"}.mdi-water-thermometer:before{content:"๓ฑช…"}.mdi-water-thermometer-outline:before{content:"๓ฑช†"}.mdi-water-well:before{content:"๓ฑซ"}.mdi-water-well-outline:before{content:"๓ฑฌ"}.mdi-waterfall:before{content:"๓ฑก‰"}.mdi-watering-can:before{content:"๓ฑ’"}.mdi-watering-can-outline:before{content:"๓ฑ’‚"}.mdi-watermark:before{content:"๓ฐ˜’"}.mdi-wave:before{content:"๓ฐผฎ"}.mdi-waveform:before{content:"๓ฑ‘ฝ"}.mdi-waves:before{content:"๓ฐž"}.mdi-waves-arrow-left:before{content:"๓ฑก™"}.mdi-waves-arrow-right:before{content:"๓ฑกš"}.mdi-waves-arrow-up:before{content:"๓ฑก›"}.mdi-waze:before{content:"๓ฐฏž"}.mdi-weather-cloudy:before{content:"๓ฐ–"}.mdi-weather-cloudy-alert:before{content:"๓ฐผฏ"}.mdi-weather-cloudy-arrow-right:before{content:"๓ฐนฎ"}.mdi-weather-cloudy-clock:before{content:"๓ฑฃถ"}.mdi-weather-dust:before{content:"๓ฑญš"}.mdi-weather-fog:before{content:"๓ฐ–‘"}.mdi-weather-hail:before{content:"๓ฐ–’"}.mdi-weather-hazy:before{content:"๓ฐผฐ"}.mdi-weather-hurricane:before{content:"๓ฐข˜"}.mdi-weather-hurricane-outline:before{content:"๓ฑฑธ"}.mdi-weather-lightning:before{content:"๓ฐ–“"}.mdi-weather-lightning-rainy:before{content:"๓ฐ™พ"}.mdi-weather-night:before{content:"๓ฐ–”"}.mdi-weather-night-partly-cloudy:before{content:"๓ฐผฑ"}.mdi-weather-partly-cloudy:before{content:"๓ฐ–•"}.mdi-weather-partly-lightning:before{content:"๓ฐผฒ"}.mdi-weather-partly-rainy:before{content:"๓ฐผณ"}.mdi-weather-partly-snowy:before{content:"๓ฐผด"}.mdi-weather-partly-snowy-rainy:before{content:"๓ฐผต"}.mdi-weather-pouring:before{content:"๓ฐ––"}.mdi-weather-rainy:before{content:"๓ฐ–—"}.mdi-weather-snowy:before{content:"๓ฐ–˜"}.mdi-weather-snowy-heavy:before{content:"๓ฐผถ"}.mdi-weather-snowy-rainy:before{content:"๓ฐ™ฟ"}.mdi-weather-sunny:before{content:"๓ฐ–™"}.mdi-weather-sunny-alert:before{content:"๓ฐผท"}.mdi-weather-sunny-off:before{content:"๓ฑ“ค"}.mdi-weather-sunset:before{content:"๓ฐ–š"}.mdi-weather-sunset-down:before{content:"๓ฐ–›"}.mdi-weather-sunset-up:before{content:"๓ฐ–œ"}.mdi-weather-tornado:before{content:"๓ฐผธ"}.mdi-weather-windy:before{content:"๓ฐ–"}.mdi-weather-windy-variant:before{content:"๓ฐ–ž"}.mdi-web:before{content:"๓ฐ–Ÿ"}.mdi-web-box:before{content:"๓ฐพ”"}.mdi-web-cancel:before{content:"๓ฑž"}.mdi-web-check:before{content:"๓ฐž‰"}.mdi-web-clock:before{content:"๓ฑ‰Š"}.mdi-web-minus:before{content:"๓ฑ‚ "}.mdi-web-off:before{content:"๓ฐชŽ"}.mdi-web-plus:before{content:"๓ฐ€ณ"}.mdi-web-refresh:before{content:"๓ฑž‘"}.mdi-web-remove:before{content:"๓ฐ•‘"}.mdi-web-sync:before{content:"๓ฑž’"}.mdi-webcam:before{content:"๓ฐ– "}.mdi-webcam-off:before{content:"๓ฑœท"}.mdi-webhook:before{content:"๓ฐ˜ฏ"}.mdi-webpack:before{content:"๓ฐœซ"}.mdi-webrtc:before{content:"๓ฑ‰ˆ"}.mdi-wechat:before{content:"๓ฐ˜‘"}.mdi-weight:before{content:"๓ฐ–ก"}.mdi-weight-gram:before{content:"๓ฐดฟ"}.mdi-weight-kilogram:before{content:"๓ฐ–ข"}.mdi-weight-lifter:before{content:"๓ฑ…"}.mdi-weight-pound:before{content:"๓ฐฆต"}.mdi-whatsapp:before{content:"๓ฐ–ฃ"}.mdi-wheel-barrow:before{content:"๓ฑ“ฒ"}.mdi-wheelchair:before{content:"๓ฑช‡"}.mdi-wheelchair-accessibility:before{content:"๓ฐ–ค"}.mdi-whistle:before{content:"๓ฐฆถ"}.mdi-whistle-outline:before{content:"๓ฑŠผ"}.mdi-white-balance-auto:before{content:"๓ฐ–ฅ"}.mdi-white-balance-incandescent:before{content:"๓ฐ–ฆ"}.mdi-white-balance-iridescent:before{content:"๓ฐ–ง"}.mdi-white-balance-sunny:before{content:"๓ฐ–จ"}.mdi-widgets:before{content:"๓ฐœฌ"}.mdi-widgets-outline:before{content:"๓ฑ•"}.mdi-wifi:before{content:"๓ฐ–ฉ"}.mdi-wifi-alert:before{content:"๓ฑšต"}.mdi-wifi-arrow-down:before{content:"๓ฑšถ"}.mdi-wifi-arrow-left:before{content:"๓ฑšท"}.mdi-wifi-arrow-left-right:before{content:"๓ฑšธ"}.mdi-wifi-arrow-right:before{content:"๓ฑšน"}.mdi-wifi-arrow-up:before{content:"๓ฑšบ"}.mdi-wifi-arrow-up-down:before{content:"๓ฑšป"}.mdi-wifi-cancel:before{content:"๓ฑšผ"}.mdi-wifi-check:before{content:"๓ฑšฝ"}.mdi-wifi-cog:before{content:"๓ฑšพ"}.mdi-wifi-lock:before{content:"๓ฑšฟ"}.mdi-wifi-lock-open:before{content:"๓ฑ›€"}.mdi-wifi-marker:before{content:"๓ฑ›"}.mdi-wifi-minus:before{content:"๓ฑ›‚"}.mdi-wifi-off:before{content:"๓ฐ–ช"}.mdi-wifi-plus:before{content:"๓ฑ›ƒ"}.mdi-wifi-refresh:before{content:"๓ฑ›„"}.mdi-wifi-remove:before{content:"๓ฑ›…"}.mdi-wifi-settings:before{content:"๓ฑ›†"}.mdi-wifi-star:before{content:"๓ฐธ‹"}.mdi-wifi-strength-1:before{content:"๓ฐคŸ"}.mdi-wifi-strength-1-alert:before{content:"๓ฐค "}.mdi-wifi-strength-1-lock:before{content:"๓ฐคก"}.mdi-wifi-strength-1-lock-open:before{content:"๓ฑ›‹"}.mdi-wifi-strength-2:before{content:"๓ฐคข"}.mdi-wifi-strength-2-alert:before{content:"๓ฐคฃ"}.mdi-wifi-strength-2-lock:before{content:"๓ฐคค"}.mdi-wifi-strength-2-lock-open:before{content:"๓ฑ›Œ"}.mdi-wifi-strength-3:before{content:"๓ฐคฅ"}.mdi-wifi-strength-3-alert:before{content:"๓ฐคฆ"}.mdi-wifi-strength-3-lock:before{content:"๓ฐคง"}.mdi-wifi-strength-3-lock-open:before{content:"๓ฑ›"}.mdi-wifi-strength-4:before{content:"๓ฐคจ"}.mdi-wifi-strength-4-alert:before{content:"๓ฐคฉ"}.mdi-wifi-strength-4-lock:before{content:"๓ฐคช"}.mdi-wifi-strength-4-lock-open:before{content:"๓ฑ›Ž"}.mdi-wifi-strength-alert-outline:before{content:"๓ฐคซ"}.mdi-wifi-strength-lock-open-outline:before{content:"๓ฑ›"}.mdi-wifi-strength-lock-outline:before{content:"๓ฐคฌ"}.mdi-wifi-strength-off:before{content:"๓ฐคญ"}.mdi-wifi-strength-off-outline:before{content:"๓ฐคฎ"}.mdi-wifi-strength-outline:before{content:"๓ฐคฏ"}.mdi-wifi-sync:before{content:"๓ฑ›‡"}.mdi-wikipedia:before{content:"๓ฐ–ฌ"}.mdi-wind-power:before{content:"๓ฑชˆ"}.mdi-wind-power-outline:before{content:"๓ฑช‰"}.mdi-wind-turbine:before{content:"๓ฐถฅ"}.mdi-wind-turbine-alert:before{content:"๓ฑฆซ"}.mdi-wind-turbine-check:before{content:"๓ฑฆฌ"}.mdi-window-close:before{content:"๓ฐ–ญ"}.mdi-window-closed:before{content:"๓ฐ–ฎ"}.mdi-window-closed-variant:before{content:"๓ฑ‡›"}.mdi-window-maximize:before{content:"๓ฐ–ฏ"}.mdi-window-minimize:before{content:"๓ฐ–ฐ"}.mdi-window-open:before{content:"๓ฐ–ฑ"}.mdi-window-open-variant:before{content:"๓ฑ‡œ"}.mdi-window-restore:before{content:"๓ฐ–ฒ"}.mdi-window-shutter:before{content:"๓ฑ„œ"}.mdi-window-shutter-alert:before{content:"๓ฑ„"}.mdi-window-shutter-auto:before{content:"๓ฑฎฃ"}.mdi-window-shutter-cog:before{content:"๓ฑชŠ"}.mdi-window-shutter-open:before{content:"๓ฑ„ž"}.mdi-window-shutter-settings:before{content:"๓ฑช‹"}.mdi-windsock:before{content:"๓ฑ—บ"}.mdi-wiper:before{content:"๓ฐซฉ"}.mdi-wiper-wash:before{content:"๓ฐถฆ"}.mdi-wiper-wash-alert:before{content:"๓ฑฃŸ"}.mdi-wizard-hat:before{content:"๓ฑ‘ท"}.mdi-wordpress:before{content:"๓ฐ–ด"}.mdi-wrap:before{content:"๓ฐ–ถ"}.mdi-wrap-disabled:before{content:"๓ฐฏŸ"}.mdi-wrench:before{content:"๓ฐ–ท"}.mdi-wrench-check:before{content:"๓ฑฎ"}.mdi-wrench-check-outline:before{content:"๓ฑฎ"}.mdi-wrench-clock:before{content:"๓ฑฆฃ"}.mdi-wrench-clock-outline:before{content:"๓ฑฎ“"}.mdi-wrench-cog:before{content:"๓ฑฎ‘"}.mdi-wrench-cog-outline:before{content:"๓ฑฎ’"}.mdi-wrench-outline:before{content:"๓ฐฏ "}.mdi-xamarin:before{content:"๓ฐก…"}.mdi-xml:before{content:"๓ฐ—€"}.mdi-xmpp:before{content:"๓ฐŸฟ"}.mdi-yahoo:before{content:"๓ฐญ"}.mdi-yeast:before{content:"๓ฐ—"}.mdi-yin-yang:before{content:"๓ฐš€"}.mdi-yoga:before{content:"๓ฑ…ผ"}.mdi-youtube:before{content:"๓ฐ—ƒ"}.mdi-youtube-gaming:before{content:"๓ฐกˆ"}.mdi-youtube-studio:before{content:"๓ฐก‡"}.mdi-youtube-subscription:before{content:"๓ฐต€"}.mdi-youtube-tv:before{content:"๓ฐ‘ˆ"}.mdi-yurt:before{content:"๓ฑ”–"}.mdi-z-wave:before{content:"๓ฐซช"}.mdi-zend:before{content:"๓ฐซซ"}.mdi-zigbee:before{content:"๓ฐต"}.mdi-zip-box:before{content:"๓ฐ—„"}.mdi-zip-box-outline:before{content:"๓ฐฟบ"}.mdi-zip-disk:before{content:"๓ฐจฃ"}.mdi-zodiac-aquarius:before{content:"๓ฐฉฝ"}.mdi-zodiac-aries:before{content:"๓ฐฉพ"}.mdi-zodiac-cancer:before{content:"๓ฐฉฟ"}.mdi-zodiac-capricorn:before{content:"๓ฐช€"}.mdi-zodiac-gemini:before{content:"๓ฐช"}.mdi-zodiac-leo:before{content:"๓ฐช‚"}.mdi-zodiac-libra:before{content:"๓ฐชƒ"}.mdi-zodiac-pisces:before{content:"๓ฐช„"}.mdi-zodiac-sagittarius:before{content:"๓ฐช…"}.mdi-zodiac-scorpio:before{content:"๓ฐช†"}.mdi-zodiac-taurus:before{content:"๓ฐช‡"}.mdi-zodiac-virgo:before{content:"๓ฐชˆ"}.mdi-blank:before{content:"๏šŒ";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! * ress.css โ€ข v2.0.4 * MIT License * github.com/filipelinhares/ress diff --git a/js-component/dist/assets/index-708123b6.js b/js-component/dist/assets/index-9bf33d9e.js similarity index 69% rename from js-component/dist/assets/index-708123b6.js rename to js-component/dist/assets/index-9bf33d9e.js index 5d98b0f2..1b682186 100644 --- a/js-component/dist/assets/index-708123b6.js +++ b/js-component/dist/assets/index-9bf33d9e.js @@ -1,29 +1,29 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const z of document.querySelectorAll('link[rel="modulepreload"]'))E(z);new MutationObserver(z=>{for(const k of z)if(k.type==="childList")for(const m of k.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&E(m)}).observe(document,{childList:!0,subtree:!0});function r(z){const k={};return z.integrity&&(k.integrity=z.integrity),z.referrerPolicy&&(k.referrerPolicy=z.referrerPolicy),z.crossOrigin==="use-credentials"?k.credentials="include":z.crossOrigin==="anonymous"?k.credentials="omit":k.credentials="same-origin",k}function E(z){if(z.ep)return;z.ep=!0;const k=r(z);fetch(z.href,k)}})();function zx(n,e){const r=Object.create(null),E=n.split(",");for(let z=0;z!!r[z.toLowerCase()]:z=>!!r[z]}function $s(n){if(gi(n)){const e={};for(let r=0;r{if(r){const E=r.split(r8);E.length>1&&(e[E[0].trim()]=E[1].trim())}}),e}function Ku(n){let e="";if(Po(n))e=n;else if(gi(n))for(let r=0;rPo(n)?n:n==null?"":gi(n)||so(n)&&(n.toString===yT||!Fi(n.toString))?JSON.stringify(n,mT,2):String(n),mT=(n,e)=>e&&e.__v_isRef?mT(n,e.value):Np(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[E,z])=>(r[`${E} =>`]=z,r),{})}:gT(e)?{[`Set(${e.size})`]:[...e.values()]}:so(e)&&!gi(e)&&!bT(e)?String(e):e,io={},Bp=[],Rc=()=>{},l8=()=>!1,u8=/^on[^a-z]/,my=n=>u8.test(n),Fx=n=>n.startsWith("onUpdate:"),Ms=Object.assign,Bx=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},c8=Object.prototype.hasOwnProperty,ga=(n,e)=>c8.call(n,e),gi=Array.isArray,Np=n=>gy(n)==="[object Map]",gT=n=>gy(n)==="[object Set]",Fi=n=>typeof n=="function",Po=n=>typeof n=="string",Nx=n=>typeof n=="symbol",so=n=>n!==null&&typeof n=="object",vT=n=>so(n)&&Fi(n.then)&&Fi(n.catch),yT=Object.prototype.toString,gy=n=>yT.call(n),f8=n=>gy(n).slice(8,-1),bT=n=>gy(n)==="[object Object]",Vx=n=>Po(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,fv=zx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vy=n=>{const e=Object.create(null);return r=>e[r]||(e[r]=n(r))},h8=/-(\w)/g,ec=vy(n=>n.replace(h8,(e,r)=>r?r.toUpperCase():"")),d8=/\B([A-Z])/g,h0=vy(n=>n.replace(d8,"-$1").toLowerCase()),sh=vy(n=>n.charAt(0).toUpperCase()+n.slice(1)),Q1=vy(n=>n?`on${sh(n)}`:""),xm=(n,e)=>!Object.is(n,e),hv=(n,e)=>{for(let r=0;r{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:r})},kb=n=>{const e=parseFloat(n);return isNaN(e)?n:e},p8=n=>{const e=Po(n)?Number(n):NaN;return isNaN(e)?n:e};let c3;const m8=()=>c3||(c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let du;class xT{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=du,!e&&du&&(this.index=(du.scopes||(du.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=du;try{return du=this,e()}finally{du=r}}}on(){du=this}off(){du=this.parent}stop(e){if(this._active){let r,E;for(r=0,E=this.effects.length;r{const e=new Set(n);return e.w=0,e.n=0,e},wT=n=>(n.w&jh)>0,TT=n=>(n.n&jh)>0,v8=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let r=0;for(let E=0;E{(i==="length"||i>=d)&&t.push(y)})}else switch(r!==void 0&&t.push(m.get(r)),e){case"add":gi(n)?Vx(r)&&t.push(m.get("length")):(t.push(m.get(Fd)),Np(n)&&t.push(m.get(Ab)));break;case"delete":gi(n)||(t.push(m.get(Fd)),Np(n)&&t.push(m.get(Ab)));break;case"set":Np(n)&&t.push(m.get(Fd));break}if(t.length===1)t[0]&&Sb(t[0]);else{const d=[];for(const y of t)y&&d.push(...y);Sb(jx(d))}}function Sb(n,e){const r=gi(n)?n:[...n];for(const E of r)E.computed&&h3(E);for(const E of r)E.computed||h3(E)}function h3(n,e){(n!==Ec||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function b8(n,e){var r;return(r=Sv.get(n))===null||r===void 0?void 0:r.get(e)}const x8=zx("__proto__,__v_isRef,__isVue"),AT=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Nx)),_8=Hx(),w8=Hx(!1,!0),T8=Hx(!0),d3=k8();function k8(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...r){const E=Si(this);for(let k=0,m=this.length;k{n[e]=function(...r){d0();const E=Si(this)[e].apply(this,r);return p0(),E}}),n}function M8(n){const e=Si(this);return $l(e,"has",n),e.hasOwnProperty(n)}function Hx(n=!1,e=!1){return function(E,z,k){if(z==="__v_isReactive")return!n;if(z==="__v_isReadonly")return n;if(z==="__v_isShallow")return e;if(z==="__v_raw"&&k===(n?e?j8:IT:e?LT:ET).get(E))return E;const m=gi(E);if(!n){if(m&&ga(d3,z))return Reflect.get(d3,z,k);if(z==="hasOwnProperty")return M8}const t=Reflect.get(E,z,k);return(Nx(z)?AT.has(z):x8(z))||(n||$l(E,"get",z),e)?t:eo(t)?m&&Vx(z)?t:t.value:so(t)?n?Hm(t):bl(t):t}}const A8=ST(),S8=ST(!0);function ST(n=!1){return function(r,E,z,k){let m=r[E];if($p(m)&&eo(m)&&!eo(z))return!1;if(!n&&(!Cv(z)&&!$p(z)&&(m=Si(m),z=Si(z)),!gi(r)&&eo(m)&&!eo(z)))return m.value=z,!0;const t=gi(r)&&Vx(E)?Number(E)n,yy=n=>Reflect.getPrototypeOf(n);function Kg(n,e,r=!1,E=!1){n=n.__v_raw;const z=Si(n),k=Si(e);r||(e!==k&&$l(z,"get",e),$l(z,"get",k));const{has:m}=yy(z),t=E?Gx:r?Yx:_m;if(m.call(z,e))return t(n.get(e));if(m.call(z,k))return t(n.get(k));n!==z&&n.get(e)}function Jg(n,e=!1){const r=this.__v_raw,E=Si(r),z=Si(n);return e||(n!==z&&$l(E,"has",n),$l(E,"has",z)),n===z?r.has(n):r.has(n)||r.has(z)}function Qg(n,e=!1){return n=n.__v_raw,!e&&$l(Si(n),"iterate",Fd),Reflect.get(n,"size",n)}function p3(n){n=Si(n);const e=Si(this);return yy(e).has.call(e,n)||(e.add(n),th(e,"add",n,n)),this}function m3(n,e){e=Si(e);const r=Si(this),{has:E,get:z}=yy(r);let k=E.call(r,n);k||(n=Si(n),k=E.call(r,n));const m=z.call(r,n);return r.set(n,e),k?xm(e,m)&&th(r,"set",n,e):th(r,"add",n,e),this}function g3(n){const e=Si(this),{has:r,get:E}=yy(e);let z=r.call(e,n);z||(n=Si(n),z=r.call(e,n)),E&&E.call(e,n);const k=e.delete(n);return z&&th(e,"delete",n,void 0),k}function v3(){const n=Si(this),e=n.size!==0,r=n.clear();return e&&th(n,"clear",void 0,void 0),r}function ev(n,e){return function(E,z){const k=this,m=k.__v_raw,t=Si(m),d=e?Gx:n?Yx:_m;return!n&&$l(t,"iterate",Fd),m.forEach((y,i)=>E.call(z,d(y),d(i),k))}}function tv(n,e,r){return function(...E){const z=this.__v_raw,k=Si(z),m=Np(k),t=n==="entries"||n===Symbol.iterator&&m,d=n==="keys"&&m,y=z[n](...E),i=r?Gx:e?Yx:_m;return!e&&$l(k,"iterate",d?Ab:Fd),{next(){const{value:M,done:g}=y.next();return g?{value:M,done:g}:{value:t?[i(M[0]),i(M[1])]:i(M),done:g}},[Symbol.iterator](){return this}}}}function Sh(n){return function(...e){return n==="delete"?!1:this}}function P8(){const n={get(k){return Kg(this,k)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!1)},e={get(k){return Kg(this,k,!1,!0)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!0)},r={get(k){return Kg(this,k,!0)},get size(){return Qg(this,!0)},has(k){return Jg.call(this,k,!0)},add:Sh("add"),set:Sh("set"),delete:Sh("delete"),clear:Sh("clear"),forEach:ev(!0,!1)},E={get(k){return Kg(this,k,!0,!0)},get size(){return Qg(this,!0)},has(k){return Jg.call(this,k,!0)},add:Sh("add"),set:Sh("set"),delete:Sh("delete"),clear:Sh("clear"),forEach:ev(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(k=>{n[k]=tv(k,!1,!1),r[k]=tv(k,!0,!1),e[k]=tv(k,!1,!0),E[k]=tv(k,!0,!0)}),[n,r,e,E]}const[R8,D8,z8,F8]=P8();function Wx(n,e){const r=e?n?F8:z8:n?D8:R8;return(E,z,k)=>z==="__v_isReactive"?!n:z==="__v_isReadonly"?n:z==="__v_raw"?E:Reflect.get(ga(r,z)&&z in E?r:E,z,k)}const B8={get:Wx(!1,!1)},N8={get:Wx(!1,!0)},V8={get:Wx(!0,!1)},ET=new WeakMap,LT=new WeakMap,IT=new WeakMap,j8=new WeakMap;function U8(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function H8(n){return n.__v_skip||!Object.isExtensible(n)?0:U8(f8(n))}function bl(n){return $p(n)?n:qx(n,!1,CT,B8,ET)}function G8(n){return qx(n,!1,O8,N8,LT)}function Hm(n){return qx(n,!0,I8,V8,IT)}function qx(n,e,r,E,z){if(!so(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const k=z.get(n);if(k)return k;const m=H8(n);if(m===0)return n;const t=new Proxy(n,m===2?E:r);return z.set(n,t),t}function Bh(n){return $p(n)?Bh(n.__v_raw):!!(n&&n.__v_isReactive)}function $p(n){return!!(n&&n.__v_isReadonly)}function Cv(n){return!!(n&&n.__v_isShallow)}function OT(n){return Bh(n)||$p(n)}function Si(n){const e=n&&n.__v_raw;return e?Si(e):n}function Zp(n){return Av(n,"__v_skip",!0),n}const _m=n=>so(n)?bl(n):n,Yx=n=>so(n)?Hm(n):n;function PT(n){Fh&&Ec&&(n=Si(n),MT(n.dep||(n.dep=jx())))}function RT(n,e){n=Si(n);const r=n.dep;r&&Sb(r)}function eo(n){return!!(n&&n.__v_isRef===!0)}function Vr(n){return DT(n,!1)}function qr(n){return DT(n,!0)}function DT(n,e){return eo(n)?n:new W8(n,e)}class W8{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:Si(e),this._value=r?e:_m(e)}get value(){return PT(this),this._value}set value(e){const r=this.__v_isShallow||Cv(e)||$p(e);e=r?e:Si(e),xm(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:_m(e),RT(this))}}function yu(n){return eo(n)?n.value:n}const q8={get:(n,e,r)=>yu(Reflect.get(n,e,r)),set:(n,e,r,E)=>{const z=n[e];return eo(z)&&!eo(r)?(z.value=r,!0):Reflect.set(n,e,r,E)}};function zT(n){return Bh(n)?n:new Proxy(n,q8)}function by(n){const e=gi(n)?new Array(n.length):{};for(const r in n)e[r]=Cr(n,r);return e}class Y8{constructor(e,r,E){this._object=e,this._key=r,this._defaultValue=E,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return b8(Si(this._object),this._key)}}function Cr(n,e,r){const E=n[e];return eo(E)?E:new Y8(n,e,r)}var FT;class $8{constructor(e,r,E,z){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[FT]=!1,this._dirty=!0,this.effect=new Ux(e,()=>{this._dirty||(this._dirty=!0,RT(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!z,this.__v_isReadonly=E}get value(){const e=Si(this);return PT(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}FT="__v_isReadonly";function Z8(n,e,r=!1){let E,z;const k=Fi(n);return k?(E=n,z=Rc):(E=n.get,z=n.set),new $8(E,z,k||!z,r)}function Nh(n,e,r,E){let z;try{z=E?n(...E):n()}catch(k){xy(k,e,r)}return z}function Ju(n,e,r,E){if(Fi(n)){const k=Nh(n,e,r,E);return k&&vT(k)&&k.catch(m=>{xy(m,e,r)}),k}const z=[];for(let k=0;k>>1;Tm(Zs[E])sf&&Zs.splice(e,1)}function Q8(n){gi(n)?Vp.push(...n):(!Wf||!Wf.includes(n,n.allowRecurse?kd+1:kd))&&Vp.push(n),NT()}function y3(n,e=wm?sf+1:0){for(;eTm(r)-Tm(E)),kd=0;kdn.id==null?1/0:n.id,eE=(n,e)=>{const r=Tm(n)-Tm(e);if(r===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return r};function jT(n){Cb=!1,wm=!0,Zs.sort(eE);const e=Rc;try{for(sf=0;sfPo(h)?h.trim():h)),M&&(z=r.map(kb))}let t,d=E[t=Q1(e)]||E[t=Q1(ec(e))];!d&&k&&(d=E[t=Q1(h0(e))]),d&&Ju(d,n,6,z);const y=E[t+"Once"];if(y){if(!n.emitted)n.emitted={};else if(n.emitted[t])return;n.emitted[t]=!0,Ju(y,n,6,z)}}function UT(n,e,r=!1){const E=e.emitsCache,z=E.get(n);if(z!==void 0)return z;const k=n.emits;let m={},t=!1;if(!Fi(n)){const d=y=>{const i=UT(y,e,!0);i&&(t=!0,Ms(m,i))};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}return!k&&!t?(so(n)&&E.set(n,null),null):(gi(k)?k.forEach(d=>m[d]=null):Ms(m,k),so(n)&&E.set(n,m),m)}function _y(n,e){return!n||!my(e)?!1:(e=e.slice(2).replace(/Once$/,""),ga(n,e[0].toLowerCase()+e.slice(1))||ga(n,h0(e))||ga(n,e))}let Fs=null,wy=null;function Ev(n){const e=Fs;return Fs=n,wy=n&&n.type.__scopeId||null,e}function Ty(n){wy=n}function ky(){wy=null}function si(n,e=Fs,r){if(!e||n._n)return n;const E=(...z)=>{E._d&&E3(-1);const k=Ev(e);let m;try{m=n(...z)}finally{Ev(k),E._d&&E3(1)}return m};return E._n=!0,E._c=!0,E._d=!0,E}function eb(n){const{type:e,vnode:r,proxy:E,withProxy:z,props:k,propsOptions:[m],slots:t,attrs:d,emit:y,render:i,renderCache:M,data:g,setupState:h,ctx:l,inheritAttrs:a}=n;let u,o;const s=Ev(n);try{if(r.shapeFlag&4){const c=z||E;u=of(i.call(c,c,M,k,h,g,l)),o=d}else{const c=e;u=of(c.length>1?c(k,{attrs:d,slots:t,emit:y}):c(k,null)),o=e.props?d:nE(d)}}catch(c){dm.length=0,xy(c,n,1),u=gt(Qu)}let f=u;if(o&&a!==!1){const c=Object.keys(o),{shapeFlag:p}=f;c.length&&p&7&&(m&&c.some(Fx)&&(o=rE(o,m)),f=nh(f,o))}return r.dirs&&(f=nh(f),f.dirs=f.dirs?f.dirs.concat(r.dirs):r.dirs),r.transition&&(f.transition=r.transition),u=f,Ev(s),u}const nE=n=>{let e;for(const r in n)(r==="class"||r==="style"||my(r))&&((e||(e={}))[r]=n[r]);return e},rE=(n,e)=>{const r={};for(const E in n)(!Fx(E)||!(E.slice(9)in e))&&(r[E]=n[E]);return r};function iE(n,e,r){const{props:E,children:z,component:k}=n,{props:m,children:t,patchFlag:d}=e,y=k.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return E?b3(E,m,y):!!m;if(d&8){const i=e.dynamicProps;for(let M=0;Mn.__isSuspense;function sE(n,e){e&&e.pendingBranch?gi(n)?e.effects.push(...n):e.effects.push(n):Q8(n)}function ts(n,e){if(qo){let r=qo.provides;const E=qo.parent&&qo.parent.provides;E===r&&(r=qo.provides=Object.create(E)),r[n]=e}}function ka(n,e,r=!1){const E=qo||Fs;if(E){const z=E.parent==null?E.vnode.appContext&&E.vnode.appContext.provides:E.parent.provides;if(z&&n in z)return z[n];if(arguments.length>1)return r&&Fi(e)?e.call(E.proxy):e}}function wu(n,e){return Xx(n,null,e)}const nv={};function Xr(n,e,r){return Xx(n,e,r)}function Xx(n,e,{immediate:r,deep:E,flush:z,onTrack:k,onTrigger:m}=io){const t=_T()===(qo==null?void 0:qo.scope)?qo:null;let d,y=!1,i=!1;if(eo(n)?(d=()=>n.value,y=Cv(n)):Bh(n)?(d=()=>n,E=!0):gi(n)?(i=!0,y=n.some(f=>Bh(f)||Cv(f)),d=()=>n.map(f=>{if(eo(f))return f.value;if(Bh(f))return Sd(f);if(Fi(f))return Nh(f,t,2)})):Fi(n)?e?d=()=>Nh(n,t,2):d=()=>{if(!(t&&t.isUnmounted))return M&&M(),Ju(n,t,3,[g])}:d=Rc,e&&E){const f=d;d=()=>Sd(f())}let M,g=f=>{M=o.onStop=()=>{Nh(f,t,4)}},h;if(Sm)if(g=Rc,e?r&&Ju(e,t,3,[d(),i?[]:void 0,g]):d(),z==="sync"){const f=KE();h=f.__watcherHandles||(f.__watcherHandles=[])}else return Rc;let l=i?new Array(n.length).fill(nv):nv;const a=()=>{if(o.active)if(e){const f=o.run();(E||y||(i?f.some((c,p)=>xm(c,l[p])):xm(f,l)))&&(M&&M(),Ju(e,t,3,[f,l===nv?void 0:i&&l[0]===nv?[]:l,g]),l=f)}else o.run()};a.allowRecurse=!!e;let u;z==="sync"?u=a:z==="post"?u=()=>Vl(a,t&&t.suspense):(a.pre=!0,t&&(a.id=t.uid),u=()=>Zx(a));const o=new Ux(d,u);e?r?a():l=o.run():z==="post"?Vl(o.run.bind(o),t&&t.suspense):o.run();const s=()=>{o.stop(),t&&t.scope&&Bx(t.scope.effects,o)};return h&&h.push(s),s}function lE(n,e,r){const E=this.proxy,z=Po(n)?n.includes(".")?HT(E,n):()=>E[n]:n.bind(E,E);let k;Fi(e)?k=e:(k=e.handler,r=e);const m=qo;Xp(this);const t=Xx(z,k.bind(E),r);return m?Xp(m):Bd(),t}function HT(n,e){const r=e.split(".");return()=>{let E=n;for(let z=0;z{Sd(r,e)});else if(bT(n))for(const r in n)Sd(n[r],e);return n}function GT(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Js(()=>{n.isMounted=!0}),kl(()=>{n.isUnmounting=!0}),n}const Gu=[Function,Array],uE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Gu,onEnter:Gu,onAfterEnter:Gu,onEnterCancelled:Gu,onBeforeLeave:Gu,onLeave:Gu,onAfterLeave:Gu,onLeaveCancelled:Gu,onBeforeAppear:Gu,onAppear:Gu,onAfterAppear:Gu,onAppearCancelled:Gu},setup(n,{slots:e}){const r=Ey(),E=GT();let z;return()=>{const k=e.default&&Kx(e.default(),!0);if(!k||!k.length)return;let m=k[0];if(k.length>1){for(const a of k)if(a.type!==Qu){m=a;break}}const t=Si(n),{mode:d}=t;if(E.isLeaving)return tb(m);const y=x3(m);if(!y)return tb(m);const i=km(y,t,E,r);Mm(y,i);const M=r.subTree,g=M&&x3(M);let h=!1;const{getTransitionKey:l}=y.type;if(l){const a=l();z===void 0?z=a:a!==z&&(z=a,h=!0)}if(g&&g.type!==Qu&&(!Md(y,g)||h)){const a=km(g,t,E,r);if(Mm(g,a),d==="out-in")return E.isLeaving=!0,a.afterLeave=()=>{E.isLeaving=!1,r.update.active!==!1&&r.update()},tb(m);d==="in-out"&&y.type!==Qu&&(a.delayLeave=(u,o,s)=>{const f=qT(E,g);f[String(g.key)]=g,u._leaveCb=()=>{o(),u._leaveCb=void 0,delete i.delayedLeave},i.delayedLeave=s})}return m}}},WT=uE;function qT(n,e){const{leavingVNodes:r}=n;let E=r.get(e.type);return E||(E=Object.create(null),r.set(e.type,E)),E}function km(n,e,r,E){const{appear:z,mode:k,persisted:m=!1,onBeforeEnter:t,onEnter:d,onAfterEnter:y,onEnterCancelled:i,onBeforeLeave:M,onLeave:g,onAfterLeave:h,onLeaveCancelled:l,onBeforeAppear:a,onAppear:u,onAfterAppear:o,onAppearCancelled:s}=e,f=String(n.key),c=qT(r,n),p=(S,x)=>{S&&Ju(S,E,9,x)},w=(S,x)=>{const T=x[1];p(S,x),gi(S)?S.every(C=>C.length<=1)&&T():S.length<=1&&T()},v={mode:k,persisted:m,beforeEnter(S){let x=t;if(!r.isMounted)if(z)x=a||t;else return;S._leaveCb&&S._leaveCb(!0);const T=c[f];T&&Md(n,T)&&T.el._leaveCb&&T.el._leaveCb(),p(x,[S])},enter(S){let x=d,T=y,C=i;if(!r.isMounted)if(z)x=u||d,T=o||y,C=s||i;else return;let _=!1;const A=S._enterCb=L=>{_||(_=!0,L?p(C,[S]):p(T,[S]),v.delayedLeave&&v.delayedLeave(),S._enterCb=void 0)};x?w(x,[S,A]):A()},leave(S,x){const T=String(n.key);if(S._enterCb&&S._enterCb(!0),r.isUnmounting)return x();p(M,[S]);let C=!1;const _=S._leaveCb=A=>{C||(C=!0,x(),A?p(l,[S]):p(h,[S]),S._leaveCb=void 0,c[T]===n&&delete c[T])};c[T]=n,g?w(g,[S,_]):_()},clone(S){return km(S,e,r,E)}};return v}function tb(n){if(My(n))return n=nh(n),n.children=null,n}function x3(n){return My(n)?n.children?n.children[0]:void 0:n}function Mm(n,e){n.shapeFlag&6&&n.component?Mm(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Kx(n,e=!1,r){let E=[],z=0;for(let k=0;k1)for(let k=0;k!!n.type.__asyncLoader,My=n=>n.type.__isKeepAlive;function YT(n,e){ZT(n,"a",e)}function $T(n,e){ZT(n,"da",e)}function ZT(n,e,r=qo){const E=n.__wdc||(n.__wdc=()=>{let z=r;for(;z;){if(z.isDeactivated)return;z=z.parent}return n()});if(Ay(e,E,r),r){let z=r.parent;for(;z&&z.parent;)My(z.parent.vnode)&&cE(E,e,r,z),z=z.parent}}function cE(n,e,r,E){const z=Ay(e,n,E,!0);JT(()=>{Bx(E[e],z)},r)}function Ay(n,e,r=qo,E=!1){if(r){const z=r[n]||(r[n]=[]),k=e.__weh||(e.__weh=(...m)=>{if(r.isUnmounted)return;d0(),Xp(r);const t=Ju(e,r,n,m);return Bd(),p0(),t});return E?z.unshift(k):z.push(k),k}}const lh=n=>(e,r=qo)=>(!Sm||n==="sp")&&Ay(n,(...E)=>e(...E),r),Sy=lh("bm"),Js=lh("m"),XT=lh("bu"),KT=lh("u"),kl=lh("bum"),JT=lh("um"),fE=lh("sp"),hE=lh("rtg"),dE=lh("rtc");function pE(n,e=qo){Ay("ec",n,e)}function Co(n,e){const r=Fs;if(r===null)return n;const E=Ly(r)||r.proxy,z=n.dirs||(n.dirs=[]);for(let k=0;ke(m,t,void 0,k&&k[t]));else{const m=Object.keys(n);z=new Array(m.length);for(let t=0,d=m.length;tIv(e)?!(e.type===Qu||e.type===Yr&&!e4(e.children)):!0)?n:null}const Eb=n=>n?f4(n)?Ly(n)||n.proxy:Eb(n.parent):null,fm=Ms(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Eb(n.parent),$root:n=>Eb(n.root),$emit:n=>n.emit,$options:n=>e2(n),$forceUpdate:n=>n.f||(n.f=()=>Zx(n.update)),$nextTick:n=>n.n||(n.n=Ua.bind(n.proxy)),$watch:n=>lE.bind(n)}),rb=(n,e)=>n!==io&&!n.__isScriptSetup&&ga(n,e),vE={get({_:n},e){const{ctx:r,setupState:E,data:z,props:k,accessCache:m,type:t,appContext:d}=n;let y;if(e[0]!=="$"){const h=m[e];if(h!==void 0)switch(h){case 1:return E[e];case 2:return z[e];case 4:return r[e];case 3:return k[e]}else{if(rb(E,e))return m[e]=1,E[e];if(z!==io&&ga(z,e))return m[e]=2,z[e];if((y=n.propsOptions[0])&&ga(y,e))return m[e]=3,k[e];if(r!==io&&ga(r,e))return m[e]=4,r[e];Lb&&(m[e]=0)}}const i=fm[e];let M,g;if(i)return e==="$attrs"&&$l(n,"get",e),i(n);if((M=t.__cssModules)&&(M=M[e]))return M;if(r!==io&&ga(r,e))return m[e]=4,r[e];if(g=d.config.globalProperties,ga(g,e))return g[e]},set({_:n},e,r){const{data:E,setupState:z,ctx:k}=n;return rb(z,e)?(z[e]=r,!0):E!==io&&ga(E,e)?(E[e]=r,!0):ga(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(k[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:E,appContext:z,propsOptions:k}},m){let t;return!!r[m]||n!==io&&ga(n,m)||rb(e,m)||(t=k[0])&&ga(t,m)||ga(E,m)||ga(fm,m)||ga(z.config.globalProperties,m)},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:ga(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};let Lb=!0;function yE(n){const e=e2(n),r=n.proxy,E=n.ctx;Lb=!1,e.beforeCreate&&w3(e.beforeCreate,n,"bc");const{data:z,computed:k,methods:m,watch:t,provide:d,inject:y,created:i,beforeMount:M,mounted:g,beforeUpdate:h,updated:l,activated:a,deactivated:u,beforeDestroy:o,beforeUnmount:s,destroyed:f,unmounted:c,render:p,renderTracked:w,renderTriggered:v,errorCaptured:S,serverPrefetch:x,expose:T,inheritAttrs:C,components:_,directives:A,filters:L}=e;if(y&&bE(y,E,null,n.appContext.config.unwrapInjectedRef),m)for(const I in m){const R=m[I];Fi(R)&&(E[I]=R.bind(r))}if(z){const I=z.call(r,r);so(I)&&(n.data=bl(I))}if(Lb=!0,k)for(const I in k){const R=k[I],D=Fi(R)?R.bind(r,r):Fi(R.get)?R.get.bind(r,r):Rc,F=!Fi(R)&&Fi(R.set)?R.set.bind(r):Rc,B=cn({get:D,set:F});Object.defineProperty(E,I,{enumerable:!0,configurable:!0,get:()=>B.value,set:N=>B.value=N})}if(t)for(const I in t)t4(t[I],E,r,I);if(d){const I=Fi(d)?d.call(r):d;Reflect.ownKeys(I).forEach(R=>{ts(R,I[R])})}i&&w3(i,n,"c");function O(I,R){gi(R)?R.forEach(D=>I(D.bind(r))):R&&I(R.bind(r))}if(O(Sy,M),O(Js,g),O(XT,h),O(KT,l),O(YT,a),O($T,u),O(pE,S),O(dE,w),O(hE,v),O(kl,s),O(JT,c),O(fE,x),gi(T))if(T.length){const I=n.exposed||(n.exposed={});T.forEach(R=>{Object.defineProperty(I,R,{get:()=>r[R],set:D=>r[R]=D})})}else n.exposed||(n.exposed={});p&&n.render===Rc&&(n.render=p),C!=null&&(n.inheritAttrs=C),_&&(n.components=_),A&&(n.directives=A)}function bE(n,e,r=Rc,E=!1){gi(n)&&(n=Ib(n));for(const z in n){const k=n[z];let m;so(k)?"default"in k?m=ka(k.from||z,k.default,!0):m=ka(k.from||z):m=ka(k),eo(m)&&E?Object.defineProperty(e,z,{enumerable:!0,configurable:!0,get:()=>m.value,set:t=>m.value=t}):e[z]=m}}function w3(n,e,r){Ju(gi(n)?n.map(E=>E.bind(e.proxy)):n.bind(e.proxy),e,r)}function t4(n,e,r,E){const z=E.includes(".")?HT(r,E):()=>r[E];if(Po(n)){const k=e[n];Fi(k)&&Xr(z,k)}else if(Fi(n))Xr(z,n.bind(r));else if(so(n))if(gi(n))n.forEach(k=>t4(k,e,r,E));else{const k=Fi(n.handler)?n.handler.bind(r):e[n.handler];Fi(k)&&Xr(z,k,n)}}function e2(n){const e=n.type,{mixins:r,extends:E}=e,{mixins:z,optionsCache:k,config:{optionMergeStrategies:m}}=n.appContext,t=k.get(e);let d;return t?d=t:!z.length&&!r&&!E?d=e:(d={},z.length&&z.forEach(y=>Lv(d,y,m,!0)),Lv(d,e,m)),so(e)&&k.set(e,d),d}function Lv(n,e,r,E=!1){const{mixins:z,extends:k}=e;k&&Lv(n,k,r,!0),z&&z.forEach(m=>Lv(n,m,r,!0));for(const m in e)if(!(E&&m==="expose")){const t=xE[m]||r&&r[m];n[m]=t?t(n[m],e[m]):e[m]}return n}const xE={data:T3,props:Td,emits:Td,methods:Td,computed:Td,beforeCreate:ml,created:ml,beforeMount:ml,mounted:ml,beforeUpdate:ml,updated:ml,beforeDestroy:ml,beforeUnmount:ml,destroyed:ml,unmounted:ml,activated:ml,deactivated:ml,errorCaptured:ml,serverPrefetch:ml,components:Td,directives:Td,watch:wE,provide:T3,inject:_E};function T3(n,e){return e?n?function(){return Ms(Fi(n)?n.call(this,this):n,Fi(e)?e.call(this,this):e)}:e:n}function _E(n,e){return Td(Ib(n),Ib(e))}function Ib(n){if(gi(n)){const e={};for(let r=0;r0)&&!(m&16)){if(m&8){const i=n.vnode.dynamicProps;for(let M=0;M{d=!0;const[g,h]=r4(M,e,!0);Ms(m,g),h&&t.push(...h)};!r&&e.mixins.length&&e.mixins.forEach(i),n.extends&&i(n.extends),n.mixins&&n.mixins.forEach(i)}if(!k&&!d)return so(n)&&E.set(n,Bp),Bp;if(gi(k))for(let i=0;i-1,h[1]=a<0||l-1||ga(h,"default"))&&t.push(M)}}}const y=[m,t];return so(n)&&E.set(n,y),y}function k3(n){return n[0]!=="$"}function M3(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function A3(n,e){return M3(n)===M3(e)}function S3(n,e){return gi(e)?e.findIndex(r=>A3(r,n)):Fi(e)&&A3(e,n)?0:-1}const i4=n=>n[0]==="_"||n==="$stable",t2=n=>gi(n)?n.map(of):[of(n)],ME=(n,e,r)=>{if(e._n)return e;const E=si((...z)=>t2(e(...z)),r);return E._c=!1,E},a4=(n,e,r)=>{const E=n._ctx;for(const z in n){if(i4(z))continue;const k=n[z];if(Fi(k))e[z]=ME(z,k,E);else if(k!=null){const m=t2(k);e[z]=()=>m}}},o4=(n,e)=>{const r=t2(e);n.slots.default=()=>r},AE=(n,e)=>{if(n.vnode.shapeFlag&32){const r=e._;r?(n.slots=Si(e),Av(e,"_",r)):a4(e,n.slots={})}else n.slots={},e&&o4(n,e);Av(n.slots,Cy,1)},SE=(n,e,r)=>{const{vnode:E,slots:z}=n;let k=!0,m=io;if(E.shapeFlag&32){const t=e._;t?r&&t===1?k=!1:(Ms(z,e),!r&&t===1&&delete z._):(k=!e.$stable,a4(e,z)),m=e}else e&&(o4(n,e),m={default:1});if(k)for(const t in z)!i4(t)&&!(t in m)&&delete z[t]};function s4(){return{app:null,config:{isNativeTag:l8,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let CE=0;function EE(n,e){return function(E,z=null){Fi(E)||(E=Object.assign({},E)),z!=null&&!so(z)&&(z=null);const k=s4(),m=new Set;let t=!1;const d=k.app={_uid:CE++,_component:E,_props:z,_container:null,_context:k,_instance:null,version:JE,get config(){return k.config},set config(y){},use(y,...i){return m.has(y)||(y&&Fi(y.install)?(m.add(y),y.install(d,...i)):Fi(y)&&(m.add(y),y(d,...i))),d},mixin(y){return k.mixins.includes(y)||k.mixins.push(y),d},component(y,i){return i?(k.components[y]=i,d):k.components[y]},directive(y,i){return i?(k.directives[y]=i,d):k.directives[y]},mount(y,i,M){if(!t){const g=gt(E,z);return g.appContext=k,i&&e?e(g,y):n(g,y,M),t=!0,d._container=y,y.__vue_app__=d,Ly(g.component)||g.component.proxy}},unmount(){t&&(n(null,d._container),delete d._container.__vue_app__)},provide(y,i){return k.provides[y]=i,d}};return d}}function Pb(n,e,r,E,z=!1){if(gi(n)){n.forEach((g,h)=>Pb(g,e&&(gi(e)?e[h]:e),r,E,z));return}if(cm(E)&&!z)return;const k=E.shapeFlag&4?Ly(E.component)||E.component.proxy:E.el,m=z?null:k,{i:t,r:d}=n,y=e&&e.r,i=t.refs===io?t.refs={}:t.refs,M=t.setupState;if(y!=null&&y!==d&&(Po(y)?(i[y]=null,ga(M,y)&&(M[y]=null)):eo(y)&&(y.value=null)),Fi(d))Nh(d,t,12,[m,i]);else{const g=Po(d),h=eo(d);if(g||h){const l=()=>{if(n.f){const a=g?ga(M,d)?M[d]:i[d]:d.value;z?gi(a)&&Bx(a,k):gi(a)?a.includes(k)||a.push(k):g?(i[d]=[k],ga(M,d)&&(M[d]=i[d])):(d.value=[k],n.k&&(i[n.k]=d.value))}else g?(i[d]=m,ga(M,d)&&(M[d]=m)):h&&(d.value=m,n.k&&(i[n.k]=m))};m?(l.id=-1,Vl(l,r)):l()}}}const Vl=sE;function LE(n){return IE(n)}function IE(n,e){const r=m8();r.__VUE__=!0;const{insert:E,remove:z,patchProp:k,createElement:m,createText:t,createComment:d,setText:y,setElementText:i,parentNode:M,nextSibling:g,setScopeId:h=Rc,insertStaticContent:l}=n,a=(Z,X,Q,re=null,ie=null,oe=null,ue=!1,ce=null,ye=!!X.dynamicChildren)=>{if(Z===X)return;Z&&!Md(Z,X)&&(re=G(Z),N(Z,ie,oe,!0),Z=null),X.patchFlag===-2&&(ye=!1,X.dynamicChildren=null);const{type:de,ref:me,shapeFlag:pe}=X;switch(de){case Gm:u(Z,X,Q,re);break;case Qu:o(Z,X,Q,re);break;case dv:Z==null&&s(X,Q,re,ue);break;case Yr:_(Z,X,Q,re,ie,oe,ue,ce,ye);break;default:pe&1?p(Z,X,Q,re,ie,oe,ue,ce,ye):pe&6?A(Z,X,Q,re,ie,oe,ue,ce,ye):(pe&64||pe&128)&&de.process(Z,X,Q,re,ie,oe,ue,ce,ye,H)}me!=null&&ie&&Pb(me,Z&&Z.ref,oe,X||Z,!X)},u=(Z,X,Q,re)=>{if(Z==null)E(X.el=t(X.children),Q,re);else{const ie=X.el=Z.el;X.children!==Z.children&&y(ie,X.children)}},o=(Z,X,Q,re)=>{Z==null?E(X.el=d(X.children||""),Q,re):X.el=Z.el},s=(Z,X,Q,re)=>{[Z.el,Z.anchor]=l(Z.children,X,Q,re,Z.el,Z.anchor)},f=({el:Z,anchor:X},Q,re)=>{let ie;for(;Z&&Z!==X;)ie=g(Z),E(Z,Q,re),Z=ie;E(X,Q,re)},c=({el:Z,anchor:X})=>{let Q;for(;Z&&Z!==X;)Q=g(Z),z(Z),Z=Q;z(X)},p=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{ue=ue||X.type==="svg",Z==null?w(X,Q,re,ie,oe,ue,ce,ye):x(Z,X,ie,oe,ue,ce,ye)},w=(Z,X,Q,re,ie,oe,ue,ce)=>{let ye,de;const{type:me,props:pe,shapeFlag:xe,transition:Pe,dirs:_e}=Z;if(ye=Z.el=m(Z.type,oe,pe&&pe.is,pe),xe&8?i(ye,Z.children):xe&16&&S(Z.children,ye,null,re,ie,oe&&me!=="foreignObject",ue,ce),_e&&vd(Z,null,re,"created"),v(ye,Z,Z.scopeId,ue,re),pe){for(const Se in pe)Se!=="value"&&!fv(Se)&&k(ye,Se,null,pe[Se],oe,Z.children,re,ie,U);"value"in pe&&k(ye,"value",null,pe.value),(de=pe.onVnodeBeforeMount)&&tf(de,re,Z)}_e&&vd(Z,null,re,"beforeMount");const Me=(!ie||ie&&!ie.pendingBranch)&&Pe&&!Pe.persisted;Me&&Pe.beforeEnter(ye),E(ye,X,Q),((de=pe&&pe.onVnodeMounted)||Me||_e)&&Vl(()=>{de&&tf(de,re,Z),Me&&Pe.enter(ye),_e&&vd(Z,null,re,"mounted")},ie)},v=(Z,X,Q,re,ie)=>{if(Q&&h(Z,Q),re)for(let oe=0;oe{for(let de=ye;de{const ce=X.el=Z.el;let{patchFlag:ye,dynamicChildren:de,dirs:me}=X;ye|=Z.patchFlag&16;const pe=Z.props||io,xe=X.props||io;let Pe;Q&&yd(Q,!1),(Pe=xe.onVnodeBeforeUpdate)&&tf(Pe,Q,X,Z),me&&vd(X,Z,Q,"beforeUpdate"),Q&&yd(Q,!0);const _e=ie&&X.type!=="foreignObject";if(de?T(Z.dynamicChildren,de,ce,Q,re,_e,oe):ue||R(Z,X,ce,null,Q,re,_e,oe,!1),ye>0){if(ye&16)C(ce,X,pe,xe,Q,re,ie);else if(ye&2&&pe.class!==xe.class&&k(ce,"class",null,xe.class,ie),ye&4&&k(ce,"style",pe.style,xe.style,ie),ye&8){const Me=X.dynamicProps;for(let Se=0;Se{Pe&&tf(Pe,Q,X,Z),me&&vd(X,Z,Q,"updated")},re)},T=(Z,X,Q,re,ie,oe,ue)=>{for(let ce=0;ce{if(Q!==re){if(Q!==io)for(const ce in Q)!fv(ce)&&!(ce in re)&&k(Z,ce,Q[ce],null,ue,X.children,ie,oe,U);for(const ce in re){if(fv(ce))continue;const ye=re[ce],de=Q[ce];ye!==de&&ce!=="value"&&k(Z,ce,de,ye,ue,X.children,ie,oe,U)}"value"in re&&k(Z,"value",Q.value,re.value)}},_=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{const de=X.el=Z?Z.el:t(""),me=X.anchor=Z?Z.anchor:t("");let{patchFlag:pe,dynamicChildren:xe,slotScopeIds:Pe}=X;Pe&&(ce=ce?ce.concat(Pe):Pe),Z==null?(E(de,Q,re),E(me,Q,re),S(X.children,Q,me,ie,oe,ue,ce,ye)):pe>0&&pe&64&&xe&&Z.dynamicChildren?(T(Z.dynamicChildren,xe,Q,ie,oe,ue,ce),(X.key!=null||ie&&X===ie.subTree)&&n2(Z,X,!0)):R(Z,X,Q,me,ie,oe,ue,ce,ye)},A=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{X.slotScopeIds=ce,Z==null?X.shapeFlag&512?ie.ctx.activate(X,Q,re,ue,ye):L(X,Q,re,ie,oe,ue,ye):b(Z,X,ye)},L=(Z,X,Q,re,ie,oe,ue)=>{const ce=Z.component=HE(Z,re,ie);if(My(Z)&&(ce.ctx.renderer=H),GE(ce),ce.asyncDep){if(ie&&ie.registerDep(ce,O),!Z.el){const ye=ce.subTree=gt(Qu);o(null,ye,X,Q)}return}O(ce,Z,X,Q,ie,oe,ue)},b=(Z,X,Q)=>{const re=X.component=Z.component;if(iE(Z,X,Q))if(re.asyncDep&&!re.asyncResolved){I(re,X,Q);return}else re.next=X,J8(re.update),re.update();else X.el=Z.el,re.vnode=X},O=(Z,X,Q,re,ie,oe,ue)=>{const ce=()=>{if(Z.isMounted){let{next:me,bu:pe,u:xe,parent:Pe,vnode:_e}=Z,Me=me,Se;yd(Z,!1),me?(me.el=_e.el,I(Z,me,ue)):me=_e,pe&&hv(pe),(Se=me.props&&me.props.onVnodeBeforeUpdate)&&tf(Se,Pe,me,_e),yd(Z,!0);const Ce=eb(Z),ae=Z.subTree;Z.subTree=Ce,a(ae,Ce,M(ae.el),G(ae),Z,ie,oe),me.el=Ce.el,Me===null&&aE(Z,Ce.el),xe&&Vl(xe,ie),(Se=me.props&&me.props.onVnodeUpdated)&&Vl(()=>tf(Se,Pe,me,_e),ie)}else{let me;const{el:pe,props:xe}=X,{bm:Pe,m:_e,parent:Me}=Z,Se=cm(X);if(yd(Z,!1),Pe&&hv(Pe),!Se&&(me=xe&&xe.onVnodeBeforeMount)&&tf(me,Me,X),yd(Z,!0),pe&&te){const Ce=()=>{Z.subTree=eb(Z),te(pe,Z.subTree,Z,ie,null)};Se?X.type.__asyncLoader().then(()=>!Z.isUnmounted&&Ce()):Ce()}else{const Ce=Z.subTree=eb(Z);a(null,Ce,Q,re,Z,ie,oe),X.el=Ce.el}if(_e&&Vl(_e,ie),!Se&&(me=xe&&xe.onVnodeMounted)){const Ce=X;Vl(()=>tf(me,Me,Ce),ie)}(X.shapeFlag&256||Me&&cm(Me.vnode)&&Me.vnode.shapeFlag&256)&&Z.a&&Vl(Z.a,ie),Z.isMounted=!0,X=Q=re=null}},ye=Z.effect=new Ux(ce,()=>Zx(de),Z.scope),de=Z.update=()=>ye.run();de.id=Z.uid,yd(Z,!0),de()},I=(Z,X,Q)=>{X.component=Z;const re=Z.vnode.props;Z.vnode=X,Z.next=null,kE(Z,X.props,re,Q),SE(Z,X.children,Q),d0(),y3(),p0()},R=(Z,X,Q,re,ie,oe,ue,ce,ye=!1)=>{const de=Z&&Z.children,me=Z?Z.shapeFlag:0,pe=X.children,{patchFlag:xe,shapeFlag:Pe}=X;if(xe>0){if(xe&128){F(de,pe,Q,re,ie,oe,ue,ce,ye);return}else if(xe&256){D(de,pe,Q,re,ie,oe,ue,ce,ye);return}}Pe&8?(me&16&&U(de,ie,oe),pe!==de&&i(Q,pe)):me&16?Pe&16?F(de,pe,Q,re,ie,oe,ue,ce,ye):U(de,ie,oe,!0):(me&8&&i(Q,""),Pe&16&&S(pe,Q,re,ie,oe,ue,ce,ye))},D=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{Z=Z||Bp,X=X||Bp;const de=Z.length,me=X.length,pe=Math.min(de,me);let xe;for(xe=0;xeme?U(Z,ie,oe,!0,!1,pe):S(X,Q,re,ie,oe,ue,ce,ye,pe)},F=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{let de=0;const me=X.length;let pe=Z.length-1,xe=me-1;for(;de<=pe&&de<=xe;){const Pe=Z[de],_e=X[de]=ye?Oh(X[de]):of(X[de]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;de++}for(;de<=pe&&de<=xe;){const Pe=Z[pe],_e=X[xe]=ye?Oh(X[xe]):of(X[xe]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;pe--,xe--}if(de>pe){if(de<=xe){const Pe=xe+1,_e=Pexe)for(;de<=pe;)N(Z[de],ie,oe,!0),de++;else{const Pe=de,_e=de,Me=new Map;for(de=_e;de<=xe;de++){const Be=X[de]=ye?Oh(X[de]):of(X[de]);Be.key!=null&&Me.set(Be.key,de)}let Se,Ce=0;const ae=xe-_e+1;let he=!1,be=0;const ke=new Array(ae);for(de=0;de=ae){N(Be,ie,oe,!0);continue}let ze;if(Be.key!=null)ze=Me.get(Be.key);else for(Se=_e;Se<=xe;Se++)if(ke[Se-_e]===0&&Md(Be,X[Se])){ze=Se;break}ze===void 0?N(Be,ie,oe,!0):(ke[ze-_e]=de+1,ze>=be?be=ze:he=!0,a(Be,X[ze],Q,null,ie,oe,ue,ce,ye),Ce++)}const Le=he?OE(ke):Bp;for(Se=Le.length-1,de=ae-1;de>=0;de--){const Be=_e+de,ze=X[Be],je=Be+1{const{el:oe,type:ue,transition:ce,children:ye,shapeFlag:de}=Z;if(de&6){B(Z.component.subTree,X,Q,re);return}if(de&128){Z.suspense.move(X,Q,re);return}if(de&64){ue.move(Z,X,Q,H);return}if(ue===Yr){E(oe,X,Q);for(let pe=0;pece.enter(oe),ie);else{const{leave:pe,delayLeave:xe,afterLeave:Pe}=ce,_e=()=>E(oe,X,Q),Me=()=>{pe(oe,()=>{_e(),Pe&&Pe()})};xe?xe(oe,_e,Me):Me()}else E(oe,X,Q)},N=(Z,X,Q,re=!1,ie=!1)=>{const{type:oe,props:ue,ref:ce,children:ye,dynamicChildren:de,shapeFlag:me,patchFlag:pe,dirs:xe}=Z;if(ce!=null&&Pb(ce,null,Q,Z,!0),me&256){X.ctx.deactivate(Z);return}const Pe=me&1&&xe,_e=!cm(Z);let Me;if(_e&&(Me=ue&&ue.onVnodeBeforeUnmount)&&tf(Me,X,Z),me&6)$(Z.component,Q,re);else{if(me&128){Z.suspense.unmount(Q,re);return}Pe&&vd(Z,null,X,"beforeUnmount"),me&64?Z.type.remove(Z,X,Q,ie,H,re):de&&(oe!==Yr||pe>0&&pe&64)?U(de,X,Q,!1,!0):(oe===Yr&&pe&384||!ie&&me&16)&&U(ye,X,Q),re&&q(Z)}(_e&&(Me=ue&&ue.onVnodeUnmounted)||Pe)&&Vl(()=>{Me&&tf(Me,X,Z),Pe&&vd(Z,null,X,"unmounted")},Q)},q=Z=>{const{type:X,el:Q,anchor:re,transition:ie}=Z;if(X===Yr){j(Q,re);return}if(X===dv){c(Z);return}const oe=()=>{z(Q),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(Z.shapeFlag&1&&ie&&!ie.persisted){const{leave:ue,delayLeave:ce}=ie,ye=()=>ue(Q,oe);ce?ce(Z.el,oe,ye):ye()}else oe()},j=(Z,X)=>{let Q;for(;Z!==X;)Q=g(Z),z(Z),Z=Q;z(X)},$=(Z,X,Q)=>{const{bum:re,scope:ie,update:oe,subTree:ue,um:ce}=Z;re&&hv(re),ie.stop(),oe&&(oe.active=!1,N(ue,Z,X,Q)),ce&&Vl(ce,X),Vl(()=>{Z.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},U=(Z,X,Q,re=!1,ie=!1,oe=0)=>{for(let ue=oe;ueZ.shapeFlag&6?G(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():g(Z.anchor||Z.el),W=(Z,X,Q)=>{Z==null?X._vnode&&N(X._vnode,null,null,!0):a(X._vnode||null,Z,X,null,null,null,Q),y3(),VT(),X._vnode=Z},H={p:a,um:N,m:B,r:q,mt:L,mc:S,pc:R,pbc:T,n:G,o:n};let ne,te;return e&&([ne,te]=e(H)),{render:W,hydrate:ne,createApp:EE(W,ne)}}function yd({effect:n,update:e},r){n.allowRecurse=e.allowRecurse=r}function n2(n,e,r=!1){const E=n.children,z=e.children;if(gi(E)&&gi(z))for(let k=0;k>1,n[r[t]]0&&(e[E]=r[k-1]),r[k]=E)}}for(k=r.length,m=r[k-1];k-- >0;)r[k]=m,m=e[m];return r}const PE=n=>n.__isTeleport,hm=n=>n&&(n.disabled||n.disabled===""),C3=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Rb=(n,e)=>{const r=n&&n.to;return Po(r)?e?e(r):null:r},RE={__isTeleport:!0,process(n,e,r,E,z,k,m,t,d,y){const{mc:i,pc:M,pbc:g,o:{insert:h,querySelector:l,createText:a,createComment:u}}=y,o=hm(e.props);let{shapeFlag:s,children:f,dynamicChildren:c}=e;if(n==null){const p=e.el=a(""),w=e.anchor=a("");h(p,r,E),h(w,r,E);const v=e.target=Rb(e.props,l),S=e.targetAnchor=a("");v&&(h(S,v),m=m||C3(v));const x=(T,C)=>{s&16&&i(f,T,C,z,k,m,t,d)};o?x(r,w):v&&x(v,S)}else{e.el=n.el;const p=e.anchor=n.anchor,w=e.target=n.target,v=e.targetAnchor=n.targetAnchor,S=hm(n.props),x=S?r:w,T=S?p:v;if(m=m||C3(w),c?(g(n.dynamicChildren,c,x,z,k,m,t),n2(n,e,!0)):d||M(n,e,x,T,z,k,m,t,!1),o)S||rv(e,r,p,y,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const C=e.target=Rb(e.props,l);C&&rv(e,C,null,y,0)}else S&&rv(e,w,v,y,1)}l4(e)},remove(n,e,r,E,{um:z,o:{remove:k}},m){const{shapeFlag:t,children:d,anchor:y,targetAnchor:i,target:M,props:g}=n;if(M&&k(i),(m||!hm(g))&&(k(y),t&16))for(let h=0;h0?Lc||Bp:null,FE(),Am>0&&Lc&&Lc.push(n),n}function ei(n,e,r,E,z,k){return u4(ti(n,e,r,E,z,k,!0))}function Va(n,e,r,E,z){return u4(gt(n,e,r,E,z,!0))}function Iv(n){return n?n.__v_isVNode===!0:!1}function Md(n,e){return n.type===e.type&&n.key===e.key}const Cy="__vInternal",c4=({key:n})=>n??null,pv=({ref:n,ref_key:e,ref_for:r})=>n!=null?Po(n)||eo(n)||Fi(n)?{i:Fs,r:n,k:e,f:!!r}:n:null;function ti(n,e=null,r=null,E=0,z=null,k=n===Yr?0:1,m=!1,t=!1){const d={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&c4(e),ref:e&&pv(e),scopeId:wy,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:k,patchFlag:E,dynamicProps:z,dynamicChildren:null,appContext:null,ctx:Fs};return t?(r2(d,r),k&128&&n.normalize(d)):r&&(d.shapeFlag|=Po(r)?8:16),Am>0&&!m&&Lc&&(d.patchFlag>0||k&6)&&d.patchFlag!==32&&Lc.push(d),d}const gt=BE;function BE(n,e=null,r=null,E=0,z=null,k=!1){if((!n||n===QT)&&(n=Qu),Iv(n)){const t=nh(n,e,!0);return r&&r2(t,r),Am>0&&!k&&Lc&&(t.shapeFlag&6?Lc[Lc.indexOf(n)]=t:Lc.push(t)),t.patchFlag|=-2,t}if(ZE(n)&&(n=n.__vccOpts),e){e=NE(e);let{class:t,style:d}=e;t&&!Po(t)&&(e.class=Ku(t)),so(d)&&(OT(d)&&!gi(d)&&(d=Ms({},d)),e.style=$s(d))}const m=Po(n)?1:oE(n)?128:PE(n)?64:so(n)?4:Fi(n)?2:0;return ti(n,e,r,E,z,m,k,!0)}function NE(n){return n?OT(n)||Cy in n?Ms({},n):n:null}function nh(n,e,r=!1){const{props:E,ref:z,patchFlag:k,children:m}=n,t=e?Wr(E||{},e):E;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:t,key:t&&c4(t),ref:e&&e.ref?r&&z?gi(z)?z.concat(pv(e)):[z,pv(e)]:pv(e):z,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:m,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Yr?k===-1?16:k|16:k,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&nh(n.ssContent),ssFallback:n.ssFallback&&nh(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function ea(n=" ",e=0){return gt(Gm,null,n,e)}function VE(n,e){const r=gt(dv,null,n);return r.staticCount=e,r}function Zi(n="",e=!1){return e?(Pr(),Va(Qu,null,n)):gt(Qu,null,n)}function of(n){return n==null||typeof n=="boolean"?gt(Qu):gi(n)?gt(Yr,null,n.slice()):typeof n=="object"?Oh(n):gt(Gm,null,String(n))}function Oh(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:nh(n)}function r2(n,e){let r=0;const{shapeFlag:E}=n;if(e==null)e=null;else if(gi(e))r=16;else if(typeof e=="object")if(E&65){const z=e.default;z&&(z._c&&(z._d=!1),r2(n,z()),z._c&&(z._d=!0));return}else{r=32;const z=e._;!z&&!(Cy in e)?e._ctx=Fs:z===3&&Fs&&(Fs.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Fi(e)?(e={default:e,_ctx:Fs},r=32):(e=String(e),E&64?(r=16,e=[ea(e)]):r=8);n.children=e,n.shapeFlag|=r}function Wr(...n){const e={};for(let r=0;rqo||Fs,Xp=n=>{qo=n,n.scope.on()},Bd=()=>{qo&&qo.scope.off(),qo=null};function f4(n){return n.vnode.shapeFlag&4}let Sm=!1;function GE(n,e=!1){Sm=e;const{props:r,children:E}=n.vnode,z=f4(n);TE(n,r,z,e),AE(n,E);const k=z?WE(n,e):void 0;return Sm=!1,k}function WE(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=Zp(new Proxy(n.ctx,vE));const{setup:E}=r;if(E){const z=n.setupContext=E.length>1?YE(n):null;Xp(n),d0();const k=Nh(E,n,0,[n.props,z]);if(p0(),Bd(),vT(k)){if(k.then(Bd,Bd),e)return k.then(m=>{L3(n,m,e)}).catch(m=>{xy(m,n,0)});n.asyncDep=k}else L3(n,k,e)}else h4(n,e)}function L3(n,e,r){Fi(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:so(e)&&(n.setupState=zT(e)),h4(n,r)}let I3;function h4(n,e,r){const E=n.type;if(!n.render){if(!e&&I3&&!E.render){const z=E.template||e2(n).template;if(z){const{isCustomElement:k,compilerOptions:m}=n.appContext.config,{delimiters:t,compilerOptions:d}=E,y=Ms(Ms({isCustomElement:k,delimiters:t},m),d);E.render=I3(z,y)}}n.render=E.render||Rc}Xp(n),d0(),yE(n),p0(),Bd()}function qE(n){return new Proxy(n.attrs,{get(e,r){return $l(n,"get","$attrs"),e[r]}})}function YE(n){const e=E=>{n.exposed=E||{}};let r;return{get attrs(){return r||(r=qE(n))},slots:n.slots,emit:n.emit,expose:e}}function Ly(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(zT(Zp(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in fm)return fm[r](n)},has(e,r){return r in e||r in fm}}))}function $E(n,e=!0){return Fi(n)?n.displayName||n.name:n.name||e&&n.__name}function ZE(n){return Fi(n)&&"__vccOpts"in n}const cn=(n,e)=>Z8(n,e,Sm);function Xh(n,e,r){const E=arguments.length;return E===2?so(e)&&!gi(e)?Iv(e)?gt(n,null,[e]):gt(n,e):gt(n,null,e):(E>3?r=Array.prototype.slice.call(arguments,2):E===3&&Iv(r)&&(r=[r]),gt(n,e,r))}const XE=Symbol(""),KE=()=>ka(XE),JE="3.2.47",QE="http://www.w3.org/2000/svg",Ad=typeof document<"u"?document:null,O3=Ad&&Ad.createElement("template"),e7={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,E)=>{const z=e?Ad.createElementNS(QE,n):Ad.createElement(n,r?{is:r}:void 0);return n==="select"&&E&&E.multiple!=null&&z.setAttribute("multiple",E.multiple),z},createText:n=>Ad.createTextNode(n),createComment:n=>Ad.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Ad.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,E,z,k){const m=r?r.previousSibling:e.lastChild;if(z&&(z===k||z.nextSibling))for(;e.insertBefore(z.cloneNode(!0),r),!(z===k||!(z=z.nextSibling)););else{O3.innerHTML=E?`${n}`:n;const t=O3.content;if(E){const d=t.firstChild;for(;d.firstChild;)t.appendChild(d.firstChild);t.removeChild(d)}e.insertBefore(t,r)}return[m?m.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function t7(n,e,r){const E=n._vtc;E&&(e=(e?[e,...E]:[...E]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}function n7(n,e,r){const E=n.style,z=Po(r);if(r&&!z){if(e&&!Po(e))for(const k in e)r[k]==null&&Db(E,k,"");for(const k in r)Db(E,k,r[k])}else{const k=E.display;z?e!==r&&(E.cssText=r):e&&n.removeAttribute("style"),"_vod"in n&&(E.display=k)}}const P3=/\s*!important$/;function Db(n,e,r){if(gi(r))r.forEach(E=>Db(n,e,E));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const E=r7(n,e);P3.test(r)?n.setProperty(h0(E),r.replace(P3,""),"important"):n[E]=r}}const R3=["Webkit","Moz","ms"],ib={};function r7(n,e){const r=ib[e];if(r)return r;let E=ec(e);if(E!=="filter"&&E in n)return ib[e]=E;E=sh(E);for(let z=0;zab||(u7.then(()=>ab=0),ab=Date.now());function f7(n,e){const r=E=>{if(!E._vts)E._vts=Date.now();else if(E._vts<=r.attached)return;Ju(h7(E,r.value),e,5,[E])};return r.value=n,r.attached=c7(),r}function h7(n,e){if(gi(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(E=>z=>!z._stopped&&E&&E(z))}else return e}const F3=/^on[a-z]/,d7=(n,e,r,E,z=!1,k,m,t,d)=>{e==="class"?t7(n,E,z):e==="style"?n7(n,r,E):my(e)?Fx(e)||s7(n,e,r,E,m):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):p7(n,e,E,z))?a7(n,e,E,k,m,t,d):(e==="true-value"?n._trueValue=E:e==="false-value"&&(n._falseValue=E),i7(n,e,E,z))};function p7(n,e,r,E){return E?!!(e==="innerHTML"||e==="textContent"||e in n&&F3.test(e)&&Fi(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||F3.test(e)&&Po(r)?!1:e in n}const Ch="transition",tm="animation",bf=(n,{slots:e})=>Xh(WT,p4(n),e);bf.displayName="Transition";const d4={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},m7=bf.props=Ms({},WT.props,d4),bd=(n,e=[])=>{gi(n)?n.forEach(r=>r(...e)):n&&n(...e)},B3=n=>n?gi(n)?n.some(e=>e.length>1):n.length>1:!1;function p4(n){const e={};for(const _ in n)_ in d4||(e[_]=n[_]);if(n.css===!1)return e;const{name:r="v",type:E,duration:z,enterFromClass:k=`${r}-enter-from`,enterActiveClass:m=`${r}-enter-active`,enterToClass:t=`${r}-enter-to`,appearFromClass:d=k,appearActiveClass:y=m,appearToClass:i=t,leaveFromClass:M=`${r}-leave-from`,leaveActiveClass:g=`${r}-leave-active`,leaveToClass:h=`${r}-leave-to`}=n,l=g7(z),a=l&&l[0],u=l&&l[1],{onBeforeEnter:o,onEnter:s,onEnterCancelled:f,onLeave:c,onLeaveCancelled:p,onBeforeAppear:w=o,onAppear:v=s,onAppearCancelled:S=f}=e,x=(_,A,L)=>{Lh(_,A?i:t),Lh(_,A?y:m),L&&L()},T=(_,A)=>{_._isLeaving=!1,Lh(_,M),Lh(_,h),Lh(_,g),A&&A()},C=_=>(A,L)=>{const b=_?v:s,O=()=>x(A,_,L);bd(b,[A,O]),N3(()=>{Lh(A,_?d:k),Hf(A,_?i:t),B3(b)||V3(A,E,a,O)})};return Ms(e,{onBeforeEnter(_){bd(o,[_]),Hf(_,k),Hf(_,m)},onBeforeAppear(_){bd(w,[_]),Hf(_,d),Hf(_,y)},onEnter:C(!1),onAppear:C(!0),onLeave(_,A){_._isLeaving=!0;const L=()=>T(_,A);Hf(_,M),g4(),Hf(_,g),N3(()=>{_._isLeaving&&(Lh(_,M),Hf(_,h),B3(c)||V3(_,E,u,L))}),bd(c,[_,L])},onEnterCancelled(_){x(_,!1),bd(f,[_])},onAppearCancelled(_){x(_,!0),bd(S,[_])},onLeaveCancelled(_){T(_),bd(p,[_])}})}function g7(n){if(n==null)return null;if(so(n))return[ob(n.enter),ob(n.leave)];{const e=ob(n);return[e,e]}}function ob(n){return p8(n)}function Hf(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n._vtc||(n._vtc=new Set)).add(e)}function Lh(n,e){e.split(/\s+/).forEach(E=>E&&n.classList.remove(E));const{_vtc:r}=n;r&&(r.delete(e),r.size||(n._vtc=void 0))}function N3(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let v7=0;function V3(n,e,r,E){const z=n._endId=++v7,k=()=>{z===n._endId&&E()};if(r)return setTimeout(k,r);const{type:m,timeout:t,propCount:d}=m4(n,e);if(!m)return E();const y=m+"end";let i=0;const M=()=>{n.removeEventListener(y,g),k()},g=h=>{h.target===n&&++i>=d&&M()};setTimeout(()=>{i(r[l]||"").split(", "),z=E(`${Ch}Delay`),k=E(`${Ch}Duration`),m=j3(z,k),t=E(`${tm}Delay`),d=E(`${tm}Duration`),y=j3(t,d);let i=null,M=0,g=0;e===Ch?m>0&&(i=Ch,M=m,g=k.length):e===tm?y>0&&(i=tm,M=y,g=d.length):(M=Math.max(m,y),i=M>0?m>y?Ch:tm:null,g=i?i===Ch?k.length:d.length:0);const h=i===Ch&&/\b(transform|all)(,|$)/.test(E(`${Ch}Property`).toString());return{type:i,timeout:M,propCount:g,hasTransform:h}}function j3(n,e){for(;n.lengthU3(r)+U3(n[E])))}function U3(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function g4(){return document.body.offsetHeight}const v4=new WeakMap,y4=new WeakMap,b4={name:"TransitionGroup",props:Ms({},m7,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=Ey(),E=GT();let z,k;return KT(()=>{if(!z.length)return;const m=n.moveClass||`${n.name||"v"}-move`;if(!T7(z[0].el,r.vnode.el,m))return;z.forEach(x7),z.forEach(_7);const t=z.filter(w7);g4(),t.forEach(d=>{const y=d.el,i=y.style;Hf(y,m),i.transform=i.webkitTransform=i.transitionDuration="";const M=y._moveCb=g=>{g&&g.target!==y||(!g||/transform$/.test(g.propertyName))&&(y.removeEventListener("transitionend",M),y._moveCb=null,Lh(y,m))};y.addEventListener("transitionend",M)})}),()=>{const m=Si(n),t=p4(m);let d=m.tag||Yr;z=k,k=e.default?Kx(e.default()):[];for(let y=0;ydelete n.mode;b4.props;const b7=b4;function x7(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function _7(n){y4.set(n,n.el.getBoundingClientRect())}function w7(n){const e=v4.get(n),r=y4.get(n),E=e.left-r.left,z=e.top-r.top;if(E||z){const k=n.el.style;return k.transform=k.webkitTransform=`translate(${E}px,${z}px)`,k.transitionDuration="0s",n}}function T7(n,e,r){const E=n.cloneNode();n._vtc&&n._vtc.forEach(m=>{m.split(/\s+/).forEach(t=>t&&E.classList.remove(t))}),r.split(/\s+/).forEach(m=>m&&E.classList.add(m)),E.style.display="none";const z=e.nodeType===1?e:e.parentNode;z.appendChild(E);const{hasTransform:k}=m4(E);return z.removeChild(E),k}const H3=n=>{const e=n.props["onUpdate:modelValue"]||!1;return gi(e)?r=>hv(e,r):e};function k7(n){n.target.composing=!0}function G3(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const M7={created(n,{modifiers:{lazy:e,trim:r,number:E}},z){n._assign=H3(z);const k=E||z.props&&z.props.type==="number";Ip(n,e?"change":"input",m=>{if(m.target.composing)return;let t=n.value;r&&(t=t.trim()),k&&(t=kb(t)),n._assign(t)}),r&&Ip(n,"change",()=>{n.value=n.value.trim()}),e||(Ip(n,"compositionstart",k7),Ip(n,"compositionend",G3),Ip(n,"change",G3))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:r,trim:E,number:z}},k){if(n._assign=H3(k),n.composing||document.activeElement===n&&n.type!=="range"&&(r||E&&n.value.trim()===e||(z||n.type==="number")&&kb(n.value)===e))return;const m=e??"";n.value!==m&&(n.value=m)}},A7=["ctrl","shift","alt","meta"],S7={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>A7.some(r=>n[`${r}Key`]&&!e.includes(r))},jp=(n,e)=>(r,...E)=>{for(let z=0;z{nm(n,!1)}):nm(n,e))},beforeUnmount(n,{value:e}){nm(n,e)}};function nm(n,e){n.style.display=e?n._vod:"none"}const C7=Ms({patchProp:d7},e7);let W3;function E7(){return W3||(W3=LE(C7))}const L7=(...n)=>{const e=E7().createApp(...n),{mount:r}=e;return e.mount=E=>{const z=I7(E);if(!z)return;const k=e._component;!Fi(k)&&!k.render&&!k.template&&(k.template=z.innerHTML),z.innerHTML="";const m=r(z,!1,z instanceof SVGElement);return z instanceof Element&&(z.removeAttribute("v-cloak"),z.setAttribute("data-v-app","")),m},e};function I7(n){return Po(n)?document.querySelector(n):n}var O7=!1;/*! +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const z of document.querySelectorAll('link[rel="modulepreload"]'))E(z);new MutationObserver(z=>{for(const k of z)if(k.type==="childList")for(const m of k.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&E(m)}).observe(document,{childList:!0,subtree:!0});function r(z){const k={};return z.integrity&&(k.integrity=z.integrity),z.referrerPolicy&&(k.referrerPolicy=z.referrerPolicy),z.crossOrigin==="use-credentials"?k.credentials="include":z.crossOrigin==="anonymous"?k.credentials="omit":k.credentials="same-origin",k}function E(z){if(z.ep)return;z.ep=!0;const k=r(z);fetch(z.href,k)}})();function zx(n,e){const r=Object.create(null),E=n.split(",");for(let z=0;z!!r[z.toLowerCase()]:z=>!!r[z]}function Ys(n){if(gi(n)){const e={};for(let r=0;r{if(r){const E=r.split(r8);E.length>1&&(e[E[0].trim()]=E[1].trim())}}),e}function Ku(n){let e="";if(Oo(n))e=n;else if(gi(n))for(let r=0;rOo(n)?n:n==null?"":gi(n)||so(n)&&(n.toString===yT||!Fi(n.toString))?JSON.stringify(n,mT,2):String(n),mT=(n,e)=>e&&e.__v_isRef?mT(n,e.value):Np(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[E,z])=>(r[`${E} =>`]=z,r),{})}:gT(e)?{[`Set(${e.size})`]:[...e.values()]}:so(e)&&!gi(e)&&!bT(e)?String(e):e,io={},Bp=[],Rc=()=>{},l8=()=>!1,u8=/^on[^a-z]/,my=n=>u8.test(n),Fx=n=>n.startsWith("onUpdate:"),As=Object.assign,Bx=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},c8=Object.prototype.hasOwnProperty,ga=(n,e)=>c8.call(n,e),gi=Array.isArray,Np=n=>gy(n)==="[object Map]",gT=n=>gy(n)==="[object Set]",Fi=n=>typeof n=="function",Oo=n=>typeof n=="string",Nx=n=>typeof n=="symbol",so=n=>n!==null&&typeof n=="object",vT=n=>so(n)&&Fi(n.then)&&Fi(n.catch),yT=Object.prototype.toString,gy=n=>yT.call(n),f8=n=>gy(n).slice(8,-1),bT=n=>gy(n)==="[object Object]",Vx=n=>Oo(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,fv=zx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vy=n=>{const e=Object.create(null);return r=>e[r]||(e[r]=n(r))},h8=/-(\w)/g,ec=vy(n=>n.replace(h8,(e,r)=>r?r.toUpperCase():"")),d8=/\B([A-Z])/g,h0=vy(n=>n.replace(d8,"-$1").toLowerCase()),sh=vy(n=>n.charAt(0).toUpperCase()+n.slice(1)),Q1=vy(n=>n?`on${sh(n)}`:""),xm=(n,e)=>!Object.is(n,e),hv=(n,e)=>{for(let r=0;r{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:r})},kb=n=>{const e=parseFloat(n);return isNaN(e)?n:e},p8=n=>{const e=Oo(n)?Number(n):NaN;return isNaN(e)?n:e};let c3;const m8=()=>c3||(c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let du;class xT{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=du,!e&&du&&(this.index=(du.scopes||(du.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=du;try{return du=this,e()}finally{du=r}}}on(){du=this}off(){du=this.parent}stop(e){if(this._active){let r,E;for(r=0,E=this.effects.length;r{const e=new Set(n);return e.w=0,e.n=0,e},wT=n=>(n.w&jh)>0,TT=n=>(n.n&jh)>0,v8=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let r=0;for(let E=0;E{(i==="length"||i>=d)&&t.push(y)})}else switch(r!==void 0&&t.push(m.get(r)),e){case"add":gi(n)?Vx(r)&&t.push(m.get("length")):(t.push(m.get(Fd)),Np(n)&&t.push(m.get(Ab)));break;case"delete":gi(n)||(t.push(m.get(Fd)),Np(n)&&t.push(m.get(Ab)));break;case"set":Np(n)&&t.push(m.get(Fd));break}if(t.length===1)t[0]&&Sb(t[0]);else{const d=[];for(const y of t)y&&d.push(...y);Sb(jx(d))}}function Sb(n,e){const r=gi(n)?n:[...n];for(const E of r)E.computed&&h3(E);for(const E of r)E.computed||h3(E)}function h3(n,e){(n!==Ec||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function b8(n,e){var r;return(r=Sv.get(n))===null||r===void 0?void 0:r.get(e)}const x8=zx("__proto__,__v_isRef,__isVue"),AT=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Nx)),_8=Hx(),w8=Hx(!1,!0),T8=Hx(!0),d3=k8();function k8(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...r){const E=Si(this);for(let k=0,m=this.length;k{n[e]=function(...r){d0();const E=Si(this)[e].apply(this,r);return p0(),E}}),n}function M8(n){const e=Si(this);return Yl(e,"has",n),e.hasOwnProperty(n)}function Hx(n=!1,e=!1){return function(E,z,k){if(z==="__v_isReactive")return!n;if(z==="__v_isReadonly")return n;if(z==="__v_isShallow")return e;if(z==="__v_raw"&&k===(n?e?j8:IT:e?LT:ET).get(E))return E;const m=gi(E);if(!n){if(m&&ga(d3,z))return Reflect.get(d3,z,k);if(z==="hasOwnProperty")return M8}const t=Reflect.get(E,z,k);return(Nx(z)?AT.has(z):x8(z))||(n||Yl(E,"get",z),e)?t:eo(t)?m&&Vx(z)?t:t.value:so(t)?n?Hm(t):bl(t):t}}const A8=ST(),S8=ST(!0);function ST(n=!1){return function(r,E,z,k){let m=r[E];if(Yp(m)&&eo(m)&&!eo(z))return!1;if(!n&&(!Cv(z)&&!Yp(z)&&(m=Si(m),z=Si(z)),!gi(r)&&eo(m)&&!eo(z)))return m.value=z,!0;const t=gi(r)&&Vx(E)?Number(E)n,yy=n=>Reflect.getPrototypeOf(n);function Kg(n,e,r=!1,E=!1){n=n.__v_raw;const z=Si(n),k=Si(e);r||(e!==k&&Yl(z,"get",e),Yl(z,"get",k));const{has:m}=yy(z),t=E?Gx:r?$x:_m;if(m.call(z,e))return t(n.get(e));if(m.call(z,k))return t(n.get(k));n!==z&&n.get(e)}function Jg(n,e=!1){const r=this.__v_raw,E=Si(r),z=Si(n);return e||(n!==z&&Yl(E,"has",n),Yl(E,"has",z)),n===z?r.has(n):r.has(n)||r.has(z)}function Qg(n,e=!1){return n=n.__v_raw,!e&&Yl(Si(n),"iterate",Fd),Reflect.get(n,"size",n)}function p3(n){n=Si(n);const e=Si(this);return yy(e).has.call(e,n)||(e.add(n),th(e,"add",n,n)),this}function m3(n,e){e=Si(e);const r=Si(this),{has:E,get:z}=yy(r);let k=E.call(r,n);k||(n=Si(n),k=E.call(r,n));const m=z.call(r,n);return r.set(n,e),k?xm(e,m)&&th(r,"set",n,e):th(r,"add",n,e),this}function g3(n){const e=Si(this),{has:r,get:E}=yy(e);let z=r.call(e,n);z||(n=Si(n),z=r.call(e,n)),E&&E.call(e,n);const k=e.delete(n);return z&&th(e,"delete",n,void 0),k}function v3(){const n=Si(this),e=n.size!==0,r=n.clear();return e&&th(n,"clear",void 0,void 0),r}function ev(n,e){return function(E,z){const k=this,m=k.__v_raw,t=Si(m),d=e?Gx:n?$x:_m;return!n&&Yl(t,"iterate",Fd),m.forEach((y,i)=>E.call(z,d(y),d(i),k))}}function tv(n,e,r){return function(...E){const z=this.__v_raw,k=Si(z),m=Np(k),t=n==="entries"||n===Symbol.iterator&&m,d=n==="keys"&&m,y=z[n](...E),i=r?Gx:e?$x:_m;return!e&&Yl(k,"iterate",d?Ab:Fd),{next(){const{value:M,done:g}=y.next();return g?{value:M,done:g}:{value:t?[i(M[0]),i(M[1])]:i(M),done:g}},[Symbol.iterator](){return this}}}}function Sh(n){return function(...e){return n==="delete"?!1:this}}function O8(){const n={get(k){return Kg(this,k)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!1)},e={get(k){return Kg(this,k,!1,!0)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!0)},r={get(k){return Kg(this,k,!0)},get size(){return Qg(this,!0)},has(k){return Jg.call(this,k,!0)},add:Sh("add"),set:Sh("set"),delete:Sh("delete"),clear:Sh("clear"),forEach:ev(!0,!1)},E={get(k){return Kg(this,k,!0,!0)},get size(){return Qg(this,!0)},has(k){return Jg.call(this,k,!0)},add:Sh("add"),set:Sh("set"),delete:Sh("delete"),clear:Sh("clear"),forEach:ev(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(k=>{n[k]=tv(k,!1,!1),r[k]=tv(k,!0,!1),e[k]=tv(k,!1,!0),E[k]=tv(k,!0,!0)}),[n,r,e,E]}const[R8,D8,z8,F8]=O8();function qx(n,e){const r=e?n?F8:z8:n?D8:R8;return(E,z,k)=>z==="__v_isReactive"?!n:z==="__v_isReadonly"?n:z==="__v_raw"?E:Reflect.get(ga(r,z)&&z in E?r:E,z,k)}const B8={get:qx(!1,!1)},N8={get:qx(!1,!0)},V8={get:qx(!0,!1)},ET=new WeakMap,LT=new WeakMap,IT=new WeakMap,j8=new WeakMap;function U8(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function H8(n){return n.__v_skip||!Object.isExtensible(n)?0:U8(f8(n))}function bl(n){return Yp(n)?n:Wx(n,!1,CT,B8,ET)}function G8(n){return Wx(n,!1,P8,N8,LT)}function Hm(n){return Wx(n,!0,I8,V8,IT)}function Wx(n,e,r,E,z){if(!so(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const k=z.get(n);if(k)return k;const m=H8(n);if(m===0)return n;const t=new Proxy(n,m===2?E:r);return z.set(n,t),t}function Bh(n){return Yp(n)?Bh(n.__v_raw):!!(n&&n.__v_isReactive)}function Yp(n){return!!(n&&n.__v_isReadonly)}function Cv(n){return!!(n&&n.__v_isShallow)}function PT(n){return Bh(n)||Yp(n)}function Si(n){const e=n&&n.__v_raw;return e?Si(e):n}function Zp(n){return Av(n,"__v_skip",!0),n}const _m=n=>so(n)?bl(n):n,$x=n=>so(n)?Hm(n):n;function OT(n){Fh&&Ec&&(n=Si(n),MT(n.dep||(n.dep=jx())))}function RT(n,e){n=Si(n);const r=n.dep;r&&Sb(r)}function eo(n){return!!(n&&n.__v_isRef===!0)}function Vr(n){return DT(n,!1)}function Wr(n){return DT(n,!0)}function DT(n,e){return eo(n)?n:new q8(n,e)}class q8{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:Si(e),this._value=r?e:_m(e)}get value(){return OT(this),this._value}set value(e){const r=this.__v_isShallow||Cv(e)||Yp(e);e=r?e:Si(e),xm(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:_m(e),RT(this))}}function yu(n){return eo(n)?n.value:n}const W8={get:(n,e,r)=>yu(Reflect.get(n,e,r)),set:(n,e,r,E)=>{const z=n[e];return eo(z)&&!eo(r)?(z.value=r,!0):Reflect.set(n,e,r,E)}};function zT(n){return Bh(n)?n:new Proxy(n,W8)}function by(n){const e=gi(n)?new Array(n.length):{};for(const r in n)e[r]=Cr(n,r);return e}class $8{constructor(e,r,E){this._object=e,this._key=r,this._defaultValue=E,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return b8(Si(this._object),this._key)}}function Cr(n,e,r){const E=n[e];return eo(E)?E:new $8(n,e,r)}var FT;class Y8{constructor(e,r,E,z){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[FT]=!1,this._dirty=!0,this.effect=new Ux(e,()=>{this._dirty||(this._dirty=!0,RT(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!z,this.__v_isReadonly=E}get value(){const e=Si(this);return OT(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}FT="__v_isReadonly";function Z8(n,e,r=!1){let E,z;const k=Fi(n);return k?(E=n,z=Rc):(E=n.get,z=n.set),new Y8(E,z,k||!z,r)}function Nh(n,e,r,E){let z;try{z=E?n(...E):n()}catch(k){xy(k,e,r)}return z}function Ju(n,e,r,E){if(Fi(n)){const k=Nh(n,e,r,E);return k&&vT(k)&&k.catch(m=>{xy(m,e,r)}),k}const z=[];for(let k=0;k>>1;Tm(Zs[E])sf&&Zs.splice(e,1)}function Q8(n){gi(n)?Vp.push(...n):(!qf||!qf.includes(n,n.allowRecurse?kd+1:kd))&&Vp.push(n),NT()}function y3(n,e=wm?sf+1:0){for(;eTm(r)-Tm(E)),kd=0;kdn.id==null?1/0:n.id,eE=(n,e)=>{const r=Tm(n)-Tm(e);if(r===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return r};function jT(n){Cb=!1,wm=!0,Zs.sort(eE);const e=Rc;try{for(sf=0;sfOo(h)?h.trim():h)),M&&(z=r.map(kb))}let t,d=E[t=Q1(e)]||E[t=Q1(ec(e))];!d&&k&&(d=E[t=Q1(h0(e))]),d&&Ju(d,n,6,z);const y=E[t+"Once"];if(y){if(!n.emitted)n.emitted={};else if(n.emitted[t])return;n.emitted[t]=!0,Ju(y,n,6,z)}}function UT(n,e,r=!1){const E=e.emitsCache,z=E.get(n);if(z!==void 0)return z;const k=n.emits;let m={},t=!1;if(!Fi(n)){const d=y=>{const i=UT(y,e,!0);i&&(t=!0,As(m,i))};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}return!k&&!t?(so(n)&&E.set(n,null),null):(gi(k)?k.forEach(d=>m[d]=null):As(m,k),so(n)&&E.set(n,m),m)}function _y(n,e){return!n||!my(e)?!1:(e=e.slice(2).replace(/Once$/,""),ga(n,e[0].toLowerCase()+e.slice(1))||ga(n,h0(e))||ga(n,e))}let Bs=null,wy=null;function Ev(n){const e=Bs;return Bs=n,wy=n&&n.type.__scopeId||null,e}function Ty(n){wy=n}function ky(){wy=null}function si(n,e=Bs,r){if(!e||n._n)return n;const E=(...z)=>{E._d&&E3(-1);const k=Ev(e);let m;try{m=n(...z)}finally{Ev(k),E._d&&E3(1)}return m};return E._n=!0,E._c=!0,E._d=!0,E}function eb(n){const{type:e,vnode:r,proxy:E,withProxy:z,props:k,propsOptions:[m],slots:t,attrs:d,emit:y,render:i,renderCache:M,data:g,setupState:h,ctx:l,inheritAttrs:a}=n;let u,o;const s=Ev(n);try{if(r.shapeFlag&4){const f=z||E;u=of(i.call(f,f,M,k,h,g,l)),o=d}else{const f=e;u=of(f.length>1?f(k,{attrs:d,slots:t,emit:y}):f(k,null)),o=e.props?d:nE(d)}}catch(f){dm.length=0,xy(f,n,1),u=gt(Qu)}let c=u;if(o&&a!==!1){const f=Object.keys(o),{shapeFlag:p}=c;f.length&&p&7&&(m&&f.some(Fx)&&(o=rE(o,m)),c=nh(c,o))}return r.dirs&&(c=nh(c),c.dirs=c.dirs?c.dirs.concat(r.dirs):r.dirs),r.transition&&(c.transition=r.transition),u=c,Ev(s),u}const nE=n=>{let e;for(const r in n)(r==="class"||r==="style"||my(r))&&((e||(e={}))[r]=n[r]);return e},rE=(n,e)=>{const r={};for(const E in n)(!Fx(E)||!(E.slice(9)in e))&&(r[E]=n[E]);return r};function iE(n,e,r){const{props:E,children:z,component:k}=n,{props:m,children:t,patchFlag:d}=e,y=k.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return E?b3(E,m,y):!!m;if(d&8){const i=e.dynamicProps;for(let M=0;Mn.__isSuspense;function sE(n,e){e&&e.pendingBranch?gi(n)?e.effects.push(...n):e.effects.push(n):Q8(n)}function rs(n,e){if(Wo){let r=Wo.provides;const E=Wo.parent&&Wo.parent.provides;E===r&&(r=Wo.provides=Object.create(E)),r[n]=e}}function ka(n,e,r=!1){const E=Wo||Bs;if(E){const z=E.parent==null?E.vnode.appContext&&E.vnode.appContext.provides:E.parent.provides;if(z&&n in z)return z[n];if(arguments.length>1)return r&&Fi(e)?e.call(E.proxy):e}}function wu(n,e){return Xx(n,null,e)}const nv={};function Xr(n,e,r){return Xx(n,e,r)}function Xx(n,e,{immediate:r,deep:E,flush:z,onTrack:k,onTrigger:m}=io){const t=_T()===(Wo==null?void 0:Wo.scope)?Wo:null;let d,y=!1,i=!1;if(eo(n)?(d=()=>n.value,y=Cv(n)):Bh(n)?(d=()=>n,E=!0):gi(n)?(i=!0,y=n.some(c=>Bh(c)||Cv(c)),d=()=>n.map(c=>{if(eo(c))return c.value;if(Bh(c))return Sd(c);if(Fi(c))return Nh(c,t,2)})):Fi(n)?e?d=()=>Nh(n,t,2):d=()=>{if(!(t&&t.isUnmounted))return M&&M(),Ju(n,t,3,[g])}:d=Rc,e&&E){const c=d;d=()=>Sd(c())}let M,g=c=>{M=o.onStop=()=>{Nh(c,t,4)}},h;if(Sm)if(g=Rc,e?r&&Ju(e,t,3,[d(),i?[]:void 0,g]):d(),z==="sync"){const c=KE();h=c.__watcherHandles||(c.__watcherHandles=[])}else return Rc;let l=i?new Array(n.length).fill(nv):nv;const a=()=>{if(o.active)if(e){const c=o.run();(E||y||(i?c.some((f,p)=>xm(f,l[p])):xm(c,l)))&&(M&&M(),Ju(e,t,3,[c,l===nv?void 0:i&&l[0]===nv?[]:l,g]),l=c)}else o.run()};a.allowRecurse=!!e;let u;z==="sync"?u=a:z==="post"?u=()=>Vl(a,t&&t.suspense):(a.pre=!0,t&&(a.id=t.uid),u=()=>Zx(a));const o=new Ux(d,u);e?r?a():l=o.run():z==="post"?Vl(o.run.bind(o),t&&t.suspense):o.run();const s=()=>{o.stop(),t&&t.scope&&Bx(t.scope.effects,o)};return h&&h.push(s),s}function lE(n,e,r){const E=this.proxy,z=Oo(n)?n.includes(".")?HT(E,n):()=>E[n]:n.bind(E,E);let k;Fi(e)?k=e:(k=e.handler,r=e);const m=Wo;Xp(this);const t=Xx(z,k.bind(E),r);return m?Xp(m):Bd(),t}function HT(n,e){const r=e.split(".");return()=>{let E=n;for(let z=0;z{Sd(r,e)});else if(bT(n))for(const r in n)Sd(n[r],e);return n}function GT(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Js(()=>{n.isMounted=!0}),kl(()=>{n.isUnmounting=!0}),n}const Gu=[Function,Array],uE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Gu,onEnter:Gu,onAfterEnter:Gu,onEnterCancelled:Gu,onBeforeLeave:Gu,onLeave:Gu,onAfterLeave:Gu,onLeaveCancelled:Gu,onBeforeAppear:Gu,onAppear:Gu,onAfterAppear:Gu,onAppearCancelled:Gu},setup(n,{slots:e}){const r=Ey(),E=GT();let z;return()=>{const k=e.default&&Kx(e.default(),!0);if(!k||!k.length)return;let m=k[0];if(k.length>1){for(const a of k)if(a.type!==Qu){m=a;break}}const t=Si(n),{mode:d}=t;if(E.isLeaving)return tb(m);const y=x3(m);if(!y)return tb(m);const i=km(y,t,E,r);Mm(y,i);const M=r.subTree,g=M&&x3(M);let h=!1;const{getTransitionKey:l}=y.type;if(l){const a=l();z===void 0?z=a:a!==z&&(z=a,h=!0)}if(g&&g.type!==Qu&&(!Md(y,g)||h)){const a=km(g,t,E,r);if(Mm(g,a),d==="out-in")return E.isLeaving=!0,a.afterLeave=()=>{E.isLeaving=!1,r.update.active!==!1&&r.update()},tb(m);d==="in-out"&&y.type!==Qu&&(a.delayLeave=(u,o,s)=>{const c=WT(E,g);c[String(g.key)]=g,u._leaveCb=()=>{o(),u._leaveCb=void 0,delete i.delayedLeave},i.delayedLeave=s})}return m}}},qT=uE;function WT(n,e){const{leavingVNodes:r}=n;let E=r.get(e.type);return E||(E=Object.create(null),r.set(e.type,E)),E}function km(n,e,r,E){const{appear:z,mode:k,persisted:m=!1,onBeforeEnter:t,onEnter:d,onAfterEnter:y,onEnterCancelled:i,onBeforeLeave:M,onLeave:g,onAfterLeave:h,onLeaveCancelled:l,onBeforeAppear:a,onAppear:u,onAfterAppear:o,onAppearCancelled:s}=e,c=String(n.key),f=WT(r,n),p=(S,x)=>{S&&Ju(S,E,9,x)},w=(S,x)=>{const T=x[1];p(S,x),gi(S)?S.every(C=>C.length<=1)&&T():S.length<=1&&T()},v={mode:k,persisted:m,beforeEnter(S){let x=t;if(!r.isMounted)if(z)x=a||t;else return;S._leaveCb&&S._leaveCb(!0);const T=f[c];T&&Md(n,T)&&T.el._leaveCb&&T.el._leaveCb(),p(x,[S])},enter(S){let x=d,T=y,C=i;if(!r.isMounted)if(z)x=u||d,T=o||y,C=s||i;else return;let _=!1;const A=S._enterCb=L=>{_||(_=!0,L?p(C,[S]):p(T,[S]),v.delayedLeave&&v.delayedLeave(),S._enterCb=void 0)};x?w(x,[S,A]):A()},leave(S,x){const T=String(n.key);if(S._enterCb&&S._enterCb(!0),r.isUnmounting)return x();p(M,[S]);let C=!1;const _=S._leaveCb=A=>{C||(C=!0,x(),A?p(l,[S]):p(h,[S]),S._leaveCb=void 0,f[T]===n&&delete f[T])};f[T]=n,g?w(g,[S,_]):_()},clone(S){return km(S,e,r,E)}};return v}function tb(n){if(My(n))return n=nh(n),n.children=null,n}function x3(n){return My(n)?n.children?n.children[0]:void 0:n}function Mm(n,e){n.shapeFlag&6&&n.component?Mm(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Kx(n,e=!1,r){let E=[],z=0;for(let k=0;k1)for(let k=0;k!!n.type.__asyncLoader,My=n=>n.type.__isKeepAlive;function $T(n,e){ZT(n,"a",e)}function YT(n,e){ZT(n,"da",e)}function ZT(n,e,r=Wo){const E=n.__wdc||(n.__wdc=()=>{let z=r;for(;z;){if(z.isDeactivated)return;z=z.parent}return n()});if(Ay(e,E,r),r){let z=r.parent;for(;z&&z.parent;)My(z.parent.vnode)&&cE(E,e,r,z),z=z.parent}}function cE(n,e,r,E){const z=Ay(e,n,E,!0);JT(()=>{Bx(E[e],z)},r)}function Ay(n,e,r=Wo,E=!1){if(r){const z=r[n]||(r[n]=[]),k=e.__weh||(e.__weh=(...m)=>{if(r.isUnmounted)return;d0(),Xp(r);const t=Ju(e,r,n,m);return Bd(),p0(),t});return E?z.unshift(k):z.push(k),k}}const lh=n=>(e,r=Wo)=>(!Sm||n==="sp")&&Ay(n,(...E)=>e(...E),r),Sy=lh("bm"),Js=lh("m"),XT=lh("bu"),KT=lh("u"),kl=lh("bum"),JT=lh("um"),fE=lh("sp"),hE=lh("rtg"),dE=lh("rtc");function pE(n,e=Wo){Ay("ec",n,e)}function Co(n,e){const r=Bs;if(r===null)return n;const E=Ly(r)||r.proxy,z=n.dirs||(n.dirs=[]);for(let k=0;ke(m,t,void 0,k&&k[t]));else{const m=Object.keys(n);z=new Array(m.length);for(let t=0,d=m.length;tIv(e)?!(e.type===Qu||e.type===$r&&!e4(e.children)):!0)?n:null}const Eb=n=>n?f4(n)?Ly(n)||n.proxy:Eb(n.parent):null,fm=As(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Eb(n.parent),$root:n=>Eb(n.root),$emit:n=>n.emit,$options:n=>e2(n),$forceUpdate:n=>n.f||(n.f=()=>Zx(n.update)),$nextTick:n=>n.n||(n.n=Ua.bind(n.proxy)),$watch:n=>lE.bind(n)}),rb=(n,e)=>n!==io&&!n.__isScriptSetup&&ga(n,e),vE={get({_:n},e){const{ctx:r,setupState:E,data:z,props:k,accessCache:m,type:t,appContext:d}=n;let y;if(e[0]!=="$"){const h=m[e];if(h!==void 0)switch(h){case 1:return E[e];case 2:return z[e];case 4:return r[e];case 3:return k[e]}else{if(rb(E,e))return m[e]=1,E[e];if(z!==io&&ga(z,e))return m[e]=2,z[e];if((y=n.propsOptions[0])&&ga(y,e))return m[e]=3,k[e];if(r!==io&&ga(r,e))return m[e]=4,r[e];Lb&&(m[e]=0)}}const i=fm[e];let M,g;if(i)return e==="$attrs"&&Yl(n,"get",e),i(n);if((M=t.__cssModules)&&(M=M[e]))return M;if(r!==io&&ga(r,e))return m[e]=4,r[e];if(g=d.config.globalProperties,ga(g,e))return g[e]},set({_:n},e,r){const{data:E,setupState:z,ctx:k}=n;return rb(z,e)?(z[e]=r,!0):E!==io&&ga(E,e)?(E[e]=r,!0):ga(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(k[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:E,appContext:z,propsOptions:k}},m){let t;return!!r[m]||n!==io&&ga(n,m)||rb(e,m)||(t=k[0])&&ga(t,m)||ga(E,m)||ga(fm,m)||ga(z.config.globalProperties,m)},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:ga(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};let Lb=!0;function yE(n){const e=e2(n),r=n.proxy,E=n.ctx;Lb=!1,e.beforeCreate&&w3(e.beforeCreate,n,"bc");const{data:z,computed:k,methods:m,watch:t,provide:d,inject:y,created:i,beforeMount:M,mounted:g,beforeUpdate:h,updated:l,activated:a,deactivated:u,beforeDestroy:o,beforeUnmount:s,destroyed:c,unmounted:f,render:p,renderTracked:w,renderTriggered:v,errorCaptured:S,serverPrefetch:x,expose:T,inheritAttrs:C,components:_,directives:A,filters:L}=e;if(y&&bE(y,E,null,n.appContext.config.unwrapInjectedRef),m)for(const I in m){const R=m[I];Fi(R)&&(E[I]=R.bind(r))}if(z){const I=z.call(r,r);so(I)&&(n.data=bl(I))}if(Lb=!0,k)for(const I in k){const R=k[I],D=Fi(R)?R.bind(r,r):Fi(R.get)?R.get.bind(r,r):Rc,F=!Fi(R)&&Fi(R.set)?R.set.bind(r):Rc,B=cn({get:D,set:F});Object.defineProperty(E,I,{enumerable:!0,configurable:!0,get:()=>B.value,set:N=>B.value=N})}if(t)for(const I in t)t4(t[I],E,r,I);if(d){const I=Fi(d)?d.call(r):d;Reflect.ownKeys(I).forEach(R=>{rs(R,I[R])})}i&&w3(i,n,"c");function P(I,R){gi(R)?R.forEach(D=>I(D.bind(r))):R&&I(R.bind(r))}if(P(Sy,M),P(Js,g),P(XT,h),P(KT,l),P($T,a),P(YT,u),P(pE,S),P(dE,w),P(hE,v),P(kl,s),P(JT,f),P(fE,x),gi(T))if(T.length){const I=n.exposed||(n.exposed={});T.forEach(R=>{Object.defineProperty(I,R,{get:()=>r[R],set:D=>r[R]=D})})}else n.exposed||(n.exposed={});p&&n.render===Rc&&(n.render=p),C!=null&&(n.inheritAttrs=C),_&&(n.components=_),A&&(n.directives=A)}function bE(n,e,r=Rc,E=!1){gi(n)&&(n=Ib(n));for(const z in n){const k=n[z];let m;so(k)?"default"in k?m=ka(k.from||z,k.default,!0):m=ka(k.from||z):m=ka(k),eo(m)&&E?Object.defineProperty(e,z,{enumerable:!0,configurable:!0,get:()=>m.value,set:t=>m.value=t}):e[z]=m}}function w3(n,e,r){Ju(gi(n)?n.map(E=>E.bind(e.proxy)):n.bind(e.proxy),e,r)}function t4(n,e,r,E){const z=E.includes(".")?HT(r,E):()=>r[E];if(Oo(n)){const k=e[n];Fi(k)&&Xr(z,k)}else if(Fi(n))Xr(z,n.bind(r));else if(so(n))if(gi(n))n.forEach(k=>t4(k,e,r,E));else{const k=Fi(n.handler)?n.handler.bind(r):e[n.handler];Fi(k)&&Xr(z,k,n)}}function e2(n){const e=n.type,{mixins:r,extends:E}=e,{mixins:z,optionsCache:k,config:{optionMergeStrategies:m}}=n.appContext,t=k.get(e);let d;return t?d=t:!z.length&&!r&&!E?d=e:(d={},z.length&&z.forEach(y=>Lv(d,y,m,!0)),Lv(d,e,m)),so(e)&&k.set(e,d),d}function Lv(n,e,r,E=!1){const{mixins:z,extends:k}=e;k&&Lv(n,k,r,!0),z&&z.forEach(m=>Lv(n,m,r,!0));for(const m in e)if(!(E&&m==="expose")){const t=xE[m]||r&&r[m];n[m]=t?t(n[m],e[m]):e[m]}return n}const xE={data:T3,props:Td,emits:Td,methods:Td,computed:Td,beforeCreate:ml,created:ml,beforeMount:ml,mounted:ml,beforeUpdate:ml,updated:ml,beforeDestroy:ml,beforeUnmount:ml,destroyed:ml,unmounted:ml,activated:ml,deactivated:ml,errorCaptured:ml,serverPrefetch:ml,components:Td,directives:Td,watch:wE,provide:T3,inject:_E};function T3(n,e){return e?n?function(){return As(Fi(n)?n.call(this,this):n,Fi(e)?e.call(this,this):e)}:e:n}function _E(n,e){return Td(Ib(n),Ib(e))}function Ib(n){if(gi(n)){const e={};for(let r=0;r0)&&!(m&16)){if(m&8){const i=n.vnode.dynamicProps;for(let M=0;M{d=!0;const[g,h]=r4(M,e,!0);As(m,g),h&&t.push(...h)};!r&&e.mixins.length&&e.mixins.forEach(i),n.extends&&i(n.extends),n.mixins&&n.mixins.forEach(i)}if(!k&&!d)return so(n)&&E.set(n,Bp),Bp;if(gi(k))for(let i=0;i-1,h[1]=a<0||l-1||ga(h,"default"))&&t.push(M)}}}const y=[m,t];return so(n)&&E.set(n,y),y}function k3(n){return n[0]!=="$"}function M3(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function A3(n,e){return M3(n)===M3(e)}function S3(n,e){return gi(e)?e.findIndex(r=>A3(r,n)):Fi(e)&&A3(e,n)?0:-1}const i4=n=>n[0]==="_"||n==="$stable",t2=n=>gi(n)?n.map(of):[of(n)],ME=(n,e,r)=>{if(e._n)return e;const E=si((...z)=>t2(e(...z)),r);return E._c=!1,E},a4=(n,e,r)=>{const E=n._ctx;for(const z in n){if(i4(z))continue;const k=n[z];if(Fi(k))e[z]=ME(z,k,E);else if(k!=null){const m=t2(k);e[z]=()=>m}}},o4=(n,e)=>{const r=t2(e);n.slots.default=()=>r},AE=(n,e)=>{if(n.vnode.shapeFlag&32){const r=e._;r?(n.slots=Si(e),Av(e,"_",r)):a4(e,n.slots={})}else n.slots={},e&&o4(n,e);Av(n.slots,Cy,1)},SE=(n,e,r)=>{const{vnode:E,slots:z}=n;let k=!0,m=io;if(E.shapeFlag&32){const t=e._;t?r&&t===1?k=!1:(As(z,e),!r&&t===1&&delete z._):(k=!e.$stable,a4(e,z)),m=e}else e&&(o4(n,e),m={default:1});if(k)for(const t in z)!i4(t)&&!(t in m)&&delete z[t]};function s4(){return{app:null,config:{isNativeTag:l8,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let CE=0;function EE(n,e){return function(E,z=null){Fi(E)||(E=Object.assign({},E)),z!=null&&!so(z)&&(z=null);const k=s4(),m=new Set;let t=!1;const d=k.app={_uid:CE++,_component:E,_props:z,_container:null,_context:k,_instance:null,version:JE,get config(){return k.config},set config(y){},use(y,...i){return m.has(y)||(y&&Fi(y.install)?(m.add(y),y.install(d,...i)):Fi(y)&&(m.add(y),y(d,...i))),d},mixin(y){return k.mixins.includes(y)||k.mixins.push(y),d},component(y,i){return i?(k.components[y]=i,d):k.components[y]},directive(y,i){return i?(k.directives[y]=i,d):k.directives[y]},mount(y,i,M){if(!t){const g=gt(E,z);return g.appContext=k,i&&e?e(g,y):n(g,y,M),t=!0,d._container=y,y.__vue_app__=d,Ly(g.component)||g.component.proxy}},unmount(){t&&(n(null,d._container),delete d._container.__vue_app__)},provide(y,i){return k.provides[y]=i,d}};return d}}function Ob(n,e,r,E,z=!1){if(gi(n)){n.forEach((g,h)=>Ob(g,e&&(gi(e)?e[h]:e),r,E,z));return}if(cm(E)&&!z)return;const k=E.shapeFlag&4?Ly(E.component)||E.component.proxy:E.el,m=z?null:k,{i:t,r:d}=n,y=e&&e.r,i=t.refs===io?t.refs={}:t.refs,M=t.setupState;if(y!=null&&y!==d&&(Oo(y)?(i[y]=null,ga(M,y)&&(M[y]=null)):eo(y)&&(y.value=null)),Fi(d))Nh(d,t,12,[m,i]);else{const g=Oo(d),h=eo(d);if(g||h){const l=()=>{if(n.f){const a=g?ga(M,d)?M[d]:i[d]:d.value;z?gi(a)&&Bx(a,k):gi(a)?a.includes(k)||a.push(k):g?(i[d]=[k],ga(M,d)&&(M[d]=i[d])):(d.value=[k],n.k&&(i[n.k]=d.value))}else g?(i[d]=m,ga(M,d)&&(M[d]=m)):h&&(d.value=m,n.k&&(i[n.k]=m))};m?(l.id=-1,Vl(l,r)):l()}}}const Vl=sE;function LE(n){return IE(n)}function IE(n,e){const r=m8();r.__VUE__=!0;const{insert:E,remove:z,patchProp:k,createElement:m,createText:t,createComment:d,setText:y,setElementText:i,parentNode:M,nextSibling:g,setScopeId:h=Rc,insertStaticContent:l}=n,a=(Z,X,Q,re=null,ie=null,oe=null,ue=!1,ce=null,ye=!!X.dynamicChildren)=>{if(Z===X)return;Z&&!Md(Z,X)&&(re=G(Z),N(Z,ie,oe,!0),Z=null),X.patchFlag===-2&&(ye=!1,X.dynamicChildren=null);const{type:de,ref:me,shapeFlag:pe}=X;switch(de){case Gm:u(Z,X,Q,re);break;case Qu:o(Z,X,Q,re);break;case dv:Z==null&&s(X,Q,re,ue);break;case $r:_(Z,X,Q,re,ie,oe,ue,ce,ye);break;default:pe&1?p(Z,X,Q,re,ie,oe,ue,ce,ye):pe&6?A(Z,X,Q,re,ie,oe,ue,ce,ye):(pe&64||pe&128)&&de.process(Z,X,Q,re,ie,oe,ue,ce,ye,H)}me!=null&&ie&&Ob(me,Z&&Z.ref,oe,X||Z,!X)},u=(Z,X,Q,re)=>{if(Z==null)E(X.el=t(X.children),Q,re);else{const ie=X.el=Z.el;X.children!==Z.children&&y(ie,X.children)}},o=(Z,X,Q,re)=>{Z==null?E(X.el=d(X.children||""),Q,re):X.el=Z.el},s=(Z,X,Q,re)=>{[Z.el,Z.anchor]=l(Z.children,X,Q,re,Z.el,Z.anchor)},c=({el:Z,anchor:X},Q,re)=>{let ie;for(;Z&&Z!==X;)ie=g(Z),E(Z,Q,re),Z=ie;E(X,Q,re)},f=({el:Z,anchor:X})=>{let Q;for(;Z&&Z!==X;)Q=g(Z),z(Z),Z=Q;z(X)},p=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{ue=ue||X.type==="svg",Z==null?w(X,Q,re,ie,oe,ue,ce,ye):x(Z,X,ie,oe,ue,ce,ye)},w=(Z,X,Q,re,ie,oe,ue,ce)=>{let ye,de;const{type:me,props:pe,shapeFlag:xe,transition:Oe,dirs:_e}=Z;if(ye=Z.el=m(Z.type,oe,pe&&pe.is,pe),xe&8?i(ye,Z.children):xe&16&&S(Z.children,ye,null,re,ie,oe&&me!=="foreignObject",ue,ce),_e&&vd(Z,null,re,"created"),v(ye,Z,Z.scopeId,ue,re),pe){for(const Se in pe)Se!=="value"&&!fv(Se)&&k(ye,Se,null,pe[Se],oe,Z.children,re,ie,U);"value"in pe&&k(ye,"value",null,pe.value),(de=pe.onVnodeBeforeMount)&&tf(de,re,Z)}_e&&vd(Z,null,re,"beforeMount");const Me=(!ie||ie&&!ie.pendingBranch)&&Oe&&!Oe.persisted;Me&&Oe.beforeEnter(ye),E(ye,X,Q),((de=pe&&pe.onVnodeMounted)||Me||_e)&&Vl(()=>{de&&tf(de,re,Z),Me&&Oe.enter(ye),_e&&vd(Z,null,re,"mounted")},ie)},v=(Z,X,Q,re,ie)=>{if(Q&&h(Z,Q),re)for(let oe=0;oe{for(let de=ye;de{const ce=X.el=Z.el;let{patchFlag:ye,dynamicChildren:de,dirs:me}=X;ye|=Z.patchFlag&16;const pe=Z.props||io,xe=X.props||io;let Oe;Q&&yd(Q,!1),(Oe=xe.onVnodeBeforeUpdate)&&tf(Oe,Q,X,Z),me&&vd(X,Z,Q,"beforeUpdate"),Q&&yd(Q,!0);const _e=ie&&X.type!=="foreignObject";if(de?T(Z.dynamicChildren,de,ce,Q,re,_e,oe):ue||R(Z,X,ce,null,Q,re,_e,oe,!1),ye>0){if(ye&16)C(ce,X,pe,xe,Q,re,ie);else if(ye&2&&pe.class!==xe.class&&k(ce,"class",null,xe.class,ie),ye&4&&k(ce,"style",pe.style,xe.style,ie),ye&8){const Me=X.dynamicProps;for(let Se=0;Se{Oe&&tf(Oe,Q,X,Z),me&&vd(X,Z,Q,"updated")},re)},T=(Z,X,Q,re,ie,oe,ue)=>{for(let ce=0;ce{if(Q!==re){if(Q!==io)for(const ce in Q)!fv(ce)&&!(ce in re)&&k(Z,ce,Q[ce],null,ue,X.children,ie,oe,U);for(const ce in re){if(fv(ce))continue;const ye=re[ce],de=Q[ce];ye!==de&&ce!=="value"&&k(Z,ce,de,ye,ue,X.children,ie,oe,U)}"value"in re&&k(Z,"value",Q.value,re.value)}},_=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{const de=X.el=Z?Z.el:t(""),me=X.anchor=Z?Z.anchor:t("");let{patchFlag:pe,dynamicChildren:xe,slotScopeIds:Oe}=X;Oe&&(ce=ce?ce.concat(Oe):Oe),Z==null?(E(de,Q,re),E(me,Q,re),S(X.children,Q,me,ie,oe,ue,ce,ye)):pe>0&&pe&64&&xe&&Z.dynamicChildren?(T(Z.dynamicChildren,xe,Q,ie,oe,ue,ce),(X.key!=null||ie&&X===ie.subTree)&&n2(Z,X,!0)):R(Z,X,Q,me,ie,oe,ue,ce,ye)},A=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{X.slotScopeIds=ce,Z==null?X.shapeFlag&512?ie.ctx.activate(X,Q,re,ue,ye):L(X,Q,re,ie,oe,ue,ye):b(Z,X,ye)},L=(Z,X,Q,re,ie,oe,ue)=>{const ce=Z.component=HE(Z,re,ie);if(My(Z)&&(ce.ctx.renderer=H),GE(ce),ce.asyncDep){if(ie&&ie.registerDep(ce,P),!Z.el){const ye=ce.subTree=gt(Qu);o(null,ye,X,Q)}return}P(ce,Z,X,Q,ie,oe,ue)},b=(Z,X,Q)=>{const re=X.component=Z.component;if(iE(Z,X,Q))if(re.asyncDep&&!re.asyncResolved){I(re,X,Q);return}else re.next=X,J8(re.update),re.update();else X.el=Z.el,re.vnode=X},P=(Z,X,Q,re,ie,oe,ue)=>{const ce=()=>{if(Z.isMounted){let{next:me,bu:pe,u:xe,parent:Oe,vnode:_e}=Z,Me=me,Se;yd(Z,!1),me?(me.el=_e.el,I(Z,me,ue)):me=_e,pe&&hv(pe),(Se=me.props&&me.props.onVnodeBeforeUpdate)&&tf(Se,Oe,me,_e),yd(Z,!0);const Ce=eb(Z),ae=Z.subTree;Z.subTree=Ce,a(ae,Ce,M(ae.el),G(ae),Z,ie,oe),me.el=Ce.el,Me===null&&aE(Z,Ce.el),xe&&Vl(xe,ie),(Se=me.props&&me.props.onVnodeUpdated)&&Vl(()=>tf(Se,Oe,me,_e),ie)}else{let me;const{el:pe,props:xe}=X,{bm:Oe,m:_e,parent:Me}=Z,Se=cm(X);if(yd(Z,!1),Oe&&hv(Oe),!Se&&(me=xe&&xe.onVnodeBeforeMount)&&tf(me,Me,X),yd(Z,!0),pe&&te){const Ce=()=>{Z.subTree=eb(Z),te(pe,Z.subTree,Z,ie,null)};Se?X.type.__asyncLoader().then(()=>!Z.isUnmounted&&Ce()):Ce()}else{const Ce=Z.subTree=eb(Z);a(null,Ce,Q,re,Z,ie,oe),X.el=Ce.el}if(_e&&Vl(_e,ie),!Se&&(me=xe&&xe.onVnodeMounted)){const Ce=X;Vl(()=>tf(me,Me,Ce),ie)}(X.shapeFlag&256||Me&&cm(Me.vnode)&&Me.vnode.shapeFlag&256)&&Z.a&&Vl(Z.a,ie),Z.isMounted=!0,X=Q=re=null}},ye=Z.effect=new Ux(ce,()=>Zx(de),Z.scope),de=Z.update=()=>ye.run();de.id=Z.uid,yd(Z,!0),de()},I=(Z,X,Q)=>{X.component=Z;const re=Z.vnode.props;Z.vnode=X,Z.next=null,kE(Z,X.props,re,Q),SE(Z,X.children,Q),d0(),y3(),p0()},R=(Z,X,Q,re,ie,oe,ue,ce,ye=!1)=>{const de=Z&&Z.children,me=Z?Z.shapeFlag:0,pe=X.children,{patchFlag:xe,shapeFlag:Oe}=X;if(xe>0){if(xe&128){F(de,pe,Q,re,ie,oe,ue,ce,ye);return}else if(xe&256){D(de,pe,Q,re,ie,oe,ue,ce,ye);return}}Oe&8?(me&16&&U(de,ie,oe),pe!==de&&i(Q,pe)):me&16?Oe&16?F(de,pe,Q,re,ie,oe,ue,ce,ye):U(de,ie,oe,!0):(me&8&&i(Q,""),Oe&16&&S(pe,Q,re,ie,oe,ue,ce,ye))},D=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{Z=Z||Bp,X=X||Bp;const de=Z.length,me=X.length,pe=Math.min(de,me);let xe;for(xe=0;xeme?U(Z,ie,oe,!0,!1,pe):S(X,Q,re,ie,oe,ue,ce,ye,pe)},F=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{let de=0;const me=X.length;let pe=Z.length-1,xe=me-1;for(;de<=pe&&de<=xe;){const Oe=Z[de],_e=X[de]=ye?Ph(X[de]):of(X[de]);if(Md(Oe,_e))a(Oe,_e,Q,null,ie,oe,ue,ce,ye);else break;de++}for(;de<=pe&&de<=xe;){const Oe=Z[pe],_e=X[xe]=ye?Ph(X[xe]):of(X[xe]);if(Md(Oe,_e))a(Oe,_e,Q,null,ie,oe,ue,ce,ye);else break;pe--,xe--}if(de>pe){if(de<=xe){const Oe=xe+1,_e=Oexe)for(;de<=pe;)N(Z[de],ie,oe,!0),de++;else{const Oe=de,_e=de,Me=new Map;for(de=_e;de<=xe;de++){const Be=X[de]=ye?Ph(X[de]):of(X[de]);Be.key!=null&&Me.set(Be.key,de)}let Se,Ce=0;const ae=xe-_e+1;let he=!1,be=0;const ke=new Array(ae);for(de=0;de=ae){N(Be,ie,oe,!0);continue}let ze;if(Be.key!=null)ze=Me.get(Be.key);else for(Se=_e;Se<=xe;Se++)if(ke[Se-_e]===0&&Md(Be,X[Se])){ze=Se;break}ze===void 0?N(Be,ie,oe,!0):(ke[ze-_e]=de+1,ze>=be?be=ze:he=!0,a(Be,X[ze],Q,null,ie,oe,ue,ce,ye),Ce++)}const Le=he?PE(ke):Bp;for(Se=Le.length-1,de=ae-1;de>=0;de--){const Be=_e+de,ze=X[Be],je=Be+1{const{el:oe,type:ue,transition:ce,children:ye,shapeFlag:de}=Z;if(de&6){B(Z.component.subTree,X,Q,re);return}if(de&128){Z.suspense.move(X,Q,re);return}if(de&64){ue.move(Z,X,Q,H);return}if(ue===$r){E(oe,X,Q);for(let pe=0;pece.enter(oe),ie);else{const{leave:pe,delayLeave:xe,afterLeave:Oe}=ce,_e=()=>E(oe,X,Q),Me=()=>{pe(oe,()=>{_e(),Oe&&Oe()})};xe?xe(oe,_e,Me):Me()}else E(oe,X,Q)},N=(Z,X,Q,re=!1,ie=!1)=>{const{type:oe,props:ue,ref:ce,children:ye,dynamicChildren:de,shapeFlag:me,patchFlag:pe,dirs:xe}=Z;if(ce!=null&&Ob(ce,null,Q,Z,!0),me&256){X.ctx.deactivate(Z);return}const Oe=me&1&&xe,_e=!cm(Z);let Me;if(_e&&(Me=ue&&ue.onVnodeBeforeUnmount)&&tf(Me,X,Z),me&6)Y(Z.component,Q,re);else{if(me&128){Z.suspense.unmount(Q,re);return}Oe&&vd(Z,null,X,"beforeUnmount"),me&64?Z.type.remove(Z,X,Q,ie,H,re):de&&(oe!==$r||pe>0&&pe&64)?U(de,X,Q,!1,!0):(oe===$r&&pe&384||!ie&&me&16)&&U(ye,X,Q),re&&W(Z)}(_e&&(Me=ue&&ue.onVnodeUnmounted)||Oe)&&Vl(()=>{Me&&tf(Me,X,Z),Oe&&vd(Z,null,X,"unmounted")},Q)},W=Z=>{const{type:X,el:Q,anchor:re,transition:ie}=Z;if(X===$r){j(Q,re);return}if(X===dv){f(Z);return}const oe=()=>{z(Q),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(Z.shapeFlag&1&&ie&&!ie.persisted){const{leave:ue,delayLeave:ce}=ie,ye=()=>ue(Q,oe);ce?ce(Z.el,oe,ye):ye()}else oe()},j=(Z,X)=>{let Q;for(;Z!==X;)Q=g(Z),z(Z),Z=Q;z(X)},Y=(Z,X,Q)=>{const{bum:re,scope:ie,update:oe,subTree:ue,um:ce}=Z;re&&hv(re),ie.stop(),oe&&(oe.active=!1,N(ue,Z,X,Q)),ce&&Vl(ce,X),Vl(()=>{Z.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},U=(Z,X,Q,re=!1,ie=!1,oe=0)=>{for(let ue=oe;ueZ.shapeFlag&6?G(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():g(Z.anchor||Z.el),q=(Z,X,Q)=>{Z==null?X._vnode&&N(X._vnode,null,null,!0):a(X._vnode||null,Z,X,null,null,null,Q),y3(),VT(),X._vnode=Z},H={p:a,um:N,m:B,r:W,mt:L,mc:S,pc:R,pbc:T,n:G,o:n};let ne,te;return e&&([ne,te]=e(H)),{render:q,hydrate:ne,createApp:EE(q,ne)}}function yd({effect:n,update:e},r){n.allowRecurse=e.allowRecurse=r}function n2(n,e,r=!1){const E=n.children,z=e.children;if(gi(E)&&gi(z))for(let k=0;k>1,n[r[t]]0&&(e[E]=r[k-1]),r[k]=E)}}for(k=r.length,m=r[k-1];k-- >0;)r[k]=m,m=e[m];return r}const OE=n=>n.__isTeleport,hm=n=>n&&(n.disabled||n.disabled===""),C3=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Rb=(n,e)=>{const r=n&&n.to;return Oo(r)?e?e(r):null:r},RE={__isTeleport:!0,process(n,e,r,E,z,k,m,t,d,y){const{mc:i,pc:M,pbc:g,o:{insert:h,querySelector:l,createText:a,createComment:u}}=y,o=hm(e.props);let{shapeFlag:s,children:c,dynamicChildren:f}=e;if(n==null){const p=e.el=a(""),w=e.anchor=a("");h(p,r,E),h(w,r,E);const v=e.target=Rb(e.props,l),S=e.targetAnchor=a("");v&&(h(S,v),m=m||C3(v));const x=(T,C)=>{s&16&&i(c,T,C,z,k,m,t,d)};o?x(r,w):v&&x(v,S)}else{e.el=n.el;const p=e.anchor=n.anchor,w=e.target=n.target,v=e.targetAnchor=n.targetAnchor,S=hm(n.props),x=S?r:w,T=S?p:v;if(m=m||C3(w),f?(g(n.dynamicChildren,f,x,z,k,m,t),n2(n,e,!0)):d||M(n,e,x,T,z,k,m,t,!1),o)S||rv(e,r,p,y,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const C=e.target=Rb(e.props,l);C&&rv(e,C,null,y,0)}else S&&rv(e,w,v,y,1)}l4(e)},remove(n,e,r,E,{um:z,o:{remove:k}},m){const{shapeFlag:t,children:d,anchor:y,targetAnchor:i,target:M,props:g}=n;if(M&&k(i),(m||!hm(g))&&(k(y),t&16))for(let h=0;h0?Lc||Bp:null,FE(),Am>0&&Lc&&Lc.push(n),n}function ei(n,e,r,E,z,k){return u4(ti(n,e,r,E,z,k,!0))}function za(n,e,r,E,z){return u4(gt(n,e,r,E,z,!0))}function Iv(n){return n?n.__v_isVNode===!0:!1}function Md(n,e){return n.type===e.type&&n.key===e.key}const Cy="__vInternal",c4=({key:n})=>n??null,pv=({ref:n,ref_key:e,ref_for:r})=>n!=null?Oo(n)||eo(n)||Fi(n)?{i:Bs,r:n,k:e,f:!!r}:n:null;function ti(n,e=null,r=null,E=0,z=null,k=n===$r?0:1,m=!1,t=!1){const d={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&c4(e),ref:e&&pv(e),scopeId:wy,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:k,patchFlag:E,dynamicProps:z,dynamicChildren:null,appContext:null,ctx:Bs};return t?(r2(d,r),k&128&&n.normalize(d)):r&&(d.shapeFlag|=Oo(r)?8:16),Am>0&&!m&&Lc&&(d.patchFlag>0||k&6)&&d.patchFlag!==32&&Lc.push(d),d}const gt=BE;function BE(n,e=null,r=null,E=0,z=null,k=!1){if((!n||n===QT)&&(n=Qu),Iv(n)){const t=nh(n,e,!0);return r&&r2(t,r),Am>0&&!k&&Lc&&(t.shapeFlag&6?Lc[Lc.indexOf(n)]=t:Lc.push(t)),t.patchFlag|=-2,t}if(ZE(n)&&(n=n.__vccOpts),e){e=NE(e);let{class:t,style:d}=e;t&&!Oo(t)&&(e.class=Ku(t)),so(d)&&(PT(d)&&!gi(d)&&(d=As({},d)),e.style=Ys(d))}const m=Oo(n)?1:oE(n)?128:OE(n)?64:so(n)?4:Fi(n)?2:0;return ti(n,e,r,E,z,m,k,!0)}function NE(n){return n?PT(n)||Cy in n?As({},n):n:null}function nh(n,e,r=!1){const{props:E,ref:z,patchFlag:k,children:m}=n,t=e?qr(E||{},e):E;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:t,key:t&&c4(t),ref:e&&e.ref?r&&z?gi(z)?z.concat(pv(e)):[z,pv(e)]:pv(e):z,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:m,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==$r?k===-1?16:k|16:k,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&nh(n.ssContent),ssFallback:n.ssFallback&&nh(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function ea(n=" ",e=0){return gt(Gm,null,n,e)}function VE(n,e){const r=gt(dv,null,n);return r.staticCount=e,r}function Zi(n="",e=!1){return e?(Ir(),za(Qu,null,n)):gt(Qu,null,n)}function of(n){return n==null||typeof n=="boolean"?gt(Qu):gi(n)?gt($r,null,n.slice()):typeof n=="object"?Ph(n):gt(Gm,null,String(n))}function Ph(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:nh(n)}function r2(n,e){let r=0;const{shapeFlag:E}=n;if(e==null)e=null;else if(gi(e))r=16;else if(typeof e=="object")if(E&65){const z=e.default;z&&(z._c&&(z._d=!1),r2(n,z()),z._c&&(z._d=!0));return}else{r=32;const z=e._;!z&&!(Cy in e)?e._ctx=Bs:z===3&&Bs&&(Bs.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Fi(e)?(e={default:e,_ctx:Bs},r=32):(e=String(e),E&64?(r=16,e=[ea(e)]):r=8);n.children=e,n.shapeFlag|=r}function qr(...n){const e={};for(let r=0;rWo||Bs,Xp=n=>{Wo=n,n.scope.on()},Bd=()=>{Wo&&Wo.scope.off(),Wo=null};function f4(n){return n.vnode.shapeFlag&4}let Sm=!1;function GE(n,e=!1){Sm=e;const{props:r,children:E}=n.vnode,z=f4(n);TE(n,r,z,e),AE(n,E);const k=z?qE(n,e):void 0;return Sm=!1,k}function qE(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=Zp(new Proxy(n.ctx,vE));const{setup:E}=r;if(E){const z=n.setupContext=E.length>1?$E(n):null;Xp(n),d0();const k=Nh(E,n,0,[n.props,z]);if(p0(),Bd(),vT(k)){if(k.then(Bd,Bd),e)return k.then(m=>{L3(n,m,e)}).catch(m=>{xy(m,n,0)});n.asyncDep=k}else L3(n,k,e)}else h4(n,e)}function L3(n,e,r){Fi(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:so(e)&&(n.setupState=zT(e)),h4(n,r)}let I3;function h4(n,e,r){const E=n.type;if(!n.render){if(!e&&I3&&!E.render){const z=E.template||e2(n).template;if(z){const{isCustomElement:k,compilerOptions:m}=n.appContext.config,{delimiters:t,compilerOptions:d}=E,y=As(As({isCustomElement:k,delimiters:t},m),d);E.render=I3(z,y)}}n.render=E.render||Rc}Xp(n),d0(),yE(n),p0(),Bd()}function WE(n){return new Proxy(n.attrs,{get(e,r){return Yl(n,"get","$attrs"),e[r]}})}function $E(n){const e=E=>{n.exposed=E||{}};let r;return{get attrs(){return r||(r=WE(n))},slots:n.slots,emit:n.emit,expose:e}}function Ly(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(zT(Zp(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in fm)return fm[r](n)},has(e,r){return r in e||r in fm}}))}function YE(n,e=!0){return Fi(n)?n.displayName||n.name:n.name||e&&n.__name}function ZE(n){return Fi(n)&&"__vccOpts"in n}const cn=(n,e)=>Z8(n,e,Sm);function Xh(n,e,r){const E=arguments.length;return E===2?so(e)&&!gi(e)?Iv(e)?gt(n,null,[e]):gt(n,e):gt(n,null,e):(E>3?r=Array.prototype.slice.call(arguments,2):E===3&&Iv(r)&&(r=[r]),gt(n,e,r))}const XE=Symbol(""),KE=()=>ka(XE),JE="3.2.47",QE="http://www.w3.org/2000/svg",Ad=typeof document<"u"?document:null,P3=Ad&&Ad.createElement("template"),e7={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,E)=>{const z=e?Ad.createElementNS(QE,n):Ad.createElement(n,r?{is:r}:void 0);return n==="select"&&E&&E.multiple!=null&&z.setAttribute("multiple",E.multiple),z},createText:n=>Ad.createTextNode(n),createComment:n=>Ad.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Ad.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,E,z,k){const m=r?r.previousSibling:e.lastChild;if(z&&(z===k||z.nextSibling))for(;e.insertBefore(z.cloneNode(!0),r),!(z===k||!(z=z.nextSibling)););else{P3.innerHTML=E?`${n}`:n;const t=P3.content;if(E){const d=t.firstChild;for(;d.firstChild;)t.appendChild(d.firstChild);t.removeChild(d)}e.insertBefore(t,r)}return[m?m.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function t7(n,e,r){const E=n._vtc;E&&(e=(e?[e,...E]:[...E]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}function n7(n,e,r){const E=n.style,z=Oo(r);if(r&&!z){if(e&&!Oo(e))for(const k in e)r[k]==null&&Db(E,k,"");for(const k in r)Db(E,k,r[k])}else{const k=E.display;z?e!==r&&(E.cssText=r):e&&n.removeAttribute("style"),"_vod"in n&&(E.display=k)}}const O3=/\s*!important$/;function Db(n,e,r){if(gi(r))r.forEach(E=>Db(n,e,E));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const E=r7(n,e);O3.test(r)?n.setProperty(h0(E),r.replace(O3,""),"important"):n[E]=r}}const R3=["Webkit","Moz","ms"],ib={};function r7(n,e){const r=ib[e];if(r)return r;let E=ec(e);if(E!=="filter"&&E in n)return ib[e]=E;E=sh(E);for(let z=0;zab||(u7.then(()=>ab=0),ab=Date.now());function f7(n,e){const r=E=>{if(!E._vts)E._vts=Date.now();else if(E._vts<=r.attached)return;Ju(h7(E,r.value),e,5,[E])};return r.value=n,r.attached=c7(),r}function h7(n,e){if(gi(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(E=>z=>!z._stopped&&E&&E(z))}else return e}const F3=/^on[a-z]/,d7=(n,e,r,E,z=!1,k,m,t,d)=>{e==="class"?t7(n,E,z):e==="style"?n7(n,r,E):my(e)?Fx(e)||s7(n,e,r,E,m):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):p7(n,e,E,z))?a7(n,e,E,k,m,t,d):(e==="true-value"?n._trueValue=E:e==="false-value"&&(n._falseValue=E),i7(n,e,E,z))};function p7(n,e,r,E){return E?!!(e==="innerHTML"||e==="textContent"||e in n&&F3.test(e)&&Fi(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||F3.test(e)&&Oo(r)?!1:e in n}const Ch="transition",tm="animation",bf=(n,{slots:e})=>Xh(qT,p4(n),e);bf.displayName="Transition";const d4={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},m7=bf.props=As({},qT.props,d4),bd=(n,e=[])=>{gi(n)?n.forEach(r=>r(...e)):n&&n(...e)},B3=n=>n?gi(n)?n.some(e=>e.length>1):n.length>1:!1;function p4(n){const e={};for(const _ in n)_ in d4||(e[_]=n[_]);if(n.css===!1)return e;const{name:r="v",type:E,duration:z,enterFromClass:k=`${r}-enter-from`,enterActiveClass:m=`${r}-enter-active`,enterToClass:t=`${r}-enter-to`,appearFromClass:d=k,appearActiveClass:y=m,appearToClass:i=t,leaveFromClass:M=`${r}-leave-from`,leaveActiveClass:g=`${r}-leave-active`,leaveToClass:h=`${r}-leave-to`}=n,l=g7(z),a=l&&l[0],u=l&&l[1],{onBeforeEnter:o,onEnter:s,onEnterCancelled:c,onLeave:f,onLeaveCancelled:p,onBeforeAppear:w=o,onAppear:v=s,onAppearCancelled:S=c}=e,x=(_,A,L)=>{Lh(_,A?i:t),Lh(_,A?y:m),L&&L()},T=(_,A)=>{_._isLeaving=!1,Lh(_,M),Lh(_,h),Lh(_,g),A&&A()},C=_=>(A,L)=>{const b=_?v:s,P=()=>x(A,_,L);bd(b,[A,P]),N3(()=>{Lh(A,_?d:k),Hf(A,_?i:t),B3(b)||V3(A,E,a,P)})};return As(e,{onBeforeEnter(_){bd(o,[_]),Hf(_,k),Hf(_,m)},onBeforeAppear(_){bd(w,[_]),Hf(_,d),Hf(_,y)},onEnter:C(!1),onAppear:C(!0),onLeave(_,A){_._isLeaving=!0;const L=()=>T(_,A);Hf(_,M),g4(),Hf(_,g),N3(()=>{_._isLeaving&&(Lh(_,M),Hf(_,h),B3(f)||V3(_,E,u,L))}),bd(f,[_,L])},onEnterCancelled(_){x(_,!1),bd(c,[_])},onAppearCancelled(_){x(_,!0),bd(S,[_])},onLeaveCancelled(_){T(_),bd(p,[_])}})}function g7(n){if(n==null)return null;if(so(n))return[ob(n.enter),ob(n.leave)];{const e=ob(n);return[e,e]}}function ob(n){return p8(n)}function Hf(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n._vtc||(n._vtc=new Set)).add(e)}function Lh(n,e){e.split(/\s+/).forEach(E=>E&&n.classList.remove(E));const{_vtc:r}=n;r&&(r.delete(e),r.size||(n._vtc=void 0))}function N3(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let v7=0;function V3(n,e,r,E){const z=n._endId=++v7,k=()=>{z===n._endId&&E()};if(r)return setTimeout(k,r);const{type:m,timeout:t,propCount:d}=m4(n,e);if(!m)return E();const y=m+"end";let i=0;const M=()=>{n.removeEventListener(y,g),k()},g=h=>{h.target===n&&++i>=d&&M()};setTimeout(()=>{i(r[l]||"").split(", "),z=E(`${Ch}Delay`),k=E(`${Ch}Duration`),m=j3(z,k),t=E(`${tm}Delay`),d=E(`${tm}Duration`),y=j3(t,d);let i=null,M=0,g=0;e===Ch?m>0&&(i=Ch,M=m,g=k.length):e===tm?y>0&&(i=tm,M=y,g=d.length):(M=Math.max(m,y),i=M>0?m>y?Ch:tm:null,g=i?i===Ch?k.length:d.length:0);const h=i===Ch&&/\b(transform|all)(,|$)/.test(E(`${Ch}Property`).toString());return{type:i,timeout:M,propCount:g,hasTransform:h}}function j3(n,e){for(;n.lengthU3(r)+U3(n[E])))}function U3(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function g4(){return document.body.offsetHeight}const v4=new WeakMap,y4=new WeakMap,b4={name:"TransitionGroup",props:As({},m7,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=Ey(),E=GT();let z,k;return KT(()=>{if(!z.length)return;const m=n.moveClass||`${n.name||"v"}-move`;if(!T7(z[0].el,r.vnode.el,m))return;z.forEach(x7),z.forEach(_7);const t=z.filter(w7);g4(),t.forEach(d=>{const y=d.el,i=y.style;Hf(y,m),i.transform=i.webkitTransform=i.transitionDuration="";const M=y._moveCb=g=>{g&&g.target!==y||(!g||/transform$/.test(g.propertyName))&&(y.removeEventListener("transitionend",M),y._moveCb=null,Lh(y,m))};y.addEventListener("transitionend",M)})}),()=>{const m=Si(n),t=p4(m);let d=m.tag||$r;z=k,k=e.default?Kx(e.default()):[];for(let y=0;ydelete n.mode;b4.props;const b7=b4;function x7(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function _7(n){y4.set(n,n.el.getBoundingClientRect())}function w7(n){const e=v4.get(n),r=y4.get(n),E=e.left-r.left,z=e.top-r.top;if(E||z){const k=n.el.style;return k.transform=k.webkitTransform=`translate(${E}px,${z}px)`,k.transitionDuration="0s",n}}function T7(n,e,r){const E=n.cloneNode();n._vtc&&n._vtc.forEach(m=>{m.split(/\s+/).forEach(t=>t&&E.classList.remove(t))}),r.split(/\s+/).forEach(m=>m&&E.classList.add(m)),E.style.display="none";const z=e.nodeType===1?e:e.parentNode;z.appendChild(E);const{hasTransform:k}=m4(E);return z.removeChild(E),k}const H3=n=>{const e=n.props["onUpdate:modelValue"]||!1;return gi(e)?r=>hv(e,r):e};function k7(n){n.target.composing=!0}function G3(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const M7={created(n,{modifiers:{lazy:e,trim:r,number:E}},z){n._assign=H3(z);const k=E||z.props&&z.props.type==="number";Ip(n,e?"change":"input",m=>{if(m.target.composing)return;let t=n.value;r&&(t=t.trim()),k&&(t=kb(t)),n._assign(t)}),r&&Ip(n,"change",()=>{n.value=n.value.trim()}),e||(Ip(n,"compositionstart",k7),Ip(n,"compositionend",G3),Ip(n,"change",G3))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:r,trim:E,number:z}},k){if(n._assign=H3(k),n.composing||document.activeElement===n&&n.type!=="range"&&(r||E&&n.value.trim()===e||(z||n.type==="number")&&kb(n.value)===e))return;const m=e??"";n.value!==m&&(n.value=m)}},A7=["ctrl","shift","alt","meta"],S7={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>A7.some(r=>n[`${r}Key`]&&!e.includes(r))},jp=(n,e)=>(r,...E)=>{for(let z=0;z{nm(n,!1)}):nm(n,e))},beforeUnmount(n,{value:e}){nm(n,e)}};function nm(n,e){n.style.display=e?n._vod:"none"}const C7=As({patchProp:d7},e7);let q3;function E7(){return q3||(q3=LE(C7))}const L7=(...n)=>{const e=E7().createApp(...n),{mount:r}=e;return e.mount=E=>{const z=I7(E);if(!z)return;const k=e._component;!Fi(k)&&!k.render&&!k.template&&(k.template=z.innerHTML),z.innerHTML="";const m=r(z,!1,z instanceof SVGElement);return z instanceof Element&&(z.removeAttribute("v-cloak"),z.setAttribute("data-v-app","")),m},e};function I7(n){return Oo(n)?document.querySelector(n):n}var P7=!1;/*! * pinia v2.0.35 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let x4;const Iy=n=>x4=n,_4=Symbol();function zb(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var pm;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(pm||(pm={}));function P7(){const n=Um(!0),e=n.run(()=>Vr({}));let r=[],E=[];const z=Zp({install(k){Iy(z),z._a=k,k.provide(_4,z),k.config.globalProperties.$pinia=z,E.forEach(m=>r.push(m)),E=[]},use(k){return!this._a&&!O7?E.push(k):r.push(k),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return z}const w4=()=>{};function q3(n,e,r,E=w4){n.push(e);const z=()=>{const k=n.indexOf(e);k>-1&&(n.splice(k,1),E())};return!r&&_T()&&Tl(z),z}function Mp(n,...e){n.slice().forEach(r=>{r(...e)})}function Fb(n,e){n instanceof Map&&e instanceof Map&&e.forEach((r,E)=>n.set(E,r)),n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const E=e[r],z=n[r];zb(z)&&zb(E)&&n.hasOwnProperty(r)&&!eo(E)&&!Bh(E)?n[r]=Fb(z,E):n[r]=E}return n}const R7=Symbol();function D7(n){return!zb(n)||!n.hasOwnProperty(R7)}const{assign:Ih}=Object;function z7(n){return!!(eo(n)&&n.effect)}function F7(n,e,r,E){const{state:z,actions:k,getters:m}=e,t=r.state.value[n];let d;function y(){t||(r.state.value[n]=z?z():{});const i=by(r.state.value[n]);return Ih(i,k,Object.keys(m||{}).reduce((M,g)=>(M[g]=Zp(cn(()=>{Iy(r);const h=r._s.get(n);return m[g].call(h,h)})),M),{}))}return d=T4(n,y,e,r,E,!0),d}function T4(n,e,r={},E,z,k){let m;const t=Ih({actions:{}},r),d={deep:!0};let y,i,M=Zp([]),g=Zp([]),h;const l=E.state.value[n];!k&&!l&&(E.state.value[n]={}),Vr({});let a;function u(v){let S;y=i=!1,typeof v=="function"?(v(E.state.value[n]),S={type:pm.patchFunction,storeId:n,events:h}):(Fb(E.state.value[n],v),S={type:pm.patchObject,payload:v,storeId:n,events:h});const x=a=Symbol();Ua().then(()=>{a===x&&(y=!0)}),i=!0,Mp(M,S,E.state.value[n])}const o=k?function(){const{state:S}=r,x=S?S():{};this.$patch(T=>{Ih(T,x)})}:w4;function s(){m.stop(),M=[],g=[],E._s.delete(n)}function f(v,S){return function(){Iy(E);const x=Array.from(arguments),T=[],C=[];function _(b){T.push(b)}function A(b){C.push(b)}Mp(g,{args:x,name:v,store:p,after:_,onError:A});let L;try{L=S.apply(this&&this.$id===n?this:p,x)}catch(b){throw Mp(C,b),b}return L instanceof Promise?L.then(b=>(Mp(T,b),b)).catch(b=>(Mp(C,b),Promise.reject(b))):(Mp(T,L),L)}}const c={_p:E,$id:n,$onAction:q3.bind(null,g),$patch:u,$reset:o,$subscribe(v,S={}){const x=q3(M,v,S.detached,()=>T()),T=m.run(()=>Xr(()=>E.state.value[n],C=>{(S.flush==="sync"?i:y)&&v({storeId:n,type:pm.direct,events:h},C)},Ih({},d,S)));return x},$dispose:s},p=bl(c);E._s.set(n,p);const w=E._e.run(()=>(m=Um(),m.run(()=>e())));for(const v in w){const S=w[v];if(eo(S)&&!z7(S)||Bh(S))k||(l&&D7(S)&&(eo(S)?S.value=l[v]:Fb(S,l[v])),E.state.value[n][v]=S);else if(typeof S=="function"){const x=f(v,S);w[v]=x,t.actions[v]=S}}return Ih(p,w),Ih(Si(p),w),Object.defineProperty(p,"$state",{get:()=>E.state.value[n],set:v=>{u(S=>{Ih(S,v)})}}),E._p.forEach(v=>{Ih(p,m.run(()=>v({store:p,app:E._a,pinia:E,options:t})))}),l&&k&&r.hydrate&&r.hydrate(p.$state,l),y=!0,i=!0,p}function i2(n,e,r){let E,z;const k=typeof e=="function";typeof n=="string"?(E=n,z=k?r:e):(z=n,E=n.id);function m(t,d){const y=Ey();return t=t||y&&ka(_4,null),t&&Iy(t),t=x4,t._s.has(E)||(k?T4(E,e,z,t):F7(E,z,t)),t._s.get(E)}return m.$id=E,m}var B7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var k4={exports:{}},Fa={};/** @license React v16.13.1 + */let x4;const Iy=n=>x4=n,_4=Symbol();function zb(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var pm;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(pm||(pm={}));function O7(){const n=Um(!0),e=n.run(()=>Vr({}));let r=[],E=[];const z=Zp({install(k){Iy(z),z._a=k,k.provide(_4,z),k.config.globalProperties.$pinia=z,E.forEach(m=>r.push(m)),E=[]},use(k){return!this._a&&!P7?E.push(k):r.push(k),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return z}const w4=()=>{};function W3(n,e,r,E=w4){n.push(e);const z=()=>{const k=n.indexOf(e);k>-1&&(n.splice(k,1),E())};return!r&&_T()&&Tl(z),z}function Mp(n,...e){n.slice().forEach(r=>{r(...e)})}function Fb(n,e){n instanceof Map&&e instanceof Map&&e.forEach((r,E)=>n.set(E,r)),n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const E=e[r],z=n[r];zb(z)&&zb(E)&&n.hasOwnProperty(r)&&!eo(E)&&!Bh(E)?n[r]=Fb(z,E):n[r]=E}return n}const R7=Symbol();function D7(n){return!zb(n)||!n.hasOwnProperty(R7)}const{assign:Ih}=Object;function z7(n){return!!(eo(n)&&n.effect)}function F7(n,e,r,E){const{state:z,actions:k,getters:m}=e,t=r.state.value[n];let d;function y(){t||(r.state.value[n]=z?z():{});const i=by(r.state.value[n]);return Ih(i,k,Object.keys(m||{}).reduce((M,g)=>(M[g]=Zp(cn(()=>{Iy(r);const h=r._s.get(n);return m[g].call(h,h)})),M),{}))}return d=T4(n,y,e,r,E,!0),d}function T4(n,e,r={},E,z,k){let m;const t=Ih({actions:{}},r),d={deep:!0};let y,i,M=Zp([]),g=Zp([]),h;const l=E.state.value[n];!k&&!l&&(E.state.value[n]={}),Vr({});let a;function u(v){let S;y=i=!1,typeof v=="function"?(v(E.state.value[n]),S={type:pm.patchFunction,storeId:n,events:h}):(Fb(E.state.value[n],v),S={type:pm.patchObject,payload:v,storeId:n,events:h});const x=a=Symbol();Ua().then(()=>{a===x&&(y=!0)}),i=!0,Mp(M,S,E.state.value[n])}const o=k?function(){const{state:S}=r,x=S?S():{};this.$patch(T=>{Ih(T,x)})}:w4;function s(){m.stop(),M=[],g=[],E._s.delete(n)}function c(v,S){return function(){Iy(E);const x=Array.from(arguments),T=[],C=[];function _(b){T.push(b)}function A(b){C.push(b)}Mp(g,{args:x,name:v,store:p,after:_,onError:A});let L;try{L=S.apply(this&&this.$id===n?this:p,x)}catch(b){throw Mp(C,b),b}return L instanceof Promise?L.then(b=>(Mp(T,b),b)).catch(b=>(Mp(C,b),Promise.reject(b))):(Mp(T,L),L)}}const f={_p:E,$id:n,$onAction:W3.bind(null,g),$patch:u,$reset:o,$subscribe(v,S={}){const x=W3(M,v,S.detached,()=>T()),T=m.run(()=>Xr(()=>E.state.value[n],C=>{(S.flush==="sync"?i:y)&&v({storeId:n,type:pm.direct,events:h},C)},Ih({},d,S)));return x},$dispose:s},p=bl(f);E._s.set(n,p);const w=E._e.run(()=>(m=Um(),m.run(()=>e())));for(const v in w){const S=w[v];if(eo(S)&&!z7(S)||Bh(S))k||(l&&D7(S)&&(eo(S)?S.value=l[v]:Fb(S,l[v])),E.state.value[n][v]=S);else if(typeof S=="function"){const x=c(v,S);w[v]=x,t.actions[v]=S}}return Ih(p,w),Ih(Si(p),w),Object.defineProperty(p,"$state",{get:()=>E.state.value[n],set:v=>{u(S=>{Ih(S,v)})}}),E._p.forEach(v=>{Ih(p,m.run(()=>v({store:p,app:E._a,pinia:E,options:t})))}),l&&k&&r.hydrate&&r.hydrate(p.$state,l),y=!0,i=!0,p}function i2(n,e,r){let E,z;const k=typeof e=="function";typeof n=="string"?(E=n,z=k?r:e):(z=n,E=n.id);function m(t,d){const y=Ey();return t=t||y&&ka(_4,null),t&&Iy(t),t=x4,t._s.has(E)||(k?T4(E,e,z,t):F7(E,z,t)),t._s.get(E)}return m.$id=E,m}var B7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var k4={exports:{}},Ba={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var As=typeof Symbol=="function"&&Symbol.for,o2=As?Symbol.for("react.element"):60103,s2=As?Symbol.for("react.portal"):60106,Oy=As?Symbol.for("react.fragment"):60107,Py=As?Symbol.for("react.strict_mode"):60108,Ry=As?Symbol.for("react.profiler"):60114,Dy=As?Symbol.for("react.provider"):60109,zy=As?Symbol.for("react.context"):60110,l2=As?Symbol.for("react.async_mode"):60111,Fy=As?Symbol.for("react.concurrent_mode"):60111,By=As?Symbol.for("react.forward_ref"):60112,Ny=As?Symbol.for("react.suspense"):60113,N7=As?Symbol.for("react.suspense_list"):60120,Vy=As?Symbol.for("react.memo"):60115,jy=As?Symbol.for("react.lazy"):60116,V7=As?Symbol.for("react.block"):60121,j7=As?Symbol.for("react.fundamental"):60117,U7=As?Symbol.for("react.responder"):60118,H7=As?Symbol.for("react.scope"):60119;function ku(n){if(typeof n=="object"&&n!==null){var e=n.$$typeof;switch(e){case o2:switch(n=n.type,n){case l2:case Fy:case Oy:case Ry:case Py:case Ny:return n;default:switch(n=n&&n.$$typeof,n){case zy:case By:case jy:case Vy:case Dy:return n;default:return e}}case s2:return e}}}function M4(n){return ku(n)===Fy}Fa.AsyncMode=l2;Fa.ConcurrentMode=Fy;Fa.ContextConsumer=zy;Fa.ContextProvider=Dy;Fa.Element=o2;Fa.ForwardRef=By;Fa.Fragment=Oy;Fa.Lazy=jy;Fa.Memo=Vy;Fa.Portal=s2;Fa.Profiler=Ry;Fa.StrictMode=Py;Fa.Suspense=Ny;Fa.isAsyncMode=function(n){return M4(n)||ku(n)===l2};Fa.isConcurrentMode=M4;Fa.isContextConsumer=function(n){return ku(n)===zy};Fa.isContextProvider=function(n){return ku(n)===Dy};Fa.isElement=function(n){return typeof n=="object"&&n!==null&&n.$$typeof===o2};Fa.isForwardRef=function(n){return ku(n)===By};Fa.isFragment=function(n){return ku(n)===Oy};Fa.isLazy=function(n){return ku(n)===jy};Fa.isMemo=function(n){return ku(n)===Vy};Fa.isPortal=function(n){return ku(n)===s2};Fa.isProfiler=function(n){return ku(n)===Ry};Fa.isStrictMode=function(n){return ku(n)===Py};Fa.isSuspense=function(n){return ku(n)===Ny};Fa.isValidElementType=function(n){return typeof n=="string"||typeof n=="function"||n===Oy||n===Fy||n===Ry||n===Py||n===Ny||n===N7||typeof n=="object"&&n!==null&&(n.$$typeof===jy||n.$$typeof===Vy||n.$$typeof===Dy||n.$$typeof===zy||n.$$typeof===By||n.$$typeof===j7||n.$$typeof===U7||n.$$typeof===H7||n.$$typeof===V7)};Fa.typeOf=ku;k4.exports=Fa;var G7=k4.exports,A4=G7,W7={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},q7={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},S4={};S4[A4.ForwardRef]=W7;S4[A4.Memo]=q7;var C4={exports:{}},Ba={};/* + */var Ss=typeof Symbol=="function"&&Symbol.for,o2=Ss?Symbol.for("react.element"):60103,s2=Ss?Symbol.for("react.portal"):60106,Py=Ss?Symbol.for("react.fragment"):60107,Oy=Ss?Symbol.for("react.strict_mode"):60108,Ry=Ss?Symbol.for("react.profiler"):60114,Dy=Ss?Symbol.for("react.provider"):60109,zy=Ss?Symbol.for("react.context"):60110,l2=Ss?Symbol.for("react.async_mode"):60111,Fy=Ss?Symbol.for("react.concurrent_mode"):60111,By=Ss?Symbol.for("react.forward_ref"):60112,Ny=Ss?Symbol.for("react.suspense"):60113,N7=Ss?Symbol.for("react.suspense_list"):60120,Vy=Ss?Symbol.for("react.memo"):60115,jy=Ss?Symbol.for("react.lazy"):60116,V7=Ss?Symbol.for("react.block"):60121,j7=Ss?Symbol.for("react.fundamental"):60117,U7=Ss?Symbol.for("react.responder"):60118,H7=Ss?Symbol.for("react.scope"):60119;function ku(n){if(typeof n=="object"&&n!==null){var e=n.$$typeof;switch(e){case o2:switch(n=n.type,n){case l2:case Fy:case Py:case Ry:case Oy:case Ny:return n;default:switch(n=n&&n.$$typeof,n){case zy:case By:case jy:case Vy:case Dy:return n;default:return e}}case s2:return e}}}function M4(n){return ku(n)===Fy}Ba.AsyncMode=l2;Ba.ConcurrentMode=Fy;Ba.ContextConsumer=zy;Ba.ContextProvider=Dy;Ba.Element=o2;Ba.ForwardRef=By;Ba.Fragment=Py;Ba.Lazy=jy;Ba.Memo=Vy;Ba.Portal=s2;Ba.Profiler=Ry;Ba.StrictMode=Oy;Ba.Suspense=Ny;Ba.isAsyncMode=function(n){return M4(n)||ku(n)===l2};Ba.isConcurrentMode=M4;Ba.isContextConsumer=function(n){return ku(n)===zy};Ba.isContextProvider=function(n){return ku(n)===Dy};Ba.isElement=function(n){return typeof n=="object"&&n!==null&&n.$$typeof===o2};Ba.isForwardRef=function(n){return ku(n)===By};Ba.isFragment=function(n){return ku(n)===Py};Ba.isLazy=function(n){return ku(n)===jy};Ba.isMemo=function(n){return ku(n)===Vy};Ba.isPortal=function(n){return ku(n)===s2};Ba.isProfiler=function(n){return ku(n)===Ry};Ba.isStrictMode=function(n){return ku(n)===Oy};Ba.isSuspense=function(n){return ku(n)===Ny};Ba.isValidElementType=function(n){return typeof n=="string"||typeof n=="function"||n===Py||n===Fy||n===Ry||n===Oy||n===Ny||n===N7||typeof n=="object"&&n!==null&&(n.$$typeof===jy||n.$$typeof===Vy||n.$$typeof===Dy||n.$$typeof===zy||n.$$typeof===By||n.$$typeof===j7||n.$$typeof===U7||n.$$typeof===H7||n.$$typeof===V7)};Ba.typeOf=ku;k4.exports=Ba;var G7=k4.exports,A4=G7,q7={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},W7={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},S4={};S4[A4.ForwardRef]=q7;S4[A4.Memo]=W7;var C4={exports:{}},Na={};/* object-assign (c) Sindre Sorhus @license MIT -*/var Y3=Object.getOwnPropertySymbols,Y7=Object.prototype.hasOwnProperty,$7=Object.prototype.propertyIsEnumerable;function Z7(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function X7(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var E=Object.getOwnPropertyNames(e).map(function(k){return e[k]});if(E.join("")!=="0123456789")return!1;var z={};return"abcdefghijklmnopqrst".split("").forEach(function(k){z[k]=k}),Object.keys(Object.assign({},z)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var K7=X7()?Object.assign:function(n,e){for(var r,E=Z7(n),z,k=1;kOv.length&&Ov.push(n)}function Bb(n,e,r,E){var z=typeof n;(z==="undefined"||z==="boolean")&&(n=null);var k=!1;if(n===null)k=!0;else switch(z){case"string":case"number":k=!0;break;case"object":switch(n.$$typeof){case Wm:case J7:k=!0}}if(k)return r(E,n,e===""?"."+sb(n,0):e),1;if(k=0,e=e===""?".":e+":",Array.isArray(n))for(var m=0;m=n.length&&(n=void 0),{value:n&&n[E++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function zi(n){return this instanceof zi?(this.v=n,this):new zi(n)}function mf(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E=r.apply(n,e||[]),z,k=[];return z=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),t("next"),t("throw"),t("return",m),z[Symbol.asyncIterator]=function(){return this},z;function m(h){return function(l){return Promise.resolve(l).then(h,M)}}function t(h,l){E[h]&&(z[h]=function(a){return new Promise(function(u,o){k.push([h,a,u,o])>1||d(h,a)})},l&&(z[h]=l(z[h])))}function d(h,l){try{y(E[h](l))}catch(a){g(k[0][3],a)}}function y(h){h.value instanceof zi?Promise.resolve(h.value.v).then(i,M):g(k[0][2],h)}function i(h){d("next",h)}function M(h){d("throw",h)}function g(h,l){h(l),k.shift(),k.length&&d(k[0][0],k[0][1])}}function mv(n){var e,r;return e={},E("next"),E("throw",function(z){throw z}),E("return"),e[Symbol.iterator]=function(){return this},e;function E(z,k){e[z]=n[z]?function(m){return(r=!r)?{value:zi(n[z](m)),done:!1}:k?k(m):m}:k}}function Nd(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],r;return e?e.call(n):(n=typeof Z3=="function"?Z3(n):n[Symbol.iterator](),r={},E("next"),E("throw"),E("return"),r[Symbol.asyncIterator]=function(){return this},r);function E(k){r[k]=n[k]&&function(m){return new Promise(function(t,d){m=n[k](m),z(t,d,m.done,m.value)})}}function z(k,m,t,d){Promise.resolve(d).then(function(y){k({value:y,done:t})},m)}}const m9=new TextDecoder("utf-8"),jb=n=>m9.decode(n),g9=new TextEncoder,p2=n=>g9.encode(n),[BH,v9]=(()=>{const n=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw n()}return e.asIntN=()=>{throw n()},e.asUintN=()=>{throw n()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[Ym,NH]=(()=>{const n=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[$m,VH]=(()=>{const n=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),y9=n=>typeof n=="number",N4=n=>typeof n=="boolean",us=n=>typeof n=="function",Zl=n=>n!=null&&Object(n)===n,Uh=n=>Zl(n)&&us(n.then),Zm=n=>Zl(n)&&us(n[Symbol.iterator]),g0=n=>Zl(n)&&us(n[Symbol.asyncIterator]),Ub=n=>Zl(n)&&Zl(n.schema),V4=n=>Zl(n)&&"done"in n&&"value"in n,j4=n=>Zl(n)&&us(n.stat)&&y9(n.fd),U4=n=>Zl(n)&&m2(n.body),Uy=n=>"_getDOMStream"in n&&"_getNodeStream"in n,b9=n=>Zl(n)&&us(n.abort)&&us(n.getWriter)&&!Uy(n),m2=n=>Zl(n)&&us(n.cancel)&&us(n.getReader)&&!Uy(n),x9=n=>Zl(n)&&us(n.end)&&us(n.write)&&N4(n.writable)&&!Uy(n),H4=n=>Zl(n)&&us(n.read)&&us(n.pipe)&&N4(n.readable)&&!Uy(n),_9=n=>Zl(n)&&us(n.clear)&&us(n.bytes)&&us(n.position)&&us(n.setPosition)&&us(n.capacity)&&us(n.getBufferIdentifier)&&us(n.createLong),g2=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function w9(n){const e=n[0]?[n[0]]:[];let r,E,z,k;for(let m,t,d=0,y=0,i=n.length;++di+M.byteLength,0);let z,k,m,t=0,d=-1;const y=Math.min(e||Number.POSITIVE_INFINITY,E);for(const i=r.length;++dWa(Int32Array,n),_a=n=>Wa(Uint8Array,n),Hb=n=>(n.next(),n);function*T9(n,e){const r=function*(z){yield z},E=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?r(e):Zm(e)?e:r(e);return yield*Hb(function*(z){let k=null;do k=z.next(yield Wa(n,k));while(!k.done)}(E[Symbol.iterator]())),new n}const k9=n=>T9(Uint8Array,n);function G4(n,e){return mf(this,arguments,function*(){if(Uh(e))return yield zi(yield zi(yield*mv(Nd(G4(n,yield zi(e))))));const E=function(m){return mf(this,arguments,function*(){yield yield zi(yield zi(m))})},z=function(m){return mf(this,arguments,function*(){yield zi(yield*mv(Nd(Hb(function*(t){let d=null;do d=t.next(yield d==null?void 0:d.value);while(!d.done)}(m[Symbol.iterator]())))))})},k=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?E(e):Zm(e)?z(e):g0(e)?e:E(e);return yield zi(yield*mv(Nd(Hb(function(m){return mf(this,arguments,function*(){let t=null;do t=yield zi(m.next(yield yield zi(Wa(n,t))));while(!t.done)})}(k[Symbol.asyncIterator]()))))),yield zi(new n)})}const M9=n=>G4(Uint8Array,n);function v2(n,e,r){if(n!==0){r=r.slice(0,e+1);for(let E=-1;++E<=e;)r[E]+=n}return r}function A9(n,e){let r=0;const E=n.length;if(E!==e.length)return!1;if(E>0)do if(n[r]!==e[r])return!1;while(++r(n.next(),n);function*S9(n){let e,r=!1,E=[],z,k,m,t=0;function d(){return k==="peek"?xf(E,m)[0]:([z,E,t]=xf(E,m),z)}({cmd:k,size:m}=yield null);const y=k9(n)[Symbol.iterator]();try{do if({done:e,value:z}=Number.isNaN(m-t)?y.next():y.next(m-t),!e&&z.byteLength>0&&(E.push(z),t+=z.byteLength),e||m<=t)do({cmd:k,size:m}=yield d());while(m0&&(z.push(k),d+=k.byteLength),r||t<=d)do({cmd:m,size:t}=yield yield zi(y()));while(t0&&(z.push(_a(k)),d+=k.byteLength),r||t<=d)do({cmd:m,size:t}=yield yield zi(y()));while(t{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(e){return yi(this,void 0,void 0,function*(){const{reader:r,source:E}=this;r&&(yield r.cancel(e).catch(()=>{})),E&&E.locked&&this.releaseLock()})}read(e){return yi(this,void 0,void 0,function*(){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const r=yield this.reader.read();return!r.done&&(r.value=_a(r)),r})}}const lb=(n,e)=>{const r=z=>E([e,z]);let E;return[e,r,new Promise(z=>(E=z)&&n.once(e,r))]};function I9(n){return mf(this,arguments,function*(){const r=[];let E="error",z=!1,k=null,m,t,d=0,y=[],i;function M(){return m==="peek"?xf(y,t)[0]:([i,y,d]=xf(y,t),i)}if({cmd:m,size:t}=yield yield zi(null),n.isTTY)return yield yield zi(new Uint8Array(0)),yield zi(null);try{r[0]=lb(n,"end"),r[1]=lb(n,"error");do{if(r[2]=lb(n,"readable"),[E,k]=yield zi(Promise.race(r.map(h=>h[2]))),E==="error")break;if((z=E==="end")||(Number.isFinite(t-d)?(i=_a(n.read(t-d)),i.byteLength0&&(y.push(i),d+=i.byteLength)),z||t<=d)do({cmd:m,size:t}=yield yield zi(M()));while(t{for(const[o,s]of h)n.off(o,s);try{const o=n.destroy;o&&o.call(n,l),l=void 0}catch(o){l=o||l}finally{l!=null?u(l):a()}})}})}var gu;(function(n){n[n.V1=0]="V1",n[n.V2=1]="V2",n[n.V3=2]="V3",n[n.V4=3]="V4",n[n.V5=4]="V5"})(gu||(gu={}));var xu;(function(n){n[n.Sparse=0]="Sparse",n[n.Dense=1]="Dense"})(xu||(xu={}));var Yl;(function(n){n[n.HALF=0]="HALF",n[n.SINGLE=1]="SINGLE",n[n.DOUBLE=2]="DOUBLE"})(Yl||(Yl={}));var rh;(function(n){n[n.DAY=0]="DAY",n[n.MILLISECOND=1]="MILLISECOND"})(rh||(rh={}));var wa;(function(n){n[n.SECOND=0]="SECOND",n[n.MILLISECOND=1]="MILLISECOND",n[n.MICROSECOND=2]="MICROSECOND",n[n.NANOSECOND=3]="NANOSECOND"})(wa||(wa={}));var Hh;(function(n){n[n.YEAR_MONTH=0]="YEAR_MONTH",n[n.DAY_TIME=1]="DAY_TIME",n[n.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Hh||(Hh={}));var Ca;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(Ca||(Ca={}));var Jn;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.Float=3]="Float",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct=13]="Struct",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Dictionary=-1]="Dictionary",n[n.Int8=-2]="Int8",n[n.Int16=-3]="Int16",n[n.Int32=-4]="Int32",n[n.Int64=-5]="Int64",n[n.Uint8=-6]="Uint8",n[n.Uint16=-7]="Uint16",n[n.Uint32=-8]="Uint32",n[n.Uint64=-9]="Uint64",n[n.Float16=-10]="Float16",n[n.Float32=-11]="Float32",n[n.Float64=-12]="Float64",n[n.DateDay=-13]="DateDay",n[n.DateMillisecond=-14]="DateMillisecond",n[n.TimestampSecond=-15]="TimestampSecond",n[n.TimestampMillisecond=-16]="TimestampMillisecond",n[n.TimestampMicrosecond=-17]="TimestampMicrosecond",n[n.TimestampNanosecond=-18]="TimestampNanosecond",n[n.TimeSecond=-19]="TimeSecond",n[n.TimeMillisecond=-20]="TimeMillisecond",n[n.TimeMicrosecond=-21]="TimeMicrosecond",n[n.TimeNanosecond=-22]="TimeNanosecond",n[n.DenseUnion=-23]="DenseUnion",n[n.SparseUnion=-24]="SparseUnion",n[n.IntervalDayTime=-25]="IntervalDayTime",n[n.IntervalYearMonth=-26]="IntervalYearMonth"})(Jn||(Jn={}));var qf;(function(n){n[n.OFFSET=0]="OFFSET",n[n.DATA=1]="DATA",n[n.VALIDITY=2]="VALIDITY",n[n.TYPE=3]="TYPE"})(qf||(qf={}));const O9=void 0;function Cm(n){if(n===null)return"null";if(n===O9)return"undefined";switch(typeof n){case"number":return`${n}`;case"bigint":return`${n}`;case"string":return`"${n}"`}return typeof n[Symbol.toPrimitive]=="function"?n[Symbol.toPrimitive]("string"):ArrayBuffer.isView(n)?n instanceof Ym||n instanceof $m?`[${[...n].map(e=>Cm(e))}]`:`[${n}]`:ArrayBuffer.isView(n)?`[${n}]`:JSON.stringify(n,(e,r)=>typeof r=="bigint"?`${r}`:r)}const P9=Symbol.for("isArrowBigNum");function Fc(n,...e){return e.length===0?Object.setPrototypeOf(Wa(this.TypedArray,n),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(n,...e),this.constructor.prototype)}Fc.prototype[P9]=!0;Fc.prototype.toJSON=function(){return`"${Vd(this)}"`};Fc.prototype.valueOf=function(){return W4(this)};Fc.prototype.toString=function(){return Vd(this)};Fc.prototype[Symbol.toPrimitive]=function(n="default"){switch(n){case"number":return W4(this);case"string":return Vd(this);case"default":return Gb(this)}return Vd(this)};function Up(...n){return Fc.apply(this,n)}function Hp(...n){return Fc.apply(this,n)}function Em(...n){return Fc.apply(this,n)}Object.setPrototypeOf(Up.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Hp.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Em.prototype,Object.create(Uint32Array.prototype));Object.assign(Up.prototype,Fc.prototype,{constructor:Up,signed:!0,TypedArray:Int32Array,BigIntArray:Ym});Object.assign(Hp.prototype,Fc.prototype,{constructor:Hp,signed:!1,TypedArray:Uint32Array,BigIntArray:$m});Object.assign(Em.prototype,Fc.prototype,{constructor:Em,signed:!0,TypedArray:Uint32Array,BigIntArray:$m});function W4(n){const{buffer:e,byteOffset:r,length:E,signed:z}=n,k=new $m(e,r,E),m=z&&k[k.length-1]&BigInt(1)<n.byteLength===8?new n.BigIntArray(n.buffer,n.byteOffset,1)[0]:ub(n),Vd=n=>n.byteLength===8?`${new n.BigIntArray(n.buffer,n.byteOffset,1)[0]}`:ub(n)):(Vd=ub,Gb=Vd);function ub(n){let e="";const r=new Uint32Array(2);let E=new Uint16Array(n.buffer,n.byteOffset,n.byteLength/2);const z=new Uint32Array((E=new Uint16Array(E).reverse()).buffer);let k=-1;const m=E.length-1;do{for(r[0]=E[k=0];k(n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(_i.prototype);let Gh=class extends _i{toString(){return"Null"}get typeId(){return Jn.Null}};Y4=Symbol.toStringTag;Gh[Y4]=(n=>n[Symbol.toStringTag]="Null")(Gh.prototype);class Wh extends _i{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return Jn.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?Ym:$m}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}$4=Symbol.toStringTag;Wh[$4]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))(Wh.prototype);class Lm extends Wh{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Lm.prototype,"ArrayType",{value:Int32Array});class Im extends _i{constructor(e){super(),this.precision=e}get typeId(){return Jn.Float}get ArrayType(){switch(this.precision){case Yl.HALF:return Uint16Array;case Yl.SINGLE:return Float32Array;case Yl.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}Z4=Symbol.toStringTag;Im[Z4]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Im.prototype);let Pv=class extends _i{constructor(){super()}get typeId(){return Jn.Binary}toString(){return"Binary"}};X4=Symbol.toStringTag;Pv[X4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(Pv.prototype);let Rv=class extends _i{constructor(){super()}get typeId(){return Jn.Utf8}toString(){return"Utf8"}};K4=Symbol.toStringTag;Rv[K4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))(Rv.prototype);let Dv=class extends _i{constructor(){super()}get typeId(){return Jn.Bool}toString(){return"Bool"}};J4=Symbol.toStringTag;Dv[J4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Dv.prototype);let zv=class extends _i{constructor(e,r,E=128){super(),this.scale=e,this.precision=r,this.bitWidth=E}get typeId(){return Jn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};Q4=Symbol.toStringTag;zv[Q4]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(zv.prototype);class Fv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Date}toString(){return`Date${(this.unit+1)*32}<${rh[this.unit]}>`}}ek=Symbol.toStringTag;Fv[ek]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Fv.prototype);class Om extends _i{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return Jn.Time}toString(){return`Time${this.bitWidth}<${wa[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return Ym}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}tk=Symbol.toStringTag;Om[tk]=(n=>(n.unit=null,n.bitWidth=null,n[Symbol.toStringTag]="Time"))(Om.prototype);class Bv extends _i{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return Jn.Timestamp}toString(){return`Timestamp<${wa[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}nk=Symbol.toStringTag;Bv[nk]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(Bv.prototype);class Nv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Interval}toString(){return`Interval<${Hh[this.unit]}>`}}rk=Symbol.toStringTag;Nv[rk]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))(Nv.prototype);let Vv=class extends _i{constructor(e){super(),this.children=[e]}get typeId(){return Jn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ik=Symbol.toStringTag;Vv[ik]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Vv.prototype);class xl extends _i{constructor(e){super(),this.children=e}get typeId(){return Jn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ak=Symbol.toStringTag;xl[ak]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(xl.prototype);class jv extends _i{constructor(e,r,E){super(),this.mode=e,this.children=E,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((z,k,m)=>(z[k]=m)&&z||z,Object.create(null))}get typeId(){return Jn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}ok=Symbol.toStringTag;jv[ok]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(jv.prototype);let Uv=class extends _i{constructor(e){super(),this.byteWidth=e}get typeId(){return Jn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};sk=Symbol.toStringTag;Uv[sk]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))(Uv.prototype);let Hv=class extends _i{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return Jn.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};lk=Symbol.toStringTag;Hv[lk]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Hv.prototype);class Gv extends _i{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return Jn.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}uk=Symbol.toStringTag;Gv[uk]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Gv.prototype);const R9=(n=>()=>++n)(-1);class Kp extends _i{constructor(e,r,E,z){super(),this.indices=r,this.dictionary=e,this.isOrdered=z||!1,this.id=E==null?R9():typeof E=="number"?E:E.low}get typeId(){return Jn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}ck=Symbol.toStringTag;Kp[ck]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Kp.prototype);function Yf(n){const e=n;switch(n.typeId){case Jn.Decimal:return n.bitWidth/32;case Jn.Timestamp:return 2;case Jn.Date:return 1+e.unit;case Jn.Interval:return 1+e.unit;case Jn.FixedSizeList:return e.listSize;case Jn.FixedSizeBinary:return e.byteWidth;default:return 1}}class aa{visitMany(e,...r){return e.map((E,z)=>this.visit(E,...r.map(k=>k[z])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return D9(this,e,r)}getVisitFnByTypeId(e,r=!0){return Op(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function D9(n,e,r=!0){return typeof e=="number"?Op(n,e,r):typeof e=="string"&&e in Jn?Op(n,Jn[e],r):e&&e instanceof _i?Op(n,K3(e),r):e!=null&&e.type&&e.type instanceof _i?Op(n,K3(e.type),r):Op(n,Jn.NONE,r)}function Op(n,e,r=!0){let E=null;switch(e){case Jn.Null:E=n.visitNull;break;case Jn.Bool:E=n.visitBool;break;case Jn.Int:E=n.visitInt;break;case Jn.Int8:E=n.visitInt8||n.visitInt;break;case Jn.Int16:E=n.visitInt16||n.visitInt;break;case Jn.Int32:E=n.visitInt32||n.visitInt;break;case Jn.Int64:E=n.visitInt64||n.visitInt;break;case Jn.Uint8:E=n.visitUint8||n.visitInt;break;case Jn.Uint16:E=n.visitUint16||n.visitInt;break;case Jn.Uint32:E=n.visitUint32||n.visitInt;break;case Jn.Uint64:E=n.visitUint64||n.visitInt;break;case Jn.Float:E=n.visitFloat;break;case Jn.Float16:E=n.visitFloat16||n.visitFloat;break;case Jn.Float32:E=n.visitFloat32||n.visitFloat;break;case Jn.Float64:E=n.visitFloat64||n.visitFloat;break;case Jn.Utf8:E=n.visitUtf8;break;case Jn.Binary:E=n.visitBinary;break;case Jn.FixedSizeBinary:E=n.visitFixedSizeBinary;break;case Jn.Date:E=n.visitDate;break;case Jn.DateDay:E=n.visitDateDay||n.visitDate;break;case Jn.DateMillisecond:E=n.visitDateMillisecond||n.visitDate;break;case Jn.Timestamp:E=n.visitTimestamp;break;case Jn.TimestampSecond:E=n.visitTimestampSecond||n.visitTimestamp;break;case Jn.TimestampMillisecond:E=n.visitTimestampMillisecond||n.visitTimestamp;break;case Jn.TimestampMicrosecond:E=n.visitTimestampMicrosecond||n.visitTimestamp;break;case Jn.TimestampNanosecond:E=n.visitTimestampNanosecond||n.visitTimestamp;break;case Jn.Time:E=n.visitTime;break;case Jn.TimeSecond:E=n.visitTimeSecond||n.visitTime;break;case Jn.TimeMillisecond:E=n.visitTimeMillisecond||n.visitTime;break;case Jn.TimeMicrosecond:E=n.visitTimeMicrosecond||n.visitTime;break;case Jn.TimeNanosecond:E=n.visitTimeNanosecond||n.visitTime;break;case Jn.Decimal:E=n.visitDecimal;break;case Jn.List:E=n.visitList;break;case Jn.Struct:E=n.visitStruct;break;case Jn.Union:E=n.visitUnion;break;case Jn.DenseUnion:E=n.visitDenseUnion||n.visitUnion;break;case Jn.SparseUnion:E=n.visitSparseUnion||n.visitUnion;break;case Jn.Dictionary:E=n.visitDictionary;break;case Jn.Interval:E=n.visitInterval;break;case Jn.IntervalDayTime:E=n.visitIntervalDayTime||n.visitInterval;break;case Jn.IntervalYearMonth:E=n.visitIntervalYearMonth||n.visitInterval;break;case Jn.FixedSizeList:E=n.visitFixedSizeList;break;case Jn.Map:E=n.visitMap;break}if(typeof E=="function")return E;if(!r)return()=>null;throw new Error(`Unrecognized type '${Jn[e]}'`)}function K3(n){switch(n.typeId){case Jn.Null:return Jn.Null;case Jn.Int:{const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?Jn.Int8:Jn.Uint8;case 16:return r?Jn.Int16:Jn.Uint16;case 32:return r?Jn.Int32:Jn.Uint32;case 64:return r?Jn.Int64:Jn.Uint64}return Jn.Int}case Jn.Float:switch(n.precision){case Yl.HALF:return Jn.Float16;case Yl.SINGLE:return Jn.Float32;case Yl.DOUBLE:return Jn.Float64}return Jn.Float;case Jn.Binary:return Jn.Binary;case Jn.Utf8:return Jn.Utf8;case Jn.Bool:return Jn.Bool;case Jn.Decimal:return Jn.Decimal;case Jn.Time:switch(n.unit){case wa.SECOND:return Jn.TimeSecond;case wa.MILLISECOND:return Jn.TimeMillisecond;case wa.MICROSECOND:return Jn.TimeMicrosecond;case wa.NANOSECOND:return Jn.TimeNanosecond}return Jn.Time;case Jn.Timestamp:switch(n.unit){case wa.SECOND:return Jn.TimestampSecond;case wa.MILLISECOND:return Jn.TimestampMillisecond;case wa.MICROSECOND:return Jn.TimestampMicrosecond;case wa.NANOSECOND:return Jn.TimestampNanosecond}return Jn.Timestamp;case Jn.Date:switch(n.unit){case rh.DAY:return Jn.DateDay;case rh.MILLISECOND:return Jn.DateMillisecond}return Jn.Date;case Jn.Interval:switch(n.unit){case Hh.DAY_TIME:return Jn.IntervalDayTime;case Hh.YEAR_MONTH:return Jn.IntervalYearMonth}return Jn.Interval;case Jn.Map:return Jn.Map;case Jn.List:return Jn.List;case Jn.Struct:return Jn.Struct;case Jn.Union:switch(n.mode){case xu.Dense:return Jn.DenseUnion;case xu.Sparse:return Jn.SparseUnion}return Jn.Union;case Jn.FixedSizeBinary:return Jn.FixedSizeBinary;case Jn.FixedSizeList:return Jn.FixedSizeList;case Jn.Dictionary:return Jn.Dictionary}throw new Error(`Unrecognized type '${Jn[n.typeId]}'`)}aa.prototype.visitInt8=null;aa.prototype.visitInt16=null;aa.prototype.visitInt32=null;aa.prototype.visitInt64=null;aa.prototype.visitUint8=null;aa.prototype.visitUint16=null;aa.prototype.visitUint32=null;aa.prototype.visitUint64=null;aa.prototype.visitFloat16=null;aa.prototype.visitFloat32=null;aa.prototype.visitFloat64=null;aa.prototype.visitDateDay=null;aa.prototype.visitDateMillisecond=null;aa.prototype.visitTimestampSecond=null;aa.prototype.visitTimestampMillisecond=null;aa.prototype.visitTimestampMicrosecond=null;aa.prototype.visitTimestampNanosecond=null;aa.prototype.visitTimeSecond=null;aa.prototype.visitTimeMillisecond=null;aa.prototype.visitTimeMicrosecond=null;aa.prototype.visitTimeNanosecond=null;aa.prototype.visitDenseUnion=null;aa.prototype.visitSparseUnion=null;aa.prototype.visitIntervalDayTime=null;aa.prototype.visitIntervalYearMonth=null;const fk=new Float64Array(1),Ap=new Uint32Array(fk.buffer);function hk(n){const e=(n&31744)>>10,r=(n&1023)/1024,E=Math.pow(-1,(n&32768)>>15);switch(e){case 31:return E*(r?Number.NaN:1/0);case 0:return E*(r?6103515625e-14*r:0)}return E*Math.pow(2,e-15)*(1+r)}function z9(n){if(n!==n)return 32256;fk[0]=n;const e=(Ap[1]&2147483648)>>16&65535;let r=Ap[1]&2146435072,E=0;return r>=1089470464?Ap[0]>0?r=31744:(r=(r&2080374784)>>16,E=(Ap[1]&1048575)>>10):r<=1056964608?(E=1048576+(Ap[1]&1048575),E=1048576+(E<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,E=(Ap[1]&1048575)+512>>10),e|r|E&65535}class Ci extends aa{}function Pi(n){return(e,r,E)=>{if(e.setValid(r,E!=null))return n(e,r,E)}}const F9=(n,e,r)=>{n[e]=Math.trunc(r/864e5)},b2=(n,e,r)=>{n[e]=Math.trunc(r%4294967296),n[e+1]=Math.trunc(r/4294967296)},B9=(n,e,r)=>{n[e]=Math.trunc(r*1e3%4294967296),n[e+1]=Math.trunc(r*1e3/4294967296)},N9=(n,e,r)=>{n[e]=Math.trunc(r*1e6%4294967296),n[e+1]=Math.trunc(r*1e6/4294967296)},dk=(n,e,r,E)=>{if(r+1{const z=n+r;E?e[z>>3]|=1<>3]&=~(1<{n[e]=r},x2=({values:n},e,r)=>{n[e]=r},pk=({values:n},e,r)=>{n[e]=z9(r)},j9=(n,e,r)=>{switch(n.type.precision){case Yl.HALF:return pk(n,e,r);case Yl.SINGLE:case Yl.DOUBLE:return x2(n,e,r)}},mk=({values:n},e,r)=>{F9(n,e,r.valueOf())},gk=({values:n},e,r)=>{b2(n,e*2,r.valueOf())},U9=({stride:n,values:e},r,E)=>{e.set(E.subarray(0,n),n*r)},H9=({values:n,valueOffsets:e},r,E)=>dk(n,e,r,E),G9=({values:n,valueOffsets:e},r,E)=>{dk(n,e,r,p2(E))},W9=(n,e,r)=>{n.type.unit===rh.DAY?mk(n,e,r):gk(n,e,r)},vk=({values:n},e,r)=>b2(n,e*2,r/1e3),yk=({values:n},e,r)=>b2(n,e*2,r),bk=({values:n},e,r)=>B9(n,e*2,r),xk=({values:n},e,r)=>N9(n,e*2,r),q9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return vk(n,e,r);case wa.MILLISECOND:return yk(n,e,r);case wa.MICROSECOND:return bk(n,e,r);case wa.NANOSECOND:return xk(n,e,r)}},_k=({values:n},e,r)=>{n[e]=r},wk=({values:n},e,r)=>{n[e]=r},Tk=({values:n},e,r)=>{n[e]=r},kk=({values:n},e,r)=>{n[e]=r},Y9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return _k(n,e,r);case wa.MILLISECOND:return wk(n,e,r);case wa.MICROSECOND:return Tk(n,e,r);case wa.NANOSECOND:return kk(n,e,r)}},$9=({values:n,stride:e},r,E)=>{n.set(E.subarray(0,e),e*r)},Z9=(n,e,r)=>{const E=n.children[0],z=n.valueOffsets,k=tc.getVisitFn(E);if(Array.isArray(r))for(let m=-1,t=z[e],d=z[e+1];t{const E=n.children[0],{valueOffsets:z}=n,k=tc.getVisitFn(E);let{[e]:m,[e+1]:t}=z;const d=r instanceof Map?r.entries():Object.entries(r);for(const y of d)if(k(E,m,y),++m>=t)break},K9=(n,e)=>(r,E,z,k)=>E&&r(E,n,e[k]),J9=(n,e)=>(r,E,z,k)=>E&&r(E,n,e.get(k)),Q9=(n,e)=>(r,E,z,k)=>E&&r(E,n,e.get(z.name)),eL=(n,e)=>(r,E,z,k)=>E&&r(E,n,e[z.name]),tL=(n,e,r)=>{const E=n.type.children.map(k=>tc.getVisitFn(k.type)),z=r instanceof Map?Q9(e,r):r instanceof Ta?J9(e,r):Array.isArray(r)?K9(e,r):eL(e,r);n.type.children.forEach((k,m)=>z(E[m],n.children[m],k,m))},nL=(n,e,r)=>{n.type.mode===xu.Dense?Mk(n,e,r):Ak(n,e,r)},Mk=(n,e,r)=>{const E=n.type.typeIdToChildIndex[n.typeIds[e]],z=n.children[E];tc.visit(z,n.valueOffsets[e],r)},Ak=(n,e,r)=>{const E=n.type.typeIdToChildIndex[n.typeIds[e]],z=n.children[E];tc.visit(z,e,r)},rL=(n,e,r)=>{var E;(E=n.dictionary)===null||E===void 0||E.set(n.values[e],r)},iL=(n,e,r)=>{n.type.unit===Hh.DAY_TIME?Sk(n,e,r):Ck(n,e,r)},Sk=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},Ck=({values:n},e,r)=>{n[e]=r[0]*12+r[1]%12},aL=(n,e,r)=>{const{stride:E}=n,z=n.children[0],k=tc.getVisitFn(z);if(Array.isArray(r))for(let m=-1,t=e*E;++m`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new oL(this[Cc],this[Gp])}}class oL{constructor(e,r){this.childIndex=0,this.children=e.children,this.rowIndex=r,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const e=this.childIndex;return er.name)}has(e,r){return e[Cc].type.children.findIndex(E=>E.name===r)!==-1}getOwnPropertyDescriptor(e,r){if(e[Cc].type.children.findIndex(E=>E.name===r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const E=e[Cc].type.children.findIndex(z=>z.name===r);if(E!==-1){const z=Xl.visit(e[Cc].children[E],e[Gp]);return Reflect.set(e,r,z),z}}set(e,r,E){const z=e[Cc].type.children.findIndex(k=>k.name===r);return z!==-1?(tc.visit(e[Cc].children[z],e[Gp],E),Reflect.set(e,r,E)):Reflect.has(e,r)||typeof r=="symbol"?Reflect.set(e,r,E):!1}}class wi extends aa{}function Ei(n){return(e,r)=>e.getValid(r)?n(e,r):null}const lL=(n,e)=>864e5*n[e],w2=(n,e)=>4294967296*n[e+1]+(n[e]>>>0),uL=(n,e)=>4294967296*(n[e+1]/1e3)+(n[e]>>>0)/1e3,cL=(n,e)=>4294967296*(n[e+1]/1e6)+(n[e]>>>0)/1e6,Ek=n=>new Date(n),fL=(n,e)=>Ek(lL(n,e)),hL=(n,e)=>Ek(w2(n,e)),dL=(n,e)=>null,Lk=(n,e,r)=>{if(r+1>=e.length)return null;const E=e[r],z=e[r+1];return n.subarray(E,z)},pL=({offset:n,values:e},r)=>{const E=n+r;return(e[E>>3]&1<fL(n,e),Ok=({values:n},e)=>hL(n,e*2),Kh=({stride:n,values:e},r)=>e[n*r],mL=({stride:n,values:e},r)=>hk(e[n*r]),Pk=({values:n},e)=>n[e],gL=({stride:n,values:e},r)=>e.subarray(n*r,n*(r+1)),vL=({values:n,valueOffsets:e},r)=>Lk(n,e,r),yL=({values:n,valueOffsets:e},r)=>{const E=Lk(n,e,r);return E!==null?jb(E):null},bL=({values:n},e)=>n[e],xL=({type:n,values:e},r)=>n.precision!==Yl.HALF?e[r]:hk(e[r]),_L=(n,e)=>n.type.unit===rh.DAY?Ik(n,e):Ok(n,e),Rk=({values:n},e)=>1e3*w2(n,e*2),Dk=({values:n},e)=>w2(n,e*2),zk=({values:n},e)=>uL(n,e*2),Fk=({values:n},e)=>cL(n,e*2),wL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Rk(n,e);case wa.MILLISECOND:return Dk(n,e);case wa.MICROSECOND:return zk(n,e);case wa.NANOSECOND:return Fk(n,e)}},Bk=({values:n},e)=>n[e],Nk=({values:n},e)=>n[e],Vk=({values:n},e)=>n[e],jk=({values:n},e)=>n[e],TL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Bk(n,e);case wa.MILLISECOND:return Nk(n,e);case wa.MICROSECOND:return Vk(n,e);case wa.NANOSECOND:return jk(n,e)}},kL=({values:n,stride:e},r)=>y2.decimal(n.subarray(e*r,e*(r+1))),ML=(n,e)=>{const{valueOffsets:r,stride:E,children:z}=n,{[e*E]:k,[e*E+1]:m}=r,d=z[0].slice(k,m-k);return new Ta([d])},AL=(n,e)=>{const{valueOffsets:r,children:E}=n,{[e]:z,[e+1]:k}=r,m=E[0];return new T2(m.slice(z,k-z))},SL=(n,e)=>new _2(n,e),CL=(n,e)=>n.type.mode===xu.Dense?Uk(n,e):Hk(n,e),Uk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],E=n.children[r];return Xl.visit(E,n.valueOffsets[e])},Hk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],E=n.children[r];return Xl.visit(E,e)},EL=(n,e)=>{var r;return(r=n.dictionary)===null||r===void 0?void 0:r.get(n.values[e])},LL=(n,e)=>n.type.unit===Hh.DAY_TIME?Gk(n,e):Wk(n,e),Gk=({values:n},e)=>n.subarray(2*e,2*(e+1)),Wk=({values:n},e)=>{const r=n[e],E=new Int32Array(2);return E[0]=Math.trunc(r/12),E[1]=Math.trunc(r%12),E},IL=(n,e)=>{const{stride:r,children:E}=n,k=E[0].slice(e*r,r);return new Ta([k])};wi.prototype.visitNull=Ei(dL);wi.prototype.visitBool=Ei(pL);wi.prototype.visitInt=Ei(bL);wi.prototype.visitInt8=Ei(Kh);wi.prototype.visitInt16=Ei(Kh);wi.prototype.visitInt32=Ei(Kh);wi.prototype.visitInt64=Ei(Pk);wi.prototype.visitUint8=Ei(Kh);wi.prototype.visitUint16=Ei(Kh);wi.prototype.visitUint32=Ei(Kh);wi.prototype.visitUint64=Ei(Pk);wi.prototype.visitFloat=Ei(xL);wi.prototype.visitFloat16=Ei(mL);wi.prototype.visitFloat32=Ei(Kh);wi.prototype.visitFloat64=Ei(Kh);wi.prototype.visitUtf8=Ei(yL);wi.prototype.visitBinary=Ei(vL);wi.prototype.visitFixedSizeBinary=Ei(gL);wi.prototype.visitDate=Ei(_L);wi.prototype.visitDateDay=Ei(Ik);wi.prototype.visitDateMillisecond=Ei(Ok);wi.prototype.visitTimestamp=Ei(wL);wi.prototype.visitTimestampSecond=Ei(Rk);wi.prototype.visitTimestampMillisecond=Ei(Dk);wi.prototype.visitTimestampMicrosecond=Ei(zk);wi.prototype.visitTimestampNanosecond=Ei(Fk);wi.prototype.visitTime=Ei(TL);wi.prototype.visitTimeSecond=Ei(Bk);wi.prototype.visitTimeMillisecond=Ei(Nk);wi.prototype.visitTimeMicrosecond=Ei(Vk);wi.prototype.visitTimeNanosecond=Ei(jk);wi.prototype.visitDecimal=Ei(kL);wi.prototype.visitList=Ei(ML);wi.prototype.visitStruct=Ei(SL);wi.prototype.visitUnion=Ei(CL);wi.prototype.visitDenseUnion=Ei(Uk);wi.prototype.visitSparseUnion=Ei(Hk);wi.prototype.visitDictionary=Ei(EL);wi.prototype.visitInterval=Ei(LL);wi.prototype.visitIntervalDayTime=Ei(Gk);wi.prototype.visitIntervalYearMonth=Ei(Wk);wi.prototype.visitFixedSizeList=Ei(IL);wi.prototype.visitMap=Ei(AL);const Xl=new wi,lf=Symbol.for("keys"),Wp=Symbol.for("vals");class T2{constructor(e){return this[lf]=new Ta([e.children[0]]).memoize(),this[Wp]=e.children[1],new Proxy(this,new PL)}[Symbol.iterator](){return new OL(this[lf],this[Wp])}get size(){return this[lf].length}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[lf],r=this[Wp],E={};for(let z=-1,k=e.length;++z`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class OL{constructor(e,r){this.keys=e,this.vals=r,this.keyIndex=0,this.numKeys=e.length}[Symbol.iterator](){return this}next(){const e=this.keyIndex;return e===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(e),Xl.visit(this.vals,e)]})}}class PL{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[lf].toArray().map(String)}has(e,r){return e[lf].includes(r)}getOwnPropertyDescriptor(e,r){if(e[lf].indexOf(r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const E=e[lf].indexOf(r);if(E!==-1){const z=Xl.visit(Reflect.get(e,Wp),E);return Reflect.set(e,r,z),z}}set(e,r,E){const z=e[lf].indexOf(r);return z!==-1?(tc.visit(Reflect.get(e,Wp),z,E),Reflect.set(e,r,E)):Reflect.has(e,r)?Reflect.set(e,r,E):!1}}Object.defineProperties(T2.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[lf]:{writable:!0,enumerable:!1,configurable:!1,value:null},[Wp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let J3;function qk(n,e,r,E){const{length:z=0}=n;let k=typeof e!="number"?0:e,m=typeof r!="number"?z:r;return k<0&&(k=(k%z+z)%z),m<0&&(m=(m%z+z)%z),mz&&(m=z),E?E(n,k,m):[k,m]}const Q3=n=>n!==n;function v0(n){if(typeof n!=="object"||n===null)return Q3(n)?Q3:r=>r===n;if(n instanceof Date){const r=n.valueOf();return E=>E instanceof Date?E.valueOf()===r:!1}return ArrayBuffer.isView(n)?r=>r?A9(n,r):!1:n instanceof Map?DL(n):Array.isArray(n)?RL(n):n instanceof Ta?zL(n):FL(n,!0)}function RL(n){const e=[];for(let r=-1,E=n.length;++r!1;const E=[];for(let z=-1,k=r.length;++z{if(!r||typeof r!="object")return!1;switch(r.constructor){case Array:return BL(n,r);case Map:return e5(n,r,r.keys());case T2:case _2:case Object:case void 0:return e5(n,r,e||Object.keys(r))}return r instanceof Ta?NL(n,r):!1}}function BL(n,e){const r=n.length;if(e.length!==r)return!1;for(let E=-1;++E>E}function k2(n,e,r){const E=r.byteLength+7&-8;if(n>0||r.byteLength>3):Wv(new M2(r,n,e,null,Yk)).subarray(0,E)),z}return r}function Wv(n){const e=[];let r=0,E=0,z=0;for(const m of n)m&&(z|=1<0)&&(e[r++]=z);const k=new Uint8Array(e.length+7&-8);return k.set(e),k}class M2{constructor(e,r,E,z,k){this.bytes=e,this.length=E,this.context=z,this.get=k,this.bit=r%8,this.byteIndex=r>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index>3<<3,z=e+(e%8===0?0:8-e%8);return Wb(n,e,z)+Wb(n,E,r)+jL(n,z>>3,E-z>>3)}function jL(n,e,r){let E=0,z=Math.trunc(e);const k=new DataView(n.buffer,n.byteOffset,n.byteLength),m=r===void 0?n.byteLength:z+r;for(;m-z>=4;)E+=cb(k.getUint32(z)),z+=4;for(;m-z>=2;)E+=cb(k.getUint16(z)),z+=2;for(;m-z>=1;)E+=cb(k.getUint8(z)),z+=1;return E}function cb(n){let e=Math.trunc(n);return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}const UL=-1;class Qa{constructor(e,r,E,z,k,m=[],t){this.type=e,this.children=m,this.dictionary=t,this.offset=Math.floor(Math.max(r||0,0)),this.length=Math.floor(Math.max(E||0,0)),this._nullCount=Math.floor(Math.max(z||0,-1));let d;k instanceof Qa?(this.stride=k.stride,this.values=k.values,this.typeIds=k.typeIds,this.nullBitmap=k.nullBitmap,this.valueOffsets=k.valueOffsets):(this.stride=Yf(e),k&&((d=k[0])&&(this.valueOffsets=d),(d=k[1])&&(this.values=d),(d=k[2])&&(this.nullBitmap=d),(d=k[3])&&(this.typeIds=d))),this.nullable=this._nullCount!==0&&this.nullBitmap&&this.nullBitmap.byteLength>0}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0;const{valueOffsets:r,values:E,nullBitmap:z,typeIds:k}=this;return r&&(e+=r.byteLength),E&&(e+=E.byteLength),z&&(e+=z.byteLength),k&&(e+=k.byteLength),this.children.reduce((m,t)=>m+t.byteLength,e)}get nullCount(){let e=this._nullCount,r;return e<=UL&&(r=this.nullBitmap)&&(this._nullCount=e=this.length-Wb(r,this.offset,this.offset+this.length)),e}getValid(e){if(this.nullable&&this.nullCount>0){const r=this.offset+e;return(this.nullBitmap[r>>3]&1<>3){const{nullBitmap:d}=this._changeLengthAndBackfillNullBitmap(this.length);Object.assign(this,{nullBitmap:d,_nullCount:0})}const{nullBitmap:E,offset:z}=this,k=z+e>>3,m=(z+e)%8,t=E[k]>>m&1;return r?t===0&&(E[k]|=1<>3).fill(255,0,r>>3);z[r>>3]=(1<0&&z.set(k2(this.offset,r,this.nullBitmap),0);const k=this.buffers;return k[qf.VALIDITY]=z,this.clone(this.type,0,e,E+(e-r),k)}_sliceBuffers(e,r,E,z){let k;const{buffers:m}=this;return(k=m[qf.TYPE])&&(m[qf.TYPE]=k.subarray(e,e+r)),(k=m[qf.OFFSET])&&(m[qf.OFFSET]=k.subarray(e,e+r+1))||(k=m[qf.DATA])&&(m[qf.DATA]=z===6?k:k.subarray(E*e,E*(e+r))),m}_sliceChildren(e,r,E){return e.map(z=>z.slice(r,E))}}Qa.prototype.children=Object.freeze([]);class mm extends aa{visit(e){return this.getVisitFn(e.type).call(this,e)}visitNull(e){const{["type"]:r,["offset"]:E=0,["length"]:z=0}=e;return new Qa(r,E,z,0)}visitBool(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=Wa(r.ArrayType,e.data),{["length"]:m=k.length>>3,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitInt(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=Wa(r.ArrayType,e.data),{["length"]:m=k.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitFloat(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=Wa(r.ArrayType,e.data),{["length"]:m=k.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitUtf8(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.data),k=_a(e.nullBitmap),m=rm(e.valueOffsets),{["length"]:t=m.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,E,t,d,[m,z,k])}visitBinary(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.data),k=_a(e.nullBitmap),m=rm(e.valueOffsets),{["length"]:t=m.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,E,t,d,[m,z,k])}visitFixedSizeBinary(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=Wa(r.ArrayType,e.data),{["length"]:m=k.length/Yf(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitDate(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=Wa(r.ArrayType,e.data),{["length"]:m=k.length/Yf(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitTimestamp(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=Wa(r.ArrayType,e.data),{["length"]:m=k.length/Yf(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitTime(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=Wa(r.ArrayType,e.data),{["length"]:m=k.length/Yf(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitDecimal(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=Wa(r.ArrayType,e.data),{["length"]:m=k.length/Yf(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitList(e){const{["type"]:r,["offset"]:E=0,["child"]:z}=e,k=_a(e.nullBitmap),m=rm(e.valueOffsets),{["length"]:t=m.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,E,t,d,[m,void 0,k],[z])}visitStruct(e){const{["type"]:r,["offset"]:E=0,["children"]:z=[]}=e,k=_a(e.nullBitmap),{length:m=z.reduce((d,{length:y})=>Math.max(d,y),0),nullCount:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,void 0,k],z)}visitUnion(e){const{["type"]:r,["offset"]:E=0,["children"]:z=[]}=e,k=_a(e.nullBitmap),m=Wa(r.ArrayType,e.typeIds),{["length"]:t=m.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;if(_i.isSparseUnion(r))return new Qa(r,E,t,d,[void 0,void 0,k,m],z);const y=rm(e.valueOffsets);return new Qa(r,E,t,d,[y,void 0,k,m],z)}visitDictionary(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=Wa(r.indices.ArrayType,e.data),{["dictionary"]:m=new Ta([new mm().visit({type:r.dictionary})])}=e,{["length"]:t=k.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,E,t,d,[void 0,k,z],[],m)}visitInterval(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=Wa(r.ArrayType,e.data),{["length"]:m=k.length/Yf(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitFixedSizeList(e){const{["type"]:r,["offset"]:E=0,["child"]:z=new mm().visit({type:r.valueType})}=e,k=_a(e.nullBitmap),{["length"]:m=z.length/Yf(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,void 0,k],[z])}visitMap(e){const{["type"]:r,["offset"]:E=0,["child"]:z=new mm().visit({type:r.childType})}=e,k=_a(e.nullBitmap),m=rm(e.valueOffsets),{["length"]:t=m.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,E,t,d,[m,void 0,k],[z])}}function ia(n){return new mm().visit(n)}class t5{constructor(e=0,r){this.numChunks=e,this.getChunkIterator=r,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndexe+r.nullCount,0)}function Zk(n){return n.reduce((e,r,E)=>(e[E+1]=e[E]+r.length,e),new Uint32Array(n.length+1))}function Xk(n,e,r,E){const z=[];for(let k=-1,m=n.length;++k=E)break;if(r>=d+y)continue;if(d>=r&&d+y<=E){z.push(t);continue}const i=Math.max(0,r-d),M=Math.min(E-d,y);z.push(t.slice(i,M-i))}return z.length===0&&z.push(n[0].slice(0,0)),z}function A2(n,e,r,E){let z=0,k=0,m=e.length-1;do{if(z>=m-1)return r0?0:-1}function GL(n,e){const{nullBitmap:r}=n;if(!r||n.nullCount<=0)return-1;let E=0;for(const z of new M2(r,n.offset+(e||0),n.length,r,Yk)){if(!z)return E;++E}return-1}function Vi(n,e,r){if(e===void 0)return-1;if(e===null)return GL(n,r);const E=Xl.getVisitFn(n),z=v0(e);for(let k=(r||0)-1,m=n.length;++k{const z=n.data[E];return z.values.subarray(0,z.length)[Symbol.iterator]()});let r=0;return new t5(n.data.length,E=>{const k=n.data[E].length,m=n.slice(r,r+k);return r+=k,new WL(m)})}class WL{constructor(e){this.vector=e,this.index=0}next(){return this.indexn+e;class Jh extends aa{visitNull(e,r){return 0}visitInt(e,r){return e.type.bitWidth/8}visitFloat(e,r){return e.type.ArrayType.BYTES_PER_ELEMENT}visitBool(e,r){return 1/8}visitDecimal(e,r){return e.type.bitWidth/8}visitDate(e,r){return(e.type.unit+1)*4}visitTime(e,r){return e.type.bitWidth/8}visitTimestamp(e,r){return e.type.unit===wa.SECOND?4:8}visitInterval(e,r){return(e.type.unit+1)*4}visitStruct(e,r){return e.children.reduce((E,z)=>E+_f.visit(z,r),0)}visitFixedSizeBinary(e,r){return e.type.byteWidth}visitMap(e,r){return 8+e.children.reduce((E,z)=>E+_f.visit(z,r),0)}visitDictionary(e,r){var E;return e.type.indices.bitWidth/8+(((E=e.dictionary)===null||E===void 0?void 0:E.getByteLength(e.values[r]))||0)}}const YL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),$L=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),ZL=({valueOffsets:n,stride:e,children:r},E)=>{const z=r[0],{[E*e]:k}=n,{[E*e+1]:m}=n,t=_f.getVisitFn(z.type),d=z.slice(k,m-k);let y=8;for(let i=-1,M=m-k;++i{const E=e[0],z=E.slice(r*n,n),k=_f.getVisitFn(E.type);let m=0;for(let t=-1,d=z.length;++tn.type.mode===xu.Dense?eM(n,e):tM(n,e),eM=({type:n,children:e,typeIds:r,valueOffsets:E},z)=>{const k=n.typeIdToChildIndex[r[z]];return 8+_f.visit(e[k],E[z])},tM=({children:n},e)=>4+_f.visitMany(n,n.map(()=>e)).reduce(qL,0);Jh.prototype.visitUtf8=YL;Jh.prototype.visitBinary=$L;Jh.prototype.visitList=ZL;Jh.prototype.visitFixedSizeList=XL;Jh.prototype.visitUnion=KL;Jh.prototype.visitDenseUnion=eM;Jh.prototype.visitSparseUnion=tM;const _f=new Jh;var nM;const rM={},iM={};class Ta{constructor(e){var r,E,z;const k=e[0]instanceof Ta?e.flatMap(t=>t.data):e;if(k.length===0||k.some(t=>!(t instanceof Qa)))throw new TypeError("Vector constructor expects an Array of Data instances.");const m=(r=k[0])===null||r===void 0?void 0:r.type;switch(k.length){case 0:this._offsets=[0];break;case 1:{const{get:t,set:d,indexOf:y,byteLength:i}=rM[m.typeId],M=k[0];this.isValid=g=>S2(M,g),this.get=g=>t(M,g),this.set=(g,h)=>d(M,g,h),this.indexOf=g=>y(M,g),this.getByteLength=g=>i(M,g),this._offsets=[0,M.length];break}default:Object.setPrototypeOf(this,iM[m.typeId]),this._offsets=Zk(k);break}this.data=k,this.type=m,this.stride=Yf(m),this.numChildren=(z=(E=m.children)===null||E===void 0?void 0:E.length)!==null&&z!==void 0?z:0,this.length=this._offsets[this._offsets.length-1]}get byteLength(){return this._byteLength===-1&&(this._byteLength=this.data.reduce((e,r)=>e+r.byteLength,0)),this._byteLength}get nullCount(){return this._nullCount===-1&&(this._nullCount=$k(this.data)),this._nullCount}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${Jn[this.type.typeId]}Vector`}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}includes(e,r){return this.indexOf(e,r)>0}getByteLength(e){return 0}[Symbol.iterator](){return C2.visit(this)}concat(...e){return new Ta(this.data.concat(e.flatMap(r=>r.data).flat(Number.POSITIVE_INFINITY)))}slice(e,r){return new Ta(qk(this,e,r,({data:E,_offsets:z},k,m)=>Xk(E,z,k,m)))}toJSON(){return[...this]}toArray(){const{type:e,data:r,length:E,stride:z,ArrayType:k}=this;switch(e.typeId){case Jn.Int:case Jn.Float:case Jn.Decimal:case Jn.Time:case Jn.Timestamp:switch(r.length){case 0:return new k;case 1:return r[0].values.subarray(0,E*z);default:return r.reduce((m,{values:t,length:d})=>(m.array.set(t.subarray(0,d*z),m.offset),m.offset+=d*z,m),{array:new k(E*z),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(e){var r;return this.getChildAt((r=this.type.children)===null||r===void 0?void 0:r.findIndex(E=>E.name===e))}getChildAt(e){return e>-1&&er[e])):null}get isMemoized(){return _i.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(_i.isDictionary(this.type)){const e=new Yv(this.data[0].dictionary),r=this.data.map(E=>{const z=E.clone();return z.dictionary=e,z});return new Ta(r)}return new Yv(this)}unmemoize(){if(_i.isDictionary(this.type)&&this.isMemoized){const e=this.data[0].dictionary.unmemoize(),r=this.data.map(E=>{const z=E.clone();return z.dictionary=e,z});return new Ta(r)}return this}}nM=Symbol.toStringTag;Ta[nM]=(n=>{n.type=_i.prototype,n.data=[],n.length=0,n.stride=1,n.numChildren=0,n._nullCount=-1,n._byteLength=-1,n._offsets=new Uint32Array([0]),n[Symbol.isConcatSpreadable]=!0;const e=Object.keys(Jn).map(r=>Jn[r]).filter(r=>typeof r=="number"&&r!==Jn.NONE);for(const r of e){const E=Xl.getVisitFnByTypeId(r),z=tc.getVisitFnByTypeId(r),k=qv.getVisitFnByTypeId(r),m=_f.getVisitFnByTypeId(r);rM[r]={get:E,set:z,indexOf:k,byteLength:m},iM[r]=Object.create(n,{isValid:{value:qp(S2)},get:{value:qp(Xl.getVisitFnByTypeId(r))},set:{value:Kk(tc.getVisitFnByTypeId(r))},indexOf:{value:Jk(qv.getVisitFnByTypeId(r))},getByteLength:{value:qp(_f.getVisitFnByTypeId(r))}})}return"Vector"})(Ta.prototype);class Yv extends Ta{constructor(e){super(e.data);const r=this.get,E=this.set,z=this.slice,k=new Array(this.length);Object.defineProperty(this,"get",{value(m){const t=k[m];if(t!==void 0)return t;const d=r.call(this,m);return k[m]=d,d}}),Object.defineProperty(this,"set",{value(m,t){E.call(this,m,t),k[m]=t}}),Object.defineProperty(this,"slice",{value:(m,t)=>new Yv(z.call(this,m,t))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new Ta(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}class qb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static sizeOf(){return 24}static createBlock(e,r,E,z){return e.prep(8,24),e.writeInt64(z),e.pad(4),e.writeInt32(E),e.writeInt64(r),e.offset()}}const fb=2,uf=4,Zf=4,qa=4,Ph=new Int32Array(2),n5=new Float32Array(Ph.buffer),r5=new Float64Array(Ph.buffer),av=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;let Qf=class Yb{constructor(e,r){this.low=e|0,this.high=r|0}static create(e,r){return e==0&&r==0?Yb.ZERO:new Yb(e,r)}toFloat64(){return(this.low>>>0)+this.high*4294967296}equals(e){return this.low==e.low&&this.high==e.high}};Qf.ZERO=new Qf(0,0);var $b;(function(n){n[n.UTF8_BYTES=1]="UTF8_BYTES",n[n.UTF16_STRING=2]="UTF16_STRING"})($b||($b={}));let Jp=class aM{constructor(e){this.bytes_=e,this.position_=0}static allocate(e){return new aM(new Uint8Array(e))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(e){this.position_=e}capacity(){return this.bytes_.length}readInt8(e){return this.readUint8(e)<<24>>24}readUint8(e){return this.bytes_[e]}readInt16(e){return this.readUint16(e)<<16>>16}readUint16(e){return this.bytes_[e]|this.bytes_[e+1]<<8}readInt32(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24}readUint32(e){return this.readInt32(e)>>>0}readInt64(e){return new Qf(this.readInt32(e),this.readInt32(e+4))}readUint64(e){return new Qf(this.readUint32(e),this.readUint32(e+4))}readFloat32(e){return Ph[0]=this.readInt32(e),n5[0]}readFloat64(e){return Ph[av?0:1]=this.readInt32(e),Ph[av?1:0]=this.readInt32(e+4),r5[0]}writeInt8(e,r){this.bytes_[e]=r}writeUint8(e,r){this.bytes_[e]=r}writeInt16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeUint16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeInt32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeUint32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeInt64(e,r){this.writeInt32(e,r.low),this.writeInt32(e+4,r.high)}writeUint64(e,r){this.writeUint32(e,r.low),this.writeUint32(e+4,r.high)}writeFloat32(e,r){n5[0]=r,this.writeInt32(e,Ph[0])}writeFloat64(e,r){r5[0]=r,this.writeInt32(e,Ph[av?0:1]),this.writeInt32(e+4,Ph[av?1:0])}getBufferIdentifier(){if(this.bytes_.length>10)+55296,(m&1024-1)+56320))}return z}__union_with_string(e,r){return typeof e=="string"?this.__string(r):this.__union(e,r)}__indirect(e){return e+this.readInt32(e)}__vector(e){return e+this.readInt32(e)+uf}__vector_len(e){return this.readInt32(e+this.readInt32(e))}__has_identifier(e){if(e.length!=Zf)throw new Error("FlatBuffers: file identifier must be length "+Zf);for(let r=0;rthis.minalign&&(this.minalign=e);const E=~(this.bb.capacity()-this.space+r)+1&e-1;for(;this.space=0&&this.vtable[r]==0;r--);const E=r+1;for(;r>=0;r--)this.addInt16(this.vtable[r]!=0?e-this.vtable[r]:0);const z=2;this.addInt16(e-this.object_start);const k=(E+z)*fb;this.addInt16(k);let m=0;const t=this.space;e:for(r=0;r=0;m--)this.writeInt8(k.charCodeAt(m))}this.prep(this.minalign,uf+z),this.addOffset(e),z&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(e,r){this.finish(e,r,!0)}requiredField(e,r){const E=this.bb.capacity()-e,z=E-this.bb.readInt32(E);if(!(this.bb.readInt16(z+r)!=0))throw new Error("FlatBuffers: field "+r+" must be set")}startVector(e,r,E){this.notNested(),this.vector_num_elems=r,this.prep(uf,e*r),this.prep(E,e*r)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(e){if(!e)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(e))return this.string_maps.get(e);const r=this.createString(e);return this.string_maps.set(e,r),r}createString(e){if(!e)return 0;let r;if(e instanceof Uint8Array)r=e;else{r=[];let E=0;for(;E=56320)z=k;else{const m=e.charCodeAt(E++);z=(k<<10)+m+(65536-56623104-56320)}z<128?r.push(z):(z<2048?r.push(z>>6&31|192):(z<65536?r.push(z>>12&15|224):r.push(z>>18&7|240,z>>12&63|128),r.push(z>>6&63|128)),r.push(z&63|128))}}this.addInt8(0),this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length);for(let E=0,z=this.space,k=this.bb.bytes();E=0;E--)e.addInt32(r[E]);return e.endVector()}static startTypeIdsVector(e,r){e.startVector(4,r,4)}static endUnion(e){return e.endObject()}static createUnion(e,r,E){return Wl.startUnion(e),Wl.addMode(e,r),Wl.addTypeIds(e,E),Wl.endUnion(e)}}class Pd{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsUtf8(e,r){return(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsUtf8(e,r){return e.setPosition(e.position()+qa),(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static startUtf8(e){e.startObject(0)}static endUtf8(e){return e.endObject()}static createUtf8(e){return Pd.startUtf8(e),Pd.endUtf8(e)}}var Ao;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.FloatingPoint=3]="FloatingPoint",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct_=13]="Struct_",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Duration=18]="Duration",n[n.LargeBinary=19]="LargeBinary",n[n.LargeUtf8=20]="LargeUtf8",n[n.LargeList=21]="LargeList"})(Ao||(Ao={}));let Wu=class yv{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsField(e,r){return(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsField(e,r){return e.setPosition(e.position()+qa),(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}name(e){const r=this.bb.__offset(this.bb_pos,4);return r?this.bb.__string(this.bb_pos+r,e):null}nullable(){const e=this.bb.__offset(this.bb_pos,6);return e?!!this.bb.readInt8(this.bb_pos+e):!1}typeType(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):Ao.NONE}type(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__union(e,this.bb_pos+r):null}dictionary(e){const r=this.bb.__offset(this.bb_pos,12);return r?(e||new Xf).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}children(e,r){const E=this.bb.__offset(this.bb_pos,14);return E?(r||new yv).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+E)+e*4),this.bb):null}childrenLength(){const e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const E=this.bb.__offset(this.bb_pos,16);return E?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+E)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}static startField(e){e.startObject(7)}static addName(e,r){e.addFieldOffset(0,r,0)}static addNullable(e,r){e.addFieldInt8(1,+r,0)}static addTypeType(e,r){e.addFieldInt8(2,r,Ao.NONE)}static addType(e,r){e.addFieldOffset(3,r,0)}static addDictionary(e,r){e.addFieldOffset(4,r,0)}static addChildren(e,r){e.addFieldOffset(5,r,0)}static createChildrenVector(e,r){e.startVector(4,r.length,4);for(let E=r.length-1;E>=0;E--)e.addOffset(r[E]);return e.endVector()}static startChildrenVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(6,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let E=r.length-1;E>=0;E--)e.addOffset(r[E]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endField(e){return e.endObject()}},rf=class Gf{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsSchema(e,r){return(r||new Gf).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsSchema(e,r){return e.setPosition(e.position()+qa),(r||new Gf).__init(e.readInt32(e.position())+e.position(),e)}endianness(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):e0.Little}fields(e,r){const E=this.bb.__offset(this.bb_pos,6);return E?(r||new Wu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+E)+e*4),this.bb):null}fieldsLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const E=this.bb.__offset(this.bb_pos,8);return E?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+E)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}features(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt64(this.bb.__vector(this.bb_pos+r)+e*8):this.bb.createLong(0,0)}featuresLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}static startSchema(e){e.startObject(4)}static addEndianness(e,r){e.addFieldInt16(0,r,e0.Little)}static addFields(e,r){e.addFieldOffset(1,r,0)}static createFieldsVector(e,r){e.startVector(4,r.length,4);for(let E=r.length-1;E>=0;E--)e.addOffset(r[E]);return e.endVector()}static startFieldsVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(2,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let E=r.length-1;E>=0;E--)e.addOffset(r[E]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static addFeatures(e,r){e.addFieldOffset(3,r,0)}static createFeaturesVector(e,r){e.startVector(8,r.length,8);for(let E=r.length-1;E>=0;E--)e.addInt64(r[E]);return e.endVector()}static startFeaturesVector(e,r){e.startVector(8,r,8)}static endSchema(e){return e.endObject()}static finishSchemaBuffer(e,r){e.finish(r)}static finishSizePrefixedSchemaBuffer(e,r){e.finish(r,void 0,!0)}static createSchema(e,r,E,z,k){return Gf.startSchema(e),Gf.addEndianness(e,r),Gf.addFields(e,E),Gf.addCustomMetadata(e,z),Gf.addFeatures(e,k),Gf.endSchema(e)}};class hu{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsFooter(e,r){return(r||new hu).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFooter(e,r){return e.setPosition(e.position()+qa),(r||new hu).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}schema(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new rf).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}dictionaries(e,r){const E=this.bb.__offset(this.bb_pos,8);return E?(r||new qb).__init(this.bb.__vector(this.bb_pos+E)+e*24,this.bb):null}dictionariesLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}recordBatches(e,r){const E=this.bb.__offset(this.bb_pos,10);return E?(r||new qb).__init(this.bb.__vector(this.bb_pos+E)+e*24,this.bb):null}recordBatchesLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const E=this.bb.__offset(this.bb_pos,12);return E?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+E)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startFooter(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addSchema(e,r){e.addFieldOffset(1,r,0)}static addDictionaries(e,r){e.addFieldOffset(2,r,0)}static startDictionariesVector(e,r){e.startVector(24,r,8)}static addRecordBatches(e,r){e.addFieldOffset(3,r,0)}static startRecordBatchesVector(e,r){e.startVector(24,r,8)}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let E=r.length-1;E>=0;E--)e.addOffset(r[E]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endFooter(e){return e.endObject()}static finishFooterBuffer(e,r){e.finish(r)}static finishSizePrefixedFooterBuffer(e,r){e.finish(r,void 0,!0)}}class Ea{constructor(e=[],r,E){this.fields=e||[],this.metadata=r||new Map,E||(E=Zb(e)),this.dictionaries=E}get[Symbol.toStringTag](){return"Schema"}get names(){return this.fields.map(e=>e.name)}toString(){return`Schema<{ ${this.fields.map((e,r)=>`${r}: ${e}`).join(", ")} }>`}select(e){const r=new Set(e),E=this.fields.filter(z=>r.has(z.name));return new Ea(E,this.metadata)}selectAt(e){const r=e.map(E=>this.fields[E]).filter(Boolean);return new Ea(r,this.metadata)}assign(...e){const r=e[0]instanceof Ea?e[0]:Array.isArray(e[0])?new Ea(e[0]):new Ea(e),E=[...this.fields],z=ov(ov(new Map,this.metadata),r.metadata),k=r.fields.filter(t=>{const d=E.findIndex(y=>y.name===t.name);return~d?(E[d]=t.clone({metadata:ov(ov(new Map,E[d].metadata),t.metadata)}))&&!1:!0}),m=Zb(k,new Map);return new Ea([...E,...k],z,new Map([...this.dictionaries,...m]))}}Ea.prototype.fields=null;Ea.prototype.metadata=null;Ea.prototype.dictionaries=null;class ao{constructor(e,r,E=!1,z){this.name=e,this.type=r,this.nullable=E,this.metadata=z||new Map}static new(...e){let[r,E,z,k]=e;return e[0]&&typeof e[0]=="object"&&({name:r}=e[0],E===void 0&&(E=e[0].type),z===void 0&&(z=e[0].nullable),k===void 0&&(k=e[0].metadata)),new ao(`${r}`,E,z,k)}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...e){let[r,E,z,k]=e;return!e[0]||typeof e[0]!="object"?[r=this.name,E=this.type,z=this.nullable,k=this.metadata]=e:{name:r=this.name,type:E=this.type,nullable:z=this.nullable,metadata:k=this.metadata}=e[0],ao.new(r,E,z,k)}}ao.prototype.type=null;ao.prototype.name=null;ao.prototype.nullable=null;ao.prototype.metadata=null;function ov(n,e){return new Map([...n||new Map,...e||new Map])}function Zb(n,e=new Map){for(let r=-1,E=n.length;++r0&&Zb(k.children,e)}return e}var i5=Qf,JL=oM,QL=Jp;class Pm{constructor(e,r=gu.V4,E,z){this.schema=e,this.version=r,E&&(this._recordBatches=E),z&&(this._dictionaryBatches=z)}static decode(e){e=new QL(_a(e));const r=hu.getRootAsFooter(e),E=Ea.decode(r.schema());return new eI(E,r)}static encode(e){const r=new JL,E=Ea.encode(r,e.schema);hu.startRecordBatchesVector(r,e.numRecordBatches);for(const m of[...e.recordBatches()].slice().reverse())qh.encode(r,m);const z=r.endVector();hu.startDictionariesVector(r,e.numDictionaries);for(const m of[...e.dictionaryBatches()].slice().reverse())qh.encode(r,m);const k=r.endVector();return hu.startFooter(r),hu.addSchema(r,E),hu.addVersion(r,gu.V4),hu.addRecordBatches(r,z),hu.addDictionaries(r,k),hu.finishFooterBuffer(r,hu.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,E=this.numRecordBatches;++r=0&&e=0&&e=0&&e=0&&ethis._closedPromiseResolve=e)}get closed(){return this._closedPromise}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(So);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return Yu.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return Yu.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}throw(e){return yi(this,void 0,void 0,function*(){return yield this.abort(e),So})}return(e){return yi(this,void 0,void 0,function*(){return yield this.close(),So})}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((r,E)=>{this.resolvers.push({resolve:r,reject:E})}):Promise.resolve(So)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error("AsyncQueue is closed")}}class bv extends tI{write(e){if((e=_a(e)).byteLength>0)return super.write(e)}toString(e=!1){return e?jb(this.toUint8Array(!0)):this.toUint8Array(!1).then(jb)}toUint8Array(e=!1){return e?xf(this._values)[0]:(()=>yi(this,void 0,void 0,function*(){var r,E;const z=[];let k=0;try{for(var m=Nd(this),t;t=yield m.next(),!t.done;){const d=t.value;z.push(d),k+=d.byteLength}}catch(d){r={error:d}}finally{try{t&&!t.done&&(E=m.return)&&(yield E.call(m))}finally{if(r)throw r.error}}return xf(z,k)[0]}))()}}class Qv{constructor(e){e&&(this.source=new nI(Yu.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class n0{constructor(e){e instanceof n0?this.source=e.source:e instanceof bv?this.source=new xd(Yu.fromAsyncIterable(e)):H4(e)?this.source=new xd(Yu.fromNodeStream(e)):m2(e)?this.source=new xd(Yu.fromDOMStream(e)):U4(e)?this.source=new xd(Yu.fromDOMStream(e.body)):Zm(e)?this.source=new xd(Yu.fromIterable(e)):Uh(e)?this.source=new xd(Yu.fromAsyncIterable(e)):g0(e)&&(this.source=new xd(Yu.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class nI{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e,r="read"){return this.source.next({cmd:r,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||So)}return(e){return Object.create(this.source.return&&this.source.return(e)||So)}}class xd{constructor(e){this.source=e,this._closedPromise=new Promise(r=>this._closedPromiseResolve=r)}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}get closed(){return this._closedPromise}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(e,r="read"){return yi(this,void 0,void 0,function*(){return yield this.source.next({cmd:r,size:e})})}throw(e){return yi(this,void 0,void 0,function*(){const r=this.source.throw&&(yield this.source.throw(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}return(e){return yi(this,void 0,void 0,function*(){const r=this.source.return&&(yield this.source.return(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}}class o5 extends Qv{constructor(e,r){super(),this.position=0,this.buffer=_a(e),this.size=typeof r>"u"?this.buffer.byteLength:r}readInt32(e){const{buffer:r,byteOffset:E}=this.readAt(e,4);return new DataView(r,E).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),eyi(this,void 0,void 0,function*(){this.size=(yield e.stat()).size,delete this._pending}))()}readInt32(e){return yi(this,void 0,void 0,function*(){const{buffer:r,byteOffset:E}=yield this.readAt(e,4);return new DataView(r,E).getInt32(0,!0)})}seek(e){return yi(this,void 0,void 0,function*(){return this._pending&&(yield this._pending),this.position=Math.min(e,this.size),e>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),E=new Uint32Array([e.buffer[1]>>>16,e.buffer[1]&65535,e.buffer[0]>>>16,e.buffer[0]&65535]);let z=r[3]*E[3];this.buffer[0]=z&65535;let k=z>>>16;return z=r[2]*E[3],k+=z,z=r[3]*E[2]>>>0,k+=z,this.buffer[0]+=k<<16,this.buffer[1]=k>>>0>>16,this.buffer[1]+=r[1]*E[3]+r[2]*E[2]+r[3]*E[1],this.buffer[1]+=r[0]*E[3]+r[1]*E[2]+r[2]*E[1]+r[3]*E[0]<<16,this}_plus(e){const r=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],r>>0&&++this.buffer[1],this.buffer[0]=r}lessThan(e){return this.buffer[1]>>0,r[2]=this.buffer[2]+e.buffer[2]>>>0,r[1]=this.buffer[1]+e.buffer[1]>>>0,r[0]=this.buffer[0]+e.buffer[0]>>>0,r[0]>>0&&++r[1],r[1]>>0&&++r[2],r[2]>>0&&++r[3],this.buffer[3]=r[3],this.buffer[2]=r[2],this.buffer[1]=r[1],this.buffer[0]=r[0],this}hex(){return`${zp(this.buffer[3])} ${zp(this.buffer[2])} ${zp(this.buffer[1])} ${zp(this.buffer[0])}`}static multiply(e,r){return new af(new Uint32Array(e.buffer)).times(r)}static add(e,r){return new af(new Uint32Array(e.buffer)).plus(r)}static from(e,r=new Uint32Array(4)){return af.fromString(typeof e=="string"?e:e.toString(),r)}static fromNumber(e,r=new Uint32Array(4)){return af.fromString(e.toString(),r)}static fromString(e,r=new Uint32Array(4)){const E=e.startsWith("-"),z=e.length,k=new af(r);for(let m=E?1:0;m0&&this.readData(e,E)||new Uint8Array(0)}readOffsets(e,r){return this.readData(e,r)}readTypeIds(e,r){return this.readData(e,r)}readData(e,{length:r,offset:E}=this.nextBufferRange()){return this.bytes.subarray(E,E+r)}readDictionary(e){return this.dictionaries.get(e.id)}}class iI extends uM{constructor(e,r,E,z){super(new Uint8Array(0),r,E,z),this.sources=e}readNullBitmap(e,r,{offset:E}=this.nextBufferRange()){return r<=0?new Uint8Array(0):Wv(this.sources[E])}readOffsets(e,{offset:r}=this.nextBufferRange()){return Wa(Uint8Array,Wa(Int32Array,this.sources[r]))}readTypeIds(e,{offset:r}=this.nextBufferRange()){return Wa(Uint8Array,Wa(e.ArrayType,this.sources[r]))}readData(e,{offset:r}=this.nextBufferRange()){const{sources:E}=this;return _i.isTimestamp(e)||(_i.isInt(e)||_i.isTime(e))&&e.bitWidth===64||_i.isDate(e)&&e.unit===rh.MILLISECOND?Wa(Uint8Array,jl.convertArray(E[r])):_i.isDecimal(e)?Wa(Uint8Array,af.convertArray(E[r])):_i.isBinary(e)||_i.isFixedSizeBinary(e)?aI(E[r]):_i.isBool(e)?Wv(E[r]):_i.isUtf8(e)?p2(E[r].join("")):Wa(Uint8Array,Wa(e.ArrayType,E[r].map(z=>+z)))}}function aI(n){const e=n.join(""),r=new Uint8Array(e.length/2);for(let E=0;E>1]=Number.parseInt(e.slice(E,E+2),16);return r}class Mi extends aa{compareSchemas(e,r){return e===r||r instanceof e.constructor&&this.compareManyFields(e.fields,r.fields)}compareManyFields(e,r){return e===r||Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((E,z)=>this.compareFields(E,r[z]))}compareFields(e,r){return e===r||r instanceof e.constructor&&e.name===r.name&&e.nullable===r.nullable&&this.visit(e.type,r.type)}}function Kl(n,e){return e instanceof n.constructor}function Xm(n,e){return n===e||Kl(n,e)}function fh(n,e){return n===e||Kl(n,e)&&n.bitWidth===e.bitWidth&&n.isSigned===e.isSigned}function Gy(n,e){return n===e||Kl(n,e)&&n.precision===e.precision}function oI(n,e){return n===e||Kl(n,e)&&n.byteWidth===e.byteWidth}function I2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function Km(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.timezone===e.timezone}function Jm(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.bitWidth===e.bitWidth}function sI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yh.compareManyFields(n.children,e.children)}function lI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yh.compareManyFields(n.children,e.children)}function O2(n,e){return n===e||Kl(n,e)&&n.mode===e.mode&&n.typeIds.every((r,E)=>r===e.typeIds[E])&&Yh.compareManyFields(n.children,e.children)}function uI(n,e){return n===e||Kl(n,e)&&n.id===e.id&&n.isOrdered===e.isOrdered&&Yh.visit(n.indices,e.indices)&&Yh.visit(n.dictionary,e.dictionary)}function P2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function cI(n,e){return n===e||Kl(n,e)&&n.listSize===e.listSize&&n.children.length===e.children.length&&Yh.compareManyFields(n.children,e.children)}function fI(n,e){return n===e||Kl(n,e)&&n.keysSorted===e.keysSorted&&n.children.length===e.children.length&&Yh.compareManyFields(n.children,e.children)}Mi.prototype.visitNull=Xm;Mi.prototype.visitBool=Xm;Mi.prototype.visitInt=fh;Mi.prototype.visitInt8=fh;Mi.prototype.visitInt16=fh;Mi.prototype.visitInt32=fh;Mi.prototype.visitInt64=fh;Mi.prototype.visitUint8=fh;Mi.prototype.visitUint16=fh;Mi.prototype.visitUint32=fh;Mi.prototype.visitUint64=fh;Mi.prototype.visitFloat=Gy;Mi.prototype.visitFloat16=Gy;Mi.prototype.visitFloat32=Gy;Mi.prototype.visitFloat64=Gy;Mi.prototype.visitUtf8=Xm;Mi.prototype.visitBinary=Xm;Mi.prototype.visitFixedSizeBinary=oI;Mi.prototype.visitDate=I2;Mi.prototype.visitDateDay=I2;Mi.prototype.visitDateMillisecond=I2;Mi.prototype.visitTimestamp=Km;Mi.prototype.visitTimestampSecond=Km;Mi.prototype.visitTimestampMillisecond=Km;Mi.prototype.visitTimestampMicrosecond=Km;Mi.prototype.visitTimestampNanosecond=Km;Mi.prototype.visitTime=Jm;Mi.prototype.visitTimeSecond=Jm;Mi.prototype.visitTimeMillisecond=Jm;Mi.prototype.visitTimeMicrosecond=Jm;Mi.prototype.visitTimeNanosecond=Jm;Mi.prototype.visitDecimal=Xm;Mi.prototype.visitList=sI;Mi.prototype.visitStruct=lI;Mi.prototype.visitUnion=O2;Mi.prototype.visitDenseUnion=O2;Mi.prototype.visitSparseUnion=O2;Mi.prototype.visitDictionary=uI;Mi.prototype.visitInterval=P2;Mi.prototype.visitIntervalDayTime=P2;Mi.prototype.visitIntervalYearMonth=P2;Mi.prototype.visitFixedSizeList=cI;Mi.prototype.visitMap=fI;const Yh=new Mi;function Xb(n,e){return Yh.compareSchemas(n,e)}function hb(n,e){return hI(n,e.map(r=>r.data.concat()))}function hI(n,e){const r=[...n.fields],E=[],z={numBatches:e.reduce((M,g)=>Math.max(M,g.length),0)};let k=0,m=0,t=-1;const d=e.length;let y,i=[];for(;z.numBatches-- >0;){for(m=Number.POSITIVE_INFINITY,t=-1;++t0&&(E[k++]=ia({type:new xl(r),length:m,nullCount:0,children:i.slice()})))}return[n=n.assign(r),E.map(M=>new ql(n,M))]}function dI(n,e,r,E,z){var k;const m=(e+63&-64)>>3;for(let t=-1,d=E.length;++t=e)i===e?r[t]=y:(r[t]=y.slice(0,e),z.numBatches=Math.max(z.numBatches,E[t].unshift(y.slice(e,i-e))));else{const M=n[t];n[t]=M.clone({nullable:!0}),r[t]=(k=y==null?void 0:y._changeLengthAndBackfillNullBitmap(e))!==null&&k!==void 0?k:ia({type:M.type,length:e,nullCount:e,nullBitmap:new Uint8Array(m)})}}return r}var cM;class vl{constructor(...e){var r,E;if(e.length===0)return this.batches=[],this.schema=new Ea([]),this._offsets=[0],this;let z,k;e[0]instanceof Ea&&(z=e.shift()),e[e.length-1]instanceof Uint32Array&&(k=e.pop());const m=d=>{if(d){if(d instanceof ql)return[d];if(d instanceof vl)return d.batches;if(d instanceof Qa){if(d.type instanceof xl)return[new ql(new Ea(d.type.children),d)]}else{if(Array.isArray(d))return d.flatMap(y=>m(y));if(typeof d[Symbol.iterator]=="function")return[...d].flatMap(y=>m(y));if(typeof d=="object"){const y=Object.keys(d),i=y.map(h=>new Ta([d[h]])),M=new Ea(y.map((h,l)=>new ao(String(h),i[l].type))),[,g]=hb(M,i);return g.length===0?[new ql(d)]:g}}}return[]},t=e.flatMap(d=>m(d));if(z=(E=z??((r=t[0])===null||r===void 0?void 0:r.schema))!==null&&E!==void 0?E:new Ea([]),!(z instanceof Ea))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");for(const d of t){if(!(d instanceof ql))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");if(!Xb(z,d.schema))throw new TypeError("Table and inner RecordBatch schemas must be equivalent.")}this.schema=z,this.batches=t,this._offsets=k??Zk(this.data)}get data(){return this.batches.map(({data:e})=>e)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce((e,r)=>e+r.length,0)}get nullCount(){return this._nullCount===-1&&(this._nullCount=$k(this.data)),this._nullCount}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}getByteLength(e){return 0}[Symbol.iterator](){return this.batches.length>0?C2.visit(new Ta(this.data)):new Array(0)[Symbol.iterator]()}toArray(){return[...this]}toString(){return`[ + */var u2=K7,zc=typeof Symbol=="function"&&Symbol.for,qm=zc?Symbol.for("react.element"):60103,J7=zc?Symbol.for("react.portal"):60106,Q7=zc?Symbol.for("react.fragment"):60107,e9=zc?Symbol.for("react.strict_mode"):60108,t9=zc?Symbol.for("react.profiler"):60114,n9=zc?Symbol.for("react.provider"):60109,r9=zc?Symbol.for("react.context"):60110,i9=zc?Symbol.for("react.forward_ref"):60112,a9=zc?Symbol.for("react.suspense"):60113,o9=zc?Symbol.for("react.memo"):60115,s9=zc?Symbol.for("react.lazy"):60116,Y3=typeof Symbol=="function"&&Symbol.iterator;function Wm(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,r=1;rPv.length&&Pv.push(n)}function Bb(n,e,r,E){var z=typeof n;(z==="undefined"||z==="boolean")&&(n=null);var k=!1;if(n===null)k=!0;else switch(z){case"string":case"number":k=!0;break;case"object":switch(n.$$typeof){case qm:case J7:k=!0}}if(k)return r(E,n,e===""?"."+sb(n,0):e),1;if(k=0,e=e===""?".":e+":",Array.isArray(n))for(var m=0;m=n.length&&(n=void 0),{value:n&&n[E++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function zi(n){return this instanceof zi?(this.v=n,this):new zi(n)}function mf(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E=r.apply(n,e||[]),z,k=[];return z=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),t("next"),t("throw"),t("return",m),z[Symbol.asyncIterator]=function(){return this},z;function m(h){return function(l){return Promise.resolve(l).then(h,M)}}function t(h,l){E[h]&&(z[h]=function(a){return new Promise(function(u,o){k.push([h,a,u,o])>1||d(h,a)})},l&&(z[h]=l(z[h])))}function d(h,l){try{y(E[h](l))}catch(a){g(k[0][3],a)}}function y(h){h.value instanceof zi?Promise.resolve(h.value.v).then(i,M):g(k[0][2],h)}function i(h){d("next",h)}function M(h){d("throw",h)}function g(h,l){h(l),k.shift(),k.length&&d(k[0][0],k[0][1])}}function mv(n){var e,r;return e={},E("next"),E("throw",function(z){throw z}),E("return"),e[Symbol.iterator]=function(){return this},e;function E(z,k){e[z]=n[z]?function(m){return(r=!r)?{value:zi(n[z](m)),done:!1}:k?k(m):m}:k}}function Nd(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],r;return e?e.call(n):(n=typeof Z3=="function"?Z3(n):n[Symbol.iterator](),r={},E("next"),E("throw"),E("return"),r[Symbol.asyncIterator]=function(){return this},r);function E(k){r[k]=n[k]&&function(m){return new Promise(function(t,d){m=n[k](m),z(t,d,m.done,m.value)})}}function z(k,m,t,d){Promise.resolve(d).then(function(y){k({value:y,done:t})},m)}}const m9=new TextDecoder("utf-8"),jb=n=>m9.decode(n),g9=new TextEncoder,p2=n=>g9.encode(n),[UH,v9]=(()=>{const n=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw n()}return e.asIntN=()=>{throw n()},e.asUintN=()=>{throw n()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[$m,HH]=(()=>{const n=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[Ym,GH]=(()=>{const n=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),y9=n=>typeof n=="number",N4=n=>typeof n=="boolean",fs=n=>typeof n=="function",Zl=n=>n!=null&&Object(n)===n,Uh=n=>Zl(n)&&fs(n.then),Zm=n=>Zl(n)&&fs(n[Symbol.iterator]),g0=n=>Zl(n)&&fs(n[Symbol.asyncIterator]),Ub=n=>Zl(n)&&Zl(n.schema),V4=n=>Zl(n)&&"done"in n&&"value"in n,j4=n=>Zl(n)&&fs(n.stat)&&y9(n.fd),U4=n=>Zl(n)&&m2(n.body),Uy=n=>"_getDOMStream"in n&&"_getNodeStream"in n,b9=n=>Zl(n)&&fs(n.abort)&&fs(n.getWriter)&&!Uy(n),m2=n=>Zl(n)&&fs(n.cancel)&&fs(n.getReader)&&!Uy(n),x9=n=>Zl(n)&&fs(n.end)&&fs(n.write)&&N4(n.writable)&&!Uy(n),H4=n=>Zl(n)&&fs(n.read)&&fs(n.pipe)&&N4(n.readable)&&!Uy(n),_9=n=>Zl(n)&&fs(n.clear)&&fs(n.bytes)&&fs(n.position)&&fs(n.setPosition)&&fs(n.capacity)&&fs(n.getBufferIdentifier)&&fs(n.createLong),g2=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function w9(n){const e=n[0]?[n[0]]:[];let r,E,z,k;for(let m,t,d=0,y=0,i=n.length;++di+M.byteLength,0);let z,k,m,t=0,d=-1;const y=Math.min(e||Number.POSITIVE_INFINITY,E);for(const i=r.length;++dqa(Int32Array,n),_a=n=>qa(Uint8Array,n),Hb=n=>(n.next(),n);function*T9(n,e){const r=function*(z){yield z},E=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?r(e):Zm(e)?e:r(e);return yield*Hb(function*(z){let k=null;do k=z.next(yield qa(n,k));while(!k.done)}(E[Symbol.iterator]())),new n}const k9=n=>T9(Uint8Array,n);function G4(n,e){return mf(this,arguments,function*(){if(Uh(e))return yield zi(yield zi(yield*mv(Nd(G4(n,yield zi(e))))));const E=function(m){return mf(this,arguments,function*(){yield yield zi(yield zi(m))})},z=function(m){return mf(this,arguments,function*(){yield zi(yield*mv(Nd(Hb(function*(t){let d=null;do d=t.next(yield d==null?void 0:d.value);while(!d.done)}(m[Symbol.iterator]())))))})},k=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?E(e):Zm(e)?z(e):g0(e)?e:E(e);return yield zi(yield*mv(Nd(Hb(function(m){return mf(this,arguments,function*(){let t=null;do t=yield zi(m.next(yield yield zi(qa(n,t))));while(!t.done)})}(k[Symbol.asyncIterator]()))))),yield zi(new n)})}const M9=n=>G4(Uint8Array,n);function v2(n,e,r){if(n!==0){r=r.slice(0,e+1);for(let E=-1;++E<=e;)r[E]+=n}return r}function A9(n,e){let r=0;const E=n.length;if(E!==e.length)return!1;if(E>0)do if(n[r]!==e[r])return!1;while(++r(n.next(),n);function*S9(n){let e,r=!1,E=[],z,k,m,t=0;function d(){return k==="peek"?xf(E,m)[0]:([z,E,t]=xf(E,m),z)}({cmd:k,size:m}=yield null);const y=k9(n)[Symbol.iterator]();try{do if({done:e,value:z}=Number.isNaN(m-t)?y.next():y.next(m-t),!e&&z.byteLength>0&&(E.push(z),t+=z.byteLength),e||m<=t)do({cmd:k,size:m}=yield d());while(m0&&(z.push(k),d+=k.byteLength),r||t<=d)do({cmd:m,size:t}=yield yield zi(y()));while(t0&&(z.push(_a(k)),d+=k.byteLength),r||t<=d)do({cmd:m,size:t}=yield yield zi(y()));while(t{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(e){return yi(this,void 0,void 0,function*(){const{reader:r,source:E}=this;r&&(yield r.cancel(e).catch(()=>{})),E&&E.locked&&this.releaseLock()})}read(e){return yi(this,void 0,void 0,function*(){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const r=yield this.reader.read();return!r.done&&(r.value=_a(r)),r})}}const lb=(n,e)=>{const r=z=>E([e,z]);let E;return[e,r,new Promise(z=>(E=z)&&n.once(e,r))]};function I9(n){return mf(this,arguments,function*(){const r=[];let E="error",z=!1,k=null,m,t,d=0,y=[],i;function M(){return m==="peek"?xf(y,t)[0]:([i,y,d]=xf(y,t),i)}if({cmd:m,size:t}=yield yield zi(null),n.isTTY)return yield yield zi(new Uint8Array(0)),yield zi(null);try{r[0]=lb(n,"end"),r[1]=lb(n,"error");do{if(r[2]=lb(n,"readable"),[E,k]=yield zi(Promise.race(r.map(h=>h[2]))),E==="error")break;if((z=E==="end")||(Number.isFinite(t-d)?(i=_a(n.read(t-d)),i.byteLength0&&(y.push(i),d+=i.byteLength)),z||t<=d)do({cmd:m,size:t}=yield yield zi(M()));while(t{for(const[o,s]of h)n.off(o,s);try{const o=n.destroy;o&&o.call(n,l),l=void 0}catch(o){l=o||l}finally{l!=null?u(l):a()}})}})}var gu;(function(n){n[n.V1=0]="V1",n[n.V2=1]="V2",n[n.V3=2]="V3",n[n.V4=3]="V4",n[n.V5=4]="V5"})(gu||(gu={}));var xu;(function(n){n[n.Sparse=0]="Sparse",n[n.Dense=1]="Dense"})(xu||(xu={}));var $l;(function(n){n[n.HALF=0]="HALF",n[n.SINGLE=1]="SINGLE",n[n.DOUBLE=2]="DOUBLE"})($l||($l={}));var rh;(function(n){n[n.DAY=0]="DAY",n[n.MILLISECOND=1]="MILLISECOND"})(rh||(rh={}));var wa;(function(n){n[n.SECOND=0]="SECOND",n[n.MILLISECOND=1]="MILLISECOND",n[n.MICROSECOND=2]="MICROSECOND",n[n.NANOSECOND=3]="NANOSECOND"})(wa||(wa={}));var Hh;(function(n){n[n.YEAR_MONTH=0]="YEAR_MONTH",n[n.DAY_TIME=1]="DAY_TIME",n[n.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Hh||(Hh={}));var Ca;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(Ca||(Ca={}));var Jn;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.Float=3]="Float",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct=13]="Struct",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Dictionary=-1]="Dictionary",n[n.Int8=-2]="Int8",n[n.Int16=-3]="Int16",n[n.Int32=-4]="Int32",n[n.Int64=-5]="Int64",n[n.Uint8=-6]="Uint8",n[n.Uint16=-7]="Uint16",n[n.Uint32=-8]="Uint32",n[n.Uint64=-9]="Uint64",n[n.Float16=-10]="Float16",n[n.Float32=-11]="Float32",n[n.Float64=-12]="Float64",n[n.DateDay=-13]="DateDay",n[n.DateMillisecond=-14]="DateMillisecond",n[n.TimestampSecond=-15]="TimestampSecond",n[n.TimestampMillisecond=-16]="TimestampMillisecond",n[n.TimestampMicrosecond=-17]="TimestampMicrosecond",n[n.TimestampNanosecond=-18]="TimestampNanosecond",n[n.TimeSecond=-19]="TimeSecond",n[n.TimeMillisecond=-20]="TimeMillisecond",n[n.TimeMicrosecond=-21]="TimeMicrosecond",n[n.TimeNanosecond=-22]="TimeNanosecond",n[n.DenseUnion=-23]="DenseUnion",n[n.SparseUnion=-24]="SparseUnion",n[n.IntervalDayTime=-25]="IntervalDayTime",n[n.IntervalYearMonth=-26]="IntervalYearMonth"})(Jn||(Jn={}));var Wf;(function(n){n[n.OFFSET=0]="OFFSET",n[n.DATA=1]="DATA",n[n.VALIDITY=2]="VALIDITY",n[n.TYPE=3]="TYPE"})(Wf||(Wf={}));const P9=void 0;function Cm(n){if(n===null)return"null";if(n===P9)return"undefined";switch(typeof n){case"number":return`${n}`;case"bigint":return`${n}`;case"string":return`"${n}"`}return typeof n[Symbol.toPrimitive]=="function"?n[Symbol.toPrimitive]("string"):ArrayBuffer.isView(n)?n instanceof $m||n instanceof Ym?`[${[...n].map(e=>Cm(e))}]`:`[${n}]`:ArrayBuffer.isView(n)?`[${n}]`:JSON.stringify(n,(e,r)=>typeof r=="bigint"?`${r}`:r)}const O9=Symbol.for("isArrowBigNum");function Fc(n,...e){return e.length===0?Object.setPrototypeOf(qa(this.TypedArray,n),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(n,...e),this.constructor.prototype)}Fc.prototype[O9]=!0;Fc.prototype.toJSON=function(){return`"${Vd(this)}"`};Fc.prototype.valueOf=function(){return q4(this)};Fc.prototype.toString=function(){return Vd(this)};Fc.prototype[Symbol.toPrimitive]=function(n="default"){switch(n){case"number":return q4(this);case"string":return Vd(this);case"default":return Gb(this)}return Vd(this)};function Up(...n){return Fc.apply(this,n)}function Hp(...n){return Fc.apply(this,n)}function Em(...n){return Fc.apply(this,n)}Object.setPrototypeOf(Up.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Hp.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Em.prototype,Object.create(Uint32Array.prototype));Object.assign(Up.prototype,Fc.prototype,{constructor:Up,signed:!0,TypedArray:Int32Array,BigIntArray:$m});Object.assign(Hp.prototype,Fc.prototype,{constructor:Hp,signed:!1,TypedArray:Uint32Array,BigIntArray:Ym});Object.assign(Em.prototype,Fc.prototype,{constructor:Em,signed:!0,TypedArray:Uint32Array,BigIntArray:Ym});function q4(n){const{buffer:e,byteOffset:r,length:E,signed:z}=n,k=new Ym(e,r,E),m=z&&k[k.length-1]&BigInt(1)<n.byteLength===8?new n.BigIntArray(n.buffer,n.byteOffset,1)[0]:ub(n),Vd=n=>n.byteLength===8?`${new n.BigIntArray(n.buffer,n.byteOffset,1)[0]}`:ub(n)):(Vd=ub,Gb=Vd);function ub(n){let e="";const r=new Uint32Array(2);let E=new Uint16Array(n.buffer,n.byteOffset,n.byteLength/2);const z=new Uint32Array((E=new Uint16Array(E).reverse()).buffer);let k=-1;const m=E.length-1;do{for(r[0]=E[k=0];k(n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(_i.prototype);let Gh=class extends _i{toString(){return"Null"}get typeId(){return Jn.Null}};$4=Symbol.toStringTag;Gh[$4]=(n=>n[Symbol.toStringTag]="Null")(Gh.prototype);class qh extends _i{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return Jn.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?$m:Ym}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}Y4=Symbol.toStringTag;qh[Y4]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))(qh.prototype);class Lm extends qh{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Lm.prototype,"ArrayType",{value:Int32Array});class Im extends _i{constructor(e){super(),this.precision=e}get typeId(){return Jn.Float}get ArrayType(){switch(this.precision){case $l.HALF:return Uint16Array;case $l.SINGLE:return Float32Array;case $l.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}Z4=Symbol.toStringTag;Im[Z4]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Im.prototype);let Ov=class extends _i{constructor(){super()}get typeId(){return Jn.Binary}toString(){return"Binary"}};X4=Symbol.toStringTag;Ov[X4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(Ov.prototype);let Rv=class extends _i{constructor(){super()}get typeId(){return Jn.Utf8}toString(){return"Utf8"}};K4=Symbol.toStringTag;Rv[K4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))(Rv.prototype);let Dv=class extends _i{constructor(){super()}get typeId(){return Jn.Bool}toString(){return"Bool"}};J4=Symbol.toStringTag;Dv[J4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Dv.prototype);let zv=class extends _i{constructor(e,r,E=128){super(),this.scale=e,this.precision=r,this.bitWidth=E}get typeId(){return Jn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};Q4=Symbol.toStringTag;zv[Q4]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(zv.prototype);class Fv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Date}toString(){return`Date${(this.unit+1)*32}<${rh[this.unit]}>`}}ek=Symbol.toStringTag;Fv[ek]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Fv.prototype);class Pm extends _i{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return Jn.Time}toString(){return`Time${this.bitWidth}<${wa[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return $m}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}tk=Symbol.toStringTag;Pm[tk]=(n=>(n.unit=null,n.bitWidth=null,n[Symbol.toStringTag]="Time"))(Pm.prototype);class Bv extends _i{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return Jn.Timestamp}toString(){return`Timestamp<${wa[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}nk=Symbol.toStringTag;Bv[nk]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(Bv.prototype);class Nv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Interval}toString(){return`Interval<${Hh[this.unit]}>`}}rk=Symbol.toStringTag;Nv[rk]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))(Nv.prototype);let Vv=class extends _i{constructor(e){super(),this.children=[e]}get typeId(){return Jn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ik=Symbol.toStringTag;Vv[ik]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Vv.prototype);class xl extends _i{constructor(e){super(),this.children=e}get typeId(){return Jn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ak=Symbol.toStringTag;xl[ak]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(xl.prototype);class jv extends _i{constructor(e,r,E){super(),this.mode=e,this.children=E,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((z,k,m)=>(z[k]=m)&&z||z,Object.create(null))}get typeId(){return Jn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}ok=Symbol.toStringTag;jv[ok]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(jv.prototype);let Uv=class extends _i{constructor(e){super(),this.byteWidth=e}get typeId(){return Jn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};sk=Symbol.toStringTag;Uv[sk]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))(Uv.prototype);let Hv=class extends _i{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return Jn.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};lk=Symbol.toStringTag;Hv[lk]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Hv.prototype);class Gv extends _i{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return Jn.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}uk=Symbol.toStringTag;Gv[uk]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Gv.prototype);const R9=(n=>()=>++n)(-1);class Kp extends _i{constructor(e,r,E,z){super(),this.indices=r,this.dictionary=e,this.isOrdered=z||!1,this.id=E==null?R9():typeof E=="number"?E:E.low}get typeId(){return Jn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}ck=Symbol.toStringTag;Kp[ck]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Kp.prototype);function $f(n){const e=n;switch(n.typeId){case Jn.Decimal:return n.bitWidth/32;case Jn.Timestamp:return 2;case Jn.Date:return 1+e.unit;case Jn.Interval:return 1+e.unit;case Jn.FixedSizeList:return e.listSize;case Jn.FixedSizeBinary:return e.byteWidth;default:return 1}}class aa{visitMany(e,...r){return e.map((E,z)=>this.visit(E,...r.map(k=>k[z])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return D9(this,e,r)}getVisitFnByTypeId(e,r=!0){return Pp(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function D9(n,e,r=!0){return typeof e=="number"?Pp(n,e,r):typeof e=="string"&&e in Jn?Pp(n,Jn[e],r):e&&e instanceof _i?Pp(n,K3(e),r):e!=null&&e.type&&e.type instanceof _i?Pp(n,K3(e.type),r):Pp(n,Jn.NONE,r)}function Pp(n,e,r=!0){let E=null;switch(e){case Jn.Null:E=n.visitNull;break;case Jn.Bool:E=n.visitBool;break;case Jn.Int:E=n.visitInt;break;case Jn.Int8:E=n.visitInt8||n.visitInt;break;case Jn.Int16:E=n.visitInt16||n.visitInt;break;case Jn.Int32:E=n.visitInt32||n.visitInt;break;case Jn.Int64:E=n.visitInt64||n.visitInt;break;case Jn.Uint8:E=n.visitUint8||n.visitInt;break;case Jn.Uint16:E=n.visitUint16||n.visitInt;break;case Jn.Uint32:E=n.visitUint32||n.visitInt;break;case Jn.Uint64:E=n.visitUint64||n.visitInt;break;case Jn.Float:E=n.visitFloat;break;case Jn.Float16:E=n.visitFloat16||n.visitFloat;break;case Jn.Float32:E=n.visitFloat32||n.visitFloat;break;case Jn.Float64:E=n.visitFloat64||n.visitFloat;break;case Jn.Utf8:E=n.visitUtf8;break;case Jn.Binary:E=n.visitBinary;break;case Jn.FixedSizeBinary:E=n.visitFixedSizeBinary;break;case Jn.Date:E=n.visitDate;break;case Jn.DateDay:E=n.visitDateDay||n.visitDate;break;case Jn.DateMillisecond:E=n.visitDateMillisecond||n.visitDate;break;case Jn.Timestamp:E=n.visitTimestamp;break;case Jn.TimestampSecond:E=n.visitTimestampSecond||n.visitTimestamp;break;case Jn.TimestampMillisecond:E=n.visitTimestampMillisecond||n.visitTimestamp;break;case Jn.TimestampMicrosecond:E=n.visitTimestampMicrosecond||n.visitTimestamp;break;case Jn.TimestampNanosecond:E=n.visitTimestampNanosecond||n.visitTimestamp;break;case Jn.Time:E=n.visitTime;break;case Jn.TimeSecond:E=n.visitTimeSecond||n.visitTime;break;case Jn.TimeMillisecond:E=n.visitTimeMillisecond||n.visitTime;break;case Jn.TimeMicrosecond:E=n.visitTimeMicrosecond||n.visitTime;break;case Jn.TimeNanosecond:E=n.visitTimeNanosecond||n.visitTime;break;case Jn.Decimal:E=n.visitDecimal;break;case Jn.List:E=n.visitList;break;case Jn.Struct:E=n.visitStruct;break;case Jn.Union:E=n.visitUnion;break;case Jn.DenseUnion:E=n.visitDenseUnion||n.visitUnion;break;case Jn.SparseUnion:E=n.visitSparseUnion||n.visitUnion;break;case Jn.Dictionary:E=n.visitDictionary;break;case Jn.Interval:E=n.visitInterval;break;case Jn.IntervalDayTime:E=n.visitIntervalDayTime||n.visitInterval;break;case Jn.IntervalYearMonth:E=n.visitIntervalYearMonth||n.visitInterval;break;case Jn.FixedSizeList:E=n.visitFixedSizeList;break;case Jn.Map:E=n.visitMap;break}if(typeof E=="function")return E;if(!r)return()=>null;throw new Error(`Unrecognized type '${Jn[e]}'`)}function K3(n){switch(n.typeId){case Jn.Null:return Jn.Null;case Jn.Int:{const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?Jn.Int8:Jn.Uint8;case 16:return r?Jn.Int16:Jn.Uint16;case 32:return r?Jn.Int32:Jn.Uint32;case 64:return r?Jn.Int64:Jn.Uint64}return Jn.Int}case Jn.Float:switch(n.precision){case $l.HALF:return Jn.Float16;case $l.SINGLE:return Jn.Float32;case $l.DOUBLE:return Jn.Float64}return Jn.Float;case Jn.Binary:return Jn.Binary;case Jn.Utf8:return Jn.Utf8;case Jn.Bool:return Jn.Bool;case Jn.Decimal:return Jn.Decimal;case Jn.Time:switch(n.unit){case wa.SECOND:return Jn.TimeSecond;case wa.MILLISECOND:return Jn.TimeMillisecond;case wa.MICROSECOND:return Jn.TimeMicrosecond;case wa.NANOSECOND:return Jn.TimeNanosecond}return Jn.Time;case Jn.Timestamp:switch(n.unit){case wa.SECOND:return Jn.TimestampSecond;case wa.MILLISECOND:return Jn.TimestampMillisecond;case wa.MICROSECOND:return Jn.TimestampMicrosecond;case wa.NANOSECOND:return Jn.TimestampNanosecond}return Jn.Timestamp;case Jn.Date:switch(n.unit){case rh.DAY:return Jn.DateDay;case rh.MILLISECOND:return Jn.DateMillisecond}return Jn.Date;case Jn.Interval:switch(n.unit){case Hh.DAY_TIME:return Jn.IntervalDayTime;case Hh.YEAR_MONTH:return Jn.IntervalYearMonth}return Jn.Interval;case Jn.Map:return Jn.Map;case Jn.List:return Jn.List;case Jn.Struct:return Jn.Struct;case Jn.Union:switch(n.mode){case xu.Dense:return Jn.DenseUnion;case xu.Sparse:return Jn.SparseUnion}return Jn.Union;case Jn.FixedSizeBinary:return Jn.FixedSizeBinary;case Jn.FixedSizeList:return Jn.FixedSizeList;case Jn.Dictionary:return Jn.Dictionary}throw new Error(`Unrecognized type '${Jn[n.typeId]}'`)}aa.prototype.visitInt8=null;aa.prototype.visitInt16=null;aa.prototype.visitInt32=null;aa.prototype.visitInt64=null;aa.prototype.visitUint8=null;aa.prototype.visitUint16=null;aa.prototype.visitUint32=null;aa.prototype.visitUint64=null;aa.prototype.visitFloat16=null;aa.prototype.visitFloat32=null;aa.prototype.visitFloat64=null;aa.prototype.visitDateDay=null;aa.prototype.visitDateMillisecond=null;aa.prototype.visitTimestampSecond=null;aa.prototype.visitTimestampMillisecond=null;aa.prototype.visitTimestampMicrosecond=null;aa.prototype.visitTimestampNanosecond=null;aa.prototype.visitTimeSecond=null;aa.prototype.visitTimeMillisecond=null;aa.prototype.visitTimeMicrosecond=null;aa.prototype.visitTimeNanosecond=null;aa.prototype.visitDenseUnion=null;aa.prototype.visitSparseUnion=null;aa.prototype.visitIntervalDayTime=null;aa.prototype.visitIntervalYearMonth=null;const fk=new Float64Array(1),Ap=new Uint32Array(fk.buffer);function hk(n){const e=(n&31744)>>10,r=(n&1023)/1024,E=Math.pow(-1,(n&32768)>>15);switch(e){case 31:return E*(r?Number.NaN:1/0);case 0:return E*(r?6103515625e-14*r:0)}return E*Math.pow(2,e-15)*(1+r)}function z9(n){if(n!==n)return 32256;fk[0]=n;const e=(Ap[1]&2147483648)>>16&65535;let r=Ap[1]&2146435072,E=0;return r>=1089470464?Ap[0]>0?r=31744:(r=(r&2080374784)>>16,E=(Ap[1]&1048575)>>10):r<=1056964608?(E=1048576+(Ap[1]&1048575),E=1048576+(E<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,E=(Ap[1]&1048575)+512>>10),e|r|E&65535}class Ci extends aa{}function Oi(n){return(e,r,E)=>{if(e.setValid(r,E!=null))return n(e,r,E)}}const F9=(n,e,r)=>{n[e]=Math.trunc(r/864e5)},b2=(n,e,r)=>{n[e]=Math.trunc(r%4294967296),n[e+1]=Math.trunc(r/4294967296)},B9=(n,e,r)=>{n[e]=Math.trunc(r*1e3%4294967296),n[e+1]=Math.trunc(r*1e3/4294967296)},N9=(n,e,r)=>{n[e]=Math.trunc(r*1e6%4294967296),n[e+1]=Math.trunc(r*1e6/4294967296)},dk=(n,e,r,E)=>{if(r+1{const z=n+r;E?e[z>>3]|=1<>3]&=~(1<{n[e]=r},x2=({values:n},e,r)=>{n[e]=r},pk=({values:n},e,r)=>{n[e]=z9(r)},j9=(n,e,r)=>{switch(n.type.precision){case $l.HALF:return pk(n,e,r);case $l.SINGLE:case $l.DOUBLE:return x2(n,e,r)}},mk=({values:n},e,r)=>{F9(n,e,r.valueOf())},gk=({values:n},e,r)=>{b2(n,e*2,r.valueOf())},U9=({stride:n,values:e},r,E)=>{e.set(E.subarray(0,n),n*r)},H9=({values:n,valueOffsets:e},r,E)=>dk(n,e,r,E),G9=({values:n,valueOffsets:e},r,E)=>{dk(n,e,r,p2(E))},q9=(n,e,r)=>{n.type.unit===rh.DAY?mk(n,e,r):gk(n,e,r)},vk=({values:n},e,r)=>b2(n,e*2,r/1e3),yk=({values:n},e,r)=>b2(n,e*2,r),bk=({values:n},e,r)=>B9(n,e*2,r),xk=({values:n},e,r)=>N9(n,e*2,r),W9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return vk(n,e,r);case wa.MILLISECOND:return yk(n,e,r);case wa.MICROSECOND:return bk(n,e,r);case wa.NANOSECOND:return xk(n,e,r)}},_k=({values:n},e,r)=>{n[e]=r},wk=({values:n},e,r)=>{n[e]=r},Tk=({values:n},e,r)=>{n[e]=r},kk=({values:n},e,r)=>{n[e]=r},$9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return _k(n,e,r);case wa.MILLISECOND:return wk(n,e,r);case wa.MICROSECOND:return Tk(n,e,r);case wa.NANOSECOND:return kk(n,e,r)}},Y9=({values:n,stride:e},r,E)=>{n.set(E.subarray(0,e),e*r)},Z9=(n,e,r)=>{const E=n.children[0],z=n.valueOffsets,k=tc.getVisitFn(E);if(Array.isArray(r))for(let m=-1,t=z[e],d=z[e+1];t{const E=n.children[0],{valueOffsets:z}=n,k=tc.getVisitFn(E);let{[e]:m,[e+1]:t}=z;const d=r instanceof Map?r.entries():Object.entries(r);for(const y of d)if(k(E,m,y),++m>=t)break},K9=(n,e)=>(r,E,z,k)=>E&&r(E,n,e[k]),J9=(n,e)=>(r,E,z,k)=>E&&r(E,n,e.get(k)),Q9=(n,e)=>(r,E,z,k)=>E&&r(E,n,e.get(z.name)),eL=(n,e)=>(r,E,z,k)=>E&&r(E,n,e[z.name]),tL=(n,e,r)=>{const E=n.type.children.map(k=>tc.getVisitFn(k.type)),z=r instanceof Map?Q9(e,r):r instanceof Ta?J9(e,r):Array.isArray(r)?K9(e,r):eL(e,r);n.type.children.forEach((k,m)=>z(E[m],n.children[m],k,m))},nL=(n,e,r)=>{n.type.mode===xu.Dense?Mk(n,e,r):Ak(n,e,r)},Mk=(n,e,r)=>{const E=n.type.typeIdToChildIndex[n.typeIds[e]],z=n.children[E];tc.visit(z,n.valueOffsets[e],r)},Ak=(n,e,r)=>{const E=n.type.typeIdToChildIndex[n.typeIds[e]],z=n.children[E];tc.visit(z,e,r)},rL=(n,e,r)=>{var E;(E=n.dictionary)===null||E===void 0||E.set(n.values[e],r)},iL=(n,e,r)=>{n.type.unit===Hh.DAY_TIME?Sk(n,e,r):Ck(n,e,r)},Sk=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},Ck=({values:n},e,r)=>{n[e]=r[0]*12+r[1]%12},aL=(n,e,r)=>{const{stride:E}=n,z=n.children[0],k=tc.getVisitFn(z);if(Array.isArray(r))for(let m=-1,t=e*E;++m`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new oL(this[Cc],this[Gp])}}class oL{constructor(e,r){this.childIndex=0,this.children=e.children,this.rowIndex=r,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const e=this.childIndex;return er.name)}has(e,r){return e[Cc].type.children.findIndex(E=>E.name===r)!==-1}getOwnPropertyDescriptor(e,r){if(e[Cc].type.children.findIndex(E=>E.name===r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const E=e[Cc].type.children.findIndex(z=>z.name===r);if(E!==-1){const z=Xl.visit(e[Cc].children[E],e[Gp]);return Reflect.set(e,r,z),z}}set(e,r,E){const z=e[Cc].type.children.findIndex(k=>k.name===r);return z!==-1?(tc.visit(e[Cc].children[z],e[Gp],E),Reflect.set(e,r,E)):Reflect.has(e,r)||typeof r=="symbol"?Reflect.set(e,r,E):!1}}class wi extends aa{}function Ei(n){return(e,r)=>e.getValid(r)?n(e,r):null}const lL=(n,e)=>864e5*n[e],w2=(n,e)=>4294967296*n[e+1]+(n[e]>>>0),uL=(n,e)=>4294967296*(n[e+1]/1e3)+(n[e]>>>0)/1e3,cL=(n,e)=>4294967296*(n[e+1]/1e6)+(n[e]>>>0)/1e6,Ek=n=>new Date(n),fL=(n,e)=>Ek(lL(n,e)),hL=(n,e)=>Ek(w2(n,e)),dL=(n,e)=>null,Lk=(n,e,r)=>{if(r+1>=e.length)return null;const E=e[r],z=e[r+1];return n.subarray(E,z)},pL=({offset:n,values:e},r)=>{const E=n+r;return(e[E>>3]&1<fL(n,e),Pk=({values:n},e)=>hL(n,e*2),Kh=({stride:n,values:e},r)=>e[n*r],mL=({stride:n,values:e},r)=>hk(e[n*r]),Ok=({values:n},e)=>n[e],gL=({stride:n,values:e},r)=>e.subarray(n*r,n*(r+1)),vL=({values:n,valueOffsets:e},r)=>Lk(n,e,r),yL=({values:n,valueOffsets:e},r)=>{const E=Lk(n,e,r);return E!==null?jb(E):null},bL=({values:n},e)=>n[e],xL=({type:n,values:e},r)=>n.precision!==$l.HALF?e[r]:hk(e[r]),_L=(n,e)=>n.type.unit===rh.DAY?Ik(n,e):Pk(n,e),Rk=({values:n},e)=>1e3*w2(n,e*2),Dk=({values:n},e)=>w2(n,e*2),zk=({values:n},e)=>uL(n,e*2),Fk=({values:n},e)=>cL(n,e*2),wL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Rk(n,e);case wa.MILLISECOND:return Dk(n,e);case wa.MICROSECOND:return zk(n,e);case wa.NANOSECOND:return Fk(n,e)}},Bk=({values:n},e)=>n[e],Nk=({values:n},e)=>n[e],Vk=({values:n},e)=>n[e],jk=({values:n},e)=>n[e],TL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Bk(n,e);case wa.MILLISECOND:return Nk(n,e);case wa.MICROSECOND:return Vk(n,e);case wa.NANOSECOND:return jk(n,e)}},kL=({values:n,stride:e},r)=>y2.decimal(n.subarray(e*r,e*(r+1))),ML=(n,e)=>{const{valueOffsets:r,stride:E,children:z}=n,{[e*E]:k,[e*E+1]:m}=r,d=z[0].slice(k,m-k);return new Ta([d])},AL=(n,e)=>{const{valueOffsets:r,children:E}=n,{[e]:z,[e+1]:k}=r,m=E[0];return new T2(m.slice(z,k-z))},SL=(n,e)=>new _2(n,e),CL=(n,e)=>n.type.mode===xu.Dense?Uk(n,e):Hk(n,e),Uk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],E=n.children[r];return Xl.visit(E,n.valueOffsets[e])},Hk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],E=n.children[r];return Xl.visit(E,e)},EL=(n,e)=>{var r;return(r=n.dictionary)===null||r===void 0?void 0:r.get(n.values[e])},LL=(n,e)=>n.type.unit===Hh.DAY_TIME?Gk(n,e):qk(n,e),Gk=({values:n},e)=>n.subarray(2*e,2*(e+1)),qk=({values:n},e)=>{const r=n[e],E=new Int32Array(2);return E[0]=Math.trunc(r/12),E[1]=Math.trunc(r%12),E},IL=(n,e)=>{const{stride:r,children:E}=n,k=E[0].slice(e*r,r);return new Ta([k])};wi.prototype.visitNull=Ei(dL);wi.prototype.visitBool=Ei(pL);wi.prototype.visitInt=Ei(bL);wi.prototype.visitInt8=Ei(Kh);wi.prototype.visitInt16=Ei(Kh);wi.prototype.visitInt32=Ei(Kh);wi.prototype.visitInt64=Ei(Ok);wi.prototype.visitUint8=Ei(Kh);wi.prototype.visitUint16=Ei(Kh);wi.prototype.visitUint32=Ei(Kh);wi.prototype.visitUint64=Ei(Ok);wi.prototype.visitFloat=Ei(xL);wi.prototype.visitFloat16=Ei(mL);wi.prototype.visitFloat32=Ei(Kh);wi.prototype.visitFloat64=Ei(Kh);wi.prototype.visitUtf8=Ei(yL);wi.prototype.visitBinary=Ei(vL);wi.prototype.visitFixedSizeBinary=Ei(gL);wi.prototype.visitDate=Ei(_L);wi.prototype.visitDateDay=Ei(Ik);wi.prototype.visitDateMillisecond=Ei(Pk);wi.prototype.visitTimestamp=Ei(wL);wi.prototype.visitTimestampSecond=Ei(Rk);wi.prototype.visitTimestampMillisecond=Ei(Dk);wi.prototype.visitTimestampMicrosecond=Ei(zk);wi.prototype.visitTimestampNanosecond=Ei(Fk);wi.prototype.visitTime=Ei(TL);wi.prototype.visitTimeSecond=Ei(Bk);wi.prototype.visitTimeMillisecond=Ei(Nk);wi.prototype.visitTimeMicrosecond=Ei(Vk);wi.prototype.visitTimeNanosecond=Ei(jk);wi.prototype.visitDecimal=Ei(kL);wi.prototype.visitList=Ei(ML);wi.prototype.visitStruct=Ei(SL);wi.prototype.visitUnion=Ei(CL);wi.prototype.visitDenseUnion=Ei(Uk);wi.prototype.visitSparseUnion=Ei(Hk);wi.prototype.visitDictionary=Ei(EL);wi.prototype.visitInterval=Ei(LL);wi.prototype.visitIntervalDayTime=Ei(Gk);wi.prototype.visitIntervalYearMonth=Ei(qk);wi.prototype.visitFixedSizeList=Ei(IL);wi.prototype.visitMap=Ei(AL);const Xl=new wi,lf=Symbol.for("keys"),qp=Symbol.for("vals");class T2{constructor(e){return this[lf]=new Ta([e.children[0]]).memoize(),this[qp]=e.children[1],new Proxy(this,new OL)}[Symbol.iterator](){return new PL(this[lf],this[qp])}get size(){return this[lf].length}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[lf],r=this[qp],E={};for(let z=-1,k=e.length;++z`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class PL{constructor(e,r){this.keys=e,this.vals=r,this.keyIndex=0,this.numKeys=e.length}[Symbol.iterator](){return this}next(){const e=this.keyIndex;return e===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(e),Xl.visit(this.vals,e)]})}}class OL{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[lf].toArray().map(String)}has(e,r){return e[lf].includes(r)}getOwnPropertyDescriptor(e,r){if(e[lf].indexOf(r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const E=e[lf].indexOf(r);if(E!==-1){const z=Xl.visit(Reflect.get(e,qp),E);return Reflect.set(e,r,z),z}}set(e,r,E){const z=e[lf].indexOf(r);return z!==-1?(tc.visit(Reflect.get(e,qp),z,E),Reflect.set(e,r,E)):Reflect.has(e,r)?Reflect.set(e,r,E):!1}}Object.defineProperties(T2.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[lf]:{writable:!0,enumerable:!1,configurable:!1,value:null},[qp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let J3;function Wk(n,e,r,E){const{length:z=0}=n;let k=typeof e!="number"?0:e,m=typeof r!="number"?z:r;return k<0&&(k=(k%z+z)%z),m<0&&(m=(m%z+z)%z),mz&&(m=z),E?E(n,k,m):[k,m]}const Q3=n=>n!==n;function v0(n){if(typeof n!=="object"||n===null)return Q3(n)?Q3:r=>r===n;if(n instanceof Date){const r=n.valueOf();return E=>E instanceof Date?E.valueOf()===r:!1}return ArrayBuffer.isView(n)?r=>r?A9(n,r):!1:n instanceof Map?DL(n):Array.isArray(n)?RL(n):n instanceof Ta?zL(n):FL(n,!0)}function RL(n){const e=[];for(let r=-1,E=n.length;++r!1;const E=[];for(let z=-1,k=r.length;++z{if(!r||typeof r!="object")return!1;switch(r.constructor){case Array:return BL(n,r);case Map:return e5(n,r,r.keys());case T2:case _2:case Object:case void 0:return e5(n,r,e||Object.keys(r))}return r instanceof Ta?NL(n,r):!1}}function BL(n,e){const r=n.length;if(e.length!==r)return!1;for(let E=-1;++E>E}function k2(n,e,r){const E=r.byteLength+7&-8;if(n>0||r.byteLength>3):qv(new M2(r,n,e,null,$k)).subarray(0,E)),z}return r}function qv(n){const e=[];let r=0,E=0,z=0;for(const m of n)m&&(z|=1<0)&&(e[r++]=z);const k=new Uint8Array(e.length+7&-8);return k.set(e),k}class M2{constructor(e,r,E,z,k){this.bytes=e,this.length=E,this.context=z,this.get=k,this.bit=r%8,this.byteIndex=r>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index>3<<3,z=e+(e%8===0?0:8-e%8);return qb(n,e,z)+qb(n,E,r)+jL(n,z>>3,E-z>>3)}function jL(n,e,r){let E=0,z=Math.trunc(e);const k=new DataView(n.buffer,n.byteOffset,n.byteLength),m=r===void 0?n.byteLength:z+r;for(;m-z>=4;)E+=cb(k.getUint32(z)),z+=4;for(;m-z>=2;)E+=cb(k.getUint16(z)),z+=2;for(;m-z>=1;)E+=cb(k.getUint8(z)),z+=1;return E}function cb(n){let e=Math.trunc(n);return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}const UL=-1;class Qa{constructor(e,r,E,z,k,m=[],t){this.type=e,this.children=m,this.dictionary=t,this.offset=Math.floor(Math.max(r||0,0)),this.length=Math.floor(Math.max(E||0,0)),this._nullCount=Math.floor(Math.max(z||0,-1));let d;k instanceof Qa?(this.stride=k.stride,this.values=k.values,this.typeIds=k.typeIds,this.nullBitmap=k.nullBitmap,this.valueOffsets=k.valueOffsets):(this.stride=$f(e),k&&((d=k[0])&&(this.valueOffsets=d),(d=k[1])&&(this.values=d),(d=k[2])&&(this.nullBitmap=d),(d=k[3])&&(this.typeIds=d))),this.nullable=this._nullCount!==0&&this.nullBitmap&&this.nullBitmap.byteLength>0}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0;const{valueOffsets:r,values:E,nullBitmap:z,typeIds:k}=this;return r&&(e+=r.byteLength),E&&(e+=E.byteLength),z&&(e+=z.byteLength),k&&(e+=k.byteLength),this.children.reduce((m,t)=>m+t.byteLength,e)}get nullCount(){let e=this._nullCount,r;return e<=UL&&(r=this.nullBitmap)&&(this._nullCount=e=this.length-qb(r,this.offset,this.offset+this.length)),e}getValid(e){if(this.nullable&&this.nullCount>0){const r=this.offset+e;return(this.nullBitmap[r>>3]&1<>3){const{nullBitmap:d}=this._changeLengthAndBackfillNullBitmap(this.length);Object.assign(this,{nullBitmap:d,_nullCount:0})}const{nullBitmap:E,offset:z}=this,k=z+e>>3,m=(z+e)%8,t=E[k]>>m&1;return r?t===0&&(E[k]|=1<>3).fill(255,0,r>>3);z[r>>3]=(1<0&&z.set(k2(this.offset,r,this.nullBitmap),0);const k=this.buffers;return k[Wf.VALIDITY]=z,this.clone(this.type,0,e,E+(e-r),k)}_sliceBuffers(e,r,E,z){let k;const{buffers:m}=this;return(k=m[Wf.TYPE])&&(m[Wf.TYPE]=k.subarray(e,e+r)),(k=m[Wf.OFFSET])&&(m[Wf.OFFSET]=k.subarray(e,e+r+1))||(k=m[Wf.DATA])&&(m[Wf.DATA]=z===6?k:k.subarray(E*e,E*(e+r))),m}_sliceChildren(e,r,E){return e.map(z=>z.slice(r,E))}}Qa.prototype.children=Object.freeze([]);class mm extends aa{visit(e){return this.getVisitFn(e.type).call(this,e)}visitNull(e){const{["type"]:r,["offset"]:E=0,["length"]:z=0}=e;return new Qa(r,E,z,0)}visitBool(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length>>3,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitInt(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitFloat(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitUtf8(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.data),k=_a(e.nullBitmap),m=rm(e.valueOffsets),{["length"]:t=m.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,E,t,d,[m,z,k])}visitBinary(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.data),k=_a(e.nullBitmap),m=rm(e.valueOffsets),{["length"]:t=m.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,E,t,d,[m,z,k])}visitFixedSizeBinary(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitDate(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitTimestamp(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitTime(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitDecimal(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitList(e){const{["type"]:r,["offset"]:E=0,["child"]:z}=e,k=_a(e.nullBitmap),m=rm(e.valueOffsets),{["length"]:t=m.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,E,t,d,[m,void 0,k],[z])}visitStruct(e){const{["type"]:r,["offset"]:E=0,["children"]:z=[]}=e,k=_a(e.nullBitmap),{length:m=z.reduce((d,{length:y})=>Math.max(d,y),0),nullCount:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,void 0,k],z)}visitUnion(e){const{["type"]:r,["offset"]:E=0,["children"]:z=[]}=e,k=_a(e.nullBitmap),m=qa(r.ArrayType,e.typeIds),{["length"]:t=m.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;if(_i.isSparseUnion(r))return new Qa(r,E,t,d,[void 0,void 0,k,m],z);const y=rm(e.valueOffsets);return new Qa(r,E,t,d,[y,void 0,k,m],z)}visitDictionary(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=qa(r.indices.ArrayType,e.data),{["dictionary"]:m=new Ta([new mm().visit({type:r.dictionary})])}=e,{["length"]:t=k.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,E,t,d,[void 0,k,z],[],m)}visitInterval(e){const{["type"]:r,["offset"]:E=0}=e,z=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,k,z])}visitFixedSizeList(e){const{["type"]:r,["offset"]:E=0,["child"]:z=new mm().visit({type:r.valueType})}=e,k=_a(e.nullBitmap),{["length"]:m=z.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,E,m,t,[void 0,void 0,k],[z])}visitMap(e){const{["type"]:r,["offset"]:E=0,["child"]:z=new mm().visit({type:r.childType})}=e,k=_a(e.nullBitmap),m=rm(e.valueOffsets),{["length"]:t=m.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,E,t,d,[m,void 0,k],[z])}}function ia(n){return new mm().visit(n)}class t5{constructor(e=0,r){this.numChunks=e,this.getChunkIterator=r,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndexe+r.nullCount,0)}function Zk(n){return n.reduce((e,r,E)=>(e[E+1]=e[E]+r.length,e),new Uint32Array(n.length+1))}function Xk(n,e,r,E){const z=[];for(let k=-1,m=n.length;++k=E)break;if(r>=d+y)continue;if(d>=r&&d+y<=E){z.push(t);continue}const i=Math.max(0,r-d),M=Math.min(E-d,y);z.push(t.slice(i,M-i))}return z.length===0&&z.push(n[0].slice(0,0)),z}function A2(n,e,r,E){let z=0,k=0,m=e.length-1;do{if(z>=m-1)return r0?0:-1}function GL(n,e){const{nullBitmap:r}=n;if(!r||n.nullCount<=0)return-1;let E=0;for(const z of new M2(r,n.offset+(e||0),n.length,r,$k)){if(!z)return E;++E}return-1}function Vi(n,e,r){if(e===void 0)return-1;if(e===null)return GL(n,r);const E=Xl.getVisitFn(n),z=v0(e);for(let k=(r||0)-1,m=n.length;++k{const z=n.data[E];return z.values.subarray(0,z.length)[Symbol.iterator]()});let r=0;return new t5(n.data.length,E=>{const k=n.data[E].length,m=n.slice(r,r+k);return r+=k,new qL(m)})}class qL{constructor(e){this.vector=e,this.index=0}next(){return this.indexn+e;class Jh extends aa{visitNull(e,r){return 0}visitInt(e,r){return e.type.bitWidth/8}visitFloat(e,r){return e.type.ArrayType.BYTES_PER_ELEMENT}visitBool(e,r){return 1/8}visitDecimal(e,r){return e.type.bitWidth/8}visitDate(e,r){return(e.type.unit+1)*4}visitTime(e,r){return e.type.bitWidth/8}visitTimestamp(e,r){return e.type.unit===wa.SECOND?4:8}visitInterval(e,r){return(e.type.unit+1)*4}visitStruct(e,r){return e.children.reduce((E,z)=>E+_f.visit(z,r),0)}visitFixedSizeBinary(e,r){return e.type.byteWidth}visitMap(e,r){return 8+e.children.reduce((E,z)=>E+_f.visit(z,r),0)}visitDictionary(e,r){var E;return e.type.indices.bitWidth/8+(((E=e.dictionary)===null||E===void 0?void 0:E.getByteLength(e.values[r]))||0)}}const $L=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),YL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),ZL=({valueOffsets:n,stride:e,children:r},E)=>{const z=r[0],{[E*e]:k}=n,{[E*e+1]:m}=n,t=_f.getVisitFn(z.type),d=z.slice(k,m-k);let y=8;for(let i=-1,M=m-k;++i{const E=e[0],z=E.slice(r*n,n),k=_f.getVisitFn(E.type);let m=0;for(let t=-1,d=z.length;++tn.type.mode===xu.Dense?eM(n,e):tM(n,e),eM=({type:n,children:e,typeIds:r,valueOffsets:E},z)=>{const k=n.typeIdToChildIndex[r[z]];return 8+_f.visit(e[k],E[z])},tM=({children:n},e)=>4+_f.visitMany(n,n.map(()=>e)).reduce(WL,0);Jh.prototype.visitUtf8=$L;Jh.prototype.visitBinary=YL;Jh.prototype.visitList=ZL;Jh.prototype.visitFixedSizeList=XL;Jh.prototype.visitUnion=KL;Jh.prototype.visitDenseUnion=eM;Jh.prototype.visitSparseUnion=tM;const _f=new Jh;var nM;const rM={},iM={};class Ta{constructor(e){var r,E,z;const k=e[0]instanceof Ta?e.flatMap(t=>t.data):e;if(k.length===0||k.some(t=>!(t instanceof Qa)))throw new TypeError("Vector constructor expects an Array of Data instances.");const m=(r=k[0])===null||r===void 0?void 0:r.type;switch(k.length){case 0:this._offsets=[0];break;case 1:{const{get:t,set:d,indexOf:y,byteLength:i}=rM[m.typeId],M=k[0];this.isValid=g=>S2(M,g),this.get=g=>t(M,g),this.set=(g,h)=>d(M,g,h),this.indexOf=g=>y(M,g),this.getByteLength=g=>i(M,g),this._offsets=[0,M.length];break}default:Object.setPrototypeOf(this,iM[m.typeId]),this._offsets=Zk(k);break}this.data=k,this.type=m,this.stride=$f(m),this.numChildren=(z=(E=m.children)===null||E===void 0?void 0:E.length)!==null&&z!==void 0?z:0,this.length=this._offsets[this._offsets.length-1]}get byteLength(){return this._byteLength===-1&&(this._byteLength=this.data.reduce((e,r)=>e+r.byteLength,0)),this._byteLength}get nullCount(){return this._nullCount===-1&&(this._nullCount=Yk(this.data)),this._nullCount}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${Jn[this.type.typeId]}Vector`}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}includes(e,r){return this.indexOf(e,r)>0}getByteLength(e){return 0}[Symbol.iterator](){return C2.visit(this)}concat(...e){return new Ta(this.data.concat(e.flatMap(r=>r.data).flat(Number.POSITIVE_INFINITY)))}slice(e,r){return new Ta(Wk(this,e,r,({data:E,_offsets:z},k,m)=>Xk(E,z,k,m)))}toJSON(){return[...this]}toArray(){const{type:e,data:r,length:E,stride:z,ArrayType:k}=this;switch(e.typeId){case Jn.Int:case Jn.Float:case Jn.Decimal:case Jn.Time:case Jn.Timestamp:switch(r.length){case 0:return new k;case 1:return r[0].values.subarray(0,E*z);default:return r.reduce((m,{values:t,length:d})=>(m.array.set(t.subarray(0,d*z),m.offset),m.offset+=d*z,m),{array:new k(E*z),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(e){var r;return this.getChildAt((r=this.type.children)===null||r===void 0?void 0:r.findIndex(E=>E.name===e))}getChildAt(e){return e>-1&&er[e])):null}get isMemoized(){return _i.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(_i.isDictionary(this.type)){const e=new $v(this.data[0].dictionary),r=this.data.map(E=>{const z=E.clone();return z.dictionary=e,z});return new Ta(r)}return new $v(this)}unmemoize(){if(_i.isDictionary(this.type)&&this.isMemoized){const e=this.data[0].dictionary.unmemoize(),r=this.data.map(E=>{const z=E.clone();return z.dictionary=e,z});return new Ta(r)}return this}}nM=Symbol.toStringTag;Ta[nM]=(n=>{n.type=_i.prototype,n.data=[],n.length=0,n.stride=1,n.numChildren=0,n._nullCount=-1,n._byteLength=-1,n._offsets=new Uint32Array([0]),n[Symbol.isConcatSpreadable]=!0;const e=Object.keys(Jn).map(r=>Jn[r]).filter(r=>typeof r=="number"&&r!==Jn.NONE);for(const r of e){const E=Xl.getVisitFnByTypeId(r),z=tc.getVisitFnByTypeId(r),k=Wv.getVisitFnByTypeId(r),m=_f.getVisitFnByTypeId(r);rM[r]={get:E,set:z,indexOf:k,byteLength:m},iM[r]=Object.create(n,{isValid:{value:Wp(S2)},get:{value:Wp(Xl.getVisitFnByTypeId(r))},set:{value:Kk(tc.getVisitFnByTypeId(r))},indexOf:{value:Jk(Wv.getVisitFnByTypeId(r))},getByteLength:{value:Wp(_f.getVisitFnByTypeId(r))}})}return"Vector"})(Ta.prototype);class $v extends Ta{constructor(e){super(e.data);const r=this.get,E=this.set,z=this.slice,k=new Array(this.length);Object.defineProperty(this,"get",{value(m){const t=k[m];if(t!==void 0)return t;const d=r.call(this,m);return k[m]=d,d}}),Object.defineProperty(this,"set",{value(m,t){E.call(this,m,t),k[m]=t}}),Object.defineProperty(this,"slice",{value:(m,t)=>new $v(z.call(this,m,t))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new Ta(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}class Wb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static sizeOf(){return 24}static createBlock(e,r,E,z){return e.prep(8,24),e.writeInt64(z),e.pad(4),e.writeInt32(E),e.writeInt64(r),e.offset()}}const fb=2,uf=4,Zf=4,Wa=4,Oh=new Int32Array(2),n5=new Float32Array(Oh.buffer),r5=new Float64Array(Oh.buffer),av=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;let Qf=class $b{constructor(e,r){this.low=e|0,this.high=r|0}static create(e,r){return e==0&&r==0?$b.ZERO:new $b(e,r)}toFloat64(){return(this.low>>>0)+this.high*4294967296}equals(e){return this.low==e.low&&this.high==e.high}};Qf.ZERO=new Qf(0,0);var Yb;(function(n){n[n.UTF8_BYTES=1]="UTF8_BYTES",n[n.UTF16_STRING=2]="UTF16_STRING"})(Yb||(Yb={}));let Jp=class aM{constructor(e){this.bytes_=e,this.position_=0}static allocate(e){return new aM(new Uint8Array(e))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(e){this.position_=e}capacity(){return this.bytes_.length}readInt8(e){return this.readUint8(e)<<24>>24}readUint8(e){return this.bytes_[e]}readInt16(e){return this.readUint16(e)<<16>>16}readUint16(e){return this.bytes_[e]|this.bytes_[e+1]<<8}readInt32(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24}readUint32(e){return this.readInt32(e)>>>0}readInt64(e){return new Qf(this.readInt32(e),this.readInt32(e+4))}readUint64(e){return new Qf(this.readUint32(e),this.readUint32(e+4))}readFloat32(e){return Oh[0]=this.readInt32(e),n5[0]}readFloat64(e){return Oh[av?0:1]=this.readInt32(e),Oh[av?1:0]=this.readInt32(e+4),r5[0]}writeInt8(e,r){this.bytes_[e]=r}writeUint8(e,r){this.bytes_[e]=r}writeInt16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeUint16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeInt32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeUint32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeInt64(e,r){this.writeInt32(e,r.low),this.writeInt32(e+4,r.high)}writeUint64(e,r){this.writeUint32(e,r.low),this.writeUint32(e+4,r.high)}writeFloat32(e,r){n5[0]=r,this.writeInt32(e,Oh[0])}writeFloat64(e,r){r5[0]=r,this.writeInt32(e,Oh[av?0:1]),this.writeInt32(e+4,Oh[av?1:0])}getBufferIdentifier(){if(this.bytes_.length>10)+55296,(m&1024-1)+56320))}return z}__union_with_string(e,r){return typeof e=="string"?this.__string(r):this.__union(e,r)}__indirect(e){return e+this.readInt32(e)}__vector(e){return e+this.readInt32(e)+uf}__vector_len(e){return this.readInt32(e+this.readInt32(e))}__has_identifier(e){if(e.length!=Zf)throw new Error("FlatBuffers: file identifier must be length "+Zf);for(let r=0;rthis.minalign&&(this.minalign=e);const E=~(this.bb.capacity()-this.space+r)+1&e-1;for(;this.space=0&&this.vtable[r]==0;r--);const E=r+1;for(;r>=0;r--)this.addInt16(this.vtable[r]!=0?e-this.vtable[r]:0);const z=2;this.addInt16(e-this.object_start);const k=(E+z)*fb;this.addInt16(k);let m=0;const t=this.space;e:for(r=0;r=0;m--)this.writeInt8(k.charCodeAt(m))}this.prep(this.minalign,uf+z),this.addOffset(e),z&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(e,r){this.finish(e,r,!0)}requiredField(e,r){const E=this.bb.capacity()-e,z=E-this.bb.readInt32(E);if(!(this.bb.readInt16(z+r)!=0))throw new Error("FlatBuffers: field "+r+" must be set")}startVector(e,r,E){this.notNested(),this.vector_num_elems=r,this.prep(uf,e*r),this.prep(E,e*r)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(e){if(!e)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(e))return this.string_maps.get(e);const r=this.createString(e);return this.string_maps.set(e,r),r}createString(e){if(!e)return 0;let r;if(e instanceof Uint8Array)r=e;else{r=[];let E=0;for(;E=56320)z=k;else{const m=e.charCodeAt(E++);z=(k<<10)+m+(65536-56623104-56320)}z<128?r.push(z):(z<2048?r.push(z>>6&31|192):(z<65536?r.push(z>>12&15|224):r.push(z>>18&7|240,z>>12&63|128),r.push(z>>6&63|128)),r.push(z&63|128))}}this.addInt8(0),this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length);for(let E=0,z=this.space,k=this.bb.bytes();E=0;E--)e.addInt32(r[E]);return e.endVector()}static startTypeIdsVector(e,r){e.startVector(4,r,4)}static endUnion(e){return e.endObject()}static createUnion(e,r,E){return ql.startUnion(e),ql.addMode(e,r),ql.addTypeIds(e,E),ql.endUnion(e)}}class Od{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsUtf8(e,r){return(r||new Od).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsUtf8(e,r){return e.setPosition(e.position()+Wa),(r||new Od).__init(e.readInt32(e.position())+e.position(),e)}static startUtf8(e){e.startObject(0)}static endUtf8(e){return e.endObject()}static createUtf8(e){return Od.startUtf8(e),Od.endUtf8(e)}}var Ao;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.FloatingPoint=3]="FloatingPoint",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct_=13]="Struct_",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Duration=18]="Duration",n[n.LargeBinary=19]="LargeBinary",n[n.LargeUtf8=20]="LargeUtf8",n[n.LargeList=21]="LargeList"})(Ao||(Ao={}));let qu=class yv{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsField(e,r){return(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsField(e,r){return e.setPosition(e.position()+Wa),(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}name(e){const r=this.bb.__offset(this.bb_pos,4);return r?this.bb.__string(this.bb_pos+r,e):null}nullable(){const e=this.bb.__offset(this.bb_pos,6);return e?!!this.bb.readInt8(this.bb_pos+e):!1}typeType(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):Ao.NONE}type(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__union(e,this.bb_pos+r):null}dictionary(e){const r=this.bb.__offset(this.bb_pos,12);return r?(e||new Xf).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}children(e,r){const E=this.bb.__offset(this.bb_pos,14);return E?(r||new yv).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+E)+e*4),this.bb):null}childrenLength(){const e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const E=this.bb.__offset(this.bb_pos,16);return E?(r||new hs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+E)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}static startField(e){e.startObject(7)}static addName(e,r){e.addFieldOffset(0,r,0)}static addNullable(e,r){e.addFieldInt8(1,+r,0)}static addTypeType(e,r){e.addFieldInt8(2,r,Ao.NONE)}static addType(e,r){e.addFieldOffset(3,r,0)}static addDictionary(e,r){e.addFieldOffset(4,r,0)}static addChildren(e,r){e.addFieldOffset(5,r,0)}static createChildrenVector(e,r){e.startVector(4,r.length,4);for(let E=r.length-1;E>=0;E--)e.addOffset(r[E]);return e.endVector()}static startChildrenVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(6,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let E=r.length-1;E>=0;E--)e.addOffset(r[E]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endField(e){return e.endObject()}},rf=class Gf{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsSchema(e,r){return(r||new Gf).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsSchema(e,r){return e.setPosition(e.position()+Wa),(r||new Gf).__init(e.readInt32(e.position())+e.position(),e)}endianness(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):e0.Little}fields(e,r){const E=this.bb.__offset(this.bb_pos,6);return E?(r||new qu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+E)+e*4),this.bb):null}fieldsLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const E=this.bb.__offset(this.bb_pos,8);return E?(r||new hs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+E)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}features(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt64(this.bb.__vector(this.bb_pos+r)+e*8):this.bb.createLong(0,0)}featuresLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}static startSchema(e){e.startObject(4)}static addEndianness(e,r){e.addFieldInt16(0,r,e0.Little)}static addFields(e,r){e.addFieldOffset(1,r,0)}static createFieldsVector(e,r){e.startVector(4,r.length,4);for(let E=r.length-1;E>=0;E--)e.addOffset(r[E]);return e.endVector()}static startFieldsVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(2,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let E=r.length-1;E>=0;E--)e.addOffset(r[E]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static addFeatures(e,r){e.addFieldOffset(3,r,0)}static createFeaturesVector(e,r){e.startVector(8,r.length,8);for(let E=r.length-1;E>=0;E--)e.addInt64(r[E]);return e.endVector()}static startFeaturesVector(e,r){e.startVector(8,r,8)}static endSchema(e){return e.endObject()}static finishSchemaBuffer(e,r){e.finish(r)}static finishSizePrefixedSchemaBuffer(e,r){e.finish(r,void 0,!0)}static createSchema(e,r,E,z,k){return Gf.startSchema(e),Gf.addEndianness(e,r),Gf.addFields(e,E),Gf.addCustomMetadata(e,z),Gf.addFeatures(e,k),Gf.endSchema(e)}};class hu{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsFooter(e,r){return(r||new hu).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFooter(e,r){return e.setPosition(e.position()+Wa),(r||new hu).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}schema(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new rf).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}dictionaries(e,r){const E=this.bb.__offset(this.bb_pos,8);return E?(r||new Wb).__init(this.bb.__vector(this.bb_pos+E)+e*24,this.bb):null}dictionariesLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}recordBatches(e,r){const E=this.bb.__offset(this.bb_pos,10);return E?(r||new Wb).__init(this.bb.__vector(this.bb_pos+E)+e*24,this.bb):null}recordBatchesLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const E=this.bb.__offset(this.bb_pos,12);return E?(r||new hs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+E)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startFooter(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addSchema(e,r){e.addFieldOffset(1,r,0)}static addDictionaries(e,r){e.addFieldOffset(2,r,0)}static startDictionariesVector(e,r){e.startVector(24,r,8)}static addRecordBatches(e,r){e.addFieldOffset(3,r,0)}static startRecordBatchesVector(e,r){e.startVector(24,r,8)}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let E=r.length-1;E>=0;E--)e.addOffset(r[E]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endFooter(e){return e.endObject()}static finishFooterBuffer(e,r){e.finish(r)}static finishSizePrefixedFooterBuffer(e,r){e.finish(r,void 0,!0)}}class Ea{constructor(e=[],r,E){this.fields=e||[],this.metadata=r||new Map,E||(E=Zb(e)),this.dictionaries=E}get[Symbol.toStringTag](){return"Schema"}get names(){return this.fields.map(e=>e.name)}toString(){return`Schema<{ ${this.fields.map((e,r)=>`${r}: ${e}`).join(", ")} }>`}select(e){const r=new Set(e),E=this.fields.filter(z=>r.has(z.name));return new Ea(E,this.metadata)}selectAt(e){const r=e.map(E=>this.fields[E]).filter(Boolean);return new Ea(r,this.metadata)}assign(...e){const r=e[0]instanceof Ea?e[0]:Array.isArray(e[0])?new Ea(e[0]):new Ea(e),E=[...this.fields],z=ov(ov(new Map,this.metadata),r.metadata),k=r.fields.filter(t=>{const d=E.findIndex(y=>y.name===t.name);return~d?(E[d]=t.clone({metadata:ov(ov(new Map,E[d].metadata),t.metadata)}))&&!1:!0}),m=Zb(k,new Map);return new Ea([...E,...k],z,new Map([...this.dictionaries,...m]))}}Ea.prototype.fields=null;Ea.prototype.metadata=null;Ea.prototype.dictionaries=null;class ao{constructor(e,r,E=!1,z){this.name=e,this.type=r,this.nullable=E,this.metadata=z||new Map}static new(...e){let[r,E,z,k]=e;return e[0]&&typeof e[0]=="object"&&({name:r}=e[0],E===void 0&&(E=e[0].type),z===void 0&&(z=e[0].nullable),k===void 0&&(k=e[0].metadata)),new ao(`${r}`,E,z,k)}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...e){let[r,E,z,k]=e;return!e[0]||typeof e[0]!="object"?[r=this.name,E=this.type,z=this.nullable,k=this.metadata]=e:{name:r=this.name,type:E=this.type,nullable:z=this.nullable,metadata:k=this.metadata}=e[0],ao.new(r,E,z,k)}}ao.prototype.type=null;ao.prototype.name=null;ao.prototype.nullable=null;ao.prototype.metadata=null;function ov(n,e){return new Map([...n||new Map,...e||new Map])}function Zb(n,e=new Map){for(let r=-1,E=n.length;++r0&&Zb(k.children,e)}return e}var i5=Qf,JL=oM,QL=Jp;class Om{constructor(e,r=gu.V4,E,z){this.schema=e,this.version=r,E&&(this._recordBatches=E),z&&(this._dictionaryBatches=z)}static decode(e){e=new QL(_a(e));const r=hu.getRootAsFooter(e),E=Ea.decode(r.schema());return new eI(E,r)}static encode(e){const r=new JL,E=Ea.encode(r,e.schema);hu.startRecordBatchesVector(r,e.numRecordBatches);for(const m of[...e.recordBatches()].slice().reverse())Wh.encode(r,m);const z=r.endVector();hu.startDictionariesVector(r,e.numDictionaries);for(const m of[...e.dictionaryBatches()].slice().reverse())Wh.encode(r,m);const k=r.endVector();return hu.startFooter(r),hu.addSchema(r,E),hu.addVersion(r,gu.V4),hu.addRecordBatches(r,z),hu.addDictionaries(r,k),hu.finishFooterBuffer(r,hu.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,E=this.numRecordBatches;++r=0&&e=0&&e=0&&e=0&&ethis._closedPromiseResolve=e)}get closed(){return this._closedPromise}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(So);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return $u.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return $u.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}throw(e){return yi(this,void 0,void 0,function*(){return yield this.abort(e),So})}return(e){return yi(this,void 0,void 0,function*(){return yield this.close(),So})}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((r,E)=>{this.resolvers.push({resolve:r,reject:E})}):Promise.resolve(So)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error("AsyncQueue is closed")}}class bv extends tI{write(e){if((e=_a(e)).byteLength>0)return super.write(e)}toString(e=!1){return e?jb(this.toUint8Array(!0)):this.toUint8Array(!1).then(jb)}toUint8Array(e=!1){return e?xf(this._values)[0]:(()=>yi(this,void 0,void 0,function*(){var r,E;const z=[];let k=0;try{for(var m=Nd(this),t;t=yield m.next(),!t.done;){const d=t.value;z.push(d),k+=d.byteLength}}catch(d){r={error:d}}finally{try{t&&!t.done&&(E=m.return)&&(yield E.call(m))}finally{if(r)throw r.error}}return xf(z,k)[0]}))()}}class Qv{constructor(e){e&&(this.source=new nI($u.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class n0{constructor(e){e instanceof n0?this.source=e.source:e instanceof bv?this.source=new xd($u.fromAsyncIterable(e)):H4(e)?this.source=new xd($u.fromNodeStream(e)):m2(e)?this.source=new xd($u.fromDOMStream(e)):U4(e)?this.source=new xd($u.fromDOMStream(e.body)):Zm(e)?this.source=new xd($u.fromIterable(e)):Uh(e)?this.source=new xd($u.fromAsyncIterable(e)):g0(e)&&(this.source=new xd($u.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class nI{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e,r="read"){return this.source.next({cmd:r,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||So)}return(e){return Object.create(this.source.return&&this.source.return(e)||So)}}class xd{constructor(e){this.source=e,this._closedPromise=new Promise(r=>this._closedPromiseResolve=r)}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}get closed(){return this._closedPromise}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(e,r="read"){return yi(this,void 0,void 0,function*(){return yield this.source.next({cmd:r,size:e})})}throw(e){return yi(this,void 0,void 0,function*(){const r=this.source.throw&&(yield this.source.throw(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}return(e){return yi(this,void 0,void 0,function*(){const r=this.source.return&&(yield this.source.return(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}}class o5 extends Qv{constructor(e,r){super(),this.position=0,this.buffer=_a(e),this.size=typeof r>"u"?this.buffer.byteLength:r}readInt32(e){const{buffer:r,byteOffset:E}=this.readAt(e,4);return new DataView(r,E).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),eyi(this,void 0,void 0,function*(){this.size=(yield e.stat()).size,delete this._pending}))()}readInt32(e){return yi(this,void 0,void 0,function*(){const{buffer:r,byteOffset:E}=yield this.readAt(e,4);return new DataView(r,E).getInt32(0,!0)})}seek(e){return yi(this,void 0,void 0,function*(){return this._pending&&(yield this._pending),this.position=Math.min(e,this.size),e>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),E=new Uint32Array([e.buffer[1]>>>16,e.buffer[1]&65535,e.buffer[0]>>>16,e.buffer[0]&65535]);let z=r[3]*E[3];this.buffer[0]=z&65535;let k=z>>>16;return z=r[2]*E[3],k+=z,z=r[3]*E[2]>>>0,k+=z,this.buffer[0]+=k<<16,this.buffer[1]=k>>>0>>16,this.buffer[1]+=r[1]*E[3]+r[2]*E[2]+r[3]*E[1],this.buffer[1]+=r[0]*E[3]+r[1]*E[2]+r[2]*E[1]+r[3]*E[0]<<16,this}_plus(e){const r=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],r>>0&&++this.buffer[1],this.buffer[0]=r}lessThan(e){return this.buffer[1]>>0,r[2]=this.buffer[2]+e.buffer[2]>>>0,r[1]=this.buffer[1]+e.buffer[1]>>>0,r[0]=this.buffer[0]+e.buffer[0]>>>0,r[0]>>0&&++r[1],r[1]>>0&&++r[2],r[2]>>0&&++r[3],this.buffer[3]=r[3],this.buffer[2]=r[2],this.buffer[1]=r[1],this.buffer[0]=r[0],this}hex(){return`${zp(this.buffer[3])} ${zp(this.buffer[2])} ${zp(this.buffer[1])} ${zp(this.buffer[0])}`}static multiply(e,r){return new af(new Uint32Array(e.buffer)).times(r)}static add(e,r){return new af(new Uint32Array(e.buffer)).plus(r)}static from(e,r=new Uint32Array(4)){return af.fromString(typeof e=="string"?e:e.toString(),r)}static fromNumber(e,r=new Uint32Array(4)){return af.fromString(e.toString(),r)}static fromString(e,r=new Uint32Array(4)){const E=e.startsWith("-"),z=e.length,k=new af(r);for(let m=E?1:0;m0&&this.readData(e,E)||new Uint8Array(0)}readOffsets(e,r){return this.readData(e,r)}readTypeIds(e,r){return this.readData(e,r)}readData(e,{length:r,offset:E}=this.nextBufferRange()){return this.bytes.subarray(E,E+r)}readDictionary(e){return this.dictionaries.get(e.id)}}class iI extends uM{constructor(e,r,E,z){super(new Uint8Array(0),r,E,z),this.sources=e}readNullBitmap(e,r,{offset:E}=this.nextBufferRange()){return r<=0?new Uint8Array(0):qv(this.sources[E])}readOffsets(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(Int32Array,this.sources[r]))}readTypeIds(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(e.ArrayType,this.sources[r]))}readData(e,{offset:r}=this.nextBufferRange()){const{sources:E}=this;return _i.isTimestamp(e)||(_i.isInt(e)||_i.isTime(e))&&e.bitWidth===64||_i.isDate(e)&&e.unit===rh.MILLISECOND?qa(Uint8Array,jl.convertArray(E[r])):_i.isDecimal(e)?qa(Uint8Array,af.convertArray(E[r])):_i.isBinary(e)||_i.isFixedSizeBinary(e)?aI(E[r]):_i.isBool(e)?qv(E[r]):_i.isUtf8(e)?p2(E[r].join("")):qa(Uint8Array,qa(e.ArrayType,E[r].map(z=>+z)))}}function aI(n){const e=n.join(""),r=new Uint8Array(e.length/2);for(let E=0;E>1]=Number.parseInt(e.slice(E,E+2),16);return r}class Mi extends aa{compareSchemas(e,r){return e===r||r instanceof e.constructor&&this.compareManyFields(e.fields,r.fields)}compareManyFields(e,r){return e===r||Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((E,z)=>this.compareFields(E,r[z]))}compareFields(e,r){return e===r||r instanceof e.constructor&&e.name===r.name&&e.nullable===r.nullable&&this.visit(e.type,r.type)}}function Kl(n,e){return e instanceof n.constructor}function Xm(n,e){return n===e||Kl(n,e)}function fh(n,e){return n===e||Kl(n,e)&&n.bitWidth===e.bitWidth&&n.isSigned===e.isSigned}function Gy(n,e){return n===e||Kl(n,e)&&n.precision===e.precision}function oI(n,e){return n===e||Kl(n,e)&&n.byteWidth===e.byteWidth}function I2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function Km(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.timezone===e.timezone}function Jm(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.bitWidth===e.bitWidth}function sI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&$h.compareManyFields(n.children,e.children)}function lI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&$h.compareManyFields(n.children,e.children)}function P2(n,e){return n===e||Kl(n,e)&&n.mode===e.mode&&n.typeIds.every((r,E)=>r===e.typeIds[E])&&$h.compareManyFields(n.children,e.children)}function uI(n,e){return n===e||Kl(n,e)&&n.id===e.id&&n.isOrdered===e.isOrdered&&$h.visit(n.indices,e.indices)&&$h.visit(n.dictionary,e.dictionary)}function O2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function cI(n,e){return n===e||Kl(n,e)&&n.listSize===e.listSize&&n.children.length===e.children.length&&$h.compareManyFields(n.children,e.children)}function fI(n,e){return n===e||Kl(n,e)&&n.keysSorted===e.keysSorted&&n.children.length===e.children.length&&$h.compareManyFields(n.children,e.children)}Mi.prototype.visitNull=Xm;Mi.prototype.visitBool=Xm;Mi.prototype.visitInt=fh;Mi.prototype.visitInt8=fh;Mi.prototype.visitInt16=fh;Mi.prototype.visitInt32=fh;Mi.prototype.visitInt64=fh;Mi.prototype.visitUint8=fh;Mi.prototype.visitUint16=fh;Mi.prototype.visitUint32=fh;Mi.prototype.visitUint64=fh;Mi.prototype.visitFloat=Gy;Mi.prototype.visitFloat16=Gy;Mi.prototype.visitFloat32=Gy;Mi.prototype.visitFloat64=Gy;Mi.prototype.visitUtf8=Xm;Mi.prototype.visitBinary=Xm;Mi.prototype.visitFixedSizeBinary=oI;Mi.prototype.visitDate=I2;Mi.prototype.visitDateDay=I2;Mi.prototype.visitDateMillisecond=I2;Mi.prototype.visitTimestamp=Km;Mi.prototype.visitTimestampSecond=Km;Mi.prototype.visitTimestampMillisecond=Km;Mi.prototype.visitTimestampMicrosecond=Km;Mi.prototype.visitTimestampNanosecond=Km;Mi.prototype.visitTime=Jm;Mi.prototype.visitTimeSecond=Jm;Mi.prototype.visitTimeMillisecond=Jm;Mi.prototype.visitTimeMicrosecond=Jm;Mi.prototype.visitTimeNanosecond=Jm;Mi.prototype.visitDecimal=Xm;Mi.prototype.visitList=sI;Mi.prototype.visitStruct=lI;Mi.prototype.visitUnion=P2;Mi.prototype.visitDenseUnion=P2;Mi.prototype.visitSparseUnion=P2;Mi.prototype.visitDictionary=uI;Mi.prototype.visitInterval=O2;Mi.prototype.visitIntervalDayTime=O2;Mi.prototype.visitIntervalYearMonth=O2;Mi.prototype.visitFixedSizeList=cI;Mi.prototype.visitMap=fI;const $h=new Mi;function Xb(n,e){return $h.compareSchemas(n,e)}function hb(n,e){return hI(n,e.map(r=>r.data.concat()))}function hI(n,e){const r=[...n.fields],E=[],z={numBatches:e.reduce((M,g)=>Math.max(M,g.length),0)};let k=0,m=0,t=-1;const d=e.length;let y,i=[];for(;z.numBatches-- >0;){for(m=Number.POSITIVE_INFINITY,t=-1;++t0&&(E[k++]=ia({type:new xl(r),length:m,nullCount:0,children:i.slice()})))}return[n=n.assign(r),E.map(M=>new Wl(n,M))]}function dI(n,e,r,E,z){var k;const m=(e+63&-64)>>3;for(let t=-1,d=E.length;++t=e)i===e?r[t]=y:(r[t]=y.slice(0,e),z.numBatches=Math.max(z.numBatches,E[t].unshift(y.slice(e,i-e))));else{const M=n[t];n[t]=M.clone({nullable:!0}),r[t]=(k=y==null?void 0:y._changeLengthAndBackfillNullBitmap(e))!==null&&k!==void 0?k:ia({type:M.type,length:e,nullCount:e,nullBitmap:new Uint8Array(m)})}}return r}var cM;class vl{constructor(...e){var r,E;if(e.length===0)return this.batches=[],this.schema=new Ea([]),this._offsets=[0],this;let z,k;e[0]instanceof Ea&&(z=e.shift()),e[e.length-1]instanceof Uint32Array&&(k=e.pop());const m=d=>{if(d){if(d instanceof Wl)return[d];if(d instanceof vl)return d.batches;if(d instanceof Qa){if(d.type instanceof xl)return[new Wl(new Ea(d.type.children),d)]}else{if(Array.isArray(d))return d.flatMap(y=>m(y));if(typeof d[Symbol.iterator]=="function")return[...d].flatMap(y=>m(y));if(typeof d=="object"){const y=Object.keys(d),i=y.map(h=>new Ta([d[h]])),M=new Ea(y.map((h,l)=>new ao(String(h),i[l].type))),[,g]=hb(M,i);return g.length===0?[new Wl(d)]:g}}}return[]},t=e.flatMap(d=>m(d));if(z=(E=z??((r=t[0])===null||r===void 0?void 0:r.schema))!==null&&E!==void 0?E:new Ea([]),!(z instanceof Ea))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");for(const d of t){if(!(d instanceof Wl))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");if(!Xb(z,d.schema))throw new TypeError("Table and inner RecordBatch schemas must be equivalent.")}this.schema=z,this.batches=t,this._offsets=k??Zk(this.data)}get data(){return this.batches.map(({data:e})=>e)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce((e,r)=>e+r.length,0)}get nullCount(){return this._nullCount===-1&&(this._nullCount=Yk(this.data)),this._nullCount}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}getByteLength(e){return 0}[Symbol.iterator](){return this.batches.length>0?C2.visit(new Ta(this.data)):new Array(0)[Symbol.iterator]()}toArray(){return[...this]}toString(){return`[ ${this.toArray().join(`, `)} -]`}concat(...e){const r=this.schema,E=this.data.concat(e.flatMap(({data:z})=>z));return new vl(r,E.map(z=>new ql(r,z)))}slice(e,r){const E=this.schema;[e,r]=qk({length:this.numRows},e,r);const z=Xk(this.data,this._offsets,e,r);return new vl(E,z.map(k=>new ql(E,k)))}getChild(e){return this.getChildAt(this.schema.fields.findIndex(r=>r.name===e))}getChildAt(e){if(e>-1&&eE.children[e]);if(r.length===0){const{type:E}=this.schema.fields[e],z=ia({type:E,length:0,nullCount:0});r.push(z._changeLengthAndBackfillNullBitmap(this.numRows))}return new Ta(r)}return null}setChild(e,r){var E;return this.setChildAt((E=this.schema.fields)===null||E===void 0?void 0:E.findIndex(z=>z.name===e),r)}setChildAt(e,r){let E=this.schema,z=[...this.batches];if(e>-1&&ethis.getChildAt(y));[k[e],t[e]]=[m,r],[E,z]=hb(E,t)}return new vl(E,z)}select(e){const r=this.schema.fields.reduce((E,z,k)=>E.set(z.name,k),new Map);return this.selectAt(e.map(E=>r.get(E)).filter(E=>E>-1))}selectAt(e){const r=this.schema.selectAt(e),E=this.batches.map(z=>z.selectAt(e));return new vl(r,E)}assign(e){const r=this.schema.fields,[E,z]=e.schema.fields.reduce((t,d,y)=>{const[i,M]=t,g=r.findIndex(h=>h.name===d.name);return~g?M[g]=y:i.push(y),t},[[],[]]),k=this.schema.assign(e.schema),m=[...r.map((t,d)=>[d,z[d]]).map(([t,d])=>d===void 0?this.getChildAt(t):e.getChildAt(d)),...E.map(t=>e.getChildAt(t))].filter(Boolean);return new vl(...hb(k,m))}}cM=Symbol.toStringTag;vl[cM]=(n=>(n.schema=null,n.batches=[],n._offsets=new Uint32Array([0]),n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,n.isValid=qp(S2),n.get=qp(Xl.getVisitFn(Jn.Struct)),n.set=Kk(tc.getVisitFn(Jn.Struct)),n.indexOf=Jk(qv.getVisitFn(Jn.Struct)),n.getByteLength=qp(_f.getVisitFn(Jn.Struct)),"Table"))(vl.prototype);var fM;let ql=class sm{constructor(...e){switch(e.length){case 2:{if([this.schema]=e,!(this.schema instanceof Ea))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");if([,this.data=ia({nullCount:0,type:new xl(this.schema.fields),children:this.schema.fields.map(r=>ia({type:r.type,nullCount:0}))})]=e,!(this.data instanceof Qa))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=s5(this.schema,this.data.children);break}case 1:{const[r]=e,{fields:E,children:z,length:k}=Object.keys(r).reduce((d,y,i)=>(d.children[i]=r[y],d.length=Math.max(d.length,r[y].length),d.fields[i]=ao.new({name:y,type:r[y].type,nullable:!0}),d),{length:0,fields:new Array,children:new Array}),m=new Ea(E),t=ia({type:new xl(E),length:k,children:z,nullCount:0});[this.schema,this.data]=s5(m,t.children,k);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=hM(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(e){return this.data.getValid(e)}get(e){return Xl.visit(this.data,e)}set(e,r){return tc.visit(this.data,e,r)}indexOf(e,r){return qv.visit(this.data,e,r)}getByteLength(e){return _f.visit(this.data,e)}[Symbol.iterator](){return C2.visit(new Ta([this.data]))}toArray(){return[...this]}concat(...e){return new vl(this.schema,[this,...e])}slice(e,r){const[E]=new Ta([this.data]).slice(e,r).data;return new sm(this.schema,E)}getChild(e){var r;return this.getChildAt((r=this.schema.fields)===null||r===void 0?void 0:r.findIndex(E=>E.name===e))}getChildAt(e){return e>-1&&ez.name===e),r)}setChildAt(e,r){let E=this.schema,z=this.data;if(e>-1&&et.name===k);~m&&(z[m]=this.data.children[m])}return new sm(r,ia({type:E,length:this.numRows,children:z}))}selectAt(e){const r=this.schema.selectAt(e),E=e.map(k=>this.data.children[k]).filter(Boolean),z=ia({type:new xl(r.fields),length:this.numRows,children:E});return new sm(r,z)}};fM=Symbol.toStringTag;ql[fM]=(n=>(n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(ql.prototype);function s5(n,e,r=e.reduce((E,z)=>Math.max(E,z.length),0)){var E;const z=[...n.fields],k=[...e],m=(r+63&-64)>>3;for(const[t,d]of n.fields.entries()){const y=e[t];(!y||y.length!==r)&&(z[t]=d.clone({nullable:!0}),k[t]=(E=y==null?void 0:y._changeLengthAndBackfillNullBitmap(r))!==null&&E!==void 0?E:ia({type:d.type,length:r,nullCount:r,nullBitmap:new Uint8Array(m)}))}return[n.assign(z),ia({type:new xl(z),length:r,children:k})]}function hM(n,e,r=new Map){for(let E=-1,z=n.length;++E0&&hM(m.children,t.children,r)}return r}class R2 extends ql{constructor(e){const r=e.fields.map(z=>ia({type:z.type})),E=ia({type:new xl(e.fields),nullCount:0,children:r});super(e,E)}}var ty;(function(n){n[n.BUFFER=0]="BUFFER"})(ty||(ty={}));var ny;(function(n){n[n.LZ4_FRAME=0]="LZ4_FRAME",n[n.ZSTD=1]="ZSTD"})(ny||(ny={}));class Rh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsBodyCompression(e,r){return(r||new Rh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBodyCompression(e,r){return e.setPosition(e.position()+qa),(r||new Rh).__init(e.readInt32(e.position())+e.position(),e)}codec(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt8(this.bb_pos+e):ny.LZ4_FRAME}method(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt8(this.bb_pos+e):ty.BUFFER}static startBodyCompression(e){e.startObject(2)}static addCodec(e,r){e.addFieldInt8(0,r,ny.LZ4_FRAME)}static addMethod(e,r){e.addFieldInt8(1,r,ty.BUFFER)}static endBodyCompression(e){return e.endObject()}static createBodyCompression(e,r,E){return Rh.startBodyCompression(e),Rh.addCodec(e,r),Rh.addMethod(e,E),Rh.endBodyCompression(e)}}let dM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(e,r,E){return e.prep(8,16),e.writeInt64(E),e.writeInt64(r),e.offset()}},pM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(e,r,E){return e.prep(8,16),e.writeInt64(E),e.writeInt64(r),e.offset()}},$f=class Kb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsRecordBatch(e,r){return(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,r){return e.setPosition(e.position()+qa),(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}length(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}nodes(e,r){const E=this.bb.__offset(this.bb_pos,6);return E?(r||new pM).__init(this.bb.__vector(this.bb_pos+E)+e*16,this.bb):null}nodesLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}buffers(e,r){const E=this.bb.__offset(this.bb_pos,8);return E?(r||new dM).__init(this.bb.__vector(this.bb_pos+E)+e*16,this.bb):null}buffersLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}compression(e){const r=this.bb.__offset(this.bb_pos,10);return r?(e||new Rh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}static startRecordBatch(e){e.startObject(4)}static addLength(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addNodes(e,r){e.addFieldOffset(1,r,0)}static startNodesVector(e,r){e.startVector(16,r,8)}static addBuffers(e,r){e.addFieldOffset(2,r,0)}static startBuffersVector(e,r){e.startVector(16,r,8)}static addCompression(e,r){e.addFieldOffset(3,r,0)}static endRecordBatch(e){return e.endObject()}},Dp=class Jb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsDictionaryBatch(e,r){return(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,r){return e.setPosition(e.position()+qa),(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}id(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}data(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new $f).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}isDelta(){const e=this.bb.__offset(this.bb_pos,8);return e?!!this.bb.readInt8(this.bb_pos+e):!1}static startDictionaryBatch(e){e.startObject(3)}static addId(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addData(e,r){e.addFieldOffset(1,r,0)}static addIsDelta(e,r){e.addFieldInt8(2,+r,0)}static endDictionaryBatch(e){return e.endObject()}};var ry;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(ry||(ry={}));let Eh=class nf{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsMessage(e,r){return(r||new nf).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,r){return e.setPosition(e.position()+qa),(r||new nf).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}headerType(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):ry.NONE}header(e){const r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__union(e,this.bb_pos+r):null}bodyLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}customMetadata(e,r){const E=this.bb.__offset(this.bb_pos,12);return E?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+E)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startMessage(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addHeaderType(e,r){e.addFieldInt8(1,r,ry.NONE)}static addHeader(e,r){e.addFieldOffset(2,r,0)}static addBodyLength(e,r){e.addFieldInt64(3,r,e.createLong(0,0))}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let E=r.length-1;E>=0;E--)e.addOffset(r[E]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endMessage(e){return e.endObject()}static finishMessageBuffer(e,r){e.finish(r)}static finishSizePrefixedMessageBuffer(e,r){e.finish(r,void 0,!0)}static createMessage(e,r,E,z,k,m){return nf.startMessage(e),nf.addVersion(e,r),nf.addHeaderType(e,E),nf.addHeader(e,z),nf.addBodyLength(e,k),nf.addCustomMetadata(e,m),nf.endMessage(e)}};var pI=Qf;class mI extends aa{visit(e,r){return e==null||r==null?void 0:super.visit(e,r)}visitNull(e,r){return Id.startNull(r),Id.endNull(r)}visitInt(e,r){return mu.startInt(r),mu.addBitWidth(r,e.bitWidth),mu.addIsSigned(r,e.isSigned),mu.endInt(r)}visitFloat(e,r){return hf.startFloatingPoint(r),hf.addPrecision(r,e.precision),hf.endFloatingPoint(r)}visitBinary(e,r){return Cd.startBinary(r),Cd.endBinary(r)}visitBool(e,r){return Ed.startBool(r),Ed.endBool(r)}visitUtf8(e,r){return Pd.startUtf8(r),Pd.endUtf8(r)}visitDecimal(e,r){return Gl.startDecimal(r),Gl.addScale(r,e.scale),Gl.addPrecision(r,e.precision),Gl.addBitWidth(r,e.bitWidth),Gl.endDecimal(r)}visitDate(e,r){return gv.startDate(r),gv.addUnit(r,e.unit),gv.endDate(r)}visitTime(e,r){return $u.startTime(r),$u.addUnit(r,e.unit),$u.addBitWidth(r,e.bitWidth),$u.endTime(r)}visitTimestamp(e,r){const E=e.timezone&&r.createString(e.timezone)||void 0;return Zu.startTimestamp(r),Zu.addUnit(r,e.unit),E!==void 0&&Zu.addTimezone(r,E),Zu.endTimestamp(r)}visitInterval(e,r){return df.startInterval(r),df.addUnit(r,e.unit),df.endInterval(r)}visitList(e,r){return Ld.startList(r),Ld.endList(r)}visitStruct(e,r){return Od.startStruct_(r),Od.endStruct_(r)}visitUnion(e,r){Wl.startTypeIdsVector(r,e.typeIds.length);const E=Wl.createTypeIdsVector(r,e.typeIds);return Wl.startUnion(r),Wl.addMode(r,e.mode),Wl.addTypeIds(r,E),Wl.endUnion(r)}visitDictionary(e,r){const E=this.visit(e.indices,r);return Xf.startDictionaryEncoding(r),Xf.addId(r,new pI(e.id,0)),Xf.addIsOrdered(r,e.isOrdered),E!==void 0&&Xf.addIndexType(r,E),Xf.endDictionaryEncoding(r)}visitFixedSizeBinary(e,r){return cf.startFixedSizeBinary(r),cf.addByteWidth(r,e.byteWidth),cf.endFixedSizeBinary(r)}visitFixedSizeList(e,r){return ff.startFixedSizeList(r),ff.addListSize(r,e.listSize),ff.endFixedSizeList(r)}visitMap(e,r){return vv.startMap(r),vv.addKeysSorted(r,e.keysSorted),vv.endMap(r)}}const db=new mI;function gI(n,e=new Map){return new Ea(yI(n,e),xv(n.customMetadata),e)}function mM(n){return new _u(n.count,gM(n.columns),vM(n.columns))}function vI(n){return new wf(mM(n.data),n.id,n.isDelta)}function yI(n,e){return(n.fields||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function l5(n,e){return(n.children||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function gM(n){return(n||[]).reduce((e,r)=>[...e,new Jd(r.count,bI(r.VALIDITY)),...gM(r.children)],[])}function vM(n,e=[]){for(let r=-1,E=(n||[]).length;++re+ +(r===0),0)}function xI(n,e){let r,E,z,k,m,t;return!e||!(k=n.dictionary)?(m=c5(n,l5(n,e)),z=new ao(n.name,m,n.nullable,xv(n.customMetadata))):e.has(r=k.id)?(E=(E=k.indexType)?u5(E):new Lm,t=new Kp(e.get(r),E,r,k.isOrdered),z=new ao(n.name,t,n.nullable,xv(n.customMetadata))):(E=(E=k.indexType)?u5(E):new Lm,e.set(r,m=c5(n,l5(n,e))),t=new Kp(m,E,r,k.isOrdered),z=new ao(n.name,t,n.nullable,xv(n.customMetadata))),z||null}function xv(n){return new Map(Object.entries(n||{}))}function u5(n){return new Wh(n.isSigned,n.bitWidth)}function c5(n,e){const r=n.type.name;switch(r){case"NONE":return new Gh;case"null":return new Gh;case"binary":return new Pv;case"utf8":return new Rv;case"bool":return new Dv;case"list":return new Vv((e||[])[0]);case"struct":return new xl(e||[]);case"struct_":return new xl(e||[])}switch(r){case"int":{const E=n.type;return new Wh(E.isSigned,E.bitWidth)}case"floatingpoint":{const E=n.type;return new Im(Yl[E.precision])}case"decimal":{const E=n.type;return new zv(E.scale,E.precision,E.bitWidth)}case"date":{const E=n.type;return new Fv(rh[E.unit])}case"time":{const E=n.type;return new Om(wa[E.unit],E.bitWidth)}case"timestamp":{const E=n.type;return new Bv(wa[E.unit],E.timezone)}case"interval":{const E=n.type;return new Nv(Hh[E.unit])}case"union":{const E=n.type;return new jv(xu[E.mode],E.typeIds||[],e||[])}case"fixedsizebinary":{const E=n.type;return new Uv(E.byteWidth)}case"fixedsizelist":{const E=n.type;return new Hv(E.listSize,(e||[])[0])}case"map":{const E=n.type;return new Gv((e||[])[0],E.keysSorted)}}throw new Error(`Unrecognized type: "${r}"`)}var Gd=Qf,_I=oM,wI=Jp;class _l{constructor(e,r,E,z){this._version=r,this._headerType=E,this.body=new Uint8Array(0),z&&(this._createHeader=()=>z),this._bodyLength=typeof e=="number"?e:e.low}static fromJSON(e,r){const E=new _l(0,gu.V4,r);return E._createHeader=TI(e,r),E}static decode(e){e=new wI(_a(e));const r=Eh.getRootAsMessage(e),E=r.bodyLength(),z=r.version(),k=r.headerType(),m=new _l(E,z,k);return m._createHeader=kI(r,k),m}static encode(e){const r=new _I;let E=-1;return e.isSchema()?E=Ea.encode(r,e.header()):e.isRecordBatch()?E=_u.encode(r,e.header()):e.isDictionaryBatch()&&(E=wf.encode(r,e.header())),Eh.startMessage(r),Eh.addVersion(r,gu.V4),Eh.addHeader(r,E),Eh.addHeaderType(r,e.headerType),Eh.addBodyLength(r,new Gd(e.bodyLength,0)),Eh.finishMessageBuffer(r,Eh.endMessage(r)),r.asUint8Array()}static from(e,r=0){if(e instanceof Ea)return new _l(0,gu.V4,Ca.Schema,e);if(e instanceof _u)return new _l(r,gu.V4,Ca.RecordBatch,e);if(e instanceof wf)return new _l(r,gu.V4,Ca.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===Ca.Schema}isRecordBatch(){return this.headerType===Ca.RecordBatch}isDictionaryBatch(){return this.headerType===Ca.DictionaryBatch}}class _u{constructor(e,r,E){this._nodes=r,this._buffers=E,this._length=typeof e=="number"?e:e.low}get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}}class wf{constructor(e,r,E=!1){this._data=e,this._isDelta=E,this._id=typeof r=="number"?r:r.low}get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}}class gf{constructor(e,r){this.offset=typeof e=="number"?e:e.low,this.length=typeof r=="number"?r:r.low}}class Jd{constructor(e,r){this.length=typeof e=="number"?e:e.low,this.nullCount=typeof r=="number"?r:r.low}}function TI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.fromJSON(n);case Ca.RecordBatch:return _u.fromJSON(n);case Ca.DictionaryBatch:return wf.fromJSON(n)}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}function kI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.decode(n.header(new rf));case Ca.RecordBatch:return _u.decode(n.header(new $f),n.version());case Ca.DictionaryBatch:return wf.decode(n.header(new Dp),n.version())}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}ao.encode=DI;ao.decode=PI;ao.fromJSON=xI;Ea.encode=RI;Ea.decode=MI;Ea.fromJSON=gI;_u.encode=zI;_u.decode=AI;_u.fromJSON=mM;wf.encode=FI;wf.decode=SI;wf.fromJSON=vI;Jd.encode=BI;Jd.decode=EI;gf.encode=NI;gf.decode=CI;function MI(n,e=new Map){const r=OI(n,e);return new Ea(r,_v(n),e)}function AI(n,e=gu.V4){if(n.compression()!==null)throw new Error("Record batch compression not implemented");return new _u(n.length(),LI(n),II(n,e))}function SI(n,e=gu.V4){return new wf(_u.decode(n.data(),e),n.id(),n.isDelta())}function CI(n){return new gf(n.offset(),n.length())}function EI(n){return new Jd(n.length(),n.nullCount())}function LI(n){const e=[];for(let r,E=-1,z=-1,k=n.nodesLength();++Eao.encode(n,k));rf.startFieldsVector(n,r.length);const E=rf.createFieldsVector(n,r),z=e.metadata&&e.metadata.size>0?rf.createCustomMetadataVector(n,[...e.metadata].map(([k,m])=>{const t=n.createString(`${k}`),d=n.createString(`${m}`);return cs.startKeyValue(n),cs.addKey(n,t),cs.addValue(n,d),cs.endKeyValue(n)})):-1;return rf.startSchema(n),rf.addFields(n,E),rf.addEndianness(n,VI?e0.Little:e0.Big),z!==-1&&rf.addCustomMetadata(n,z),rf.endSchema(n)}function DI(n,e){let r=-1,E=-1,z=-1;const k=e.type;let m=e.typeId;_i.isDictionary(k)?(m=k.dictionary.typeId,z=db.visit(k,n),E=db.visit(k.dictionary,n)):E=db.visit(k,n);const t=(k.children||[]).map(i=>ao.encode(n,i)),d=Wu.createChildrenVector(n,t),y=e.metadata&&e.metadata.size>0?Wu.createCustomMetadataVector(n,[...e.metadata].map(([i,M])=>{const g=n.createString(`${i}`),h=n.createString(`${M}`);return cs.startKeyValue(n),cs.addKey(n,g),cs.addValue(n,h),cs.endKeyValue(n)})):-1;return e.name&&(r=n.createString(e.name)),Wu.startField(n),Wu.addType(n,E),Wu.addTypeType(n,m),Wu.addChildren(n,d),Wu.addNullable(n,!!e.nullable),r!==-1&&Wu.addName(n,r),z!==-1&&Wu.addDictionary(n,z),y!==-1&&Wu.addCustomMetadata(n,y),Wu.endField(n)}function zI(n,e){const r=e.nodes||[],E=e.buffers||[];$f.startNodesVector(n,r.length);for(const m of r.slice().reverse())Jd.encode(n,m);const z=n.endVector();$f.startBuffersVector(n,E.length);for(const m of E.slice().reverse())gf.encode(n,m);const k=n.endVector();return $f.startRecordBatch(n),$f.addLength(n,new Gd(e.length,0)),$f.addNodes(n,z),$f.addBuffers(n,k),$f.endRecordBatch(n)}function FI(n,e){const r=_u.encode(n,e.data);return Dp.startDictionaryBatch(n),Dp.addId(n,new Gd(e.id,0)),Dp.addIsDelta(n,e.isDelta),Dp.addData(n,r),Dp.endDictionaryBatch(n)}function BI(n,e){return pM.createFieldNode(n,new Gd(e.length,0),new Gd(e.nullCount,0))}function NI(n,e){return dM.createBuffer(n,new Gd(e.offset,0),new Gd(e.length,0))}const VI=(()=>{const n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256})(),D2=n=>`Expected ${Ca[n]} Message in stream, but was null or length 0.`,z2=n=>`Header pointer of flatbuffer-encoded ${Ca[n]} Message is null or length 0.`,yM=(n,e)=>`Expected to read ${n} metadata bytes, but only read ${e}.`,bM=(n,e)=>`Expected to read ${n} bytes for message body, but only read ${e}.`;class xM{constructor(e){this.source=e instanceof Qv?e:new Qv(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||e.value===-1&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?So:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const r=_a(this.source.read(e));if(r.byteLength[...z,...k.VALIDITY&&[k.VALIDITY]||[],...k.TYPE&&[k.TYPE]||[],...k.OFFSET&&[k.OFFSET]||[],...k.DATA&&[k.DATA]||[],...r(k.children)],[])}}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readSchema(){const e=Ca.Schema,r=this.readMessage(e),E=r==null?void 0:r.header();if(!r||!E)throw new Error(z2(e));return E}}const Wy=4,Qb="ARROW1",Rm=new Uint8Array(Qb.length);for(let n=0;nthis):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return Yu.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return Yu.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof eh?e:Ub(e)?YI(e):j4(e)?XI(e):Uh(e)?(()=>yi(this,void 0,void 0,function*(){return yield eh.from(yield e)}))():U4(e)||m2(e)||H4(e)||g0(e)?ZI(new n0(e)):$I(new Qv(e))}static readAll(e){return e instanceof eh?e.isSync()?p5(e):m5(e):Ub(e)||ArrayBuffer.isView(e)||Zm(e)||V4(e)?p5(e):m5(e)}}class iy extends eh{constructor(e){super(e),this._impl=e}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return mf(this,arguments,function*(){yield zi(yield*mv(Nd(this[Symbol.iterator]())))})}}class ay extends eh{constructor(e){super(e),this._impl=e}readAll(){var e,r;return yi(this,void 0,void 0,function*(){const E=new Array;try{for(var z=Nd(this),k;k=yield z.next(),!k.done;){const m=k.value;E.push(m)}}catch(m){e={error:m}}finally{try{k&&!k.done&&(r=z.return)&&(yield r.call(z))}finally{if(e)throw e.error}}return E})}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class wM extends iy{constructor(e){super(e),this._impl=e}}class GI extends ay{constructor(e){super(e),this._impl=e}}class TM{constructor(e=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,r){const E=this._loadVectors(e,r,this.schema.fields),z=ia({type:new xl(this.schema.fields),length:e.length,children:E});return new ql(this.schema,z)}_loadDictionaryBatch(e,r){const{id:E,isDelta:z}=e,{dictionaries:k,schema:m}=this,t=k.get(E);if(z||!t){const d=m.dictionaries.get(E),y=this._loadVectors(e.data,r,[d]);return(t&&z?t.concat(new Ta(y)):new Ta(y)).memoize()}return t.memoize()}_loadVectors(e,r,E){return new uM(r,e.nodes,e.buffers,this.dictionaries).visitMany(E)}}class oy extends TM{constructor(e,r){super(r),this._reader=Ub(e)?new UI(this._handle=e):new xM(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=MM(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):So}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):So}next(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const E=e.header(),z=r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(E,z)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const E=e.header(),z=r.readMessageBody(e.bodyLength),k=this._loadDictionaryBatch(E,z);this.dictionaries.set(E.id,k)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new R2(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class sy extends TM{constructor(e,r){super(r),this._reader=new jI(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return yi(this,void 0,void 0,function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)})}open(e){return yi(this,void 0,void 0,function*(){return this.closed||(this.autoDestroy=MM(this,e),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this})}throw(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(e):So})}return(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(e):So})}next(){return yi(this,void 0,void 0,function*(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=yield this._readNextMessageAndValidate();)if(e.isSchema())yield this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const E=e.header(),z=yield r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(E,z)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const E=e.header(),z=yield r.readMessageBody(e.bodyLength),k=this._loadDictionaryBatch(E,z);this.dictionaries.set(E.id,k)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new R2(this.schema)}):yield this.return()})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){return yield this._reader.readMessage(e)})}}class kM extends oy{constructor(e,r){super(e instanceof o5?e:new o5(e),r)}get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const r of this._footer.dictionaryBatches())r&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){var r;if(this.closed)return null;this._footer||this.open();const E=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(E&&this._handle.seek(E.offset)){const z=this._reader.readMessage(Ca.RecordBatch);if(z!=null&&z.isRecordBatch()){const k=z.header(),m=this._reader.readMessageBody(z.bodyLength);return this._loadRecordBatch(k,m)}}return null}_readDictionaryBatch(e){var r;const E=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(E&&this._handle.seek(E.offset)){const z=this._reader.readMessage(Ca.DictionaryBatch);if(z!=null&&z.isDictionaryBatch()){const k=z.header(),m=this._reader.readMessageBody(z.bodyLength),t=this._loadDictionaryBatch(k,m);this.dictionaries.set(k.id,t)}}}_readFooter(){const{_handle:e}=this,r=e.size-_M,E=e.readInt32(r),z=e.readAt(r-E,E);return Pm.decode(z)}_readNextMessageAndValidate(e){var r;if(this._footer||this.open(),this._footer&&this._recordBatchIndexsuper.open}});return yi(this,void 0,void 0,function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const E of this._footer.dictionaryBatches())E&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield r.open.call(this,e)})}readRecordBatch(e){var r;return yi(this,void 0,void 0,function*(){if(this.closed)return null;this._footer||(yield this.open());const E=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(E&&(yield this._handle.seek(E.offset))){const z=yield this._reader.readMessage(Ca.RecordBatch);if(z!=null&&z.isRecordBatch()){const k=z.header(),m=yield this._reader.readMessageBody(z.bodyLength);return this._loadRecordBatch(k,m)}}return null})}_readDictionaryBatch(e){var r;return yi(this,void 0,void 0,function*(){const E=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(E&&(yield this._handle.seek(E.offset))){const z=yield this._reader.readMessage(Ca.DictionaryBatch);if(z!=null&&z.isDictionaryBatch()){const k=z.header(),m=yield this._reader.readMessageBody(z.bodyLength),t=this._loadDictionaryBatch(k,m);this.dictionaries.set(k.id,t)}}})}_readFooter(){return yi(this,void 0,void 0,function*(){const{_handle:e}=this;e._pending&&(yield e._pending);const r=e.size-_M,E=yield e.readInt32(r),z=yield e.readAt(r-E,E);return Pm.decode(z)})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex=4?F2(e)?new wM(new kM(n.read())):new iy(new oy(n)):new iy(new oy(function*(){}()))}function ZI(n){return yi(this,void 0,void 0,function*(){const e=yield n.peek(Qm+7&-8);return e&&e.byteLength>=4?F2(e)?new wM(new kM(yield n.read())):new ay(new sy(n)):new ay(new sy(function(){return mf(this,arguments,function*(){})}()))})}function XI(n){return yi(this,void 0,void 0,function*(){const{size:e}=yield n.stat(),r=new ey(n,e);return e>=HI&&F2(yield r.readAt(0,Qm+7&-8))?new GI(new WI(r)):new ay(new sy(r))})}class Qo extends aa{constructor(){super(),this._byteLength=0,this._nodes=[],this._buffers=[],this._bufferRegions=[]}static assemble(...e){const r=z=>z.flatMap(k=>Array.isArray(k)?r(k):k instanceof ql?k.data.children:k.data),E=new Qo;return E.visitMany(r(e)),E}visit(e){if(e instanceof Ta)return this.visitMany(e.data),this;const{type:r}=e;if(!_i.isDictionary(r)){const{length:E,nullCount:z}=e;if(E>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");_i.isNull(r)||Dc.call(this,z<=0?new Uint8Array(0):k2(e.offset,E,e.nullBitmap)),this.nodes.push(new Jd(E,z))}return super.visit(e)}visitNull(e){return this}visitDictionary(e){return this.visit(e.clone(e.type.indices))}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function Dc(n){const e=n.byteLength+7&-8;return this.buffers.push(n),this.bufferRegions.push(new gf(this._byteLength,e)),this._byteLength+=e,this}function KI(n){const{type:e,length:r,typeIds:E,valueOffsets:z}=n;if(Dc.call(this,E),e.mode===xu.Sparse)return ex.call(this,n);if(e.mode===xu.Dense){if(n.offset<=0)return Dc.call(this,z),ex.call(this,n);{const k=E.reduce((i,M)=>Math.max(i,M),E[0]),m=new Int32Array(k+1),t=new Int32Array(k+1).fill(-1),d=new Int32Array(r),y=v2(-z[0],r,z);for(let i,M,g=-1;++g=n.length?Dc.call(this,new Uint8Array(0)):(e=n.values)instanceof Uint8Array?Dc.call(this,k2(n.offset,n.length,e)):Dc.call(this,Wv(n.values))}function Qh(n){return Dc.call(this,n.values.subarray(0,n.length*n.stride))}function AM(n){const{length:e,values:r,valueOffsets:E}=n,z=E[0],k=E[e],m=Math.min(k-z,r.byteLength-z);return Dc.call(this,v2(-E[0],e,E)),Dc.call(this,r.subarray(z,z+m)),this}function B2(n){const{length:e,valueOffsets:r}=n;return r&&Dc.call(this,v2(r[0],e,r)),this.visit(n.children[0])}function ex(n){return this.visitMany(n.type.children.map((e,r)=>n.children[r]).filter(Boolean))[0]}Qo.prototype.visitBool=JI;Qo.prototype.visitInt=Qh;Qo.prototype.visitFloat=Qh;Qo.prototype.visitUtf8=AM;Qo.prototype.visitBinary=AM;Qo.prototype.visitFixedSizeBinary=Qh;Qo.prototype.visitDate=Qh;Qo.prototype.visitTimestamp=Qh;Qo.prototype.visitTime=Qh;Qo.prototype.visitDecimal=Qh;Qo.prototype.visitList=B2;Qo.prototype.visitStruct=ex;Qo.prototype.visitUnion=KI;Qo.prototype.visitInterval=Qh;Qo.prototype.visitFixedSizeList=B2;Qo.prototype.visitMap=B2;class SM extends E2{constructor(e){super(),this._position=0,this._started=!1,this._sink=new bv,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,Zl(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof e.autoDestroy=="boolean"?e.autoDestroy:!0,this._writeLegacyIpcFormat=typeof e.writeLegacyIpcFormat=="boolean"?e.writeLegacyIpcFormat:!1}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}toString(e=!1){return this._sink.toString(e)}toUint8Array(e=!1){return this._sink.toUint8Array(e)}writeAll(e){return Uh(e)?e.then(r=>this.writeAll(r)):g0(e)?U2(this,e):j2(this,e)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(e){return this._sink.toDOMStream(e)}toNodeStream(e){return this._sink.toNodeStream(e)}close(){return this.reset()._sink.close()}abort(e){return this.reset()._sink.abort(e)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(e=this._sink,r=null){return e===this._sink||e instanceof bv?this._sink=e:(this._sink=new bv,e&&b9(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&x9(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,(!r||!Xb(r,this._schema))&&(r==null?(this._position=0,this._schema=null):(this._started=!0,this._schema=r,this._writeSchema(r))),this}write(e){let r=null;if(this._sink){if(e==null)return this.finish()&&void 0;if(e instanceof vl&&!(r=e.schema))return this.finish()&&void 0;if(e instanceof ql&&!(r=e.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(r&&!Xb(r,this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,r)}e instanceof ql?e instanceof R2||this._writeRecordBatch(e):e instanceof vl?this.writeAll(e.batches):Zm(e)&&this.writeAll(e)}_writeMessage(e,r=8){const E=r-1,z=_l.encode(e),k=z.byteLength,m=this._writeLegacyIpcFormat?4:8,t=k+m+E&~E,d=t-k-m;return e.headerType===Ca.RecordBatch?this._recordBatchBlocks.push(new qh(t,e.bodyLength,this._position)):e.headerType===Ca.DictionaryBatch&&this._dictionaryBlocks.push(new qh(t,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(t-m)),k>0&&this._write(z),this._writePadding(d)}_write(e){if(this._started){const r=_a(e);r&&r.byteLength>0&&(this._sink.write(r),this._position+=r.byteLength)}return this}_writeSchema(e){return this._writeMessage(_l.from(e))}_writeFooter(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(Rm)}_writePadding(e){return e>0?this._write(new Uint8Array(e)):this}_writeRecordBatch(e){const{byteLength:r,nodes:E,bufferRegions:z,buffers:k}=Qo.assemble(e),m=new _u(e.numRows,E,z),t=_l.from(m,r);return this._writeDictionaries(e)._writeMessage(t)._writeBodyBuffers(k)}_writeDictionaryBatch(e,r,E=!1){this._dictionaryDeltaOffsets.set(r,e.length+(this._dictionaryDeltaOffsets.get(r)||0));const{byteLength:z,nodes:k,bufferRegions:m,buffers:t}=Qo.assemble(new Ta([e])),d=new _u(e.length,k,m),y=new wf(d,r,E),i=_l.from(y,z);return this._writeMessage(i)._writeBodyBuffers(t)}_writeBodyBuffers(e){let r,E,z;for(let k=-1,m=e.length;++k0&&(this._write(r),(z=(E+7&-8)-E)>0&&this._writePadding(z));return this}_writeDictionaries(e){for(let[r,E]of e.dictionaries){let z=this._dictionaryDeltaOffsets.get(r)||0;if(z===0||(E=E==null?void 0:E.slice(z)).length>0)for(const k of E.data)this._writeDictionaryBatch(k,r,z>0),z+=k.length}return this}}class N2 extends SM{static writeAll(e,r){const E=new N2(r);return Uh(e)?e.then(z=>E.writeAll(z)):g0(e)?U2(E,e):j2(E,e)}}class V2 extends SM{static writeAll(e){const r=new V2;return Uh(e)?e.then(E=>r.writeAll(E)):g0(e)?U2(r,e):j2(r,e)}constructor(){super(),this._autoDestroy=!0}_writeSchema(e){return this._writeMagic()._writePadding(2)}_writeFooter(e){const r=Pm.encode(new Pm(e,gu.V4,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(e)._write(r)._write(Int32Array.of(r.byteLength))._writeMagic()}}function j2(n,e){let r=e;e instanceof vl&&(r=e.batches,n.reset(void 0,e.schema));for(const E of r)n.write(E);return n.finish()}function U2(n,e){var r,E,z,k;return yi(this,void 0,void 0,function*(){try{for(r=Nd(e);E=yield r.next(),!E.done;){const m=E.value;n.write(m)}}catch(m){z={error:m}}finally{try{E&&!E.done&&(k=r.return)&&(yield k.call(r))}finally{if(z)throw z.error}}return n.finish()})}function lm(n){const e=eh.from(n);return Uh(e)?e.then(r=>lm(r)):e.isAsync()?e.readAll().then(r=>new vl(r)):new vl(e.readAll())}function pb(n,e="stream"){return(e==="stream"?N2:V2).writeAll(n).toUint8Array(!0)}var tx=function(){function n(e,r,E,z){var k=this;this.getCell=function(m,t){var d=m=k.headerRows&&t=k.headerColumns;if(d){var M=["blank"];return t>0&&M.push("level"+m),{type:"blank",classNames:M.join(" "),content:""}}else if(i){var g=t-k.headerColumns,M=["col_heading","level"+m,"col"+g];return{type:"columns",classNames:M.join(" "),content:k.getContent(k.columnsTable,g,m)}}else if(y){var h=m-k.headerRows,M=["row_heading","level"+t,"row"+h];return{type:"index",id:"T_".concat(k.uuid,"level").concat(t,"_row").concat(h),classNames:M.join(" "),content:k.getContent(k.indexTable,h,t)}}else{var h=m-k.headerRows,g=t-k.headerColumns,M=["data","row"+h,"col"+g],l=k.styler?k.getContent(k.styler.displayValuesTable,h,g):k.getContent(k.dataTable,h,g);return{type:"data",id:"T_".concat(k.uuid,"row").concat(h,"_col").concat(g),classNames:M.join(" "),content:l}}},this.getContent=function(m,t,d){var y=m.getChildAt(d);if(y===null)return"";var i=k.getColumnTypeId(m,d);switch(i){case Jn.Timestamp:return k.nanosToDate(y.get(t));default:return y.get(t)}},this.dataTable=lm(e),this.indexTable=lm(r),this.columnsTable=lm(E),this.styler=z?{caption:z.caption,displayValuesTable:lm(z.displayValues),styles:z.styles,uuid:z.uuid}:void 0}return Object.defineProperty(n.prototype,"rows",{get:function(){return this.indexTable.numRows+this.columnsTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataRows",{get:function(){return this.dataTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"table",{get:function(){return this.dataTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"index",{get:function(){return this.indexTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!1,configurable:!0}),n.prototype.serialize=function(){return{data:pb(this.dataTable),index:pb(this.indexTable),columns:pb(this.columnsTable)}},n.prototype.getColumnTypeId=function(e,r){return e.schema.fields[r].type.typeId},n.prototype.nanosToDate=function(e){return new Date(e/1e6)},n}(),gm=globalThis&&globalThis.__assign||function(){return gm=Object.assign||function(n){for(var e,r=1,E=arguments.length;r0?n.argsDataframeToObject(e.dfs):{};r=gm(gm({},r),E);var z=!!e.disabled,k=e.theme;k&&QI(k);var m={disabled:z,args:r,theme:k},t=new CustomEvent(n.RENDER_EVENT,{detail:m});n.events.dispatchEvent(t)},n.argsDataframeToObject=function(e){var r=e.map(function(E){var z=E.key,k=E.value;return[z,n.toArrowTable(k)]});return Object.fromEntries(r)},n.toArrowTable=function(e){var r,E=(r=e.data,r.data),z=r.index,k=r.columns,m=r.styler;return new tx(E,z,k,m)},n.sendBackMsg=function(e,r){window.parent.postMessage(gm({isStreamlitMessage:!0,type:e},r),"*")},n}(),QI=function(n){var e=document.createElement("style");document.head.appendChild(e),e.innerHTML=` +]`}concat(...e){const r=this.schema,E=this.data.concat(e.flatMap(({data:z})=>z));return new vl(r,E.map(z=>new Wl(r,z)))}slice(e,r){const E=this.schema;[e,r]=Wk({length:this.numRows},e,r);const z=Xk(this.data,this._offsets,e,r);return new vl(E,z.map(k=>new Wl(E,k)))}getChild(e){return this.getChildAt(this.schema.fields.findIndex(r=>r.name===e))}getChildAt(e){if(e>-1&&eE.children[e]);if(r.length===0){const{type:E}=this.schema.fields[e],z=ia({type:E,length:0,nullCount:0});r.push(z._changeLengthAndBackfillNullBitmap(this.numRows))}return new Ta(r)}return null}setChild(e,r){var E;return this.setChildAt((E=this.schema.fields)===null||E===void 0?void 0:E.findIndex(z=>z.name===e),r)}setChildAt(e,r){let E=this.schema,z=[...this.batches];if(e>-1&&ethis.getChildAt(y));[k[e],t[e]]=[m,r],[E,z]=hb(E,t)}return new vl(E,z)}select(e){const r=this.schema.fields.reduce((E,z,k)=>E.set(z.name,k),new Map);return this.selectAt(e.map(E=>r.get(E)).filter(E=>E>-1))}selectAt(e){const r=this.schema.selectAt(e),E=this.batches.map(z=>z.selectAt(e));return new vl(r,E)}assign(e){const r=this.schema.fields,[E,z]=e.schema.fields.reduce((t,d,y)=>{const[i,M]=t,g=r.findIndex(h=>h.name===d.name);return~g?M[g]=y:i.push(y),t},[[],[]]),k=this.schema.assign(e.schema),m=[...r.map((t,d)=>[d,z[d]]).map(([t,d])=>d===void 0?this.getChildAt(t):e.getChildAt(d)),...E.map(t=>e.getChildAt(t))].filter(Boolean);return new vl(...hb(k,m))}}cM=Symbol.toStringTag;vl[cM]=(n=>(n.schema=null,n.batches=[],n._offsets=new Uint32Array([0]),n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,n.isValid=Wp(S2),n.get=Wp(Xl.getVisitFn(Jn.Struct)),n.set=Kk(tc.getVisitFn(Jn.Struct)),n.indexOf=Jk(Wv.getVisitFn(Jn.Struct)),n.getByteLength=Wp(_f.getVisitFn(Jn.Struct)),"Table"))(vl.prototype);var fM;let Wl=class sm{constructor(...e){switch(e.length){case 2:{if([this.schema]=e,!(this.schema instanceof Ea))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");if([,this.data=ia({nullCount:0,type:new xl(this.schema.fields),children:this.schema.fields.map(r=>ia({type:r.type,nullCount:0}))})]=e,!(this.data instanceof Qa))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=s5(this.schema,this.data.children);break}case 1:{const[r]=e,{fields:E,children:z,length:k}=Object.keys(r).reduce((d,y,i)=>(d.children[i]=r[y],d.length=Math.max(d.length,r[y].length),d.fields[i]=ao.new({name:y,type:r[y].type,nullable:!0}),d),{length:0,fields:new Array,children:new Array}),m=new Ea(E),t=ia({type:new xl(E),length:k,children:z,nullCount:0});[this.schema,this.data]=s5(m,t.children,k);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=hM(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(e){return this.data.getValid(e)}get(e){return Xl.visit(this.data,e)}set(e,r){return tc.visit(this.data,e,r)}indexOf(e,r){return Wv.visit(this.data,e,r)}getByteLength(e){return _f.visit(this.data,e)}[Symbol.iterator](){return C2.visit(new Ta([this.data]))}toArray(){return[...this]}concat(...e){return new vl(this.schema,[this,...e])}slice(e,r){const[E]=new Ta([this.data]).slice(e,r).data;return new sm(this.schema,E)}getChild(e){var r;return this.getChildAt((r=this.schema.fields)===null||r===void 0?void 0:r.findIndex(E=>E.name===e))}getChildAt(e){return e>-1&&ez.name===e),r)}setChildAt(e,r){let E=this.schema,z=this.data;if(e>-1&&et.name===k);~m&&(z[m]=this.data.children[m])}return new sm(r,ia({type:E,length:this.numRows,children:z}))}selectAt(e){const r=this.schema.selectAt(e),E=e.map(k=>this.data.children[k]).filter(Boolean),z=ia({type:new xl(r.fields),length:this.numRows,children:E});return new sm(r,z)}};fM=Symbol.toStringTag;Wl[fM]=(n=>(n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(Wl.prototype);function s5(n,e,r=e.reduce((E,z)=>Math.max(E,z.length),0)){var E;const z=[...n.fields],k=[...e],m=(r+63&-64)>>3;for(const[t,d]of n.fields.entries()){const y=e[t];(!y||y.length!==r)&&(z[t]=d.clone({nullable:!0}),k[t]=(E=y==null?void 0:y._changeLengthAndBackfillNullBitmap(r))!==null&&E!==void 0?E:ia({type:d.type,length:r,nullCount:r,nullBitmap:new Uint8Array(m)}))}return[n.assign(z),ia({type:new xl(z),length:r,children:k})]}function hM(n,e,r=new Map){for(let E=-1,z=n.length;++E0&&hM(m.children,t.children,r)}return r}class R2 extends Wl{constructor(e){const r=e.fields.map(z=>ia({type:z.type})),E=ia({type:new xl(e.fields),nullCount:0,children:r});super(e,E)}}var ty;(function(n){n[n.BUFFER=0]="BUFFER"})(ty||(ty={}));var ny;(function(n){n[n.LZ4_FRAME=0]="LZ4_FRAME",n[n.ZSTD=1]="ZSTD"})(ny||(ny={}));class Rh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsBodyCompression(e,r){return(r||new Rh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBodyCompression(e,r){return e.setPosition(e.position()+Wa),(r||new Rh).__init(e.readInt32(e.position())+e.position(),e)}codec(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt8(this.bb_pos+e):ny.LZ4_FRAME}method(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt8(this.bb_pos+e):ty.BUFFER}static startBodyCompression(e){e.startObject(2)}static addCodec(e,r){e.addFieldInt8(0,r,ny.LZ4_FRAME)}static addMethod(e,r){e.addFieldInt8(1,r,ty.BUFFER)}static endBodyCompression(e){return e.endObject()}static createBodyCompression(e,r,E){return Rh.startBodyCompression(e),Rh.addCodec(e,r),Rh.addMethod(e,E),Rh.endBodyCompression(e)}}let dM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(e,r,E){return e.prep(8,16),e.writeInt64(E),e.writeInt64(r),e.offset()}},pM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(e,r,E){return e.prep(8,16),e.writeInt64(E),e.writeInt64(r),e.offset()}},Yf=class Kb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsRecordBatch(e,r){return(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}length(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}nodes(e,r){const E=this.bb.__offset(this.bb_pos,6);return E?(r||new pM).__init(this.bb.__vector(this.bb_pos+E)+e*16,this.bb):null}nodesLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}buffers(e,r){const E=this.bb.__offset(this.bb_pos,8);return E?(r||new dM).__init(this.bb.__vector(this.bb_pos+E)+e*16,this.bb):null}buffersLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}compression(e){const r=this.bb.__offset(this.bb_pos,10);return r?(e||new Rh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}static startRecordBatch(e){e.startObject(4)}static addLength(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addNodes(e,r){e.addFieldOffset(1,r,0)}static startNodesVector(e,r){e.startVector(16,r,8)}static addBuffers(e,r){e.addFieldOffset(2,r,0)}static startBuffersVector(e,r){e.startVector(16,r,8)}static addCompression(e,r){e.addFieldOffset(3,r,0)}static endRecordBatch(e){return e.endObject()}},Dp=class Jb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsDictionaryBatch(e,r){return(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}id(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}data(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new Yf).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}isDelta(){const e=this.bb.__offset(this.bb_pos,8);return e?!!this.bb.readInt8(this.bb_pos+e):!1}static startDictionaryBatch(e){e.startObject(3)}static addId(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addData(e,r){e.addFieldOffset(1,r,0)}static addIsDelta(e,r){e.addFieldInt8(2,+r,0)}static endDictionaryBatch(e){return e.endObject()}};var ry;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(ry||(ry={}));let Eh=class nf{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsMessage(e,r){return(r||new nf).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,r){return e.setPosition(e.position()+Wa),(r||new nf).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}headerType(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):ry.NONE}header(e){const r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__union(e,this.bb_pos+r):null}bodyLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}customMetadata(e,r){const E=this.bb.__offset(this.bb_pos,12);return E?(r||new hs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+E)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startMessage(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addHeaderType(e,r){e.addFieldInt8(1,r,ry.NONE)}static addHeader(e,r){e.addFieldOffset(2,r,0)}static addBodyLength(e,r){e.addFieldInt64(3,r,e.createLong(0,0))}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let E=r.length-1;E>=0;E--)e.addOffset(r[E]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endMessage(e){return e.endObject()}static finishMessageBuffer(e,r){e.finish(r)}static finishSizePrefixedMessageBuffer(e,r){e.finish(r,void 0,!0)}static createMessage(e,r,E,z,k,m){return nf.startMessage(e),nf.addVersion(e,r),nf.addHeaderType(e,E),nf.addHeader(e,z),nf.addBodyLength(e,k),nf.addCustomMetadata(e,m),nf.endMessage(e)}};var pI=Qf;class mI extends aa{visit(e,r){return e==null||r==null?void 0:super.visit(e,r)}visitNull(e,r){return Id.startNull(r),Id.endNull(r)}visitInt(e,r){return mu.startInt(r),mu.addBitWidth(r,e.bitWidth),mu.addIsSigned(r,e.isSigned),mu.endInt(r)}visitFloat(e,r){return hf.startFloatingPoint(r),hf.addPrecision(r,e.precision),hf.endFloatingPoint(r)}visitBinary(e,r){return Cd.startBinary(r),Cd.endBinary(r)}visitBool(e,r){return Ed.startBool(r),Ed.endBool(r)}visitUtf8(e,r){return Od.startUtf8(r),Od.endUtf8(r)}visitDecimal(e,r){return Gl.startDecimal(r),Gl.addScale(r,e.scale),Gl.addPrecision(r,e.precision),Gl.addBitWidth(r,e.bitWidth),Gl.endDecimal(r)}visitDate(e,r){return gv.startDate(r),gv.addUnit(r,e.unit),gv.endDate(r)}visitTime(e,r){return Yu.startTime(r),Yu.addUnit(r,e.unit),Yu.addBitWidth(r,e.bitWidth),Yu.endTime(r)}visitTimestamp(e,r){const E=e.timezone&&r.createString(e.timezone)||void 0;return Zu.startTimestamp(r),Zu.addUnit(r,e.unit),E!==void 0&&Zu.addTimezone(r,E),Zu.endTimestamp(r)}visitInterval(e,r){return df.startInterval(r),df.addUnit(r,e.unit),df.endInterval(r)}visitList(e,r){return Ld.startList(r),Ld.endList(r)}visitStruct(e,r){return Pd.startStruct_(r),Pd.endStruct_(r)}visitUnion(e,r){ql.startTypeIdsVector(r,e.typeIds.length);const E=ql.createTypeIdsVector(r,e.typeIds);return ql.startUnion(r),ql.addMode(r,e.mode),ql.addTypeIds(r,E),ql.endUnion(r)}visitDictionary(e,r){const E=this.visit(e.indices,r);return Xf.startDictionaryEncoding(r),Xf.addId(r,new pI(e.id,0)),Xf.addIsOrdered(r,e.isOrdered),E!==void 0&&Xf.addIndexType(r,E),Xf.endDictionaryEncoding(r)}visitFixedSizeBinary(e,r){return cf.startFixedSizeBinary(r),cf.addByteWidth(r,e.byteWidth),cf.endFixedSizeBinary(r)}visitFixedSizeList(e,r){return ff.startFixedSizeList(r),ff.addListSize(r,e.listSize),ff.endFixedSizeList(r)}visitMap(e,r){return vv.startMap(r),vv.addKeysSorted(r,e.keysSorted),vv.endMap(r)}}const db=new mI;function gI(n,e=new Map){return new Ea(yI(n,e),xv(n.customMetadata),e)}function mM(n){return new _u(n.count,gM(n.columns),vM(n.columns))}function vI(n){return new wf(mM(n.data),n.id,n.isDelta)}function yI(n,e){return(n.fields||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function l5(n,e){return(n.children||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function gM(n){return(n||[]).reduce((e,r)=>[...e,new Jd(r.count,bI(r.VALIDITY)),...gM(r.children)],[])}function vM(n,e=[]){for(let r=-1,E=(n||[]).length;++re+ +(r===0),0)}function xI(n,e){let r,E,z,k,m,t;return!e||!(k=n.dictionary)?(m=c5(n,l5(n,e)),z=new ao(n.name,m,n.nullable,xv(n.customMetadata))):e.has(r=k.id)?(E=(E=k.indexType)?u5(E):new Lm,t=new Kp(e.get(r),E,r,k.isOrdered),z=new ao(n.name,t,n.nullable,xv(n.customMetadata))):(E=(E=k.indexType)?u5(E):new Lm,e.set(r,m=c5(n,l5(n,e))),t=new Kp(m,E,r,k.isOrdered),z=new ao(n.name,t,n.nullable,xv(n.customMetadata))),z||null}function xv(n){return new Map(Object.entries(n||{}))}function u5(n){return new qh(n.isSigned,n.bitWidth)}function c5(n,e){const r=n.type.name;switch(r){case"NONE":return new Gh;case"null":return new Gh;case"binary":return new Ov;case"utf8":return new Rv;case"bool":return new Dv;case"list":return new Vv((e||[])[0]);case"struct":return new xl(e||[]);case"struct_":return new xl(e||[])}switch(r){case"int":{const E=n.type;return new qh(E.isSigned,E.bitWidth)}case"floatingpoint":{const E=n.type;return new Im($l[E.precision])}case"decimal":{const E=n.type;return new zv(E.scale,E.precision,E.bitWidth)}case"date":{const E=n.type;return new Fv(rh[E.unit])}case"time":{const E=n.type;return new Pm(wa[E.unit],E.bitWidth)}case"timestamp":{const E=n.type;return new Bv(wa[E.unit],E.timezone)}case"interval":{const E=n.type;return new Nv(Hh[E.unit])}case"union":{const E=n.type;return new jv(xu[E.mode],E.typeIds||[],e||[])}case"fixedsizebinary":{const E=n.type;return new Uv(E.byteWidth)}case"fixedsizelist":{const E=n.type;return new Hv(E.listSize,(e||[])[0])}case"map":{const E=n.type;return new Gv((e||[])[0],E.keysSorted)}}throw new Error(`Unrecognized type: "${r}"`)}var Gd=Qf,_I=oM,wI=Jp;class _l{constructor(e,r,E,z){this._version=r,this._headerType=E,this.body=new Uint8Array(0),z&&(this._createHeader=()=>z),this._bodyLength=typeof e=="number"?e:e.low}static fromJSON(e,r){const E=new _l(0,gu.V4,r);return E._createHeader=TI(e,r),E}static decode(e){e=new wI(_a(e));const r=Eh.getRootAsMessage(e),E=r.bodyLength(),z=r.version(),k=r.headerType(),m=new _l(E,z,k);return m._createHeader=kI(r,k),m}static encode(e){const r=new _I;let E=-1;return e.isSchema()?E=Ea.encode(r,e.header()):e.isRecordBatch()?E=_u.encode(r,e.header()):e.isDictionaryBatch()&&(E=wf.encode(r,e.header())),Eh.startMessage(r),Eh.addVersion(r,gu.V4),Eh.addHeader(r,E),Eh.addHeaderType(r,e.headerType),Eh.addBodyLength(r,new Gd(e.bodyLength,0)),Eh.finishMessageBuffer(r,Eh.endMessage(r)),r.asUint8Array()}static from(e,r=0){if(e instanceof Ea)return new _l(0,gu.V4,Ca.Schema,e);if(e instanceof _u)return new _l(r,gu.V4,Ca.RecordBatch,e);if(e instanceof wf)return new _l(r,gu.V4,Ca.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===Ca.Schema}isRecordBatch(){return this.headerType===Ca.RecordBatch}isDictionaryBatch(){return this.headerType===Ca.DictionaryBatch}}class _u{constructor(e,r,E){this._nodes=r,this._buffers=E,this._length=typeof e=="number"?e:e.low}get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}}class wf{constructor(e,r,E=!1){this._data=e,this._isDelta=E,this._id=typeof r=="number"?r:r.low}get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}}class gf{constructor(e,r){this.offset=typeof e=="number"?e:e.low,this.length=typeof r=="number"?r:r.low}}class Jd{constructor(e,r){this.length=typeof e=="number"?e:e.low,this.nullCount=typeof r=="number"?r:r.low}}function TI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.fromJSON(n);case Ca.RecordBatch:return _u.fromJSON(n);case Ca.DictionaryBatch:return wf.fromJSON(n)}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}function kI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.decode(n.header(new rf));case Ca.RecordBatch:return _u.decode(n.header(new Yf),n.version());case Ca.DictionaryBatch:return wf.decode(n.header(new Dp),n.version())}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}ao.encode=DI;ao.decode=OI;ao.fromJSON=xI;Ea.encode=RI;Ea.decode=MI;Ea.fromJSON=gI;_u.encode=zI;_u.decode=AI;_u.fromJSON=mM;wf.encode=FI;wf.decode=SI;wf.fromJSON=vI;Jd.encode=BI;Jd.decode=EI;gf.encode=NI;gf.decode=CI;function MI(n,e=new Map){const r=PI(n,e);return new Ea(r,_v(n),e)}function AI(n,e=gu.V4){if(n.compression()!==null)throw new Error("Record batch compression not implemented");return new _u(n.length(),LI(n),II(n,e))}function SI(n,e=gu.V4){return new wf(_u.decode(n.data(),e),n.id(),n.isDelta())}function CI(n){return new gf(n.offset(),n.length())}function EI(n){return new Jd(n.length(),n.nullCount())}function LI(n){const e=[];for(let r,E=-1,z=-1,k=n.nodesLength();++Eao.encode(n,k));rf.startFieldsVector(n,r.length);const E=rf.createFieldsVector(n,r),z=e.metadata&&e.metadata.size>0?rf.createCustomMetadataVector(n,[...e.metadata].map(([k,m])=>{const t=n.createString(`${k}`),d=n.createString(`${m}`);return hs.startKeyValue(n),hs.addKey(n,t),hs.addValue(n,d),hs.endKeyValue(n)})):-1;return rf.startSchema(n),rf.addFields(n,E),rf.addEndianness(n,VI?e0.Little:e0.Big),z!==-1&&rf.addCustomMetadata(n,z),rf.endSchema(n)}function DI(n,e){let r=-1,E=-1,z=-1;const k=e.type;let m=e.typeId;_i.isDictionary(k)?(m=k.dictionary.typeId,z=db.visit(k,n),E=db.visit(k.dictionary,n)):E=db.visit(k,n);const t=(k.children||[]).map(i=>ao.encode(n,i)),d=qu.createChildrenVector(n,t),y=e.metadata&&e.metadata.size>0?qu.createCustomMetadataVector(n,[...e.metadata].map(([i,M])=>{const g=n.createString(`${i}`),h=n.createString(`${M}`);return hs.startKeyValue(n),hs.addKey(n,g),hs.addValue(n,h),hs.endKeyValue(n)})):-1;return e.name&&(r=n.createString(e.name)),qu.startField(n),qu.addType(n,E),qu.addTypeType(n,m),qu.addChildren(n,d),qu.addNullable(n,!!e.nullable),r!==-1&&qu.addName(n,r),z!==-1&&qu.addDictionary(n,z),y!==-1&&qu.addCustomMetadata(n,y),qu.endField(n)}function zI(n,e){const r=e.nodes||[],E=e.buffers||[];Yf.startNodesVector(n,r.length);for(const m of r.slice().reverse())Jd.encode(n,m);const z=n.endVector();Yf.startBuffersVector(n,E.length);for(const m of E.slice().reverse())gf.encode(n,m);const k=n.endVector();return Yf.startRecordBatch(n),Yf.addLength(n,new Gd(e.length,0)),Yf.addNodes(n,z),Yf.addBuffers(n,k),Yf.endRecordBatch(n)}function FI(n,e){const r=_u.encode(n,e.data);return Dp.startDictionaryBatch(n),Dp.addId(n,new Gd(e.id,0)),Dp.addIsDelta(n,e.isDelta),Dp.addData(n,r),Dp.endDictionaryBatch(n)}function BI(n,e){return pM.createFieldNode(n,new Gd(e.length,0),new Gd(e.nullCount,0))}function NI(n,e){return dM.createBuffer(n,new Gd(e.offset,0),new Gd(e.length,0))}const VI=(()=>{const n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256})(),D2=n=>`Expected ${Ca[n]} Message in stream, but was null or length 0.`,z2=n=>`Header pointer of flatbuffer-encoded ${Ca[n]} Message is null or length 0.`,yM=(n,e)=>`Expected to read ${n} metadata bytes, but only read ${e}.`,bM=(n,e)=>`Expected to read ${n} bytes for message body, but only read ${e}.`;class xM{constructor(e){this.source=e instanceof Qv?e:new Qv(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||e.value===-1&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?So:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const r=_a(this.source.read(e));if(r.byteLength[...z,...k.VALIDITY&&[k.VALIDITY]||[],...k.TYPE&&[k.TYPE]||[],...k.OFFSET&&[k.OFFSET]||[],...k.DATA&&[k.DATA]||[],...r(k.children)],[])}}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readSchema(){const e=Ca.Schema,r=this.readMessage(e),E=r==null?void 0:r.header();if(!r||!E)throw new Error(z2(e));return E}}const qy=4,Qb="ARROW1",Rm=new Uint8Array(Qb.length);for(let n=0;nthis):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return $u.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return $u.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof eh?e:Ub(e)?$I(e):j4(e)?XI(e):Uh(e)?(()=>yi(this,void 0,void 0,function*(){return yield eh.from(yield e)}))():U4(e)||m2(e)||H4(e)||g0(e)?ZI(new n0(e)):YI(new Qv(e))}static readAll(e){return e instanceof eh?e.isSync()?p5(e):m5(e):Ub(e)||ArrayBuffer.isView(e)||Zm(e)||V4(e)?p5(e):m5(e)}}class iy extends eh{constructor(e){super(e),this._impl=e}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return mf(this,arguments,function*(){yield zi(yield*mv(Nd(this[Symbol.iterator]())))})}}class ay extends eh{constructor(e){super(e),this._impl=e}readAll(){var e,r;return yi(this,void 0,void 0,function*(){const E=new Array;try{for(var z=Nd(this),k;k=yield z.next(),!k.done;){const m=k.value;E.push(m)}}catch(m){e={error:m}}finally{try{k&&!k.done&&(r=z.return)&&(yield r.call(z))}finally{if(e)throw e.error}}return E})}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class wM extends iy{constructor(e){super(e),this._impl=e}}class GI extends ay{constructor(e){super(e),this._impl=e}}class TM{constructor(e=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,r){const E=this._loadVectors(e,r,this.schema.fields),z=ia({type:new xl(this.schema.fields),length:e.length,children:E});return new Wl(this.schema,z)}_loadDictionaryBatch(e,r){const{id:E,isDelta:z}=e,{dictionaries:k,schema:m}=this,t=k.get(E);if(z||!t){const d=m.dictionaries.get(E),y=this._loadVectors(e.data,r,[d]);return(t&&z?t.concat(new Ta(y)):new Ta(y)).memoize()}return t.memoize()}_loadVectors(e,r,E){return new uM(r,e.nodes,e.buffers,this.dictionaries).visitMany(E)}}class oy extends TM{constructor(e,r){super(r),this._reader=Ub(e)?new UI(this._handle=e):new xM(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=MM(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):So}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):So}next(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const E=e.header(),z=r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(E,z)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const E=e.header(),z=r.readMessageBody(e.bodyLength),k=this._loadDictionaryBatch(E,z);this.dictionaries.set(E.id,k)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new R2(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class sy extends TM{constructor(e,r){super(r),this._reader=new jI(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return yi(this,void 0,void 0,function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)})}open(e){return yi(this,void 0,void 0,function*(){return this.closed||(this.autoDestroy=MM(this,e),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this})}throw(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(e):So})}return(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(e):So})}next(){return yi(this,void 0,void 0,function*(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=yield this._readNextMessageAndValidate();)if(e.isSchema())yield this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const E=e.header(),z=yield r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(E,z)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const E=e.header(),z=yield r.readMessageBody(e.bodyLength),k=this._loadDictionaryBatch(E,z);this.dictionaries.set(E.id,k)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new R2(this.schema)}):yield this.return()})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){return yield this._reader.readMessage(e)})}}class kM extends oy{constructor(e,r){super(e instanceof o5?e:new o5(e),r)}get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const r of this._footer.dictionaryBatches())r&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){var r;if(this.closed)return null;this._footer||this.open();const E=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(E&&this._handle.seek(E.offset)){const z=this._reader.readMessage(Ca.RecordBatch);if(z!=null&&z.isRecordBatch()){const k=z.header(),m=this._reader.readMessageBody(z.bodyLength);return this._loadRecordBatch(k,m)}}return null}_readDictionaryBatch(e){var r;const E=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(E&&this._handle.seek(E.offset)){const z=this._reader.readMessage(Ca.DictionaryBatch);if(z!=null&&z.isDictionaryBatch()){const k=z.header(),m=this._reader.readMessageBody(z.bodyLength),t=this._loadDictionaryBatch(k,m);this.dictionaries.set(k.id,t)}}}_readFooter(){const{_handle:e}=this,r=e.size-_M,E=e.readInt32(r),z=e.readAt(r-E,E);return Om.decode(z)}_readNextMessageAndValidate(e){var r;if(this._footer||this.open(),this._footer&&this._recordBatchIndexsuper.open}});return yi(this,void 0,void 0,function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const E of this._footer.dictionaryBatches())E&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield r.open.call(this,e)})}readRecordBatch(e){var r;return yi(this,void 0,void 0,function*(){if(this.closed)return null;this._footer||(yield this.open());const E=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(E&&(yield this._handle.seek(E.offset))){const z=yield this._reader.readMessage(Ca.RecordBatch);if(z!=null&&z.isRecordBatch()){const k=z.header(),m=yield this._reader.readMessageBody(z.bodyLength);return this._loadRecordBatch(k,m)}}return null})}_readDictionaryBatch(e){var r;return yi(this,void 0,void 0,function*(){const E=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(E&&(yield this._handle.seek(E.offset))){const z=yield this._reader.readMessage(Ca.DictionaryBatch);if(z!=null&&z.isDictionaryBatch()){const k=z.header(),m=yield this._reader.readMessageBody(z.bodyLength),t=this._loadDictionaryBatch(k,m);this.dictionaries.set(k.id,t)}}})}_readFooter(){return yi(this,void 0,void 0,function*(){const{_handle:e}=this;e._pending&&(yield e._pending);const r=e.size-_M,E=yield e.readInt32(r),z=yield e.readAt(r-E,E);return Om.decode(z)})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex=4?F2(e)?new wM(new kM(n.read())):new iy(new oy(n)):new iy(new oy(function*(){}()))}function ZI(n){return yi(this,void 0,void 0,function*(){const e=yield n.peek(Qm+7&-8);return e&&e.byteLength>=4?F2(e)?new wM(new kM(yield n.read())):new ay(new sy(n)):new ay(new sy(function(){return mf(this,arguments,function*(){})}()))})}function XI(n){return yi(this,void 0,void 0,function*(){const{size:e}=yield n.stat(),r=new ey(n,e);return e>=HI&&F2(yield r.readAt(0,Qm+7&-8))?new GI(new qI(r)):new ay(new sy(r))})}class ts extends aa{constructor(){super(),this._byteLength=0,this._nodes=[],this._buffers=[],this._bufferRegions=[]}static assemble(...e){const r=z=>z.flatMap(k=>Array.isArray(k)?r(k):k instanceof Wl?k.data.children:k.data),E=new ts;return E.visitMany(r(e)),E}visit(e){if(e instanceof Ta)return this.visitMany(e.data),this;const{type:r}=e;if(!_i.isDictionary(r)){const{length:E,nullCount:z}=e;if(E>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");_i.isNull(r)||Dc.call(this,z<=0?new Uint8Array(0):k2(e.offset,E,e.nullBitmap)),this.nodes.push(new Jd(E,z))}return super.visit(e)}visitNull(e){return this}visitDictionary(e){return this.visit(e.clone(e.type.indices))}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function Dc(n){const e=n.byteLength+7&-8;return this.buffers.push(n),this.bufferRegions.push(new gf(this._byteLength,e)),this._byteLength+=e,this}function KI(n){const{type:e,length:r,typeIds:E,valueOffsets:z}=n;if(Dc.call(this,E),e.mode===xu.Sparse)return ex.call(this,n);if(e.mode===xu.Dense){if(n.offset<=0)return Dc.call(this,z),ex.call(this,n);{const k=E.reduce((i,M)=>Math.max(i,M),E[0]),m=new Int32Array(k+1),t=new Int32Array(k+1).fill(-1),d=new Int32Array(r),y=v2(-z[0],r,z);for(let i,M,g=-1;++g=n.length?Dc.call(this,new Uint8Array(0)):(e=n.values)instanceof Uint8Array?Dc.call(this,k2(n.offset,n.length,e)):Dc.call(this,qv(n.values))}function Qh(n){return Dc.call(this,n.values.subarray(0,n.length*n.stride))}function AM(n){const{length:e,values:r,valueOffsets:E}=n,z=E[0],k=E[e],m=Math.min(k-z,r.byteLength-z);return Dc.call(this,v2(-E[0],e,E)),Dc.call(this,r.subarray(z,z+m)),this}function B2(n){const{length:e,valueOffsets:r}=n;return r&&Dc.call(this,v2(r[0],e,r)),this.visit(n.children[0])}function ex(n){return this.visitMany(n.type.children.map((e,r)=>n.children[r]).filter(Boolean))[0]}ts.prototype.visitBool=JI;ts.prototype.visitInt=Qh;ts.prototype.visitFloat=Qh;ts.prototype.visitUtf8=AM;ts.prototype.visitBinary=AM;ts.prototype.visitFixedSizeBinary=Qh;ts.prototype.visitDate=Qh;ts.prototype.visitTimestamp=Qh;ts.prototype.visitTime=Qh;ts.prototype.visitDecimal=Qh;ts.prototype.visitList=B2;ts.prototype.visitStruct=ex;ts.prototype.visitUnion=KI;ts.prototype.visitInterval=Qh;ts.prototype.visitFixedSizeList=B2;ts.prototype.visitMap=B2;class SM extends E2{constructor(e){super(),this._position=0,this._started=!1,this._sink=new bv,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,Zl(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof e.autoDestroy=="boolean"?e.autoDestroy:!0,this._writeLegacyIpcFormat=typeof e.writeLegacyIpcFormat=="boolean"?e.writeLegacyIpcFormat:!1}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}toString(e=!1){return this._sink.toString(e)}toUint8Array(e=!1){return this._sink.toUint8Array(e)}writeAll(e){return Uh(e)?e.then(r=>this.writeAll(r)):g0(e)?U2(this,e):j2(this,e)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(e){return this._sink.toDOMStream(e)}toNodeStream(e){return this._sink.toNodeStream(e)}close(){return this.reset()._sink.close()}abort(e){return this.reset()._sink.abort(e)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(e=this._sink,r=null){return e===this._sink||e instanceof bv?this._sink=e:(this._sink=new bv,e&&b9(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&x9(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,(!r||!Xb(r,this._schema))&&(r==null?(this._position=0,this._schema=null):(this._started=!0,this._schema=r,this._writeSchema(r))),this}write(e){let r=null;if(this._sink){if(e==null)return this.finish()&&void 0;if(e instanceof vl&&!(r=e.schema))return this.finish()&&void 0;if(e instanceof Wl&&!(r=e.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(r&&!Xb(r,this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,r)}e instanceof Wl?e instanceof R2||this._writeRecordBatch(e):e instanceof vl?this.writeAll(e.batches):Zm(e)&&this.writeAll(e)}_writeMessage(e,r=8){const E=r-1,z=_l.encode(e),k=z.byteLength,m=this._writeLegacyIpcFormat?4:8,t=k+m+E&~E,d=t-k-m;return e.headerType===Ca.RecordBatch?this._recordBatchBlocks.push(new Wh(t,e.bodyLength,this._position)):e.headerType===Ca.DictionaryBatch&&this._dictionaryBlocks.push(new Wh(t,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(t-m)),k>0&&this._write(z),this._writePadding(d)}_write(e){if(this._started){const r=_a(e);r&&r.byteLength>0&&(this._sink.write(r),this._position+=r.byteLength)}return this}_writeSchema(e){return this._writeMessage(_l.from(e))}_writeFooter(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(Rm)}_writePadding(e){return e>0?this._write(new Uint8Array(e)):this}_writeRecordBatch(e){const{byteLength:r,nodes:E,bufferRegions:z,buffers:k}=ts.assemble(e),m=new _u(e.numRows,E,z),t=_l.from(m,r);return this._writeDictionaries(e)._writeMessage(t)._writeBodyBuffers(k)}_writeDictionaryBatch(e,r,E=!1){this._dictionaryDeltaOffsets.set(r,e.length+(this._dictionaryDeltaOffsets.get(r)||0));const{byteLength:z,nodes:k,bufferRegions:m,buffers:t}=ts.assemble(new Ta([e])),d=new _u(e.length,k,m),y=new wf(d,r,E),i=_l.from(y,z);return this._writeMessage(i)._writeBodyBuffers(t)}_writeBodyBuffers(e){let r,E,z;for(let k=-1,m=e.length;++k0&&(this._write(r),(z=(E+7&-8)-E)>0&&this._writePadding(z));return this}_writeDictionaries(e){for(let[r,E]of e.dictionaries){let z=this._dictionaryDeltaOffsets.get(r)||0;if(z===0||(E=E==null?void 0:E.slice(z)).length>0)for(const k of E.data)this._writeDictionaryBatch(k,r,z>0),z+=k.length}return this}}class N2 extends SM{static writeAll(e,r){const E=new N2(r);return Uh(e)?e.then(z=>E.writeAll(z)):g0(e)?U2(E,e):j2(E,e)}}class V2 extends SM{static writeAll(e){const r=new V2;return Uh(e)?e.then(E=>r.writeAll(E)):g0(e)?U2(r,e):j2(r,e)}constructor(){super(),this._autoDestroy=!0}_writeSchema(e){return this._writeMagic()._writePadding(2)}_writeFooter(e){const r=Om.encode(new Om(e,gu.V4,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(e)._write(r)._write(Int32Array.of(r.byteLength))._writeMagic()}}function j2(n,e){let r=e;e instanceof vl&&(r=e.batches,n.reset(void 0,e.schema));for(const E of r)n.write(E);return n.finish()}function U2(n,e){var r,E,z,k;return yi(this,void 0,void 0,function*(){try{for(r=Nd(e);E=yield r.next(),!E.done;){const m=E.value;n.write(m)}}catch(m){z={error:m}}finally{try{E&&!E.done&&(k=r.return)&&(yield k.call(r))}finally{if(z)throw z.error}}return n.finish()})}function lm(n){const e=eh.from(n);return Uh(e)?e.then(r=>lm(r)):e.isAsync()?e.readAll().then(r=>new vl(r)):new vl(e.readAll())}function pb(n,e="stream"){return(e==="stream"?N2:V2).writeAll(n).toUint8Array(!0)}var tx=function(){function n(e,r,E,z){var k=this;this.getCell=function(m,t){var d=m=k.headerRows&&t=k.headerColumns;if(d){var M=["blank"];return t>0&&M.push("level"+m),{type:"blank",classNames:M.join(" "),content:""}}else if(i){var g=t-k.headerColumns,M=["col_heading","level"+m,"col"+g];return{type:"columns",classNames:M.join(" "),content:k.getContent(k.columnsTable,g,m)}}else if(y){var h=m-k.headerRows,M=["row_heading","level"+t,"row"+h];return{type:"index",id:"T_".concat(k.uuid,"level").concat(t,"_row").concat(h),classNames:M.join(" "),content:k.getContent(k.indexTable,h,t)}}else{var h=m-k.headerRows,g=t-k.headerColumns,M=["data","row"+h,"col"+g],l=k.styler?k.getContent(k.styler.displayValuesTable,h,g):k.getContent(k.dataTable,h,g);return{type:"data",id:"T_".concat(k.uuid,"row").concat(h,"_col").concat(g),classNames:M.join(" "),content:l}}},this.getContent=function(m,t,d){var y=m.getChildAt(d);if(y===null)return"";var i=k.getColumnTypeId(m,d);switch(i){case Jn.Timestamp:return k.nanosToDate(y.get(t));default:return y.get(t)}},this.dataTable=lm(e),this.indexTable=lm(r),this.columnsTable=lm(E),this.styler=z?{caption:z.caption,displayValuesTable:lm(z.displayValues),styles:z.styles,uuid:z.uuid}:void 0}return Object.defineProperty(n.prototype,"rows",{get:function(){return this.indexTable.numRows+this.columnsTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataRows",{get:function(){return this.dataTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"table",{get:function(){return this.dataTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"index",{get:function(){return this.indexTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!1,configurable:!0}),n.prototype.serialize=function(){return{data:pb(this.dataTable),index:pb(this.indexTable),columns:pb(this.columnsTable)}},n.prototype.getColumnTypeId=function(e,r){return e.schema.fields[r].type.typeId},n.prototype.nanosToDate=function(e){return new Date(e/1e6)},n}(),gm=globalThis&&globalThis.__assign||function(){return gm=Object.assign||function(n){for(var e,r=1,E=arguments.length;r0?n.argsDataframeToObject(e.dfs):{};r=gm(gm({},r),E);var z=!!e.disabled,k=e.theme;k&&QI(k);var m={disabled:z,args:r,theme:k},t=new CustomEvent(n.RENDER_EVENT,{detail:m});n.events.dispatchEvent(t)},n.argsDataframeToObject=function(e){var r=e.map(function(E){var z=E.key,k=E.value;return[z,n.toArrowTable(k)]});return Object.fromEntries(r)},n.toArrowTable=function(e){var r,E=(r=e.data,r.data),z=r.index,k=r.columns,m=r.styler;return new tx(E,z,k,m)},n.sendBackMsg=function(e,r){window.parent.postMessage(gm({isStreamlitMessage:!0,type:e},r),"*")},n}(),QI=function(n){var e=document.createElement("style");document.head.appendChild(e),e.innerHTML=` :root { --primary-color: `.concat(n.primaryColor,`; --background-color: `).concat(n.backgroundColor,`; @@ -36,15 +36,15 @@ object-assign background-color: var(--background-color); color: var(--text-color); } - `)};function eO(n){var e=!1;try{e=n instanceof BigInt64Array||n instanceof BigUint64Array}catch{}return n instanceof Int8Array||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array||e}var tO=globalThis&&globalThis.__extends||function(){var n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,z){E.__proto__=z}||function(E,z){for(var k in z)Object.prototype.hasOwnProperty.call(z,k)&&(E[k]=z[k])},n(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");n(e,r);function E(){this.constructor=e}e.prototype=r===null?Object.create(r):(E.prototype=r.prototype,new E)}}();(function(n){tO(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Sc.setFrameHeight()},e.prototype.componentDidUpdate=function(){Sc.setFrameHeight()},e})(p9.PureComponent);const Ns=i2("streamlit-data",{state:()=>({renderData:null,dataForDrawing:{}}),getters:{args:n=>{var e;return(e=n.renderData)==null?void 0:e.args},components(){return this.args.components},allDataForDrawing:n=>n.dataForDrawing,sequenceData:n=>n.dataForDrawing.sequence_data,settings:n=>n.dataForDrawing.settings,internalFragmentData:n=>n.dataForDrawing.internal_fragment_data,theme:n=>{var e;return(e=n.renderData)==null?void 0:e.theme}},actions:{updateRenderData(n){this.renderData=n;function e(E){if(typeof E=="bigint")return Number(E);if(E instanceof Ta){const z=[];for(let k=0;k{if(z instanceof tx){const k=[],m=z.table.schema.fields.map(t=>t.name);for(let t=0;t{var M;d[y]=e((M=z.table.getChildAt(i))==null?void 0:M.get(t))}),k.push(d)}this.dataForDrawing[E]=k}else this.dataForDrawing[E]=z})}}});var CM={exports:{}};(function(n,e){/*! For license information please see plotly.min.js.LICENSE.txt */(function(r,E){n.exports=E()})(self,function(){return function(){var r={98847:function(k,m,t){var d=t(71828),y={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var i in y){var M=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");d.addStyleRule(M,y[i])}},98222:function(k,m,t){k.exports=t(82887)},27206:function(k,m,t){k.exports=t(60822)},59893:function(k,m,t){k.exports=t(23381)},5224:function(k,m,t){k.exports=t(83832)},59509:function(k,m,t){k.exports=t(72201)},75557:function(k,m,t){k.exports=t(91815)},40338:function(k,m,t){k.exports=t(21462)},35080:function(k,m,t){k.exports=t(51319)},61396:function(k,m,t){k.exports=t(57516)},40549:function(k,m,t){k.exports=t(98128)},49866:function(k,m,t){k.exports=t(99442)},36089:function(k,m,t){k.exports=t(93740)},19548:function(k,m,t){k.exports=t(8729)},35831:function(k,m,t){k.exports=t(93814)},61039:function(k,m,t){k.exports=t(14382)},97040:function(k,m,t){k.exports=t(51759)},77986:function(k,m,t){k.exports=t(10421)},24296:function(k,m,t){k.exports=t(43102)},58872:function(k,m,t){k.exports=t(92165)},29626:function(k,m,t){k.exports=t(3325)},65591:function(k,m,t){k.exports=t(36071)},69738:function(k,m,t){k.exports=t(43905)},92650:function(k,m,t){k.exports=t(35902)},35630:function(k,m,t){k.exports=t(69816)},73434:function(k,m,t){k.exports=t(94507)},27909:function(k,m,t){var d=t(19548);d.register([t(27206),t(5224),t(58872),t(65591),t(69738),t(92650),t(49866),t(25743),t(6197),t(97040),t(85461),t(73434),t(54201),t(81299),t(47645),t(35630),t(77986),t(83043),t(93005),t(96881),t(4534),t(50581),t(40549),t(77900),t(47582),t(35080),t(21641),t(17280),t(5861),t(29626),t(10021),t(65317),t(96268),t(61396),t(35831),t(16122),t(46163),t(40344),t(40338),t(48131),t(36089),t(55334),t(75557),t(19440),t(99488),t(59893),t(97393),t(98222),t(61039),t(24296),t(66398),t(59509)]),k.exports=d},46163:function(k,m,t){k.exports=t(15154)},96881:function(k,m,t){k.exports=t(64943)},50581:function(k,m,t){k.exports=t(21164)},55334:function(k,m,t){k.exports=t(54186)},65317:function(k,m,t){k.exports=t(94873)},10021:function(k,m,t){k.exports=t(67618)},54201:function(k,m,t){k.exports=t(58810)},5861:function(k,m,t){k.exports=t(20593)},16122:function(k,m,t){k.exports=t(29396)},83043:function(k,m,t){k.exports=t(13551)},48131:function(k,m,t){k.exports=t(46858)},47582:function(k,m,t){k.exports=t(17988)},21641:function(k,m,t){k.exports=t(68868)},96268:function(k,m,t){k.exports=t(20467)},19440:function(k,m,t){k.exports=t(91271)},99488:function(k,m,t){k.exports=t(21461)},97393:function(k,m,t){k.exports=t(85956)},25743:function(k,m,t){k.exports=t(52979)},66398:function(k,m,t){k.exports=t(32275)},17280:function(k,m,t){k.exports=t(6419)},77900:function(k,m,t){k.exports=t(61510)},81299:function(k,m,t){k.exports=t(87619)},93005:function(k,m,t){k.exports=t(93601)},40344:function(k,m,t){k.exports=t(96595)},47645:function(k,m,t){k.exports=t(70954)},6197:function(k,m,t){k.exports=t(47462)},4534:function(k,m,t){k.exports=t(17659)},85461:function(k,m,t){k.exports=t(19990)},82884:function(k){k.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(k,m,t){var d=t(82884),y=t(41940),i=t(85555),M=t(44467).templatedArray;t(24695),k.exports=M("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:y({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:y({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(k,m,t){var d=t(71828),y=t(89298),i=t(92605).draw;function M(h){var l=h._fullLayout;d.filterVisible(l.annotations).forEach(function(a){var u=y.getFromId(h,a.xref),o=y.getFromId(h,a.yref),s=y.getRefType(a.xref),f=y.getRefType(a.yref);a._extremes={},s==="range"&&g(a,u),f==="range"&&g(a,o)})}function g(h,l){var a,u=l._id,o=u.charAt(0),s=h[o],f=h["a"+o],c=h[o+"ref"],p=h["a"+o+"ref"],w=h["_"+o+"padplus"],v=h["_"+o+"padminus"],S={x:1,y:-1}[o]*h[o+"shift"],x=3*h.arrowsize*h.arrowwidth||0,T=x+S,C=x-S,_=3*h.startarrowsize*h.arrowwidth||0,A=_+S,L=_-S;if(p===c){var b=y.findExtremes(l,[l.r2c(s)],{ppadplus:T,ppadminus:C}),O=y.findExtremes(l,[l.r2c(f)],{ppadplus:Math.max(w,A),ppadminus:Math.max(v,L)});a={min:[b.min[0],O.min[0]],max:[b.max[0],O.max[0]]}}else A=f?A+f:A,L=f?L-f:L,a=y.findExtremes(l,[l.r2c(s)],{ppadplus:Math.max(w,T,A),ppadminus:Math.max(v,C,L)});h._extremes[u]=a}k.exports=function(h){var l=h._fullLayout;if(d.filterVisible(l.annotations).length&&h._fullData.length)return d.syncOrAsync([i,M],h)}},44317:function(k,m,t){var d=t(71828),y=t(73972),i=t(44467).arrayEditor;function M(h,l){var a,u,o,s,f,c,p,w=h._fullLayout.annotations,v=[],S=[],x=[],T=(l||[]).length;for(a=0;a0||a.explicitOff.length>0},onClick:function(h,l){var a,u,o=M(h,l),s=o.on,f=o.off.concat(o.explicitOff),c={},p=h._fullLayout.annotations;if(s.length||f.length){for(a=0;a.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yt]}for(var Be=!1,ze=["x","y"],je=0;je1)&&(ot===st?((Vt=ft.r2fraction(T["a"+Ye]))<0||Vt>1)&&(Be=!0):Be=!0),ge=ft._offset+ft.r2p(T[Ye]),Ve=.5}else{var Ke=Wt==="domain";Ye==="x"?(Ee=T[Ye],ge=Ke?ft._offset+ft._length*Ee:ge=R.l+R.w*Ee):(Ee=1-T[Ye],ge=Ke?ft._offset+ft._length*Ee:ge=R.t+R.h*Ee),Ve=T.showarrow?.5:Ee}if(T.showarrow){Bt.head=ge;var Je=T["a"+Ye];if($e=Et*Le(.5,T.xanchor)-kt*Le(.5,T.yanchor),ot===st){var We=h.getRefType(ot);We==="domain"?(Ye==="y"&&(Je=1-Je),Bt.tail=ft._offset+ft._length*Je):We==="paper"?Ye==="y"?(Je=1-Je,Bt.tail=R.t+R.h*Je):Bt.tail=R.l+R.w*Je:Bt.tail=ft._offset+ft.r2p(Je),we=$e}else Bt.tail=ge+Je,we=$e+Je;Bt.text=Bt.tail+$e;var nt=I[Ye==="x"?"width":"height"];if(st==="paper"&&(Bt.head=M.constrain(Bt.head,1,nt-1)),ot==="pixel"){var ht=-Math.max(Bt.tail-3,Bt.text),Oe=Math.min(Bt.tail+3,Bt.text)-nt;ht>0?(Bt.tail+=ht,Bt.text+=ht):Oe>0&&(Bt.tail-=Oe,Bt.text-=Oe)}Bt.tail+=Rt,Bt.head+=Rt}else we=$e=xt*Le(Ve,Ft),Bt.text=ge+$e;Bt.text+=Rt,$e+=Rt,we+=Rt,T["_"+Ye+"padplus"]=xt/2+we,T["_"+Ye+"padminus"]=xt/2-we,T["_"+Ye+"size"]=xt,T["_"+Ye+"shift"]=$e}if(Be)te.remove();else{var Ne=0,Qe=0;if(T.align!=="left"&&(Ne=(ae-Se)*(T.align==="center"?.5:1)),T.valign!=="top"&&(Qe=(he-Ce)*(T.valign==="middle"?.5:1)),_e)Pe.select("svg").attr({x:Q+Ne-1,y:Q+Qe}).call(a.setClipUrl,ie?j:null,x);else{var ut=Q+Qe-Me.top,dt=Q+Ne-Me.left;ye.call(o.positionText,dt,ut).call(a.setClipUrl,ie?j:null,x)}oe.select("rect").call(a.setRect,Q,Q,ae,he),re.call(a.setRect,Z/2,Z/2,be-Z,ke-Z),te.call(a.setTranslate,Math.round($.x.text-be/2),Math.round($.y.text-ke/2)),W.attr({transform:"rotate("+U+","+$.x.text+","+$.y.text+")"});var _t,It=function(Lt,yt){G.selectAll(".annotation-arrow-g").remove();var Pt=$.x.head,wt=$.y.head,Ot=$.x.tail+Lt,Nt=$.y.tail+yt,Yt=$.x.text+Lt,qt=$.y.text+yt,Xt=M.rotationXYMatrix(U,Yt,qt),Qt=M.apply2DTransform(Xt),rn=M.apply2DTransform2(Xt),xn=+re.attr("width"),un=+re.attr("height"),An=Yt-.5*xn,Yn=An+xn,kn=qt-.5*un,sn=kn+un,Tn=[[An,kn,An,sn],[An,sn,Yn,sn],[Yn,sn,Yn,kn],[Yn,kn,An,kn]].map(rn);if(!Tn.reduce(function(or,vr){return or^!!M.segmentsIntersect(Pt,wt,Pt+1e6,wt+1e6,vr[0],vr[1],vr[2],vr[3])},!1)){Tn.forEach(function(or){var vr=M.segmentsIntersect(Ot,Nt,Pt,wt,or[0],or[1],or[2],or[3]);vr&&(Ot=vr.x,Nt=vr.y)});var dn=T.arrowwidth,pn=T.arrowcolor,Dn=T.arrowside,In=G.append("g").style({opacity:l.opacity(pn)}).classed("annotation-arrow-g",!0),jn=In.append("path").attr("d","M"+Ot+","+Nt+"L"+Pt+","+wt).style("stroke-width",dn+"px").call(l.stroke,l.rgb(pn));if(p(jn,Dn,T),D.annotationPosition&&jn.node().parentNode&&!_){var Gn=Pt,Wn=wt;if(T.standoff){var lr=Math.sqrt(Math.pow(Pt-Ot,2)+Math.pow(wt-Nt,2));Gn+=T.standoff*(Ot-Pt)/lr,Wn+=T.standoff*(Nt-wt)/lr}var rr,Sr,yr=In.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Ot-Gn)+","+(Nt-Wn),transform:g(Gn,Wn)}).style("stroke-width",dn+6+"px").call(l.stroke,"rgba(0,0,0,0)").call(l.fill,"rgba(0,0,0,0)");f.init({element:yr.node(),gd:x,prepFn:function(){var or=a.getTranslate(te);rr=or.x,Sr=or.y,A&&A.autorange&&B(A._name+".autorange",!0),L&&L.autorange&&B(L._name+".autorange",!0)},moveFn:function(or,vr){var _r=Qt(rr,Sr),Kt=_r[0]+or,bn=_r[1]+vr;te.call(a.setTranslate,Kt,bn),N("x",v(A,or,"x",R,T)),N("y",v(L,vr,"y",R,T)),T.axref===T.xref&&N("ax",v(A,or,"ax",R,T)),T.ayref===T.yref&&N("ay",v(L,vr,"ay",R,T)),In.attr("transform",g(or,vr)),W.attr({transform:"rotate("+U+","+Kt+","+bn+")"})},doneFn:function(){y.call("_guiRelayout",x,q());var or=document.querySelector(".js-notes-box-panel");or&&or.redraw(or.selectedObj)}})}}};T.showarrow&&It(0,0),H&&f.init({element:te.node(),gd:x,prepFn:function(){_t=W.attr("transform")},moveFn:function(Lt,yt){var Pt="pointer";if(T.showarrow)T.axref===T.xref?N("ax",v(A,Lt,"ax",R,T)):N("ax",T.ax+Lt),T.ayref===T.yref?N("ay",v(L,yt,"ay",R.w,T)):N("ay",T.ay+yt),It(Lt,yt);else{if(_)return;var wt,Ot;if(A)wt=v(A,Lt,"x",R,T);else{var Nt=T._xsize/R.w,Yt=T.x+(T._xshift-T.xshift)/R.w-Nt/2;wt=f.align(Yt+Lt/R.w,Nt,0,1,T.xanchor)}if(L)Ot=v(L,yt,"y",R,T);else{var qt=T._ysize/R.h,Xt=T.y-(T._yshift+T.yshift)/R.h-qt/2;Ot=f.align(Xt-yt/R.h,qt,0,1,T.yanchor)}N("x",wt),N("y",Ot),A&&L||(Pt=f.getCursor(A?.5:wt,L?.5:Ot,T.xanchor,T.yanchor))}W.attr({transform:g(Lt,yt)+_t}),s(te,Pt)},clickFn:function(Lt,yt){T.captureevents&&x.emit("plotly_clickannotation",de(yt))},doneFn:function(){s(te),y.call("_guiRelayout",x,q());var Lt=document.querySelector(".js-notes-box-panel");Lt&&Lt.redraw(Lt.selectedObj)}})}}}k.exports={draw:function(x){var T=x._fullLayout;T._infolayer.selectAll(".annotation").remove();for(var C=0;C=0,_=u.indexOf("end")>=0,A=v.backoff*x+o.standoff,L=S.backoff*T+o.startstandoff;if(w.nodeName==="line"){s={x:+a.attr("x1"),y:+a.attr("y1")},f={x:+a.attr("x2"),y:+a.attr("y2")};var b=s.x-f.x,O=s.y-f.y;if(p=(c=Math.atan2(O,b))+Math.PI,A&&L&&A+L>Math.sqrt(b*b+O*O))return void G();if(A){if(A*A>b*b+O*O)return void G();var I=A*Math.cos(c),R=A*Math.sin(c);f.x+=I,f.y+=R,a.attr({x2:f.x,y2:f.y})}if(L){if(L*L>b*b+O*O)return void G();var D=L*Math.cos(c),F=L*Math.sin(c);s.x-=D,s.y-=F,a.attr({x1:s.x,y1:s.y})}}else if(w.nodeName==="path"){var B=w.getTotalLength(),N="";if(B1){o=!0;break}}o?M.fullLayout._infolayer.select(".annotation-"+M.id+'[data-index="'+a+'"]').remove():(u._pdata=y(M.glplot.cameraParams,[g.xaxis.r2l(u.x)*h[0],g.yaxis.r2l(u.y)*h[1],g.zaxis.r2l(u.z)*h[2]]),d(M.graphDiv,u,a,M.id,u._xa,u._ya))}}},2468:function(k,m,t){var d=t(73972),y=t(71828);k.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t(26997)}}},layoutAttributes:t(26997),handleDefaults:t(20226),includeBasePlot:function(i,M){var g=d.subplotsRegistry.gl3d;if(g)for(var h=g.attrRegex,l=Object.keys(i),a=0;a=0)))return u;if(p===3)f[p]>1&&(f[p]=1);else if(f[p]>=1)return u}var w=Math.round(255*f[0])+", "+Math.round(255*f[1])+", "+Math.round(255*f[2]);return c?"rgba("+w+", "+f[3]+")":"rgb("+w+")"}M.tinyRGB=function(u){var o=u.toRgb();return"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")"},M.rgb=function(u){return M.tinyRGB(d(u))},M.opacity=function(u){return u?d(u).getAlpha():0},M.addOpacity=function(u,o){var s=d(u).toRgb();return"rgba("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+", "+o+")"},M.combine=function(u,o){var s=d(u).toRgb();if(s.a===1)return d(u).toRgbString();var f=d(o||l).toRgb(),c=f.a===1?f:{r:255*(1-f.a)+f.r*f.a,g:255*(1-f.a)+f.g*f.a,b:255*(1-f.a)+f.b*f.a},p={r:c.r*(1-s.a)+s.r*s.a,g:c.g*(1-s.a)+s.g*s.a,b:c.b*(1-s.a)+s.b*s.a};return d(p).toRgbString()},M.contrast=function(u,o,s){var f=d(u);return f.getAlpha()!==1&&(f=d(M.combine(u,l))),(f.isDark()?o?f.lighten(o):l:s?f.darken(s):h).toString()},M.stroke=function(u,o){var s=d(o);u.style({stroke:M.tinyRGB(s),"stroke-opacity":s.getAlpha()})},M.fill=function(u,o){var s=d(o);u.style({fill:M.tinyRGB(s),"fill-opacity":s.getAlpha()})},M.clean=function(u){if(u&&typeof u=="object"){var o,s,f,c,p=Object.keys(u);for(o=0;o0?Je>=Ne:Je<=Ne));We++)Je>ut&&Je0?Je>=Ne:Je<=Ne));We++)Je>Ke[0]&&Je1){var ot=Math.pow(10,Math.floor(Math.log(st)/Math.LN10));$e*=ot*l.roundUp(st/ot,[2,5,10]),(Math.abs(_e.start)/_e.size+1e-6)%1<2e-6&&(Ee.tick0=0)}Ee.dtick=$e}Ee.domain=q?[ge+Q/ue.h,ge+ke-Q/ue.h]:[ge+X/ue.w,ge+ke-X/ue.w],Ee.setScale(),F.attr("transform",a(Math.round(ue.l),Math.round(ue.t)));var ft,bt=F.select("."+L.cbtitleunshift).attr("transform",a(-Math.round(ue.l),-Math.round(ue.t))),Et=Ee.ticklabelposition,kt=Ee.title.font.size,xt=F.select("."+L.cbaxis),Ft=0,Rt=0;function Bt(Wt,Vt){var Ke={propContainer:Ee,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:oe._dfltTitle.colorbar,containerGroup:F.select("."+L.cbtitle)},Je=Wt.charAt(0)==="h"?Wt.substr(1):"h"+Wt;F.selectAll("."+Je+",."+Je+"-math-group").remove(),c.draw(N,Wt,u(Ke,Vt||{}))}return l.syncOrAsync([i.previousPromises,function(){var Wt,Vt;(q&&Ve||!q&&!Ve)&&(me==="top"&&(Wt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge-ke)+3+.75*kt),me==="bottom"&&(Wt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge)-3-.25*kt),me==="right"&&(Vt=Q+ue.t+ue.h*ie+3+.75*kt,Wt=X+ue.l+ue.w*ge),Bt(Ee._id+"title",{attributes:{x:Wt,y:Vt,"text-anchor":q?"start":"middle"}}))},function(){if(!q&&!Ve||q&&Ve){var Wt,Vt=F.select("."+L.cbtitle),Ke=Vt.select("text"),Je=[-W/2,W/2],We=Vt.select(".h"+Ee._id+"title-math-group").node(),nt=15.6;if(Ke.node()&&(nt=parseInt(Ke.node().style.fontSize,10)*C),We?(Wt=s.bBox(We),Rt=Wt.width,(Ft=Wt.height)>nt&&(Je[1]-=(Ft-nt)/2)):Ke.node()&&!Ke.classed(L.jsPlaceholder)&&(Wt=s.bBox(Ke.node()),Rt=Wt.width,Ft=Wt.height),q){if(Ft){if(Ft+=5,me==="top")Ee.domain[1]-=Ft/ue.h,Je[1]*=-1;else{Ee.domain[0]+=Ft/ue.h;var ht=p.lineCount(Ke);Je[1]+=(1-ht)*nt}Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale()}}else Rt&&(me==="right"&&(Ee.domain[0]+=(Rt+kt/2)/ue.w),Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale())}F.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",q?a(0,Math.round(ue.h*(1-Ee.domain[1]))):a(Math.round(ue.w*Ee.domain[0]),0)),xt.attr("transform",q?a(0,Math.round(-ue.t)):a(Math.round(-ue.l),0));var Oe=F.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(Se);Oe.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),Oe.exit().remove();var Ne=pe.map(Ee.c2p).map(Math.round).sort(function(It,Lt){return It-Lt});Oe.each(function(It,Lt){var yt=[Lt===0?pe[0]:(Se[Lt]+Se[Lt-1])/2,Lt===Se.length-1?pe[1]:(Se[Lt]+Se[Lt+1])/2].map(Ee.c2p).map(Math.round);q&&(yt[1]=l.constrain(yt[1]+(yt[1]>yt[0])?1:-1,Ne[0],Ne[1]));var Pt=d.select(this).attr(q?"x":"y",Le).attr(q?"y":"x",d.min(yt)).attr(q?"width":"height",Math.max(ae,2)).attr(q?"height":"width",Math.max(d.max(yt)-d.min(yt),2));if(B._fillgradient)s.gradient(Pt,N,B._id,q?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var wt=Pe(It).replace("e-","");Pt.attr("fill",y(wt).toHexString())}});var Qe=F.select("."+L.cblines).selectAll("path."+L.cbline).data(ye.color&&ye.width?Ce:[]);Qe.enter().append("path").classed(L.cbline,!0),Qe.exit().remove(),Qe.each(function(It){var Lt=Le,yt=Math.round(Ee.c2p(It))+ye.width/2%1;d.select(this).attr("d","M"+(q?Lt+","+yt:yt+","+Lt)+(q?"h":"v")+ae).call(s.lineGroupStyle,ye.width,xe(It),ye.dash)}),xt.selectAll("g."+Ee._id+"tick,path").remove();var ut=Le+ae+(W||0)/2-(B.ticks==="outside"?1:0),dt=g.calcTicks(Ee),_t=g.getTickSigns(Ee)[2];return g.drawTicks(N,Ee,{vals:Ee.ticks==="inside"?g.clipEnds(Ee,dt):dt,layer:xt,path:g.makeTickPath(Ee,ut,_t),transFn:g.makeTransTickFn(Ee)}),g.drawLabels(N,Ee,{vals:dt,layer:xt,transFn:g.makeTransTickLabelFn(Ee),labelFns:g.makeLabelFns(Ee,ut)})},function(){if(q&&!Ve||!q&&Ve){var Wt,Vt,Ke=Ee.position||0,Je=Ee._offset+Ee._length/2;if(me==="right")Vt=Je,Wt=ue.l+ue.w*Ke+10+kt*(Ee.showticklabels?1:.5);else if(Wt=Je,me==="bottom"&&(Vt=ue.t+ue.h*Ke+10+(Et.indexOf("inside")===-1?Ee.tickfont.size:0)+(Ee.ticks!=="intside"&&B.ticklen||0)),me==="top"){var We=de.text.split("
").length;Vt=ue.t+ue.h*Ke+10-ae-C*kt*We}Bt((q?"h":"v")+Ee._id+"title",{avoid:{selection:d.select(N).selectAll("g."+Ee._id+"tick"),side:me,offsetTop:q?0:ue.t,offsetLeft:q?ue.l:0,maxShift:q?oe.width:oe.height},attributes:{x:Wt,y:Vt,"text-anchor":"middle"},transform:{rotate:q?-90:0,offset:0}})}},i.previousPromises,function(){var Wt,Vt=ae+W/2;Et.indexOf("inside")===-1&&(Wt=s.bBox(xt.node()),Vt+=q?Wt.width:Wt.height),ft=bt.select("text");var Ke=0,Je=q&&me==="top",We=!q&&me==="right",nt=0;if(ft.node()&&!ft.classed(L.jsPlaceholder)){var ht,Oe=bt.select(".h"+Ee._id+"title-math-group").node();Oe&&(q&&Ve||!q&&!Ve)?(Ke=(Wt=s.bBox(Oe)).width,ht=Wt.height):(Ke=(Wt=s.bBox(bt.node())).right-ue.l-(q?Le:we),ht=Wt.bottom-ue.t-(q?we:Le),q||me!=="top"||(Vt+=Wt.height,nt=Wt.height)),We&&(ft.attr("transform",a(Ke/2+kt/2,0)),Ke*=2),Vt=Math.max(Vt,q?Ke:ht)}var Ne=2*(q?X:Q)+Vt+H+W/2,Qe=0;!q&&de.text&&Z==="bottom"&&ie<=0&&(Ne+=Qe=Ne/2,nt+=Qe),oe._hColorbarMoveTitle=Qe,oe._hColorbarMoveCBTitle=nt;var ut=H+W;F.select("."+L.cbbg).attr("x",(q?Le:we)-ut/2-(q?X:0)).attr("y",(q?we:Le)-(q?be:Q+nt-Qe)).attr(q?"width":"height",Math.max(Ne-Qe,2)).attr(q?"height":"width",Math.max(be+ut,2)).call(f.fill,ne).call(f.stroke,B.bordercolor).style("stroke-width",H);var dt=We?Math.max(Ke-10,0):0;if(F.selectAll("."+L.cboutline).attr("x",(q?Le:we+X)+dt).attr("y",(q?we+Q-be:Le)+(Je?Ft:0)).attr(q?"width":"height",Math.max(ae,2)).attr(q?"height":"width",Math.max(be-(q?2*Q+Ft:2*X+dt),2)).call(f.stroke,B.outlinecolor).style({fill:"none","stroke-width":W}),F.attr("transform",a(ue.l-(q?Be*Ne:0),ue.t-(q?0:(1-ze)*Ne-nt))),!q&&(H||y(ne).getAlpha()&&!y.equals(oe.paper_bgcolor,ne))){var _t=xt.selectAll("text"),It=_t[0].length,Lt=F.select("."+L.cbbg).node(),yt=s.bBox(Lt),Pt=s.getTranslate(F);_t.each(function(Qt,rn){var xn=It-1;if(rn===0||rn===xn){var un,An=s.bBox(this),Yn=s.getTranslate(this);if(rn===xn){var kn=An.right+Yn.x;(un=yt.right+Pt.x+we-H-2+re-kn)>0&&(un=0)}else if(rn===0){var sn=An.left+Yn.x;(un=yt.left+Pt.x+we+H+2-sn)<0&&(un=0)}un&&(It<3?this.setAttribute("transform","translate("+un+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var wt={},Ot=_[te],Nt=A[te],Yt=_[Z],qt=A[Z],Xt=Ne-ae;q?($==="pixels"?(wt.y=ie,wt.t=be*Yt,wt.b=be*qt):(wt.t=wt.b=0,wt.yt=ie+j*Yt,wt.yb=ie-j*qt),G==="pixels"?(wt.x=re,wt.l=Ne*Ot,wt.r=Ne*Nt):(wt.l=Xt*Ot,wt.r=Xt*Nt,wt.xl=re-U*Ot,wt.xr=re+U*Nt)):($==="pixels"?(wt.x=re,wt.l=be*Ot,wt.r=be*Nt):(wt.l=wt.r=0,wt.xl=re+j*Ot,wt.xr=re-j*Nt),G==="pixels"?(wt.y=1-ie,wt.t=Ne*Yt,wt.b=Ne*qt):(wt.t=Xt*Yt,wt.b=Xt*qt,wt.yt=ie-U*Yt,wt.yb=ie+U*qt)),i.autoMargin(N,B._id,wt)}],N)}(R,I,b);D&&D.then&&(b._promises||[]).push(D),b._context.edits.colorbarPosition&&function(F,B,N){var q,j,$,U=B.orientation==="v",G=N._fullLayout._size;h.init({element:F.node(),gd:N,prepFn:function(){q=F.attr("transform"),o(F)},moveFn:function(W,H){F.attr("transform",q+a(W,H)),j=h.align((U?B._uFrac:B._vFrac)+W/G.w,U?B._thickFrac:B._lenFrac,0,1,B.xanchor),$=h.align((U?B._vFrac:1-B._uFrac)-H/G.h,U?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ne=h.getCursor(j,$,B.xanchor,B.yanchor);o(F,ne)},doneFn:function(){if(o(F),j!==void 0&&$!==void 0){var W={};W[B._propPrefix+"x"]=j,W[B._propPrefix+"y"]=$,B._traceIndex!==void 0?M.call("_guiRestyle",N,W,B._traceIndex):M.call("_guiRelayout",N,W)}}})}(R,I,b)}),O.exit().each(function(I){i.autoMargin(b,I._id)}).remove(),O.order()}}},76228:function(k,m,t){var d=t(71828);k.exports=function(y){return d.isPlainObject(y.colorbar)}},12311:function(k,m,t){k.exports={moduleType:"component",name:"colorbar",attributes:t(63583),supplyDefaults:t(62499),draw:t(98981).draw,hasColorbar:t(76228)}},50693:function(k,m,t){var d=t(63583),y=t(30587).counter,i=t(78607),M=t(63282).scales;function g(h){return"`"+h+"`"}i(M),k.exports=function(h,l){h=h||"";var a,u=(l=l||{}).cLetter||"c",o=("onlyIfNumerical"in l&&l.onlyIfNumerical,"noScale"in l?l.noScale:h==="marker.line"),s="showScaleDflt"in l?l.showScaleDflt:u==="z",f=typeof l.colorscaleDflt=="string"?M[l.colorscaleDflt]:null,c=l.editTypeOverride||"",p=h?h+".":"";"colorAttr"in l?(a=l.colorAttr,l.colorAttr):g(p+(a={z:"z",c:"color"}[u]));var w=u+"auto",v=u+"min",S=u+"max",x=u+"mid",T={};T[v]=T[S]=void 0;var C={};C[w]=!1;var _={};return a==="color"&&(_.color={valType:"color",arrayOk:!0,editType:c||"style"},l.anim&&(_.color.anim=!0)),_[w]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:T},_[v]={valType:"number",dflt:null,editType:c||"plot",impliedEdits:C},_[S]={valType:"number",dflt:null,editType:c||"plot",impliedEdits:C},_[x]={valType:"number",dflt:null,editType:"calc",impliedEdits:T},_.colorscale={valType:"colorscale",editType:"calc",dflt:f,impliedEdits:{autocolorscale:!1}},_.autocolorscale={valType:"boolean",dflt:l.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},_.reversescale={valType:"boolean",dflt:!1,editType:"plot"},o||(_.showscale={valType:"boolean",dflt:s,editType:"calc"},_.colorbar=d),l.noColorAxis||(_.coloraxis={valType:"subplotid",regex:y("coloraxis"),dflt:null,editType:"calc"}),_}},78803:function(k,m,t){var d=t(92770),y=t(71828),i=t(52075).extractOpts;k.exports=function(M,g,h){var l,a=M._fullLayout,u=h.vals,o=h.containerStr,s=o?y.nestedProperty(g,o).get():g,f=i(s),c=f.auto!==!1,p=f.min,w=f.max,v=f.mid,S=function(){return y.aggNums(Math.min,null,u)},x=function(){return y.aggNums(Math.max,null,u)};p===void 0?p=S():c&&(p=s._colorAx&&d(p)?Math.min(p,S()):S()),w===void 0?w=x():c&&(w=s._colorAx&&d(w)?Math.max(w,x()):x()),c&&v!==void 0&&(w-v>v-p?p=v-(w-v):w-v=0?a.colorscale.sequential:a.colorscale.sequentialminus,f._sync("colorscale",l))}},33046:function(k,m,t){var d=t(71828),y=t(52075).hasColorscale,i=t(52075).extractOpts;k.exports=function(M,g){function h(c,p){var w=c["_"+p];w!==void 0&&(c[p]=w)}function l(c,p){var w=p.container?d.nestedProperty(c,p.container).get():c;if(w)if(w.coloraxis)w._colorAx=g[w.coloraxis];else{var v=i(w),S=v.auto;(S||v.min===void 0)&&h(w,p.min),(S||v.max===void 0)&&h(w,p.max),v.autocolorscale&&h(w,"colorscale")}}for(var a=0;a=0;S--,x++){var T=p[S];v[x]=[1-T[0],T[1]]}return v}function f(p,w){w=w||{};for(var v=p.domain,S=p.range,x=S.length,T=new Array(x),C=0;C1.3333333333333333-h?g:h}},70461:function(k,m,t){var d=t(71828),y=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];k.exports=function(i,M,g,h){return i=g==="left"?0:g==="center"?1:g==="right"?2:d.constrain(Math.floor(3*i),0,2),M=h==="bottom"?0:h==="middle"?1:h==="top"?2:d.constrain(Math.floor(3*M),0,2),y[M][i]}},64505:function(k,m){m.selectMode=function(t){return t==="lasso"||t==="select"},m.drawMode=function(t){return t==="drawclosedpath"||t==="drawopenpath"||t==="drawline"||t==="drawrect"||t==="drawcircle"},m.openMode=function(t){return t==="drawline"||t==="drawopenpath"},m.rectMode=function(t){return t==="select"||t==="drawline"||t==="drawrect"||t==="drawcircle"},m.freeMode=function(t){return t==="lasso"||t==="drawclosedpath"||t==="drawopenpath"},m.selectingOrDrawing=function(t){return m.freeMode(t)||m.rectMode(t)}},28569:function(k,m,t){var d=t(48956),y=t(57035),i=t(38520),M=t(71828).removeElement,g=t(85555),h=k.exports={};h.align=t(92807),h.getCursor=t(70461);var l=t(26041);function a(){var o=document.createElement("div");o.className="dragcover";var s=o.style;return s.position="fixed",s.left=0,s.right=0,s.top=0,s.bottom=0,s.zIndex=999999999,s.background="none",document.body.appendChild(o),o}function u(o){return d(o.changedTouches?o.changedTouches[0]:o,document.body)}h.unhover=l.wrapped,h.unhoverRaw=l.raw,h.init=function(o){var s,f,c,p,w,v,S,x,T=o.gd,C=1,_=T._context.doubleClickDelay,A=o.element;T._mouseDownTime||(T._mouseDownTime=0),A.style.pointerEvents="all",A.onmousedown=b,i?(A._ontouchstart&&A.removeEventListener("touchstart",A._ontouchstart),A._ontouchstart=b,A.addEventListener("touchstart",b,{passive:!1})):A.ontouchstart=b;var L=o.clampFn||function(R,D,F){return Math.abs(R)_&&(C=Math.max(C-1,1)),T._dragged)o.doneFn&&o.doneFn();else if(o.clickFn&&o.clickFn(C,v),!x){var D;try{D=new MouseEvent("click",R)}catch{var F=u(R);(D=document.createEvent("MouseEvents")).initMouseEvent("click",R.bubbles,R.cancelable,R.view,R.detail,R.screenX,R.screenY,F[0],F[1],R.ctrlKey,R.altKey,R.shiftKey,R.metaKey,R.button,R.relatedTarget)}S.dispatchEvent(D)}T._dragging=!1,T._dragged=!1}else T._dragged=!1}},h.coverSlip=a},26041:function(k,m,t){var d=t(11086),y=t(79990),i=t(24401).getGraphDiv,M=t(26675),g=k.exports={};g.wrapped=function(h,l,a){(h=i(h))._fullLayout&&y.clear(h._fullLayout._uid+M.HOVERID),g.raw(h,l,a)},g.raw=function(h,l){var a=h._fullLayout,u=h._hoverdata;l||(l={}),l.target&&!h._dragged&&d.triggerHandler(h,"plotly_beforehover",l)===!1||(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),h._hoverdata=void 0,l.target&&u&&h.emit("plotly_unhover",{event:l,points:u}))}},79952:function(k,m){m.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},m.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(k,m,t){var d=t(39898),y=t(71828),i=y.numberFormat,M=t(92770),g=t(84267),h=t(73972),l=t(7901),a=t(21081),u=y.strTranslate,o=t(63893),s=t(77922),f=t(18783).LINE_SPACING,c=t(37822).DESELECTDIM,p=t(34098),w=t(39984),v=t(23469).appendArrayPointValue,S=k.exports={};function x(_e,Me,Se){var Ce=Me.fillpattern,ae=Ce&&S.getPatternAttr(Ce.shape,0,"");if(ae){var he=S.getPatternAttr(Ce.bgcolor,0,null),be=S.getPatternAttr(Ce.fgcolor,0,null),ke=Ce.fgopacity,Le=S.getPatternAttr(Ce.size,0,8),Be=S.getPatternAttr(Ce.solidity,0,.3),ze=Me.uid;S.pattern(_e,"point",Se,ze,ae,Le,Be,void 0,Ce.fillmode,he,be,ke)}else Me.fillcolor&&_e.call(l.fill,Me.fillcolor)}S.font=function(_e,Me,Se,Ce){y.isPlainObject(Me)&&(Ce=Me.color,Se=Me.size,Me=Me.family),Me&&_e.style("font-family",Me),Se+1&&_e.style("font-size",Se+"px"),Ce&&_e.call(l.fill,Ce)},S.setPosition=function(_e,Me,Se){_e.attr("x",Me).attr("y",Se)},S.setSize=function(_e,Me,Se){_e.attr("width",Me).attr("height",Se)},S.setRect=function(_e,Me,Se,Ce,ae){_e.call(S.setPosition,Me,Se).call(S.setSize,Ce,ae)},S.translatePoint=function(_e,Me,Se,Ce){var ae=Se.c2p(_e.x),he=Ce.c2p(_e.y);return!!(M(ae)&&M(he)&&Me.node())&&(Me.node().nodeName==="text"?Me.attr("x",ae).attr("y",he):Me.attr("transform",u(ae,he)),!0)},S.translatePoints=function(_e,Me,Se){_e.each(function(Ce){var ae=d.select(this);S.translatePoint(Ce,ae,Me,Se)})},S.hideOutsideRangePoint=function(_e,Me,Se,Ce,ae,he){Me.attr("display",Se.isPtWithinRange(_e,ae)&&Ce.isPtWithinRange(_e,he)?null:"none")},S.hideOutsideRangePoints=function(_e,Me){if(Me._hasClipOnAxisFalse){var Se=Me.xaxis,Ce=Me.yaxis;_e.each(function(ae){var he=ae[0].trace,be=he.xcalendar,ke=he.ycalendar,Le=h.traceIs(he,"bar-like")?".bartext":".point,.textpoint";_e.selectAll(Le).each(function(Be){S.hideOutsideRangePoint(Be,d.select(this),Se,Ce,be,ke)})})}},S.crispRound=function(_e,Me,Se){return Me&&M(Me)?_e._context.staticPlot?Me:Me<1?1:Math.round(Me):Se||0},S.singleLineStyle=function(_e,Me,Se,Ce,ae){Me.style("fill","none");var he=(((_e||[])[0]||{}).trace||{}).line||{},be=Se||he.width||0,ke=ae||he.dash||"";l.stroke(Me,Ce||he.color),S.dashLine(Me,ke,be)},S.lineGroupStyle=function(_e,Me,Se,Ce){_e.style("fill","none").each(function(ae){var he=(((ae||[])[0]||{}).trace||{}).line||{},be=Me||he.width||0,ke=Ce||he.dash||"";d.select(this).call(l.stroke,Se||he.color).call(S.dashLine,ke,be)})},S.dashLine=function(_e,Me,Se){Se=+Se||0,Me=S.dashStyle(Me,Se),_e.style({"stroke-dasharray":Me,"stroke-width":Se+"px"})},S.dashStyle=function(_e,Me){Me=+Me||1;var Se=Math.max(Me,3);return _e==="solid"?_e="":_e==="dot"?_e=Se+"px,"+Se+"px":_e==="dash"?_e=3*Se+"px,"+3*Se+"px":_e==="longdash"?_e=5*Se+"px,"+5*Se+"px":_e==="dashdot"?_e=3*Se+"px,"+Se+"px,"+Se+"px,"+Se+"px":_e==="longdashdot"&&(_e=5*Se+"px,"+2*Se+"px,"+Se+"px,"+2*Se+"px"),_e},S.singleFillStyle=function(_e,Me){var Se=d.select(_e.node());x(_e,((Se.data()[0]||[])[0]||{}).trace||{},Me)},S.fillGroupStyle=function(_e,Me){_e.style("stroke-width",0).each(function(Se){var Ce=d.select(this);Se[0].trace&&x(Ce,Se[0].trace,Me)})};var T=t(90998);S.symbolNames=[],S.symbolFuncs=[],S.symbolBackOffs=[],S.symbolNeedLines={},S.symbolNoDot={},S.symbolNoFill={},S.symbolList=[],Object.keys(T).forEach(function(_e){var Me=T[_e],Se=Me.n;S.symbolList.push(Se,String(Se),_e,Se+100,String(Se+100),_e+"-open"),S.symbolNames[Se]=_e,S.symbolFuncs[Se]=Me.f,S.symbolBackOffs[Se]=Me.backoff||0,Me.needLine&&(S.symbolNeedLines[Se]=!0),Me.noDot?S.symbolNoDot[Se]=!0:S.symbolList.push(Se+200,String(Se+200),_e+"-dot",Se+300,String(Se+300),_e+"-open-dot"),Me.noFill&&(S.symbolNoFill[Se]=!0)});var C=S.symbolNames.length;function _(_e,Me,Se,Ce){var ae=_e%100;return S.symbolFuncs[ae](Me,Se,Ce)+(_e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}S.symbolNumber=function(_e){if(M(_e))_e=+_e;else if(typeof _e=="string"){var Me=0;_e.indexOf("-open")>0&&(Me=100,_e=_e.replace("-open","")),_e.indexOf("-dot")>0&&(Me+=200,_e=_e.replace("-dot","")),(_e=S.symbolNames.indexOf(_e))>=0&&(_e+=Me)}return _e%100>=C||_e>=400?0:Math.floor(Math.max(_e,0))};var A={x1:1,x2:0,y1:0,y2:0},L={x1:0,x2:0,y1:1,y2:0},b=i("~f"),O={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:A},horizontalreversed:{node:"linearGradient",attrs:A,reversed:!0},vertical:{node:"linearGradient",attrs:L},verticalreversed:{node:"linearGradient",attrs:L,reversed:!0}};S.gradient=function(_e,Me,Se,Ce,ae,he){for(var be=ae.length,ke=O[Ce],Le=new Array(be),Be=0;Be=100;var Be=Pe(_e,Se),ze=Q(_e,Se);Me.attr("d",_(Le,ke,Be,ze))}var je,ge,we,Ee=!1;if(_e.so)we=be.outlierwidth,ge=be.outliercolor,je=he.outliercolor;else{var Ve=(be||{}).width;we=(_e.mlw+1||Ve+1||(_e.trace?(_e.trace.marker.line||{}).width:0)+1)-1||0,ge="mlc"in _e?_e.mlcc=Ce.lineScale(_e.mlc):y.isArrayOrTypedArray(be.color)?l.defaultLine:be.color,y.isArrayOrTypedArray(he.color)&&(je=l.defaultLine,Ee=!0),je="mc"in _e?_e.mcc=Ce.markerScale(_e.mc):he.color||"rgba(0,0,0,0)",Ce.selectedColorFn&&(je=Ce.selectedColorFn(_e))}if(_e.om)Me.call(l.stroke,je).style({"stroke-width":(we||1)+"px",fill:"none"});else{Me.style("stroke-width",(_e.isBlank?0:we)+"px");var $e=he.gradient,Ye=_e.mgt;Ye?Ee=!0:Ye=$e&&$e.type,y.isArrayOrTypedArray(Ye)&&(Ye=Ye[0],O[Ye]||(Ye=0));var st=he.pattern,ot=st&&S.getPatternAttr(st.shape,_e.i,"");if(Ye&&Ye!=="none"){var ft=_e.mgc;ft?Ee=!0:ft=$e.color;var bt=Se.uid;Ee&&(bt+="-"+_e.i),S.gradient(Me,ae,bt,Ye,[[0,ft],[1,je]],"fill")}else if(ot){var Et=S.getPatternAttr(st.bgcolor,_e.i,null),kt=S.getPatternAttr(st.fgcolor,_e.i,null),xt=st.fgopacity,Ft=S.getPatternAttr(st.size,_e.i,8),Rt=S.getPatternAttr(st.solidity,_e.i,.3),Bt=_e.mcc||y.isArrayOrTypedArray(st.shape)||y.isArrayOrTypedArray(st.bgcolor)||y.isArrayOrTypedArray(st.size)||y.isArrayOrTypedArray(st.solidity),Wt=Se.uid;Bt&&(Wt+="-"+_e.i),S.pattern(Me,"point",ae,Wt,ot,Ft,Rt,_e.mcc,st.fillmode,Et,kt,xt)}else l.fill(Me,je);we&&l.stroke(Me,ge)}},S.makePointStyleFns=function(_e){var Me={},Se=_e.marker;return Me.markerScale=S.tryColorscale(Se,""),Me.lineScale=S.tryColorscale(Se,"line"),h.traceIs(_e,"symbols")&&(Me.ms2mrc=p.isBubble(_e)?w(_e):function(){return(Se.size||6)/2}),_e.selectedpoints&&y.extendFlat(Me,S.makeSelectedPointStyleFns(_e)),Me},S.makeSelectedPointStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.marker||{},he=Se.marker||{},be=Ce.marker||{},ke=ae.opacity,Le=he.opacity,Be=be.opacity,ze=Le!==void 0,je=Be!==void 0;(y.isArrayOrTypedArray(ke)||ze||je)&&(Me.selectedOpacityFn=function(ft){var bt=ft.mo===void 0?ae.opacity:ft.mo;return ft.selected?ze?Le:bt:je?Be:c*bt});var ge=ae.color,we=he.color,Ee=be.color;(we||Ee)&&(Me.selectedColorFn=function(ft){var bt=ft.mcc||ge;return ft.selected?we||bt:Ee||bt});var Ve=ae.size,$e=he.size,Ye=be.size,st=$e!==void 0,ot=Ye!==void 0;return h.traceIs(_e,"symbols")&&(st||ot)&&(Me.selectedSizeFn=function(ft){var bt=ft.mrc||Ve/2;return ft.selected?st?$e/2:bt:ot?Ye/2:bt}),Me},S.makeSelectedTextStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.textfont||{},he=Se.textfont||{},be=Ce.textfont||{},ke=ae.color,Le=he.color,Be=be.color;return Me.selectedTextColorFn=function(ze){var je=ze.tc||ke;return ze.selected?Le||je:Be||(Le?je:l.addOpacity(je,c))},Me},S.selectedPointStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedPointStyleFns(Me),Ce=Me.marker||{},ae=[];Se.selectedOpacityFn&&ae.push(function(he,be){he.style("opacity",Se.selectedOpacityFn(be))}),Se.selectedColorFn&&ae.push(function(he,be){l.fill(he,Se.selectedColorFn(be))}),Se.selectedSizeFn&&ae.push(function(he,be){var ke=be.mx||Ce.symbol||0,Le=Se.selectedSizeFn(be);he.attr("d",_(S.symbolNumber(ke),Le,Pe(be,Me),Q(be,Me))),be.mrc2=Le}),ae.length&&_e.each(function(he){for(var be=d.select(this),ke=0;ke0?Se:0}function N(_e,Me,Se){return Se&&(_e=W(_e)),Me?j(_e[1]):q(_e[0])}function q(_e){var Me=d.round(_e,2);return I=Me,Me}function j(_e){var Me=d.round(_e,2);return R=Me,Me}function $(_e,Me,Se,Ce){var ae=_e[0]-Me[0],he=_e[1]-Me[1],be=Se[0]-Me[0],ke=Se[1]-Me[1],Le=Math.pow(ae*ae+he*he,.25),Be=Math.pow(be*be+ke*ke,.25),ze=(Be*Be*ae-Le*Le*be)*Ce,je=(Be*Be*he-Le*Le*ke)*Ce,ge=3*Be*(Le+Be),we=3*Le*(Le+Be);return[[q(Me[0]+(ge&&ze/ge)),j(Me[1]+(ge&&je/ge))],[q(Me[0]-(we&&ze/we)),j(Me[1]-(we&&je/we))]]}S.textPointStyle=function(_e,Me,Se){if(_e.size()){var Ce;if(Me.selectedpoints){var ae=S.makeSelectedTextStyleFns(Me);Ce=ae.selectedTextColorFn}var he=Me.texttemplate,be=Se._fullLayout;_e.each(function(ke){var Le=d.select(this),Be=he?y.extractOption(ke,Me,"txt","texttemplate"):y.extractOption(ke,Me,"tx","text");if(Be||Be===0){if(he){var ze=Me._module.formatLabels,je=ze?ze(ke,Me,be):{},ge={};v(ge,Me,ke.i);var we=Me._meta||{};Be=y.texttemplateString(Be,je,be._d3locale,ge,ke,we)}var Ee=ke.tp||Me.textposition,Ve=B(ke,Me),$e=Ce?Ce(ke):ke.tc||Me.textfont.color;Le.call(S.font,ke.tf||Me.textfont.family,Ve,$e).text(Be).call(o.convertToTspans,Se).call(F,Ee,Ve,ke.mrc)}else Le.remove()})}},S.selectedTextStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedTextStyleFns(Me);_e.each(function(Ce){var ae=d.select(this),he=Se.selectedTextColorFn(Ce),be=Ce.tp||Me.textposition,ke=B(Ce,Me);l.fill(ae,he);var Le=h.traceIs(Me,"bar-like");F(ae,be,ke,Ce.mrc2||Ce.mrc,Le)})}},S.smoothopen=function(_e,Me){if(_e.length<3)return"M"+_e.join("L");var Se,Ce="M"+_e[0],ae=[];for(Se=1;Se<_e.length-1;Se++)ae.push($(_e[Se-1],_e[Se],_e[Se+1],Me));for(Ce+="Q"+ae[0][0]+" "+_e[1],Se=2;Se<_e.length-1;Se++)Ce+="C"+ae[Se-2][1]+" "+ae[Se-1][0]+" "+_e[Se];return Ce+"Q"+ae[_e.length-3][1]+" "+_e[_e.length-1]},S.smoothclosed=function(_e,Me){if(_e.length<3)return"M"+_e.join("L")+"Z";var Se,Ce="M"+_e[0],ae=_e.length-1,he=[$(_e[ae],_e[0],_e[1],Me)];for(Se=1;Se=Le||ft>=ze&&ft<=Le)&&(bt<=je&&bt>=Be||bt>=je&&bt<=Be)&&(_e=[ft,bt])}return _e}S.steps=function(_e){var Me=U[_e]||G;return function(Se){for(var Ce="M"+q(Se[0][0])+","+j(Se[0][1]),ae=Se.length,he=1;he=1e4&&(S.savedBBoxes={},H=0),Se&&(S.savedBBoxes[Se]=we),H++,y.extendFlat({},we)},S.setClipUrl=function(_e,Me,Se){_e.attr("clip-path",te(Me,Se))},S.getTranslate=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||0,y:+Me[1]||0}},S.setTranslate=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",he=_e[Ce]("transform")||"";return Me=Me||0,Se=Se||0,he=he.replace(/(\btranslate\(.*?\);?)/,"").trim(),he=(he+=u(Me,Se)).trim(),_e[ae]("transform",he),he},S.getScale=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||1,y:+Me[1]||1}},S.setScale=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",he=_e[Ce]("transform")||"";return Me=Me||1,Se=Se||1,he=he.replace(/(\bscale\(.*?\);?)/,"").trim(),he=(he+="scale("+Me+","+Se+")").trim(),_e[ae]("transform",he),he};var Z=/\s*sc.*/;S.setPointGroupScale=function(_e,Me,Se){if(Me=Me||1,Se=Se||1,_e){var Ce=Me===1&&Se===1?"":"scale("+Me+","+Se+")";_e.each(function(){var ae=(this.getAttribute("transform")||"").replace(Z,"");ae=(ae+=Ce).trim(),this.setAttribute("transform",ae)})}};var X=/translate\([^)]*\)\s*$/;function Q(_e,Me){var Se;return _e&&(Se=_e.mf),Se===void 0&&(Se=Me.marker&&Me.marker.standoff||0),Me._geo||Me._xA?Se:-Se}S.setTextPointsScale=function(_e,Me,Se){_e&&_e.each(function(){var Ce,ae=d.select(this),he=ae.select("text");if(he.node()){var be=parseFloat(he.attr("x")||0),ke=parseFloat(he.attr("y")||0),Le=(ae.attr("transform")||"").match(X);Ce=Me===1&&Se===1?[]:[u(be,ke),"scale("+Me+","+Se+")",u(-be,-ke)],Le&&Ce.push(Le),ae.attr("transform",Ce.join(""))}})},S.getMarkerStandoff=Q;var re,ie,oe,ue,ce,ye,de=Math.atan2,me=Math.cos,pe=Math.sin;function xe(_e,Me){var Se=Me[0],Ce=Me[1];return[Se*me(_e)-Ce*pe(_e),Se*pe(_e)+Ce*me(_e)]}function Pe(_e,Me){var Se,Ce,ae=_e.ma;ae===void 0&&(ae=Me.marker.angle||0);var he=Me.marker.angleref;if(he==="previous"||he==="north"){if(Me._geo){var be=Me._geo.project(_e.lonlat);Se=be[0],Ce=be[1]}else{var ke=Me._xA,Le=Me._yA;if(!ke||!Le)return 90;Se=ke.c2p(_e.x),Ce=Le.c2p(_e.y)}if(Me._geo){var Be,ze=_e.lonlat[0],je=_e.lonlat[1],ge=Me._geo.project([ze,je+1e-5]),we=Me._geo.project([ze+1e-5,je]),Ee=de(we[1]-Ce,we[0]-Se),Ve=de(ge[1]-Ce,ge[0]-Se);if(he==="north")Be=ae/180*Math.PI;else if(he==="previous"){var $e=ze/180*Math.PI,Ye=je/180*Math.PI,st=re/180*Math.PI,ot=ie/180*Math.PI,ft=st-$e,bt=me(ot)*pe(ft),Et=pe(ot)*me(Ye)-me(ot)*pe(Ye)*me(ft);Be=-de(bt,Et)-Math.PI,re=ze,ie=je}var kt=xe(Ee,[me(Be),0]),xt=xe(Ve,[pe(Be),0]);ae=de(kt[1]+xt[1],kt[0]+xt[0])/Math.PI*180,he!=="previous"||ye===Me.uid&&_e.i===ce+1||(ae=null)}if(he==="previous"&&!Me._geo)if(ye===Me.uid&&_e.i===ce+1&&M(Se)&&M(Ce)){var Ft=Se-oe,Rt=Ce-ue,Bt=Me.line&&Me.line.shape||"",Wt=Bt.slice(Bt.length-1);Wt==="h"&&(Rt=0),Wt==="v"&&(Ft=0),ae+=de(Rt,Ft)/Math.PI*180+90}else ae=null}return oe=Se,ue=Ce,ce=_e.i,ye=Me.uid,ae}S.getMarkerAngle=Pe},90998:function(k,m,t){var d,y,i,M,g=t(95616),h=t(39898).round,l="M0,0Z",a=Math.sqrt(2),u=Math.sqrt(3),o=Math.PI,s=Math.cos,f=Math.sin;function c(w){return w===null}function p(w,v,S){if(!(w&&w%360!=0||v))return S;if(i===w&&M===v&&d===S)return y;function x(N,q){var j=s(N),$=f(N),U=q[0],G=q[1]+(v||0);return[U*j-G*$,U*$+G*j]}i=w,M=v,d=S;for(var T=w/180*o,C=0,_=0,A=g(S),L="",b=0;b0,f=g._context.staticPlot;h.each(function(c){var p,w=c[0].trace,v=w.error_x||{},S=w.error_y||{};w.ids&&(p=function(_){return _.id});var x=M.hasMarkers(w)&&w.marker.maxdisplayed>0;S.visible||v.visible||(c=[]);var T=d.select(this).selectAll("g.errorbar").data(c,p);if(T.exit().remove(),c.length){v.visible||T.selectAll("path.xerror").remove(),S.visible||T.selectAll("path.yerror").remove(),T.style("opacity",1);var C=T.enter().append("g").classed("errorbar",!0);s&&C.style("opacity",0).transition().duration(a.duration).style("opacity",1),i.setClipUrl(T,l.layerClipId,g),T.each(function(_){var A=d.select(this),L=function(F,B,N){var q={x:B.c2p(F.x),y:N.c2p(F.y)};return F.yh!==void 0&&(q.yh=N.c2p(F.yh),q.ys=N.c2p(F.ys),y(q.ys)||(q.noYS=!0,q.ys=N.c2p(F.ys,!0))),F.xh!==void 0&&(q.xh=B.c2p(F.xh),q.xs=B.c2p(F.xs),y(q.xs)||(q.noXS=!0,q.xs=B.c2p(F.xs,!0))),q}(_,u,o);if(!x||_.vis){var b,O=A.select("path.yerror");if(S.visible&&y(L.x)&&y(L.yh)&&y(L.ys)){var I=S.width;b="M"+(L.x-I)+","+L.yh+"h"+2*I+"m-"+I+",0V"+L.ys,L.noYS||(b+="m-"+I+",0h"+2*I),O.size()?s&&(O=O.transition().duration(a.duration).ease(a.easing)):O=A.append("path").style("vector-effect",f?"none":"non-scaling-stroke").classed("yerror",!0),O.attr("d",b)}else O.remove();var R=A.select("path.xerror");if(v.visible&&y(L.y)&&y(L.xh)&&y(L.xs)){var D=(v.copy_ystyle?S:v).width;b="M"+L.xh+","+(L.y-D)+"v"+2*D+"m0,-"+D+"H"+L.xs,L.noXS||(b+="m0,-"+D+"v"+2*D),R.size()?s&&(R=R.transition().duration(a.duration).ease(a.easing)):R=A.append("path").style("vector-effect",f?"none":"non-scaling-stroke").classed("xerror",!0),R.attr("d",b)}else R.remove()}})}})}},62662:function(k,m,t){var d=t(39898),y=t(7901);k.exports=function(i){i.each(function(M){var g=M[0].trace,h=g.error_y||{},l=g.error_x||{},a=d.select(this);a.selectAll("path.yerror").style("stroke-width",h.thickness+"px").call(y.stroke,h.color),l.copy_ystyle&&(l=h),a.selectAll("path.xerror").style("stroke-width",l.thickness+"px").call(y.stroke,l.color)})}},77914:function(k,m,t){var d=t(41940),y=t(528).hoverlabel,i=t(1426).extendFlat;k.exports={hoverlabel:{bgcolor:i({},y.bgcolor,{arrayOk:!0}),bordercolor:i({},y.bordercolor,{arrayOk:!0}),font:d({arrayOk:!0,editType:"none"}),align:i({},y.align,{arrayOk:!0}),namelength:i({},y.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(k,m,t){var d=t(71828),y=t(73972);function i(M,g,h,l){l=l||d.identity,Array.isArray(M)&&(g[0][h]=l(M))}k.exports=function(M){var g=M.calcdata,h=M._fullLayout;function l(f){return function(c){return d.coerceHoverinfo({hoverinfo:c},{_module:f._module},h)}}for(var a=0;a=0&&u.indexae[0]._length||Je<0||Je>he[0]._length)return f.unhoverRaw(ue,ce)}else Ke="xpx"in ce?ce.xpx:ae[0]._length/2,Je="ypx"in ce?ce.ypx:he[0]._length/2;if(ce.pointerX=Ke+ae[0]._offset,ce.pointerY=Je+he[0]._offset,we="xval"in ce?w.flat(pe,ce.xval):w.p2c(ae,Ke),Ee="yval"in ce?w.flat(pe,ce.yval):w.p2c(he,Je),!y(we[0])||!y(Ee[0]))return M.warn("Fx.hover failed",ce,ue),f.unhoverRaw(ue,ce)}var ht=1/0;function Oe(Kt,bn){for($e=0;$eFt&&(Rt.splice(0,Ft),ht=Rt[0].distance),Me&&ge!==0&&Rt.length===0){xt.distance=ge,xt.index=!1;var $n=st._module.hoverPoints(xt,Et,kt,"closest",{hoverLayer:xe._hoverlayer});if($n&&($n=$n.filter(function(Jt){return Jt.spikeDistance<=ge})),$n&&$n.length){var tr,mr=$n.filter(function(Jt){return Jt.xa.showspikes&&Jt.xa.spikesnap!=="hovered data"});if(mr.length){var nn=mr[0];y(nn.x0)&&y(nn.y0)&&(tr=Qe(nn),(!Wt.vLinePoint||Wt.vLinePoint.spikeDistance>tr.spikeDistance)&&(Wt.vLinePoint=tr))}var Pn=$n.filter(function(Jt){return Jt.ya.showspikes&&Jt.ya.spikesnap!=="hovered data"});if(Pn.length){var jt=Pn[0];y(jt.x0)&&y(jt.y0)&&(tr=Qe(jt),(!Wt.hLinePoint||Wt.hLinePoint.spikeDistance>tr.spikeDistance)&&(Wt.hLinePoint=tr))}}}}}function Ne(Kt,bn,On){for(var Ln,Un=null,Kn=1/0,$n=0;$n0&&Math.abs(Kt.distance)Yt-1;qt--)xn(Rt[qt]);Rt=Xt,It()}var un=ue._hoverdata,An=[],Yn=ne(ue),kn=te(ue);for(Ve=0;Ve1||Rt.length>1)||ze==="closest"&&Vt&&Rt.length>1,yr=s.combine(xe.plot_bgcolor||s.background,xe.paper_bgcolor),or=B(Rt,{gd:ue,hovermode:ze,rotateLabels:Sr,bgColor:yr,container:xe._hoverlayer,outerContainer:xe._paper.node(),commonLabelOpts:xe.hoverlabel,hoverdistance:xe.hoverdistance}),vr=or.hoverLabels;if(w.isUnifiedHover(ze)||(function(Kt,bn,On,Ln){var Un,Kn,$n,tr,mr,nn,Pn,jt=bn?"xa":"ya",Jt=bn?"ya":"xa",fn=0,zn=1,Rn=Kt.size(),En=new Array(Rn),mn=0,wn=Ln.minX,gn=Ln.maxX,yn=Ln.minY,Sn=Ln.maxY,Vn=function(Lr){return Lr*On._invScaleX},Xn=function(Lr){return Lr*On._invScaleY};function nr(Lr){var zr=Lr[0],gr=Lr[Lr.length-1];if(Kn=zr.pmin-zr.pos-zr.dp+zr.size,$n=gr.pos+gr.dp+gr.size-zr.pmax,Kn>.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp+=Kn;Un=!1}if(!($n<.01)){if(Kn<-.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp-=$n;Un=!1}if(Un){var Fr=0;for(tr=0;trzr.pmax&&Fr++;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos>zr.pmax-1&&(nn.del=!0,Fr--);for(tr=0;tr=0;mr--)Lr[mr].dp-=$n;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos+nn.dp+nn.size>zr.pmax&&(nn.del=!0,Fr--)}}}for(Kt.each(function(Lr){var zr=Lr[jt],gr=Lr[Jt],Fr=zr._id.charAt(0)==="x",ii=zr.range;mn===0&&ii&&ii[0]>ii[1]!==Fr&&(zn=-1);var ji=0,ta=Fr?On.width:On.height;if(On.hovermode==="x"||On.hovermode==="y"){var sa,uo,La=q(Lr,bn),Xi=Lr.anchor,Do=Xi==="end"?-1:1;if(Xi==="middle")uo=(sa=Lr.crossPos+(Fr?Xn(La.y-Lr.by/2):Vn(Lr.bx/2+Lr.tx2width/2)))+(Fr?Xn(Lr.by):Vn(Lr.bx));else if(Fr)uo=(sa=Lr.crossPos+Xn(b+La.y)-Xn(Lr.by/2-b))+Xn(Lr.by);else{var rs=Vn(Do*b+La.x),tl=rs+Vn(Do*Lr.bx);sa=Lr.crossPos+Math.min(rs,tl),uo=Lr.crossPos+Math.max(rs,tl)}Fr?yn!==void 0&&Sn!==void 0&&Math.min(uo,Sn)-Math.max(sa,yn)>1&&(gr.side==="left"?(ji=gr._mainLinePosition,ta=On.width):ta=gr._mainLinePosition):wn!==void 0&&gn!==void 0&&Math.min(uo,gn)-Math.max(sa,wn)>1&&(gr.side==="top"?(ji=gr._mainLinePosition,ta=On.height):ta=gr._mainLinePosition)}En[mn++]=[{datum:Lr,traceIndex:Lr.trace.index,dp:0,pos:Lr.pos,posref:Lr.posref,size:Lr.by*(Fr?_:1)/2,pmin:ji,pmax:ta}]}),En.sort(function(Lr,zr){return Lr[0].posref-zr[0].posref||zn*(zr[0].traceIndex-Lr[0].traceIndex)});!Un&&fn<=Rn;){for(fn++,Un=!0,tr=0;tr.01&&cr.pmin===pr.pmin&&cr.pmax===pr.pmax){for(mr=fr.length-1;mr>=0;mr--)fr[mr].dp+=Kn;for(Qn.push.apply(Qn,fr),En.splice(tr+1,1),Pn=0,mr=Qn.length-1;mr>=0;mr--)Pn+=Qn[mr].dp;for($n=Pn/Qn.length,mr=Qn.length-1;mr>=0;mr--)Qn[mr].dp-=$n;Un=!1}else tr++}En.forEach(nr)}for(tr=En.length-1;tr>=0;tr--){var dr=En[tr];for(mr=dr.length-1;mr>=0;mr--){var br=dr[mr],Ir=br.datum;Ir.offset=br.dp,Ir.del=br.del}}}(vr,Sr,xe,or.commonLabelBoundingBox),j(vr,Sr,xe._invScaleX,xe._invScaleY)),me&&me.tagName){var _r=p.getComponentMethod("annotations","hasClickToShow")(ue,An);u(d.select(me),_r?"pointer":"")}me&&!de&&function(Kt,bn,On){if(!On||On.length!==Kt._hoverdata.length)return!0;for(var Ln=On.length-1;Ln>=0;Ln--){var Un=On[Ln],Kn=Kt._hoverdata[Ln];if(Un.curveNumber!==Kn.curveNumber||String(Un.pointNumber)!==String(Kn.pointNumber)||String(Un.pointNumbers)!==String(Kn.pointNumbers))return!0}return!1}(ue,0,un)&&(un&&ue.emit("plotly_unhover",{event:ce,points:un}),ue.emit("plotly_hover",{event:ce,points:ue._hoverdata,xaxes:ae,yaxes:he,xvals:we,yvals:Ee}))})(X,Q,re,ie,oe)})},m.loneHover=function(X,Q){var re=!0;Array.isArray(X)||(re=!1,X=[X]);var ie=Q.gd,oe=ne(ie),ue=te(ie),ce=B(X.map(function(me){var pe=me._x0||me.x0||me.x||0,xe=me._x1||me.x1||me.x||0,Pe=me._y0||me.y0||me.y||0,_e=me._y1||me.y1||me.y||0,Me=me.eventData;if(Me){var Se=Math.min(pe,xe),Ce=Math.max(pe,xe),ae=Math.min(Pe,_e),he=Math.max(Pe,_e),be=me.trace;if(p.traceIs(be,"gl3d")){var ke=ie._fullLayout[be.scene]._scene.container,Le=ke.offsetLeft,Be=ke.offsetTop;Se+=Le,Ce+=Le,ae+=Be,he+=Be}Me.bbox={x0:Se+ue,x1:Ce+ue,y0:ae+oe,y1:he+oe},Q.inOut_bbox&&Q.inOut_bbox.push(Me.bbox)}else Me=!1;return{color:me.color||s.defaultLine,x0:me.x0||me.x||0,x1:me.x1||me.x||0,y0:me.y0||me.y||0,y1:me.y1||me.y||0,xLabel:me.xLabel,yLabel:me.yLabel,zLabel:me.zLabel,text:me.text,name:me.name,idealAlign:me.idealAlign,borderColor:me.borderColor,fontFamily:me.fontFamily,fontSize:me.fontSize,fontColor:me.fontColor,nameLength:me.nameLength,textAlign:me.textAlign,trace:me.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:me.hovertemplate||!1,hovertemplateLabels:me.hovertemplateLabels||!1,eventData:Me}}),{gd:ie,hovermode:"closest",rotateLabels:!1,bgColor:Q.bgColor||s.background,container:d.select(Q.container),outerContainer:Q.outerContainer||Q.container}).hoverLabels,ye=0,de=0;return ce.sort(function(me,pe){return me.y0-pe.y0}).each(function(me,pe){var xe=me.y0-me.by/2;me.offset=xe-5([\s\S]*)<\/extra>/;function B(X,Q){var re=Q.gd,ie=re._fullLayout,oe=Q.hovermode,ue=Q.rotateLabels,ce=Q.bgColor,ye=Q.container,de=Q.outerContainer,me=Q.commonLabelOpts||{};if(X.length===0)return[[]];var pe=Q.fontFamily||v.HOVERFONT,xe=Q.fontSize||v.HOVERFONTSIZE,Pe=X[0],_e=Pe.xa,Me=Pe.ya,Se=oe.charAt(0),Ce=Se+"Label",ae=Pe[Ce];if(ae===void 0&&_e.type==="multicategory")for(var he=0;heie.width-kn?(xn=ie.width-kn,Nt.attr("d","M"+(kn-b)+",0L"+kn+","+Yn+b+"v"+Yn+(2*O+An.height)+"H-"+kn+"V"+Yn+b+"H"+(kn-2*b)+"Z")):Nt.attr("d","M0,0L"+b+","+Yn+b+"H"+kn+"v"+Yn+(2*O+An.height)+"H-"+kn+"V"+Yn+b+"H-"+b+"Z"),$e.minX=xn-kn,$e.maxX=xn+kn,_e.side==="top"?($e.minY=un-(2*O+An.height),$e.maxY=un-O):($e.minY=un+O,$e.maxY=un+(2*O+An.height))}else{var sn,Tn,dn;Me.side==="right"?(sn="start",Tn=1,dn="",xn=_e._offset+_e._length):(sn="end",Tn=-1,dn="-",xn=_e._offset),un=Me._offset+(Pe.y0+Pe.y1)/2,Yt.attr("text-anchor",sn),Nt.attr("d","M0,0L"+dn+b+","+b+"V"+(O+An.height/2)+"h"+dn+(2*O+An.width)+"V-"+(O+An.height/2)+"H"+dn+b+"V-"+b+"Z"),$e.minY=un-(O+An.height/2),$e.maxY=un+(O+An.height/2),Me.side==="right"?($e.minX=xn+b,$e.maxX=xn+b+(2*O+An.width)):($e.minX=xn-b-(2*O+An.width),$e.maxX=xn-b);var pn,Dn=An.height/2,In=ke-An.top-Dn,jn="clip"+ie._uid+"commonlabel"+Me._id;if(xn=0?Je:We+Oe=0?We:yt+Oe=0?Vt:Ke+Ne=0?Ke:Pt+Ne=0,Ot.idealAlign!=="top"&&rr||!Sr?rr?(Dn+=jn/2,Ot.anchor="start"):Ot.anchor="middle":(Dn-=jn/2,Ot.anchor="end"),Ot.crossPos=Dn;else{if(Ot.pos=Dn,rr=pn+In/2+yr<=Le,Sr=pn-In/2-yr>=0,Ot.idealAlign!=="left"&&rr||!Sr)if(rr)pn+=In/2,Ot.anchor="start";else{Ot.anchor="middle";var or=yr/2,vr=pn+or-Le,_r=pn-or;vr>0&&(pn-=vr),_r<0&&(pn+=-_r)}else pn-=In/2,Ot.anchor="end";Ot.crossPos=pn}Yn.attr("text-anchor",Ot.anchor),sn&&kn.attr("text-anchor",Ot.anchor),Nt.attr("transform",g(pn,Dn)+(ue?h(T):""))}),{hoverLabels:wt,commonLabelBoundingBox:$e}}function N(X,Q,re,ie,oe,ue){var ce="",ye="";X.nameOverride!==void 0&&(X.name=X.nameOverride),X.name&&(X.trace._meta&&(X.name=M.templateString(X.name,X.trace._meta)),ce=W(X.name,X.nameLength));var de=re.charAt(0),me=de==="x"?"y":"x";X.zLabel!==void 0?(X.xLabel!==void 0&&(ye+="x: "+X.xLabel+"
"),X.yLabel!==void 0&&(ye+="y: "+X.yLabel+"
"),X.trace.type!=="choropleth"&&X.trace.type!=="choroplethmapbox"&&(ye+=(ye?"z: ":"")+X.zLabel)):Q&&X[de+"Label"]===oe?ye=X[me+"Label"]||"":X.xLabel===void 0?X.yLabel!==void 0&&X.trace.type!=="scattercarpet"&&(ye=X.yLabel):ye=X.yLabel===void 0?X.xLabel:"("+X.xLabel+", "+X.yLabel+")",!X.text&&X.text!==0||Array.isArray(X.text)||(ye+=(ye?"
":"")+X.text),X.extraText!==void 0&&(ye+=(ye?"
":"")+X.extraText),ue&&ye===""&&!X.hovertemplate&&(ce===""&&ue.remove(),ye=ce);var pe=X.hovertemplate||!1;if(pe){var xe=X.hovertemplateLabels||X;X[de+"Label"]!==oe&&(xe[de+"other"]=xe[de+"Val"],xe[de+"otherLabel"]=xe[de+"Label"]),ye=(ye=M.hovertemplateString(pe,xe,ie._d3locale,X.eventData[0]||{},X.trace._meta)).replace(F,function(Pe,_e){return ce=W(_e,X.nameLength),""})}return[ye,ce]}function q(X,Q){var re=0,ie=X.offset;return Q&&(ie*=-L,re=X.offset*A),{x:re,y:ie}}function j(X,Q,re,ie){var oe=function(ce){return ce*re},ue=function(ce){return ce*ie};X.each(function(ce){var ye=d.select(this);if(ce.del)return ye.remove();var de,me,pe,xe,Pe=ye.select("text.nums"),_e=ce.anchor,Me=_e==="end"?-1:1,Se=(xe=(pe=(me={start:1,end:-1,middle:0}[(de=ce).anchor])*(b+O))+me*(de.txwidth+O),de.anchor==="middle"&&(pe-=de.tx2width/2,xe+=de.txwidth/2+O),{alignShift:me,textShiftX:pe,text2ShiftX:xe}),Ce=q(ce,Q),ae=Ce.x,he=Ce.y,be=_e==="middle";ye.select("path").attr("d",be?"M-"+oe(ce.bx/2+ce.tx2width/2)+","+ue(he-ce.by/2)+"h"+oe(ce.bx)+"v"+ue(ce.by)+"h-"+oe(ce.bx)+"Z":"M0,0L"+oe(Me*b+ae)+","+ue(b+he)+"v"+ue(ce.by/2-b)+"h"+oe(Me*ce.bx)+"v-"+ue(ce.by)+"H"+oe(Me*b+ae)+"V"+ue(he-b)+"Z");var ke=ae+Se.textShiftX,Le=he+ce.ty0-ce.by/2+O,Be=ce.textAlign||"auto";Be!=="auto"&&(Be==="left"&&_e!=="start"?(Pe.attr("text-anchor","start"),ke=be?-ce.bx/2-ce.tx2width/2+O:-ce.bx-O):Be==="right"&&_e!=="end"&&(Pe.attr("text-anchor","end"),ke=be?ce.bx/2-ce.tx2width/2-O:ce.bx+O)),Pe.call(a.positionText,oe(ke),ue(Le)),ce.tx2width&&(ye.select("text.name").call(a.positionText,oe(Se.text2ShiftX+Se.alignShift*O+ae),ue(he+ce.ty0-ce.by/2+O)),ye.select("rect").call(o.setRect,oe(Se.text2ShiftX+(Se.alignShift-1)*ce.tx2width/2+ae),ue(he-ce.by/2-1),oe(ce.tx2width),ue(ce.by+2)))})}function $(X,Q){var re=X.index,ie=X.trace||{},oe=X.cd[0],ue=X.cd[re]||{};function ce(Pe){return Pe||y(Pe)&&Pe===0}var ye=Array.isArray(re)?function(Pe,_e){var Me=M.castOption(oe,re,Pe);return ce(Me)?Me:M.extractOption({},ie,"",_e)}:function(Pe,_e){return M.extractOption(ue,ie,Pe,_e)};function de(Pe,_e,Me){var Se=ye(_e,Me);ce(Se)&&(X[Pe]=Se)}if(de("hoverinfo","hi","hoverinfo"),de("bgcolor","hbg","hoverlabel.bgcolor"),de("borderColor","hbc","hoverlabel.bordercolor"),de("fontFamily","htf","hoverlabel.font.family"),de("fontSize","hts","hoverlabel.font.size"),de("fontColor","htc","hoverlabel.font.color"),de("nameLength","hnl","hoverlabel.namelength"),de("textAlign","hta","hoverlabel.align"),X.posref=Q==="y"||Q==="closest"&&ie.orientation==="h"?X.xa._offset+(X.x0+X.x1)/2:X.ya._offset+(X.y0+X.y1)/2,X.x0=M.constrain(X.x0,0,X.xa._length),X.x1=M.constrain(X.x1,0,X.xa._length),X.y0=M.constrain(X.y0,0,X.ya._length),X.y1=M.constrain(X.y1,0,X.ya._length),X.xLabelVal!==void 0&&(X.xLabel="xLabel"in X?X.xLabel:c.hoverLabelText(X.xa,X.xLabelVal,ie.xhoverformat),X.xVal=X.xa.c2d(X.xLabelVal)),X.yLabelVal!==void 0&&(X.yLabel="yLabel"in X?X.yLabel:c.hoverLabelText(X.ya,X.yLabelVal,ie.yhoverformat),X.yVal=X.ya.c2d(X.yLabelVal)),X.zLabelVal!==void 0&&X.zLabel===void 0&&(X.zLabel=String(X.zLabelVal)),!(isNaN(X.xerr)||X.xa.type==="log"&&X.xerr<=0)){var me=c.tickText(X.xa,X.xa.c2l(X.xerr),"hover").text;X.xerrneg!==void 0?X.xLabel+=" +"+me+" / -"+c.tickText(X.xa,X.xa.c2l(X.xerrneg),"hover").text:X.xLabel+=" ยฑ "+me,Q==="x"&&(X.distance+=1)}if(!(isNaN(X.yerr)||X.ya.type==="log"&&X.yerr<=0)){var pe=c.tickText(X.ya,X.ya.c2l(X.yerr),"hover").text;X.yerrneg!==void 0?X.yLabel+=" +"+pe+" / -"+c.tickText(X.ya,X.ya.c2l(X.yerrneg),"hover").text:X.yLabel+=" ยฑ "+pe,Q==="y"&&(X.distance+=1)}var xe=X.hoverinfo||X.trace.hoverinfo;return xe&&xe!=="all"&&((xe=Array.isArray(xe)?xe:xe.split("+")).indexOf("x")===-1&&(X.xLabel=void 0),xe.indexOf("y")===-1&&(X.yLabel=void 0),xe.indexOf("z")===-1&&(X.zLabel=void 0),xe.indexOf("text")===-1&&(X.text=void 0),xe.indexOf("name")===-1&&(X.name=void 0)),X}function U(X,Q,re){var ie,oe,ue=re.container,ce=re.fullLayout,ye=ce._size,de=re.event,me=!!Q.hLinePoint,pe=!!Q.vLinePoint;if(ue.selectAll(".spikeline").remove(),pe||me){var xe=s.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(me){var Pe,_e,Me=Q.hLinePoint;ie=Me&&Me.xa,(oe=Me&&Me.ya).spikesnap==="cursor"?(Pe=de.pointerX,_e=de.pointerY):(Pe=ie._offset+Me.x,_e=oe._offset+Me.y);var Se,Ce,ae=i.readability(Me.color,xe)<1.5?s.contrast(xe):Me.color,he=oe.spikemode,be=oe.spikethickness,ke=oe.spikecolor||ae,Le=c.getPxPosition(X,oe);if(he.indexOf("toaxis")!==-1||he.indexOf("across")!==-1){if(he.indexOf("toaxis")!==-1&&(Se=Le,Ce=Pe),he.indexOf("across")!==-1){var Be=oe._counterDomainMin,ze=oe._counterDomainMax;oe.anchor==="free"&&(Be=Math.min(Be,oe.position),ze=Math.max(ze,oe.position)),Se=ye.l+Be*ye.w,Ce=ye.l+ze*ye.w}ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be,stroke:ke,"stroke-dasharray":o.dashStyle(oe.spikedash,be)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}he.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:Le+(oe.side!=="right"?be:-be),cy:_e,r:be,fill:ke}).classed("spikeline",!0)}if(pe){var je,ge,we=Q.vLinePoint;ie=we&&we.xa,oe=we&&we.ya,ie.spikesnap==="cursor"?(je=de.pointerX,ge=de.pointerY):(je=ie._offset+we.x,ge=oe._offset+we.y);var Ee,Ve,$e=i.readability(we.color,xe)<1.5?s.contrast(xe):we.color,Ye=ie.spikemode,st=ie.spikethickness,ot=ie.spikecolor||$e,ft=c.getPxPosition(X,ie);if(Ye.indexOf("toaxis")!==-1||Ye.indexOf("across")!==-1){if(Ye.indexOf("toaxis")!==-1&&(Ee=ft,Ve=ge),Ye.indexOf("across")!==-1){var bt=ie._counterDomainMin,Et=ie._counterDomainMax;ie.anchor==="free"&&(bt=Math.min(bt,ie.position),Et=Math.max(Et,ie.position)),Ee=ye.t+(1-Et)*ye.h,Ve=ye.t+(1-bt)*ye.h}ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st,stroke:ot,"stroke-dasharray":o.dashStyle(ie.spikedash,st)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}Ye.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:je,cy:ft-(ie.side!=="top"?st:-st),r:st,fill:ot}).classed("spikeline",!0)}}}function G(X,Q){return!Q||Q.vLinePoint!==X._spikepoints.vLinePoint||Q.hLinePoint!==X._spikepoints.hLinePoint}function W(X,Q){return a.plainText(X||"",{len:Q,allowedTags:["br","sub","sup","b","i","em"]})}function H(X,Q,re){var ie=Q[X+"a"],oe=Q[X+"Val"],ue=Q.cd[0];if(ie.type==="category"||ie.type==="multicategory")oe=ie._categoriesMap[oe];else if(ie.type==="date"){var ce=Q.trace[X+"periodalignment"];if(ce){var ye=Q.cd[Q.index],de=ye[X+"Start"];de===void 0&&(de=ye[X]);var me=ye[X+"End"];me===void 0&&(me=ye[X]);var pe=me-de;ce==="end"?oe+=pe:ce==="middle"&&(oe+=pe/2)}oe=ie.d2c(oe)}return ue&&ue.t&&ue.t.posLetter===ie._id&&(re.boxmode!=="group"&&re.violinmode!=="group"||(oe+=ue.t.dPos)),oe}function ne(X){return X.offsetTop+X.clientTop}function te(X){return X.offsetLeft+X.clientLeft}function Z(X,Q){var re=X._fullLayout,ie=Q.getBoundingClientRect(),oe=ie.left,ue=ie.top,ce=oe+ie.width,ye=ue+ie.height,de=M.apply3DTransform(re._invTransform)(oe,ue),me=M.apply3DTransform(re._invTransform)(ce,ye),pe=de[0],xe=de[1],Pe=me[0],_e=me[1];return{x:pe,y:xe,width:Pe-pe,height:_e-xe,top:Math.min(xe,_e),left:Math.min(pe,Pe),right:Math.max(pe,Pe),bottom:Math.max(xe,_e)}}},38048:function(k,m,t){var d=t(71828),y=t(7901),i=t(23469).isUnifiedHover;k.exports=function(M,g,h,l){l=l||{};var a=g.legend;function u(o){l.font[o]||(l.font[o]=a?g.legend.font[o]:g.font[o])}g&&i(g.hovermode)&&(l.font||(l.font={}),u("size"),u("family"),u("color"),a?(l.bgcolor||(l.bgcolor=y.combine(g.legend.bgcolor,g.paper_bgcolor)),l.bordercolor||(l.bordercolor=g.legend.bordercolor)):l.bgcolor||(l.bgcolor=g.paper_bgcolor)),h("hoverlabel.bgcolor",l.bgcolor),h("hoverlabel.bordercolor",l.bordercolor),h("hoverlabel.namelength",l.namelength),d.coerceFont(h,"hoverlabel.font",l.font),h("hoverlabel.align",l.align)}},98212:function(k,m,t){var d=t(71828),y=t(528);k.exports=function(i,M){function g(h,l){return M[h]!==void 0?M[h]:d.coerce(i,M,y,h,l)}return g("clickmode"),g("hovermode")}},30211:function(k,m,t){var d=t(39898),y=t(71828),i=t(28569),M=t(23469),g=t(528),h=t(88335);k.exports={moduleType:"component",name:"fx",constants:t(26675),schema:{layout:g},attributes:t(77914),layoutAttributes:g,supplyLayoutGlobalDefaults:t(22774),supplyDefaults:t(54268),supplyLayoutDefaults:t(34938),calc:t(30732),getDistanceFunction:M.getDistanceFunction,getClosest:M.getClosest,inbox:M.inbox,quadrature:M.quadrature,appendArrayPointValue:M.appendArrayPointValue,castHoverOption:function(l,a,u){return y.castOption(l,a,"hoverlabel."+u)},castHoverinfo:function(l,a,u){return y.castOption(l,u,"hoverinfo",function(o){return y.coerceHoverinfo({hoverinfo:o},{_module:l._module},a)})},hover:h.hover,unhover:i.unhover,loneHover:h.loneHover,loneUnhover:function(l){var a=y.isD3Selection(l)?l:d.select(l);a.selectAll("g.hovertext").remove(),a.selectAll(".spikeline").remove()},click:t(75914)}},528:function(k,m,t){var d=t(26675),y=t(41940),i=y({editType:"none"});i.family.dflt=d.HOVERFONT,i.size.dflt=d.HOVERFONTSIZE,k.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:i,grouptitlefont:y({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(k,m,t){var d=t(71828),y=t(528),i=t(98212),M=t(38048);k.exports=function(g,h){function l(s,f){return d.coerce(g,h,y,s,f)}i(g,h)&&(l("hoverdistance"),l("spikedistance")),l("dragmode")==="select"&&l("selectdirection");var a=h._has("mapbox"),u=h._has("geo"),o=h._basePlotModules.length;h.dragmode==="zoom"&&((a||u)&&o===1||a&&u&&o===2)&&(h.dragmode="pan"),M(g,h,l),d.coerceFont(l,"hoverlabel.grouptitlefont",h.hoverlabel.font)}},22774:function(k,m,t){var d=t(71828),y=t(38048),i=t(528);k.exports=function(M,g){y(M,g,function(h,l){return d.coerce(M,g,i,h,l)})}},83312:function(k,m,t){var d=t(71828),y=t(30587).counter,i=t(27670).Y,M=t(85555).idRegex,g=t(44467),h={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[y("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:i({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function l(o,s,f){var c=s[f+"axes"],p=Object.keys((o._splomAxes||{})[f]||{});return Array.isArray(c)?c:p.length?p:void 0}function a(o,s,f,c,p,w){var v=s(o+"gap",f),S=s("domain."+o);s(o+"side",c);for(var x=new Array(p),T=S[0],C=(S[1]-T)/(p-v),_=C*(1-v),A=0;A1){S||x||T||F("pattern")==="independent"&&(S=!0),_._hasSubplotGrid=S;var b,O,I=F("roworder")==="top to bottom",R=S?.2:.1,D=S?.3:.1;C&&s._splomGridDflt&&(b=s._splomGridDflt.xside,O=s._splomGridDflt.yside),_._domains={x:a("x",F,R,b,L),y:a("y",F,D,O,A,I)}}else delete s.grid}function F(B,N){return d.coerce(f,_,h,B,N)}},contentDefaults:function(o,s){var f=s.grid;if(f&&f._domains){var c,p,w,v,S,x,T,C=o.grid||{},_=s._subplots,A=f._hasSubplotGrid,L=f.rows,b=f.columns,O=f.pattern==="independent",I=f._axisMap={};if(A){var R=C.subplots||[];x=f.subplots=new Array(L);var D=1;for(c=0;c1);if(O===!1&&(s.legend=void 0),(O!==!1||c.uirevision)&&(w("uirevision",s.uirevision),O!==!1)){w("borderwidth");var I,R,D,F=w("orientation")==="h";if(F?(I=0,d.getComponentMethod("rangeslider","isVisible")(o.xaxis)?(R=1.1,D="bottom"):(R=-.1,D="top")):(I=1.02,R=1,D="auto"),w("traceorder",L),l.isGrouped(s.legend)&&w("tracegroupgap"),w("entrywidth"),w("entrywidthmode"),w("itemsizing"),w("itemwidth"),w("itemclick"),w("itemdoubleclick"),w("groupclick"),w("x",I),w("xanchor"),w("y",R),w("yanchor",D),w("valign"),y.noneOrAll(c,p,["x","y"]),w("title.text")){w("title.side",F?"left":"top");var B=y.extendFlat({},v,{size:y.bigFont(v.size)});y.coerceFont(w,"title.font",B)}}}}k.exports=function(u,o,s){var f,c=["legend"];for(f=0;f1)}var ne=U.hiddenlabels||[];if(!(W||U.showlegend&&H.length))return j.selectAll("."+G).remove(),U._topdefs.select("#"+q).remove(),i.autoMargin(B,G);var te=y.ensureSingle(j,"g",G,function(ye){W||ye.attr("pointer-events","all")}),Z=y.ensureSingleById(U._topdefs,"clipPath",q,function(ye){ye.append("rect")}),X=y.ensureSingle(te,"rect","bg",function(ye){ye.attr("shape-rendering","crispEdges")});X.call(a.stroke,$.bordercolor).call(a.fill,$.bgcolor).style("stroke-width",$.borderwidth+"px");var Q=y.ensureSingle(te,"g","scrollbox"),re=$.title;if($._titleWidth=0,$._titleHeight=0,re.text){var ie=y.ensureSingle(Q,"text",G+"titletext");ie.attr("text-anchor","start").call(l.font,re.font).text(re.text),I(ie,Q,B,$,1)}else Q.selectAll("."+G+"titletext").remove();var oe=y.ensureSingle(te,"rect","scrollbar",function(ye){ye.attr(s.scrollBarEnterAttrs).call(a.fill,s.scrollBarColor)}),ue=Q.selectAll("g.groups").data(H);ue.enter().append("g").attr("class","groups"),ue.exit().remove();var ce=ue.selectAll("g.traces").data(y.identity);ce.enter().append("g").attr("class","traces"),ce.exit().remove(),ce.style("opacity",function(ye){var de=ye[0].trace;return M.traceIs(de,"pie-like")?ne.indexOf(ye[0].label)!==-1?.5:1:de.visible==="legendonly"?.5:1}).each(function(){d.select(this).call(L,B,$)}).call(S,B,$).each(function(){W||d.select(this).call(O,B,G)}),y.syncOrAsync([i.previousPromises,function(){return function(ye,de,me,pe){var xe=ye._fullLayout,Pe=F(pe);pe||(pe=xe[Pe]);var _e=xe._size,Me=x.isVertical(pe),Se=x.isGrouped(pe),Ce=pe.entrywidthmode==="fraction",ae=pe.borderwidth,he=2*ae,be=s.itemGap,ke=pe.itemwidth+2*be,Le=2*(ae+be),Be=D(pe),ze=pe.y<0||pe.y===0&&Be==="top",je=pe.y>1||pe.y===1&&Be==="bottom",ge=pe.tracegroupgap,we={};pe._maxHeight=Math.max(ze||je?xe.height/2:_e.h,30);var Ee=0;pe._width=0,pe._height=0;var Ve=function(Oe){var Ne=0,Qe=0,ut=Oe.title.side;return ut&&(ut.indexOf("left")!==-1&&(Ne=Oe._titleWidth),ut.indexOf("top")!==-1&&(Qe=Oe._titleHeight)),[Ne,Qe]}(pe);if(Me)me.each(function(Oe){var Ne=Oe[0].height;l.setTranslate(this,ae+Ve[0],ae+Ve[1]+pe._height+Ne/2+be),pe._height+=Ne,pe._width=Math.max(pe._width,Oe[0].width)}),Ee=ke+pe._width,pe._width+=be+ke+he,pe._height+=Le,Se&&(de.each(function(Oe,Ne){l.setTranslate(this,0,Ne*pe.tracegroupgap)}),pe._height+=(pe._lgroupsLength-1)*pe.tracegroupgap);else{var $e=R(pe),Ye=pe.x<0||pe.x===0&&$e==="right",st=pe.x>1||pe.x===1&&$e==="left",ot=je||ze,ft=xe.width/2;pe._maxWidth=Math.max(Ye?ot&&$e==="left"?_e.l+_e.w:ft:st?ot&&$e==="right"?_e.r+_e.w:ft:_e.w,2*ke);var bt=0,Et=0;me.each(function(Oe){var Ne=_(Oe,pe,ke);bt=Math.max(bt,Ne),Et+=Ne}),Ee=null;var kt=0;if(Se){var xt=0,Ft=0,Rt=0;de.each(function(){var Oe=0,Ne=0;d.select(this).selectAll("g.traces").each(function(ut){var dt=_(ut,pe,ke),_t=ut[0].height;l.setTranslate(this,Ve[0],Ve[1]+ae+be+_t/2+Ne),Ne+=_t,Oe=Math.max(Oe,dt),we[ut[0].trace.legendgroup]=Oe});var Qe=Oe+be;Ft>0&&Qe+ae+Ft>pe._maxWidth?(kt=Math.max(kt,Ft),Ft=0,Rt+=xt+ge,xt=Ne):xt=Math.max(xt,Ne),l.setTranslate(this,Ft,Rt),Ft+=Qe}),pe._width=Math.max(kt,Ft)+ae,pe._height=Rt+xt+Le}else{var Bt=me.size(),Wt=Et+he+(Bt-1)*be=pe._maxWidth&&(kt=Math.max(kt,We),Ke=0,Je+=Vt,pe._height+=Vt,Vt=0),l.setTranslate(this,Ve[0]+ae+Ke,Ve[1]+ae+Je+Ne/2+be),We=Ke+Qe+be,Ke+=ut,Vt=Math.max(Vt,Ne)}),Wt?(pe._width=Ke+he,pe._height=Vt+Le):(pe._width=Math.max(kt,We)+he,pe._height+=Vt+Le)}}pe._width=Math.ceil(Math.max(pe._width+Ve[0],pe._titleWidth+2*(ae+s.titlePad))),pe._height=Math.ceil(Math.max(pe._height+Ve[1],pe._titleHeight+2*(ae+s.itemGap))),pe._effHeight=Math.min(pe._height,pe._maxHeight);var nt=ye._context.edits,ht=nt.legendText||nt.legendPosition;me.each(function(Oe){var Ne=d.select(this).select("."+Pe+"toggle"),Qe=Oe[0].height,ut=Oe[0].trace.legendgroup,dt=_(Oe,pe,ke);Se&&ut!==""&&(dt=we[ut]);var _t=ht?ke:Ee||dt;Me||Ce||(_t+=be/2),l.setRect(Ne,0,-Qe/2,_t,Qe)})}(B,ue,ce,$)},function(){var ye,de,me,pe,xe=U._size,Pe=$.borderwidth;if(!W){var _e=function(Ye,st){var ot=Ye._fullLayout[st],ft=R(ot),bt=D(ot);return i.autoMargin(Ye,st,{x:ot.x,y:ot.y,l:ot._width*p[ft],r:ot._width*w[ft],b:ot._effHeight*w[bt],t:ot._effHeight*p[bt]})}(B,G);if(_e)return;var Me=xe.l+xe.w*$.x-p[R($)]*$._width,Se=xe.t+xe.h*(1-$.y)-p[D($)]*$._effHeight;if(U.margin.autoexpand){var Ce=Me,ae=Se;Me=y.constrain(Me,0,U.width-$._width),Se=y.constrain(Se,0,U.height-$._effHeight),Me!==Ce&&y.log("Constrain "+G+".x to make legend fit inside graph"),Se!==ae&&y.log("Constrain "+G+".y to make legend fit inside graph")}l.setTranslate(te,Me,Se)}if(oe.on(".drag",null),te.on("wheel",null),W||$._height<=$._maxHeight||B._context.staticPlot){var he=$._effHeight;W&&(he=$._height),X.attr({width:$._width-Pe,height:he-Pe,x:Pe/2,y:Pe/2}),l.setTranslate(Q,0,0),Z.select("rect").attr({width:$._width-2*Pe,height:he-2*Pe,x:Pe,y:Pe}),l.setClipUrl(Q,q,B),l.setRect(oe,0,0,0,0),delete $._scrollY}else{var be,ke,Le,Be=Math.max(s.scrollBarMinHeight,$._effHeight*$._effHeight/$._height),ze=$._effHeight-Be-2*s.scrollBarMargin,je=$._height-$._effHeight,ge=ze/je,we=Math.min($._scrollY||0,je);X.attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-Pe,x:Pe/2,y:Pe/2}),Z.select("rect").attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-2*Pe,x:Pe,y:Pe+we}),l.setClipUrl(Q,q,B),$e(we,Be,ge),te.on("wheel",function(){$e(we=y.constrain($._scrollY+d.event.deltaY/ze*je,0,je),Be,ge),we!==0&&we!==je&&d.event.preventDefault()});var Ee=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;be=Ye.type==="touchstart"?Ye.changedTouches[0].clientY:Ye.clientY,Le=we}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.buttons===2||Ye.ctrlKey||(ke=Ye.type==="touchmove"?Ye.changedTouches[0].clientY:Ye.clientY,we=function(st,ot,ft){var bt=(ft-ot)/ge+st;return y.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});oe.call(Ee);var Ve=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;Ye.type==="touchstart"&&(be=Ye.changedTouches[0].clientY,Le=we)}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.type==="touchmove"&&(ke=Ye.changedTouches[0].clientY,we=function(st,ot,ft){var bt=(ot-ft)/ge+st;return y.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});Q.call(Ve)}function $e(Ye,st,ot){$._scrollY=B._fullLayout[G]._scrollY=Ye,l.setTranslate(Q,0,-Ye),l.setRect(oe,$._width,s.scrollBarMargin+Ye*ot,s.scrollBarWidth,st),Z.select("rect").attr("y",Pe+Ye)}B._context.edits.legendPosition&&(te.classed("cursor-move",!0),h.init({element:te.node(),gd:B,prepFn:function(){var Ye=l.getTranslate(te);me=Ye.x,pe=Ye.y},moveFn:function(Ye,st){var ot=me+Ye,ft=pe+st;l.setTranslate(te,ot,ft),ye=h.align(ot,$._width,xe.l,xe.l+xe.w,$.xanchor),de=h.align(ft+$._height,-$._height,xe.t+xe.h,xe.t,$.yanchor)},doneFn:function(){if(ye!==void 0&&de!==void 0){var Ye={};Ye[G+".x"]=ye,Ye[G+".y"]=de,M.call("_guiRelayout",B,Ye)}},clickFn:function(Ye,st){var ot=ue.selectAll("g.traces").filter(function(){var ft=this.getBoundingClientRect();return st.clientX>=ft.left&&st.clientX<=ft.right&&st.clientY>=ft.top&&st.clientY<=ft.bottom});ot.size()>0&&A(B,te,ot,Ye,st)}}))}],B)}}function _(B,N,q){var j=B[0],$=j.width,U=N.entrywidthmode,G=j.trace.legendwidth||N.entrywidth;return U==="fraction"?N._maxWidth*G:q+(G||$)}function A(B,N,q,j,$){var U=q.data()[0][0].trace,G={event:$,node:q.node(),curveNumber:U.index,expandedIndex:U._expandedIndex,data:B.data,layout:B.layout,frames:B._transitionData._frames,config:B._context,fullData:B._fullData,fullLayout:B._fullLayout};U._group&&(G.group=U._group),M.traceIs(U,"pie-like")&&(G.label=q.datum()[0].label),g.triggerHandler(B,"plotly_legendclick",G)!==!1&&(j===1?N._clickTimeout=setTimeout(function(){B._fullLayout&&o(q,B,j)},B._context.doubleClickDelay):j===2&&(N._clickTimeout&&clearTimeout(N._clickTimeout),B._legendMouseDownTime=0,g.triggerHandler(B,"plotly_legenddoubleclick",G)!==!1&&o(q,B,j)))}function L(B,N,q){var j,$,U=F(q),G=B.data()[0][0],W=G.trace,H=M.traceIs(W,"pie-like"),ne=!q._inHover&&N._context.edits.legendText&&!H,te=q._maxNameLength;G.groupTitle?(j=G.groupTitle.text,$=G.groupTitle.font):($=q.font,q.entries?j=G.text:(j=H?G.label:W.name,W._meta&&(j=y.templateString(j,W._meta))));var Z=y.ensureSingle(B,"text",U+"text");Z.attr("text-anchor","start").call(l.font,$).text(ne?b(j,te):j);var X=q.itemwidth+2*s.itemGap;u.positionText(Z,X,0),ne?Z.call(u.makeEditable,{gd:N,text:j}).call(I,B,N,q).on("edit",function(Q){this.text(b(Q,te)).call(I,B,N,q);var re=G.trace._fullInput||{},ie={};if(M.hasTransform(re,"groupby")){var oe=M.getTransformIndices(re,"groupby"),ue=oe[oe.length-1],ce=y.keyedContainer(re,"transforms["+ue+"].styles","target","value.name");ce.set(G.trace._group,Q),ie=ce.constructUpdate()}else ie.name=Q;return M.call("_guiRestyle",N,ie,W.index)}):I(Z,B,N,q)}function b(B,N){var q=Math.max(4,N);if(B&&B.trim().length>=q/2)return B;for(var j=q-(B=B||"").length;j>0;j--)B+=" ";return B}function O(B,N,q){var j,$=N._context.doubleClickDelay,U=1,G=y.ensureSingle(B,"rect",q+"toggle",function(W){N._context.staticPlot||W.style("cursor","pointer").attr("pointer-events","all"),W.call(a.fill,"rgba(0,0,0,0)")});N._context.staticPlot||(G.on("mousedown",function(){(j=new Date().getTime())-N._legendMouseDownTime<$?U+=1:(U=1,N._legendMouseDownTime=j)}),G.on("mouseup",function(){if(!N._dragged&&!N._editing){var W=N._fullLayout[q];new Date().getTime()-N._legendMouseDownTime>$&&(U=Math.max(U-1,1)),A(N,W,B,U,d.event)}}))}function I(B,N,q,j,$){j._inHover&&B.attr("data-notex",!0),u.convertToTspans(B,q,function(){(function(U,G,W,H){var ne=U.data()[0][0];if(W._inHover||!ne||ne.trace.showlegend){var te=U.select("g[class*=math-group]"),Z=te.node(),X=F(W);W||(W=G._fullLayout[X]);var Q,re,ie=W.borderwidth,oe=(H===1?W.title.font:ne.groupTitle?ne.groupTitle.font:W.font).size*c;if(Z){var ue=l.bBox(Z);Q=ue.height,re=ue.width,H===1?l.setTranslate(te,ie,ie+.75*Q):l.setTranslate(te,0,.25*Q)}else{var ce="."+X+(H===1?"title":"")+"text",ye=U.select(ce),de=u.lineCount(ye),me=ye.node();if(Q=oe*de,re=me?l.bBox(me).width:0,H===1)W.title.side==="left"&&(re+=2*s.itemGap),u.positionText(ye,ie+s.titlePad,ie+oe);else{var pe=2*s.itemGap+W.itemwidth;ne.groupTitle&&(pe=s.itemGap,re-=W.itemwidth),u.positionText(ye,pe,-oe*((de-1)/2-.3))}}H===1?(W._titleWidth=re,W._titleHeight=Q):(ne.lineHeight=oe,ne.height=Math.max(Q,16)+3,ne.width=re)}else U.remove()})(N,q,j,$)})}function R(B){return y.isRightAnchor(B)?"right":y.isCenterAnchor(B)?"center":"left"}function D(B){return y.isBottomAnchor(B)?"bottom":y.isMiddleAnchor(B)?"middle":"top"}function F(B){return B._id||"legend"}k.exports=function(B,N){if(N)C(B,N);else{var q=B._fullLayout,j=q._legends;q._infolayer.selectAll('[class^="legend"]').each(function(){var G=d.select(this),W=G.attr("class").split(" ")[0];W.match(T)&&j.indexOf(W)===-1&&G.remove()});for(var $=0;$D&&(R=D)}O[h][0]._groupMinRank=R,O[h][0]._preGroupSort=h}var F=function($,U){return $.trace.legendrank-U.trace.legendrank||$._preSort-U._preSort};for(O.forEach(function($,U){$[0]._preGroupSort=U}),O.sort(function($,U){return $[0]._groupMinRank-U[0]._groupMinRank||$[0]._preGroupSort-U[0]._preGroupSort}),h=0;hS?S:w}k.exports=function(w,v,S){var x=v._fullLayout;S||(S=x.legend);var T=S.itemsizing==="constant",C=S.itemwidth,_=(C+2*s.itemGap)/2,A=M(_,0),L=function(I,R,D,F){var B;if(I+1)B=I;else{if(!(R&&R.width>0))return 0;B=R.width}return T?F:Math.min(B,D)};function b(I,R,D){var F=I[0].trace,B=F.marker||{},N=B.line||{},q=D?F.visible&&F.type===D:y.traceIs(F,"bar"),j=d.select(R).select("g.legendpoints").selectAll("path.legend"+D).data(q?[I]:[]);j.enter().append("path").classed("legend"+D,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),j.exit().remove(),j.each(function($){var U=d.select(this),G=$[0],W=L(G.mlw,B.line,5,2);U.style("stroke-width",W+"px");var H=G.mcc;if(!S._inHover&&"mc"in G){var ne=l(B),te=ne.mid;te===void 0&&(te=(ne.max+ne.min)/2),H=g.tryColorscale(B,"")(te)}var Z=H||G.mc||B.color,X=B.pattern,Q=X&&g.getPatternAttr(X.shape,0,"");if(Q){var re=g.getPatternAttr(X.bgcolor,0,null),ie=g.getPatternAttr(X.fgcolor,0,null),oe=X.fgopacity,ue=p(X.size,8,10),ce=p(X.solidity,.5,1),ye="legend-"+F.uid;U.call(g.pattern,"legend",v,ye,Q,ue,ce,H,X.fillmode,re,ie,oe)}else U.call(h.fill,Z);W&&h.stroke(U,G.mlc||N.color)})}function O(I,R,D){var F=I[0],B=F.trace,N=D?B.visible&&B.type===D:y.traceIs(B,D),q=d.select(R).select("g.legendpoints").selectAll("path.legend"+D).data(N?[I]:[]);if(q.enter().append("path").classed("legend"+D,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),q.exit().remove(),q.size()){var j=(B.marker||{}).line,$=L(o(j.width,F.pts),j,5,2),U=i.minExtend(B,{marker:{line:{width:$}}});U.marker.line.color=j.color;var G=i.minExtend(F,{trace:U});u(q,G,U)}}w.each(function(I){var R=d.select(this),D=i.ensureSingle(R,"g","layers");D.style("opacity",I[0].trace.opacity);var F=S.valign,B=I[0].lineHeight,N=I[0].height;if(F!=="middle"&&B&&N){var q={top:1,bottom:-1}[F]*(.5*(B-N+3));D.attr("transform",M(0,q))}else D.attr("transform",null);D.selectAll("g.legendfill").data([I]).enter().append("g").classed("legendfill",!0),D.selectAll("g.legendlines").data([I]).enter().append("g").classed("legendlines",!0);var j=D.selectAll("g.legendsymbols").data([I]);j.enter().append("g").classed("legendsymbols",!0),j.selectAll("g.legendpoints").data([I]).enter().append("g").classed("legendpoints",!0)}).each(function(I){var R,D=I[0].trace,F=[];if(D.visible)switch(D.type){case"histogram2d":case"heatmap":F=[["M-15,-2V4H15V-2Z"]],R=!0;break;case"choropleth":case"choroplethmapbox":F=[["M-6,-6V6H6V-6Z"]],R=!0;break;case"densitymapbox":F=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],R="radial";break;case"cone":F=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],R=!1;break;case"streamtube":F=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],R=!1;break;case"surface":F=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],R=!0;break;case"mesh3d":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],R=!1;break;case"volume":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],R=!0;break;case"isosurface":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],R=!1}var B=d.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(F);B.enter().append("path").classed("legend3dandfriends",!0).attr("transform",A).style("stroke-miterlimit",1),B.exit().remove(),B.each(function(N,q){var j,$=d.select(this),U=l(D),G=U.colorscale,W=U.reversescale;if(G){if(!R){var H=G.length;j=q===0?G[W?H-1:0][1]:q===1?G[W?0:H-1][1]:G[Math.floor((H-1)/2)][1]}}else{var ne=D.vertexcolor||D.facecolor||D.color;j=i.isArrayOrTypedArray(ne)?ne[q]||ne[0]:ne}$.attr("d",N[0]),j?$.call(h.fill,j):$.call(function(te){if(te.size()){var Z="legendfill-"+D.uid;g.gradient(te,v,Z,f(W,R==="radial"),G,"fill")}})})}).each(function(I){var R=I[0].trace,D=R.type==="waterfall";if(I[0]._distinct&&D){var F=I[0].trace[I[0].dir].marker;return I[0].mc=F.color,I[0].mlw=F.line.width,I[0].mlc=F.line.color,b(I,this,"waterfall")}var B=[];R.visible&&D&&(B=I[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var N=d.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(B);N.enter().append("path").classed("legendwaterfall",!0).attr("transform",A).style("stroke-miterlimit",1),N.exit().remove(),N.each(function(q){var j=d.select(this),$=R[q[0]].marker,U=L(void 0,$.line,5,2);j.attr("d",q[1]).style("stroke-width",U+"px").call(h.fill,$.color),U&&j.call(h.stroke,$.line.color)})}).each(function(I){b(I,this,"funnel")}).each(function(I){b(I,this)}).each(function(I){var R=I[0].trace,D=d.select(this).select("g.legendpoints").selectAll("path.legendbox").data(R.visible&&y.traceIs(R,"box-violin")?[I]:[]);D.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),D.exit().remove(),D.each(function(){var F=d.select(this);if(R.boxpoints!=="all"&&R.points!=="all"||h.opacity(R.fillcolor)!==0||h.opacity((R.line||{}).color)!==0){var B=L(void 0,R.line,5,2);F.style("stroke-width",B+"px").call(h.fill,R.fillcolor),B&&h.stroke(F,R.line.color)}else{var N=i.minExtend(R,{marker:{size:T?12:i.constrain(R.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});D.call(g.pointStyle,N,v)}})}).each(function(I){O(I,this,"funnelarea")}).each(function(I){O(I,this,"pie")}).each(function(I){var R,D,F=c(I),B=F.showFill,N=F.showLine,q=F.showGradientLine,j=F.showGradientFill,$=F.anyFill,U=F.anyLine,G=I[0],W=G.trace,H=l(W),ne=H.colorscale,te=H.reversescale,Z=a.hasMarkers(W)||!$?"M5,0":U?"M5,-2":"M5,-3",X=d.select(this),Q=X.select(".legendfill").selectAll("path").data(B||j?[I]:[]);if(Q.enter().append("path").classed("js-fill",!0),Q.exit().remove(),Q.attr("d",Z+"h"+C+"v6h-"+C+"z").call(function(oe){if(oe.size())if(B)g.fillGroupStyle(oe,v);else{var ue="legendfill-"+W.uid;g.gradient(oe,v,ue,f(te),ne,"fill")}}),N||q){var re=L(void 0,W.line,10,5);D=i.minExtend(W,{line:{width:re}}),R=[i.minExtend(G,{trace:D})]}var ie=X.select(".legendlines").selectAll("path").data(N||q?[R]:[]);ie.enter().append("path").classed("js-line",!0),ie.exit().remove(),ie.attr("d",Z+(q?"l"+C+",0.0001":"h"+C)).call(N?g.lineGroupStyle:function(oe){if(oe.size()){var ue="legendline-"+W.uid;g.lineGroupStyle(oe),g.gradient(oe,v,ue,f(te),ne,"stroke")}})}).each(function(I){var R,D,F=c(I),B=F.anyFill,N=F.anyLine,q=F.showLine,j=F.showMarker,$=I[0],U=$.trace,G=!j&&!N&&!B&&a.hasText(U);function W(ie,oe,ue,ce){var ye=i.nestedProperty(U,ie).get(),de=i.isArrayOrTypedArray(ye)&&oe?oe(ye):ye;if(T&&de&&ce!==void 0&&(de=ce),ue){if(deue[1])return ue[1]}return de}function H(ie){return $._distinct&&$.index&&ie[$.index]?ie[$.index]:ie[0]}if(j||G||q){var ne={},te={};if(j){ne.mc=W("marker.color",H),ne.mx=W("marker.symbol",H),ne.mo=W("marker.opacity",i.mean,[.2,1]),ne.mlc=W("marker.line.color",H),ne.mlw=W("marker.line.width",i.mean,[0,5],2),te.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Z=W("marker.size",i.mean,[2,16],12);ne.ms=Z,te.marker.size=Z}q&&(te.line={width:W("line.width",H,[0,10],5)}),G&&(ne.tx="Aa",ne.tp=W("textposition",H),ne.ts=10,ne.tc=W("textfont.color",H),ne.tf=W("textfont.family",H)),R=[i.minExtend($,ne)],(D=i.minExtend(U,te)).selectedpoints=null,D.texttemplate=null}var X=d.select(this).select("g.legendpoints"),Q=X.selectAll("path.scatterpts").data(j?R:[]);Q.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",A),Q.exit().remove(),Q.call(g.pointStyle,D,v),j&&(R[0].mrc=3);var re=X.selectAll("g.pointtext").data(G?R:[]);re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",A),re.exit().remove(),re.selectAll("text").call(g.textPointStyle,D,v)}).each(function(I){var R=I[0].trace,D=d.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(R.visible&&R.type==="candlestick"?[I,I]:[]);D.enter().append("path").classed("legendcandle",!0).attr("d",function(F,B){return B?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",A).style("stroke-miterlimit",1),D.exit().remove(),D.each(function(F,B){var N=d.select(this),q=R[B?"increasing":"decreasing"],j=L(void 0,q.line,5,2);N.style("stroke-width",j+"px").call(h.fill,q.fillcolor),j&&h.stroke(N,q.line.color)})}).each(function(I){var R=I[0].trace,D=d.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(R.visible&&R.type==="ohlc"?[I,I]:[]);D.enter().append("path").classed("legendohlc",!0).attr("d",function(F,B){return B?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",A).style("stroke-miterlimit",1),D.exit().remove(),D.each(function(F,B){var N=d.select(this),q=R[B?"increasing":"decreasing"],j=L(void 0,q.line,5,2);N.style("fill","none").call(g.dashLine,q.line.dash,j),j&&h.stroke(N,q.line.color)})})}},42068:function(k,m,t){t(93348),k.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(k,m,t){var d=t(73972),y=t(74875),i=t(41675),M=t(24255),g=t(34031).eraseActiveShape,h=t(71828),l=h._,a=k.exports={};function u(x,T){var C,_,A=T.currentTarget,L=A.getAttribute("data-attr"),b=A.getAttribute("data-val")||!0,O=x._fullLayout,I={},R=i.list(x,null,!0),D=O._cartesianSpikesEnabled;if(L==="zoom"){var F,B=b==="in"?.5:2,N=(1+B)/2,q=(1-B)/2;for(_=0;_1?(Z=["toggleHover"],X=["resetViews"]):I?(te=["zoomInGeo","zoomOutGeo"],Z=["hoverClosestGeo"],X=["resetGeo"]):O?(Z=["hoverClosest3d"],X=["resetCameraDefault3d","resetCameraLastSave3d"]):N?(te=["zoomInMapbox","zoomOutMapbox"],Z=["toggleHover"],X=["resetViewMapbox"]):F?Z=["hoverClosestGl2d"]:R?Z=["hoverClosestPie"]:$?(Z=["hoverClosestCartesian","hoverCompareCartesian"],X=["resetViewSankey"]):Z=["toggleHover"],b&&(Z=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(ye){for(var de=0;de0)){var v=function(x,T,C){for(var _=C.filter(function(O){return T[O].anchor===x._id}),A=0,L=0;L<_.length;L++){var b=T[_[L]].domain;b&&(A=Math.max(b[1],A))}return[x.domain[0],A+h.yPad]}(u,o,s);w("x",v[0]),w("y",v[1]),d.noneOrAll(a,u,["x","y"]),w("xanchor"),w("yanchor"),d.coerceFont(w,"font",o.font);var S=w("bgcolor");w("activecolor",y.contrast(S,h.lightAmount,h.darkAmount)),w("bordercolor"),w("borderwidth")}}},21598:function(k,m,t){var d=t(39898),y=t(73972),i=t(74875),M=t(7901),g=t(91424),h=t(71828),l=h.strTranslate,a=t(63893),u=t(41675),o=t(18783),s=o.LINE_SPACING,f=o.FROM_TL,c=o.FROM_BR,p=t(89573),w=t(70565);function v(T){return T._id}function S(T,C,_){var A=h.ensureSingle(T,"rect","selector-rect",function(L){L.attr("shape-rendering","crispEdges")});A.attr({rx:p.rx,ry:p.ry}),A.call(M.stroke,C.bordercolor).call(M.fill,function(L,b){return b._isActive||b._isHovered?L.activecolor:L.bgcolor}(C,_)).style("stroke-width",C.borderwidth+"px")}function x(T,C,_,A){var L,b;h.ensureSingle(T,"text","selector-text",function(O){O.attr("text-anchor","middle")}).call(g.font,C.font).text((L=_,b=A._fullLayout._meta,L.label?b?h.templateString(L.label,b):L.label:L.step==="all"?"all":L.count+L.step.charAt(0))).call(function(O){a.convertToTspans(O,A)})}k.exports=function(T){var C=T._fullLayout._infolayer.selectAll(".rangeselector").data(function(_){for(var A=u.list(_,"x",!0),L=[],b=0;b=pe.max)de=oe[me+1];else if(ye=pe.pmax)de=oe[me+1];else if(yeme._length||ke+Ve<0)return;ge=be+Ve,we=ke+Ve;break;case Pe:if(Ee="col-resize",be+Ve>me._length)return;ge=be+Ve,we=ke;break;case _e:if(Ee="col-resize",ke+Ve<0)return;ge=be,we=ke+Ve;break;default:Ee="ew-resize",ge=he,we=he+Ve}if(we=0;F--){var B=T.append("path").attr(_).style("opacity",F?.1:A).call(M.stroke,b).call(M.fill,L).call(g.dashLine,F?"solid":I,F?4+O:O);if(f(B,p,S),R){var N=h(p.layout,"selections",S);B.style({cursor:"move"});var q={element:B.node(),plotinfo:x,gd:p,editHelpers:N,isActiveSelection:!0},j=d(C,p);y(j,B,q)}else B.style("pointer-events",F?"all":"none");D[F]=B}var $=D[0];D[1].node().addEventListener("click",function(){return function(U,G){if(o(U)){var W=+G.node().getAttribute("data-index");if(W>=0){if(W===U._fullLayout._activeSelectionIndex)return void c(U);U._fullLayout._activeSelectionIndex=W,U._fullLayout._deactivateSelection=c,u(U)}}}(p,$)})}(p._fullLayout._selectionLayer)}function f(p,w,v){var S=v.xref+v.yref;g.setClipUrl(p,"clip"+w._fullLayout._uid+S,w)}function c(p){o(p)&&p._fullLayout._activeSelectionIndex>=0&&(i(p),delete p._fullLayout._activeSelectionIndex,u(p))}k.exports={draw:u,drawOne:s,activateLastSelection:function(p){if(o(p)){var w=p._fullLayout.selections.length-1;p._fullLayout._activeSelectionIndex=w,p._fullLayout._deactivateSelection=c,u(p)}}}},53777:function(k,m,t){var d=t(79952).P,y=t(1426).extendFlat;k.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:y({},d,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(k){k.exports=function(m,t,d){d("newselection.mode"),d("newselection.line.width")&&(d("newselection.line.color"),d("newselection.line.dash")),d("activeselection.fillcolor"),d("activeselection.opacity")}},35855:function(k,m,t){var d=t(64505).selectMode,y=t(51873).clearOutline,i=t(60165),M=i.readPaths,g=i.writePaths,h=i.fixDatesForPaths;k.exports=function(l,a){if(l.length){var u=l[0][0];if(u){var o=u.getAttribute("d"),s=a.gd,f=s._fullLayout.newselection,c=a.plotinfo,p=c.xaxis,w=c.yaxis,v=a.isActiveSelection,S=a.dragmode,x=(s.layout||{}).selections||[];if(!d(S)&&v!==void 0){var T=s._fullLayout._activeSelectionIndex;if(T-1,Wt=[];if(function(nt){return nt&&Array.isArray(nt)&&nt[0].hoverOnBox!==!0}(Rt)){re(ze,je,Ve);var Vt=function(nt,ht){var Oe,Ne,Qe=nt[0],ut=-1,dt=[];for(Ne=0;Ne0?function(nt,ht){var Oe,Ne,Qe,ut=[];for(Qe=0;Qe0&&ut.push(Oe);if(ut.length===1&&ut[0]===ht.searchInfo&&(Ne=ht.searchInfo.cd[0].trace).selectedpoints.length===ht.pointNumbers.length){for(Qe=0;Qe1||(Ne+=ht.selectedpoints.length)>1))return!1;return Ne===1}(Ye)&&(Et=ye(Vt))){for($e&&$e.remove(),Ft=0;Ft=0})(Ee)&&Ee._fullLayout._deactivateShape(Ee),function(bt){return bt._fullLayout._activeSelectionIndex>=0}(Ee)&&Ee._fullLayout._deactivateSelection(Ee);var Ve=Ee._fullLayout._zoomlayer,$e=s(ge),Ye=c(ge);if($e||Ye){var st,ot,ft=Ve.selectAll(".select-outline-"+we.id);ft&&Ee._fullLayout._outlining&&($e&&(st=_(ft,ze)),st&&i.call("_guiRelayout",Ee,{shapes:st}),Ye&&!ne(ze)&&(ot=A(ft,ze)),ot&&(Ee._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Ee,{selections:ot}).then(function(){je&&L(Ee)})),Ee._fullLayout._outlining=!1)}we.selection={},we.selection.selectionDefs=ze.selectionDefs=[],we.selection.mergedPolygons=ze.mergedPolygons=[]}function oe(ze){return ze._id}function ue(ze,je,ge,we){if(!ze.calcdata)return[];var Ee,Ve,$e,Ye=[],st=je.map(oe),ot=ge.map(oe);for($e=0;$e0?we[0]:ge;return!!je.selectedpoints&&je.selectedpoints.indexOf(Ee)>-1}function de(ze,je,ge){var we,Ee;for(we=0;we-1&&je;if(!Ve&&je){var Tn=Ce(ze,!0);if(Tn.length){var dn=Tn[0].xref,pn=Tn[0].yref;if(dn&&pn){var Dn=be(Tn);ke([D(ze,dn,"x"),D(ze,pn,"y")])(kn,Dn)}}ze._fullLayout._noEmitSelectedAtStart?ze._fullLayout._noEmitSelectedAtStart=!1:sn&&Le(ze,kn),Et._reselect=!1}if(!Ve&&Et._deselect){var In=Et._deselect;(function(jn,Gn,Wn){for(var lr=0;lr=0)kt._fullLayout._deactivateShape(kt);else if(!ot){var pn=xt.clickmode;R.done(An).then(function(){if(R.clear(An),Tn===2){for(Xt.remove(),Qe=0;Qe-1&&te(dn,kt,we.xaxes,we.yaxes,we.subplot,we,Xt),pn==="event"&&Le(kt,void 0);h.click(kt,dn)}).catch(b.error)}},we.doneFn=function(){un.remove(),R.done(An).then(function(){R.clear(An),!Ft&&Ne&&we.selectionDefs&&(Ne.subtract=qt,we.selectionDefs.push(Ne),we.mergedPolygons.length=0,[].push.apply(we.mergedPolygons,Oe)),(Ft||ot)&&ie(we,Ft),we.doneFnCompleted&&we.doneFnCompleted(Yn),ft&&Le(kt,dt)}).catch(b.error)}},clearOutline:S,clearSelectionsCache:ie,selectOnClick:te}},89827:function(k,m,t){var d=t(50215),y=t(41940),i=t(82196).line,M=t(79952).P,g=t(1426).extendFlat,h=t(44467).templatedArray,l=(t(24695),t(5386).R),a=t(37281);k.exports=h("shape",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:g({},d.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:g({},d.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:g({},i.color,{editType:"arraydraw"}),width:g({},i.width,{editType:"calc+arraydraw"}),dash:g({},M,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:l({},{keys:Object.keys(a)}),font:y({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(k,m,t){var d=t(71828),y=t(89298),i=t(21459),M=t(30477);function g(u){return l(u.line.width,u.xsizemode,u.x0,u.x1,u.path,!1)}function h(u){return l(u.line.width,u.ysizemode,u.y0,u.y1,u.path,!0)}function l(u,o,s,f,c,p){var w=u/2,v=p;if(o==="pixel"){var S=c?M.extractPathCoords(c,p?i.paramIsY:i.paramIsX):[s,f],x=d.aggNums(Math.max,null,S),T=d.aggNums(Math.min,null,S),C=T<0?Math.abs(T)+w:w,_=x>0?x+w:w;return{ppad:w,ppadplus:v?C:_,ppadminus:v?_:C}}return{ppad:w}}function a(u,o,s,f,c){var p=u.type==="category"||u.type==="multicategory"?u.r2c:u.d2c;if(o!==void 0)return[p(o),p(s)];if(f){var w,v,S,x,T=1/0,C=-1/0,_=f.match(i.segmentRE);for(u.type==="date"&&(p=M.decodeDate(p)),w=0;w<_.length;w++)(v=c[_[w].charAt(0)].drawn)!==void 0&&(!(S=_[w].substr(1).match(i.paramRE))||S.lengthC&&(C=x)));return C>=T?[T,C]:void 0}}k.exports=function(u){var o=u._fullLayout,s=d.filterVisible(o.shapes);if(s.length&&u._fullData.length)for(var f=0;f1&&(ye.length!==2||ye[1][0]!=="Z")&&(q===0&&(ye[0][0]="M"),A[N]=ye,R(),D())}}()}}function X(oe,ue){(function(ce,ye){if(A.length)for(var de=0;deSe?(he=_e,Be="y0",be=Se,ze="y1"):(he=Se,Be="y1",be=_e,ze="y0"),Je(Ne),ht(pe,de),function(Qe,ut,dt){var _t=ut.xref,It=ut.yref,Lt=M.getFromId(dt,_t),yt=M.getFromId(dt,It),Pt="";_t==="paper"||Lt.autorange||(Pt+=_t),It==="paper"||yt.autorange||(Pt+=It),u.setClipUrl(Qe,Pt?"clip"+dt._fullLayout._uid+Pt:null,dt)}(ye,de,ce),Ke.moveFn=Ee==="move"?We:nt,Ke.altKey=Ne.altKey)},doneFn:function(){C(ce)||(f(ye),Oe(pe),L(ye,ce,de),y.call("_guiRelayout",ce,xe.getUpdateObj()))},clickFn:function(){C(ce)||Oe(pe)}};function Je(Ne){if(C(ce))Ee=null;else if(Ye)Ee=Ne.target.tagName==="path"?"move":Ne.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Qe=Ke.element.getBoundingClientRect(),ut=Qe.right-Qe.left,dt=Qe.bottom-Qe.top,_t=Ne.clientX-Qe.left,It=Ne.clientY-Qe.top,Lt=!st&&ut>10&&dt>10&&!Ne.shiftKey?s.getCursor(_t/ut,1-It/dt):"move";f(ye,Lt),Ee=Lt.split("-")[0]}}function We(Ne,Qe){if(de.type==="path"){var ut=function(It){return It},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(It){return Bt(Ft(It)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=Wt(ae+Qe)):(_t=function(It){return Wt(Rt(It)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=O(we,dt,_t))}else Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(ot("x0",de.x0=Bt(Pe+Ne)),ot("x1",de.x1=Bt(Me+Ne))),$e?ot("yanchor",de.yanchor=Wt(ae+Qe)):(ot("y0",de.y0=Wt(_e+Qe)),ot("y1",de.y1=Wt(Se+Qe)));ye.attr("d",v(ce,de)),ht(pe,de),b(ce,me,de,ft)}function nt(Ne,Qe){if(st){var ut=function(un){return un},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(un){return Bt(Ft(un)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=Wt(ae+Qe)):(_t=function(un){return Wt(Rt(un)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=O(we,dt,_t))}else if(Ye){if(Ee==="resize-over-start-point"){var It=Pe+Ne,Lt=$e?_e-Qe:_e+Qe;ot("x0",de.x0=Ve?It:Bt(It)),ot("y0",de.y0=$e?Lt:Wt(Lt))}else if(Ee==="resize-over-end-point"){var yt=Me+Ne,Pt=$e?Se-Qe:Se+Qe;ot("x1",de.x1=Ve?yt:Bt(yt)),ot("y1",de.y1=$e?Pt:Wt(Pt))}}else{var wt=function(un){return Ee.indexOf(un)!==-1},Ot=wt("n"),Nt=wt("s"),Yt=wt("w"),qt=wt("e"),Xt=Ot?he+Qe:he,Qt=Nt?be+Qe:be,rn=Yt?ke+Ne:ke,xn=qt?Le+Ne:Le;$e&&(Ot&&(Xt=he-Qe),Nt&&(Qt=be-Qe)),(!$e&&Qt-Xt>10||$e&&Xt-Qt>10)&&(ot(Be,de[Be]=$e?Xt:Wt(Xt)),ot(ze,de[ze]=$e?Qt:Wt(Qt))),xn-rn>10&&(ot(je,de[je]=Ve?rn:Bt(rn)),ot(ge,de[ge]=Ve?xn:Bt(xn)))}ye.attr("d",v(ce,de)),ht(pe,de),b(ce,me,de,ft)}function ht(Ne,Qe){(Ve||$e)&&function(){var ut=Qe.type!=="path",dt=Ne.selectAll(".visual-cue").data([0]);dt.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var _t=Ft(Ve?Qe.xanchor:i.midRange(ut?[Qe.x0,Qe.x1]:w.extractPathCoords(Qe.path,p.paramIsX))),It=Rt($e?Qe.yanchor:i.midRange(ut?[Qe.y0,Qe.y1]:w.extractPathCoords(Qe.path,p.paramIsY)));if(_t=w.roundPositionForSharpStrokeRendering(_t,1),It=w.roundPositionForSharpStrokeRendering(It,1),Ve&&$e){var Lt="M"+(_t-1-1)+","+(It-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";dt.attr("d",Lt)}else if(Ve){var yt="M"+(_t-1-1)+","+(It-9-1)+"v18 h2 v-18 Z";dt.attr("d",yt)}else{var Pt="M"+(_t-9-1)+","+(It-1-1)+"h18 v2 h-18 Z";dt.attr("d",Pt)}}()}function Oe(Ne){Ne.selectAll(".visual-cue").remove()}s.init(Ke),Vt.node().onmousemove=Je}(R,ie,B,D,j,Q):B.editable===!0&&ie.style("pointer-events",Z||a.opacity(W)*G<=.5?"stroke":"all");ie.node().addEventListener("click",function(){return function(ce,ye){if(_(ce)){var de=+ye.node().getAttribute("data-index");if(de>=0){if(de===ce._fullLayout._activeShapeIndex)return void I(ce);ce._fullLayout._activeShapeIndex=de,ce._fullLayout._deactivateShape=I,T(ce)}}}(R,ie)})}B._input&&B.visible!==!1&&(B.layer!=="below"?q(R._fullLayout._shapeUpperLayer):B.xref==="paper"||B.yref==="paper"?q(R._fullLayout._shapeLowerLayer):N._hadPlotinfo?q((N.mainplotinfo||N).shapelayer):q(R._fullLayout._shapeLowerLayer))}function L(R,D,F){var B=(F.xref+F.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(R,B?"clip"+D._fullLayout._uid+B:null,D)}function b(R,D,F,B){if(B.selectAll(".shape-label").remove(),F.label.text||F.label.texttemplate){var N;if(F.label.texttemplate){var q={};if(F.type!=="path"){var j=M.getFromId(R,F.xref),$=M.getFromId(R,F.yref);for(var U in S){var G=S[U](F,j,$);G!==void 0&&(q[U]=G)}}N=i.texttemplateStringForShapes(F.label.texttemplate,{},R._fullLayout._d3locale,q)}else N=F.label.text;var W,H,ne,te,Z={"data-index":D},X=F.label.font,Q=B.append("g").attr(Z).classed("shape-label",!0).append("text").attr({"data-notex":1}).classed("shape-label-text",!0).text(N);if(F.path){var re=v(R,F),ie=g(re,R);W=1/0,ne=1/0,H=-1/0,te=-1/0;for(var oe=0;oe=Le?Be-je:je-Be,-180/Math.PI*Math.atan2(ge,we)}(W,ne,H,te):0),Q.call(function(Le){return Le.call(u.font,X).attr({}),c.convertToTspans(Le,R),Le});var ae=function(Le,Be,ze,je,ge,we,Ee){var Ve,$e,Ye,st,ot=ge.label.textposition,ft=ge.label.textangle,bt=ge.label.padding,Et=ge.type,kt=Math.PI/180*we,xt=Math.sin(kt),Ft=Math.cos(kt),Rt=ge.label.xanchor,Bt=ge.label.yanchor;if(Et==="line"){ot==="start"?(Ve=Le,$e=Be):ot==="end"?(Ve=ze,$e=je):(Ve=(Le+ze)/2,$e=(Be+je)/2),Rt==="auto"&&(Rt=ot==="start"?ft==="auto"?ze>Le?"left":zeLe?"right":zeLe?"right":zeLe?"left":ze=U||(j[N]?G=D(G):$[N]&&(G=F(G)),N++),G})})}function I(R){_(R)&&R._fullLayout._activeShapeIndex>=0&&(l(R),delete R._fullLayout._activeShapeIndex,T(R))}k.exports={draw:T,drawOne:A,eraseActiveShape:function(R){if(_(R)){l(R);var D=R._fullLayout._activeShapeIndex,F=(R.layout||{}).shapes||[];if(D0&&CZ&&(Q="X"),Q});return W>Z&&(X=X.replace(/[\s,]*X.*/,""),y.log("Ignoring extra params in segment "+G)),H+X})}(g,l,u);if(g.xsizemode==="pixel"){var C=l(g.xanchor);o=C+g.x0,s=C+g.x1}else o=l(g.x0),s=l(g.x1);if(g.ysizemode==="pixel"){var _=u(g.yanchor);f=_-g.y0,c=_-g.y1}else f=u(g.y0),c=u(g.y1);if(p==="line")return"M"+o+","+f+"L"+s+","+c;if(p==="rect")return"M"+o+","+f+"H"+s+"V"+c+"H"+o+"Z";var A=(o+s)/2,L=(f+c)/2,b=Math.abs(A-o),O=Math.abs(L-f),I="A"+b+","+O,R=A+b+","+L;return"M"+R+I+" 0 1,1 "+A+","+(L-O)+I+" 0 0,1 "+R+"Z"}},89853:function(k,m,t){var d=t(34031);k.exports={moduleType:"component",name:"shapes",layoutAttributes:t(89827),supplyLayoutDefaults:t(84726),supplyDrawNewShapeDefaults:t(45547),includeBasePlot:t(76325)("shapes"),calcAutorange:t(5627),draw:d.draw,drawOne:d.drawOne}},37281:function(k){function m(i,M){return M?M.d2l(i):i}function t(i,M){return M?M.l2d(i):i}function d(i,M){return m(i.x1,M)-m(i.x0,M)}function y(i,M,g){return m(i.y1,g)-m(i.y0,g)}k.exports={x0:function(i){return i.x0},x1:function(i){return i.x1},y0:function(i){return i.y0},y1:function(i){return i.y1},slope:function(i,M,g){return i.type!=="line"?void 0:y(i,0,g)/d(i,M)},dx:d,dy:y,width:function(i,M){return Math.abs(d(i,M))},height:function(i,M,g){return Math.abs(y(i,0,g))},length:function(i,M,g){return i.type!=="line"?void 0:Math.sqrt(Math.pow(d(i,M),2)+Math.pow(y(i,0,g),2))},xcenter:function(i,M){return t((m(i.x1,M)+m(i.x0,M))/2,M)},ycenter:function(i,M,g){return t((m(i.y1,g)+m(i.y0,g))/2,g)}}},75067:function(k,m,t){var d=t(41940),y=t(35025),i=t(1426).extendDeepAll,M=t(30962).overrideAll,g=t(85594),h=t(44467).templatedArray,l=t(98292),a=h("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});k.exports=M(h("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:i(y({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:g.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:d({})},font:d({}),activebgcolor:{valType:"color",dflt:l.gripBgActiveColor},bgcolor:{valType:"color",dflt:l.railBgColor},bordercolor:{valType:"color",dflt:l.railBorderColor},borderwidth:{valType:"number",min:0,dflt:l.railBorderWidth},ticklen:{valType:"number",min:0,dflt:l.tickLength},tickcolor:{valType:"color",dflt:l.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:l.minorTickLength}}),"arraydraw","from-root")},98292:function(k){k.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(k,m,t){var d=t(71828),y=t(85501),i=t(75067),M=t(98292).name,g=i.steps;function h(a,u,o){function s(v,S){return d.coerce(a,u,i,v,S)}for(var f=y(a,u,{name:"steps",handleItemDefaults:l}),c=0,p=0;p0&&(W=W.transition().duration(N.transition.duration).ease(N.transition.easing)),W.attr("transform",h(G-.5*u.gripWidth,N._dims.currentValueTotalHeight))}}function I(B,N){var q=B._dims;return q.inputAreaStart+u.stepInset+(q.inputAreaLength-2*u.stepInset)*Math.min(1,Math.max(0,N))}function R(B,N){var q=B._dims;return Math.min(1,Math.max(0,(N-u.stepInset-q.inputAreaStart)/(q.inputAreaLength-2*u.stepInset-2*q.inputAreaStart)))}function D(B,N,q){var j=q._dims,$=g.ensureSingle(B,"rect",u.railTouchRectClass,function(U){U.call(L,N,B,q).style("pointer-events","all")});$.attr({width:j.inputAreaLength,height:Math.max(j.inputAreaWidth,u.tickOffset+q.ticklen+j.labelHeight)}).call(i.fill,q.bgcolor).attr("opacity",0),M.setTranslate($,0,j.currentValueTotalHeight)}function F(B,N){var q=N._dims,j=q.inputAreaLength-2*u.railInset,$=g.ensureSingle(B,"rect",u.railRectClass);$.attr({width:j,height:u.railWidth,rx:u.railRadius,ry:u.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,N.bordercolor).call(i.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px"),M.setTranslate($,u.railInset,.5*(q.inputAreaWidth-u.railWidth)+q.currentValueTotalHeight)}k.exports=function(B){var N=B._context.staticPlot,q=B._fullLayout,j=function(ne,te){for(var Z=ne[u.name],X=[],Q=0;Q0?[0]:[]);function U(ne){ne._commandObserver&&(ne._commandObserver.remove(),delete ne._commandObserver),y.autoMargin(B,p(ne))}if($.enter().append("g").classed(u.containerClassName,!0).style("cursor",N?null:"ew-resize"),$.exit().each(function(){d.select(this).selectAll("g."+u.groupClassName).each(U)}).remove(),j.length!==0){var G=$.selectAll("g."+u.groupClassName).data(j,w);G.enter().append("g").classed(u.groupClassName,!0),G.exit().each(U).remove();for(var W=0;W0||xe<0){var Se={left:[-Pe,0],right:[Pe,0],top:[0,-Pe],bottom:[0,Pe]}[_.side];X.attr("transform",h(Se[0],Se[1]))}}}return W.call(H),$&&(F?W.on(".opacity",null):(I=0,R=!0,W.text(T).on("mouseover.opacity",function(){d.select(this).transition().duration(o.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){d.select(this).transition().duration(o.HIDE_PLACEHOLDER).style("opacity",0)})),W.call(u.makeEditable,{gd:c}).on("edit",function(Z){C!==void 0?M.call("_guiRestyle",c,x,Z,C):M.call("_guiRelayout",c,x,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(H)}).on("input",function(Z){this.text(Z||" ").call(u.positionText,A.x,A.y)})),W.classed("js-placeholder",R),b}}},7163:function(k,m,t){var d=t(41940),y=t(22399),i=t(1426).extendFlat,M=t(30962).overrideAll,g=t(35025),h=t(44467).templatedArray,l=h("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});k.exports=M(h("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:l,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:i(g({editType:"arraydraw"}),{}),font:d({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:y.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(k){k.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"โ—„",right:"โ–บ",up:"โ–ฒ",down:"โ–ผ"}}},64897:function(k,m,t){var d=t(71828),y=t(85501),i=t(7163),M=t(75909).name,g=i.buttons;function h(a,u,o){function s(f,c){return d.coerce(a,u,i,f,c)}s("visible",y(a,u,{name:"buttons",handleItemDefaults:l}).length>0)&&(s("active"),s("direction"),s("type"),s("showactive"),s("x"),s("y"),d.noneOrAll(a,u,["x","y"]),s("xanchor"),s("yanchor"),s("pad.t"),s("pad.r"),s("pad.b"),s("pad.l"),d.coerceFont(s,"font",o.font),s("bgcolor",o.paper_bgcolor),s("bordercolor"),s("borderwidth"))}function l(a,u){function o(s,f){return d.coerce(a,u,g,s,f)}o("visible",a.method==="skip"||Array.isArray(a.args))&&(o("method"),o("args"),o("args2"),o("label"),o("execute"))}k.exports=function(a,u){y(a,u,{name:M,handleItemDefaults:h})}},13689:function(k,m,t){var d=t(39898),y=t(74875),i=t(7901),M=t(91424),g=t(71828),h=t(63893),l=t(44467).arrayEditor,a=t(18783).LINE_SPACING,u=t(75909),o=t(25849);function s(I){return I._index}function f(I,R){return+I.attr(u.menuIndexAttrName)===R._index}function c(I,R,D,F,B,N,q,j){R.active=q,l(I.layout,u.name,R).applyUpdate("active",q),R.type==="buttons"?w(I,F,null,null,R):R.type==="dropdown"&&(B.attr(u.menuIndexAttrName,"-1"),p(I,F,B,N,R),j||w(I,F,B,N,R))}function p(I,R,D,F,B){var N=g.ensureSingle(R,"g",u.headerClassName,function(W){W.style("pointer-events","all")}),q=B._dims,j=B.active,$=B.buttons[j]||u.blankHeaderOpts,U={y:B.pad.t,yPad:0,x:B.pad.l,xPad:0,index:0},G={width:q.headerWidth,height:q.headerHeight};N.call(v,B,$,I).call(b,B,U,G),g.ensureSingle(R,"text",u.headerArrowClassName,function(W){W.attr("text-anchor","end").call(M.font,B.font).text(u.arrowSymbol[B.direction])}).attr({x:q.headerWidth-u.arrowOffsetX+B.pad.l,y:q.headerHeight/2+u.textOffsetY+B.pad.t}),N.on("click",function(){D.call(O,String(f(D,B)?-1:B._index)),w(I,R,D,F,B)}),N.on("mouseover",function(){N.call(C)}),N.on("mouseout",function(){N.call(_,B)}),M.setTranslate(R,q.lx,q.ly)}function w(I,R,D,F,B){D||(D=R).attr("pointer-events","all");var N=function(X){return+X.attr(u.menuIndexAttrName)==-1}(D)&&B.type!=="buttons"?[]:B.buttons,q=B.type==="dropdown"?u.dropdownButtonClassName:u.buttonClassName,j=D.selectAll("g."+q).data(g.filterVisible(N)),$=j.enter().append("g").classed(q,!0),U=j.exit();B.type==="dropdown"?($.attr("opacity","0").transition().attr("opacity","1"),U.transition().attr("opacity","0").remove()):U.remove();var G=0,W=0,H=B._dims,ne=["up","down"].indexOf(B.direction)!==-1;B.type==="dropdown"&&(ne?W=H.headerHeight+u.gapButtonHeader:G=H.headerWidth+u.gapButtonHeader),B.type==="dropdown"&&B.direction==="up"&&(W=-u.gapButtonHeader+u.gapButton-H.openHeight),B.type==="dropdown"&&B.direction==="left"&&(G=-u.gapButtonHeader+u.gapButton-H.openWidth);var te={x:H.lx+G+B.pad.l,y:H.ly+W+B.pad.t,yPad:u.gapButton,xPad:u.gapButton,index:0},Z={l:te.x+B.borderwidth,t:te.y+B.borderwidth};j.each(function(X,Q){var re=d.select(this);re.call(v,B,X,I).call(b,B,te),re.on("click",function(){d.event.defaultPrevented||(X.execute&&(X.args2&&B.active===Q?(c(I,B,0,R,D,F,-1),y.executeAPICommand(I,X.method,X.args2)):(c(I,B,0,R,D,F,Q),y.executeAPICommand(I,X.method,X.args))),I.emit("plotly_buttonclicked",{menu:B,button:X,active:B.active}))}),re.on("mouseover",function(){re.call(C)}),re.on("mouseout",function(){re.call(_,B),j.call(T,B)})}),j.call(T,B),ne?(Z.w=Math.max(H.openWidth,H.headerWidth),Z.h=te.y-Z.t):(Z.w=te.x-Z.l,Z.h=Math.max(H.openHeight,H.headerHeight)),Z.direction=B.direction,F&&(j.size()?function(X,Q,re,ie,oe,ue){var ce,ye,de,me=oe.direction,pe=me==="up"||me==="down",xe=oe._dims,Pe=oe.active;if(pe)for(ye=0,de=0;de0?[0]:[]);if(B.enter().append("g").classed(u.containerClassName,!0).style("cursor","pointer"),B.exit().each(function(){d.select(this).selectAll("g."+u.headerGroupClassName).each(F)}).remove(),D.length!==0){var N=B.selectAll("g."+u.headerGroupClassName).data(D,s);N.enter().append("g").classed(u.headerGroupClassName,!0);for(var q=g.ensureSingle(B,"g",u.dropdownButtonGroupClassName,function(W){W.style("pointer-events","all")}),j=0;jb,R=g.barLength+2*g.barPad,D=g.barWidth+2*g.barPad,F=v,B=x+T;B+D>s&&(B=s-D);var N=this.container.selectAll("rect.scrollbar-horizontal").data(I?[0]:[]);N.exit().on(".drag",null).remove(),N.enter().append("rect").classed("scrollbar-horizontal",!0).call(y.fill,g.barColor),I?(this.hbar=N.attr({rx:g.barRadius,ry:g.barRadius,x:F,y:B,width:R,height:D}),this._hbarXMin=F+R/2,this._hbarTranslateMax=b-R):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var q=T>O,j=g.barWidth+2*g.barPad,$=g.barLength+2*g.barPad,U=v+S,G=x;U+j>o&&(U=o-j);var W=this.container.selectAll("rect.scrollbar-vertical").data(q?[0]:[]);W.exit().on(".drag",null).remove(),W.enter().append("rect").classed("scrollbar-vertical",!0).call(y.fill,g.barColor),q?(this.vbar=W.attr({rx:g.barRadius,ry:g.barRadius,x:U,y:G,width:j,height:$}),this._vbarYMin=G+$/2,this._vbarTranslateMax=O-$):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,ne=f-.5,te=q?c+j+.5:c+.5,Z=p-.5,X=I?w+D+.5:w+.5,Q=u._topdefs.selectAll("#"+H).data(I||q?[0]:[]);if(Q.exit().remove(),Q.enter().append("clipPath").attr("id",H).append("rect"),I||q?(this._clipRect=Q.select("rect").attr({x:Math.floor(ne),y:Math.floor(Z),width:Math.ceil(te)-Math.floor(ne),height:Math.ceil(X)-Math.floor(Z)}),this.container.call(i.setClipUrl,H,this.gd),this.bg.attr({x:v,y:x,width:S,height:T})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),I||q){var re=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ie=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault(),d.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));I&&this.hbar.on(".drag",null).call(ie),q&&this.vbar.on(".drag",null).call(ie)}this.setTranslate(l,a)},g.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},g.prototype._onBoxDrag=function(){var h=this.translateX,l=this.translateY;this.hbar&&(h-=d.event.dx),this.vbar&&(l-=d.event.dy),this.setTranslate(h,l)},g.prototype._onBoxWheel=function(){var h=this.translateX,l=this.translateY;this.hbar&&(h+=d.event.deltaY),this.vbar&&(l+=d.event.deltaY),this.setTranslate(h,l)},g.prototype._onBarDrag=function(){var h=this.translateX,l=this.translateY;if(this.hbar){var a=h+this._hbarXMin,u=a+this._hbarTranslateMax;h=(M.constrain(d.event.x,a,u)-a)/(u-a)*(this.position.w-this._box.w)}if(this.vbar){var o=l+this._vbarYMin,s=o+this._vbarTranslateMax;l=(M.constrain(d.event.y,o,s)-o)/(s-o)*(this.position.h-this._box.h)}this.setTranslate(h,l)},g.prototype.setTranslate=function(h,l){var a=this.position.w-this._box.w,u=this.position.h-this._box.h;if(h=M.constrain(h||0,0,a),l=M.constrain(l||0,0,u),this.translateX=h,this.translateY=l,this.container.call(i.setTranslate,this._box.l-this.position.l-h,this._box.t-this.position.t-l),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+h-.5),y:Math.floor(this.position.t+l-.5)}),this.hbar){var o=h/a;this.hbar.call(i.setTranslate,h+o*this._hbarTranslateMax,l)}if(this.vbar){var s=l/u;this.vbar.call(i.setTranslate,h,l+s*this._vbarTranslateMax)}}},18783:function(k){k.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(k){k.exports={axisRefDescription:function(m,t,d){return["If set to a",m,"axis id (e.g. *"+m+"* or","*"+m+"2*), the `"+m+"` position refers to a",m,"coordinate. If set to *paper*, the `"+m+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+d+"). If set to a",m,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+m+"2 domain* refers to the domain of the second",m," axis and a",m,"position of 0.5 refers to the","point between the",t,"and the",d,"of the domain of the","second",m,"axis."].join(" ")}}},22372:function(k){k.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"โ–ฒ"},DECREASING:{COLOR:"#FF4136",SYMBOL:"โ–ผ"}}},31562:function(k){k.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(k){k.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(k){k.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(k){k.exports={circle:"โ—","circle-open":"โ—‹",square:"โ– ","square-open":"โ–ก",diamond:"โ—†","diamond-open":"โ—‡",cross:"+",x:"โŒ"}},37822:function(k){k.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(k){k.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"โˆ’"}},77922:function(k,m){m.xmlns="http://www.w3.org/2000/xmlns/",m.svg="http://www.w3.org/2000/svg",m.xlink="http://www.w3.org/1999/xlink",m.svgAttrs={xmlns:m.svg,"xmlns:xlink":m.xlink}},8729:function(k,m,t){m.version=t(11506).version,t(7417),t(98847);for(var d=t(73972),y=m.register=d.register,i=t(10641),M=Object.keys(i),g=0;g",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(k,m){m.isLeftAnchor=function(t){return t.xanchor==="left"||t.xanchor==="auto"&&t.x<=.3333333333333333},m.isCenterAnchor=function(t){return t.xanchor==="center"||t.xanchor==="auto"&&t.x>.3333333333333333&&t.x<.6666666666666666},m.isRightAnchor=function(t){return t.xanchor==="right"||t.xanchor==="auto"&&t.x>=.6666666666666666},m.isTopAnchor=function(t){return t.yanchor==="top"||t.yanchor==="auto"&&t.y>=.6666666666666666},m.isMiddleAnchor=function(t){return t.yanchor==="middle"||t.yanchor==="auto"&&t.y>.3333333333333333&&t.y<.6666666666666666},m.isBottomAnchor=function(t){return t.yanchor==="bottom"||t.yanchor==="auto"&&t.y<=.3333333333333333}},26348:function(k,m,t){var d=t(64872),y=d.mod,i=d.modHalf,M=Math.PI,g=2*M;function h(o){return Math.abs(o[1]-o[0])>g-1e-14}function l(o,s){return i(s-o,g)}function a(o,s){if(h(s))return!0;var f,c;s[0](c=y(c,g))&&(c+=g);var p=y(o,g),w=p+g;return p>=f&&p<=c||w>=f&&w<=c}function u(o,s,f,c,p,w,v){p=p||0,w=w||0;var S,x,T,C,_,A=h([f,c]);function L(R,D){return[R*Math.cos(D)+p,w-R*Math.sin(D)]}A?(S=0,x=M,T=g):f=p&&o<=w);var p,w},pathArc:function(o,s,f,c,p){return u(null,o,s,f,c,p,0)},pathSector:function(o,s,f,c,p){return u(null,o,s,f,c,p,1)},pathAnnulus:function(o,s,f,c,p,w){return u(o,s,f,c,p,w,1)}}},73627:function(k,m){var t=Array.isArray,d=ArrayBuffer,y=DataView;function i(h){return d.isView(h)&&!(h instanceof y)}function M(h){return t(h)||i(h)}function g(h,l,a){if(M(h)){if(M(h[0])){for(var u=a,o=0;ow.max?c.set(p):c.set(+f)}},integer:{coerceFunction:function(f,c,p,w){f%1||!d(f)||w.min!==void 0&&fw.max?c.set(p):c.set(+f)}},string:{coerceFunction:function(f,c,p,w){if(typeof f!="string"){var v=typeof f=="number";w.strict!==!0&&v?c.set(String(f)):c.set(p)}else w.noBlank&&!f?c.set(p):c.set(f)}},color:{coerceFunction:function(f,c,p){y(f).isValid()?c.set(f):c.set(p)}},colorlist:{coerceFunction:function(f,c,p){Array.isArray(f)&&f.length&&f.every(function(w){return y(w).isValid()})?c.set(f):c.set(p)}},colorscale:{coerceFunction:function(f,c,p){c.set(M.get(f,p))}},angle:{coerceFunction:function(f,c,p){f==="auto"?c.set("auto"):d(f)?c.set(u(+f,360)):c.set(p)}},subplotid:{coerceFunction:function(f,c,p,w){var v=w.regex||a(p);typeof f=="string"&&v.test(f)?c.set(f):c.set(p)},validateFunction:function(f,c){var p=c.dflt;return f===p||typeof f=="string"&&!!a(p).test(f)}},flaglist:{coerceFunction:function(f,c,p,w){if((w.extras||[]).indexOf(f)===-1)if(typeof f=="string"){for(var v=f.split("+"),S=0;S=d&&N<=y?N:a}if(typeof N!="string"&&typeof N!="number")return a;N=String(N);var G=T(q),W=N.charAt(0);!G||W!=="G"&&W!=="g"||(N=N.substr(1),q="");var H=G&&q.substr(0,7)==="chinese",ne=N.match(H?S:v);if(!ne)return a;var te=ne[1],Z=ne[3]||"1",X=Number(ne[5]||1),Q=Number(ne[7]||0),re=Number(ne[9]||0),ie=Number(ne[11]||0);if(G){if(te.length===2)return a;var oe;te=Number(te);try{var ue=p.getComponentMethod("calendars","getCal")(q);if(H){var ce=Z.charAt(Z.length-1)==="i";Z=parseInt(Z,10),oe=ue.newDate(te,ue.toMonthIndex(te,Z,ce),X)}else oe=ue.newDate(te,Number(Z),X)}catch{return a}return oe?(oe.toJD()-c)*u+Q*o+re*s+ie*f:a}te=te.length===2?(Number(te)+2e3-x)%100+x:Number(te),Z-=1;var ye=new Date(Date.UTC(2e3,Z,X,Q,re));return ye.setUTCFullYear(te),ye.getUTCMonth()!==Z||ye.getUTCDate()!==X?a:ye.getTime()+ie*f},d=m.MIN_MS=m.dateTime2ms("-9999"),y=m.MAX_MS=m.dateTime2ms("9999-12-31 23:59:59.9999"),m.isDateTime=function(N,q){return m.dateTime2ms(N,q)!==a};var _=90*u,A=3*o,L=5*s;function b(N,q,j,$,U){if((q||j||$||U)&&(N+=" "+C(q,2)+":"+C(j,2),($||U)&&(N+=":"+C($,2),U))){for(var G=4;U%10==0;)G-=1,U/=10;N+="."+C(U,G)}return N}m.ms2DateTime=function(N,q,j){if(typeof N!="number"||!(N>=d&&N<=y))return a;q||(q=0);var $,U,G,W,H,ne,te=Math.floor(10*h(N+.05,1)),Z=Math.round(N-te/10);if(T(j)){var X=Math.floor(Z/u)+c,Q=Math.floor(h(N,u));try{$=p.getComponentMethod("calendars","getCal")(j).fromJD(X).formatDate("yyyy-mm-dd")}catch{$=w("G%Y-%m-%d")(new Date(Z))}if($.charAt(0)==="-")for(;$.length<11;)$="-0"+$.substr(1);else for(;$.length<10;)$="0"+$;U=q<_?Math.floor(Q/o):0,G=q<_?Math.floor(Q%o/s):0,W=q=d+u&&N<=y-u))return a;var q=Math.floor(10*h(N+.05,1)),j=new Date(Math.round(N-q/10));return b(i("%Y-%m-%d")(j),j.getHours(),j.getMinutes(),j.getSeconds(),10*j.getUTCMilliseconds()+q)},m.cleanDate=function(N,q,j){if(N===a)return q;if(m.isJSDate(N)||typeof N=="number"&&isFinite(N)){if(T(j))return g.error("JS Dates and milliseconds are incompatible with world calendars",N),q;if(!(N=m.ms2DateTimeLocal(+N))&&q!==void 0)return q}else if(!m.isDateTime(N,j))return g.error("unrecognized date",N),q;return N};var O=/%\d?f/g,I=/%h/g,R={1:"1",2:"1",3:"2",4:"2"};function D(N,q,j,$){N=N.replace(O,function(G){var W=Math.min(+G.charAt(1)||6,6);return(q/1e3%1+2).toFixed(W).substr(2).replace(/0+$/,"")||"0"});var U=new Date(Math.floor(q+.05));if(N=N.replace(I,function(){return R[j("%q")(U)]}),T($))try{N=p.getComponentMethod("calendars","worldCalFmt")(N,q,$)}catch{return"Invalid"}return j(N)(U)}var F=[59,59.9,59.99,59.999,59.9999];m.formatDate=function(N,q,j,$,U,G){if(U=T(U)&&U,!q)if(j==="y")q=G.year;else if(j==="m")q=G.month;else{if(j!=="d")return function(W,H){var ne=h(W+.05,u),te=C(Math.floor(ne/o),2)+":"+C(h(Math.floor(ne/s),60),2);if(H!=="M"){M(H)||(H=0);var Z=(100+Math.min(h(W/f,60),F[H])).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),te+=":"+Z}return te}(N,j)+` -`+D(G.dayMonthYear,N,$,U);q=G.dayMonth+` -`+G.year}return D(q,N,$,U)};var B=3*u;m.incrementMonth=function(N,q,j){j=T(j)&&j;var $=h(N,u);if(N=Math.round(N-$),j)try{var U=Math.round(N/u)+c,G=p.getComponentMethod("calendars","getCal")(j),W=G.fromJD(U);return q%12?G.add(W,q,"m"):G.add(W,q/12,"y"),(W.toJD()-c)*u+$}catch{g.error("invalid ms "+N+" in calendar "+j)}var H=new Date(N+B);return H.setUTCMonth(H.getUTCMonth()+q)+$-B},m.findExactDates=function(N,q){for(var j,$,U=0,G=0,W=0,H=0,ne=T(q)&&p.getComponentMethod("calendars","getCal")(q),te=0;te0&&b[O+1][0]<0)return O;return null}switch(w=_==="RUS"||_==="FJI"?function(b){var O;if(L(b)===null)O=b;else for(O=new Array(b.length),x=0;xO?I[R++]=[b[x][0]+360,b[x][1]]:x===O?(I[R++]=b[x],I[R++]=[b[x][0],-90]):I[R++]=b[x];var D=o.tester(I);D.pts.pop(),A.push(D)}:function(b){A.push(o.tester(b))},T.type){case"MultiPolygon":for(v=0;vj&&(j=G,B=U)}else B=N;return M.default(B).geometry.coordinates}(D),I.fIn=b,I.fOut=D,T.push(D)}else l.log(["Location",I.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete x[O]}switch(v.type){case"FeatureCollection":var A=v.features;for(S=0;S100?(clearInterval(O),L("Unexpected error while fetching from "+_)):void b++},50)})}for(var T=0;T0&&(M.push(g),g=[])}return g.length>0&&M.push(g),M},m.makeLine=function(y){return y.length===1?{type:"LineString",coordinates:y[0]}:{type:"MultiLineString",coordinates:y}},m.makePolygon=function(y){if(y.length===1)return{type:"Polygon",coordinates:y};for(var i=new Array(y.length),M=0;M1||A<0||A>1?null:{x:l+w*A,y:a+x*A}}function h(l,a,u,o,s){var f=o*l+s*a;if(f<0)return o*o+s*s;if(f>u){var c=o-l,p=s-a;return c*c+p*p}var w=o*a-s*l;return w*w/u}m.segmentsIntersect=g,m.segmentDistance=function(l,a,u,o,s,f,c,p){if(g(l,a,u,o,s,f,c,p))return 0;var w=u-l,v=o-a,S=c-s,x=p-f,T=w*w+v*v,C=S*S+x*x,_=Math.min(h(w,v,T,s-l,f-a),h(w,v,T,c-l,p-a),h(S,x,C,l-s,a-f),h(S,x,C,u-s,o-f));return Math.sqrt(_)},m.getTextLocation=function(l,a,u,o){if(l===y&&o===i||(d={},y=l,i=o),d[u])return d[u];var s=l.getPointAtLength(M(u-o/2,a)),f=l.getPointAtLength(M(u+o/2,a)),c=Math.atan((f.y-s.y)/(f.x-s.x)),p=l.getPointAtLength(M(u,a)),w={x:(4*p.x+s.x+f.x)/6,y:(4*p.y+s.y+f.y)/6,theta:c};return d[u]=w,w},m.clearLocationCache=function(){y=null},m.getVisibleSegment=function(l,a,u){var o,s,f=a.left,c=a.right,p=a.top,w=a.bottom,v=0,S=l.getTotalLength(),x=S;function T(_){var A=l.getPointAtLength(_);_===0?o=A:_===S&&(s=A);var L=A.xc?A.x-c:0,b=A.yw?A.y-w:0;return Math.sqrt(L*L+b*b)}for(var C=T(v);C;){if((v+=C+u)>x)return;C=T(v)}for(C=T(x);C;){if(v>(x-=C+u))return;C=T(x)}return{min:v,max:x,len:x-v,total:S,isClosed:v===0&&x===S&&Math.abs(o.x-s.x)<.1&&Math.abs(o.y-s.y)<.1}},m.findPointOnPath=function(l,a,u,o){for(var s,f,c,p=(o=o||{}).pathLength||l.getTotalLength(),w=o.tolerance||.001,v=o.iterationLimit||30,S=l.getPointAtLength(0)[u]>l.getPointAtLength(p)[u]?-1:1,x=0,T=0,C=p;x0?C=s:T=s,x++}return f}},81697:function(k,m,t){var d=t(92770),y=t(84267),i=t(25075),M=t(21081),g=t(22399).defaultLine,h=t(73627).isArrayOrTypedArray,l=i(g);function a(s,f){var c=s;return c[3]*=f,c}function u(s){if(d(s))return l;var f=i(s);return f.length?f:l}function o(s){return d(s)?s:1}k.exports={formatColor:function(s,f,c){var p,w,v,S,x,T=s.color,C=h(T),_=h(f),A=M.extractOpts(s),L=[];if(p=A.colorscale!==void 0?M.makeColorScaleFuncFromTrace(s):u,w=C?function(O,I){return O[I]===void 0?l:i(p(O[I]))}:u,v=_?function(O,I){return O[I]===void 0?1:o(O[I])}:o,C||_)for(var b=0;b1?(d*m+d*t)/d:m+t,i=String(y).length;if(i>16){var M=String(t).length;if(i>=String(m).length+M){var g=parseFloat(y).toPrecision(12);g.indexOf("e+")===-1&&(y=+g)}}return y}},71828:function(k,m,t){var d=t(39898),y=t(84096).g0,i=t(60721).WU,M=t(92770),g=t(50606),h=g.FP_SAFE,l=-h,a=g.BADNUM,u=k.exports={};u.adjustFormat=function(Q){return!Q||/^\d[.]\df/.test(Q)||/[.]\d%/.test(Q)?Q:Q==="0.f"?"~f":/^\d%/.test(Q)?"~%":/^\ds/.test(Q)?"~s":!/^[~,.0$]/.test(Q)&&/[&fps]/.test(Q)?"~"+Q:Q};var o={};u.warnBadFormat=function(Q){var re=String(Q);o[re]||(o[re]=1,u.warn('encountered bad format: "'+re+'"'))},u.noFormat=function(Q){return String(Q)},u.numberFormat=function(Q){var re;try{re=i(u.adjustFormat(Q))}catch{return u.warnBadFormat(Q),u.noFormat}return re},u.nestedProperty=t(65487),u.keyedContainer=t(66636),u.relativeAttr=t(6962),u.isPlainObject=t(41965),u.toLogRange=t(58163),u.relinkPrivateKeys=t(51332);var s=t(73627);u.isTypedArray=s.isTypedArray,u.isArrayOrTypedArray=s.isArrayOrTypedArray,u.isArray1D=s.isArray1D,u.ensureArray=s.ensureArray,u.concat=s.concat,u.maxRowLength=s.maxRowLength,u.minRowLength=s.minRowLength;var f=t(64872);u.mod=f.mod,u.modHalf=f.modHalf;var c=t(96554);u.valObjectMeta=c.valObjectMeta,u.coerce=c.coerce,u.coerce2=c.coerce2,u.coerceFont=c.coerceFont,u.coercePattern=c.coercePattern,u.coerceHoverinfo=c.coerceHoverinfo,u.coerceSelectionMarkerOpacity=c.coerceSelectionMarkerOpacity,u.validate=c.validate;var p=t(41631);u.dateTime2ms=p.dateTime2ms,u.isDateTime=p.isDateTime,u.ms2DateTime=p.ms2DateTime,u.ms2DateTimeLocal=p.ms2DateTimeLocal,u.cleanDate=p.cleanDate,u.isJSDate=p.isJSDate,u.formatDate=p.formatDate,u.incrementMonth=p.incrementMonth,u.dateTick0=p.dateTick0,u.dfltRange=p.dfltRange,u.findExactDates=p.findExactDates,u.MIN_MS=p.MIN_MS,u.MAX_MS=p.MAX_MS;var w=t(65888);u.findBin=w.findBin,u.sorterAsc=w.sorterAsc,u.sorterDes=w.sorterDes,u.distinctVals=w.distinctVals,u.roundUp=w.roundUp,u.sort=w.sort,u.findIndexOfMin=w.findIndexOfMin,u.sortObjectKeys=t(78607);var v=t(80038);u.aggNums=v.aggNums,u.len=v.len,u.mean=v.mean,u.median=v.median,u.midRange=v.midRange,u.variance=v.variance,u.stdev=v.stdev,u.interp=v.interp;var S=t(35657);u.init2dArray=S.init2dArray,u.transposeRagged=S.transposeRagged,u.dot=S.dot,u.translationMatrix=S.translationMatrix,u.rotationMatrix=S.rotationMatrix,u.rotationXYMatrix=S.rotationXYMatrix,u.apply3DTransform=S.apply3DTransform,u.apply2DTransform=S.apply2DTransform,u.apply2DTransform2=S.apply2DTransform2,u.convertCssMatrix=S.convertCssMatrix,u.inverseTransformMatrix=S.inverseTransformMatrix;var x=t(26348);u.deg2rad=x.deg2rad,u.rad2deg=x.rad2deg,u.angleDelta=x.angleDelta,u.angleDist=x.angleDist,u.isFullCircle=x.isFullCircle,u.isAngleInsideSector=x.isAngleInsideSector,u.isPtInsideSector=x.isPtInsideSector,u.pathArc=x.pathArc,u.pathSector=x.pathSector,u.pathAnnulus=x.pathAnnulus;var T=t(99863);u.isLeftAnchor=T.isLeftAnchor,u.isCenterAnchor=T.isCenterAnchor,u.isRightAnchor=T.isRightAnchor,u.isTopAnchor=T.isTopAnchor,u.isMiddleAnchor=T.isMiddleAnchor,u.isBottomAnchor=T.isBottomAnchor;var C=t(87642);u.segmentsIntersect=C.segmentsIntersect,u.segmentDistance=C.segmentDistance,u.getTextLocation=C.getTextLocation,u.clearLocationCache=C.clearLocationCache,u.getVisibleSegment=C.getVisibleSegment,u.findPointOnPath=C.findPointOnPath;var _=t(1426);u.extendFlat=_.extendFlat,u.extendDeep=_.extendDeep,u.extendDeepAll=_.extendDeepAll,u.extendDeepNoArrays=_.extendDeepNoArrays;var A=t(47769);u.log=A.log,u.warn=A.warn,u.error=A.error;var L=t(30587);u.counterRegex=L.counter;var b=t(79990);u.throttle=b.throttle,u.throttleDone=b.done,u.clearThrottle=b.clear;var O=t(24401);function I(Q){var re={};for(var ie in Q)for(var oe=Q[ie],ue=0;ueh||Q=re)&&M(Q)&&Q>=0&&Q%1==0},u.noop=t(64213),u.identity=t(23389),u.repeat=function(Q,re){for(var ie=new Array(re),oe=0;oeie?Math.max(ie,Math.min(re,Q)):Math.max(re,Math.min(ie,Q))},u.bBoxIntersect=function(Q,re,ie){return ie=ie||0,Q.left<=re.right+ie&&re.left<=Q.right+ie&&Q.top<=re.bottom+ie&&re.top<=Q.bottom+ie},u.simpleMap=function(Q,re,ie,oe,ue){for(var ce=Q.length,ye=new Array(ce),de=0;de=Math.pow(2,ie)?ue>10?(u.warn("randstr failed uniqueness"),me):Q(re,ie,oe,(ue||0)+1):me},u.OptionControl=function(Q,re){Q||(Q={}),re||(re="opt");var ie={optionList:[],_newoption:function(oe){oe[re]=Q,ie[oe.name]=oe,ie.optionList.push(oe)}};return ie["_"+re]=Q,ie},u.smooth=function(Q,re){if((re=Math.round(re)||0)<2)return Q;var ie,oe,ue,ce,ye=Q.length,de=2*ye,me=2*re-1,pe=new Array(me),xe=new Array(ye);for(ie=0;ie=de&&(ue-=de*Math.floor(ue/de)),ue<0?ue=-1-ue:ue>=ye&&(ue=de-1-ue),ce+=Q[ue]*pe[oe];xe[ie]=ce}return xe},u.syncOrAsync=function(Q,re,ie){var oe;function ue(){return u.syncOrAsync(Q,re,ie)}for(;Q.length;)if((oe=(0,Q.splice(0,1)[0])(re))&&oe.then)return oe.then(ue);return ie&&ie(re)},u.stripTrailingSlash=function(Q){return Q.substr(-1)==="/"?Q.substr(0,Q.length-1):Q},u.noneOrAll=function(Q,re,ie){if(Q){var oe,ue=!1,ce=!0;for(oe=0;oe0?ue:0})},u.fillArray=function(Q,re,ie,oe){if(oe=oe||u.identity,u.isArrayOrTypedArray(Q))for(var ue=0;ue1?ue+ye[1]:"";if(ce&&(ye.length>1||de.length>4||ie))for(;oe.test(de);)de=de.replace(oe,"$1"+ce+"$2");return de+me},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var q=/^\w*$/;u.templateString=function(Q,re){var ie={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(oe,ue){var ce;return q.test(ue)?ce=re[ue]:(ie[ue]=ie[ue]||u.nestedProperty(re,ue).get,ce=ie[ue]()),u.isValidTextValue(ce)?ce:""})};var j={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return ne.apply(j,arguments)};var $={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return ne.apply($,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function G(Q){var re=Q.match(U);return re?{key:re[1],op:re[2],number:Number(re[3])}:{key:Q,op:null,number:null}}var W={max:10,count:0,name:"texttemplate",parseMultDiv:!0};u.texttemplateStringForShapes=function(){return ne.apply(W,arguments)};var H=/^[:|\|]/;function ne(Q,re,ie){var oe=this,ue=arguments;re||(re={});var ce={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(ye,de,me){var pe=de==="_xother"||de==="_yother",xe=de==="_xother_"||de==="_yother_",Pe=de==="xother_"||de==="yother_",_e=de==="xother"||de==="yother"||pe||Pe||xe,Me=de;(pe||xe)&&(Me=Me.substring(1)),(Pe||xe)&&(Me=Me.substring(0,Me.length-1));var Se,Ce,ae,he=null,be=null;if(oe.parseMultDiv){var ke=G(Me);Me=ke.key,he=ke.op,be=ke.number}if(_e){if((Se=re[Me])===void 0)return""}else for(ae=3;ae=48&&ye<=57,pe=de>=48&&de<=57;if(me&&(oe=10*oe+ye-48),pe&&(ue=10*ue+de-48),!me||!pe){if(oe!==ue)return oe-ue;if(ye!==de)return ye-de}}return ue-oe};var te=2e9;u.seedPseudoRandom=function(){te=2e9},u.pseudoRandom=function(){var Q=te;return te=(69069*te+1)%4294967296,Math.abs(te-Q)<429496729?u.pseudoRandom():te/4294967296},u.fillText=function(Q,re,ie){var oe=Array.isArray(ie)?function(ye){ie.push(ye)}:function(ye){ie.text=ye},ue=u.extractOption(Q,re,"htx","hovertext");if(u.isValidTextValue(ue))return oe(ue);var ce=u.extractOption(Q,re,"tx","text");return u.isValidTextValue(ce)?oe(ce):void 0},u.isValidTextValue=function(Q){return Q||Q===0},u.formatPercent=function(Q,re){re=re||0;for(var ie=(Math.round(100*Q*Math.pow(10,re))*Math.pow(.1,re)).toFixed(re)+"%",oe=0;oe1&&(pe=1):pe=0,u.strTranslate(ue-pe*(ie+ye),ce-pe*(oe+de))+u.strScale(pe)+(me?"rotate("+me+(re?"":" "+ie+" "+oe)+")":"")},u.setTransormAndDisplay=function(Q,re){Q.attr("transform",u.getTextTransform(re)),Q.style("display",re.scale?null:"none")},u.ensureUniformFontSize=function(Q,re){var ie=u.extendFlat({},re);return ie.size=Math.max(re.size,Q._fullLayout.uniformtext.minsize||0),ie},u.join2=function(Q,re,ie){var oe=Q.length;return oe>1?Q.slice(0,-1).join(re)+ie+Q[oe-1]:Q.join(re)},u.bigFont=function(Q){return Math.round(1.2*Q)};var Z=u.getFirefoxVersion(),X=Z!==null&&Z<86;u.getPositionFromD3Event=function(){return X?[d.event.layerX,d.event.layerY]:[d.event.offsetX,d.event.offsetY]}},41965:function(k){k.exports=function(m){return window&&window.process&&window.process.versions?Object.prototype.toString.call(m)==="[object Object]":Object.prototype.toString.call(m)==="[object Object]"&&Object.getPrototypeOf(m).hasOwnProperty("hasOwnProperty")}},66636:function(k,m,t){var d=t(65487),y=/^\w*$/;k.exports=function(i,M,g,h){var l,a,u;g=g||"name",h=h||"value";var o={};M&&M.length?(u=d(i,M),a=u.get()):a=i,M=M||"";var s={};if(a)for(l=0;l2)return o[w]=2|o[w],c.set(p,null);if(f){for(l=w;l1){var g=["LOG:"];for(M=0;M1){var h=[];for(M=0;M"),"long")}},i.warn=function(){var M;if(d.logging>0){var g=["WARN:"];for(M=0;M0){var h=[];for(M=0;M"),"stick")}},i.error=function(){var M;if(d.logging>0){var g=["ERROR:"];for(M=0;M0){var h=[];for(M=0;M"),"stick")}}},77310:function(k,m,t){var d=t(39898);k.exports=function(y,i,M){var g=y.selectAll("g."+M.replace(/\s/g,".")).data(i,function(l){return l[0].trace.uid});g.exit().remove(),g.enter().append("g").attr("class",M),g.order();var h=y.classed("rangeplot")?"nodeRangePlot3":"node3";return g.each(function(l){l[0][h]=d.select(this)}),g}},35657:function(k,m,t){var d=t(79576);m.init2dArray=function(y,i){for(var M=new Array(y),g=0;gt/2?m-Math.round(m/t)*t:m}}},65487:function(k,m,t){var d=t(92770),y=t(73627).isArrayOrTypedArray;function i(o,s){return function(){var f,c,p,w,v,S=o;for(w=0;w/g),c=0;ca||x===y||xo||v&&s(w))}:function(w,v){var S=w[0],x=w[1];if(S===y||Sa||x===y||xo)return!1;var T,C,_,A,L,b=h.length,O=h[0][0],I=h[0][1],R=0;for(T=1;TMath.max(C,O)||x>Math.max(_,I)))if(xc||Math.abs(d(u,w))>l)return!0;return!1},i.filter=function(M,g){var h=[M[0]],l=0,a=0;function u(o){M.push(o);var s=h.length,f=l;h.splice(a+1);for(var c=f+1;c1&&u(M.pop()),{addPt:u,raw:M,filtered:h}}},79749:function(k,m,t){var d=t(58617),y=t(98580);k.exports=function(i,M,g){var h=i._fullLayout,l=!0;return h._glcanvas.each(function(a){if(a.regl)a.regl.preloadCachedCode(g);else if(!a.pick||h._has("parcoords")){try{a.regl=y({canvas:this,attributes:{antialias:!a.pick,preserveDrawingBuffer:!0},pixelRatio:i._context.plotGlPixelRatio||t.g.devicePixelRatio,extensions:M||[],cachedCode:g||{}})}catch{l=!1}a.regl||(l=!1),l&&this.addEventListener("webglcontextlost",function(u){i&&i.emit&&i.emit("plotly_webglcontextlost",{event:u,layer:a.key})},!1)}}),l||d({container:h._glcontainer.node()}),l}},45142:function(k,m,t){var d=t(92770),y=t(35791);k.exports=function(i){var M;if(typeof(M=i&&i.hasOwnProperty("userAgent")?i.userAgent:function(){var s;return typeof navigator<"u"&&(s=navigator.userAgent),s&&s.headers&&typeof s.headers["user-agent"]=="string"&&(s=s.headers["user-agent"]),s}())!="string")return!0;var g=y({ua:{headers:{"user-agent":M}},tablet:!0,featureDetect:!1});if(!g){for(var h=M.split(" "),l=1;l-1;a--){var u=h[a];if(u.substr(0,8)==="Version/"){var o=u.substr(8).split(".")[0];if(d(o)&&(o=+o),o>=13)return!0}}}return g}},75138:function(k){k.exports=function(m,t){if(t instanceof RegExp){for(var d=t.toString(),y=0;yy.queueLength&&(M.undoQueue.queue.shift(),M.undoQueue.index--))},startSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!0,M.undoQueue.beginSequence=!0},stopSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!1,M.undoQueue.beginSequence=!1},undo:function(M){var g,h;if(!(M.undoQueue===void 0||isNaN(M.undoQueue.index)||M.undoQueue.index<=0)){for(M.undoQueue.index--,g=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,h=0;h=M.undoQueue.queue.length)){for(g=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,h=0;hs}function u(o,s){return o>=s}m.findBin=function(o,s,f){if(d(s.start))return f?Math.ceil((o-s.start)/s.size-g)-1:Math.floor((o-s.start)/s.size+g);var c,p,w=0,v=s.length,S=0,x=v>1?(s[v-1]-s[0])/(v-1):1;for(p=x>=0?f?h:l:f?u:a,o+=x*g*(f?-1:1)*(x>=0?1:-1);w90&&y.log("Long binary search..."),w-1},m.sorterAsc=function(o,s){return o-s},m.sorterDes=function(o,s){return s-o},m.distinctVals=function(o){var s,f=o.slice();for(f.sort(m.sorterAsc),s=f.length-1;s>-1&&f[s]===M;s--);for(var c,p=f[s]-f[0]||1,w=p/(s||1)/1e4,v=[],S=0;S<=s;S++){var x=f[S],T=x-c;c===void 0?(v.push(x),c=x):T>w&&(p=Math.min(p,T),v.push(x),c=x)}return{vals:v,minDiff:p}},m.roundUp=function(o,s,f){for(var c,p=0,w=s.length-1,v=0,S=f?0:1,x=f?1:0,T=f?Math.ceil:Math.floor;p0&&(c=1),f&&c)return o.sort(s)}return c?o:o.reverse()},m.findIndexOfMin=function(o,s){s=s||i;for(var f,c=1/0,p=0;pg.length)&&(h=g.length),d(M)||(M=!1),y(g[0])){for(a=new Array(h),l=0;li.length-1)return i[i.length-1];var g=M%1;return g*i[Math.ceil(M)]+(1-g)*i[Math.floor(M)]}},78614:function(k,m,t){var d=t(25075);k.exports=function(y){return y?d(y):[0,0,0,1]}},63893:function(k,m,t){var d=t(39898),y=t(71828),i=y.strTranslate,M=t(77922),g=t(18783).LINE_SPACING,h=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;m.convertToTspans=function(N,q,j){var $=N.text(),U=!N.attr("data-notex")&&q&&q._context.typesetMath&&typeof MathJax<"u"&&$.match(h),G=d.select(N.node().parentNode);if(!G.empty()){var W=N.attr("class")?N.attr("class").split(" ")[0]:"text";return W+="-math",G.selectAll("svg."+W).remove(),G.selectAll("g."+W+"-group").remove(),N.style("display",null).attr({"data-unformatted":$,"data-math":"N"}),U?(q&&q._promises||[]).push(new Promise(function(ne){N.style("display","none");var te=parseInt(N.node().style.fontSize,10),Z={fontSize:te};(function(X,Q,re){var ie,oe,ue,ce,ye=parseInt((MathJax.version||"").split(".")[0]);if(ye===2||ye===3){var de=function(){var pe="math-output-"+y.randstr({},64),xe=(ce=d.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":Q.fontSize+"px"}).text(X.replace(l,"\\lt ").replace(a,"\\gt "))).node();return ye===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},me=function(){var pe=ce.select(ye===2?".MathJax_SVG":".MathJax"),xe=!pe.empty()&&ce.select("svg").node();if(xe){var Pe,_e=xe.getBoundingClientRect();Pe=ye===2?d.select("body").select("#MathJax_SVG_glyphs"):pe.select("defs"),re(pe,Pe,_e)}else y.log("There was an error in the tex syntax.",X),re();ce.remove()};ye===2?MathJax.Hub.Queue(function(){return oe=y.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:u},displayAlign:"left"})},function(){if((ie=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},de,me,function(){if(ie!=="SVG")return MathJax.Hub.setRenderer(ie)},function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(oe)}):ye===3&&(oe=y.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=u,(ie=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){de(),me(),ie!=="svg"&&(MathJax.config.startup.output=ie),MathJax.config=oe}))}else y.warn("No MathJax version:",MathJax.version)})(U[2],Z,function(X,Q,re){G.selectAll("svg."+W).remove(),G.selectAll("g."+W+"-group").remove();var ie=X&&X.select("svg");if(!ie||!ie.node())return H(),void ne();var oe=G.append("g").classed(W+"-group",!0).attr({"pointer-events":"none","data-unformatted":$,"data-math":"Y"});oe.node().appendChild(ie.node()),Q&&Q.node()&&ie.node().insertBefore(Q.node().cloneNode(!0),ie.node().firstChild);var ue=re.width,ce=re.height;ie.attr({class:W,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var ye=N.node().style.fill||"black",de=ie.select("g");de.attr({fill:ye,stroke:ye});var me=de.node().getBoundingClientRect(),pe=me.width,xe=me.height;(pe>ue||xe>ce)&&(ie.style("overflow","hidden"),pe=(me=ie.node().getBoundingClientRect()).width,xe=me.height);var Pe=+N.attr("x"),_e=+N.attr("y"),Me=-(te||N.node().getBoundingClientRect().height)/4;if(W[0]==="y")oe.attr({transform:"rotate("+[-90,Pe,_e]+")"+i(-pe/2,Me-xe/2)});else if(W[0]==="l")_e=Me-xe/2;else if(W[0]==="a"&&W.indexOf("atitle")!==0)Pe=0,_e=Me;else{var Se=N.attr("text-anchor");Pe-=pe*(Se==="middle"?.5:Se==="end"?1:0),_e=_e+Me-xe/2}ie.attr({x:Pe,y:_e}),j&&j.call(N,oe),ne(oe)})})):H(),N}function H(){G.empty()||(W=N.attr("class")+"-math",G.select("svg."+W).remove()),N.text("").style("white-space","pre");var ne=function(te,Z){Z=Z.replace(w," ");var X,Q=!1,re=[],ie=-1;function oe(){ie++;var be=document.createElementNS(M.svg,"tspan");d.select(be).attr({class:"line",dy:ie*g+"em"}),te.appendChild(be),X=be;var ke=re;if(re=[{node:be}],ke.length>1)for(var Le=1;Le doesnt match end tag <"+be+">. Pretending it did match.",Z),X=re[re.length-1].node}else y.log("Ignoring unexpected end tag .",Z)}x.test(Z)?oe():(X=te,re=[{node:te}]);for(var de=Z.split(v),me=0;me|>|>)/g,u=[["$","$"],["\\(","\\)"]],o={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},s={sub:"0.3em",sup:"-0.6em"},f={sub:"-0.21em",sup:"0.42em"},c="โ€‹",p=["http:","https:","mailto:","",void 0,":"],w=m.NEWLINES=/(\r\n?|\n)/g,v=/(<[^<>]*>)/,S=/<(\/?)([^ >]*)(\s+(.*))?>/i,x=//i;m.BR_TAG_ALL=//gi;var T=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,C=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,_=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,A=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function L(N,q){if(!N)return null;var j=N.match(q),$=j&&(j[3]||j[4]);return $&&R($)}var b=/(^|;)\s*color:/;m.plainText=function(N,q){for(var j=(q=q||{}).len!==void 0&&q.len!==-1?q.len:1/0,$=q.allowedTags!==void 0?q.allowedTags:["br"],U=3,G=N.split(v),W=[],H="",ne=0,te=0;teU?W.push(Z.substr(0,ie-U)+"..."):W.push(Z.substr(0,ie));break}H=""}}return W.join("")};var O={mu:"ฮผ",amp:"&",lt:"<",gt:">",nbsp:"ย ",times:"ร—",plusmn:"ยฑ",deg:"ยฐ"},I=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function R(N){return N.replace(I,function(q,j){return(j.charAt(0)==="#"?function($){if(!($>1114111)){var U=String.fromCodePoint;if(U)return U($);var G=String.fromCharCode;return $<=65535?G($):G(55232+($>>10),$%1024+56320)}}(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):O[j])||q})}function D(N){var q=encodeURI(decodeURI(N)),j=document.createElement("a"),$=document.createElement("a");j.href=N,$.href=q;var U=j.protocol,G=$.protocol;return p.indexOf(U)!==-1&&p.indexOf(G)!==-1?q:""}function F(N,q,j){var $,U,G,W=j.horizontalAlign,H=j.verticalAlign||"top",ne=N.node().getBoundingClientRect(),te=q.node().getBoundingClientRect();return U=H==="bottom"?function(){return ne.bottom-$.height}:H==="middle"?function(){return ne.top+(ne.height-$.height)/2}:function(){return ne.top},G=W==="right"?function(){return ne.right-$.width}:W==="center"?function(){return ne.left+(ne.width-$.width)/2}:function(){return ne.left},function(){$=this.node().getBoundingClientRect();var Z=G()-te.left,X=U()-te.top,Q=j.gd||{};if(j.gd){Q._fullLayout._calcInverseTransform(Q);var re=y.apply3DTransform(Q._fullLayout._invTransform)(Z,X);Z=re[0],X=re[1]}return this.style({top:X+"px",left:Z+"px","z-index":1e3}),this}}m.convertEntities=R,m.sanitizeHTML=function(N){N=N.replace(w," ");for(var q=document.createElement("p"),j=q,$=[],U=N.split(v),G=0;Gg.ts+i?a():g.timer=setTimeout(function(){a(),g.timer=null},i)},m.done=function(y){var i=t[y];return i&&i.timer?new Promise(function(M){var g=i.onDone;i.onDone=function(){g&&g(),M(),i.onDone=null}}):Promise.resolve()},m.clear=function(y){if(y)d(t[y]),delete t[y];else for(var i in t)m.clear(i)}},58163:function(k,m,t){var d=t(92770);k.exports=function(y,i){if(y>0)return Math.log(y)/Math.LN10;var M=Math.log(Math.min(i[0],i[1]))/Math.LN10;return d(M)||(M=Math.log(Math.max(i[0],i[1]))/Math.LN10-6),M}},90973:function(k,m,t){var d=k.exports={},y=t(78776).locationmodeToLayer,i=t(96892).zL;d.getTopojsonName=function(M){return[M.scope.replace(/ /g,"-"),"_",M.resolution.toString(),"m"].join("")},d.getTopojsonPath=function(M,g){return M+g+".json"},d.getTopojsonFeatures=function(M,g){var h=y[M.locationmode],l=g.objects[h];return i(g,l).features}},37815:function(k){k.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(k){k.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(k,m,t){var d=t(73972);k.exports=function(y){for(var i,M,g=d.layoutArrayContainers,h=d.layoutArrayRegexes,l=y.split("[")[0],a=0;a0&&M.log("Clearing previous rejected promises from queue."),C._promises=[]},m.cleanLayout=function(C){var _,A;C||(C={}),C.xaxis1&&(C.xaxis||(C.xaxis=C.xaxis1),delete C.xaxis1),C.yaxis1&&(C.yaxis||(C.yaxis=C.yaxis1),delete C.yaxis1),C.scene1&&(C.scene||(C.scene=C.scene1),delete C.scene1);var L=(g.subplotsRegistry.cartesian||{}).attrRegex,b=(g.subplotsRegistry.polar||{}).attrRegex,O=(g.subplotsRegistry.ternary||{}).attrRegex,I=(g.subplotsRegistry.gl3d||{}).attrRegex,R=Object.keys(C);for(_=0;_3?(re.x=1.02,re.xanchor="left"):re.x<-2&&(re.x=-.02,re.xanchor="right"),re.y>3?(re.y=1.02,re.yanchor="bottom"):re.y<-2&&(re.y=-.02,re.yanchor="top")),f(C),C.dragmode==="rotate"&&(C.dragmode="orbit"),l.clean(C),C.template&&C.template.layout&&m.cleanLayout(C.template.layout),C},m.cleanData=function(C){for(var _=0;_0)return C.substr(0,_)}m.hasParent=function(C,_){for(var A=x(_);A;){if(A in C)return!0;A=x(A)}return!1};var T=["x","y","z"];m.clearAxisTypes=function(C,_,A){for(var L=0;L<_.length;L++)for(var b=C._fullData[L],O=0;O<3;O++){var I=u(C,b,T[O]);if(I&&I.type!=="log"){var R=I._name,D=I._id.substr(1);if(D.substr(0,5)==="scene"){if(A[D]!==void 0)continue;R=D+"."+R}var F=R+".type";A[R]===void 0&&A[F]===void 0&&M.nestedProperty(C.layout,F).set(null)}}}},10641:function(k,m,t){var d=t(72391);m._doPlot=d._doPlot,m.newPlot=d.newPlot,m.restyle=d.restyle,m.relayout=d.relayout,m.redraw=d.redraw,m.update=d.update,m._guiRestyle=d._guiRestyle,m._guiRelayout=d._guiRelayout,m._guiUpdate=d._guiUpdate,m._storeDirectGUIEdit=d._storeDirectGUIEdit,m.react=d.react,m.extendTraces=d.extendTraces,m.prependTraces=d.prependTraces,m.addTraces=d.addTraces,m.deleteTraces=d.deleteTraces,m.moveTraces=d.moveTraces,m.purge=d.purge,m.addFrames=d.addFrames,m.deleteFrames=d.deleteFrames,m.animate=d.animate,m.setPlotConfig=d.setPlotConfig,m.toImage=t(403),m.validate=t(84936),m.downloadImage=t(7239);var y=t(96318);m.makeTemplate=y.makeTemplate,m.validateTemplate=y.validateTemplate},6611:function(k,m,t){var d=t(41965),y=t(64213),i=t(47769),M=t(65888).sorterAsc,g=t(73972);m.containerArrayMatch=t(14458);var h=m.isAddVal=function(a){return a==="add"||d(a)},l=m.isRemoveVal=function(a){return a===null||a==="remove"};m.applyContainerArrayChanges=function(a,u,o,s,f){var c=u.astr,p=g.getComponentMethod(c,"supplyLayoutDefaults"),w=g.getComponentMethod(c,"draw"),v=g.getComponentMethod(c,"drawOne"),S=s.replot||s.recalc||p===y||w===y,x=a.layout,T=a._fullLayout;if(o[""]){Object.keys(o).length>1&&i.warn("Full array edits are incompatible with other edits",c);var C=o[""][""];if(l(C))u.set(null);else{if(!Array.isArray(C))return i.warn("Unrecognized full array edit value",c,C),!0;u.set(C)}return!S&&(p(x,T),w(a),!0)}var _,A,L,b,O,I,R,D,F=Object.keys(o).map(Number).sort(M),B=u.get(),N=B||[],q=f(T,c).get(),j=[],$=-1,U=N.length;for(_=0;_N.length-(R?0:1))i.warn("index out of range",c,L);else if(I!==void 0)O.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",c,L),l(I)?j.push(L):R?(I==="add"&&(I={}),N.splice(L,0,I),q&&q.splice(L,0,{})):i.warn("Unrecognized full object edit value",c,L,I),$===-1&&($=L);else for(A=0;A=0;_--)N.splice(j[_],1),q&&q.splice(j[_],1);if(N.length?B||u.set(N):u.set(null),S)return!1;if(p(x,T),v!==y){var G;if($===-1)G=F;else{for(U=Math.max(N.length,U),G=[],_=0;_=$);_++)G.push(L);for(_=$;_=ae.data.length||Le<-ae.data.length)throw new Error(be+" must be valid indices for gd.data.");if(he.indexOf(Le,ke+1)>-1||Le>=0&&he.indexOf(-ae.data.length+Le)>-1||Le<0&&he.indexOf(ae.data.length+Le)>-1)throw new Error("each index in "+be+" must be unique.")}}function B(ae,he,be){if(!Array.isArray(ae.data))throw new Error("gd.data must be an array.");if(he===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(he)||(he=[he]),F(ae,he,"currentIndices"),be===void 0||Array.isArray(be)||(be=[be]),be!==void 0&&F(ae,be,"newIndices"),be!==void 0&&he.length!==be.length)throw new Error("current and new indices must be of equal length.")}function N(ae,he,be,ke,Le){(function($e,Ye,st,ot){var ft=M.isPlainObject(ot);if(!Array.isArray($e.data))throw new Error("gd.data must be an array");if(!M.isPlainObject(Ye))throw new Error("update must be a key:value object");if(st===void 0)throw new Error("indices must be an integer or array of integers");for(var bt in F($e,st,"indices"),Ye){if(!Array.isArray(Ye[bt])||Ye[bt].length!==st.length)throw new Error("attribute "+bt+" must be an array of length equal to indices array length");if(ft&&(!(bt in ot)||!Array.isArray(ot[bt])||ot[bt].length!==Ye[bt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}})(ae,he,be,ke);for(var Be=function($e,Ye,st,ot){var ft,bt,Et,kt,xt,Ft=M.isPlainObject(ot),Rt=[];for(var Bt in Array.isArray(st)||(st=[st]),st=D(st,$e.data.length-1),Ye)for(var Wt=0;Wt-1&&be.indexOf("grouptitlefont")===-1?je(be,be.replace("titlefont","title.font")):be.indexOf("titleposition")>-1?je(be,be.replace("titleposition","title.position")):be.indexOf("titleside")>-1?je(be,be.replace("titleside","title.side")):be.indexOf("titleoffset")>-1&&je(be,be.replace("titleoffset","title.offset")):je(be,be.replace("title","title.text"));function je(ge,we){ae[we]=ae[ge],delete ae[ge]}}function ne(ae,he,be){ae=M.getGraphDiv(ae),T.clearPromiseQueue(ae);var ke={};if(typeof he=="string")ke[he]=be;else{if(!M.isPlainObject(he))return M.warn("Relayout fail.",he,be),Promise.reject();ke=M.extendFlat({},he)}Object.keys(ke).length&&(ae.changed=!0);var Le=ie(ae,ke),Be=Le.flags;Be.calc&&(ae.calcdata=void 0);var ze=[o.previousPromises];Be.layoutReplot?ze.push(C.layoutReplot):Object.keys(ke).length&&(te(ae,Be,Le)||o.supplyDefaults(ae),Be.legend&&ze.push(C.doLegend),Be.layoutstyle&&ze.push(C.layoutStyles),Be.axrange&&Z(ze,Le.rangesAltered),Be.ticks&&ze.push(C.doTicksRelayout),Be.modebar&&ze.push(C.doModeBar),Be.camera&&ze.push(C.doCamera),Be.colorbars&&ze.push(C.doColorBars),ze.push(b)),ze.push(o.rehover,o.redrag,o.reselect),l.add(ae,ne,[ae,Le.undoit],ne,[ae,Le.redoit]);var je=M.syncOrAsync(ze,ae);return je&&je.then||(je=Promise.resolve(ae)),je.then(function(){return ae.emit("plotly_relayout",Le.eventData),ae})}function te(ae,he,be){var ke=ae._fullLayout;if(!he.axrange)return!1;for(var Le in he)if(Le!=="axrange"&&he[Le])return!1;for(var Be in be.rangesAltered){var ze=s.id2name(Be),je=ae.layout[ze],ge=ke[ze];if(ge.autorange=je.autorange,je.range&&(ge.range=je.range.slice()),ge.cleanRange(),ge._matchGroup){for(var we in ge._matchGroup)if(we!==Be){var Ee=ke[s.id2name(we)];Ee.autorange=ge.autorange,Ee.range=ge.range.slice(),Ee._input.range=ge.range.slice()}}}return!0}function Z(ae,he){var be=he?function(ke){var Le=[];for(var Be in he){var ze=s.getFromId(ke,Be);if(Le.push(Be),(ze.ticklabelposition||"").indexOf("inside")!==-1&&ze._anchorAxis&&Le.push(ze._anchorAxis._id),ze._matchGroup)for(var je in ze._matchGroup)he[je]||Le.push(je)}return s.draw(ke,Le,{skipTitle:!0})}:function(ke){return s.draw(ke,"redraw")};ae.push(v,C.doAutoRangeAndConstraints,be,C.drawData,C.finalDraw)}var X=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Q=/^[xyz]axis[0-9]*\.autorange$/,re=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ie(ae,he){var be,ke,Le,Be=ae.layout,ze=ae._fullLayout,je=ze._guiEditing,ge=U(ze._preGUI,je),we=Object.keys(he),Ee=s.list(ae),Ve=M.extendDeepAll({},he),$e={};for(H(he),we=Object.keys(he),ke=0;ke0&&typeof Wt.parts[Ke]!="string";)Ke--;var Je=Wt.parts[Ke],We=Wt.parts[Ke-1]+"."+Je,nt=Wt.parts.slice(0,Ke).join("."),ht=g(ae.layout,nt).get(),Oe=g(ze,nt).get(),Ne=Wt.get();if(Vt!==void 0){bt[Bt]=Vt,Et[Bt]=Je==="reverse"?Vt:$(Ne);var Qe=u.getLayoutValObject(ze,Wt.parts);if(Qe&&Qe.impliedEdits&&Vt!==null)for(var ut in Qe.impliedEdits)kt(M.relativeAttr(Bt,ut),Qe.impliedEdits[ut]);if(["width","height"].indexOf(Bt)!==-1)if(Vt){kt("autosize",null);var dt=Bt==="height"?"width":"height";kt(dt,ze[dt])}else ze[Bt]=ae._initialAutoSize[Bt];else if(Bt==="autosize")kt("width",Vt?null:ze.width),kt("height",Vt?null:ze.height);else if(We.match(X))Rt(We),g(ze,nt+"._inputRange").set(null);else if(We.match(Q)){Rt(We),g(ze,nt+"._inputRange").set(null);var _t=g(ze,nt).get();_t._inputDomain&&(_t._input.domain=_t._inputDomain.slice())}else We.match(re)&&g(ze,nt+"._inputDomain").set(null);if(Je==="type"){xt=ht;var It=Oe.type==="linear"&&Vt==="log",Lt=Oe.type==="log"&&Vt==="linear";if(It||Lt){if(xt&&xt.range)if(Oe.autorange)It&&(xt.range=xt.range[1]>xt.range[0]?[1,2]:[2,1]);else{var yt=xt.range[0],Pt=xt.range[1];It?(yt<=0&&Pt<=0&&kt(nt+".autorange",!0),yt<=0?yt=Pt/1e6:Pt<=0&&(Pt=yt/1e6),kt(nt+".range[0]",Math.log(yt)/Math.LN10),kt(nt+".range[1]",Math.log(Pt)/Math.LN10)):(kt(nt+".range[0]",Math.pow(10,yt)),kt(nt+".range[1]",Math.pow(10,Pt)))}else kt(nt+".autorange",!0);Array.isArray(ze._subplots.polar)&&ze._subplots.polar.length&&ze[Wt.parts[0]]&&Wt.parts[1]==="radialaxis"&&delete ze[Wt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(ae,Oe,Vt,kt),a.getComponentMethod("images","convertCoords")(ae,Oe,Vt,kt)}else kt(nt+".autorange",!0),kt(nt+".range",null);g(ze,nt+"._inputRange").set(null)}else if(Je.match(A)){var wt=g(ze,Bt).get(),Ot=(Vt||{}).type;Ot&&Ot!=="-"||(Ot="linear"),a.getComponentMethod("annotations","convertCoords")(ae,wt,Ot,kt),a.getComponentMethod("images","convertCoords")(ae,wt,Ot,kt)}var Nt=x.containerArrayMatch(Bt);if(Nt){be=Nt.array,ke=Nt.index;var Yt=Nt.property,qt=Qe||{editType:"calc"};ke!==""&&Yt===""&&(x.isAddVal(Vt)?Et[Bt]=null:x.isRemoveVal(Vt)?Et[Bt]=(g(Be,be).get()||[])[ke]:M.warn("unrecognized full object value",he)),_.update(ft,qt),$e[be]||($e[be]={});var Xt=$e[be][ke];Xt||(Xt=$e[be][ke]={}),Xt[Yt]=Vt,delete he[Bt]}else Je==="reverse"?(ht.range?ht.range.reverse():(kt(nt+".autorange",!0),ht.range=[1,0]),Oe.autorange?ft.calc=!0:ft.plot=!0):(Bt==="dragmode"&&(Vt===!1&&Ne!==!1||Vt!==!1&&Ne===!1)||ze._has("scatter-like")&&ze._has("regl")&&Bt==="dragmode"&&(Vt==="lasso"||Vt==="select")&&Ne!=="lasso"&&Ne!=="select"||ze._has("gl2d")?ft.plot=!0:Qe?_.update(ft,Qe):ft.calc=!0,Wt.set(Vt))}}for(be in $e)x.applyContainerArrayChanges(ae,ge(Be,be),$e[be],ft,ge)||(ft.plot=!0);for(var Qt in Ft){var rn=(xt=s.getFromId(ae,Qt))&&xt._constraintGroup;if(rn)for(var xn in ft.calc=!0,rn)Ft[xn]||(s.getFromId(ae,xn)._constraintShrinkable=!0)}return(oe(ae)||he.height||he.width)&&(ft.plot=!0),(ft.plot||ft.calc)&&(ft.layoutReplot=!0),{flags:ft,rangesAltered:Ft,undoit:Et,redoit:bt,eventData:Ve}}function oe(ae){var he=ae._fullLayout,be=he.width,ke=he.height;return ae.layout.autosize&&o.plotAutoSize(ae,ae.layout,he),he.width!==be||he.height!==ke}function ue(ae,he,be,ke){ae=M.getGraphDiv(ae),T.clearPromiseQueue(ae),M.isPlainObject(he)||(he={}),M.isPlainObject(be)||(be={}),Object.keys(he).length&&(ae.changed=!0),Object.keys(be).length&&(ae.changed=!0);var Le=T.coerceTraceIndices(ae,ke),Be=W(ae,M.extendFlat({},he),Le),ze=Be.flags,je=ie(ae,M.extendFlat({},be)),ge=je.flags;(ze.calc||ge.calc)&&(ae.calcdata=void 0),ze.clearAxisTypes&&T.clearAxisTypes(ae,Le,be);var we=[];ge.layoutReplot?we.push(C.layoutReplot):ze.fullReplot?we.push(m._doPlot):(we.push(o.previousPromises),te(ae,ge,je)||o.supplyDefaults(ae),ze.style&&we.push(C.doTraceStyle),(ze.colorbars||ge.colorbars)&&we.push(C.doColorBars),ge.legend&&we.push(C.doLegend),ge.layoutstyle&&we.push(C.layoutStyles),ge.axrange&&Z(we,je.rangesAltered),ge.ticks&&we.push(C.doTicksRelayout),ge.modebar&&we.push(C.doModeBar),ge.camera&&we.push(C.doCamera),we.push(b)),we.push(o.rehover,o.redrag,o.reselect),l.add(ae,ue,[ae,Be.undoit,je.undoit,Be.traces],ue,[ae,Be.redoit,je.redoit,Be.traces]);var Ee=M.syncOrAsync(we,ae);return Ee&&Ee.then||(Ee=Promise.resolve(ae)),Ee.then(function(){return ae.emit("plotly_update",{data:Be.eventData,layout:je.eventData}),ae})}function ce(ae){return function(he){he._fullLayout._guiEditing=!0;var be=ae.apply(null,arguments);return he._fullLayout._guiEditing=!1,be}}var ye=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],de=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(ae,he){for(var be=0;be1;)if(ke.pop(),(be=g(he,ke.join(".")+".uirevision").get())!==void 0)return be;return he.uirevision}function xe(ae,he){for(var be=0;be=Le.length?Le[0]:Le[we]:Le}function je(we){return Array.isArray(Be)?we>=Be.length?Be[0]:Be[we]:Be}function ge(we,Ee){var Ve=0;return function(){if(we&&++Ve===Ee)return we()}}return ke._frameWaitingCnt===void 0&&(ke._frameWaitingCnt=0),new Promise(function(we,Ee){function Ve(){ae.emit("plotly_animating"),ke._lastFrameAt=-1/0,ke._timeToNext=0,ke._runningTransitions=0,ke._currentFrame=null;var Bt=function(){ke._animationRaf=window.requestAnimationFrame(Bt),Date.now()-ke._lastFrameAt>ke._timeToNext&&function(){ke._currentFrame&&ke._currentFrame.onComplete&&ke._currentFrame.onComplete();var Wt=ke._currentFrame=ke._frameQueue.shift();if(Wt){var Vt=Wt.name?Wt.name.toString():null;ae._fullLayout._currentFrame=Vt,ke._lastFrameAt=Date.now(),ke._timeToNext=Wt.frameOpts.duration,o.transition(ae,Wt.frame.data,Wt.frame.layout,T.coerceTraceIndices(ae,Wt.frame.traces),Wt.frameOpts,Wt.transitionOpts).then(function(){Wt.onComplete&&Wt.onComplete()}),ae.emit("plotly_animatingframe",{name:Vt,frame:Wt.frame,animation:{frame:Wt.frameOpts,transition:Wt.transitionOpts}})}else ae.emit("plotly_animated"),window.cancelAnimationFrame(ke._animationRaf),ke._animationRaf=null}()};Bt()}var $e,Ye,st=0;function ot(Bt){return Array.isArray(Le)?st>=Le.length?Bt.transitionOpts=Le[st]:Bt.transitionOpts=Le[0]:Bt.transitionOpts=Le,st++,Bt}var ft=[],bt=he==null,Et=Array.isArray(he);if(bt||Et||!M.isPlainObject(he)){if(bt||["string","number"].indexOf(typeof he)!==-1)for($e=0;$e0&&FtFt)&&Rt.push(Ye);ft=Rt}}ft.length>0?function(Bt){if(Bt.length!==0){for(var Wt=0;Wt=0;ke--)if(M.isPlainObject(he[ke])){var $e=he[ke].name,Ye=(ge[$e]||Ve[$e]||{}).name,st=he[ke].name,ot=ge[Ye]||Ve[Ye];Ye&&st&&typeof st=="number"&&ot&&L<5&&(L++,M.warn('addFrames: overwriting frame "'+(ge[Ye]||Ve[Ye]).name+'" with a frame whose name of type "number" also equates to "'+Ye+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),L===5&&M.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),Ve[$e]={name:$e},Ee.push({frame:o.supplyFrameDefaults(he[ke]),index:be&&be[ke]!==void 0&&be[ke]!==null?be[ke]:we+ke})}Ee.sort(function(Bt,Wt){return Bt.index>Wt.index?-1:Bt.index=0;ke--){if(typeof(Le=Ee[ke].frame).name=="number"&&M.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;ge[Le.name="frame "+ae._transitionData._counter++];);if(ge[Le.name]){for(Be=0;Be=0;be--)ke=he[be],Be.push({type:"delete",index:ke}),ze.unshift({type:"insert",index:ke,value:Le[ke]});var je=o.modifyFrames,ge=o.modifyFrames,we=[ae,ze],Ee=[ae,Be];return l&&l.add(ae,je,we,ge,Ee),o.modifyFrames(ae,Be)},m.addTraces=function ae(he,be,ke){he=M.getGraphDiv(he);var Le,Be,ze=[],je=m.deleteTraces,ge=ae,we=[he,ze],Ee=[he,be];for(function(Ve,$e,Ye){var st,ot;if(!Array.isArray(Ve.data))throw new Error("gd.data must be an array.");if($e===void 0)throw new Error("traces must be defined.");for(Array.isArray($e)||($e=[$e]),st=0;st<$e.length;st++)if(typeof(ot=$e[st])!="object"||Array.isArray(ot)||ot===null)throw new Error("all values in traces array must be non-array objects");if(Ye===void 0||Array.isArray(Ye)||(Ye=[Ye]),Ye!==void 0&&Ye.length!==$e.length)throw new Error("if indices is specified, traces.length must equal indices.length")}(he,be,ke),Array.isArray(be)||(be=[be]),be=be.map(function(Ve){return M.extendFlat({},Ve)}),T.cleanData(be),Le=0;Le=0&&Ve<$e.length?$e.splice(0,$e.length-Ve):[];return[$e,Ye]}var ze=N(he=M.getGraphDiv(he),be,ke,Le,Be),je=m.redraw(he),ge=[he,ze.update,ke,ze.maxPoints];return l.add(he,m.prependTraces,ge,ae,arguments),je},m.moveTraces=function ae(he,be,ke){var Le,Be=[],ze=[],je=ae,ge=ae,we=[he=M.getGraphDiv(he),ke,be],Ee=[he,be,ke];if(B(he,be,ke),be=Array.isArray(be)?be:[be],ke===void 0)for(ke=[],Le=0;Le=0&&Ve<$e.length?$e.splice(Ve,$e.length):[];return[$e,Ye]}var ze=N(he=M.getGraphDiv(he),be,ke,Le,Be),je=m.redraw(he),ge=[he,ze.update,ke,ze.maxPoints];return l.add(he,m.extendTraces,ge,ae,arguments),je},m.newPlot=function(ae,he,be,ke){return ae=M.getGraphDiv(ae),o.cleanPlot([],{},ae._fullData||[],ae._fullLayout||{}),o.purge(ae),m._doPlot(ae,he,be,ke)},m._doPlot=function(ae,he,be,ke){var Le;if(ae=M.getGraphDiv(ae),h.init(ae),M.isPlainObject(he)){var Be=he;he=Be.data,be=Be.layout,ke=Be.config,Le=Be.frames}if(h.triggerHandler(ae,"plotly_beforeplot",[he,be,ke])===!1)return Promise.reject();he||be||M.isPlotDiv(ae)||M.warn("Calling _doPlot as if redrawing but this container doesn't yet have a plot.",ae),R(ae,ke),be||(be={}),d.select(ae).classed("js-plotly-plot",!0),f.makeTester(),Array.isArray(ae._promises)||(ae._promises=[]);var ze=(ae.data||[]).length===0&&Array.isArray(he);Array.isArray(he)&&(T.cleanData(he),ze?ae.data=he:ae.data.push.apply(ae.data,he),ae.empty=!1),ae.layout&&!ze||(ae.layout=T.cleanLayout(be)),o.supplyDefaults(ae);var je=ae._fullLayout,ge=je._has("cartesian");je._replotting=!0,(ze||je._shouldCreateBgLayer)&&(function(bt){var Et=d.select(bt),kt=bt._fullLayout;if(kt._calcInverseTransform=Ce,kt._calcInverseTransform(bt),kt._container=Et.selectAll(".plot-container").data([0]),kt._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),kt._paperdiv=kt._container.selectAll(".svg-container").data([0]),kt._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),kt._glcontainer=kt._paperdiv.selectAll(".gl-container").data([{}]),kt._glcontainer.enter().append("div").classed("gl-container",!0),kt._paperdiv.selectAll(".main-svg").remove(),kt._paperdiv.select(".modebar-container").remove(),kt._paper=kt._paperdiv.insert("svg",":first-child").classed("main-svg",!0),kt._toppaper=kt._paperdiv.append("svg").classed("main-svg",!0),kt._modebardiv=kt._paperdiv.append("div"),delete kt._modeBar,kt._hoverpaper=kt._paperdiv.append("svg").classed("main-svg",!0),!kt._uid){var xt={};d.selectAll("defs").each(function(){this.id&&(xt[this.id.split("-")[1]]=1)}),kt._uid=M.randstr(xt)}kt._paperdiv.selectAll(".main-svg").attr(w.svgAttrs),kt._defs=kt._paper.append("defs").attr("id","defs-"+kt._uid),kt._clips=kt._defs.append("g").classed("clips",!0),kt._topdefs=kt._toppaper.append("defs").attr("id","topdefs-"+kt._uid),kt._topclips=kt._topdefs.append("g").classed("clips",!0),kt._bgLayer=kt._paper.append("g").classed("bglayer",!0),kt._draggers=kt._paper.append("g").classed("draglayer",!0);var Ft=kt._paper.append("g").classed("layer-below",!0);kt._imageLowerLayer=Ft.append("g").classed("imagelayer",!0),kt._shapeLowerLayer=Ft.append("g").classed("shapelayer",!0),kt._cartesianlayer=kt._paper.append("g").classed("cartesianlayer",!0),kt._polarlayer=kt._paper.append("g").classed("polarlayer",!0),kt._smithlayer=kt._paper.append("g").classed("smithlayer",!0),kt._ternarylayer=kt._paper.append("g").classed("ternarylayer",!0),kt._geolayer=kt._paper.append("g").classed("geolayer",!0),kt._funnelarealayer=kt._paper.append("g").classed("funnelarealayer",!0),kt._pielayer=kt._paper.append("g").classed("pielayer",!0),kt._iciclelayer=kt._paper.append("g").classed("iciclelayer",!0),kt._treemaplayer=kt._paper.append("g").classed("treemaplayer",!0),kt._sunburstlayer=kt._paper.append("g").classed("sunburstlayer",!0),kt._indicatorlayer=kt._toppaper.append("g").classed("indicatorlayer",!0),kt._glimages=kt._paper.append("g").classed("glimages",!0);var Rt=kt._toppaper.append("g").classed("layer-above",!0);kt._imageUpperLayer=Rt.append("g").classed("imagelayer",!0),kt._shapeUpperLayer=Rt.append("g").classed("shapelayer",!0),kt._selectionLayer=kt._toppaper.append("g").classed("selectionlayer",!0),kt._infolayer=kt._toppaper.append("g").classed("infolayer",!0),kt._menulayer=kt._toppaper.append("g").classed("menulayer",!0),kt._zoomlayer=kt._toppaper.append("g").classed("zoomlayer",!0),kt._hoverlayer=kt._hoverpaper.append("g").classed("hoverlayer",!0),kt._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),bt.emit("plotly_framework")}(ae),je._shouldCreateBgLayer&&delete je._shouldCreateBgLayer),f.initGradients(ae),f.initPatterns(ae),ze&&s.saveShowSpikeInitial(ae);var we=!ae.calcdata||ae.calcdata.length!==(ae._fullData||[]).length;we&&o.doCalcdata(ae);for(var Ee=0;Ee=F.length)return!1;if(b.dimensions===2){if(I++,O.length===I)return b;var B=O[I];if(!T(B))return!1;b=F[D][B]}else b=F[D]}else b=F}}return b}function T(b){return b===Math.round(b)&&b>=0}function C(){var b,O,I={};for(b in u(I,M),d.subplotsRegistry)if((O=d.subplotsRegistry[b]).layoutAttributes)if(Array.isArray(O.attr))for(var R=0;R=B.length)return!1;R=(I=(d.transformsRegistry[B[N].type]||{}).attributes)&&I[O[2]],F=3}else{var q=b._module;if(q||(q=(d.modules[b.type||i.type.dflt]||{})._module),!q)return!1;if(!(R=(I=q.attributes)&&I[D])){var j=q.basePlotModule;j&&j.attributes&&(R=j.attributes[D])}R||(R=i[D])}return x(R,O,F)},m.getLayoutValObject=function(b,O){var I=function(R,D){var F,B,N,q,j=R._basePlotModules;if(j){var $;for(F=0;F=u&&(a._input||{})._templateitemname;s&&(o=u);var f,c=l+"["+o+"]";function p(){f={},s&&(f[c]={},f[c].templateitemname=s)}function w(S,x){s?d.nestedProperty(f[c],S).set(x):f[c+"."+S]=x}function v(){var S=f;return p(),S}return p(),{modifyBase:function(S,x){f[S]=x},modifyItem:w,getUpdateObj:v,applyUpdate:function(S,x){S&&w(S,x);var T=v();for(var C in T)d.nestedProperty(h,C).set(T[C])}}}},61549:function(k,m,t){var d=t(39898),y=t(73972),i=t(74875),M=t(71828),g=t(63893),h=t(33306),l=t(7901),a=t(91424),u=t(92998),o=t(64168),s=t(89298),f=t(18783),c=t(99082),p=c.enforce,w=c.clean,v=t(71739).doAutoRange,S="start";function x(L,b,O){for(var I=0;I=L[1]||R[1]<=L[0])&&D[0]b[0])return!0}return!1}function T(L){var b,O,I,R,D,F,B=L._fullLayout,N=B._size,q=N.p,j=s.list(L,"",!0);if(B._paperdiv.style({width:L._context.responsive&&B.autosize&&!L._context._hasZeroWidth&&!L.layout.width?"100%":B.width+"px",height:L._context.responsive&&B.autosize&&!L._context._hasZeroHeight&&!L.layout.height?"100%":B.height+"px"}).selectAll(".main-svg").call(a.setSize,B.width,B.height),L._context.setBackground(L,B.paper_bgcolor),m.drawMainTitle(L),o.manage(L),!B._has("cartesian"))return i.previousPromises(L);function $(Ve,$e,Ye){var st=Ve._lw/2;return Ve._id.charAt(0)==="x"?$e?Ye==="top"?$e._offset-q-st:$e._offset+$e._length+q+st:N.t+N.h*(1-(Ve.position||0))+st%1:$e?Ye==="right"?$e._offset+$e._length+q+st:$e._offset-q-st:N.l+N.w*(Ve.position||0)+st%1}for(b=0;b.5?"t":"b",te=$._fullLayout.margin[ne],Z=0;return U.yref==="paper"?Z=G+U.pad.t+U.pad.b:U.yref==="container"&&(Z=function(X,Q,re,ie,oe){var ue=0;return re==="middle"&&(ue+=oe/2),X==="t"?(re==="top"&&(ue+=oe),ue+=ie-Q*ie):(re==="bottom"&&(ue+=oe),ue+=Q*ie),ue}(ne,W,H,$._fullLayout.height,G)+U.pad.t+U.pad.b),Z>te?Z:0}(L,O,q);j>0&&(function($,U,G,W){var H="title.automargin",ne=$._fullLayout.title,te=ne.y>.5?"t":"b",Z={x:ne.x,y:ne.y,t:0,b:0},X={};ne.yref==="paper"&&function(Q,re,ie,oe,ue){var ce=re.yref==="paper"?Q._fullLayout._size.h:Q._fullLayout.height,ye=M.isTopAnchor(re)?oe:oe-ue,de=ie==="b"?ce-ye:ye;return!(M.isTopAnchor(re)&&ie==="t"||M.isBottomAnchor(re)&&ie==="b")&&deN?A.push({code:"unused",traceType:I,templateCount:B,dataCount:N}):N>B&&A.push({code:"reused",traceType:I,templateCount:B,dataCount:N})}}else A.push({code:"data"});if(function q(j,$){for(var U in j)if(U.charAt(0)!=="_"){var G=j[U],W=c(j,U,$);y(G)?(Array.isArray(j)&&G._template===!1&&G.templateitemname&&A.push({code:"missing",path:W,templateitemname:G.templateitemname}),q(G,W)):Array.isArray(G)&&p(G)&&q(G,W)}}({data:b,layout:L},""),A.length)return A.map(w)}},403:function(k,m,t){var d=t(92770),y=t(72391),i=t(74875),M=t(71828),g=t(25095),h=t(5900),l=t(70942),a=t(11506).version,u={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};k.exports=function(o,s){var f,c,p,w;function v(N){return!(N in s)||M.validate(s[N],u[N])}if(s=s||{},M.isPlainObject(o)?(f=o.data||[],c=o.layout||{},p=o.config||{},w={}):(o=M.getGraphDiv(o),f=M.extendDeep([],o.data),c=M.extendDeep({},o.layout),p=o._context,w=o._fullLayout||{}),!v("width")&&s.width!==null||!v("height")&&s.height!==null)throw new Error("Height and width should be pixel values.");if(!v("format"))throw new Error("Export format is not "+M.join2(u.format.values,", "," or ")+".");var S={};function x(N,q){return M.coerce(s,S,u,N,q)}var T=x("format"),C=x("width"),_=x("height"),A=x("scale"),L=x("setBackground"),b=x("imageDataOnly"),O=document.createElement("div");O.style.position="absolute",O.style.left="-5000px",document.body.appendChild(O);var I=M.extendFlat({},c);C?I.width=C:s.width===null&&d(w.width)&&(I.width=w.width),_?I.height=_:s.height===null&&d(w.height)&&(I.height=w.height);var R=M.extendFlat({},p,{_exportedPlot:!0,staticPlot:!0,setBackground:L}),D=g.getRedrawFunc(O);function F(){return new Promise(function(N){setTimeout(N,g.getDelay(O._fullLayout))})}function B(){return new Promise(function(N,q){var j=h(O,T,A),$=O._fullLayout.width,U=O._fullLayout.height;function G(){y.purge(O),document.body.removeChild(O)}if(T==="full-json"){var W=i.graphJson(O,!1,"keepdata","object",!0,!0);return W.version=a,W=JSON.stringify(W),G(),N(b?W:g.encodeJSON(W))}if(G(),T==="svg")return N(b?j:g.encodeSVG(j));var H=document.createElement("canvas");H.id=M.randstr(),l({format:T,width:$,height:U,scale:A,canvas:H,svg:j,promise:!0}).then(N).catch(q)})}return new Promise(function(N,q){y.newPlot(O,f,I,R).then(D).then(F).then(B).then(function(j){N(function($){return b?$.replace(g.IMAGE_URL_PREFIX,""):$}(j))}).catch(function(j){q(j)})})}},84936:function(k,m,t){var d=t(71828),y=t(74875),i=t(86281),M=t(72075).dfltConfig,g=d.isPlainObject,h=Array.isArray,l=d.isArrayOrTypedArray;function a(S,x,T,C,_,A){A=A||[];for(var L=Object.keys(S),b=0;bD.length&&C.push(f("unused",_,I.concat(D.length)));var $,U,G,W,H,ne=D.length,te=Array.isArray(j);if(te&&(ne=Math.min(ne,j.length)),F.dimensions===2)for(U=0;UD[U].length&&C.push(f("unused",_,I.concat(U,D[U].length)));var Z=D[U].length;for($=0;$<(te?Math.min(Z,j[U].length):Z);$++)G=te?j[U][$]:j,W=R[U][$],H=D[U][$],d.validate(W,G)?H!==W&&H!==+W&&C.push(f("dynamic",_,I.concat(U,$),W,H)):C.push(f("value",_,I.concat(U,$),W))}else C.push(f("array",_,I.concat(U),R[U]));else for(U=0;U1&&A.push(f("object","layout"))),y.supplyDefaults(L);for(var b=L._fullData,O=T.length,I=0;I0&&Math.round(c)===c))return{vals:u};s=c}for(var p=l.calendar,w=o==="start",v=o==="end",S=h[a+"period0"],x=i(S,p)||0,T=[],C=[],_=[],A=u.length,L=0;LR;)I=M(I,-s,p);for(;I<=R;)I=M(I,s,p);O=M(I,-s,p)}else{for(I=x+(b=Math.round((R-x)/f))*f;I>R;)I-=f;for(;I<=R;)I+=f;O=I-f}T[L]=w?O:v?I:(O+I)/2,C[L]=O,_[L]=I}return{vals:T,starts:C,ends:_}}},89502:function(k){k.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(k,m,t){var d=t(39898),y=t(92770),i=t(71828),M=t(50606).FP_SAFE,g=t(73972),h=t(91424),l=t(41675),a=l.getFromId,u=l.isLinked;function o(C,_){var A,L,b=[],O=C._fullLayout,I=f(O,_,0),R=f(O,_,1),D=c(C,_),F=D.min,B=D.max;if(F.length===0||B.length===0)return i.simpleMap(_.range,_.r2l);var N=F[0].val,q=B[0].val;for(A=1;A0&&((ne=re-I(U)-R(G))>ie?te/ne>oe&&(W=U,H=G,oe=te/ne):te/re>oe&&(W={val:U.val,nopad:1},H={val:G.val,nopad:1},oe=te/re));if(N===q){var ue=N-1,ce=N+1;if(X)if(N===0)b=[0,1];else{var ye=(N>0?B:F).reduce(function(me,pe){return Math.max(me,R(pe))},0),de=N/(1-Math.min(.5,ye/re));b=N>0?[0,de]:[de,0]}else b=Q?[Math.max(0,ue),Math.max(1,ce)]:[ue,ce]}else X?(W.val>=0&&(W={val:0,nopad:1}),H.val<=0&&(H={val:0,nopad:1})):Q&&(W.val-oe*I(W)<0&&(W={val:0,nopad:1}),H.val<=0&&(H={val:1,nopad:1})),oe=(H.val-W.val-s(_,U.val,G.val))/(re-I(W)-R(H)),b=[W.val-oe*I(W),H.val+oe*R(H)];return j&&b.reverse(),i.simpleMap(b,_.l2r||Number)}function s(C,_,A){var L=0;if(C.rangebreaks)for(var b=C.locateBreaks(_,A),O=0;O=A&&(F.extrapad||!I)){R=!1;break}b(_,F.val)&&F.pad<=A&&(I||!F.extrapad)&&(C.splice(D,1),D--)}if(R){var B=O&&_===0;C.push({val:_,pad:B?0:A,extrapad:!B&&I})}}function S(C){return y(C)&&Math.abs(C)=_}k.exports={getAutoRange:o,makePadFn:f,doAutoRange:function(C,_,A){if(_.setScale(),_.autorange){_.range=A?A.slice():o(C,_),_._r=_.range.slice(),_._rl=i.simpleMap(_._r,_.r2l);var L=_._input,b={};b[_._attr+".range"]=_.range,b[_._attr+".autorange"]=_.autorange,g.call("_storeDirectGUIEdit",C.layout,C._fullLayout._preGUI,b),L.range=_.range.slice(),L.autorange=_.autorange}var O=_._anchorAxis;if(O&&O.rangeslider){var I=O.rangeslider[_._name];I&&I.rangemode==="auto"&&(I.range=o(C,_)),O._input.rangeslider[_._name]=i.extendFlat({},I)}},findExtremes:function(C,_,A){A||(A={}),C._m||C.setScale();var L,b,O,I,R,D,F,B,N,q=[],j=[],$=_.length,U=A.padded||!1,G=A.tozero&&(C.type==="linear"||C.type==="-"),W=C.type==="log",H=!1,ne=A.vpadLinearized||!1;function te(ce){if(Array.isArray(ce))return H=!0,function(de){return Math.max(Number(ce[de]||0),0)};var ye=Math.max(Number(ce||0),0);return function(){return ye}}var Z=te((C._m>0?A.ppadplus:A.ppadminus)||A.ppad||0),X=te((C._m>0?A.ppadminus:A.ppadplus)||A.ppad||0),Q=te(A.vpadplus||A.vpad),re=te(A.vpadminus||A.vpad);if(!H){if(B=1/0,N=-1/0,W)for(L=0;L<$;L++)(b=_[L])0&&(B=b),b>N&&b-M&&(B=b),b>N&&b=ue;L--)oe(L);return{min:q,max:j,opts:A}},concatExtremes:c}},89298:function(k,m,t){var d=t(39898),y=t(92770),i=t(74875),M=t(73972),g=t(71828),h=g.strTranslate,l=t(63893),a=t(92998),u=t(7901),o=t(91424),s=t(13838),f=t(66287),c=t(50606),p=c.ONEMAXYEAR,w=c.ONEAVGYEAR,v=c.ONEMINYEAR,S=c.ONEMAXQUARTER,x=c.ONEAVGQUARTER,T=c.ONEMINQUARTER,C=c.ONEMAXMONTH,_=c.ONEAVGMONTH,A=c.ONEMINMONTH,L=c.ONEWEEK,b=c.ONEDAY,O=b/2,I=c.ONEHOUR,R=c.ONEMIN,D=c.ONESEC,F=c.MINUS_SIGN,B=c.BADNUM,N={K:"zeroline"},q={K:"gridline",L:"path"},j={K:"minor-gridline",L:"path"},$={K:"tick",L:"path"},U={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},W=t(18783),H=W.MID_SHIFT,ne=W.CAP_SHIFT,te=W.LINE_SPACING,Z=W.OPPOSITE_SIDE,X=k.exports={};X.setConvert=t(21994);var Q=t(4322),re=t(41675),ie=re.idSort,oe=re.isLinked;X.id2name=re.id2name,X.name2id=re.name2id,X.cleanId=re.cleanId,X.list=re.list,X.listIds=re.listIds,X.getFromId=re.getFromId,X.getFromTrace=re.getFromTrace;var ue=t(71739);function ce(Oe){var Ne=1e-4*(Oe[1]-Oe[0]);return[Oe[0]-Ne,Oe[1]+Ne]}X.getAutoRange=ue.getAutoRange,X.findExtremes=ue.findExtremes,X.coerceRef=function(Oe,Ne,Qe,ut,dt,_t){var It=ut.charAt(ut.length-1),Lt=Qe._fullLayout._subplots[It+"axis"],yt=ut+"ref",Pt={};return dt||(dt=Lt[0]||(typeof _t=="string"?_t:_t[0])),_t||(_t=dt),Lt=Lt.concat(Lt.map(function(wt){return wt+" domain"})),Pt[yt]={valType:"enumerated",values:Lt.concat(_t?typeof _t=="string"?[_t]:_t:[]),dflt:dt},g.coerce(Oe,Ne,Pt,yt)},X.getRefType=function(Oe){return Oe===void 0?Oe:Oe==="paper"?"paper":Oe==="pixel"?"pixel":/( domain)$/.test(Oe)?"domain":"range"},X.coercePosition=function(Oe,Ne,Qe,ut,dt,_t){var It,Lt;if(X.getRefType(ut)!=="range")It=g.ensureNumber,Lt=Qe(dt,_t);else{var yt=X.getFromId(Ne,ut);Lt=Qe(dt,_t=yt.fraction2r(_t)),It=yt.cleanPos}Oe[dt]=It(Lt)},X.cleanPosition=function(Oe,Ne,Qe){return(Qe==="paper"||Qe==="pixel"?g.ensureNumber:X.getFromId(Ne,Qe).cleanPos)(Oe)},X.redrawComponents=function(Oe,Ne){Ne=Ne||X.listIds(Oe);var Qe=Oe._fullLayout;function ut(dt,_t,It,Lt){for(var yt=M.getComponentMethod(dt,_t),Pt={},wt=0;wtQe&&wt2e-6||((Qe-Oe._forceTick0)/Oe._minDtick%1+1.000001)%1>2e-6)&&(Oe._minDtick=0)):Oe._minDtick=0},X.saveRangeInitial=function(Oe,Ne){for(var Qe=X.list(Oe,"",!0),ut=!1,dt=0;dt.3*Dn||dn(un)||dn(An))){var In=xn.dtick/2;Qt+=Qt+In.8){var kn=Number(xn.substr(1));Yn.exactYears>.8&&kn%12==0?Qt=X.tickIncrement(Qt,"M6","reverse")+1.5*b:Yn.exactMonths>.8?Qt=X.tickIncrement(Qt,"M1","reverse")+15.5*b:Qt-=O;var sn=X.tickIncrement(Qt,xn);if(sn<=un)return sn}return Qt}(Xt,Oe,qt,Lt,dt)),Yt=Xt;Yt<=yt;)Yt=X.tickIncrement(Yt,qt,!1,dt);return{start:Ne.c2r(Xt,0,dt),end:Ne.c2r(Yt,0,dt),size:qt,_dataSpan:yt-Lt}},X.prepMinorTicks=function(Oe,Ne,Qe){if(!Ne.minor.dtick){delete Oe.dtick;var ut,dt=Ne.dtick&&y(Ne._tmin);if(dt){var _t=X.tickIncrement(Ne._tmin,Ne.dtick,!0);ut=[Ne._tmin,.99*_t+.01*Ne._tmin]}else{var It=g.simpleMap(Ne.range,Ne.r2l);ut=[It[0],.8*It[0]+.2*It[1]]}if(Oe.range=g.simpleMap(ut,Ne.l2r),Oe._isMinor=!0,X.prepTicks(Oe,Qe),dt){var Lt=y(Ne.dtick),yt=y(Oe.dtick),Pt=Lt?Ne.dtick:+Ne.dtick.substring(1),wt=yt?Oe.dtick:+Oe.dtick.substring(1);Lt&&yt?pe(Pt,wt)?Pt===2*L&&wt===2*b&&(Oe.dtick=L):Pt===2*L&&wt===3*b?Oe.dtick=L:Pt!==L||(Ne._input.minor||{}).nticks?xe(Pt/wt,2.5)?Oe.dtick=Pt/2:Oe.dtick=Pt:Oe.dtick=b:String(Ne.dtick).charAt(0)==="M"?yt?Oe.dtick="M1":pe(Pt,wt)?Pt>=12&&wt===2&&(Oe.dtick="M3"):Oe.dtick=Ne.dtick:String(Oe.dtick).charAt(0)==="L"?String(Ne.dtick).charAt(0)==="L"?pe(Pt,wt)||(Oe.dtick=xe(Pt/wt,2.5)?Ne.dtick/2:Ne.dtick):Oe.dtick="D1":Oe.dtick==="D2"&&+Ne.dtick>1&&(Oe.dtick=1)}Oe.range=Ne.range}Ne.minor._tick0Init===void 0&&(Oe.tick0=Ne.tick0)},X.prepTicks=function(Oe,Ne){var Qe=g.simpleMap(Oe.range,Oe.r2l,void 0,void 0,Ne);if(Oe.tickmode==="auto"||!Oe.dtick){var ut,dt=Oe.nticks;dt||(Oe.type==="category"||Oe.type==="multicategory"?(ut=Oe.tickfont?g.bigFont(Oe.tickfont.size||12):15,dt=Oe._length/ut):(ut=Oe._id.charAt(0)==="y"?40:80,dt=g.constrain(Oe._length/ut,4,9)+1),Oe._name==="radialaxis"&&(dt*=2)),Oe.minor&&Oe.minor.tickmode!=="array"||Oe.tickmode==="array"&&(dt*=100),Oe._roughDTick=Math.abs(Qe[1]-Qe[0])/dt,X.autoTicks(Oe,Oe._roughDTick),Oe._minDtick>0&&Oe.dtick<2*Oe._minDtick&&(Oe.dtick=Oe._minDtick,Oe.tick0=Oe.l2r(Oe._forceTick0))}Oe.ticklabelmode==="period"&&function(_t){var It;function Lt(){return!(y(_t.dtick)||_t.dtick.charAt(0)!=="M")}var yt=Lt(),Pt=X.getTickFormat(_t);if(Pt){var wt=_t._dtickInit!==_t.dtick;/%[fLQsSMX]/.test(Pt)||(/%[HI]/.test(Pt)?(It=I,wt&&!yt&&_t.dtick=(rn?0:1);xn--){var un=!xn;xn?(Oe._dtickInit=Oe.dtick,Oe._tick0Init=Oe.tick0):(Oe.minor._dtickInit=Oe.minor.dtick,Oe.minor._tick0Init=Oe.minor.tick0);var An=xn?Oe:g.extendFlat({},Oe,Oe.minor);if(un?X.prepMinorTicks(An,Oe,Ne):X.prepTicks(An,Ne),An.tickmode!=="array")if(An.tickmode!=="sync"){var Yn=ce(yt),kn=Yn[0],sn=Yn[1],Tn=y(An.dtick),dn=dt==="log"&&!(Tn||An.dtick.charAt(0)==="L"),pn=X.tickFirst(An,Ne);if(xn){if(Oe._tmin=pn,pn=sn:Gn<=sn;Gn=X.tickIncrement(Gn,Wn,Pt,_t)){if(xn&&Dn++,An.rangebreaks&&!Pt){if(Gn=Ot)break}if(Xt.length>Nt||Gn===jn)break;jn=Gn;var lr={value:Gn};xn?(dn&&Gn!==(0|Gn)&&(lr.simpleLabel=!0),It>1&&Dn%It&&(lr.skipLabel=!0),Xt.push(lr)):(lr.minor=!0,Qt.push(lr))}}else Xt=[],Yt=Me(Oe);else xn?(Xt=[],Yt=Se(Oe)):(Qt=[],qt=Se(Oe))}if(rn&&!(Oe.minor.ticks==="inside"&&Oe.ticks==="outside"||Oe.minor.ticks==="outside"&&Oe.ticks==="inside")){for(var rr=Xt.map(function(Pn){return Pn.value}),Sr=[],yr=0;yr0?(Rn=fn-1,En=fn):(Rn=fn,En=fn);var mn,wn=Pn[Rn].value,gn=Pn[En].value,yn=Math.abs(gn-wn),Sn=Jt||yn,Vn=0;Sn>=v?Vn=yn>=v&&yn<=p?yn:w:Jt===x&&Sn>=T?Vn=yn>=T&&yn<=S?yn:x:Sn>=A?Vn=yn>=A&&yn<=C?yn:_:Jt===L&&Sn>=L?Vn=L:Sn>=b?Vn=b:Jt===O&&Sn>=O?Vn=O:Jt===I&&Sn>=I&&(Vn=I),Vn>=yn&&(Vn=yn,mn=!0);var Xn=zn+Vn;if(jt.rangebreaks&&Vn>0){for(var nr=0,Qn=0;Qn<84;Qn++){var fr=(Qn+.5)/84;jt.maskBreaks(zn*(1-fr)+fr*Xn)!==B&&nr++}(Vn*=nr/84)||(Pn[fn].drop=!0),mn&&yn>L&&(Vn=yn)}(Vn>0||fn===0)&&(Pn[fn].periodX=zn+Vn/2)}}(Xt,Oe,Oe._definedDelta),Oe.rangebreaks){var bn=Oe._id.charAt(0)==="y",On=1;Oe.tickmode==="auto"&&(On=Oe.tickfont?Oe.tickfont.size:12);var Ln=NaN;for(Qe=Xt.length-1;Qe>-1;Qe--)if(Xt[Qe].drop)Xt.splice(Qe,1);else{Xt[Qe].value=Je(Xt[Qe].value,Oe);var Un=Oe.c2p(Xt[Qe].value);(bn?Ln>Un-On:LnOt||$nOt&&(Kn.periodX=Ot),$n10||ut.substr(5)!=="01-01"?Oe._tickround="d":Oe._tickround=+Ne.substr(1)%12==0?"y":"m";else if(Ne>=b&&dt<=10||Ne>=15*b)Oe._tickround="d";else if(Ne>=R&&dt<=16||Ne>=I)Oe._tickround="M";else if(Ne>=D&&dt<=19||Ne>=R)Oe._tickround="S";else{var _t=Oe.l2r(Qe+Ne).replace(/^-/,"").length;Oe._tickround=Math.max(dt,_t)-20,Oe._tickround<0&&(Oe._tickround=4)}}else if(y(Ne)||Ne.charAt(0)==="L"){var It=Oe.range.map(Oe.r2d||Number);y(Ne)||(Ne=Number(Ne.substr(1))),Oe._tickround=2-Math.floor(Math.log(Ne)/Math.LN10+.01);var Lt=Math.max(Math.abs(It[0]),Math.abs(It[1])),yt=Math.floor(Math.log(Lt)/Math.LN10+.01),Pt=Oe.minexponent===void 0?3:Oe.minexponent;Math.abs(yt)>Pt&&(Ee(Oe.exponentformat)&&!Ve(yt)?Oe._tickexponent=3*Math.round((yt-1)/3):Oe._tickexponent=yt)}else Oe._tickround=null}function ge(Oe,Ne,Qe){var ut=Oe.tickfont||{};return{x:Ne,dx:0,dy:0,text:Qe||"",fontSize:ut.size,font:ut.family,fontColor:ut.color}}X.autoTicks=function(Oe,Ne,Qe){var ut;function dt(Ot){return Math.pow(Ot,Math.floor(Math.log(Ne)/Math.LN10))}if(Oe.type==="date"){Oe.tick0=g.dateTick0(Oe.calendar,0);var _t=2*Ne;if(_t>w)Ne/=w,ut=dt(10),Oe.dtick="M"+12*ze(Ne,ut,Ce);else if(_t>_)Ne/=_,Oe.dtick="M"+ze(Ne,1,ae);else if(_t>b){if(Oe.dtick=ze(Ne,b,Oe._hasDayOfWeekBreaks?[1,2,7,14]:be),!Qe){var It=X.getTickFormat(Oe),Lt=Oe.ticklabelmode==="period";Lt&&(Oe._rawTick0=Oe.tick0),/%[uVW]/.test(It)?Oe.tick0=g.dateTick0(Oe.calendar,2):Oe.tick0=g.dateTick0(Oe.calendar,1),Lt&&(Oe._dowTick0=Oe.tick0)}}else _t>I?Oe.dtick=ze(Ne,I,ae):_t>R?Oe.dtick=ze(Ne,R,he):_t>D?Oe.dtick=ze(Ne,D,he):(ut=dt(10),Oe.dtick=ze(Ne,ut,Ce))}else if(Oe.type==="log"){Oe.tick0=0;var yt=g.simpleMap(Oe.range,Oe.r2l);if(Oe._isMinor&&(Ne*=1.5),Ne>.7)Oe.dtick=Math.ceil(Ne);else if(Math.abs(yt[1]-yt[0])<1){var Pt=1.5*Math.abs((yt[1]-yt[0])/Ne);Ne=Math.abs(Math.pow(10,yt[1])-Math.pow(10,yt[0]))/Pt,ut=dt(10),Oe.dtick="L"+ze(Ne,ut,Ce)}else Oe.dtick=Ne>.3?"D2":"D1"}else Oe.type==="category"||Oe.type==="multicategory"?(Oe.tick0=0,Oe.dtick=Math.ceil(Math.max(Ne,1))):Ke(Oe)?(Oe.tick0=0,ut=1,Oe.dtick=ze(Ne,ut,Be)):(Oe.tick0=0,ut=dt(10),Oe.dtick=ze(Ne,ut,Ce));if(Oe.dtick===0&&(Oe.dtick=1),!y(Oe.dtick)&&typeof Oe.dtick!="string"){var wt=Oe.dtick;throw Oe.dtick=1,"ax.dtick error: "+String(wt)}},X.tickIncrement=function(Oe,Ne,Qe,ut){var dt=Qe?-1:1;if(y(Ne))return g.increment(Oe,dt*Ne);var _t=Ne.charAt(0),It=dt*Number(Ne.substr(1));if(_t==="M")return g.incrementMonth(Oe,It,ut);if(_t==="L")return Math.log(Math.pow(10,Oe)+It)/Math.LN10;if(_t==="D"){var Lt=Ne==="D2"?Le:ke,yt=Oe+.01*dt,Pt=g.roundUp(g.mod(yt,1),Lt,Qe);return Math.floor(yt)+Math.log(d.round(Math.pow(10,Pt),1))/Math.LN10}throw"unrecognized dtick "+String(Ne)},X.tickFirst=function(Oe,Ne){var Qe=Oe.r2l||Number,ut=g.simpleMap(Oe.range,Qe,void 0,void 0,Ne),dt=ut[1] ")}else Qt._prevDateHead=kn,sn+="
"+kn;rn.text=sn}(Oe,_t,Qe,Lt):yt==="log"?function(Qt,rn,xn,un,An){var Yn=Qt.dtick,kn=rn.x,sn=Qt.tickformat,Tn=typeof Yn=="string"&&Yn.charAt(0);if(An==="never"&&(An=""),un&&Tn!=="L"&&(Yn="L3",Tn="L"),sn||Tn==="L")rn.text=$e(Math.pow(10,kn),Qt,An,un);else if(y(Yn)||Tn==="D"&&g.mod(kn+.01,1)<.1){var dn=Math.round(kn),pn=Math.abs(dn),Dn=Qt.exponentformat;Dn==="power"||Ee(Dn)&&Ve(dn)?(rn.text=dn===0?1:dn===1?"10":"10"+(dn>1?"":F)+pn+"",rn.fontSize*=1.25):(Dn==="e"||Dn==="E")&&pn>2?rn.text="1"+Dn+(dn>0?"+":F)+pn:(rn.text=$e(Math.pow(10,kn),Qt,"","fakehover"),Yn==="D1"&&Qt._id.charAt(0)==="y"&&(rn.dy-=rn.fontSize/6))}else{if(Tn!=="D")throw"unrecognized dtick "+String(Yn);rn.text=String(Math.round(Math.pow(10,g.mod(kn,1)))),rn.fontSize*=.75}if(Qt.dtick==="D1"){var In=String(rn.text).charAt(0);In!=="0"&&In!=="1"||(Qt._id.charAt(0)==="y"?rn.dx-=rn.fontSize/4:(rn.dy+=rn.fontSize/2,rn.dx+=(Qt.range[1]>Qt.range[0]?1:-1)*rn.fontSize*(kn<0?.5:.25)))}}(Oe,_t,0,Lt,Yt):yt==="category"?function(Qt,rn){var xn=Qt._categories[Math.round(rn.x)];xn===void 0&&(xn=""),rn.text=String(xn)}(Oe,_t):yt==="multicategory"?function(Qt,rn,xn){var un=Math.round(rn.x),An=Qt._categories[un]||[],Yn=An[1]===void 0?"":String(An[1]),kn=An[0]===void 0?"":String(An[0]);xn?rn.text=kn+" - "+Yn:(rn.text=Yn,rn.text2=kn)}(Oe,_t,Qe):Ke(Oe)?function(Qt,rn,xn,un,An){if(Qt.thetaunit!=="radians"||xn)rn.text=$e(rn.x,Qt,An,un);else{var Yn=rn.x/180;if(Yn===0)rn.text="0";else{var kn=function(Tn){function dn(jn,Gn){return Math.abs(jn-Gn)<=1e-6}var pn=function(jn){for(var Gn=1;!dn(Math.round(jn*Gn)/Gn,jn);)Gn*=10;return Gn}(Tn),Dn=Tn*pn,In=Math.abs(function jn(Gn,Wn){return dn(Wn,0)?Gn:jn(Wn,Gn%Wn)}(Dn,pn));return[Math.round(Dn/In),Math.round(pn/In)]}(Yn);if(kn[1]>=100)rn.text=$e(g.deg2rad(rn.x),Qt,An,un);else{var sn=rn.x<0;kn[1]===1?kn[0]===1?rn.text="ฯ€":rn.text=kn[0]+"ฯ€":rn.text=["",kn[0],"","โ„","",kn[1],"","ฯ€"].join(""),sn&&(rn.text=F+rn.text)}}}}(Oe,_t,Qe,Lt,Yt):function(Qt,rn,xn,un,An){An==="never"?An="":Qt.showexponent==="all"&&Math.abs(rn.x/Qt.dtick)<1e-6&&(An="hide"),rn.text=$e(rn.x,Qt,An,un)}(Oe,_t,0,Lt,Yt),ut||(Oe.tickprefix&&!Nt(Oe.showtickprefix)&&(_t.text=Oe.tickprefix+_t.text),Oe.ticksuffix&&!Nt(Oe.showticksuffix)&&(_t.text+=Oe.ticksuffix)),Oe.labelalias&&Oe.labelalias.hasOwnProperty(_t.text)){var qt=Oe.labelalias[_t.text];typeof qt=="string"&&(_t.text=qt)}if(Oe.tickson==="boundaries"||Oe.showdividers){var Xt=function(Qt){var rn=Oe.l2p(Qt);return rn>=0&&rn<=Oe._length?Qt:null};_t.xbnd=[Xt(_t.x-.5),Xt(_t.x+Oe.dtick-.5)]}return _t},X.hoverLabelText=function(Oe,Ne,Qe){Qe&&(Oe=g.extendFlat({},Oe,{hoverformat:Qe}));var ut=Array.isArray(Ne)?Ne[0]:Ne,dt=Array.isArray(Ne)?Ne[1]:void 0;if(dt!==void 0&&dt!==ut)return X.hoverLabelText(Oe,ut,Qe)+" - "+X.hoverLabelText(Oe,dt,Qe);var _t=Oe.type==="log"&&ut<=0,It=X.tickText(Oe,Oe.c2l(_t?-ut:ut),"hover").text;return _t?ut===0?"0":F+It:It};var we=["f","p","n","ฮผ","m","","k","M","G","T"];function Ee(Oe){return Oe==="SI"||Oe==="B"}function Ve(Oe){return Oe>14||Oe<-15}function $e(Oe,Ne,Qe,ut){var dt=Oe<0,_t=Ne._tickround,It=Qe||Ne.exponentformat||"B",Lt=Ne._tickexponent,yt=X.getTickFormat(Ne),Pt=Ne.separatethousands;if(ut){var wt={exponentformat:It,minexponent:Ne.minexponent,dtick:Ne.showexponent==="none"?Ne.dtick:y(Oe)&&Math.abs(Oe)||1,range:Ne.showexponent==="none"?Ne.range.map(Ne.r2d):[0,Oe||1]};je(wt),_t=(Number(wt._tickround)||0)+4,Lt=wt._tickexponent,Ne.hoverformat&&(yt=Ne.hoverformat)}if(yt)return Ne._numFormat(yt)(Oe).replace(/-/g,F);var Ot,Nt=Math.pow(10,-_t)/2;if(It==="none"&&(Lt=0),(Oe=Math.abs(Oe))"+Ot+"":It==="B"&&Lt===9?Oe+="B":Ee(It)&&(Oe+=we[Lt/3+5])),dt?F+Oe:Oe}function Ye(Oe,Ne){if(Oe){var Qe=Object.keys(G).reduce(function(ut,dt){return Ne.indexOf(dt)!==-1&&G[dt].forEach(function(_t){ut[_t]=1}),ut},{});Object.keys(Oe).forEach(function(ut){Qe[ut]||(ut.length===1?Oe[ut]=0:delete Oe[ut])})}}function st(Oe,Ne){for(var Qe=[],ut={},dt=0;dt1&&Qe=dt.min&&Oe=0,rn=wt(Nt,Yt[1])<=0;return(qt||Qt)&&(Xt||rn)}if(Oe.tickformatstops&&Oe.tickformatstops.length>0)switch(Oe.type){case"date":case"linear":for(Ne=0;Ne=It(dt)))){Qe=ut;break}break;case"log":for(Ne=0;Ne=0&&dt.unshift(dt.splice(Pt,1).shift())}});var It={false:{left:0,right:0}};return g.syncOrAsync(dt.map(function(Lt){return function(){if(Lt){var yt=X.getFromId(Oe,Lt);Qe||(Qe={}),Qe.axShifts=It,Qe.overlayingShiftedAx=_t;var Pt=X.drawOne(Oe,yt,Qe);return yt._shiftPusher&&ht(yt,yt._fullDepth||0,It,!0),yt._r=yt.range.slice(),yt._rl=g.simpleMap(yt._r,yt.r2l),Pt}}}))},X.drawOne=function(Oe,Ne,Qe){var ut,dt,_t,It=(Qe=Qe||{}).axShifts||{},Lt=Qe.overlayingShiftedAx||[];Ne.setScale();var yt=Oe._fullLayout,Pt=Ne._id,wt=Pt.charAt(0),Ot=X.counterLetter(Pt),Nt=yt._plots[Ne._mainSubplot];if(Nt){if(Ne._shiftPusher=Ne.autoshift||Lt.indexOf(Ne._id)!==-1||Lt.indexOf(Ne.overlaying)!==-1,Ne._shiftPusher&Ne.anchor==="free"){var Yt=Ne.linewidth/2||0;Ne.ticks==="inside"&&(Yt+=Ne.ticklen),ht(Ne,Yt,It,!0),ht(Ne,Ne.shift||0,It,!1)}Qe.skipTitle===!0&&Ne._shift!==void 0||(Ne._shift=function(En,mn){return En.autoshift?mn[En.overlaying][En.side]:En.shift||0}(Ne,It));var qt=Nt[wt+"axislayer"],Xt=Ne._mainLinePosition,Qt=Xt+=Ne._shift,rn=Ne._mainMirrorPosition,xn=Ne._vals=X.calcTicks(Ne),un=[Ne.mirror,Qt,rn].join("_");for(ut=0;ut0?En.bottom-Vn:0,Xn))));var nr=0,Qn=0;if(Ne._shiftPusher&&(nr=Math.max(Xn,En.height>0?yn==="l"?Vn-En.left:En.right-Vn:0),Ne.title.text!==yt._dfltTitle[wt]&&(Qn=(Ne._titleStandoff||0)+(Ne._titleScoot||0),yn==="l"&&(Qn+=bt(Ne))),Ne._fullDepth=Math.max(nr,Qn)),Ne.automargin){mn={x:0,y:0,r:0,l:0,t:0,b:0};var fr=[0,1],cr=typeof Ne._shift=="number"?Ne._shift:0;if(wt==="x"){if(yn==="b"?mn[yn]=Ne._depth:(mn[yn]=Ne._depth=Math.max(En.width>0?Vn-En.top:0,Xn),fr.reverse()),En.width>0){var pr=En.right-(Ne._offset+Ne._length);pr>0&&(mn.xr=1,mn.r=pr);var dr=Ne._offset-En.left;dr>0&&(mn.xl=0,mn.l=dr)}}else if(yn==="l"?(Ne._depth=Math.max(En.height>0?Vn-En.left:0,Xn),mn[yn]=Ne._depth-cr):(Ne._depth=Math.max(En.height>0?En.right-Vn:0,Xn),mn[yn]=Ne._depth+cr,fr.reverse()),En.height>0){var br=En.bottom-(Ne._offset+Ne._length);br>0&&(mn.yb=0,mn.b=br);var Ir=Ne._offset-En.top;Ir>0&&(mn.yt=1,mn.t=Ir)}mn[Ot]=Ne.anchor==="free"?Ne.position:Ne._anchorAxis.domain[fr[0]],Ne.title.text!==yt._dfltTitle[wt]&&(mn[yn]+=bt(Ne)+(Ne.title.standoff||0)),Ne.mirror&&Ne.anchor!=="free"&&((wn={x:0,y:0,r:0,l:0,t:0,b:0})[Sn]=Ne.linewidth,Ne.mirror&&Ne.mirror!==!0&&(wn[Sn]+=Xn),Ne.mirror===!0||Ne.mirror==="ticks"?wn[Ot]=Ne._anchorAxis.domain[fr[1]]:Ne.mirror!=="all"&&Ne.mirror!=="allticks"||(wn[Ot]=[Ne._counterDomainMin,Ne._counterDomainMax][fr[1]]))}zn&&(gn=M.getComponentMethod("rangeslider","autoMarginOpts")(Oe,Ne)),typeof Ne.automargin=="string"&&(Ye(mn,Ne.automargin),Ye(wn,Ne.automargin)),i.autoMargin(Oe,xt(Ne),mn),i.autoMargin(Oe,Ft(Ne),wn),i.autoMargin(Oe,Rt(Ne),gn)}),g.syncOrAsync(Jt)}}function Rn(En){var mn=Pt+(En||"tick");return An[mn]||(An[mn]=function(wn,gn){var yn,Sn,Vn,Xn;return wn._selections[gn].size()?(yn=1/0,Sn=-1/0,Vn=1/0,Xn=-1/0,wn._selections[gn].each(function(){var nr=kt(this),Qn=o.bBox(nr.node().parentNode);yn=Math.min(yn,Qn.top),Sn=Math.max(Sn,Qn.bottom),Vn=Math.min(Vn,Qn.left),Xn=Math.max(Xn,Qn.right)})):(yn=0,Sn=0,Vn=0,Xn=0),{top:yn,bottom:Sn,left:Vn,right:Xn,height:Sn-yn,width:Xn-Vn}}(Ne,mn)),An[mn]}},X.getTickSigns=function(Oe,Ne){var Qe=Oe._id.charAt(0),ut={x:"top",y:"right"}[Qe],dt=Oe.side===ut?1:-1,_t=[-1,1,dt,-dt];return(Ne?(Oe.minor||{}).ticks:Oe.ticks)!=="inside"==(Qe==="x")&&(_t=_t.map(function(It){return-It})),Oe.side&&_t.push({l:-1,t:-1,r:1,b:1}[Oe.side.charAt(0)]),_t},X.makeTransTickFn=function(Oe){return Oe._id.charAt(0)==="x"?function(Ne){return h(Oe._offset+Oe.l2p(Ne.x),0)}:function(Ne){return h(0,Oe._offset+Oe.l2p(Ne.x))}},X.makeTransTickLabelFn=function(Oe){var Ne=function(dt){var _t=dt.ticklabelposition||"",It=function(rn){return _t.indexOf(rn)!==-1},Lt=It("top"),yt=It("left"),Pt=It("right"),wt=It("bottom"),Ot=It("inside"),Nt=wt||yt||Lt||Pt;if(!Nt&&!Ot)return[0,0];var Yt=dt.side,qt=Nt?(dt.tickwidth||0)/2:0,Xt=3,Qt=dt.tickfont?dt.tickfont.size:12;return(wt||Lt)&&(qt+=Qt*ne,Xt+=(dt.linewidth||0)/2),(yt||Pt)&&(qt+=(dt.linewidth||0)/2,Xt+=3),Ot&&Yt==="top"&&(Xt-=Qt*(1-ne)),(yt||Lt)&&(qt=-qt),Yt!=="bottom"&&Yt!=="right"||(Xt=-Xt),[Nt?qt:0,Ot?Xt:0]}(Oe),Qe=Ne[0],ut=Ne[1];return Oe._id.charAt(0)==="x"?function(dt){return h(Qe+Oe._offset+Oe.l2p(ot(dt)),ut)}:function(dt){return h(ut,Qe+Oe._offset+Oe.l2p(ot(dt)))}},X.makeTickPath=function(Oe,Ne,Qe,ut){ut||(ut={});var dt=ut.minor;if(dt&&!Oe.minor)return"";var _t=ut.len!==void 0?ut.len:dt?Oe.minor.ticklen:Oe.ticklen,It=Oe._id.charAt(0),Lt=(Oe.linewidth||1)/2;return It==="x"?"M0,"+(Ne+Lt*Qe)+"v"+_t*Qe:"M"+(Ne+Lt*Qe)+",0h"+_t*Qe},X.makeLabelFns=function(Oe,Ne,Qe){var ut=Oe.ticklabelposition||"",dt=function(Dn){return ut.indexOf(Dn)!==-1},_t=dt("top"),It=dt("left"),Lt=dt("right"),yt=dt("bottom")||It||_t||Lt,Pt=dt("inside"),wt=ut==="inside"&&Oe.ticks==="inside"||!Pt&&Oe.ticks==="outside"&&Oe.tickson!=="boundaries",Ot=0,Nt=0,Yt=wt?Oe.ticklen:0;if(Pt?Yt*=-1:yt&&(Yt=0),wt&&(Ot+=Yt,Qe)){var qt=g.deg2rad(Qe);Ot=Yt*Math.cos(qt)+1,Nt=Yt*Math.sin(qt)}Oe.showticklabels&&(wt||Oe.showline)&&(Ot+=.2*Oe.tickfont.size);var Xt,Qt,rn,xn,un,An={labelStandoff:Ot+=(Oe.linewidth||1)/2*(Pt?-1:1),labelShift:Nt},Yn=0,kn=Oe.side,sn=Oe._id.charAt(0),Tn=Oe.tickangle;if(sn==="x")xn=(un=!Pt&&kn==="bottom"||Pt&&kn==="top")?1:-1,Pt&&(xn*=-1),Xt=Nt*xn,Qt=Ne+Ot*xn,rn=un?1:-.2,Math.abs(Tn)===90&&(Pt?rn+=H:rn=Tn===-90&&kn==="bottom"?ne:Tn===90&&kn==="top"?H:.5,Yn=H/2*(Tn/90)),An.xFn=function(Dn){return Dn.dx+Xt+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*rn},An.anchorFn=function(Dn,In){if(yt){if(It)return"end";if(Lt)return"start"}return y(In)&&In!==0&&In!==180?In*xn<0!==Pt?"end":"start":"middle"},An.heightFn=function(Dn,In,jn){return In<-60||In>60?-.5*jn:Oe.side==="top"!==Pt?-jn:0};else if(sn==="y"){if(xn=(un=!Pt&&kn==="left"||Pt&&kn==="right")?1:-1,Pt&&(xn*=-1),Xt=Ot,Qt=Nt*xn,rn=0,Pt||Math.abs(Tn)!==90||(rn=Tn===-90&&kn==="left"||Tn===90&&kn==="right"?ne:.5),Pt){var dn=y(Tn)?+Tn:0;if(dn!==0){var pn=g.deg2rad(dn);Yn=Math.abs(Math.sin(pn))*ne*xn,rn=0}}An.xFn=function(Dn){return Dn.dx+Ne-(Xt+Dn.fontSize*rn)*xn+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*H},An.anchorFn=function(Dn,In){return y(In)&&Math.abs(In)===90?"middle":un?"end":"start"},An.heightFn=function(Dn,In,jn){return Oe.side==="right"&&(In*=-1),In<-30?-jn:In<30?-.5*jn:0}}return An},X.drawTicks=function(Oe,Ne,Qe){Qe=Qe||{};var ut=Ne._id+"tick",dt=[].concat(Ne.minor&&Ne.minor.ticks?Qe.vals.filter(function(It){return It.minor&&!It.noTick}):[]).concat(Ne.ticks?Qe.vals.filter(function(It){return!It.minor&&!It.noTick}):[]),_t=Qe.layer.selectAll("path."+ut).data(dt,ft);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("ticks",1).classed("crisp",Qe.crisp!==!1).each(function(It){return u.stroke(d.select(this),It.minor?Ne.minor.tickcolor:Ne.tickcolor)}).style("stroke-width",function(It){return o.crispRound(Oe,It.minor?Ne.minor.tickwidth:Ne.tickwidth,1)+"px"}).attr("d",Qe.path).style("display",null),nt(Ne,[$]),_t.attr("transform",Qe.transFn)},X.drawGrid=function(Oe,Ne,Qe){if(Qe=Qe||{},Ne.tickmode!=="sync"){var ut=Ne._id+"grid",dt=Ne.minor&&Ne.minor.showgrid,_t=dt?Qe.vals.filter(function(rn){return rn.minor}):[],It=Ne.showgrid?Qe.vals.filter(function(rn){return!rn.minor}):[],Lt=Qe.counterAxis;if(Lt&&X.shouldShowZeroLine(Oe,Ne,Lt))for(var yt=Ne.tickmode==="array",Pt=0;Pt=0;qt--){var Xt=qt?Nt:Yt;if(Xt){var Qt=Xt.selectAll("path."+ut).data(qt?It:_t,ft);Qt.exit().remove(),Qt.enter().append("path").classed(ut,1).classed("crisp",Qe.crisp!==!1),Qt.attr("transform",Qe.transFn).attr("d",Qe.path).each(function(rn){return u.stroke(d.select(this),rn.minor?Ne.minor.gridcolor:Ne.gridcolor||"#ddd")}).style("stroke-dasharray",function(rn){return o.dashStyle(rn.minor?Ne.minor.griddash:Ne.griddash,rn.minor?Ne.minor.gridwidth:Ne.gridwidth)}).style("stroke-width",function(rn){return(rn.minor?Ot:Ne._gw)+"px"}).style("display",null),typeof Qe.path=="function"&&Qt.attr("d",Qe.path)}}nt(Ne,[q,j])}},X.drawZeroLine=function(Oe,Ne,Qe){Qe=Qe||Qe;var ut=Ne._id+"zl",dt=X.shouldShowZeroLine(Oe,Ne,Qe.counterAxis),_t=Qe.layer.selectAll("path."+ut).data(dt?[{x:0,id:Ne._id}]:[]);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("zl",1).classed("crisp",Qe.crisp!==!1).each(function(){Qe.layer.selectAll("path").sort(function(It,Lt){return ie(It.id,Lt.id)})}),_t.attr("transform",Qe.transFn).attr("d",Qe.path).call(u.stroke,Ne.zerolinecolor||u.defaultLine).style("stroke-width",o.crispRound(Oe,Ne.zerolinewidth,Ne._gw||1)+"px").style("display",null),nt(Ne,[N])},X.drawLabels=function(Oe,Ne,Qe){Qe=Qe||{};var ut=Oe._fullLayout,dt=Ne._id,_t=dt.charAt(0),It=Qe.cls||dt+"tick",Lt=Qe.vals.filter(function(xn){return xn.text}),yt=Qe.labelFns,Pt=Qe.secondary?0:Ne.tickangle,wt=(Ne._prevTickAngles||{})[It],Ot=Qe.layer.selectAll("g."+It).data(Ne.showticklabels?Lt:[],ft),Nt=[];function Yt(xn,un){xn.each(function(An){var Yn=d.select(this),kn=Yn.select(".text-math-group"),sn=yt.anchorFn(An,un),Tn=Qe.transFn.call(Yn.node(),An)+(y(un)&&+un!=0?" rotate("+un+","+yt.xFn(An)+","+(yt.yFn(An)-An.fontSize/2)+")":""),dn=l.lineCount(Yn),pn=te*An.fontSize,Dn=yt.heightFn(An,y(un)?+un:0,(dn-1)*pn);if(Dn&&(Tn+=h(0,Dn)),kn.empty()){var In=Yn.select("text");In.attr({transform:Tn,"text-anchor":sn}),In.style("opacity",1),Ne._adjustTickLabelsOverflow&&Ne._adjustTickLabelsOverflow()}else{var jn=o.bBox(kn.node()).width*{end:-.5,start:.5}[sn];kn.attr("transform",Tn+h(jn,0))}})}Ot.enter().append("g").classed(It,1).append("text").attr("text-anchor","middle").each(function(xn){var un=d.select(this),An=Oe._promises.length;un.call(l.positionText,yt.xFn(xn),yt.yFn(xn)).call(o.font,xn.font,xn.fontSize,xn.fontColor).text(xn.text).call(l.convertToTspans,Oe),Oe._promises[An]?Nt.push(Oe._promises.pop().then(function(){Yt(un,Pt)})):Yt(un,Pt)}),nt(Ne,[U]),Ot.exit().remove(),Qe.repositionOnUpdate&&Ot.each(function(xn){d.select(this).select("text").call(l.positionText,yt.xFn(xn),yt.yFn(xn))}),Ne._adjustTickLabelsOverflow=function(){var xn=Ne.ticklabeloverflow;if(xn&&xn!=="allow"){var un=xn.indexOf("hide")!==-1,An=Ne._id.charAt(0)==="x",Yn=0,kn=An?Oe._fullLayout.width:Oe._fullLayout.height;if(xn.indexOf("domain")!==-1){var sn=g.simpleMap(Ne.range,Ne.r2l);Yn=Ne.l2p(sn[0])+Ne._offset,kn=Ne.l2p(sn[1])+Ne._offset}var Tn=Math.min(Yn,kn),dn=Math.max(Yn,kn),pn=Ne.side,Dn=1/0,In=-1/0;for(var jn in Ot.each(function(lr){var rr=d.select(this);if(rr.select(".text-math-group").empty()){var Sr=o.bBox(rr.node()),yr=0;An?(Sr.right>dn||Sr.leftdn||Sr.top+(Ne.tickangle?0:lr.fontSize/4)Ne["_visibleLabelMin_"+sn._id]?Wn.style("display","none"):dn.K!=="tick"||Tn||Wn.style("display",null)})})})})},Yt(Ot,wt+1?wt:Pt);var qt=null;Ne._selections&&(Ne._selections[It]=Ot);var Xt=[function(){return Nt.length&&Promise.all(Nt)}];Ne.automargin&&ut._redrawFromAutoMarginCount&&wt===90?(qt=90,Xt.push(function(){Yt(Ot,wt)})):Xt.push(function(){if(Yt(Ot,Pt),Lt.length&&_t==="x"&&!y(Pt)&&(Ne.type!=="log"||String(Ne.dtick).charAt(0)!=="D")){qt=0;var xn,un=0,An=[];if(Ot.each(function(rr){un=Math.max(un,rr.fontSize);var Sr=Ne.l2p(rr.x),yr=kt(this),or=o.bBox(yr.node());An.push({top:0,bottom:10,height:10,left:Sr-or.width/2,right:Sr+or.width/2+2,width:or.width+2})}),Ne.tickson!=="boundaries"&&!Ne.showdividers||Qe.secondary){var Yn=Lt.length,kn=Math.abs((Lt[Yn-1].x-Lt[0].x)*Ne._m)/(Yn-1),sn=Ne.ticklabelposition||"",Tn=function(rr){return sn.indexOf(rr)!==-1},dn=Tn("top"),pn=Tn("left"),Dn=Tn("right"),In=Tn("bottom")||pn||dn||Dn?(Ne.tickwidth||0)+6:0,jn=kn<2.5*un||Ne.type==="multicategory"||Ne._name==="realaxis";for(xn=0;xn1)for(Lt=1;Lt2*b}(c,s))return"date";var x=f.autotypenumbers!=="strict";return function(T,C){for(var _=T.length,A=u(_),L=0,b=0,O={},I=0;I<_;I+=A){var R=T[l(I)],D=String(R);if(!O[D]){O[D]=1;var F=typeof R;F==="boolean"?b++:(C?h(R)!==i:F==="number")?L++:F==="string"&&b++}}return b>2*L}(c,x)?"category":function(T,C){for(var _=T.length,A=0;A<_;A++)if(a(T[A],C))return!0;return!1}(c,x)?"linear":"-"}},71453:function(k,m,t){var d=t(92770),y=t(73972),i=t(71828),M=t(44467),g=t(85501),h=t(13838),l=t(26218),a=t(38701),u=t(96115),o=t(89426),s=t(15258),f=t(92128),c=t(21994),p=t(85555).WEEKDAY_PATTERN,w=t(85555).HOUR_PATTERN;function v(T,C,_){function A(B,N){return i.coerce(T,C,h.rangebreaks,B,N)}if(A("enabled")){var L=A("bounds");if(L&&L.length>=2){var b,O,I="";if(L.length===2){for(b=0;b<2;b++)if(O=x(L[b])){I=p;break}}var R=A("pattern",I);if(R===p)for(b=0;b<2;b++)(O=x(L[b]))&&(C.bounds[b]=L[b]=O-1);if(R)for(b=0;b<2;b++)switch(O=L[b],R){case p:if(!d(O)||(O=+O)!==Math.floor(O)||O<0||O>=7)return void(C.enabled=!1);C.bounds[b]=L[b]=O;break;case w:if(!d(O)||(O=+O)<0||O>24)return void(C.enabled=!1);C.bounds[b]=L[b]=O}if(_.autorange===!1){var D=_.range;if(D[0]D[1])return void(C.enabled=!1)}else if(L[0]>D[0]&&L[1]l?1:-1:+(M.substr(1)||1)-+(g.substr(1)||1)},m.ref2id=function(M){return!!/^[xyz]/.test(M)&&M.split(" ")[0]},m.isLinked=function(M,g){return i(g,M._axisMatchGroups)||i(g,M._axisConstraintGroups)}},15258:function(k){k.exports=function(m,t,d,y){if(t.type==="category"){var i,M=m.categoryarray,g=Array.isArray(M)&&M.length>0;g&&(i="array");var h,l=d("categoryorder",i);l==="array"&&(h=d("categoryarray")),g||l!=="array"||(l=t.categoryorder="trace"),l==="trace"?t._initialCategories=[]:l==="array"?t._initialCategories=h.slice():(h=function(a,u){var o,s,f,c=u.dataAttr||a._id.charAt(0),p={};if(u.axData)o=u.axData;else for(o=[],s=0;sT?C.substr(T):_.substr(x))+A:C+_+v*S:A}function p(v,S){for(var x=S._size,T=x.h/x.w,C={},_=Object.keys(v),A=0;A<_.length;A++){var L=_[A],b=v[L];if(typeof b=="string"){var O=b.match(/^[xy]*/)[0],I=O.length;b=+b.substr(I);for(var R=O.charAt(0)==="y"?T:1/T,D=0;Dl*F)||j){for(x=0;xQ&&ueZ&&(Z=ue);b/=(Z-te)/(2*X),te=_.l2r(te),Z=_.l2r(Z),_.range=_._input.range=W=0?Math.min(ue,.9):1/(1/Math.max(ue,-.3)+3.222))}function W(ue,ce,ye,de,me){return ue.append("path").attr("class","zoombox").style({fill:ce>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(ye,de)).attr("d",me+"Z")}function H(ue,ce,ye){return ue.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(ce,ye)).attr("d","M0,0Z")}function ne(ue,ce,ye,de,me,pe){ue.attr("d",de+"M"+ye.l+","+ye.t+"v"+ye.h+"h"+ye.w+"v-"+ye.h+"h-"+ye.w+"Z"),te(ue,ce,me,pe)}function te(ue,ce,ye,de){ye||(ue.transition().style("fill",de>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ce.transition().style("opacity",1).duration(200))}function Z(ue){d.select(ue).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function X(ue){B&&ue.data&&ue._context.showTips&&(y.notifier(y._(ue,"Double-click to zoom back out"),"long"),B=!1)}function Q(ue){var ce=Math.floor(Math.min(ue.b-ue.t,ue.r-ue.l,F)/2);return"M"+(ue.l-3.5)+","+(ue.t-.5+ce)+"h3v"+-ce+"h"+ce+"v-3h-"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.t-.5+ce)+"h-3v"+-ce+"h"+-ce+"v-3h"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.b+.5-ce)+"h-3v"+ce+"h"+-ce+"v3h"+(ce+3)+"ZM"+(ue.l-3.5)+","+(ue.b+.5-ce)+"h3v"+ce+"h"+ce+"v3h-"+(ce+3)+"Z"}function re(ue,ce,ye,de,me){for(var pe,xe,Pe,_e,Me=!1,Se={},Ce={},ae=(me||{}).xaHash,he=(me||{}).yaHash,be=0;be=0)dn._fullLayout._deactivateShape(dn);else{var pn=dn._fullLayout.clickmode;if(Z(dn),sn!==2||Ft||rn(),xt)pn.indexOf("select")>-1&&O(Tn,dn,ae,he,ce.id,dt),pn.indexOf("event")>-1&&s.click(dn,Tn,ce.id);else if(sn===1&&Ft){var Dn=xe?Me:_e,In=xe==="s"||Pe==="w"?0:1,jn=Dn._name+".range["+In+"]",Gn=function(rr,Sr){var yr,or=rr.range[Sr],vr=Math.abs(or-rr.range[1-Sr]);return rr.type==="date"?or:rr.type==="log"?(yr=Math.ceil(Math.max(0,-Math.log(vr)/Math.LN10))+3,i("."+yr+"g")(Math.pow(10,or))):(yr=Math.floor(Math.log(Math.abs(or))/Math.LN10)-Math.floor(Math.log(vr)/Math.LN10)+4,i("."+String(yr)+"g")(or))}(Dn,In),Wn="left",lr="middle";if(Dn.fixedrange)return;xe?(lr=xe==="n"?"top":"bottom",Dn.side==="right"&&(Wn="right")):Pe==="e"&&(Wn="right"),dn._context.showAxisRangeEntryBoxes&&d.select(Wt).call(a.makeEditable,{gd:dn,immediate:!0,background:dn._fullLayout.paper_bgcolor,text:String(Gn),fill:Dn.tickfont?Dn.tickfont.color:"#444",horizontalAlign:Wn,verticalAlign:lr}).on("edit",function(rr){var Sr=Dn.d2r(rr);Sr!==void 0&&h.call("_guiRelayout",dn,jn,Sr)})}}}function Lt(sn,Tn){if(ue._transitioningWithDuration)return!1;var dn=Math.max(0,Math.min(Le,bt*sn+Vt)),pn=Math.max(0,Math.min(Be,Et*Tn+Ke)),Dn=Math.abs(dn-Vt),In=Math.abs(pn-Ke);function jn(){Oe="",Je.r=Je.l,Je.t=Je.b,Qe.attr("d","M0,0Z")}if(Je.l=Math.min(Vt,dn),Je.r=Math.max(Vt,dn),Je.t=Math.min(Ke,pn),Je.b=Math.max(Ke,pn),ze.isSubplotConstrained)Dn>F||In>F?(Oe="xy",Dn/Le>In/Be?(In=Dn*Be/Le,Ke>pn?Je.t=Ke-In:Je.b=Ke+In):(Dn=In*Le/Be,Vt>dn?Je.l=Vt-Dn:Je.r=Vt+Dn),Qe.attr("d",Q(Je))):jn();else if(je.isSubplotConstrained)if(Dn>F||In>F){Oe="xy";var Gn=Math.min(Je.l/Le,(Be-Je.b)/Be),Wn=Math.max(Je.r/Le,(Be-Je.t)/Be);Je.l=Gn*Le,Je.r=Wn*Le,Je.b=(1-Gn)*Be,Je.t=(1-Wn)*Be,Qe.attr("d",Q(Je))}else jn();else!we||In0){var lr;if(je.isSubplotConstrained||!ge&&we.length===1){for(lr=0;lr_[1]-.000244140625&&(M.domain=a),y.noneOrAll(i.domain,M.domain,a),M.tickmode==="sync"&&(M.tickmode="auto")}return g("layer"),M}},89426:function(k,m,t){var d=t(59652);k.exports=function(y,i,M,g,h){h||(h={});var l=h.tickSuffixDflt,a=d(y);M("tickprefix")&&M("showtickprefix",a),M("ticksuffix",l)&&M("showticksuffix",a)}},42449:function(k,m,t){var d=t(18783).FROM_BL;k.exports=function(y,i,M){M===void 0&&(M=d[y.constraintoward||"center"]);var g=[y.r2l(y.range[0]),y.r2l(y.range[1])],h=g[0]+(g[1]-g[0])*M;y.range=y._input.range=[y.l2r(h+(g[0]-h)*i),y.l2r(h+(g[1]-h)*i)],y.setScale()}},21994:function(k,m,t){var d=t(39898),y=t(84096).g0,i=t(71828),M=i.numberFormat,g=t(92770),h=i.cleanNumber,l=i.ms2DateTime,a=i.dateTime2ms,u=i.ensureNumber,o=i.isArrayOrTypedArray,s=t(50606),f=s.FP_SAFE,c=s.BADNUM,p=s.LOG_CLIP,w=s.ONEWEEK,v=s.ONEDAY,S=s.ONEHOUR,x=s.ONEMIN,T=s.ONESEC,C=t(41675),_=t(85555),A=_.HOUR_PATTERN,L=_.WEEKDAY_PATTERN;function b(I){return Math.pow(10,I)}function O(I){return I!=null}k.exports=function(I,R){R=R||{};var D=I._id||"x",F=D.charAt(0);function B(re,ie){if(re>0)return Math.log(re)/Math.LN10;if(re<=0&&ie&&I.range&&I.range.length===2){var oe=I.range[0],ue=I.range[1];return .5*(oe+ue-2*p*Math.abs(oe-ue))}return c}function N(re,ie,oe,ue){if((ue||{}).msUTC&&g(re))return+re;var ce=a(re,oe||I.calendar);if(ce===c){if(!g(re))return c;re=+re;var ye=Math.floor(10*i.mod(re+.05,1)),de=Math.round(re-ye/10);ce=a(new Date(de))+ye/10}return ce}function q(re,ie,oe){return l(re,ie,oe||I.calendar)}function j(re){return I._categories[Math.round(re)]}function $(re){if(O(re)){if(I._categoriesMap===void 0&&(I._categoriesMap={}),I._categoriesMap[re]!==void 0)return I._categoriesMap[re];I._categories.push(typeof re=="number"?String(re):re);var ie=I._categories.length-1;return I._categoriesMap[re]=ie,ie}return c}function U(re){if(I._categoriesMap)return I._categoriesMap[re]}function G(re){var ie=U(re);return ie!==void 0?ie:g(re)?+re:void 0}function W(re){return g(re)?+re:U(re)}function H(re,ie,oe){return d.round(oe+ie*re,2)}function ne(re,ie,oe){return(re-oe)/ie}var te=function(re){return g(re)?H(re,I._m,I._b):c},Z=function(re){return ne(re,I._m,I._b)};if(I.rangebreaks){var X=F==="y";te=function(re){if(!g(re))return c;var ie=I._rangebreaks.length;if(!ie)return H(re,I._m,I._b);var oe=X;I.range[0]>I.range[1]&&(oe=!oe);for(var ue=oe?-1:1,ce=ue*re,ye=0,de=0;depe)){ye=ce<(me+pe)/2?de:de+1;break}ye=de+1}var xe=I._B[ye]||0;return isFinite(xe)?H(re,I._m2,xe):0},Z=function(re){var ie=I._rangebreaks.length;if(!ie)return ne(re,I._m,I._b);for(var oe=0,ue=0;ueI._rangebreaks[ue].pmax&&(oe=ue+1);return ne(re,I._m2,I._B[oe])}}I.c2l=I.type==="log"?B:u,I.l2c=I.type==="log"?b:u,I.l2p=te,I.p2l=Z,I.c2p=I.type==="log"?function(re,ie){return te(B(re,ie))}:te,I.p2c=I.type==="log"?function(re){return b(Z(re))}:Z,["linear","-"].indexOf(I.type)!==-1?(I.d2r=I.r2d=I.d2c=I.r2c=I.d2l=I.r2l=h,I.c2d=I.c2r=I.l2d=I.l2r=u,I.d2p=I.r2p=function(re){return I.l2p(h(re))},I.p2d=I.p2r=Z,I.cleanPos=u):I.type==="log"?(I.d2r=I.d2l=function(re,ie){return B(h(re),ie)},I.r2d=I.r2c=function(re){return b(h(re))},I.d2c=I.r2l=h,I.c2d=I.l2r=u,I.c2r=B,I.l2d=b,I.d2p=function(re,ie){return I.l2p(I.d2r(re,ie))},I.p2d=function(re){return b(Z(re))},I.r2p=function(re){return I.l2p(h(re))},I.p2r=Z,I.cleanPos=u):I.type==="date"?(I.d2r=I.r2d=i.identity,I.d2c=I.r2c=I.d2l=I.r2l=N,I.c2d=I.c2r=I.l2d=I.l2r=q,I.d2p=I.r2p=function(re,ie,oe){return I.l2p(N(re,0,oe))},I.p2d=I.p2r=function(re,ie,oe){return q(Z(re),ie,oe)},I.cleanPos=function(re){return i.cleanDate(re,c,I.calendar)}):I.type==="category"?(I.d2c=I.d2l=$,I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=W(re);return ie!==void 0?ie:I.fraction2r(.5)},I.l2r=I.c2r=u,I.r2l=W,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return typeof re=="string"&&re!==""?re:u(re)}):I.type==="multicategory"&&(I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=G(re);return ie!==void 0?ie:I.fraction2r(.5)},I.r2c_just_indices=U,I.l2r=I.c2r=u,I.r2l=G,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return Array.isArray(re)||typeof re=="string"&&re!==""?re:u(re)},I.setupMultiCategory=function(re){var ie,oe,ue=I._traceIndices,ce=I._matchGroup;if(ce&&I._categories.length===0){for(var ye in ce)if(ye!==D){var de=R[C.id2name(ye)];ue=ue.concat(de._traceIndices)}}var me=[[0,{}],[0,{}]],pe=[];for(ie=0;ief&&(ce[oe]=f),ce[0]===ce[1]){var de=Math.max(1,Math.abs(1e-6*ce[0]));ce[0]-=de,ce[1]+=de}}else i.nestedProperty(I,re).set(ue)},I.setScale=function(re){var ie=R._size;if(I.overlaying){var oe=C.getFromId({_fullLayout:R},I.overlaying);I.domain=oe.domain}var ue=re&&I._r?"_r":"range",ce=I.calendar;I.cleanRange(ue);var ye,de,me=I.r2l(I[ue][0],ce),pe=I.r2l(I[ue][1],ce),xe=F==="y";if(xe?(I._offset=ie.t+(1-I.domain[1])*ie.h,I._length=ie.h*(I.domain[1]-I.domain[0]),I._m=I._length/(me-pe),I._b=-I._m*pe):(I._offset=ie.l+I.domain[0]*ie.w,I._length=ie.w*(I.domain[1]-I.domain[0]),I._m=I._length/(pe-me),I._b=-I._m*me),I._rangebreaks=[],I._lBreaks=0,I._m2=0,I._B=[],I.rangebreaks&&(I._rangebreaks=I.locateBreaks(Math.min(me,pe),Math.max(me,pe)),I._rangebreaks.length)){for(ye=0;yepe&&(Pe=!Pe),Pe&&I._rangebreaks.reverse();var _e=Pe?-1:1;for(I._m2=_e*I._length/(Math.abs(pe-me)-I._lBreaks),I._B.push(-I._m2*(xe?pe:me)),ye=0;yeue&&(ue+=7,ceue&&(ue+=24,ce=oe&&ce=oe&&re=je.min&&(keje.max&&(je.max=Le),Be=!1)}Be&&de.push({min:ke,max:Le})}};for(oe=0;oea.duration?(function(){for(var A={},L=0;L rect").call(M.setTranslate,0,0).call(M.setScale,1,1),x.plot.call(M.setTranslate,T._offset,C._offset).call(M.setScale,1,1);var _=x.plot.selectAll(".scatterlayer .trace");_.selectAll(".point").call(M.setPointGroupScale,1,1),_.selectAll(".textpoint").call(M.setTextPointsScale,1,1),_.call(M.hideOutsideRangePoints,x)}function S(x,T){var C=x.plotinfo,_=C.xaxis,A=C.yaxis,L=_._length,b=A._length,O=!!x.xr1,I=!!x.yr1,R=[];if(O){var D=i.simpleMap(x.xr0,_.r2l),F=i.simpleMap(x.xr1,_.r2l),B=D[1]-D[0],N=F[1]-F[0];R[0]=(D[0]*(1-T)+T*F[0]-D[0])/(D[1]-D[0])*L,R[2]=L*(1-T+T*N/B),_.range[0]=_.l2r(D[0]*(1-T)+T*F[0]),_.range[1]=_.l2r(D[1]*(1-T)+T*F[1])}else R[0]=0,R[2]=L;if(I){var q=i.simpleMap(x.yr0,A.r2l),j=i.simpleMap(x.yr1,A.r2l),$=q[1]-q[0],U=j[1]-j[0];R[1]=(q[1]*(1-T)+T*j[1]-q[1])/(q[0]-q[1])*b,R[3]=b*(1-T+T*U/$),A.range[0]=_.l2r(q[0]*(1-T)+T*j[0]),A.range[1]=A.l2r(q[1]*(1-T)+T*j[1])}else R[1]=0,R[3]=b;g.drawOne(h,_,{skipTitle:!0}),g.drawOne(h,A,{skipTitle:!0}),g.redrawComponents(h,[_._id,A._id]);var G=O?L/R[2]:1,W=I?b/R[3]:1,H=O?R[0]:0,ne=I?R[1]:0,te=O?R[0]/R[2]*L:0,Z=I?R[1]/R[3]*b:0,X=_._offset-te,Q=A._offset-Z;C.clipRect.call(M.setTranslate,H,ne).call(M.setScale,1/G,1/W),C.plot.call(M.setTranslate,X,Q).call(M.setScale,G,W),M.setPointGroupScale(C.zoomScalePts,1/G,1/W),M.setTextPointsScale(C.zoomScaleTxt,1/G,1/W)}g.redrawComponents(h)}},951:function(k,m,t){var d=t(73972).traceIs,y=t(4322);function i(g){return{v:"x",h:"y"}[g.orientation||"v"]}function M(g,h){var l=i(g),a=d(g,"box-violin"),u=d(g._fullInput||{},"candlestick");return a&&!u&&h===l&&g[l]===void 0&&g[l+"0"]===void 0}k.exports=function(g,h,l,a){l("autotypenumbers",a.autotypenumbersDflt),l("type",(a.splomStash||{}).type)==="-"&&(function(u,o){if(u.type==="-"){var s,f=u._id,c=f.charAt(0);f.indexOf("scene")!==-1&&(f=c);var p=function(A,L,b){for(var O=0;O0&&(I["_"+b+"axes"]||{})[L]||(I[b+"axis"]||b)===L&&(M(I,b)||(I[b]||[]).length||I[b+"0"]))return I}}(o,f,c);if(p)if(p.type!=="histogram"||c!=={v:"y",h:"x"}[p.orientation||"v"]){var w=c+"calendar",v=p[w],S={noMultiCategory:!d(p,"cartesian")||d(p,"noMultiCategory")};if(p.type==="box"&&p._hasPreCompStats&&c==={h:"x",v:"y"}[p.orientation||"v"]&&(S.noMultiCategory=!0),S.autotypenumbers=u.autotypenumbers,M(p,c)){var x=i(p),T=[];for(s=0;s0?".":"")+s;y.isPlainObject(f)?h(f,a,c,o+1):a(c,s,f)}})}m.manageCommandObserver=function(l,a,u,o){var s={},f=!0;a&&a._commandObserver&&(s=a._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var c=m.hasSimpleAPICommandBindings(l,u,s.lookupTable);if(a&&a._commandObserver){if(c)return s;if(a._commandObserver.remove)return a._commandObserver.remove(),a._commandObserver=null,s}if(c){i(l,c,s.cache),s.check=function(){if(f){var v=i(l,c,s.cache);return v.changed&&o&&s.lookupTable[v.value]!==void 0&&(s.disable(),Promise.resolve(o({value:v.value,type:c.type,prop:c.prop,traces:c.traces,index:s.lookupTable[v.value]})).then(s.enable,s.enable)),v.changed}};for(var p=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],w=0;w0&&N<0&&(N+=360);var $=(N-B)/4;return{type:"Polygon",coordinates:[[[B,q],[B,j],[B+$,j],[B+2*$,j],[B+3*$,j],[N,j],[N,q],[N-$,q],[N-2*$,q],[N-3*$,q],[B,q]]]}}k.exports=function(R){return new b(R)},O.plot=function(R,D,F,B){var N=this;if(B)return N.update(R,D,!0);N._geoCalcData=R,N._fullLayout=D;var q=D[this.id],j=[],$=!1;for(var U in C.layerNameToAdjective)if(U!=="frame"&&q["show"+U]){$=!0;break}for(var G=!1,W=0;W0&&j._module.calcGeoJSON(q,D)}if(!F){if(this.updateProjection(R,D))return;this.viewInitial&&this.scope===B.scope||this.saveViewInitial(B)}this.scope=B.scope,this.updateBaseLayers(D,B),this.updateDims(D,B),this.updateFx(D,B),f.generalUpdatePerTraceModule(this.graphDiv,this,R,B);var $=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=$.selectAll(".point"),this.dataPoints.text=$.selectAll("text"),this.dataPaths.line=$.selectAll(".js-line");var U=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=U.selectAll("path"),this._render()},O.updateProjection=function(R,D){var F=this.graphDiv,B=D[this.id],N=D._size,q=B.domain,j=B.projection,$=B.lonaxis,U=B.lataxis,G=$._ax,W=U._ax,H=this.projection=function(Ce){var ae=Ce.projection,he=ae.type,be=C.projNames[he];be="geo"+l.titleCase(be);for(var ke=(y[be]||g[be])(),Le=Ce._isSatellite?180*Math.acos(1/ae.distance)/Math.PI:Ce._isClipped?C.lonaxisSpan[he]/2:null,Be=["center","rotate","parallels","clipExtent"],ze=function(we){return we?ke:[]},je=0;jeLe*Math.PI/180}return!1},ke.getPath=function(){return i().projection(ke)},ke.getBounds=function(we){return ke.getPath().bounds(we)},ke.precision(C.precision),Ce._isSatellite&&ke.tilt(ae.tilt).distance(ae.distance),Le&&ke.clipAngle(Le-C.clipPad),ke}(B),ne=[[N.l+N.w*q.x[0],N.t+N.h*(1-q.y[1])],[N.l+N.w*q.x[1],N.t+N.h*(1-q.y[0])]],te=B.center||{},Z=j.rotation||{},X=$.range||[],Q=U.range||[];if(B.fitbounds){G._length=ne[1][0]-ne[0][0],W._length=ne[1][1]-ne[0][1],G.range=p(F,G),W.range=p(F,W);var re=(G.range[0]+G.range[1])/2,ie=(W.range[0]+W.range[1])/2;if(B._isScoped)te={lon:re,lat:ie};else if(B._isClipped){te={lon:re,lat:ie},Z={lon:re,lat:ie,roll:Z.roll};var oe=j.type,ue=C.lonaxisSpan[oe]/2||180,ce=C.lataxisSpan[oe]/2||90;X=[re-ue,re+ue],Q=[ie-ce,ie+ce]}else te={lon:re,lat:ie},Z={lon:re,lat:Z.lat,roll:Z.roll}}H.center([te.lon-Z.lon,te.lat-Z.lat]).rotate([-Z.lon,-Z.lat,Z.roll]).parallels(j.parallels);var ye=I(X,Q);H.fitExtent(ne,ye);var de=this.bounds=H.getBounds(ye),me=this.fitScale=H.scale(),pe=H.translate();if(B.fitbounds){var xe=H.getBounds(I(G.range,W.range)),Pe=Math.min((de[1][0]-de[0][0])/(xe[1][0]-xe[0][0]),(de[1][1]-de[0][1])/(xe[1][1]-xe[0][1]));isFinite(Pe)?H.scale(Pe*me):l.warn("Something went wrong during"+this.id+"fitbounds computations.")}else H.scale(j.scale*me);var _e=this.midPt=[(de[0][0]+de[1][0])/2,(de[0][1]+de[1][1])/2];if(H.translate([pe[0]+(_e[0]-pe[0]),pe[1]+(_e[1]-pe[1])]).clipExtent(de),B._isAlbersUsa){var Me=H([te.lon,te.lat]),Se=H.translate();H.translate([Se[0]-(Me[0]-Se[0]),Se[1]-(Me[1]-Se[1])])}},O.updateBaseLayers=function(R,D){var F=this,B=F.topojson,N=F.layers,q=F.basePaths;function j(H){return H==="lonaxis"||H==="lataxis"}function $(H){return!!C.lineLayers[H]}function U(H){return!!C.fillLayers[H]}var G=(this.hasChoropleth?C.layersForChoropleth:C.layers).filter(function(H){return $(H)||U(H)?D["show"+H]:!j(H)||D[H].showgrid}),W=F.framework.selectAll(".layer").data(G,String);W.exit().each(function(H){delete N[H],delete q[H],d.select(this).remove()}),W.enter().append("g").attr("class",function(H){return"layer "+H}).each(function(H){var ne=N[H]=d.select(this);H==="bg"?F.bgRect=ne.append("rect").style("pointer-events","all"):j(H)?q[H]=ne.append("path").style("fill","none"):H==="backplot"?ne.append("g").classed("choroplethlayer",!0):H==="frontplot"?ne.append("g").classed("scatterlayer",!0):$(H)?q[H]=ne.append("path").style("fill","none").style("stroke-miterlimit",2):U(H)&&(q[H]=ne.append("path").style("stroke","none"))}),W.order(),W.each(function(H){var ne=q[H],te=C.layerNameToAdjective[H];H==="frame"?ne.datum(C.sphereSVG):$(H)||U(H)?ne.datum(L(B,B.objects[H])):j(H)&&ne.datum(function(Z,X,Q){var re,ie,oe,ue=X[Z],ce=C.scopeDefaults[X.scope];Z==="lonaxis"?(re=ce.lonaxisRange,ie=ce.lataxisRange,oe=function(Se,Ce){return[Se,Ce]}):Z==="lataxis"&&(re=ce.lataxisRange,ie=ce.lonaxisRange,oe=function(Se,Ce){return[Ce,Se]});var ye={type:"linear",range:[re[0],re[1]-1e-6],tick0:ue.tick0,dtick:ue.dtick};c.setConvert(ye,Q);var de=c.calcTicks(ye);X.isScoped||Z!=="lonaxis"||de.pop();for(var me=de.length,pe=new Array(me),xe=0;xe-1&&x(d.event,B,[F.xaxis],[F.yaxis],F.id,$),j.indexOf("event")>-1&&s.click(B,d.event))})}function U(G){return F.projection.invert([G[0]+F.xaxis._offset,G[1]+F.yaxis._offset])}},O.makeFramework=function(){var R=this,D=R.graphDiv,F=D._fullLayout,B="clip"+F._uid+R.id;R.clipDef=F._clips.append("clipPath").attr("id",B),R.clipRect=R.clipDef.append("rect"),R.framework=d.select(R.container).append("g").attr("class","geo "+R.id).call(o.setClipUrl,B,D),R.project=function(N){var q=R.projection(N);return q?[q[0]-R.xaxis._offset,q[1]-R.yaxis._offset]:[null,null]},R.xaxis={_id:"x",c2p:function(N){return R.project(N)[0]}},R.yaxis={_id:"y",c2p:function(N){return R.project(N)[1]}},R.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},c.setConvert(R.mockAxis,F)},O.saveViewInitial=function(R){var D,F=R.center||{},B=R.projection,N=B.rotation||{};this.viewInitial={fitbounds:R.fitbounds,"projection.scale":B.scale},D=R._isScoped?{"center.lon":F.lon,"center.lat":F.lat}:R._isClipped?{"projection.rotation.lon":N.lon,"projection.rotation.lat":N.lat}:{"center.lon":F.lon,"center.lat":F.lat,"projection.rotation.lon":N.lon},l.extendFlat(this.viewInitial,D)},O.render=function(R){this._hasMarkerAngles&&R?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},O._render=function(){var R,D=this.projection,F=D.getPath();function B(q){var j=D(q.lonlat);return j?a(j[0],j[1]):null}function N(q){return D.isLonLatOverEdges(q.lonlat)?"none":null}for(R in this.basePaths)this.basePaths[R].attr("d",F);for(R in this.dataPaths)this.dataPaths[R].attr("d",function(q){return F(q.geojson)});for(R in this.dataPoints)this.dataPoints[R].attr("display",N).attr("transform",B)}},44622:function(k,m,t){var d=t(27659).AU,y=t(71828).counterRegex,i=t(69082),M="geo",g=y(M),h={};h.geo={valType:"subplotid",dflt:M,editType:"calc"},k.exports={attr:M,name:M,idRoot:M,idRegex:g,attrRegex:g,attributes:h,layoutAttributes:t(77519),supplyLayoutDefaults:t(82161),plot:function(l){for(var a=l._fullLayout,u=l.calcdata,o=a._subplots.geo,s=0;s0&&U<0&&(U+=360);var G,W,H,ne=($+U)/2;if(!S){var te=x?w.projRotate:[ne,0,0];G=o("projection.rotation.lon",te[0]),o("projection.rotation.lat",te[1]),o("projection.rotation.roll",te[2]),o("showcoastlines",!x&&L)&&(o("coastlinecolor"),o("coastlinewidth")),o("showocean",!!L&&void 0)&&o("oceancolor")}S?(W=-96.6,H=38.7):(W=x?ne:G,H=(j[0]+j[1])/2),o("center.lon",W),o("center.lat",H),T&&(o("projection.tilt"),o("projection.distance")),C&&o("projection.parallels",w.projParallels||[0,60]),o("projection.scale"),o("showland",!!L&&void 0)&&o("landcolor"),o("showlakes",!!L&&void 0)&&o("lakecolor"),o("showrivers",!!L&&void 0)&&(o("rivercolor"),o("riverwidth")),o("showcountries",x&&p!=="usa"&&L)&&(o("countrycolor"),o("countrywidth")),(p==="usa"||p==="north america"&&c===50)&&(o("showsubunits",L),o("subunitcolor"),o("subunitwidth")),x||o("showframe",L)&&(o("framecolor"),o("framewidth")),o("bgcolor"),o("fitbounds")&&(delete u.projection.scale,x?(delete u.center.lon,delete u.center.lat):_?(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon,delete u.projection.rotation.lat,delete u.lonaxis.range,delete u.lataxis.range):(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon))}k.exports=function(a,u,o){y(a,u,o,{type:"geo",attributes:g,handleDefaults:l,fullData:o,partition:"y"})}},74455:function(k,m,t){var d=t(39898),y=t(71828),i=t(73972),M=Math.PI/180,g=180/Math.PI,h={cursor:"pointer"},l={cursor:"auto"};function a(L,b){return d.behavior.zoom().translate(b.translate()).scale(b.scale())}function u(L,b,O){var I=L.id,R=L.graphDiv,D=R.layout,F=D[I],B=R._fullLayout,N=B[I],q={},j={};function $(U,G){q[I+"."+U]=y.nestedProperty(F,U).get(),i.call("_storeDirectGUIEdit",D,B._preGUI,q);var W=y.nestedProperty(N,U);W.get()!==G&&(W.set(G),y.nestedProperty(F,U).set(G),j[I+"."+U]=G)}O($),$("projection.scale",b.scale()/L.fitScale),$("fitbounds",!1),R.emit("plotly_relayout",j)}function o(L,b){var O=a(0,b);function I(R){var D=b.invert(L.midPt);R("center.lon",D[0]),R("center.lat",D[1])}return O.on("zoomstart",function(){d.select(this).style(h)}).on("zoom",function(){b.scale(d.event.scale).translate(d.event.translate),L.render(!0);var R=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":R[0],"geo.center.lat":R[1]})}).on("zoomend",function(){d.select(this).style(l),u(L,b,I)}),O}function s(L,b){var O,I,R,D,F,B,N,q,j,$=a(0,b);function U(W){return b.invert(W)}function G(W){var H=b.rotate(),ne=b.invert(L.midPt);W("projection.rotation.lon",-H[0]),W("center.lon",ne[0]),W("center.lat",ne[1])}return $.on("zoomstart",function(){d.select(this).style(h),O=d.mouse(this),I=b.rotate(),R=b.translate(),D=I,F=U(O)}).on("zoom",function(){if(B=d.mouse(this),function(ne){var te=U(ne);if(!te)return!0;var Z=b(te);return Math.abs(Z[0]-ne[0])>2||Math.abs(Z[1]-ne[1])>2}(O))return $.scale(b.scale()),void $.translate(b.translate());b.scale(d.event.scale),b.translate([R[0],d.event.translate[1]]),F?U(B)&&(q=U(B),N=[D[0]+(q[0]-F[0]),I[1],I[2]],b.rotate(N),D=N):F=U(O=B),j=!0,L.render(!0);var W=b.rotate(),H=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":H[0],"geo.center.lat":H[1],"geo.projection.rotation.lon":-W[0]})}).on("zoomend",function(){d.select(this).style(l),j&&u(L,b,G)}),$}function f(L,b){var O;b.rotate(),b.scale();var I=a(0,b),R=function($){for(var U=0,G=arguments.length,W=[];++UG?(D=(j>0?90:-90)-U,R=0):(D=Math.asin(j/G)*g-U,R=Math.sqrt(G*G-j*j));var W=180-D-2*U,H=(Math.atan2($,q)-Math.atan2(N,R))*g,ne=(Math.atan2($,q)-Math.atan2(N,-R))*g;return x(O[0],O[1],D,H)<=x(O[0],O[1],W,ne)?[D,H,O[2]]:[W,ne,O[2]]}function x(L,b,O,I){var R=T(O-L),D=T(I-b);return Math.sqrt(R*R+D*D)}function T(L){return(L%360+540)%360-180}function C(L,b,O){var I=O*M,R=L.slice(),D=b===0?1:0,F=b===2?1:2,B=Math.cos(I),N=Math.sin(I);return R[D]=L[D]*B-L[F]*N,R[F]=L[F]*B+L[D]*N,R}function _(L){return[Math.atan2(2*(L[0]*L[1]+L[2]*L[3]),1-2*(L[1]*L[1]+L[2]*L[2]))*g,Math.asin(Math.max(-1,Math.min(1,2*(L[0]*L[2]-L[3]*L[1]))))*g,Math.atan2(2*(L[0]*L[3]+L[1]*L[2]),1-2*(L[2]*L[2]+L[3]*L[3]))*g]}function A(L,b){for(var O=0,I=0,R=L.length;IMath.abs(S)?(o.boxEnd[1]=o.boxStart[1]+Math.abs(v)*F*(S>=0?1:-1),o.boxEnd[1]x[3]&&(o.boxEnd[1]=x[3],o.boxEnd[0]=o.boxStart[0]+(x[3]-o.boxStart[1])/Math.abs(F))):(o.boxEnd[0]=o.boxStart[0]+Math.abs(S)/F*(v>=0?1:-1),o.boxEnd[0]x[2]&&(o.boxEnd[0]=x[2],o.boxEnd[1]=o.boxStart[1]+(x[2]-o.boxStart[0])*Math.abs(F)))}}else o.boxEnabled?(v=o.boxStart[0]!==o.boxEnd[0],S=o.boxStart[1]!==o.boxEnd[1],v||S?(v&&(b(0,o.boxStart[0],o.boxEnd[0]),l.xaxis.autorange=!1),S&&(b(1,o.boxStart[1],o.boxEnd[1]),l.yaxis.autorange=!1),l.relayoutCallback()):l.glplot.setDirty(),o.boxEnabled=!1,o.boxInited=!1):o.boxInited&&(o.boxInited=!1);break;case"pan":o.boxEnabled=!1,o.boxInited=!1,c?(o.panning||(o.dragStart[0]=p,o.dragStart[1]=w),Math.abs(o.dragStart[0]-p).999&&(_="turntable"):_="turntable")}else _="turntable";f("dragmode",_),f("hovermode",c.getDfltFromLayout("hovermode"))}k.exports=function(o,s,f){var c=s._basePlotModules.length>1;M(o,s,f,{type:a,attributes:h,handleDefaults:u,fullLayout:s,font:s.font,fullData:f,getDfltFromLayout:function(p){if(!c)return d.validate(o[p],h[p])?o[p]:void 0},autotypenumbersDflt:s.autotypenumbers,paper_bgcolor:s.paper_bgcolor,calendar:s.calendar})}},65500:function(k,m,t){var d=t(77894),y=t(27670).Y,i=t(1426).extendFlat,M=t(71828).counterRegex;function g(h,l,a){return{x:{valType:"number",dflt:h,editType:"camera"},y:{valType:"number",dflt:l,editType:"camera"},z:{valType:"number",dflt:a,editType:"camera"},editType:"camera"}}k.exports={_arrayAttrRegexps:[M("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:i(g(0,0,1),{}),center:i(g(0,0,0),{}),eye:i(g(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:y({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:d,yaxis:d,zaxis:d,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},13133:function(k,m,t){var d=t(78614),y=["xaxis","yaxis","zaxis"];function i(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}i.prototype.merge=function(M){for(var g=0;g<3;++g){var h=M[y[g]];h.visible?(this.enabled[g]=h.showspikes,this.colors[g]=d(h.spikecolor),this.drawSides[g]=h.spikesides,this.lineWidth[g]=h.spikethickness):(this.enabled[g]=!1,this.drawSides[g]=!1)}},k.exports=function(M){var g=new i;return g.merge(M),g}},96085:function(k,m,t){k.exports=function(g){for(var h=g.axesOptions,l=g.glplot.axesPixels,a=g.fullSceneLayout,u=[[],[],[]],o=0;o<3;++o){var s=a[i[o]];if(s._length=(l[o].hi-l[o].lo)*l[o].pixelsPerDataUnit/g.dataScale[o],Math.abs(s._length)===1/0||isNaN(s._length))u[o]=[];else{s._input_range=s.range.slice(),s.range[0]=l[o].lo/g.dataScale[o],s.range[1]=l[o].hi/g.dataScale[o],s._m=1/(g.dataScale[o]*l[o].pixelsPerDataUnit),s.range[0]===s.range[1]&&(s.range[0]-=1,s.range[1]+=1);var f=s.tickmode;if(s.tickmode==="auto"){s.tickmode="linear";var c=s.nticks||y.constrain(s._length/40,4,9);d.autoTicks(s,Math.abs(s.range[1]-s.range[0])/c)}for(var p=d.calcTicks(s,{msUTC:!0}),w=0;w/g," "));u[o]=p,s.tickmode=f}}for(h.ticks=u,o=0;o<3;++o)for(M[o]=.5*(g.glplot.bounds[0][o]+g.glplot.bounds[1][o]),w=0;w<2;++w)h.bounds[w][o]=g.glplot.bounds[w][o];g.contourLevels=function(v){for(var S=new Array(3),x=0;x<3;++x){for(var T=v[x],C=new Array(T.length),_=0;_B.deltaY?1.1:.9090909090909091,q=O.glplot.getAspectratio();O.glplot.setAspectratio({x:N*q.x,y:N*q.y,z:N*q.z})}F(O)}},!!l&&{passive:!1}),O.glplot.canvas.addEventListener("mousemove",function(){if(O.fullSceneLayout.dragmode!==!1&&O.camera.mouseListener.buttons!==0){var B=D();O.graphDiv.emit("plotly_relayouting",B)}}),O.staticMode||O.glplot.canvas.addEventListener("webglcontextlost",function(B){I&&I.emit&&I.emit("plotly_webglcontextlost",{event:B,layer:O.id})},!1)),O.glplot.oncontextloss=function(){O.recoverContext()},O.glplot.onrender=function(){O.render()},!0},_.render=function(){var O,I=this,R=I.graphDiv,D=I.svgContainer,F=I.container.getBoundingClientRect();R._fullLayout._calcInverseTransform(R);var B=R._fullLayout._invScaleX,N=R._fullLayout._invScaleY,q=F.width*B,j=F.height*N;D.setAttributeNS(null,"viewBox","0 0 "+q+" "+j),D.setAttributeNS(null,"width",q),D.setAttributeNS(null,"height",j),x(I),I.glplot.axes.update(I.axesOptions);for(var $=Object.keys(I.traces),U=null,G=I.glplot.selection,W=0;W<$.length;++W)(O=I.traces[$[W]]).data.hoverinfo!=="skip"&&O.handlePick(G)&&(U=O),O.setContourLevels&&O.setContourLevels();function H(me,pe,xe){var Pe=I.fullSceneLayout[me+"axis"];return Pe.type!=="log"&&(pe=Pe.d2l(pe)),s.hoverLabelText(Pe,pe,xe)}if(U!==null){var ne=w(I.glplot.cameraParams,G.dataCoordinate);O=U.data;var te,Z=R._fullData[O.index],X=G.index,Q={xLabel:H("x",G.traceCoordinate[0],O.xhoverformat),yLabel:H("y",G.traceCoordinate[1],O.yhoverformat),zLabel:H("z",G.traceCoordinate[2],O.zhoverformat)},re=f.castHoverinfo(Z,I.fullLayout,X),ie=(re||"").split("+"),oe=re&&re==="all";Z.hovertemplate||oe||(ie.indexOf("x")===-1&&(Q.xLabel=void 0),ie.indexOf("y")===-1&&(Q.yLabel=void 0),ie.indexOf("z")===-1&&(Q.zLabel=void 0),ie.indexOf("text")===-1&&(G.textLabel=void 0),ie.indexOf("name")===-1&&(U.name=void 0));var ue=[];O.type==="cone"||O.type==="streamtube"?(Q.uLabel=H("x",G.traceCoordinate[3],O.uhoverformat),(oe||ie.indexOf("u")!==-1)&&ue.push("u: "+Q.uLabel),Q.vLabel=H("y",G.traceCoordinate[4],O.vhoverformat),(oe||ie.indexOf("v")!==-1)&&ue.push("v: "+Q.vLabel),Q.wLabel=H("z",G.traceCoordinate[5],O.whoverformat),(oe||ie.indexOf("w")!==-1)&&ue.push("w: "+Q.wLabel),Q.normLabel=G.traceCoordinate[6].toPrecision(3),(oe||ie.indexOf("norm")!==-1)&&ue.push("norm: "+Q.normLabel),O.type==="streamtube"&&(Q.divergenceLabel=G.traceCoordinate[7].toPrecision(3),(oe||ie.indexOf("divergence")!==-1)&&ue.push("divergence: "+Q.divergenceLabel)),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):O.type==="isosurface"||O.type==="volume"?(Q.valueLabel=s.hoverLabelText(I._mockAxis,I._mockAxis.d2l(G.traceCoordinate[3]),O.valuehoverformat),ue.push("value: "+Q.valueLabel),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):te=G.textLabel;var ce={x:G.traceCoordinate[0],y:G.traceCoordinate[1],z:G.traceCoordinate[2],data:Z._input,fullData:Z,curveNumber:Z.index,pointNumber:X};f.appendArrayPointValue(ce,Z,X),O._module.eventData&&(ce=Z._module.eventData(ce,G,Z,{},X));var ye={points:[ce]};if(I.fullSceneLayout.hovermode){var de=[];f.loneHover({trace:Z,x:(.5+.5*ne[0]/ne[3])*q,y:(.5-.5*ne[1]/ne[3])*j,xLabel:Q.xLabel,yLabel:Q.yLabel,zLabel:Q.zLabel,text:te,name:U.name,color:f.castHoverOption(Z,X,"bgcolor")||U.color,borderColor:f.castHoverOption(Z,X,"bordercolor"),fontFamily:f.castHoverOption(Z,X,"font.family"),fontSize:f.castHoverOption(Z,X,"font.size"),fontColor:f.castHoverOption(Z,X,"font.color"),nameLength:f.castHoverOption(Z,X,"namelength"),textAlign:f.castHoverOption(Z,X,"align"),hovertemplate:u.castOption(Z,X,"hovertemplate"),hovertemplateLabels:u.extendFlat({},ce,Q),eventData:[ce]},{container:D,gd:R,inOut_bbox:de}),ce.bbox=de[0]}G.distance<5&&(G.buttons||T)?R.emit("plotly_click",ye):R.emit("plotly_hover",ye),this.oldEventData=ye}else f.loneUnhover(D),this.oldEventData&&R.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;I.drawAnnotations(I)},_.recoverContext=function(){var O=this;O.glplot.dispose();var I=function(){O.glplot.gl.isContextLost()?requestAnimationFrame(I):O.initializeGLPlot()?O.plot.apply(O,O.plotArgs):u.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(I)};var L=["xaxis","yaxis","zaxis"];function b(O,I,R){for(var D=O.fullSceneLayout,F=0;F<3;F++){var B=L[F],N=B.charAt(0),q=D[B],j=I[N],$=I[N+"calendar"],U=I["_"+N+"length"];if(u.isArrayOrTypedArray(j))for(var G,W=0;W<(U||j.length);W++)if(u.isArrayOrTypedArray(j[W]))for(var H=0;HZ[1][N])Z[0][N]=-1,Z[1][N]=1;else{var pe=Z[1][N]-Z[0][N];Z[0][N]-=pe/32,Z[1][N]+=pe/32}if(j.autorange==="reversed"){var xe=Z[0][N];Z[0][N]=Z[1][N],Z[1][N]=xe}}else{var Pe=j.range;Z[0][N]=j.r2l(Pe[0]),Z[1][N]=j.r2l(Pe[1])}Z[0][N]===Z[1][N]&&(Z[0][N]-=1,Z[1][N]+=1),X[N]=Z[1][N]-Z[0][N],D.glplot.setBounds(N,{min:Z[0][N]*H[N],max:Z[1][N]*H[N]})}var _e=U.aspectmode;if(_e==="cube")te=[1,1,1];else if(_e==="manual"){var Me=U.aspectratio;te=[Me.x,Me.y,Me.z]}else{if(_e!=="auto"&&_e!=="data")throw new Error("scene.js aspectRatio was not one of the enumerated types");var Se=[1,1,1];for(N=0;N<3;++N){var Ce=Q[$=(j=U[L[N]]).type];Se[N]=Math.pow(Ce.acc,1/Ce.count)/H[N]}te=_e==="data"||Math.max.apply(null,Se)/Math.min.apply(null,Se)<=4?Se:[1,1,1]}U.aspectratio.x=G.aspectratio.x=te[0],U.aspectratio.y=G.aspectratio.y=te[1],U.aspectratio.z=G.aspectratio.z=te[2],D.glplot.setAspectratio(U.aspectratio),D.viewInitial.aspectratio||(D.viewInitial.aspectratio={x:U.aspectratio.x,y:U.aspectratio.y,z:U.aspectratio.z}),D.viewInitial.aspectmode||(D.viewInitial.aspectmode=U.aspectmode);var ae=U.domain||null,he=I._size||null;if(ae&&he){var be=D.container.style;be.position="absolute",be.left=he.l+ae.x[0]*he.w+"px",be.top=he.t+(1-ae.y[1])*he.h+"px",be.width=he.w*(ae.x[1]-ae.x[0])+"px",be.height=he.h*(ae.y[1]-ae.y[0])+"px"}D.glplot.redraw()}},_.destroy=function(){var O=this;O.glplot&&(O.camera.mouseListener.enabled=!1,O.container.removeEventListener("wheel",O.camera.wheelListener),O.camera=null,O.glplot.dispose(),O.container.parentNode.removeChild(O.container),O.glplot=null)},_.getCamera=function(){var O,I=this;return I.camera.view.recalcMatrix(I.camera.view.lastT()),{up:{x:(O=I.camera).up[0],y:O.up[1],z:O.up[2]},center:{x:O.center[0],y:O.center[1],z:O.center[2]},eye:{x:O.eye[0],y:O.eye[1],z:O.eye[2]},projection:{type:O._ortho===!0?"orthographic":"perspective"}}},_.setViewport=function(O){var I,R=this,D=O.camera;R.camera.lookAt.apply(this,[[(I=D).eye.x,I.eye.y,I.eye.z],[I.center.x,I.center.y,I.center.z],[I.up.x,I.up.y,I.up.z]]),R.glplot.setAspectratio(O.aspectratio),D.projection.type==="orthographic"!==R.camera._ortho&&(R.glplot.redraw(),R.glplot.clearRGBA(),R.glplot.dispose(),R.initializeGLPlot())},_.isCameraChanged=function(O){var I=this.getCamera(),R=u.nestedProperty(O,this.id+".camera").get();function D(q,j,$,U){var G=["up","center","eye"],W=["x","y","z"];return j[G[$]]&&q[G[$]][W[U]]===j[G[$]][W[U]]}var F=!1;if(R===void 0)F=!0;else{for(var B=0;B<3;B++)for(var N=0;N<3;N++)if(!D(I,R,B,N)){F=!0;break}(!R.projection||I.projection&&I.projection.type!==R.projection.type)&&(F=!0)}return F},_.isAspectChanged=function(O){var I=this.glplot.getAspectratio(),R=u.nestedProperty(O,this.id+".aspectratio").get();return R===void 0||R.x!==I.x||R.y!==I.y||R.z!==I.z},_.saveLayout=function(O){var I,R,D,F,B,N,q=this,j=q.fullLayout,$=q.isCameraChanged(O),U=q.isAspectChanged(O),G=$||U;if(G){var W={};$&&(I=q.getCamera(),D=(R=u.nestedProperty(O,q.id+".camera")).get(),W[q.id+".camera"]=D),U&&(F=q.glplot.getAspectratio(),N=(B=u.nestedProperty(O,q.id+".aspectratio")).get(),W[q.id+".aspectratio"]=N),a.call("_storeDirectGUIEdit",O,j._preGUI,W),$&&(R.set(I),u.nestedProperty(j,q.id+".camera").set(I)),U&&(B.set(F),u.nestedProperty(j,q.id+".aspectratio").set(F),q.glplot.redraw())}return G},_.updateFx=function(O,I){var R=this,D=R.camera;if(D)if(O==="orbit")D.mode="orbit",D.keyBindingMode="rotate";else if(O==="turntable"){D.up=[0,0,1],D.mode="turntable",D.keyBindingMode="rotate";var F=R.graphDiv,B=F._fullLayout,N=R.fullSceneLayout.camera,q=N.up.x,j=N.up.y,$=N.up.z;if($/Math.sqrt(q*q+j*j+$*$)<.999){var U=R.id+".camera.up",G={x:0,y:0,z:1},W={};W[U]=G;var H=F.layout;a.call("_storeDirectGUIEdit",H,B._preGUI,W),N.up=G,u.nestedProperty(H,U).set(G)}}else D.keyBindingMode=O;R.fullSceneLayout.hovermode=I},_.toImage=function(O){var I=this;O||(O="png"),I.staticMode&&I.container.appendChild(d),I.glplot.redraw();var R=I.glplot.gl,D=R.drawingBufferWidth,F=R.drawingBufferHeight;R.bindFramebuffer(R.FRAMEBUFFER,null);var B=new Uint8Array(D*F*4);R.readPixels(0,0,D,F,R.RGBA,R.UNSIGNED_BYTE,B),function(U,G,W){for(var H=0,ne=W-1;H0)for(var X=255/Z,Q=0;Q<3;++Q)U[te+Q]=Math.min(X*U[te+Q],255)}}(B,D,F);var N=document.createElement("canvas");N.width=D,N.height=F;var q,j=N.getContext("2d",{willReadFrequently:!0}),$=j.createImageData(D,F);switch($.data.set(B),j.putImageData($,0,0),O){case"jpeg":q=N.toDataURL("image/jpeg");break;case"webp":q=N.toDataURL("image/webp");break;default:q=N.toDataURL("image/png")}return I.staticMode&&I.container.removeChild(d),q},_.setConvert=function(){for(var O=0;O<3;O++){var I=this.fullSceneLayout[L[O]];s.setConvert(I,this.fullLayout),I.setScale=u.noop}},_.make4thDimension=function(){var O=this,I=O.graphDiv._fullLayout;O._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},s.setConvert(O._mockAxis,I)},k.exports=C},90060:function(k){k.exports=function(m,t,d,y){y=y||m.length;for(var i=new Array(y),M=0;MOpenStreetMap contributors',i=['ยฉ Carto',y].join(" "),M=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),g={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:y,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},h=d(g);k.exports={requiredVersion:"1.10.1",styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:g,styleValuesNonMapbox:h,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@1.10.1."].join(` + `)};function eP(n){var e=!1;try{e=n instanceof BigInt64Array||n instanceof BigUint64Array}catch{}return n instanceof Int8Array||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array||e}var tP=globalThis&&globalThis.__extends||function(){var n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,z){E.__proto__=z}||function(E,z){for(var k in z)Object.prototype.hasOwnProperty.call(z,k)&&(E[k]=z[k])},n(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");n(e,r);function E(){this.constructor=e}e.prototype=r===null?Object.create(r):(E.prototype=r.prototype,new E)}}();(function(n){tP(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Sc.setFrameHeight()},e.prototype.componentDidUpdate=function(){Sc.setFrameHeight()},e})(p9.PureComponent);const Cs=i2("streamlit-data",{state:()=>({renderData:null,dataForDrawing:{},dataset:""}),getters:{args:n=>{var e;return(e=n.renderData)==null?void 0:e.args},components(){return this.args.components},allDataForDrawing:n=>n.dataForDrawing,sequenceData:n=>n.dataForDrawing.sequence_data,settings:n=>n.dataForDrawing.settings,internalFragmentData:n=>n.dataForDrawing.internal_fragment_data,theme:n=>{var e;return(e=n.renderData)==null?void 0:e.theme}},actions:{updateRenderData(n){var E,z;if(((E=n.args)==null?void 0:E.dataset)===this.dataset)return;this.dataForDrawing={},this.dataset=(z=n.args)==null?void 0:z.dataset,this.renderData=n;function e(k){if(typeof k=="bigint")return Number(k);if(k instanceof Ta){const m=[];for(let t=0;t{if(m instanceof tx){const t=[],d=m.table.schema.fields.map(y=>y.name);for(let y=0;y{var h;i[M]=e((h=m.table.getChildAt(g))==null?void 0:h.get(y))}),t.push(i)}this.dataForDrawing[k]=t}else this.dataForDrawing[k]=m})}}});var CM={exports:{}};(function(n,e){/*! For license information please see plotly.min.js.LICENSE.txt */(function(r,E){n.exports=E()})(self,function(){return function(){var r={98847:function(k,m,t){var d=t(71828),y={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var i in y){var M=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");d.addStyleRule(M,y[i])}},98222:function(k,m,t){k.exports=t(82887)},27206:function(k,m,t){k.exports=t(60822)},59893:function(k,m,t){k.exports=t(23381)},5224:function(k,m,t){k.exports=t(83832)},59509:function(k,m,t){k.exports=t(72201)},75557:function(k,m,t){k.exports=t(91815)},40338:function(k,m,t){k.exports=t(21462)},35080:function(k,m,t){k.exports=t(51319)},61396:function(k,m,t){k.exports=t(57516)},40549:function(k,m,t){k.exports=t(98128)},49866:function(k,m,t){k.exports=t(99442)},36089:function(k,m,t){k.exports=t(93740)},19548:function(k,m,t){k.exports=t(8729)},35831:function(k,m,t){k.exports=t(93814)},61039:function(k,m,t){k.exports=t(14382)},97040:function(k,m,t){k.exports=t(51759)},77986:function(k,m,t){k.exports=t(10421)},24296:function(k,m,t){k.exports=t(43102)},58872:function(k,m,t){k.exports=t(92165)},29626:function(k,m,t){k.exports=t(3325)},65591:function(k,m,t){k.exports=t(36071)},69738:function(k,m,t){k.exports=t(43905)},92650:function(k,m,t){k.exports=t(35902)},35630:function(k,m,t){k.exports=t(69816)},73434:function(k,m,t){k.exports=t(94507)},27909:function(k,m,t){var d=t(19548);d.register([t(27206),t(5224),t(58872),t(65591),t(69738),t(92650),t(49866),t(25743),t(6197),t(97040),t(85461),t(73434),t(54201),t(81299),t(47645),t(35630),t(77986),t(83043),t(93005),t(96881),t(4534),t(50581),t(40549),t(77900),t(47582),t(35080),t(21641),t(17280),t(5861),t(29626),t(10021),t(65317),t(96268),t(61396),t(35831),t(16122),t(46163),t(40344),t(40338),t(48131),t(36089),t(55334),t(75557),t(19440),t(99488),t(59893),t(97393),t(98222),t(61039),t(24296),t(66398),t(59509)]),k.exports=d},46163:function(k,m,t){k.exports=t(15154)},96881:function(k,m,t){k.exports=t(64943)},50581:function(k,m,t){k.exports=t(21164)},55334:function(k,m,t){k.exports=t(54186)},65317:function(k,m,t){k.exports=t(94873)},10021:function(k,m,t){k.exports=t(67618)},54201:function(k,m,t){k.exports=t(58810)},5861:function(k,m,t){k.exports=t(20593)},16122:function(k,m,t){k.exports=t(29396)},83043:function(k,m,t){k.exports=t(13551)},48131:function(k,m,t){k.exports=t(46858)},47582:function(k,m,t){k.exports=t(17988)},21641:function(k,m,t){k.exports=t(68868)},96268:function(k,m,t){k.exports=t(20467)},19440:function(k,m,t){k.exports=t(91271)},99488:function(k,m,t){k.exports=t(21461)},97393:function(k,m,t){k.exports=t(85956)},25743:function(k,m,t){k.exports=t(52979)},66398:function(k,m,t){k.exports=t(32275)},17280:function(k,m,t){k.exports=t(6419)},77900:function(k,m,t){k.exports=t(61510)},81299:function(k,m,t){k.exports=t(87619)},93005:function(k,m,t){k.exports=t(93601)},40344:function(k,m,t){k.exports=t(96595)},47645:function(k,m,t){k.exports=t(70954)},6197:function(k,m,t){k.exports=t(47462)},4534:function(k,m,t){k.exports=t(17659)},85461:function(k,m,t){k.exports=t(19990)},82884:function(k){k.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(k,m,t){var d=t(82884),y=t(41940),i=t(85555),M=t(44467).templatedArray;t(24695),k.exports=M("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:y({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:y({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(k,m,t){var d=t(71828),y=t(89298),i=t(92605).draw;function M(h){var l=h._fullLayout;d.filterVisible(l.annotations).forEach(function(a){var u=y.getFromId(h,a.xref),o=y.getFromId(h,a.yref),s=y.getRefType(a.xref),c=y.getRefType(a.yref);a._extremes={},s==="range"&&g(a,u),c==="range"&&g(a,o)})}function g(h,l){var a,u=l._id,o=u.charAt(0),s=h[o],c=h["a"+o],f=h[o+"ref"],p=h["a"+o+"ref"],w=h["_"+o+"padplus"],v=h["_"+o+"padminus"],S={x:1,y:-1}[o]*h[o+"shift"],x=3*h.arrowsize*h.arrowwidth||0,T=x+S,C=x-S,_=3*h.startarrowsize*h.arrowwidth||0,A=_+S,L=_-S;if(p===f){var b=y.findExtremes(l,[l.r2c(s)],{ppadplus:T,ppadminus:C}),P=y.findExtremes(l,[l.r2c(c)],{ppadplus:Math.max(w,A),ppadminus:Math.max(v,L)});a={min:[b.min[0],P.min[0]],max:[b.max[0],P.max[0]]}}else A=c?A+c:A,L=c?L-c:L,a=y.findExtremes(l,[l.r2c(s)],{ppadplus:Math.max(w,T,A),ppadminus:Math.max(v,C,L)});h._extremes[u]=a}k.exports=function(h){var l=h._fullLayout;if(d.filterVisible(l.annotations).length&&h._fullData.length)return d.syncOrAsync([i,M],h)}},44317:function(k,m,t){var d=t(71828),y=t(73972),i=t(44467).arrayEditor;function M(h,l){var a,u,o,s,c,f,p,w=h._fullLayout.annotations,v=[],S=[],x=[],T=(l||[]).length;for(a=0;a0||a.explicitOff.length>0},onClick:function(h,l){var a,u,o=M(h,l),s=o.on,c=o.off.concat(o.explicitOff),f={},p=h._fullLayout.annotations;if(s.length||c.length){for(a=0;a.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yt]}for(var Be=!1,ze=["x","y"],je=0;je1)&&(ot===st?((Vt=ft.r2fraction(T["a"+$e]))<0||Vt>1)&&(Be=!0):Be=!0),ge=ft._offset+ft.r2p(T[$e]),Ve=.5}else{var Ke=qt==="domain";$e==="x"?(Ee=T[$e],ge=Ke?ft._offset+ft._length*Ee:ge=R.l+R.w*Ee):(Ee=1-T[$e],ge=Ke?ft._offset+ft._length*Ee:ge=R.t+R.h*Ee),Ve=T.showarrow?.5:Ee}if(T.showarrow){Bt.head=ge;var Je=T["a"+$e];if(Ye=Et*Le(.5,T.xanchor)-kt*Le(.5,T.yanchor),ot===st){var qe=h.getRefType(ot);qe==="domain"?($e==="y"&&(Je=1-Je),Bt.tail=ft._offset+ft._length*Je):qe==="paper"?$e==="y"?(Je=1-Je,Bt.tail=R.t+R.h*Je):Bt.tail=R.l+R.w*Je:Bt.tail=ft._offset+ft.r2p(Je),we=Ye}else Bt.tail=ge+Je,we=Ye+Je;Bt.text=Bt.tail+Ye;var nt=I[$e==="x"?"width":"height"];if(st==="paper"&&(Bt.head=M.constrain(Bt.head,1,nt-1)),ot==="pixel"){var ht=-Math.max(Bt.tail-3,Bt.text),Pe=Math.min(Bt.tail+3,Bt.text)-nt;ht>0?(Bt.tail+=ht,Bt.text+=ht):Pe>0&&(Bt.tail-=Pe,Bt.text-=Pe)}Bt.tail+=Rt,Bt.head+=Rt}else we=Ye=xt*Le(Ve,Ft),Bt.text=ge+Ye;Bt.text+=Rt,Ye+=Rt,we+=Rt,T["_"+$e+"padplus"]=xt/2+we,T["_"+$e+"padminus"]=xt/2-we,T["_"+$e+"size"]=xt,T["_"+$e+"shift"]=Ye}if(Be)te.remove();else{var Ne=0,Qe=0;if(T.align!=="left"&&(Ne=(ae-Se)*(T.align==="center"?.5:1)),T.valign!=="top"&&(Qe=(he-Ce)*(T.valign==="middle"?.5:1)),_e)Oe.select("svg").attr({x:Q+Ne-1,y:Q+Qe}).call(a.setClipUrl,ie?j:null,x);else{var ut=Q+Qe-Me.top,dt=Q+Ne-Me.left;ye.call(o.positionText,dt,ut).call(a.setClipUrl,ie?j:null,x)}oe.select("rect").call(a.setRect,Q,Q,ae,he),re.call(a.setRect,Z/2,Z/2,be-Z,ke-Z),te.call(a.setTranslate,Math.round(Y.x.text-be/2),Math.round(Y.y.text-ke/2)),q.attr({transform:"rotate("+U+","+Y.x.text+","+Y.y.text+")"});var _t,It=function(Lt,yt){G.selectAll(".annotation-arrow-g").remove();var Ot=Y.x.head,wt=Y.y.head,Pt=Y.x.tail+Lt,Nt=Y.y.tail+yt,$t=Y.x.text+Lt,Wt=Y.y.text+yt,Xt=M.rotationXYMatrix(U,$t,Wt),Qt=M.apply2DTransform(Xt),rn=M.apply2DTransform2(Xt),xn=+re.attr("width"),un=+re.attr("height"),An=$t-.5*xn,$n=An+xn,kn=Wt-.5*un,sn=kn+un,Tn=[[An,kn,An,sn],[An,sn,$n,sn],[$n,sn,$n,kn],[$n,kn,An,kn]].map(rn);if(!Tn.reduce(function(or,vr){return or^!!M.segmentsIntersect(Ot,wt,Ot+1e6,wt+1e6,vr[0],vr[1],vr[2],vr[3])},!1)){Tn.forEach(function(or){var vr=M.segmentsIntersect(Pt,Nt,Ot,wt,or[0],or[1],or[2],or[3]);vr&&(Pt=vr.x,Nt=vr.y)});var dn=T.arrowwidth,pn=T.arrowcolor,Dn=T.arrowside,In=G.append("g").style({opacity:l.opacity(pn)}).classed("annotation-arrow-g",!0),jn=In.append("path").attr("d","M"+Pt+","+Nt+"L"+Ot+","+wt).style("stroke-width",dn+"px").call(l.stroke,l.rgb(pn));if(p(jn,Dn,T),D.annotationPosition&&jn.node().parentNode&&!_){var Gn=Ot,qn=wt;if(T.standoff){var lr=Math.sqrt(Math.pow(Ot-Pt,2)+Math.pow(wt-Nt,2));Gn+=T.standoff*(Pt-Ot)/lr,qn+=T.standoff*(Nt-wt)/lr}var rr,Sr,yr=In.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Pt-Gn)+","+(Nt-qn),transform:g(Gn,qn)}).style("stroke-width",dn+6+"px").call(l.stroke,"rgba(0,0,0,0)").call(l.fill,"rgba(0,0,0,0)");c.init({element:yr.node(),gd:x,prepFn:function(){var or=a.getTranslate(te);rr=or.x,Sr=or.y,A&&A.autorange&&B(A._name+".autorange",!0),L&&L.autorange&&B(L._name+".autorange",!0)},moveFn:function(or,vr){var _r=Qt(rr,Sr),Kt=_r[0]+or,bn=_r[1]+vr;te.call(a.setTranslate,Kt,bn),N("x",v(A,or,"x",R,T)),N("y",v(L,vr,"y",R,T)),T.axref===T.xref&&N("ax",v(A,or,"ax",R,T)),T.ayref===T.yref&&N("ay",v(L,vr,"ay",R,T)),In.attr("transform",g(or,vr)),q.attr({transform:"rotate("+U+","+Kt+","+bn+")"})},doneFn:function(){y.call("_guiRelayout",x,W());var or=document.querySelector(".js-notes-box-panel");or&&or.redraw(or.selectedObj)}})}}};T.showarrow&&It(0,0),H&&c.init({element:te.node(),gd:x,prepFn:function(){_t=q.attr("transform")},moveFn:function(Lt,yt){var Ot="pointer";if(T.showarrow)T.axref===T.xref?N("ax",v(A,Lt,"ax",R,T)):N("ax",T.ax+Lt),T.ayref===T.yref?N("ay",v(L,yt,"ay",R.w,T)):N("ay",T.ay+yt),It(Lt,yt);else{if(_)return;var wt,Pt;if(A)wt=v(A,Lt,"x",R,T);else{var Nt=T._xsize/R.w,$t=T.x+(T._xshift-T.xshift)/R.w-Nt/2;wt=c.align($t+Lt/R.w,Nt,0,1,T.xanchor)}if(L)Pt=v(L,yt,"y",R,T);else{var Wt=T._ysize/R.h,Xt=T.y-(T._yshift+T.yshift)/R.h-Wt/2;Pt=c.align(Xt-yt/R.h,Wt,0,1,T.yanchor)}N("x",wt),N("y",Pt),A&&L||(Ot=c.getCursor(A?.5:wt,L?.5:Pt,T.xanchor,T.yanchor))}q.attr({transform:g(Lt,yt)+_t}),s(te,Ot)},clickFn:function(Lt,yt){T.captureevents&&x.emit("plotly_clickannotation",de(yt))},doneFn:function(){s(te),y.call("_guiRelayout",x,W());var Lt=document.querySelector(".js-notes-box-panel");Lt&&Lt.redraw(Lt.selectedObj)}})}}}k.exports={draw:function(x){var T=x._fullLayout;T._infolayer.selectAll(".annotation").remove();for(var C=0;C=0,_=u.indexOf("end")>=0,A=v.backoff*x+o.standoff,L=S.backoff*T+o.startstandoff;if(w.nodeName==="line"){s={x:+a.attr("x1"),y:+a.attr("y1")},c={x:+a.attr("x2"),y:+a.attr("y2")};var b=s.x-c.x,P=s.y-c.y;if(p=(f=Math.atan2(P,b))+Math.PI,A&&L&&A+L>Math.sqrt(b*b+P*P))return void G();if(A){if(A*A>b*b+P*P)return void G();var I=A*Math.cos(f),R=A*Math.sin(f);c.x+=I,c.y+=R,a.attr({x2:c.x,y2:c.y})}if(L){if(L*L>b*b+P*P)return void G();var D=L*Math.cos(f),F=L*Math.sin(f);s.x-=D,s.y-=F,a.attr({x1:s.x,y1:s.y})}}else if(w.nodeName==="path"){var B=w.getTotalLength(),N="";if(B1){o=!0;break}}o?M.fullLayout._infolayer.select(".annotation-"+M.id+'[data-index="'+a+'"]').remove():(u._pdata=y(M.glplot.cameraParams,[g.xaxis.r2l(u.x)*h[0],g.yaxis.r2l(u.y)*h[1],g.zaxis.r2l(u.z)*h[2]]),d(M.graphDiv,u,a,M.id,u._xa,u._ya))}}},2468:function(k,m,t){var d=t(73972),y=t(71828);k.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t(26997)}}},layoutAttributes:t(26997),handleDefaults:t(20226),includeBasePlot:function(i,M){var g=d.subplotsRegistry.gl3d;if(g)for(var h=g.attrRegex,l=Object.keys(i),a=0;a=0)))return u;if(p===3)c[p]>1&&(c[p]=1);else if(c[p]>=1)return u}var w=Math.round(255*c[0])+", "+Math.round(255*c[1])+", "+Math.round(255*c[2]);return f?"rgba("+w+", "+c[3]+")":"rgb("+w+")"}M.tinyRGB=function(u){var o=u.toRgb();return"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")"},M.rgb=function(u){return M.tinyRGB(d(u))},M.opacity=function(u){return u?d(u).getAlpha():0},M.addOpacity=function(u,o){var s=d(u).toRgb();return"rgba("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+", "+o+")"},M.combine=function(u,o){var s=d(u).toRgb();if(s.a===1)return d(u).toRgbString();var c=d(o||l).toRgb(),f=c.a===1?c:{r:255*(1-c.a)+c.r*c.a,g:255*(1-c.a)+c.g*c.a,b:255*(1-c.a)+c.b*c.a},p={r:f.r*(1-s.a)+s.r*s.a,g:f.g*(1-s.a)+s.g*s.a,b:f.b*(1-s.a)+s.b*s.a};return d(p).toRgbString()},M.contrast=function(u,o,s){var c=d(u);return c.getAlpha()!==1&&(c=d(M.combine(u,l))),(c.isDark()?o?c.lighten(o):l:s?c.darken(s):h).toString()},M.stroke=function(u,o){var s=d(o);u.style({stroke:M.tinyRGB(s),"stroke-opacity":s.getAlpha()})},M.fill=function(u,o){var s=d(o);u.style({fill:M.tinyRGB(s),"fill-opacity":s.getAlpha()})},M.clean=function(u){if(u&&typeof u=="object"){var o,s,c,f,p=Object.keys(u);for(o=0;o0?Je>=Ne:Je<=Ne));qe++)Je>ut&&Je0?Je>=Ne:Je<=Ne));qe++)Je>Ke[0]&&Je1){var ot=Math.pow(10,Math.floor(Math.log(st)/Math.LN10));Ye*=ot*l.roundUp(st/ot,[2,5,10]),(Math.abs(_e.start)/_e.size+1e-6)%1<2e-6&&(Ee.tick0=0)}Ee.dtick=Ye}Ee.domain=W?[ge+Q/ue.h,ge+ke-Q/ue.h]:[ge+X/ue.w,ge+ke-X/ue.w],Ee.setScale(),F.attr("transform",a(Math.round(ue.l),Math.round(ue.t)));var ft,bt=F.select("."+L.cbtitleunshift).attr("transform",a(-Math.round(ue.l),-Math.round(ue.t))),Et=Ee.ticklabelposition,kt=Ee.title.font.size,xt=F.select("."+L.cbaxis),Ft=0,Rt=0;function Bt(qt,Vt){var Ke={propContainer:Ee,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:oe._dfltTitle.colorbar,containerGroup:F.select("."+L.cbtitle)},Je=qt.charAt(0)==="h"?qt.substr(1):"h"+qt;F.selectAll("."+Je+",."+Je+"-math-group").remove(),f.draw(N,qt,u(Ke,Vt||{}))}return l.syncOrAsync([i.previousPromises,function(){var qt,Vt;(W&&Ve||!W&&!Ve)&&(me==="top"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge-ke)+3+.75*kt),me==="bottom"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge)-3-.25*kt),me==="right"&&(Vt=Q+ue.t+ue.h*ie+3+.75*kt,qt=X+ue.l+ue.w*ge),Bt(Ee._id+"title",{attributes:{x:qt,y:Vt,"text-anchor":W?"start":"middle"}}))},function(){if(!W&&!Ve||W&&Ve){var qt,Vt=F.select("."+L.cbtitle),Ke=Vt.select("text"),Je=[-q/2,q/2],qe=Vt.select(".h"+Ee._id+"title-math-group").node(),nt=15.6;if(Ke.node()&&(nt=parseInt(Ke.node().style.fontSize,10)*C),qe?(qt=s.bBox(qe),Rt=qt.width,(Ft=qt.height)>nt&&(Je[1]-=(Ft-nt)/2)):Ke.node()&&!Ke.classed(L.jsPlaceholder)&&(qt=s.bBox(Ke.node()),Rt=qt.width,Ft=qt.height),W){if(Ft){if(Ft+=5,me==="top")Ee.domain[1]-=Ft/ue.h,Je[1]*=-1;else{Ee.domain[0]+=Ft/ue.h;var ht=p.lineCount(Ke);Je[1]+=(1-ht)*nt}Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale()}}else Rt&&(me==="right"&&(Ee.domain[0]+=(Rt+kt/2)/ue.w),Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale())}F.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",W?a(0,Math.round(ue.h*(1-Ee.domain[1]))):a(Math.round(ue.w*Ee.domain[0]),0)),xt.attr("transform",W?a(0,Math.round(-ue.t)):a(Math.round(-ue.l),0));var Pe=F.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(Se);Pe.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),Pe.exit().remove();var Ne=pe.map(Ee.c2p).map(Math.round).sort(function(It,Lt){return It-Lt});Pe.each(function(It,Lt){var yt=[Lt===0?pe[0]:(Se[Lt]+Se[Lt-1])/2,Lt===Se.length-1?pe[1]:(Se[Lt]+Se[Lt+1])/2].map(Ee.c2p).map(Math.round);W&&(yt[1]=l.constrain(yt[1]+(yt[1]>yt[0])?1:-1,Ne[0],Ne[1]));var Ot=d.select(this).attr(W?"x":"y",Le).attr(W?"y":"x",d.min(yt)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(d.max(yt)-d.min(yt),2));if(B._fillgradient)s.gradient(Ot,N,B._id,W?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var wt=Oe(It).replace("e-","");Ot.attr("fill",y(wt).toHexString())}});var Qe=F.select("."+L.cblines).selectAll("path."+L.cbline).data(ye.color&&ye.width?Ce:[]);Qe.enter().append("path").classed(L.cbline,!0),Qe.exit().remove(),Qe.each(function(It){var Lt=Le,yt=Math.round(Ee.c2p(It))+ye.width/2%1;d.select(this).attr("d","M"+(W?Lt+","+yt:yt+","+Lt)+(W?"h":"v")+ae).call(s.lineGroupStyle,ye.width,xe(It),ye.dash)}),xt.selectAll("g."+Ee._id+"tick,path").remove();var ut=Le+ae+(q||0)/2-(B.ticks==="outside"?1:0),dt=g.calcTicks(Ee),_t=g.getTickSigns(Ee)[2];return g.drawTicks(N,Ee,{vals:Ee.ticks==="inside"?g.clipEnds(Ee,dt):dt,layer:xt,path:g.makeTickPath(Ee,ut,_t),transFn:g.makeTransTickFn(Ee)}),g.drawLabels(N,Ee,{vals:dt,layer:xt,transFn:g.makeTransTickLabelFn(Ee),labelFns:g.makeLabelFns(Ee,ut)})},function(){if(W&&!Ve||!W&&Ve){var qt,Vt,Ke=Ee.position||0,Je=Ee._offset+Ee._length/2;if(me==="right")Vt=Je,qt=ue.l+ue.w*Ke+10+kt*(Ee.showticklabels?1:.5);else if(qt=Je,me==="bottom"&&(Vt=ue.t+ue.h*Ke+10+(Et.indexOf("inside")===-1?Ee.tickfont.size:0)+(Ee.ticks!=="intside"&&B.ticklen||0)),me==="top"){var qe=de.text.split("
").length;Vt=ue.t+ue.h*Ke+10-ae-C*kt*qe}Bt((W?"h":"v")+Ee._id+"title",{avoid:{selection:d.select(N).selectAll("g."+Ee._id+"tick"),side:me,offsetTop:W?0:ue.t,offsetLeft:W?ue.l:0,maxShift:W?oe.width:oe.height},attributes:{x:qt,y:Vt,"text-anchor":"middle"},transform:{rotate:W?-90:0,offset:0}})}},i.previousPromises,function(){var qt,Vt=ae+q/2;Et.indexOf("inside")===-1&&(qt=s.bBox(xt.node()),Vt+=W?qt.width:qt.height),ft=bt.select("text");var Ke=0,Je=W&&me==="top",qe=!W&&me==="right",nt=0;if(ft.node()&&!ft.classed(L.jsPlaceholder)){var ht,Pe=bt.select(".h"+Ee._id+"title-math-group").node();Pe&&(W&&Ve||!W&&!Ve)?(Ke=(qt=s.bBox(Pe)).width,ht=qt.height):(Ke=(qt=s.bBox(bt.node())).right-ue.l-(W?Le:we),ht=qt.bottom-ue.t-(W?we:Le),W||me!=="top"||(Vt+=qt.height,nt=qt.height)),qe&&(ft.attr("transform",a(Ke/2+kt/2,0)),Ke*=2),Vt=Math.max(Vt,W?Ke:ht)}var Ne=2*(W?X:Q)+Vt+H+q/2,Qe=0;!W&&de.text&&Z==="bottom"&&ie<=0&&(Ne+=Qe=Ne/2,nt+=Qe),oe._hColorbarMoveTitle=Qe,oe._hColorbarMoveCBTitle=nt;var ut=H+q;F.select("."+L.cbbg).attr("x",(W?Le:we)-ut/2-(W?X:0)).attr("y",(W?we:Le)-(W?be:Q+nt-Qe)).attr(W?"width":"height",Math.max(Ne-Qe,2)).attr(W?"height":"width",Math.max(be+ut,2)).call(c.fill,ne).call(c.stroke,B.bordercolor).style("stroke-width",H);var dt=qe?Math.max(Ke-10,0):0;if(F.selectAll("."+L.cboutline).attr("x",(W?Le:we+X)+dt).attr("y",(W?we+Q-be:Le)+(Je?Ft:0)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(be-(W?2*Q+Ft:2*X+dt),2)).call(c.stroke,B.outlinecolor).style({fill:"none","stroke-width":q}),F.attr("transform",a(ue.l-(W?Be*Ne:0),ue.t-(W?0:(1-ze)*Ne-nt))),!W&&(H||y(ne).getAlpha()&&!y.equals(oe.paper_bgcolor,ne))){var _t=xt.selectAll("text"),It=_t[0].length,Lt=F.select("."+L.cbbg).node(),yt=s.bBox(Lt),Ot=s.getTranslate(F);_t.each(function(Qt,rn){var xn=It-1;if(rn===0||rn===xn){var un,An=s.bBox(this),$n=s.getTranslate(this);if(rn===xn){var kn=An.right+$n.x;(un=yt.right+Ot.x+we-H-2+re-kn)>0&&(un=0)}else if(rn===0){var sn=An.left+$n.x;(un=yt.left+Ot.x+we+H+2-sn)<0&&(un=0)}un&&(It<3?this.setAttribute("transform","translate("+un+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var wt={},Pt=_[te],Nt=A[te],$t=_[Z],Wt=A[Z],Xt=Ne-ae;W?(Y==="pixels"?(wt.y=ie,wt.t=be*$t,wt.b=be*Wt):(wt.t=wt.b=0,wt.yt=ie+j*$t,wt.yb=ie-j*Wt),G==="pixels"?(wt.x=re,wt.l=Ne*Pt,wt.r=Ne*Nt):(wt.l=Xt*Pt,wt.r=Xt*Nt,wt.xl=re-U*Pt,wt.xr=re+U*Nt)):(Y==="pixels"?(wt.x=re,wt.l=be*Pt,wt.r=be*Nt):(wt.l=wt.r=0,wt.xl=re+j*Pt,wt.xr=re-j*Nt),G==="pixels"?(wt.y=1-ie,wt.t=Ne*$t,wt.b=Ne*Wt):(wt.t=Xt*$t,wt.b=Xt*Wt,wt.yt=ie-U*$t,wt.yb=ie+U*Wt)),i.autoMargin(N,B._id,wt)}],N)}(R,I,b);D&&D.then&&(b._promises||[]).push(D),b._context.edits.colorbarPosition&&function(F,B,N){var W,j,Y,U=B.orientation==="v",G=N._fullLayout._size;h.init({element:F.node(),gd:N,prepFn:function(){W=F.attr("transform"),o(F)},moveFn:function(q,H){F.attr("transform",W+a(q,H)),j=h.align((U?B._uFrac:B._vFrac)+q/G.w,U?B._thickFrac:B._lenFrac,0,1,B.xanchor),Y=h.align((U?B._vFrac:1-B._uFrac)-H/G.h,U?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ne=h.getCursor(j,Y,B.xanchor,B.yanchor);o(F,ne)},doneFn:function(){if(o(F),j!==void 0&&Y!==void 0){var q={};q[B._propPrefix+"x"]=j,q[B._propPrefix+"y"]=Y,B._traceIndex!==void 0?M.call("_guiRestyle",N,q,B._traceIndex):M.call("_guiRelayout",N,q)}}})}(R,I,b)}),P.exit().each(function(I){i.autoMargin(b,I._id)}).remove(),P.order()}}},76228:function(k,m,t){var d=t(71828);k.exports=function(y){return d.isPlainObject(y.colorbar)}},12311:function(k,m,t){k.exports={moduleType:"component",name:"colorbar",attributes:t(63583),supplyDefaults:t(62499),draw:t(98981).draw,hasColorbar:t(76228)}},50693:function(k,m,t){var d=t(63583),y=t(30587).counter,i=t(78607),M=t(63282).scales;function g(h){return"`"+h+"`"}i(M),k.exports=function(h,l){h=h||"";var a,u=(l=l||{}).cLetter||"c",o=("onlyIfNumerical"in l&&l.onlyIfNumerical,"noScale"in l?l.noScale:h==="marker.line"),s="showScaleDflt"in l?l.showScaleDflt:u==="z",c=typeof l.colorscaleDflt=="string"?M[l.colorscaleDflt]:null,f=l.editTypeOverride||"",p=h?h+".":"";"colorAttr"in l?(a=l.colorAttr,l.colorAttr):g(p+(a={z:"z",c:"color"}[u]));var w=u+"auto",v=u+"min",S=u+"max",x=u+"mid",T={};T[v]=T[S]=void 0;var C={};C[w]=!1;var _={};return a==="color"&&(_.color={valType:"color",arrayOk:!0,editType:f||"style"},l.anim&&(_.color.anim=!0)),_[w]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:T},_[v]={valType:"number",dflt:null,editType:f||"plot",impliedEdits:C},_[S]={valType:"number",dflt:null,editType:f||"plot",impliedEdits:C},_[x]={valType:"number",dflt:null,editType:"calc",impliedEdits:T},_.colorscale={valType:"colorscale",editType:"calc",dflt:c,impliedEdits:{autocolorscale:!1}},_.autocolorscale={valType:"boolean",dflt:l.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},_.reversescale={valType:"boolean",dflt:!1,editType:"plot"},o||(_.showscale={valType:"boolean",dflt:s,editType:"calc"},_.colorbar=d),l.noColorAxis||(_.coloraxis={valType:"subplotid",regex:y("coloraxis"),dflt:null,editType:"calc"}),_}},78803:function(k,m,t){var d=t(92770),y=t(71828),i=t(52075).extractOpts;k.exports=function(M,g,h){var l,a=M._fullLayout,u=h.vals,o=h.containerStr,s=o?y.nestedProperty(g,o).get():g,c=i(s),f=c.auto!==!1,p=c.min,w=c.max,v=c.mid,S=function(){return y.aggNums(Math.min,null,u)},x=function(){return y.aggNums(Math.max,null,u)};p===void 0?p=S():f&&(p=s._colorAx&&d(p)?Math.min(p,S()):S()),w===void 0?w=x():f&&(w=s._colorAx&&d(w)?Math.max(w,x()):x()),f&&v!==void 0&&(w-v>v-p?p=v-(w-v):w-v=0?a.colorscale.sequential:a.colorscale.sequentialminus,c._sync("colorscale",l))}},33046:function(k,m,t){var d=t(71828),y=t(52075).hasColorscale,i=t(52075).extractOpts;k.exports=function(M,g){function h(f,p){var w=f["_"+p];w!==void 0&&(f[p]=w)}function l(f,p){var w=p.container?d.nestedProperty(f,p.container).get():f;if(w)if(w.coloraxis)w._colorAx=g[w.coloraxis];else{var v=i(w),S=v.auto;(S||v.min===void 0)&&h(w,p.min),(S||v.max===void 0)&&h(w,p.max),v.autocolorscale&&h(w,"colorscale")}}for(var a=0;a=0;S--,x++){var T=p[S];v[x]=[1-T[0],T[1]]}return v}function c(p,w){w=w||{};for(var v=p.domain,S=p.range,x=S.length,T=new Array(x),C=0;C1.3333333333333333-h?g:h}},70461:function(k,m,t){var d=t(71828),y=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];k.exports=function(i,M,g,h){return i=g==="left"?0:g==="center"?1:g==="right"?2:d.constrain(Math.floor(3*i),0,2),M=h==="bottom"?0:h==="middle"?1:h==="top"?2:d.constrain(Math.floor(3*M),0,2),y[M][i]}},64505:function(k,m){m.selectMode=function(t){return t==="lasso"||t==="select"},m.drawMode=function(t){return t==="drawclosedpath"||t==="drawopenpath"||t==="drawline"||t==="drawrect"||t==="drawcircle"},m.openMode=function(t){return t==="drawline"||t==="drawopenpath"},m.rectMode=function(t){return t==="select"||t==="drawline"||t==="drawrect"||t==="drawcircle"},m.freeMode=function(t){return t==="lasso"||t==="drawclosedpath"||t==="drawopenpath"},m.selectingOrDrawing=function(t){return m.freeMode(t)||m.rectMode(t)}},28569:function(k,m,t){var d=t(48956),y=t(57035),i=t(38520),M=t(71828).removeElement,g=t(85555),h=k.exports={};h.align=t(92807),h.getCursor=t(70461);var l=t(26041);function a(){var o=document.createElement("div");o.className="dragcover";var s=o.style;return s.position="fixed",s.left=0,s.right=0,s.top=0,s.bottom=0,s.zIndex=999999999,s.background="none",document.body.appendChild(o),o}function u(o){return d(o.changedTouches?o.changedTouches[0]:o,document.body)}h.unhover=l.wrapped,h.unhoverRaw=l.raw,h.init=function(o){var s,c,f,p,w,v,S,x,T=o.gd,C=1,_=T._context.doubleClickDelay,A=o.element;T._mouseDownTime||(T._mouseDownTime=0),A.style.pointerEvents="all",A.onmousedown=b,i?(A._ontouchstart&&A.removeEventListener("touchstart",A._ontouchstart),A._ontouchstart=b,A.addEventListener("touchstart",b,{passive:!1})):A.ontouchstart=b;var L=o.clampFn||function(R,D,F){return Math.abs(R)_&&(C=Math.max(C-1,1)),T._dragged)o.doneFn&&o.doneFn();else if(o.clickFn&&o.clickFn(C,v),!x){var D;try{D=new MouseEvent("click",R)}catch{var F=u(R);(D=document.createEvent("MouseEvents")).initMouseEvent("click",R.bubbles,R.cancelable,R.view,R.detail,R.screenX,R.screenY,F[0],F[1],R.ctrlKey,R.altKey,R.shiftKey,R.metaKey,R.button,R.relatedTarget)}S.dispatchEvent(D)}T._dragging=!1,T._dragged=!1}else T._dragged=!1}},h.coverSlip=a},26041:function(k,m,t){var d=t(11086),y=t(79990),i=t(24401).getGraphDiv,M=t(26675),g=k.exports={};g.wrapped=function(h,l,a){(h=i(h))._fullLayout&&y.clear(h._fullLayout._uid+M.HOVERID),g.raw(h,l,a)},g.raw=function(h,l){var a=h._fullLayout,u=h._hoverdata;l||(l={}),l.target&&!h._dragged&&d.triggerHandler(h,"plotly_beforehover",l)===!1||(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),h._hoverdata=void 0,l.target&&u&&h.emit("plotly_unhover",{event:l,points:u}))}},79952:function(k,m){m.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},m.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(k,m,t){var d=t(39898),y=t(71828),i=y.numberFormat,M=t(92770),g=t(84267),h=t(73972),l=t(7901),a=t(21081),u=y.strTranslate,o=t(63893),s=t(77922),c=t(18783).LINE_SPACING,f=t(37822).DESELECTDIM,p=t(34098),w=t(39984),v=t(23469).appendArrayPointValue,S=k.exports={};function x(_e,Me,Se){var Ce=Me.fillpattern,ae=Ce&&S.getPatternAttr(Ce.shape,0,"");if(ae){var he=S.getPatternAttr(Ce.bgcolor,0,null),be=S.getPatternAttr(Ce.fgcolor,0,null),ke=Ce.fgopacity,Le=S.getPatternAttr(Ce.size,0,8),Be=S.getPatternAttr(Ce.solidity,0,.3),ze=Me.uid;S.pattern(_e,"point",Se,ze,ae,Le,Be,void 0,Ce.fillmode,he,be,ke)}else Me.fillcolor&&_e.call(l.fill,Me.fillcolor)}S.font=function(_e,Me,Se,Ce){y.isPlainObject(Me)&&(Ce=Me.color,Se=Me.size,Me=Me.family),Me&&_e.style("font-family",Me),Se+1&&_e.style("font-size",Se+"px"),Ce&&_e.call(l.fill,Ce)},S.setPosition=function(_e,Me,Se){_e.attr("x",Me).attr("y",Se)},S.setSize=function(_e,Me,Se){_e.attr("width",Me).attr("height",Se)},S.setRect=function(_e,Me,Se,Ce,ae){_e.call(S.setPosition,Me,Se).call(S.setSize,Ce,ae)},S.translatePoint=function(_e,Me,Se,Ce){var ae=Se.c2p(_e.x),he=Ce.c2p(_e.y);return!!(M(ae)&&M(he)&&Me.node())&&(Me.node().nodeName==="text"?Me.attr("x",ae).attr("y",he):Me.attr("transform",u(ae,he)),!0)},S.translatePoints=function(_e,Me,Se){_e.each(function(Ce){var ae=d.select(this);S.translatePoint(Ce,ae,Me,Se)})},S.hideOutsideRangePoint=function(_e,Me,Se,Ce,ae,he){Me.attr("display",Se.isPtWithinRange(_e,ae)&&Ce.isPtWithinRange(_e,he)?null:"none")},S.hideOutsideRangePoints=function(_e,Me){if(Me._hasClipOnAxisFalse){var Se=Me.xaxis,Ce=Me.yaxis;_e.each(function(ae){var he=ae[0].trace,be=he.xcalendar,ke=he.ycalendar,Le=h.traceIs(he,"bar-like")?".bartext":".point,.textpoint";_e.selectAll(Le).each(function(Be){S.hideOutsideRangePoint(Be,d.select(this),Se,Ce,be,ke)})})}},S.crispRound=function(_e,Me,Se){return Me&&M(Me)?_e._context.staticPlot?Me:Me<1?1:Math.round(Me):Se||0},S.singleLineStyle=function(_e,Me,Se,Ce,ae){Me.style("fill","none");var he=(((_e||[])[0]||{}).trace||{}).line||{},be=Se||he.width||0,ke=ae||he.dash||"";l.stroke(Me,Ce||he.color),S.dashLine(Me,ke,be)},S.lineGroupStyle=function(_e,Me,Se,Ce){_e.style("fill","none").each(function(ae){var he=(((ae||[])[0]||{}).trace||{}).line||{},be=Me||he.width||0,ke=Ce||he.dash||"";d.select(this).call(l.stroke,Se||he.color).call(S.dashLine,ke,be)})},S.dashLine=function(_e,Me,Se){Se=+Se||0,Me=S.dashStyle(Me,Se),_e.style({"stroke-dasharray":Me,"stroke-width":Se+"px"})},S.dashStyle=function(_e,Me){Me=+Me||1;var Se=Math.max(Me,3);return _e==="solid"?_e="":_e==="dot"?_e=Se+"px,"+Se+"px":_e==="dash"?_e=3*Se+"px,"+3*Se+"px":_e==="longdash"?_e=5*Se+"px,"+5*Se+"px":_e==="dashdot"?_e=3*Se+"px,"+Se+"px,"+Se+"px,"+Se+"px":_e==="longdashdot"&&(_e=5*Se+"px,"+2*Se+"px,"+Se+"px,"+2*Se+"px"),_e},S.singleFillStyle=function(_e,Me){var Se=d.select(_e.node());x(_e,((Se.data()[0]||[])[0]||{}).trace||{},Me)},S.fillGroupStyle=function(_e,Me){_e.style("stroke-width",0).each(function(Se){var Ce=d.select(this);Se[0].trace&&x(Ce,Se[0].trace,Me)})};var T=t(90998);S.symbolNames=[],S.symbolFuncs=[],S.symbolBackOffs=[],S.symbolNeedLines={},S.symbolNoDot={},S.symbolNoFill={},S.symbolList=[],Object.keys(T).forEach(function(_e){var Me=T[_e],Se=Me.n;S.symbolList.push(Se,String(Se),_e,Se+100,String(Se+100),_e+"-open"),S.symbolNames[Se]=_e,S.symbolFuncs[Se]=Me.f,S.symbolBackOffs[Se]=Me.backoff||0,Me.needLine&&(S.symbolNeedLines[Se]=!0),Me.noDot?S.symbolNoDot[Se]=!0:S.symbolList.push(Se+200,String(Se+200),_e+"-dot",Se+300,String(Se+300),_e+"-open-dot"),Me.noFill&&(S.symbolNoFill[Se]=!0)});var C=S.symbolNames.length;function _(_e,Me,Se,Ce){var ae=_e%100;return S.symbolFuncs[ae](Me,Se,Ce)+(_e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}S.symbolNumber=function(_e){if(M(_e))_e=+_e;else if(typeof _e=="string"){var Me=0;_e.indexOf("-open")>0&&(Me=100,_e=_e.replace("-open","")),_e.indexOf("-dot")>0&&(Me+=200,_e=_e.replace("-dot","")),(_e=S.symbolNames.indexOf(_e))>=0&&(_e+=Me)}return _e%100>=C||_e>=400?0:Math.floor(Math.max(_e,0))};var A={x1:1,x2:0,y1:0,y2:0},L={x1:0,x2:0,y1:1,y2:0},b=i("~f"),P={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:A},horizontalreversed:{node:"linearGradient",attrs:A,reversed:!0},vertical:{node:"linearGradient",attrs:L},verticalreversed:{node:"linearGradient",attrs:L,reversed:!0}};S.gradient=function(_e,Me,Se,Ce,ae,he){for(var be=ae.length,ke=P[Ce],Le=new Array(be),Be=0;Be=100;var Be=Oe(_e,Se),ze=Q(_e,Se);Me.attr("d",_(Le,ke,Be,ze))}var je,ge,we,Ee=!1;if(_e.so)we=be.outlierwidth,ge=be.outliercolor,je=he.outliercolor;else{var Ve=(be||{}).width;we=(_e.mlw+1||Ve+1||(_e.trace?(_e.trace.marker.line||{}).width:0)+1)-1||0,ge="mlc"in _e?_e.mlcc=Ce.lineScale(_e.mlc):y.isArrayOrTypedArray(be.color)?l.defaultLine:be.color,y.isArrayOrTypedArray(he.color)&&(je=l.defaultLine,Ee=!0),je="mc"in _e?_e.mcc=Ce.markerScale(_e.mc):he.color||"rgba(0,0,0,0)",Ce.selectedColorFn&&(je=Ce.selectedColorFn(_e))}if(_e.om)Me.call(l.stroke,je).style({"stroke-width":(we||1)+"px",fill:"none"});else{Me.style("stroke-width",(_e.isBlank?0:we)+"px");var Ye=he.gradient,$e=_e.mgt;$e?Ee=!0:$e=Ye&&Ye.type,y.isArrayOrTypedArray($e)&&($e=$e[0],P[$e]||($e=0));var st=he.pattern,ot=st&&S.getPatternAttr(st.shape,_e.i,"");if($e&&$e!=="none"){var ft=_e.mgc;ft?Ee=!0:ft=Ye.color;var bt=Se.uid;Ee&&(bt+="-"+_e.i),S.gradient(Me,ae,bt,$e,[[0,ft],[1,je]],"fill")}else if(ot){var Et=S.getPatternAttr(st.bgcolor,_e.i,null),kt=S.getPatternAttr(st.fgcolor,_e.i,null),xt=st.fgopacity,Ft=S.getPatternAttr(st.size,_e.i,8),Rt=S.getPatternAttr(st.solidity,_e.i,.3),Bt=_e.mcc||y.isArrayOrTypedArray(st.shape)||y.isArrayOrTypedArray(st.bgcolor)||y.isArrayOrTypedArray(st.size)||y.isArrayOrTypedArray(st.solidity),qt=Se.uid;Bt&&(qt+="-"+_e.i),S.pattern(Me,"point",ae,qt,ot,Ft,Rt,_e.mcc,st.fillmode,Et,kt,xt)}else l.fill(Me,je);we&&l.stroke(Me,ge)}},S.makePointStyleFns=function(_e){var Me={},Se=_e.marker;return Me.markerScale=S.tryColorscale(Se,""),Me.lineScale=S.tryColorscale(Se,"line"),h.traceIs(_e,"symbols")&&(Me.ms2mrc=p.isBubble(_e)?w(_e):function(){return(Se.size||6)/2}),_e.selectedpoints&&y.extendFlat(Me,S.makeSelectedPointStyleFns(_e)),Me},S.makeSelectedPointStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.marker||{},he=Se.marker||{},be=Ce.marker||{},ke=ae.opacity,Le=he.opacity,Be=be.opacity,ze=Le!==void 0,je=Be!==void 0;(y.isArrayOrTypedArray(ke)||ze||je)&&(Me.selectedOpacityFn=function(ft){var bt=ft.mo===void 0?ae.opacity:ft.mo;return ft.selected?ze?Le:bt:je?Be:f*bt});var ge=ae.color,we=he.color,Ee=be.color;(we||Ee)&&(Me.selectedColorFn=function(ft){var bt=ft.mcc||ge;return ft.selected?we||bt:Ee||bt});var Ve=ae.size,Ye=he.size,$e=be.size,st=Ye!==void 0,ot=$e!==void 0;return h.traceIs(_e,"symbols")&&(st||ot)&&(Me.selectedSizeFn=function(ft){var bt=ft.mrc||Ve/2;return ft.selected?st?Ye/2:bt:ot?$e/2:bt}),Me},S.makeSelectedTextStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.textfont||{},he=Se.textfont||{},be=Ce.textfont||{},ke=ae.color,Le=he.color,Be=be.color;return Me.selectedTextColorFn=function(ze){var je=ze.tc||ke;return ze.selected?Le||je:Be||(Le?je:l.addOpacity(je,f))},Me},S.selectedPointStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedPointStyleFns(Me),Ce=Me.marker||{},ae=[];Se.selectedOpacityFn&&ae.push(function(he,be){he.style("opacity",Se.selectedOpacityFn(be))}),Se.selectedColorFn&&ae.push(function(he,be){l.fill(he,Se.selectedColorFn(be))}),Se.selectedSizeFn&&ae.push(function(he,be){var ke=be.mx||Ce.symbol||0,Le=Se.selectedSizeFn(be);he.attr("d",_(S.symbolNumber(ke),Le,Oe(be,Me),Q(be,Me))),be.mrc2=Le}),ae.length&&_e.each(function(he){for(var be=d.select(this),ke=0;ke0?Se:0}function N(_e,Me,Se){return Se&&(_e=q(_e)),Me?j(_e[1]):W(_e[0])}function W(_e){var Me=d.round(_e,2);return I=Me,Me}function j(_e){var Me=d.round(_e,2);return R=Me,Me}function Y(_e,Me,Se,Ce){var ae=_e[0]-Me[0],he=_e[1]-Me[1],be=Se[0]-Me[0],ke=Se[1]-Me[1],Le=Math.pow(ae*ae+he*he,.25),Be=Math.pow(be*be+ke*ke,.25),ze=(Be*Be*ae-Le*Le*be)*Ce,je=(Be*Be*he-Le*Le*ke)*Ce,ge=3*Be*(Le+Be),we=3*Le*(Le+Be);return[[W(Me[0]+(ge&&ze/ge)),j(Me[1]+(ge&&je/ge))],[W(Me[0]-(we&&ze/we)),j(Me[1]-(we&&je/we))]]}S.textPointStyle=function(_e,Me,Se){if(_e.size()){var Ce;if(Me.selectedpoints){var ae=S.makeSelectedTextStyleFns(Me);Ce=ae.selectedTextColorFn}var he=Me.texttemplate,be=Se._fullLayout;_e.each(function(ke){var Le=d.select(this),Be=he?y.extractOption(ke,Me,"txt","texttemplate"):y.extractOption(ke,Me,"tx","text");if(Be||Be===0){if(he){var ze=Me._module.formatLabels,je=ze?ze(ke,Me,be):{},ge={};v(ge,Me,ke.i);var we=Me._meta||{};Be=y.texttemplateString(Be,je,be._d3locale,ge,ke,we)}var Ee=ke.tp||Me.textposition,Ve=B(ke,Me),Ye=Ce?Ce(ke):ke.tc||Me.textfont.color;Le.call(S.font,ke.tf||Me.textfont.family,Ve,Ye).text(Be).call(o.convertToTspans,Se).call(F,Ee,Ve,ke.mrc)}else Le.remove()})}},S.selectedTextStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedTextStyleFns(Me);_e.each(function(Ce){var ae=d.select(this),he=Se.selectedTextColorFn(Ce),be=Ce.tp||Me.textposition,ke=B(Ce,Me);l.fill(ae,he);var Le=h.traceIs(Me,"bar-like");F(ae,be,ke,Ce.mrc2||Ce.mrc,Le)})}},S.smoothopen=function(_e,Me){if(_e.length<3)return"M"+_e.join("L");var Se,Ce="M"+_e[0],ae=[];for(Se=1;Se<_e.length-1;Se++)ae.push(Y(_e[Se-1],_e[Se],_e[Se+1],Me));for(Ce+="Q"+ae[0][0]+" "+_e[1],Se=2;Se<_e.length-1;Se++)Ce+="C"+ae[Se-2][1]+" "+ae[Se-1][0]+" "+_e[Se];return Ce+"Q"+ae[_e.length-3][1]+" "+_e[_e.length-1]},S.smoothclosed=function(_e,Me){if(_e.length<3)return"M"+_e.join("L")+"Z";var Se,Ce="M"+_e[0],ae=_e.length-1,he=[Y(_e[ae],_e[0],_e[1],Me)];for(Se=1;Se=Le||ft>=ze&&ft<=Le)&&(bt<=je&&bt>=Be||bt>=je&&bt<=Be)&&(_e=[ft,bt])}return _e}S.steps=function(_e){var Me=U[_e]||G;return function(Se){for(var Ce="M"+W(Se[0][0])+","+j(Se[0][1]),ae=Se.length,he=1;he=1e4&&(S.savedBBoxes={},H=0),Se&&(S.savedBBoxes[Se]=we),H++,y.extendFlat({},we)},S.setClipUrl=function(_e,Me,Se){_e.attr("clip-path",te(Me,Se))},S.getTranslate=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||0,y:+Me[1]||0}},S.setTranslate=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",he=_e[Ce]("transform")||"";return Me=Me||0,Se=Se||0,he=he.replace(/(\btranslate\(.*?\);?)/,"").trim(),he=(he+=u(Me,Se)).trim(),_e[ae]("transform",he),he},S.getScale=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||1,y:+Me[1]||1}},S.setScale=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",he=_e[Ce]("transform")||"";return Me=Me||1,Se=Se||1,he=he.replace(/(\bscale\(.*?\);?)/,"").trim(),he=(he+="scale("+Me+","+Se+")").trim(),_e[ae]("transform",he),he};var Z=/\s*sc.*/;S.setPointGroupScale=function(_e,Me,Se){if(Me=Me||1,Se=Se||1,_e){var Ce=Me===1&&Se===1?"":"scale("+Me+","+Se+")";_e.each(function(){var ae=(this.getAttribute("transform")||"").replace(Z,"");ae=(ae+=Ce).trim(),this.setAttribute("transform",ae)})}};var X=/translate\([^)]*\)\s*$/;function Q(_e,Me){var Se;return _e&&(Se=_e.mf),Se===void 0&&(Se=Me.marker&&Me.marker.standoff||0),Me._geo||Me._xA?Se:-Se}S.setTextPointsScale=function(_e,Me,Se){_e&&_e.each(function(){var Ce,ae=d.select(this),he=ae.select("text");if(he.node()){var be=parseFloat(he.attr("x")||0),ke=parseFloat(he.attr("y")||0),Le=(ae.attr("transform")||"").match(X);Ce=Me===1&&Se===1?[]:[u(be,ke),"scale("+Me+","+Se+")",u(-be,-ke)],Le&&Ce.push(Le),ae.attr("transform",Ce.join(""))}})},S.getMarkerStandoff=Q;var re,ie,oe,ue,ce,ye,de=Math.atan2,me=Math.cos,pe=Math.sin;function xe(_e,Me){var Se=Me[0],Ce=Me[1];return[Se*me(_e)-Ce*pe(_e),Se*pe(_e)+Ce*me(_e)]}function Oe(_e,Me){var Se,Ce,ae=_e.ma;ae===void 0&&(ae=Me.marker.angle||0);var he=Me.marker.angleref;if(he==="previous"||he==="north"){if(Me._geo){var be=Me._geo.project(_e.lonlat);Se=be[0],Ce=be[1]}else{var ke=Me._xA,Le=Me._yA;if(!ke||!Le)return 90;Se=ke.c2p(_e.x),Ce=Le.c2p(_e.y)}if(Me._geo){var Be,ze=_e.lonlat[0],je=_e.lonlat[1],ge=Me._geo.project([ze,je+1e-5]),we=Me._geo.project([ze+1e-5,je]),Ee=de(we[1]-Ce,we[0]-Se),Ve=de(ge[1]-Ce,ge[0]-Se);if(he==="north")Be=ae/180*Math.PI;else if(he==="previous"){var Ye=ze/180*Math.PI,$e=je/180*Math.PI,st=re/180*Math.PI,ot=ie/180*Math.PI,ft=st-Ye,bt=me(ot)*pe(ft),Et=pe(ot)*me($e)-me(ot)*pe($e)*me(ft);Be=-de(bt,Et)-Math.PI,re=ze,ie=je}var kt=xe(Ee,[me(Be),0]),xt=xe(Ve,[pe(Be),0]);ae=de(kt[1]+xt[1],kt[0]+xt[0])/Math.PI*180,he!=="previous"||ye===Me.uid&&_e.i===ce+1||(ae=null)}if(he==="previous"&&!Me._geo)if(ye===Me.uid&&_e.i===ce+1&&M(Se)&&M(Ce)){var Ft=Se-oe,Rt=Ce-ue,Bt=Me.line&&Me.line.shape||"",qt=Bt.slice(Bt.length-1);qt==="h"&&(Rt=0),qt==="v"&&(Ft=0),ae+=de(Rt,Ft)/Math.PI*180+90}else ae=null}return oe=Se,ue=Ce,ce=_e.i,ye=Me.uid,ae}S.getMarkerAngle=Oe},90998:function(k,m,t){var d,y,i,M,g=t(95616),h=t(39898).round,l="M0,0Z",a=Math.sqrt(2),u=Math.sqrt(3),o=Math.PI,s=Math.cos,c=Math.sin;function f(w){return w===null}function p(w,v,S){if(!(w&&w%360!=0||v))return S;if(i===w&&M===v&&d===S)return y;function x(N,W){var j=s(N),Y=c(N),U=W[0],G=W[1]+(v||0);return[U*j-G*Y,U*Y+G*j]}i=w,M=v,d=S;for(var T=w/180*o,C=0,_=0,A=g(S),L="",b=0;b0,c=g._context.staticPlot;h.each(function(f){var p,w=f[0].trace,v=w.error_x||{},S=w.error_y||{};w.ids&&(p=function(_){return _.id});var x=M.hasMarkers(w)&&w.marker.maxdisplayed>0;S.visible||v.visible||(f=[]);var T=d.select(this).selectAll("g.errorbar").data(f,p);if(T.exit().remove(),f.length){v.visible||T.selectAll("path.xerror").remove(),S.visible||T.selectAll("path.yerror").remove(),T.style("opacity",1);var C=T.enter().append("g").classed("errorbar",!0);s&&C.style("opacity",0).transition().duration(a.duration).style("opacity",1),i.setClipUrl(T,l.layerClipId,g),T.each(function(_){var A=d.select(this),L=function(F,B,N){var W={x:B.c2p(F.x),y:N.c2p(F.y)};return F.yh!==void 0&&(W.yh=N.c2p(F.yh),W.ys=N.c2p(F.ys),y(W.ys)||(W.noYS=!0,W.ys=N.c2p(F.ys,!0))),F.xh!==void 0&&(W.xh=B.c2p(F.xh),W.xs=B.c2p(F.xs),y(W.xs)||(W.noXS=!0,W.xs=B.c2p(F.xs,!0))),W}(_,u,o);if(!x||_.vis){var b,P=A.select("path.yerror");if(S.visible&&y(L.x)&&y(L.yh)&&y(L.ys)){var I=S.width;b="M"+(L.x-I)+","+L.yh+"h"+2*I+"m-"+I+",0V"+L.ys,L.noYS||(b+="m-"+I+",0h"+2*I),P.size()?s&&(P=P.transition().duration(a.duration).ease(a.easing)):P=A.append("path").style("vector-effect",c?"none":"non-scaling-stroke").classed("yerror",!0),P.attr("d",b)}else P.remove();var R=A.select("path.xerror");if(v.visible&&y(L.y)&&y(L.xh)&&y(L.xs)){var D=(v.copy_ystyle?S:v).width;b="M"+L.xh+","+(L.y-D)+"v"+2*D+"m0,-"+D+"H"+L.xs,L.noXS||(b+="m0,-"+D+"v"+2*D),R.size()?s&&(R=R.transition().duration(a.duration).ease(a.easing)):R=A.append("path").style("vector-effect",c?"none":"non-scaling-stroke").classed("xerror",!0),R.attr("d",b)}else R.remove()}})}})}},62662:function(k,m,t){var d=t(39898),y=t(7901);k.exports=function(i){i.each(function(M){var g=M[0].trace,h=g.error_y||{},l=g.error_x||{},a=d.select(this);a.selectAll("path.yerror").style("stroke-width",h.thickness+"px").call(y.stroke,h.color),l.copy_ystyle&&(l=h),a.selectAll("path.xerror").style("stroke-width",l.thickness+"px").call(y.stroke,l.color)})}},77914:function(k,m,t){var d=t(41940),y=t(528).hoverlabel,i=t(1426).extendFlat;k.exports={hoverlabel:{bgcolor:i({},y.bgcolor,{arrayOk:!0}),bordercolor:i({},y.bordercolor,{arrayOk:!0}),font:d({arrayOk:!0,editType:"none"}),align:i({},y.align,{arrayOk:!0}),namelength:i({},y.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(k,m,t){var d=t(71828),y=t(73972);function i(M,g,h,l){l=l||d.identity,Array.isArray(M)&&(g[0][h]=l(M))}k.exports=function(M){var g=M.calcdata,h=M._fullLayout;function l(c){return function(f){return d.coerceHoverinfo({hoverinfo:f},{_module:c._module},h)}}for(var a=0;a=0&&u.indexae[0]._length||Je<0||Je>he[0]._length)return c.unhoverRaw(ue,ce)}else Ke="xpx"in ce?ce.xpx:ae[0]._length/2,Je="ypx"in ce?ce.ypx:he[0]._length/2;if(ce.pointerX=Ke+ae[0]._offset,ce.pointerY=Je+he[0]._offset,we="xval"in ce?w.flat(pe,ce.xval):w.p2c(ae,Ke),Ee="yval"in ce?w.flat(pe,ce.yval):w.p2c(he,Je),!y(we[0])||!y(Ee[0]))return M.warn("Fx.hover failed",ce,ue),c.unhoverRaw(ue,ce)}var ht=1/0;function Pe(Kt,bn){for(Ye=0;YeFt&&(Rt.splice(0,Ft),ht=Rt[0].distance),Me&&ge!==0&&Rt.length===0){xt.distance=ge,xt.index=!1;var Yn=st._module.hoverPoints(xt,Et,kt,"closest",{hoverLayer:xe._hoverlayer});if(Yn&&(Yn=Yn.filter(function(Jt){return Jt.spikeDistance<=ge})),Yn&&Yn.length){var tr,mr=Yn.filter(function(Jt){return Jt.xa.showspikes&&Jt.xa.spikesnap!=="hovered data"});if(mr.length){var nn=mr[0];y(nn.x0)&&y(nn.y0)&&(tr=Qe(nn),(!qt.vLinePoint||qt.vLinePoint.spikeDistance>tr.spikeDistance)&&(qt.vLinePoint=tr))}var On=Yn.filter(function(Jt){return Jt.ya.showspikes&&Jt.ya.spikesnap!=="hovered data"});if(On.length){var jt=On[0];y(jt.x0)&&y(jt.y0)&&(tr=Qe(jt),(!qt.hLinePoint||qt.hLinePoint.spikeDistance>tr.spikeDistance)&&(qt.hLinePoint=tr))}}}}}function Ne(Kt,bn,Pn){for(var Ln,Un=null,Kn=1/0,Yn=0;Yn0&&Math.abs(Kt.distance)$t-1;Wt--)xn(Rt[Wt]);Rt=Xt,It()}var un=ue._hoverdata,An=[],$n=ne(ue),kn=te(ue);for(Ve=0;Ve1||Rt.length>1)||ze==="closest"&&Vt&&Rt.length>1,yr=s.combine(xe.plot_bgcolor||s.background,xe.paper_bgcolor),or=B(Rt,{gd:ue,hovermode:ze,rotateLabels:Sr,bgColor:yr,container:xe._hoverlayer,outerContainer:xe._paper.node(),commonLabelOpts:xe.hoverlabel,hoverdistance:xe.hoverdistance}),vr=or.hoverLabels;if(w.isUnifiedHover(ze)||(function(Kt,bn,Pn,Ln){var Un,Kn,Yn,tr,mr,nn,On,jt=bn?"xa":"ya",Jt=bn?"ya":"xa",fn=0,zn=1,Rn=Kt.size(),En=new Array(Rn),mn=0,wn=Ln.minX,gn=Ln.maxX,yn=Ln.minY,Sn=Ln.maxY,Vn=function(Lr){return Lr*Pn._invScaleX},Xn=function(Lr){return Lr*Pn._invScaleY};function nr(Lr){var zr=Lr[0],gr=Lr[Lr.length-1];if(Kn=zr.pmin-zr.pos-zr.dp+zr.size,Yn=gr.pos+gr.dp+gr.size-zr.pmax,Kn>.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp+=Kn;Un=!1}if(!(Yn<.01)){if(Kn<-.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp-=Yn;Un=!1}if(Un){var Fr=0;for(tr=0;trzr.pmax&&Fr++;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos>zr.pmax-1&&(nn.del=!0,Fr--);for(tr=0;tr=0;mr--)Lr[mr].dp-=Yn;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos+nn.dp+nn.size>zr.pmax&&(nn.del=!0,Fr--)}}}for(Kt.each(function(Lr){var zr=Lr[jt],gr=Lr[Jt],Fr=zr._id.charAt(0)==="x",ii=zr.range;mn===0&&ii&&ii[0]>ii[1]!==Fr&&(zn=-1);var ji=0,ta=Fr?Pn.width:Pn.height;if(Pn.hovermode==="x"||Pn.hovermode==="y"){var sa,uo,La=W(Lr,bn),Xi=Lr.anchor,Do=Xi==="end"?-1:1;if(Xi==="middle")uo=(sa=Lr.crossPos+(Fr?Xn(La.y-Lr.by/2):Vn(Lr.bx/2+Lr.tx2width/2)))+(Fr?Xn(Lr.by):Vn(Lr.bx));else if(Fr)uo=(sa=Lr.crossPos+Xn(b+La.y)-Xn(Lr.by/2-b))+Xn(Lr.by);else{var as=Vn(Do*b+La.x),tl=as+Vn(Do*Lr.bx);sa=Lr.crossPos+Math.min(as,tl),uo=Lr.crossPos+Math.max(as,tl)}Fr?yn!==void 0&&Sn!==void 0&&Math.min(uo,Sn)-Math.max(sa,yn)>1&&(gr.side==="left"?(ji=gr._mainLinePosition,ta=Pn.width):ta=gr._mainLinePosition):wn!==void 0&&gn!==void 0&&Math.min(uo,gn)-Math.max(sa,wn)>1&&(gr.side==="top"?(ji=gr._mainLinePosition,ta=Pn.height):ta=gr._mainLinePosition)}En[mn++]=[{datum:Lr,traceIndex:Lr.trace.index,dp:0,pos:Lr.pos,posref:Lr.posref,size:Lr.by*(Fr?_:1)/2,pmin:ji,pmax:ta}]}),En.sort(function(Lr,zr){return Lr[0].posref-zr[0].posref||zn*(zr[0].traceIndex-Lr[0].traceIndex)});!Un&&fn<=Rn;){for(fn++,Un=!0,tr=0;tr.01&&cr.pmin===pr.pmin&&cr.pmax===pr.pmax){for(mr=fr.length-1;mr>=0;mr--)fr[mr].dp+=Kn;for(Qn.push.apply(Qn,fr),En.splice(tr+1,1),On=0,mr=Qn.length-1;mr>=0;mr--)On+=Qn[mr].dp;for(Yn=On/Qn.length,mr=Qn.length-1;mr>=0;mr--)Qn[mr].dp-=Yn;Un=!1}else tr++}En.forEach(nr)}for(tr=En.length-1;tr>=0;tr--){var dr=En[tr];for(mr=dr.length-1;mr>=0;mr--){var br=dr[mr],Pr=br.datum;Pr.offset=br.dp,Pr.del=br.del}}}(vr,Sr,xe,or.commonLabelBoundingBox),j(vr,Sr,xe._invScaleX,xe._invScaleY)),me&&me.tagName){var _r=p.getComponentMethod("annotations","hasClickToShow")(ue,An);u(d.select(me),_r?"pointer":"")}me&&!de&&function(Kt,bn,Pn){if(!Pn||Pn.length!==Kt._hoverdata.length)return!0;for(var Ln=Pn.length-1;Ln>=0;Ln--){var Un=Pn[Ln],Kn=Kt._hoverdata[Ln];if(Un.curveNumber!==Kn.curveNumber||String(Un.pointNumber)!==String(Kn.pointNumber)||String(Un.pointNumbers)!==String(Kn.pointNumbers))return!0}return!1}(ue,0,un)&&(un&&ue.emit("plotly_unhover",{event:ce,points:un}),ue.emit("plotly_hover",{event:ce,points:ue._hoverdata,xaxes:ae,yaxes:he,xvals:we,yvals:Ee}))})(X,Q,re,ie,oe)})},m.loneHover=function(X,Q){var re=!0;Array.isArray(X)||(re=!1,X=[X]);var ie=Q.gd,oe=ne(ie),ue=te(ie),ce=B(X.map(function(me){var pe=me._x0||me.x0||me.x||0,xe=me._x1||me.x1||me.x||0,Oe=me._y0||me.y0||me.y||0,_e=me._y1||me.y1||me.y||0,Me=me.eventData;if(Me){var Se=Math.min(pe,xe),Ce=Math.max(pe,xe),ae=Math.min(Oe,_e),he=Math.max(Oe,_e),be=me.trace;if(p.traceIs(be,"gl3d")){var ke=ie._fullLayout[be.scene]._scene.container,Le=ke.offsetLeft,Be=ke.offsetTop;Se+=Le,Ce+=Le,ae+=Be,he+=Be}Me.bbox={x0:Se+ue,x1:Ce+ue,y0:ae+oe,y1:he+oe},Q.inOut_bbox&&Q.inOut_bbox.push(Me.bbox)}else Me=!1;return{color:me.color||s.defaultLine,x0:me.x0||me.x||0,x1:me.x1||me.x||0,y0:me.y0||me.y||0,y1:me.y1||me.y||0,xLabel:me.xLabel,yLabel:me.yLabel,zLabel:me.zLabel,text:me.text,name:me.name,idealAlign:me.idealAlign,borderColor:me.borderColor,fontFamily:me.fontFamily,fontSize:me.fontSize,fontColor:me.fontColor,nameLength:me.nameLength,textAlign:me.textAlign,trace:me.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:me.hovertemplate||!1,hovertemplateLabels:me.hovertemplateLabels||!1,eventData:Me}}),{gd:ie,hovermode:"closest",rotateLabels:!1,bgColor:Q.bgColor||s.background,container:d.select(Q.container),outerContainer:Q.outerContainer||Q.container}).hoverLabels,ye=0,de=0;return ce.sort(function(me,pe){return me.y0-pe.y0}).each(function(me,pe){var xe=me.y0-me.by/2;me.offset=xe-5([\s\S]*)<\/extra>/;function B(X,Q){var re=Q.gd,ie=re._fullLayout,oe=Q.hovermode,ue=Q.rotateLabels,ce=Q.bgColor,ye=Q.container,de=Q.outerContainer,me=Q.commonLabelOpts||{};if(X.length===0)return[[]];var pe=Q.fontFamily||v.HOVERFONT,xe=Q.fontSize||v.HOVERFONTSIZE,Oe=X[0],_e=Oe.xa,Me=Oe.ya,Se=oe.charAt(0),Ce=Se+"Label",ae=Oe[Ce];if(ae===void 0&&_e.type==="multicategory")for(var he=0;heie.width-kn?(xn=ie.width-kn,Nt.attr("d","M"+(kn-b)+",0L"+kn+","+$n+b+"v"+$n+(2*P+An.height)+"H-"+kn+"V"+$n+b+"H"+(kn-2*b)+"Z")):Nt.attr("d","M0,0L"+b+","+$n+b+"H"+kn+"v"+$n+(2*P+An.height)+"H-"+kn+"V"+$n+b+"H-"+b+"Z"),Ye.minX=xn-kn,Ye.maxX=xn+kn,_e.side==="top"?(Ye.minY=un-(2*P+An.height),Ye.maxY=un-P):(Ye.minY=un+P,Ye.maxY=un+(2*P+An.height))}else{var sn,Tn,dn;Me.side==="right"?(sn="start",Tn=1,dn="",xn=_e._offset+_e._length):(sn="end",Tn=-1,dn="-",xn=_e._offset),un=Me._offset+(Oe.y0+Oe.y1)/2,$t.attr("text-anchor",sn),Nt.attr("d","M0,0L"+dn+b+","+b+"V"+(P+An.height/2)+"h"+dn+(2*P+An.width)+"V-"+(P+An.height/2)+"H"+dn+b+"V-"+b+"Z"),Ye.minY=un-(P+An.height/2),Ye.maxY=un+(P+An.height/2),Me.side==="right"?(Ye.minX=xn+b,Ye.maxX=xn+b+(2*P+An.width)):(Ye.minX=xn-b-(2*P+An.width),Ye.maxX=xn-b);var pn,Dn=An.height/2,In=ke-An.top-Dn,jn="clip"+ie._uid+"commonlabel"+Me._id;if(xn=0?Je:qe+Pe=0?qe:yt+Pe=0?Vt:Ke+Ne=0?Ke:Ot+Ne=0,Pt.idealAlign!=="top"&&rr||!Sr?rr?(Dn+=jn/2,Pt.anchor="start"):Pt.anchor="middle":(Dn-=jn/2,Pt.anchor="end"),Pt.crossPos=Dn;else{if(Pt.pos=Dn,rr=pn+In/2+yr<=Le,Sr=pn-In/2-yr>=0,Pt.idealAlign!=="left"&&rr||!Sr)if(rr)pn+=In/2,Pt.anchor="start";else{Pt.anchor="middle";var or=yr/2,vr=pn+or-Le,_r=pn-or;vr>0&&(pn-=vr),_r<0&&(pn+=-_r)}else pn-=In/2,Pt.anchor="end";Pt.crossPos=pn}$n.attr("text-anchor",Pt.anchor),sn&&kn.attr("text-anchor",Pt.anchor),Nt.attr("transform",g(pn,Dn)+(ue?h(T):""))}),{hoverLabels:wt,commonLabelBoundingBox:Ye}}function N(X,Q,re,ie,oe,ue){var ce="",ye="";X.nameOverride!==void 0&&(X.name=X.nameOverride),X.name&&(X.trace._meta&&(X.name=M.templateString(X.name,X.trace._meta)),ce=q(X.name,X.nameLength));var de=re.charAt(0),me=de==="x"?"y":"x";X.zLabel!==void 0?(X.xLabel!==void 0&&(ye+="x: "+X.xLabel+"
"),X.yLabel!==void 0&&(ye+="y: "+X.yLabel+"
"),X.trace.type!=="choropleth"&&X.trace.type!=="choroplethmapbox"&&(ye+=(ye?"z: ":"")+X.zLabel)):Q&&X[de+"Label"]===oe?ye=X[me+"Label"]||"":X.xLabel===void 0?X.yLabel!==void 0&&X.trace.type!=="scattercarpet"&&(ye=X.yLabel):ye=X.yLabel===void 0?X.xLabel:"("+X.xLabel+", "+X.yLabel+")",!X.text&&X.text!==0||Array.isArray(X.text)||(ye+=(ye?"
":"")+X.text),X.extraText!==void 0&&(ye+=(ye?"
":"")+X.extraText),ue&&ye===""&&!X.hovertemplate&&(ce===""&&ue.remove(),ye=ce);var pe=X.hovertemplate||!1;if(pe){var xe=X.hovertemplateLabels||X;X[de+"Label"]!==oe&&(xe[de+"other"]=xe[de+"Val"],xe[de+"otherLabel"]=xe[de+"Label"]),ye=(ye=M.hovertemplateString(pe,xe,ie._d3locale,X.eventData[0]||{},X.trace._meta)).replace(F,function(Oe,_e){return ce=q(_e,X.nameLength),""})}return[ye,ce]}function W(X,Q){var re=0,ie=X.offset;return Q&&(ie*=-L,re=X.offset*A),{x:re,y:ie}}function j(X,Q,re,ie){var oe=function(ce){return ce*re},ue=function(ce){return ce*ie};X.each(function(ce){var ye=d.select(this);if(ce.del)return ye.remove();var de,me,pe,xe,Oe=ye.select("text.nums"),_e=ce.anchor,Me=_e==="end"?-1:1,Se=(xe=(pe=(me={start:1,end:-1,middle:0}[(de=ce).anchor])*(b+P))+me*(de.txwidth+P),de.anchor==="middle"&&(pe-=de.tx2width/2,xe+=de.txwidth/2+P),{alignShift:me,textShiftX:pe,text2ShiftX:xe}),Ce=W(ce,Q),ae=Ce.x,he=Ce.y,be=_e==="middle";ye.select("path").attr("d",be?"M-"+oe(ce.bx/2+ce.tx2width/2)+","+ue(he-ce.by/2)+"h"+oe(ce.bx)+"v"+ue(ce.by)+"h-"+oe(ce.bx)+"Z":"M0,0L"+oe(Me*b+ae)+","+ue(b+he)+"v"+ue(ce.by/2-b)+"h"+oe(Me*ce.bx)+"v-"+ue(ce.by)+"H"+oe(Me*b+ae)+"V"+ue(he-b)+"Z");var ke=ae+Se.textShiftX,Le=he+ce.ty0-ce.by/2+P,Be=ce.textAlign||"auto";Be!=="auto"&&(Be==="left"&&_e!=="start"?(Oe.attr("text-anchor","start"),ke=be?-ce.bx/2-ce.tx2width/2+P:-ce.bx-P):Be==="right"&&_e!=="end"&&(Oe.attr("text-anchor","end"),ke=be?ce.bx/2-ce.tx2width/2-P:ce.bx+P)),Oe.call(a.positionText,oe(ke),ue(Le)),ce.tx2width&&(ye.select("text.name").call(a.positionText,oe(Se.text2ShiftX+Se.alignShift*P+ae),ue(he+ce.ty0-ce.by/2+P)),ye.select("rect").call(o.setRect,oe(Se.text2ShiftX+(Se.alignShift-1)*ce.tx2width/2+ae),ue(he-ce.by/2-1),oe(ce.tx2width),ue(ce.by+2)))})}function Y(X,Q){var re=X.index,ie=X.trace||{},oe=X.cd[0],ue=X.cd[re]||{};function ce(Oe){return Oe||y(Oe)&&Oe===0}var ye=Array.isArray(re)?function(Oe,_e){var Me=M.castOption(oe,re,Oe);return ce(Me)?Me:M.extractOption({},ie,"",_e)}:function(Oe,_e){return M.extractOption(ue,ie,Oe,_e)};function de(Oe,_e,Me){var Se=ye(_e,Me);ce(Se)&&(X[Oe]=Se)}if(de("hoverinfo","hi","hoverinfo"),de("bgcolor","hbg","hoverlabel.bgcolor"),de("borderColor","hbc","hoverlabel.bordercolor"),de("fontFamily","htf","hoverlabel.font.family"),de("fontSize","hts","hoverlabel.font.size"),de("fontColor","htc","hoverlabel.font.color"),de("nameLength","hnl","hoverlabel.namelength"),de("textAlign","hta","hoverlabel.align"),X.posref=Q==="y"||Q==="closest"&&ie.orientation==="h"?X.xa._offset+(X.x0+X.x1)/2:X.ya._offset+(X.y0+X.y1)/2,X.x0=M.constrain(X.x0,0,X.xa._length),X.x1=M.constrain(X.x1,0,X.xa._length),X.y0=M.constrain(X.y0,0,X.ya._length),X.y1=M.constrain(X.y1,0,X.ya._length),X.xLabelVal!==void 0&&(X.xLabel="xLabel"in X?X.xLabel:f.hoverLabelText(X.xa,X.xLabelVal,ie.xhoverformat),X.xVal=X.xa.c2d(X.xLabelVal)),X.yLabelVal!==void 0&&(X.yLabel="yLabel"in X?X.yLabel:f.hoverLabelText(X.ya,X.yLabelVal,ie.yhoverformat),X.yVal=X.ya.c2d(X.yLabelVal)),X.zLabelVal!==void 0&&X.zLabel===void 0&&(X.zLabel=String(X.zLabelVal)),!(isNaN(X.xerr)||X.xa.type==="log"&&X.xerr<=0)){var me=f.tickText(X.xa,X.xa.c2l(X.xerr),"hover").text;X.xerrneg!==void 0?X.xLabel+=" +"+me+" / -"+f.tickText(X.xa,X.xa.c2l(X.xerrneg),"hover").text:X.xLabel+=" ยฑ "+me,Q==="x"&&(X.distance+=1)}if(!(isNaN(X.yerr)||X.ya.type==="log"&&X.yerr<=0)){var pe=f.tickText(X.ya,X.ya.c2l(X.yerr),"hover").text;X.yerrneg!==void 0?X.yLabel+=" +"+pe+" / -"+f.tickText(X.ya,X.ya.c2l(X.yerrneg),"hover").text:X.yLabel+=" ยฑ "+pe,Q==="y"&&(X.distance+=1)}var xe=X.hoverinfo||X.trace.hoverinfo;return xe&&xe!=="all"&&((xe=Array.isArray(xe)?xe:xe.split("+")).indexOf("x")===-1&&(X.xLabel=void 0),xe.indexOf("y")===-1&&(X.yLabel=void 0),xe.indexOf("z")===-1&&(X.zLabel=void 0),xe.indexOf("text")===-1&&(X.text=void 0),xe.indexOf("name")===-1&&(X.name=void 0)),X}function U(X,Q,re){var ie,oe,ue=re.container,ce=re.fullLayout,ye=ce._size,de=re.event,me=!!Q.hLinePoint,pe=!!Q.vLinePoint;if(ue.selectAll(".spikeline").remove(),pe||me){var xe=s.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(me){var Oe,_e,Me=Q.hLinePoint;ie=Me&&Me.xa,(oe=Me&&Me.ya).spikesnap==="cursor"?(Oe=de.pointerX,_e=de.pointerY):(Oe=ie._offset+Me.x,_e=oe._offset+Me.y);var Se,Ce,ae=i.readability(Me.color,xe)<1.5?s.contrast(xe):Me.color,he=oe.spikemode,be=oe.spikethickness,ke=oe.spikecolor||ae,Le=f.getPxPosition(X,oe);if(he.indexOf("toaxis")!==-1||he.indexOf("across")!==-1){if(he.indexOf("toaxis")!==-1&&(Se=Le,Ce=Oe),he.indexOf("across")!==-1){var Be=oe._counterDomainMin,ze=oe._counterDomainMax;oe.anchor==="free"&&(Be=Math.min(Be,oe.position),ze=Math.max(ze,oe.position)),Se=ye.l+Be*ye.w,Ce=ye.l+ze*ye.w}ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be,stroke:ke,"stroke-dasharray":o.dashStyle(oe.spikedash,be)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}he.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:Le+(oe.side!=="right"?be:-be),cy:_e,r:be,fill:ke}).classed("spikeline",!0)}if(pe){var je,ge,we=Q.vLinePoint;ie=we&&we.xa,oe=we&&we.ya,ie.spikesnap==="cursor"?(je=de.pointerX,ge=de.pointerY):(je=ie._offset+we.x,ge=oe._offset+we.y);var Ee,Ve,Ye=i.readability(we.color,xe)<1.5?s.contrast(xe):we.color,$e=ie.spikemode,st=ie.spikethickness,ot=ie.spikecolor||Ye,ft=f.getPxPosition(X,ie);if($e.indexOf("toaxis")!==-1||$e.indexOf("across")!==-1){if($e.indexOf("toaxis")!==-1&&(Ee=ft,Ve=ge),$e.indexOf("across")!==-1){var bt=ie._counterDomainMin,Et=ie._counterDomainMax;ie.anchor==="free"&&(bt=Math.min(bt,ie.position),Et=Math.max(Et,ie.position)),Ee=ye.t+(1-Et)*ye.h,Ve=ye.t+(1-bt)*ye.h}ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st,stroke:ot,"stroke-dasharray":o.dashStyle(ie.spikedash,st)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}$e.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:je,cy:ft-(ie.side!=="top"?st:-st),r:st,fill:ot}).classed("spikeline",!0)}}}function G(X,Q){return!Q||Q.vLinePoint!==X._spikepoints.vLinePoint||Q.hLinePoint!==X._spikepoints.hLinePoint}function q(X,Q){return a.plainText(X||"",{len:Q,allowedTags:["br","sub","sup","b","i","em"]})}function H(X,Q,re){var ie=Q[X+"a"],oe=Q[X+"Val"],ue=Q.cd[0];if(ie.type==="category"||ie.type==="multicategory")oe=ie._categoriesMap[oe];else if(ie.type==="date"){var ce=Q.trace[X+"periodalignment"];if(ce){var ye=Q.cd[Q.index],de=ye[X+"Start"];de===void 0&&(de=ye[X]);var me=ye[X+"End"];me===void 0&&(me=ye[X]);var pe=me-de;ce==="end"?oe+=pe:ce==="middle"&&(oe+=pe/2)}oe=ie.d2c(oe)}return ue&&ue.t&&ue.t.posLetter===ie._id&&(re.boxmode!=="group"&&re.violinmode!=="group"||(oe+=ue.t.dPos)),oe}function ne(X){return X.offsetTop+X.clientTop}function te(X){return X.offsetLeft+X.clientLeft}function Z(X,Q){var re=X._fullLayout,ie=Q.getBoundingClientRect(),oe=ie.left,ue=ie.top,ce=oe+ie.width,ye=ue+ie.height,de=M.apply3DTransform(re._invTransform)(oe,ue),me=M.apply3DTransform(re._invTransform)(ce,ye),pe=de[0],xe=de[1],Oe=me[0],_e=me[1];return{x:pe,y:xe,width:Oe-pe,height:_e-xe,top:Math.min(xe,_e),left:Math.min(pe,Oe),right:Math.max(pe,Oe),bottom:Math.max(xe,_e)}}},38048:function(k,m,t){var d=t(71828),y=t(7901),i=t(23469).isUnifiedHover;k.exports=function(M,g,h,l){l=l||{};var a=g.legend;function u(o){l.font[o]||(l.font[o]=a?g.legend.font[o]:g.font[o])}g&&i(g.hovermode)&&(l.font||(l.font={}),u("size"),u("family"),u("color"),a?(l.bgcolor||(l.bgcolor=y.combine(g.legend.bgcolor,g.paper_bgcolor)),l.bordercolor||(l.bordercolor=g.legend.bordercolor)):l.bgcolor||(l.bgcolor=g.paper_bgcolor)),h("hoverlabel.bgcolor",l.bgcolor),h("hoverlabel.bordercolor",l.bordercolor),h("hoverlabel.namelength",l.namelength),d.coerceFont(h,"hoverlabel.font",l.font),h("hoverlabel.align",l.align)}},98212:function(k,m,t){var d=t(71828),y=t(528);k.exports=function(i,M){function g(h,l){return M[h]!==void 0?M[h]:d.coerce(i,M,y,h,l)}return g("clickmode"),g("hovermode")}},30211:function(k,m,t){var d=t(39898),y=t(71828),i=t(28569),M=t(23469),g=t(528),h=t(88335);k.exports={moduleType:"component",name:"fx",constants:t(26675),schema:{layout:g},attributes:t(77914),layoutAttributes:g,supplyLayoutGlobalDefaults:t(22774),supplyDefaults:t(54268),supplyLayoutDefaults:t(34938),calc:t(30732),getDistanceFunction:M.getDistanceFunction,getClosest:M.getClosest,inbox:M.inbox,quadrature:M.quadrature,appendArrayPointValue:M.appendArrayPointValue,castHoverOption:function(l,a,u){return y.castOption(l,a,"hoverlabel."+u)},castHoverinfo:function(l,a,u){return y.castOption(l,u,"hoverinfo",function(o){return y.coerceHoverinfo({hoverinfo:o},{_module:l._module},a)})},hover:h.hover,unhover:i.unhover,loneHover:h.loneHover,loneUnhover:function(l){var a=y.isD3Selection(l)?l:d.select(l);a.selectAll("g.hovertext").remove(),a.selectAll(".spikeline").remove()},click:t(75914)}},528:function(k,m,t){var d=t(26675),y=t(41940),i=y({editType:"none"});i.family.dflt=d.HOVERFONT,i.size.dflt=d.HOVERFONTSIZE,k.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:i,grouptitlefont:y({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(k,m,t){var d=t(71828),y=t(528),i=t(98212),M=t(38048);k.exports=function(g,h){function l(s,c){return d.coerce(g,h,y,s,c)}i(g,h)&&(l("hoverdistance"),l("spikedistance")),l("dragmode")==="select"&&l("selectdirection");var a=h._has("mapbox"),u=h._has("geo"),o=h._basePlotModules.length;h.dragmode==="zoom"&&((a||u)&&o===1||a&&u&&o===2)&&(h.dragmode="pan"),M(g,h,l),d.coerceFont(l,"hoverlabel.grouptitlefont",h.hoverlabel.font)}},22774:function(k,m,t){var d=t(71828),y=t(38048),i=t(528);k.exports=function(M,g){y(M,g,function(h,l){return d.coerce(M,g,i,h,l)})}},83312:function(k,m,t){var d=t(71828),y=t(30587).counter,i=t(27670).Y,M=t(85555).idRegex,g=t(44467),h={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[y("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:i({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function l(o,s,c){var f=s[c+"axes"],p=Object.keys((o._splomAxes||{})[c]||{});return Array.isArray(f)?f:p.length?p:void 0}function a(o,s,c,f,p,w){var v=s(o+"gap",c),S=s("domain."+o);s(o+"side",f);for(var x=new Array(p),T=S[0],C=(S[1]-T)/(p-v),_=C*(1-v),A=0;A1){S||x||T||F("pattern")==="independent"&&(S=!0),_._hasSubplotGrid=S;var b,P,I=F("roworder")==="top to bottom",R=S?.2:.1,D=S?.3:.1;C&&s._splomGridDflt&&(b=s._splomGridDflt.xside,P=s._splomGridDflt.yside),_._domains={x:a("x",F,R,b,L),y:a("y",F,D,P,A,I)}}else delete s.grid}function F(B,N){return d.coerce(c,_,h,B,N)}},contentDefaults:function(o,s){var c=s.grid;if(c&&c._domains){var f,p,w,v,S,x,T,C=o.grid||{},_=s._subplots,A=c._hasSubplotGrid,L=c.rows,b=c.columns,P=c.pattern==="independent",I=c._axisMap={};if(A){var R=C.subplots||[];x=c.subplots=new Array(L);var D=1;for(f=0;f1);if(P===!1&&(s.legend=void 0),(P!==!1||f.uirevision)&&(w("uirevision",s.uirevision),P!==!1)){w("borderwidth");var I,R,D,F=w("orientation")==="h";if(F?(I=0,d.getComponentMethod("rangeslider","isVisible")(o.xaxis)?(R=1.1,D="bottom"):(R=-.1,D="top")):(I=1.02,R=1,D="auto"),w("traceorder",L),l.isGrouped(s.legend)&&w("tracegroupgap"),w("entrywidth"),w("entrywidthmode"),w("itemsizing"),w("itemwidth"),w("itemclick"),w("itemdoubleclick"),w("groupclick"),w("x",I),w("xanchor"),w("y",R),w("yanchor",D),w("valign"),y.noneOrAll(f,p,["x","y"]),w("title.text")){w("title.side",F?"left":"top");var B=y.extendFlat({},v,{size:y.bigFont(v.size)});y.coerceFont(w,"title.font",B)}}}}k.exports=function(u,o,s){var c,f=["legend"];for(c=0;c1)}var ne=U.hiddenlabels||[];if(!(q||U.showlegend&&H.length))return j.selectAll("."+G).remove(),U._topdefs.select("#"+W).remove(),i.autoMargin(B,G);var te=y.ensureSingle(j,"g",G,function(ye){q||ye.attr("pointer-events","all")}),Z=y.ensureSingleById(U._topdefs,"clipPath",W,function(ye){ye.append("rect")}),X=y.ensureSingle(te,"rect","bg",function(ye){ye.attr("shape-rendering","crispEdges")});X.call(a.stroke,Y.bordercolor).call(a.fill,Y.bgcolor).style("stroke-width",Y.borderwidth+"px");var Q=y.ensureSingle(te,"g","scrollbox"),re=Y.title;if(Y._titleWidth=0,Y._titleHeight=0,re.text){var ie=y.ensureSingle(Q,"text",G+"titletext");ie.attr("text-anchor","start").call(l.font,re.font).text(re.text),I(ie,Q,B,Y,1)}else Q.selectAll("."+G+"titletext").remove();var oe=y.ensureSingle(te,"rect","scrollbar",function(ye){ye.attr(s.scrollBarEnterAttrs).call(a.fill,s.scrollBarColor)}),ue=Q.selectAll("g.groups").data(H);ue.enter().append("g").attr("class","groups"),ue.exit().remove();var ce=ue.selectAll("g.traces").data(y.identity);ce.enter().append("g").attr("class","traces"),ce.exit().remove(),ce.style("opacity",function(ye){var de=ye[0].trace;return M.traceIs(de,"pie-like")?ne.indexOf(ye[0].label)!==-1?.5:1:de.visible==="legendonly"?.5:1}).each(function(){d.select(this).call(L,B,Y)}).call(S,B,Y).each(function(){q||d.select(this).call(P,B,G)}),y.syncOrAsync([i.previousPromises,function(){return function(ye,de,me,pe){var xe=ye._fullLayout,Oe=F(pe);pe||(pe=xe[Oe]);var _e=xe._size,Me=x.isVertical(pe),Se=x.isGrouped(pe),Ce=pe.entrywidthmode==="fraction",ae=pe.borderwidth,he=2*ae,be=s.itemGap,ke=pe.itemwidth+2*be,Le=2*(ae+be),Be=D(pe),ze=pe.y<0||pe.y===0&&Be==="top",je=pe.y>1||pe.y===1&&Be==="bottom",ge=pe.tracegroupgap,we={};pe._maxHeight=Math.max(ze||je?xe.height/2:_e.h,30);var Ee=0;pe._width=0,pe._height=0;var Ve=function(Pe){var Ne=0,Qe=0,ut=Pe.title.side;return ut&&(ut.indexOf("left")!==-1&&(Ne=Pe._titleWidth),ut.indexOf("top")!==-1&&(Qe=Pe._titleHeight)),[Ne,Qe]}(pe);if(Me)me.each(function(Pe){var Ne=Pe[0].height;l.setTranslate(this,ae+Ve[0],ae+Ve[1]+pe._height+Ne/2+be),pe._height+=Ne,pe._width=Math.max(pe._width,Pe[0].width)}),Ee=ke+pe._width,pe._width+=be+ke+he,pe._height+=Le,Se&&(de.each(function(Pe,Ne){l.setTranslate(this,0,Ne*pe.tracegroupgap)}),pe._height+=(pe._lgroupsLength-1)*pe.tracegroupgap);else{var Ye=R(pe),$e=pe.x<0||pe.x===0&&Ye==="right",st=pe.x>1||pe.x===1&&Ye==="left",ot=je||ze,ft=xe.width/2;pe._maxWidth=Math.max($e?ot&&Ye==="left"?_e.l+_e.w:ft:st?ot&&Ye==="right"?_e.r+_e.w:ft:_e.w,2*ke);var bt=0,Et=0;me.each(function(Pe){var Ne=_(Pe,pe,ke);bt=Math.max(bt,Ne),Et+=Ne}),Ee=null;var kt=0;if(Se){var xt=0,Ft=0,Rt=0;de.each(function(){var Pe=0,Ne=0;d.select(this).selectAll("g.traces").each(function(ut){var dt=_(ut,pe,ke),_t=ut[0].height;l.setTranslate(this,Ve[0],Ve[1]+ae+be+_t/2+Ne),Ne+=_t,Pe=Math.max(Pe,dt),we[ut[0].trace.legendgroup]=Pe});var Qe=Pe+be;Ft>0&&Qe+ae+Ft>pe._maxWidth?(kt=Math.max(kt,Ft),Ft=0,Rt+=xt+ge,xt=Ne):xt=Math.max(xt,Ne),l.setTranslate(this,Ft,Rt),Ft+=Qe}),pe._width=Math.max(kt,Ft)+ae,pe._height=Rt+xt+Le}else{var Bt=me.size(),qt=Et+he+(Bt-1)*be=pe._maxWidth&&(kt=Math.max(kt,qe),Ke=0,Je+=Vt,pe._height+=Vt,Vt=0),l.setTranslate(this,Ve[0]+ae+Ke,Ve[1]+ae+Je+Ne/2+be),qe=Ke+Qe+be,Ke+=ut,Vt=Math.max(Vt,Ne)}),qt?(pe._width=Ke+he,pe._height=Vt+Le):(pe._width=Math.max(kt,qe)+he,pe._height+=Vt+Le)}}pe._width=Math.ceil(Math.max(pe._width+Ve[0],pe._titleWidth+2*(ae+s.titlePad))),pe._height=Math.ceil(Math.max(pe._height+Ve[1],pe._titleHeight+2*(ae+s.itemGap))),pe._effHeight=Math.min(pe._height,pe._maxHeight);var nt=ye._context.edits,ht=nt.legendText||nt.legendPosition;me.each(function(Pe){var Ne=d.select(this).select("."+Oe+"toggle"),Qe=Pe[0].height,ut=Pe[0].trace.legendgroup,dt=_(Pe,pe,ke);Se&&ut!==""&&(dt=we[ut]);var _t=ht?ke:Ee||dt;Me||Ce||(_t+=be/2),l.setRect(Ne,0,-Qe/2,_t,Qe)})}(B,ue,ce,Y)},function(){var ye,de,me,pe,xe=U._size,Oe=Y.borderwidth;if(!q){var _e=function($e,st){var ot=$e._fullLayout[st],ft=R(ot),bt=D(ot);return i.autoMargin($e,st,{x:ot.x,y:ot.y,l:ot._width*p[ft],r:ot._width*w[ft],b:ot._effHeight*w[bt],t:ot._effHeight*p[bt]})}(B,G);if(_e)return;var Me=xe.l+xe.w*Y.x-p[R(Y)]*Y._width,Se=xe.t+xe.h*(1-Y.y)-p[D(Y)]*Y._effHeight;if(U.margin.autoexpand){var Ce=Me,ae=Se;Me=y.constrain(Me,0,U.width-Y._width),Se=y.constrain(Se,0,U.height-Y._effHeight),Me!==Ce&&y.log("Constrain "+G+".x to make legend fit inside graph"),Se!==ae&&y.log("Constrain "+G+".y to make legend fit inside graph")}l.setTranslate(te,Me,Se)}if(oe.on(".drag",null),te.on("wheel",null),q||Y._height<=Y._maxHeight||B._context.staticPlot){var he=Y._effHeight;q&&(he=Y._height),X.attr({width:Y._width-Oe,height:he-Oe,x:Oe/2,y:Oe/2}),l.setTranslate(Q,0,0),Z.select("rect").attr({width:Y._width-2*Oe,height:he-2*Oe,x:Oe,y:Oe}),l.setClipUrl(Q,W,B),l.setRect(oe,0,0,0,0),delete Y._scrollY}else{var be,ke,Le,Be=Math.max(s.scrollBarMinHeight,Y._effHeight*Y._effHeight/Y._height),ze=Y._effHeight-Be-2*s.scrollBarMargin,je=Y._height-Y._effHeight,ge=ze/je,we=Math.min(Y._scrollY||0,je);X.attr({width:Y._width-2*Oe+s.scrollBarWidth+s.scrollBarMargin,height:Y._effHeight-Oe,x:Oe/2,y:Oe/2}),Z.select("rect").attr({width:Y._width-2*Oe+s.scrollBarWidth+s.scrollBarMargin,height:Y._effHeight-2*Oe,x:Oe,y:Oe+we}),l.setClipUrl(Q,W,B),Ye(we,Be,ge),te.on("wheel",function(){Ye(we=y.constrain(Y._scrollY+d.event.deltaY/ze*je,0,je),Be,ge),we!==0&&we!==je&&d.event.preventDefault()});var Ee=d.behavior.drag().on("dragstart",function(){var $e=d.event.sourceEvent;be=$e.type==="touchstart"?$e.changedTouches[0].clientY:$e.clientY,Le=we}).on("drag",function(){var $e=d.event.sourceEvent;$e.buttons===2||$e.ctrlKey||(ke=$e.type==="touchmove"?$e.changedTouches[0].clientY:$e.clientY,we=function(st,ot,ft){var bt=(ft-ot)/ge+st;return y.constrain(bt,0,je)}(Le,be,ke),Ye(we,Be,ge))});oe.call(Ee);var Ve=d.behavior.drag().on("dragstart",function(){var $e=d.event.sourceEvent;$e.type==="touchstart"&&(be=$e.changedTouches[0].clientY,Le=we)}).on("drag",function(){var $e=d.event.sourceEvent;$e.type==="touchmove"&&(ke=$e.changedTouches[0].clientY,we=function(st,ot,ft){var bt=(ot-ft)/ge+st;return y.constrain(bt,0,je)}(Le,be,ke),Ye(we,Be,ge))});Q.call(Ve)}function Ye($e,st,ot){Y._scrollY=B._fullLayout[G]._scrollY=$e,l.setTranslate(Q,0,-$e),l.setRect(oe,Y._width,s.scrollBarMargin+$e*ot,s.scrollBarWidth,st),Z.select("rect").attr("y",Oe+$e)}B._context.edits.legendPosition&&(te.classed("cursor-move",!0),h.init({element:te.node(),gd:B,prepFn:function(){var $e=l.getTranslate(te);me=$e.x,pe=$e.y},moveFn:function($e,st){var ot=me+$e,ft=pe+st;l.setTranslate(te,ot,ft),ye=h.align(ot,Y._width,xe.l,xe.l+xe.w,Y.xanchor),de=h.align(ft+Y._height,-Y._height,xe.t+xe.h,xe.t,Y.yanchor)},doneFn:function(){if(ye!==void 0&&de!==void 0){var $e={};$e[G+".x"]=ye,$e[G+".y"]=de,M.call("_guiRelayout",B,$e)}},clickFn:function($e,st){var ot=ue.selectAll("g.traces").filter(function(){var ft=this.getBoundingClientRect();return st.clientX>=ft.left&&st.clientX<=ft.right&&st.clientY>=ft.top&&st.clientY<=ft.bottom});ot.size()>0&&A(B,te,ot,$e,st)}}))}],B)}}function _(B,N,W){var j=B[0],Y=j.width,U=N.entrywidthmode,G=j.trace.legendwidth||N.entrywidth;return U==="fraction"?N._maxWidth*G:W+(G||Y)}function A(B,N,W,j,Y){var U=W.data()[0][0].trace,G={event:Y,node:W.node(),curveNumber:U.index,expandedIndex:U._expandedIndex,data:B.data,layout:B.layout,frames:B._transitionData._frames,config:B._context,fullData:B._fullData,fullLayout:B._fullLayout};U._group&&(G.group=U._group),M.traceIs(U,"pie-like")&&(G.label=W.datum()[0].label),g.triggerHandler(B,"plotly_legendclick",G)!==!1&&(j===1?N._clickTimeout=setTimeout(function(){B._fullLayout&&o(W,B,j)},B._context.doubleClickDelay):j===2&&(N._clickTimeout&&clearTimeout(N._clickTimeout),B._legendMouseDownTime=0,g.triggerHandler(B,"plotly_legenddoubleclick",G)!==!1&&o(W,B,j)))}function L(B,N,W){var j,Y,U=F(W),G=B.data()[0][0],q=G.trace,H=M.traceIs(q,"pie-like"),ne=!W._inHover&&N._context.edits.legendText&&!H,te=W._maxNameLength;G.groupTitle?(j=G.groupTitle.text,Y=G.groupTitle.font):(Y=W.font,W.entries?j=G.text:(j=H?G.label:q.name,q._meta&&(j=y.templateString(j,q._meta))));var Z=y.ensureSingle(B,"text",U+"text");Z.attr("text-anchor","start").call(l.font,Y).text(ne?b(j,te):j);var X=W.itemwidth+2*s.itemGap;u.positionText(Z,X,0),ne?Z.call(u.makeEditable,{gd:N,text:j}).call(I,B,N,W).on("edit",function(Q){this.text(b(Q,te)).call(I,B,N,W);var re=G.trace._fullInput||{},ie={};if(M.hasTransform(re,"groupby")){var oe=M.getTransformIndices(re,"groupby"),ue=oe[oe.length-1],ce=y.keyedContainer(re,"transforms["+ue+"].styles","target","value.name");ce.set(G.trace._group,Q),ie=ce.constructUpdate()}else ie.name=Q;return M.call("_guiRestyle",N,ie,q.index)}):I(Z,B,N,W)}function b(B,N){var W=Math.max(4,N);if(B&&B.trim().length>=W/2)return B;for(var j=W-(B=B||"").length;j>0;j--)B+=" ";return B}function P(B,N,W){var j,Y=N._context.doubleClickDelay,U=1,G=y.ensureSingle(B,"rect",W+"toggle",function(q){N._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(a.fill,"rgba(0,0,0,0)")});N._context.staticPlot||(G.on("mousedown",function(){(j=new Date().getTime())-N._legendMouseDownTimeY&&(U=Math.max(U-1,1)),A(N,q,B,U,d.event)}}))}function I(B,N,W,j,Y){j._inHover&&B.attr("data-notex",!0),u.convertToTspans(B,W,function(){(function(U,G,q,H){var ne=U.data()[0][0];if(q._inHover||!ne||ne.trace.showlegend){var te=U.select("g[class*=math-group]"),Z=te.node(),X=F(q);q||(q=G._fullLayout[X]);var Q,re,ie=q.borderwidth,oe=(H===1?q.title.font:ne.groupTitle?ne.groupTitle.font:q.font).size*f;if(Z){var ue=l.bBox(Z);Q=ue.height,re=ue.width,H===1?l.setTranslate(te,ie,ie+.75*Q):l.setTranslate(te,0,.25*Q)}else{var ce="."+X+(H===1?"title":"")+"text",ye=U.select(ce),de=u.lineCount(ye),me=ye.node();if(Q=oe*de,re=me?l.bBox(me).width:0,H===1)q.title.side==="left"&&(re+=2*s.itemGap),u.positionText(ye,ie+s.titlePad,ie+oe);else{var pe=2*s.itemGap+q.itemwidth;ne.groupTitle&&(pe=s.itemGap,re-=q.itemwidth),u.positionText(ye,pe,-oe*((de-1)/2-.3))}}H===1?(q._titleWidth=re,q._titleHeight=Q):(ne.lineHeight=oe,ne.height=Math.max(Q,16)+3,ne.width=re)}else U.remove()})(N,W,j,Y)})}function R(B){return y.isRightAnchor(B)?"right":y.isCenterAnchor(B)?"center":"left"}function D(B){return y.isBottomAnchor(B)?"bottom":y.isMiddleAnchor(B)?"middle":"top"}function F(B){return B._id||"legend"}k.exports=function(B,N){if(N)C(B,N);else{var W=B._fullLayout,j=W._legends;W._infolayer.selectAll('[class^="legend"]').each(function(){var G=d.select(this),q=G.attr("class").split(" ")[0];q.match(T)&&j.indexOf(q)===-1&&G.remove()});for(var Y=0;YD&&(R=D)}P[h][0]._groupMinRank=R,P[h][0]._preGroupSort=h}var F=function(Y,U){return Y.trace.legendrank-U.trace.legendrank||Y._preSort-U._preSort};for(P.forEach(function(Y,U){Y[0]._preGroupSort=U}),P.sort(function(Y,U){return Y[0]._groupMinRank-U[0]._groupMinRank||Y[0]._preGroupSort-U[0]._preGroupSort}),h=0;hS?S:w}k.exports=function(w,v,S){var x=v._fullLayout;S||(S=x.legend);var T=S.itemsizing==="constant",C=S.itemwidth,_=(C+2*s.itemGap)/2,A=M(_,0),L=function(I,R,D,F){var B;if(I+1)B=I;else{if(!(R&&R.width>0))return 0;B=R.width}return T?F:Math.min(B,D)};function b(I,R,D){var F=I[0].trace,B=F.marker||{},N=B.line||{},W=D?F.visible&&F.type===D:y.traceIs(F,"bar"),j=d.select(R).select("g.legendpoints").selectAll("path.legend"+D).data(W?[I]:[]);j.enter().append("path").classed("legend"+D,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),j.exit().remove(),j.each(function(Y){var U=d.select(this),G=Y[0],q=L(G.mlw,B.line,5,2);U.style("stroke-width",q+"px");var H=G.mcc;if(!S._inHover&&"mc"in G){var ne=l(B),te=ne.mid;te===void 0&&(te=(ne.max+ne.min)/2),H=g.tryColorscale(B,"")(te)}var Z=H||G.mc||B.color,X=B.pattern,Q=X&&g.getPatternAttr(X.shape,0,"");if(Q){var re=g.getPatternAttr(X.bgcolor,0,null),ie=g.getPatternAttr(X.fgcolor,0,null),oe=X.fgopacity,ue=p(X.size,8,10),ce=p(X.solidity,.5,1),ye="legend-"+F.uid;U.call(g.pattern,"legend",v,ye,Q,ue,ce,H,X.fillmode,re,ie,oe)}else U.call(h.fill,Z);q&&h.stroke(U,G.mlc||N.color)})}function P(I,R,D){var F=I[0],B=F.trace,N=D?B.visible&&B.type===D:y.traceIs(B,D),W=d.select(R).select("g.legendpoints").selectAll("path.legend"+D).data(N?[I]:[]);if(W.enter().append("path").classed("legend"+D,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),W.exit().remove(),W.size()){var j=(B.marker||{}).line,Y=L(o(j.width,F.pts),j,5,2),U=i.minExtend(B,{marker:{line:{width:Y}}});U.marker.line.color=j.color;var G=i.minExtend(F,{trace:U});u(W,G,U)}}w.each(function(I){var R=d.select(this),D=i.ensureSingle(R,"g","layers");D.style("opacity",I[0].trace.opacity);var F=S.valign,B=I[0].lineHeight,N=I[0].height;if(F!=="middle"&&B&&N){var W={top:1,bottom:-1}[F]*(.5*(B-N+3));D.attr("transform",M(0,W))}else D.attr("transform",null);D.selectAll("g.legendfill").data([I]).enter().append("g").classed("legendfill",!0),D.selectAll("g.legendlines").data([I]).enter().append("g").classed("legendlines",!0);var j=D.selectAll("g.legendsymbols").data([I]);j.enter().append("g").classed("legendsymbols",!0),j.selectAll("g.legendpoints").data([I]).enter().append("g").classed("legendpoints",!0)}).each(function(I){var R,D=I[0].trace,F=[];if(D.visible)switch(D.type){case"histogram2d":case"heatmap":F=[["M-15,-2V4H15V-2Z"]],R=!0;break;case"choropleth":case"choroplethmapbox":F=[["M-6,-6V6H6V-6Z"]],R=!0;break;case"densitymapbox":F=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],R="radial";break;case"cone":F=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],R=!1;break;case"streamtube":F=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],R=!1;break;case"surface":F=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],R=!0;break;case"mesh3d":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],R=!1;break;case"volume":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],R=!0;break;case"isosurface":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],R=!1}var B=d.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(F);B.enter().append("path").classed("legend3dandfriends",!0).attr("transform",A).style("stroke-miterlimit",1),B.exit().remove(),B.each(function(N,W){var j,Y=d.select(this),U=l(D),G=U.colorscale,q=U.reversescale;if(G){if(!R){var H=G.length;j=W===0?G[q?H-1:0][1]:W===1?G[q?0:H-1][1]:G[Math.floor((H-1)/2)][1]}}else{var ne=D.vertexcolor||D.facecolor||D.color;j=i.isArrayOrTypedArray(ne)?ne[W]||ne[0]:ne}Y.attr("d",N[0]),j?Y.call(h.fill,j):Y.call(function(te){if(te.size()){var Z="legendfill-"+D.uid;g.gradient(te,v,Z,c(q,R==="radial"),G,"fill")}})})}).each(function(I){var R=I[0].trace,D=R.type==="waterfall";if(I[0]._distinct&&D){var F=I[0].trace[I[0].dir].marker;return I[0].mc=F.color,I[0].mlw=F.line.width,I[0].mlc=F.line.color,b(I,this,"waterfall")}var B=[];R.visible&&D&&(B=I[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var N=d.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(B);N.enter().append("path").classed("legendwaterfall",!0).attr("transform",A).style("stroke-miterlimit",1),N.exit().remove(),N.each(function(W){var j=d.select(this),Y=R[W[0]].marker,U=L(void 0,Y.line,5,2);j.attr("d",W[1]).style("stroke-width",U+"px").call(h.fill,Y.color),U&&j.call(h.stroke,Y.line.color)})}).each(function(I){b(I,this,"funnel")}).each(function(I){b(I,this)}).each(function(I){var R=I[0].trace,D=d.select(this).select("g.legendpoints").selectAll("path.legendbox").data(R.visible&&y.traceIs(R,"box-violin")?[I]:[]);D.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),D.exit().remove(),D.each(function(){var F=d.select(this);if(R.boxpoints!=="all"&&R.points!=="all"||h.opacity(R.fillcolor)!==0||h.opacity((R.line||{}).color)!==0){var B=L(void 0,R.line,5,2);F.style("stroke-width",B+"px").call(h.fill,R.fillcolor),B&&h.stroke(F,R.line.color)}else{var N=i.minExtend(R,{marker:{size:T?12:i.constrain(R.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});D.call(g.pointStyle,N,v)}})}).each(function(I){P(I,this,"funnelarea")}).each(function(I){P(I,this,"pie")}).each(function(I){var R,D,F=f(I),B=F.showFill,N=F.showLine,W=F.showGradientLine,j=F.showGradientFill,Y=F.anyFill,U=F.anyLine,G=I[0],q=G.trace,H=l(q),ne=H.colorscale,te=H.reversescale,Z=a.hasMarkers(q)||!Y?"M5,0":U?"M5,-2":"M5,-3",X=d.select(this),Q=X.select(".legendfill").selectAll("path").data(B||j?[I]:[]);if(Q.enter().append("path").classed("js-fill",!0),Q.exit().remove(),Q.attr("d",Z+"h"+C+"v6h-"+C+"z").call(function(oe){if(oe.size())if(B)g.fillGroupStyle(oe,v);else{var ue="legendfill-"+q.uid;g.gradient(oe,v,ue,c(te),ne,"fill")}}),N||W){var re=L(void 0,q.line,10,5);D=i.minExtend(q,{line:{width:re}}),R=[i.minExtend(G,{trace:D})]}var ie=X.select(".legendlines").selectAll("path").data(N||W?[R]:[]);ie.enter().append("path").classed("js-line",!0),ie.exit().remove(),ie.attr("d",Z+(W?"l"+C+",0.0001":"h"+C)).call(N?g.lineGroupStyle:function(oe){if(oe.size()){var ue="legendline-"+q.uid;g.lineGroupStyle(oe),g.gradient(oe,v,ue,c(te),ne,"stroke")}})}).each(function(I){var R,D,F=f(I),B=F.anyFill,N=F.anyLine,W=F.showLine,j=F.showMarker,Y=I[0],U=Y.trace,G=!j&&!N&&!B&&a.hasText(U);function q(ie,oe,ue,ce){var ye=i.nestedProperty(U,ie).get(),de=i.isArrayOrTypedArray(ye)&&oe?oe(ye):ye;if(T&&de&&ce!==void 0&&(de=ce),ue){if(deue[1])return ue[1]}return de}function H(ie){return Y._distinct&&Y.index&&ie[Y.index]?ie[Y.index]:ie[0]}if(j||G||W){var ne={},te={};if(j){ne.mc=q("marker.color",H),ne.mx=q("marker.symbol",H),ne.mo=q("marker.opacity",i.mean,[.2,1]),ne.mlc=q("marker.line.color",H),ne.mlw=q("marker.line.width",i.mean,[0,5],2),te.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Z=q("marker.size",i.mean,[2,16],12);ne.ms=Z,te.marker.size=Z}W&&(te.line={width:q("line.width",H,[0,10],5)}),G&&(ne.tx="Aa",ne.tp=q("textposition",H),ne.ts=10,ne.tc=q("textfont.color",H),ne.tf=q("textfont.family",H)),R=[i.minExtend(Y,ne)],(D=i.minExtend(U,te)).selectedpoints=null,D.texttemplate=null}var X=d.select(this).select("g.legendpoints"),Q=X.selectAll("path.scatterpts").data(j?R:[]);Q.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",A),Q.exit().remove(),Q.call(g.pointStyle,D,v),j&&(R[0].mrc=3);var re=X.selectAll("g.pointtext").data(G?R:[]);re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",A),re.exit().remove(),re.selectAll("text").call(g.textPointStyle,D,v)}).each(function(I){var R=I[0].trace,D=d.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(R.visible&&R.type==="candlestick"?[I,I]:[]);D.enter().append("path").classed("legendcandle",!0).attr("d",function(F,B){return B?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",A).style("stroke-miterlimit",1),D.exit().remove(),D.each(function(F,B){var N=d.select(this),W=R[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("stroke-width",j+"px").call(h.fill,W.fillcolor),j&&h.stroke(N,W.line.color)})}).each(function(I){var R=I[0].trace,D=d.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(R.visible&&R.type==="ohlc"?[I,I]:[]);D.enter().append("path").classed("legendohlc",!0).attr("d",function(F,B){return B?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",A).style("stroke-miterlimit",1),D.exit().remove(),D.each(function(F,B){var N=d.select(this),W=R[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("fill","none").call(g.dashLine,W.line.dash,j),j&&h.stroke(N,W.line.color)})})}},42068:function(k,m,t){t(93348),k.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(k,m,t){var d=t(73972),y=t(74875),i=t(41675),M=t(24255),g=t(34031).eraseActiveShape,h=t(71828),l=h._,a=k.exports={};function u(x,T){var C,_,A=T.currentTarget,L=A.getAttribute("data-attr"),b=A.getAttribute("data-val")||!0,P=x._fullLayout,I={},R=i.list(x,null,!0),D=P._cartesianSpikesEnabled;if(L==="zoom"){var F,B=b==="in"?.5:2,N=(1+B)/2,W=(1-B)/2;for(_=0;_1?(Z=["toggleHover"],X=["resetViews"]):I?(te=["zoomInGeo","zoomOutGeo"],Z=["hoverClosestGeo"],X=["resetGeo"]):P?(Z=["hoverClosest3d"],X=["resetCameraDefault3d","resetCameraLastSave3d"]):N?(te=["zoomInMapbox","zoomOutMapbox"],Z=["toggleHover"],X=["resetViewMapbox"]):F?Z=["hoverClosestGl2d"]:R?Z=["hoverClosestPie"]:Y?(Z=["hoverClosestCartesian","hoverCompareCartesian"],X=["resetViewSankey"]):Z=["toggleHover"],b&&(Z=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(ye){for(var de=0;de0)){var v=function(x,T,C){for(var _=C.filter(function(P){return T[P].anchor===x._id}),A=0,L=0;L<_.length;L++){var b=T[_[L]].domain;b&&(A=Math.max(b[1],A))}return[x.domain[0],A+h.yPad]}(u,o,s);w("x",v[0]),w("y",v[1]),d.noneOrAll(a,u,["x","y"]),w("xanchor"),w("yanchor"),d.coerceFont(w,"font",o.font);var S=w("bgcolor");w("activecolor",y.contrast(S,h.lightAmount,h.darkAmount)),w("bordercolor"),w("borderwidth")}}},21598:function(k,m,t){var d=t(39898),y=t(73972),i=t(74875),M=t(7901),g=t(91424),h=t(71828),l=h.strTranslate,a=t(63893),u=t(41675),o=t(18783),s=o.LINE_SPACING,c=o.FROM_TL,f=o.FROM_BR,p=t(89573),w=t(70565);function v(T){return T._id}function S(T,C,_){var A=h.ensureSingle(T,"rect","selector-rect",function(L){L.attr("shape-rendering","crispEdges")});A.attr({rx:p.rx,ry:p.ry}),A.call(M.stroke,C.bordercolor).call(M.fill,function(L,b){return b._isActive||b._isHovered?L.activecolor:L.bgcolor}(C,_)).style("stroke-width",C.borderwidth+"px")}function x(T,C,_,A){var L,b;h.ensureSingle(T,"text","selector-text",function(P){P.attr("text-anchor","middle")}).call(g.font,C.font).text((L=_,b=A._fullLayout._meta,L.label?b?h.templateString(L.label,b):L.label:L.step==="all"?"all":L.count+L.step.charAt(0))).call(function(P){a.convertToTspans(P,A)})}k.exports=function(T){var C=T._fullLayout._infolayer.selectAll(".rangeselector").data(function(_){for(var A=u.list(_,"x",!0),L=[],b=0;b=pe.max)de=oe[me+1];else if(ye=pe.pmax)de=oe[me+1];else if(yeme._length||ke+Ve<0)return;ge=be+Ve,we=ke+Ve;break;case Oe:if(Ee="col-resize",be+Ve>me._length)return;ge=be+Ve,we=ke;break;case _e:if(Ee="col-resize",ke+Ve<0)return;ge=be,we=ke+Ve;break;default:Ee="ew-resize",ge=he,we=he+Ve}if(we=0;F--){var B=T.append("path").attr(_).style("opacity",F?.1:A).call(M.stroke,b).call(M.fill,L).call(g.dashLine,F?"solid":I,F?4+P:P);if(c(B,p,S),R){var N=h(p.layout,"selections",S);B.style({cursor:"move"});var W={element:B.node(),plotinfo:x,gd:p,editHelpers:N,isActiveSelection:!0},j=d(C,p);y(j,B,W)}else B.style("pointer-events",F?"all":"none");D[F]=B}var Y=D[0];D[1].node().addEventListener("click",function(){return function(U,G){if(o(U)){var q=+G.node().getAttribute("data-index");if(q>=0){if(q===U._fullLayout._activeSelectionIndex)return void f(U);U._fullLayout._activeSelectionIndex=q,U._fullLayout._deactivateSelection=f,u(U)}}}(p,Y)})}(p._fullLayout._selectionLayer)}function c(p,w,v){var S=v.xref+v.yref;g.setClipUrl(p,"clip"+w._fullLayout._uid+S,w)}function f(p){o(p)&&p._fullLayout._activeSelectionIndex>=0&&(i(p),delete p._fullLayout._activeSelectionIndex,u(p))}k.exports={draw:u,drawOne:s,activateLastSelection:function(p){if(o(p)){var w=p._fullLayout.selections.length-1;p._fullLayout._activeSelectionIndex=w,p._fullLayout._deactivateSelection=f,u(p)}}}},53777:function(k,m,t){var d=t(79952).P,y=t(1426).extendFlat;k.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:y({},d,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(k){k.exports=function(m,t,d){d("newselection.mode"),d("newselection.line.width")&&(d("newselection.line.color"),d("newselection.line.dash")),d("activeselection.fillcolor"),d("activeselection.opacity")}},35855:function(k,m,t){var d=t(64505).selectMode,y=t(51873).clearOutline,i=t(60165),M=i.readPaths,g=i.writePaths,h=i.fixDatesForPaths;k.exports=function(l,a){if(l.length){var u=l[0][0];if(u){var o=u.getAttribute("d"),s=a.gd,c=s._fullLayout.newselection,f=a.plotinfo,p=f.xaxis,w=f.yaxis,v=a.isActiveSelection,S=a.dragmode,x=(s.layout||{}).selections||[];if(!d(S)&&v!==void 0){var T=s._fullLayout._activeSelectionIndex;if(T-1,qt=[];if(function(nt){return nt&&Array.isArray(nt)&&nt[0].hoverOnBox!==!0}(Rt)){re(ze,je,Ve);var Vt=function(nt,ht){var Pe,Ne,Qe=nt[0],ut=-1,dt=[];for(Ne=0;Ne0?function(nt,ht){var Pe,Ne,Qe,ut=[];for(Qe=0;Qe0&&ut.push(Pe);if(ut.length===1&&ut[0]===ht.searchInfo&&(Ne=ht.searchInfo.cd[0].trace).selectedpoints.length===ht.pointNumbers.length){for(Qe=0;Qe1||(Ne+=ht.selectedpoints.length)>1))return!1;return Ne===1}($e)&&(Et=ye(Vt))){for(Ye&&Ye.remove(),Ft=0;Ft<$e.length;Ft++)(st=$e[Ft])._module.selectPoints(st,!1);de(je,$e),ie(Ve),Bt&&Be(je)}else{for(kt=ze.shiftKey&&(Et!==void 0?Et:ye(Vt)),ot=function(nt,ht,Pe){return{pointNumber:nt,searchInfo:ht,subtract:!!Pe}}(Vt.pointNumber,Vt.searchInfo,kt),ft=Q(Ve.selectionDefs.concat([ot])),Ft=0;Ft<$e.length;Ft++)if(bt=pe($e[Ft]._module.selectPoints($e[Ft],ft),$e[Ft]),qt.length)for(var Ke=0;Ke=0})(Ee)&&Ee._fullLayout._deactivateShape(Ee),function(bt){return bt._fullLayout._activeSelectionIndex>=0}(Ee)&&Ee._fullLayout._deactivateSelection(Ee);var Ve=Ee._fullLayout._zoomlayer,Ye=s(ge),$e=f(ge);if(Ye||$e){var st,ot,ft=Ve.selectAll(".select-outline-"+we.id);ft&&Ee._fullLayout._outlining&&(Ye&&(st=_(ft,ze)),st&&i.call("_guiRelayout",Ee,{shapes:st}),$e&&!ne(ze)&&(ot=A(ft,ze)),ot&&(Ee._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Ee,{selections:ot}).then(function(){je&&L(Ee)})),Ee._fullLayout._outlining=!1)}we.selection={},we.selection.selectionDefs=ze.selectionDefs=[],we.selection.mergedPolygons=ze.mergedPolygons=[]}function oe(ze){return ze._id}function ue(ze,je,ge,we){if(!ze.calcdata)return[];var Ee,Ve,Ye,$e=[],st=je.map(oe),ot=ge.map(oe);for(Ye=0;Ye0?we[0]:ge;return!!je.selectedpoints&&je.selectedpoints.indexOf(Ee)>-1}function de(ze,je,ge){var we,Ee;for(we=0;we-1&&je;if(!Ve&&je){var Tn=Ce(ze,!0);if(Tn.length){var dn=Tn[0].xref,pn=Tn[0].yref;if(dn&&pn){var Dn=be(Tn);ke([D(ze,dn,"x"),D(ze,pn,"y")])(kn,Dn)}}ze._fullLayout._noEmitSelectedAtStart?ze._fullLayout._noEmitSelectedAtStart=!1:sn&&Le(ze,kn),Et._reselect=!1}if(!Ve&&Et._deselect){var In=Et._deselect;(function(jn,Gn,qn){for(var lr=0;lr=0)kt._fullLayout._deactivateShape(kt);else if(!ot){var pn=xt.clickmode;R.done(An).then(function(){if(R.clear(An),Tn===2){for(Xt.remove(),Qe=0;Qe-1&&te(dn,kt,we.xaxes,we.yaxes,we.subplot,we,Xt),pn==="event"&&Le(kt,void 0);h.click(kt,dn)}).catch(b.error)}},we.doneFn=function(){un.remove(),R.done(An).then(function(){R.clear(An),!Ft&&Ne&&we.selectionDefs&&(Ne.subtract=Wt,we.selectionDefs.push(Ne),we.mergedPolygons.length=0,[].push.apply(we.mergedPolygons,Pe)),(Ft||ot)&&ie(we,Ft),we.doneFnCompleted&&we.doneFnCompleted($n),ft&&Le(kt,dt)}).catch(b.error)}},clearOutline:S,clearSelectionsCache:ie,selectOnClick:te}},89827:function(k,m,t){var d=t(50215),y=t(41940),i=t(82196).line,M=t(79952).P,g=t(1426).extendFlat,h=t(44467).templatedArray,l=(t(24695),t(5386).R),a=t(37281);k.exports=h("shape",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:g({},d.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:g({},d.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:g({},i.color,{editType:"arraydraw"}),width:g({},i.width,{editType:"calc+arraydraw"}),dash:g({},M,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:l({},{keys:Object.keys(a)}),font:y({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(k,m,t){var d=t(71828),y=t(89298),i=t(21459),M=t(30477);function g(u){return l(u.line.width,u.xsizemode,u.x0,u.x1,u.path,!1)}function h(u){return l(u.line.width,u.ysizemode,u.y0,u.y1,u.path,!0)}function l(u,o,s,c,f,p){var w=u/2,v=p;if(o==="pixel"){var S=f?M.extractPathCoords(f,p?i.paramIsY:i.paramIsX):[s,c],x=d.aggNums(Math.max,null,S),T=d.aggNums(Math.min,null,S),C=T<0?Math.abs(T)+w:w,_=x>0?x+w:w;return{ppad:w,ppadplus:v?C:_,ppadminus:v?_:C}}return{ppad:w}}function a(u,o,s,c,f){var p=u.type==="category"||u.type==="multicategory"?u.r2c:u.d2c;if(o!==void 0)return[p(o),p(s)];if(c){var w,v,S,x,T=1/0,C=-1/0,_=c.match(i.segmentRE);for(u.type==="date"&&(p=M.decodeDate(p)),w=0;w<_.length;w++)(v=f[_[w].charAt(0)].drawn)!==void 0&&(!(S=_[w].substr(1).match(i.paramRE))||S.lengthC&&(C=x)));return C>=T?[T,C]:void 0}}k.exports=function(u){var o=u._fullLayout,s=d.filterVisible(o.shapes);if(s.length&&u._fullData.length)for(var c=0;c1&&(ye.length!==2||ye[1][0]!=="Z")&&(W===0&&(ye[0][0]="M"),A[N]=ye,R(),D())}}()}}function X(oe,ue){(function(ce,ye){if(A.length)for(var de=0;deSe?(he=_e,Be="y0",be=Se,ze="y1"):(he=Se,Be="y1",be=_e,ze="y0"),Je(Ne),ht(pe,de),function(Qe,ut,dt){var _t=ut.xref,It=ut.yref,Lt=M.getFromId(dt,_t),yt=M.getFromId(dt,It),Ot="";_t==="paper"||Lt.autorange||(Ot+=_t),It==="paper"||yt.autorange||(Ot+=It),u.setClipUrl(Qe,Ot?"clip"+dt._fullLayout._uid+Ot:null,dt)}(ye,de,ce),Ke.moveFn=Ee==="move"?qe:nt,Ke.altKey=Ne.altKey)},doneFn:function(){C(ce)||(c(ye),Pe(pe),L(ye,ce,de),y.call("_guiRelayout",ce,xe.getUpdateObj()))},clickFn:function(){C(ce)||Pe(pe)}};function Je(Ne){if(C(ce))Ee=null;else if($e)Ee=Ne.target.tagName==="path"?"move":Ne.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Qe=Ke.element.getBoundingClientRect(),ut=Qe.right-Qe.left,dt=Qe.bottom-Qe.top,_t=Ne.clientX-Qe.left,It=Ne.clientY-Qe.top,Lt=!st&&ut>10&&dt>10&&!Ne.shiftKey?s.getCursor(_t/ut,1-It/dt):"move";c(ye,Lt),Ee=Lt.split("-")[0]}}function qe(Ne,Qe){if(de.type==="path"){var ut=function(It){return It},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(It){return Bt(Ft(It)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),Ye?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(It){return qt(Rt(It)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=P(we,dt,_t))}else Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(ot("x0",de.x0=Bt(Oe+Ne)),ot("x1",de.x1=Bt(Me+Ne))),Ye?ot("yanchor",de.yanchor=qt(ae+Qe)):(ot("y0",de.y0=qt(_e+Qe)),ot("y1",de.y1=qt(Se+Qe)));ye.attr("d",v(ce,de)),ht(pe,de),b(ce,me,de,ft)}function nt(Ne,Qe){if(st){var ut=function(un){return un},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(un){return Bt(Ft(un)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),Ye?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(un){return qt(Rt(un)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=P(we,dt,_t))}else if($e){if(Ee==="resize-over-start-point"){var It=Oe+Ne,Lt=Ye?_e-Qe:_e+Qe;ot("x0",de.x0=Ve?It:Bt(It)),ot("y0",de.y0=Ye?Lt:qt(Lt))}else if(Ee==="resize-over-end-point"){var yt=Me+Ne,Ot=Ye?Se-Qe:Se+Qe;ot("x1",de.x1=Ve?yt:Bt(yt)),ot("y1",de.y1=Ye?Ot:qt(Ot))}}else{var wt=function(un){return Ee.indexOf(un)!==-1},Pt=wt("n"),Nt=wt("s"),$t=wt("w"),Wt=wt("e"),Xt=Pt?he+Qe:he,Qt=Nt?be+Qe:be,rn=$t?ke+Ne:ke,xn=Wt?Le+Ne:Le;Ye&&(Pt&&(Xt=he-Qe),Nt&&(Qt=be-Qe)),(!Ye&&Qt-Xt>10||Ye&&Xt-Qt>10)&&(ot(Be,de[Be]=Ye?Xt:qt(Xt)),ot(ze,de[ze]=Ye?Qt:qt(Qt))),xn-rn>10&&(ot(je,de[je]=Ve?rn:Bt(rn)),ot(ge,de[ge]=Ve?xn:Bt(xn)))}ye.attr("d",v(ce,de)),ht(pe,de),b(ce,me,de,ft)}function ht(Ne,Qe){(Ve||Ye)&&function(){var ut=Qe.type!=="path",dt=Ne.selectAll(".visual-cue").data([0]);dt.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var _t=Ft(Ve?Qe.xanchor:i.midRange(ut?[Qe.x0,Qe.x1]:w.extractPathCoords(Qe.path,p.paramIsX))),It=Rt(Ye?Qe.yanchor:i.midRange(ut?[Qe.y0,Qe.y1]:w.extractPathCoords(Qe.path,p.paramIsY)));if(_t=w.roundPositionForSharpStrokeRendering(_t,1),It=w.roundPositionForSharpStrokeRendering(It,1),Ve&&Ye){var Lt="M"+(_t-1-1)+","+(It-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";dt.attr("d",Lt)}else if(Ve){var yt="M"+(_t-1-1)+","+(It-9-1)+"v18 h2 v-18 Z";dt.attr("d",yt)}else{var Ot="M"+(_t-9-1)+","+(It-1-1)+"h18 v2 h-18 Z";dt.attr("d",Ot)}}()}function Pe(Ne){Ne.selectAll(".visual-cue").remove()}s.init(Ke),Vt.node().onmousemove=Je}(R,ie,B,D,j,Q):B.editable===!0&&ie.style("pointer-events",Z||a.opacity(q)*G<=.5?"stroke":"all");ie.node().addEventListener("click",function(){return function(ce,ye){if(_(ce)){var de=+ye.node().getAttribute("data-index");if(de>=0){if(de===ce._fullLayout._activeShapeIndex)return void I(ce);ce._fullLayout._activeShapeIndex=de,ce._fullLayout._deactivateShape=I,T(ce)}}}(R,ie)})}B._input&&B.visible!==!1&&(B.layer!=="below"?W(R._fullLayout._shapeUpperLayer):B.xref==="paper"||B.yref==="paper"?W(R._fullLayout._shapeLowerLayer):N._hadPlotinfo?W((N.mainplotinfo||N).shapelayer):W(R._fullLayout._shapeLowerLayer))}function L(R,D,F){var B=(F.xref+F.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(R,B?"clip"+D._fullLayout._uid+B:null,D)}function b(R,D,F,B){if(B.selectAll(".shape-label").remove(),F.label.text||F.label.texttemplate){var N;if(F.label.texttemplate){var W={};if(F.type!=="path"){var j=M.getFromId(R,F.xref),Y=M.getFromId(R,F.yref);for(var U in S){var G=S[U](F,j,Y);G!==void 0&&(W[U]=G)}}N=i.texttemplateStringForShapes(F.label.texttemplate,{},R._fullLayout._d3locale,W)}else N=F.label.text;var q,H,ne,te,Z={"data-index":D},X=F.label.font,Q=B.append("g").attr(Z).classed("shape-label",!0).append("text").attr({"data-notex":1}).classed("shape-label-text",!0).text(N);if(F.path){var re=v(R,F),ie=g(re,R);q=1/0,ne=1/0,H=-1/0,te=-1/0;for(var oe=0;oe=Le?Be-je:je-Be,-180/Math.PI*Math.atan2(ge,we)}(q,ne,H,te):0),Q.call(function(Le){return Le.call(u.font,X).attr({}),f.convertToTspans(Le,R),Le});var ae=function(Le,Be,ze,je,ge,we,Ee){var Ve,Ye,$e,st,ot=ge.label.textposition,ft=ge.label.textangle,bt=ge.label.padding,Et=ge.type,kt=Math.PI/180*we,xt=Math.sin(kt),Ft=Math.cos(kt),Rt=ge.label.xanchor,Bt=ge.label.yanchor;if(Et==="line"){ot==="start"?(Ve=Le,Ye=Be):ot==="end"?(Ve=ze,Ye=je):(Ve=(Le+ze)/2,Ye=(Be+je)/2),Rt==="auto"&&(Rt=ot==="start"?ft==="auto"?ze>Le?"left":zeLe?"right":zeLe?"right":zeLe?"left":ze=U||(j[N]?G=D(G):Y[N]&&(G=F(G)),N++),G})})}function I(R){_(R)&&R._fullLayout._activeShapeIndex>=0&&(l(R),delete R._fullLayout._activeShapeIndex,T(R))}k.exports={draw:T,drawOne:A,eraseActiveShape:function(R){if(_(R)){l(R);var D=R._fullLayout._activeShapeIndex,F=(R.layout||{}).shapes||[];if(D0&&CZ&&(Q="X"),Q});return q>Z&&(X=X.replace(/[\s,]*X.*/,""),y.log("Ignoring extra params in segment "+G)),H+X})}(g,l,u);if(g.xsizemode==="pixel"){var C=l(g.xanchor);o=C+g.x0,s=C+g.x1}else o=l(g.x0),s=l(g.x1);if(g.ysizemode==="pixel"){var _=u(g.yanchor);c=_-g.y0,f=_-g.y1}else c=u(g.y0),f=u(g.y1);if(p==="line")return"M"+o+","+c+"L"+s+","+f;if(p==="rect")return"M"+o+","+c+"H"+s+"V"+f+"H"+o+"Z";var A=(o+s)/2,L=(c+f)/2,b=Math.abs(A-o),P=Math.abs(L-c),I="A"+b+","+P,R=A+b+","+L;return"M"+R+I+" 0 1,1 "+A+","+(L-P)+I+" 0 0,1 "+R+"Z"}},89853:function(k,m,t){var d=t(34031);k.exports={moduleType:"component",name:"shapes",layoutAttributes:t(89827),supplyLayoutDefaults:t(84726),supplyDrawNewShapeDefaults:t(45547),includeBasePlot:t(76325)("shapes"),calcAutorange:t(5627),draw:d.draw,drawOne:d.drawOne}},37281:function(k){function m(i,M){return M?M.d2l(i):i}function t(i,M){return M?M.l2d(i):i}function d(i,M){return m(i.x1,M)-m(i.x0,M)}function y(i,M,g){return m(i.y1,g)-m(i.y0,g)}k.exports={x0:function(i){return i.x0},x1:function(i){return i.x1},y0:function(i){return i.y0},y1:function(i){return i.y1},slope:function(i,M,g){return i.type!=="line"?void 0:y(i,0,g)/d(i,M)},dx:d,dy:y,width:function(i,M){return Math.abs(d(i,M))},height:function(i,M,g){return Math.abs(y(i,0,g))},length:function(i,M,g){return i.type!=="line"?void 0:Math.sqrt(Math.pow(d(i,M),2)+Math.pow(y(i,0,g),2))},xcenter:function(i,M){return t((m(i.x1,M)+m(i.x0,M))/2,M)},ycenter:function(i,M,g){return t((m(i.y1,g)+m(i.y0,g))/2,g)}}},75067:function(k,m,t){var d=t(41940),y=t(35025),i=t(1426).extendDeepAll,M=t(30962).overrideAll,g=t(85594),h=t(44467).templatedArray,l=t(98292),a=h("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});k.exports=M(h("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:i(y({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:g.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:d({})},font:d({}),activebgcolor:{valType:"color",dflt:l.gripBgActiveColor},bgcolor:{valType:"color",dflt:l.railBgColor},bordercolor:{valType:"color",dflt:l.railBorderColor},borderwidth:{valType:"number",min:0,dflt:l.railBorderWidth},ticklen:{valType:"number",min:0,dflt:l.tickLength},tickcolor:{valType:"color",dflt:l.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:l.minorTickLength}}),"arraydraw","from-root")},98292:function(k){k.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(k,m,t){var d=t(71828),y=t(85501),i=t(75067),M=t(98292).name,g=i.steps;function h(a,u,o){function s(v,S){return d.coerce(a,u,i,v,S)}for(var c=y(a,u,{name:"steps",handleItemDefaults:l}),f=0,p=0;p0&&(q=q.transition().duration(N.transition.duration).ease(N.transition.easing)),q.attr("transform",h(G-.5*u.gripWidth,N._dims.currentValueTotalHeight))}}function I(B,N){var W=B._dims;return W.inputAreaStart+u.stepInset+(W.inputAreaLength-2*u.stepInset)*Math.min(1,Math.max(0,N))}function R(B,N){var W=B._dims;return Math.min(1,Math.max(0,(N-u.stepInset-W.inputAreaStart)/(W.inputAreaLength-2*u.stepInset-2*W.inputAreaStart)))}function D(B,N,W){var j=W._dims,Y=g.ensureSingle(B,"rect",u.railTouchRectClass,function(U){U.call(L,N,B,W).style("pointer-events","all")});Y.attr({width:j.inputAreaLength,height:Math.max(j.inputAreaWidth,u.tickOffset+W.ticklen+j.labelHeight)}).call(i.fill,W.bgcolor).attr("opacity",0),M.setTranslate(Y,0,j.currentValueTotalHeight)}function F(B,N){var W=N._dims,j=W.inputAreaLength-2*u.railInset,Y=g.ensureSingle(B,"rect",u.railRectClass);Y.attr({width:j,height:u.railWidth,rx:u.railRadius,ry:u.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,N.bordercolor).call(i.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px"),M.setTranslate(Y,u.railInset,.5*(W.inputAreaWidth-u.railWidth)+W.currentValueTotalHeight)}k.exports=function(B){var N=B._context.staticPlot,W=B._fullLayout,j=function(ne,te){for(var Z=ne[u.name],X=[],Q=0;Q0?[0]:[]);function U(ne){ne._commandObserver&&(ne._commandObserver.remove(),delete ne._commandObserver),y.autoMargin(B,p(ne))}if(Y.enter().append("g").classed(u.containerClassName,!0).style("cursor",N?null:"ew-resize"),Y.exit().each(function(){d.select(this).selectAll("g."+u.groupClassName).each(U)}).remove(),j.length!==0){var G=Y.selectAll("g."+u.groupClassName).data(j,w);G.enter().append("g").classed(u.groupClassName,!0),G.exit().each(U).remove();for(var q=0;q0||xe<0){var Se={left:[-Oe,0],right:[Oe,0],top:[0,-Oe],bottom:[0,Oe]}[_.side];X.attr("transform",h(Se[0],Se[1]))}}}return q.call(H),Y&&(F?q.on(".opacity",null):(I=0,R=!0,q.text(T).on("mouseover.opacity",function(){d.select(this).transition().duration(o.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){d.select(this).transition().duration(o.HIDE_PLACEHOLDER).style("opacity",0)})),q.call(u.makeEditable,{gd:f}).on("edit",function(Z){C!==void 0?M.call("_guiRestyle",f,x,Z,C):M.call("_guiRelayout",f,x,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(H)}).on("input",function(Z){this.text(Z||" ").call(u.positionText,A.x,A.y)})),q.classed("js-placeholder",R),b}}},7163:function(k,m,t){var d=t(41940),y=t(22399),i=t(1426).extendFlat,M=t(30962).overrideAll,g=t(35025),h=t(44467).templatedArray,l=h("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});k.exports=M(h("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:l,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:i(g({editType:"arraydraw"}),{}),font:d({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:y.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(k){k.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"โ—„",right:"โ–บ",up:"โ–ฒ",down:"โ–ผ"}}},64897:function(k,m,t){var d=t(71828),y=t(85501),i=t(7163),M=t(75909).name,g=i.buttons;function h(a,u,o){function s(c,f){return d.coerce(a,u,i,c,f)}s("visible",y(a,u,{name:"buttons",handleItemDefaults:l}).length>0)&&(s("active"),s("direction"),s("type"),s("showactive"),s("x"),s("y"),d.noneOrAll(a,u,["x","y"]),s("xanchor"),s("yanchor"),s("pad.t"),s("pad.r"),s("pad.b"),s("pad.l"),d.coerceFont(s,"font",o.font),s("bgcolor",o.paper_bgcolor),s("bordercolor"),s("borderwidth"))}function l(a,u){function o(s,c){return d.coerce(a,u,g,s,c)}o("visible",a.method==="skip"||Array.isArray(a.args))&&(o("method"),o("args"),o("args2"),o("label"),o("execute"))}k.exports=function(a,u){y(a,u,{name:M,handleItemDefaults:h})}},13689:function(k,m,t){var d=t(39898),y=t(74875),i=t(7901),M=t(91424),g=t(71828),h=t(63893),l=t(44467).arrayEditor,a=t(18783).LINE_SPACING,u=t(75909),o=t(25849);function s(I){return I._index}function c(I,R){return+I.attr(u.menuIndexAttrName)===R._index}function f(I,R,D,F,B,N,W,j){R.active=W,l(I.layout,u.name,R).applyUpdate("active",W),R.type==="buttons"?w(I,F,null,null,R):R.type==="dropdown"&&(B.attr(u.menuIndexAttrName,"-1"),p(I,F,B,N,R),j||w(I,F,B,N,R))}function p(I,R,D,F,B){var N=g.ensureSingle(R,"g",u.headerClassName,function(q){q.style("pointer-events","all")}),W=B._dims,j=B.active,Y=B.buttons[j]||u.blankHeaderOpts,U={y:B.pad.t,yPad:0,x:B.pad.l,xPad:0,index:0},G={width:W.headerWidth,height:W.headerHeight};N.call(v,B,Y,I).call(b,B,U,G),g.ensureSingle(R,"text",u.headerArrowClassName,function(q){q.attr("text-anchor","end").call(M.font,B.font).text(u.arrowSymbol[B.direction])}).attr({x:W.headerWidth-u.arrowOffsetX+B.pad.l,y:W.headerHeight/2+u.textOffsetY+B.pad.t}),N.on("click",function(){D.call(P,String(c(D,B)?-1:B._index)),w(I,R,D,F,B)}),N.on("mouseover",function(){N.call(C)}),N.on("mouseout",function(){N.call(_,B)}),M.setTranslate(R,W.lx,W.ly)}function w(I,R,D,F,B){D||(D=R).attr("pointer-events","all");var N=function(X){return+X.attr(u.menuIndexAttrName)==-1}(D)&&B.type!=="buttons"?[]:B.buttons,W=B.type==="dropdown"?u.dropdownButtonClassName:u.buttonClassName,j=D.selectAll("g."+W).data(g.filterVisible(N)),Y=j.enter().append("g").classed(W,!0),U=j.exit();B.type==="dropdown"?(Y.attr("opacity","0").transition().attr("opacity","1"),U.transition().attr("opacity","0").remove()):U.remove();var G=0,q=0,H=B._dims,ne=["up","down"].indexOf(B.direction)!==-1;B.type==="dropdown"&&(ne?q=H.headerHeight+u.gapButtonHeader:G=H.headerWidth+u.gapButtonHeader),B.type==="dropdown"&&B.direction==="up"&&(q=-u.gapButtonHeader+u.gapButton-H.openHeight),B.type==="dropdown"&&B.direction==="left"&&(G=-u.gapButtonHeader+u.gapButton-H.openWidth);var te={x:H.lx+G+B.pad.l,y:H.ly+q+B.pad.t,yPad:u.gapButton,xPad:u.gapButton,index:0},Z={l:te.x+B.borderwidth,t:te.y+B.borderwidth};j.each(function(X,Q){var re=d.select(this);re.call(v,B,X,I).call(b,B,te),re.on("click",function(){d.event.defaultPrevented||(X.execute&&(X.args2&&B.active===Q?(f(I,B,0,R,D,F,-1),y.executeAPICommand(I,X.method,X.args2)):(f(I,B,0,R,D,F,Q),y.executeAPICommand(I,X.method,X.args))),I.emit("plotly_buttonclicked",{menu:B,button:X,active:B.active}))}),re.on("mouseover",function(){re.call(C)}),re.on("mouseout",function(){re.call(_,B),j.call(T,B)})}),j.call(T,B),ne?(Z.w=Math.max(H.openWidth,H.headerWidth),Z.h=te.y-Z.t):(Z.w=te.x-Z.l,Z.h=Math.max(H.openHeight,H.headerHeight)),Z.direction=B.direction,F&&(j.size()?function(X,Q,re,ie,oe,ue){var ce,ye,de,me=oe.direction,pe=me==="up"||me==="down",xe=oe._dims,Oe=oe.active;if(pe)for(ye=0,de=0;de0?[0]:[]);if(B.enter().append("g").classed(u.containerClassName,!0).style("cursor","pointer"),B.exit().each(function(){d.select(this).selectAll("g."+u.headerGroupClassName).each(F)}).remove(),D.length!==0){var N=B.selectAll("g."+u.headerGroupClassName).data(D,s);N.enter().append("g").classed(u.headerGroupClassName,!0);for(var W=g.ensureSingle(B,"g",u.dropdownButtonGroupClassName,function(q){q.style("pointer-events","all")}),j=0;jb,R=g.barLength+2*g.barPad,D=g.barWidth+2*g.barPad,F=v,B=x+T;B+D>s&&(B=s-D);var N=this.container.selectAll("rect.scrollbar-horizontal").data(I?[0]:[]);N.exit().on(".drag",null).remove(),N.enter().append("rect").classed("scrollbar-horizontal",!0).call(y.fill,g.barColor),I?(this.hbar=N.attr({rx:g.barRadius,ry:g.barRadius,x:F,y:B,width:R,height:D}),this._hbarXMin=F+R/2,this._hbarTranslateMax=b-R):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var W=T>P,j=g.barWidth+2*g.barPad,Y=g.barLength+2*g.barPad,U=v+S,G=x;U+j>o&&(U=o-j);var q=this.container.selectAll("rect.scrollbar-vertical").data(W?[0]:[]);q.exit().on(".drag",null).remove(),q.enter().append("rect").classed("scrollbar-vertical",!0).call(y.fill,g.barColor),W?(this.vbar=q.attr({rx:g.barRadius,ry:g.barRadius,x:U,y:G,width:j,height:Y}),this._vbarYMin=G+Y/2,this._vbarTranslateMax=P-Y):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,ne=c-.5,te=W?f+j+.5:f+.5,Z=p-.5,X=I?w+D+.5:w+.5,Q=u._topdefs.selectAll("#"+H).data(I||W?[0]:[]);if(Q.exit().remove(),Q.enter().append("clipPath").attr("id",H).append("rect"),I||W?(this._clipRect=Q.select("rect").attr({x:Math.floor(ne),y:Math.floor(Z),width:Math.ceil(te)-Math.floor(ne),height:Math.ceil(X)-Math.floor(Z)}),this.container.call(i.setClipUrl,H,this.gd),this.bg.attr({x:v,y:x,width:S,height:T})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),I||W){var re=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ie=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault(),d.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));I&&this.hbar.on(".drag",null).call(ie),W&&this.vbar.on(".drag",null).call(ie)}this.setTranslate(l,a)},g.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},g.prototype._onBoxDrag=function(){var h=this.translateX,l=this.translateY;this.hbar&&(h-=d.event.dx),this.vbar&&(l-=d.event.dy),this.setTranslate(h,l)},g.prototype._onBoxWheel=function(){var h=this.translateX,l=this.translateY;this.hbar&&(h+=d.event.deltaY),this.vbar&&(l+=d.event.deltaY),this.setTranslate(h,l)},g.prototype._onBarDrag=function(){var h=this.translateX,l=this.translateY;if(this.hbar){var a=h+this._hbarXMin,u=a+this._hbarTranslateMax;h=(M.constrain(d.event.x,a,u)-a)/(u-a)*(this.position.w-this._box.w)}if(this.vbar){var o=l+this._vbarYMin,s=o+this._vbarTranslateMax;l=(M.constrain(d.event.y,o,s)-o)/(s-o)*(this.position.h-this._box.h)}this.setTranslate(h,l)},g.prototype.setTranslate=function(h,l){var a=this.position.w-this._box.w,u=this.position.h-this._box.h;if(h=M.constrain(h||0,0,a),l=M.constrain(l||0,0,u),this.translateX=h,this.translateY=l,this.container.call(i.setTranslate,this._box.l-this.position.l-h,this._box.t-this.position.t-l),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+h-.5),y:Math.floor(this.position.t+l-.5)}),this.hbar){var o=h/a;this.hbar.call(i.setTranslate,h+o*this._hbarTranslateMax,l)}if(this.vbar){var s=l/u;this.vbar.call(i.setTranslate,h,l+s*this._vbarTranslateMax)}}},18783:function(k){k.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(k){k.exports={axisRefDescription:function(m,t,d){return["If set to a",m,"axis id (e.g. *"+m+"* or","*"+m+"2*), the `"+m+"` position refers to a",m,"coordinate. If set to *paper*, the `"+m+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+d+"). If set to a",m,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+m+"2 domain* refers to the domain of the second",m," axis and a",m,"position of 0.5 refers to the","point between the",t,"and the",d,"of the domain of the","second",m,"axis."].join(" ")}}},22372:function(k){k.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"โ–ฒ"},DECREASING:{COLOR:"#FF4136",SYMBOL:"โ–ผ"}}},31562:function(k){k.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(k){k.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(k){k.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(k){k.exports={circle:"โ—","circle-open":"โ—‹",square:"โ– ","square-open":"โ–ก",diamond:"โ—†","diamond-open":"โ—‡",cross:"+",x:"โŒ"}},37822:function(k){k.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(k){k.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"โˆ’"}},77922:function(k,m){m.xmlns="http://www.w3.org/2000/xmlns/",m.svg="http://www.w3.org/2000/svg",m.xlink="http://www.w3.org/1999/xlink",m.svgAttrs={xmlns:m.svg,"xmlns:xlink":m.xlink}},8729:function(k,m,t){m.version=t(11506).version,t(7417),t(98847);for(var d=t(73972),y=m.register=d.register,i=t(10641),M=Object.keys(i),g=0;g",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(k,m){m.isLeftAnchor=function(t){return t.xanchor==="left"||t.xanchor==="auto"&&t.x<=.3333333333333333},m.isCenterAnchor=function(t){return t.xanchor==="center"||t.xanchor==="auto"&&t.x>.3333333333333333&&t.x<.6666666666666666},m.isRightAnchor=function(t){return t.xanchor==="right"||t.xanchor==="auto"&&t.x>=.6666666666666666},m.isTopAnchor=function(t){return t.yanchor==="top"||t.yanchor==="auto"&&t.y>=.6666666666666666},m.isMiddleAnchor=function(t){return t.yanchor==="middle"||t.yanchor==="auto"&&t.y>.3333333333333333&&t.y<.6666666666666666},m.isBottomAnchor=function(t){return t.yanchor==="bottom"||t.yanchor==="auto"&&t.y<=.3333333333333333}},26348:function(k,m,t){var d=t(64872),y=d.mod,i=d.modHalf,M=Math.PI,g=2*M;function h(o){return Math.abs(o[1]-o[0])>g-1e-14}function l(o,s){return i(s-o,g)}function a(o,s){if(h(s))return!0;var c,f;s[0](f=y(f,g))&&(f+=g);var p=y(o,g),w=p+g;return p>=c&&p<=f||w>=c&&w<=f}function u(o,s,c,f,p,w,v){p=p||0,w=w||0;var S,x,T,C,_,A=h([c,f]);function L(R,D){return[R*Math.cos(D)+p,w-R*Math.sin(D)]}A?(S=0,x=M,T=g):c=p&&o<=w);var p,w},pathArc:function(o,s,c,f,p){return u(null,o,s,c,f,p,0)},pathSector:function(o,s,c,f,p){return u(null,o,s,c,f,p,1)},pathAnnulus:function(o,s,c,f,p,w){return u(o,s,c,f,p,w,1)}}},73627:function(k,m){var t=Array.isArray,d=ArrayBuffer,y=DataView;function i(h){return d.isView(h)&&!(h instanceof y)}function M(h){return t(h)||i(h)}function g(h,l,a){if(M(h)){if(M(h[0])){for(var u=a,o=0;ow.max?f.set(p):f.set(+c)}},integer:{coerceFunction:function(c,f,p,w){c%1||!d(c)||w.min!==void 0&&cw.max?f.set(p):f.set(+c)}},string:{coerceFunction:function(c,f,p,w){if(typeof c!="string"){var v=typeof c=="number";w.strict!==!0&&v?f.set(String(c)):f.set(p)}else w.noBlank&&!c?f.set(p):f.set(c)}},color:{coerceFunction:function(c,f,p){y(c).isValid()?f.set(c):f.set(p)}},colorlist:{coerceFunction:function(c,f,p){Array.isArray(c)&&c.length&&c.every(function(w){return y(w).isValid()})?f.set(c):f.set(p)}},colorscale:{coerceFunction:function(c,f,p){f.set(M.get(c,p))}},angle:{coerceFunction:function(c,f,p){c==="auto"?f.set("auto"):d(c)?f.set(u(+c,360)):f.set(p)}},subplotid:{coerceFunction:function(c,f,p,w){var v=w.regex||a(p);typeof c=="string"&&v.test(c)?f.set(c):f.set(p)},validateFunction:function(c,f){var p=f.dflt;return c===p||typeof c=="string"&&!!a(p).test(c)}},flaglist:{coerceFunction:function(c,f,p,w){if((w.extras||[]).indexOf(c)===-1)if(typeof c=="string"){for(var v=c.split("+"),S=0;S=d&&N<=y?N:a}if(typeof N!="string"&&typeof N!="number")return a;N=String(N);var G=T(W),q=N.charAt(0);!G||q!=="G"&&q!=="g"||(N=N.substr(1),W="");var H=G&&W.substr(0,7)==="chinese",ne=N.match(H?S:v);if(!ne)return a;var te=ne[1],Z=ne[3]||"1",X=Number(ne[5]||1),Q=Number(ne[7]||0),re=Number(ne[9]||0),ie=Number(ne[11]||0);if(G){if(te.length===2)return a;var oe;te=Number(te);try{var ue=p.getComponentMethod("calendars","getCal")(W);if(H){var ce=Z.charAt(Z.length-1)==="i";Z=parseInt(Z,10),oe=ue.newDate(te,ue.toMonthIndex(te,Z,ce),X)}else oe=ue.newDate(te,Number(Z),X)}catch{return a}return oe?(oe.toJD()-f)*u+Q*o+re*s+ie*c:a}te=te.length===2?(Number(te)+2e3-x)%100+x:Number(te),Z-=1;var ye=new Date(Date.UTC(2e3,Z,X,Q,re));return ye.setUTCFullYear(te),ye.getUTCMonth()!==Z||ye.getUTCDate()!==X?a:ye.getTime()+ie*c},d=m.MIN_MS=m.dateTime2ms("-9999"),y=m.MAX_MS=m.dateTime2ms("9999-12-31 23:59:59.9999"),m.isDateTime=function(N,W){return m.dateTime2ms(N,W)!==a};var _=90*u,A=3*o,L=5*s;function b(N,W,j,Y,U){if((W||j||Y||U)&&(N+=" "+C(W,2)+":"+C(j,2),(Y||U)&&(N+=":"+C(Y,2),U))){for(var G=4;U%10==0;)G-=1,U/=10;N+="."+C(U,G)}return N}m.ms2DateTime=function(N,W,j){if(typeof N!="number"||!(N>=d&&N<=y))return a;W||(W=0);var Y,U,G,q,H,ne,te=Math.floor(10*h(N+.05,1)),Z=Math.round(N-te/10);if(T(j)){var X=Math.floor(Z/u)+f,Q=Math.floor(h(N,u));try{Y=p.getComponentMethod("calendars","getCal")(j).fromJD(X).formatDate("yyyy-mm-dd")}catch{Y=w("G%Y-%m-%d")(new Date(Z))}if(Y.charAt(0)==="-")for(;Y.length<11;)Y="-0"+Y.substr(1);else for(;Y.length<10;)Y="0"+Y;U=W<_?Math.floor(Q/o):0,G=W<_?Math.floor(Q%o/s):0,q=W=d+u&&N<=y-u))return a;var W=Math.floor(10*h(N+.05,1)),j=new Date(Math.round(N-W/10));return b(i("%Y-%m-%d")(j),j.getHours(),j.getMinutes(),j.getSeconds(),10*j.getUTCMilliseconds()+W)},m.cleanDate=function(N,W,j){if(N===a)return W;if(m.isJSDate(N)||typeof N=="number"&&isFinite(N)){if(T(j))return g.error("JS Dates and milliseconds are incompatible with world calendars",N),W;if(!(N=m.ms2DateTimeLocal(+N))&&W!==void 0)return W}else if(!m.isDateTime(N,j))return g.error("unrecognized date",N),W;return N};var P=/%\d?f/g,I=/%h/g,R={1:"1",2:"1",3:"2",4:"2"};function D(N,W,j,Y){N=N.replace(P,function(G){var q=Math.min(+G.charAt(1)||6,6);return(W/1e3%1+2).toFixed(q).substr(2).replace(/0+$/,"")||"0"});var U=new Date(Math.floor(W+.05));if(N=N.replace(I,function(){return R[j("%q")(U)]}),T(Y))try{N=p.getComponentMethod("calendars","worldCalFmt")(N,W,Y)}catch{return"Invalid"}return j(N)(U)}var F=[59,59.9,59.99,59.999,59.9999];m.formatDate=function(N,W,j,Y,U,G){if(U=T(U)&&U,!W)if(j==="y")W=G.year;else if(j==="m")W=G.month;else{if(j!=="d")return function(q,H){var ne=h(q+.05,u),te=C(Math.floor(ne/o),2)+":"+C(h(Math.floor(ne/s),60),2);if(H!=="M"){M(H)||(H=0);var Z=(100+Math.min(h(q/c,60),F[H])).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),te+=":"+Z}return te}(N,j)+` +`+D(G.dayMonthYear,N,Y,U);W=G.dayMonth+` +`+G.year}return D(W,N,Y,U)};var B=3*u;m.incrementMonth=function(N,W,j){j=T(j)&&j;var Y=h(N,u);if(N=Math.round(N-Y),j)try{var U=Math.round(N/u)+f,G=p.getComponentMethod("calendars","getCal")(j),q=G.fromJD(U);return W%12?G.add(q,W,"m"):G.add(q,W/12,"y"),(q.toJD()-f)*u+Y}catch{g.error("invalid ms "+N+" in calendar "+j)}var H=new Date(N+B);return H.setUTCMonth(H.getUTCMonth()+W)+Y-B},m.findExactDates=function(N,W){for(var j,Y,U=0,G=0,q=0,H=0,ne=T(W)&&p.getComponentMethod("calendars","getCal")(W),te=0;te0&&b[P+1][0]<0)return P;return null}switch(w=_==="RUS"||_==="FJI"?function(b){var P;if(L(b)===null)P=b;else for(P=new Array(b.length),x=0;xP?I[R++]=[b[x][0]+360,b[x][1]]:x===P?(I[R++]=b[x],I[R++]=[b[x][0],-90]):I[R++]=b[x];var D=o.tester(I);D.pts.pop(),A.push(D)}:function(b){A.push(o.tester(b))},T.type){case"MultiPolygon":for(v=0;vj&&(j=G,B=U)}else B=N;return M.default(B).geometry.coordinates}(D),I.fIn=b,I.fOut=D,T.push(D)}else l.log(["Location",I.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete x[P]}switch(v.type){case"FeatureCollection":var A=v.features;for(S=0;S100?(clearInterval(P),L("Unexpected error while fetching from "+_)):void b++},50)})}for(var T=0;T0&&(M.push(g),g=[])}return g.length>0&&M.push(g),M},m.makeLine=function(y){return y.length===1?{type:"LineString",coordinates:y[0]}:{type:"MultiLineString",coordinates:y}},m.makePolygon=function(y){if(y.length===1)return{type:"Polygon",coordinates:y};for(var i=new Array(y.length),M=0;M1||A<0||A>1?null:{x:l+w*A,y:a+x*A}}function h(l,a,u,o,s){var c=o*l+s*a;if(c<0)return o*o+s*s;if(c>u){var f=o-l,p=s-a;return f*f+p*p}var w=o*a-s*l;return w*w/u}m.segmentsIntersect=g,m.segmentDistance=function(l,a,u,o,s,c,f,p){if(g(l,a,u,o,s,c,f,p))return 0;var w=u-l,v=o-a,S=f-s,x=p-c,T=w*w+v*v,C=S*S+x*x,_=Math.min(h(w,v,T,s-l,c-a),h(w,v,T,f-l,p-a),h(S,x,C,l-s,a-c),h(S,x,C,u-s,o-c));return Math.sqrt(_)},m.getTextLocation=function(l,a,u,o){if(l===y&&o===i||(d={},y=l,i=o),d[u])return d[u];var s=l.getPointAtLength(M(u-o/2,a)),c=l.getPointAtLength(M(u+o/2,a)),f=Math.atan((c.y-s.y)/(c.x-s.x)),p=l.getPointAtLength(M(u,a)),w={x:(4*p.x+s.x+c.x)/6,y:(4*p.y+s.y+c.y)/6,theta:f};return d[u]=w,w},m.clearLocationCache=function(){y=null},m.getVisibleSegment=function(l,a,u){var o,s,c=a.left,f=a.right,p=a.top,w=a.bottom,v=0,S=l.getTotalLength(),x=S;function T(_){var A=l.getPointAtLength(_);_===0?o=A:_===S&&(s=A);var L=A.xf?A.x-f:0,b=A.yw?A.y-w:0;return Math.sqrt(L*L+b*b)}for(var C=T(v);C;){if((v+=C+u)>x)return;C=T(v)}for(C=T(x);C;){if(v>(x-=C+u))return;C=T(x)}return{min:v,max:x,len:x-v,total:S,isClosed:v===0&&x===S&&Math.abs(o.x-s.x)<.1&&Math.abs(o.y-s.y)<.1}},m.findPointOnPath=function(l,a,u,o){for(var s,c,f,p=(o=o||{}).pathLength||l.getTotalLength(),w=o.tolerance||.001,v=o.iterationLimit||30,S=l.getPointAtLength(0)[u]>l.getPointAtLength(p)[u]?-1:1,x=0,T=0,C=p;x0?C=s:T=s,x++}return c}},81697:function(k,m,t){var d=t(92770),y=t(84267),i=t(25075),M=t(21081),g=t(22399).defaultLine,h=t(73627).isArrayOrTypedArray,l=i(g);function a(s,c){var f=s;return f[3]*=c,f}function u(s){if(d(s))return l;var c=i(s);return c.length?c:l}function o(s){return d(s)?s:1}k.exports={formatColor:function(s,c,f){var p,w,v,S,x,T=s.color,C=h(T),_=h(c),A=M.extractOpts(s),L=[];if(p=A.colorscale!==void 0?M.makeColorScaleFuncFromTrace(s):u,w=C?function(P,I){return P[I]===void 0?l:i(p(P[I]))}:u,v=_?function(P,I){return P[I]===void 0?1:o(P[I])}:o,C||_)for(var b=0;b1?(d*m+d*t)/d:m+t,i=String(y).length;if(i>16){var M=String(t).length;if(i>=String(m).length+M){var g=parseFloat(y).toPrecision(12);g.indexOf("e+")===-1&&(y=+g)}}return y}},71828:function(k,m,t){var d=t(39898),y=t(84096).g0,i=t(60721).WU,M=t(92770),g=t(50606),h=g.FP_SAFE,l=-h,a=g.BADNUM,u=k.exports={};u.adjustFormat=function(Q){return!Q||/^\d[.]\df/.test(Q)||/[.]\d%/.test(Q)?Q:Q==="0.f"?"~f":/^\d%/.test(Q)?"~%":/^\ds/.test(Q)?"~s":!/^[~,.0$]/.test(Q)&&/[&fps]/.test(Q)?"~"+Q:Q};var o={};u.warnBadFormat=function(Q){var re=String(Q);o[re]||(o[re]=1,u.warn('encountered bad format: "'+re+'"'))},u.noFormat=function(Q){return String(Q)},u.numberFormat=function(Q){var re;try{re=i(u.adjustFormat(Q))}catch{return u.warnBadFormat(Q),u.noFormat}return re},u.nestedProperty=t(65487),u.keyedContainer=t(66636),u.relativeAttr=t(6962),u.isPlainObject=t(41965),u.toLogRange=t(58163),u.relinkPrivateKeys=t(51332);var s=t(73627);u.isTypedArray=s.isTypedArray,u.isArrayOrTypedArray=s.isArrayOrTypedArray,u.isArray1D=s.isArray1D,u.ensureArray=s.ensureArray,u.concat=s.concat,u.maxRowLength=s.maxRowLength,u.minRowLength=s.minRowLength;var c=t(64872);u.mod=c.mod,u.modHalf=c.modHalf;var f=t(96554);u.valObjectMeta=f.valObjectMeta,u.coerce=f.coerce,u.coerce2=f.coerce2,u.coerceFont=f.coerceFont,u.coercePattern=f.coercePattern,u.coerceHoverinfo=f.coerceHoverinfo,u.coerceSelectionMarkerOpacity=f.coerceSelectionMarkerOpacity,u.validate=f.validate;var p=t(41631);u.dateTime2ms=p.dateTime2ms,u.isDateTime=p.isDateTime,u.ms2DateTime=p.ms2DateTime,u.ms2DateTimeLocal=p.ms2DateTimeLocal,u.cleanDate=p.cleanDate,u.isJSDate=p.isJSDate,u.formatDate=p.formatDate,u.incrementMonth=p.incrementMonth,u.dateTick0=p.dateTick0,u.dfltRange=p.dfltRange,u.findExactDates=p.findExactDates,u.MIN_MS=p.MIN_MS,u.MAX_MS=p.MAX_MS;var w=t(65888);u.findBin=w.findBin,u.sorterAsc=w.sorterAsc,u.sorterDes=w.sorterDes,u.distinctVals=w.distinctVals,u.roundUp=w.roundUp,u.sort=w.sort,u.findIndexOfMin=w.findIndexOfMin,u.sortObjectKeys=t(78607);var v=t(80038);u.aggNums=v.aggNums,u.len=v.len,u.mean=v.mean,u.median=v.median,u.midRange=v.midRange,u.variance=v.variance,u.stdev=v.stdev,u.interp=v.interp;var S=t(35657);u.init2dArray=S.init2dArray,u.transposeRagged=S.transposeRagged,u.dot=S.dot,u.translationMatrix=S.translationMatrix,u.rotationMatrix=S.rotationMatrix,u.rotationXYMatrix=S.rotationXYMatrix,u.apply3DTransform=S.apply3DTransform,u.apply2DTransform=S.apply2DTransform,u.apply2DTransform2=S.apply2DTransform2,u.convertCssMatrix=S.convertCssMatrix,u.inverseTransformMatrix=S.inverseTransformMatrix;var x=t(26348);u.deg2rad=x.deg2rad,u.rad2deg=x.rad2deg,u.angleDelta=x.angleDelta,u.angleDist=x.angleDist,u.isFullCircle=x.isFullCircle,u.isAngleInsideSector=x.isAngleInsideSector,u.isPtInsideSector=x.isPtInsideSector,u.pathArc=x.pathArc,u.pathSector=x.pathSector,u.pathAnnulus=x.pathAnnulus;var T=t(99863);u.isLeftAnchor=T.isLeftAnchor,u.isCenterAnchor=T.isCenterAnchor,u.isRightAnchor=T.isRightAnchor,u.isTopAnchor=T.isTopAnchor,u.isMiddleAnchor=T.isMiddleAnchor,u.isBottomAnchor=T.isBottomAnchor;var C=t(87642);u.segmentsIntersect=C.segmentsIntersect,u.segmentDistance=C.segmentDistance,u.getTextLocation=C.getTextLocation,u.clearLocationCache=C.clearLocationCache,u.getVisibleSegment=C.getVisibleSegment,u.findPointOnPath=C.findPointOnPath;var _=t(1426);u.extendFlat=_.extendFlat,u.extendDeep=_.extendDeep,u.extendDeepAll=_.extendDeepAll,u.extendDeepNoArrays=_.extendDeepNoArrays;var A=t(47769);u.log=A.log,u.warn=A.warn,u.error=A.error;var L=t(30587);u.counterRegex=L.counter;var b=t(79990);u.throttle=b.throttle,u.throttleDone=b.done,u.clearThrottle=b.clear;var P=t(24401);function I(Q){var re={};for(var ie in Q)for(var oe=Q[ie],ue=0;ueh||Q=re)&&M(Q)&&Q>=0&&Q%1==0},u.noop=t(64213),u.identity=t(23389),u.repeat=function(Q,re){for(var ie=new Array(re),oe=0;oeie?Math.max(ie,Math.min(re,Q)):Math.max(re,Math.min(ie,Q))},u.bBoxIntersect=function(Q,re,ie){return ie=ie||0,Q.left<=re.right+ie&&re.left<=Q.right+ie&&Q.top<=re.bottom+ie&&re.top<=Q.bottom+ie},u.simpleMap=function(Q,re,ie,oe,ue){for(var ce=Q.length,ye=new Array(ce),de=0;de=Math.pow(2,ie)?ue>10?(u.warn("randstr failed uniqueness"),me):Q(re,ie,oe,(ue||0)+1):me},u.OptionControl=function(Q,re){Q||(Q={}),re||(re="opt");var ie={optionList:[],_newoption:function(oe){oe[re]=Q,ie[oe.name]=oe,ie.optionList.push(oe)}};return ie["_"+re]=Q,ie},u.smooth=function(Q,re){if((re=Math.round(re)||0)<2)return Q;var ie,oe,ue,ce,ye=Q.length,de=2*ye,me=2*re-1,pe=new Array(me),xe=new Array(ye);for(ie=0;ie=de&&(ue-=de*Math.floor(ue/de)),ue<0?ue=-1-ue:ue>=ye&&(ue=de-1-ue),ce+=Q[ue]*pe[oe];xe[ie]=ce}return xe},u.syncOrAsync=function(Q,re,ie){var oe;function ue(){return u.syncOrAsync(Q,re,ie)}for(;Q.length;)if((oe=(0,Q.splice(0,1)[0])(re))&&oe.then)return oe.then(ue);return ie&&ie(re)},u.stripTrailingSlash=function(Q){return Q.substr(-1)==="/"?Q.substr(0,Q.length-1):Q},u.noneOrAll=function(Q,re,ie){if(Q){var oe,ue=!1,ce=!0;for(oe=0;oe0?ue:0})},u.fillArray=function(Q,re,ie,oe){if(oe=oe||u.identity,u.isArrayOrTypedArray(Q))for(var ue=0;ue1?ue+ye[1]:"";if(ce&&(ye.length>1||de.length>4||ie))for(;oe.test(de);)de=de.replace(oe,"$1"+ce+"$2");return de+me},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var W=/^\w*$/;u.templateString=function(Q,re){var ie={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(oe,ue){var ce;return W.test(ue)?ce=re[ue]:(ie[ue]=ie[ue]||u.nestedProperty(re,ue).get,ce=ie[ue]()),u.isValidTextValue(ce)?ce:""})};var j={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return ne.apply(j,arguments)};var Y={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return ne.apply(Y,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function G(Q){var re=Q.match(U);return re?{key:re[1],op:re[2],number:Number(re[3])}:{key:Q,op:null,number:null}}var q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};u.texttemplateStringForShapes=function(){return ne.apply(q,arguments)};var H=/^[:|\|]/;function ne(Q,re,ie){var oe=this,ue=arguments;re||(re={});var ce={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(ye,de,me){var pe=de==="_xother"||de==="_yother",xe=de==="_xother_"||de==="_yother_",Oe=de==="xother_"||de==="yother_",_e=de==="xother"||de==="yother"||pe||Oe||xe,Me=de;(pe||xe)&&(Me=Me.substring(1)),(Oe||xe)&&(Me=Me.substring(0,Me.length-1));var Se,Ce,ae,he=null,be=null;if(oe.parseMultDiv){var ke=G(Me);Me=ke.key,he=ke.op,be=ke.number}if(_e){if((Se=re[Me])===void 0)return""}else for(ae=3;ae=48&&ye<=57,pe=de>=48&&de<=57;if(me&&(oe=10*oe+ye-48),pe&&(ue=10*ue+de-48),!me||!pe){if(oe!==ue)return oe-ue;if(ye!==de)return ye-de}}return ue-oe};var te=2e9;u.seedPseudoRandom=function(){te=2e9},u.pseudoRandom=function(){var Q=te;return te=(69069*te+1)%4294967296,Math.abs(te-Q)<429496729?u.pseudoRandom():te/4294967296},u.fillText=function(Q,re,ie){var oe=Array.isArray(ie)?function(ye){ie.push(ye)}:function(ye){ie.text=ye},ue=u.extractOption(Q,re,"htx","hovertext");if(u.isValidTextValue(ue))return oe(ue);var ce=u.extractOption(Q,re,"tx","text");return u.isValidTextValue(ce)?oe(ce):void 0},u.isValidTextValue=function(Q){return Q||Q===0},u.formatPercent=function(Q,re){re=re||0;for(var ie=(Math.round(100*Q*Math.pow(10,re))*Math.pow(.1,re)).toFixed(re)+"%",oe=0;oe1&&(pe=1):pe=0,u.strTranslate(ue-pe*(ie+ye),ce-pe*(oe+de))+u.strScale(pe)+(me?"rotate("+me+(re?"":" "+ie+" "+oe)+")":"")},u.setTransormAndDisplay=function(Q,re){Q.attr("transform",u.getTextTransform(re)),Q.style("display",re.scale?null:"none")},u.ensureUniformFontSize=function(Q,re){var ie=u.extendFlat({},re);return ie.size=Math.max(re.size,Q._fullLayout.uniformtext.minsize||0),ie},u.join2=function(Q,re,ie){var oe=Q.length;return oe>1?Q.slice(0,-1).join(re)+ie+Q[oe-1]:Q.join(re)},u.bigFont=function(Q){return Math.round(1.2*Q)};var Z=u.getFirefoxVersion(),X=Z!==null&&Z<86;u.getPositionFromD3Event=function(){return X?[d.event.layerX,d.event.layerY]:[d.event.offsetX,d.event.offsetY]}},41965:function(k){k.exports=function(m){return window&&window.process&&window.process.versions?Object.prototype.toString.call(m)==="[object Object]":Object.prototype.toString.call(m)==="[object Object]"&&Object.getPrototypeOf(m).hasOwnProperty("hasOwnProperty")}},66636:function(k,m,t){var d=t(65487),y=/^\w*$/;k.exports=function(i,M,g,h){var l,a,u;g=g||"name",h=h||"value";var o={};M&&M.length?(u=d(i,M),a=u.get()):a=i,M=M||"";var s={};if(a)for(l=0;l2)return o[w]=2|o[w],f.set(p,null);if(c){for(l=w;l1){var g=["LOG:"];for(M=0;M1){var h=[];for(M=0;M"),"long")}},i.warn=function(){var M;if(d.logging>0){var g=["WARN:"];for(M=0;M0){var h=[];for(M=0;M"),"stick")}},i.error=function(){var M;if(d.logging>0){var g=["ERROR:"];for(M=0;M0){var h=[];for(M=0;M"),"stick")}}},77310:function(k,m,t){var d=t(39898);k.exports=function(y,i,M){var g=y.selectAll("g."+M.replace(/\s/g,".")).data(i,function(l){return l[0].trace.uid});g.exit().remove(),g.enter().append("g").attr("class",M),g.order();var h=y.classed("rangeplot")?"nodeRangePlot3":"node3";return g.each(function(l){l[0][h]=d.select(this)}),g}},35657:function(k,m,t){var d=t(79576);m.init2dArray=function(y,i){for(var M=new Array(y),g=0;gt/2?m-Math.round(m/t)*t:m}}},65487:function(k,m,t){var d=t(92770),y=t(73627).isArrayOrTypedArray;function i(o,s){return function(){var c,f,p,w,v,S=o;for(w=0;w/g),f=0;fa||x===y||xo||v&&s(w))}:function(w,v){var S=w[0],x=w[1];if(S===y||Sa||x===y||xo)return!1;var T,C,_,A,L,b=h.length,P=h[0][0],I=h[0][1],R=0;for(T=1;TMath.max(C,P)||x>Math.max(_,I)))if(xf||Math.abs(d(u,w))>l)return!0;return!1},i.filter=function(M,g){var h=[M[0]],l=0,a=0;function u(o){M.push(o);var s=h.length,c=l;h.splice(a+1);for(var f=c+1;f1&&u(M.pop()),{addPt:u,raw:M,filtered:h}}},79749:function(k,m,t){var d=t(58617),y=t(98580);k.exports=function(i,M,g){var h=i._fullLayout,l=!0;return h._glcanvas.each(function(a){if(a.regl)a.regl.preloadCachedCode(g);else if(!a.pick||h._has("parcoords")){try{a.regl=y({canvas:this,attributes:{antialias:!a.pick,preserveDrawingBuffer:!0},pixelRatio:i._context.plotGlPixelRatio||t.g.devicePixelRatio,extensions:M||[],cachedCode:g||{}})}catch{l=!1}a.regl||(l=!1),l&&this.addEventListener("webglcontextlost",function(u){i&&i.emit&&i.emit("plotly_webglcontextlost",{event:u,layer:a.key})},!1)}}),l||d({container:h._glcontainer.node()}),l}},45142:function(k,m,t){var d=t(92770),y=t(35791);k.exports=function(i){var M;if(typeof(M=i&&i.hasOwnProperty("userAgent")?i.userAgent:function(){var s;return typeof navigator<"u"&&(s=navigator.userAgent),s&&s.headers&&typeof s.headers["user-agent"]=="string"&&(s=s.headers["user-agent"]),s}())!="string")return!0;var g=y({ua:{headers:{"user-agent":M}},tablet:!0,featureDetect:!1});if(!g){for(var h=M.split(" "),l=1;l-1;a--){var u=h[a];if(u.substr(0,8)==="Version/"){var o=u.substr(8).split(".")[0];if(d(o)&&(o=+o),o>=13)return!0}}}return g}},75138:function(k){k.exports=function(m,t){if(t instanceof RegExp){for(var d=t.toString(),y=0;yy.queueLength&&(M.undoQueue.queue.shift(),M.undoQueue.index--))},startSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!0,M.undoQueue.beginSequence=!0},stopSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!1,M.undoQueue.beginSequence=!1},undo:function(M){var g,h;if(!(M.undoQueue===void 0||isNaN(M.undoQueue.index)||M.undoQueue.index<=0)){for(M.undoQueue.index--,g=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,h=0;h=M.undoQueue.queue.length)){for(g=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,h=0;hs}function u(o,s){return o>=s}m.findBin=function(o,s,c){if(d(s.start))return c?Math.ceil((o-s.start)/s.size-g)-1:Math.floor((o-s.start)/s.size+g);var f,p,w=0,v=s.length,S=0,x=v>1?(s[v-1]-s[0])/(v-1):1;for(p=x>=0?c?h:l:c?u:a,o+=x*g*(c?-1:1)*(x>=0?1:-1);w90&&y.log("Long binary search..."),w-1},m.sorterAsc=function(o,s){return o-s},m.sorterDes=function(o,s){return s-o},m.distinctVals=function(o){var s,c=o.slice();for(c.sort(m.sorterAsc),s=c.length-1;s>-1&&c[s]===M;s--);for(var f,p=c[s]-c[0]||1,w=p/(s||1)/1e4,v=[],S=0;S<=s;S++){var x=c[S],T=x-f;f===void 0?(v.push(x),f=x):T>w&&(p=Math.min(p,T),v.push(x),f=x)}return{vals:v,minDiff:p}},m.roundUp=function(o,s,c){for(var f,p=0,w=s.length-1,v=0,S=c?0:1,x=c?1:0,T=c?Math.ceil:Math.floor;p0&&(f=1),c&&f)return o.sort(s)}return f?o:o.reverse()},m.findIndexOfMin=function(o,s){s=s||i;for(var c,f=1/0,p=0;pg.length)&&(h=g.length),d(M)||(M=!1),y(g[0])){for(a=new Array(h),l=0;li.length-1)return i[i.length-1];var g=M%1;return g*i[Math.ceil(M)]+(1-g)*i[Math.floor(M)]}},78614:function(k,m,t){var d=t(25075);k.exports=function(y){return y?d(y):[0,0,0,1]}},63893:function(k,m,t){var d=t(39898),y=t(71828),i=y.strTranslate,M=t(77922),g=t(18783).LINE_SPACING,h=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;m.convertToTspans=function(N,W,j){var Y=N.text(),U=!N.attr("data-notex")&&W&&W._context.typesetMath&&typeof MathJax<"u"&&Y.match(h),G=d.select(N.node().parentNode);if(!G.empty()){var q=N.attr("class")?N.attr("class").split(" ")[0]:"text";return q+="-math",G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove(),N.style("display",null).attr({"data-unformatted":Y,"data-math":"N"}),U?(W&&W._promises||[]).push(new Promise(function(ne){N.style("display","none");var te=parseInt(N.node().style.fontSize,10),Z={fontSize:te};(function(X,Q,re){var ie,oe,ue,ce,ye=parseInt((MathJax.version||"").split(".")[0]);if(ye===2||ye===3){var de=function(){var pe="math-output-"+y.randstr({},64),xe=(ce=d.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":Q.fontSize+"px"}).text(X.replace(l,"\\lt ").replace(a,"\\gt "))).node();return ye===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},me=function(){var pe=ce.select(ye===2?".MathJax_SVG":".MathJax"),xe=!pe.empty()&&ce.select("svg").node();if(xe){var Oe,_e=xe.getBoundingClientRect();Oe=ye===2?d.select("body").select("#MathJax_SVG_glyphs"):pe.select("defs"),re(pe,Oe,_e)}else y.log("There was an error in the tex syntax.",X),re();ce.remove()};ye===2?MathJax.Hub.Queue(function(){return oe=y.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:u},displayAlign:"left"})},function(){if((ie=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},de,me,function(){if(ie!=="SVG")return MathJax.Hub.setRenderer(ie)},function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(oe)}):ye===3&&(oe=y.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=u,(ie=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){de(),me(),ie!=="svg"&&(MathJax.config.startup.output=ie),MathJax.config=oe}))}else y.warn("No MathJax version:",MathJax.version)})(U[2],Z,function(X,Q,re){G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove();var ie=X&&X.select("svg");if(!ie||!ie.node())return H(),void ne();var oe=G.append("g").classed(q+"-group",!0).attr({"pointer-events":"none","data-unformatted":Y,"data-math":"Y"});oe.node().appendChild(ie.node()),Q&&Q.node()&&ie.node().insertBefore(Q.node().cloneNode(!0),ie.node().firstChild);var ue=re.width,ce=re.height;ie.attr({class:q,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var ye=N.node().style.fill||"black",de=ie.select("g");de.attr({fill:ye,stroke:ye});var me=de.node().getBoundingClientRect(),pe=me.width,xe=me.height;(pe>ue||xe>ce)&&(ie.style("overflow","hidden"),pe=(me=ie.node().getBoundingClientRect()).width,xe=me.height);var Oe=+N.attr("x"),_e=+N.attr("y"),Me=-(te||N.node().getBoundingClientRect().height)/4;if(q[0]==="y")oe.attr({transform:"rotate("+[-90,Oe,_e]+")"+i(-pe/2,Me-xe/2)});else if(q[0]==="l")_e=Me-xe/2;else if(q[0]==="a"&&q.indexOf("atitle")!==0)Oe=0,_e=Me;else{var Se=N.attr("text-anchor");Oe-=pe*(Se==="middle"?.5:Se==="end"?1:0),_e=_e+Me-xe/2}ie.attr({x:Oe,y:_e}),j&&j.call(N,oe),ne(oe)})})):H(),N}function H(){G.empty()||(q=N.attr("class")+"-math",G.select("svg."+q).remove()),N.text("").style("white-space","pre");var ne=function(te,Z){Z=Z.replace(w," ");var X,Q=!1,re=[],ie=-1;function oe(){ie++;var be=document.createElementNS(M.svg,"tspan");d.select(be).attr({class:"line",dy:ie*g+"em"}),te.appendChild(be),X=be;var ke=re;if(re=[{node:be}],ke.length>1)for(var Le=1;Le doesnt match end tag <"+be+">. Pretending it did match.",Z),X=re[re.length-1].node}else y.log("Ignoring unexpected end tag .",Z)}x.test(Z)?oe():(X=te,re=[{node:te}]);for(var de=Z.split(v),me=0;me|>|>)/g,u=[["$","$"],["\\(","\\)"]],o={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},s={sub:"0.3em",sup:"-0.6em"},c={sub:"-0.21em",sup:"0.42em"},f="โ€‹",p=["http:","https:","mailto:","",void 0,":"],w=m.NEWLINES=/(\r\n?|\n)/g,v=/(<[^<>]*>)/,S=/<(\/?)([^ >]*)(\s+(.*))?>/i,x=//i;m.BR_TAG_ALL=//gi;var T=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,C=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,_=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,A=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function L(N,W){if(!N)return null;var j=N.match(W),Y=j&&(j[3]||j[4]);return Y&&R(Y)}var b=/(^|;)\s*color:/;m.plainText=function(N,W){for(var j=(W=W||{}).len!==void 0&&W.len!==-1?W.len:1/0,Y=W.allowedTags!==void 0?W.allowedTags:["br"],U=3,G=N.split(v),q=[],H="",ne=0,te=0;teU?q.push(Z.substr(0,ie-U)+"..."):q.push(Z.substr(0,ie));break}H=""}}return q.join("")};var P={mu:"ฮผ",amp:"&",lt:"<",gt:">",nbsp:"ย ",times:"ร—",plusmn:"ยฑ",deg:"ยฐ"},I=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function R(N){return N.replace(I,function(W,j){return(j.charAt(0)==="#"?function(Y){if(!(Y>1114111)){var U=String.fromCodePoint;if(U)return U(Y);var G=String.fromCharCode;return Y<=65535?G(Y):G(55232+(Y>>10),Y%1024+56320)}}(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):P[j])||W})}function D(N){var W=encodeURI(decodeURI(N)),j=document.createElement("a"),Y=document.createElement("a");j.href=N,Y.href=W;var U=j.protocol,G=Y.protocol;return p.indexOf(U)!==-1&&p.indexOf(G)!==-1?W:""}function F(N,W,j){var Y,U,G,q=j.horizontalAlign,H=j.verticalAlign||"top",ne=N.node().getBoundingClientRect(),te=W.node().getBoundingClientRect();return U=H==="bottom"?function(){return ne.bottom-Y.height}:H==="middle"?function(){return ne.top+(ne.height-Y.height)/2}:function(){return ne.top},G=q==="right"?function(){return ne.right-Y.width}:q==="center"?function(){return ne.left+(ne.width-Y.width)/2}:function(){return ne.left},function(){Y=this.node().getBoundingClientRect();var Z=G()-te.left,X=U()-te.top,Q=j.gd||{};if(j.gd){Q._fullLayout._calcInverseTransform(Q);var re=y.apply3DTransform(Q._fullLayout._invTransform)(Z,X);Z=re[0],X=re[1]}return this.style({top:X+"px",left:Z+"px","z-index":1e3}),this}}m.convertEntities=R,m.sanitizeHTML=function(N){N=N.replace(w," ");for(var W=document.createElement("p"),j=W,Y=[],U=N.split(v),G=0;Gg.ts+i?a():g.timer=setTimeout(function(){a(),g.timer=null},i)},m.done=function(y){var i=t[y];return i&&i.timer?new Promise(function(M){var g=i.onDone;i.onDone=function(){g&&g(),M(),i.onDone=null}}):Promise.resolve()},m.clear=function(y){if(y)d(t[y]),delete t[y];else for(var i in t)m.clear(i)}},58163:function(k,m,t){var d=t(92770);k.exports=function(y,i){if(y>0)return Math.log(y)/Math.LN10;var M=Math.log(Math.min(i[0],i[1]))/Math.LN10;return d(M)||(M=Math.log(Math.max(i[0],i[1]))/Math.LN10-6),M}},90973:function(k,m,t){var d=k.exports={},y=t(78776).locationmodeToLayer,i=t(96892).zL;d.getTopojsonName=function(M){return[M.scope.replace(/ /g,"-"),"_",M.resolution.toString(),"m"].join("")},d.getTopojsonPath=function(M,g){return M+g+".json"},d.getTopojsonFeatures=function(M,g){var h=y[M.locationmode],l=g.objects[h];return i(g,l).features}},37815:function(k){k.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(k){k.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(k,m,t){var d=t(73972);k.exports=function(y){for(var i,M,g=d.layoutArrayContainers,h=d.layoutArrayRegexes,l=y.split("[")[0],a=0;a0&&M.log("Clearing previous rejected promises from queue."),C._promises=[]},m.cleanLayout=function(C){var _,A;C||(C={}),C.xaxis1&&(C.xaxis||(C.xaxis=C.xaxis1),delete C.xaxis1),C.yaxis1&&(C.yaxis||(C.yaxis=C.yaxis1),delete C.yaxis1),C.scene1&&(C.scene||(C.scene=C.scene1),delete C.scene1);var L=(g.subplotsRegistry.cartesian||{}).attrRegex,b=(g.subplotsRegistry.polar||{}).attrRegex,P=(g.subplotsRegistry.ternary||{}).attrRegex,I=(g.subplotsRegistry.gl3d||{}).attrRegex,R=Object.keys(C);for(_=0;_3?(re.x=1.02,re.xanchor="left"):re.x<-2&&(re.x=-.02,re.xanchor="right"),re.y>3?(re.y=1.02,re.yanchor="bottom"):re.y<-2&&(re.y=-.02,re.yanchor="top")),c(C),C.dragmode==="rotate"&&(C.dragmode="orbit"),l.clean(C),C.template&&C.template.layout&&m.cleanLayout(C.template.layout),C},m.cleanData=function(C){for(var _=0;_0)return C.substr(0,_)}m.hasParent=function(C,_){for(var A=x(_);A;){if(A in C)return!0;A=x(A)}return!1};var T=["x","y","z"];m.clearAxisTypes=function(C,_,A){for(var L=0;L<_.length;L++)for(var b=C._fullData[L],P=0;P<3;P++){var I=u(C,b,T[P]);if(I&&I.type!=="log"){var R=I._name,D=I._id.substr(1);if(D.substr(0,5)==="scene"){if(A[D]!==void 0)continue;R=D+"."+R}var F=R+".type";A[R]===void 0&&A[F]===void 0&&M.nestedProperty(C.layout,F).set(null)}}}},10641:function(k,m,t){var d=t(72391);m._doPlot=d._doPlot,m.newPlot=d.newPlot,m.restyle=d.restyle,m.relayout=d.relayout,m.redraw=d.redraw,m.update=d.update,m._guiRestyle=d._guiRestyle,m._guiRelayout=d._guiRelayout,m._guiUpdate=d._guiUpdate,m._storeDirectGUIEdit=d._storeDirectGUIEdit,m.react=d.react,m.extendTraces=d.extendTraces,m.prependTraces=d.prependTraces,m.addTraces=d.addTraces,m.deleteTraces=d.deleteTraces,m.moveTraces=d.moveTraces,m.purge=d.purge,m.addFrames=d.addFrames,m.deleteFrames=d.deleteFrames,m.animate=d.animate,m.setPlotConfig=d.setPlotConfig,m.toImage=t(403),m.validate=t(84936),m.downloadImage=t(7239);var y=t(96318);m.makeTemplate=y.makeTemplate,m.validateTemplate=y.validateTemplate},6611:function(k,m,t){var d=t(41965),y=t(64213),i=t(47769),M=t(65888).sorterAsc,g=t(73972);m.containerArrayMatch=t(14458);var h=m.isAddVal=function(a){return a==="add"||d(a)},l=m.isRemoveVal=function(a){return a===null||a==="remove"};m.applyContainerArrayChanges=function(a,u,o,s,c){var f=u.astr,p=g.getComponentMethod(f,"supplyLayoutDefaults"),w=g.getComponentMethod(f,"draw"),v=g.getComponentMethod(f,"drawOne"),S=s.replot||s.recalc||p===y||w===y,x=a.layout,T=a._fullLayout;if(o[""]){Object.keys(o).length>1&&i.warn("Full array edits are incompatible with other edits",f);var C=o[""][""];if(l(C))u.set(null);else{if(!Array.isArray(C))return i.warn("Unrecognized full array edit value",f,C),!0;u.set(C)}return!S&&(p(x,T),w(a),!0)}var _,A,L,b,P,I,R,D,F=Object.keys(o).map(Number).sort(M),B=u.get(),N=B||[],W=c(T,f).get(),j=[],Y=-1,U=N.length;for(_=0;_N.length-(R?0:1))i.warn("index out of range",f,L);else if(I!==void 0)P.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",f,L),l(I)?j.push(L):R?(I==="add"&&(I={}),N.splice(L,0,I),W&&W.splice(L,0,{})):i.warn("Unrecognized full object edit value",f,L,I),Y===-1&&(Y=L);else for(A=0;A=0;_--)N.splice(j[_],1),W&&W.splice(j[_],1);if(N.length?B||u.set(N):u.set(null),S)return!1;if(p(x,T),v!==y){var G;if(Y===-1)G=F;else{for(U=Math.max(N.length,U),G=[],_=0;_=Y);_++)G.push(L);for(_=Y;_=ae.data.length||Le<-ae.data.length)throw new Error(be+" must be valid indices for gd.data.");if(he.indexOf(Le,ke+1)>-1||Le>=0&&he.indexOf(-ae.data.length+Le)>-1||Le<0&&he.indexOf(ae.data.length+Le)>-1)throw new Error("each index in "+be+" must be unique.")}}function B(ae,he,be){if(!Array.isArray(ae.data))throw new Error("gd.data must be an array.");if(he===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(he)||(he=[he]),F(ae,he,"currentIndices"),be===void 0||Array.isArray(be)||(be=[be]),be!==void 0&&F(ae,be,"newIndices"),be!==void 0&&he.length!==be.length)throw new Error("current and new indices must be of equal length.")}function N(ae,he,be,ke,Le){(function(Ye,$e,st,ot){var ft=M.isPlainObject(ot);if(!Array.isArray(Ye.data))throw new Error("gd.data must be an array");if(!M.isPlainObject($e))throw new Error("update must be a key:value object");if(st===void 0)throw new Error("indices must be an integer or array of integers");for(var bt in F(Ye,st,"indices"),$e){if(!Array.isArray($e[bt])||$e[bt].length!==st.length)throw new Error("attribute "+bt+" must be an array of length equal to indices array length");if(ft&&(!(bt in ot)||!Array.isArray(ot[bt])||ot[bt].length!==$e[bt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}})(ae,he,be,ke);for(var Be=function(Ye,$e,st,ot){var ft,bt,Et,kt,xt,Ft=M.isPlainObject(ot),Rt=[];for(var Bt in Array.isArray(st)||(st=[st]),st=D(st,Ye.data.length-1),$e)for(var qt=0;qt-1&&be.indexOf("grouptitlefont")===-1?je(be,be.replace("titlefont","title.font")):be.indexOf("titleposition")>-1?je(be,be.replace("titleposition","title.position")):be.indexOf("titleside")>-1?je(be,be.replace("titleside","title.side")):be.indexOf("titleoffset")>-1&&je(be,be.replace("titleoffset","title.offset")):je(be,be.replace("title","title.text"));function je(ge,we){ae[we]=ae[ge],delete ae[ge]}}function ne(ae,he,be){ae=M.getGraphDiv(ae),T.clearPromiseQueue(ae);var ke={};if(typeof he=="string")ke[he]=be;else{if(!M.isPlainObject(he))return M.warn("Relayout fail.",he,be),Promise.reject();ke=M.extendFlat({},he)}Object.keys(ke).length&&(ae.changed=!0);var Le=ie(ae,ke),Be=Le.flags;Be.calc&&(ae.calcdata=void 0);var ze=[o.previousPromises];Be.layoutReplot?ze.push(C.layoutReplot):Object.keys(ke).length&&(te(ae,Be,Le)||o.supplyDefaults(ae),Be.legend&&ze.push(C.doLegend),Be.layoutstyle&&ze.push(C.layoutStyles),Be.axrange&&Z(ze,Le.rangesAltered),Be.ticks&&ze.push(C.doTicksRelayout),Be.modebar&&ze.push(C.doModeBar),Be.camera&&ze.push(C.doCamera),Be.colorbars&&ze.push(C.doColorBars),ze.push(b)),ze.push(o.rehover,o.redrag,o.reselect),l.add(ae,ne,[ae,Le.undoit],ne,[ae,Le.redoit]);var je=M.syncOrAsync(ze,ae);return je&&je.then||(je=Promise.resolve(ae)),je.then(function(){return ae.emit("plotly_relayout",Le.eventData),ae})}function te(ae,he,be){var ke=ae._fullLayout;if(!he.axrange)return!1;for(var Le in he)if(Le!=="axrange"&&he[Le])return!1;for(var Be in be.rangesAltered){var ze=s.id2name(Be),je=ae.layout[ze],ge=ke[ze];if(ge.autorange=je.autorange,je.range&&(ge.range=je.range.slice()),ge.cleanRange(),ge._matchGroup){for(var we in ge._matchGroup)if(we!==Be){var Ee=ke[s.id2name(we)];Ee.autorange=ge.autorange,Ee.range=ge.range.slice(),Ee._input.range=ge.range.slice()}}}return!0}function Z(ae,he){var be=he?function(ke){var Le=[];for(var Be in he){var ze=s.getFromId(ke,Be);if(Le.push(Be),(ze.ticklabelposition||"").indexOf("inside")!==-1&&ze._anchorAxis&&Le.push(ze._anchorAxis._id),ze._matchGroup)for(var je in ze._matchGroup)he[je]||Le.push(je)}return s.draw(ke,Le,{skipTitle:!0})}:function(ke){return s.draw(ke,"redraw")};ae.push(v,C.doAutoRangeAndConstraints,be,C.drawData,C.finalDraw)}var X=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Q=/^[xyz]axis[0-9]*\.autorange$/,re=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ie(ae,he){var be,ke,Le,Be=ae.layout,ze=ae._fullLayout,je=ze._guiEditing,ge=U(ze._preGUI,je),we=Object.keys(he),Ee=s.list(ae),Ve=M.extendDeepAll({},he),Ye={};for(H(he),we=Object.keys(he),ke=0;ke0&&typeof qt.parts[Ke]!="string";)Ke--;var Je=qt.parts[Ke],qe=qt.parts[Ke-1]+"."+Je,nt=qt.parts.slice(0,Ke).join("."),ht=g(ae.layout,nt).get(),Pe=g(ze,nt).get(),Ne=qt.get();if(Vt!==void 0){bt[Bt]=Vt,Et[Bt]=Je==="reverse"?Vt:Y(Ne);var Qe=u.getLayoutValObject(ze,qt.parts);if(Qe&&Qe.impliedEdits&&Vt!==null)for(var ut in Qe.impliedEdits)kt(M.relativeAttr(Bt,ut),Qe.impliedEdits[ut]);if(["width","height"].indexOf(Bt)!==-1)if(Vt){kt("autosize",null);var dt=Bt==="height"?"width":"height";kt(dt,ze[dt])}else ze[Bt]=ae._initialAutoSize[Bt];else if(Bt==="autosize")kt("width",Vt?null:ze.width),kt("height",Vt?null:ze.height);else if(qe.match(X))Rt(qe),g(ze,nt+"._inputRange").set(null);else if(qe.match(Q)){Rt(qe),g(ze,nt+"._inputRange").set(null);var _t=g(ze,nt).get();_t._inputDomain&&(_t._input.domain=_t._inputDomain.slice())}else qe.match(re)&&g(ze,nt+"._inputDomain").set(null);if(Je==="type"){xt=ht;var It=Pe.type==="linear"&&Vt==="log",Lt=Pe.type==="log"&&Vt==="linear";if(It||Lt){if(xt&&xt.range)if(Pe.autorange)It&&(xt.range=xt.range[1]>xt.range[0]?[1,2]:[2,1]);else{var yt=xt.range[0],Ot=xt.range[1];It?(yt<=0&&Ot<=0&&kt(nt+".autorange",!0),yt<=0?yt=Ot/1e6:Ot<=0&&(Ot=yt/1e6),kt(nt+".range[0]",Math.log(yt)/Math.LN10),kt(nt+".range[1]",Math.log(Ot)/Math.LN10)):(kt(nt+".range[0]",Math.pow(10,yt)),kt(nt+".range[1]",Math.pow(10,Ot)))}else kt(nt+".autorange",!0);Array.isArray(ze._subplots.polar)&&ze._subplots.polar.length&&ze[qt.parts[0]]&&qt.parts[1]==="radialaxis"&&delete ze[qt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(ae,Pe,Vt,kt),a.getComponentMethod("images","convertCoords")(ae,Pe,Vt,kt)}else kt(nt+".autorange",!0),kt(nt+".range",null);g(ze,nt+"._inputRange").set(null)}else if(Je.match(A)){var wt=g(ze,Bt).get(),Pt=(Vt||{}).type;Pt&&Pt!=="-"||(Pt="linear"),a.getComponentMethod("annotations","convertCoords")(ae,wt,Pt,kt),a.getComponentMethod("images","convertCoords")(ae,wt,Pt,kt)}var Nt=x.containerArrayMatch(Bt);if(Nt){be=Nt.array,ke=Nt.index;var $t=Nt.property,Wt=Qe||{editType:"calc"};ke!==""&&$t===""&&(x.isAddVal(Vt)?Et[Bt]=null:x.isRemoveVal(Vt)?Et[Bt]=(g(Be,be).get()||[])[ke]:M.warn("unrecognized full object value",he)),_.update(ft,Wt),Ye[be]||(Ye[be]={});var Xt=Ye[be][ke];Xt||(Xt=Ye[be][ke]={}),Xt[$t]=Vt,delete he[Bt]}else Je==="reverse"?(ht.range?ht.range.reverse():(kt(nt+".autorange",!0),ht.range=[1,0]),Pe.autorange?ft.calc=!0:ft.plot=!0):(Bt==="dragmode"&&(Vt===!1&&Ne!==!1||Vt!==!1&&Ne===!1)||ze._has("scatter-like")&&ze._has("regl")&&Bt==="dragmode"&&(Vt==="lasso"||Vt==="select")&&Ne!=="lasso"&&Ne!=="select"||ze._has("gl2d")?ft.plot=!0:Qe?_.update(ft,Qe):ft.calc=!0,qt.set(Vt))}}for(be in Ye)x.applyContainerArrayChanges(ae,ge(Be,be),Ye[be],ft,ge)||(ft.plot=!0);for(var Qt in Ft){var rn=(xt=s.getFromId(ae,Qt))&&xt._constraintGroup;if(rn)for(var xn in ft.calc=!0,rn)Ft[xn]||(s.getFromId(ae,xn)._constraintShrinkable=!0)}return(oe(ae)||he.height||he.width)&&(ft.plot=!0),(ft.plot||ft.calc)&&(ft.layoutReplot=!0),{flags:ft,rangesAltered:Ft,undoit:Et,redoit:bt,eventData:Ve}}function oe(ae){var he=ae._fullLayout,be=he.width,ke=he.height;return ae.layout.autosize&&o.plotAutoSize(ae,ae.layout,he),he.width!==be||he.height!==ke}function ue(ae,he,be,ke){ae=M.getGraphDiv(ae),T.clearPromiseQueue(ae),M.isPlainObject(he)||(he={}),M.isPlainObject(be)||(be={}),Object.keys(he).length&&(ae.changed=!0),Object.keys(be).length&&(ae.changed=!0);var Le=T.coerceTraceIndices(ae,ke),Be=q(ae,M.extendFlat({},he),Le),ze=Be.flags,je=ie(ae,M.extendFlat({},be)),ge=je.flags;(ze.calc||ge.calc)&&(ae.calcdata=void 0),ze.clearAxisTypes&&T.clearAxisTypes(ae,Le,be);var we=[];ge.layoutReplot?we.push(C.layoutReplot):ze.fullReplot?we.push(m._doPlot):(we.push(o.previousPromises),te(ae,ge,je)||o.supplyDefaults(ae),ze.style&&we.push(C.doTraceStyle),(ze.colorbars||ge.colorbars)&&we.push(C.doColorBars),ge.legend&&we.push(C.doLegend),ge.layoutstyle&&we.push(C.layoutStyles),ge.axrange&&Z(we,je.rangesAltered),ge.ticks&&we.push(C.doTicksRelayout),ge.modebar&&we.push(C.doModeBar),ge.camera&&we.push(C.doCamera),we.push(b)),we.push(o.rehover,o.redrag,o.reselect),l.add(ae,ue,[ae,Be.undoit,je.undoit,Be.traces],ue,[ae,Be.redoit,je.redoit,Be.traces]);var Ee=M.syncOrAsync(we,ae);return Ee&&Ee.then||(Ee=Promise.resolve(ae)),Ee.then(function(){return ae.emit("plotly_update",{data:Be.eventData,layout:je.eventData}),ae})}function ce(ae){return function(he){he._fullLayout._guiEditing=!0;var be=ae.apply(null,arguments);return he._fullLayout._guiEditing=!1,be}}var ye=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],de=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(ae,he){for(var be=0;be1;)if(ke.pop(),(be=g(he,ke.join(".")+".uirevision").get())!==void 0)return be;return he.uirevision}function xe(ae,he){for(var be=0;be=Le.length?Le[0]:Le[we]:Le}function je(we){return Array.isArray(Be)?we>=Be.length?Be[0]:Be[we]:Be}function ge(we,Ee){var Ve=0;return function(){if(we&&++Ve===Ee)return we()}}return ke._frameWaitingCnt===void 0&&(ke._frameWaitingCnt=0),new Promise(function(we,Ee){function Ve(){ae.emit("plotly_animating"),ke._lastFrameAt=-1/0,ke._timeToNext=0,ke._runningTransitions=0,ke._currentFrame=null;var Bt=function(){ke._animationRaf=window.requestAnimationFrame(Bt),Date.now()-ke._lastFrameAt>ke._timeToNext&&function(){ke._currentFrame&&ke._currentFrame.onComplete&&ke._currentFrame.onComplete();var qt=ke._currentFrame=ke._frameQueue.shift();if(qt){var Vt=qt.name?qt.name.toString():null;ae._fullLayout._currentFrame=Vt,ke._lastFrameAt=Date.now(),ke._timeToNext=qt.frameOpts.duration,o.transition(ae,qt.frame.data,qt.frame.layout,T.coerceTraceIndices(ae,qt.frame.traces),qt.frameOpts,qt.transitionOpts).then(function(){qt.onComplete&&qt.onComplete()}),ae.emit("plotly_animatingframe",{name:Vt,frame:qt.frame,animation:{frame:qt.frameOpts,transition:qt.transitionOpts}})}else ae.emit("plotly_animated"),window.cancelAnimationFrame(ke._animationRaf),ke._animationRaf=null}()};Bt()}var Ye,$e,st=0;function ot(Bt){return Array.isArray(Le)?st>=Le.length?Bt.transitionOpts=Le[st]:Bt.transitionOpts=Le[0]:Bt.transitionOpts=Le,st++,Bt}var ft=[],bt=he==null,Et=Array.isArray(he);if(bt||Et||!M.isPlainObject(he)){if(bt||["string","number"].indexOf(typeof he)!==-1)for(Ye=0;Ye0&&FtFt)&&Rt.push($e);ft=Rt}}ft.length>0?function(Bt){if(Bt.length!==0){for(var qt=0;qt=0;ke--)if(M.isPlainObject(he[ke])){var Ye=he[ke].name,$e=(ge[Ye]||Ve[Ye]||{}).name,st=he[ke].name,ot=ge[$e]||Ve[$e];$e&&st&&typeof st=="number"&&ot&&L<5&&(L++,M.warn('addFrames: overwriting frame "'+(ge[$e]||Ve[$e]).name+'" with a frame whose name of type "number" also equates to "'+$e+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),L===5&&M.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),Ve[Ye]={name:Ye},Ee.push({frame:o.supplyFrameDefaults(he[ke]),index:be&&be[ke]!==void 0&&be[ke]!==null?be[ke]:we+ke})}Ee.sort(function(Bt,qt){return Bt.index>qt.index?-1:Bt.index=0;ke--){if(typeof(Le=Ee[ke].frame).name=="number"&&M.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;ge[Le.name="frame "+ae._transitionData._counter++];);if(ge[Le.name]){for(Be=0;Be=0;be--)ke=he[be],Be.push({type:"delete",index:ke}),ze.unshift({type:"insert",index:ke,value:Le[ke]});var je=o.modifyFrames,ge=o.modifyFrames,we=[ae,ze],Ee=[ae,Be];return l&&l.add(ae,je,we,ge,Ee),o.modifyFrames(ae,Be)},m.addTraces=function ae(he,be,ke){he=M.getGraphDiv(he);var Le,Be,ze=[],je=m.deleteTraces,ge=ae,we=[he,ze],Ee=[he,be];for(function(Ve,Ye,$e){var st,ot;if(!Array.isArray(Ve.data))throw new Error("gd.data must be an array.");if(Ye===void 0)throw new Error("traces must be defined.");for(Array.isArray(Ye)||(Ye=[Ye]),st=0;st=0&&Ve=0&&Ve=F.length)return!1;if(b.dimensions===2){if(I++,P.length===I)return b;var B=P[I];if(!T(B))return!1;b=F[D][B]}else b=F[D]}else b=F}}return b}function T(b){return b===Math.round(b)&&b>=0}function C(){var b,P,I={};for(b in u(I,M),d.subplotsRegistry)if((P=d.subplotsRegistry[b]).layoutAttributes)if(Array.isArray(P.attr))for(var R=0;R=B.length)return!1;R=(I=(d.transformsRegistry[B[N].type]||{}).attributes)&&I[P[2]],F=3}else{var W=b._module;if(W||(W=(d.modules[b.type||i.type.dflt]||{})._module),!W)return!1;if(!(R=(I=W.attributes)&&I[D])){var j=W.basePlotModule;j&&j.attributes&&(R=j.attributes[D])}R||(R=i[D])}return x(R,P,F)},m.getLayoutValObject=function(b,P){var I=function(R,D){var F,B,N,W,j=R._basePlotModules;if(j){var Y;for(F=0;F=u&&(a._input||{})._templateitemname;s&&(o=u);var c,f=l+"["+o+"]";function p(){c={},s&&(c[f]={},c[f].templateitemname=s)}function w(S,x){s?d.nestedProperty(c[f],S).set(x):c[f+"."+S]=x}function v(){var S=c;return p(),S}return p(),{modifyBase:function(S,x){c[S]=x},modifyItem:w,getUpdateObj:v,applyUpdate:function(S,x){S&&w(S,x);var T=v();for(var C in T)d.nestedProperty(h,C).set(T[C])}}}},61549:function(k,m,t){var d=t(39898),y=t(73972),i=t(74875),M=t(71828),g=t(63893),h=t(33306),l=t(7901),a=t(91424),u=t(92998),o=t(64168),s=t(89298),c=t(18783),f=t(99082),p=f.enforce,w=f.clean,v=t(71739).doAutoRange,S="start";function x(L,b,P){for(var I=0;I=L[1]||R[1]<=L[0])&&D[0]b[0])return!0}return!1}function T(L){var b,P,I,R,D,F,B=L._fullLayout,N=B._size,W=N.p,j=s.list(L,"",!0);if(B._paperdiv.style({width:L._context.responsive&&B.autosize&&!L._context._hasZeroWidth&&!L.layout.width?"100%":B.width+"px",height:L._context.responsive&&B.autosize&&!L._context._hasZeroHeight&&!L.layout.height?"100%":B.height+"px"}).selectAll(".main-svg").call(a.setSize,B.width,B.height),L._context.setBackground(L,B.paper_bgcolor),m.drawMainTitle(L),o.manage(L),!B._has("cartesian"))return i.previousPromises(L);function Y(Ve,Ye,$e){var st=Ve._lw/2;return Ve._id.charAt(0)==="x"?Ye?$e==="top"?Ye._offset-W-st:Ye._offset+Ye._length+W+st:N.t+N.h*(1-(Ve.position||0))+st%1:Ye?$e==="right"?Ye._offset+Ye._length+W+st:Ye._offset-W-st:N.l+N.w*(Ve.position||0)+st%1}for(b=0;b.5?"t":"b",te=Y._fullLayout.margin[ne],Z=0;return U.yref==="paper"?Z=G+U.pad.t+U.pad.b:U.yref==="container"&&(Z=function(X,Q,re,ie,oe){var ue=0;return re==="middle"&&(ue+=oe/2),X==="t"?(re==="top"&&(ue+=oe),ue+=ie-Q*ie):(re==="bottom"&&(ue+=oe),ue+=Q*ie),ue}(ne,q,H,Y._fullLayout.height,G)+U.pad.t+U.pad.b),Z>te?Z:0}(L,P,W);j>0&&(function(Y,U,G,q){var H="title.automargin",ne=Y._fullLayout.title,te=ne.y>.5?"t":"b",Z={x:ne.x,y:ne.y,t:0,b:0},X={};ne.yref==="paper"&&function(Q,re,ie,oe,ue){var ce=re.yref==="paper"?Q._fullLayout._size.h:Q._fullLayout.height,ye=M.isTopAnchor(re)?oe:oe-ue,de=ie==="b"?ce-ye:ye;return!(M.isTopAnchor(re)&&ie==="t"||M.isBottomAnchor(re)&&ie==="b")&&deN?A.push({code:"unused",traceType:I,templateCount:B,dataCount:N}):N>B&&A.push({code:"reused",traceType:I,templateCount:B,dataCount:N})}}else A.push({code:"data"});if(function W(j,Y){for(var U in j)if(U.charAt(0)!=="_"){var G=j[U],q=f(j,U,Y);y(G)?(Array.isArray(j)&&G._template===!1&&G.templateitemname&&A.push({code:"missing",path:q,templateitemname:G.templateitemname}),W(G,q)):Array.isArray(G)&&p(G)&&W(G,q)}}({data:b,layout:L},""),A.length)return A.map(w)}},403:function(k,m,t){var d=t(92770),y=t(72391),i=t(74875),M=t(71828),g=t(25095),h=t(5900),l=t(70942),a=t(11506).version,u={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};k.exports=function(o,s){var c,f,p,w;function v(N){return!(N in s)||M.validate(s[N],u[N])}if(s=s||{},M.isPlainObject(o)?(c=o.data||[],f=o.layout||{},p=o.config||{},w={}):(o=M.getGraphDiv(o),c=M.extendDeep([],o.data),f=M.extendDeep({},o.layout),p=o._context,w=o._fullLayout||{}),!v("width")&&s.width!==null||!v("height")&&s.height!==null)throw new Error("Height and width should be pixel values.");if(!v("format"))throw new Error("Export format is not "+M.join2(u.format.values,", "," or ")+".");var S={};function x(N,W){return M.coerce(s,S,u,N,W)}var T=x("format"),C=x("width"),_=x("height"),A=x("scale"),L=x("setBackground"),b=x("imageDataOnly"),P=document.createElement("div");P.style.position="absolute",P.style.left="-5000px",document.body.appendChild(P);var I=M.extendFlat({},f);C?I.width=C:s.width===null&&d(w.width)&&(I.width=w.width),_?I.height=_:s.height===null&&d(w.height)&&(I.height=w.height);var R=M.extendFlat({},p,{_exportedPlot:!0,staticPlot:!0,setBackground:L}),D=g.getRedrawFunc(P);function F(){return new Promise(function(N){setTimeout(N,g.getDelay(P._fullLayout))})}function B(){return new Promise(function(N,W){var j=h(P,T,A),Y=P._fullLayout.width,U=P._fullLayout.height;function G(){y.purge(P),document.body.removeChild(P)}if(T==="full-json"){var q=i.graphJson(P,!1,"keepdata","object",!0,!0);return q.version=a,q=JSON.stringify(q),G(),N(b?q:g.encodeJSON(q))}if(G(),T==="svg")return N(b?j:g.encodeSVG(j));var H=document.createElement("canvas");H.id=M.randstr(),l({format:T,width:Y,height:U,scale:A,canvas:H,svg:j,promise:!0}).then(N).catch(W)})}return new Promise(function(N,W){y.newPlot(P,c,I,R).then(D).then(F).then(B).then(function(j){N(function(Y){return b?Y.replace(g.IMAGE_URL_PREFIX,""):Y}(j))}).catch(function(j){W(j)})})}},84936:function(k,m,t){var d=t(71828),y=t(74875),i=t(86281),M=t(72075).dfltConfig,g=d.isPlainObject,h=Array.isArray,l=d.isArrayOrTypedArray;function a(S,x,T,C,_,A){A=A||[];for(var L=Object.keys(S),b=0;bD.length&&C.push(c("unused",_,I.concat(D.length)));var Y,U,G,q,H,ne=D.length,te=Array.isArray(j);if(te&&(ne=Math.min(ne,j.length)),F.dimensions===2)for(U=0;UD[U].length&&C.push(c("unused",_,I.concat(U,D[U].length)));var Z=D[U].length;for(Y=0;Y<(te?Math.min(Z,j[U].length):Z);Y++)G=te?j[U][Y]:j,q=R[U][Y],H=D[U][Y],d.validate(q,G)?H!==q&&H!==+q&&C.push(c("dynamic",_,I.concat(U,Y),q,H)):C.push(c("value",_,I.concat(U,Y),q))}else C.push(c("array",_,I.concat(U),R[U]));else for(U=0;U1&&A.push(c("object","layout"))),y.supplyDefaults(L);for(var b=L._fullData,P=T.length,I=0;I0&&Math.round(f)===f))return{vals:u};s=f}for(var p=l.calendar,w=o==="start",v=o==="end",S=h[a+"period0"],x=i(S,p)||0,T=[],C=[],_=[],A=u.length,L=0;LR;)I=M(I,-s,p);for(;I<=R;)I=M(I,s,p);P=M(I,-s,p)}else{for(I=x+(b=Math.round((R-x)/c))*c;I>R;)I-=c;for(;I<=R;)I+=c;P=I-c}T[L]=w?P:v?I:(P+I)/2,C[L]=P,_[L]=I}return{vals:T,starts:C,ends:_}}},89502:function(k){k.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(k,m,t){var d=t(39898),y=t(92770),i=t(71828),M=t(50606).FP_SAFE,g=t(73972),h=t(91424),l=t(41675),a=l.getFromId,u=l.isLinked;function o(C,_){var A,L,b=[],P=C._fullLayout,I=c(P,_,0),R=c(P,_,1),D=f(C,_),F=D.min,B=D.max;if(F.length===0||B.length===0)return i.simpleMap(_.range,_.r2l);var N=F[0].val,W=B[0].val;for(A=1;A0&&((ne=re-I(U)-R(G))>ie?te/ne>oe&&(q=U,H=G,oe=te/ne):te/re>oe&&(q={val:U.val,nopad:1},H={val:G.val,nopad:1},oe=te/re));if(N===W){var ue=N-1,ce=N+1;if(X)if(N===0)b=[0,1];else{var ye=(N>0?B:F).reduce(function(me,pe){return Math.max(me,R(pe))},0),de=N/(1-Math.min(.5,ye/re));b=N>0?[0,de]:[de,0]}else b=Q?[Math.max(0,ue),Math.max(1,ce)]:[ue,ce]}else X?(q.val>=0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:0,nopad:1})):Q&&(q.val-oe*I(q)<0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:1,nopad:1})),oe=(H.val-q.val-s(_,U.val,G.val))/(re-I(q)-R(H)),b=[q.val-oe*I(q),H.val+oe*R(H)];return j&&b.reverse(),i.simpleMap(b,_.l2r||Number)}function s(C,_,A){var L=0;if(C.rangebreaks)for(var b=C.locateBreaks(_,A),P=0;P=A&&(F.extrapad||!I)){R=!1;break}b(_,F.val)&&F.pad<=A&&(I||!F.extrapad)&&(C.splice(D,1),D--)}if(R){var B=P&&_===0;C.push({val:_,pad:B?0:A,extrapad:!B&&I})}}function S(C){return y(C)&&Math.abs(C)=_}k.exports={getAutoRange:o,makePadFn:c,doAutoRange:function(C,_,A){if(_.setScale(),_.autorange){_.range=A?A.slice():o(C,_),_._r=_.range.slice(),_._rl=i.simpleMap(_._r,_.r2l);var L=_._input,b={};b[_._attr+".range"]=_.range,b[_._attr+".autorange"]=_.autorange,g.call("_storeDirectGUIEdit",C.layout,C._fullLayout._preGUI,b),L.range=_.range.slice(),L.autorange=_.autorange}var P=_._anchorAxis;if(P&&P.rangeslider){var I=P.rangeslider[_._name];I&&I.rangemode==="auto"&&(I.range=o(C,_)),P._input.rangeslider[_._name]=i.extendFlat({},I)}},findExtremes:function(C,_,A){A||(A={}),C._m||C.setScale();var L,b,P,I,R,D,F,B,N,W=[],j=[],Y=_.length,U=A.padded||!1,G=A.tozero&&(C.type==="linear"||C.type==="-"),q=C.type==="log",H=!1,ne=A.vpadLinearized||!1;function te(ce){if(Array.isArray(ce))return H=!0,function(de){return Math.max(Number(ce[de]||0),0)};var ye=Math.max(Number(ce||0),0);return function(){return ye}}var Z=te((C._m>0?A.ppadplus:A.ppadminus)||A.ppad||0),X=te((C._m>0?A.ppadminus:A.ppadplus)||A.ppad||0),Q=te(A.vpadplus||A.vpad),re=te(A.vpadminus||A.vpad);if(!H){if(B=1/0,N=-1/0,q)for(L=0;L0&&(B=b),b>N&&b-M&&(B=b),b>N&&b=ue;L--)oe(L);return{min:W,max:j,opts:A}},concatExtremes:f}},89298:function(k,m,t){var d=t(39898),y=t(92770),i=t(74875),M=t(73972),g=t(71828),h=g.strTranslate,l=t(63893),a=t(92998),u=t(7901),o=t(91424),s=t(13838),c=t(66287),f=t(50606),p=f.ONEMAXYEAR,w=f.ONEAVGYEAR,v=f.ONEMINYEAR,S=f.ONEMAXQUARTER,x=f.ONEAVGQUARTER,T=f.ONEMINQUARTER,C=f.ONEMAXMONTH,_=f.ONEAVGMONTH,A=f.ONEMINMONTH,L=f.ONEWEEK,b=f.ONEDAY,P=b/2,I=f.ONEHOUR,R=f.ONEMIN,D=f.ONESEC,F=f.MINUS_SIGN,B=f.BADNUM,N={K:"zeroline"},W={K:"gridline",L:"path"},j={K:"minor-gridline",L:"path"},Y={K:"tick",L:"path"},U={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},q=t(18783),H=q.MID_SHIFT,ne=q.CAP_SHIFT,te=q.LINE_SPACING,Z=q.OPPOSITE_SIDE,X=k.exports={};X.setConvert=t(21994);var Q=t(4322),re=t(41675),ie=re.idSort,oe=re.isLinked;X.id2name=re.id2name,X.name2id=re.name2id,X.cleanId=re.cleanId,X.list=re.list,X.listIds=re.listIds,X.getFromId=re.getFromId,X.getFromTrace=re.getFromTrace;var ue=t(71739);function ce(Pe){var Ne=1e-4*(Pe[1]-Pe[0]);return[Pe[0]-Ne,Pe[1]+Ne]}X.getAutoRange=ue.getAutoRange,X.findExtremes=ue.findExtremes,X.coerceRef=function(Pe,Ne,Qe,ut,dt,_t){var It=ut.charAt(ut.length-1),Lt=Qe._fullLayout._subplots[It+"axis"],yt=ut+"ref",Ot={};return dt||(dt=Lt[0]||(typeof _t=="string"?_t:_t[0])),_t||(_t=dt),Lt=Lt.concat(Lt.map(function(wt){return wt+" domain"})),Ot[yt]={valType:"enumerated",values:Lt.concat(_t?typeof _t=="string"?[_t]:_t:[]),dflt:dt},g.coerce(Pe,Ne,Ot,yt)},X.getRefType=function(Pe){return Pe===void 0?Pe:Pe==="paper"?"paper":Pe==="pixel"?"pixel":/( domain)$/.test(Pe)?"domain":"range"},X.coercePosition=function(Pe,Ne,Qe,ut,dt,_t){var It,Lt;if(X.getRefType(ut)!=="range")It=g.ensureNumber,Lt=Qe(dt,_t);else{var yt=X.getFromId(Ne,ut);Lt=Qe(dt,_t=yt.fraction2r(_t)),It=yt.cleanPos}Pe[dt]=It(Lt)},X.cleanPosition=function(Pe,Ne,Qe){return(Qe==="paper"||Qe==="pixel"?g.ensureNumber:X.getFromId(Ne,Qe).cleanPos)(Pe)},X.redrawComponents=function(Pe,Ne){Ne=Ne||X.listIds(Pe);var Qe=Pe._fullLayout;function ut(dt,_t,It,Lt){for(var yt=M.getComponentMethod(dt,_t),Ot={},wt=0;wtQe&&wt2e-6||((Qe-Pe._forceTick0)/Pe._minDtick%1+1.000001)%1>2e-6)&&(Pe._minDtick=0)):Pe._minDtick=0},X.saveRangeInitial=function(Pe,Ne){for(var Qe=X.list(Pe,"",!0),ut=!1,dt=0;dt.3*Dn||dn(un)||dn(An))){var In=xn.dtick/2;Qt+=Qt+In.8){var kn=Number(xn.substr(1));$n.exactYears>.8&&kn%12==0?Qt=X.tickIncrement(Qt,"M6","reverse")+1.5*b:$n.exactMonths>.8?Qt=X.tickIncrement(Qt,"M1","reverse")+15.5*b:Qt-=P;var sn=X.tickIncrement(Qt,xn);if(sn<=un)return sn}return Qt}(Xt,Pe,Wt,Lt,dt)),$t=Xt;$t<=yt;)$t=X.tickIncrement($t,Wt,!1,dt);return{start:Ne.c2r(Xt,0,dt),end:Ne.c2r($t,0,dt),size:Wt,_dataSpan:yt-Lt}},X.prepMinorTicks=function(Pe,Ne,Qe){if(!Ne.minor.dtick){delete Pe.dtick;var ut,dt=Ne.dtick&&y(Ne._tmin);if(dt){var _t=X.tickIncrement(Ne._tmin,Ne.dtick,!0);ut=[Ne._tmin,.99*_t+.01*Ne._tmin]}else{var It=g.simpleMap(Ne.range,Ne.r2l);ut=[It[0],.8*It[0]+.2*It[1]]}if(Pe.range=g.simpleMap(ut,Ne.l2r),Pe._isMinor=!0,X.prepTicks(Pe,Qe),dt){var Lt=y(Ne.dtick),yt=y(Pe.dtick),Ot=Lt?Ne.dtick:+Ne.dtick.substring(1),wt=yt?Pe.dtick:+Pe.dtick.substring(1);Lt&&yt?pe(Ot,wt)?Ot===2*L&&wt===2*b&&(Pe.dtick=L):Ot===2*L&&wt===3*b?Pe.dtick=L:Ot!==L||(Ne._input.minor||{}).nticks?xe(Ot/wt,2.5)?Pe.dtick=Ot/2:Pe.dtick=Ot:Pe.dtick=b:String(Ne.dtick).charAt(0)==="M"?yt?Pe.dtick="M1":pe(Ot,wt)?Ot>=12&&wt===2&&(Pe.dtick="M3"):Pe.dtick=Ne.dtick:String(Pe.dtick).charAt(0)==="L"?String(Ne.dtick).charAt(0)==="L"?pe(Ot,wt)||(Pe.dtick=xe(Ot/wt,2.5)?Ne.dtick/2:Ne.dtick):Pe.dtick="D1":Pe.dtick==="D2"&&+Ne.dtick>1&&(Pe.dtick=1)}Pe.range=Ne.range}Ne.minor._tick0Init===void 0&&(Pe.tick0=Ne.tick0)},X.prepTicks=function(Pe,Ne){var Qe=g.simpleMap(Pe.range,Pe.r2l,void 0,void 0,Ne);if(Pe.tickmode==="auto"||!Pe.dtick){var ut,dt=Pe.nticks;dt||(Pe.type==="category"||Pe.type==="multicategory"?(ut=Pe.tickfont?g.bigFont(Pe.tickfont.size||12):15,dt=Pe._length/ut):(ut=Pe._id.charAt(0)==="y"?40:80,dt=g.constrain(Pe._length/ut,4,9)+1),Pe._name==="radialaxis"&&(dt*=2)),Pe.minor&&Pe.minor.tickmode!=="array"||Pe.tickmode==="array"&&(dt*=100),Pe._roughDTick=Math.abs(Qe[1]-Qe[0])/dt,X.autoTicks(Pe,Pe._roughDTick),Pe._minDtick>0&&Pe.dtick<2*Pe._minDtick&&(Pe.dtick=Pe._minDtick,Pe.tick0=Pe.l2r(Pe._forceTick0))}Pe.ticklabelmode==="period"&&function(_t){var It;function Lt(){return!(y(_t.dtick)||_t.dtick.charAt(0)!=="M")}var yt=Lt(),Ot=X.getTickFormat(_t);if(Ot){var wt=_t._dtickInit!==_t.dtick;/%[fLQsSMX]/.test(Ot)||(/%[HI]/.test(Ot)?(It=I,wt&&!yt&&_t.dtick=(rn?0:1);xn--){var un=!xn;xn?(Pe._dtickInit=Pe.dtick,Pe._tick0Init=Pe.tick0):(Pe.minor._dtickInit=Pe.minor.dtick,Pe.minor._tick0Init=Pe.minor.tick0);var An=xn?Pe:g.extendFlat({},Pe,Pe.minor);if(un?X.prepMinorTicks(An,Pe,Ne):X.prepTicks(An,Ne),An.tickmode!=="array")if(An.tickmode!=="sync"){var $n=ce(yt),kn=$n[0],sn=$n[1],Tn=y(An.dtick),dn=dt==="log"&&!(Tn||An.dtick.charAt(0)==="L"),pn=X.tickFirst(An,Ne);if(xn){if(Pe._tmin=pn,pn=sn:Gn<=sn;Gn=X.tickIncrement(Gn,qn,Ot,_t)){if(xn&&Dn++,An.rangebreaks&&!Ot){if(Gn=Pt)break}if(Xt.length>Nt||Gn===jn)break;jn=Gn;var lr={value:Gn};xn?(dn&&Gn!==(0|Gn)&&(lr.simpleLabel=!0),It>1&&Dn%It&&(lr.skipLabel=!0),Xt.push(lr)):(lr.minor=!0,Qt.push(lr))}}else Xt=[],$t=Me(Pe);else xn?(Xt=[],$t=Se(Pe)):(Qt=[],Wt=Se(Pe))}if(rn&&!(Pe.minor.ticks==="inside"&&Pe.ticks==="outside"||Pe.minor.ticks==="outside"&&Pe.ticks==="inside")){for(var rr=Xt.map(function(On){return On.value}),Sr=[],yr=0;yr0?(Rn=fn-1,En=fn):(Rn=fn,En=fn);var mn,wn=On[Rn].value,gn=On[En].value,yn=Math.abs(gn-wn),Sn=Jt||yn,Vn=0;Sn>=v?Vn=yn>=v&&yn<=p?yn:w:Jt===x&&Sn>=T?Vn=yn>=T&&yn<=S?yn:x:Sn>=A?Vn=yn>=A&&yn<=C?yn:_:Jt===L&&Sn>=L?Vn=L:Sn>=b?Vn=b:Jt===P&&Sn>=P?Vn=P:Jt===I&&Sn>=I&&(Vn=I),Vn>=yn&&(Vn=yn,mn=!0);var Xn=zn+Vn;if(jt.rangebreaks&&Vn>0){for(var nr=0,Qn=0;Qn<84;Qn++){var fr=(Qn+.5)/84;jt.maskBreaks(zn*(1-fr)+fr*Xn)!==B&&nr++}(Vn*=nr/84)||(On[fn].drop=!0),mn&&yn>L&&(Vn=yn)}(Vn>0||fn===0)&&(On[fn].periodX=zn+Vn/2)}}(Xt,Pe,Pe._definedDelta),Pe.rangebreaks){var bn=Pe._id.charAt(0)==="y",Pn=1;Pe.tickmode==="auto"&&(Pn=Pe.tickfont?Pe.tickfont.size:12);var Ln=NaN;for(Qe=Xt.length-1;Qe>-1;Qe--)if(Xt[Qe].drop)Xt.splice(Qe,1);else{Xt[Qe].value=Je(Xt[Qe].value,Pe);var Un=Pe.c2p(Xt[Qe].value);(bn?Ln>Un-Pn:LnPt||YnPt&&(Kn.periodX=Pt),Yn10||ut.substr(5)!=="01-01"?Pe._tickround="d":Pe._tickround=+Ne.substr(1)%12==0?"y":"m";else if(Ne>=b&&dt<=10||Ne>=15*b)Pe._tickround="d";else if(Ne>=R&&dt<=16||Ne>=I)Pe._tickround="M";else if(Ne>=D&&dt<=19||Ne>=R)Pe._tickround="S";else{var _t=Pe.l2r(Qe+Ne).replace(/^-/,"").length;Pe._tickround=Math.max(dt,_t)-20,Pe._tickround<0&&(Pe._tickround=4)}}else if(y(Ne)||Ne.charAt(0)==="L"){var It=Pe.range.map(Pe.r2d||Number);y(Ne)||(Ne=Number(Ne.substr(1))),Pe._tickround=2-Math.floor(Math.log(Ne)/Math.LN10+.01);var Lt=Math.max(Math.abs(It[0]),Math.abs(It[1])),yt=Math.floor(Math.log(Lt)/Math.LN10+.01),Ot=Pe.minexponent===void 0?3:Pe.minexponent;Math.abs(yt)>Ot&&(Ee(Pe.exponentformat)&&!Ve(yt)?Pe._tickexponent=3*Math.round((yt-1)/3):Pe._tickexponent=yt)}else Pe._tickround=null}function ge(Pe,Ne,Qe){var ut=Pe.tickfont||{};return{x:Ne,dx:0,dy:0,text:Qe||"",fontSize:ut.size,font:ut.family,fontColor:ut.color}}X.autoTicks=function(Pe,Ne,Qe){var ut;function dt(Pt){return Math.pow(Pt,Math.floor(Math.log(Ne)/Math.LN10))}if(Pe.type==="date"){Pe.tick0=g.dateTick0(Pe.calendar,0);var _t=2*Ne;if(_t>w)Ne/=w,ut=dt(10),Pe.dtick="M"+12*ze(Ne,ut,Ce);else if(_t>_)Ne/=_,Pe.dtick="M"+ze(Ne,1,ae);else if(_t>b){if(Pe.dtick=ze(Ne,b,Pe._hasDayOfWeekBreaks?[1,2,7,14]:be),!Qe){var It=X.getTickFormat(Pe),Lt=Pe.ticklabelmode==="period";Lt&&(Pe._rawTick0=Pe.tick0),/%[uVW]/.test(It)?Pe.tick0=g.dateTick0(Pe.calendar,2):Pe.tick0=g.dateTick0(Pe.calendar,1),Lt&&(Pe._dowTick0=Pe.tick0)}}else _t>I?Pe.dtick=ze(Ne,I,ae):_t>R?Pe.dtick=ze(Ne,R,he):_t>D?Pe.dtick=ze(Ne,D,he):(ut=dt(10),Pe.dtick=ze(Ne,ut,Ce))}else if(Pe.type==="log"){Pe.tick0=0;var yt=g.simpleMap(Pe.range,Pe.r2l);if(Pe._isMinor&&(Ne*=1.5),Ne>.7)Pe.dtick=Math.ceil(Ne);else if(Math.abs(yt[1]-yt[0])<1){var Ot=1.5*Math.abs((yt[1]-yt[0])/Ne);Ne=Math.abs(Math.pow(10,yt[1])-Math.pow(10,yt[0]))/Ot,ut=dt(10),Pe.dtick="L"+ze(Ne,ut,Ce)}else Pe.dtick=Ne>.3?"D2":"D1"}else Pe.type==="category"||Pe.type==="multicategory"?(Pe.tick0=0,Pe.dtick=Math.ceil(Math.max(Ne,1))):Ke(Pe)?(Pe.tick0=0,ut=1,Pe.dtick=ze(Ne,ut,Be)):(Pe.tick0=0,ut=dt(10),Pe.dtick=ze(Ne,ut,Ce));if(Pe.dtick===0&&(Pe.dtick=1),!y(Pe.dtick)&&typeof Pe.dtick!="string"){var wt=Pe.dtick;throw Pe.dtick=1,"ax.dtick error: "+String(wt)}},X.tickIncrement=function(Pe,Ne,Qe,ut){var dt=Qe?-1:1;if(y(Ne))return g.increment(Pe,dt*Ne);var _t=Ne.charAt(0),It=dt*Number(Ne.substr(1));if(_t==="M")return g.incrementMonth(Pe,It,ut);if(_t==="L")return Math.log(Math.pow(10,Pe)+It)/Math.LN10;if(_t==="D"){var Lt=Ne==="D2"?Le:ke,yt=Pe+.01*dt,Ot=g.roundUp(g.mod(yt,1),Lt,Qe);return Math.floor(yt)+Math.log(d.round(Math.pow(10,Ot),1))/Math.LN10}throw"unrecognized dtick "+String(Ne)},X.tickFirst=function(Pe,Ne){var Qe=Pe.r2l||Number,ut=g.simpleMap(Pe.range,Qe,void 0,void 0,Ne),dt=ut[1] ")}else Qt._prevDateHead=kn,sn+="
"+kn;rn.text=sn}(Pe,_t,Qe,Lt):yt==="log"?function(Qt,rn,xn,un,An){var $n=Qt.dtick,kn=rn.x,sn=Qt.tickformat,Tn=typeof $n=="string"&&$n.charAt(0);if(An==="never"&&(An=""),un&&Tn!=="L"&&($n="L3",Tn="L"),sn||Tn==="L")rn.text=Ye(Math.pow(10,kn),Qt,An,un);else if(y($n)||Tn==="D"&&g.mod(kn+.01,1)<.1){var dn=Math.round(kn),pn=Math.abs(dn),Dn=Qt.exponentformat;Dn==="power"||Ee(Dn)&&Ve(dn)?(rn.text=dn===0?1:dn===1?"10":"10"+(dn>1?"":F)+pn+"",rn.fontSize*=1.25):(Dn==="e"||Dn==="E")&&pn>2?rn.text="1"+Dn+(dn>0?"+":F)+pn:(rn.text=Ye(Math.pow(10,kn),Qt,"","fakehover"),$n==="D1"&&Qt._id.charAt(0)==="y"&&(rn.dy-=rn.fontSize/6))}else{if(Tn!=="D")throw"unrecognized dtick "+String($n);rn.text=String(Math.round(Math.pow(10,g.mod(kn,1)))),rn.fontSize*=.75}if(Qt.dtick==="D1"){var In=String(rn.text).charAt(0);In!=="0"&&In!=="1"||(Qt._id.charAt(0)==="y"?rn.dx-=rn.fontSize/4:(rn.dy+=rn.fontSize/2,rn.dx+=(Qt.range[1]>Qt.range[0]?1:-1)*rn.fontSize*(kn<0?.5:.25)))}}(Pe,_t,0,Lt,$t):yt==="category"?function(Qt,rn){var xn=Qt._categories[Math.round(rn.x)];xn===void 0&&(xn=""),rn.text=String(xn)}(Pe,_t):yt==="multicategory"?function(Qt,rn,xn){var un=Math.round(rn.x),An=Qt._categories[un]||[],$n=An[1]===void 0?"":String(An[1]),kn=An[0]===void 0?"":String(An[0]);xn?rn.text=kn+" - "+$n:(rn.text=$n,rn.text2=kn)}(Pe,_t,Qe):Ke(Pe)?function(Qt,rn,xn,un,An){if(Qt.thetaunit!=="radians"||xn)rn.text=Ye(rn.x,Qt,An,un);else{var $n=rn.x/180;if($n===0)rn.text="0";else{var kn=function(Tn){function dn(jn,Gn){return Math.abs(jn-Gn)<=1e-6}var pn=function(jn){for(var Gn=1;!dn(Math.round(jn*Gn)/Gn,jn);)Gn*=10;return Gn}(Tn),Dn=Tn*pn,In=Math.abs(function jn(Gn,qn){return dn(qn,0)?Gn:jn(qn,Gn%qn)}(Dn,pn));return[Math.round(Dn/In),Math.round(pn/In)]}($n);if(kn[1]>=100)rn.text=Ye(g.deg2rad(rn.x),Qt,An,un);else{var sn=rn.x<0;kn[1]===1?kn[0]===1?rn.text="ฯ€":rn.text=kn[0]+"ฯ€":rn.text=["",kn[0],"","โ„","",kn[1],"","ฯ€"].join(""),sn&&(rn.text=F+rn.text)}}}}(Pe,_t,Qe,Lt,$t):function(Qt,rn,xn,un,An){An==="never"?An="":Qt.showexponent==="all"&&Math.abs(rn.x/Qt.dtick)<1e-6&&(An="hide"),rn.text=Ye(rn.x,Qt,An,un)}(Pe,_t,0,Lt,$t),ut||(Pe.tickprefix&&!Nt(Pe.showtickprefix)&&(_t.text=Pe.tickprefix+_t.text),Pe.ticksuffix&&!Nt(Pe.showticksuffix)&&(_t.text+=Pe.ticksuffix)),Pe.labelalias&&Pe.labelalias.hasOwnProperty(_t.text)){var Wt=Pe.labelalias[_t.text];typeof Wt=="string"&&(_t.text=Wt)}if(Pe.tickson==="boundaries"||Pe.showdividers){var Xt=function(Qt){var rn=Pe.l2p(Qt);return rn>=0&&rn<=Pe._length?Qt:null};_t.xbnd=[Xt(_t.x-.5),Xt(_t.x+Pe.dtick-.5)]}return _t},X.hoverLabelText=function(Pe,Ne,Qe){Qe&&(Pe=g.extendFlat({},Pe,{hoverformat:Qe}));var ut=Array.isArray(Ne)?Ne[0]:Ne,dt=Array.isArray(Ne)?Ne[1]:void 0;if(dt!==void 0&&dt!==ut)return X.hoverLabelText(Pe,ut,Qe)+" - "+X.hoverLabelText(Pe,dt,Qe);var _t=Pe.type==="log"&&ut<=0,It=X.tickText(Pe,Pe.c2l(_t?-ut:ut),"hover").text;return _t?ut===0?"0":F+It:It};var we=["f","p","n","ฮผ","m","","k","M","G","T"];function Ee(Pe){return Pe==="SI"||Pe==="B"}function Ve(Pe){return Pe>14||Pe<-15}function Ye(Pe,Ne,Qe,ut){var dt=Pe<0,_t=Ne._tickround,It=Qe||Ne.exponentformat||"B",Lt=Ne._tickexponent,yt=X.getTickFormat(Ne),Ot=Ne.separatethousands;if(ut){var wt={exponentformat:It,minexponent:Ne.minexponent,dtick:Ne.showexponent==="none"?Ne.dtick:y(Pe)&&Math.abs(Pe)||1,range:Ne.showexponent==="none"?Ne.range.map(Ne.r2d):[0,Pe||1]};je(wt),_t=(Number(wt._tickround)||0)+4,Lt=wt._tickexponent,Ne.hoverformat&&(yt=Ne.hoverformat)}if(yt)return Ne._numFormat(yt)(Pe).replace(/-/g,F);var Pt,Nt=Math.pow(10,-_t)/2;if(It==="none"&&(Lt=0),(Pe=Math.abs(Pe))"+Pt+"":It==="B"&&Lt===9?Pe+="B":Ee(It)&&(Pe+=we[Lt/3+5])),dt?F+Pe:Pe}function $e(Pe,Ne){if(Pe){var Qe=Object.keys(G).reduce(function(ut,dt){return Ne.indexOf(dt)!==-1&&G[dt].forEach(function(_t){ut[_t]=1}),ut},{});Object.keys(Pe).forEach(function(ut){Qe[ut]||(ut.length===1?Pe[ut]=0:delete Pe[ut])})}}function st(Pe,Ne){for(var Qe=[],ut={},dt=0;dt1&&Qe=dt.min&&Pe=0,rn=wt(Nt,$t[1])<=0;return(Wt||Qt)&&(Xt||rn)}if(Pe.tickformatstops&&Pe.tickformatstops.length>0)switch(Pe.type){case"date":case"linear":for(Ne=0;Ne=It(dt)))){Qe=ut;break}break;case"log":for(Ne=0;Ne=0&&dt.unshift(dt.splice(Ot,1).shift())}});var It={false:{left:0,right:0}};return g.syncOrAsync(dt.map(function(Lt){return function(){if(Lt){var yt=X.getFromId(Pe,Lt);Qe||(Qe={}),Qe.axShifts=It,Qe.overlayingShiftedAx=_t;var Ot=X.drawOne(Pe,yt,Qe);return yt._shiftPusher&&ht(yt,yt._fullDepth||0,It,!0),yt._r=yt.range.slice(),yt._rl=g.simpleMap(yt._r,yt.r2l),Ot}}}))},X.drawOne=function(Pe,Ne,Qe){var ut,dt,_t,It=(Qe=Qe||{}).axShifts||{},Lt=Qe.overlayingShiftedAx||[];Ne.setScale();var yt=Pe._fullLayout,Ot=Ne._id,wt=Ot.charAt(0),Pt=X.counterLetter(Ot),Nt=yt._plots[Ne._mainSubplot];if(Nt){if(Ne._shiftPusher=Ne.autoshift||Lt.indexOf(Ne._id)!==-1||Lt.indexOf(Ne.overlaying)!==-1,Ne._shiftPusher&Ne.anchor==="free"){var $t=Ne.linewidth/2||0;Ne.ticks==="inside"&&($t+=Ne.ticklen),ht(Ne,$t,It,!0),ht(Ne,Ne.shift||0,It,!1)}Qe.skipTitle===!0&&Ne._shift!==void 0||(Ne._shift=function(En,mn){return En.autoshift?mn[En.overlaying][En.side]:En.shift||0}(Ne,It));var Wt=Nt[wt+"axislayer"],Xt=Ne._mainLinePosition,Qt=Xt+=Ne._shift,rn=Ne._mainMirrorPosition,xn=Ne._vals=X.calcTicks(Ne),un=[Ne.mirror,Qt,rn].join("_");for(ut=0;ut0?En.bottom-Vn:0,Xn))));var nr=0,Qn=0;if(Ne._shiftPusher&&(nr=Math.max(Xn,En.height>0?yn==="l"?Vn-En.left:En.right-Vn:0),Ne.title.text!==yt._dfltTitle[wt]&&(Qn=(Ne._titleStandoff||0)+(Ne._titleScoot||0),yn==="l"&&(Qn+=bt(Ne))),Ne._fullDepth=Math.max(nr,Qn)),Ne.automargin){mn={x:0,y:0,r:0,l:0,t:0,b:0};var fr=[0,1],cr=typeof Ne._shift=="number"?Ne._shift:0;if(wt==="x"){if(yn==="b"?mn[yn]=Ne._depth:(mn[yn]=Ne._depth=Math.max(En.width>0?Vn-En.top:0,Xn),fr.reverse()),En.width>0){var pr=En.right-(Ne._offset+Ne._length);pr>0&&(mn.xr=1,mn.r=pr);var dr=Ne._offset-En.left;dr>0&&(mn.xl=0,mn.l=dr)}}else if(yn==="l"?(Ne._depth=Math.max(En.height>0?Vn-En.left:0,Xn),mn[yn]=Ne._depth-cr):(Ne._depth=Math.max(En.height>0?En.right-Vn:0,Xn),mn[yn]=Ne._depth+cr,fr.reverse()),En.height>0){var br=En.bottom-(Ne._offset+Ne._length);br>0&&(mn.yb=0,mn.b=br);var Pr=Ne._offset-En.top;Pr>0&&(mn.yt=1,mn.t=Pr)}mn[Pt]=Ne.anchor==="free"?Ne.position:Ne._anchorAxis.domain[fr[0]],Ne.title.text!==yt._dfltTitle[wt]&&(mn[yn]+=bt(Ne)+(Ne.title.standoff||0)),Ne.mirror&&Ne.anchor!=="free"&&((wn={x:0,y:0,r:0,l:0,t:0,b:0})[Sn]=Ne.linewidth,Ne.mirror&&Ne.mirror!==!0&&(wn[Sn]+=Xn),Ne.mirror===!0||Ne.mirror==="ticks"?wn[Pt]=Ne._anchorAxis.domain[fr[1]]:Ne.mirror!=="all"&&Ne.mirror!=="allticks"||(wn[Pt]=[Ne._counterDomainMin,Ne._counterDomainMax][fr[1]]))}zn&&(gn=M.getComponentMethod("rangeslider","autoMarginOpts")(Pe,Ne)),typeof Ne.automargin=="string"&&($e(mn,Ne.automargin),$e(wn,Ne.automargin)),i.autoMargin(Pe,xt(Ne),mn),i.autoMargin(Pe,Ft(Ne),wn),i.autoMargin(Pe,Rt(Ne),gn)}),g.syncOrAsync(Jt)}}function Rn(En){var mn=Ot+(En||"tick");return An[mn]||(An[mn]=function(wn,gn){var yn,Sn,Vn,Xn;return wn._selections[gn].size()?(yn=1/0,Sn=-1/0,Vn=1/0,Xn=-1/0,wn._selections[gn].each(function(){var nr=kt(this),Qn=o.bBox(nr.node().parentNode);yn=Math.min(yn,Qn.top),Sn=Math.max(Sn,Qn.bottom),Vn=Math.min(Vn,Qn.left),Xn=Math.max(Xn,Qn.right)})):(yn=0,Sn=0,Vn=0,Xn=0),{top:yn,bottom:Sn,left:Vn,right:Xn,height:Sn-yn,width:Xn-Vn}}(Ne,mn)),An[mn]}},X.getTickSigns=function(Pe,Ne){var Qe=Pe._id.charAt(0),ut={x:"top",y:"right"}[Qe],dt=Pe.side===ut?1:-1,_t=[-1,1,dt,-dt];return(Ne?(Pe.minor||{}).ticks:Pe.ticks)!=="inside"==(Qe==="x")&&(_t=_t.map(function(It){return-It})),Pe.side&&_t.push({l:-1,t:-1,r:1,b:1}[Pe.side.charAt(0)]),_t},X.makeTransTickFn=function(Pe){return Pe._id.charAt(0)==="x"?function(Ne){return h(Pe._offset+Pe.l2p(Ne.x),0)}:function(Ne){return h(0,Pe._offset+Pe.l2p(Ne.x))}},X.makeTransTickLabelFn=function(Pe){var Ne=function(dt){var _t=dt.ticklabelposition||"",It=function(rn){return _t.indexOf(rn)!==-1},Lt=It("top"),yt=It("left"),Ot=It("right"),wt=It("bottom"),Pt=It("inside"),Nt=wt||yt||Lt||Ot;if(!Nt&&!Pt)return[0,0];var $t=dt.side,Wt=Nt?(dt.tickwidth||0)/2:0,Xt=3,Qt=dt.tickfont?dt.tickfont.size:12;return(wt||Lt)&&(Wt+=Qt*ne,Xt+=(dt.linewidth||0)/2),(yt||Ot)&&(Wt+=(dt.linewidth||0)/2,Xt+=3),Pt&&$t==="top"&&(Xt-=Qt*(1-ne)),(yt||Lt)&&(Wt=-Wt),$t!=="bottom"&&$t!=="right"||(Xt=-Xt),[Nt?Wt:0,Pt?Xt:0]}(Pe),Qe=Ne[0],ut=Ne[1];return Pe._id.charAt(0)==="x"?function(dt){return h(Qe+Pe._offset+Pe.l2p(ot(dt)),ut)}:function(dt){return h(ut,Qe+Pe._offset+Pe.l2p(ot(dt)))}},X.makeTickPath=function(Pe,Ne,Qe,ut){ut||(ut={});var dt=ut.minor;if(dt&&!Pe.minor)return"";var _t=ut.len!==void 0?ut.len:dt?Pe.minor.ticklen:Pe.ticklen,It=Pe._id.charAt(0),Lt=(Pe.linewidth||1)/2;return It==="x"?"M0,"+(Ne+Lt*Qe)+"v"+_t*Qe:"M"+(Ne+Lt*Qe)+",0h"+_t*Qe},X.makeLabelFns=function(Pe,Ne,Qe){var ut=Pe.ticklabelposition||"",dt=function(Dn){return ut.indexOf(Dn)!==-1},_t=dt("top"),It=dt("left"),Lt=dt("right"),yt=dt("bottom")||It||_t||Lt,Ot=dt("inside"),wt=ut==="inside"&&Pe.ticks==="inside"||!Ot&&Pe.ticks==="outside"&&Pe.tickson!=="boundaries",Pt=0,Nt=0,$t=wt?Pe.ticklen:0;if(Ot?$t*=-1:yt&&($t=0),wt&&(Pt+=$t,Qe)){var Wt=g.deg2rad(Qe);Pt=$t*Math.cos(Wt)+1,Nt=$t*Math.sin(Wt)}Pe.showticklabels&&(wt||Pe.showline)&&(Pt+=.2*Pe.tickfont.size);var Xt,Qt,rn,xn,un,An={labelStandoff:Pt+=(Pe.linewidth||1)/2*(Ot?-1:1),labelShift:Nt},$n=0,kn=Pe.side,sn=Pe._id.charAt(0),Tn=Pe.tickangle;if(sn==="x")xn=(un=!Ot&&kn==="bottom"||Ot&&kn==="top")?1:-1,Ot&&(xn*=-1),Xt=Nt*xn,Qt=Ne+Pt*xn,rn=un?1:-.2,Math.abs(Tn)===90&&(Ot?rn+=H:rn=Tn===-90&&kn==="bottom"?ne:Tn===90&&kn==="top"?H:.5,$n=H/2*(Tn/90)),An.xFn=function(Dn){return Dn.dx+Xt+$n*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*rn},An.anchorFn=function(Dn,In){if(yt){if(It)return"end";if(Lt)return"start"}return y(In)&&In!==0&&In!==180?In*xn<0!==Ot?"end":"start":"middle"},An.heightFn=function(Dn,In,jn){return In<-60||In>60?-.5*jn:Pe.side==="top"!==Ot?-jn:0};else if(sn==="y"){if(xn=(un=!Ot&&kn==="left"||Ot&&kn==="right")?1:-1,Ot&&(xn*=-1),Xt=Pt,Qt=Nt*xn,rn=0,Ot||Math.abs(Tn)!==90||(rn=Tn===-90&&kn==="left"||Tn===90&&kn==="right"?ne:.5),Ot){var dn=y(Tn)?+Tn:0;if(dn!==0){var pn=g.deg2rad(dn);$n=Math.abs(Math.sin(pn))*ne*xn,rn=0}}An.xFn=function(Dn){return Dn.dx+Ne-(Xt+Dn.fontSize*rn)*xn+$n*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*H},An.anchorFn=function(Dn,In){return y(In)&&Math.abs(In)===90?"middle":un?"end":"start"},An.heightFn=function(Dn,In,jn){return Pe.side==="right"&&(In*=-1),In<-30?-jn:In<30?-.5*jn:0}}return An},X.drawTicks=function(Pe,Ne,Qe){Qe=Qe||{};var ut=Ne._id+"tick",dt=[].concat(Ne.minor&&Ne.minor.ticks?Qe.vals.filter(function(It){return It.minor&&!It.noTick}):[]).concat(Ne.ticks?Qe.vals.filter(function(It){return!It.minor&&!It.noTick}):[]),_t=Qe.layer.selectAll("path."+ut).data(dt,ft);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("ticks",1).classed("crisp",Qe.crisp!==!1).each(function(It){return u.stroke(d.select(this),It.minor?Ne.minor.tickcolor:Ne.tickcolor)}).style("stroke-width",function(It){return o.crispRound(Pe,It.minor?Ne.minor.tickwidth:Ne.tickwidth,1)+"px"}).attr("d",Qe.path).style("display",null),nt(Ne,[Y]),_t.attr("transform",Qe.transFn)},X.drawGrid=function(Pe,Ne,Qe){if(Qe=Qe||{},Ne.tickmode!=="sync"){var ut=Ne._id+"grid",dt=Ne.minor&&Ne.minor.showgrid,_t=dt?Qe.vals.filter(function(rn){return rn.minor}):[],It=Ne.showgrid?Qe.vals.filter(function(rn){return!rn.minor}):[],Lt=Qe.counterAxis;if(Lt&&X.shouldShowZeroLine(Pe,Ne,Lt))for(var yt=Ne.tickmode==="array",Ot=0;Ot=0;Wt--){var Xt=Wt?Nt:$t;if(Xt){var Qt=Xt.selectAll("path."+ut).data(Wt?It:_t,ft);Qt.exit().remove(),Qt.enter().append("path").classed(ut,1).classed("crisp",Qe.crisp!==!1),Qt.attr("transform",Qe.transFn).attr("d",Qe.path).each(function(rn){return u.stroke(d.select(this),rn.minor?Ne.minor.gridcolor:Ne.gridcolor||"#ddd")}).style("stroke-dasharray",function(rn){return o.dashStyle(rn.minor?Ne.minor.griddash:Ne.griddash,rn.minor?Ne.minor.gridwidth:Ne.gridwidth)}).style("stroke-width",function(rn){return(rn.minor?Pt:Ne._gw)+"px"}).style("display",null),typeof Qe.path=="function"&&Qt.attr("d",Qe.path)}}nt(Ne,[W,j])}},X.drawZeroLine=function(Pe,Ne,Qe){Qe=Qe||Qe;var ut=Ne._id+"zl",dt=X.shouldShowZeroLine(Pe,Ne,Qe.counterAxis),_t=Qe.layer.selectAll("path."+ut).data(dt?[{x:0,id:Ne._id}]:[]);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("zl",1).classed("crisp",Qe.crisp!==!1).each(function(){Qe.layer.selectAll("path").sort(function(It,Lt){return ie(It.id,Lt.id)})}),_t.attr("transform",Qe.transFn).attr("d",Qe.path).call(u.stroke,Ne.zerolinecolor||u.defaultLine).style("stroke-width",o.crispRound(Pe,Ne.zerolinewidth,Ne._gw||1)+"px").style("display",null),nt(Ne,[N])},X.drawLabels=function(Pe,Ne,Qe){Qe=Qe||{};var ut=Pe._fullLayout,dt=Ne._id,_t=dt.charAt(0),It=Qe.cls||dt+"tick",Lt=Qe.vals.filter(function(xn){return xn.text}),yt=Qe.labelFns,Ot=Qe.secondary?0:Ne.tickangle,wt=(Ne._prevTickAngles||{})[It],Pt=Qe.layer.selectAll("g."+It).data(Ne.showticklabels?Lt:[],ft),Nt=[];function $t(xn,un){xn.each(function(An){var $n=d.select(this),kn=$n.select(".text-math-group"),sn=yt.anchorFn(An,un),Tn=Qe.transFn.call($n.node(),An)+(y(un)&&+un!=0?" rotate("+un+","+yt.xFn(An)+","+(yt.yFn(An)-An.fontSize/2)+")":""),dn=l.lineCount($n),pn=te*An.fontSize,Dn=yt.heightFn(An,y(un)?+un:0,(dn-1)*pn);if(Dn&&(Tn+=h(0,Dn)),kn.empty()){var In=$n.select("text");In.attr({transform:Tn,"text-anchor":sn}),In.style("opacity",1),Ne._adjustTickLabelsOverflow&&Ne._adjustTickLabelsOverflow()}else{var jn=o.bBox(kn.node()).width*{end:-.5,start:.5}[sn];kn.attr("transform",Tn+h(jn,0))}})}Pt.enter().append("g").classed(It,1).append("text").attr("text-anchor","middle").each(function(xn){var un=d.select(this),An=Pe._promises.length;un.call(l.positionText,yt.xFn(xn),yt.yFn(xn)).call(o.font,xn.font,xn.fontSize,xn.fontColor).text(xn.text).call(l.convertToTspans,Pe),Pe._promises[An]?Nt.push(Pe._promises.pop().then(function(){$t(un,Ot)})):$t(un,Ot)}),nt(Ne,[U]),Pt.exit().remove(),Qe.repositionOnUpdate&&Pt.each(function(xn){d.select(this).select("text").call(l.positionText,yt.xFn(xn),yt.yFn(xn))}),Ne._adjustTickLabelsOverflow=function(){var xn=Ne.ticklabeloverflow;if(xn&&xn!=="allow"){var un=xn.indexOf("hide")!==-1,An=Ne._id.charAt(0)==="x",$n=0,kn=An?Pe._fullLayout.width:Pe._fullLayout.height;if(xn.indexOf("domain")!==-1){var sn=g.simpleMap(Ne.range,Ne.r2l);$n=Ne.l2p(sn[0])+Ne._offset,kn=Ne.l2p(sn[1])+Ne._offset}var Tn=Math.min($n,kn),dn=Math.max($n,kn),pn=Ne.side,Dn=1/0,In=-1/0;for(var jn in Pt.each(function(lr){var rr=d.select(this);if(rr.select(".text-math-group").empty()){var Sr=o.bBox(rr.node()),yr=0;An?(Sr.right>dn||Sr.leftdn||Sr.top+(Ne.tickangle?0:lr.fontSize/4)Ne["_visibleLabelMin_"+sn._id]?qn.style("display","none"):dn.K!=="tick"||Tn||qn.style("display",null)})})})})},$t(Pt,wt+1?wt:Ot);var Wt=null;Ne._selections&&(Ne._selections[It]=Pt);var Xt=[function(){return Nt.length&&Promise.all(Nt)}];Ne.automargin&&ut._redrawFromAutoMarginCount&&wt===90?(Wt=90,Xt.push(function(){$t(Pt,wt)})):Xt.push(function(){if($t(Pt,Ot),Lt.length&&_t==="x"&&!y(Ot)&&(Ne.type!=="log"||String(Ne.dtick).charAt(0)!=="D")){Wt=0;var xn,un=0,An=[];if(Pt.each(function(rr){un=Math.max(un,rr.fontSize);var Sr=Ne.l2p(rr.x),yr=kt(this),or=o.bBox(yr.node());An.push({top:0,bottom:10,height:10,left:Sr-or.width/2,right:Sr+or.width/2+2,width:or.width+2})}),Ne.tickson!=="boundaries"&&!Ne.showdividers||Qe.secondary){var $n=Lt.length,kn=Math.abs((Lt[$n-1].x-Lt[0].x)*Ne._m)/($n-1),sn=Ne.ticklabelposition||"",Tn=function(rr){return sn.indexOf(rr)!==-1},dn=Tn("top"),pn=Tn("left"),Dn=Tn("right"),In=Tn("bottom")||pn||dn||Dn?(Ne.tickwidth||0)+6:0,jn=kn<2.5*un||Ne.type==="multicategory"||Ne._name==="realaxis";for(xn=0;xn1)for(Lt=1;Lt2*b}(f,s))return"date";var x=c.autotypenumbers!=="strict";return function(T,C){for(var _=T.length,A=u(_),L=0,b=0,P={},I=0;I<_;I+=A){var R=T[l(I)],D=String(R);if(!P[D]){P[D]=1;var F=typeof R;F==="boolean"?b++:(C?h(R)!==i:F==="number")?L++:F==="string"&&b++}}return b>2*L}(f,x)?"category":function(T,C){for(var _=T.length,A=0;A<_;A++)if(a(T[A],C))return!0;return!1}(f,x)?"linear":"-"}},71453:function(k,m,t){var d=t(92770),y=t(73972),i=t(71828),M=t(44467),g=t(85501),h=t(13838),l=t(26218),a=t(38701),u=t(96115),o=t(89426),s=t(15258),c=t(92128),f=t(21994),p=t(85555).WEEKDAY_PATTERN,w=t(85555).HOUR_PATTERN;function v(T,C,_){function A(B,N){return i.coerce(T,C,h.rangebreaks,B,N)}if(A("enabled")){var L=A("bounds");if(L&&L.length>=2){var b,P,I="";if(L.length===2){for(b=0;b<2;b++)if(P=x(L[b])){I=p;break}}var R=A("pattern",I);if(R===p)for(b=0;b<2;b++)(P=x(L[b]))&&(C.bounds[b]=L[b]=P-1);if(R)for(b=0;b<2;b++)switch(P=L[b],R){case p:if(!d(P)||(P=+P)!==Math.floor(P)||P<0||P>=7)return void(C.enabled=!1);C.bounds[b]=L[b]=P;break;case w:if(!d(P)||(P=+P)<0||P>24)return void(C.enabled=!1);C.bounds[b]=L[b]=P}if(_.autorange===!1){var D=_.range;if(D[0]D[1])return void(C.enabled=!1)}else if(L[0]>D[0]&&L[1]l?1:-1:+(M.substr(1)||1)-+(g.substr(1)||1)},m.ref2id=function(M){return!!/^[xyz]/.test(M)&&M.split(" ")[0]},m.isLinked=function(M,g){return i(g,M._axisMatchGroups)||i(g,M._axisConstraintGroups)}},15258:function(k){k.exports=function(m,t,d,y){if(t.type==="category"){var i,M=m.categoryarray,g=Array.isArray(M)&&M.length>0;g&&(i="array");var h,l=d("categoryorder",i);l==="array"&&(h=d("categoryarray")),g||l!=="array"||(l=t.categoryorder="trace"),l==="trace"?t._initialCategories=[]:l==="array"?t._initialCategories=h.slice():(h=function(a,u){var o,s,c,f=u.dataAttr||a._id.charAt(0),p={};if(u.axData)o=u.axData;else for(o=[],s=0;sT?C.substr(T):_.substr(x))+A:C+_+v*S:A}function p(v,S){for(var x=S._size,T=x.h/x.w,C={},_=Object.keys(v),A=0;A<_.length;A++){var L=_[A],b=v[L];if(typeof b=="string"){var P=b.match(/^[xy]*/)[0],I=P.length;b=+b.substr(I);for(var R=P.charAt(0)==="y"?T:1/T,D=0;Dl*F)||j){for(x=0;xQ&&ueZ&&(Z=ue);b/=(Z-te)/(2*X),te=_.l2r(te),Z=_.l2r(Z),_.range=_._input.range=q=0?Math.min(ue,.9):1/(1/Math.max(ue,-.3)+3.222))}function q(ue,ce,ye,de,me){return ue.append("path").attr("class","zoombox").style({fill:ce>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(ye,de)).attr("d",me+"Z")}function H(ue,ce,ye){return ue.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(ce,ye)).attr("d","M0,0Z")}function ne(ue,ce,ye,de,me,pe){ue.attr("d",de+"M"+ye.l+","+ye.t+"v"+ye.h+"h"+ye.w+"v-"+ye.h+"h-"+ye.w+"Z"),te(ue,ce,me,pe)}function te(ue,ce,ye,de){ye||(ue.transition().style("fill",de>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ce.transition().style("opacity",1).duration(200))}function Z(ue){d.select(ue).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function X(ue){B&&ue.data&&ue._context.showTips&&(y.notifier(y._(ue,"Double-click to zoom back out"),"long"),B=!1)}function Q(ue){var ce=Math.floor(Math.min(ue.b-ue.t,ue.r-ue.l,F)/2);return"M"+(ue.l-3.5)+","+(ue.t-.5+ce)+"h3v"+-ce+"h"+ce+"v-3h-"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.t-.5+ce)+"h-3v"+-ce+"h"+-ce+"v-3h"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.b+.5-ce)+"h-3v"+ce+"h"+-ce+"v3h"+(ce+3)+"ZM"+(ue.l-3.5)+","+(ue.b+.5-ce)+"h3v"+ce+"h"+ce+"v3h-"+(ce+3)+"Z"}function re(ue,ce,ye,de,me){for(var pe,xe,Oe,_e,Me=!1,Se={},Ce={},ae=(me||{}).xaHash,he=(me||{}).yaHash,be=0;be=0)dn._fullLayout._deactivateShape(dn);else{var pn=dn._fullLayout.clickmode;if(Z(dn),sn!==2||Ft||rn(),xt)pn.indexOf("select")>-1&&P(Tn,dn,ae,he,ce.id,dt),pn.indexOf("event")>-1&&s.click(dn,Tn,ce.id);else if(sn===1&&Ft){var Dn=xe?Me:_e,In=xe==="s"||Oe==="w"?0:1,jn=Dn._name+".range["+In+"]",Gn=function(rr,Sr){var yr,or=rr.range[Sr],vr=Math.abs(or-rr.range[1-Sr]);return rr.type==="date"?or:rr.type==="log"?(yr=Math.ceil(Math.max(0,-Math.log(vr)/Math.LN10))+3,i("."+yr+"g")(Math.pow(10,or))):(yr=Math.floor(Math.log(Math.abs(or))/Math.LN10)-Math.floor(Math.log(vr)/Math.LN10)+4,i("."+String(yr)+"g")(or))}(Dn,In),qn="left",lr="middle";if(Dn.fixedrange)return;xe?(lr=xe==="n"?"top":"bottom",Dn.side==="right"&&(qn="right")):Oe==="e"&&(qn="right"),dn._context.showAxisRangeEntryBoxes&&d.select(qt).call(a.makeEditable,{gd:dn,immediate:!0,background:dn._fullLayout.paper_bgcolor,text:String(Gn),fill:Dn.tickfont?Dn.tickfont.color:"#444",horizontalAlign:qn,verticalAlign:lr}).on("edit",function(rr){var Sr=Dn.d2r(rr);Sr!==void 0&&h.call("_guiRelayout",dn,jn,Sr)})}}}function Lt(sn,Tn){if(ue._transitioningWithDuration)return!1;var dn=Math.max(0,Math.min(Le,bt*sn+Vt)),pn=Math.max(0,Math.min(Be,Et*Tn+Ke)),Dn=Math.abs(dn-Vt),In=Math.abs(pn-Ke);function jn(){Pe="",Je.r=Je.l,Je.t=Je.b,Qe.attr("d","M0,0Z")}if(Je.l=Math.min(Vt,dn),Je.r=Math.max(Vt,dn),Je.t=Math.min(Ke,pn),Je.b=Math.max(Ke,pn),ze.isSubplotConstrained)Dn>F||In>F?(Pe="xy",Dn/Le>In/Be?(In=Dn*Be/Le,Ke>pn?Je.t=Ke-In:Je.b=Ke+In):(Dn=In*Le/Be,Vt>dn?Je.l=Vt-Dn:Je.r=Vt+Dn),Qe.attr("d",Q(Je))):jn();else if(je.isSubplotConstrained)if(Dn>F||In>F){Pe="xy";var Gn=Math.min(Je.l/Le,(Be-Je.b)/Be),qn=Math.max(Je.r/Le,(Be-Je.t)/Be);Je.l=Gn*Le,Je.r=qn*Le,Je.b=(1-Gn)*Be,Je.t=(1-qn)*Be,Qe.attr("d",Q(Je))}else jn();else!we||In0){var lr;if(je.isSubplotConstrained||!ge&&we.length===1){for(lr=0;lr_[1]-.000244140625&&(M.domain=a),y.noneOrAll(i.domain,M.domain,a),M.tickmode==="sync"&&(M.tickmode="auto")}return g("layer"),M}},89426:function(k,m,t){var d=t(59652);k.exports=function(y,i,M,g,h){h||(h={});var l=h.tickSuffixDflt,a=d(y);M("tickprefix")&&M("showtickprefix",a),M("ticksuffix",l)&&M("showticksuffix",a)}},42449:function(k,m,t){var d=t(18783).FROM_BL;k.exports=function(y,i,M){M===void 0&&(M=d[y.constraintoward||"center"]);var g=[y.r2l(y.range[0]),y.r2l(y.range[1])],h=g[0]+(g[1]-g[0])*M;y.range=y._input.range=[y.l2r(h+(g[0]-h)*i),y.l2r(h+(g[1]-h)*i)],y.setScale()}},21994:function(k,m,t){var d=t(39898),y=t(84096).g0,i=t(71828),M=i.numberFormat,g=t(92770),h=i.cleanNumber,l=i.ms2DateTime,a=i.dateTime2ms,u=i.ensureNumber,o=i.isArrayOrTypedArray,s=t(50606),c=s.FP_SAFE,f=s.BADNUM,p=s.LOG_CLIP,w=s.ONEWEEK,v=s.ONEDAY,S=s.ONEHOUR,x=s.ONEMIN,T=s.ONESEC,C=t(41675),_=t(85555),A=_.HOUR_PATTERN,L=_.WEEKDAY_PATTERN;function b(I){return Math.pow(10,I)}function P(I){return I!=null}k.exports=function(I,R){R=R||{};var D=I._id||"x",F=D.charAt(0);function B(re,ie){if(re>0)return Math.log(re)/Math.LN10;if(re<=0&&ie&&I.range&&I.range.length===2){var oe=I.range[0],ue=I.range[1];return .5*(oe+ue-2*p*Math.abs(oe-ue))}return f}function N(re,ie,oe,ue){if((ue||{}).msUTC&&g(re))return+re;var ce=a(re,oe||I.calendar);if(ce===f){if(!g(re))return f;re=+re;var ye=Math.floor(10*i.mod(re+.05,1)),de=Math.round(re-ye/10);ce=a(new Date(de))+ye/10}return ce}function W(re,ie,oe){return l(re,ie,oe||I.calendar)}function j(re){return I._categories[Math.round(re)]}function Y(re){if(P(re)){if(I._categoriesMap===void 0&&(I._categoriesMap={}),I._categoriesMap[re]!==void 0)return I._categoriesMap[re];I._categories.push(typeof re=="number"?String(re):re);var ie=I._categories.length-1;return I._categoriesMap[re]=ie,ie}return f}function U(re){if(I._categoriesMap)return I._categoriesMap[re]}function G(re){var ie=U(re);return ie!==void 0?ie:g(re)?+re:void 0}function q(re){return g(re)?+re:U(re)}function H(re,ie,oe){return d.round(oe+ie*re,2)}function ne(re,ie,oe){return(re-oe)/ie}var te=function(re){return g(re)?H(re,I._m,I._b):f},Z=function(re){return ne(re,I._m,I._b)};if(I.rangebreaks){var X=F==="y";te=function(re){if(!g(re))return f;var ie=I._rangebreaks.length;if(!ie)return H(re,I._m,I._b);var oe=X;I.range[0]>I.range[1]&&(oe=!oe);for(var ue=oe?-1:1,ce=ue*re,ye=0,de=0;depe)){ye=ce<(me+pe)/2?de:de+1;break}ye=de+1}var xe=I._B[ye]||0;return isFinite(xe)?H(re,I._m2,xe):0},Z=function(re){var ie=I._rangebreaks.length;if(!ie)return ne(re,I._m,I._b);for(var oe=0,ue=0;ueI._rangebreaks[ue].pmax&&(oe=ue+1);return ne(re,I._m2,I._B[oe])}}I.c2l=I.type==="log"?B:u,I.l2c=I.type==="log"?b:u,I.l2p=te,I.p2l=Z,I.c2p=I.type==="log"?function(re,ie){return te(B(re,ie))}:te,I.p2c=I.type==="log"?function(re){return b(Z(re))}:Z,["linear","-"].indexOf(I.type)!==-1?(I.d2r=I.r2d=I.d2c=I.r2c=I.d2l=I.r2l=h,I.c2d=I.c2r=I.l2d=I.l2r=u,I.d2p=I.r2p=function(re){return I.l2p(h(re))},I.p2d=I.p2r=Z,I.cleanPos=u):I.type==="log"?(I.d2r=I.d2l=function(re,ie){return B(h(re),ie)},I.r2d=I.r2c=function(re){return b(h(re))},I.d2c=I.r2l=h,I.c2d=I.l2r=u,I.c2r=B,I.l2d=b,I.d2p=function(re,ie){return I.l2p(I.d2r(re,ie))},I.p2d=function(re){return b(Z(re))},I.r2p=function(re){return I.l2p(h(re))},I.p2r=Z,I.cleanPos=u):I.type==="date"?(I.d2r=I.r2d=i.identity,I.d2c=I.r2c=I.d2l=I.r2l=N,I.c2d=I.c2r=I.l2d=I.l2r=W,I.d2p=I.r2p=function(re,ie,oe){return I.l2p(N(re,0,oe))},I.p2d=I.p2r=function(re,ie,oe){return W(Z(re),ie,oe)},I.cleanPos=function(re){return i.cleanDate(re,f,I.calendar)}):I.type==="category"?(I.d2c=I.d2l=Y,I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=q(re);return ie!==void 0?ie:I.fraction2r(.5)},I.l2r=I.c2r=u,I.r2l=q,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return typeof re=="string"&&re!==""?re:u(re)}):I.type==="multicategory"&&(I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=G(re);return ie!==void 0?ie:I.fraction2r(.5)},I.r2c_just_indices=U,I.l2r=I.c2r=u,I.r2l=G,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return Array.isArray(re)||typeof re=="string"&&re!==""?re:u(re)},I.setupMultiCategory=function(re){var ie,oe,ue=I._traceIndices,ce=I._matchGroup;if(ce&&I._categories.length===0){for(var ye in ce)if(ye!==D){var de=R[C.id2name(ye)];ue=ue.concat(de._traceIndices)}}var me=[[0,{}],[0,{}]],pe=[];for(ie=0;iec&&(ce[oe]=c),ce[0]===ce[1]){var de=Math.max(1,Math.abs(1e-6*ce[0]));ce[0]-=de,ce[1]+=de}}else i.nestedProperty(I,re).set(ue)},I.setScale=function(re){var ie=R._size;if(I.overlaying){var oe=C.getFromId({_fullLayout:R},I.overlaying);I.domain=oe.domain}var ue=re&&I._r?"_r":"range",ce=I.calendar;I.cleanRange(ue);var ye,de,me=I.r2l(I[ue][0],ce),pe=I.r2l(I[ue][1],ce),xe=F==="y";if(xe?(I._offset=ie.t+(1-I.domain[1])*ie.h,I._length=ie.h*(I.domain[1]-I.domain[0]),I._m=I._length/(me-pe),I._b=-I._m*pe):(I._offset=ie.l+I.domain[0]*ie.w,I._length=ie.w*(I.domain[1]-I.domain[0]),I._m=I._length/(pe-me),I._b=-I._m*me),I._rangebreaks=[],I._lBreaks=0,I._m2=0,I._B=[],I.rangebreaks&&(I._rangebreaks=I.locateBreaks(Math.min(me,pe),Math.max(me,pe)),I._rangebreaks.length)){for(ye=0;yepe&&(Oe=!Oe),Oe&&I._rangebreaks.reverse();var _e=Oe?-1:1;for(I._m2=_e*I._length/(Math.abs(pe-me)-I._lBreaks),I._B.push(-I._m2*(xe?pe:me)),ye=0;yeue&&(ue+=7,ceue&&(ue+=24,ce=oe&&ce=oe&&re=je.min&&(keje.max&&(je.max=Le),Be=!1)}Be&&de.push({min:ke,max:Le})}};for(oe=0;oea.duration?(function(){for(var A={},L=0;L rect").call(M.setTranslate,0,0).call(M.setScale,1,1),x.plot.call(M.setTranslate,T._offset,C._offset).call(M.setScale,1,1);var _=x.plot.selectAll(".scatterlayer .trace");_.selectAll(".point").call(M.setPointGroupScale,1,1),_.selectAll(".textpoint").call(M.setTextPointsScale,1,1),_.call(M.hideOutsideRangePoints,x)}function S(x,T){var C=x.plotinfo,_=C.xaxis,A=C.yaxis,L=_._length,b=A._length,P=!!x.xr1,I=!!x.yr1,R=[];if(P){var D=i.simpleMap(x.xr0,_.r2l),F=i.simpleMap(x.xr1,_.r2l),B=D[1]-D[0],N=F[1]-F[0];R[0]=(D[0]*(1-T)+T*F[0]-D[0])/(D[1]-D[0])*L,R[2]=L*(1-T+T*N/B),_.range[0]=_.l2r(D[0]*(1-T)+T*F[0]),_.range[1]=_.l2r(D[1]*(1-T)+T*F[1])}else R[0]=0,R[2]=L;if(I){var W=i.simpleMap(x.yr0,A.r2l),j=i.simpleMap(x.yr1,A.r2l),Y=W[1]-W[0],U=j[1]-j[0];R[1]=(W[1]*(1-T)+T*j[1]-W[1])/(W[0]-W[1])*b,R[3]=b*(1-T+T*U/Y),A.range[0]=_.l2r(W[0]*(1-T)+T*j[0]),A.range[1]=A.l2r(W[1]*(1-T)+T*j[1])}else R[1]=0,R[3]=b;g.drawOne(h,_,{skipTitle:!0}),g.drawOne(h,A,{skipTitle:!0}),g.redrawComponents(h,[_._id,A._id]);var G=P?L/R[2]:1,q=I?b/R[3]:1,H=P?R[0]:0,ne=I?R[1]:0,te=P?R[0]/R[2]*L:0,Z=I?R[1]/R[3]*b:0,X=_._offset-te,Q=A._offset-Z;C.clipRect.call(M.setTranslate,H,ne).call(M.setScale,1/G,1/q),C.plot.call(M.setTranslate,X,Q).call(M.setScale,G,q),M.setPointGroupScale(C.zoomScalePts,1/G,1/q),M.setTextPointsScale(C.zoomScaleTxt,1/G,1/q)}g.redrawComponents(h)}},951:function(k,m,t){var d=t(73972).traceIs,y=t(4322);function i(g){return{v:"x",h:"y"}[g.orientation||"v"]}function M(g,h){var l=i(g),a=d(g,"box-violin"),u=d(g._fullInput||{},"candlestick");return a&&!u&&h===l&&g[l]===void 0&&g[l+"0"]===void 0}k.exports=function(g,h,l,a){l("autotypenumbers",a.autotypenumbersDflt),l("type",(a.splomStash||{}).type)==="-"&&(function(u,o){if(u.type==="-"){var s,c=u._id,f=c.charAt(0);c.indexOf("scene")!==-1&&(c=f);var p=function(A,L,b){for(var P=0;P0&&(I["_"+b+"axes"]||{})[L]||(I[b+"axis"]||b)===L&&(M(I,b)||(I[b]||[]).length||I[b+"0"]))return I}}(o,c,f);if(p)if(p.type!=="histogram"||f!=={v:"y",h:"x"}[p.orientation||"v"]){var w=f+"calendar",v=p[w],S={noMultiCategory:!d(p,"cartesian")||d(p,"noMultiCategory")};if(p.type==="box"&&p._hasPreCompStats&&f==={h:"x",v:"y"}[p.orientation||"v"]&&(S.noMultiCategory=!0),S.autotypenumbers=u.autotypenumbers,M(p,f)){var x=i(p),T=[];for(s=0;s0?".":"")+s;y.isPlainObject(c)?h(c,a,f,o+1):a(f,s,c)}})}m.manageCommandObserver=function(l,a,u,o){var s={},c=!0;a&&a._commandObserver&&(s=a._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var f=m.hasSimpleAPICommandBindings(l,u,s.lookupTable);if(a&&a._commandObserver){if(f)return s;if(a._commandObserver.remove)return a._commandObserver.remove(),a._commandObserver=null,s}if(f){i(l,f,s.cache),s.check=function(){if(c){var v=i(l,f,s.cache);return v.changed&&o&&s.lookupTable[v.value]!==void 0&&(s.disable(),Promise.resolve(o({value:v.value,type:f.type,prop:f.prop,traces:f.traces,index:s.lookupTable[v.value]})).then(s.enable,s.enable)),v.changed}};for(var p=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],w=0;w0&&N<0&&(N+=360);var Y=(N-B)/4;return{type:"Polygon",coordinates:[[[B,W],[B,j],[B+Y,j],[B+2*Y,j],[B+3*Y,j],[N,j],[N,W],[N-Y,W],[N-2*Y,W],[N-3*Y,W],[B,W]]]}}k.exports=function(R){return new b(R)},P.plot=function(R,D,F,B){var N=this;if(B)return N.update(R,D,!0);N._geoCalcData=R,N._fullLayout=D;var W=D[this.id],j=[],Y=!1;for(var U in C.layerNameToAdjective)if(U!=="frame"&&W["show"+U]){Y=!0;break}for(var G=!1,q=0;q0&&j._module.calcGeoJSON(W,D)}if(!F){if(this.updateProjection(R,D))return;this.viewInitial&&this.scope===B.scope||this.saveViewInitial(B)}this.scope=B.scope,this.updateBaseLayers(D,B),this.updateDims(D,B),this.updateFx(D,B),c.generalUpdatePerTraceModule(this.graphDiv,this,R,B);var Y=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=Y.selectAll(".point"),this.dataPoints.text=Y.selectAll("text"),this.dataPaths.line=Y.selectAll(".js-line");var U=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=U.selectAll("path"),this._render()},P.updateProjection=function(R,D){var F=this.graphDiv,B=D[this.id],N=D._size,W=B.domain,j=B.projection,Y=B.lonaxis,U=B.lataxis,G=Y._ax,q=U._ax,H=this.projection=function(Ce){var ae=Ce.projection,he=ae.type,be=C.projNames[he];be="geo"+l.titleCase(be);for(var ke=(y[be]||g[be])(),Le=Ce._isSatellite?180*Math.acos(1/ae.distance)/Math.PI:Ce._isClipped?C.lonaxisSpan[he]/2:null,Be=["center","rotate","parallels","clipExtent"],ze=function(we){return we?ke:[]},je=0;jeLe*Math.PI/180}return!1},ke.getPath=function(){return i().projection(ke)},ke.getBounds=function(we){return ke.getPath().bounds(we)},ke.precision(C.precision),Ce._isSatellite&&ke.tilt(ae.tilt).distance(ae.distance),Le&&ke.clipAngle(Le-C.clipPad),ke}(B),ne=[[N.l+N.w*W.x[0],N.t+N.h*(1-W.y[1])],[N.l+N.w*W.x[1],N.t+N.h*(1-W.y[0])]],te=B.center||{},Z=j.rotation||{},X=Y.range||[],Q=U.range||[];if(B.fitbounds){G._length=ne[1][0]-ne[0][0],q._length=ne[1][1]-ne[0][1],G.range=p(F,G),q.range=p(F,q);var re=(G.range[0]+G.range[1])/2,ie=(q.range[0]+q.range[1])/2;if(B._isScoped)te={lon:re,lat:ie};else if(B._isClipped){te={lon:re,lat:ie},Z={lon:re,lat:ie,roll:Z.roll};var oe=j.type,ue=C.lonaxisSpan[oe]/2||180,ce=C.lataxisSpan[oe]/2||90;X=[re-ue,re+ue],Q=[ie-ce,ie+ce]}else te={lon:re,lat:ie},Z={lon:re,lat:Z.lat,roll:Z.roll}}H.center([te.lon-Z.lon,te.lat-Z.lat]).rotate([-Z.lon,-Z.lat,Z.roll]).parallels(j.parallels);var ye=I(X,Q);H.fitExtent(ne,ye);var de=this.bounds=H.getBounds(ye),me=this.fitScale=H.scale(),pe=H.translate();if(B.fitbounds){var xe=H.getBounds(I(G.range,q.range)),Oe=Math.min((de[1][0]-de[0][0])/(xe[1][0]-xe[0][0]),(de[1][1]-de[0][1])/(xe[1][1]-xe[0][1]));isFinite(Oe)?H.scale(Oe*me):l.warn("Something went wrong during"+this.id+"fitbounds computations.")}else H.scale(j.scale*me);var _e=this.midPt=[(de[0][0]+de[1][0])/2,(de[0][1]+de[1][1])/2];if(H.translate([pe[0]+(_e[0]-pe[0]),pe[1]+(_e[1]-pe[1])]).clipExtent(de),B._isAlbersUsa){var Me=H([te.lon,te.lat]),Se=H.translate();H.translate([Se[0]-(Me[0]-Se[0]),Se[1]-(Me[1]-Se[1])])}},P.updateBaseLayers=function(R,D){var F=this,B=F.topojson,N=F.layers,W=F.basePaths;function j(H){return H==="lonaxis"||H==="lataxis"}function Y(H){return!!C.lineLayers[H]}function U(H){return!!C.fillLayers[H]}var G=(this.hasChoropleth?C.layersForChoropleth:C.layers).filter(function(H){return Y(H)||U(H)?D["show"+H]:!j(H)||D[H].showgrid}),q=F.framework.selectAll(".layer").data(G,String);q.exit().each(function(H){delete N[H],delete W[H],d.select(this).remove()}),q.enter().append("g").attr("class",function(H){return"layer "+H}).each(function(H){var ne=N[H]=d.select(this);H==="bg"?F.bgRect=ne.append("rect").style("pointer-events","all"):j(H)?W[H]=ne.append("path").style("fill","none"):H==="backplot"?ne.append("g").classed("choroplethlayer",!0):H==="frontplot"?ne.append("g").classed("scatterlayer",!0):Y(H)?W[H]=ne.append("path").style("fill","none").style("stroke-miterlimit",2):U(H)&&(W[H]=ne.append("path").style("stroke","none"))}),q.order(),q.each(function(H){var ne=W[H],te=C.layerNameToAdjective[H];H==="frame"?ne.datum(C.sphereSVG):Y(H)||U(H)?ne.datum(L(B,B.objects[H])):j(H)&&ne.datum(function(Z,X,Q){var re,ie,oe,ue=X[Z],ce=C.scopeDefaults[X.scope];Z==="lonaxis"?(re=ce.lonaxisRange,ie=ce.lataxisRange,oe=function(Se,Ce){return[Se,Ce]}):Z==="lataxis"&&(re=ce.lataxisRange,ie=ce.lonaxisRange,oe=function(Se,Ce){return[Ce,Se]});var ye={type:"linear",range:[re[0],re[1]-1e-6],tick0:ue.tick0,dtick:ue.dtick};f.setConvert(ye,Q);var de=f.calcTicks(ye);X.isScoped||Z!=="lonaxis"||de.pop();for(var me=de.length,pe=new Array(me),xe=0;xe-1&&x(d.event,B,[F.xaxis],[F.yaxis],F.id,Y),j.indexOf("event")>-1&&s.click(B,d.event))})}function U(G){return F.projection.invert([G[0]+F.xaxis._offset,G[1]+F.yaxis._offset])}},P.makeFramework=function(){var R=this,D=R.graphDiv,F=D._fullLayout,B="clip"+F._uid+R.id;R.clipDef=F._clips.append("clipPath").attr("id",B),R.clipRect=R.clipDef.append("rect"),R.framework=d.select(R.container).append("g").attr("class","geo "+R.id).call(o.setClipUrl,B,D),R.project=function(N){var W=R.projection(N);return W?[W[0]-R.xaxis._offset,W[1]-R.yaxis._offset]:[null,null]},R.xaxis={_id:"x",c2p:function(N){return R.project(N)[0]}},R.yaxis={_id:"y",c2p:function(N){return R.project(N)[1]}},R.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},f.setConvert(R.mockAxis,F)},P.saveViewInitial=function(R){var D,F=R.center||{},B=R.projection,N=B.rotation||{};this.viewInitial={fitbounds:R.fitbounds,"projection.scale":B.scale},D=R._isScoped?{"center.lon":F.lon,"center.lat":F.lat}:R._isClipped?{"projection.rotation.lon":N.lon,"projection.rotation.lat":N.lat}:{"center.lon":F.lon,"center.lat":F.lat,"projection.rotation.lon":N.lon},l.extendFlat(this.viewInitial,D)},P.render=function(R){this._hasMarkerAngles&&R?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},P._render=function(){var R,D=this.projection,F=D.getPath();function B(W){var j=D(W.lonlat);return j?a(j[0],j[1]):null}function N(W){return D.isLonLatOverEdges(W.lonlat)?"none":null}for(R in this.basePaths)this.basePaths[R].attr("d",F);for(R in this.dataPaths)this.dataPaths[R].attr("d",function(W){return F(W.geojson)});for(R in this.dataPoints)this.dataPoints[R].attr("display",N).attr("transform",B)}},44622:function(k,m,t){var d=t(27659).AU,y=t(71828).counterRegex,i=t(69082),M="geo",g=y(M),h={};h.geo={valType:"subplotid",dflt:M,editType:"calc"},k.exports={attr:M,name:M,idRoot:M,idRegex:g,attrRegex:g,attributes:h,layoutAttributes:t(77519),supplyLayoutDefaults:t(82161),plot:function(l){for(var a=l._fullLayout,u=l.calcdata,o=a._subplots.geo,s=0;s0&&U<0&&(U+=360);var G,q,H,ne=(Y+U)/2;if(!S){var te=x?w.projRotate:[ne,0,0];G=o("projection.rotation.lon",te[0]),o("projection.rotation.lat",te[1]),o("projection.rotation.roll",te[2]),o("showcoastlines",!x&&L)&&(o("coastlinecolor"),o("coastlinewidth")),o("showocean",!!L&&void 0)&&o("oceancolor")}S?(q=-96.6,H=38.7):(q=x?ne:G,H=(j[0]+j[1])/2),o("center.lon",q),o("center.lat",H),T&&(o("projection.tilt"),o("projection.distance")),C&&o("projection.parallels",w.projParallels||[0,60]),o("projection.scale"),o("showland",!!L&&void 0)&&o("landcolor"),o("showlakes",!!L&&void 0)&&o("lakecolor"),o("showrivers",!!L&&void 0)&&(o("rivercolor"),o("riverwidth")),o("showcountries",x&&p!=="usa"&&L)&&(o("countrycolor"),o("countrywidth")),(p==="usa"||p==="north america"&&f===50)&&(o("showsubunits",L),o("subunitcolor"),o("subunitwidth")),x||o("showframe",L)&&(o("framecolor"),o("framewidth")),o("bgcolor"),o("fitbounds")&&(delete u.projection.scale,x?(delete u.center.lon,delete u.center.lat):_?(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon,delete u.projection.rotation.lat,delete u.lonaxis.range,delete u.lataxis.range):(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon))}k.exports=function(a,u,o){y(a,u,o,{type:"geo",attributes:g,handleDefaults:l,fullData:o,partition:"y"})}},74455:function(k,m,t){var d=t(39898),y=t(71828),i=t(73972),M=Math.PI/180,g=180/Math.PI,h={cursor:"pointer"},l={cursor:"auto"};function a(L,b){return d.behavior.zoom().translate(b.translate()).scale(b.scale())}function u(L,b,P){var I=L.id,R=L.graphDiv,D=R.layout,F=D[I],B=R._fullLayout,N=B[I],W={},j={};function Y(U,G){W[I+"."+U]=y.nestedProperty(F,U).get(),i.call("_storeDirectGUIEdit",D,B._preGUI,W);var q=y.nestedProperty(N,U);q.get()!==G&&(q.set(G),y.nestedProperty(F,U).set(G),j[I+"."+U]=G)}P(Y),Y("projection.scale",b.scale()/L.fitScale),Y("fitbounds",!1),R.emit("plotly_relayout",j)}function o(L,b){var P=a(0,b);function I(R){var D=b.invert(L.midPt);R("center.lon",D[0]),R("center.lat",D[1])}return P.on("zoomstart",function(){d.select(this).style(h)}).on("zoom",function(){b.scale(d.event.scale).translate(d.event.translate),L.render(!0);var R=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":R[0],"geo.center.lat":R[1]})}).on("zoomend",function(){d.select(this).style(l),u(L,b,I)}),P}function s(L,b){var P,I,R,D,F,B,N,W,j,Y=a(0,b);function U(q){return b.invert(q)}function G(q){var H=b.rotate(),ne=b.invert(L.midPt);q("projection.rotation.lon",-H[0]),q("center.lon",ne[0]),q("center.lat",ne[1])}return Y.on("zoomstart",function(){d.select(this).style(h),P=d.mouse(this),I=b.rotate(),R=b.translate(),D=I,F=U(P)}).on("zoom",function(){if(B=d.mouse(this),function(ne){var te=U(ne);if(!te)return!0;var Z=b(te);return Math.abs(Z[0]-ne[0])>2||Math.abs(Z[1]-ne[1])>2}(P))return Y.scale(b.scale()),void Y.translate(b.translate());b.scale(d.event.scale),b.translate([R[0],d.event.translate[1]]),F?U(B)&&(W=U(B),N=[D[0]+(W[0]-F[0]),I[1],I[2]],b.rotate(N),D=N):F=U(P=B),j=!0,L.render(!0);var q=b.rotate(),H=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":H[0],"geo.center.lat":H[1],"geo.projection.rotation.lon":-q[0]})}).on("zoomend",function(){d.select(this).style(l),j&&u(L,b,G)}),Y}function c(L,b){var P;b.rotate(),b.scale();var I=a(0,b),R=function(Y){for(var U=0,G=arguments.length,q=[];++UG?(D=(j>0?90:-90)-U,R=0):(D=Math.asin(j/G)*g-U,R=Math.sqrt(G*G-j*j));var q=180-D-2*U,H=(Math.atan2(Y,W)-Math.atan2(N,R))*g,ne=(Math.atan2(Y,W)-Math.atan2(N,-R))*g;return x(P[0],P[1],D,H)<=x(P[0],P[1],q,ne)?[D,H,P[2]]:[q,ne,P[2]]}function x(L,b,P,I){var R=T(P-L),D=T(I-b);return Math.sqrt(R*R+D*D)}function T(L){return(L%360+540)%360-180}function C(L,b,P){var I=P*M,R=L.slice(),D=b===0?1:0,F=b===2?1:2,B=Math.cos(I),N=Math.sin(I);return R[D]=L[D]*B-L[F]*N,R[F]=L[F]*B+L[D]*N,R}function _(L){return[Math.atan2(2*(L[0]*L[1]+L[2]*L[3]),1-2*(L[1]*L[1]+L[2]*L[2]))*g,Math.asin(Math.max(-1,Math.min(1,2*(L[0]*L[2]-L[3]*L[1]))))*g,Math.atan2(2*(L[0]*L[3]+L[1]*L[2]),1-2*(L[2]*L[2]+L[3]*L[3]))*g]}function A(L,b){for(var P=0,I=0,R=L.length;IMath.abs(S)?(o.boxEnd[1]=o.boxStart[1]+Math.abs(v)*F*(S>=0?1:-1),o.boxEnd[1]x[3]&&(o.boxEnd[1]=x[3],o.boxEnd[0]=o.boxStart[0]+(x[3]-o.boxStart[1])/Math.abs(F))):(o.boxEnd[0]=o.boxStart[0]+Math.abs(S)/F*(v>=0?1:-1),o.boxEnd[0]x[2]&&(o.boxEnd[0]=x[2],o.boxEnd[1]=o.boxStart[1]+(x[2]-o.boxStart[0])*Math.abs(F)))}}else o.boxEnabled?(v=o.boxStart[0]!==o.boxEnd[0],S=o.boxStart[1]!==o.boxEnd[1],v||S?(v&&(b(0,o.boxStart[0],o.boxEnd[0]),l.xaxis.autorange=!1),S&&(b(1,o.boxStart[1],o.boxEnd[1]),l.yaxis.autorange=!1),l.relayoutCallback()):l.glplot.setDirty(),o.boxEnabled=!1,o.boxInited=!1):o.boxInited&&(o.boxInited=!1);break;case"pan":o.boxEnabled=!1,o.boxInited=!1,f?(o.panning||(o.dragStart[0]=p,o.dragStart[1]=w),Math.abs(o.dragStart[0]-p).999&&(_="turntable"):_="turntable")}else _="turntable";c("dragmode",_),c("hovermode",f.getDfltFromLayout("hovermode"))}k.exports=function(o,s,c){var f=s._basePlotModules.length>1;M(o,s,c,{type:a,attributes:h,handleDefaults:u,fullLayout:s,font:s.font,fullData:c,getDfltFromLayout:function(p){if(!f)return d.validate(o[p],h[p])?o[p]:void 0},autotypenumbersDflt:s.autotypenumbers,paper_bgcolor:s.paper_bgcolor,calendar:s.calendar})}},65500:function(k,m,t){var d=t(77894),y=t(27670).Y,i=t(1426).extendFlat,M=t(71828).counterRegex;function g(h,l,a){return{x:{valType:"number",dflt:h,editType:"camera"},y:{valType:"number",dflt:l,editType:"camera"},z:{valType:"number",dflt:a,editType:"camera"},editType:"camera"}}k.exports={_arrayAttrRegexps:[M("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:i(g(0,0,1),{}),center:i(g(0,0,0),{}),eye:i(g(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:y({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:d,yaxis:d,zaxis:d,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},13133:function(k,m,t){var d=t(78614),y=["xaxis","yaxis","zaxis"];function i(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}i.prototype.merge=function(M){for(var g=0;g<3;++g){var h=M[y[g]];h.visible?(this.enabled[g]=h.showspikes,this.colors[g]=d(h.spikecolor),this.drawSides[g]=h.spikesides,this.lineWidth[g]=h.spikethickness):(this.enabled[g]=!1,this.drawSides[g]=!1)}},k.exports=function(M){var g=new i;return g.merge(M),g}},96085:function(k,m,t){k.exports=function(g){for(var h=g.axesOptions,l=g.glplot.axesPixels,a=g.fullSceneLayout,u=[[],[],[]],o=0;o<3;++o){var s=a[i[o]];if(s._length=(l[o].hi-l[o].lo)*l[o].pixelsPerDataUnit/g.dataScale[o],Math.abs(s._length)===1/0||isNaN(s._length))u[o]=[];else{s._input_range=s.range.slice(),s.range[0]=l[o].lo/g.dataScale[o],s.range[1]=l[o].hi/g.dataScale[o],s._m=1/(g.dataScale[o]*l[o].pixelsPerDataUnit),s.range[0]===s.range[1]&&(s.range[0]-=1,s.range[1]+=1);var c=s.tickmode;if(s.tickmode==="auto"){s.tickmode="linear";var f=s.nticks||y.constrain(s._length/40,4,9);d.autoTicks(s,Math.abs(s.range[1]-s.range[0])/f)}for(var p=d.calcTicks(s,{msUTC:!0}),w=0;w/g," "));u[o]=p,s.tickmode=c}}for(h.ticks=u,o=0;o<3;++o)for(M[o]=.5*(g.glplot.bounds[0][o]+g.glplot.bounds[1][o]),w=0;w<2;++w)h.bounds[w][o]=g.glplot.bounds[w][o];g.contourLevels=function(v){for(var S=new Array(3),x=0;x<3;++x){for(var T=v[x],C=new Array(T.length),_=0;_B.deltaY?1.1:.9090909090909091,W=P.glplot.getAspectratio();P.glplot.setAspectratio({x:N*W.x,y:N*W.y,z:N*W.z})}F(P)}},!!l&&{passive:!1}),P.glplot.canvas.addEventListener("mousemove",function(){if(P.fullSceneLayout.dragmode!==!1&&P.camera.mouseListener.buttons!==0){var B=D();P.graphDiv.emit("plotly_relayouting",B)}}),P.staticMode||P.glplot.canvas.addEventListener("webglcontextlost",function(B){I&&I.emit&&I.emit("plotly_webglcontextlost",{event:B,layer:P.id})},!1)),P.glplot.oncontextloss=function(){P.recoverContext()},P.glplot.onrender=function(){P.render()},!0},_.render=function(){var P,I=this,R=I.graphDiv,D=I.svgContainer,F=I.container.getBoundingClientRect();R._fullLayout._calcInverseTransform(R);var B=R._fullLayout._invScaleX,N=R._fullLayout._invScaleY,W=F.width*B,j=F.height*N;D.setAttributeNS(null,"viewBox","0 0 "+W+" "+j),D.setAttributeNS(null,"width",W),D.setAttributeNS(null,"height",j),x(I),I.glplot.axes.update(I.axesOptions);for(var Y=Object.keys(I.traces),U=null,G=I.glplot.selection,q=0;q")):P.type==="isosurface"||P.type==="volume"?(Q.valueLabel=s.hoverLabelText(I._mockAxis,I._mockAxis.d2l(G.traceCoordinate[3]),P.valuehoverformat),ue.push("value: "+Q.valueLabel),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):te=G.textLabel;var ce={x:G.traceCoordinate[0],y:G.traceCoordinate[1],z:G.traceCoordinate[2],data:Z._input,fullData:Z,curveNumber:Z.index,pointNumber:X};c.appendArrayPointValue(ce,Z,X),P._module.eventData&&(ce=Z._module.eventData(ce,G,Z,{},X));var ye={points:[ce]};if(I.fullSceneLayout.hovermode){var de=[];c.loneHover({trace:Z,x:(.5+.5*ne[0]/ne[3])*W,y:(.5-.5*ne[1]/ne[3])*j,xLabel:Q.xLabel,yLabel:Q.yLabel,zLabel:Q.zLabel,text:te,name:U.name,color:c.castHoverOption(Z,X,"bgcolor")||U.color,borderColor:c.castHoverOption(Z,X,"bordercolor"),fontFamily:c.castHoverOption(Z,X,"font.family"),fontSize:c.castHoverOption(Z,X,"font.size"),fontColor:c.castHoverOption(Z,X,"font.color"),nameLength:c.castHoverOption(Z,X,"namelength"),textAlign:c.castHoverOption(Z,X,"align"),hovertemplate:u.castOption(Z,X,"hovertemplate"),hovertemplateLabels:u.extendFlat({},ce,Q),eventData:[ce]},{container:D,gd:R,inOut_bbox:de}),ce.bbox=de[0]}G.distance<5&&(G.buttons||T)?R.emit("plotly_click",ye):R.emit("plotly_hover",ye),this.oldEventData=ye}else c.loneUnhover(D),this.oldEventData&&R.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;I.drawAnnotations(I)},_.recoverContext=function(){var P=this;P.glplot.dispose();var I=function(){P.glplot.gl.isContextLost()?requestAnimationFrame(I):P.initializeGLPlot()?P.plot.apply(P,P.plotArgs):u.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(I)};var L=["xaxis","yaxis","zaxis"];function b(P,I,R){for(var D=P.fullSceneLayout,F=0;F<3;F++){var B=L[F],N=B.charAt(0),W=D[B],j=I[N],Y=I[N+"calendar"],U=I["_"+N+"length"];if(u.isArrayOrTypedArray(j))for(var G,q=0;q<(U||j.length);q++)if(u.isArrayOrTypedArray(j[q]))for(var H=0;HZ[1][N])Z[0][N]=-1,Z[1][N]=1;else{var pe=Z[1][N]-Z[0][N];Z[0][N]-=pe/32,Z[1][N]+=pe/32}if(j.autorange==="reversed"){var xe=Z[0][N];Z[0][N]=Z[1][N],Z[1][N]=xe}}else{var Oe=j.range;Z[0][N]=j.r2l(Oe[0]),Z[1][N]=j.r2l(Oe[1])}Z[0][N]===Z[1][N]&&(Z[0][N]-=1,Z[1][N]+=1),X[N]=Z[1][N]-Z[0][N],D.glplot.setBounds(N,{min:Z[0][N]*H[N],max:Z[1][N]*H[N]})}var _e=U.aspectmode;if(_e==="cube")te=[1,1,1];else if(_e==="manual"){var Me=U.aspectratio;te=[Me.x,Me.y,Me.z]}else{if(_e!=="auto"&&_e!=="data")throw new Error("scene.js aspectRatio was not one of the enumerated types");var Se=[1,1,1];for(N=0;N<3;++N){var Ce=Q[Y=(j=U[L[N]]).type];Se[N]=Math.pow(Ce.acc,1/Ce.count)/H[N]}te=_e==="data"||Math.max.apply(null,Se)/Math.min.apply(null,Se)<=4?Se:[1,1,1]}U.aspectratio.x=G.aspectratio.x=te[0],U.aspectratio.y=G.aspectratio.y=te[1],U.aspectratio.z=G.aspectratio.z=te[2],D.glplot.setAspectratio(U.aspectratio),D.viewInitial.aspectratio||(D.viewInitial.aspectratio={x:U.aspectratio.x,y:U.aspectratio.y,z:U.aspectratio.z}),D.viewInitial.aspectmode||(D.viewInitial.aspectmode=U.aspectmode);var ae=U.domain||null,he=I._size||null;if(ae&&he){var be=D.container.style;be.position="absolute",be.left=he.l+ae.x[0]*he.w+"px",be.top=he.t+(1-ae.y[1])*he.h+"px",be.width=he.w*(ae.x[1]-ae.x[0])+"px",be.height=he.h*(ae.y[1]-ae.y[0])+"px"}D.glplot.redraw()}},_.destroy=function(){var P=this;P.glplot&&(P.camera.mouseListener.enabled=!1,P.container.removeEventListener("wheel",P.camera.wheelListener),P.camera=null,P.glplot.dispose(),P.container.parentNode.removeChild(P.container),P.glplot=null)},_.getCamera=function(){var P,I=this;return I.camera.view.recalcMatrix(I.camera.view.lastT()),{up:{x:(P=I.camera).up[0],y:P.up[1],z:P.up[2]},center:{x:P.center[0],y:P.center[1],z:P.center[2]},eye:{x:P.eye[0],y:P.eye[1],z:P.eye[2]},projection:{type:P._ortho===!0?"orthographic":"perspective"}}},_.setViewport=function(P){var I,R=this,D=P.camera;R.camera.lookAt.apply(this,[[(I=D).eye.x,I.eye.y,I.eye.z],[I.center.x,I.center.y,I.center.z],[I.up.x,I.up.y,I.up.z]]),R.glplot.setAspectratio(P.aspectratio),D.projection.type==="orthographic"!==R.camera._ortho&&(R.glplot.redraw(),R.glplot.clearRGBA(),R.glplot.dispose(),R.initializeGLPlot())},_.isCameraChanged=function(P){var I=this.getCamera(),R=u.nestedProperty(P,this.id+".camera").get();function D(W,j,Y,U){var G=["up","center","eye"],q=["x","y","z"];return j[G[Y]]&&W[G[Y]][q[U]]===j[G[Y]][q[U]]}var F=!1;if(R===void 0)F=!0;else{for(var B=0;B<3;B++)for(var N=0;N<3;N++)if(!D(I,R,B,N)){F=!0;break}(!R.projection||I.projection&&I.projection.type!==R.projection.type)&&(F=!0)}return F},_.isAspectChanged=function(P){var I=this.glplot.getAspectratio(),R=u.nestedProperty(P,this.id+".aspectratio").get();return R===void 0||R.x!==I.x||R.y!==I.y||R.z!==I.z},_.saveLayout=function(P){var I,R,D,F,B,N,W=this,j=W.fullLayout,Y=W.isCameraChanged(P),U=W.isAspectChanged(P),G=Y||U;if(G){var q={};Y&&(I=W.getCamera(),D=(R=u.nestedProperty(P,W.id+".camera")).get(),q[W.id+".camera"]=D),U&&(F=W.glplot.getAspectratio(),N=(B=u.nestedProperty(P,W.id+".aspectratio")).get(),q[W.id+".aspectratio"]=N),a.call("_storeDirectGUIEdit",P,j._preGUI,q),Y&&(R.set(I),u.nestedProperty(j,W.id+".camera").set(I)),U&&(B.set(F),u.nestedProperty(j,W.id+".aspectratio").set(F),W.glplot.redraw())}return G},_.updateFx=function(P,I){var R=this,D=R.camera;if(D)if(P==="orbit")D.mode="orbit",D.keyBindingMode="rotate";else if(P==="turntable"){D.up=[0,0,1],D.mode="turntable",D.keyBindingMode="rotate";var F=R.graphDiv,B=F._fullLayout,N=R.fullSceneLayout.camera,W=N.up.x,j=N.up.y,Y=N.up.z;if(Y/Math.sqrt(W*W+j*j+Y*Y)<.999){var U=R.id+".camera.up",G={x:0,y:0,z:1},q={};q[U]=G;var H=F.layout;a.call("_storeDirectGUIEdit",H,B._preGUI,q),N.up=G,u.nestedProperty(H,U).set(G)}}else D.keyBindingMode=P;R.fullSceneLayout.hovermode=I},_.toImage=function(P){var I=this;P||(P="png"),I.staticMode&&I.container.appendChild(d),I.glplot.redraw();var R=I.glplot.gl,D=R.drawingBufferWidth,F=R.drawingBufferHeight;R.bindFramebuffer(R.FRAMEBUFFER,null);var B=new Uint8Array(D*F*4);R.readPixels(0,0,D,F,R.RGBA,R.UNSIGNED_BYTE,B),function(U,G,q){for(var H=0,ne=q-1;H0)for(var X=255/Z,Q=0;Q<3;++Q)U[te+Q]=Math.min(X*U[te+Q],255)}}(B,D,F);var N=document.createElement("canvas");N.width=D,N.height=F;var W,j=N.getContext("2d",{willReadFrequently:!0}),Y=j.createImageData(D,F);switch(Y.data.set(B),j.putImageData(Y,0,0),P){case"jpeg":W=N.toDataURL("image/jpeg");break;case"webp":W=N.toDataURL("image/webp");break;default:W=N.toDataURL("image/png")}return I.staticMode&&I.container.removeChild(d),W},_.setConvert=function(){for(var P=0;P<3;P++){var I=this.fullSceneLayout[L[P]];s.setConvert(I,this.fullLayout),I.setScale=u.noop}},_.make4thDimension=function(){var P=this,I=P.graphDiv._fullLayout;P._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},s.setConvert(P._mockAxis,I)},k.exports=C},90060:function(k){k.exports=function(m,t,d,y){y=y||m.length;for(var i=new Array(y),M=0;MOpenStreetMap contributors',i=['ยฉ Carto',y].join(" "),M=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),g={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:y,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},h=d(g);k.exports={requiredVersion:"1.10.1",styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:g,styleValuesNonMapbox:h,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@1.10.1."].join(` `),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join(` `),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",h.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join(` `),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join(` -`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}},13056:function(k,m,t){var d=t(71828);k.exports=function(y,i){var M=y.split(" "),g=M[0],h=M[1],l=d.isArrayOrTypedArray(i)?d.mean(i):i,a=.5+l/100,u=1.5+l/100,o=["",""],s=[0,0];switch(g){case"top":o[0]="top",s[1]=-u;break;case"bottom":o[0]="bottom",s[1]=u}switch(h){case"left":o[1]="right",s[0]=-a;break;case"right":o[1]="left",s[0]=a}return{anchor:o[0]&&o[1]?o.join("-"):o[0]?o[0]:o[1]?o[1]:"center",offset:s}}},50101:function(k,m,t){var d=t(44517),y=t(71828),i=y.strTranslate,M=y.strScale,g=t(27659).AU,h=t(77922),l=t(39898),a=t(91424),u=t(63893),o=t(10481),s="mapbox",f=m.constants=t(77734);function c(p){return typeof p=="string"&&(f.styleValuesMapbox.indexOf(p)!==-1||p.indexOf("mapbox://")===0)}m.name=s,m.attr="subplot",m.idRoot=s,m.idRegex=m.attrRegex=y.counterRegex(s),m.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},m.layoutAttributes=t(23585),m.supplyLayoutDefaults=t(77882),m.plot=function(p){var w=p._fullLayout,v=p.calcdata,S=w._subplots.mapbox;if(d.version!==f.requiredVersion)throw new Error(f.wrongVersionErrorMsg);var x=function(b,O){var I=b._fullLayout;if(b._context.mapboxAccessToken==="")return"";for(var R=[],D=[],F=!1,B=!1,N=0;N1&&y.warn(f.multipleTokensErrorMsg),R[0]):(D.length&&y.log(["Listed mapbox access token(s)",D.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(p,S);d.accessToken=x;for(var T=0;TD/2){var F=b.split("|").join("
");I.text(F).attr("data-unformatted",F).call(u.convertToTspans,p),R=a.bBox(I.node())}I.attr("transform",i(-3,8-R.height)),O.insert("rect",".static-attribution").attr({x:-R.width-6,y:-R.height-3,width:R.width+6,height:R.height+3,fill:"rgba(255, 255, 255, 0.75)"});var B=1;R.width+6>D&&(B=D/(R.width+6));var N=[S.l+S.w*C.x[1],S.t+S.h*(1-C.y[0])];O.attr("transform",i(N[0],N[1])+M(B))}},m.updateFx=function(p){for(var w=p._fullLayout,v=w._subplots.mapbox,S=0;S0){for(var s=0;s0}function a(u){var o={},s={};switch(u.type){case"circle":d.extendFlat(s,{"circle-radius":u.circle.radius,"circle-color":u.color,"circle-opacity":u.opacity});break;case"line":d.extendFlat(s,{"line-width":u.line.width,"line-color":u.color,"line-opacity":u.opacity,"line-dasharray":u.line.dash});break;case"fill":d.extendFlat(s,{"fill-color":u.color,"fill-outline-color":u.fill.outlinecolor,"fill-opacity":u.opacity});break;case"symbol":var f=u.symbol,c=i(f.textposition,f.iconsize);d.extendFlat(o,{"icon-image":f.icon+"-15","icon-size":f.iconsize/10,"text-field":f.text,"text-size":f.textfont.size,"text-anchor":c.anchor,"text-offset":c.offset,"symbol-placement":f.placement}),d.extendFlat(s,{"icon-color":u.color,"text-color":f.textfont.color,"text-opacity":u.opacity});break;case"raster":d.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":u.opacity})}return{layout:o,paint:s}}h.update=function(u){this.visible?this.needsNewImage(u)?this.updateImage(u):this.needsNewSource(u)?(this.removeLayer(),this.updateSource(u),this.updateLayer(u)):this.needsNewLayer(u)?this.updateLayer(u):this.updateStyle(u):(this.updateSource(u),this.updateLayer(u)),this.visible=l(u)},h.needsNewImage=function(u){return this.subplot.map.getSource(this.idSource)&&this.sourceType==="image"&&u.sourcetype==="image"&&(this.source!==u.source||JSON.stringify(this.coordinates)!==JSON.stringify(u.coordinates))},h.needsNewSource=function(u){return this.sourceType!==u.sourcetype||JSON.stringify(this.source)!==JSON.stringify(u.source)||this.layerType!==u.type},h.needsNewLayer=function(u){return this.layerType!==u.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},h.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},h.updateImage=function(u){this.subplot.map.getSource(this.idSource).updateImage({url:u.source,coordinates:u.coordinates});var o=this.findFollowingMapboxLayerId(this.lookupBelow());o!==null&&this.subplot.map.moveLayer(this.idLayer,o)},h.updateSource=function(u){var o=this.subplot.map;if(o.getSource(this.idSource)&&o.removeSource(this.idSource),this.sourceType=u.sourcetype,this.source=u.source,l(u)){var s=function(f){var c,p=f.sourcetype,w=f.source,v={type:p};return p==="geojson"?c="data":p==="vector"?c=typeof w=="string"?"url":"tiles":p==="raster"?(c="tiles",v.tileSize=256):p==="image"&&(c="url",v.coordinates=f.coordinates),v[c]=w,f.sourceattribution&&(v.attribution=y(f.sourceattribution)),v}(u);o.addSource(this.idSource,s)}},h.findFollowingMapboxLayerId=function(u){if(u==="traces")for(var o=this.subplot.getMapLayers(),s=0;s1)for(O=0;O-1&&p(N.originalEvent,I,[O.xaxis],[O.yaxis],O.id,B),q.indexOf("event")>-1&&l.click(I,N.originalEvent)}}},x.updateFx=function(L){var b=this,O=b.map,I=b.gd;if(!b.isStatic){var R,D=L.dragmode;R=function(N,q){q.isRect?(N.range={})[b.id]=[B([q.xmin,q.ymin]),B([q.xmax,q.ymax])]:(N.lassoPoints={})[b.id]=q.map(B)};var F=b.dragOptions;b.dragOptions=y.extendDeep(F||{},{dragmode:L.dragmode,element:b.div,gd:I,plotinfo:{id:b.id,domain:L[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:R},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),O.off("click",b.onClickInPanHandler),o(D)||u(D)?(O.dragPan.disable(),O.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(N,q,j){s(N,q,j,b.dragOptions,D)},h.init(b.dragOptions)):(O.dragPan.enable(),O.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),O.on("click",b.onClickInPanHandler))}function B(N){var q=b.map.unproject(N);return[q.lng,q.lat]}},x.updateFramework=function(L){var b=L[this.id].domain,O=L._size,I=this.div.style;I.width=O.w*(b.x[1]-b.x[0])+"px",I.height=O.h*(b.y[1]-b.y[0])+"px",I.left=O.l+b.x[0]*O.w+"px",I.top=O.t+(1-b.y[1])*O.h+"px",this.xaxis._offset=O.l+b.x[0]*O.w,this.xaxis._length=O.w*(b.x[1]-b.x[0]),this.yaxis._offset=O.t+(1-b.y[1])*O.h,this.yaxis._length=O.h*(b.y[1]-b.y[0])},x.updateLayers=function(L){var b,O=L[this.id].layers,I=this.layerList;if(O.length!==I.length){for(b=0;b=G.width-20?(ne["text-anchor"]="start",ne.x=5):(ne["text-anchor"]="end",ne.x=G._paper.attr("width")-7),W.attr(ne);var te=W.select(".js-link-to-tool"),Z=W.select(".js-link-spacer"),X=W.select(".js-sourcelinks");U._context.showSources&&U._context.showSources(U),U._context.showLink&&function(Q,re){re.text("");var ie=re.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(Q._context.linkText+" "+String.fromCharCode(187));if(Q._context.sendData)ie.on("click",function(){T.sendDataToCloud(Q)});else{var oe=window.location.pathname.split("/"),ue=window.location.search;ie.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+oe[2].split(".")[0]+"/"+oe[1]+ue})}}(U,te),Z.text(te.text()&&X.text()?" - ":"")}},T.sendDataToCloud=function(U){var G=(window.PLOTLYENV||{}).BASE_URL||U._context.plotlyServerURL;if(G){U.emit("plotly_beforeexport");var W=d.select(U).append("div").attr("id","hiddenform").style("display","none"),H=W.append("form").attr({action:G+"/external",method:"post",target:"_blank"});return H.append("input").attr({type:"text",name:"data"}).node().value=T.graphJson(U,!1,"keepdata"),H.node().submit(),W.remove(),U.emit("plotly_afterexport"),!1}};var A=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],L=["year","month","dayMonth","dayMonthYear"];function b(U,G){var W=U._context.locale;W||(W="en-US");var H=!1,ne={};function te(oe){for(var ue=!0,ce=0;ce1&&Se.length>1){for(g.getComponentMethod("grid","sizeDefaults")(Z,te),ne=0;ne15&&Se.length>15&&te.shapes.length===0&&te.images.length===0,T.linkSubplots(Q,te,X,H),T.cleanPlot(Q,te,X,H);var ke=!(!H._has||!H._has("gl2d")),Le=!(!te._has||!te._has("gl2d")),Be=!(!H._has||!H._has("cartesian"))||ke,ze=!(!te._has||!te._has("cartesian"))||Le;Be&&!ze?H._bgLayer.remove():ze&&!Be&&(te._shouldCreateBgLayer=!0),H._zoomlayer&&!U._dragging&&f({_fullLayout:H}),function(Ee,Ve){var $e,Ye=[];Ve.meta&&($e=Ve._meta={meta:Ve.meta,layout:{meta:Ve.meta}});for(var st=0;st0){var re=1-2*Z;H=Math.round(re*H),ne=Math.round(re*ne)}}var ie=T.layoutAttributes.width.min,oe=T.layoutAttributes.height.min;H1,ce=!G.height&&Math.abs(W.height-ne)>1;(ce||ue)&&(ue&&(W.width=H),ce&&(W.height=ne)),U._initialAutoSize||(U._initialAutoSize={width:H,height:ne}),T.sanitizeMargins(W)},T.supplyLayoutModuleDefaults=function(U,G,W,H){var ne,te,Z,X=g.componentsRegistry,Q=G._basePlotModules,re=g.subplotsRegistry.cartesian;for(ne in X)(Z=X[ne]).includeBasePlot&&Z.includeBasePlot(U,G);for(var ie in Q.length||Q.push(re),G._has("cartesian")&&(g.getComponentMethod("grid","contentDefaults")(U,G),re.finalizeSubplots(U,G)),G._subplots)G._subplots[ie].sort(a.subplotSort);for(te=0;te1&&(W.l/=me,W.r/=me)}if(ue){var pe=(W.t+W.b)/ue;pe>1&&(W.t/=pe,W.b/=pe)}var xe=W.xl!==void 0?W.xl:W.x,Pe=W.xr!==void 0?W.xr:W.x,_e=W.yt!==void 0?W.yt:W.y,Me=W.yb!==void 0?W.yb:W.y;ce[G]={l:{val:xe,size:W.l+de},r:{val:Pe,size:W.r+de},b:{val:Me,size:W.b+de},t:{val:_e,size:W.t+de}},ye[G]=1}else delete ce[G],delete ye[G];if(!H._replotting)return T.doAutoMargin(U)}},T.doAutoMargin=function(U){var G=U._fullLayout,W=G.width,H=G.height;G._size||(G._size={}),F(G);var ne=G._size,te=G.margin,Z={t:0,b:0,l:0,r:0},X=a.extendFlat({},ne),Q=U._fullLayout._reservedMargin;for(var re in Q)for(var ie in Q[re]){var oe=Q[re][ie];Z[ie]=Math.max(Z[ie],oe)}var ue=te.l,ce=te.r,ye=te.t,de=te.b,me=G._pushmargin,pe=G._pushmarginIds,xe=G.minreducedwidth,Pe=G.minreducedheight;if(G.margin.autoexpand!==!1){for(var _e in me)pe[_e]||delete me[_e];for(var Me in me.base={l:{val:0,size:ue},r:{val:1,size:ce},t:{val:1,size:ye},b:{val:0,size:de}},me){var Se=me[Me].l||{},Ce=me[Me].b||{},ae=Se.val,he=Se.size,be=Ce.val,ke=Ce.size,Le=W-Z.r-Z.l,Be=H-Z.t-Z.b;for(var ze in me){if(M(he)&&me[ze].r){var je=me[ze].r.val,ge=me[ze].r.size;if(je>ae){var we=(he*je+(ge-Le)*ae)/(je-ae),Ee=(ge*(1-ae)+(he-Le)*(1-je))/(je-ae);we+Ee>ue+ce&&(ue=we,ce=Ee)}}if(M(ke)&&me[ze].t){var Ve=me[ze].t.val,$e=me[ze].t.size;if(Ve>be){var Ye=(ke*Ve+($e-Be)*be)/(Ve-be),st=($e*(1-be)+(ke-Be)*(1-Ve))/(Ve-be);Ye+st>de+ye&&(de=Ye,ye=st)}}}}}var ot=a.constrain(W-te.l-te.r,2,xe),ft=a.constrain(H-te.t-te.b,2,Pe),bt=Math.max(0,W-ot),Et=Math.max(0,H-ft);if(bt){var kt=(ue+ce)/bt;kt>1&&(ue/=kt,ce/=kt)}if(Et){var xt=(de+ye)/Et;xt>1&&(de/=xt,ye/=xt)}if(ne.l=Math.round(ue)+Z.l,ne.r=Math.round(ce)+Z.r,ne.t=Math.round(ye)+Z.t,ne.b=Math.round(de)+Z.b,ne.p=Math.round(te.pad),ne.w=Math.round(W)-ne.l-ne.r,ne.h=Math.round(H)-ne.t-ne.b,!G._replotting&&(T.didMarginChange(X,ne)||function(Rt){if("_redrawFromAutoMarginCount"in Rt._fullLayout)return!1;var Bt=s.list(Rt,"",!0);for(var Wt in Bt)if(Bt[Wt].autoshift||Bt[Wt].shift)return!0;return!1}(U))){"_redrawFromAutoMarginCount"in G?G._redrawFromAutoMarginCount++:G._redrawFromAutoMarginCount=1;var Ft=3*(1+Object.keys(pe).length);if(G._redrawFromAutoMarginCount0&&(U._transitioningWithDuration=!0),U._transitionData._interruptCallbacks.push(function(){H=!0}),W.redraw&&U._transitionData._interruptCallbacks.push(function(){return g.call("redraw",U)}),U._transitionData._interruptCallbacks.push(function(){U.emit("plotly_transitioninterrupted",[])});var X=0,Q=0;function re(){return X++,function(){var ie;Q++,H||Q!==X||(ie=Z,U._transitionData&&(function(oe){if(oe)for(;oe.length;)oe.shift()}(U._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(W.redraw)return g.call("redraw",U)}).then(function(){U._transitioning=!1,U._transitioningWithDuration=!1,U.emit("plotly_transitioned",[])}).then(ie)))}}W.runFn(re),setTimeout(re())})}],te=a.syncOrAsync(ne,U);return te&&te.then||(te=Promise.resolve()),te.then(function(){return U})}T.didMarginChange=function(U,G){for(var W=0;W1)return!0}return!1},T.graphJson=function(U,G,W,H,ne,te){(ne&&G&&!U._fullData||ne&&!G&&!U._fullLayout)&&T.supplyDefaults(U);var Z=ne?U._fullData:U.data,X=ne?U._fullLayout:U.layout,Q=(U._transitionData||{})._frames;function re(ue,ce){if(typeof ue=="function")return ce?"_function_":null;if(a.isPlainObject(ue)){var ye,de={};return Object.keys(ue).sort().forEach(function(me){if(["_","["].indexOf(me.charAt(0))===-1)if(typeof ue[me]!="function"){if(W==="keepdata"){if(me.substr(me.length-3)==="src")return}else if(W==="keepstream"){if(typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0&&!a.isPlainObject(ue.stream))return}else if(W!=="keepall"&&typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0)return;de[me]=re(ue[me],ce)}else ce&&(de[me]="_function")}),de}return Array.isArray(ue)?ue.map(function(me){return re(me,ce)}):a.isTypedArray(ue)?a.simpleMap(ue,a.identity):a.isJSDate(ue)?a.ms2DateTimeLocal(+ue):ue}var ie={data:(Z||[]).map(function(ue){var ce=re(ue);return G&&delete ce.fit,ce})};if(!G&&(ie.layout=re(X),ne)){var oe=X._size;ie.layout.computed={margin:{b:oe.b,l:oe.l,r:oe.r,t:oe.t}}}return Q&&(ie.frames=re(Q)),te&&(ie.config=re(U._context,!0)),H==="object"?ie:JSON.stringify(ie)},T.modifyFrames=function(U,G){var W,H,ne,te=U._transitionData._frames,Z=U._transitionData._frameHash;for(W=0;W=0;te--)if(Me[te].enabled){W._indexToPoints=Me[te]._indexToPoints;break}H&&H.calc&&(_e=H.calc(U,W))}Array.isArray(_e)&&_e[0]||(_e=[{x:o,y:o}]),_e[0].t||(_e[0].t={}),_e[0].trace=W,re[xe]=_e}}for(j(Z,X,Q),ne=0;ne1e-10?s:0}function o(s,f,c){f=f||0,c=c||0;for(var p=s.length,w=new Array(p),v=0;v0?v:1/0}),p=d.mod(c+1,f.length);return[f[c],f[p]]},findIntersectionXY:l,findXYatLength:function(s,f,c,p){var w=-f*c,v=f*f+1,S=2*(f*w-c),x=w*w+c*c-s*s,T=Math.sqrt(S*S-4*v*x),C=(-S+T)/(2*v),_=(-S-T)/(2*v);return[[C,f*C+w+p],[_,f*_+w+p]]},clampTiny:u,pathPolygon:function(s,f,c,p,w,v){return"M"+o(a(s,f,c,p),w,v).join("L")},pathPolygonAnnulus:function(s,f,c,p,w,v,S){var x,T;s=90||kt>90&&xt>=450?1:Rt<=0&&Wt<=0?0:Math.max(Rt,Wt),[kt<=180&&xt>=180||kt>180&&xt>=540?-1:Ft>=0&&Bt>=0?0:Math.min(Ft,Bt),kt<=270&&xt>=270||kt>270&&xt>=630?-1:Rt>=0&&Wt>=0?0:Math.min(Rt,Wt),xt>=360?1:Ft<=0&&Bt<=0?0:Math.max(Ft,Bt),ft]}(pe),ae=Ce[2]-Ce[0],he=Ce[3]-Ce[1],be=me/de,ke=Math.abs(he/ae);be>ke?(xe=de,Se=(me-(Pe=de*ke))/ie.h/2,_e=[ce[0],ce[1]],Me=[ye[0]+Se,ye[1]-Se]):(Pe=me,Se=(de-(xe=me/ke))/ie.w/2,_e=[ce[0]+Se,ce[1]-Se],Me=[ye[0],ye[1]]),Q.xLength2=xe,Q.yLength2=Pe,Q.xDomain2=_e,Q.yDomain2=Me;var Le,Be=Q.xOffset2=ie.l+ie.w*_e[0],ze=Q.yOffset2=ie.t+ie.h*(1-Me[1]),je=Q.radius=xe/ae,ge=Q.innerRadius=Q.getHole(X)*je,we=Q.cx=Be-je*Ce[0],Ee=Q.cy=ze+je*Ce[3],Ve=Q.cxx=we-Be,$e=Q.cyy=Ee-ze,Ye=oe.side;Ye==="counterclockwise"?(Le=Ye,Ye="top"):Ye==="clockwise"&&(Le=Ye,Ye="bottom"),Q.radialAxis=Q.mockAxis(Z,X,oe,{_id:"x",side:Ye,_trueSide:Le,domain:[ge/ie.w,je/ie.w]}),Q.angularAxis=Q.mockAxis(Z,X,ue,{side:"right",domain:[0,Math.PI],autorange:!1}),Q.doAutoRange(Z,X),Q.updateAngularAxis(Z,X),Q.updateRadialAxis(Z,X),Q.updateRadialAxisTitle(Z,X),Q.xaxis=Q.mockCartesianAxis(Z,X,{_id:"x",domain:_e}),Q.yaxis=Q.mockCartesianAxis(Z,X,{_id:"y",domain:Me});var st=Q.pathSubplot();Q.clipPaths.forTraces.select("path").attr("d",st).attr("transform",h(Ve,$e)),re.frontplot.attr("transform",h(Be,ze)).call(a.setClipUrl,Q._hasClipOnAxisFalse?null:Q.clipIds.forTraces,Q.gd),re.bg.attr("d",st).attr("transform",h(we,Ee)).call(l.fill,X.bgcolor)},W.mockAxis=function(Z,X,Q,re){var ie=M.extendFlat({},Q,re);return f(ie,X,Z),ie},W.mockCartesianAxis=function(Z,X,Q){var re=this,ie=re.isSmith,oe=Q._id,ue=M.extendFlat({type:"linear"},Q);s(ue,Z);var ce={x:[0,2],y:[1,3]};return ue.setRange=function(){var ye=re.sectorBBox,de=ce[oe],me=re.radialAxis._rl,pe=(me[1]-me[0])/(1-re.getHole(X));ue.range=[ye[de[0]]*pe,ye[de[1]]*pe]},ue.isPtWithinRange=oe!=="x"||ie?function(){return!0}:function(ye){return re.isPtInside(ye)},ue.setRange(),ue.setScale(),ue},W.doAutoRange=function(Z,X){var Q=this,re=Q.gd,ie=Q.radialAxis,oe=Q.getRadial(X);c(re,ie);var ue=ie.range;oe.range=ue.slice(),oe._input.range=ue.slice(),ie._rl=[ie.r2l(ue[0],null,"gregorian"),ie.r2l(ue[1],null,"gregorian")]},W.updateRadialAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getRadial(X),me=j(Q.getSector(X)[0],360),pe=Q.radialAxis,xe=ue90&&me<=270&&(pe.tickangle=180);var _e=Pe?function(ze){var je=N(Q,D([ze.x,0]));return h(je[0]-ce,je[1]-ye)}:function(ze){return h(pe.l2p(ze.x)+ue,0)},Me=Pe?function(ze){return B(Q,ze.x,-1/0,1/0)}:function(ze){return Q.pathArc(pe.r2p(ze.x)+ue)},Se=H(de);if(Q.radialTickLayout!==Se&&(ie["radial-axis"].selectAll(".xtick").remove(),Q.radialTickLayout=Se),xe){pe.setScale();var Ce=0,ae=Pe?(pe.tickvals||[]).filter(function(ze){return ze>=0}).map(function(ze){return o.tickText(pe,ze,!0,!1)}):o.calcTicks(pe),he=Pe?ae:o.clipEnds(pe,ae),be=o.getTickSigns(pe)[2];Pe&&((pe.ticks==="top"&&pe.side==="bottom"||pe.ticks==="bottom"&&pe.side==="top")&&(be=-be),pe.ticks==="top"&&pe.side==="top"&&(Ce=-pe.ticklen),pe.ticks==="bottom"&&pe.side==="bottom"&&(Ce=pe.ticklen)),o.drawTicks(re,pe,{vals:ae,layer:ie["radial-axis"],path:o.makeTickPath(pe,0,be),transFn:_e,crisp:!1}),o.drawGrid(re,pe,{vals:he,layer:ie["radial-grid"],path:Me,transFn:M.noop,crisp:!1}),o.drawLabels(re,pe,{vals:ae,layer:ie["radial-axis"],transFn:_e,labelFns:o.makeLabelFns(pe,Ce)})}var ke=Q.radialAxisAngle=Q.vangles?U(ne($(de.angle),Q.vangles)):de.angle,Le=h(ce,ye),Be=Le+g(-ke);te(ie["radial-axis"],xe&&(de.showticklabels||de.ticks),{transform:Be}),te(ie["radial-grid"],xe&&de.showgrid,{transform:Pe?"":Le}),te(ie["radial-line"].select("line"),xe&&de.showline,{x1:Pe?-oe:ue,y1:0,x2:oe,y2:0,transform:Be}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},W.updateRadialAxisTitle=function(Z,X,Q){if(!this.isSmith){var re=this,ie=re.gd,oe=re.radius,ue=re.cx,ce=re.cy,ye=re.getRadial(X),de=re.id+"title",me=0;if(ye.title){var pe=a.bBox(re.layers["radial-axis"].node()).height,xe=ye.title.font.size,Pe=ye.side;me=Pe==="top"?xe:Pe==="counterclockwise"?-(pe+.4*xe):pe+.8*xe}var _e=Q!==void 0?Q:re.radialAxisAngle,Me=$(_e),Se=Math.cos(Me),Ce=Math.sin(Me),ae=ue+oe/2*Se+me*Ce,he=ce-oe/2*Ce+me*Se;re.layers["radial-axis-title"]=S.draw(ie,de,{propContainer:ye,propName:re.id+".radialaxis.title",placeholder:q(ie,"Click to enter radial axis title"),attributes:{x:ae,y:he,"text-anchor":"middle"},transform:{rotate:-_e}})}},W.updateAngularAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getAngular(X),me=Q.angularAxis,pe=Q.isSmith;pe||(Q.fillViewInitialKey("angularaxis.rotation",de.rotation),me.setGeometry(),me.setScale());var xe=pe?function(ze){var je=N(Q,D([0,ze.x]));return Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2}:function(ze){return me.t2g(ze.x)};me.type==="linear"&&me.thetaunit==="radians"&&(me.tick0=U(me.tick0),me.dtick=U(me.dtick));var Pe=function(ze){return h(ce+oe*Math.cos(ze),ye-oe*Math.sin(ze))},_e=pe?function(ze){var je=N(Q,D([0,ze.x]));return h(je[0],je[1])}:function(ze){return Pe(xe(ze))},Me=pe?function(ze){var je=N(Q,D([0,ze.x])),ge=Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2;return h(je[0],je[1])+g(-U(ge))}:function(ze){var je=xe(ze);return Pe(je)+g(-U(je))},Se=pe?function(ze){return F(Q,ze.x,0,1/0)}:function(ze){var je=xe(ze),ge=Math.cos(je),we=Math.sin(je);return"M"+[ce+ue*ge,ye-ue*we]+"L"+[ce+oe*ge,ye-oe*we]},Ce=o.makeLabelFns(me,0).labelStandoff,ae={xFn:function(ze){var je=xe(ze);return Math.cos(je)*Ce},yFn:function(ze){var je=xe(ze),ge=Math.sin(je)>0?.2:1;return-Math.sin(je)*(Ce+ze.fontSize*ge)+Math.abs(Math.cos(je))*(ze.fontSize*b)},anchorFn:function(ze){var je=xe(ze),ge=Math.cos(je);return Math.abs(ge)<.1?"middle":ge>0?"start":"end"},heightFn:function(ze,je,ge){var we=xe(ze);return-.5*(1+Math.sin(we))*ge}},he=H(de);Q.angularTickLayout!==he&&(ie["angular-axis"].selectAll("."+me._id+"tick").remove(),Q.angularTickLayout=he);var be,ke=pe?[1/0].concat(me.tickvals||[]).map(function(ze){return o.tickText(me,ze,!0,!1)}):o.calcTicks(me);if(pe&&(ke[0].text="โˆž",ke[0].fontSize*=1.75),X.gridshape==="linear"?(be=ke.map(xe),M.angleDelta(be[0],be[1])<0&&(be=be.slice().reverse())):be=null,Q.vangles=be,me.type==="category"&&(ke=ke.filter(function(ze){return M.isAngleInsideSector(xe(ze),Q.sectorInRad)})),me.visible){var Le=me.ticks==="inside"?-1:1,Be=(me.linewidth||1)/2;o.drawTicks(re,me,{vals:ke,layer:ie["angular-axis"],path:"M"+Le*Be+",0h"+Le*me.ticklen,transFn:Me,crisp:!1}),o.drawGrid(re,me,{vals:ke,layer:ie["angular-grid"],path:Se,transFn:M.noop,crisp:!1}),o.drawLabels(re,me,{vals:ke,layer:ie["angular-axis"],repositionOnUpdate:!0,transFn:_e,labelFns:ae})}te(ie["angular-line"].select("path"),de.showline,{d:Q.pathSubplot(),transform:h(ce,ye)}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},W.updateFx=function(Z,X){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(Z),this.updateRadialDrag(Z,X,0),this.updateRadialDrag(Z,X,1)),this.updateHoverAndMainDrag(Z))},W.updateHoverAndMainDrag=function(Z){var X,Q,re=this,ie=re.isSmith,oe=re.gd,ue=re.layers,ce=Z._zoomlayer,ye=O.MINZOOM,de=O.OFFEDGE,me=re.radius,pe=re.innerRadius,xe=re.cx,Pe=re.cy,_e=re.cxx,Me=re.cyy,Se=re.sectorInRad,Ce=re.vangles,ae=re.radialAxis,he=I.clampTiny,be=I.findXYatLength,ke=I.findEnclosingVertexAngles,Le=O.cornerHalfWidth,Be=O.cornerLen/2,ze=p.makeDragger(ue,"path","maindrag",Z.dragmode===!1?"none":"crosshair");d.select(ze).attr("d",re.pathSubplot()).attr("transform",h(xe,Pe)),ze.onmousemove=function(Oe){v.hover(oe,Oe,re.id),oe._fullLayout._lasthover=ze,oe._fullLayout._hoversubplot=re.id},ze.onmouseout=function(Oe){oe._dragging||w.unhover(oe,Oe)};var je,ge,we,Ee,Ve,$e,Ye,st,ot,ft={element:ze,gd:oe,subplot:re.id,plotinfo:{id:re.id,xaxis:re.xaxis,yaxis:re.yaxis},xaxes:[re.xaxis],yaxes:[re.yaxis]};function bt(Oe,Ne){return Math.sqrt(Oe*Oe+Ne*Ne)}function Et(Oe,Ne){return bt(Oe-_e,Ne-Me)}function kt(Oe,Ne){return Math.atan2(Me-Ne,Oe-_e)}function xt(Oe,Ne){return[Oe*Math.cos(Ne),Oe*Math.sin(-Ne)]}function Ft(Oe,Ne){if(Oe===0)return re.pathSector(2*Le);var Qe=Be/Oe,ut=Ne-Qe,dt=Ne+Qe,_t=Math.max(0,Math.min(Oe,me)),It=_t-Le,Lt=_t+Le;return"M"+xt(It,ut)+"A"+[It,It]+" 0,0,0 "+xt(It,dt)+"L"+xt(Lt,dt)+"A"+[Lt,Lt]+" 0,0,1 "+xt(Lt,ut)+"Z"}function Rt(Oe,Ne,Qe){if(Oe===0)return re.pathSector(2*Le);var ut,dt,_t=xt(Oe,Ne),It=xt(Oe,Qe),Lt=he((_t[0]+It[0])/2),yt=he((_t[1]+It[1])/2);if(Lt&&yt){var Pt=yt/Lt,wt=-1/Pt,Ot=be(Le,Pt,Lt,yt);ut=be(Be,wt,Ot[0][0],Ot[0][1]),dt=be(Be,wt,Ot[1][0],Ot[1][1])}else{var Nt,Yt;yt?(Nt=Be,Yt=Le):(Nt=Le,Yt=Be),ut=[[Lt-Nt,yt-Yt],[Lt+Nt,yt-Yt]],dt=[[Lt-Nt,yt+Yt],[Lt+Nt,yt+Yt]]}return"M"+ut.join("L")+"L"+dt.reverse().join("L")+"Z"}function Bt(Oe,Ne){return Ne=Math.max(Math.min(Ne,me),pe),Oeye?(Oe-1&&Oe===1&&T(Ne,oe,[re.xaxis],[re.yaxis],re.id,ft),Qe.indexOf("event")>-1&&v.click(oe,Ne,re.id)}ft.prepFn=function(Oe,Ne,Qe){var ut=oe._fullLayout.dragmode,dt=ze.getBoundingClientRect();oe._fullLayout._calcInverseTransform(oe);var _t=oe._fullLayout._invTransform;X=oe._fullLayout._invScaleX,Q=oe._fullLayout._invScaleY;var It=M.apply3DTransform(_t)(Ne-dt.left,Qe-dt.top);if(je=It[0],ge=It[1],Ce){var Lt=I.findPolygonOffset(me,Se[0],Se[1],Ce);je+=_e+Lt[0],ge+=Me+Lt[1]}switch(ut){case"zoom":ft.clickFn=ht,ie||(ft.moveFn=Ce?Je:Vt,ft.doneFn=We,function(){we=null,Ee=null,Ve=re.pathSubplot(),$e=!1;var yt=oe._fullLayout[re.id];Ye=y(yt.bgcolor).getLuminance(),(st=p.makeZoombox(ce,Ye,xe,Pe,Ve)).attr("fill-rule","evenodd"),ot=p.makeCorners(ce,xe,Pe),C(oe)}());break;case"select":case"lasso":x(Oe,Ne,Qe,ft,ut)}},w.init(ft)},W.updateRadialDrag=function(Z,X,Q){var re=this,ie=re.gd,oe=re.layers,ue=re.radius,ce=re.innerRadius,ye=re.cx,de=re.cy,me=re.radialAxis,pe=O.radialDragBoxSize,xe=pe/2;if(me.visible){var Pe,_e,Me,Se=$(re.radialAxisAngle),Ce=me._rl,ae=Ce[0],he=Ce[1],be=Ce[Q],ke=.75*(Ce[1]-Ce[0])/(1-re.getHole(X))/ue;Q?(Pe=ye+(ue+xe)*Math.cos(Se),_e=de-(ue+xe)*Math.sin(Se),Me="radialdrag"):(Pe=ye+(ce-xe)*Math.cos(Se),_e=de-(ce-xe)*Math.sin(Se),Me="radialdrag-inner");var Le,Be,ze,je=p.makeRectDragger(oe,Me,"crosshair",-xe,-xe,pe,pe),ge={element:je,gd:ie};Z.dragmode===!1&&(ge.dragmode=!1),te(d.select(je),me.visible&&ce0==(Q?ze>ae:zef?function(S){return S<=0}:function(S){return S>=0};a.c2g=function(S){var x=a.c2l(S)-s;return(v(x)?x:0)+w},a.g2c=function(S){return a.l2c(S+s-w)},a.g2p=function(S){return S*p},a.c2p=function(S){return a.g2p(a.c2g(S))}}})(g,h);break;case"angularaxis":(function(a,u){var o=a.type;if(o==="linear"){var s=a.d2c,f=a.c2d;a.d2c=function(c,p){return function(w,v){return v==="degrees"?i(w):w}(s(c),p)},a.c2d=function(c,p){return f(function(w,v){return v==="degrees"?M(w):w}(c,p))}}a.makeCalcdata=function(c,p){var w,v,S=c[p],x=c._length,T=function(b){return a.d2c(b,c.thetaunit)};if(S){if(d.isTypedArray(S)&&o==="linear"){if(x===S.length)return S;if(S.subarray)return S.subarray(0,x)}for(w=new Array(x),v=0;v0?1:0}function t(i){var M=i[0],g=i[1];if(!isFinite(M)||!isFinite(g))return[1,0];var h=(M+1)*(M+1)+g*g;return[(M*M+g*g-1)/h,2*g/h]}function d(i,M){var g=M[0],h=M[1];return[g*i.radius+i.cx,-h*i.radius+i.cy]}function y(i,M){return M*i.radius}k.exports={smith:t,reactanceArc:function(i,M,g,h){var l=d(i,t([g,M])),a=l[0],u=l[1],o=d(i,t([h,M])),s=o[0],f=o[1];if(M===0)return["M"+a+","+u,"L"+s+","+f].join(" ");var c=y(i,1/Math.abs(M));return["M"+a+","+u,"A"+c+","+c+" 0 0,"+(M<0?1:0)+" "+s+","+f].join(" ")},resistanceArc:function(i,M,g,h){var l=y(i,1/(M+1)),a=d(i,t([M,g])),u=a[0],o=a[1],s=d(i,t([M,h])),f=s[0],c=s[1];if(m(g)!==m(h)){var p=d(i,t([M,0]));return["M"+u+","+o,"A"+l+","+l+" 0 0,"+(00){for(var h=[],l=0;l=A&&(b.min=0,O.min=0,I.min=0,p.aaxis&&delete p.aaxis.min,p.baxis&&delete p.baxis.min,p.caxis&&delete p.caxis.min)}function c(p,w,v,S){var x=o[w._name];function T(O,I){return i.coerce(p,w,x,O,I)}T("uirevision",S.uirevision),w.type="linear";var C=T("color"),_=C!==x.color.dflt?C:v.font.color,A=w._name.charAt(0).toUpperCase(),L="Component "+A,b=T("title.text",L);w._hovertitle=b===L?b:A,i.coerceFont(T,"title.font",{family:v.font.family,size:i.bigFont(v.font.size),color:_}),T("min"),a(p,w,T,"linear"),h(p,w,T,"linear"),g(p,w,T,"linear"),l(p,w,T,{outerTicks:!0}),T("showticklabels")&&(i.coerceFont(T,"tickfont",{family:v.font.family,size:v.font.size,color:_}),T("tickangle"),T("tickformat")),u(p,w,T,{dfltColor:C,bgColor:v.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:x}),T("hoverformat"),T("layer")}k.exports=function(p,w,v){M(p,w,v,{type:"ternary",attributes:o,handleDefaults:f,font:w.font,paper_bgcolor:w.paper_bgcolor})}},64380:function(k,m,t){var d=t(39898),y=t(84267),i=t(73972),M=t(71828),g=M.strTranslate,h=M._,l=t(7901),a=t(91424),u=t(21994),o=t(1426).extendFlat,s=t(74875),f=t(89298),c=t(28569),p=t(30211),w=t(64505),v=w.freeMode,S=w.rectMode,x=t(92998),T=t(47322).prepSelect,C=t(47322).selectOnClick,_=t(47322).clearOutline,A=t(47322).clearSelectionsCache,L=t(85555);function b(j,$){this.id=j.id,this.graphDiv=j.graphDiv,this.init($),this.makeFramework($),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}k.exports=b;var O=b.prototype;O.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},O.plot=function(j,$){var U=this,G=$[U.id],W=$._size;U._hasClipOnAxisFalse=!1;for(var H=0;HI*ce?W=(H=ce)*I:H=(W=ue)/I,ne=ie*W/ue,te=oe*H/ce,U=$.l+$.w*Q-W/2,G=$.t+$.h*(1-re)-H/2,Z.x0=U,Z.y0=G,Z.w=W,Z.h=H,Z.sum=ye,Z.xaxis={type:"linear",range:[de+2*pe-ye,ye-de-2*me],domain:[Q-ne/2,Q+ne/2],_id:"x"},u(Z.xaxis,Z.graphDiv._fullLayout),Z.xaxis.setScale(),Z.xaxis.isPtWithinRange=function(Le){return Le.a>=Z.aaxis.range[0]&&Le.a<=Z.aaxis.range[1]&&Le.b>=Z.baxis.range[1]&&Le.b<=Z.baxis.range[0]&&Le.c>=Z.caxis.range[1]&&Le.c<=Z.caxis.range[0]},Z.yaxis={type:"linear",range:[de,ye-me-pe],domain:[re-te/2,re+te/2],_id:"y"},u(Z.yaxis,Z.graphDiv._fullLayout),Z.yaxis.setScale(),Z.yaxis.isPtWithinRange=function(){return!0};var xe=Z.yaxis.domain[0],Pe=Z.aaxis=o({},j.aaxis,{range:[de,ye-me-pe],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:W});u(Pe,Z.graphDiv._fullLayout),Pe.setScale();var _e=Z.baxis=o({},j.baxis,{range:[ye-de-pe,me],side:"bottom",domain:Z.xaxis.domain,anchor:"free",position:0,_id:"x",_length:W});u(_e,Z.graphDiv._fullLayout),_e.setScale();var Me=Z.caxis=o({},j.caxis,{range:[ye-de-me,pe],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:W});u(Me,Z.graphDiv._fullLayout),Me.setScale();var Se="M"+U+","+(G+H)+"h"+W+"l-"+W/2+",-"+H+"Z";Z.clipDef.select("path").attr("d",Se),Z.layers.plotbg.select("path").attr("d",Se);var Ce="M0,"+H+"h"+W+"l-"+W/2+",-"+H+"Z";Z.clipDefRelative.select("path").attr("d",Ce);var ae=g(U,G);Z.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ae),Z.clipDefRelative.select("path").attr("transform",null);var he=g(U-_e._offset,G+H);Z.layers.baxis.attr("transform",he),Z.layers.bgrid.attr("transform",he);var be=g(U+W/2,G)+"rotate(30)"+g(0,-Pe._offset);Z.layers.aaxis.attr("transform",be),Z.layers.agrid.attr("transform",be);var ke=g(U+W/2,G)+"rotate(-30)"+g(0,-Me._offset);Z.layers.caxis.attr("transform",ke),Z.layers.cgrid.attr("transform",ke),Z.drawAxes(!0),Z.layers.aline.select("path").attr("d",Pe.showline?"M"+U+","+(G+H)+"l"+W/2+",-"+H:"M0,0").call(l.stroke,Pe.linecolor||"#000").style("stroke-width",(Pe.linewidth||0)+"px"),Z.layers.bline.select("path").attr("d",_e.showline?"M"+U+","+(G+H)+"h"+W:"M0,0").call(l.stroke,_e.linecolor||"#000").style("stroke-width",(_e.linewidth||0)+"px"),Z.layers.cline.select("path").attr("d",Me.showline?"M"+(U+W/2)+","+G+"l"+W/2+","+H:"M0,0").call(l.stroke,Me.linecolor||"#000").style("stroke-width",(Me.linewidth||0)+"px"),Z.graphDiv._context.staticPlot||Z.initInteractions(),a.setClipUrl(Z.layers.frontplot,Z._hasClipOnAxisFalse?null:Z.clipId,Z.graphDiv)},O.drawAxes=function(j){var $=this,U=$.graphDiv,G=$.id.substr(7)+"title",W=$.layers,H=$.aaxis,ne=$.baxis,te=$.caxis;if($.drawAx(H),$.drawAx(ne),$.drawAx(te),j){var Z=Math.max(H.showticklabels?H.tickfont.size/2:0,(te.showticklabels?.75*te.tickfont.size:0)+(te.ticks==="outside"?.87*te.ticklen:0)),X=(ne.showticklabels?ne.tickfont.size:0)+(ne.ticks==="outside"?ne.ticklen:0)+3;W["a-title"]=x.draw(U,"a"+G,{propContainer:H,propName:$.id+".aaxis.title",placeholder:h(U,"Click to enter Component A title"),attributes:{x:$.x0+$.w/2,y:$.y0-H.title.font.size/3-Z,"text-anchor":"middle"}}),W["b-title"]=x.draw(U,"b"+G,{propContainer:ne,propName:$.id+".baxis.title",placeholder:h(U,"Click to enter Component B title"),attributes:{x:$.x0-X,y:$.y0+$.h+.83*ne.title.font.size+X,"text-anchor":"middle"}}),W["c-title"]=x.draw(U,"c"+G,{propContainer:te,propName:$.id+".caxis.title",placeholder:h(U,"Click to enter Component C title"),attributes:{x:$.x0+$.w+X,y:$.y0+$.h+.83*te.title.font.size+X,"text-anchor":"middle"}})}},O.drawAx=function(j){var $,U=this,G=U.graphDiv,W=j._name,H=W.charAt(0),ne=j._id,te=U.layers[W],Z=H+"tickLayout",X=($=j).ticks+String($.ticklen)+String($.showticklabels);U[Z]!==X&&(te.selectAll("."+ne+"tick").remove(),U[Z]=X),j.setScale();var Q=f.calcTicks(j),re=f.clipEnds(j,Q),ie=f.makeTransTickFn(j),oe=f.getTickSigns(j)[2],ue=M.deg2rad(30),ce=oe*(j.linewidth||1)/2,ye=oe*j.ticklen,de=U.w,me=U.h,pe=H==="b"?"M0,"+ce+"l"+Math.sin(ue)*ye+","+Math.cos(ue)*ye:"M"+ce+",0l"+Math.cos(ue)*ye+","+-Math.sin(ue)*ye,xe={a:"M0,0l"+me+",-"+de/2,b:"M0,0l-"+de/2+",-"+me,c:"M0,0l-"+me+","+de/2}[H];f.drawTicks(G,j,{vals:j.ticks==="inside"?re:Q,layer:te,path:pe,transFn:ie,crisp:!1}),f.drawGrid(G,j,{vals:re,layer:U.layers[H+"grid"],path:xe,transFn:ie,crisp:!1}),f.drawLabels(G,j,{vals:Q,layer:te,transFn:ie,labelFns:f.makeLabelFns(j,0,30)})};var R=L.MINZOOM/2+.87,D="m-0.87,.5h"+R+"v3h-"+(R+5.2)+"l"+(R/2+2.6)+",-"+(.87*R+4.5)+"l2.6,1.5l-"+R/2+","+.87*R+"Z",F="m0.87,.5h-"+R+"v3h"+(R+5.2)+"l-"+(R/2+2.6)+",-"+(.87*R+4.5)+"l-2.6,1.5l"+R/2+","+.87*R+"Z",B="m0,1l"+R/2+","+.87*R+"l2.6,-1.5l-"+(R/2+2.6)+",-"+(.87*R+4.5)+"l-"+(R/2+2.6)+","+(.87*R+4.5)+"l2.6,1.5l"+R/2+",-"+.87*R+"Z",N=!0;function q(j){d.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}O.clearOutline=function(){A(this.dragOptions),_(this.dragOptions.gd)},O.initInteractions=function(){var j,$,U,G,W,H,ne,te,Z,X,Q,re,ie=this,oe=ie.layers.plotbg.select("path").node(),ue=ie.graphDiv,ce=ue._fullLayout._zoomlayer;function ye(Ce){var ae={};return ae[ie.id+".aaxis.min"]=Ce.a,ae[ie.id+".baxis.min"]=Ce.b,ae[ie.id+".caxis.min"]=Ce.c,ae}function de(Ce,ae){var he=ue._fullLayout.clickmode;q(ue),Ce===2&&(ue.emit("plotly_doubleclick",null),i.call("_guiRelayout",ue,ye({a:0,b:0,c:0}))),he.indexOf("select")>-1&&Ce===1&&C(ae,ue,[ie.xaxis],[ie.yaxis],ie.id,ie.dragOptions),he.indexOf("event")>-1&&p.click(ue,ae,ie.id)}function me(Ce,ae){return 1-ae/ie.h}function pe(Ce,ae){return 1-(Ce+(ie.h-ae)/Math.sqrt(3))/ie.w}function xe(Ce,ae){return(Ce-(ie.h-ae)/Math.sqrt(3))/ie.w}function Pe(Ce,ae){var he=U+Ce*j,be=G+ae*$,ke=Math.max(0,Math.min(1,me(0,G),me(0,be))),Le=Math.max(0,Math.min(1,pe(U,G),pe(he,be))),Be=Math.max(0,Math.min(1,xe(U,G),xe(he,be))),ze=(ke/2+Be)*ie.w,je=(1-ke/2-Le)*ie.w,ge=(ze+je)/2,we=je-ze,Ee=(1-ke)*ie.h,Ve=Ee-we/I;we.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),re.transition().style("opacity",1).duration(200),X=!0),ue.emit("plotly_relayouting",ye(ne))}function _e(){q(ue),ne!==W&&(i.call("_guiRelayout",ue,ye(ne)),N&&ue.data&&ue._context.showTips&&(M.notifier(h(ue,"Double-click to zoom back out"),"long"),N=!1))}function Me(Ce,ae){var he=Ce/ie.xaxis._m,be=ae/ie.yaxis._m,ke=[(ne={a:W.a-be,b:W.b+(he+be)/2,c:W.c-(he-be)/2}).a,ne.b,ne.c].sort(M.sorterAsc),Le=ke.indexOf(ne.a),Be=ke.indexOf(ne.b),ze=ke.indexOf(ne.c);ke[0]<0&&(ke[1]+ke[0]/2<0?(ke[2]+=ke[0]+ke[1],ke[0]=ke[1]=0):(ke[2]+=ke[0]/2,ke[1]+=ke[0]/2,ke[0]=0),ne={a:ke[Le],b:ke[Be],c:ke[ze]},ae=(W.a-ne.a)*ie.yaxis._m,Ce=(W.c-ne.c-W.b+ne.b)*ie.xaxis._m);var je=g(ie.x0+Ce,ie.y0+ae);ie.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",je);var ge=g(-Ce,-ae);ie.clipDefRelative.select("path").attr("transform",ge),ie.aaxis.range=[ne.a,ie.sum-ne.b-ne.c],ie.baxis.range=[ie.sum-ne.a-ne.c,ne.b],ie.caxis.range=[ie.sum-ne.a-ne.b,ne.c],ie.drawAxes(!1),ie._hasClipOnAxisFalse&&ie.plotContainer.select(".scatterlayer").selectAll(".trace").call(a.hideOutsideRangePoints,ie),ue.emit("plotly_relayouting",ye(ne))}function Se(){i.call("_guiRelayout",ue,ye(ne))}this.dragOptions={element:oe,gd:ue,plotinfo:{id:ie.id,domain:ue._fullLayout[ie.id].domain,xaxis:ie.xaxis,yaxis:ie.yaxis},subplot:ie.id,prepFn:function(Ce,ae,he){ie.dragOptions.xaxes=[ie.xaxis],ie.dragOptions.yaxes=[ie.yaxis],j=ue._fullLayout._invScaleX,$=ue._fullLayout._invScaleY;var be=ie.dragOptions.dragmode=ue._fullLayout.dragmode;v(be)?ie.dragOptions.minDrag=1:ie.dragOptions.minDrag=void 0,be==="zoom"?(ie.dragOptions.moveFn=Pe,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=_e,function(ke,Le,Be){var ze=oe.getBoundingClientRect();U=Le-ze.left,G=Be-ze.top,ue._fullLayout._calcInverseTransform(ue);var je=ue._fullLayout._invTransform,ge=M.apply3DTransform(je)(U,G);U=ge[0],G=ge[1],W={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=W,H=ie.aaxis.range[1]-W.a,te=y(ie.graphDiv._fullLayout[ie.id].bgcolor).getLuminance(),Z="M0,"+ie.h+"L"+ie.w/2+", 0L"+ie.w+","+ie.h+"Z",X=!1,Q=ce.append("path").attr("class","zoombox").attr("transform",g(ie.x0,ie.y0)).style({fill:te>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",Z),re=ce.append("path").attr("class","zoombox-corners").attr("transform",g(ie.x0,ie.y0)).style({fill:l.background,stroke:l.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),ie.clearOutline(ue)}(0,ae,he)):be==="pan"?(ie.dragOptions.moveFn=Me,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=Se,W={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=W,ie.clearOutline(ue)):(S(be)||v(be))&&T(Ce,ae,he,ie.dragOptions,be)}},oe.onmousemove=function(Ce){p.hover(ue,Ce,ie.id),ue._fullLayout._lasthover=oe,ue._fullLayout._hoversubplot=ie.id},oe.onmouseout=function(Ce){ue._dragging||c.unhover(ue,Ce)},c.init(this.dragOptions)}},73972:function(k,m,t){var d=t(47769),y=t(64213),i=t(75138),M=t(41965),g=t(24401).addStyleRule,h=t(1426),l=t(9012),a=t(10820),u=h.extendFlat,o=h.extendDeepAll;function s(C){var _=C.name,A=C.categories,L=C.meta;if(m.modules[_])d.log("Type "+_+" already registered");else{m.subplotsRegistry[C.basePlotModule.name]||function(N){var q=N.name;if(m.subplotsRegistry[q])d.log("Plot type "+q+" already registered.");else for(var j in w(N),m.subplotsRegistry[q]=N,m.componentsRegistry)x(j,N.name)}(C.basePlotModule);for(var b={},O=0;O-1&&(c[w[a]].title={text:""});for(a=0;a")!==-1?"":O.html(R).text()});return O.remove(),I}(L)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(a,"'"),y.isIE()&&(L=(L=(L=L.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),L}},75341:function(k,m,t){var d=t(71828);k.exports=function(y,i){for(var M=0;MI+b||!d(O))}for(var D=0;D<_.length;D++){for(var F=_[D],B=F[0].trace,N=[],q=!1,j=!1,$=0;$a))return g}return h!==void 0?h:M.dflt},m.coerceColor=function(M,g,h){return y(g).isValid()?g:h!==void 0?h:M.dflt},m.coerceEnumerated=function(M,g,h){return M.coerceNumber&&(g=+g),M.values.indexOf(g)!==-1?g:h!==void 0?h:M.dflt},m.getValue=function(M,g){var h;return Array.isArray(M)?g0?ye+=de:v<0&&(ye-=de)}return ye}function te(ce){var ye=v,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,R+(me-ye)/(me-de)-1)}var Z=o[S+"a"],X=o[x+"a"];_=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));var Q=d.getDistanceFunction(c,T,C,function(ce){return(T(ce)+C(ce))/2});if(d.getClosest(A,Q,o),o.index!==!1&&A[o.index].p!==l){B||(U=function(ce){return Math.min(N(ce),ce.p-b.bargroupwidth/2)},G=function(ce){return Math.max(q(ce),ce.p+b.bargroupwidth/2)});var re=A[o.index],ie=L.base?re.b+re.s:re.s;o[x+"0"]=o[x+"1"]=X.c2p(re[x],!0),o[x+"LabelVal"]=ie;var oe=b.extents[b.extents.round(re.p)];o[S+"0"]=Z.c2p(O?U(re):oe[0],!0),o[S+"1"]=Z.c2p(O?G(re):oe[1],!0);var ue=re.orig_p!==void 0;return o[S+"LabelVal"]=ue?re.orig_p:re.p,o.labelLabel=h(Z,o[S+"LabelVal"],L[S+"hoverformat"]),o.valueLabel=h(X,o[x+"LabelVal"],L[x+"hoverformat"]),o.baseLabel=h(X,re.b,L[x+"hoverformat"]),o.spikeDistance=(function(ce){var ye=v,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,D+(me-ye)/(me-de)-1)}(re)+function(ce){return W(N(ce),q(ce),D)}(re))/2,o[S+"Spike"]=Z.c2p(re.p,!0),M(re,L,o),o.hovertemplate=L.hovertemplate,o}}function u(o,s){var f=s.mcc||o.marker.color,c=s.mlcc||o.marker.line.color,p=g(o,s);return i.opacity(f)?f:i.opacity(c)&&p?c:void 0}k.exports={hoverPoints:function(o,s,f,c,p){var w=a(o,s,f,c,p);if(w){var v=w.cd,S=v[0].trace,x=v[w.index];return w.color=u(S,x),y.getComponentMethod("errorbars","hoverInfo")(x,S,w),[w]}},hoverOnBars:a,getTraceColor:u}},60822:function(k,m,t){k.exports={attributes:t(1486),layoutAttributes:t(43641),supplyDefaults:t(90769).supplyDefaults,crossTraceDefaults:t(90769).crossTraceDefaults,supplyLayoutDefaults:t(13957),calc:t(92290),crossTraceCalc:t(11661).crossTraceCalc,colorbar:t(4898),arraysToCalcdata:t(75341),plot:t(17295).plot,style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(95423).hoverPoints,eventData:t(58065),selectPoints:t(81974),moduleType:"trace",name:"bar",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(k){k.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},13957:function(k,m,t){var d=t(73972),y=t(89298),i=t(71828),M=t(43641);k.exports=function(g,h,l){function a(S,x){return i.coerce(g,h,M,S,x)}for(var u=!1,o=!1,s=!1,f={},c=a("barmode"),p=0;p0}function O(D){return D==="auto"?0:D}function I(D,F){var B=Math.PI/180*F,N=Math.abs(Math.sin(B)),q=Math.abs(Math.cos(B));return{x:D.width*q+D.height*N,y:D.width*N+D.height*q}}function R(D,F,B,N,q,j){var $=!!j.isHorizontal,U=!!j.constrained,G=j.angle||0,W=j.anchor||"end",H=W==="end",ne=W==="start",te=((j.leftToRight||0)+1)/2,Z=1-te,X=q.width,Q=q.height,re=Math.abs(F-D),ie=Math.abs(N-B),oe=re>2*T&&ie>2*T?T:0;re-=2*oe,ie-=2*oe;var ue=O(G);G!=="auto"||X<=re&&Q<=ie||!(X>re||Q>ie)||(X>ie||Q>re)&&X.01?Be:function(we,Ee,Ve){return Ve&&we===Ee?we:Math.abs(we-Ee)>=2?Be(we):we>Ee?Math.ceil(we):Math.floor(we)};Ce=ze(Ce,ae,oe),ae=ze(ae,Ce,oe),he=ze(he,be,!oe),be=ze(be,he,!oe)}var je=L(i.ensureSingle(Me,"path"),G,q,j);if(je.style("vector-effect",W?"none":"non-scaling-stroke").attr("d",isNaN((ae-Ce)*(be-he))||ke&&D._context.staticPlot?"M0,0Z":"M"+Ce+","+he+"V"+be+"H"+ae+"V"+he+"Z").call(h.setClipUrl,F.layerClipId,D),!G.uniformtext.mode&&ue){var ge=h.makePointStyleFns(Z);h.singlePointStyle(pe,je,Z,ge,D)}(function(we,Ee,Ve,$e,Ye,st,ot,ft,bt,Et,kt){var xt,Ft=Ee.xaxis,Rt=Ee.yaxis,Bt=we._fullLayout;function Wt(Qt,rn,xn){return i.ensureSingle(Qt,"text").text(rn).attr({class:"bartext bartext-"+xt,"text-anchor":"middle","data-notex":1}).call(h.font,xn).call(M.convertToTspans,we)}var Vt=$e[0].trace,Ke=Vt.orientation==="h",Je=function(Qt,rn,xn,un,An){var Yn,kn=rn[0].trace;return Yn=kn.texttemplate?function(sn,Tn,dn,pn,Dn){var In=Tn[0].trace,jn=i.castOption(In,dn,"texttemplate");if(!jn)return"";var Gn,Wn,lr,rr,Sr=In.type==="histogram",yr=In.type==="waterfall",or=In.type==="funnel",vr=In.orientation==="h";function _r($n){return a(rr,rr.c2l($n),!0).text}vr?(Gn="y",Wn=Dn,lr="x",rr=pn):(Gn="x",Wn=pn,lr="y",rr=Dn);var Kt,bn=Tn[dn],On={};On.label=bn.p,On.labelLabel=On[Gn+"Label"]=(Kt=bn.p,a(Wn,Wn.c2l(Kt),!0).text);var Ln=i.castOption(In,bn.i,"text");(Ln===0||Ln)&&(On.text=Ln),On.value=bn.s,On.valueLabel=On[lr+"Label"]=_r(bn.s);var Un={};x(Un,In,bn.i),(Sr||Un.x===void 0)&&(Un.x=vr?On.value:On.label),(Sr||Un.y===void 0)&&(Un.y=vr?On.label:On.value),(Sr||Un.xLabel===void 0)&&(Un.xLabel=vr?On.valueLabel:On.labelLabel),(Sr||Un.yLabel===void 0)&&(Un.yLabel=vr?On.labelLabel:On.valueLabel),yr&&(On.delta=+bn.rawS||bn.s,On.deltaLabel=_r(On.delta),On.final=bn.v,On.finalLabel=_r(On.final),On.initial=On.final-On.delta,On.initialLabel=_r(On.initial)),or&&(On.value=bn.s,On.valueLabel=_r(On.value),On.percentInitial=bn.begR,On.percentInitialLabel=i.formatPercent(bn.begR),On.percentPrevious=bn.difR,On.percentPreviousLabel=i.formatPercent(bn.difR),On.percentTotal=bn.sumR,On.percenTotalLabel=i.formatPercent(bn.sumR));var Kn=i.castOption(In,bn.i,"customdata");return Kn&&(On.customdata=Kn),i.texttemplateString(jn,On,sn._d3locale,Un,On,In._meta||{})}(Qt,rn,xn,un,An):kn.textinfo?function(sn,Tn,dn,pn){var Dn=sn[0].trace,In=Dn.orientation==="h",jn=Dn.type==="waterfall",Gn=Dn.type==="funnel";function Wn(Kn){return a(In?dn:pn,+Kn,!0).text}var lr,rr,Sr=Dn.textinfo,yr=sn[Tn],or=Sr.split("+"),vr=[],_r=function(Kn){return or.indexOf(Kn)!==-1};if(_r("label")&&vr.push((rr=sn[Tn].p,a(In?pn:dn,rr,!0).text)),_r("text")&&((lr=i.castOption(Dn,yr.i,"text"))===0||lr)&&vr.push(lr),jn){var Kt=+yr.rawS||yr.s,bn=yr.v,On=bn-Kt;_r("initial")&&vr.push(Wn(On)),_r("delta")&&vr.push(Wn(Kt)),_r("final")&&vr.push(Wn(bn))}if(Gn){_r("value")&&vr.push(Wn(yr.s));var Ln=0;_r("percent initial")&&Ln++,_r("percent previous")&&Ln++,_r("percent total")&&Ln++;var Un=Ln>1;_r("percent initial")&&(lr=i.formatPercent(yr.begR),Un&&(lr+=" of initial"),vr.push(lr)),_r("percent previous")&&(lr=i.formatPercent(yr.difR),Un&&(lr+=" of previous"),vr.push(lr)),_r("percent total")&&(lr=i.formatPercent(yr.sumR),Un&&(lr+=" of total"),vr.push(lr))}return vr.join("
")}(rn,xn,un,An):c.getValue(kn.text,xn),c.coerceString(v,Yn)}(Bt,$e,Ye,Ft,Rt);xt=function(Qt,rn){var xn=c.getValue(Qt.textposition,rn);return c.coerceEnumerated(S,xn)}(Vt,Ye);var We=Et.mode==="stack"||Et.mode==="relative",nt=$e[Ye],ht=!We||nt._outmost;if(Je&&xt!=="none"&&(!nt.isBlank&&st!==ot&&ft!==bt||xt!=="auto"&&xt!=="inside")){var Oe=Bt.font,Ne=f.getBarColor($e[Ye],Vt),Qe=f.getInsideTextFont(Vt,Ye,Oe,Ne),ut=f.getOutsideTextFont(Vt,Ye,Oe),dt=Ve.datum();Ke?Ft.type==="log"&&dt.s0<=0&&(st=Ft.range[0]0&&yt>0&&(Lt<=wt&&yt<=Ot||Lt<=Ot&&yt<=wt||(Ke?wt>=Lt*(Ot/yt):Ot>=yt*(wt/Lt)))?xt="inside":(xt="outside",_t.remove(),_t=null)):xt="inside"),!_t){var Nt=(_t=Wt(Ve,Je,Pt=i.ensureUniformFontSize(we,xt==="outside"?ut:Qe))).attr("transform");if(_t.attr("transform",""),Lt=(It=h.bBox(_t.node())).width,yt=It.height,_t.attr("transform",Nt),Lt<=0||yt<=0)return void _t.remove()}var Yt,qt=Vt.textangle;Yt=xt==="outside"?function(Qt,rn,xn,un,An,Yn){var kn,sn=!!Yn.isHorizontal,Tn=!!Yn.constrained,dn=Yn.angle||0,pn=An.width,Dn=An.height,In=Math.abs(rn-Qt),jn=Math.abs(un-xn);kn=sn?jn>2*T?T:0:In>2*T?T:0;var Gn=1;Tn&&(Gn=sn?Math.min(1,jn/Dn):Math.min(1,In/pn));var Wn=O(dn),lr=I(An,Wn),rr=(sn?lr.x:lr.y)/2,Sr=(An.left+An.right)/2,yr=(An.top+An.bottom)/2,or=(Qt+rn)/2,vr=(xn+un)/2,_r=0,Kt=0,bn=sn?A(rn,Qt):A(xn,un);return sn?(or=rn-bn*kn,_r=bn*rr):(vr=un+bn*kn,Kt=-bn*rr),{textX:Sr,textY:yr,targetX:or,targetY:vr,anchorX:_r,anchorY:Kt,scale:Gn,rotate:Wn}}(st,ot,ft,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="outside",angle:qt}):R(st,ot,ft,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="inside",angle:qt,anchor:Vt.insidetextanchor}),Yt.fontSize=Pt.size,o(Vt.type==="histogram"?"bar":Vt.type,Yt,Bt),nt.transform=Yt;var Xt=L(_t,Bt,Et,kt);i.setTransormAndDisplay(Xt,Yt)}else Ve.select("text").remove()})(D,F,Me,ne,xe,Ce,ae,he,be,q,j),F.layerClipId&&h.hideOutsideRangePoint(pe,Me.select("text"),$,U,Z.xcalendar,Z.ycalendar)});var me=Z.cliponaxis===!1;h.setClipUrl(te,me?null:F.layerClipId,D)});l.getComponentMethod("errorbars","plot")(D,H,F,q)},toMoveInsideBar:R}},81974:function(k){function m(t,d,y,i,M){var g=d.c2p(i?t.s0:t.p0,!0),h=d.c2p(i?t.s1:t.p1,!0),l=y.c2p(i?t.p0:t.s0,!0),a=y.c2p(i?t.p1:t.s1,!0);return M?[(g+h)/2,(l+a)/2]:i?[h,(l+a)/2]:[(g+h)/2,a]}k.exports=function(t,d){var y,i=t.cd,M=t.xaxis,g=t.yaxis,h=i[0].trace,l=h.type==="funnel",a=h.orientation==="h",u=[];if(d===!1)for(y=0;y1||L.bargap===0&&L.bargroupgap===0&&!b[0].trace.marker.line.width)&&d.select(this).attr("shape-rendering","crispEdges")}),_.selectAll("g.points").each(function(b){f(d.select(this),b[0].trace,C)}),g.getComponentMethod("errorbars","style")(_)},styleTextPoints:c,styleOnSelect:function(C,_,A){var L=_[0].trace;L.selectedpoints?function(b,O,I){i.selectedPointStyle(b.selectAll("path"),O),function(R,D,F){R.each(function(B){var N,q=d.select(this);if(B.selected){N=M.ensureUniformFontSize(F,p(q,B,D,F));var j=D.selected.textfont&&D.selected.textfont.color;j&&(N.color=j),i.font(q,N)}else i.selectedTextStyle(q,D)})}(b.selectAll("text"),O,I)}(A,L,C):(f(A,L,C),g.getComponentMethod("errorbars","style")(A))},getInsideTextFont:v,getOutsideTextFont:S,getBarColor:T,resizeText:h}},98340:function(k,m,t){var d=t(7901),y=t(52075).hasColorscale,i=t(1586),M=t(71828).coercePattern;k.exports=function(g,h,l,a,u){var o=l("marker.color",a),s=y(g,"marker");s&&i(g,h,u,l,{prefix:"marker.",cLetter:"c"}),l("marker.line.color",d.defaultLine),y(g,"marker.line")&&i(g,h,u,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width"),l("marker.opacity"),M(l,"marker.pattern",o,s),l("selected.marker.color"),l("unselected.marker.color")}},72597:function(k,m,t){var d=t(39898),y=t(71828);function i(M){return"_"+M+"Text_minsize"}k.exports={recordMinTextSize:function(M,g,h){if(h.uniformtext.mode){var l=i(M),a=h.uniformtext.minsize,u=g.scale*g.fontSize;g.hide=uc.range[1]&&(C+=Math.PI),d.getClosest(o,function(L){return v(T,C,[L.rp0,L.rp1],[L.thetag0,L.thetag1],w)?S+Math.min(1,Math.abs(L.thetag1-L.thetag0)/x)-1+(L.rp1-T)/(L.rp1-L.rp0)-1:1/0},l),l.index!==!1){var _=o[l.index];l.x0=l.x1=_.ct[0],l.y0=l.y1=_.ct[1];var A=y.extendFlat({},_,{r:_.s,theta:_.p});return M(_,s,l),g(A,s,f,l),l.hovertemplate=s.hovertemplate,l.color=i(s,_),l.xLabelVal=l.yLabelVal=void 0,_.s<0&&(l.idealAlign="left"),[l]}}},23381:function(k,m,t){k.exports={moduleType:"trace",name:"barpolar",basePlotModule:t(23580),categories:["polar","bar","showLegend"],attributes:t(55023),layoutAttributes:t(40151),supplyDefaults:t(6135),supplyLayoutDefaults:t(19860),calc:t(74692).calc,crossTraceCalc:t(74692).crossTraceCalc,plot:t(60173),colorbar:t(4898),formatLabels:t(98608),style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(27379),selectPoints:t(81974),meta:{}}},40151:function(k){k.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(k,m,t){var d=t(71828),y=t(40151);k.exports=function(i,M,g){var h,l={};function a(s,f){return d.coerce(i[h]||{},M[h],y,s,f)}for(var u=0;u0?(L=_,b=A):(L=A,b=_);var O=[g.findEnclosingVertexAngles(L,v.vangles)[0],(L+b)/2,g.findEnclosingVertexAngles(b,v.vangles)[1]];return g.pathPolygonAnnulus(T,C,L,b,O,S,x)}:function(T,C,_,A){return i.pathAnnulus(T,C,_,A,S,x)}}(l),w=l.layers.frontplot.select("g.barlayer");i.makeTraceGroups(w,a,"trace bars").each(function(){var v=d.select(this),S=i.ensureSingle(v,"g","points").selectAll("g.point").data(i.identity);S.enter().append("g").style("vector-effect",u?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),S.exit().remove(),S.each(function(x){var T,C=d.select(this),_=x.rp0=f.c2p(x.s0),A=x.rp1=f.c2p(x.s1),L=x.thetag0=c.c2g(x.p0),b=x.thetag1=c.c2g(x.p1);if(y(_)&&y(A)&&y(L)&&y(b)&&_!==A&&L!==b){var O=f.c2g(x.s1),I=(L+b)/2;x.ct=[o.c2p(O*Math.cos(I)),s.c2p(O*Math.sin(I))],T=p(_,A,L,b)}else T="M0,0Z";i.ensureSingle(C,"path").attr("d",T)}),M.setClipUrl(v,l._hasClipOnAxisFalse?l.clipIds.forTraces:null,h)})}},53522:function(k,m,t){var d=t(82196),y=t(1486),i=t(22399),M=t(12663).axisHoverFormat,g=t(5386).fF,h=t(1426).extendFlat,l=d.marker,a=l.line;k.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:d.xperiod,yperiod:d.yperiod,xperiod0:d.xperiod0,yperiod0:d.yperiod0,xperiodalignment:d.xperiodalignment,yperiodalignment:d.yperiodalignment,xhoverformat:M("x"),yhoverformat:M("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:h({},l.symbol,{arrayOk:!1,editType:"plot"}),opacity:h({},l.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:h({},l.angle,{arrayOk:!1,editType:"calc"}),size:h({},l.size,{arrayOk:!1,editType:"calc"}),color:h({},l.color,{arrayOk:!1,editType:"style"}),line:{color:h({},a.color,{arrayOk:!1,dflt:i.defaultLine,editType:"style"}),width:h({},a.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:d.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:y.offsetgroup,alignmentgroup:y.alignmentgroup,selected:{marker:d.selected.marker,editType:"style"},unselected:{marker:d.unselected.marker,editType:"style"},text:h({},d.text,{}),hovertext:h({},d.hovertext,{}),hovertemplate:g({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(k,m,t){var d=t(92770),y=t(89298),i=t(42973),M=t(71828),g=t(50606).BADNUM,h=M._;k.exports=function(v,S){var x,T,C,_,A,L,b,O=v._fullLayout,I=y.getFromId(v,S.xaxis||"x"),R=y.getFromId(v,S.yaxis||"y"),D=[],F=S.type==="violin"?"_numViolins":"_numBoxes";S.orientation==="h"?(C=I,_="x",A=R,L="y",b=!!S.yperiodalignment):(C=R,_="y",A=I,L="x",b=!!S.xperiodalignment);var B,N,q,j,$,U,G=function(Ee,Ve,$e,Ye){var st,ot=Ve+"0"in Ee;if(Ve in Ee||ot&&"d"+Ve in Ee){var ft=$e.makeCalcdata(Ee,Ve);return[i(Ee,$e,Ve,ft).vals,ft]}st=ot?Ee[Ve+"0"]:"name"in Ee&&($e.type==="category"||d(Ee.name)&&["linear","log"].indexOf($e.type)!==-1||M.isDateTime(Ee.name)&&$e.type==="date")?Ee.name:Ye;for(var bt=$e.type==="multicategory"?$e.r2c_just_indices(st):$e.d2c(st,0,Ee[Ve+"calendar"]),Et=Ee._length,kt=new Array(Et),xt=0;xtB.uf};if(S._hasPreCompStats){var Q=S[_],re=function(Ee){return C.d2c((S[Ee]||[])[x])},ie=1/0,oe=-1/0;for(x=0;x=B.q1&&B.q3>=B.med){var ce=re("lowerfence");B.lf=ce!==g&&ce<=B.q1?ce:s(B,q,j);var ye=re("upperfence");B.uf=ye!==g&&ye>=B.q3?ye:f(B,q,j);var de=re("mean");B.mean=de!==g?de:j?M.mean(q,j):(B.q1+B.q3)/2;var me=re("sd");B.sd=de!==g&&me>=0?me:j?M.stdev(q,j,B.mean):B.q3-B.q1,B.lo=c(B),B.uo=p(B);var pe=re("notchspan");pe=pe!==g&&pe>0?pe:w(B,j),B.ln=B.med-pe,B.un=B.med+pe;var xe=B.lf,Pe=B.uf;S.boxpoints&&q.length&&(xe=Math.min(xe,q[0]),Pe=Math.max(Pe,q[j-1])),S.notched&&(xe=Math.min(xe,B.ln),Pe=Math.max(Pe,B.un)),B.min=xe,B.max=Pe}else{var _e;M.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+B.q1,"median = "+B.med,"q3 = "+B.q3].join(` -`)),_e=B.med!==g?B.med:B.q1!==g?B.q3!==g?(B.q1+B.q3)/2:B.q1:B.q3!==g?B.q3:0,B.med=_e,B.q1=B.q3=_e,B.lf=B.uf=_e,B.mean=B.sd=_e,B.ln=B.un=_e,B.min=B.max=_e}ie=Math.min(ie,B.min),oe=Math.max(oe,B.max),B.pts2=N.filter(X),D.push(B)}}S._extremes[C._id]=y.findExtremes(C,[ie,oe],{padded:!0})}else{var Me=C.makeCalcdata(S,_),Se=function(Ee,Ve){for(var $e=Ee.length,Ye=new Array($e+1),st=0;st<$e;st++)Ye[st]=Ee[st]-Ve;return Ye[$e]=Ee[$e-1]+Ve,Ye}(te,Z),Ce=te.length,ae=function(Ee){for(var Ve=new Array(Ee),$e=0;$e=0&&he0){var je,ge;(B={}).pos=B[L]=te[x],N=B.pts=ae[x].sort(u),j=(q=B[_]=N.map(o)).length,B.min=q[0],B.max=q[j-1],B.mean=M.mean(q,j),B.sd=M.stdev(q,j,B.mean),B.med=M.interp(q,.5),j%2&&(Be||ze)?(Be?(je=q.slice(0,j/2),ge=q.slice(j/2+1)):ze&&(je=q.slice(0,j/2+1),ge=q.slice(j/2)),B.q1=M.interp(je,.5),B.q3=M.interp(ge,.5)):(B.q1=M.interp(q,.25),B.q3=M.interp(q,.75)),B.lf=s(B,q,j),B.uf=f(B,q,j),B.lo=c(B),B.uo=p(B);var we=w(B,j);B.ln=B.med-we,B.un=B.med+we,be=Math.min(be,B.ln),ke=Math.max(ke,B.un),B.pts2=N.filter(X),D.push(B)}S._extremes[C._id]=y.findExtremes(C,S.notched?Me.concat([be,ke]):Me,{padded:!0})}return function(Ee,Ve){if(M.isArrayOrTypedArray(Ve.selectedpoints))for(var $e=0;$e0?(D[0].t={num:O[F],dPos:Z,posLetter:L,valLetter:_,labels:{med:h(v,"median:"),min:h(v,"min:"),q1:h(v,"q1:"),q3:h(v,"q3:"),max:h(v,"max:"),mean:S.boxmean==="sd"?h(v,"mean ยฑ ฯƒ:"):h(v,"mean:"),lf:h(v,"lower fence:"),uf:h(v,"upper fence:")}},O[F]++,D):[{t:{empty:!0}}]};var l={text:"tx",hovertext:"htx"};function a(v,S,x){for(var T in l)M.isArrayOrTypedArray(S[T])&&(Array.isArray(x)?M.isArrayOrTypedArray(S[T][x[0]])&&(v[l[T]]=S[T][x[0]][x[1]]):v[l[T]]=S[T][x])}function u(v,S){return v.v-S.v}function o(v){return v.v}function s(v,S,x){return x===0?v.q1:Math.min(v.q1,S[Math.min(M.findBin(2.5*v.q1-1.5*v.q3,S,!0)+1,x-1)])}function f(v,S,x){return x===0?v.q3:Math.max(v.q3,S[Math.max(M.findBin(2.5*v.q3-1.5*v.q1,S),0)])}function c(v){return 4*v.q1-3*v.q3}function p(v){return 4*v.q3-3*v.q1}function w(v,S){return S===0?0:1.57*(v.q3-v.q1)/Math.sqrt(S)}},37188:function(k,m,t){var d=t(89298),y=t(71828),i=t(99082).getAxisGroup,M=["v","h"];function g(h,l,a,u){var o,s,f,c=l.calcdata,p=l._fullLayout,w=u._id,v=w.charAt(0),S=[],x=0;for(o=0;o1,L=1-p[h+"gap"],b=1-p[h+"groupgap"];for(o=0;o0){var ue=N.pointpos,ce=N.jitter,ye=N.marker.size/2,de=0;ue+ce>=0&&((de=ie*(ue+ce))>F?(oe=!0,Q=ye,Z=de):de>ne&&(Q=ye,Z=F)),de<=F&&(Z=F);var me=0;ue-ce<=0&&((me=-ie*(ue-ce))>B?(oe=!0,re=ye,X=me):me>te&&(re=ye,X=B)),me<=B&&(X=B)}else Z=F,X=B;var pe=new Array(f.length);for(s=0;s0?(A="v",L=O>0?Math.min(R,I):Math.min(I)):O>0?(A="h",L=Math.min(R)):L=0;if(L){s._length=L;var j=f("orientation",A);s._hasPreCompStats?j==="v"&&O===0?(f("x0",0),f("dx",1)):j==="h"&&b===0&&(f("y0",0),f("dy",1)):j==="v"&&O===0?f("x0"):j==="h"&&b===0&&f("y0"),y.getComponentMethod("calendars","handleTraceDefaults")(o,s,["x","y"],c)}else s.visible=!1}function u(o,s,f,c){var p=c.prefix,w=d.coerce2(o,s,l,"marker.outliercolor"),v=f("marker.line.outliercolor"),S="outliers";s._hasPreCompStats?S="all":(w||v)&&(S="suspectedoutliers");var x=f(p+"points",S);x?(f("jitter",x==="all"?.3:0),f("pointpos",x==="all"?-1.5:0),f("marker.symbol"),f("marker.opacity"),f("marker.size"),f("marker.angle"),f("marker.color",s.line.color),f("marker.line.color"),f("marker.line.width"),x==="suspectedoutliers"&&(f("marker.line.outliercolor",s.marker.color),f("marker.line.outlierwidth")),f("selected.marker.color"),f("unselected.marker.color"),f("selected.marker.size"),f("unselected.marker.size"),f("text"),f("hovertext")):delete s.marker;var T=f("hoveron");T!=="all"&&T.indexOf("points")===-1||f("hovertemplate"),d.coerceSelectionMarkerOpacity(s,f)}k.exports={supplyDefaults:function(o,s,f,c){function p(_,A){return d.coerce(o,s,l,_,A)}if(a(o,s,p,c),s.visible!==!1){M(o,s,c,p),p("xhoverformat"),p("yhoverformat");var w=s._hasPreCompStats;w&&(p("lowerfence"),p("upperfence")),p("line.color",(o.marker||{}).color||f),p("line.width"),p("fillcolor",i.addOpacity(s.line.color,.5));var v=!1;if(w){var S=p("mean"),x=p("sd");S&&S.length&&(v=!0,x&&x.length&&(v="sd"))}p("boxmean",v),p("whiskerwidth"),p("width"),p("quartilemethod");var T=!1;if(w){var C=p("notchspan");C&&C.length&&(T=!0)}else d.validate(o.notchwidth,l.notchwidth)&&(T=!0);p("notched",T)&&p("notchwidth"),u(o,s,p,{prefix:"box"})}},crossTraceDefaults:function(o,s){var f,c;function p(S){return d.coerce(c._input,c,l,S)}for(var w=0;wx.lo&&(q.so=!0)}return _});S.enter().append("path").classed("point",!0),S.exit().remove(),S.call(i.translatePoints,s,f)}function h(l,a,u,o){var s,f,c=a.val,p=a.pos,w=!!p.rangebreaks,v=o.bPos,S=o.bPosPxOffset||0,x=u.boxmean||(u.meanline||{}).visible;Array.isArray(o.bdPos)?(s=o.bdPos[0],f=o.bdPos[1]):(s=o.bdPos,f=o.bdPos);var T=l.selectAll("path.mean").data(u.type==="box"&&u.boxmean||u.type==="violin"&&u.box.visible&&u.meanline.visible?y.identity:[]);T.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),T.exit().remove(),T.each(function(C){var _=p.c2l(C.pos+v,!0),A=p.l2p(_-s)+S,L=p.l2p(_+f)+S,b=w?(A+L)/2:p.l2p(_)+S,O=c.c2p(C.mean,!0),I=c.c2p(C.mean-C.sd,!0),R=c.c2p(C.mean+C.sd,!0);u.orientation==="h"?d.select(this).attr("d","M"+O+","+A+"V"+L+(x==="sd"?"m0,0L"+I+","+b+"L"+O+","+A+"L"+R+","+b+"Z":"")):d.select(this).attr("d","M"+A+","+O+"H"+L+(x==="sd"?"m0,0L"+b+","+I+"L"+A+","+O+"L"+b+","+R+"Z":""))})}k.exports={plot:function(l,a,u,o){var s=l._context.staticPlot,f=a.xaxis,c=a.yaxis;y.makeTraceGroups(o,u,"trace boxes").each(function(p){var w,v,S=d.select(this),x=p[0],T=x.t,C=x.trace;T.wdPos=T.bdPos*C.whiskerwidth,C.visible!==!0||T.empty?S.remove():(C.orientation==="h"?(w=c,v=f):(w=f,v=c),M(S,{pos:w,val:v},C,T,s),g(S,{x:f,y:c},C,T),h(S,{pos:w,val:v},C,T))})},plotBoxAndWhiskers:M,plotPoints:g,plotBoxMean:h}},24626:function(k){k.exports=function(m,t){var d,y,i=m.cd,M=m.xaxis,g=m.yaxis,h=[];if(t===!1)for(d=0;d=10)return null;for(var g=1/0,h=-1/0,l=i.length,a=0;a0?Math.floor:Math.ceil,j=B>0?Math.ceil:Math.floor,$=B>0?Math.min:Math.max,U=B>0?Math.max:Math.min,G=q(D+N),W=j(F-N),H=[[f=R(D)]];for(h=G;h*B=0;i--)M[u-i]=m[o][i],g[u-i]=t[o][i];for(h.push({x:M,y:g,bicubic:l}),i=o,M=[],g=[];i>=0;i--)M[o-i]=m[i][0],g[o-i]=t[i][0];return h.push({x:M,y:g,bicubic:a}),h}},20347:function(k,m,t){var d=t(89298),y=t(1426).extendFlat;k.exports=function(i,M,g){var h,l,a,u,o,s,f,c,p,w,v,S,x,T,C=i["_"+M],_=i[M+"axis"],A=_._gridlines=[],L=_._minorgridlines=[],b=_._boundarylines=[],O=i["_"+g],I=i[g+"axis"];_.tickmode==="array"&&(_.tickvals=C.slice());var R=i._xctrl,D=i._yctrl,F=R[0].length,B=R.length,N=i._a.length,q=i._b.length;d.prepTicks(_),_.tickmode==="array"&&delete _.tickvals;var j=_.smoothing?3:1;function $(G){var W,H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye=[],de=[],me={};if(M==="b")for(H=i.b2j(G),ne=Math.floor(Math.max(0,Math.min(q-2,H))),te=H-ne,me.length=q,me.crossLength=N,me.xy=function(pe){return i.evalxy([],pe,H)},me.dxy=function(pe,xe){return i.dxydi([],pe,ne,xe,te)},W=0;W0&&(ie=i.dxydi([],W-1,ne,0,te),ye.push(Z[0]+ie[0]/3),de.push(Z[1]+ie[1]/3),oe=i.dxydi([],W-1,ne,1,te),ye.push(re[0]-oe[0]/3),de.push(re[1]-oe[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;else for(W=i.a2i(G),X=Math.floor(Math.max(0,Math.min(N-2,W))),Q=W-X,me.length=N,me.crossLength=q,me.xy=function(pe){return i.evalxy([],W,pe)},me.dxy=function(pe,xe){return i.dxydj([],X,pe,Q,xe)},H=0;H0&&(ue=i.dxydj([],X,H-1,Q,0),ye.push(Z[0]+ue[0]/3),de.push(Z[1]+ue[1]/3),ce=i.dxydj([],X,H-1,Q,1),ye.push(re[0]-ce[0]/3),de.push(re[1]-ce[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;return me.axisLetter=M,me.axis=_,me.crossAxis=I,me.value=G,me.constvar=g,me.index=c,me.x=ye,me.y=de,me.smoothing=I.smoothing,me}function U(G){var W,H,ne,te,Z,X=[],Q=[],re={};if(re.length=C.length,re.crossLength=O.length,M==="b")for(ne=Math.max(0,Math.min(q-2,G)),Z=Math.min(1,Math.max(0,G-ne)),re.xy=function(ie){return i.evalxy([],ie,G)},re.dxy=function(ie,oe){return i.dxydi([],ie,ne,oe,Z)},W=0;WC.length-1||A.push(y(U(l),{color:_.gridcolor,width:_.gridwidth,dash:_.griddash}));for(c=s;cC.length-1||v<0||v>C.length-1))for(S=C[a],x=C[v],h=0;h<_.minorgridcount;h++)(T=v-a)<=0||(w=S+(x-S)*(h+1)/(_.minorgridcount+1)*(_.arraydtick/T))C[C.length-1]||L.push(y($(w),{color:_.minorgridcolor,width:_.minorgridwidth,dash:_.minorgriddash}));_.startline&&b.push(y(U(0),{color:_.startlinecolor,width:_.startlinewidth})),_.endline&&b.push(y(U(C.length-1),{color:_.endlinecolor,width:_.endlinewidth}))}else{for(u=5e-15,s=(o=[Math.floor((C[C.length-1]-_.tick0)/_.dtick*(1+u)),Math.ceil((C[0]-_.tick0)/_.dtick/(1+u))].sort(function(G,W){return G-W}))[0],f=o[1],c=s;c<=f;c++)p=_.tick0+_.dtick*c,A.push(y($(p),{color:_.gridcolor,width:_.gridwidth,dash:_.griddash}));for(c=s-1;cC[C.length-1]||L.push(y($(w),{color:_.minorgridcolor,width:_.minorgridwidth,dash:_.minorgriddash}));_.startline&&b.push(y($(C[0]),{color:_.startlinecolor,width:_.startlinewidth})),_.endline&&b.push(y($(C[C.length-1]),{color:_.endlinecolor,width:_.endlinewidth}))}}},83311:function(k,m,t){var d=t(89298),y=t(1426).extendFlat;k.exports=function(i,M){var g,h,l,a=M._labels=[],u=M._gridlines;for(g=0;gi.length&&(y=y.slice(0,i.length)):y=[],g=0;g90&&(f-=180,l=-l),{angle:f,flip:l,p:m.c2p(y,t,d),offsetMultplier:a}}},89740:function(k,m,t){var d=t(39898),y=t(91424),i=t(27669),M=t(67961),g=t(11651),h=t(63893),l=t(71828),a=l.strRotate,u=l.strTranslate,o=t(18783);function s(v,S,x,T,C,_,A){var L="const-"+C+"-lines",b=x.selectAll("."+L).data(_);b.enter().append("path").classed(L,!0).style("vector-effect",A?"none":"non-scaling-stroke"),b.each(function(O){var I=O,R=I.x,D=I.y,F=i([],R,v.c2p),B=i([],D,S.c2p),N="M"+M(F,B,I.smoothing);d.select(this).attr("d",N).style("stroke-width",I.width).style("stroke",I.color).style("stroke-dasharray",y.dashStyle(I.dash,I.width)).style("fill","none")}),b.exit().remove()}function f(v,S,x,T,C,_,A,L){var b=_.selectAll("text."+L).data(A);b.enter().append("text").classed(L,!0);var O=0,I={};return b.each(function(R,D){var F;if(R.axis.tickangle==="auto")F=g(T,S,x,R.xy,R.dxy);else{var B=(R.axis.tickangle+180)*Math.PI/180;F=g(T,S,x,R.xy,[Math.cos(B),Math.sin(B)])}D||(I={angle:F.angle,flip:F.flip});var N=(R.endAnchor?-1:1)*F.flip,q=d.select(this).attr({"text-anchor":N>0?"start":"end","data-notex":1}).call(y.font,R.font).text(R.text).call(h.convertToTspans,v),j=y.bBox(this);q.attr("transform",u(F.p[0],F.p[1])+a(F.angle)+u(R.axis.labelpadding*N,.3*j.height)),O=Math.max(O,j.width+R.axis.labelpadding)}),b.exit().remove(),I.maxExtent=O,I}k.exports=function(v,S,x,T){var C=v._context.staticPlot,_=S.xaxis,A=S.yaxis,L=v._fullLayout._clips;l.makeTraceGroups(T,x,"trace").each(function(b){var O=d.select(this),I=b[0],R=I.trace,D=R.aaxis,F=R.baxis,B=l.ensureSingle(O,"g","minorlayer"),N=l.ensureSingle(O,"g","majorlayer"),q=l.ensureSingle(O,"g","boundarylayer"),j=l.ensureSingle(O,"g","labellayer");O.style("opacity",R.opacity),s(_,A,N,0,"a",D._gridlines,!0),s(_,A,N,0,"b",F._gridlines,!0),s(_,A,B,0,"a",D._minorgridlines,!0),s(_,A,B,0,"b",F._minorgridlines,!0),s(_,A,q,0,"a-boundary",D._boundarylines,C),s(_,A,q,0,"b-boundary",F._boundarylines,C);var $=f(v,_,A,R,0,j,D._labels,"a-label"),U=f(v,_,A,R,0,j,F._labels,"b-label");(function(G,W,H,ne,te,Z,X,Q){var re,ie,oe,ue,ce=l.aggNums(Math.min,null,H.a),ye=l.aggNums(Math.max,null,H.a),de=l.aggNums(Math.min,null,H.b),me=l.aggNums(Math.max,null,H.b);re=.5*(ce+ye),ie=de,oe=H.ab2xy(re,ie,!0),ue=H.dxyda_rough(re,ie),X.angle===void 0&&l.extendFlat(X,g(H,te,Z,oe,H.dxydb_rough(re,ie))),w(G,W,H,0,oe,ue,H.aaxis,te,Z,X,"a-title"),re=ce,ie=.5*(de+me),oe=H.ab2xy(re,ie,!0),ue=H.dxydb_rough(re,ie),Q.angle===void 0&&l.extendFlat(Q,g(H,te,Z,oe,H.dxyda_rough(re,ie))),w(G,W,H,0,oe,ue,H.baxis,te,Z,Q,"b-title")})(v,j,R,0,_,A,$,U),function(G,W,H,ne,te){var Z,X,Q,re,ie=H.select("#"+G._clipPathId);ie.size()||(ie=H.append("clipPath").classed("carpetclip",!0));var oe=l.ensureSingle(ie,"path","carpetboundary"),ue=W.clipsegments,ce=[];for(re=0;re90&&q<270,$=d.select(this);$.text(A.title.text).call(h.convertToTspans,v),j&&(F=(-h.lineCount($)+p)*c*N-F),$.attr("transform",u(B.p[0],B.p[1])+a(B.angle)+u(0,F)).attr("text-anchor","middle").call(y.font,A.title.font)}),D.exit().remove()}},11435:function(k,m,t){var d=t(35509),y=t(65888).findBin,i=t(45664),M=t(20349),g=t(54495),h=t(73057);k.exports=function(l){var a=l._a,u=l._b,o=a.length,s=u.length,f=l.aaxis,c=l.baxis,p=a[0],w=a[o-1],v=u[0],S=u[s-1],x=a[a.length-1]-a[0],T=u[u.length-1]-u[0],C=x*d.RELATIVE_CULL_TOLERANCE,_=T*d.RELATIVE_CULL_TOLERANCE;p-=C,w+=C,v-=_,S+=_,l.isVisible=function(A,L){return A>p&&Av&&Lw||LS},l.setScale=function(){var A=l._x,L=l._y,b=i(l._xctrl,l._yctrl,A,L,f.smoothing,c.smoothing);l._xctrl=b[0],l._yctrl=b[1],l.evalxy=M([l._xctrl,l._yctrl],o,s,f.smoothing,c.smoothing),l.dxydi=g([l._xctrl,l._yctrl],f.smoothing,c.smoothing),l.dxydj=h([l._xctrl,l._yctrl],f.smoothing,c.smoothing)},l.i2a=function(A){var L=Math.max(0,Math.floor(A[0]),o-2),b=A[0]-L;return(1-b)*a[L]+b*a[L+1]},l.j2b=function(A){var L=Math.max(0,Math.floor(A[1]),o-2),b=A[1]-L;return(1-b)*u[L]+b*u[L+1]},l.ij2ab=function(A){return[l.i2a(A[0]),l.j2b(A[1])]},l.a2i=function(A){var L=Math.max(0,Math.min(y(A,a),o-2)),b=a[L],O=a[L+1];return Math.max(0,Math.min(o-1,L+(A-b)/(O-b)))},l.b2j=function(A){var L=Math.max(0,Math.min(y(A,u),s-2)),b=u[L],O=u[L+1];return Math.max(0,Math.min(s-1,L+(A-b)/(O-b)))},l.ab2ij=function(A){return[l.a2i(A[0]),l.b2j(A[1])]},l.i2c=function(A,L){return l.evalxy([],A,L)},l.ab2xy=function(A,L,b){if(!b&&(Aa[o-1]|Lu[s-1]))return[!1,!1];var O=l.a2i(A),I=l.b2j(L),R=l.evalxy([],O,I);if(b){var D,F,B,N,q=0,j=0,$=[];Aa[o-1]?(D=o-2,F=1,q=(A-a[o-1])/(a[o-1]-a[o-2])):F=O-(D=Math.max(0,Math.min(o-2,Math.floor(O)))),Lu[s-1]?(B=s-2,N=1,j=(L-u[s-1])/(u[s-1]-u[s-2])):N=I-(B=Math.max(0,Math.min(s-2,Math.floor(I)))),q&&(l.dxydi($,D,B,F,N),R[0]+=$[0]*q,R[1]+=$[1]*q),j&&(l.dxydj($,D,B,F,N),R[0]+=$[0]*j,R[1]+=$[1]*j)}return R},l.c2p=function(A,L,b){return[L.c2p(A[0]),b.c2p(A[1])]},l.p2x=function(A,L,b){return[L.p2c(A[0]),b.p2c(A[1])]},l.dadi=function(A){var L=Math.max(0,Math.min(a.length-2,A));return a[L+1]-a[L]},l.dbdj=function(A){var L=Math.max(0,Math.min(u.length-2,A));return u[L+1]-u[L]},l.dxyda=function(A,L,b,O){var I=l.dxydi(null,A,L,b,O),R=l.dadi(A,b);return[I[0]/R,I[1]/R]},l.dxydb=function(A,L,b,O){var I=l.dxydj(null,A,L,b,O),R=l.dbdj(L,O);return[I[0]/R,I[1]/R]},l.dxyda_rough=function(A,L,b){var O=x*(b||.1),I=l.ab2xy(A+O,L,!0),R=l.ab2xy(A-O,L,!0);return[.5*(I[0]-R[0])/O,.5*(I[1]-R[1])/O]},l.dxydb_rough=function(A,L,b){var O=T*(b||.1),I=l.ab2xy(A,L+O,!0),R=l.ab2xy(A,L-O,!0);return[.5*(I[0]-R[0])/O,.5*(I[1]-R[1])/O]},l.dpdx=function(A){return A._m},l.dpdy=function(A){return A._m}}},72505:function(k,m,t){var d=t(71828);k.exports=function(y,i,M){var g,h,l,a=[],u=[],o=y[0].length,s=y.length;function f(G,W){var H,ne=0,te=0;return G>0&&(H=y[W][G-1])!==void 0&&(te++,ne+=H),G0&&(H=y[W-1][G])!==void 0&&(te++,ne+=H),W0&&h0&&g1e-5);return d.log("Smoother converged to",O,"after",I,"iterations"),y}},19237:function(k,m,t){var d=t(71828).isArray1D;k.exports=function(y,i,M){var g=M("x"),h=g&&g.length,l=M("y"),a=l&&l.length;if(!h&&!a)return!1;if(i._cheater=!g,h&&!d(g)||a&&!d(l))i._length=null;else{var u=h?g.length:1/0;a&&(u=Math.min(u,l.length)),i.a&&i.a.length&&(u=Math.min(u,i.a.length)),i.b&&i.b.length&&(u=Math.min(u,i.b.length)),i._length=u}return!0}},69568:function(k,m,t){var d=t(5386).fF,y=t(19316),i=t(50693),M=t(9012),g=t(22399).defaultLine,h=t(1426).extendFlat,l=y.marker.line;k.exports=h({locations:{valType:"data_array",editType:"calc"},locationmode:y.locationmode,z:{valType:"data_array",editType:"calc"},geojson:h({},y.geojson,{}),featureidkey:y.featureidkey,text:h({},y.text,{}),hovertext:h({},y.hovertext,{}),marker:{line:{color:h({},l.color,{dflt:g}),width:h({},l.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:y.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:y.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:h({},M.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:d(),showlegend:h({},M.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(k,m,t){var d=t(92770),y=t(50606).BADNUM,i=t(78803),M=t(75225),g=t(66279);function h(l){return l&&typeof l=="string"}k.exports=function(l,a){var u,o=a._length,s=new Array(o);u=a.geojson?function(v){return h(v)||d(v)}:h;for(var f=0;f")}}(M,f,l),[M]}},51319:function(k,m,t){k.exports={attributes:t(69568),supplyDefaults:t(61869),colorbar:t(61243),calc:t(38675),calcGeoJSON:t(99841).calcGeoJSON,plot:t(99841).plot,style:t(99636).style,styleOnSelect:t(99636).styleOnSelect,hoverPoints:t(42300),eventData:t(92069),selectPoints:t(81253),moduleType:"trace",name:"choropleth",basePlotModule:t(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(k,m,t){var d=t(39898),y=t(71828),i=t(41327),M=t(90973).getTopojsonFeatures,g=t(71739).findExtremes,h=t(99636).style;k.exports={calcGeoJSON:function(l,a){for(var u=l[0].trace,o=a[u.geo],s=o._subplot,f=u.locationmode,c=u._length,p=f==="geojson-id"?i.extractTraceFeature(l):M(u,s.topojson),w=[],v=[],S=0;S=0;M--){var g=i[M].id;if(typeof g=="string"&&g.indexOf("water")===0){for(var h=M+1;h=0;a--)h.removeLayer(l[a][1])},g.dispose=function(){var h=this.subplot.map;this._removeLayers(),h.removeSource(this.sourceId)},k.exports=function(h,l){var a=l[0].trace,u=new M(h,a.uid),o=u.sourceId,s=d(l),f=u.below=h.belowLookup["trace-"+a.uid];return h.map.addSource(o,{type:"geojson",data:s.geojson}),u._addLayers(s,f),l[0].trace._glTrace=u,u}},12674:function(k,m,t){var d=t(50693),y=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),g=t(9012),h=t(1426).extendFlat,l={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"},{keys:["norm"]}),uhoverformat:y("u",1),vhoverformat:y("v",1),whoverformat:y("w",1),xhoverformat:y("x"),yhoverformat:y("y"),zhoverformat:y("z"),showlegend:h({},g.showlegend,{dflt:!1})};h(l,d("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach(function(a){l[a]=M[a]}),l.hoverinfo=h({},g.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),l.transforms=void 0,k.exports=l},31371:function(k,m,t){var d=t(78803);k.exports=function(y,i){for(var M=i.u,g=i.v,h=i.w,l=Math.min(i.x.length,i.y.length,i.z.length,M.length,g.length,h.length),a=-1/0,u=1/0,o=0;og.level||g.starts.length&&M===g.level)}break;case"constraint":if(y.prefixBoundary=!1,y.edgepaths.length)return;var h=y.x.length,l=y.y.length,a=-1/0,u=1/0;for(d=0;d":f>a&&(y.prefixBoundary=!0);break;case"<":(fa||y.starts.length&&s===u)&&(y.prefixBoundary=!0);break;case"][":o=Math.min(f[0],f[1]),s=Math.max(f[0],f[1]),oa&&(y.prefixBoundary=!0)}}}},90654:function(k,m,t){var d=t(21081),y=t(86068),i=t(53572);k.exports={min:"zmin",max:"zmax",calc:function(M,g,h){var l=g.contours,a=g.line,u=l.size||1,o=l.coloring,s=y(g,{isColorbar:!0});if(o==="heatmap"){var f=d.extractOpts(g);h._fillgradient=f.reversescale?d.flipScale(f.colorscale):f.colorscale,h._zrange=[f.min,f.max]}else o==="fill"&&(h._fillcolor=s);h._line={color:o==="lines"?s:a.color,width:l.showlines!==!1?a.width:0,dash:a.dash},h._levels={start:l.start,end:i(l),size:u}}}},36914:function(k){k.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},83179:function(k,m,t){var d=t(92770),y=t(14523),i=t(7901),M=i.addOpacity,g=i.opacity,h=t(74808),l=h.CONSTRAINT_REDUCTION,a=h.COMPARISON_OPS2;k.exports=function(u,o,s,f,c,p){var w,v,S,x=o.contours,T=s("contours.operation");x._operation=l[T],function(C,_){var A;a.indexOf(_.operation)===-1?(C("contours.value",[0,1]),Array.isArray(_.value)?_.value.length>2?_.value=_.value.slice(2):_.length===0?_.value=[0,1]:_.length<2?(A=parseFloat(_.value[0]),_.value=[A,A+1]):_.value=[parseFloat(_.value[0]),parseFloat(_.value[1])]:d(_.value)&&(A=parseFloat(_.value),_.value=[A,A+1])):(C("contours.value",0),d(_.value)||(Array.isArray(_.value)?_.value=parseFloat(_.value[0]):_.value=0))}(s,x),T==="="?w=x.showlines=!0:(w=s("contours.showlines"),S=s("fillcolor",M((u.line||{}).color||c,.5))),w&&(v=s("line.color",S&&g(S)?M(o.fillcolor,1):c),s("line.width",2),s("line.dash")),s("line.smoothing"),y(s,f,v,p)}},64237:function(k,m,t){var d=t(74808),y=t(92770);function i(h,l){var a,u=Array.isArray(l);function o(s){return y(s)?+s:null}return d.COMPARISON_OPS2.indexOf(h)!==-1?a=o(u?l[0]:l):d.INTERVAL_OPS.indexOf(h)!==-1?a=u?[o(l[0]),o(l[1])]:[o(l),o(l)]:d.SET_OPS.indexOf(h)!==-1&&(a=u?l.map(o):[o(l)]),a}function M(h){return function(l){l=i(h,l);var a=Math.min(l[0],l[1]),u=Math.max(l[0],l[1]);return{start:a,end:u,size:u-a}}}function g(h){return function(l){return{start:l=i(h,l),end:1/0,size:1/0}}}k.exports={"[]":M("[]"),"][":M("]["),">":g(">"),"<":g("<"),"=":g("=")}},67217:function(k){k.exports=function(m,t,d,y){var i=y("contours.start"),M=y("contours.end"),g=i===!1||M===!1,h=d("contours.size");!(g?t.autocontour=!0:d("autocontour",!1))&&h||d("ncontours")}},84857:function(k,m,t){var d=t(71828);function y(i){return d.extendFlat({},i,{edgepaths:d.extendDeep([],i.edgepaths),paths:d.extendDeep([],i.paths),starts:d.extendDeep([],i.starts)})}k.exports=function(i,M){var g,h,l,a=function(s){return s.reverse()},u=function(s){return s};switch(M){case"=":case"<":return i;case">":for(i.length!==1&&d.warn("Contour data invalid for the specified inequality operation."),h=i[0],g=0;g1e3){d.warn("Too many contours, clipping at 1000",M);break}return u}},53572:function(k){k.exports=function(m){return m.end+m.size/1e6}},81696:function(k,m,t){var d=t(71828),y=t(36914);function i(h,l,a,u){return Math.abs(h[0]-l[0])20&&oe?ie===208||ie===1114?ce=ue[0]===0?1:-1:ye=ue[1]===0?1:-1:y.BOTTOMSTART.indexOf(ie)!==-1?ye=1:y.LEFTSTART.indexOf(ie)!==-1?ce=1:y.TOPSTART.indexOf(ie)!==-1?ye=-1:ce=-1,[ce,ye]}(c,a,l),w=[g(h,l,[-p[0],-p[1]])],v=h.z.length,S=h.z[0].length,x=l.slice(),T=p.slice();for(s=0;s<1e4;s++){if(c>20?(c=y.CHOOSESADDLE[c][(p[0]||p[1])<0?0:1],h.crossings[f]=y.SADDLEREMAINDER[c]):delete h.crossings[f],!(p=y.NEWDELTA[c])){d.log("Found bad marching index:",c,l,h.level);break}w.push(g(h,l,p)),l[0]+=p[0],l[1]+=p[1],f=l.join(","),i(w[w.length-1],w[w.length-2],u,o)&&w.pop();var C=p[0]&&(l[0]<0||l[0]>S-2)||p[1]&&(l[1]<0||l[1]>v-2);if(l[0]===x[0]&&l[1]===x[1]&&p[0]===T[0]&&p[1]===T[1]||a&&C)break;c=h.crossings[f]}s===1e4&&d.log("Infinite loop in contour?");var _,A,L,b,O,I,R,D,F,B,N,q,j,$,U,G=i(w[0],w[w.length-1],u,o),W=0,H=.2*h.smoothing,ne=[],te=0;for(s=1;s=te;s--)if((_=ne[s])=te&&_+ne[A]D&&F--,h.edgepaths[F]=N.concat(w,B));break}re||(h.edgepaths[D]=w.concat(B))}for(D=0;Di?0:1)+(M[0][1]>i?0:2)+(M[1][1]>i?0:4)+(M[1][0]>i?0:8);return g===5||g===10?i>(M[0][0]+M[0][1]+M[1][0]+M[1][1])/4?g===5?713:1114:g===5?104:208:g===15?0:g}k.exports=function(i){var M,g,h,l,a,u,o,s,f,c=i[0].z,p=c.length,w=c[0].length,v=p===2||w===2;for(g=0;g=0&&(A=U,b=O):Math.abs(_[1]-A[1])<.01?Math.abs(_[1]-U[1])<.01&&(U[0]-_[0])*(A[0]-U[0])>=0&&(A=U,b=O):y.log("endpt to newendpt is not vert. or horz.",_,A,U)}if(_=A,b>=0)break;D+="L"+A}if(b===T.edgepaths.length){y.log("unclosed perimeter path");break}F=b,(N=B.indexOf(F)===-1)&&(F=B[0],D+="Z")}for(F=0;FA.center?A.right-O:O-A.left)/(D+Math.abs(Math.sin(R)*b)),N=(I>A.middle?A.bottom-I:I-A.top)/(Math.abs(F)+Math.cos(R)*b);if(B<1||N<1)return 1/0;var q=w.EDGECOST*(1/(B-1)+1/(N-1));q+=w.ANGLECOST*R*R;for(var j=O-D,$=I-F,U=O+D,G=I+F,W=0;W<_.length;W++){var H=_[W],ne=Math.cos(H.theta)*H.width/2,te=Math.sin(H.theta)*H.width/2,Z=2*y.segmentDistance(j,$,U,G,H.x-ne,H.y-te,H.x+ne,H.y+te)/(C.height+H.height),X=H.level===C.level,Q=X?w.SAMELEVELDISTANCE:1;if(Z<=Q)return 1/0;q+=w.NEIGHBORCOST*(X?w.SAMELEVELFACTOR:1)/(Z-Q)}return q}function x(T){var C,_,A=T.trace._emptypoints,L=[],b=T.z.length,O=T.z[0].length,I=[];for(C=0;C2*w.MAXCOST)break;N&&(O/=2),I=(b=R-O/2)+1.5*O}if(B<=w.MAXCOST)return D},m.addLabelData=function(T,C,_,A){var L=C.fontSize,b=C.width+L/3,O=Math.max(0,C.height-L/3),I=T.x,R=T.y,D=T.theta,F=Math.sin(D),B=Math.cos(D),N=function(j,$){return[I+j*B-$*F,R+j*F+$*B]},q=[N(-b/2,-O/2),N(-b/2,O/2),N(b/2,O/2),N(b/2,-O/2)];_.push({text:C.text,x:I,y:R,dy:C.dy,theta:D,level:C.level,width:b,height:O}),A.push(q)},m.drawLabels=function(T,C,_,A,L){var b=T.selectAll("text").data(C,function(R){return R.text+","+R.x+","+R.y+","+R.theta});if(b.exit().remove(),b.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(R){var D=R.x+Math.sin(R.theta)*R.dy,F=R.y-Math.cos(R.theta)*R.dy;d.select(this).text(R.text).attr({x:D,y:F,transform:"rotate("+180*R.theta/Math.PI+" "+D+" "+F+")"}).call(g.convertToTspans,_)}),L){for(var O="",I=0;Ih.end&&(h.start=h.end=(h.start+h.end)/2),M._input.contours||(M._input.contours={}),y.extendFlat(M._input.contours,{start:h.start,end:h.end,size:h.size}),M._input.autocontour=!0}else if(h.type!=="constraint"){var o,s=h.start,f=h.end,c=M._input.contours;s>f&&(h.start=c.start=f,f=h.end=c.end=s,s=h.start),h.size>0||(o=s===f?1:i(s,f,M.ncontours).dtick,c.size=h.size=o)}}},84426:function(k,m,t){var d=t(39898),y=t(91424),i=t(70035),M=t(86068);k.exports=function(g){var h=d.select(g).selectAll("g.contour");h.style("opacity",function(l){return l[0].trace.opacity}),h.each(function(l){var a=d.select(this),u=l[0].trace,o=u.contours,s=u.line,f=o.size||1,c=o.start,p=o.type==="constraint",w=!p&&o.coloring==="lines",v=!p&&o.coloring==="fill",S=w||v?M(u):null;a.selectAll("g.contourlevel").each(function(C){d.select(this).selectAll("path").call(y.lineGroupStyle,s.width,w?S(C.level):s.color,s.dash)});var x=o.labelfont;if(a.selectAll("g.contourlabels text").each(function(C){y.font(d.select(this),{family:x.family,size:x.size,color:x.color||(w?S(C.level):s.color)})}),p)a.selectAll("g.contourfill path").style("fill",u.fillcolor);else if(v){var T;a.selectAll("g.contourfill path").style("fill",function(C){return T===void 0&&(T=C.level),S(C.level+.5*f)}),T===void 0&&(T=c),a.selectAll("g.contourbg path").style("fill",S(T-.5*f))}}),i(g)}},8724:function(k,m,t){var d=t(1586),y=t(14523);k.exports=function(i,M,g,h,l){var a,u=g("contours.coloring"),o="";u==="fill"&&(a=g("contours.showlines")),a!==!1&&(u!=="lines"&&(o=g("line.color","#000")),g("line.width",.5),g("line.dash")),u!=="none"&&(i.showlegend!==!0&&(M.showlegend=!1),M._dfltShowLegend=!1,d(i,M,h,g,{prefix:"",cLetter:"z"})),g("line.smoothing"),y(g,h,o,l)}},88085:function(k,m,t){var d=t(21606),y=t(70600),i=t(50693),M=t(1426).extendFlat,g=y.contours;k.exports=M({carpet:{valType:"string",editType:"calc"},z:d.z,a:d.x,a0:d.x0,da:d.dx,b:d.y,b0:d.y0,db:d.dy,text:d.text,hovertext:d.hovertext,transpose:d.transpose,atype:d.xtype,btype:d.ytype,fillcolor:y.fillcolor,autocontour:y.autocontour,ncontours:y.ncontours,contours:{type:g.type,start:g.start,end:g.end,size:g.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:g.showlines,showlabels:g.showlabels,labelfont:g.labelfont,labelformat:g.labelformat,operation:g.operation,value:g.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:y.line.color,width:y.line.width,dash:y.line.dash,smoothing:y.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},59885:function(k,m,t){var d=t(78803),y=t(71828),i=t(68296),M=t(4742),g=t(824),h=t(43907),l=t(70769),a=t(75005),u=t(22882),o=t(18670);k.exports=function(s,f){var c=f._carpetTrace=u(s,f);if(c&&c.visible&&c.visible!=="legendonly"){if(!f.a||!f.b){var p=s.data[c.index],w=s.data[f.index];w.a||(w.a=p.a),w.b||(w.b=p.b),a(w,f,f._defaultColor,s._fullLayout)}var v=function(S,x){var T,C,_,A,L,b,O,I=x._carpetTrace,R=I.aaxis,D=I.baxis;R._minDtick=0,D._minDtick=0,y.isArray1D(x.z)&&i(x,R,D,"a","b",["z"]),T=x._a=x._a||x.a,A=x._b=x._b||x.b,T=T?R.makeCalcdata(x,"_a"):[],A=A?D.makeCalcdata(x,"_b"):[],C=x.a0||0,_=x.da||1,L=x.b0||0,b=x.db||1,O=x._z=M(x._z||x.z,x.transpose),x._emptypoints=h(O),g(O,x._emptypoints);var F=y.maxRowLength(O),B=x.xtype==="scaled"?"":T,N=l(x,B,C,_,F,R),q=x.ytype==="scaled"?"":A,j={a:N,b:l(x,q,L,b,O.length,D),z:O};return x.contours.type==="levels"&&x.contours.coloring!=="none"&&d(S,x,{vals:O,containerStr:"",cLetter:"z"}),[j]}(s,f);return o(f,f._z),v}}},75005:function(k,m,t){var d=t(71828),y=t(67684),i=t(88085),M=t(83179),g=t(67217),h=t(8724);k.exports=function(l,a,u,o){function s(f,c){return d.coerce(l,a,i,f,c)}if(s("carpet"),l.a&&l.b){if(!y(l,a,s,o,"a","b"))return void(a.visible=!1);s("text"),s("contours.type")==="constraint"?M(l,a,s,o,u,{hasHover:!1}):(g(l,a,s,function(f){return d.coerce2(l,a,i,f)}),h(l,a,s,o,{hasHover:!1}))}else a._defaultColor=u,a._length=null}},93740:function(k,m,t){k.exports={attributes:t(88085),supplyDefaults:t(75005),colorbar:t(90654),calc:t(59885),plot:t(51048),style:t(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:t(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(k,m,t){var d=t(39898),y=t(27669),i=t(67961),M=t(91424),g=t(71828),h=t(87678),l=t(81696),a=t(29854),u=t(36914),o=t(84857),s=t(87558),f=t(20083),c=t(22882),p=t(4536);function w(x,T,C){var _=x.getPointAtLength(T),A=x.getPointAtLength(C),L=A.x-_.x,b=A.y-_.y,O=Math.sqrt(L*L+b*b);return[L/O,b/O]}function v(x){var T=Math.sqrt(x[0]*x[0]+x[1]*x[1]);return[x[0]/T,x[1]/T]}function S(x,T){var C=Math.abs(x[0]*T[0]+x[1]*T[1]);return Math.sqrt(1-C*C)/C}k.exports=function(x,T,C,_){var A=T.xaxis,L=T.yaxis;g.makeTraceGroups(_,C,"contour").each(function(b){var O=d.select(this),I=b[0],R=I.trace,D=R._carpetTrace=c(x,R),F=x.calcdata[D.index][0];if(D.visible&&D.visible!=="legendonly"){var B=I.a,N=I.b,q=R.contours,j=s(q,T,I),$=q.type==="constraint",U=q._operation,G=$?U==="="?"lines":"fill":q.coloring,W=[[B[0],N[N.length-1]],[B[B.length-1],N[N.length-1]],[B[B.length-1],N[0]],[B[0],N[0]]];h(j);var H=1e-8*(B[B.length-1]-B[0]),ne=1e-8*(N[N.length-1]-N[0]);l(j,H,ne);var te,Z,X,Q,re=j;q.type==="constraint"&&(re=o(j,U)),function(ce,ye){var de,me,pe,xe,Pe,_e,Me,Se,Ce;for(de=0;de=0;Q--)te=F.clipsegments[Q],Z=y([],te.x,A.c2p),X=y([],te.y,L.c2p),Z.reverse(),X.reverse(),ie.push(i(Z,X,te.bicubic));var oe="M"+ie.join("L")+"Z";(function(ce,ye,de,me,pe,xe){var Pe,_e,Me,Se,Ce=g.ensureSingle(ce,"g","contourbg").selectAll("path").data(xe!=="fill"||pe?[]:[0]);Ce.enter().append("path"),Ce.exit().remove();var ae=[];for(Se=0;Se=0&&(st=ht,ft=bt):Math.abs(Ye[1]-st[1])=0&&(st=ht,ft=bt):g.log("endpt to newendpt is not vert. or horz.",Ye,st,ht)}if(ft>=0)break;kt+=We(Ye,st),Ye=st}if(ft===Be.edgepaths.length){g.log("unclosed perimeter path");break}$e=ft,(Ft=xt.indexOf($e)===-1)&&($e=xt[0],kt+=We(Ye,st)+"Z",Ye=null)}for($e=0;$eLt&&(Ke.max=Lt),Ke.len=Ke.max-Ke.min}function yt(Pt,wt){var Ot,Nt=0,Yt=.1;return(Math.abs(Pt[0]-Oe)0?+p[s]:0),f.push({type:"Feature",geometry:{type:"Point",coordinates:x},properties:T})}}var _=M.extractOpts(a),A=_.reversescale?M.flipScale(_.colorscale):_.colorscale,L=A[0][1],b=["interpolate",["linear"],["heatmap-density"],0,i.opacity(L)<1?L:i.addOpacity(L,0)];for(s=1;s=0;l--)g.removeLayer(h[l][1])},M.dispose=function(){var g=this.subplot.map;this._removeLayers(),g.removeSource(this.sourceId)},k.exports=function(g,h){var l=h[0].trace,a=new i(g,l.uid),u=a.sourceId,o=d(h),s=a.below=g.belowLookup["trace-"+l.uid];return g.map.addSource(u,{type:"geojson",data:o.geojson}),a._addLayers(o,s),a}},49789:function(k,m,t){var d=t(71828);k.exports=function(y,i){for(var M=0;M"),u.color=function(T,C){var _=T.marker,A=C.mc||_.color,L=C.mlc||_.line.color,b=C.mlw||_.line.width;return d(A)?A:d(L)&&b?L:void 0}(s,c),[u]}}},51759:function(k,m,t){k.exports={attributes:t(1285),layoutAttributes:t(10440),supplyDefaults:t(26199).supplyDefaults,crossTraceDefaults:t(26199).crossTraceDefaults,supplyLayoutDefaults:t(93138),calc:t(9532),crossTraceCalc:t(8984),plot:t(80461),style:t(68266).style,hoverPoints:t(63341),eventData:t(34598),selectPoints:t(81974),moduleType:"trace",name:"funnel",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(k){k.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},93138:function(k,m,t){var d=t(71828),y=t(10440);k.exports=function(i,M,g){var h=!1;function l(o,s){return d.coerce(i,M,y,o,s)}for(var a=0;a path").each(function(w){if(!w.isBlank){var v=p.marker;d.select(this).call(i.fill,w.mc||v.color).call(i.stroke,w.mlc||v.line.color).call(y.dashLine,v.line.dash,w.mlw||v.line.width).style("opacity",p.selectedpoints&&!w.selected?M:1)}}),l(c,p,a),c.selectAll(".regions").each(function(){d.select(this).selectAll("path").style("stroke-width",0).call(i.fill,p.connector.fillcolor)}),c.selectAll(".lines").each(function(){var w=p.connector.line;y.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},86807:function(k,m,t){var d=t(34e3),y=t(9012),i=t(27670).Y,M=t(5386).fF,g=t(5386).si,h=t(1426).extendFlat;k.exports={labels:d.labels,label0:d.label0,dlabel:d.dlabel,values:d.values,marker:{colors:d.marker.colors,line:{color:h({},d.marker.line.color,{dflt:null}),width:h({},d.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:d.text,hovertext:d.hovertext,scalegroup:h({},d.scalegroup,{}),textinfo:h({},d.textinfo,{flags:["label","text","value","percent"]}),texttemplate:g({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:h({},y.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:M({},{keys:["label","color","value","text","percent"]}),textposition:h({},d.textposition,{values:["inside","none"],dflt:"inside"}),textfont:d.textfont,insidetextfont:d.insidetextfont,title:{text:d.title.text,font:d.title.font,position:h({},d.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},6452:function(k,m,t){var d=t(74875);m.name="funnelarea",m.plot=function(y,i,M,g){d.plotBasePlot(m.name,y,i,M,g)},m.clean=function(y,i,M,g){d.cleanBasePlot(m.name,y,i,M,g)}},89574:function(k,m,t){var d=t(32354);k.exports={calc:function(y,i){return d.calc(y,i)},crossTraceCalc:function(y){d.crossTraceCalc(y,{type:"funnelarea"})}}},86282:function(k,m,t){var d=t(71828),y=t(86807),i=t(27670).c,M=t(90769).handleText,g=t(37434).handleLabelsAndValues;k.exports=function(h,l,a,u){function o(T,C){return d.coerce(h,l,y,T,C)}var s=o("labels"),f=o("values"),c=g(s,f),p=c.len;if(l._hasLabels=c.hasLabels,l._hasValues=c.hasValues,!l._hasLabels&&l._hasValues&&(o("label0"),o("dlabel")),p){l._length=p,o("marker.line.width")&&o("marker.line.color",u.paper_bgcolor),o("marker.colors"),o("scalegroup");var w,v=o("text"),S=o("texttemplate");if(S||(w=o("textinfo",Array.isArray(v)?"text+percent":"percent")),o("hovertext"),o("hovertemplate"),S||w&&w!=="none"){var x=o("textposition");M(h,l,u,o,x,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(l,u,o),o("title.text")&&(o("title.position"),d.coerceFont(o,"title.font",u.font)),o("aspectratio"),o("baseratio")}else l.visible=!1}},10421:function(k,m,t){k.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t(6452),categories:["pie-like","funnelarea","showLegend"],attributes:t(86807),layoutAttributes:t(80097),supplyDefaults:t(86282),supplyLayoutDefaults:t(57402),calc:t(89574).calc,crossTraceCalc:t(89574).crossTraceCalc,plot:t(79187),style:t(71858),styleOne:t(63463),meta:{}}},80097:function(k,m,t){var d=t(92774).hiddenlabels;k.exports={hiddenlabels:d,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(k,m,t){var d=t(71828),y=t(80097);k.exports=function(i,M){function g(h,l){return d.coerce(i,M,y,h,l)}g("hiddenlabels"),g("funnelareacolorway",M.colorway),g("extendfunnelareacolors")}},79187:function(k,m,t){var d=t(39898),y=t(91424),i=t(71828),M=i.strScale,g=i.strTranslate,h=t(63893),l=t(17295).toMoveInsideBar,a=t(72597),u=a.recordMinTextSize,o=a.clearMinTextSize,s=t(53581),f=t(14575),c=f.attachFxHandlers,p=f.determineInsideTextFont,w=f.layoutAreas,v=f.prerenderTitles,S=f.positionTitleOutside,x=f.formatSliceLabel;function T(C,_){return"l"+(_[0]-C[0])+","+(_[1]-C[1])}k.exports=function(C,_){var A=C._context.staticPlot,L=C._fullLayout;o("funnelarea",L),v(_,C),w(_,L._size),i.makeTraceGroups(L._funnelarealayer,_,"trace").each(function(b){var O=d.select(this),I=b[0],R=I.trace;(function(D){if(D.length){var F=D[0],B=F.trace,N=B.aspectratio,q=B.baseratio;q>.999&&(q=.999);var j,$,U,G=Math.pow(q,2),W=F.vTotal,H=W,ne=W*G/(1-G)/W,te=[];for(te.push(Me()),$=D.length-1;$>-1;$--)if(!(U=D[$]).hidden){var Z=U.v/H;ne+=Z,te.push(Me())}var X=1/0,Q=-1/0;for($=0;$-1;$--)if(!(U=D[$]).hidden){var Pe=te[xe+=1][0],_e=te[xe][1];U.TL=[-Pe,_e],U.TR=[Pe,_e],U.BL=me,U.BR=pe,U.pxmid=(ye=U.TR,de=U.BR,[.5*(ye[0]+de[0]),.5*(ye[1]+de[1])]),me=U.TL,pe=U.TR}}function Me(){var Se,Ce={x:Se=Math.sqrt(ne),y:-Se};return[Ce.x,Ce.y]}})(b),O.each(function(){var D=d.select(this).selectAll("g.slice").data(b);D.enter().append("g").classed("slice",!0),D.exit().remove(),D.each(function(B,N){if(B.hidden)d.select(this).selectAll("path,g").remove();else{B.pointNumber=B.i,B.curveNumber=R.index;var q=I.cx,j=I.cy,$=d.select(this),U=$.selectAll("path.surface").data([B]);U.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),$.call(c,C,b);var G="M"+(q+B.TR[0])+","+(j+B.TR[1])+T(B.TR,B.BR)+T(B.BR,B.BL)+T(B.BL,B.TL)+"Z";U.attr("d",G),x(C,B,I);var W=s.castOption(R.textposition,B.pts),H=$.selectAll("g.slicetext").data(B.text&&W!=="none"?[0]:[]);H.enter().append("g").classed("slicetext",!0),H.exit().remove(),H.each(function(){var ne=i.ensureSingle(d.select(this),"text","",function(ue){ue.attr("data-notex",1)}),te=i.ensureUniformFontSize(C,p(R,B,L.font));ne.text(B.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(y.font,te).call(h.convertToTspans,C);var Z,X,Q,re=y.bBox(ne.node()),ie=Math.min(B.BL[1],B.BR[1])+j,oe=Math.max(B.TL[1],B.TR[1])+j;X=Math.max(B.TL[0],B.BL[0])+q,Q=Math.min(B.TR[0],B.BR[0])+q,(Z=l(X,Q,ie,oe,re,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=te.size,u(R.type,Z,L),b[N].transform=Z,i.setTransormAndDisplay(ne,Z)})}});var F=d.select(this).selectAll("g.titletext").data(R.title.text?[0]:[]);F.enter().append("g").classed("titletext",!0),F.exit().remove(),F.each(function(){var B=i.ensureSingle(d.select(this),"text","",function(j){j.attr("data-notex",1)}),N=R.title.text;R._meta&&(N=i.templateString(N,R._meta)),B.text(N).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(y.font,R.title.font).call(h.convertToTspans,C);var q=S(I,L._size);B.attr("transform",g(q.x,q.y)+M(Math.min(1,q.scale))+g(q.tx,q.ty))})})})}},71858:function(k,m,t){var d=t(39898),y=t(63463),i=t(72597).resizeText;k.exports=function(M){var g=M._fullLayout._funnelarealayer.selectAll(".trace");i(M,g,"funnelarea"),g.each(function(h){var l=h[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(y,u,l)})})}},21606:function(k,m,t){var d=t(82196),y=t(9012),i=t(41940),M=t(12663).axisHoverFormat,g=t(5386).fF,h=t(5386).si,l=t(50693),a=t(1426).extendFlat;k.exports=a({z:{valType:"data_array",editType:"calc"},x:a({},d.x,{impliedEdits:{xtype:"array"}}),x0:a({},d.x0,{impliedEdits:{xtype:"scaled"}}),dx:a({},d.dx,{impliedEdits:{xtype:"scaled"}}),y:a({},d.y,{impliedEdits:{ytype:"array"}}),y0:a({},d.y0,{impliedEdits:{ytype:"scaled"}}),dy:a({},d.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:a({},d.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:a({},d.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:a({},d.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:a({},d.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:a({},d.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:a({},d.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:M("x"),yhoverformat:M("y"),zhoverformat:M("z",1),hovertemplate:g(),texttemplate:h({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:a({},y.showlegend,{dflt:!1})},{transforms:void 0},l("",{cLetter:"z",autoColorDflt:!1}))},90757:function(k,m,t){var d=t(73972),y=t(71828),i=t(89298),M=t(42973),g=t(17562),h=t(78803),l=t(68296),a=t(4742),u=t(824),o=t(43907),s=t(70769),f=t(50606).BADNUM;function c(p){for(var w=[],v=p.length,S=0;SG){$("x scale is not linear");break}}if(C.length&&q==="fast"){var W=(C[C.length-1]-C[0])/(C.length-1),H=Math.abs(W/100);for(O=0;OH){$("y scale is not linear");break}}}}var ne=y.maxRowLength(b),te=w.xtype==="scaled"?"":v,Z=s(w,te,S,x,ne,R),X=w.ytype==="scaled"?"":C,Q=s(w,X,_,A,b.length,D);N||(w._extremes[R._id]=i.findExtremes(R,Z),w._extremes[D._id]=i.findExtremes(D,Q));var re={x:Z,y:Q,z:b,text:w._text||w.text,hovertext:w._hovertext||w.hovertext};if(w.xperiodalignment&&T&&(re.orig_x=T),w.yperiodalignment&&L&&(re.orig_y=L),te&&te.length===Z.length-1&&(re.xCenter=te),X&&X.length===Q.length-1&&(re.yCenter=X),B&&(re.xRanges=I.xRanges,re.yRanges=I.yRanges,re.pts=I.pts),F||h(p,w,{vals:b,cLetter:"z"}),F&&w.contours&&w.contours.coloring==="heatmap"){var ie={type:w.type==="contour"?"heatmap":"histogram2d",xcalendar:w.xcalendar,ycalendar:w.ycalendar};re.xfill=s(ie,te,S,x,ne,R),re.yfill=s(ie,X,_,A,b.length,D)}return[re]}},4742:function(k,m,t){var d=t(92770),y=t(71828),i=t(50606).BADNUM;k.exports=function(M,g,h,l){var a,u,o,s,f,c;function p(C){if(d(C))return+C}if(g&&g.transpose){for(a=0,f=0;f=0;l--)(a=((f[[(M=(h=c[l])[0])-1,g=h[1]]]||v)[2]+(f[[M+1,g]]||v)[2]+(f[[M,g-1]]||v)[2]+(f[[M,g+1]]||v)[2])/20)&&(u[h]=[M,g,a],c.splice(l,1),o=!0);if(!o)throw"findEmpties iterated with no new neighbors";for(h in u)f[h]=u[h],s.push(u[h])}return s.sort(function(x,T){return T[2]-x[2]})}},46248:function(k,m,t){var d=t(30211),y=t(71828),i=t(89298),M=t(21081).extractOpts;k.exports=function(g,h,l,a,u){u||(u={});var o,s,f,c,p=u.isContour,w=g.cd[0],v=w.trace,S=g.xa,x=g.ya,T=w.x,C=w.y,_=w.z,A=w.xCenter,L=w.yCenter,b=w.zmask,O=v.zhoverformat,I=T,R=C;if(g.index!==!1){try{f=Math.round(g.index[1]),c=Math.round(g.index[0])}catch{return void y.error("Error hovering on heatmap, pointNumber must be [row,col], found:",g.index)}if(f<0||f>=_[0].length||c<0||c>_.length)return}else{if(d.inbox(h-T[0],h-T[T.length-1],0)>0||d.inbox(l-C[0],l-C[C.length-1],0)>0)return;if(p){var D;for(I=[2*T[0]-T[1]],D=1;DT&&(_=Math.max(_,Math.abs(g[u][o]-x)/(C-T))))}return _}k.exports=function(g,h){var l,a=1;for(M(g,h),l=0;l.01;l++)a=M(g,h,i(a));return a>.01&&d.log("interp2d didn't converge quickly",a),g}},58623:function(k,m,t){var d=t(71828);k.exports=function(y,i){y("texttemplate");var M=d.extendFlat({},i.font,{color:"auto",size:"auto"});d.coerceFont(y,"textfont",M)}},70769:function(k,m,t){var d=t(73972),y=t(71828).isArrayOrTypedArray;k.exports=function(i,M,g,h,l,a){var u,o,s,f=[],c=d.traceIs(i,"contour"),p=d.traceIs(i,"histogram"),w=d.traceIs(i,"gl2d");if(y(M)&&M.length>1&&!p&&a.type!=="category"){var v=M.length;if(!(v<=l))return c?M.slice(0,l):M.slice(0,l+1);if(c||w)f=M.slice(0,l);else if(l===1)f=[M[0]-.5,M[0]+.5];else{for(f=[1.5*M[0]-.5*M[1]],s=1;s0;)D=b.c2p(Z[q]),q--;for(D0;)N=O.c2p(X[q]),q--;if(Nqt||qt>O._length))for(j=wt;jQt||Qt>b._length)){var rn=a({x:Xt,y:Yt},W,C._fullLayout);rn.x=Xt,rn.y=Yt;var xn=G.z[q][j];xn===void 0?(rn.z="",rn.zLabel=""):(rn.z=xn,rn.zLabel=g.tickText(It,xn,"hover").text);var un=G.text&&G.text[q]&&G.text[q][j];un!==void 0&&un!==!1||(un=""),rn.text=un;var An=h.texttemplateString(dt,rn,C._fullLayout._d3locale,rn,W._meta||{});if(An){var Yn=An.split("
"),kn=Yn.length,sn=0;for($=0;$0&&(T=!0);for(var A=0;Ah){var l=h-M[y];return M[y]=h,l}}return 0},max:function(y,i,M,g){var h=g[i];if(d(h)){if(h=Number(h),!d(M[y]))return M[y]=h,h;if(M[y]l?c>M?c>1.1*y?y:c>1.1*i?i:M:c>g?g:c>h?h:l:Math.pow(10,Math.floor(Math.log(c)/Math.LN10))}function s(c,p,w,v,S,x){if(v&&c>M){var T=f(p,S,x),C=f(w,S,x),_=c===y?0:1;return T[_]!==C[_]}return Math.floor(w/c)-Math.floor(p/c)>.1}function f(c,p,w){var v=p.c2d(c,y,w).split("-");return v[0]===""&&(v.unshift(),v[0]="-"+v[0]),v}k.exports=function(c,p,w,v,S){var x,T,C=-1.1*p,_=-.1*p,A=c-_,L=w[0],b=w[1],O=Math.min(u(L+_,L+A,v,S),u(b+_,b+A,v,S)),I=Math.min(u(L+C,L+_,v,S),u(b+C,b+_,v,S));if(O>I&&IM){var R=x===y?1:6,D=x===y?"M12":"M1";return function(F,B){var N=v.c2d(F,y,S),q=N.indexOf("-",R);q>0&&(N=N.substr(0,q));var j=v.d2c(N,0,S);if(jc.r2l(re)&&(oe=M.tickIncrement(oe,I.size,!0,T)),te.start=c.l2r(oe),Q||y.nestedProperty(f,L+".start").set(te.start)}var ue=I.end,ce=c.r2l(ne.end),ye=ce!==void 0;if((I.endFound||ye)&&ce!==c.r2l(ue)){var de=ye?ce:y.aggNums(Math.max,null,C);te.end=c.l2r(de),ye||y.nestedProperty(f,L+".start").set(te.end)}var me="autobin"+p;return f._input[me]===!1&&(f._input[L]=y.extendFlat({},f[L]||{}),delete f._input[me],delete f[me]),[te,C]}k.exports={calc:function(s,f){var c,p,w,v,S=[],x=[],T=f.orientation==="h",C=M.getFromId(s,T?f.yaxis:f.xaxis),_=T?"y":"x",A={x:"y",y:"x"}[_],L=f[_+"calendar"],b=f.cumulative,O=o(s,f,C,_),I=O[0],R=O[1],D=typeof I.size=="string",F=[],B=D?F:I,N=[],q=[],j=[],$=0,U=f.histnorm,G=f.histfunc,W=U.indexOf("density")!==-1;b.enabled&&W&&(U=U.replace(/ ?density$/,""),W=!1);var H,ne=G==="max"||G==="min"?null:0,te=h.count,Z=l[U],X=!1,Q=function(Ce){return C.r2c(Ce,0,L)};for(y.isArrayOrTypedArray(f[A])&&G!=="count"&&(H=f[A],X=G==="avg",te=h[G]),c=Q(I.start),w=Q(I.end)+(c-M.tickIncrement(c,I.size,!1,L))/1e6;c=0&&v=0;be--)ze(be);else if(ae==="increasing"){for(be=1;be=0;be--)Ce[be]+=Ce[be+1];he==="exclude"&&(Ce.push(0),Ce.shift())}}(x,b.direction,b.currentbin);var xe=Math.min(S.length,x.length),Pe=[],_e=0,Me=xe-1;for(c=0;c=_e;c--)if(x[c]){Me=c;break}for(c=_e;c<=Me;c++)if(d(S[c])&&d(x[c])){var Se={p:S[c],s:x[c],b:0};b.enabled||(Se.pts=j[c],ce?Se.ph0=Se.ph1=j[c].length?R[j[c][0]]:S[c]:(f._computePh=!0,Se.ph0=oe(F[c]),Se.ph1=oe(F[c+1],!0))),Pe.push(Se)}return Pe.length===1&&(Pe[0].width1=M.tickIncrement(Pe[0].p,I.size,!1,L)-Pe[0].p),g(Pe,f),y.isArrayOrTypedArray(f.selectedpoints)&&y.tagSelected(Pe,f,me),Pe},calcAllAutoBins:o}},72406:function(k){k.exports={eventDataKeys:["binNumber"]}},82222:function(k,m,t){var d=t(71828),y=t(41675),i=t(73972).traceIs,M=t(26125),g=d.nestedProperty,h=t(99082).getAxisGroup,l=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],a=["x","y"];k.exports=function(u,o){var s,f,c,p,w,v,S,x=o._histogramBinOpts={},T=[],C={},_=[];function A(W,H){return d.coerce(s._input,s,s._module.attributes,W,H)}function L(W){return W.orientation==="v"?"x":"y"}function b(W,H,ne){var te=W.uid+"__"+ne;H||(H=te);var Z=function(ie,oe){return y.getFromTrace({_fullLayout:o},ie,oe).type}(W,ne),X=W[ne+"calendar"]||"",Q=x[H],re=!0;Q&&(Z===Q.axType&&X===Q.calendar?(re=!1,Q.traces.push(W),Q.dirs.push(ne)):(H=te,Z!==Q.axType&&d.warn(["Attempted to group the bins of trace",W.index,"set on a","type:"+Z,"axis","with bins on","type:"+Q.axType,"axis."].join(" ")),X!==Q.calendar&&d.warn(["Attempted to group the bins of trace",W.index,"set with a",X,"calendar","with bins",Q.calendar?"on a "+Q.calendar+" calendar":"w/o a set calendar"].join(" ")))),re&&(x[H]={traces:[W],dirs:[ne],axType:Z,calendar:W[ne+"calendar"]||""}),W["_"+ne+"bingroup"]=H}for(w=0;wF&&O.splice(F,O.length-F),D.length>F&&D.splice(F,D.length-F);var B=[],N=[],q=[],j=typeof b.size=="string",$=typeof R.size=="string",U=[],G=[],W=j?U:b,H=$?G:R,ne=0,te=[],Z=[],X=f.histnorm,Q=f.histfunc,re=X.indexOf("density")!==-1,ie=Q==="max"||Q==="min"?null:0,oe=i.count,ue=M[X],ce=!1,ye=[],de=[],me="z"in f?f.z:"marker"in f&&Array.isArray(f.marker.color)?f.marker.color:"";me&&Q!=="count"&&(ce=Q==="avg",oe=i[Q]);var pe=b.size,xe=_(b.start),Pe=_(b.end)+(xe-y.tickIncrement(xe,pe,!1,T))/1e6;for(c=xe;c=0&&w=0&&v-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),G=1/0,W=-1/0;U.forEach(function(X){var Q=X.depth;Q>=N._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(G=Math.min(G,Q),W=Math.max(W,Q))}),w=w.data(U,a.getPtId),N._maxVisibleLayers=isFinite(W)?W-G+1:0,w.enter().append("g").classed("slice",!0),O(w,s,{},[S,x],_),w.order();var H=null;if(b&&D){var ne=a.getPtId(D);w.each(function(X){H===null&&a.getPtId(X)===ne&&(H={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var te=function(){return H||{x0:0,x1:S,y0:0,y1:x}},Z=w;return b&&(Z=Z.transition().each("end",function(){var X=d.select(this);a.setSliceCursor(X,f,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),Z.each(function(X){X._x0=T(X.x0),X._x1=T(X.x1),X._y0=C(X.y0),X._y1=C(X.y1),X._hoverX=T(X.x1-N.tiling.pad),X._hoverY=C($?X.y1-N.tiling.pad/2:X.y0+N.tiling.pad/2);var Q=d.select(this),re=y.ensureSingle(Q,"path","surface",function(ce){ce.style("pointer-events",F?"none":"all")});b?re.transition().attrTween("d",function(ce){var ye=I(ce,s,te(),[S,x],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(de){return _(ye(de))}}):re.attr("d",_),Q.call(u,p,f,c,{styleOne:h,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,f,{isTransitioning:f._transitioning}),re.call(h,X,N,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=o(X,p,N,c,B)||"";var ie=y.ensureSingle(Q,"g","slicetext"),oe=y.ensureSingle(ie,"text","",function(ce){ce.attr("data-notex",1)}),ue=y.ensureUniformFontSize(f,a.determineTextFont(N,X,B.font));oe.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":q?"start":"middle").call(i.font,ue).call(M.convertToTspans,f),X.textBB=i.bBox(oe.node()),X.transform=A(X,{fontSize:ue.size}),X.transform.fontSize=ue.size,b?oe.transition().attrTween("transform",function(ce){var ye=R(ce,s,te(),[S,x]);return function(de){return L(ye(de))}}):oe.attr("transform",L(X))}),H}},69816:function(k,m,t){k.exports={moduleType:"trace",name:"icicle",basePlotModule:t(96346),categories:[],animatable:!0,attributes:t(46291),layoutAttributes:t(92894),supplyDefaults:t(56524),supplyLayoutDefaults:t(21070),calc:t(46584).y,crossTraceCalc:t(46584).T,plot:t(85596),style:t(82454).style,colorbar:t(4898),meta:{}}},92894:function(k){k.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(k,m,t){var d=t(71828),y=t(92894);k.exports=function(i,M){function g(h,l){return d.coerce(i,M,y,h,l)}g("iciclecolorway",M.colorway),g("extendiciclecolors")}},21538:function(k,m,t){var d=t(674),y=t(14102);k.exports=function(i,M,g){var h=g.flipX,l=g.flipY,a=g.orientation==="h",u=g.maxDepth,o=M[0],s=M[1];u&&(o=(i.height+1)*M[0]/Math.min(i.height+1,u),s=(i.height+1)*M[1]/Math.min(i.height+1,u));var f=d.partition().padding(g.pad.inner).size(a?[M[1],o]:[M[0],s])(i);return(a||h||l)&&y(f,M,{swapXY:a,flipX:h,flipY:l}),f}},85596:function(k,m,t){var d=t(80694),y=t(90666);k.exports=function(i,M,g,h){return d(i,M,g,h,{type:"icicle",drawDescendants:y})}},82454:function(k,m,t){var d=t(39898),y=t(7901),i=t(71828),M=t(72597).resizeText;function g(h,l,a){var u=l.data.data,o=!l.children,s=u.i,f=i.castOption(a,s,"marker.line.color")||y.defaultLine,c=i.castOption(a,s,"marker.line.width")||0;h.style("stroke-width",c).call(y.fill,u.color).call(y.stroke,f).style("opacity",o?a.leaf.opacity:null)}k.exports={style:function(h){var l=h._fullLayout._iciclelayer.selectAll(".trace");M(h,l,"icicle"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(g,s,o)})})},styleOne:g}},17230:function(k,m,t){for(var d=t(9012),y=t(5386).fF,i=t(1426).extendFlat,M=t(51877).colormodel,g=["rgb","rgba","rgba256","hsl","hsla"],h=[],l=[],a=0;a0||d.inbox(h-l.y0,h-(l.y0+l.h*a.dy),0)>0)){var s,f=Math.floor((g-l.x0)/a.dx),c=Math.floor(Math.abs(h-l.y0)/a.dy);if(a._hasZ?s=l.z[c][f]:a._hasSource&&(s=a._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(f,c,1,1).data),s){var p,w=l.hi||a.hoverinfo;if(w){var v=w.split("+");v.indexOf("all")!==-1&&(v=["color"]),v.indexOf("color")!==-1&&(p=!0)}var S,x=i.colormodel[a.colormodel],T=x.colormodel||a.colormodel,C=T.length,_=a._scaler(s),A=x.suffix,L=[];(a.hovertemplate||p)&&(L.push("["+[_[0]+A[0],_[1]+A[1],_[2]+A[2]].join(", ")),C===4&&L.push(", "+_[3]+A[3]),L.push("]"),L=L.join(""),M.extraText=T.toUpperCase()+": "+L),Array.isArray(a.hovertext)&&Array.isArray(a.hovertext[c])?S=a.hovertext[c][f]:Array.isArray(a.text)&&Array.isArray(a.text[c])&&(S=a.text[c][f]);var b=o.c2p(l.y0+(c+.5)*a.dy),O=l.x0+(f+.5)*a.dx,I=l.y0+(c+.5)*a.dy,R="["+s.slice(0,a.colormodel.length).join(", ")+"]";return[y.extendFlat(M,{index:[c,f],x0:u.c2p(l.x0+f*a.dx),x1:u.c2p(l.x0+(f+1)*a.dx),y0:b,y1:b,color:_,xVal:O,xLabelVal:O,yVal:I,yLabelVal:I,zLabelVal:R,text:S,hovertemplateLabels:{zLabel:R,colorLabel:L,"color[0]Label":_[0]+A[0],"color[1]Label":_[1]+A[1],"color[2]Label":_[2]+A[2],"color[3]Label":_[3]+A[3]}})]}}}},94507:function(k,m,t){k.exports={attributes:t(17230),supplyDefaults:t(13245),calc:t(71113),plot:t(60775),style:t(12826),hoverPoints:t(28749),eventData:t(30835),moduleType:"trace",name:"image",basePlotModule:t(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(k,m,t){var d=t(39898),y=t(71828),i=y.strTranslate,M=t(77922),g=t(51877),h=y.isIOS()||y.isSafari()||y.isIE();k.exports=function(l,a,u,o){var s=a.xaxis,f=a.yaxis,c=!(h||l._context._exportedPlot);y.makeTraceGroups(o,u,"im").each(function(p){var w=d.select(this),v=p[0],S=v.trace,x=(S.zsmooth==="fast"||S.zsmooth===!1&&c)&&!S._hasZ&&S._hasSource&&s.type==="linear"&&f.type==="linear";S._realImage=x;var T,C,_,A,L,b,O=v.z,I=v.x0,R=v.y0,D=v.w,F=v.h,B=S.dx,N=S.dy;for(b=0;T===void 0&&b0;)C=s.c2p(I+b*B),b--;for(b=0;A===void 0&&b0;)L=f.c2p(R+b*N),b--;CW[0];if(H||ne){var te=T+q/2,Z=A+j/2;U+="transform:"+i(te+"px",Z+"px")+"scale("+(H?-1:1)+","+(ne?-1:1)+")"+i(-te+"px",-Z+"px")+";"}}$.attr("style",U);var X=new Promise(function(re){if(S._hasZ)re();else if(S._hasSource)if(S._canvas&&S._canvas.el.width===D&&S._canvas.el.height===F&&S._canvas.source===S.source)re();else{var ie=document.createElement("canvas");ie.width=D,ie.height=F;var oe=ie.getContext("2d",{willReadFrequently:!0});S._image=S._image||new Image;var ue=S._image;ue.onload=function(){oe.drawImage(ue,0,0),S._canvas={el:ie,source:S.source},re()},ue.setAttribute("src",S.source)}}).then(function(){var re,ie;if(S._hasZ)ie=Q(function(ue,ce){return O[ce][ue]}),re=ie.toDataURL("image/png");else if(S._hasSource)if(x)re=S.source;else{var oe=S._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,D,F).data;ie=Q(function(ue,ce){var ye=4*(ce*D+ue);return[oe[ye],oe[ye+1],oe[ye+2],oe[ye+3]]}),re=ie.toDataURL("image/png")}$.attr({"xlink:href":re,height:j,width:q,x:T,y:A})});l._promises.push(X)}function Q(re){var ie=document.createElement("canvas");ie.width=q,ie.height=j;var oe,ue=ie.getContext("2d",{willReadFrequently:!0}),ce=function(Ce){return y.constrain(Math.round(s.c2p(I+Ce*B)-T),0,q)},ye=function(Ce){return y.constrain(Math.round(f.c2p(R+Ce*N)-A),0,j)},de=g.colormodel[S.colormodel],me=de.colormodel||S.colormodel,pe=de.fmt;for(b=0;b0}function _(I){I.each(function(R){v.stroke(d.select(this),R.line.color)}).each(function(R){v.fill(d.select(this),R.color)}).style("stroke-width",function(R){return R.line.width})}function A(I,R,D){var F=I._fullLayout,B=M.extendFlat({type:"linear",ticks:"outside",range:D,showline:!0},R),N={type:"linear",_id:"x"+R._id},q={letter:"x",font:F.font,noHover:!0,noTickson:!0};function j($,U){return M.coerce(B,N,w,$,U)}return c(B,N,j,q,F),p(B,N,j,q),N}function L(I,R,D){return[Math.min(R/I.width,D/I.height),I,R+"x"+D]}function b(I,R,D,F){var B=document.createElementNS("http://www.w3.org/2000/svg","text"),N=d.select(B);return N.text(I).attr("x",0).attr("y",0).attr("text-anchor",D).attr("data-unformatted",I).call(s.convertToTspans,F).call(u.font,R),u.bBox(N.node())}function O(I,R,D,F,B,N){var q="_cache"+R;I[q]&&I[q].key===B||(I[q]={key:B,value:D});var j=M.aggNums(N,null,[I[q].value,F],2);return I[q].value=j,j}k.exports=function(I,R,D,F){var B,N=I._fullLayout;C(D)&&F&&(B=F()),M.makeTraceGroups(N._indicatorlayer,R,"trace").each(function(q){var j,$,U,G,W,H=q[0].trace,ne=d.select(this),te=H._hasGauge,Z=H._isAngular,X=H._isBullet,Q=H.domain,re={w:N._size.w*(Q.x[1]-Q.x[0]),h:N._size.h*(Q.y[1]-Q.y[0]),l:N._size.l+N._size.w*Q.x[0],r:N._size.r+N._size.w*(1-Q.x[1]),t:N._size.t+N._size.h*(1-Q.y[1]),b:N._size.b+N._size.h*Q.y[0]},ie=re.l+re.w/2,oe=re.t+re.h/2,ue=Math.min(re.w/2,re.h),ce=o.innerRadius*ue,ye=H.align||"center";if($=oe,te){if(Z&&(j=ie,$=oe+ue/2,U=function(Se){return function(Ce,ae){return[ae/Math.sqrt(Ce.width/2*(Ce.width/2)+Ce.height*Ce.height),Ce,ae]}(Se,.9*ce)}),X){var de=o.bulletPadding,me=1-o.bulletNumberDomainSize+de;j=re.l+(me+(1-me)*x[ye])*re.w,U=function(Se){return L(Se,(o.bulletNumberDomainSize-de)*re.w,re.h)}}}else j=re.l+x[ye]*re.w,U=function(Se){return L(Se,re.w,re.h)};(function(Se,Ce,ae,he){var be,ke,Le,Be=ae[0].trace,ze=he.numbersX,je=he.numbersY,ge=Be.align||"center",we=S[ge],Ee=he.transitionOpts,Ve=he.onComplete,$e=M.ensureSingle(Ce,"g","numbers"),Ye=[];Be._hasNumber&&Ye.push("number"),Be._hasDelta&&(Ye.push("delta"),Be.delta.position==="left"&&Ye.reverse());var st=$e.selectAll("text").data(Ye);function ot(Bt,Wt,Vt,Ke){if(!Bt.match("s")||Vt>=0==Ke>=0||Wt(Vt).slice(-1).match(T)||Wt(Ke).slice(-1).match(T))return Wt;var Je=Bt.slice().replace("s","f").replace(/\d+/,function(nt){return parseInt(nt)-1}),We=A(Se,{tickformat:Je});return function(nt){return Math.abs(nt)<1?f.tickText(We,nt).text:Wt(nt)}}st.enter().append("text"),st.attr("text-anchor",function(){return we}).attr("class",function(Bt){return Bt}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),st.exit().remove();var ft,bt=Be.mode+Be.align;if(Be._hasDelta&&(ft=function(){var Bt=A(Se,{tickformat:Be.delta.valueformat},Be._range);Bt.setScale(),f.prepTicks(Bt);var Wt=function(Ne){return f.tickText(Bt,Ne).text},Vt=Be.delta.suffix,Ke=Be.delta.prefix,Je=function(Ne){return Be.delta.relative?Ne.relativeDelta:Ne.delta},We=function(Ne,Qe){return Ne===0||typeof Ne!="number"||isNaN(Ne)?"-":(Ne>0?Be.delta.increasing.symbol:Be.delta.decreasing.symbol)+Ke+Qe(Ne)+Vt},nt=function(Ne){return Ne.delta>=0?Be.delta.increasing.color:Be.delta.decreasing.color};Be._deltaLastValue===void 0&&(Be._deltaLastValue=Je(ae[0]));var ht=$e.select("text.delta");function Oe(){ht.text(We(Je(ae[0]),Wt)).call(v.fill,nt(ae[0])).call(s.convertToTspans,Se)}return ht.call(u.font,Be.delta.font).call(v.fill,nt({delta:Be._deltaLastValue})),C(Ee)?ht.transition().duration(Ee.duration).ease(Ee.easing).tween("text",function(){var Ne=d.select(this),Qe=Je(ae[0]),ut=Be._deltaLastValue,dt=ot(Be.delta.valueformat,Wt,ut,Qe),_t=i(ut,Qe);return Be._deltaLastValue=Qe,function(It){Ne.text(We(_t(It),dt)),Ne.call(v.fill,nt({delta:_t(It)}))}}).each("end",function(){Oe(),Ve&&Ve()}).each("interrupt",function(){Oe(),Ve&&Ve()}):Oe(),ke=b(We(Je(ae[0]),Wt),Be.delta.font,we,Se),ht}(),bt+=Be.delta.position+Be.delta.font.size+Be.delta.font.family+Be.delta.valueformat,bt+=Be.delta.increasing.symbol+Be.delta.decreasing.symbol,Le=ke),Be._hasNumber&&(function(){var Bt=A(Se,{tickformat:Be.number.valueformat},Be._range);Bt.setScale(),f.prepTicks(Bt);var Wt=function(nt){return f.tickText(Bt,nt).text},Vt=Be.number.suffix,Ke=Be.number.prefix,Je=$e.select("text.number");function We(){var nt=typeof ae[0].y=="number"?Ke+Wt(ae[0].y)+Vt:"-";Je.text(nt).call(u.font,Be.number.font).call(s.convertToTspans,Se)}C(Ee)?Je.transition().duration(Ee.duration).ease(Ee.easing).each("end",function(){We(),Ve&&Ve()}).each("interrupt",function(){We(),Ve&&Ve()}).attrTween("text",function(){var nt=d.select(this),ht=i(ae[0].lastY,ae[0].y);Be._lastValue=ae[0].y;var Oe=ot(Be.number.valueformat,Wt,ae[0].lastY,ae[0].y);return function(Ne){nt.text(Ke+Oe(ht(Ne))+Vt)}}):We(),be=b(Ke+Wt(ae[0].y)+Vt,Be.number.font,we,Se)}(),bt+=Be.number.font.size+Be.number.font.family+Be.number.valueformat+Be.number.suffix+Be.number.prefix,Le=be),Be._hasDelta&&Be._hasNumber){var Et,kt,xt=[(be.left+be.right)/2,(be.top+be.bottom)/2],Ft=[(ke.left+ke.right)/2,(ke.top+ke.bottom)/2],Rt=.75*Be.delta.font.size;Be.delta.position==="left"&&(Et=O(Be,"deltaPos",0,-1*(be.width*x[Be.align]+ke.width*(1-x[Be.align])+Rt),bt,Math.min),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Rt,height:Math.max(be.height,ke.height),left:ke.left+Et,right:be.right,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="right"&&(Et=O(Be,"deltaPos",0,be.width*(1-x[Be.align])+ke.width*x[Be.align]+Rt,bt,Math.max),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Rt,height:Math.max(be.height,ke.height),left:be.left,right:ke.right+Et,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="bottom"&&(Et=null,kt=ke.height,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height,bottom:be.bottom+ke.height}),Be.delta.position==="top"&&(Et=null,kt=be.top,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height-ke.height,bottom:be.bottom}),ft.attr({dx:Et,dy:kt})}(Be._hasNumber||Be._hasDelta)&&$e.attr("transform",function(){var Bt=he.numbersScaler(Le);bt+=Bt[2];var Wt,Vt=O(Be,"numbersScale",1,Bt[0],bt,Math.min);Be._scaleNumbers||(Vt=1),Wt=Be._isAngular?je-Vt*Le.bottom:je-Vt*(Le.top+Le.bottom)/2,Be._numbersTop=Vt*Le.top+Wt;var Ke=Le[ge];ge==="center"&&(Ke=(Le.left+Le.right)/2);var Je=ze-Vt*Ke;return Je=O(Be,"numbersTranslate",0,Je,bt,Math.max),h(Je,Wt)+g(Vt)})})(I,ne,q,{numbersX:j,numbersY:$,numbersScaler:U,transitionOpts:D,onComplete:B}),te&&(G={range:H.gauge.axis.range,color:H.gauge.bgcolor,line:{color:H.gauge.bordercolor,width:0},thickness:1},W={range:H.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:H.gauge.bordercolor,width:H.gauge.borderwidth},thickness:1});var pe=ne.selectAll("g.angular").data(Z?q:[]);pe.exit().remove();var xe=ne.selectAll("g.angularaxis").data(Z?q:[]);xe.exit().remove(),Z&&function(Se,Ce,ae,he){var be,ke,Le,Be,ze=ae[0].trace,je=he.size,ge=he.radius,we=he.innerRadius,Ee=he.gaugeBg,Ve=he.gaugeOutline,$e=[je.l+je.w/2,je.t+je.h/2+ge/2],Ye=he.gauge,st=he.layer,ot=he.transitionOpts,ft=he.onComplete,bt=Math.PI/2;function Et(It){var Lt=ze.gauge.axis.range[0],yt=(It-Lt)/(ze.gauge.axis.range[1]-Lt)*Math.PI-bt;return yt<-bt?-bt:yt>bt?bt:yt}function kt(It){return d.svg.arc().innerRadius((we+ge)/2-It/2*(ge-we)).outerRadius((we+ge)/2+It/2*(ge-we)).startAngle(-bt)}function xt(It){It.attr("d",function(Lt){return kt(Lt.thickness).startAngle(Et(Lt.range[0])).endAngle(Et(Lt.range[1]))()})}Ye.enter().append("g").classed("angular",!0),Ye.attr("transform",h($e[0],$e[1])),st.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),st.selectAll("g.xangularaxistick,path,text").remove(),(be=A(Se,ze.gauge.axis)).type="linear",be.range=ze.gauge.axis.range,be._id="xangularaxis",be.ticklabeloverflow="allow",be.setScale();var Ft=function(It){return(be.range[0]-It.x)/(be.range[1]-be.range[0])*Math.PI+Math.PI},Rt={},Bt=f.makeLabelFns(be,0).labelStandoff;Rt.xFn=function(It){var Lt=Ft(It);return Math.cos(Lt)*Bt},Rt.yFn=function(It){var Lt=Ft(It),yt=Math.sin(Lt)>0?.2:1;return-Math.sin(Lt)*(Bt+It.fontSize*yt)+Math.abs(Math.cos(Lt))*(It.fontSize*a)},Rt.anchorFn=function(It){var Lt=Ft(It),yt=Math.cos(Lt);return Math.abs(yt)<.1?"middle":yt>0?"start":"end"},Rt.heightFn=function(It,Lt,yt){var Pt=Ft(It);return-.5*(1+Math.sin(Pt))*yt};var Wt=function(It){return h($e[0]+ge*Math.cos(It),$e[1]-ge*Math.sin(It))};if(Le=function(It){return Wt(Ft(It))},ke=f.calcTicks(be),Be=f.getTickSigns(be)[2],be.visible){Be=be.ticks==="inside"?-1:1;var Vt=(be.linewidth||1)/2;f.drawTicks(Se,be,{vals:ke,layer:st,path:"M"+Be*Vt+",0h"+Be*be.ticklen,transFn:function(It){var Lt=Ft(It);return Wt(Lt)+"rotate("+-l(Lt)+")"}}),f.drawLabels(Se,be,{vals:ke,layer:st,transFn:Le,labelFns:Rt})}var Ke=[Ee].concat(ze.gauge.steps),Je=Ye.selectAll("g.bg-arc").data(Ke);Je.enter().append("g").classed("bg-arc",!0).append("path"),Je.select("path").call(xt).call(_),Je.exit().remove();var We=kt(ze.gauge.bar.thickness),nt=Ye.selectAll("g.value-arc").data([ze.gauge.bar]);nt.enter().append("g").classed("value-arc",!0).append("path");var ht,Oe,Ne,Qe=nt.select("path");C(ot)?(Qe.transition().duration(ot.duration).ease(ot.easing).each("end",function(){ft&&ft()}).each("interrupt",function(){ft&&ft()}).attrTween("d",(ht=We,Oe=Et(ae[0].lastY),Ne=Et(ae[0].y),function(){var It=y(Oe,Ne);return function(Lt){return ht.endAngle(It(Lt))()}})),ze._lastValue=ae[0].y):Qe.attr("d",typeof ae[0].y=="number"?We.endAngle(Et(ae[0].y)):"M0,0Z"),Qe.call(_),nt.exit().remove(),Ke=[];var ut=ze.gauge.threshold.value;(ut||ut===0)&&Ke.push({range:[ut,ut],color:ze.gauge.threshold.color,line:{color:ze.gauge.threshold.line.color,width:ze.gauge.threshold.line.width},thickness:ze.gauge.threshold.thickness});var dt=Ye.selectAll("g.threshold-arc").data(Ke);dt.enter().append("g").classed("threshold-arc",!0).append("path"),dt.select("path").call(xt).call(_),dt.exit().remove();var _t=Ye.selectAll("g.gauge-outline").data([Ve]);_t.enter().append("g").classed("gauge-outline",!0).append("path"),_t.select("path").call(xt).call(_),_t.exit().remove()}(I,0,q,{radius:ue,innerRadius:ce,gauge:pe,layer:xe,size:re,gaugeBg:G,gaugeOutline:W,transitionOpts:D,onComplete:B});var Pe=ne.selectAll("g.bullet").data(X?q:[]);Pe.exit().remove();var _e=ne.selectAll("g.bulletaxis").data(X?q:[]);_e.exit().remove(),X&&function(Se,Ce,ae,he){var be,ke,Le,Be,ze,je=ae[0].trace,ge=he.gauge,we=he.layer,Ee=he.gaugeBg,Ve=he.gaugeOutline,$e=he.size,Ye=je.domain,st=he.transitionOpts,ot=he.onComplete;ge.enter().append("g").classed("bullet",!0),ge.attr("transform",h($e.l,$e.t)),we.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),we.selectAll("g.xbulletaxistick,path,text").remove();var ft=$e.h,bt=je.gauge.bar.thickness*ft,Et=Ye.x[0],kt=Ye.x[0]+(Ye.x[1]-Ye.x[0])*(je._hasNumber||je._hasDelta?1-o.bulletNumberDomainSize:1);function xt(Je){Je.attr("width",function(We){return Math.max(0,be.c2p(We.range[1])-be.c2p(We.range[0]))}).attr("x",function(We){return be.c2p(We.range[0])}).attr("y",function(We){return .5*(1-We.thickness)*ft}).attr("height",function(We){return We.thickness*ft})}(be=A(Se,je.gauge.axis))._id="xbulletaxis",be.domain=[Et,kt],be.setScale(),ke=f.calcTicks(be),Le=f.makeTransTickFn(be),Be=f.getTickSigns(be)[2],ze=$e.t+$e.h,be.visible&&(f.drawTicks(Se,be,{vals:be.ticks==="inside"?f.clipEnds(be,ke):ke,layer:we,path:f.makeTickPath(be,ze,Be),transFn:Le}),f.drawLabels(Se,be,{vals:ke,layer:we,transFn:Le,labelFns:f.makeLabelFns(be,ze)}));var Ft=[Ee].concat(je.gauge.steps),Rt=ge.selectAll("g.bg-bullet").data(Ft);Rt.enter().append("g").classed("bg-bullet",!0).append("rect"),Rt.select("rect").call(xt).call(_),Rt.exit().remove();var Bt=ge.selectAll("g.value-bullet").data([je.gauge.bar]);Bt.enter().append("g").classed("value-bullet",!0).append("rect"),Bt.select("rect").attr("height",bt).attr("y",(ft-bt)/2).call(_),C(st)?Bt.select("rect").transition().duration(st.duration).ease(st.easing).each("end",function(){ot&&ot()}).each("interrupt",function(){ot&&ot()}).attr("width",Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y)))):Bt.select("rect").attr("width",typeof ae[0].y=="number"?Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y))):0),Bt.exit().remove();var Wt=ae.filter(function(){return je.gauge.threshold.value||je.gauge.threshold.value===0}),Vt=ge.selectAll("g.threshold-bullet").data(Wt);Vt.enter().append("g").classed("threshold-bullet",!0).append("line"),Vt.select("line").attr("x1",be.c2p(je.gauge.threshold.value)).attr("x2",be.c2p(je.gauge.threshold.value)).attr("y1",(1-je.gauge.threshold.thickness)/2*ft).attr("y2",(1-(1-je.gauge.threshold.thickness)/2)*ft).call(v.stroke,je.gauge.threshold.line.color).style("stroke-width",je.gauge.threshold.line.width),Vt.exit().remove();var Ke=ge.selectAll("g.gauge-outline").data([Ve]);Ke.enter().append("g").classed("gauge-outline",!0).append("rect"),Ke.select("rect").call(xt).call(_),Ke.exit().remove()}(I,0,q,{gauge:Pe,layer:_e,size:re,gaugeBg:G,gaugeOutline:W,transitionOpts:D,onComplete:B});var Me=ne.selectAll("text.title").data(q);Me.exit().remove(),Me.enter().append("text").classed("title",!0),Me.attr("text-anchor",function(){return X?S.right:S[H.title.align]}).text(H.title.text).call(u.font,H.title.font).call(s.convertToTspans,I),Me.attr("transform",function(){var Se,Ce=re.l+re.w*x[H.title.align],ae=o.titlePadding,he=u.bBox(Me.node());return te?(Z&&(Se=H.gauge.axis.visible?u.bBox(xe.node()).top-ae-he.bottom:re.t+re.h/2-ue/2-he.bottom-ae),X&&(Se=$-(he.top+he.bottom)/2,Ce=re.l-o.bulletPadding*re.w)):Se=H._numbersTop-ae-he.bottom,h(Ce,Se)})})}},16249:function(k,m,t){var d=t(50693),y=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),g=t(9012),h=t(1426).extendFlat,l=t(30962).overrideAll,a=k.exports=l(h({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:i(),xhoverformat:y("x"),yhoverformat:y("y"),zhoverformat:y("z"),valuehoverformat:y("value",1),showlegend:h({},g.showlegend,{dflt:!1})},d("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,lightposition:M.lightposition,lighting:M.lighting,flatshading:M.flatshading,contour:M.contour,hoverinfo:h({},g.hoverinfo)}),"calc","nested");a.flatshading.dflt=!0,a.lighting.facenormalsepsilon.dflt=0,a.x.editType=a.y.editType=a.z.editType=a.value.editType="calc+clearAxisTypes",a.transforms=void 0},56959:function(k,m,t){var d=t(78803),y=t(88489).processGrid,i=t(88489).filter;k.exports=function(M,g){g._len=Math.min(g.x.length,g.y.length,g.z.length,g.value.length),g._x=i(g.x,g._len),g._y=i(g.y,g._len),g._z=i(g.z,g._len),g._value=i(g.value,g._len);var h=y(g);g._gridFill=h.fill,g._Xs=h.Xs,g._Ys=h.Ys,g._Zs=h.Zs,g._len=h.len;for(var l=1/0,a=-1/0,u=0;u0;c--){var p=Math.min(f[c],f[c-1]),w=Math.max(f[c],f[c-1]);if(w>p&&p-1}function ie(je,ge){return je===null?ge:je}function oe(je,ge,we){ne();var Ee,Ve,$e,Ye=[ge],st=[we];if(x>=1)Ye=[ge],st=[we];else if(x>0){var ot=function(Wt,Vt){var Ke=Wt[0],Je=Wt[1],We=Wt[2],nt=function(It,Lt,yt){for(var Pt=[],wt=0;wt-1?we[Et]:H(kt,xt,Ft);bt[Et]=Bt>-1?Bt:Z(kt,xt,Ft,ie(je,Rt))}Ee=bt[0],Ve=bt[1],$e=bt[2],s._meshI.push(Ee),s._meshJ.push(Ve),s._meshK.push($e),++O}}function ue(je,ge,we,Ee){var Ve=je[3];VeEe&&(Ve=Ee);for(var $e=(je[3]-Ve)/(je[3]-ge[3]+1e-9),Ye=[],st=0;st<4;st++)Ye[st]=(1-$e)*je[st]+$e*ge[st];return Ye}function ce(je,ge,we){return je>=ge&&je<=we}function ye(je){var ge=.001*(W-G);return je>=G-ge&&je<=W+ge}function de(je){for(var ge=[],we=0;we<4;we++){var Ee=je[we];ge.push([s._x[Ee],s._y[Ee],s._z[Ee],s._value[Ee]])}return ge}function me(je,ge,we,Ee,Ve,$e){$e||($e=1),we=[-1,-1,-1];var Ye=!1,st=[ce(ge[0][3],Ee,Ve),ce(ge[1][3],Ee,Ve),ce(ge[2][3],Ee,Ve)];if(!st[0]&&!st[1]&&!st[2])return!1;var ot=function(bt,Et,kt){return ye(Et[0][3])&&ye(Et[1][3])&&ye(Et[2][3])?(oe(bt,Et,kt),!0):$e<3&&me(bt,Et,kt,G,W,++$e)};if(st[0]&&st[1]&&st[2])return ot(je,ge,we)||Ye;var ft=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(bt){if(st[bt[0]]&&st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(xt,Et,Ee,Ve),Rt=ue(xt,kt,Ee,Ve);Ye=ot(je,[Rt,Ft,Et],[-1,-1,we[bt[0]]])||Ye,Ye=ot(je,[Et,kt,Rt],[we[bt[0]],we[bt[1]],-1])||Ye,ft=!0}}),ft||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(bt){if(st[bt[0]]&&!st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(kt,Et,Ee,Ve),Rt=ue(xt,Et,Ee,Ve);Ye=ot(je,[Rt,Ft,Et],[-1,-1,we[bt[0]]])||Ye,ft=!0}}),Ye}function pe(je,ge,we,Ee){var Ve=!1,$e=de(ge),Ye=[ce($e[0][3],we,Ee),ce($e[1][3],we,Ee),ce($e[2][3],we,Ee),ce($e[3][3],we,Ee)];if(!(Ye[0]||Ye[1]||Ye[2]||Ye[3]))return Ve;if(Ye[0]&&Ye[1]&&Ye[2]&&Ye[3])return b&&(Ve=function(ot,ft,bt){var Et=function(kt,xt,Ft){oe(ot,[ft[kt],ft[xt],ft[Ft]],[bt[kt],bt[xt],bt[Ft]])};Et(0,1,2),Et(3,0,1),Et(2,3,0),Et(1,2,3)}(je,$e,ge)||Ve),Ve;var st=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&Ye[ot[2]]&&!Ye[ot[3]]){var ft=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]];if(b)Ve=oe(je,[ft,bt,Et],[ge[ot[0]],ge[ot[1]],ge[ot[2]]])||Ve;else{var xt=ue(kt,ft,we,Ee),Ft=ue(kt,bt,we,Ee),Rt=ue(kt,Et,we,Ee);Ve=oe(null,[xt,Ft,Rt],[-1,-1,-1])||Ve}st=!0}}),st||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ft=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(Et,ft,we,Ee),Ft=ue(Et,bt,we,Ee),Rt=ue(kt,bt,we,Ee),Bt=ue(kt,ft,we,Ee);b?(Ve=oe(je,[ft,Bt,xt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[bt,Ft,Rt],[ge[ot[1]],-1,-1])||Ve):Ve=function(Wt,Vt,Ke){var Je=function(We,nt,ht){oe(null,[Vt[We],Vt[nt],Vt[ht]],[Ke[We],Ke[nt],Ke[ht]])};Je(0,1,2),Je(2,3,0)}(0,[xt,Ft,Rt,Bt],[-1,-1,-1,-1])||Ve,st=!0}}),st||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(ot){if(Ye[ot[0]]&&!Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ft=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(bt,ft,we,Ee),Ft=ue(Et,ft,we,Ee),Rt=ue(kt,ft,we,Ee);b?(Ve=oe(je,[ft,xt,Ft],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ft,Ft,Rt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ft,Rt,xt],[ge[ot[0]],-1,-1])||Ve):Ve=oe(null,[xt,Ft,Rt],[-1,-1,-1])||Ve,st=!0}})),Ve}function xe(je,ge,we,Ee,Ve,$e,Ye,st,ot,ft,bt){var Et=!1;return L&&(re(je,"A")&&(Et=pe(null,[ge,we,Ee,$e],ft,bt)||Et),re(je,"B")&&(Et=pe(null,[we,Ee,Ve,ot],ft,bt)||Et),re(je,"C")&&(Et=pe(null,[we,$e,Ye,ot],ft,bt)||Et),re(je,"D")&&(Et=pe(null,[Ee,$e,st,ot],ft,bt)||Et),re(je,"E")&&(Et=pe(null,[we,Ee,$e,ot],ft,bt)||Et)),b&&(Et=pe(je,[we,Ee,$e,ot],ft,bt)||Et),Et}function Pe(je,ge,we,Ee,Ve,$e,Ye,st){return[st[0]===!0||me(je,de([ge,we,Ee]),[ge,we,Ee],$e,Ye),st[1]===!0||me(je,de([Ee,Ve,ge]),[Ee,Ve,ge],$e,Ye)]}function _e(je,ge,we,Ee,Ve,$e,Ye,st,ot){return st?Pe(je,ge,we,Ve,Ee,$e,Ye,ot):Pe(je,we,Ve,Ee,ge,$e,Ye,ot)}function Me(je,ge,we,Ee,Ve,$e,Ye){var st,ot,ft,bt,Et=!1,kt=function(){Et=me(je,[st,ot,ft],[-1,-1,-1],Ve,$e)||Et,Et=me(je,[ft,bt,st],[-1,-1,-1],Ve,$e)||Et},xt=Ye[0],Ft=Ye[1],Rt=Ye[2];return xt&&(st=X(de([j(ge,we-0,Ee-0)])[0],de([j(ge-1,we-0,Ee-0)])[0],xt),ot=X(de([j(ge,we-0,Ee-1)])[0],de([j(ge-1,we-0,Ee-1)])[0],xt),ft=X(de([j(ge,we-1,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],xt),bt=X(de([j(ge,we-1,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],xt),kt()),Ft&&(st=X(de([j(ge-0,we,Ee-0)])[0],de([j(ge-0,we-1,Ee-0)])[0],Ft),ot=X(de([j(ge-0,we,Ee-1)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ft),ft=X(de([j(ge-1,we,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ft),bt=X(de([j(ge-1,we,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],Ft),kt()),Rt&&(st=X(de([j(ge-0,we-0,Ee)])[0],de([j(ge-0,we-0,Ee-1)])[0],Rt),ot=X(de([j(ge-0,we-1,Ee)])[0],de([j(ge-0,we-1,Ee-1)])[0],Rt),ft=X(de([j(ge-1,we-1,Ee)])[0],de([j(ge-1,we-1,Ee-1)])[0],Rt),bt=X(de([j(ge-1,we-0,Ee)])[0],de([j(ge-1,we-0,Ee-1)])[0],Rt),kt()),Et}function Se(je,ge,we,Ee,Ve,$e,Ye,st,ot,ft,bt,Et){var kt=je;return Et?(L&&je==="even"&&(kt=null),xe(kt,ge,we,Ee,Ve,$e,Ye,st,ot,ft,bt)):(L&&je==="odd"&&(kt=null),xe(kt,ot,st,Ye,$e,Ve,Ee,we,ge,ft,bt))}function Ce(je,ge,we,Ee,Ve){for(var $e=[],Ye=0,st=0;stMath.abs($e-U)?[$,$e]:[$e,U];L=!0,be(ge,Ye[0],Ye[1]),L=!1}}var st=[[Math.min(G,U),Math.max(G,U)],[Math.min($,W),Math.max($,W)]];["x","y","z"].forEach(function(ot){for(var ft=[],bt=0;bt0&&(Bt.push(Ke.id),ot==="x"?Wt.push([Ke.distRatio,0,0]):ot==="y"?Wt.push([0,Ke.distRatio,0]):Wt.push([0,0,Ke.distRatio]))}else Rt=ze(1,ot==="x"?F-1:ot==="y"?B-1:N-1);Bt.length>0&&(ft[Et]=ot==="x"?ke(je,Bt,kt,xt,Wt,ft[Et]):ot==="y"?Le(je,Bt,kt,xt,Wt,ft[Et]):Be(je,Bt,kt,xt,Wt,ft[Et]),Et++),Rt.length>0&&(ft[Et]=ot==="x"?Ce(je,Rt,kt,xt,ft[Et]):ot==="y"?ae(je,Rt,kt,xt,ft[Et]):he(je,Rt,kt,xt,ft[Et]),Et++)}var Je=s.caps[ot];Je.show&&Je.fill&&(Q(Je.fill),ft[Et]=ot==="x"?Ce(je,[0,F-1],kt,xt,ft[Et]):ot==="y"?ae(je,[0,B-1],kt,xt,ft[Et]):he(je,[0,N-1],kt,xt,ft[Et]),Et++)}}),O===0&&te(),s._meshX=p,s._meshY=w,s._meshZ=v,s._meshIntensity=S,s._Xs=I,s._Ys=R,s._Zs=D}(),s}k.exports={findNearestOnAxis:h,generateIsoMeshes:o,createIsosurfaceTrace:function(s,f){var c=s.glplot.gl,p=d({gl:c}),w=new l(s,p,f.uid);return p._trace=w,w.update(f),s.glplot.add(p),w}}},82738:function(k,m,t){var d=t(71828),y=t(73972),i=t(16249),M=t(1586);function g(h,l,a,u,o){var s=o("isomin"),f=o("isomax");f!=null&&s!=null&&s>f&&(l.isomin=null,l.isomax=null);var c=o("x"),p=o("y"),w=o("z"),v=o("value");c&&c.length&&p&&p.length&&w&&w.length&&v&&v.length?(y.getComponentMethod("calendars","handleTraceDefaults")(h,l,["x","y","z"],u),o("valuehoverformat"),["x","y","z"].forEach(function(S){o(S+"hoverformat");var x="caps."+S;o(x+".show")&&o(x+".fill");var T="slices."+S;o(T+".show")&&(o(T+".fill"),o(T+".locations"))}),o("spaceframe.show")&&o("spaceframe.fill"),o("surface.show")&&(o("surface.count"),o("surface.fill"),o("surface.pattern")),o("contour.show")&&(o("contour.color"),o("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(S){o(S)}),M(h,l,u,o,{prefix:"",cLetter:"c"}),l._length=null):l.visible=!1}k.exports={supplyDefaults:function(h,l,a,u){g(h,l,0,u,function(o,s){return d.coerce(h,l,i,o,s)})},supplyIsoDefaults:g}},64943:function(k,m,t){k.exports={attributes:t(16249),supplyDefaults:t(82738).supplyDefaults,calc:t(56959),colorbar:{min:"cmin",max:"cmax"},plot:t(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(k,m,t){var d=t(50693),y=t(12663).axisHoverFormat,i=t(5386).fF,M=t(54532),g=t(9012),h=t(1426).extendFlat;k.exports=h({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"}),xhoverformat:y("x"),yhoverformat:y("y"),zhoverformat:y("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},d("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:h({},M.contours.x.show,{}),color:M.contours.x.color,width:M.contours.x.width,editType:"calc"},lightposition:{x:h({},M.lightposition.x,{dflt:1e5}),y:h({},M.lightposition.y,{dflt:1e5}),z:h({},M.lightposition.z,{dflt:0}),editType:"calc"},lighting:h({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},M.lighting),hoverinfo:h({},g.hoverinfo,{editType:"calc"}),showlegend:h({},g.showlegend,{dflt:!1})})},82932:function(k,m,t){var d=t(78803);k.exports=function(y,i){i.intensity&&d(y,i,{vals:i.intensity,containerStr:"",cLetter:"c"})}},91134:function(k,m,t){var d=t(9330).gl_mesh3d,y=t(9330).delaunay_triangulate,i=t(9330).alpha_shape,M=t(9330).convex_hull,g=t(81697).parseColorScale,h=t(78614),l=t(21081).extractOpts,a=t(90060);function u(w,v,S){this.scene=w,this.uid=S,this.mesh=v,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var o=u.prototype;function s(w){for(var v=[],S=w.length,x=0;x=v-.5)return!1;return!0}o.handlePick=function(w){if(w.object===this.mesh){var v=w.index=w.data.index;w.data._cellCenter?w.traceCoordinate=w.data.dataCoordinate:w.traceCoordinate=[this.data.x[v],this.data.y[v],this.data.z[v]];var S=this.data.hovertext||this.data.text;return Array.isArray(S)&&S[v]!==void 0?w.textLabel=S[v]:S&&(w.textLabel=S),!0}},o.update=function(w){var v=this.scene,S=v.fullSceneLayout;this.data=w;var x,T=w.x.length,C=a(f(S.xaxis,w.x,v.dataScale[0],w.xcalendar),f(S.yaxis,w.y,v.dataScale[1],w.ycalendar),f(S.zaxis,w.z,v.dataScale[2],w.zcalendar));if(w.i&&w.j&&w.k){if(w.i.length!==w.j.length||w.j.length!==w.k.length||!p(w.i,T)||!p(w.j,T)||!p(w.k,T))return;x=a(c(w.i),c(w.j),c(w.k))}else x=w.alphahull===0?M(C):w.alphahull>0?i(w.alphahull,C):function(b,O){for(var I=["x","y","z"].indexOf(b),R=[],D=O.length,F=0;F_):C=F>I,_=F;var B=c(I,R,D,F);B.pos=O,B.yc=(I+F)/2,B.i=b,B.dir=C?"increasing":"decreasing",B.x=B.pos,B.y=[D,R],A&&(B.orig_p=o[b]),x&&(B.tx=u.text[b]),T&&(B.htx=u.hovertext[b]),L.push(B)}else L.push({pos:O,empty:!0})}return u._extremes[f._id]=i.findExtremes(f,d.concat(v,w),{padded:!0}),L.length&&(L[0].t={labels:{open:y(a,"open:")+" ",high:y(a,"high:")+" ",low:y(a,"low:")+" ",close:y(a,"close:")+" "}}),L}k.exports={calc:function(a,u){var o=i.getFromId(a,u.xaxis),s=i.getFromId(a,u.yaxis),f=function(S,x,T){var C=T._minDiff;if(!C){var _,A=S._fullData,L=[];for(C=1/0,_=0;_"+x.labels[R]+d.hoverLabelText(v,D,S.yhoverformat):((I=y.extendFlat({},C)).y0=I.y1=F,I.yLabelVal=D,I.yLabel=x.labels[R]+d.hoverLabelText(v,D,S.yhoverformat),I.name="",T.push(I),b[D]=I)}return T}function o(s,f,c,p){var w=s.cd,v=s.ya,S=w[0].trace,x=w[0].t,T=a(s,f,c,p);if(!T)return[];var C=w[T.index],_=T.index=C.i,A=C.dir;function L(B){return x.labels[B]+d.hoverLabelText(v,S[B][_],S.yhoverformat)}var b=C.hi||S.hoverinfo,O=b.split("+"),I=b==="all",R=I||O.indexOf("y")!==-1,D=I||O.indexOf("text")!==-1,F=R?[L("open"),L("high"),L("low"),L("close")+" "+l[A]]:[];return D&&g(C,S,F),T.extraText=F.join("
"),T.y0=T.y1=v.c2p(C.yc,!0),[T]}k.exports={hoverPoints:function(s,f,c,p){return s.cd[0].trace.hoverlabel.split?u(s,f,c,p):o(s,f,c,p)},hoverSplit:u,hoverOnPoints:o}},54186:function(k,m,t){k.exports={moduleType:"trace",name:"ohlc",basePlotModule:t(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:t(2522),supplyDefaults:t(16169),calc:t(3485).calc,plot:t(72314),style:t(53101),hoverPoints:t(66449).hoverPoints,selectPoints:t(67324)}},14555:function(k,m,t){var d=t(73972),y=t(71828);k.exports=function(i,M,g,h){var l=g("x"),a=g("open"),u=g("high"),o=g("low"),s=g("close");if(g("hoverlabel.split"),d.getComponentMethod("calendars","handleTraceDefaults")(i,M,["x"],h),a&&u&&o&&s){var f=Math.min(a.length,u.length,o.length,s.length);return l&&(f=Math.min(f,y.minRowLength(l))),M._length=f,f}}},72314:function(k,m,t){var d=t(39898),y=t(71828);k.exports=function(i,M,g,h){var l=M.yaxis,a=M.xaxis,u=!!a.rangebreaks;y.makeTraceGroups(h,g,"trace ohlc").each(function(o){var s=d.select(this),f=o[0],c=f.t;if(f.trace.visible!==!0||c.empty)s.remove();else{var p=c.tickLen,w=s.selectAll("path").data(y.identity);w.enter().append("path"),w.exit().remove(),w.attr("d",function(v){if(v.empty)return"M0,0Z";var S=a.c2p(v.pos-p,!0),x=a.c2p(v.pos+p,!0),T=u?(S+x)/2:a.c2p(v.pos,!0);return"M"+S+","+l.c2p(v.o,!0)+"H"+T+"M"+T+","+l.c2p(v.h,!0)+"V"+l.c2p(v.l,!0)+"M"+x+","+l.c2p(v.c,!0)+"H"+T})}})}},67324:function(k){k.exports=function(m,t){var d,y=m.cd,i=m.xaxis,M=m.yaxis,g=[],h=y[0].t.bPos||0;if(t===!1)for(d=0;d=Z.length||X[Z[Q]]!==void 0)return!1;X[Z[Q]]=!0}return!0}(te))for(ne=0;ne0;v&&(p="array");var S=s("categoryorder",p);S==="array"?(s("categoryarray"),s("ticktext")):(delete u.categoryarray,delete u.ticktext),v||S!=="array"||(o.categoryorder="trace")}}k.exports=function(u,o,s,f){function c(x,T){return d.coerce(u,o,h,x,T)}var p=g(u,o,{name:"dimensions",handleItemDefaults:a}),w=function(x,T,C,_,A){A("line.shape"),A("line.hovertemplate");var L=A("line.color",_.colorway[0]);if(y(x,"line")&&d.isArrayOrTypedArray(L)){if(L.length)return A("line.colorscale"),i(x,T,_,A,{prefix:"line.",cLetter:"c"}),L.length;T.line.color=C}return 1/0}(u,o,s,f,c);M(o,f,c),Array.isArray(p)&&p.length||(o.visible=!1),l(o,p,"values",w),c("hoveron"),c("hovertemplate"),c("arrangement"),c("bundlecolors"),c("sortpaths"),c("counts");var v={family:f.font.family,size:Math.round(f.font.size),color:f.font.color};d.coerceFont(c,"labelfont",v);var S={family:f.font.family,size:Math.round(f.font.size/1.2),color:f.font.color};d.coerceFont(c,"tickfont",S)}},94873:function(k,m,t){k.exports={attributes:t(99506),supplyDefaults:t(14647),calc:t(28699),plot:t(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t(27677),categories:["noOpacity"],meta:{}}},45460:function(k,m,t){var d=t(39898),y=t(81684).k4,i=t(72391),M=t(30211),g=t(71828),h=g.strTranslate,l=t(91424),a=t(84267),u=t(63893);function o(te,Z,X,Q){var re=Z._context.staticPlot,ie=te.map(U.bind(0,Z,X)),oe=Q.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",re?"none":"all");var ue=oe.selectAll("g.trace.parcats").data(ie,s),ce=ue.enter().append("g").attr("class","trace parcats");ue.attr("transform",function(Se){return h(Se.x,Se.y)}),ce.append("g").attr("class","paths");var ye=ue.select("g.paths").selectAll("path.path").data(function(Se){return Se.paths},s);ye.attr("fill",function(Se){return Se.model.color});var de=ye.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(Se){return Se.model.color}).attr("fill-opacity",0);T(de),ye.attr("d",function(Se){return Se.svgD}),de.empty()||ye.sort(c),ye.exit().remove(),ye.on("mouseover",p).on("mouseout",w).on("click",x),ce.append("g").attr("class","dimensions");var me=ue.select("g.dimensions").selectAll("g.dimension").data(function(Se){return Se.dimensions},s);me.enter().append("g").attr("class","dimension"),me.attr("transform",function(Se){return h(Se.x,0)}),me.exit().remove();var pe=me.selectAll("g.category").data(function(Se){return Se.categories},s),xe=pe.enter().append("g").attr("class","category");pe.attr("transform",function(Se){return h(0,Se.y)}),xe.append("rect").attr("class","catrect").attr("pointer-events","none"),pe.select("rect.catrect").attr("fill","none").attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}),_(xe);var Pe=pe.selectAll("rect.bandrect").data(function(Se){return Se.bands},s);Pe.each(function(){g.raiseToTop(this)}),Pe.attr("fill",function(Se){return Se.color});var _e=Pe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(Se){return Se.color}).attr("fill-opacity",0);Pe.attr("fill",function(Se){return Se.color}).attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}).attr("y",function(Se){return Se.y}).attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":Se.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),A(_e),Pe.exit().remove(),xe.append("text").attr("class","catlabel").attr("pointer-events","none");var Me=Z._fullLayout.paper_bgcolor;pe.select("text.catlabel").attr("text-anchor",function(Se){return f(Se)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",u.makeTextShadow(Me)).style("fill","rgb(0, 0, 0)").attr("x",function(Se){return f(Se)?Se.width+5:-5}).attr("y",function(Se){return Se.height/2}).text(function(Se){return Se.model.categoryLabel}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.categorylabelfont),u.convertToTspans(d.select(this),Z)}),xe.append("text").attr("class","dimlabel"),pe.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(Se){return Se.width/2}).attr("y",-5).text(function(Se,Ce){return Ce===0?Se.parcatsViewModel.model.dimensions[Se.model.dimensionInd].dimensionLabel:null}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.labelfont)}),pe.selectAll("rect.bandrect").on("mouseover",R).on("mouseout",D),pe.exit().remove(),me.call(d.behavior.drag().origin(function(Se){return{x:Se.x,y:0}}).on("dragstart",F).on("drag",B).on("dragend",N)),ue.each(function(Se){Se.traceSelection=d.select(this),Se.pathSelection=d.select(this).selectAll("g.paths").selectAll("path.path"),Se.dimensionSelection=d.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),ue.exit().remove()}function s(te){return te.key}function f(te){var Z=te.parcatsViewModel.dimensions.length,X=te.parcatsViewModel.dimensions[Z-1].model.dimensionInd;return te.model.dimensionInd===X}function c(te,Z){return te.model.rawColor>Z.model.rawColor?1:te.model.rawColor"),ke=d.mouse(ue)[0];M.loneHover({trace:ce,x:Pe-de.left+me.left,y:_e-de.top+me.top,text:be,color:te.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:ke1&&me.displayInd===de.dimensions.length-1?(Q=ce.left,re="left"):(Q=ce.left+ce.width,re="right");var Pe=ye.model.count,_e=ye.model.categoryLabel,Me=Pe/ye.parcatsViewModel.model.count,Se={countLabel:Pe,categoryLabel:_e,probabilityLabel:Me.toFixed(3)},Ce=[];ye.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ce.push(["Count:",Se.countLabel].join(" ")),ye.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Ce.push(["P("+Se.categoryLabel+"):",Se.probabilityLabel].join(" "));var ae=Ce.join("
");return{trace:pe,x:ie*(Q-Z.left),y:oe*(xe-Z.top),text:ae,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:re,hovertemplate:pe.hovertemplate,hovertemplateLabels:Se,eventData:[{data:pe._input,fullData:pe,count:Pe,category:_e,probability:Me}]}}function R(te){if(!te.parcatsViewModel.dragDimension&&te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){if(d.mouse(this)[1]<-1)return;var Z,X=te.parcatsViewModel.graphDiv,Q=X._fullLayout,re=Q._paperdiv.node().getBoundingClientRect(),ie=te.parcatsViewModel.hoveron,oe=this;ie==="color"?(function(ue){var ce=d.select(ue).datum(),ye=L(ce);C(ye),ye.each(function(){g.raiseToTop(this)}),d.select(ue.parentNode).selectAll("rect.bandrect").filter(function(de){return de.color===ce.color}).each(function(){g.raiseToTop(this),d.select(this).attr("stroke","black").attr("stroke-width",1.5)})}(oe),O(oe,"plotly_hover",d.event)):(function(ue){d.select(ue.parentNode).selectAll("rect.bandrect").each(function(ce){var ye=L(ce);C(ye),ye.each(function(){g.raiseToTop(this)})}),d.select(ue.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(oe),b(oe,"plotly_hover",d.event)),te.parcatsViewModel.hoverinfoItems.indexOf("none")===-1&&(ie==="category"?Z=I(X,re,oe):ie==="color"?Z=function(ue,ce,ye){ue._fullLayout._calcInverseTransform(ue);var de,me,pe=ue._fullLayout._invScaleX,xe=ue._fullLayout._invScaleY,Pe=ye.getBoundingClientRect(),_e=d.select(ye).datum(),Me=_e.categoryViewModel,Se=Me.parcatsViewModel,Ce=Se.model.dimensions[Me.model.dimensionInd],ae=Se.trace,he=Pe.y+Pe.height/2;Se.dimensions.length>1&&Ce.displayInd===Se.dimensions.length-1?(de=Pe.left,me="left"):(de=Pe.left+Pe.width,me="right");var be=Me.model.categoryLabel,ke=_e.parcatsViewModel.model.count,Le=0;_e.categoryViewModel.bands.forEach(function(st){st.color===_e.color&&(Le+=st.count)});var Be=Me.model.count,ze=0;Se.pathSelection.each(function(st){st.model.color===_e.color&&(ze+=st.model.count)});var je=Le/ke,ge=Le/ze,we=Le/Be,Ee={countLabel:ke,categoryLabel:be,probabilityLabel:je.toFixed(3)},Ve=[];Me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ve.push(["Count:",Ee.countLabel].join(" ")),Me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Ve.push("P(color โˆฉ "+be+"): "+Ee.probabilityLabel),Ve.push("P("+be+" | color): "+ge.toFixed(3)),Ve.push("P(color | "+be+"): "+we.toFixed(3)));var $e=Ve.join("
"),Ye=a.mostReadable(_e.color,["black","white"]);return{trace:ae,x:pe*(de-ce.left),y:xe*(he-ce.top),text:$e,color:_e.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:Ye,fontSize:10,idealAlign:me,hovertemplate:ae.hovertemplate,hovertemplateLabels:Ee,eventData:[{data:ae._input,fullData:ae,category:be,count:ke,probability:je,categorycount:Be,colorcount:ze,bandcolorcount:Le}]}}(X,re,oe):ie==="dimension"&&(Z=function(ue,ce,ye){var de=[];return d.select(ye.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){de.push(I(ue,ce,this))}),de}(X,re,oe)),Z&&M.loneHover(Z,{container:Q._hoverlayer.node(),outerContainer:Q._paper.node(),gd:X}))}}function D(te){var Z=te.parcatsViewModel;Z.dragDimension||(T(Z.pathSelection),_(Z.dimensionSelection.selectAll("g.category")),A(Z.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),M.loneUnhover(Z.graphDiv._fullLayout._hoverlayer.node()),Z.pathSelection.sort(c),Z.hoverinfoItems.indexOf("skip")!==-1)||(te.parcatsViewModel.hoveron==="color"?O(this,"plotly_unhover",d.event):b(this,"plotly_unhover",d.event))}function F(te){te.parcatsViewModel.arrangement!=="fixed"&&(te.dragDimensionDisplayInd=te.model.displayInd,te.initialDragDimensionDisplayInds=te.parcatsViewModel.model.dimensions.map(function(Z){return Z.displayInd}),te.dragHasMoved=!1,te.dragCategoryDisplayInd=null,d.select(this).selectAll("g.category").select("rect.catrect").each(function(Z){var X=d.mouse(this)[0],Q=d.mouse(this)[1];-2<=X&&X<=Z.width+2&&-2<=Q&&Q<=Z.height+2&&(te.dragCategoryDisplayInd=Z.model.displayInd,te.initialDragCategoryDisplayInds=te.model.categories.map(function(re){return re.displayInd}),Z.model.dragY=Z.y,g.raiseToTop(this.parentNode),d.select(this.parentNode).selectAll("rect.bandrect").each(function(re){re.yde.y+de.height/2&&(ie.model.displayInd=de.model.displayInd,de.model.displayInd=ue),te.dragCategoryDisplayInd=ie.model.displayInd}if(te.dragCategoryDisplayInd===null||te.parcatsViewModel.arrangement==="freeform"){re.model.dragX=d.event.x;var me=te.parcatsViewModel.dimensions[X],pe=te.parcatsViewModel.dimensions[Q];me!==void 0&&re.model.dragXpe.x&&(re.model.displayInd=pe.model.displayInd,pe.model.displayInd=te.dragDimensionDisplayInd),te.dragDimensionDisplayInd=re.model.displayInd}H(te.parcatsViewModel),W(te.parcatsViewModel),$(te.parcatsViewModel),j(te.parcatsViewModel)}}function N(te){if(te.parcatsViewModel.arrangement!=="fixed"&&te.dragDimensionDisplayInd!==null){d.select(this).selectAll("text").attr("font-weight","normal");var Z={},X=q(te.parcatsViewModel),Q=te.parcatsViewModel.model.dimensions.map(function(de){return de.displayInd}),re=te.initialDragDimensionDisplayInds.some(function(de,me){return de!==Q[me]});re&&Q.forEach(function(de,me){var pe=te.parcatsViewModel.model.dimensions[me].containerInd;Z["dimensions["+pe+"].displayindex"]=de});var ie=!1;if(te.dragCategoryDisplayInd!==null){var oe=te.model.categories.map(function(de){return de.displayInd});if(ie=te.initialDragCategoryDisplayInds.some(function(de,me){return de!==oe[me]})){var ue=te.model.categories.slice().sort(function(de,me){return de.displayInd-me.displayInd}),ce=ue.map(function(de){return de.categoryValue}),ye=ue.map(function(de){return de.categoryLabel});Z["dimensions["+te.model.containerInd+"].categoryarray"]=[ce],Z["dimensions["+te.model.containerInd+"].ticktext"]=[ye],Z["dimensions["+te.model.containerInd+"].categoryorder"]="array"}}te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!te.dragHasMoved&&te.potentialClickBand&&(te.parcatsViewModel.hoveron==="color"?O(te.potentialClickBand,"plotly_click",d.event.sourceEvent):b(te.potentialClickBand,"plotly_click",d.event.sourceEvent)),te.model.dragX=null,te.dragCategoryDisplayInd!==null&&(te.parcatsViewModel.dimensions[te.dragDimensionDisplayInd].categories[te.dragCategoryDisplayInd].model.dragY=null,te.dragCategoryDisplayInd=null),te.dragDimensionDisplayInd=null,te.parcatsViewModel.dragDimension=null,te.dragHasMoved=null,te.potentialClickBand=null,H(te.parcatsViewModel),W(te.parcatsViewModel),d.transition().duration(300).ease("cubic-in-out").each(function(){$(te.parcatsViewModel,!0),j(te.parcatsViewModel,!0)}).each("end",function(){(re||ie)&&i.restyle(te.parcatsViewModel.graphDiv,Z,[X])})}}function q(te){for(var Z,X=te.graphDiv._fullData,Q=0;Q=0;oe--)ye+="C"+ce[oe]+","+(Z[oe+1]+Q)+" "+ue[oe]+","+(Z[oe]+Q)+" "+(te[oe]+X[oe])+","+(Z[oe]+Q),ye+="l-"+X[oe]+",0 ";return ye+"Z"}function W(te){var Z=te.dimensions,X=te.model,Q=Z.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.y})}),re=te.model.dimensions.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.displayInd})}),ie=te.model.dimensions.map(function(Ee){return Ee.displayInd}),oe=te.dimensions.map(function(Ee){return Ee.model.dimensionInd}),ue=Z.map(function(Ee){return Ee.x}),ce=Z.map(function(Ee){return Ee.width}),ye=[];for(var de in X.paths)X.paths.hasOwnProperty(de)&&ye.push(X.paths[de]);function me(Ee){var Ve=Ee.categoryInds.map(function($e,Ye){return re[Ye][$e]});return oe.map(function($e){return Ve[$e]})}ye.sort(function(Ee,Ve){var $e=me(Ee),Ye=me(Ve);return te.sortpaths==="backward"&&($e.reverse(),Ye.reverse()),$e.push(Ee.valueInds[0]),Ye.push(Ve.valueInds[0]),te.bundlecolors&&($e.unshift(Ee.rawColor),Ye.unshift(Ve.rawColor)),$eYe?1:0});for(var pe=new Array(ye.length),xe=Z[0].model.count,Pe=Z[0].categories.map(function(Ee){return Ee.height}).reduce(function(Ee,Ve){return Ee+Ve}),_e=0;_e0?Pe*(Se.count/xe):0;for(var Ce,ae=new Array(Q.length),he=0;he1?(te.width-80-16)/(Q-1):0)*re;var ie,oe,ue,ce,ye,de=[],me=te.model.maxCats,pe=Z.categories.length,xe=Z.count,Pe=te.height-8*(me-1),_e=8*(me-pe)/2,Me=Z.categories.map(function(Se){return{displayInd:Se.displayInd,categoryInd:Se.categoryInd}});for(Me.sort(function(Se,Ce){return Se.displayInd-Ce.displayInd}),ye=0;ye0?oe.count/xe*Pe:0,ue={key:oe.valueInds[0],model:oe,width:16,height:ie,y:oe.dragY!==null?oe.dragY:_e,bands:[],parcatsViewModel:te},_e=_e+ie+8,de.push(ue);return{key:Z.dimensionInd,x:Z.dragX!==null?Z.dragX:X,y:0,width:16,model:Z,categories:de,parcatsViewModel:te,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}k.exports=function(te,Z,X,Q){o(X,te,Q,Z)}},45784:function(k,m,t){var d=t(45460);k.exports=function(y,i,M,g){var h=y._fullLayout,l=h._paper,a=h._size;d(y,l,i,{width:a.w,height:a.h,margin:{t:a.t,r:a.r,b:a.b,l:a.l}},M,g)}},73362:function(k,m,t){var d=t(50693),y=t(13838),i=t(41940),M=t(27670).Y,g=t(1426).extendFlat,h=t(44467).templatedArray;k.exports={domain:M({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:h("dimension",{label:{valType:"string",editType:"plot"},tickvals:g({},y.tickvals,{editType:"plot"}),ticktext:g({},y.ticktext,{editType:"plot"}),tickformat:g({},y.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:g({editType:"calc"},d("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},57920:function(k,m,t){var d=t(25706),y=t(39898),i=t(28984).keyFun,M=t(28984).repeat,g=t(71828).sorterAsc,h=t(71828).strTranslate,l=d.bar.snapRatio;function a(I,R){return I*(1-l)+R*l}var u=d.bar.snapClose;function o(I,R){return I*(1-u)+R*u}function s(I,R,D,F){if(function(ne,te){for(var Z=0;Z=te[Z][0]&&ne<=te[Z][1])return!0;return!1}(D,F))return D;var B=I?-1:1,N=0,q=R.length-1;if(B<0){var j=N;N=q,q=j}for(var $=R[N],U=$,G=N;B*GR){W=D;break}}if(B=U,isNaN(B)&&(B=isNaN(G)||isNaN(W)?isNaN(G)?W:G:R-$[G][1]<$[W][0]-R?G:W),!isNaN(B)){var ne=$[B],te=function(re,ie){var oe=d.bar.handleHeight;if(!(ie>re[1]+oe||ie=.9*re[1]+.1*re[0]?"n":ie<=.9*re[0]+.1*re[1]?"s":"ns"}(ne,R);te&&(N.interval=j[B],N.intervalPix=ne,N.region=te)}}if(I.ordinal&&!N.region){var Z=I.unitTickvals,X=I.unitToPaddedPx.invert(R);for(D=0;D=Q[0]&&X<=Q[1]){N.clickableOrdinalRange=Q;break}}}return N}function C(I,R){y.event.sourceEvent.stopPropagation();var D=R.height-y.mouse(I)[1]-2*d.verticalPadding,F=R.brush.svgBrush;F.wasDragged=!0,F._dragging=!0,F.grabbingBar?F.newExtent=[D-F.grabPoint,D+F.barLength-F.grabPoint].map(R.unitToPaddedPx.invert):F.newExtent=[F.startExtent,R.unitToPaddedPx.invert(D)].sort(g),R.brush.filterSpecified=!0,F.extent=F.stayingIntervals.concat([F.newExtent]),F.brushCallback(R),x(I.parentNode)}function _(I,R){var D=T(R,R.height-y.mouse(I)[1]-2*d.verticalPadding),F="crosshair";D.clickableOrdinalRange?F="pointer":D.region&&(F=D.region+"-resize"),y.select(document.body).style("cursor",F)}function A(I){I.on("mousemove",function(R){y.event.preventDefault(),R.parent.inBrushDrag||_(this,R)}).on("mouseleave",function(R){R.parent.inBrushDrag||v()}).call(y.behavior.drag().on("dragstart",function(R){(function(D,F){y.event.sourceEvent.stopPropagation();var B=F.height-y.mouse(D)[1]-2*d.verticalPadding,N=F.unitToPaddedPx.invert(B),q=F.brush,j=T(F,B),$=j.interval,U=q.svgBrush;if(U.wasDragged=!1,U.grabbingBar=j.region==="ns",U.grabbingBar){var G=$.map(F.unitToPaddedPx);U.grabPoint=B-G[0]-d.verticalPadding,U.barLength=G[1]-G[0]}U.clickableOrdinalRange=j.clickableOrdinalRange,U.stayingIntervals=F.multiselect&&q.filterSpecified?q.filter.getConsolidated():[],$&&(U.stayingIntervals=U.stayingIntervals.filter(function(W){return W[0]!==$[0]&&W[1]!==$[1]})),U.startExtent=j.region?$[j.region==="s"?1:0]:N,F.parent.inBrushDrag=!0,U.brushStartCallback()})(this,R)}).on("drag",function(R){C(this,R)}).on("dragend",function(R){(function(D,F){var B=F.brush,N=B.filter,q=B.svgBrush;q._dragging||(_(D,F),C(D,F),F.brush.svgBrush.wasDragged=!1),q._dragging=!1,y.event.sourceEvent.stopPropagation();var j=q.grabbingBar;if(q.grabbingBar=!1,q.grabLocation=void 0,F.parent.inBrushDrag=!1,v(),!q.wasDragged)return q.wasDragged=void 0,q.clickableOrdinalRange?B.filterSpecified&&F.multiselect?q.extent.push(q.clickableOrdinalRange):(q.extent=[q.clickableOrdinalRange],B.filterSpecified=!0):j?(q.extent=q.stayingIntervals,q.extent.length===0&&b(B)):b(B),q.brushCallback(F),x(D.parentNode),void q.brushEndCallback(B.filterSpecified?N.getConsolidated():[]);var $=function(){N.set(N.getConsolidated())};if(F.ordinal){var U=F.unitTickvals;U[U.length-1]q.newExtent[0];q.extent=q.stayingIntervals.concat(G?[q.newExtent]:[]),q.extent.length||b(B),q.brushCallback(F),G?x(D.parentNode,$):($(),x(D.parentNode))}else $();q.brushEndCallback(B.filterSpecified?N.getConsolidated():[])})(this,R)}))}function L(I,R){return I[0]-R[0]}function b(I){I.filterSpecified=!1,I.svgBrush.extent=[[-1/0,1/0]]}function O(I){for(var R,D=I.slice(),F=[],B=D.shift();B;){for(R=B.slice();(B=D.shift())&&B[0]<=R[1];)R[1]=Math.max(R[1],B[1]);F.push(R)}return F.length===1&&F[0][0]>F[0][1]&&(F=[]),F}k.exports={makeBrush:function(I,R,D,F,B,N){var q,j=function(){var $,U,G=[];return{set:function(W){(G=W.map(function(H){return H.slice().sort(g)}).sort(L)).length===1&&G[0][0]===-1/0&&G[0][1]===1/0&&(G=[[0,-1]]),$=O(G),U=G.reduce(function(H,ne){return[Math.min(H[0],ne[0]),Math.max(H[1],ne[1])]},[1/0,-1/0])},get:function(){return G.slice()},getConsolidated:function(){return $},getBounds:function(){return U}}}();return j.set(D),{filter:j,filterSpecified:R,svgBrush:{extent:[],brushStartCallback:F,brushCallback:(q=B,function($){var U=$.brush,G=function(H){return H.svgBrush.extent.map(function(ne){return ne.slice()})}(U),W=G.slice();U.filter.set(W),q()}),brushEndCallback:N}}},ensureAxisBrush:function(I,R,D){var F=I.selectAll("."+d.cn.axisBrush).data(M,i);F.enter().append("g").classed(d.cn.axisBrush,!0),function(B,N,q){var j=q._context.staticPlot,$=B.selectAll(".background").data(M);$.enter().append("rect").classed("background",!0).call(f).call(c).style("pointer-events",j?"none":"auto").attr("transform",h(0,d.verticalPadding)),$.call(A).attr("height",function(W){return W.height-d.verticalPadding});var U=B.selectAll(".highlight-shadow").data(M);U.enter().append("line").classed("highlight-shadow",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width+d.bar.strokeWidth).attr("stroke",N).attr("opacity",d.bar.strokeOpacity).attr("stroke-linecap","butt"),U.attr("y1",function(W){return W.height}).call(S);var G=B.selectAll(".highlight").data(M);G.enter().append("line").classed("highlight",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width-d.bar.strokeWidth).attr("stroke",d.bar.fillColor).attr("opacity",d.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function(W){return W.height}).call(S)}(F,R,D)},cleanRanges:function(I,R){if(Array.isArray(I[0])?(I=I.map(function(F){return F.sort(g)}),I=R.multiselect?O(I.sort(L)):[I[0]]):I=[I.sort(g)],R.tickvals){var D=R.tickvals.slice().sort(g);if(!(I=I.map(function(F){var B=[s(0,D,F[0],[]),s(1,D,F[1],[])];if(B[1]>B[0])return B}).filter(function(F){return F})).length)return}return I.length>1?I:I[0]}}},71791:function(k,m,t){k.exports={attributes:t(73362),supplyDefaults:t(3633),calc:t(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(k,m,t){var d=t(39898),y=t(27659).a0,i=t(21341),M=t(77922);m.name="parcoords",m.plot=function(g){var h=y(g.calcdata,"parcoords")[0];h.length&&i(g,h)},m.clean=function(g,h,l,a){var u=a._has&&a._has("parcoords"),o=h._has&&h._has("parcoords");u&&!o&&(a._paperdiv.selectAll(".parcoords").remove(),a._glimages.selectAll("*").remove())},m.toSVG=function(g){var h=g._fullLayout._glimages,l=d.select(g).selectAll(".svg-container");l.filter(function(a,u){return u===l.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus").each(function(){var a=this,u=a.toDataURL("image/png");h.append("svg:image").attr({xmlns:M.svg,"xlink:href":u,preserveAspectRatio:"none",x:0,y:0,width:a.style.width,height:a.style.height})}),window.setTimeout(function(){d.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(k,m,t){var d=t(71828).isArrayOrTypedArray,y=t(21081),i=t(28984).wrap;k.exports=function(M,g){var h,l;return y.hasColorscale(g,"line")&&d(g.line.color)?(h=g.line.color,l=y.extractOpts(g.line).colorscale,y.calc(M,g,{vals:h,containerStr:"line",cLetter:"c"})):(h=function(a){for(var u=new Array(a),o=0;ou&&(d.log("parcoords traces support up to "+u+" dimensions at the moment"),S.splice(u));var x=g(f,c,{name:"dimensions",layout:w,handleItemDefaults:s}),T=function(_,A,L,b,O){var I=O("line.color",L);if(y(_,"line")&&d.isArrayOrTypedArray(I)){if(I.length)return O("line.colorscale"),i(_,A,b,O,{prefix:"line.",cLetter:"c"}),I.length;A.line.color=L}return 1/0}(f,c,p,w,v);M(c,w,v),Array.isArray(x)&&x.length||(c.visible=!1),o(c,x,"values",T);var C={family:w.font.family,size:Math.round(w.font.size/1.2),color:w.font.color};d.coerceFont(v,"labelfont",C),d.coerceFont(v,"tickfont",C),d.coerceFont(v,"rangefont",C),v("labelangle"),v("labelside"),v("unselected.line.color"),v("unselected.line.opacity")}},1602:function(k,m,t){var d=t(71828).isTypedArray;m.convertTypedArray=function(y){return d(y)?Array.prototype.slice.call(y):y},m.isOrdinal=function(y){return!!y.tickvals},m.isVisible=function(y){return y.visible||!("visible"in y)}},67618:function(k,m,t){var d=t(71791);d.plot=t(21341),k.exports=d},83398:function(k,m,t){var d=t(56068),y=d([`precision highp float; +`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}},13056:function(k,m,t){var d=t(71828);k.exports=function(y,i){var M=y.split(" "),g=M[0],h=M[1],l=d.isArrayOrTypedArray(i)?d.mean(i):i,a=.5+l/100,u=1.5+l/100,o=["",""],s=[0,0];switch(g){case"top":o[0]="top",s[1]=-u;break;case"bottom":o[0]="bottom",s[1]=u}switch(h){case"left":o[1]="right",s[0]=-a;break;case"right":o[1]="left",s[0]=a}return{anchor:o[0]&&o[1]?o.join("-"):o[0]?o[0]:o[1]?o[1]:"center",offset:s}}},50101:function(k,m,t){var d=t(44517),y=t(71828),i=y.strTranslate,M=y.strScale,g=t(27659).AU,h=t(77922),l=t(39898),a=t(91424),u=t(63893),o=t(10481),s="mapbox",c=m.constants=t(77734);function f(p){return typeof p=="string"&&(c.styleValuesMapbox.indexOf(p)!==-1||p.indexOf("mapbox://")===0)}m.name=s,m.attr="subplot",m.idRoot=s,m.idRegex=m.attrRegex=y.counterRegex(s),m.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},m.layoutAttributes=t(23585),m.supplyLayoutDefaults=t(77882),m.plot=function(p){var w=p._fullLayout,v=p.calcdata,S=w._subplots.mapbox;if(d.version!==c.requiredVersion)throw new Error(c.wrongVersionErrorMsg);var x=function(b,P){var I=b._fullLayout;if(b._context.mapboxAccessToken==="")return"";for(var R=[],D=[],F=!1,B=!1,N=0;N1&&y.warn(c.multipleTokensErrorMsg),R[0]):(D.length&&y.log(["Listed mapbox access token(s)",D.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(p,S);d.accessToken=x;for(var T=0;TD/2){var F=b.split("|").join("
");I.text(F).attr("data-unformatted",F).call(u.convertToTspans,p),R=a.bBox(I.node())}I.attr("transform",i(-3,8-R.height)),P.insert("rect",".static-attribution").attr({x:-R.width-6,y:-R.height-3,width:R.width+6,height:R.height+3,fill:"rgba(255, 255, 255, 0.75)"});var B=1;R.width+6>D&&(B=D/(R.width+6));var N=[S.l+S.w*C.x[1],S.t+S.h*(1-C.y[0])];P.attr("transform",i(N[0],N[1])+M(B))}},m.updateFx=function(p){for(var w=p._fullLayout,v=w._subplots.mapbox,S=0;S0){for(var s=0;s0}function a(u){var o={},s={};switch(u.type){case"circle":d.extendFlat(s,{"circle-radius":u.circle.radius,"circle-color":u.color,"circle-opacity":u.opacity});break;case"line":d.extendFlat(s,{"line-width":u.line.width,"line-color":u.color,"line-opacity":u.opacity,"line-dasharray":u.line.dash});break;case"fill":d.extendFlat(s,{"fill-color":u.color,"fill-outline-color":u.fill.outlinecolor,"fill-opacity":u.opacity});break;case"symbol":var c=u.symbol,f=i(c.textposition,c.iconsize);d.extendFlat(o,{"icon-image":c.icon+"-15","icon-size":c.iconsize/10,"text-field":c.text,"text-size":c.textfont.size,"text-anchor":f.anchor,"text-offset":f.offset,"symbol-placement":c.placement}),d.extendFlat(s,{"icon-color":u.color,"text-color":c.textfont.color,"text-opacity":u.opacity});break;case"raster":d.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":u.opacity})}return{layout:o,paint:s}}h.update=function(u){this.visible?this.needsNewImage(u)?this.updateImage(u):this.needsNewSource(u)?(this.removeLayer(),this.updateSource(u),this.updateLayer(u)):this.needsNewLayer(u)?this.updateLayer(u):this.updateStyle(u):(this.updateSource(u),this.updateLayer(u)),this.visible=l(u)},h.needsNewImage=function(u){return this.subplot.map.getSource(this.idSource)&&this.sourceType==="image"&&u.sourcetype==="image"&&(this.source!==u.source||JSON.stringify(this.coordinates)!==JSON.stringify(u.coordinates))},h.needsNewSource=function(u){return this.sourceType!==u.sourcetype||JSON.stringify(this.source)!==JSON.stringify(u.source)||this.layerType!==u.type},h.needsNewLayer=function(u){return this.layerType!==u.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},h.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},h.updateImage=function(u){this.subplot.map.getSource(this.idSource).updateImage({url:u.source,coordinates:u.coordinates});var o=this.findFollowingMapboxLayerId(this.lookupBelow());o!==null&&this.subplot.map.moveLayer(this.idLayer,o)},h.updateSource=function(u){var o=this.subplot.map;if(o.getSource(this.idSource)&&o.removeSource(this.idSource),this.sourceType=u.sourcetype,this.source=u.source,l(u)){var s=function(c){var f,p=c.sourcetype,w=c.source,v={type:p};return p==="geojson"?f="data":p==="vector"?f=typeof w=="string"?"url":"tiles":p==="raster"?(f="tiles",v.tileSize=256):p==="image"&&(f="url",v.coordinates=c.coordinates),v[f]=w,c.sourceattribution&&(v.attribution=y(c.sourceattribution)),v}(u);o.addSource(this.idSource,s)}},h.findFollowingMapboxLayerId=function(u){if(u==="traces")for(var o=this.subplot.getMapLayers(),s=0;s1)for(P=0;P-1&&p(N.originalEvent,I,[P.xaxis],[P.yaxis],P.id,B),W.indexOf("event")>-1&&l.click(I,N.originalEvent)}}},x.updateFx=function(L){var b=this,P=b.map,I=b.gd;if(!b.isStatic){var R,D=L.dragmode;R=function(N,W){W.isRect?(N.range={})[b.id]=[B([W.xmin,W.ymin]),B([W.xmax,W.ymax])]:(N.lassoPoints={})[b.id]=W.map(B)};var F=b.dragOptions;b.dragOptions=y.extendDeep(F||{},{dragmode:L.dragmode,element:b.div,gd:I,plotinfo:{id:b.id,domain:L[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:R},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),P.off("click",b.onClickInPanHandler),o(D)||u(D)?(P.dragPan.disable(),P.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(N,W,j){s(N,W,j,b.dragOptions,D)},h.init(b.dragOptions)):(P.dragPan.enable(),P.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),P.on("click",b.onClickInPanHandler))}function B(N){var W=b.map.unproject(N);return[W.lng,W.lat]}},x.updateFramework=function(L){var b=L[this.id].domain,P=L._size,I=this.div.style;I.width=P.w*(b.x[1]-b.x[0])+"px",I.height=P.h*(b.y[1]-b.y[0])+"px",I.left=P.l+b.x[0]*P.w+"px",I.top=P.t+(1-b.y[1])*P.h+"px",this.xaxis._offset=P.l+b.x[0]*P.w,this.xaxis._length=P.w*(b.x[1]-b.x[0]),this.yaxis._offset=P.t+(1-b.y[1])*P.h,this.yaxis._length=P.h*(b.y[1]-b.y[0])},x.updateLayers=function(L){var b,P=L[this.id].layers,I=this.layerList;if(P.length!==I.length){for(b=0;b=G.width-20?(ne["text-anchor"]="start",ne.x=5):(ne["text-anchor"]="end",ne.x=G._paper.attr("width")-7),q.attr(ne);var te=q.select(".js-link-to-tool"),Z=q.select(".js-link-spacer"),X=q.select(".js-sourcelinks");U._context.showSources&&U._context.showSources(U),U._context.showLink&&function(Q,re){re.text("");var ie=re.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(Q._context.linkText+" "+String.fromCharCode(187));if(Q._context.sendData)ie.on("click",function(){T.sendDataToCloud(Q)});else{var oe=window.location.pathname.split("/"),ue=window.location.search;ie.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+oe[2].split(".")[0]+"/"+oe[1]+ue})}}(U,te),Z.text(te.text()&&X.text()?" - ":"")}},T.sendDataToCloud=function(U){var G=(window.PLOTLYENV||{}).BASE_URL||U._context.plotlyServerURL;if(G){U.emit("plotly_beforeexport");var q=d.select(U).append("div").attr("id","hiddenform").style("display","none"),H=q.append("form").attr({action:G+"/external",method:"post",target:"_blank"});return H.append("input").attr({type:"text",name:"data"}).node().value=T.graphJson(U,!1,"keepdata"),H.node().submit(),q.remove(),U.emit("plotly_afterexport"),!1}};var A=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],L=["year","month","dayMonth","dayMonthYear"];function b(U,G){var q=U._context.locale;q||(q="en-US");var H=!1,ne={};function te(oe){for(var ue=!0,ce=0;ce1&&Se.length>1){for(g.getComponentMethod("grid","sizeDefaults")(Z,te),ne=0;ne15&&Se.length>15&&te.shapes.length===0&&te.images.length===0,T.linkSubplots(Q,te,X,H),T.cleanPlot(Q,te,X,H);var ke=!(!H._has||!H._has("gl2d")),Le=!(!te._has||!te._has("gl2d")),Be=!(!H._has||!H._has("cartesian"))||ke,ze=!(!te._has||!te._has("cartesian"))||Le;Be&&!ze?H._bgLayer.remove():ze&&!Be&&(te._shouldCreateBgLayer=!0),H._zoomlayer&&!U._dragging&&c({_fullLayout:H}),function(Ee,Ve){var Ye,$e=[];Ve.meta&&(Ye=Ve._meta={meta:Ve.meta,layout:{meta:Ve.meta}});for(var st=0;st0){var re=1-2*Z;H=Math.round(re*H),ne=Math.round(re*ne)}}var ie=T.layoutAttributes.width.min,oe=T.layoutAttributes.height.min;H1,ce=!G.height&&Math.abs(q.height-ne)>1;(ce||ue)&&(ue&&(q.width=H),ce&&(q.height=ne)),U._initialAutoSize||(U._initialAutoSize={width:H,height:ne}),T.sanitizeMargins(q)},T.supplyLayoutModuleDefaults=function(U,G,q,H){var ne,te,Z,X=g.componentsRegistry,Q=G._basePlotModules,re=g.subplotsRegistry.cartesian;for(ne in X)(Z=X[ne]).includeBasePlot&&Z.includeBasePlot(U,G);for(var ie in Q.length||Q.push(re),G._has("cartesian")&&(g.getComponentMethod("grid","contentDefaults")(U,G),re.finalizeSubplots(U,G)),G._subplots)G._subplots[ie].sort(a.subplotSort);for(te=0;te1&&(q.l/=me,q.r/=me)}if(ue){var pe=(q.t+q.b)/ue;pe>1&&(q.t/=pe,q.b/=pe)}var xe=q.xl!==void 0?q.xl:q.x,Oe=q.xr!==void 0?q.xr:q.x,_e=q.yt!==void 0?q.yt:q.y,Me=q.yb!==void 0?q.yb:q.y;ce[G]={l:{val:xe,size:q.l+de},r:{val:Oe,size:q.r+de},b:{val:Me,size:q.b+de},t:{val:_e,size:q.t+de}},ye[G]=1}else delete ce[G],delete ye[G];if(!H._replotting)return T.doAutoMargin(U)}},T.doAutoMargin=function(U){var G=U._fullLayout,q=G.width,H=G.height;G._size||(G._size={}),F(G);var ne=G._size,te=G.margin,Z={t:0,b:0,l:0,r:0},X=a.extendFlat({},ne),Q=U._fullLayout._reservedMargin;for(var re in Q)for(var ie in Q[re]){var oe=Q[re][ie];Z[ie]=Math.max(Z[ie],oe)}var ue=te.l,ce=te.r,ye=te.t,de=te.b,me=G._pushmargin,pe=G._pushmarginIds,xe=G.minreducedwidth,Oe=G.minreducedheight;if(G.margin.autoexpand!==!1){for(var _e in me)pe[_e]||delete me[_e];for(var Me in me.base={l:{val:0,size:ue},r:{val:1,size:ce},t:{val:1,size:ye},b:{val:0,size:de}},me){var Se=me[Me].l||{},Ce=me[Me].b||{},ae=Se.val,he=Se.size,be=Ce.val,ke=Ce.size,Le=q-Z.r-Z.l,Be=H-Z.t-Z.b;for(var ze in me){if(M(he)&&me[ze].r){var je=me[ze].r.val,ge=me[ze].r.size;if(je>ae){var we=(he*je+(ge-Le)*ae)/(je-ae),Ee=(ge*(1-ae)+(he-Le)*(1-je))/(je-ae);we+Ee>ue+ce&&(ue=we,ce=Ee)}}if(M(ke)&&me[ze].t){var Ve=me[ze].t.val,Ye=me[ze].t.size;if(Ve>be){var $e=(ke*Ve+(Ye-Be)*be)/(Ve-be),st=(Ye*(1-be)+(ke-Be)*(1-Ve))/(Ve-be);$e+st>de+ye&&(de=$e,ye=st)}}}}}var ot=a.constrain(q-te.l-te.r,2,xe),ft=a.constrain(H-te.t-te.b,2,Oe),bt=Math.max(0,q-ot),Et=Math.max(0,H-ft);if(bt){var kt=(ue+ce)/bt;kt>1&&(ue/=kt,ce/=kt)}if(Et){var xt=(de+ye)/Et;xt>1&&(de/=xt,ye/=xt)}if(ne.l=Math.round(ue)+Z.l,ne.r=Math.round(ce)+Z.r,ne.t=Math.round(ye)+Z.t,ne.b=Math.round(de)+Z.b,ne.p=Math.round(te.pad),ne.w=Math.round(q)-ne.l-ne.r,ne.h=Math.round(H)-ne.t-ne.b,!G._replotting&&(T.didMarginChange(X,ne)||function(Rt){if("_redrawFromAutoMarginCount"in Rt._fullLayout)return!1;var Bt=s.list(Rt,"",!0);for(var qt in Bt)if(Bt[qt].autoshift||Bt[qt].shift)return!0;return!1}(U))){"_redrawFromAutoMarginCount"in G?G._redrawFromAutoMarginCount++:G._redrawFromAutoMarginCount=1;var Ft=3*(1+Object.keys(pe).length);if(G._redrawFromAutoMarginCount0&&(U._transitioningWithDuration=!0),U._transitionData._interruptCallbacks.push(function(){H=!0}),q.redraw&&U._transitionData._interruptCallbacks.push(function(){return g.call("redraw",U)}),U._transitionData._interruptCallbacks.push(function(){U.emit("plotly_transitioninterrupted",[])});var X=0,Q=0;function re(){return X++,function(){var ie;Q++,H||Q!==X||(ie=Z,U._transitionData&&(function(oe){if(oe)for(;oe.length;)oe.shift()}(U._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(q.redraw)return g.call("redraw",U)}).then(function(){U._transitioning=!1,U._transitioningWithDuration=!1,U.emit("plotly_transitioned",[])}).then(ie)))}}q.runFn(re),setTimeout(re())})}],te=a.syncOrAsync(ne,U);return te&&te.then||(te=Promise.resolve()),te.then(function(){return U})}T.didMarginChange=function(U,G){for(var q=0;q1)return!0}return!1},T.graphJson=function(U,G,q,H,ne,te){(ne&&G&&!U._fullData||ne&&!G&&!U._fullLayout)&&T.supplyDefaults(U);var Z=ne?U._fullData:U.data,X=ne?U._fullLayout:U.layout,Q=(U._transitionData||{})._frames;function re(ue,ce){if(typeof ue=="function")return ce?"_function_":null;if(a.isPlainObject(ue)){var ye,de={};return Object.keys(ue).sort().forEach(function(me){if(["_","["].indexOf(me.charAt(0))===-1)if(typeof ue[me]!="function"){if(q==="keepdata"){if(me.substr(me.length-3)==="src")return}else if(q==="keepstream"){if(typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0&&!a.isPlainObject(ue.stream))return}else if(q!=="keepall"&&typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0)return;de[me]=re(ue[me],ce)}else ce&&(de[me]="_function")}),de}return Array.isArray(ue)?ue.map(function(me){return re(me,ce)}):a.isTypedArray(ue)?a.simpleMap(ue,a.identity):a.isJSDate(ue)?a.ms2DateTimeLocal(+ue):ue}var ie={data:(Z||[]).map(function(ue){var ce=re(ue);return G&&delete ce.fit,ce})};if(!G&&(ie.layout=re(X),ne)){var oe=X._size;ie.layout.computed={margin:{b:oe.b,l:oe.l,r:oe.r,t:oe.t}}}return Q&&(ie.frames=re(Q)),te&&(ie.config=re(U._context,!0)),H==="object"?ie:JSON.stringify(ie)},T.modifyFrames=function(U,G){var q,H,ne,te=U._transitionData._frames,Z=U._transitionData._frameHash;for(q=0;q=0;te--)if(Me[te].enabled){q._indexToPoints=Me[te]._indexToPoints;break}H&&H.calc&&(_e=H.calc(U,q))}Array.isArray(_e)&&_e[0]||(_e=[{x:o,y:o}]),_e[0].t||(_e[0].t={}),_e[0].trace=q,re[xe]=_e}}for(j(Z,X,Q),ne=0;ne1e-10?s:0}function o(s,c,f){c=c||0,f=f||0;for(var p=s.length,w=new Array(p),v=0;v0?v:1/0}),p=d.mod(f+1,c.length);return[c[f],c[p]]},findIntersectionXY:l,findXYatLength:function(s,c,f,p){var w=-c*f,v=c*c+1,S=2*(c*w-f),x=w*w+f*f-s*s,T=Math.sqrt(S*S-4*v*x),C=(-S+T)/(2*v),_=(-S-T)/(2*v);return[[C,c*C+w+p],[_,c*_+w+p]]},clampTiny:u,pathPolygon:function(s,c,f,p,w,v){return"M"+o(a(s,c,f,p),w,v).join("L")},pathPolygonAnnulus:function(s,c,f,p,w,v,S){var x,T;s=90||kt>90&&xt>=450?1:Rt<=0&&qt<=0?0:Math.max(Rt,qt),[kt<=180&&xt>=180||kt>180&&xt>=540?-1:Ft>=0&&Bt>=0?0:Math.min(Ft,Bt),kt<=270&&xt>=270||kt>270&&xt>=630?-1:Rt>=0&&qt>=0?0:Math.min(Rt,qt),xt>=360?1:Ft<=0&&Bt<=0?0:Math.max(Ft,Bt),ft]}(pe),ae=Ce[2]-Ce[0],he=Ce[3]-Ce[1],be=me/de,ke=Math.abs(he/ae);be>ke?(xe=de,Se=(me-(Oe=de*ke))/ie.h/2,_e=[ce[0],ce[1]],Me=[ye[0]+Se,ye[1]-Se]):(Oe=me,Se=(de-(xe=me/ke))/ie.w/2,_e=[ce[0]+Se,ce[1]-Se],Me=[ye[0],ye[1]]),Q.xLength2=xe,Q.yLength2=Oe,Q.xDomain2=_e,Q.yDomain2=Me;var Le,Be=Q.xOffset2=ie.l+ie.w*_e[0],ze=Q.yOffset2=ie.t+ie.h*(1-Me[1]),je=Q.radius=xe/ae,ge=Q.innerRadius=Q.getHole(X)*je,we=Q.cx=Be-je*Ce[0],Ee=Q.cy=ze+je*Ce[3],Ve=Q.cxx=we-Be,Ye=Q.cyy=Ee-ze,$e=oe.side;$e==="counterclockwise"?(Le=$e,$e="top"):$e==="clockwise"&&(Le=$e,$e="bottom"),Q.radialAxis=Q.mockAxis(Z,X,oe,{_id:"x",side:$e,_trueSide:Le,domain:[ge/ie.w,je/ie.w]}),Q.angularAxis=Q.mockAxis(Z,X,ue,{side:"right",domain:[0,Math.PI],autorange:!1}),Q.doAutoRange(Z,X),Q.updateAngularAxis(Z,X),Q.updateRadialAxis(Z,X),Q.updateRadialAxisTitle(Z,X),Q.xaxis=Q.mockCartesianAxis(Z,X,{_id:"x",domain:_e}),Q.yaxis=Q.mockCartesianAxis(Z,X,{_id:"y",domain:Me});var st=Q.pathSubplot();Q.clipPaths.forTraces.select("path").attr("d",st).attr("transform",h(Ve,Ye)),re.frontplot.attr("transform",h(Be,ze)).call(a.setClipUrl,Q._hasClipOnAxisFalse?null:Q.clipIds.forTraces,Q.gd),re.bg.attr("d",st).attr("transform",h(we,Ee)).call(l.fill,X.bgcolor)},q.mockAxis=function(Z,X,Q,re){var ie=M.extendFlat({},Q,re);return c(ie,X,Z),ie},q.mockCartesianAxis=function(Z,X,Q){var re=this,ie=re.isSmith,oe=Q._id,ue=M.extendFlat({type:"linear"},Q);s(ue,Z);var ce={x:[0,2],y:[1,3]};return ue.setRange=function(){var ye=re.sectorBBox,de=ce[oe],me=re.radialAxis._rl,pe=(me[1]-me[0])/(1-re.getHole(X));ue.range=[ye[de[0]]*pe,ye[de[1]]*pe]},ue.isPtWithinRange=oe!=="x"||ie?function(){return!0}:function(ye){return re.isPtInside(ye)},ue.setRange(),ue.setScale(),ue},q.doAutoRange=function(Z,X){var Q=this,re=Q.gd,ie=Q.radialAxis,oe=Q.getRadial(X);f(re,ie);var ue=ie.range;oe.range=ue.slice(),oe._input.range=ue.slice(),ie._rl=[ie.r2l(ue[0],null,"gregorian"),ie.r2l(ue[1],null,"gregorian")]},q.updateRadialAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getRadial(X),me=j(Q.getSector(X)[0],360),pe=Q.radialAxis,xe=ue90&&me<=270&&(pe.tickangle=180);var _e=Oe?function(ze){var je=N(Q,D([ze.x,0]));return h(je[0]-ce,je[1]-ye)}:function(ze){return h(pe.l2p(ze.x)+ue,0)},Me=Oe?function(ze){return B(Q,ze.x,-1/0,1/0)}:function(ze){return Q.pathArc(pe.r2p(ze.x)+ue)},Se=H(de);if(Q.radialTickLayout!==Se&&(ie["radial-axis"].selectAll(".xtick").remove(),Q.radialTickLayout=Se),xe){pe.setScale();var Ce=0,ae=Oe?(pe.tickvals||[]).filter(function(ze){return ze>=0}).map(function(ze){return o.tickText(pe,ze,!0,!1)}):o.calcTicks(pe),he=Oe?ae:o.clipEnds(pe,ae),be=o.getTickSigns(pe)[2];Oe&&((pe.ticks==="top"&&pe.side==="bottom"||pe.ticks==="bottom"&&pe.side==="top")&&(be=-be),pe.ticks==="top"&&pe.side==="top"&&(Ce=-pe.ticklen),pe.ticks==="bottom"&&pe.side==="bottom"&&(Ce=pe.ticklen)),o.drawTicks(re,pe,{vals:ae,layer:ie["radial-axis"],path:o.makeTickPath(pe,0,be),transFn:_e,crisp:!1}),o.drawGrid(re,pe,{vals:he,layer:ie["radial-grid"],path:Me,transFn:M.noop,crisp:!1}),o.drawLabels(re,pe,{vals:ae,layer:ie["radial-axis"],transFn:_e,labelFns:o.makeLabelFns(pe,Ce)})}var ke=Q.radialAxisAngle=Q.vangles?U(ne(Y(de.angle),Q.vangles)):de.angle,Le=h(ce,ye),Be=Le+g(-ke);te(ie["radial-axis"],xe&&(de.showticklabels||de.ticks),{transform:Be}),te(ie["radial-grid"],xe&&de.showgrid,{transform:Oe?"":Le}),te(ie["radial-line"].select("line"),xe&&de.showline,{x1:Oe?-oe:ue,y1:0,x2:oe,y2:0,transform:Be}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateRadialAxisTitle=function(Z,X,Q){if(!this.isSmith){var re=this,ie=re.gd,oe=re.radius,ue=re.cx,ce=re.cy,ye=re.getRadial(X),de=re.id+"title",me=0;if(ye.title){var pe=a.bBox(re.layers["radial-axis"].node()).height,xe=ye.title.font.size,Oe=ye.side;me=Oe==="top"?xe:Oe==="counterclockwise"?-(pe+.4*xe):pe+.8*xe}var _e=Q!==void 0?Q:re.radialAxisAngle,Me=Y(_e),Se=Math.cos(Me),Ce=Math.sin(Me),ae=ue+oe/2*Se+me*Ce,he=ce-oe/2*Ce+me*Se;re.layers["radial-axis-title"]=S.draw(ie,de,{propContainer:ye,propName:re.id+".radialaxis.title",placeholder:W(ie,"Click to enter radial axis title"),attributes:{x:ae,y:he,"text-anchor":"middle"},transform:{rotate:-_e}})}},q.updateAngularAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getAngular(X),me=Q.angularAxis,pe=Q.isSmith;pe||(Q.fillViewInitialKey("angularaxis.rotation",de.rotation),me.setGeometry(),me.setScale());var xe=pe?function(ze){var je=N(Q,D([0,ze.x]));return Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2}:function(ze){return me.t2g(ze.x)};me.type==="linear"&&me.thetaunit==="radians"&&(me.tick0=U(me.tick0),me.dtick=U(me.dtick));var Oe=function(ze){return h(ce+oe*Math.cos(ze),ye-oe*Math.sin(ze))},_e=pe?function(ze){var je=N(Q,D([0,ze.x]));return h(je[0],je[1])}:function(ze){return Oe(xe(ze))},Me=pe?function(ze){var je=N(Q,D([0,ze.x])),ge=Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2;return h(je[0],je[1])+g(-U(ge))}:function(ze){var je=xe(ze);return Oe(je)+g(-U(je))},Se=pe?function(ze){return F(Q,ze.x,0,1/0)}:function(ze){var je=xe(ze),ge=Math.cos(je),we=Math.sin(je);return"M"+[ce+ue*ge,ye-ue*we]+"L"+[ce+oe*ge,ye-oe*we]},Ce=o.makeLabelFns(me,0).labelStandoff,ae={xFn:function(ze){var je=xe(ze);return Math.cos(je)*Ce},yFn:function(ze){var je=xe(ze),ge=Math.sin(je)>0?.2:1;return-Math.sin(je)*(Ce+ze.fontSize*ge)+Math.abs(Math.cos(je))*(ze.fontSize*b)},anchorFn:function(ze){var je=xe(ze),ge=Math.cos(je);return Math.abs(ge)<.1?"middle":ge>0?"start":"end"},heightFn:function(ze,je,ge){var we=xe(ze);return-.5*(1+Math.sin(we))*ge}},he=H(de);Q.angularTickLayout!==he&&(ie["angular-axis"].selectAll("."+me._id+"tick").remove(),Q.angularTickLayout=he);var be,ke=pe?[1/0].concat(me.tickvals||[]).map(function(ze){return o.tickText(me,ze,!0,!1)}):o.calcTicks(me);if(pe&&(ke[0].text="โˆž",ke[0].fontSize*=1.75),X.gridshape==="linear"?(be=ke.map(xe),M.angleDelta(be[0],be[1])<0&&(be=be.slice().reverse())):be=null,Q.vangles=be,me.type==="category"&&(ke=ke.filter(function(ze){return M.isAngleInsideSector(xe(ze),Q.sectorInRad)})),me.visible){var Le=me.ticks==="inside"?-1:1,Be=(me.linewidth||1)/2;o.drawTicks(re,me,{vals:ke,layer:ie["angular-axis"],path:"M"+Le*Be+",0h"+Le*me.ticklen,transFn:Me,crisp:!1}),o.drawGrid(re,me,{vals:ke,layer:ie["angular-grid"],path:Se,transFn:M.noop,crisp:!1}),o.drawLabels(re,me,{vals:ke,layer:ie["angular-axis"],repositionOnUpdate:!0,transFn:_e,labelFns:ae})}te(ie["angular-line"].select("path"),de.showline,{d:Q.pathSubplot(),transform:h(ce,ye)}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateFx=function(Z,X){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(Z),this.updateRadialDrag(Z,X,0),this.updateRadialDrag(Z,X,1)),this.updateHoverAndMainDrag(Z))},q.updateHoverAndMainDrag=function(Z){var X,Q,re=this,ie=re.isSmith,oe=re.gd,ue=re.layers,ce=Z._zoomlayer,ye=P.MINZOOM,de=P.OFFEDGE,me=re.radius,pe=re.innerRadius,xe=re.cx,Oe=re.cy,_e=re.cxx,Me=re.cyy,Se=re.sectorInRad,Ce=re.vangles,ae=re.radialAxis,he=I.clampTiny,be=I.findXYatLength,ke=I.findEnclosingVertexAngles,Le=P.cornerHalfWidth,Be=P.cornerLen/2,ze=p.makeDragger(ue,"path","maindrag",Z.dragmode===!1?"none":"crosshair");d.select(ze).attr("d",re.pathSubplot()).attr("transform",h(xe,Oe)),ze.onmousemove=function(Pe){v.hover(oe,Pe,re.id),oe._fullLayout._lasthover=ze,oe._fullLayout._hoversubplot=re.id},ze.onmouseout=function(Pe){oe._dragging||w.unhover(oe,Pe)};var je,ge,we,Ee,Ve,Ye,$e,st,ot,ft={element:ze,gd:oe,subplot:re.id,plotinfo:{id:re.id,xaxis:re.xaxis,yaxis:re.yaxis},xaxes:[re.xaxis],yaxes:[re.yaxis]};function bt(Pe,Ne){return Math.sqrt(Pe*Pe+Ne*Ne)}function Et(Pe,Ne){return bt(Pe-_e,Ne-Me)}function kt(Pe,Ne){return Math.atan2(Me-Ne,Pe-_e)}function xt(Pe,Ne){return[Pe*Math.cos(Ne),Pe*Math.sin(-Ne)]}function Ft(Pe,Ne){if(Pe===0)return re.pathSector(2*Le);var Qe=Be/Pe,ut=Ne-Qe,dt=Ne+Qe,_t=Math.max(0,Math.min(Pe,me)),It=_t-Le,Lt=_t+Le;return"M"+xt(It,ut)+"A"+[It,It]+" 0,0,0 "+xt(It,dt)+"L"+xt(Lt,dt)+"A"+[Lt,Lt]+" 0,0,1 "+xt(Lt,ut)+"Z"}function Rt(Pe,Ne,Qe){if(Pe===0)return re.pathSector(2*Le);var ut,dt,_t=xt(Pe,Ne),It=xt(Pe,Qe),Lt=he((_t[0]+It[0])/2),yt=he((_t[1]+It[1])/2);if(Lt&&yt){var Ot=yt/Lt,wt=-1/Ot,Pt=be(Le,Ot,Lt,yt);ut=be(Be,wt,Pt[0][0],Pt[0][1]),dt=be(Be,wt,Pt[1][0],Pt[1][1])}else{var Nt,$t;yt?(Nt=Be,$t=Le):(Nt=Le,$t=Be),ut=[[Lt-Nt,yt-$t],[Lt+Nt,yt-$t]],dt=[[Lt-Nt,yt+$t],[Lt+Nt,yt+$t]]}return"M"+ut.join("L")+"L"+dt.reverse().join("L")+"Z"}function Bt(Pe,Ne){return Ne=Math.max(Math.min(Ne,me),pe),Peye?(Pe-1&&Pe===1&&T(Ne,oe,[re.xaxis],[re.yaxis],re.id,ft),Qe.indexOf("event")>-1&&v.click(oe,Ne,re.id)}ft.prepFn=function(Pe,Ne,Qe){var ut=oe._fullLayout.dragmode,dt=ze.getBoundingClientRect();oe._fullLayout._calcInverseTransform(oe);var _t=oe._fullLayout._invTransform;X=oe._fullLayout._invScaleX,Q=oe._fullLayout._invScaleY;var It=M.apply3DTransform(_t)(Ne-dt.left,Qe-dt.top);if(je=It[0],ge=It[1],Ce){var Lt=I.findPolygonOffset(me,Se[0],Se[1],Ce);je+=_e+Lt[0],ge+=Me+Lt[1]}switch(ut){case"zoom":ft.clickFn=ht,ie||(ft.moveFn=Ce?Je:Vt,ft.doneFn=qe,function(){we=null,Ee=null,Ve=re.pathSubplot(),Ye=!1;var yt=oe._fullLayout[re.id];$e=y(yt.bgcolor).getLuminance(),(st=p.makeZoombox(ce,$e,xe,Oe,Ve)).attr("fill-rule","evenodd"),ot=p.makeCorners(ce,xe,Oe),C(oe)}());break;case"select":case"lasso":x(Pe,Ne,Qe,ft,ut)}},w.init(ft)},q.updateRadialDrag=function(Z,X,Q){var re=this,ie=re.gd,oe=re.layers,ue=re.radius,ce=re.innerRadius,ye=re.cx,de=re.cy,me=re.radialAxis,pe=P.radialDragBoxSize,xe=pe/2;if(me.visible){var Oe,_e,Me,Se=Y(re.radialAxisAngle),Ce=me._rl,ae=Ce[0],he=Ce[1],be=Ce[Q],ke=.75*(Ce[1]-Ce[0])/(1-re.getHole(X))/ue;Q?(Oe=ye+(ue+xe)*Math.cos(Se),_e=de-(ue+xe)*Math.sin(Se),Me="radialdrag"):(Oe=ye+(ce-xe)*Math.cos(Se),_e=de-(ce-xe)*Math.sin(Se),Me="radialdrag-inner");var Le,Be,ze,je=p.makeRectDragger(oe,Me,"crosshair",-xe,-xe,pe,pe),ge={element:je,gd:ie};Z.dragmode===!1&&(ge.dragmode=!1),te(d.select(je),me.visible&&ce0==(Q?ze>ae:zec?function(S){return S<=0}:function(S){return S>=0};a.c2g=function(S){var x=a.c2l(S)-s;return(v(x)?x:0)+w},a.g2c=function(S){return a.l2c(S+s-w)},a.g2p=function(S){return S*p},a.c2p=function(S){return a.g2p(a.c2g(S))}}})(g,h);break;case"angularaxis":(function(a,u){var o=a.type;if(o==="linear"){var s=a.d2c,c=a.c2d;a.d2c=function(f,p){return function(w,v){return v==="degrees"?i(w):w}(s(f),p)},a.c2d=function(f,p){return c(function(w,v){return v==="degrees"?M(w):w}(f,p))}}a.makeCalcdata=function(f,p){var w,v,S=f[p],x=f._length,T=function(b){return a.d2c(b,f.thetaunit)};if(S){if(d.isTypedArray(S)&&o==="linear"){if(x===S.length)return S;if(S.subarray)return S.subarray(0,x)}for(w=new Array(x),v=0;v0?1:0}function t(i){var M=i[0],g=i[1];if(!isFinite(M)||!isFinite(g))return[1,0];var h=(M+1)*(M+1)+g*g;return[(M*M+g*g-1)/h,2*g/h]}function d(i,M){var g=M[0],h=M[1];return[g*i.radius+i.cx,-h*i.radius+i.cy]}function y(i,M){return M*i.radius}k.exports={smith:t,reactanceArc:function(i,M,g,h){var l=d(i,t([g,M])),a=l[0],u=l[1],o=d(i,t([h,M])),s=o[0],c=o[1];if(M===0)return["M"+a+","+u,"L"+s+","+c].join(" ");var f=y(i,1/Math.abs(M));return["M"+a+","+u,"A"+f+","+f+" 0 0,"+(M<0?1:0)+" "+s+","+c].join(" ")},resistanceArc:function(i,M,g,h){var l=y(i,1/(M+1)),a=d(i,t([M,g])),u=a[0],o=a[1],s=d(i,t([M,h])),c=s[0],f=s[1];if(m(g)!==m(h)){var p=d(i,t([M,0]));return["M"+u+","+o,"A"+l+","+l+" 0 0,"+(00){for(var h=[],l=0;l=A&&(b.min=0,P.min=0,I.min=0,p.aaxis&&delete p.aaxis.min,p.baxis&&delete p.baxis.min,p.caxis&&delete p.caxis.min)}function f(p,w,v,S){var x=o[w._name];function T(P,I){return i.coerce(p,w,x,P,I)}T("uirevision",S.uirevision),w.type="linear";var C=T("color"),_=C!==x.color.dflt?C:v.font.color,A=w._name.charAt(0).toUpperCase(),L="Component "+A,b=T("title.text",L);w._hovertitle=b===L?b:A,i.coerceFont(T,"title.font",{family:v.font.family,size:i.bigFont(v.font.size),color:_}),T("min"),a(p,w,T,"linear"),h(p,w,T,"linear"),g(p,w,T,"linear"),l(p,w,T,{outerTicks:!0}),T("showticklabels")&&(i.coerceFont(T,"tickfont",{family:v.font.family,size:v.font.size,color:_}),T("tickangle"),T("tickformat")),u(p,w,T,{dfltColor:C,bgColor:v.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:x}),T("hoverformat"),T("layer")}k.exports=function(p,w,v){M(p,w,v,{type:"ternary",attributes:o,handleDefaults:c,font:w.font,paper_bgcolor:w.paper_bgcolor})}},64380:function(k,m,t){var d=t(39898),y=t(84267),i=t(73972),M=t(71828),g=M.strTranslate,h=M._,l=t(7901),a=t(91424),u=t(21994),o=t(1426).extendFlat,s=t(74875),c=t(89298),f=t(28569),p=t(30211),w=t(64505),v=w.freeMode,S=w.rectMode,x=t(92998),T=t(47322).prepSelect,C=t(47322).selectOnClick,_=t(47322).clearOutline,A=t(47322).clearSelectionsCache,L=t(85555);function b(j,Y){this.id=j.id,this.graphDiv=j.graphDiv,this.init(Y),this.makeFramework(Y),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}k.exports=b;var P=b.prototype;P.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},P.plot=function(j,Y){var U=this,G=Y[U.id],q=Y._size;U._hasClipOnAxisFalse=!1;for(var H=0;HI*ce?q=(H=ce)*I:H=(q=ue)/I,ne=ie*q/ue,te=oe*H/ce,U=Y.l+Y.w*Q-q/2,G=Y.t+Y.h*(1-re)-H/2,Z.x0=U,Z.y0=G,Z.w=q,Z.h=H,Z.sum=ye,Z.xaxis={type:"linear",range:[de+2*pe-ye,ye-de-2*me],domain:[Q-ne/2,Q+ne/2],_id:"x"},u(Z.xaxis,Z.graphDiv._fullLayout),Z.xaxis.setScale(),Z.xaxis.isPtWithinRange=function(Le){return Le.a>=Z.aaxis.range[0]&&Le.a<=Z.aaxis.range[1]&&Le.b>=Z.baxis.range[1]&&Le.b<=Z.baxis.range[0]&&Le.c>=Z.caxis.range[1]&&Le.c<=Z.caxis.range[0]},Z.yaxis={type:"linear",range:[de,ye-me-pe],domain:[re-te/2,re+te/2],_id:"y"},u(Z.yaxis,Z.graphDiv._fullLayout),Z.yaxis.setScale(),Z.yaxis.isPtWithinRange=function(){return!0};var xe=Z.yaxis.domain[0],Oe=Z.aaxis=o({},j.aaxis,{range:[de,ye-me-pe],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Oe,Z.graphDiv._fullLayout),Oe.setScale();var _e=Z.baxis=o({},j.baxis,{range:[ye-de-pe,me],side:"bottom",domain:Z.xaxis.domain,anchor:"free",position:0,_id:"x",_length:q});u(_e,Z.graphDiv._fullLayout),_e.setScale();var Me=Z.caxis=o({},j.caxis,{range:[ye-de-me,pe],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Me,Z.graphDiv._fullLayout),Me.setScale();var Se="M"+U+","+(G+H)+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDef.select("path").attr("d",Se),Z.layers.plotbg.select("path").attr("d",Se);var Ce="M0,"+H+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDefRelative.select("path").attr("d",Ce);var ae=g(U,G);Z.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ae),Z.clipDefRelative.select("path").attr("transform",null);var he=g(U-_e._offset,G+H);Z.layers.baxis.attr("transform",he),Z.layers.bgrid.attr("transform",he);var be=g(U+q/2,G)+"rotate(30)"+g(0,-Oe._offset);Z.layers.aaxis.attr("transform",be),Z.layers.agrid.attr("transform",be);var ke=g(U+q/2,G)+"rotate(-30)"+g(0,-Me._offset);Z.layers.caxis.attr("transform",ke),Z.layers.cgrid.attr("transform",ke),Z.drawAxes(!0),Z.layers.aline.select("path").attr("d",Oe.showline?"M"+U+","+(G+H)+"l"+q/2+",-"+H:"M0,0").call(l.stroke,Oe.linecolor||"#000").style("stroke-width",(Oe.linewidth||0)+"px"),Z.layers.bline.select("path").attr("d",_e.showline?"M"+U+","+(G+H)+"h"+q:"M0,0").call(l.stroke,_e.linecolor||"#000").style("stroke-width",(_e.linewidth||0)+"px"),Z.layers.cline.select("path").attr("d",Me.showline?"M"+(U+q/2)+","+G+"l"+q/2+","+H:"M0,0").call(l.stroke,Me.linecolor||"#000").style("stroke-width",(Me.linewidth||0)+"px"),Z.graphDiv._context.staticPlot||Z.initInteractions(),a.setClipUrl(Z.layers.frontplot,Z._hasClipOnAxisFalse?null:Z.clipId,Z.graphDiv)},P.drawAxes=function(j){var Y=this,U=Y.graphDiv,G=Y.id.substr(7)+"title",q=Y.layers,H=Y.aaxis,ne=Y.baxis,te=Y.caxis;if(Y.drawAx(H),Y.drawAx(ne),Y.drawAx(te),j){var Z=Math.max(H.showticklabels?H.tickfont.size/2:0,(te.showticklabels?.75*te.tickfont.size:0)+(te.ticks==="outside"?.87*te.ticklen:0)),X=(ne.showticklabels?ne.tickfont.size:0)+(ne.ticks==="outside"?ne.ticklen:0)+3;q["a-title"]=x.draw(U,"a"+G,{propContainer:H,propName:Y.id+".aaxis.title",placeholder:h(U,"Click to enter Component A title"),attributes:{x:Y.x0+Y.w/2,y:Y.y0-H.title.font.size/3-Z,"text-anchor":"middle"}}),q["b-title"]=x.draw(U,"b"+G,{propContainer:ne,propName:Y.id+".baxis.title",placeholder:h(U,"Click to enter Component B title"),attributes:{x:Y.x0-X,y:Y.y0+Y.h+.83*ne.title.font.size+X,"text-anchor":"middle"}}),q["c-title"]=x.draw(U,"c"+G,{propContainer:te,propName:Y.id+".caxis.title",placeholder:h(U,"Click to enter Component C title"),attributes:{x:Y.x0+Y.w+X,y:Y.y0+Y.h+.83*te.title.font.size+X,"text-anchor":"middle"}})}},P.drawAx=function(j){var Y,U=this,G=U.graphDiv,q=j._name,H=q.charAt(0),ne=j._id,te=U.layers[q],Z=H+"tickLayout",X=(Y=j).ticks+String(Y.ticklen)+String(Y.showticklabels);U[Z]!==X&&(te.selectAll("."+ne+"tick").remove(),U[Z]=X),j.setScale();var Q=c.calcTicks(j),re=c.clipEnds(j,Q),ie=c.makeTransTickFn(j),oe=c.getTickSigns(j)[2],ue=M.deg2rad(30),ce=oe*(j.linewidth||1)/2,ye=oe*j.ticklen,de=U.w,me=U.h,pe=H==="b"?"M0,"+ce+"l"+Math.sin(ue)*ye+","+Math.cos(ue)*ye:"M"+ce+",0l"+Math.cos(ue)*ye+","+-Math.sin(ue)*ye,xe={a:"M0,0l"+me+",-"+de/2,b:"M0,0l-"+de/2+",-"+me,c:"M0,0l-"+me+","+de/2}[H];c.drawTicks(G,j,{vals:j.ticks==="inside"?re:Q,layer:te,path:pe,transFn:ie,crisp:!1}),c.drawGrid(G,j,{vals:re,layer:U.layers[H+"grid"],path:xe,transFn:ie,crisp:!1}),c.drawLabels(G,j,{vals:Q,layer:te,transFn:ie,labelFns:c.makeLabelFns(j,0,30)})};var R=L.MINZOOM/2+.87,D="m-0.87,.5h"+R+"v3h-"+(R+5.2)+"l"+(R/2+2.6)+",-"+(.87*R+4.5)+"l2.6,1.5l-"+R/2+","+.87*R+"Z",F="m0.87,.5h-"+R+"v3h"+(R+5.2)+"l-"+(R/2+2.6)+",-"+(.87*R+4.5)+"l-2.6,1.5l"+R/2+","+.87*R+"Z",B="m0,1l"+R/2+","+.87*R+"l2.6,-1.5l-"+(R/2+2.6)+",-"+(.87*R+4.5)+"l-"+(R/2+2.6)+","+(.87*R+4.5)+"l2.6,1.5l"+R/2+",-"+.87*R+"Z",N=!0;function W(j){d.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}P.clearOutline=function(){A(this.dragOptions),_(this.dragOptions.gd)},P.initInteractions=function(){var j,Y,U,G,q,H,ne,te,Z,X,Q,re,ie=this,oe=ie.layers.plotbg.select("path").node(),ue=ie.graphDiv,ce=ue._fullLayout._zoomlayer;function ye(Ce){var ae={};return ae[ie.id+".aaxis.min"]=Ce.a,ae[ie.id+".baxis.min"]=Ce.b,ae[ie.id+".caxis.min"]=Ce.c,ae}function de(Ce,ae){var he=ue._fullLayout.clickmode;W(ue),Ce===2&&(ue.emit("plotly_doubleclick",null),i.call("_guiRelayout",ue,ye({a:0,b:0,c:0}))),he.indexOf("select")>-1&&Ce===1&&C(ae,ue,[ie.xaxis],[ie.yaxis],ie.id,ie.dragOptions),he.indexOf("event")>-1&&p.click(ue,ae,ie.id)}function me(Ce,ae){return 1-ae/ie.h}function pe(Ce,ae){return 1-(Ce+(ie.h-ae)/Math.sqrt(3))/ie.w}function xe(Ce,ae){return(Ce-(ie.h-ae)/Math.sqrt(3))/ie.w}function Oe(Ce,ae){var he=U+Ce*j,be=G+ae*Y,ke=Math.max(0,Math.min(1,me(0,G),me(0,be))),Le=Math.max(0,Math.min(1,pe(U,G),pe(he,be))),Be=Math.max(0,Math.min(1,xe(U,G),xe(he,be))),ze=(ke/2+Be)*ie.w,je=(1-ke/2-Le)*ie.w,ge=(ze+je)/2,we=je-ze,Ee=(1-ke)*ie.h,Ve=Ee-we/I;we.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),re.transition().style("opacity",1).duration(200),X=!0),ue.emit("plotly_relayouting",ye(ne))}function _e(){W(ue),ne!==q&&(i.call("_guiRelayout",ue,ye(ne)),N&&ue.data&&ue._context.showTips&&(M.notifier(h(ue,"Double-click to zoom back out"),"long"),N=!1))}function Me(Ce,ae){var he=Ce/ie.xaxis._m,be=ae/ie.yaxis._m,ke=[(ne={a:q.a-be,b:q.b+(he+be)/2,c:q.c-(he-be)/2}).a,ne.b,ne.c].sort(M.sorterAsc),Le=ke.indexOf(ne.a),Be=ke.indexOf(ne.b),ze=ke.indexOf(ne.c);ke[0]<0&&(ke[1]+ke[0]/2<0?(ke[2]+=ke[0]+ke[1],ke[0]=ke[1]=0):(ke[2]+=ke[0]/2,ke[1]+=ke[0]/2,ke[0]=0),ne={a:ke[Le],b:ke[Be],c:ke[ze]},ae=(q.a-ne.a)*ie.yaxis._m,Ce=(q.c-ne.c-q.b+ne.b)*ie.xaxis._m);var je=g(ie.x0+Ce,ie.y0+ae);ie.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",je);var ge=g(-Ce,-ae);ie.clipDefRelative.select("path").attr("transform",ge),ie.aaxis.range=[ne.a,ie.sum-ne.b-ne.c],ie.baxis.range=[ie.sum-ne.a-ne.c,ne.b],ie.caxis.range=[ie.sum-ne.a-ne.b,ne.c],ie.drawAxes(!1),ie._hasClipOnAxisFalse&&ie.plotContainer.select(".scatterlayer").selectAll(".trace").call(a.hideOutsideRangePoints,ie),ue.emit("plotly_relayouting",ye(ne))}function Se(){i.call("_guiRelayout",ue,ye(ne))}this.dragOptions={element:oe,gd:ue,plotinfo:{id:ie.id,domain:ue._fullLayout[ie.id].domain,xaxis:ie.xaxis,yaxis:ie.yaxis},subplot:ie.id,prepFn:function(Ce,ae,he){ie.dragOptions.xaxes=[ie.xaxis],ie.dragOptions.yaxes=[ie.yaxis],j=ue._fullLayout._invScaleX,Y=ue._fullLayout._invScaleY;var be=ie.dragOptions.dragmode=ue._fullLayout.dragmode;v(be)?ie.dragOptions.minDrag=1:ie.dragOptions.minDrag=void 0,be==="zoom"?(ie.dragOptions.moveFn=Oe,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=_e,function(ke,Le,Be){var ze=oe.getBoundingClientRect();U=Le-ze.left,G=Be-ze.top,ue._fullLayout._calcInverseTransform(ue);var je=ue._fullLayout._invTransform,ge=M.apply3DTransform(je)(U,G);U=ge[0],G=ge[1],q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,H=ie.aaxis.range[1]-q.a,te=y(ie.graphDiv._fullLayout[ie.id].bgcolor).getLuminance(),Z="M0,"+ie.h+"L"+ie.w/2+", 0L"+ie.w+","+ie.h+"Z",X=!1,Q=ce.append("path").attr("class","zoombox").attr("transform",g(ie.x0,ie.y0)).style({fill:te>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",Z),re=ce.append("path").attr("class","zoombox-corners").attr("transform",g(ie.x0,ie.y0)).style({fill:l.background,stroke:l.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),ie.clearOutline(ue)}(0,ae,he)):be==="pan"?(ie.dragOptions.moveFn=Me,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=Se,q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,ie.clearOutline(ue)):(S(be)||v(be))&&T(Ce,ae,he,ie.dragOptions,be)}},oe.onmousemove=function(Ce){p.hover(ue,Ce,ie.id),ue._fullLayout._lasthover=oe,ue._fullLayout._hoversubplot=ie.id},oe.onmouseout=function(Ce){ue._dragging||f.unhover(ue,Ce)},f.init(this.dragOptions)}},73972:function(k,m,t){var d=t(47769),y=t(64213),i=t(75138),M=t(41965),g=t(24401).addStyleRule,h=t(1426),l=t(9012),a=t(10820),u=h.extendFlat,o=h.extendDeepAll;function s(C){var _=C.name,A=C.categories,L=C.meta;if(m.modules[_])d.log("Type "+_+" already registered");else{m.subplotsRegistry[C.basePlotModule.name]||function(N){var W=N.name;if(m.subplotsRegistry[W])d.log("Plot type "+W+" already registered.");else for(var j in w(N),m.subplotsRegistry[W]=N,m.componentsRegistry)x(j,N.name)}(C.basePlotModule);for(var b={},P=0;P-1&&(f[w[a]].title={text:""});for(a=0;a")!==-1?"":P.html(R).text()});return P.remove(),I}(L)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(a,"'"),y.isIE()&&(L=(L=(L=L.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),L}},75341:function(k,m,t){var d=t(71828);k.exports=function(y,i){for(var M=0;MI+b||!d(P))}for(var D=0;D<_.length;D++){for(var F=_[D],B=F[0].trace,N=[],W=!1,j=!1,Y=0;Ya))return g}return h!==void 0?h:M.dflt},m.coerceColor=function(M,g,h){return y(g).isValid()?g:h!==void 0?h:M.dflt},m.coerceEnumerated=function(M,g,h){return M.coerceNumber&&(g=+g),M.values.indexOf(g)!==-1?g:h!==void 0?h:M.dflt},m.getValue=function(M,g){var h;return Array.isArray(M)?g0?ye+=de:v<0&&(ye-=de)}return ye}function te(ce){var ye=v,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,R+(me-ye)/(me-de)-1)}var Z=o[S+"a"],X=o[x+"a"];_=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));var Q=d.getDistanceFunction(f,T,C,function(ce){return(T(ce)+C(ce))/2});if(d.getClosest(A,Q,o),o.index!==!1&&A[o.index].p!==l){B||(U=function(ce){return Math.min(N(ce),ce.p-b.bargroupwidth/2)},G=function(ce){return Math.max(W(ce),ce.p+b.bargroupwidth/2)});var re=A[o.index],ie=L.base?re.b+re.s:re.s;o[x+"0"]=o[x+"1"]=X.c2p(re[x],!0),o[x+"LabelVal"]=ie;var oe=b.extents[b.extents.round(re.p)];o[S+"0"]=Z.c2p(P?U(re):oe[0],!0),o[S+"1"]=Z.c2p(P?G(re):oe[1],!0);var ue=re.orig_p!==void 0;return o[S+"LabelVal"]=ue?re.orig_p:re.p,o.labelLabel=h(Z,o[S+"LabelVal"],L[S+"hoverformat"]),o.valueLabel=h(X,o[x+"LabelVal"],L[x+"hoverformat"]),o.baseLabel=h(X,re.b,L[x+"hoverformat"]),o.spikeDistance=(function(ce){var ye=v,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,D+(me-ye)/(me-de)-1)}(re)+function(ce){return q(N(ce),W(ce),D)}(re))/2,o[S+"Spike"]=Z.c2p(re.p,!0),M(re,L,o),o.hovertemplate=L.hovertemplate,o}}function u(o,s){var c=s.mcc||o.marker.color,f=s.mlcc||o.marker.line.color,p=g(o,s);return i.opacity(c)?c:i.opacity(f)&&p?f:void 0}k.exports={hoverPoints:function(o,s,c,f,p){var w=a(o,s,c,f,p);if(w){var v=w.cd,S=v[0].trace,x=v[w.index];return w.color=u(S,x),y.getComponentMethod("errorbars","hoverInfo")(x,S,w),[w]}},hoverOnBars:a,getTraceColor:u}},60822:function(k,m,t){k.exports={attributes:t(1486),layoutAttributes:t(43641),supplyDefaults:t(90769).supplyDefaults,crossTraceDefaults:t(90769).crossTraceDefaults,supplyLayoutDefaults:t(13957),calc:t(92290),crossTraceCalc:t(11661).crossTraceCalc,colorbar:t(4898),arraysToCalcdata:t(75341),plot:t(17295).plot,style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(95423).hoverPoints,eventData:t(58065),selectPoints:t(81974),moduleType:"trace",name:"bar",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(k){k.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},13957:function(k,m,t){var d=t(73972),y=t(89298),i=t(71828),M=t(43641);k.exports=function(g,h,l){function a(S,x){return i.coerce(g,h,M,S,x)}for(var u=!1,o=!1,s=!1,c={},f=a("barmode"),p=0;p0}function P(D){return D==="auto"?0:D}function I(D,F){var B=Math.PI/180*F,N=Math.abs(Math.sin(B)),W=Math.abs(Math.cos(B));return{x:D.width*W+D.height*N,y:D.width*N+D.height*W}}function R(D,F,B,N,W,j){var Y=!!j.isHorizontal,U=!!j.constrained,G=j.angle||0,q=j.anchor||"end",H=q==="end",ne=q==="start",te=((j.leftToRight||0)+1)/2,Z=1-te,X=W.width,Q=W.height,re=Math.abs(F-D),ie=Math.abs(N-B),oe=re>2*T&&ie>2*T?T:0;re-=2*oe,ie-=2*oe;var ue=P(G);G!=="auto"||X<=re&&Q<=ie||!(X>re||Q>ie)||(X>ie||Q>re)&&X.01?Be:function(we,Ee,Ve){return Ve&&we===Ee?we:Math.abs(we-Ee)>=2?Be(we):we>Ee?Math.ceil(we):Math.floor(we)};Ce=ze(Ce,ae,oe),ae=ze(ae,Ce,oe),he=ze(he,be,!oe),be=ze(be,he,!oe)}var je=L(i.ensureSingle(Me,"path"),G,W,j);if(je.style("vector-effect",q?"none":"non-scaling-stroke").attr("d",isNaN((ae-Ce)*(be-he))||ke&&D._context.staticPlot?"M0,0Z":"M"+Ce+","+he+"V"+be+"H"+ae+"V"+he+"Z").call(h.setClipUrl,F.layerClipId,D),!G.uniformtext.mode&&ue){var ge=h.makePointStyleFns(Z);h.singlePointStyle(pe,je,Z,ge,D)}(function(we,Ee,Ve,Ye,$e,st,ot,ft,bt,Et,kt){var xt,Ft=Ee.xaxis,Rt=Ee.yaxis,Bt=we._fullLayout;function qt(Qt,rn,xn){return i.ensureSingle(Qt,"text").text(rn).attr({class:"bartext bartext-"+xt,"text-anchor":"middle","data-notex":1}).call(h.font,xn).call(M.convertToTspans,we)}var Vt=Ye[0].trace,Ke=Vt.orientation==="h",Je=function(Qt,rn,xn,un,An){var $n,kn=rn[0].trace;return $n=kn.texttemplate?function(sn,Tn,dn,pn,Dn){var In=Tn[0].trace,jn=i.castOption(In,dn,"texttemplate");if(!jn)return"";var Gn,qn,lr,rr,Sr=In.type==="histogram",yr=In.type==="waterfall",or=In.type==="funnel",vr=In.orientation==="h";function _r(Yn){return a(rr,rr.c2l(Yn),!0).text}vr?(Gn="y",qn=Dn,lr="x",rr=pn):(Gn="x",qn=pn,lr="y",rr=Dn);var Kt,bn=Tn[dn],Pn={};Pn.label=bn.p,Pn.labelLabel=Pn[Gn+"Label"]=(Kt=bn.p,a(qn,qn.c2l(Kt),!0).text);var Ln=i.castOption(In,bn.i,"text");(Ln===0||Ln)&&(Pn.text=Ln),Pn.value=bn.s,Pn.valueLabel=Pn[lr+"Label"]=_r(bn.s);var Un={};x(Un,In,bn.i),(Sr||Un.x===void 0)&&(Un.x=vr?Pn.value:Pn.label),(Sr||Un.y===void 0)&&(Un.y=vr?Pn.label:Pn.value),(Sr||Un.xLabel===void 0)&&(Un.xLabel=vr?Pn.valueLabel:Pn.labelLabel),(Sr||Un.yLabel===void 0)&&(Un.yLabel=vr?Pn.labelLabel:Pn.valueLabel),yr&&(Pn.delta=+bn.rawS||bn.s,Pn.deltaLabel=_r(Pn.delta),Pn.final=bn.v,Pn.finalLabel=_r(Pn.final),Pn.initial=Pn.final-Pn.delta,Pn.initialLabel=_r(Pn.initial)),or&&(Pn.value=bn.s,Pn.valueLabel=_r(Pn.value),Pn.percentInitial=bn.begR,Pn.percentInitialLabel=i.formatPercent(bn.begR),Pn.percentPrevious=bn.difR,Pn.percentPreviousLabel=i.formatPercent(bn.difR),Pn.percentTotal=bn.sumR,Pn.percenTotalLabel=i.formatPercent(bn.sumR));var Kn=i.castOption(In,bn.i,"customdata");return Kn&&(Pn.customdata=Kn),i.texttemplateString(jn,Pn,sn._d3locale,Un,Pn,In._meta||{})}(Qt,rn,xn,un,An):kn.textinfo?function(sn,Tn,dn,pn){var Dn=sn[0].trace,In=Dn.orientation==="h",jn=Dn.type==="waterfall",Gn=Dn.type==="funnel";function qn(Kn){return a(In?dn:pn,+Kn,!0).text}var lr,rr,Sr=Dn.textinfo,yr=sn[Tn],or=Sr.split("+"),vr=[],_r=function(Kn){return or.indexOf(Kn)!==-1};if(_r("label")&&vr.push((rr=sn[Tn].p,a(In?pn:dn,rr,!0).text)),_r("text")&&((lr=i.castOption(Dn,yr.i,"text"))===0||lr)&&vr.push(lr),jn){var Kt=+yr.rawS||yr.s,bn=yr.v,Pn=bn-Kt;_r("initial")&&vr.push(qn(Pn)),_r("delta")&&vr.push(qn(Kt)),_r("final")&&vr.push(qn(bn))}if(Gn){_r("value")&&vr.push(qn(yr.s));var Ln=0;_r("percent initial")&&Ln++,_r("percent previous")&&Ln++,_r("percent total")&&Ln++;var Un=Ln>1;_r("percent initial")&&(lr=i.formatPercent(yr.begR),Un&&(lr+=" of initial"),vr.push(lr)),_r("percent previous")&&(lr=i.formatPercent(yr.difR),Un&&(lr+=" of previous"),vr.push(lr)),_r("percent total")&&(lr=i.formatPercent(yr.sumR),Un&&(lr+=" of total"),vr.push(lr))}return vr.join("
")}(rn,xn,un,An):f.getValue(kn.text,xn),f.coerceString(v,$n)}(Bt,Ye,$e,Ft,Rt);xt=function(Qt,rn){var xn=f.getValue(Qt.textposition,rn);return f.coerceEnumerated(S,xn)}(Vt,$e);var qe=Et.mode==="stack"||Et.mode==="relative",nt=Ye[$e],ht=!qe||nt._outmost;if(Je&&xt!=="none"&&(!nt.isBlank&&st!==ot&&ft!==bt||xt!=="auto"&&xt!=="inside")){var Pe=Bt.font,Ne=c.getBarColor(Ye[$e],Vt),Qe=c.getInsideTextFont(Vt,$e,Pe,Ne),ut=c.getOutsideTextFont(Vt,$e,Pe),dt=Ve.datum();Ke?Ft.type==="log"&&dt.s0<=0&&(st=Ft.range[0]0&&yt>0&&(Lt<=wt&&yt<=Pt||Lt<=Pt&&yt<=wt||(Ke?wt>=Lt*(Pt/yt):Pt>=yt*(wt/Lt)))?xt="inside":(xt="outside",_t.remove(),_t=null)):xt="inside"),!_t){var Nt=(_t=qt(Ve,Je,Ot=i.ensureUniformFontSize(we,xt==="outside"?ut:Qe))).attr("transform");if(_t.attr("transform",""),Lt=(It=h.bBox(_t.node())).width,yt=It.height,_t.attr("transform",Nt),Lt<=0||yt<=0)return void _t.remove()}var $t,Wt=Vt.textangle;$t=xt==="outside"?function(Qt,rn,xn,un,An,$n){var kn,sn=!!$n.isHorizontal,Tn=!!$n.constrained,dn=$n.angle||0,pn=An.width,Dn=An.height,In=Math.abs(rn-Qt),jn=Math.abs(un-xn);kn=sn?jn>2*T?T:0:In>2*T?T:0;var Gn=1;Tn&&(Gn=sn?Math.min(1,jn/Dn):Math.min(1,In/pn));var qn=P(dn),lr=I(An,qn),rr=(sn?lr.x:lr.y)/2,Sr=(An.left+An.right)/2,yr=(An.top+An.bottom)/2,or=(Qt+rn)/2,vr=(xn+un)/2,_r=0,Kt=0,bn=sn?A(rn,Qt):A(xn,un);return sn?(or=rn-bn*kn,_r=bn*rr):(vr=un+bn*kn,Kt=-bn*rr),{textX:Sr,textY:yr,targetX:or,targetY:vr,anchorX:_r,anchorY:Kt,scale:Gn,rotate:qn}}(st,ot,ft,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="outside",angle:Wt}):R(st,ot,ft,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="inside",angle:Wt,anchor:Vt.insidetextanchor}),$t.fontSize=Ot.size,o(Vt.type==="histogram"?"bar":Vt.type,$t,Bt),nt.transform=$t;var Xt=L(_t,Bt,Et,kt);i.setTransormAndDisplay(Xt,$t)}else Ve.select("text").remove()})(D,F,Me,ne,xe,Ce,ae,he,be,W,j),F.layerClipId&&h.hideOutsideRangePoint(pe,Me.select("text"),Y,U,Z.xcalendar,Z.ycalendar)});var me=Z.cliponaxis===!1;h.setClipUrl(te,me?null:F.layerClipId,D)});l.getComponentMethod("errorbars","plot")(D,H,F,W)},toMoveInsideBar:R}},81974:function(k){function m(t,d,y,i,M){var g=d.c2p(i?t.s0:t.p0,!0),h=d.c2p(i?t.s1:t.p1,!0),l=y.c2p(i?t.p0:t.s0,!0),a=y.c2p(i?t.p1:t.s1,!0);return M?[(g+h)/2,(l+a)/2]:i?[h,(l+a)/2]:[(g+h)/2,a]}k.exports=function(t,d){var y,i=t.cd,M=t.xaxis,g=t.yaxis,h=i[0].trace,l=h.type==="funnel",a=h.orientation==="h",u=[];if(d===!1)for(y=0;y1||L.bargap===0&&L.bargroupgap===0&&!b[0].trace.marker.line.width)&&d.select(this).attr("shape-rendering","crispEdges")}),_.selectAll("g.points").each(function(b){c(d.select(this),b[0].trace,C)}),g.getComponentMethod("errorbars","style")(_)},styleTextPoints:f,styleOnSelect:function(C,_,A){var L=_[0].trace;L.selectedpoints?function(b,P,I){i.selectedPointStyle(b.selectAll("path"),P),function(R,D,F){R.each(function(B){var N,W=d.select(this);if(B.selected){N=M.ensureUniformFontSize(F,p(W,B,D,F));var j=D.selected.textfont&&D.selected.textfont.color;j&&(N.color=j),i.font(W,N)}else i.selectedTextStyle(W,D)})}(b.selectAll("text"),P,I)}(A,L,C):(c(A,L,C),g.getComponentMethod("errorbars","style")(A))},getInsideTextFont:v,getOutsideTextFont:S,getBarColor:T,resizeText:h}},98340:function(k,m,t){var d=t(7901),y=t(52075).hasColorscale,i=t(1586),M=t(71828).coercePattern;k.exports=function(g,h,l,a,u){var o=l("marker.color",a),s=y(g,"marker");s&&i(g,h,u,l,{prefix:"marker.",cLetter:"c"}),l("marker.line.color",d.defaultLine),y(g,"marker.line")&&i(g,h,u,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width"),l("marker.opacity"),M(l,"marker.pattern",o,s),l("selected.marker.color"),l("unselected.marker.color")}},72597:function(k,m,t){var d=t(39898),y=t(71828);function i(M){return"_"+M+"Text_minsize"}k.exports={recordMinTextSize:function(M,g,h){if(h.uniformtext.mode){var l=i(M),a=h.uniformtext.minsize,u=g.scale*g.fontSize;g.hide=uf.range[1]&&(C+=Math.PI),d.getClosest(o,function(L){return v(T,C,[L.rp0,L.rp1],[L.thetag0,L.thetag1],w)?S+Math.min(1,Math.abs(L.thetag1-L.thetag0)/x)-1+(L.rp1-T)/(L.rp1-L.rp0)-1:1/0},l),l.index!==!1){var _=o[l.index];l.x0=l.x1=_.ct[0],l.y0=l.y1=_.ct[1];var A=y.extendFlat({},_,{r:_.s,theta:_.p});return M(_,s,l),g(A,s,c,l),l.hovertemplate=s.hovertemplate,l.color=i(s,_),l.xLabelVal=l.yLabelVal=void 0,_.s<0&&(l.idealAlign="left"),[l]}}},23381:function(k,m,t){k.exports={moduleType:"trace",name:"barpolar",basePlotModule:t(23580),categories:["polar","bar","showLegend"],attributes:t(55023),layoutAttributes:t(40151),supplyDefaults:t(6135),supplyLayoutDefaults:t(19860),calc:t(74692).calc,crossTraceCalc:t(74692).crossTraceCalc,plot:t(60173),colorbar:t(4898),formatLabels:t(98608),style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(27379),selectPoints:t(81974),meta:{}}},40151:function(k){k.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(k,m,t){var d=t(71828),y=t(40151);k.exports=function(i,M,g){var h,l={};function a(s,c){return d.coerce(i[h]||{},M[h],y,s,c)}for(var u=0;u0?(L=_,b=A):(L=A,b=_);var P=[g.findEnclosingVertexAngles(L,v.vangles)[0],(L+b)/2,g.findEnclosingVertexAngles(b,v.vangles)[1]];return g.pathPolygonAnnulus(T,C,L,b,P,S,x)}:function(T,C,_,A){return i.pathAnnulus(T,C,_,A,S,x)}}(l),w=l.layers.frontplot.select("g.barlayer");i.makeTraceGroups(w,a,"trace bars").each(function(){var v=d.select(this),S=i.ensureSingle(v,"g","points").selectAll("g.point").data(i.identity);S.enter().append("g").style("vector-effect",u?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),S.exit().remove(),S.each(function(x){var T,C=d.select(this),_=x.rp0=c.c2p(x.s0),A=x.rp1=c.c2p(x.s1),L=x.thetag0=f.c2g(x.p0),b=x.thetag1=f.c2g(x.p1);if(y(_)&&y(A)&&y(L)&&y(b)&&_!==A&&L!==b){var P=c.c2g(x.s1),I=(L+b)/2;x.ct=[o.c2p(P*Math.cos(I)),s.c2p(P*Math.sin(I))],T=p(_,A,L,b)}else T="M0,0Z";i.ensureSingle(C,"path").attr("d",T)}),M.setClipUrl(v,l._hasClipOnAxisFalse?l.clipIds.forTraces:null,h)})}},53522:function(k,m,t){var d=t(82196),y=t(1486),i=t(22399),M=t(12663).axisHoverFormat,g=t(5386).fF,h=t(1426).extendFlat,l=d.marker,a=l.line;k.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:d.xperiod,yperiod:d.yperiod,xperiod0:d.xperiod0,yperiod0:d.yperiod0,xperiodalignment:d.xperiodalignment,yperiodalignment:d.yperiodalignment,xhoverformat:M("x"),yhoverformat:M("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:h({},l.symbol,{arrayOk:!1,editType:"plot"}),opacity:h({},l.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:h({},l.angle,{arrayOk:!1,editType:"calc"}),size:h({},l.size,{arrayOk:!1,editType:"calc"}),color:h({},l.color,{arrayOk:!1,editType:"style"}),line:{color:h({},a.color,{arrayOk:!1,dflt:i.defaultLine,editType:"style"}),width:h({},a.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:d.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:y.offsetgroup,alignmentgroup:y.alignmentgroup,selected:{marker:d.selected.marker,editType:"style"},unselected:{marker:d.unselected.marker,editType:"style"},text:h({},d.text,{}),hovertext:h({},d.hovertext,{}),hovertemplate:g({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(k,m,t){var d=t(92770),y=t(89298),i=t(42973),M=t(71828),g=t(50606).BADNUM,h=M._;k.exports=function(v,S){var x,T,C,_,A,L,b,P=v._fullLayout,I=y.getFromId(v,S.xaxis||"x"),R=y.getFromId(v,S.yaxis||"y"),D=[],F=S.type==="violin"?"_numViolins":"_numBoxes";S.orientation==="h"?(C=I,_="x",A=R,L="y",b=!!S.yperiodalignment):(C=R,_="y",A=I,L="x",b=!!S.xperiodalignment);var B,N,W,j,Y,U,G=function(Ee,Ve,Ye,$e){var st,ot=Ve+"0"in Ee;if(Ve in Ee||ot&&"d"+Ve in Ee){var ft=Ye.makeCalcdata(Ee,Ve);return[i(Ee,Ye,Ve,ft).vals,ft]}st=ot?Ee[Ve+"0"]:"name"in Ee&&(Ye.type==="category"||d(Ee.name)&&["linear","log"].indexOf(Ye.type)!==-1||M.isDateTime(Ee.name)&&Ye.type==="date")?Ee.name:$e;for(var bt=Ye.type==="multicategory"?Ye.r2c_just_indices(st):Ye.d2c(st,0,Ee[Ve+"calendar"]),Et=Ee._length,kt=new Array(Et),xt=0;xtB.uf};if(S._hasPreCompStats){var Q=S[_],re=function(Ee){return C.d2c((S[Ee]||[])[x])},ie=1/0,oe=-1/0;for(x=0;x=B.q1&&B.q3>=B.med){var ce=re("lowerfence");B.lf=ce!==g&&ce<=B.q1?ce:s(B,W,j);var ye=re("upperfence");B.uf=ye!==g&&ye>=B.q3?ye:c(B,W,j);var de=re("mean");B.mean=de!==g?de:j?M.mean(W,j):(B.q1+B.q3)/2;var me=re("sd");B.sd=de!==g&&me>=0?me:j?M.stdev(W,j,B.mean):B.q3-B.q1,B.lo=f(B),B.uo=p(B);var pe=re("notchspan");pe=pe!==g&&pe>0?pe:w(B,j),B.ln=B.med-pe,B.un=B.med+pe;var xe=B.lf,Oe=B.uf;S.boxpoints&&W.length&&(xe=Math.min(xe,W[0]),Oe=Math.max(Oe,W[j-1])),S.notched&&(xe=Math.min(xe,B.ln),Oe=Math.max(Oe,B.un)),B.min=xe,B.max=Oe}else{var _e;M.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+B.q1,"median = "+B.med,"q3 = "+B.q3].join(` +`)),_e=B.med!==g?B.med:B.q1!==g?B.q3!==g?(B.q1+B.q3)/2:B.q1:B.q3!==g?B.q3:0,B.med=_e,B.q1=B.q3=_e,B.lf=B.uf=_e,B.mean=B.sd=_e,B.ln=B.un=_e,B.min=B.max=_e}ie=Math.min(ie,B.min),oe=Math.max(oe,B.max),B.pts2=N.filter(X),D.push(B)}}S._extremes[C._id]=y.findExtremes(C,[ie,oe],{padded:!0})}else{var Me=C.makeCalcdata(S,_),Se=function(Ee,Ve){for(var Ye=Ee.length,$e=new Array(Ye+1),st=0;st=0&&he0){var je,ge;(B={}).pos=B[L]=te[x],N=B.pts=ae[x].sort(u),j=(W=B[_]=N.map(o)).length,B.min=W[0],B.max=W[j-1],B.mean=M.mean(W,j),B.sd=M.stdev(W,j,B.mean),B.med=M.interp(W,.5),j%2&&(Be||ze)?(Be?(je=W.slice(0,j/2),ge=W.slice(j/2+1)):ze&&(je=W.slice(0,j/2+1),ge=W.slice(j/2)),B.q1=M.interp(je,.5),B.q3=M.interp(ge,.5)):(B.q1=M.interp(W,.25),B.q3=M.interp(W,.75)),B.lf=s(B,W,j),B.uf=c(B,W,j),B.lo=f(B),B.uo=p(B);var we=w(B,j);B.ln=B.med-we,B.un=B.med+we,be=Math.min(be,B.ln),ke=Math.max(ke,B.un),B.pts2=N.filter(X),D.push(B)}S._extremes[C._id]=y.findExtremes(C,S.notched?Me.concat([be,ke]):Me,{padded:!0})}return function(Ee,Ve){if(M.isArrayOrTypedArray(Ve.selectedpoints))for(var Ye=0;Ye0?(D[0].t={num:P[F],dPos:Z,posLetter:L,valLetter:_,labels:{med:h(v,"median:"),min:h(v,"min:"),q1:h(v,"q1:"),q3:h(v,"q3:"),max:h(v,"max:"),mean:S.boxmean==="sd"?h(v,"mean ยฑ ฯƒ:"):h(v,"mean:"),lf:h(v,"lower fence:"),uf:h(v,"upper fence:")}},P[F]++,D):[{t:{empty:!0}}]};var l={text:"tx",hovertext:"htx"};function a(v,S,x){for(var T in l)M.isArrayOrTypedArray(S[T])&&(Array.isArray(x)?M.isArrayOrTypedArray(S[T][x[0]])&&(v[l[T]]=S[T][x[0]][x[1]]):v[l[T]]=S[T][x])}function u(v,S){return v.v-S.v}function o(v){return v.v}function s(v,S,x){return x===0?v.q1:Math.min(v.q1,S[Math.min(M.findBin(2.5*v.q1-1.5*v.q3,S,!0)+1,x-1)])}function c(v,S,x){return x===0?v.q3:Math.max(v.q3,S[Math.max(M.findBin(2.5*v.q3-1.5*v.q1,S),0)])}function f(v){return 4*v.q1-3*v.q3}function p(v){return 4*v.q3-3*v.q1}function w(v,S){return S===0?0:1.57*(v.q3-v.q1)/Math.sqrt(S)}},37188:function(k,m,t){var d=t(89298),y=t(71828),i=t(99082).getAxisGroup,M=["v","h"];function g(h,l,a,u){var o,s,c,f=l.calcdata,p=l._fullLayout,w=u._id,v=w.charAt(0),S=[],x=0;for(o=0;o1,L=1-p[h+"gap"],b=1-p[h+"groupgap"];for(o=0;o0){var ue=N.pointpos,ce=N.jitter,ye=N.marker.size/2,de=0;ue+ce>=0&&((de=ie*(ue+ce))>F?(oe=!0,Q=ye,Z=de):de>ne&&(Q=ye,Z=F)),de<=F&&(Z=F);var me=0;ue-ce<=0&&((me=-ie*(ue-ce))>B?(oe=!0,re=ye,X=me):me>te&&(re=ye,X=B)),me<=B&&(X=B)}else Z=F,X=B;var pe=new Array(c.length);for(s=0;s0?(A="v",L=P>0?Math.min(R,I):Math.min(I)):P>0?(A="h",L=Math.min(R)):L=0;if(L){s._length=L;var j=c("orientation",A);s._hasPreCompStats?j==="v"&&P===0?(c("x0",0),c("dx",1)):j==="h"&&b===0&&(c("y0",0),c("dy",1)):j==="v"&&P===0?c("x0"):j==="h"&&b===0&&c("y0"),y.getComponentMethod("calendars","handleTraceDefaults")(o,s,["x","y"],f)}else s.visible=!1}function u(o,s,c,f){var p=f.prefix,w=d.coerce2(o,s,l,"marker.outliercolor"),v=c("marker.line.outliercolor"),S="outliers";s._hasPreCompStats?S="all":(w||v)&&(S="suspectedoutliers");var x=c(p+"points",S);x?(c("jitter",x==="all"?.3:0),c("pointpos",x==="all"?-1.5:0),c("marker.symbol"),c("marker.opacity"),c("marker.size"),c("marker.angle"),c("marker.color",s.line.color),c("marker.line.color"),c("marker.line.width"),x==="suspectedoutliers"&&(c("marker.line.outliercolor",s.marker.color),c("marker.line.outlierwidth")),c("selected.marker.color"),c("unselected.marker.color"),c("selected.marker.size"),c("unselected.marker.size"),c("text"),c("hovertext")):delete s.marker;var T=c("hoveron");T!=="all"&&T.indexOf("points")===-1||c("hovertemplate"),d.coerceSelectionMarkerOpacity(s,c)}k.exports={supplyDefaults:function(o,s,c,f){function p(_,A){return d.coerce(o,s,l,_,A)}if(a(o,s,p,f),s.visible!==!1){M(o,s,f,p),p("xhoverformat"),p("yhoverformat");var w=s._hasPreCompStats;w&&(p("lowerfence"),p("upperfence")),p("line.color",(o.marker||{}).color||c),p("line.width"),p("fillcolor",i.addOpacity(s.line.color,.5));var v=!1;if(w){var S=p("mean"),x=p("sd");S&&S.length&&(v=!0,x&&x.length&&(v="sd"))}p("boxmean",v),p("whiskerwidth"),p("width"),p("quartilemethod");var T=!1;if(w){var C=p("notchspan");C&&C.length&&(T=!0)}else d.validate(o.notchwidth,l.notchwidth)&&(T=!0);p("notched",T)&&p("notchwidth"),u(o,s,p,{prefix:"box"})}},crossTraceDefaults:function(o,s){var c,f;function p(S){return d.coerce(f._input,f,l,S)}for(var w=0;wx.lo&&(W.so=!0)}return _});S.enter().append("path").classed("point",!0),S.exit().remove(),S.call(i.translatePoints,s,c)}function h(l,a,u,o){var s,c,f=a.val,p=a.pos,w=!!p.rangebreaks,v=o.bPos,S=o.bPosPxOffset||0,x=u.boxmean||(u.meanline||{}).visible;Array.isArray(o.bdPos)?(s=o.bdPos[0],c=o.bdPos[1]):(s=o.bdPos,c=o.bdPos);var T=l.selectAll("path.mean").data(u.type==="box"&&u.boxmean||u.type==="violin"&&u.box.visible&&u.meanline.visible?y.identity:[]);T.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),T.exit().remove(),T.each(function(C){var _=p.c2l(C.pos+v,!0),A=p.l2p(_-s)+S,L=p.l2p(_+c)+S,b=w?(A+L)/2:p.l2p(_)+S,P=f.c2p(C.mean,!0),I=f.c2p(C.mean-C.sd,!0),R=f.c2p(C.mean+C.sd,!0);u.orientation==="h"?d.select(this).attr("d","M"+P+","+A+"V"+L+(x==="sd"?"m0,0L"+I+","+b+"L"+P+","+A+"L"+R+","+b+"Z":"")):d.select(this).attr("d","M"+A+","+P+"H"+L+(x==="sd"?"m0,0L"+b+","+I+"L"+A+","+P+"L"+b+","+R+"Z":""))})}k.exports={plot:function(l,a,u,o){var s=l._context.staticPlot,c=a.xaxis,f=a.yaxis;y.makeTraceGroups(o,u,"trace boxes").each(function(p){var w,v,S=d.select(this),x=p[0],T=x.t,C=x.trace;T.wdPos=T.bdPos*C.whiskerwidth,C.visible!==!0||T.empty?S.remove():(C.orientation==="h"?(w=f,v=c):(w=c,v=f),M(S,{pos:w,val:v},C,T,s),g(S,{x:c,y:f},C,T),h(S,{pos:w,val:v},C,T))})},plotBoxAndWhiskers:M,plotPoints:g,plotBoxMean:h}},24626:function(k){k.exports=function(m,t){var d,y,i=m.cd,M=m.xaxis,g=m.yaxis,h=[];if(t===!1)for(d=0;d=10)return null;for(var g=1/0,h=-1/0,l=i.length,a=0;a0?Math.floor:Math.ceil,j=B>0?Math.ceil:Math.floor,Y=B>0?Math.min:Math.max,U=B>0?Math.max:Math.min,G=W(D+N),q=j(F-N),H=[[c=R(D)]];for(h=G;h*B=0;i--)M[u-i]=m[o][i],g[u-i]=t[o][i];for(h.push({x:M,y:g,bicubic:l}),i=o,M=[],g=[];i>=0;i--)M[o-i]=m[i][0],g[o-i]=t[i][0];return h.push({x:M,y:g,bicubic:a}),h}},20347:function(k,m,t){var d=t(89298),y=t(1426).extendFlat;k.exports=function(i,M,g){var h,l,a,u,o,s,c,f,p,w,v,S,x,T,C=i["_"+M],_=i[M+"axis"],A=_._gridlines=[],L=_._minorgridlines=[],b=_._boundarylines=[],P=i["_"+g],I=i[g+"axis"];_.tickmode==="array"&&(_.tickvals=C.slice());var R=i._xctrl,D=i._yctrl,F=R[0].length,B=R.length,N=i._a.length,W=i._b.length;d.prepTicks(_),_.tickmode==="array"&&delete _.tickvals;var j=_.smoothing?3:1;function Y(G){var q,H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye=[],de=[],me={};if(M==="b")for(H=i.b2j(G),ne=Math.floor(Math.max(0,Math.min(W-2,H))),te=H-ne,me.length=W,me.crossLength=N,me.xy=function(pe){return i.evalxy([],pe,H)},me.dxy=function(pe,xe){return i.dxydi([],pe,ne,xe,te)},q=0;q0&&(ie=i.dxydi([],q-1,ne,0,te),ye.push(Z[0]+ie[0]/3),de.push(Z[1]+ie[1]/3),oe=i.dxydi([],q-1,ne,1,te),ye.push(re[0]-oe[0]/3),de.push(re[1]-oe[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;else for(q=i.a2i(G),X=Math.floor(Math.max(0,Math.min(N-2,q))),Q=q-X,me.length=N,me.crossLength=W,me.xy=function(pe){return i.evalxy([],q,pe)},me.dxy=function(pe,xe){return i.dxydj([],X,pe,Q,xe)},H=0;H0&&(ue=i.dxydj([],X,H-1,Q,0),ye.push(Z[0]+ue[0]/3),de.push(Z[1]+ue[1]/3),ce=i.dxydj([],X,H-1,Q,1),ye.push(re[0]-ce[0]/3),de.push(re[1]-ce[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;return me.axisLetter=M,me.axis=_,me.crossAxis=I,me.value=G,me.constvar=g,me.index=f,me.x=ye,me.y=de,me.smoothing=I.smoothing,me}function U(G){var q,H,ne,te,Z,X=[],Q=[],re={};if(re.length=C.length,re.crossLength=P.length,M==="b")for(ne=Math.max(0,Math.min(W-2,G)),Z=Math.min(1,Math.max(0,G-ne)),re.xy=function(ie){return i.evalxy([],ie,G)},re.dxy=function(ie,oe){return i.dxydi([],ie,ne,oe,Z)},q=0;qC.length-1||A.push(y(U(l),{color:_.gridcolor,width:_.gridwidth,dash:_.griddash}));for(f=s;fC.length-1||v<0||v>C.length-1))for(S=C[a],x=C[v],h=0;h<_.minorgridcount;h++)(T=v-a)<=0||(w=S+(x-S)*(h+1)/(_.minorgridcount+1)*(_.arraydtick/T))C[C.length-1]||L.push(y(Y(w),{color:_.minorgridcolor,width:_.minorgridwidth,dash:_.minorgriddash}));_.startline&&b.push(y(U(0),{color:_.startlinecolor,width:_.startlinewidth})),_.endline&&b.push(y(U(C.length-1),{color:_.endlinecolor,width:_.endlinewidth}))}else{for(u=5e-15,s=(o=[Math.floor((C[C.length-1]-_.tick0)/_.dtick*(1+u)),Math.ceil((C[0]-_.tick0)/_.dtick/(1+u))].sort(function(G,q){return G-q}))[0],c=o[1],f=s;f<=c;f++)p=_.tick0+_.dtick*f,A.push(y(Y(p),{color:_.gridcolor,width:_.gridwidth,dash:_.griddash}));for(f=s-1;fC[C.length-1]||L.push(y(Y(w),{color:_.minorgridcolor,width:_.minorgridwidth,dash:_.minorgriddash}));_.startline&&b.push(y(Y(C[0]),{color:_.startlinecolor,width:_.startlinewidth})),_.endline&&b.push(y(Y(C[C.length-1]),{color:_.endlinecolor,width:_.endlinewidth}))}}},83311:function(k,m,t){var d=t(89298),y=t(1426).extendFlat;k.exports=function(i,M){var g,h,l,a=M._labels=[],u=M._gridlines;for(g=0;gi.length&&(y=y.slice(0,i.length)):y=[],g=0;g90&&(c-=180,l=-l),{angle:c,flip:l,p:m.c2p(y,t,d),offsetMultplier:a}}},89740:function(k,m,t){var d=t(39898),y=t(91424),i=t(27669),M=t(67961),g=t(11651),h=t(63893),l=t(71828),a=l.strRotate,u=l.strTranslate,o=t(18783);function s(v,S,x,T,C,_,A){var L="const-"+C+"-lines",b=x.selectAll("."+L).data(_);b.enter().append("path").classed(L,!0).style("vector-effect",A?"none":"non-scaling-stroke"),b.each(function(P){var I=P,R=I.x,D=I.y,F=i([],R,v.c2p),B=i([],D,S.c2p),N="M"+M(F,B,I.smoothing);d.select(this).attr("d",N).style("stroke-width",I.width).style("stroke",I.color).style("stroke-dasharray",y.dashStyle(I.dash,I.width)).style("fill","none")}),b.exit().remove()}function c(v,S,x,T,C,_,A,L){var b=_.selectAll("text."+L).data(A);b.enter().append("text").classed(L,!0);var P=0,I={};return b.each(function(R,D){var F;if(R.axis.tickangle==="auto")F=g(T,S,x,R.xy,R.dxy);else{var B=(R.axis.tickangle+180)*Math.PI/180;F=g(T,S,x,R.xy,[Math.cos(B),Math.sin(B)])}D||(I={angle:F.angle,flip:F.flip});var N=(R.endAnchor?-1:1)*F.flip,W=d.select(this).attr({"text-anchor":N>0?"start":"end","data-notex":1}).call(y.font,R.font).text(R.text).call(h.convertToTspans,v),j=y.bBox(this);W.attr("transform",u(F.p[0],F.p[1])+a(F.angle)+u(R.axis.labelpadding*N,.3*j.height)),P=Math.max(P,j.width+R.axis.labelpadding)}),b.exit().remove(),I.maxExtent=P,I}k.exports=function(v,S,x,T){var C=v._context.staticPlot,_=S.xaxis,A=S.yaxis,L=v._fullLayout._clips;l.makeTraceGroups(T,x,"trace").each(function(b){var P=d.select(this),I=b[0],R=I.trace,D=R.aaxis,F=R.baxis,B=l.ensureSingle(P,"g","minorlayer"),N=l.ensureSingle(P,"g","majorlayer"),W=l.ensureSingle(P,"g","boundarylayer"),j=l.ensureSingle(P,"g","labellayer");P.style("opacity",R.opacity),s(_,A,N,0,"a",D._gridlines,!0),s(_,A,N,0,"b",F._gridlines,!0),s(_,A,B,0,"a",D._minorgridlines,!0),s(_,A,B,0,"b",F._minorgridlines,!0),s(_,A,W,0,"a-boundary",D._boundarylines,C),s(_,A,W,0,"b-boundary",F._boundarylines,C);var Y=c(v,_,A,R,0,j,D._labels,"a-label"),U=c(v,_,A,R,0,j,F._labels,"b-label");(function(G,q,H,ne,te,Z,X,Q){var re,ie,oe,ue,ce=l.aggNums(Math.min,null,H.a),ye=l.aggNums(Math.max,null,H.a),de=l.aggNums(Math.min,null,H.b),me=l.aggNums(Math.max,null,H.b);re=.5*(ce+ye),ie=de,oe=H.ab2xy(re,ie,!0),ue=H.dxyda_rough(re,ie),X.angle===void 0&&l.extendFlat(X,g(H,te,Z,oe,H.dxydb_rough(re,ie))),w(G,q,H,0,oe,ue,H.aaxis,te,Z,X,"a-title"),re=ce,ie=.5*(de+me),oe=H.ab2xy(re,ie,!0),ue=H.dxydb_rough(re,ie),Q.angle===void 0&&l.extendFlat(Q,g(H,te,Z,oe,H.dxyda_rough(re,ie))),w(G,q,H,0,oe,ue,H.baxis,te,Z,Q,"b-title")})(v,j,R,0,_,A,Y,U),function(G,q,H,ne,te){var Z,X,Q,re,ie=H.select("#"+G._clipPathId);ie.size()||(ie=H.append("clipPath").classed("carpetclip",!0));var oe=l.ensureSingle(ie,"path","carpetboundary"),ue=q.clipsegments,ce=[];for(re=0;re90&&W<270,Y=d.select(this);Y.text(A.title.text).call(h.convertToTspans,v),j&&(F=(-h.lineCount(Y)+p)*f*N-F),Y.attr("transform",u(B.p[0],B.p[1])+a(B.angle)+u(0,F)).attr("text-anchor","middle").call(y.font,A.title.font)}),D.exit().remove()}},11435:function(k,m,t){var d=t(35509),y=t(65888).findBin,i=t(45664),M=t(20349),g=t(54495),h=t(73057);k.exports=function(l){var a=l._a,u=l._b,o=a.length,s=u.length,c=l.aaxis,f=l.baxis,p=a[0],w=a[o-1],v=u[0],S=u[s-1],x=a[a.length-1]-a[0],T=u[u.length-1]-u[0],C=x*d.RELATIVE_CULL_TOLERANCE,_=T*d.RELATIVE_CULL_TOLERANCE;p-=C,w+=C,v-=_,S+=_,l.isVisible=function(A,L){return A>p&&Av&&Lw||LS},l.setScale=function(){var A=l._x,L=l._y,b=i(l._xctrl,l._yctrl,A,L,c.smoothing,f.smoothing);l._xctrl=b[0],l._yctrl=b[1],l.evalxy=M([l._xctrl,l._yctrl],o,s,c.smoothing,f.smoothing),l.dxydi=g([l._xctrl,l._yctrl],c.smoothing,f.smoothing),l.dxydj=h([l._xctrl,l._yctrl],c.smoothing,f.smoothing)},l.i2a=function(A){var L=Math.max(0,Math.floor(A[0]),o-2),b=A[0]-L;return(1-b)*a[L]+b*a[L+1]},l.j2b=function(A){var L=Math.max(0,Math.floor(A[1]),o-2),b=A[1]-L;return(1-b)*u[L]+b*u[L+1]},l.ij2ab=function(A){return[l.i2a(A[0]),l.j2b(A[1])]},l.a2i=function(A){var L=Math.max(0,Math.min(y(A,a),o-2)),b=a[L],P=a[L+1];return Math.max(0,Math.min(o-1,L+(A-b)/(P-b)))},l.b2j=function(A){var L=Math.max(0,Math.min(y(A,u),s-2)),b=u[L],P=u[L+1];return Math.max(0,Math.min(s-1,L+(A-b)/(P-b)))},l.ab2ij=function(A){return[l.a2i(A[0]),l.b2j(A[1])]},l.i2c=function(A,L){return l.evalxy([],A,L)},l.ab2xy=function(A,L,b){if(!b&&(Aa[o-1]|Lu[s-1]))return[!1,!1];var P=l.a2i(A),I=l.b2j(L),R=l.evalxy([],P,I);if(b){var D,F,B,N,W=0,j=0,Y=[];Aa[o-1]?(D=o-2,F=1,W=(A-a[o-1])/(a[o-1]-a[o-2])):F=P-(D=Math.max(0,Math.min(o-2,Math.floor(P)))),Lu[s-1]?(B=s-2,N=1,j=(L-u[s-1])/(u[s-1]-u[s-2])):N=I-(B=Math.max(0,Math.min(s-2,Math.floor(I)))),W&&(l.dxydi(Y,D,B,F,N),R[0]+=Y[0]*W,R[1]+=Y[1]*W),j&&(l.dxydj(Y,D,B,F,N),R[0]+=Y[0]*j,R[1]+=Y[1]*j)}return R},l.c2p=function(A,L,b){return[L.c2p(A[0]),b.c2p(A[1])]},l.p2x=function(A,L,b){return[L.p2c(A[0]),b.p2c(A[1])]},l.dadi=function(A){var L=Math.max(0,Math.min(a.length-2,A));return a[L+1]-a[L]},l.dbdj=function(A){var L=Math.max(0,Math.min(u.length-2,A));return u[L+1]-u[L]},l.dxyda=function(A,L,b,P){var I=l.dxydi(null,A,L,b,P),R=l.dadi(A,b);return[I[0]/R,I[1]/R]},l.dxydb=function(A,L,b,P){var I=l.dxydj(null,A,L,b,P),R=l.dbdj(L,P);return[I[0]/R,I[1]/R]},l.dxyda_rough=function(A,L,b){var P=x*(b||.1),I=l.ab2xy(A+P,L,!0),R=l.ab2xy(A-P,L,!0);return[.5*(I[0]-R[0])/P,.5*(I[1]-R[1])/P]},l.dxydb_rough=function(A,L,b){var P=T*(b||.1),I=l.ab2xy(A,L+P,!0),R=l.ab2xy(A,L-P,!0);return[.5*(I[0]-R[0])/P,.5*(I[1]-R[1])/P]},l.dpdx=function(A){return A._m},l.dpdy=function(A){return A._m}}},72505:function(k,m,t){var d=t(71828);k.exports=function(y,i,M){var g,h,l,a=[],u=[],o=y[0].length,s=y.length;function c(G,q){var H,ne=0,te=0;return G>0&&(H=y[q][G-1])!==void 0&&(te++,ne+=H),G0&&(H=y[q-1][G])!==void 0&&(te++,ne+=H),q0&&h0&&g1e-5);return d.log("Smoother converged to",P,"after",I,"iterations"),y}},19237:function(k,m,t){var d=t(71828).isArray1D;k.exports=function(y,i,M){var g=M("x"),h=g&&g.length,l=M("y"),a=l&&l.length;if(!h&&!a)return!1;if(i._cheater=!g,h&&!d(g)||a&&!d(l))i._length=null;else{var u=h?g.length:1/0;a&&(u=Math.min(u,l.length)),i.a&&i.a.length&&(u=Math.min(u,i.a.length)),i.b&&i.b.length&&(u=Math.min(u,i.b.length)),i._length=u}return!0}},69568:function(k,m,t){var d=t(5386).fF,y=t(19316),i=t(50693),M=t(9012),g=t(22399).defaultLine,h=t(1426).extendFlat,l=y.marker.line;k.exports=h({locations:{valType:"data_array",editType:"calc"},locationmode:y.locationmode,z:{valType:"data_array",editType:"calc"},geojson:h({},y.geojson,{}),featureidkey:y.featureidkey,text:h({},y.text,{}),hovertext:h({},y.hovertext,{}),marker:{line:{color:h({},l.color,{dflt:g}),width:h({},l.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:y.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:y.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:h({},M.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:d(),showlegend:h({},M.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(k,m,t){var d=t(92770),y=t(50606).BADNUM,i=t(78803),M=t(75225),g=t(66279);function h(l){return l&&typeof l=="string"}k.exports=function(l,a){var u,o=a._length,s=new Array(o);u=a.geojson?function(v){return h(v)||d(v)}:h;for(var c=0;c")}}(M,c,l),[M]}},51319:function(k,m,t){k.exports={attributes:t(69568),supplyDefaults:t(61869),colorbar:t(61243),calc:t(38675),calcGeoJSON:t(99841).calcGeoJSON,plot:t(99841).plot,style:t(99636).style,styleOnSelect:t(99636).styleOnSelect,hoverPoints:t(42300),eventData:t(92069),selectPoints:t(81253),moduleType:"trace",name:"choropleth",basePlotModule:t(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(k,m,t){var d=t(39898),y=t(71828),i=t(41327),M=t(90973).getTopojsonFeatures,g=t(71739).findExtremes,h=t(99636).style;k.exports={calcGeoJSON:function(l,a){for(var u=l[0].trace,o=a[u.geo],s=o._subplot,c=u.locationmode,f=u._length,p=c==="geojson-id"?i.extractTraceFeature(l):M(u,s.topojson),w=[],v=[],S=0;S=0;M--){var g=i[M].id;if(typeof g=="string"&&g.indexOf("water")===0){for(var h=M+1;h=0;a--)h.removeLayer(l[a][1])},g.dispose=function(){var h=this.subplot.map;this._removeLayers(),h.removeSource(this.sourceId)},k.exports=function(h,l){var a=l[0].trace,u=new M(h,a.uid),o=u.sourceId,s=d(l),c=u.below=h.belowLookup["trace-"+a.uid];return h.map.addSource(o,{type:"geojson",data:s.geojson}),u._addLayers(s,c),l[0].trace._glTrace=u,u}},12674:function(k,m,t){var d=t(50693),y=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),g=t(9012),h=t(1426).extendFlat,l={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"},{keys:["norm"]}),uhoverformat:y("u",1),vhoverformat:y("v",1),whoverformat:y("w",1),xhoverformat:y("x"),yhoverformat:y("y"),zhoverformat:y("z"),showlegend:h({},g.showlegend,{dflt:!1})};h(l,d("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach(function(a){l[a]=M[a]}),l.hoverinfo=h({},g.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),l.transforms=void 0,k.exports=l},31371:function(k,m,t){var d=t(78803);k.exports=function(y,i){for(var M=i.u,g=i.v,h=i.w,l=Math.min(i.x.length,i.y.length,i.z.length,M.length,g.length,h.length),a=-1/0,u=1/0,o=0;og.level||g.starts.length&&M===g.level)}break;case"constraint":if(y.prefixBoundary=!1,y.edgepaths.length)return;var h=y.x.length,l=y.y.length,a=-1/0,u=1/0;for(d=0;d":c>a&&(y.prefixBoundary=!0);break;case"<":(ca||y.starts.length&&s===u)&&(y.prefixBoundary=!0);break;case"][":o=Math.min(c[0],c[1]),s=Math.max(c[0],c[1]),oa&&(y.prefixBoundary=!0)}}}},90654:function(k,m,t){var d=t(21081),y=t(86068),i=t(53572);k.exports={min:"zmin",max:"zmax",calc:function(M,g,h){var l=g.contours,a=g.line,u=l.size||1,o=l.coloring,s=y(g,{isColorbar:!0});if(o==="heatmap"){var c=d.extractOpts(g);h._fillgradient=c.reversescale?d.flipScale(c.colorscale):c.colorscale,h._zrange=[c.min,c.max]}else o==="fill"&&(h._fillcolor=s);h._line={color:o==="lines"?s:a.color,width:l.showlines!==!1?a.width:0,dash:a.dash},h._levels={start:l.start,end:i(l),size:u}}}},36914:function(k){k.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},83179:function(k,m,t){var d=t(92770),y=t(14523),i=t(7901),M=i.addOpacity,g=i.opacity,h=t(74808),l=h.CONSTRAINT_REDUCTION,a=h.COMPARISON_OPS2;k.exports=function(u,o,s,c,f,p){var w,v,S,x=o.contours,T=s("contours.operation");x._operation=l[T],function(C,_){var A;a.indexOf(_.operation)===-1?(C("contours.value",[0,1]),Array.isArray(_.value)?_.value.length>2?_.value=_.value.slice(2):_.length===0?_.value=[0,1]:_.length<2?(A=parseFloat(_.value[0]),_.value=[A,A+1]):_.value=[parseFloat(_.value[0]),parseFloat(_.value[1])]:d(_.value)&&(A=parseFloat(_.value),_.value=[A,A+1])):(C("contours.value",0),d(_.value)||(Array.isArray(_.value)?_.value=parseFloat(_.value[0]):_.value=0))}(s,x),T==="="?w=x.showlines=!0:(w=s("contours.showlines"),S=s("fillcolor",M((u.line||{}).color||f,.5))),w&&(v=s("line.color",S&&g(S)?M(o.fillcolor,1):f),s("line.width",2),s("line.dash")),s("line.smoothing"),y(s,c,v,p)}},64237:function(k,m,t){var d=t(74808),y=t(92770);function i(h,l){var a,u=Array.isArray(l);function o(s){return y(s)?+s:null}return d.COMPARISON_OPS2.indexOf(h)!==-1?a=o(u?l[0]:l):d.INTERVAL_OPS.indexOf(h)!==-1?a=u?[o(l[0]),o(l[1])]:[o(l),o(l)]:d.SET_OPS.indexOf(h)!==-1&&(a=u?l.map(o):[o(l)]),a}function M(h){return function(l){l=i(h,l);var a=Math.min(l[0],l[1]),u=Math.max(l[0],l[1]);return{start:a,end:u,size:u-a}}}function g(h){return function(l){return{start:l=i(h,l),end:1/0,size:1/0}}}k.exports={"[]":M("[]"),"][":M("]["),">":g(">"),"<":g("<"),"=":g("=")}},67217:function(k){k.exports=function(m,t,d,y){var i=y("contours.start"),M=y("contours.end"),g=i===!1||M===!1,h=d("contours.size");!(g?t.autocontour=!0:d("autocontour",!1))&&h||d("ncontours")}},84857:function(k,m,t){var d=t(71828);function y(i){return d.extendFlat({},i,{edgepaths:d.extendDeep([],i.edgepaths),paths:d.extendDeep([],i.paths),starts:d.extendDeep([],i.starts)})}k.exports=function(i,M){var g,h,l,a=function(s){return s.reverse()},u=function(s){return s};switch(M){case"=":case"<":return i;case">":for(i.length!==1&&d.warn("Contour data invalid for the specified inequality operation."),h=i[0],g=0;g1e3){d.warn("Too many contours, clipping at 1000",M);break}return u}},53572:function(k){k.exports=function(m){return m.end+m.size/1e6}},81696:function(k,m,t){var d=t(71828),y=t(36914);function i(h,l,a,u){return Math.abs(h[0]-l[0])20&&oe?ie===208||ie===1114?ce=ue[0]===0?1:-1:ye=ue[1]===0?1:-1:y.BOTTOMSTART.indexOf(ie)!==-1?ye=1:y.LEFTSTART.indexOf(ie)!==-1?ce=1:y.TOPSTART.indexOf(ie)!==-1?ye=-1:ce=-1,[ce,ye]}(f,a,l),w=[g(h,l,[-p[0],-p[1]])],v=h.z.length,S=h.z[0].length,x=l.slice(),T=p.slice();for(s=0;s<1e4;s++){if(f>20?(f=y.CHOOSESADDLE[f][(p[0]||p[1])<0?0:1],h.crossings[c]=y.SADDLEREMAINDER[f]):delete h.crossings[c],!(p=y.NEWDELTA[f])){d.log("Found bad marching index:",f,l,h.level);break}w.push(g(h,l,p)),l[0]+=p[0],l[1]+=p[1],c=l.join(","),i(w[w.length-1],w[w.length-2],u,o)&&w.pop();var C=p[0]&&(l[0]<0||l[0]>S-2)||p[1]&&(l[1]<0||l[1]>v-2);if(l[0]===x[0]&&l[1]===x[1]&&p[0]===T[0]&&p[1]===T[1]||a&&C)break;f=h.crossings[c]}s===1e4&&d.log("Infinite loop in contour?");var _,A,L,b,P,I,R,D,F,B,N,W,j,Y,U,G=i(w[0],w[w.length-1],u,o),q=0,H=.2*h.smoothing,ne=[],te=0;for(s=1;s=te;s--)if((_=ne[s])=te&&_+ne[A]D&&F--,h.edgepaths[F]=N.concat(w,B));break}re||(h.edgepaths[D]=w.concat(B))}for(D=0;Di?0:1)+(M[0][1]>i?0:2)+(M[1][1]>i?0:4)+(M[1][0]>i?0:8);return g===5||g===10?i>(M[0][0]+M[0][1]+M[1][0]+M[1][1])/4?g===5?713:1114:g===5?104:208:g===15?0:g}k.exports=function(i){var M,g,h,l,a,u,o,s,c,f=i[0].z,p=f.length,w=f[0].length,v=p===2||w===2;for(g=0;g=0&&(A=U,b=P):Math.abs(_[1]-A[1])<.01?Math.abs(_[1]-U[1])<.01&&(U[0]-_[0])*(A[0]-U[0])>=0&&(A=U,b=P):y.log("endpt to newendpt is not vert. or horz.",_,A,U)}if(_=A,b>=0)break;D+="L"+A}if(b===T.edgepaths.length){y.log("unclosed perimeter path");break}F=b,(N=B.indexOf(F)===-1)&&(F=B[0],D+="Z")}for(F=0;FA.center?A.right-P:P-A.left)/(D+Math.abs(Math.sin(R)*b)),N=(I>A.middle?A.bottom-I:I-A.top)/(Math.abs(F)+Math.cos(R)*b);if(B<1||N<1)return 1/0;var W=w.EDGECOST*(1/(B-1)+1/(N-1));W+=w.ANGLECOST*R*R;for(var j=P-D,Y=I-F,U=P+D,G=I+F,q=0;q<_.length;q++){var H=_[q],ne=Math.cos(H.theta)*H.width/2,te=Math.sin(H.theta)*H.width/2,Z=2*y.segmentDistance(j,Y,U,G,H.x-ne,H.y-te,H.x+ne,H.y+te)/(C.height+H.height),X=H.level===C.level,Q=X?w.SAMELEVELDISTANCE:1;if(Z<=Q)return 1/0;W+=w.NEIGHBORCOST*(X?w.SAMELEVELFACTOR:1)/(Z-Q)}return W}function x(T){var C,_,A=T.trace._emptypoints,L=[],b=T.z.length,P=T.z[0].length,I=[];for(C=0;C2*w.MAXCOST)break;N&&(P/=2),I=(b=R-P/2)+1.5*P}if(B<=w.MAXCOST)return D},m.addLabelData=function(T,C,_,A){var L=C.fontSize,b=C.width+L/3,P=Math.max(0,C.height-L/3),I=T.x,R=T.y,D=T.theta,F=Math.sin(D),B=Math.cos(D),N=function(j,Y){return[I+j*B-Y*F,R+j*F+Y*B]},W=[N(-b/2,-P/2),N(-b/2,P/2),N(b/2,P/2),N(b/2,-P/2)];_.push({text:C.text,x:I,y:R,dy:C.dy,theta:D,level:C.level,width:b,height:P}),A.push(W)},m.drawLabels=function(T,C,_,A,L){var b=T.selectAll("text").data(C,function(R){return R.text+","+R.x+","+R.y+","+R.theta});if(b.exit().remove(),b.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(R){var D=R.x+Math.sin(R.theta)*R.dy,F=R.y-Math.cos(R.theta)*R.dy;d.select(this).text(R.text).attr({x:D,y:F,transform:"rotate("+180*R.theta/Math.PI+" "+D+" "+F+")"}).call(g.convertToTspans,_)}),L){for(var P="",I=0;Ih.end&&(h.start=h.end=(h.start+h.end)/2),M._input.contours||(M._input.contours={}),y.extendFlat(M._input.contours,{start:h.start,end:h.end,size:h.size}),M._input.autocontour=!0}else if(h.type!=="constraint"){var o,s=h.start,c=h.end,f=M._input.contours;s>c&&(h.start=f.start=c,c=h.end=f.end=s,s=h.start),h.size>0||(o=s===c?1:i(s,c,M.ncontours).dtick,f.size=h.size=o)}}},84426:function(k,m,t){var d=t(39898),y=t(91424),i=t(70035),M=t(86068);k.exports=function(g){var h=d.select(g).selectAll("g.contour");h.style("opacity",function(l){return l[0].trace.opacity}),h.each(function(l){var a=d.select(this),u=l[0].trace,o=u.contours,s=u.line,c=o.size||1,f=o.start,p=o.type==="constraint",w=!p&&o.coloring==="lines",v=!p&&o.coloring==="fill",S=w||v?M(u):null;a.selectAll("g.contourlevel").each(function(C){d.select(this).selectAll("path").call(y.lineGroupStyle,s.width,w?S(C.level):s.color,s.dash)});var x=o.labelfont;if(a.selectAll("g.contourlabels text").each(function(C){y.font(d.select(this),{family:x.family,size:x.size,color:x.color||(w?S(C.level):s.color)})}),p)a.selectAll("g.contourfill path").style("fill",u.fillcolor);else if(v){var T;a.selectAll("g.contourfill path").style("fill",function(C){return T===void 0&&(T=C.level),S(C.level+.5*c)}),T===void 0&&(T=f),a.selectAll("g.contourbg path").style("fill",S(T-.5*c))}}),i(g)}},8724:function(k,m,t){var d=t(1586),y=t(14523);k.exports=function(i,M,g,h,l){var a,u=g("contours.coloring"),o="";u==="fill"&&(a=g("contours.showlines")),a!==!1&&(u!=="lines"&&(o=g("line.color","#000")),g("line.width",.5),g("line.dash")),u!=="none"&&(i.showlegend!==!0&&(M.showlegend=!1),M._dfltShowLegend=!1,d(i,M,h,g,{prefix:"",cLetter:"z"})),g("line.smoothing"),y(g,h,o,l)}},88085:function(k,m,t){var d=t(21606),y=t(70600),i=t(50693),M=t(1426).extendFlat,g=y.contours;k.exports=M({carpet:{valType:"string",editType:"calc"},z:d.z,a:d.x,a0:d.x0,da:d.dx,b:d.y,b0:d.y0,db:d.dy,text:d.text,hovertext:d.hovertext,transpose:d.transpose,atype:d.xtype,btype:d.ytype,fillcolor:y.fillcolor,autocontour:y.autocontour,ncontours:y.ncontours,contours:{type:g.type,start:g.start,end:g.end,size:g.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:g.showlines,showlabels:g.showlabels,labelfont:g.labelfont,labelformat:g.labelformat,operation:g.operation,value:g.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:y.line.color,width:y.line.width,dash:y.line.dash,smoothing:y.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},59885:function(k,m,t){var d=t(78803),y=t(71828),i=t(68296),M=t(4742),g=t(824),h=t(43907),l=t(70769),a=t(75005),u=t(22882),o=t(18670);k.exports=function(s,c){var f=c._carpetTrace=u(s,c);if(f&&f.visible&&f.visible!=="legendonly"){if(!c.a||!c.b){var p=s.data[f.index],w=s.data[c.index];w.a||(w.a=p.a),w.b||(w.b=p.b),a(w,c,c._defaultColor,s._fullLayout)}var v=function(S,x){var T,C,_,A,L,b,P,I=x._carpetTrace,R=I.aaxis,D=I.baxis;R._minDtick=0,D._minDtick=0,y.isArray1D(x.z)&&i(x,R,D,"a","b",["z"]),T=x._a=x._a||x.a,A=x._b=x._b||x.b,T=T?R.makeCalcdata(x,"_a"):[],A=A?D.makeCalcdata(x,"_b"):[],C=x.a0||0,_=x.da||1,L=x.b0||0,b=x.db||1,P=x._z=M(x._z||x.z,x.transpose),x._emptypoints=h(P),g(P,x._emptypoints);var F=y.maxRowLength(P),B=x.xtype==="scaled"?"":T,N=l(x,B,C,_,F,R),W=x.ytype==="scaled"?"":A,j={a:N,b:l(x,W,L,b,P.length,D),z:P};return x.contours.type==="levels"&&x.contours.coloring!=="none"&&d(S,x,{vals:P,containerStr:"",cLetter:"z"}),[j]}(s,c);return o(c,c._z),v}}},75005:function(k,m,t){var d=t(71828),y=t(67684),i=t(88085),M=t(83179),g=t(67217),h=t(8724);k.exports=function(l,a,u,o){function s(c,f){return d.coerce(l,a,i,c,f)}if(s("carpet"),l.a&&l.b){if(!y(l,a,s,o,"a","b"))return void(a.visible=!1);s("text"),s("contours.type")==="constraint"?M(l,a,s,o,u,{hasHover:!1}):(g(l,a,s,function(c){return d.coerce2(l,a,i,c)}),h(l,a,s,o,{hasHover:!1}))}else a._defaultColor=u,a._length=null}},93740:function(k,m,t){k.exports={attributes:t(88085),supplyDefaults:t(75005),colorbar:t(90654),calc:t(59885),plot:t(51048),style:t(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:t(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(k,m,t){var d=t(39898),y=t(27669),i=t(67961),M=t(91424),g=t(71828),h=t(87678),l=t(81696),a=t(29854),u=t(36914),o=t(84857),s=t(87558),c=t(20083),f=t(22882),p=t(4536);function w(x,T,C){var _=x.getPointAtLength(T),A=x.getPointAtLength(C),L=A.x-_.x,b=A.y-_.y,P=Math.sqrt(L*L+b*b);return[L/P,b/P]}function v(x){var T=Math.sqrt(x[0]*x[0]+x[1]*x[1]);return[x[0]/T,x[1]/T]}function S(x,T){var C=Math.abs(x[0]*T[0]+x[1]*T[1]);return Math.sqrt(1-C*C)/C}k.exports=function(x,T,C,_){var A=T.xaxis,L=T.yaxis;g.makeTraceGroups(_,C,"contour").each(function(b){var P=d.select(this),I=b[0],R=I.trace,D=R._carpetTrace=f(x,R),F=x.calcdata[D.index][0];if(D.visible&&D.visible!=="legendonly"){var B=I.a,N=I.b,W=R.contours,j=s(W,T,I),Y=W.type==="constraint",U=W._operation,G=Y?U==="="?"lines":"fill":W.coloring,q=[[B[0],N[N.length-1]],[B[B.length-1],N[N.length-1]],[B[B.length-1],N[0]],[B[0],N[0]]];h(j);var H=1e-8*(B[B.length-1]-B[0]),ne=1e-8*(N[N.length-1]-N[0]);l(j,H,ne);var te,Z,X,Q,re=j;W.type==="constraint"&&(re=o(j,U)),function(ce,ye){var de,me,pe,xe,Oe,_e,Me,Se,Ce;for(de=0;de=0;Q--)te=F.clipsegments[Q],Z=y([],te.x,A.c2p),X=y([],te.y,L.c2p),Z.reverse(),X.reverse(),ie.push(i(Z,X,te.bicubic));var oe="M"+ie.join("L")+"Z";(function(ce,ye,de,me,pe,xe){var Oe,_e,Me,Se,Ce=g.ensureSingle(ce,"g","contourbg").selectAll("path").data(xe!=="fill"||pe?[]:[0]);Ce.enter().append("path"),Ce.exit().remove();var ae=[];for(Se=0;Se=0&&(st=ht,ft=bt):Math.abs($e[1]-st[1])=0&&(st=ht,ft=bt):g.log("endpt to newendpt is not vert. or horz.",$e,st,ht)}if(ft>=0)break;kt+=qe($e,st),$e=st}if(ft===Be.edgepaths.length){g.log("unclosed perimeter path");break}Ye=ft,(Ft=xt.indexOf(Ye)===-1)&&(Ye=xt[0],kt+=qe($e,st)+"Z",$e=null)}for(Ye=0;YeLt&&(Ke.max=Lt),Ke.len=Ke.max-Ke.min}function yt(Ot,wt){var Pt,Nt=0,$t=.1;return(Math.abs(Ot[0]-Pe)<$t||Math.abs(Ot[0]-Ne)<$t)&&(Pt=v(Je.dxydb_rough(Ot[0],Ot[1],$t)),Nt=Math.max(Nt,qe*S(wt,Pt)/2)),(Math.abs(Ot[1]-Qe)<$t||Math.abs(Ot[1]-ut)<$t)&&(Pt=v(Je.dxyda_rough(Ot[0],Ot[1],$t)),Nt=Math.max(Nt,qe*S(wt,Pt)/2)),Nt}}(Et,bt,ot,kt,Oe,ft.height),!(kt.len<(ft.width+ft.height)*u.LABELMIN)))for(var xt=Math.min(Math.ceil(kt.len/st),u.LABELMAX),Ft=0;Ft0?+p[s]:0),c.push({type:"Feature",geometry:{type:"Point",coordinates:x},properties:T})}}var _=M.extractOpts(a),A=_.reversescale?M.flipScale(_.colorscale):_.colorscale,L=A[0][1],b=["interpolate",["linear"],["heatmap-density"],0,i.opacity(L)<1?L:i.addOpacity(L,0)];for(s=1;s=0;l--)g.removeLayer(h[l][1])},M.dispose=function(){var g=this.subplot.map;this._removeLayers(),g.removeSource(this.sourceId)},k.exports=function(g,h){var l=h[0].trace,a=new i(g,l.uid),u=a.sourceId,o=d(h),s=a.below=g.belowLookup["trace-"+l.uid];return g.map.addSource(u,{type:"geojson",data:o.geojson}),a._addLayers(o,s),a}},49789:function(k,m,t){var d=t(71828);k.exports=function(y,i){for(var M=0;M"),u.color=function(T,C){var _=T.marker,A=C.mc||_.color,L=C.mlc||_.line.color,b=C.mlw||_.line.width;return d(A)?A:d(L)&&b?L:void 0}(s,f),[u]}}},51759:function(k,m,t){k.exports={attributes:t(1285),layoutAttributes:t(10440),supplyDefaults:t(26199).supplyDefaults,crossTraceDefaults:t(26199).crossTraceDefaults,supplyLayoutDefaults:t(93138),calc:t(9532),crossTraceCalc:t(8984),plot:t(80461),style:t(68266).style,hoverPoints:t(63341),eventData:t(34598),selectPoints:t(81974),moduleType:"trace",name:"funnel",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(k){k.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},93138:function(k,m,t){var d=t(71828),y=t(10440);k.exports=function(i,M,g){var h=!1;function l(o,s){return d.coerce(i,M,y,o,s)}for(var a=0;a path").each(function(w){if(!w.isBlank){var v=p.marker;d.select(this).call(i.fill,w.mc||v.color).call(i.stroke,w.mlc||v.line.color).call(y.dashLine,v.line.dash,w.mlw||v.line.width).style("opacity",p.selectedpoints&&!w.selected?M:1)}}),l(f,p,a),f.selectAll(".regions").each(function(){d.select(this).selectAll("path").style("stroke-width",0).call(i.fill,p.connector.fillcolor)}),f.selectAll(".lines").each(function(){var w=p.connector.line;y.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},86807:function(k,m,t){var d=t(34e3),y=t(9012),i=t(27670).Y,M=t(5386).fF,g=t(5386).si,h=t(1426).extendFlat;k.exports={labels:d.labels,label0:d.label0,dlabel:d.dlabel,values:d.values,marker:{colors:d.marker.colors,line:{color:h({},d.marker.line.color,{dflt:null}),width:h({},d.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:d.text,hovertext:d.hovertext,scalegroup:h({},d.scalegroup,{}),textinfo:h({},d.textinfo,{flags:["label","text","value","percent"]}),texttemplate:g({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:h({},y.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:M({},{keys:["label","color","value","text","percent"]}),textposition:h({},d.textposition,{values:["inside","none"],dflt:"inside"}),textfont:d.textfont,insidetextfont:d.insidetextfont,title:{text:d.title.text,font:d.title.font,position:h({},d.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},6452:function(k,m,t){var d=t(74875);m.name="funnelarea",m.plot=function(y,i,M,g){d.plotBasePlot(m.name,y,i,M,g)},m.clean=function(y,i,M,g){d.cleanBasePlot(m.name,y,i,M,g)}},89574:function(k,m,t){var d=t(32354);k.exports={calc:function(y,i){return d.calc(y,i)},crossTraceCalc:function(y){d.crossTraceCalc(y,{type:"funnelarea"})}}},86282:function(k,m,t){var d=t(71828),y=t(86807),i=t(27670).c,M=t(90769).handleText,g=t(37434).handleLabelsAndValues;k.exports=function(h,l,a,u){function o(T,C){return d.coerce(h,l,y,T,C)}var s=o("labels"),c=o("values"),f=g(s,c),p=f.len;if(l._hasLabels=f.hasLabels,l._hasValues=f.hasValues,!l._hasLabels&&l._hasValues&&(o("label0"),o("dlabel")),p){l._length=p,o("marker.line.width")&&o("marker.line.color",u.paper_bgcolor),o("marker.colors"),o("scalegroup");var w,v=o("text"),S=o("texttemplate");if(S||(w=o("textinfo",Array.isArray(v)?"text+percent":"percent")),o("hovertext"),o("hovertemplate"),S||w&&w!=="none"){var x=o("textposition");M(h,l,u,o,x,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(l,u,o),o("title.text")&&(o("title.position"),d.coerceFont(o,"title.font",u.font)),o("aspectratio"),o("baseratio")}else l.visible=!1}},10421:function(k,m,t){k.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t(6452),categories:["pie-like","funnelarea","showLegend"],attributes:t(86807),layoutAttributes:t(80097),supplyDefaults:t(86282),supplyLayoutDefaults:t(57402),calc:t(89574).calc,crossTraceCalc:t(89574).crossTraceCalc,plot:t(79187),style:t(71858),styleOne:t(63463),meta:{}}},80097:function(k,m,t){var d=t(92774).hiddenlabels;k.exports={hiddenlabels:d,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(k,m,t){var d=t(71828),y=t(80097);k.exports=function(i,M){function g(h,l){return d.coerce(i,M,y,h,l)}g("hiddenlabels"),g("funnelareacolorway",M.colorway),g("extendfunnelareacolors")}},79187:function(k,m,t){var d=t(39898),y=t(91424),i=t(71828),M=i.strScale,g=i.strTranslate,h=t(63893),l=t(17295).toMoveInsideBar,a=t(72597),u=a.recordMinTextSize,o=a.clearMinTextSize,s=t(53581),c=t(14575),f=c.attachFxHandlers,p=c.determineInsideTextFont,w=c.layoutAreas,v=c.prerenderTitles,S=c.positionTitleOutside,x=c.formatSliceLabel;function T(C,_){return"l"+(_[0]-C[0])+","+(_[1]-C[1])}k.exports=function(C,_){var A=C._context.staticPlot,L=C._fullLayout;o("funnelarea",L),v(_,C),w(_,L._size),i.makeTraceGroups(L._funnelarealayer,_,"trace").each(function(b){var P=d.select(this),I=b[0],R=I.trace;(function(D){if(D.length){var F=D[0],B=F.trace,N=B.aspectratio,W=B.baseratio;W>.999&&(W=.999);var j,Y,U,G=Math.pow(W,2),q=F.vTotal,H=q,ne=q*G/(1-G)/q,te=[];for(te.push(Me()),Y=D.length-1;Y>-1;Y--)if(!(U=D[Y]).hidden){var Z=U.v/H;ne+=Z,te.push(Me())}var X=1/0,Q=-1/0;for(Y=0;Y-1;Y--)if(!(U=D[Y]).hidden){var Oe=te[xe+=1][0],_e=te[xe][1];U.TL=[-Oe,_e],U.TR=[Oe,_e],U.BL=me,U.BR=pe,U.pxmid=(ye=U.TR,de=U.BR,[.5*(ye[0]+de[0]),.5*(ye[1]+de[1])]),me=U.TL,pe=U.TR}}function Me(){var Se,Ce={x:Se=Math.sqrt(ne),y:-Se};return[Ce.x,Ce.y]}})(b),P.each(function(){var D=d.select(this).selectAll("g.slice").data(b);D.enter().append("g").classed("slice",!0),D.exit().remove(),D.each(function(B,N){if(B.hidden)d.select(this).selectAll("path,g").remove();else{B.pointNumber=B.i,B.curveNumber=R.index;var W=I.cx,j=I.cy,Y=d.select(this),U=Y.selectAll("path.surface").data([B]);U.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),Y.call(f,C,b);var G="M"+(W+B.TR[0])+","+(j+B.TR[1])+T(B.TR,B.BR)+T(B.BR,B.BL)+T(B.BL,B.TL)+"Z";U.attr("d",G),x(C,B,I);var q=s.castOption(R.textposition,B.pts),H=Y.selectAll("g.slicetext").data(B.text&&q!=="none"?[0]:[]);H.enter().append("g").classed("slicetext",!0),H.exit().remove(),H.each(function(){var ne=i.ensureSingle(d.select(this),"text","",function(ue){ue.attr("data-notex",1)}),te=i.ensureUniformFontSize(C,p(R,B,L.font));ne.text(B.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(y.font,te).call(h.convertToTspans,C);var Z,X,Q,re=y.bBox(ne.node()),ie=Math.min(B.BL[1],B.BR[1])+j,oe=Math.max(B.TL[1],B.TR[1])+j;X=Math.max(B.TL[0],B.BL[0])+W,Q=Math.min(B.TR[0],B.BR[0])+W,(Z=l(X,Q,ie,oe,re,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=te.size,u(R.type,Z,L),b[N].transform=Z,i.setTransormAndDisplay(ne,Z)})}});var F=d.select(this).selectAll("g.titletext").data(R.title.text?[0]:[]);F.enter().append("g").classed("titletext",!0),F.exit().remove(),F.each(function(){var B=i.ensureSingle(d.select(this),"text","",function(j){j.attr("data-notex",1)}),N=R.title.text;R._meta&&(N=i.templateString(N,R._meta)),B.text(N).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(y.font,R.title.font).call(h.convertToTspans,C);var W=S(I,L._size);B.attr("transform",g(W.x,W.y)+M(Math.min(1,W.scale))+g(W.tx,W.ty))})})})}},71858:function(k,m,t){var d=t(39898),y=t(63463),i=t(72597).resizeText;k.exports=function(M){var g=M._fullLayout._funnelarealayer.selectAll(".trace");i(M,g,"funnelarea"),g.each(function(h){var l=h[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(y,u,l)})})}},21606:function(k,m,t){var d=t(82196),y=t(9012),i=t(41940),M=t(12663).axisHoverFormat,g=t(5386).fF,h=t(5386).si,l=t(50693),a=t(1426).extendFlat;k.exports=a({z:{valType:"data_array",editType:"calc"},x:a({},d.x,{impliedEdits:{xtype:"array"}}),x0:a({},d.x0,{impliedEdits:{xtype:"scaled"}}),dx:a({},d.dx,{impliedEdits:{xtype:"scaled"}}),y:a({},d.y,{impliedEdits:{ytype:"array"}}),y0:a({},d.y0,{impliedEdits:{ytype:"scaled"}}),dy:a({},d.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:a({},d.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:a({},d.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:a({},d.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:a({},d.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:a({},d.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:a({},d.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:M("x"),yhoverformat:M("y"),zhoverformat:M("z",1),hovertemplate:g(),texttemplate:h({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:a({},y.showlegend,{dflt:!1})},{transforms:void 0},l("",{cLetter:"z",autoColorDflt:!1}))},90757:function(k,m,t){var d=t(73972),y=t(71828),i=t(89298),M=t(42973),g=t(17562),h=t(78803),l=t(68296),a=t(4742),u=t(824),o=t(43907),s=t(70769),c=t(50606).BADNUM;function f(p){for(var w=[],v=p.length,S=0;SG){Y("x scale is not linear");break}}if(C.length&&W==="fast"){var q=(C[C.length-1]-C[0])/(C.length-1),H=Math.abs(q/100);for(P=0;PH){Y("y scale is not linear");break}}}}var ne=y.maxRowLength(b),te=w.xtype==="scaled"?"":v,Z=s(w,te,S,x,ne,R),X=w.ytype==="scaled"?"":C,Q=s(w,X,_,A,b.length,D);N||(w._extremes[R._id]=i.findExtremes(R,Z),w._extremes[D._id]=i.findExtremes(D,Q));var re={x:Z,y:Q,z:b,text:w._text||w.text,hovertext:w._hovertext||w.hovertext};if(w.xperiodalignment&&T&&(re.orig_x=T),w.yperiodalignment&&L&&(re.orig_y=L),te&&te.length===Z.length-1&&(re.xCenter=te),X&&X.length===Q.length-1&&(re.yCenter=X),B&&(re.xRanges=I.xRanges,re.yRanges=I.yRanges,re.pts=I.pts),F||h(p,w,{vals:b,cLetter:"z"}),F&&w.contours&&w.contours.coloring==="heatmap"){var ie={type:w.type==="contour"?"heatmap":"histogram2d",xcalendar:w.xcalendar,ycalendar:w.ycalendar};re.xfill=s(ie,te,S,x,ne,R),re.yfill=s(ie,X,_,A,b.length,D)}return[re]}},4742:function(k,m,t){var d=t(92770),y=t(71828),i=t(50606).BADNUM;k.exports=function(M,g,h,l){var a,u,o,s,c,f;function p(C){if(d(C))return+C}if(g&&g.transpose){for(a=0,c=0;c=0;l--)(a=((c[[(M=(h=f[l])[0])-1,g=h[1]]]||v)[2]+(c[[M+1,g]]||v)[2]+(c[[M,g-1]]||v)[2]+(c[[M,g+1]]||v)[2])/20)&&(u[h]=[M,g,a],f.splice(l,1),o=!0);if(!o)throw"findEmpties iterated with no new neighbors";for(h in u)c[h]=u[h],s.push(u[h])}return s.sort(function(x,T){return T[2]-x[2]})}},46248:function(k,m,t){var d=t(30211),y=t(71828),i=t(89298),M=t(21081).extractOpts;k.exports=function(g,h,l,a,u){u||(u={});var o,s,c,f,p=u.isContour,w=g.cd[0],v=w.trace,S=g.xa,x=g.ya,T=w.x,C=w.y,_=w.z,A=w.xCenter,L=w.yCenter,b=w.zmask,P=v.zhoverformat,I=T,R=C;if(g.index!==!1){try{c=Math.round(g.index[1]),f=Math.round(g.index[0])}catch{return void y.error("Error hovering on heatmap, pointNumber must be [row,col], found:",g.index)}if(c<0||c>=_[0].length||f<0||f>_.length)return}else{if(d.inbox(h-T[0],h-T[T.length-1],0)>0||d.inbox(l-C[0],l-C[C.length-1],0)>0)return;if(p){var D;for(I=[2*T[0]-T[1]],D=1;DT&&(_=Math.max(_,Math.abs(g[u][o]-x)/(C-T))))}return _}k.exports=function(g,h){var l,a=1;for(M(g,h),l=0;l.01;l++)a=M(g,h,i(a));return a>.01&&d.log("interp2d didn't converge quickly",a),g}},58623:function(k,m,t){var d=t(71828);k.exports=function(y,i){y("texttemplate");var M=d.extendFlat({},i.font,{color:"auto",size:"auto"});d.coerceFont(y,"textfont",M)}},70769:function(k,m,t){var d=t(73972),y=t(71828).isArrayOrTypedArray;k.exports=function(i,M,g,h,l,a){var u,o,s,c=[],f=d.traceIs(i,"contour"),p=d.traceIs(i,"histogram"),w=d.traceIs(i,"gl2d");if(y(M)&&M.length>1&&!p&&a.type!=="category"){var v=M.length;if(!(v<=l))return f?M.slice(0,l):M.slice(0,l+1);if(f||w)c=M.slice(0,l);else if(l===1)c=[M[0]-.5,M[0]+.5];else{for(c=[1.5*M[0]-.5*M[1]],s=1;s0;)D=b.c2p(Z[W]),W--;for(D0;)N=P.c2p(X[W]),W--;if(NWt||Wt>P._length))for(j=wt;jQt||Qt>b._length)){var rn=a({x:Xt,y:$t},q,C._fullLayout);rn.x=Xt,rn.y=$t;var xn=G.z[W][j];xn===void 0?(rn.z="",rn.zLabel=""):(rn.z=xn,rn.zLabel=g.tickText(It,xn,"hover").text);var un=G.text&&G.text[W]&&G.text[W][j];un!==void 0&&un!==!1||(un=""),rn.text=un;var An=h.texttemplateString(dt,rn,C._fullLayout._d3locale,rn,q._meta||{});if(An){var $n=An.split("
"),kn=$n.length,sn=0;for(Y=0;Y0&&(T=!0);for(var A=0;Ah){var l=h-M[y];return M[y]=h,l}}return 0},max:function(y,i,M,g){var h=g[i];if(d(h)){if(h=Number(h),!d(M[y]))return M[y]=h,h;if(M[y]l?f>M?f>1.1*y?y:f>1.1*i?i:M:f>g?g:f>h?h:l:Math.pow(10,Math.floor(Math.log(f)/Math.LN10))}function s(f,p,w,v,S,x){if(v&&f>M){var T=c(p,S,x),C=c(w,S,x),_=f===y?0:1;return T[_]!==C[_]}return Math.floor(w/f)-Math.floor(p/f)>.1}function c(f,p,w){var v=p.c2d(f,y,w).split("-");return v[0]===""&&(v.unshift(),v[0]="-"+v[0]),v}k.exports=function(f,p,w,v,S){var x,T,C=-1.1*p,_=-.1*p,A=f-_,L=w[0],b=w[1],P=Math.min(u(L+_,L+A,v,S),u(b+_,b+A,v,S)),I=Math.min(u(L+C,L+_,v,S),u(b+C,b+_,v,S));if(P>I&&IM){var R=x===y?1:6,D=x===y?"M12":"M1";return function(F,B){var N=v.c2d(F,y,S),W=N.indexOf("-",R);W>0&&(N=N.substr(0,W));var j=v.d2c(N,0,S);if(jf.r2l(re)&&(oe=M.tickIncrement(oe,I.size,!0,T)),te.start=f.l2r(oe),Q||y.nestedProperty(c,L+".start").set(te.start)}var ue=I.end,ce=f.r2l(ne.end),ye=ce!==void 0;if((I.endFound||ye)&&ce!==f.r2l(ue)){var de=ye?ce:y.aggNums(Math.max,null,C);te.end=f.l2r(de),ye||y.nestedProperty(c,L+".start").set(te.end)}var me="autobin"+p;return c._input[me]===!1&&(c._input[L]=y.extendFlat({},c[L]||{}),delete c._input[me],delete c[me]),[te,C]}k.exports={calc:function(s,c){var f,p,w,v,S=[],x=[],T=c.orientation==="h",C=M.getFromId(s,T?c.yaxis:c.xaxis),_=T?"y":"x",A={x:"y",y:"x"}[_],L=c[_+"calendar"],b=c.cumulative,P=o(s,c,C,_),I=P[0],R=P[1],D=typeof I.size=="string",F=[],B=D?F:I,N=[],W=[],j=[],Y=0,U=c.histnorm,G=c.histfunc,q=U.indexOf("density")!==-1;b.enabled&&q&&(U=U.replace(/ ?density$/,""),q=!1);var H,ne=G==="max"||G==="min"?null:0,te=h.count,Z=l[U],X=!1,Q=function(Ce){return C.r2c(Ce,0,L)};for(y.isArrayOrTypedArray(c[A])&&G!=="count"&&(H=c[A],X=G==="avg",te=h[G]),f=Q(I.start),w=Q(I.end)+(f-M.tickIncrement(f,I.size,!1,L))/1e6;f=0&&v=0;be--)ze(be);else if(ae==="increasing"){for(be=1;be=0;be--)Ce[be]+=Ce[be+1];he==="exclude"&&(Ce.push(0),Ce.shift())}}(x,b.direction,b.currentbin);var xe=Math.min(S.length,x.length),Oe=[],_e=0,Me=xe-1;for(f=0;f=_e;f--)if(x[f]){Me=f;break}for(f=_e;f<=Me;f++)if(d(S[f])&&d(x[f])){var Se={p:S[f],s:x[f],b:0};b.enabled||(Se.pts=j[f],ce?Se.ph0=Se.ph1=j[f].length?R[j[f][0]]:S[f]:(c._computePh=!0,Se.ph0=oe(F[f]),Se.ph1=oe(F[f+1],!0))),Oe.push(Se)}return Oe.length===1&&(Oe[0].width1=M.tickIncrement(Oe[0].p,I.size,!1,L)-Oe[0].p),g(Oe,c),y.isArrayOrTypedArray(c.selectedpoints)&&y.tagSelected(Oe,c,me),Oe},calcAllAutoBins:o}},72406:function(k){k.exports={eventDataKeys:["binNumber"]}},82222:function(k,m,t){var d=t(71828),y=t(41675),i=t(73972).traceIs,M=t(26125),g=d.nestedProperty,h=t(99082).getAxisGroup,l=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],a=["x","y"];k.exports=function(u,o){var s,c,f,p,w,v,S,x=o._histogramBinOpts={},T=[],C={},_=[];function A(q,H){return d.coerce(s._input,s,s._module.attributes,q,H)}function L(q){return q.orientation==="v"?"x":"y"}function b(q,H,ne){var te=q.uid+"__"+ne;H||(H=te);var Z=function(ie,oe){return y.getFromTrace({_fullLayout:o},ie,oe).type}(q,ne),X=q[ne+"calendar"]||"",Q=x[H],re=!0;Q&&(Z===Q.axType&&X===Q.calendar?(re=!1,Q.traces.push(q),Q.dirs.push(ne)):(H=te,Z!==Q.axType&&d.warn(["Attempted to group the bins of trace",q.index,"set on a","type:"+Z,"axis","with bins on","type:"+Q.axType,"axis."].join(" ")),X!==Q.calendar&&d.warn(["Attempted to group the bins of trace",q.index,"set with a",X,"calendar","with bins",Q.calendar?"on a "+Q.calendar+" calendar":"w/o a set calendar"].join(" ")))),re&&(x[H]={traces:[q],dirs:[ne],axType:Z,calendar:q[ne+"calendar"]||""}),q["_"+ne+"bingroup"]=H}for(w=0;wF&&P.splice(F,P.length-F),D.length>F&&D.splice(F,D.length-F);var B=[],N=[],W=[],j=typeof b.size=="string",Y=typeof R.size=="string",U=[],G=[],q=j?U:b,H=Y?G:R,ne=0,te=[],Z=[],X=c.histnorm,Q=c.histfunc,re=X.indexOf("density")!==-1,ie=Q==="max"||Q==="min"?null:0,oe=i.count,ue=M[X],ce=!1,ye=[],de=[],me="z"in c?c.z:"marker"in c&&Array.isArray(c.marker.color)?c.marker.color:"";me&&Q!=="count"&&(ce=Q==="avg",oe=i[Q]);var pe=b.size,xe=_(b.start),Oe=_(b.end)+(xe-y.tickIncrement(xe,pe,!1,T))/1e6;for(f=xe;f=0&&w=0&&v-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),G=1/0,q=-1/0;U.forEach(function(X){var Q=X.depth;Q>=N._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(G=Math.min(G,Q),q=Math.max(q,Q))}),w=w.data(U,a.getPtId),N._maxVisibleLayers=isFinite(q)?q-G+1:0,w.enter().append("g").classed("slice",!0),P(w,s,{},[S,x],_),w.order();var H=null;if(b&&D){var ne=a.getPtId(D);w.each(function(X){H===null&&a.getPtId(X)===ne&&(H={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var te=function(){return H||{x0:0,x1:S,y0:0,y1:x}},Z=w;return b&&(Z=Z.transition().each("end",function(){var X=d.select(this);a.setSliceCursor(X,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),Z.each(function(X){X._x0=T(X.x0),X._x1=T(X.x1),X._y0=C(X.y0),X._y1=C(X.y1),X._hoverX=T(X.x1-N.tiling.pad),X._hoverY=C(Y?X.y1-N.tiling.pad/2:X.y0+N.tiling.pad/2);var Q=d.select(this),re=y.ensureSingle(Q,"path","surface",function(ce){ce.style("pointer-events",F?"none":"all")});b?re.transition().attrTween("d",function(ce){var ye=I(ce,s,te(),[S,x],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(de){return _(ye(de))}}):re.attr("d",_),Q.call(u,p,c,f,{styleOne:h,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,c,{isTransitioning:c._transitioning}),re.call(h,X,N,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=o(X,p,N,f,B)||"";var ie=y.ensureSingle(Q,"g","slicetext"),oe=y.ensureSingle(ie,"text","",function(ce){ce.attr("data-notex",1)}),ue=y.ensureUniformFontSize(c,a.determineTextFont(N,X,B.font));oe.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W?"start":"middle").call(i.font,ue).call(M.convertToTspans,c),X.textBB=i.bBox(oe.node()),X.transform=A(X,{fontSize:ue.size}),X.transform.fontSize=ue.size,b?oe.transition().attrTween("transform",function(ce){var ye=R(ce,s,te(),[S,x]);return function(de){return L(ye(de))}}):oe.attr("transform",L(X))}),H}},69816:function(k,m,t){k.exports={moduleType:"trace",name:"icicle",basePlotModule:t(96346),categories:[],animatable:!0,attributes:t(46291),layoutAttributes:t(92894),supplyDefaults:t(56524),supplyLayoutDefaults:t(21070),calc:t(46584).y,crossTraceCalc:t(46584).T,plot:t(85596),style:t(82454).style,colorbar:t(4898),meta:{}}},92894:function(k){k.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(k,m,t){var d=t(71828),y=t(92894);k.exports=function(i,M){function g(h,l){return d.coerce(i,M,y,h,l)}g("iciclecolorway",M.colorway),g("extendiciclecolors")}},21538:function(k,m,t){var d=t(674),y=t(14102);k.exports=function(i,M,g){var h=g.flipX,l=g.flipY,a=g.orientation==="h",u=g.maxDepth,o=M[0],s=M[1];u&&(o=(i.height+1)*M[0]/Math.min(i.height+1,u),s=(i.height+1)*M[1]/Math.min(i.height+1,u));var c=d.partition().padding(g.pad.inner).size(a?[M[1],o]:[M[0],s])(i);return(a||h||l)&&y(c,M,{swapXY:a,flipX:h,flipY:l}),c}},85596:function(k,m,t){var d=t(80694),y=t(90666);k.exports=function(i,M,g,h){return d(i,M,g,h,{type:"icicle",drawDescendants:y})}},82454:function(k,m,t){var d=t(39898),y=t(7901),i=t(71828),M=t(72597).resizeText;function g(h,l,a){var u=l.data.data,o=!l.children,s=u.i,c=i.castOption(a,s,"marker.line.color")||y.defaultLine,f=i.castOption(a,s,"marker.line.width")||0;h.style("stroke-width",f).call(y.fill,u.color).call(y.stroke,c).style("opacity",o?a.leaf.opacity:null)}k.exports={style:function(h){var l=h._fullLayout._iciclelayer.selectAll(".trace");M(h,l,"icicle"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(g,s,o)})})},styleOne:g}},17230:function(k,m,t){for(var d=t(9012),y=t(5386).fF,i=t(1426).extendFlat,M=t(51877).colormodel,g=["rgb","rgba","rgba256","hsl","hsla"],h=[],l=[],a=0;a0||d.inbox(h-l.y0,h-(l.y0+l.h*a.dy),0)>0)){var s,c=Math.floor((g-l.x0)/a.dx),f=Math.floor(Math.abs(h-l.y0)/a.dy);if(a._hasZ?s=l.z[f][c]:a._hasSource&&(s=a._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(c,f,1,1).data),s){var p,w=l.hi||a.hoverinfo;if(w){var v=w.split("+");v.indexOf("all")!==-1&&(v=["color"]),v.indexOf("color")!==-1&&(p=!0)}var S,x=i.colormodel[a.colormodel],T=x.colormodel||a.colormodel,C=T.length,_=a._scaler(s),A=x.suffix,L=[];(a.hovertemplate||p)&&(L.push("["+[_[0]+A[0],_[1]+A[1],_[2]+A[2]].join(", ")),C===4&&L.push(", "+_[3]+A[3]),L.push("]"),L=L.join(""),M.extraText=T.toUpperCase()+": "+L),Array.isArray(a.hovertext)&&Array.isArray(a.hovertext[f])?S=a.hovertext[f][c]:Array.isArray(a.text)&&Array.isArray(a.text[f])&&(S=a.text[f][c]);var b=o.c2p(l.y0+(f+.5)*a.dy),P=l.x0+(c+.5)*a.dx,I=l.y0+(f+.5)*a.dy,R="["+s.slice(0,a.colormodel.length).join(", ")+"]";return[y.extendFlat(M,{index:[f,c],x0:u.c2p(l.x0+c*a.dx),x1:u.c2p(l.x0+(c+1)*a.dx),y0:b,y1:b,color:_,xVal:P,xLabelVal:P,yVal:I,yLabelVal:I,zLabelVal:R,text:S,hovertemplateLabels:{zLabel:R,colorLabel:L,"color[0]Label":_[0]+A[0],"color[1]Label":_[1]+A[1],"color[2]Label":_[2]+A[2],"color[3]Label":_[3]+A[3]}})]}}}},94507:function(k,m,t){k.exports={attributes:t(17230),supplyDefaults:t(13245),calc:t(71113),plot:t(60775),style:t(12826),hoverPoints:t(28749),eventData:t(30835),moduleType:"trace",name:"image",basePlotModule:t(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(k,m,t){var d=t(39898),y=t(71828),i=y.strTranslate,M=t(77922),g=t(51877),h=y.isIOS()||y.isSafari()||y.isIE();k.exports=function(l,a,u,o){var s=a.xaxis,c=a.yaxis,f=!(h||l._context._exportedPlot);y.makeTraceGroups(o,u,"im").each(function(p){var w=d.select(this),v=p[0],S=v.trace,x=(S.zsmooth==="fast"||S.zsmooth===!1&&f)&&!S._hasZ&&S._hasSource&&s.type==="linear"&&c.type==="linear";S._realImage=x;var T,C,_,A,L,b,P=v.z,I=v.x0,R=v.y0,D=v.w,F=v.h,B=S.dx,N=S.dy;for(b=0;T===void 0&&b0;)C=s.c2p(I+b*B),b--;for(b=0;A===void 0&&b0;)L=c.c2p(R+b*N),b--;Cq[0];if(H||ne){var te=T+W/2,Z=A+j/2;U+="transform:"+i(te+"px",Z+"px")+"scale("+(H?-1:1)+","+(ne?-1:1)+")"+i(-te+"px",-Z+"px")+";"}}Y.attr("style",U);var X=new Promise(function(re){if(S._hasZ)re();else if(S._hasSource)if(S._canvas&&S._canvas.el.width===D&&S._canvas.el.height===F&&S._canvas.source===S.source)re();else{var ie=document.createElement("canvas");ie.width=D,ie.height=F;var oe=ie.getContext("2d",{willReadFrequently:!0});S._image=S._image||new Image;var ue=S._image;ue.onload=function(){oe.drawImage(ue,0,0),S._canvas={el:ie,source:S.source},re()},ue.setAttribute("src",S.source)}}).then(function(){var re,ie;if(S._hasZ)ie=Q(function(ue,ce){return P[ce][ue]}),re=ie.toDataURL("image/png");else if(S._hasSource)if(x)re=S.source;else{var oe=S._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,D,F).data;ie=Q(function(ue,ce){var ye=4*(ce*D+ue);return[oe[ye],oe[ye+1],oe[ye+2],oe[ye+3]]}),re=ie.toDataURL("image/png")}Y.attr({"xlink:href":re,height:j,width:W,x:T,y:A})});l._promises.push(X)}function Q(re){var ie=document.createElement("canvas");ie.width=W,ie.height=j;var oe,ue=ie.getContext("2d",{willReadFrequently:!0}),ce=function(Ce){return y.constrain(Math.round(s.c2p(I+Ce*B)-T),0,W)},ye=function(Ce){return y.constrain(Math.round(c.c2p(R+Ce*N)-A),0,j)},de=g.colormodel[S.colormodel],me=de.colormodel||S.colormodel,pe=de.fmt;for(b=0;b0}function _(I){I.each(function(R){v.stroke(d.select(this),R.line.color)}).each(function(R){v.fill(d.select(this),R.color)}).style("stroke-width",function(R){return R.line.width})}function A(I,R,D){var F=I._fullLayout,B=M.extendFlat({type:"linear",ticks:"outside",range:D,showline:!0},R),N={type:"linear",_id:"x"+R._id},W={letter:"x",font:F.font,noHover:!0,noTickson:!0};function j(Y,U){return M.coerce(B,N,w,Y,U)}return f(B,N,j,W,F),p(B,N,j,W),N}function L(I,R,D){return[Math.min(R/I.width,D/I.height),I,R+"x"+D]}function b(I,R,D,F){var B=document.createElementNS("http://www.w3.org/2000/svg","text"),N=d.select(B);return N.text(I).attr("x",0).attr("y",0).attr("text-anchor",D).attr("data-unformatted",I).call(s.convertToTspans,F).call(u.font,R),u.bBox(N.node())}function P(I,R,D,F,B,N){var W="_cache"+R;I[W]&&I[W].key===B||(I[W]={key:B,value:D});var j=M.aggNums(N,null,[I[W].value,F],2);return I[W].value=j,j}k.exports=function(I,R,D,F){var B,N=I._fullLayout;C(D)&&F&&(B=F()),M.makeTraceGroups(N._indicatorlayer,R,"trace").each(function(W){var j,Y,U,G,q,H=W[0].trace,ne=d.select(this),te=H._hasGauge,Z=H._isAngular,X=H._isBullet,Q=H.domain,re={w:N._size.w*(Q.x[1]-Q.x[0]),h:N._size.h*(Q.y[1]-Q.y[0]),l:N._size.l+N._size.w*Q.x[0],r:N._size.r+N._size.w*(1-Q.x[1]),t:N._size.t+N._size.h*(1-Q.y[1]),b:N._size.b+N._size.h*Q.y[0]},ie=re.l+re.w/2,oe=re.t+re.h/2,ue=Math.min(re.w/2,re.h),ce=o.innerRadius*ue,ye=H.align||"center";if(Y=oe,te){if(Z&&(j=ie,Y=oe+ue/2,U=function(Se){return function(Ce,ae){return[ae/Math.sqrt(Ce.width/2*(Ce.width/2)+Ce.height*Ce.height),Ce,ae]}(Se,.9*ce)}),X){var de=o.bulletPadding,me=1-o.bulletNumberDomainSize+de;j=re.l+(me+(1-me)*x[ye])*re.w,U=function(Se){return L(Se,(o.bulletNumberDomainSize-de)*re.w,re.h)}}}else j=re.l+x[ye]*re.w,U=function(Se){return L(Se,re.w,re.h)};(function(Se,Ce,ae,he){var be,ke,Le,Be=ae[0].trace,ze=he.numbersX,je=he.numbersY,ge=Be.align||"center",we=S[ge],Ee=he.transitionOpts,Ve=he.onComplete,Ye=M.ensureSingle(Ce,"g","numbers"),$e=[];Be._hasNumber&&$e.push("number"),Be._hasDelta&&($e.push("delta"),Be.delta.position==="left"&&$e.reverse());var st=Ye.selectAll("text").data($e);function ot(Bt,qt,Vt,Ke){if(!Bt.match("s")||Vt>=0==Ke>=0||qt(Vt).slice(-1).match(T)||qt(Ke).slice(-1).match(T))return qt;var Je=Bt.slice().replace("s","f").replace(/\d+/,function(nt){return parseInt(nt)-1}),qe=A(Se,{tickformat:Je});return function(nt){return Math.abs(nt)<1?c.tickText(qe,nt).text:qt(nt)}}st.enter().append("text"),st.attr("text-anchor",function(){return we}).attr("class",function(Bt){return Bt}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),st.exit().remove();var ft,bt=Be.mode+Be.align;if(Be._hasDelta&&(ft=function(){var Bt=A(Se,{tickformat:Be.delta.valueformat},Be._range);Bt.setScale(),c.prepTicks(Bt);var qt=function(Ne){return c.tickText(Bt,Ne).text},Vt=Be.delta.suffix,Ke=Be.delta.prefix,Je=function(Ne){return Be.delta.relative?Ne.relativeDelta:Ne.delta},qe=function(Ne,Qe){return Ne===0||typeof Ne!="number"||isNaN(Ne)?"-":(Ne>0?Be.delta.increasing.symbol:Be.delta.decreasing.symbol)+Ke+Qe(Ne)+Vt},nt=function(Ne){return Ne.delta>=0?Be.delta.increasing.color:Be.delta.decreasing.color};Be._deltaLastValue===void 0&&(Be._deltaLastValue=Je(ae[0]));var ht=Ye.select("text.delta");function Pe(){ht.text(qe(Je(ae[0]),qt)).call(v.fill,nt(ae[0])).call(s.convertToTspans,Se)}return ht.call(u.font,Be.delta.font).call(v.fill,nt({delta:Be._deltaLastValue})),C(Ee)?ht.transition().duration(Ee.duration).ease(Ee.easing).tween("text",function(){var Ne=d.select(this),Qe=Je(ae[0]),ut=Be._deltaLastValue,dt=ot(Be.delta.valueformat,qt,ut,Qe),_t=i(ut,Qe);return Be._deltaLastValue=Qe,function(It){Ne.text(qe(_t(It),dt)),Ne.call(v.fill,nt({delta:_t(It)}))}}).each("end",function(){Pe(),Ve&&Ve()}).each("interrupt",function(){Pe(),Ve&&Ve()}):Pe(),ke=b(qe(Je(ae[0]),qt),Be.delta.font,we,Se),ht}(),bt+=Be.delta.position+Be.delta.font.size+Be.delta.font.family+Be.delta.valueformat,bt+=Be.delta.increasing.symbol+Be.delta.decreasing.symbol,Le=ke),Be._hasNumber&&(function(){var Bt=A(Se,{tickformat:Be.number.valueformat},Be._range);Bt.setScale(),c.prepTicks(Bt);var qt=function(nt){return c.tickText(Bt,nt).text},Vt=Be.number.suffix,Ke=Be.number.prefix,Je=Ye.select("text.number");function qe(){var nt=typeof ae[0].y=="number"?Ke+qt(ae[0].y)+Vt:"-";Je.text(nt).call(u.font,Be.number.font).call(s.convertToTspans,Se)}C(Ee)?Je.transition().duration(Ee.duration).ease(Ee.easing).each("end",function(){qe(),Ve&&Ve()}).each("interrupt",function(){qe(),Ve&&Ve()}).attrTween("text",function(){var nt=d.select(this),ht=i(ae[0].lastY,ae[0].y);Be._lastValue=ae[0].y;var Pe=ot(Be.number.valueformat,qt,ae[0].lastY,ae[0].y);return function(Ne){nt.text(Ke+Pe(ht(Ne))+Vt)}}):qe(),be=b(Ke+qt(ae[0].y)+Vt,Be.number.font,we,Se)}(),bt+=Be.number.font.size+Be.number.font.family+Be.number.valueformat+Be.number.suffix+Be.number.prefix,Le=be),Be._hasDelta&&Be._hasNumber){var Et,kt,xt=[(be.left+be.right)/2,(be.top+be.bottom)/2],Ft=[(ke.left+ke.right)/2,(ke.top+ke.bottom)/2],Rt=.75*Be.delta.font.size;Be.delta.position==="left"&&(Et=P(Be,"deltaPos",0,-1*(be.width*x[Be.align]+ke.width*(1-x[Be.align])+Rt),bt,Math.min),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Rt,height:Math.max(be.height,ke.height),left:ke.left+Et,right:be.right,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="right"&&(Et=P(Be,"deltaPos",0,be.width*(1-x[Be.align])+ke.width*x[Be.align]+Rt,bt,Math.max),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Rt,height:Math.max(be.height,ke.height),left:be.left,right:ke.right+Et,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="bottom"&&(Et=null,kt=ke.height,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height,bottom:be.bottom+ke.height}),Be.delta.position==="top"&&(Et=null,kt=be.top,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height-ke.height,bottom:be.bottom}),ft.attr({dx:Et,dy:kt})}(Be._hasNumber||Be._hasDelta)&&Ye.attr("transform",function(){var Bt=he.numbersScaler(Le);bt+=Bt[2];var qt,Vt=P(Be,"numbersScale",1,Bt[0],bt,Math.min);Be._scaleNumbers||(Vt=1),qt=Be._isAngular?je-Vt*Le.bottom:je-Vt*(Le.top+Le.bottom)/2,Be._numbersTop=Vt*Le.top+qt;var Ke=Le[ge];ge==="center"&&(Ke=(Le.left+Le.right)/2);var Je=ze-Vt*Ke;return Je=P(Be,"numbersTranslate",0,Je,bt,Math.max),h(Je,qt)+g(Vt)})})(I,ne,W,{numbersX:j,numbersY:Y,numbersScaler:U,transitionOpts:D,onComplete:B}),te&&(G={range:H.gauge.axis.range,color:H.gauge.bgcolor,line:{color:H.gauge.bordercolor,width:0},thickness:1},q={range:H.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:H.gauge.bordercolor,width:H.gauge.borderwidth},thickness:1});var pe=ne.selectAll("g.angular").data(Z?W:[]);pe.exit().remove();var xe=ne.selectAll("g.angularaxis").data(Z?W:[]);xe.exit().remove(),Z&&function(Se,Ce,ae,he){var be,ke,Le,Be,ze=ae[0].trace,je=he.size,ge=he.radius,we=he.innerRadius,Ee=he.gaugeBg,Ve=he.gaugeOutline,Ye=[je.l+je.w/2,je.t+je.h/2+ge/2],$e=he.gauge,st=he.layer,ot=he.transitionOpts,ft=he.onComplete,bt=Math.PI/2;function Et(It){var Lt=ze.gauge.axis.range[0],yt=(It-Lt)/(ze.gauge.axis.range[1]-Lt)*Math.PI-bt;return yt<-bt?-bt:yt>bt?bt:yt}function kt(It){return d.svg.arc().innerRadius((we+ge)/2-It/2*(ge-we)).outerRadius((we+ge)/2+It/2*(ge-we)).startAngle(-bt)}function xt(It){It.attr("d",function(Lt){return kt(Lt.thickness).startAngle(Et(Lt.range[0])).endAngle(Et(Lt.range[1]))()})}$e.enter().append("g").classed("angular",!0),$e.attr("transform",h(Ye[0],Ye[1])),st.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),st.selectAll("g.xangularaxistick,path,text").remove(),(be=A(Se,ze.gauge.axis)).type="linear",be.range=ze.gauge.axis.range,be._id="xangularaxis",be.ticklabeloverflow="allow",be.setScale();var Ft=function(It){return(be.range[0]-It.x)/(be.range[1]-be.range[0])*Math.PI+Math.PI},Rt={},Bt=c.makeLabelFns(be,0).labelStandoff;Rt.xFn=function(It){var Lt=Ft(It);return Math.cos(Lt)*Bt},Rt.yFn=function(It){var Lt=Ft(It),yt=Math.sin(Lt)>0?.2:1;return-Math.sin(Lt)*(Bt+It.fontSize*yt)+Math.abs(Math.cos(Lt))*(It.fontSize*a)},Rt.anchorFn=function(It){var Lt=Ft(It),yt=Math.cos(Lt);return Math.abs(yt)<.1?"middle":yt>0?"start":"end"},Rt.heightFn=function(It,Lt,yt){var Ot=Ft(It);return-.5*(1+Math.sin(Ot))*yt};var qt=function(It){return h(Ye[0]+ge*Math.cos(It),Ye[1]-ge*Math.sin(It))};if(Le=function(It){return qt(Ft(It))},ke=c.calcTicks(be),Be=c.getTickSigns(be)[2],be.visible){Be=be.ticks==="inside"?-1:1;var Vt=(be.linewidth||1)/2;c.drawTicks(Se,be,{vals:ke,layer:st,path:"M"+Be*Vt+",0h"+Be*be.ticklen,transFn:function(It){var Lt=Ft(It);return qt(Lt)+"rotate("+-l(Lt)+")"}}),c.drawLabels(Se,be,{vals:ke,layer:st,transFn:Le,labelFns:Rt})}var Ke=[Ee].concat(ze.gauge.steps),Je=$e.selectAll("g.bg-arc").data(Ke);Je.enter().append("g").classed("bg-arc",!0).append("path"),Je.select("path").call(xt).call(_),Je.exit().remove();var qe=kt(ze.gauge.bar.thickness),nt=$e.selectAll("g.value-arc").data([ze.gauge.bar]);nt.enter().append("g").classed("value-arc",!0).append("path");var ht,Pe,Ne,Qe=nt.select("path");C(ot)?(Qe.transition().duration(ot.duration).ease(ot.easing).each("end",function(){ft&&ft()}).each("interrupt",function(){ft&&ft()}).attrTween("d",(ht=qe,Pe=Et(ae[0].lastY),Ne=Et(ae[0].y),function(){var It=y(Pe,Ne);return function(Lt){return ht.endAngle(It(Lt))()}})),ze._lastValue=ae[0].y):Qe.attr("d",typeof ae[0].y=="number"?qe.endAngle(Et(ae[0].y)):"M0,0Z"),Qe.call(_),nt.exit().remove(),Ke=[];var ut=ze.gauge.threshold.value;(ut||ut===0)&&Ke.push({range:[ut,ut],color:ze.gauge.threshold.color,line:{color:ze.gauge.threshold.line.color,width:ze.gauge.threshold.line.width},thickness:ze.gauge.threshold.thickness});var dt=$e.selectAll("g.threshold-arc").data(Ke);dt.enter().append("g").classed("threshold-arc",!0).append("path"),dt.select("path").call(xt).call(_),dt.exit().remove();var _t=$e.selectAll("g.gauge-outline").data([Ve]);_t.enter().append("g").classed("gauge-outline",!0).append("path"),_t.select("path").call(xt).call(_),_t.exit().remove()}(I,0,W,{radius:ue,innerRadius:ce,gauge:pe,layer:xe,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:D,onComplete:B});var Oe=ne.selectAll("g.bullet").data(X?W:[]);Oe.exit().remove();var _e=ne.selectAll("g.bulletaxis").data(X?W:[]);_e.exit().remove(),X&&function(Se,Ce,ae,he){var be,ke,Le,Be,ze,je=ae[0].trace,ge=he.gauge,we=he.layer,Ee=he.gaugeBg,Ve=he.gaugeOutline,Ye=he.size,$e=je.domain,st=he.transitionOpts,ot=he.onComplete;ge.enter().append("g").classed("bullet",!0),ge.attr("transform",h(Ye.l,Ye.t)),we.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),we.selectAll("g.xbulletaxistick,path,text").remove();var ft=Ye.h,bt=je.gauge.bar.thickness*ft,Et=$e.x[0],kt=$e.x[0]+($e.x[1]-$e.x[0])*(je._hasNumber||je._hasDelta?1-o.bulletNumberDomainSize:1);function xt(Je){Je.attr("width",function(qe){return Math.max(0,be.c2p(qe.range[1])-be.c2p(qe.range[0]))}).attr("x",function(qe){return be.c2p(qe.range[0])}).attr("y",function(qe){return .5*(1-qe.thickness)*ft}).attr("height",function(qe){return qe.thickness*ft})}(be=A(Se,je.gauge.axis))._id="xbulletaxis",be.domain=[Et,kt],be.setScale(),ke=c.calcTicks(be),Le=c.makeTransTickFn(be),Be=c.getTickSigns(be)[2],ze=Ye.t+Ye.h,be.visible&&(c.drawTicks(Se,be,{vals:be.ticks==="inside"?c.clipEnds(be,ke):ke,layer:we,path:c.makeTickPath(be,ze,Be),transFn:Le}),c.drawLabels(Se,be,{vals:ke,layer:we,transFn:Le,labelFns:c.makeLabelFns(be,ze)}));var Ft=[Ee].concat(je.gauge.steps),Rt=ge.selectAll("g.bg-bullet").data(Ft);Rt.enter().append("g").classed("bg-bullet",!0).append("rect"),Rt.select("rect").call(xt).call(_),Rt.exit().remove();var Bt=ge.selectAll("g.value-bullet").data([je.gauge.bar]);Bt.enter().append("g").classed("value-bullet",!0).append("rect"),Bt.select("rect").attr("height",bt).attr("y",(ft-bt)/2).call(_),C(st)?Bt.select("rect").transition().duration(st.duration).ease(st.easing).each("end",function(){ot&&ot()}).each("interrupt",function(){ot&&ot()}).attr("width",Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y)))):Bt.select("rect").attr("width",typeof ae[0].y=="number"?Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y))):0),Bt.exit().remove();var qt=ae.filter(function(){return je.gauge.threshold.value||je.gauge.threshold.value===0}),Vt=ge.selectAll("g.threshold-bullet").data(qt);Vt.enter().append("g").classed("threshold-bullet",!0).append("line"),Vt.select("line").attr("x1",be.c2p(je.gauge.threshold.value)).attr("x2",be.c2p(je.gauge.threshold.value)).attr("y1",(1-je.gauge.threshold.thickness)/2*ft).attr("y2",(1-(1-je.gauge.threshold.thickness)/2)*ft).call(v.stroke,je.gauge.threshold.line.color).style("stroke-width",je.gauge.threshold.line.width),Vt.exit().remove();var Ke=ge.selectAll("g.gauge-outline").data([Ve]);Ke.enter().append("g").classed("gauge-outline",!0).append("rect"),Ke.select("rect").call(xt).call(_),Ke.exit().remove()}(I,0,W,{gauge:Oe,layer:_e,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:D,onComplete:B});var Me=ne.selectAll("text.title").data(W);Me.exit().remove(),Me.enter().append("text").classed("title",!0),Me.attr("text-anchor",function(){return X?S.right:S[H.title.align]}).text(H.title.text).call(u.font,H.title.font).call(s.convertToTspans,I),Me.attr("transform",function(){var Se,Ce=re.l+re.w*x[H.title.align],ae=o.titlePadding,he=u.bBox(Me.node());return te?(Z&&(Se=H.gauge.axis.visible?u.bBox(xe.node()).top-ae-he.bottom:re.t+re.h/2-ue/2-he.bottom-ae),X&&(Se=Y-(he.top+he.bottom)/2,Ce=re.l-o.bulletPadding*re.w)):Se=H._numbersTop-ae-he.bottom,h(Ce,Se)})})}},16249:function(k,m,t){var d=t(50693),y=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),g=t(9012),h=t(1426).extendFlat,l=t(30962).overrideAll,a=k.exports=l(h({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:i(),xhoverformat:y("x"),yhoverformat:y("y"),zhoverformat:y("z"),valuehoverformat:y("value",1),showlegend:h({},g.showlegend,{dflt:!1})},d("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,lightposition:M.lightposition,lighting:M.lighting,flatshading:M.flatshading,contour:M.contour,hoverinfo:h({},g.hoverinfo)}),"calc","nested");a.flatshading.dflt=!0,a.lighting.facenormalsepsilon.dflt=0,a.x.editType=a.y.editType=a.z.editType=a.value.editType="calc+clearAxisTypes",a.transforms=void 0},56959:function(k,m,t){var d=t(78803),y=t(88489).processGrid,i=t(88489).filter;k.exports=function(M,g){g._len=Math.min(g.x.length,g.y.length,g.z.length,g.value.length),g._x=i(g.x,g._len),g._y=i(g.y,g._len),g._z=i(g.z,g._len),g._value=i(g.value,g._len);var h=y(g);g._gridFill=h.fill,g._Xs=h.Xs,g._Ys=h.Ys,g._Zs=h.Zs,g._len=h.len;for(var l=1/0,a=-1/0,u=0;u0;f--){var p=Math.min(c[f],c[f-1]),w=Math.max(c[f],c[f-1]);if(w>p&&p-1}function ie(je,ge){return je===null?ge:je}function oe(je,ge,we){ne();var Ee,Ve,Ye,$e=[ge],st=[we];if(x>=1)$e=[ge],st=[we];else if(x>0){var ot=function(qt,Vt){var Ke=qt[0],Je=qt[1],qe=qt[2],nt=function(It,Lt,yt){for(var Ot=[],wt=0;wt-1?we[Et]:H(kt,xt,Ft);bt[Et]=Bt>-1?Bt:Z(kt,xt,Ft,ie(je,Rt))}Ee=bt[0],Ve=bt[1],Ye=bt[2],s._meshI.push(Ee),s._meshJ.push(Ve),s._meshK.push(Ye),++P}}function ue(je,ge,we,Ee){var Ve=je[3];VeEe&&(Ve=Ee);for(var Ye=(je[3]-Ve)/(je[3]-ge[3]+1e-9),$e=[],st=0;st<4;st++)$e[st]=(1-Ye)*je[st]+Ye*ge[st];return $e}function ce(je,ge,we){return je>=ge&&je<=we}function ye(je){var ge=.001*(q-G);return je>=G-ge&&je<=q+ge}function de(je){for(var ge=[],we=0;we<4;we++){var Ee=je[we];ge.push([s._x[Ee],s._y[Ee],s._z[Ee],s._value[Ee]])}return ge}function me(je,ge,we,Ee,Ve,Ye){Ye||(Ye=1),we=[-1,-1,-1];var $e=!1,st=[ce(ge[0][3],Ee,Ve),ce(ge[1][3],Ee,Ve),ce(ge[2][3],Ee,Ve)];if(!st[0]&&!st[1]&&!st[2])return!1;var ot=function(bt,Et,kt){return ye(Et[0][3])&&ye(Et[1][3])&&ye(Et[2][3])?(oe(bt,Et,kt),!0):Ye<3&&me(bt,Et,kt,G,q,++Ye)};if(st[0]&&st[1]&&st[2])return ot(je,ge,we)||$e;var ft=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(bt){if(st[bt[0]]&&st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(xt,Et,Ee,Ve),Rt=ue(xt,kt,Ee,Ve);$e=ot(je,[Rt,Ft,Et],[-1,-1,we[bt[0]]])||$e,$e=ot(je,[Et,kt,Rt],[we[bt[0]],we[bt[1]],-1])||$e,ft=!0}}),ft||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(bt){if(st[bt[0]]&&!st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(kt,Et,Ee,Ve),Rt=ue(xt,Et,Ee,Ve);$e=ot(je,[Rt,Ft,Et],[-1,-1,we[bt[0]]])||$e,ft=!0}}),$e}function pe(je,ge,we,Ee){var Ve=!1,Ye=de(ge),$e=[ce(Ye[0][3],we,Ee),ce(Ye[1][3],we,Ee),ce(Ye[2][3],we,Ee),ce(Ye[3][3],we,Ee)];if(!($e[0]||$e[1]||$e[2]||$e[3]))return Ve;if($e[0]&&$e[1]&&$e[2]&&$e[3])return b&&(Ve=function(ot,ft,bt){var Et=function(kt,xt,Ft){oe(ot,[ft[kt],ft[xt],ft[Ft]],[bt[kt],bt[xt],bt[Ft]])};Et(0,1,2),Et(3,0,1),Et(2,3,0),Et(1,2,3)}(je,Ye,ge)||Ve),Ve;var st=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(ot){if($e[ot[0]]&&$e[ot[1]]&&$e[ot[2]]&&!$e[ot[3]]){var ft=Ye[ot[0]],bt=Ye[ot[1]],Et=Ye[ot[2]],kt=Ye[ot[3]];if(b)Ve=oe(je,[ft,bt,Et],[ge[ot[0]],ge[ot[1]],ge[ot[2]]])||Ve;else{var xt=ue(kt,ft,we,Ee),Ft=ue(kt,bt,we,Ee),Rt=ue(kt,Et,we,Ee);Ve=oe(null,[xt,Ft,Rt],[-1,-1,-1])||Ve}st=!0}}),st||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(ot){if($e[ot[0]]&&$e[ot[1]]&&!$e[ot[2]]&&!$e[ot[3]]){var ft=Ye[ot[0]],bt=Ye[ot[1]],Et=Ye[ot[2]],kt=Ye[ot[3]],xt=ue(Et,ft,we,Ee),Ft=ue(Et,bt,we,Ee),Rt=ue(kt,bt,we,Ee),Bt=ue(kt,ft,we,Ee);b?(Ve=oe(je,[ft,Bt,xt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[bt,Ft,Rt],[ge[ot[1]],-1,-1])||Ve):Ve=function(qt,Vt,Ke){var Je=function(qe,nt,ht){oe(null,[Vt[qe],Vt[nt],Vt[ht]],[Ke[qe],Ke[nt],Ke[ht]])};Je(0,1,2),Je(2,3,0)}(0,[xt,Ft,Rt,Bt],[-1,-1,-1,-1])||Ve,st=!0}}),st||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(ot){if($e[ot[0]]&&!$e[ot[1]]&&!$e[ot[2]]&&!$e[ot[3]]){var ft=Ye[ot[0]],bt=Ye[ot[1]],Et=Ye[ot[2]],kt=Ye[ot[3]],xt=ue(bt,ft,we,Ee),Ft=ue(Et,ft,we,Ee),Rt=ue(kt,ft,we,Ee);b?(Ve=oe(je,[ft,xt,Ft],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ft,Ft,Rt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ft,Rt,xt],[ge[ot[0]],-1,-1])||Ve):Ve=oe(null,[xt,Ft,Rt],[-1,-1,-1])||Ve,st=!0}})),Ve}function xe(je,ge,we,Ee,Ve,Ye,$e,st,ot,ft,bt){var Et=!1;return L&&(re(je,"A")&&(Et=pe(null,[ge,we,Ee,Ye],ft,bt)||Et),re(je,"B")&&(Et=pe(null,[we,Ee,Ve,ot],ft,bt)||Et),re(je,"C")&&(Et=pe(null,[we,Ye,$e,ot],ft,bt)||Et),re(je,"D")&&(Et=pe(null,[Ee,Ye,st,ot],ft,bt)||Et),re(je,"E")&&(Et=pe(null,[we,Ee,Ye,ot],ft,bt)||Et)),b&&(Et=pe(je,[we,Ee,Ye,ot],ft,bt)||Et),Et}function Oe(je,ge,we,Ee,Ve,Ye,$e,st){return[st[0]===!0||me(je,de([ge,we,Ee]),[ge,we,Ee],Ye,$e),st[1]===!0||me(je,de([Ee,Ve,ge]),[Ee,Ve,ge],Ye,$e)]}function _e(je,ge,we,Ee,Ve,Ye,$e,st,ot){return st?Oe(je,ge,we,Ve,Ee,Ye,$e,ot):Oe(je,we,Ve,Ee,ge,Ye,$e,ot)}function Me(je,ge,we,Ee,Ve,Ye,$e){var st,ot,ft,bt,Et=!1,kt=function(){Et=me(je,[st,ot,ft],[-1,-1,-1],Ve,Ye)||Et,Et=me(je,[ft,bt,st],[-1,-1,-1],Ve,Ye)||Et},xt=$e[0],Ft=$e[1],Rt=$e[2];return xt&&(st=X(de([j(ge,we-0,Ee-0)])[0],de([j(ge-1,we-0,Ee-0)])[0],xt),ot=X(de([j(ge,we-0,Ee-1)])[0],de([j(ge-1,we-0,Ee-1)])[0],xt),ft=X(de([j(ge,we-1,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],xt),bt=X(de([j(ge,we-1,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],xt),kt()),Ft&&(st=X(de([j(ge-0,we,Ee-0)])[0],de([j(ge-0,we-1,Ee-0)])[0],Ft),ot=X(de([j(ge-0,we,Ee-1)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ft),ft=X(de([j(ge-1,we,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ft),bt=X(de([j(ge-1,we,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],Ft),kt()),Rt&&(st=X(de([j(ge-0,we-0,Ee)])[0],de([j(ge-0,we-0,Ee-1)])[0],Rt),ot=X(de([j(ge-0,we-1,Ee)])[0],de([j(ge-0,we-1,Ee-1)])[0],Rt),ft=X(de([j(ge-1,we-1,Ee)])[0],de([j(ge-1,we-1,Ee-1)])[0],Rt),bt=X(de([j(ge-1,we-0,Ee)])[0],de([j(ge-1,we-0,Ee-1)])[0],Rt),kt()),Et}function Se(je,ge,we,Ee,Ve,Ye,$e,st,ot,ft,bt,Et){var kt=je;return Et?(L&&je==="even"&&(kt=null),xe(kt,ge,we,Ee,Ve,Ye,$e,st,ot,ft,bt)):(L&&je==="odd"&&(kt=null),xe(kt,ot,st,$e,Ye,Ve,Ee,we,ge,ft,bt))}function Ce(je,ge,we,Ee,Ve){for(var Ye=[],$e=0,st=0;stMath.abs(Ye-U)?[Y,Ye]:[Ye,U];L=!0,be(ge,$e[0],$e[1]),L=!1}}var st=[[Math.min(G,U),Math.max(G,U)],[Math.min(Y,q),Math.max(Y,q)]];["x","y","z"].forEach(function(ot){for(var ft=[],bt=0;bt0&&(Bt.push(Ke.id),ot==="x"?qt.push([Ke.distRatio,0,0]):ot==="y"?qt.push([0,Ke.distRatio,0]):qt.push([0,0,Ke.distRatio]))}else Rt=ze(1,ot==="x"?F-1:ot==="y"?B-1:N-1);Bt.length>0&&(ft[Et]=ot==="x"?ke(je,Bt,kt,xt,qt,ft[Et]):ot==="y"?Le(je,Bt,kt,xt,qt,ft[Et]):Be(je,Bt,kt,xt,qt,ft[Et]),Et++),Rt.length>0&&(ft[Et]=ot==="x"?Ce(je,Rt,kt,xt,ft[Et]):ot==="y"?ae(je,Rt,kt,xt,ft[Et]):he(je,Rt,kt,xt,ft[Et]),Et++)}var Je=s.caps[ot];Je.show&&Je.fill&&(Q(Je.fill),ft[Et]=ot==="x"?Ce(je,[0,F-1],kt,xt,ft[Et]):ot==="y"?ae(je,[0,B-1],kt,xt,ft[Et]):he(je,[0,N-1],kt,xt,ft[Et]),Et++)}}),P===0&&te(),s._meshX=p,s._meshY=w,s._meshZ=v,s._meshIntensity=S,s._Xs=I,s._Ys=R,s._Zs=D}(),s}k.exports={findNearestOnAxis:h,generateIsoMeshes:o,createIsosurfaceTrace:function(s,c){var f=s.glplot.gl,p=d({gl:f}),w=new l(s,p,c.uid);return p._trace=w,w.update(c),s.glplot.add(p),w}}},82738:function(k,m,t){var d=t(71828),y=t(73972),i=t(16249),M=t(1586);function g(h,l,a,u,o){var s=o("isomin"),c=o("isomax");c!=null&&s!=null&&s>c&&(l.isomin=null,l.isomax=null);var f=o("x"),p=o("y"),w=o("z"),v=o("value");f&&f.length&&p&&p.length&&w&&w.length&&v&&v.length?(y.getComponentMethod("calendars","handleTraceDefaults")(h,l,["x","y","z"],u),o("valuehoverformat"),["x","y","z"].forEach(function(S){o(S+"hoverformat");var x="caps."+S;o(x+".show")&&o(x+".fill");var T="slices."+S;o(T+".show")&&(o(T+".fill"),o(T+".locations"))}),o("spaceframe.show")&&o("spaceframe.fill"),o("surface.show")&&(o("surface.count"),o("surface.fill"),o("surface.pattern")),o("contour.show")&&(o("contour.color"),o("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(S){o(S)}),M(h,l,u,o,{prefix:"",cLetter:"c"}),l._length=null):l.visible=!1}k.exports={supplyDefaults:function(h,l,a,u){g(h,l,0,u,function(o,s){return d.coerce(h,l,i,o,s)})},supplyIsoDefaults:g}},64943:function(k,m,t){k.exports={attributes:t(16249),supplyDefaults:t(82738).supplyDefaults,calc:t(56959),colorbar:{min:"cmin",max:"cmax"},plot:t(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(k,m,t){var d=t(50693),y=t(12663).axisHoverFormat,i=t(5386).fF,M=t(54532),g=t(9012),h=t(1426).extendFlat;k.exports=h({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"}),xhoverformat:y("x"),yhoverformat:y("y"),zhoverformat:y("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},d("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:h({},M.contours.x.show,{}),color:M.contours.x.color,width:M.contours.x.width,editType:"calc"},lightposition:{x:h({},M.lightposition.x,{dflt:1e5}),y:h({},M.lightposition.y,{dflt:1e5}),z:h({},M.lightposition.z,{dflt:0}),editType:"calc"},lighting:h({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},M.lighting),hoverinfo:h({},g.hoverinfo,{editType:"calc"}),showlegend:h({},g.showlegend,{dflt:!1})})},82932:function(k,m,t){var d=t(78803);k.exports=function(y,i){i.intensity&&d(y,i,{vals:i.intensity,containerStr:"",cLetter:"c"})}},91134:function(k,m,t){var d=t(9330).gl_mesh3d,y=t(9330).delaunay_triangulate,i=t(9330).alpha_shape,M=t(9330).convex_hull,g=t(81697).parseColorScale,h=t(78614),l=t(21081).extractOpts,a=t(90060);function u(w,v,S){this.scene=w,this.uid=S,this.mesh=v,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var o=u.prototype;function s(w){for(var v=[],S=w.length,x=0;x=v-.5)return!1;return!0}o.handlePick=function(w){if(w.object===this.mesh){var v=w.index=w.data.index;w.data._cellCenter?w.traceCoordinate=w.data.dataCoordinate:w.traceCoordinate=[this.data.x[v],this.data.y[v],this.data.z[v]];var S=this.data.hovertext||this.data.text;return Array.isArray(S)&&S[v]!==void 0?w.textLabel=S[v]:S&&(w.textLabel=S),!0}},o.update=function(w){var v=this.scene,S=v.fullSceneLayout;this.data=w;var x,T=w.x.length,C=a(c(S.xaxis,w.x,v.dataScale[0],w.xcalendar),c(S.yaxis,w.y,v.dataScale[1],w.ycalendar),c(S.zaxis,w.z,v.dataScale[2],w.zcalendar));if(w.i&&w.j&&w.k){if(w.i.length!==w.j.length||w.j.length!==w.k.length||!p(w.i,T)||!p(w.j,T)||!p(w.k,T))return;x=a(f(w.i),f(w.j),f(w.k))}else x=w.alphahull===0?M(C):w.alphahull>0?i(w.alphahull,C):function(b,P){for(var I=["x","y","z"].indexOf(b),R=[],D=P.length,F=0;F_):C=F>I,_=F;var B=f(I,R,D,F);B.pos=P,B.yc=(I+F)/2,B.i=b,B.dir=C?"increasing":"decreasing",B.x=B.pos,B.y=[D,R],A&&(B.orig_p=o[b]),x&&(B.tx=u.text[b]),T&&(B.htx=u.hovertext[b]),L.push(B)}else L.push({pos:P,empty:!0})}return u._extremes[c._id]=i.findExtremes(c,d.concat(v,w),{padded:!0}),L.length&&(L[0].t={labels:{open:y(a,"open:")+" ",high:y(a,"high:")+" ",low:y(a,"low:")+" ",close:y(a,"close:")+" "}}),L}k.exports={calc:function(a,u){var o=i.getFromId(a,u.xaxis),s=i.getFromId(a,u.yaxis),c=function(S,x,T){var C=T._minDiff;if(!C){var _,A=S._fullData,L=[];for(C=1/0,_=0;_"+x.labels[R]+d.hoverLabelText(v,D,S.yhoverformat):((I=y.extendFlat({},C)).y0=I.y1=F,I.yLabelVal=D,I.yLabel=x.labels[R]+d.hoverLabelText(v,D,S.yhoverformat),I.name="",T.push(I),b[D]=I)}return T}function o(s,c,f,p){var w=s.cd,v=s.ya,S=w[0].trace,x=w[0].t,T=a(s,c,f,p);if(!T)return[];var C=w[T.index],_=T.index=C.i,A=C.dir;function L(B){return x.labels[B]+d.hoverLabelText(v,S[B][_],S.yhoverformat)}var b=C.hi||S.hoverinfo,P=b.split("+"),I=b==="all",R=I||P.indexOf("y")!==-1,D=I||P.indexOf("text")!==-1,F=R?[L("open"),L("high"),L("low"),L("close")+" "+l[A]]:[];return D&&g(C,S,F),T.extraText=F.join("
"),T.y0=T.y1=v.c2p(C.yc,!0),[T]}k.exports={hoverPoints:function(s,c,f,p){return s.cd[0].trace.hoverlabel.split?u(s,c,f,p):o(s,c,f,p)},hoverSplit:u,hoverOnPoints:o}},54186:function(k,m,t){k.exports={moduleType:"trace",name:"ohlc",basePlotModule:t(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:t(2522),supplyDefaults:t(16169),calc:t(3485).calc,plot:t(72314),style:t(53101),hoverPoints:t(66449).hoverPoints,selectPoints:t(67324)}},14555:function(k,m,t){var d=t(73972),y=t(71828);k.exports=function(i,M,g,h){var l=g("x"),a=g("open"),u=g("high"),o=g("low"),s=g("close");if(g("hoverlabel.split"),d.getComponentMethod("calendars","handleTraceDefaults")(i,M,["x"],h),a&&u&&o&&s){var c=Math.min(a.length,u.length,o.length,s.length);return l&&(c=Math.min(c,y.minRowLength(l))),M._length=c,c}}},72314:function(k,m,t){var d=t(39898),y=t(71828);k.exports=function(i,M,g,h){var l=M.yaxis,a=M.xaxis,u=!!a.rangebreaks;y.makeTraceGroups(h,g,"trace ohlc").each(function(o){var s=d.select(this),c=o[0],f=c.t;if(c.trace.visible!==!0||f.empty)s.remove();else{var p=f.tickLen,w=s.selectAll("path").data(y.identity);w.enter().append("path"),w.exit().remove(),w.attr("d",function(v){if(v.empty)return"M0,0Z";var S=a.c2p(v.pos-p,!0),x=a.c2p(v.pos+p,!0),T=u?(S+x)/2:a.c2p(v.pos,!0);return"M"+S+","+l.c2p(v.o,!0)+"H"+T+"M"+T+","+l.c2p(v.h,!0)+"V"+l.c2p(v.l,!0)+"M"+x+","+l.c2p(v.c,!0)+"H"+T})}})}},67324:function(k){k.exports=function(m,t){var d,y=m.cd,i=m.xaxis,M=m.yaxis,g=[],h=y[0].t.bPos||0;if(t===!1)for(d=0;d=Z.length||X[Z[Q]]!==void 0)return!1;X[Z[Q]]=!0}return!0}(te))for(ne=0;ne0;v&&(p="array");var S=s("categoryorder",p);S==="array"?(s("categoryarray"),s("ticktext")):(delete u.categoryarray,delete u.ticktext),v||S!=="array"||(o.categoryorder="trace")}}k.exports=function(u,o,s,c){function f(x,T){return d.coerce(u,o,h,x,T)}var p=g(u,o,{name:"dimensions",handleItemDefaults:a}),w=function(x,T,C,_,A){A("line.shape"),A("line.hovertemplate");var L=A("line.color",_.colorway[0]);if(y(x,"line")&&d.isArrayOrTypedArray(L)){if(L.length)return A("line.colorscale"),i(x,T,_,A,{prefix:"line.",cLetter:"c"}),L.length;T.line.color=C}return 1/0}(u,o,s,c,f);M(o,c,f),Array.isArray(p)&&p.length||(o.visible=!1),l(o,p,"values",w),f("hoveron"),f("hovertemplate"),f("arrangement"),f("bundlecolors"),f("sortpaths"),f("counts");var v={family:c.font.family,size:Math.round(c.font.size),color:c.font.color};d.coerceFont(f,"labelfont",v);var S={family:c.font.family,size:Math.round(c.font.size/1.2),color:c.font.color};d.coerceFont(f,"tickfont",S)}},94873:function(k,m,t){k.exports={attributes:t(99506),supplyDefaults:t(14647),calc:t(28699),plot:t(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t(27677),categories:["noOpacity"],meta:{}}},45460:function(k,m,t){var d=t(39898),y=t(81684).k4,i=t(72391),M=t(30211),g=t(71828),h=g.strTranslate,l=t(91424),a=t(84267),u=t(63893);function o(te,Z,X,Q){var re=Z._context.staticPlot,ie=te.map(U.bind(0,Z,X)),oe=Q.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",re?"none":"all");var ue=oe.selectAll("g.trace.parcats").data(ie,s),ce=ue.enter().append("g").attr("class","trace parcats");ue.attr("transform",function(Se){return h(Se.x,Se.y)}),ce.append("g").attr("class","paths");var ye=ue.select("g.paths").selectAll("path.path").data(function(Se){return Se.paths},s);ye.attr("fill",function(Se){return Se.model.color});var de=ye.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(Se){return Se.model.color}).attr("fill-opacity",0);T(de),ye.attr("d",function(Se){return Se.svgD}),de.empty()||ye.sort(f),ye.exit().remove(),ye.on("mouseover",p).on("mouseout",w).on("click",x),ce.append("g").attr("class","dimensions");var me=ue.select("g.dimensions").selectAll("g.dimension").data(function(Se){return Se.dimensions},s);me.enter().append("g").attr("class","dimension"),me.attr("transform",function(Se){return h(Se.x,0)}),me.exit().remove();var pe=me.selectAll("g.category").data(function(Se){return Se.categories},s),xe=pe.enter().append("g").attr("class","category");pe.attr("transform",function(Se){return h(0,Se.y)}),xe.append("rect").attr("class","catrect").attr("pointer-events","none"),pe.select("rect.catrect").attr("fill","none").attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}),_(xe);var Oe=pe.selectAll("rect.bandrect").data(function(Se){return Se.bands},s);Oe.each(function(){g.raiseToTop(this)}),Oe.attr("fill",function(Se){return Se.color});var _e=Oe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(Se){return Se.color}).attr("fill-opacity",0);Oe.attr("fill",function(Se){return Se.color}).attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}).attr("y",function(Se){return Se.y}).attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":Se.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),A(_e),Oe.exit().remove(),xe.append("text").attr("class","catlabel").attr("pointer-events","none");var Me=Z._fullLayout.paper_bgcolor;pe.select("text.catlabel").attr("text-anchor",function(Se){return c(Se)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",u.makeTextShadow(Me)).style("fill","rgb(0, 0, 0)").attr("x",function(Se){return c(Se)?Se.width+5:-5}).attr("y",function(Se){return Se.height/2}).text(function(Se){return Se.model.categoryLabel}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.categorylabelfont),u.convertToTspans(d.select(this),Z)}),xe.append("text").attr("class","dimlabel"),pe.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(Se){return Se.width/2}).attr("y",-5).text(function(Se,Ce){return Ce===0?Se.parcatsViewModel.model.dimensions[Se.model.dimensionInd].dimensionLabel:null}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.labelfont)}),pe.selectAll("rect.bandrect").on("mouseover",R).on("mouseout",D),pe.exit().remove(),me.call(d.behavior.drag().origin(function(Se){return{x:Se.x,y:0}}).on("dragstart",F).on("drag",B).on("dragend",N)),ue.each(function(Se){Se.traceSelection=d.select(this),Se.pathSelection=d.select(this).selectAll("g.paths").selectAll("path.path"),Se.dimensionSelection=d.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),ue.exit().remove()}function s(te){return te.key}function c(te){var Z=te.parcatsViewModel.dimensions.length,X=te.parcatsViewModel.dimensions[Z-1].model.dimensionInd;return te.model.dimensionInd===X}function f(te,Z){return te.model.rawColor>Z.model.rawColor?1:te.model.rawColor"),ke=d.mouse(ue)[0];M.loneHover({trace:ce,x:Oe-de.left+me.left,y:_e-de.top+me.top,text:be,color:te.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:ke1&&me.displayInd===de.dimensions.length-1?(Q=ce.left,re="left"):(Q=ce.left+ce.width,re="right");var Oe=ye.model.count,_e=ye.model.categoryLabel,Me=Oe/ye.parcatsViewModel.model.count,Se={countLabel:Oe,categoryLabel:_e,probabilityLabel:Me.toFixed(3)},Ce=[];ye.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ce.push(["Count:",Se.countLabel].join(" ")),ye.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Ce.push(["P("+Se.categoryLabel+"):",Se.probabilityLabel].join(" "));var ae=Ce.join("
");return{trace:pe,x:ie*(Q-Z.left),y:oe*(xe-Z.top),text:ae,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:re,hovertemplate:pe.hovertemplate,hovertemplateLabels:Se,eventData:[{data:pe._input,fullData:pe,count:Oe,category:_e,probability:Me}]}}function R(te){if(!te.parcatsViewModel.dragDimension&&te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){if(d.mouse(this)[1]<-1)return;var Z,X=te.parcatsViewModel.graphDiv,Q=X._fullLayout,re=Q._paperdiv.node().getBoundingClientRect(),ie=te.parcatsViewModel.hoveron,oe=this;ie==="color"?(function(ue){var ce=d.select(ue).datum(),ye=L(ce);C(ye),ye.each(function(){g.raiseToTop(this)}),d.select(ue.parentNode).selectAll("rect.bandrect").filter(function(de){return de.color===ce.color}).each(function(){g.raiseToTop(this),d.select(this).attr("stroke","black").attr("stroke-width",1.5)})}(oe),P(oe,"plotly_hover",d.event)):(function(ue){d.select(ue.parentNode).selectAll("rect.bandrect").each(function(ce){var ye=L(ce);C(ye),ye.each(function(){g.raiseToTop(this)})}),d.select(ue.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(oe),b(oe,"plotly_hover",d.event)),te.parcatsViewModel.hoverinfoItems.indexOf("none")===-1&&(ie==="category"?Z=I(X,re,oe):ie==="color"?Z=function(ue,ce,ye){ue._fullLayout._calcInverseTransform(ue);var de,me,pe=ue._fullLayout._invScaleX,xe=ue._fullLayout._invScaleY,Oe=ye.getBoundingClientRect(),_e=d.select(ye).datum(),Me=_e.categoryViewModel,Se=Me.parcatsViewModel,Ce=Se.model.dimensions[Me.model.dimensionInd],ae=Se.trace,he=Oe.y+Oe.height/2;Se.dimensions.length>1&&Ce.displayInd===Se.dimensions.length-1?(de=Oe.left,me="left"):(de=Oe.left+Oe.width,me="right");var be=Me.model.categoryLabel,ke=_e.parcatsViewModel.model.count,Le=0;_e.categoryViewModel.bands.forEach(function(st){st.color===_e.color&&(Le+=st.count)});var Be=Me.model.count,ze=0;Se.pathSelection.each(function(st){st.model.color===_e.color&&(ze+=st.model.count)});var je=Le/ke,ge=Le/ze,we=Le/Be,Ee={countLabel:ke,categoryLabel:be,probabilityLabel:je.toFixed(3)},Ve=[];Me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ve.push(["Count:",Ee.countLabel].join(" ")),Me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Ve.push("P(color โˆฉ "+be+"): "+Ee.probabilityLabel),Ve.push("P("+be+" | color): "+ge.toFixed(3)),Ve.push("P(color | "+be+"): "+we.toFixed(3)));var Ye=Ve.join("
"),$e=a.mostReadable(_e.color,["black","white"]);return{trace:ae,x:pe*(de-ce.left),y:xe*(he-ce.top),text:Ye,color:_e.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:$e,fontSize:10,idealAlign:me,hovertemplate:ae.hovertemplate,hovertemplateLabels:Ee,eventData:[{data:ae._input,fullData:ae,category:be,count:ke,probability:je,categorycount:Be,colorcount:ze,bandcolorcount:Le}]}}(X,re,oe):ie==="dimension"&&(Z=function(ue,ce,ye){var de=[];return d.select(ye.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){de.push(I(ue,ce,this))}),de}(X,re,oe)),Z&&M.loneHover(Z,{container:Q._hoverlayer.node(),outerContainer:Q._paper.node(),gd:X}))}}function D(te){var Z=te.parcatsViewModel;Z.dragDimension||(T(Z.pathSelection),_(Z.dimensionSelection.selectAll("g.category")),A(Z.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),M.loneUnhover(Z.graphDiv._fullLayout._hoverlayer.node()),Z.pathSelection.sort(f),Z.hoverinfoItems.indexOf("skip")!==-1)||(te.parcatsViewModel.hoveron==="color"?P(this,"plotly_unhover",d.event):b(this,"plotly_unhover",d.event))}function F(te){te.parcatsViewModel.arrangement!=="fixed"&&(te.dragDimensionDisplayInd=te.model.displayInd,te.initialDragDimensionDisplayInds=te.parcatsViewModel.model.dimensions.map(function(Z){return Z.displayInd}),te.dragHasMoved=!1,te.dragCategoryDisplayInd=null,d.select(this).selectAll("g.category").select("rect.catrect").each(function(Z){var X=d.mouse(this)[0],Q=d.mouse(this)[1];-2<=X&&X<=Z.width+2&&-2<=Q&&Q<=Z.height+2&&(te.dragCategoryDisplayInd=Z.model.displayInd,te.initialDragCategoryDisplayInds=te.model.categories.map(function(re){return re.displayInd}),Z.model.dragY=Z.y,g.raiseToTop(this.parentNode),d.select(this.parentNode).selectAll("rect.bandrect").each(function(re){re.yde.y+de.height/2&&(ie.model.displayInd=de.model.displayInd,de.model.displayInd=ue),te.dragCategoryDisplayInd=ie.model.displayInd}if(te.dragCategoryDisplayInd===null||te.parcatsViewModel.arrangement==="freeform"){re.model.dragX=d.event.x;var me=te.parcatsViewModel.dimensions[X],pe=te.parcatsViewModel.dimensions[Q];me!==void 0&&re.model.dragXpe.x&&(re.model.displayInd=pe.model.displayInd,pe.model.displayInd=te.dragDimensionDisplayInd),te.dragDimensionDisplayInd=re.model.displayInd}H(te.parcatsViewModel),q(te.parcatsViewModel),Y(te.parcatsViewModel),j(te.parcatsViewModel)}}function N(te){if(te.parcatsViewModel.arrangement!=="fixed"&&te.dragDimensionDisplayInd!==null){d.select(this).selectAll("text").attr("font-weight","normal");var Z={},X=W(te.parcatsViewModel),Q=te.parcatsViewModel.model.dimensions.map(function(de){return de.displayInd}),re=te.initialDragDimensionDisplayInds.some(function(de,me){return de!==Q[me]});re&&Q.forEach(function(de,me){var pe=te.parcatsViewModel.model.dimensions[me].containerInd;Z["dimensions["+pe+"].displayindex"]=de});var ie=!1;if(te.dragCategoryDisplayInd!==null){var oe=te.model.categories.map(function(de){return de.displayInd});if(ie=te.initialDragCategoryDisplayInds.some(function(de,me){return de!==oe[me]})){var ue=te.model.categories.slice().sort(function(de,me){return de.displayInd-me.displayInd}),ce=ue.map(function(de){return de.categoryValue}),ye=ue.map(function(de){return de.categoryLabel});Z["dimensions["+te.model.containerInd+"].categoryarray"]=[ce],Z["dimensions["+te.model.containerInd+"].ticktext"]=[ye],Z["dimensions["+te.model.containerInd+"].categoryorder"]="array"}}te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!te.dragHasMoved&&te.potentialClickBand&&(te.parcatsViewModel.hoveron==="color"?P(te.potentialClickBand,"plotly_click",d.event.sourceEvent):b(te.potentialClickBand,"plotly_click",d.event.sourceEvent)),te.model.dragX=null,te.dragCategoryDisplayInd!==null&&(te.parcatsViewModel.dimensions[te.dragDimensionDisplayInd].categories[te.dragCategoryDisplayInd].model.dragY=null,te.dragCategoryDisplayInd=null),te.dragDimensionDisplayInd=null,te.parcatsViewModel.dragDimension=null,te.dragHasMoved=null,te.potentialClickBand=null,H(te.parcatsViewModel),q(te.parcatsViewModel),d.transition().duration(300).ease("cubic-in-out").each(function(){Y(te.parcatsViewModel,!0),j(te.parcatsViewModel,!0)}).each("end",function(){(re||ie)&&i.restyle(te.parcatsViewModel.graphDiv,Z,[X])})}}function W(te){for(var Z,X=te.graphDiv._fullData,Q=0;Q=0;oe--)ye+="C"+ce[oe]+","+(Z[oe+1]+Q)+" "+ue[oe]+","+(Z[oe]+Q)+" "+(te[oe]+X[oe])+","+(Z[oe]+Q),ye+="l-"+X[oe]+",0 ";return ye+"Z"}function q(te){var Z=te.dimensions,X=te.model,Q=Z.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.y})}),re=te.model.dimensions.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.displayInd})}),ie=te.model.dimensions.map(function(Ee){return Ee.displayInd}),oe=te.dimensions.map(function(Ee){return Ee.model.dimensionInd}),ue=Z.map(function(Ee){return Ee.x}),ce=Z.map(function(Ee){return Ee.width}),ye=[];for(var de in X.paths)X.paths.hasOwnProperty(de)&&ye.push(X.paths[de]);function me(Ee){var Ve=Ee.categoryInds.map(function(Ye,$e){return re[$e][Ye]});return oe.map(function(Ye){return Ve[Ye]})}ye.sort(function(Ee,Ve){var Ye=me(Ee),$e=me(Ve);return te.sortpaths==="backward"&&(Ye.reverse(),$e.reverse()),Ye.push(Ee.valueInds[0]),$e.push(Ve.valueInds[0]),te.bundlecolors&&(Ye.unshift(Ee.rawColor),$e.unshift(Ve.rawColor)),Ye<$e?-1:Ye>$e?1:0});for(var pe=new Array(ye.length),xe=Z[0].model.count,Oe=Z[0].categories.map(function(Ee){return Ee.height}).reduce(function(Ee,Ve){return Ee+Ve}),_e=0;_e0?Oe*(Se.count/xe):0;for(var Ce,ae=new Array(Q.length),he=0;he1?(te.width-80-16)/(Q-1):0)*re;var ie,oe,ue,ce,ye,de=[],me=te.model.maxCats,pe=Z.categories.length,xe=Z.count,Oe=te.height-8*(me-1),_e=8*(me-pe)/2,Me=Z.categories.map(function(Se){return{displayInd:Se.displayInd,categoryInd:Se.categoryInd}});for(Me.sort(function(Se,Ce){return Se.displayInd-Ce.displayInd}),ye=0;ye0?oe.count/xe*Oe:0,ue={key:oe.valueInds[0],model:oe,width:16,height:ie,y:oe.dragY!==null?oe.dragY:_e,bands:[],parcatsViewModel:te},_e=_e+ie+8,de.push(ue);return{key:Z.dimensionInd,x:Z.dragX!==null?Z.dragX:X,y:0,width:16,model:Z,categories:de,parcatsViewModel:te,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}k.exports=function(te,Z,X,Q){o(X,te,Q,Z)}},45784:function(k,m,t){var d=t(45460);k.exports=function(y,i,M,g){var h=y._fullLayout,l=h._paper,a=h._size;d(y,l,i,{width:a.w,height:a.h,margin:{t:a.t,r:a.r,b:a.b,l:a.l}},M,g)}},73362:function(k,m,t){var d=t(50693),y=t(13838),i=t(41940),M=t(27670).Y,g=t(1426).extendFlat,h=t(44467).templatedArray;k.exports={domain:M({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:h("dimension",{label:{valType:"string",editType:"plot"},tickvals:g({},y.tickvals,{editType:"plot"}),ticktext:g({},y.ticktext,{editType:"plot"}),tickformat:g({},y.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:g({editType:"calc"},d("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},57920:function(k,m,t){var d=t(25706),y=t(39898),i=t(28984).keyFun,M=t(28984).repeat,g=t(71828).sorterAsc,h=t(71828).strTranslate,l=d.bar.snapRatio;function a(I,R){return I*(1-l)+R*l}var u=d.bar.snapClose;function o(I,R){return I*(1-u)+R*u}function s(I,R,D,F){if(function(ne,te){for(var Z=0;Z=te[Z][0]&&ne<=te[Z][1])return!0;return!1}(D,F))return D;var B=I?-1:1,N=0,W=R.length-1;if(B<0){var j=N;N=W,W=j}for(var Y=R[N],U=Y,G=N;B*GR){q=D;break}}if(B=U,isNaN(B)&&(B=isNaN(G)||isNaN(q)?isNaN(G)?q:G:R-Y[G][1]re[1]+oe||ie=.9*re[1]+.1*re[0]?"n":ie<=.9*re[0]+.1*re[1]?"s":"ns"}(ne,R);te&&(N.interval=j[B],N.intervalPix=ne,N.region=te)}}if(I.ordinal&&!N.region){var Z=I.unitTickvals,X=I.unitToPaddedPx.invert(R);for(D=0;D=Q[0]&&X<=Q[1]){N.clickableOrdinalRange=Q;break}}}return N}function C(I,R){y.event.sourceEvent.stopPropagation();var D=R.height-y.mouse(I)[1]-2*d.verticalPadding,F=R.brush.svgBrush;F.wasDragged=!0,F._dragging=!0,F.grabbingBar?F.newExtent=[D-F.grabPoint,D+F.barLength-F.grabPoint].map(R.unitToPaddedPx.invert):F.newExtent=[F.startExtent,R.unitToPaddedPx.invert(D)].sort(g),R.brush.filterSpecified=!0,F.extent=F.stayingIntervals.concat([F.newExtent]),F.brushCallback(R),x(I.parentNode)}function _(I,R){var D=T(R,R.height-y.mouse(I)[1]-2*d.verticalPadding),F="crosshair";D.clickableOrdinalRange?F="pointer":D.region&&(F=D.region+"-resize"),y.select(document.body).style("cursor",F)}function A(I){I.on("mousemove",function(R){y.event.preventDefault(),R.parent.inBrushDrag||_(this,R)}).on("mouseleave",function(R){R.parent.inBrushDrag||v()}).call(y.behavior.drag().on("dragstart",function(R){(function(D,F){y.event.sourceEvent.stopPropagation();var B=F.height-y.mouse(D)[1]-2*d.verticalPadding,N=F.unitToPaddedPx.invert(B),W=F.brush,j=T(F,B),Y=j.interval,U=W.svgBrush;if(U.wasDragged=!1,U.grabbingBar=j.region==="ns",U.grabbingBar){var G=Y.map(F.unitToPaddedPx);U.grabPoint=B-G[0]-d.verticalPadding,U.barLength=G[1]-G[0]}U.clickableOrdinalRange=j.clickableOrdinalRange,U.stayingIntervals=F.multiselect&&W.filterSpecified?W.filter.getConsolidated():[],Y&&(U.stayingIntervals=U.stayingIntervals.filter(function(q){return q[0]!==Y[0]&&q[1]!==Y[1]})),U.startExtent=j.region?Y[j.region==="s"?1:0]:N,F.parent.inBrushDrag=!0,U.brushStartCallback()})(this,R)}).on("drag",function(R){C(this,R)}).on("dragend",function(R){(function(D,F){var B=F.brush,N=B.filter,W=B.svgBrush;W._dragging||(_(D,F),C(D,F),F.brush.svgBrush.wasDragged=!1),W._dragging=!1,y.event.sourceEvent.stopPropagation();var j=W.grabbingBar;if(W.grabbingBar=!1,W.grabLocation=void 0,F.parent.inBrushDrag=!1,v(),!W.wasDragged)return W.wasDragged=void 0,W.clickableOrdinalRange?B.filterSpecified&&F.multiselect?W.extent.push(W.clickableOrdinalRange):(W.extent=[W.clickableOrdinalRange],B.filterSpecified=!0):j?(W.extent=W.stayingIntervals,W.extent.length===0&&b(B)):b(B),W.brushCallback(F),x(D.parentNode),void W.brushEndCallback(B.filterSpecified?N.getConsolidated():[]);var Y=function(){N.set(N.getConsolidated())};if(F.ordinal){var U=F.unitTickvals;U[U.length-1]W.newExtent[0];W.extent=W.stayingIntervals.concat(G?[W.newExtent]:[]),W.extent.length||b(B),W.brushCallback(F),G?x(D.parentNode,Y):(Y(),x(D.parentNode))}else Y();W.brushEndCallback(B.filterSpecified?N.getConsolidated():[])})(this,R)}))}function L(I,R){return I[0]-R[0]}function b(I){I.filterSpecified=!1,I.svgBrush.extent=[[-1/0,1/0]]}function P(I){for(var R,D=I.slice(),F=[],B=D.shift();B;){for(R=B.slice();(B=D.shift())&&B[0]<=R[1];)R[1]=Math.max(R[1],B[1]);F.push(R)}return F.length===1&&F[0][0]>F[0][1]&&(F=[]),F}k.exports={makeBrush:function(I,R,D,F,B,N){var W,j=function(){var Y,U,G=[];return{set:function(q){(G=q.map(function(H){return H.slice().sort(g)}).sort(L)).length===1&&G[0][0]===-1/0&&G[0][1]===1/0&&(G=[[0,-1]]),Y=P(G),U=G.reduce(function(H,ne){return[Math.min(H[0],ne[0]),Math.max(H[1],ne[1])]},[1/0,-1/0])},get:function(){return G.slice()},getConsolidated:function(){return Y},getBounds:function(){return U}}}();return j.set(D),{filter:j,filterSpecified:R,svgBrush:{extent:[],brushStartCallback:F,brushCallback:(W=B,function(Y){var U=Y.brush,G=function(H){return H.svgBrush.extent.map(function(ne){return ne.slice()})}(U),q=G.slice();U.filter.set(q),W()}),brushEndCallback:N}}},ensureAxisBrush:function(I,R,D){var F=I.selectAll("."+d.cn.axisBrush).data(M,i);F.enter().append("g").classed(d.cn.axisBrush,!0),function(B,N,W){var j=W._context.staticPlot,Y=B.selectAll(".background").data(M);Y.enter().append("rect").classed("background",!0).call(c).call(f).style("pointer-events",j?"none":"auto").attr("transform",h(0,d.verticalPadding)),Y.call(A).attr("height",function(q){return q.height-d.verticalPadding});var U=B.selectAll(".highlight-shadow").data(M);U.enter().append("line").classed("highlight-shadow",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width+d.bar.strokeWidth).attr("stroke",N).attr("opacity",d.bar.strokeOpacity).attr("stroke-linecap","butt"),U.attr("y1",function(q){return q.height}).call(S);var G=B.selectAll(".highlight").data(M);G.enter().append("line").classed("highlight",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width-d.bar.strokeWidth).attr("stroke",d.bar.fillColor).attr("opacity",d.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function(q){return q.height}).call(S)}(F,R,D)},cleanRanges:function(I,R){if(Array.isArray(I[0])?(I=I.map(function(F){return F.sort(g)}),I=R.multiselect?P(I.sort(L)):[I[0]]):I=[I.sort(g)],R.tickvals){var D=R.tickvals.slice().sort(g);if(!(I=I.map(function(F){var B=[s(0,D,F[0],[]),s(1,D,F[1],[])];if(B[1]>B[0])return B}).filter(function(F){return F})).length)return}return I.length>1?I:I[0]}}},71791:function(k,m,t){k.exports={attributes:t(73362),supplyDefaults:t(3633),calc:t(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(k,m,t){var d=t(39898),y=t(27659).a0,i=t(21341),M=t(77922);m.name="parcoords",m.plot=function(g){var h=y(g.calcdata,"parcoords")[0];h.length&&i(g,h)},m.clean=function(g,h,l,a){var u=a._has&&a._has("parcoords"),o=h._has&&h._has("parcoords");u&&!o&&(a._paperdiv.selectAll(".parcoords").remove(),a._glimages.selectAll("*").remove())},m.toSVG=function(g){var h=g._fullLayout._glimages,l=d.select(g).selectAll(".svg-container");l.filter(function(a,u){return u===l.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus").each(function(){var a=this,u=a.toDataURL("image/png");h.append("svg:image").attr({xmlns:M.svg,"xlink:href":u,preserveAspectRatio:"none",x:0,y:0,width:a.style.width,height:a.style.height})}),window.setTimeout(function(){d.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(k,m,t){var d=t(71828).isArrayOrTypedArray,y=t(21081),i=t(28984).wrap;k.exports=function(M,g){var h,l;return y.hasColorscale(g,"line")&&d(g.line.color)?(h=g.line.color,l=y.extractOpts(g.line).colorscale,y.calc(M,g,{vals:h,containerStr:"line",cLetter:"c"})):(h=function(a){for(var u=new Array(a),o=0;ou&&(d.log("parcoords traces support up to "+u+" dimensions at the moment"),S.splice(u));var x=g(c,f,{name:"dimensions",layout:w,handleItemDefaults:s}),T=function(_,A,L,b,P){var I=P("line.color",L);if(y(_,"line")&&d.isArrayOrTypedArray(I)){if(I.length)return P("line.colorscale"),i(_,A,b,P,{prefix:"line.",cLetter:"c"}),I.length;A.line.color=L}return 1/0}(c,f,p,w,v);M(f,w,v),Array.isArray(x)&&x.length||(f.visible=!1),o(f,x,"values",T);var C={family:w.font.family,size:Math.round(w.font.size/1.2),color:w.font.color};d.coerceFont(v,"labelfont",C),d.coerceFont(v,"tickfont",C),d.coerceFont(v,"rangefont",C),v("labelangle"),v("labelside"),v("unselected.line.color"),v("unselected.line.opacity")}},1602:function(k,m,t){var d=t(71828).isTypedArray;m.convertTypedArray=function(y){return d(y)?Array.prototype.slice.call(y):y},m.isOrdinal=function(y){return!!y.tickvals},m.isVisible=function(y){return y.visible||!("visible"in y)}},67618:function(k,m,t){var d=t(71791);d.plot=t(21341),k.exports=d},83398:function(k,m,t){var d=t(56068),y=d([`precision highp float; #define GLSLIFY 1 varying vec4 fragColor; @@ -176,11 +176,11 @@ varying vec4 fragColor; void main() { gl_FragColor = fragColor; } -`]),M=t(25706).maxDimensionCount,g=t(71828),h=new Uint8Array(4),l=new Uint8Array(4),a={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function u(x,T,C,_,A){var L=x._gl;L.enable(L.SCISSOR_TEST),L.scissor(T,C,_,A),x.clear({color:[0,0,0,0],depth:1})}function o(x,T,C,_,A,L){var b=L.key;C.drawCompleted||(function(O){O.read({x:0,y:0,width:1,height:1,data:h})}(x),C.drawCompleted=!0),function O(I){var R=Math.min(_,A-I*_);I===0&&(window.cancelAnimationFrame(C.currentRafs[b]),delete C.currentRafs[b],u(x,L.scissorX,L.scissorY,L.scissorWidth,L.viewBoxSize[1])),C.clearOnly||(L.count=2*R,L.offset=2*I*_,T(L),I*_+R>>8*T)%256/255}function c(x,T,C){for(var _=new Array(8*T),A=0,L=0;Lie&&(ie=W[te].dim1.canvasX,X=te);Q===0&&u(R,0,0,C.canvasWidth,C.canvasHeight);var oe=function(Me){var Se,Ce,ae,he=[[],[]];for(ae=0;ae<64;ae++){var be=!Me&&aeoe._length&&(Pe=Pe.slice(0,oe._length));var _e,Me=oe.tickvals;function Se(ke,Le){return{val:ke,text:_e[Le]}}function Ce(ke,Le){return ke.val-Le.val}if(Array.isArray(Me)&&Me.length){_e=oe.ticktext,Array.isArray(_e)&&_e.length?_e.length>Me.length?_e=_e.slice(0,Me.length):Me.length>_e.length&&(Me=Me.slice(0,_e.length)):_e=Me.map(i(oe.tickformat));for(var ae=1;ae=Be||we>=ze)return;var Ee=ke.lineLayer.readPixel(ge,ze-1-we),Ve=Ee[3]!==0,$e=Ve?Ee[2]+256*(Ee[1]+256*Ee[0]):null,Ye={x:ge,y:we,clientX:Le.clientX,clientY:Le.clientY,dataIndex:ke.model.key,curveNumber:$e};$e!==ye&&(Ve?W.hover(Ye):W.unhover&&W.unhover(Ye),ye=$e)}}),ce.style("opacity",function(ke){return ke.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var de=te.selectAll("."+v.cn.parcoords).data(ue,f);de.exit().remove(),de.enter().append("g").classed(v.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),de.attr("transform",function(ke){return l(ke.model.translateX,ke.model.translateY)});var me=de.selectAll("."+v.cn.parcoordsControlView).data(c,f);me.enter().append("g").classed(v.cn.parcoordsControlView,!0),me.attr("transform",function(ke){return l(ke.model.pad.l,ke.model.pad.t)});var pe=me.selectAll("."+v.cn.yAxis).data(function(ke){return ke.dimensions},f);pe.enter().append("g").classed(v.cn.yAxis,!0),me.each(function(ke){N(pe,ke,X)}),ce.each(function(ke){if(ke.viewModel){!ke.lineLayer||W?ke.lineLayer=x(this,ke):ke.lineLayer.update(ke),(ke.key||ke.key===0)&&(ke.viewModel[ke.key]=ke.lineLayer);var Le=!ke.context||W;ke.lineLayer.render(ke.viewModel.panels,Le)}}),pe.attr("transform",function(ke){return l(ke.xScale(ke.xIndex),0)}),pe.call(d.behavior.drag().origin(function(ke){return ke}).on("drag",function(ke){var Le=ke.parent;oe.linePickActive(!1),ke.x=Math.max(-v.overdrag,Math.min(ke.model.width+v.overdrag,d.event.x)),ke.canvasX=ke.x*ke.model.canvasPixelRatio,pe.sort(function(Be,ze){return Be.x-ze.x}).each(function(Be,ze){Be.xIndex=ze,Be.x=ke===Be?Be.x:Be.xScale(Be.xIndex),Be.canvasX=Be.x*Be.model.canvasPixelRatio}),N(pe,Le,X),pe.filter(function(Be){return Math.abs(ke.xIndex-Be.xIndex)!==0}).attr("transform",function(Be){return l(Be.xScale(Be.xIndex),0)}),d.select(this).attr("transform",l(ke.x,0)),pe.each(function(Be,ze,je){je===ke.parent.key&&(Le.dimensions[ze]=Be)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer.render&&Le.focusLayer.render(Le.panels)}).on("dragend",function(ke){var Le=ke.parent;ke.x=ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio,N(pe,Le,X),d.select(this).attr("transform",function(Be){return l(Be.x,0)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer&&Le.focusLayer.render(Le.panels),Le.pickLayer&&Le.pickLayer.render(Le.panels,!0),oe.linePickActive(!0),W&&W.axesMoved&&W.axesMoved(Le.key,Le.dimensions.map(function(Be){return Be.crossfilterDimensionIndex}))})),pe.exit().remove();var xe=pe.selectAll("."+v.cn.axisOverlays).data(c,f);xe.enter().append("g").classed(v.cn.axisOverlays,!0),xe.selectAll("."+v.cn.axis).remove();var Pe=xe.selectAll("."+v.cn.axis).data(c,f);Pe.enter().append("g").classed(v.cn.axis,!0),Pe.each(function(ke){var Le=ke.model.height/ke.model.tickDistance,Be=ke.domainScale,ze=Be.domain();d.select(this).call(d.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Le,ke.tickFormat).tickValues(ke.ordinal?ze:null).tickFormat(function(je){return w.isOrdinal(ke)?je:q(ke.model.dimensions[ke.visibleIndex],je)}).scale(Be)),u.font(Pe.selectAll("text"),ke.model.tickFont)}),Pe.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),Pe.selectAll("text").style("text-shadow",a.makeTextShadow(Q)).style("cursor","default");var _e=xe.selectAll("."+v.cn.axisHeading).data(c,f);_e.enter().append("g").classed(v.cn.axisHeading,!0);var Me=_e.selectAll("."+v.cn.axisTitle).data(c,f);Me.enter().append("text").classed(v.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",H?"none":"auto"),Me.text(function(ke){return ke.label}).each(function(ke){var Le=d.select(this);u.font(Le,ke.model.labelFont),a.convertToTspans(Le,$)}).attr("transform",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide),Be=v.axisTitleOffset;return(Le.dir>0?"":l(0,2*Be+ke.model.height))+h(Le.degrees)+l(-Be*Le.dx,-Be*Le.dy)}).attr("text-anchor",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide);return 2*Math.abs(Le.dx)>Math.abs(Le.dy)?Le.dir*Le.dx<0?"start":"end":"middle"});var Se=xe.selectAll("."+v.cn.axisExtent).data(c,f);Se.enter().append("g").classed(v.cn.axisExtent,!0);var Ce=Se.selectAll("."+v.cn.axisExtentTop).data(c,f);Ce.enter().append("g").classed(v.cn.axisExtentTop,!0),Ce.attr("transform",l(0,-v.axisExtentOffset));var ae=Ce.selectAll("."+v.cn.axisExtentTopText).data(c,f);ae.enter().append("text").classed(v.cn.axisExtentTopText,!0).call(F),ae.text(function(ke){return j(ke,!0)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)});var he=Se.selectAll("."+v.cn.axisExtentBottom).data(c,f);he.enter().append("g").classed(v.cn.axisExtentBottom,!0),he.attr("transform",function(ke){return l(0,ke.model.height+v.axisExtentOffset)});var be=he.selectAll("."+v.cn.axisExtentBottomText).data(c,f);be.enter().append("text").classed(v.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(F),be.text(function(ke){return j(ke,!1)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)}),S.ensureAxisBrush(xe,Q,$)}},21341:function(k,m,t){var d=t(17171),y=t(79749),i=t(1602).isVisible,M={};function g(h,l,a){var u=l.indexOf(a),o=h.indexOf(u);return o===-1&&(o+=l.length),o}(k.exports=function(h,l){var a=h._fullLayout;if(y(h,[],M)){var u={},o={},s={},f={},c=a._size;l.forEach(function(p,w){var v=p[0].trace;s[w]=v.index;var S=f[w]=v._fullInput.index;u[w]=h.data[S].dimensions,o[w]=h.data[S].dimensions.slice()}),d(h,l,{width:c.w,height:c.h,margin:{t:c.t,r:c.r,b:c.b,l:c.l}},{filterChanged:function(p,w,v){var S=o[p][w],x=v.map(function(b){return b.slice()}),T="dimensions["+w+"].constraintrange",C=a._tracePreGUI[h._fullData[s[p]]._fullInput.uid];if(C[T]===void 0){var _=S.constraintrange;C[T]=_||null}var A=h._fullData[s[p]].dimensions[w];x.length?(x.length===1&&(x=x[0]),S.constraintrange=x,A.constraintrange=x.slice(),x=[x]):(delete S.constraintrange,delete A.constraintrange,x=null);var L={};L[T]=x,h.emit("plotly_restyle",[L,[f[p]]])},hover:function(p){h.emit("plotly_hover",p)},unhover:function(p){h.emit("plotly_unhover",p)},axesMoved:function(p,w){var v=function(S,x){return function(T,C){return g(S,x,T)-g(S,x,C)}}(w,o[p].filter(i));u[p].sort(v),o[p].filter(function(S){return!i(S)}).sort(function(S){return o[p].indexOf(S)}).forEach(function(S){u[p].splice(u[p].indexOf(S),1),u[p].splice(o[p].indexOf(S),0,S)}),h.emit("plotly_restyle",[{dimensions:[u[p]]},[f[p]]])}})}}).reglPrecompiled=M},34e3:function(k,m,t){var d=t(9012),y=t(27670).Y,i=t(41940),M=t(22399),g=t(5386).fF,h=t(5386).si,l=t(1426).extendFlat,a=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});k.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:M.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:l({},d.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:g({},{keys:["label","color","value","percent","text"]}),texttemplate:h({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:l({},a,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:l({},a,{}),outsidetextfont:l({},a,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:l({},a,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:y({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:l({},a,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(k,m,t){var d=t(74875);m.name="pie",m.plot=function(y,i,M,g){d.plotBasePlot(m.name,y,i,M,g)},m.clean=function(y,i,M,g){d.cleanBasePlot(m.name,y,i,M,g)}},32354:function(k,m,t){var d=t(92770),y=t(84267),i=t(7901),M={};function g(l){return function(a,u){return!!a&&!!(a=y(a)).isValid()&&(a=i.addOpacity(a,a.getAlpha()),l[u]||(l[u]=a),a)}}function h(l,a){var u,o=JSON.stringify(l),s=a[o];if(!s){for(s=l.slice(),u=0;u=0}),(a.type==="funnelarea"?A:a.sort)&&s.sort(function(R,D){return D.v-R.v}),s[0]&&(s[0].vTotal=_),s},crossTraceCalc:function(l,a){var u=(a||{}).type;u||(u="pie");var o=l._fullLayout,s=l.calcdata,f=o[u+"colorway"],c=o["_"+u+"colormap"];o["extend"+u+"colors"]&&(f=h(f,M));for(var p=0,w=0;w0){f=!0;break}}f||(s=0)}return{hasLabels:u,hasValues:o,len:s}}k.exports={handleLabelsAndValues:h,supplyDefaults:function(l,a,u,o){function s(C,_){return y.coerce(l,a,i,C,_)}var f=h(s("labels"),s("values")),c=f.len;if(a._hasLabels=f.hasLabels,a._hasValues=f.hasValues,!a._hasLabels&&a._hasValues&&(s("label0"),s("dlabel")),c){a._length=c,s("marker.line.width")&&s("marker.line.color"),s("marker.colors"),s("scalegroup");var p,w=s("text"),v=s("texttemplate");if(v||(p=s("textinfo",Array.isArray(w)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),v||p&&p!=="none"){var S=s("textposition");g(l,a,o,s,S,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(S)||S==="auto"||S==="outside")&&s("automargin"),(S==="inside"||S==="auto"||Array.isArray(S))&&s("insidetextorientation")}M(a,o,s);var x=s("hole");if(s("title.text")){var T=s("title.position",x?"middle center":"top center");x||T!=="middle center"||(a.title.position="top center"),y.coerceFont(s,"title.font",o.font)}s("sort"),s("direction"),s("rotation"),s("pull")}else a.visible=!1}}},20007:function(k,m,t){var d=t(23469).appendArrayMultiPointValues;k.exports=function(y,i){var M={curveNumber:i.index,pointNumbers:y.pts,data:i._input,fullData:i,label:y.label,color:y.color,value:y.v,percent:y.percent,text:y.text,bbox:y.bbox,v:y.v};return y.pts.length===1&&(M.pointNumber=M.i=y.pts[0]),d(M,i,y.pts),i.type==="funnelarea"&&(delete M.v,delete M.i),M}},53581:function(k,m,t){var d=t(71828);function y(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}m.formatPiePercent=function(i,M){var g=y((100*i).toPrecision(3));return d.numSeparate(g,M)+"%"},m.formatPieValue=function(i,M){var g=y(i.toPrecision(10));return d.numSeparate(g,M)},m.getFirstFilled=function(i,M){if(Array.isArray(i))for(var g=0;g"),name:ie.hovertemplate||oe.indexOf("name")!==-1?ie.name:void 0,idealAlign:Q.pxmid[0]<0?"left":"right",color:p.castOption(xe.bgcolor,Q.pts)||Q.color,borderColor:p.castOption(xe.bordercolor,Q.pts),fontFamily:p.castOption(Pe.family,Q.pts),fontSize:p.castOption(Pe.size,Q.pts),fontColor:p.castOption(Pe.color,Q.pts),nameLength:p.castOption(xe.namelength,Q.pts),textAlign:p.castOption(xe.align,Q.pts),hovertemplate:p.castOption(ie.hovertemplate,Q.pts),hovertemplateLabels:Q,eventData:[w(Q,ie)]},{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:G,inOut_bbox:_e}),Q.bbox=_e[0],Z._hasHoverLabel=!0}Z._hasHoverEvent=!0,G.emit("plotly_hover",{points:[w(Q,ie)],event:d.event})}}),U.on("mouseout",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index],oe=d.select(this).datum();Z._hasHoverEvent&&(Q.originalEvent=d.event,G.emit("plotly_unhover",{points:[w(oe,ie)],event:d.event}),Z._hasHoverEvent=!1),Z._hasHoverLabel&&(i.loneUnhover(re._hoverlayer.node()),Z._hasHoverLabel=!1)}),U.on("click",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index];G._dragging||re.hovermode===!1||(G._hoverdata=[w(Q,ie)],i.click(G,d.event))})}function x(U,G,W){var H=p.castOption(U.insidetextfont.color,G.pts);!H&&U._input.textfont&&(H=p.castOption(U._input.textfont.color,G.pts));var ne=p.castOption(U.insidetextfont.family,G.pts)||p.castOption(U.textfont.family,G.pts)||W.family,te=p.castOption(U.insidetextfont.size,G.pts)||p.castOption(U.textfont.size,G.pts)||W.size;return{color:H||M.contrast(G.color),family:ne,size:te}}function T(U,G){for(var W,H,ne=0;neBe&&Be>je||ze=-4;me-=2)pe(Math.PI*me,"tan");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1),"tan")}if(oe||ce){for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1.5),"rad");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+.5),"rad")}}if(X||ye||oe){var xe=Math.sqrt(U.width*U.width+U.height*U.height);if((te={scale:ne*H*2/xe,rCenter:1-ne,rotate:0}).textPosAngle=(G.startangle+G.stopangle)/2,te.scale>=1)return te;de.push(te)}(ye||ce)&&((te=_(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te)),(ye||ue)&&((te=A(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te));for(var Pe=0,_e=0,Me=0;Me=1)break}return de[Pe]}function _(U,G,W,H,ne){G=Math.max(0,G-2*c);var te=U.width/U.height,Z=O(te,H,G,W);return{scale:2*Z/U.height,rCenter:L(te,Z/G),rotate:b(ne)}}function A(U,G,W,H,ne){G=Math.max(0,G-2*c);var te=U.height/U.width,Z=O(te,H,G,W);return{scale:2*Z/U.width,rCenter:L(te,Z/G),rotate:b(ne+Math.PI/2)}}function L(U,G){return Math.cos(G)-U*G}function b(U){return(180/Math.PI*U+720)%180-90}function O(U,G,W,H){var ne=U+1/(2*Math.tan(G));return W*Math.min(1/(Math.sqrt(ne*ne+.5)+ne),H/(Math.sqrt(U*U+H/2)+U))}function I(U,G){return U.v!==G.vTotal||G.trace.hole?Math.min(1/(1+1/Math.sin(U.halfangle)),U.ring/2):1}function R(U,G){var W=G.pxmid[0],H=G.pxmid[1],ne=U.width/2,te=U.height/2;return W<0&&(ne*=-1),H<0&&(te*=-1),{scale:1,rCenter:1,rotate:0,x:ne+Math.abs(te)*(ne>0?1:-1)/2,y:te/(1+W*W/(H*H)),outside:!0}}function D(U,G){var W,H,ne,te=U.trace,Z={x:U.cx,y:U.cy},X={tx:0,ty:0};X.ty+=te.title.font.size,ne=B(te),te.title.position.indexOf("top")!==-1?(Z.y-=(1+ne)*U.r,X.ty-=U.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(Z.y+=(1+ne)*U.r);var Q,re=U.r/((Q=U.trace.aspectratio)===void 0?1:Q),ie=G.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(ie+=re,Z.x-=(1+ne)*re,X.tx+=U.titleBox.width/2):te.title.position.indexOf("center")!==-1?ie*=2:te.title.position.indexOf("right")!==-1&&(ie+=re,Z.x+=(1+ne)*re,X.tx-=U.titleBox.width/2),W=ie/U.titleBox.width,H=F(U,G)/U.titleBox.height,{x:Z.x,y:Z.y,scale:Math.min(W,H),tx:X.tx,ty:X.ty}}function F(U,G){var W=U.trace,H=G.h*(W.domain.y[1]-W.domain.y[0]);return Math.min(U.titleBox.height,H/2)}function B(U){var G,W=U.pull;if(!W)return 0;if(Array.isArray(W))for(W=0,G=0;GW&&(W=U.pull[G]);return W}function N(U,G){for(var W=[],H=0;H1?Me=(_e=ce.r)/de.aspectratio:_e=(Me=ce.r)*de.aspectratio,Pe=(_e*=(1+de.baseratio)/2)*Me}pe=Math.min(pe,Pe/ce.vTotal)}for(ye=0;ye")}if(te){var me=h.castOption(ne,G.i,"texttemplate");if(me){var pe=function(Pe){return{label:Pe.label,value:Pe.v,valueLabel:p.formatPieValue(Pe.v,H.separators),percent:Pe.v/W.vTotal,percentLabel:p.formatPiePercent(Pe.v/W.vTotal,H.separators),color:Pe.color,text:Pe.text,customdata:h.castOption(ne,Pe.i,"customdata")}}(G),xe=p.getFirstFilled(ne.text,G.pts);(v(xe)||xe==="")&&(pe.text=xe),G.text=h.texttemplateString(me,pe,U._fullLayout._d3locale,pe,ne._meta||{})}else G.text=""}}function $(U,G){var W=U.rotate*Math.PI/180,H=Math.cos(W),ne=Math.sin(W),te=(G.left+G.right)/2,Z=(G.top+G.bottom)/2;U.textX=te*H-Z*ne,U.textY=te*ne+Z*H,U.noCenter=!0}k.exports={plot:function(U,G){var W=U._context.staticPlot,H=U._fullLayout,ne=H._size;f("pie",H),T(G,U),N(G,ne);var te=h.makeTraceGroups(H._pielayer,G,"trace").each(function(Z){var X=d.select(this),Q=Z[0],re=Q.trace;(function(ie){var oe,ue,ce,ye=ie[0],de=ye.r,me=ye.trace,pe=p.getRotationAngle(me.rotation),xe=2*Math.PI/ye.vTotal,Pe="px0",_e="px1";if(me.direction==="counterclockwise"){for(oe=0;oeye.vTotal/2?1:0,ue.halfangle=Math.PI*Math.min(ue.v/ye.vTotal,.5),ue.ring=1-me.hole,ue.rInscribed=I(ue,ye))})(Z),X.attr("stroke-linejoin","round"),X.each(function(){var ie=d.select(this).selectAll("g.slice").data(Z);ie.enter().append("g").classed("slice",!0),ie.exit().remove();var oe=[[[],[]],[[],[]]],ue=!1;ie.each(function(_e,Me){if(_e.hidden)d.select(this).selectAll("path,g").remove();else{_e.pointNumber=_e.i,_e.curveNumber=re.index,oe[_e.pxmid[1]<0?0:1][_e.pxmid[0]<0?0:1].push(_e);var Se=Q.cx,Ce=Q.cy,ae=d.select(this),he=ae.selectAll("path.surface").data([_e]);if(he.enter().append("path").classed("surface",!0).style({"pointer-events":W?"none":"all"}),ae.call(S,U,Z),re.pull){var be=+p.castOption(re.pull,_e.pts)||0;be>0&&(Se+=be*_e.pxmid[0],Ce+=be*_e.pxmid[1])}_e.cxFinal=Se,_e.cyFinal=Ce;var ke=re.hole;if(_e.v===Q.vTotal){var Le="M"+(Se+_e.px0[0])+","+(Ce+_e.px0[1])+we(_e.px0,_e.pxmid,!0,1)+we(_e.pxmid,_e.px0,!0,1)+"Z";ke?he.attr("d","M"+(Se+ke*_e.px0[0])+","+(Ce+ke*_e.px0[1])+we(_e.px0,_e.pxmid,!1,ke)+we(_e.pxmid,_e.px0,!1,ke)+"Z"+Le):he.attr("d",Le)}else{var Be=we(_e.px0,_e.px1,!0,1);if(ke){var ze=1-ke;he.attr("d","M"+(Se+ke*_e.px1[0])+","+(Ce+ke*_e.px1[1])+we(_e.px1,_e.px0,!1,ke)+"l"+ze*_e.px0[0]+","+ze*_e.px0[1]+Be+"Z")}else he.attr("d","M"+Se+","+Ce+"l"+_e.px0[0]+","+_e.px0[1]+Be+"Z")}j(U,_e,Q);var je=p.castOption(re.textposition,_e.pts),ge=ae.selectAll("g.slicetext").data(_e.text&&je!=="none"?[0]:[]);ge.enter().append("g").classed("slicetext",!0),ge.exit().remove(),ge.each(function(){var Ee=h.ensureSingle(d.select(this),"text","",function(Et){Et.attr("data-notex",1)}),Ve=h.ensureUniformFontSize(U,je==="outside"?function(Et,kt,xt){return{color:p.castOption(Et.outsidetextfont.color,kt.pts)||p.castOption(Et.textfont.color,kt.pts)||xt.color,family:p.castOption(Et.outsidetextfont.family,kt.pts)||p.castOption(Et.textfont.family,kt.pts)||xt.family,size:p.castOption(Et.outsidetextfont.size,kt.pts)||p.castOption(Et.textfont.size,kt.pts)||xt.size}}(re,_e,H.font):x(re,_e,H.font));Ee.text(_e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(g.font,Ve).call(u.convertToTspans,U);var $e,Ye=g.bBox(Ee.node());if(je==="outside")$e=R(Ye,_e);else if($e=C(Ye,_e,Q),je==="auto"&&$e.scale<1){var st=h.ensureUniformFontSize(U,re.outsidetextfont);Ee.call(g.font,st),$e=R(Ye=g.bBox(Ee.node()),_e)}var ot=$e.textPosAngle,ft=ot===void 0?_e.pxmid:q(Q.r,ot);if($e.targetX=Se+ft[0]*$e.rCenter+($e.x||0),$e.targetY=Ce+ft[1]*$e.rCenter+($e.y||0),$($e,Ye),$e.outside){var bt=$e.targetY;_e.yLabelMin=bt-Ye.height/2,_e.yLabelMid=bt,_e.yLabelMax=bt+Ye.height/2,_e.labelExtraX=0,_e.labelExtraY=0,ue=!0}$e.fontSize=Ve.size,s(re.type,$e,H),Z[Me].transform=$e,h.setTransormAndDisplay(Ee,$e)})}function we(Ee,Ve,$e,Ye){var st=Ye*(Ve[0]-Ee[0]),ot=Ye*(Ve[1]-Ee[1]);return"a"+Ye*Q.r+","+Ye*Q.r+" 0 "+_e.largeArc+($e?" 1 ":" 0 ")+st+","+ot}});var ce=d.select(this).selectAll("g.titletext").data(re.title.text?[0]:[]);if(ce.enter().append("g").classed("titletext",!0),ce.exit().remove(),ce.each(function(){var _e,Me=h.ensureSingle(d.select(this),"text","",function(Ce){Ce.attr("data-notex",1)}),Se=re.title.text;re._meta&&(Se=h.templateString(Se,re._meta)),Me.text(Se).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(g.font,re.title.font).call(u.convertToTspans,U),_e=re.title.position==="middle center"?function(Ce){var ae=Math.sqrt(Ce.titleBox.width*Ce.titleBox.width+Ce.titleBox.height*Ce.titleBox.height);return{x:Ce.cx,y:Ce.cy,scale:Ce.trace.hole*Ce.r*2/ae,tx:0,ty:-Ce.titleBox.height/2+Ce.trace.title.font.size}}(Q):D(Q,ne),Me.attr("transform",a(_e.x,_e.y)+l(Math.min(1,_e.scale))+a(_e.tx,_e.ty))}),ue&&function(_e,Me){var Se,Ce,ae,he,be,ke,Le,Be,ze,je,ge,we,Ee;function Ve(ot,ft){return ot.pxmid[1]-ft.pxmid[1]}function $e(ot,ft){return ft.pxmid[1]-ot.pxmid[1]}function Ye(ot,ft){ft||(ft={});var bt,Et,kt,xt,Ft=ft.labelExtraY+(Ce?ft.yLabelMax:ft.yLabelMin),Rt=Ce?ot.yLabelMin:ot.yLabelMax,Bt=Ce?ot.yLabelMax:ot.yLabelMin,Wt=ot.cyFinal+be(ot.px0[1],ot.px1[1]),Vt=Ft-Rt;if(Vt*Le>0&&(ot.labelExtraY=Vt),Array.isArray(Me.pull))for(Et=0;Et=(p.castOption(Me.pull,kt.pts)||0)||((ot.pxmid[1]-kt.pxmid[1])*Le>0?(Vt=kt.cyFinal+be(kt.px0[1],kt.px1[1])-Rt-ot.labelExtraY)*Le>0&&(ot.labelExtraY+=Vt):(Bt+ot.labelExtraY-Wt)*Le>0&&(bt=3*ke*Math.abs(Et-je.indexOf(ot)),(xt=kt.cxFinal+he(kt.px0[0],kt.px1[0])+bt-(ot.cxFinal+ot.pxmid[0])-ot.labelExtraX)*ke>0&&(ot.labelExtraX+=xt)))}for(Ce=0;Ce<2;Ce++)for(ae=Ce?Ve:$e,be=Ce?Math.max:Math.min,Le=Ce?1:-1,Se=0;Se<2;Se++){for(he=Se?Math.max:Math.min,ke=Se?1:-1,(Be=_e[Ce][Se]).sort(ae),ze=_e[1-Ce][Se],je=ze.concat(Be),we=[],ge=0;geMath.abs(Be)?be+="l"+Be*Se.pxmid[0]/Se.pxmid[1]+","+Be+"H"+(he+Se.labelExtraX+ke):be+="l"+Se.labelExtraX+","+Le+"v"+(Be-Le)+"h"+ke}else be+="V"+(Se.yLabelMid+Se.labelExtraY)+"h"+ke;h.ensureSingle(Ce,"path","textline").call(M.stroke,Me.outsidetextfont.color).attr({"stroke-width":Math.min(2,Me.outsidetextfont.size/8),d:be,fill:"none"})}else Ce.select("path.textline").remove()})}(ie,re),ue&&re.automargin){var ye=g.bBox(X.node()),de=re.domain,me=ne.w*(de.x[1]-de.x[0]),pe=ne.h*(de.y[1]-de.y[0]),xe=(.5*me-Q.r)/ne.w,Pe=(.5*pe-Q.r)/ne.h;y.autoMargin(U,"pie."+re.uid+".automargin",{xl:de.x[0]-xe,xr:de.x[1]+xe,yb:de.y[0]-Pe,yt:de.y[1]+Pe,l:Math.max(Q.cx-Q.r-ye.left,0),r:Math.max(ye.right-(Q.cx+Q.r),0),b:Math.max(ye.bottom-(Q.cy+Q.r),0),t:Math.max(Q.cy-Q.r-ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var Z=d.select(this);Z.attr("dy")&&Z.attr("dy",Z.attr("dy"))})},0)},formatSliceLabel:j,transformInsideText:C,determineInsideTextFont:x,positionTitleOutside:D,prerenderTitles:T,layoutAreas:N,attachFxHandlers:S,computeTransform:$}},68357:function(k,m,t){var d=t(39898),y=t(63463),i=t(72597).resizeText;k.exports=function(M){var g=M._fullLayout._pielayer.selectAll(".trace");i(M,g,"pie"),g.each(function(h){var l=h[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(y,u,l)})})}},63463:function(k,m,t){var d=t(7901),y=t(53581).castOption;k.exports=function(i,M,g){var h=g.marker.line,l=y(h.color,M.pts)||d.defaultLine,a=y(h.width,M.pts)||0;i.style("stroke-width",a).call(d.fill,M.color).call(d.stroke,l)}},10959:function(k,m,t){var d=t(82196);k.exports={x:d.x,y:d.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:d.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},42743:function(k,m,t){var d=t(9330).gl_pointcloud2d,y=t(78614),i=t(71739).findExtremes,M=t(34603);function g(l,a){this.scene=l,this.uid=a,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=d(l.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var h=g.prototype;h.handlePick=function(l){var a=this.idToIndex[l.pointId];return{trace:this,dataCoord:l.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*a],this.pickXYData[2*a+1]]:[this.pickXData[a],this.pickYData[a]],textLabel:Array.isArray(this.textLabels)?this.textLabels[a]:this.textLabels,color:this.color,name:this.name,pointIndex:a,hoverinfo:this.hoverinfo}},h.update=function(l){this.index=l.index,this.textLabels=l.text,this.name=l.name,this.hoverinfo=l.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(l),this.color=M(l,{})},h.updateFast=function(l){var a,u,o,s,f,c,p=this.xData=this.pickXData=l.x,w=this.yData=this.pickYData=l.y,v=this.pickXYData=l.xy,S=l.xbounds&&l.ybounds,x=l.indices,T=this.bounds;if(v){if(o=v,a=v.length>>>1,S)T[0]=l.xbounds[0],T[2]=l.xbounds[1],T[1]=l.ybounds[0],T[3]=l.ybounds[1];else for(c=0;cT[2]&&(T[2]=s),fT[3]&&(T[3]=f);if(x)u=x;else for(u=new Int32Array(a),c=0;cT[2]&&(T[2]=s),fT[3]&&(T[3]=f);this.idToIndex=u,this.pointcloudOptions.idToIndex=u,this.pointcloudOptions.positions=o;var C=y(l.marker.color),_=y(l.marker.border.color),A=l.opacity*l.marker.opacity;C[3]*=A,this.pointcloudOptions.color=C;var L=l.marker.blend;L===null&&(L=p.length<100||w.length<100),this.pointcloudOptions.blend=L,_[3]*=A,this.pointcloudOptions.borderColor=_;var b=l.marker.sizemin,O=Math.max(l.marker.sizemax,l.marker.sizemin);this.pointcloudOptions.sizeMin=b,this.pointcloudOptions.sizeMax=O,this.pointcloudOptions.areaRatio=l.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var I=this.scene.xaxis,R=this.scene.yaxis,D=O/2||.5;l._extremes[I._id]=i(I,[T[0],T[2]],{ppad:D}),l._extremes[R._id]=i(R,[T[1],T[3]],{ppad:D})},h.dispose=function(){this.pointcloud.dispose()},k.exports=function(l,a){var u=new g(l,a.uid);return u.update(a),u}},33876:function(k,m,t){var d=t(71828),y=t(10959);k.exports=function(i,M,g){function h(l,a){return d.coerce(i,M,y,l,a)}h("x"),h("y"),h("xbounds"),h("ybounds"),i.xy&&i.xy instanceof Float32Array&&(M.xy=i.xy),i.indices&&i.indices instanceof Int32Array&&(M.indices=i.indices),h("text"),h("marker.color",g),h("marker.opacity"),h("marker.blend"),h("marker.sizemin"),h("marker.sizemax"),h("marker.border.color",g),h("marker.border.arearatio"),M._length=null}},20593:function(k,m,t){k.exports={attributes:t(10959),supplyDefaults:t(33876),calc:t(36563),plot:t(42743),moduleType:"trace",name:"pointcloud",basePlotModule:t(4796),categories:["gl","gl2d","showLegend"],meta:{}}},39953:function(k,m,t){var d=t(41940),y=t(9012),i=t(22399),M=t(77914),g=t(27670).Y,h=t(5386).fF,l=t(50693),a=t(44467).templatedArray,u=t(12663).descriptionOnlyNumbers,o=t(1426).extendFlat,s=t(30962).overrideAll;(k.exports=s({hoverinfo:o({},y.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:M.hoverlabel,domain:g({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:u("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:d({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:h({},{keys:["value","label"]})},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:h({},{keys:["value","label"]}),colorscales:a("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:o(l().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},75536:function(k,m,t){var d=t(30962).overrideAll,y=t(27659).a0,i=t(60436),M=t(528),g=t(6964),h=t(28569),l=t(47322).prepSelect,a=t(71828),u=t(73972),o="sankey";function s(f,c){var p=f._fullData[c],w=f._fullLayout,v=w.dragmode,S=w.dragmode==="pan"?"move":"crosshair",x=p._bgRect;if(x&&v!=="pan"&&v!=="zoom"){g(x,S);var T={_id:"x",c2p:a.identity,_offset:p._sankey.translateX,_length:p._sankey.width},C={_id:"y",c2p:a.identity,_offset:p._sankey.translateY,_length:p._sankey.height},_={gd:f,element:x.node(),plotinfo:{id:c,xaxis:T,yaxis:C,fillRangeItems:a.noop},subplot:c,xaxes:[T],yaxes:[C],doneFnCompleted:function(A){var L,b=f._fullData[c],O=b.node.groups.slice(),I=[];function R(N){for(var q=b._sankey.graph.nodes,j=0;jL&&(L=c.source[s]),c.target[s]>L&&(L=c.target[s]);var b,O=L+1;o.node._count=O;var I=o.node.groups,R={};for(s=0;s0&&g(j,O)&&g($,O)&&(!R.hasOwnProperty(j)||!R.hasOwnProperty($)||R[j]!==R[$])){R.hasOwnProperty($)&&($=R[$]),R.hasOwnProperty(j)&&(j=R[j]),$=+$,S[j=+j]=S[$]=!0;var U="";c.label&&c.label[s]&&(U=c.label[s]);var G=null;U&&x.hasOwnProperty(U)&&(G=x[U]),p.push({pointNumber:s,label:U,color:w?c.color[s]:c.color,customdata:v?c.customdata[s]:c.customdata,concentrationscale:G,source:j,target:$,value:+q}),N.source.push(j),N.target.push($)}}var W=O+I.length,H=M(f.color),ne=M(f.customdata),te=[];for(s=0;sO-1,childrenNodes:[],pointNumber:s,label:Z,color:H?f.color[s]:f.color,customdata:ne?f.customdata[s]:f.customdata})}var X=!1;return function(Q,re,ie){for(var oe=y.init2dArray(Q,0),ue=0;ue1})}(W,N.source,N.target)&&(X=!0),{circular:X,links:p,nodes:te,groups:I,groupLookup:R}}(a);return i({circular:u.circular,_nodes:u.nodes,_links:u.links,_groups:u.groups,_groupLookup:u.groupLookup})}},85247:function(k){k.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},26857:function(k,m,t){var d=t(71828),y=t(39953),i=t(7901),M=t(84267),g=t(27670).c,h=t(38048),l=t(44467),a=t(85501);function u(o,s){function f(c,p){return d.coerce(o,s,y.link.colorscales,c,p)}f("label"),f("cmin"),f("cmax"),f("colorscale")}k.exports=function(o,s,f,c){function p(O,I){return d.coerce(o,s,y,O,I)}var w=d.extendDeep(c.hoverlabel,o.hoverlabel),v=o.node,S=l.newContainer(s,"node");function x(O,I){return d.coerce(v,S,y.node,O,I)}x("label"),x("groups"),x("x"),x("y"),x("pad"),x("thickness"),x("line.color"),x("line.width"),x("hoverinfo",o.hoverinfo),h(v,S,x,w),x("hovertemplate");var T=c.colorway;x("color",S.label.map(function(O,I){return i.addOpacity(function(R){return T[R%T.length]}(I),.8)})),x("customdata");var C=o.link||{},_=l.newContainer(s,"link");function A(O,I){return d.coerce(C,_,y.link,O,I)}A("label"),A("arrowlen"),A("source"),A("target"),A("value"),A("line.color"),A("line.width"),A("hoverinfo",o.hoverinfo),h(C,_,A,w),A("hovertemplate");var L,b=M(c.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";A("color",d.repeat(b,_.value.length)),A("customdata"),a(C,_,{name:"colorscales",handleItemDefaults:u}),g(s,c,p),p("orientation"),p("valueformat"),p("valuesuffix"),S.x.length&&S.y.length&&(L="freeform"),p("arrangement",L),d.coerceFont(p,"textfont",d.extendFlat({},c.font)),s._length=null}},29396:function(k,m,t){k.exports={attributes:t(39953),supplyDefaults:t(26857),calc:t(92930),plot:t(60436),moduleType:"trace",name:"sankey",basePlotModule:t(75536),selectPoints:t(84564),categories:["noOpacity"],meta:{}}},60436:function(k,m,t){var d=t(39898),y=t(71828),i=y.numberFormat,M=t(3393),g=t(30211),h=t(7901),l=t(85247).cn,a=y._;function u(C){return C!==""}function o(C,_){return C.filter(function(A){return A.key===_.traceId})}function s(C,_){d.select(C).select("path").style("fill-opacity",_),d.select(C).select("rect").style("fill-opacity",_)}function f(C){d.select(C).select("text.name").style("fill","black")}function c(C){return function(_){return C.node.sourceLinks.indexOf(_.link)!==-1||C.node.targetLinks.indexOf(_.link)!==-1}}function p(C){return function(_){return _.node.sourceLinks.indexOf(C.link)!==-1||_.node.targetLinks.indexOf(C.link)!==-1}}function w(C,_,A){_&&A&&o(A,_).selectAll("."+l.sankeyLink).filter(c(_)).call(S.bind(0,_,A,!1))}function v(C,_,A){_&&A&&o(A,_).selectAll("."+l.sankeyLink).filter(c(_)).call(x.bind(0,_,A,!1))}function S(C,_,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(O){if(!O.link.concentrationscale)return .4}),b&&o(_,C).selectAll("."+l.sankeyLink).filter(function(O){return O.link.label===b}).style("fill-opacity",function(O){if(!O.link.concentrationscale)return .4}),A&&o(_,C).selectAll("."+l.sankeyNode).filter(p(C)).call(w)}function x(C,_,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(O){return O.tinyColorAlpha}),b&&o(_,C).selectAll("."+l.sankeyLink).filter(function(O){return O.link.label===b}).style("fill-opacity",function(O){return O.tinyColorAlpha}),A&&o(_,C).selectAll(l.sankeyNode).filter(p(C)).call(v)}function T(C,_){var A=C.hoverlabel||{},L=y.nestedProperty(A,_).get();return!Array.isArray(L)&&L}k.exports=function(C,_){for(var A=C._fullLayout,L=A._paper,b=A._size,O=0;O"),color:T($,"bgcolor")||h.addOpacity(H.color,1),borderColor:T($,"bordercolor"),fontFamily:T($,"font.family"),fontSize:T($,"font.size"),fontColor:T($,"font.color"),nameLength:T($,"namelength"),textAlign:T($,"align"),idealAlign:d.event.x"),color:T($,"bgcolor")||j.tinyColorHue,borderColor:T($,"bordercolor"),fontFamily:T($,"font.family"),fontSize:T($,"font.size"),fontColor:T($,"font.color"),nameLength:T($,"namelength"),textAlign:T($,"align"),idealAlign:"left",hovertemplate:$.hovertemplate,hovertemplateLabels:Z,eventData:[j.node]},{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:C});s(re,.85),f(re)}}},unhover:function(q,j,$){C._fullLayout.hovermode!==!1&&(d.select(q).call(v,j,$),j.node.trace.node.hoverinfo!=="skip"&&(j.node.fullData=j.node.trace,C.emit("plotly_unhover",{event:d.event,points:[j.node]})),g.loneUnhover(A._hoverlayer.node()))},select:function(q,j,$){var U=j.node;U.originalEvent=d.event,C._hoverdata=[U],d.select(q).call(v,j,$),g.click(C,{target:!0})}}})}},3393:function(k,m,t){var d=t(49887),y=t(81684).k4,i=t(39898),M=t(30838),g=t(86781),h=t(85247),l=t(84267),a=t(7901),u=t(91424),o=t(71828),s=o.strTranslate,f=o.strRotate,c=t(28984),p=c.keyFun,w=c.repeat,v=c.unwrap,S=t(63893),x=t(73972),T=t(18783),C=T.CAP_SHIFT,_=T.LINE_SPACING;function A(W,H,ne){var te,Z=v(H),X=Z.trace,Q=X.domain,re=X.orientation==="h",ie=X.node.pad,oe=X.node.thickness,ue=W.width*(Q.x[1]-Q.x[0]),ce=W.height*(Q.y[1]-Q.y[0]),ye=Z._nodes,de=Z._links,me=Z.circular;(te=me?g.sankeyCircular().circularLinkGap(0):M.sankey()).iterations(h.sankeyIterations).size(re?[ue,ce]:[ce,ue]).nodeWidth(oe).nodePadding(ie).nodeId(function(ke){return ke.pointNumber}).nodes(ye).links(de);var pe,xe,Pe,_e=te();for(var Me in te.nodePadding()we+oe&&(ge+=1,Le=Ee.x0),we=Ee.x0,je[ge]||(je[ge]=[]),je[ge].push(Ee),Be=Le-Ee.x0,Ee.x0+=Be,Ee.x1+=Be}return je}(ye=_e.nodes).forEach(function(ke){var Le,Be,ze,je=0,ge=ke.length;for(ke.sort(function(we,Ee){return we.y0-Ee.y0}),ze=0;ze=je||(Be=je-Le.y0)>1e-6&&(Le.y0+=Be,Le.y1+=Be),je=Le.y1+ie}),te.update(_e)}return{circular:me,key:ne,trace:X,guid:o.randstr(),horizontal:re,width:ue,height:ce,nodePad:X.node.pad,nodeLineColor:X.node.line.color,nodeLineWidth:X.node.line.width,linkLineColor:X.link.line.color,linkLineWidth:X.link.line.width,linkArrowLength:X.link.arrowlen,valueFormat:X.valueformat,valueSuffix:X.valuesuffix,textFont:X.textfont,translateX:Q.x[0]*W.width+W.margin.l,translateY:W.height-Q.y[1]*W.height+W.margin.t,dragParallel:re?ce:ue,dragPerpendicular:re?ue:ce,arrangement:X.arrangement,sankey:te,graph:_e,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function L(W,H,ne){var te=l(H.color),Z=H.source.label+"|"+H.target.label+"__"+ne;return H.trace=W.trace,H.curveNumber=W.trace.index,{circular:W.circular,key:Z,traceId:W.key,pointNumber:H.pointNumber,link:H,tinyColorHue:a.tinyRGB(te),tinyColorAlpha:te.getAlpha(),linkPath:b,linkLineColor:W.linkLineColor,linkLineWidth:W.linkLineWidth,linkArrowLength:W.linkArrowLength,valueFormat:W.valueFormat,valueSuffix:W.valueSuffix,sankey:W.sankey,parent:W,interactionState:W.interactionState,flow:H.flow}}function b(){return function(W){var H=W.linkArrowLength;if(W.link.circular)return function(xe,Pe){var _e=xe.width/2,Me=xe.circularPathData;return xe.circularLinkType==="top"?"M "+(Me.targetX-Pe)+" "+(Me.targetY+_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 1 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 1 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 0 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 0 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY-_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z":"M "+(Me.targetX-Pe)+" "+(Me.targetY-_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 0 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 0 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 1 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 1 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY+_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z"}(W.link,H);var ne=Math.abs((W.link.target.x0-W.link.source.x1)/2);H>ne&&(H=ne);var te=W.link.source.x1,Z=W.link.target.x0-H,X=y(te,Z),Q=X(.5),re=X(.5),ie=W.link.y0-W.link.width/2,oe=W.link.y0+W.link.width/2,ue=W.link.y1-W.link.width/2,ce=W.link.y1+W.link.width/2,ye="M"+te+","+ie,de="C"+Q+","+ie+" "+re+","+ue+" "+Z+","+ue,me="C"+re+","+ce+" "+Q+","+oe+" "+te+","+oe,pe=H>0?"L"+(Z+H)+","+(ue+W.link.width/2):"";return ye+de+(pe+="L"+Z+","+ce)+me+"Z"}}function O(W,H){var ne=l(H.color),te=h.nodePadAcross,Z=W.nodePad/2;H.dx=H.x1-H.x0,H.dy=H.y1-H.y0;var X=H.dx,Q=Math.max(.5,H.dy),re="node_"+H.pointNumber;return H.group&&(re=o.randstr()),H.trace=W.trace,H.curveNumber=W.trace.index,{index:H.pointNumber,key:re,partOfGroup:H.partOfGroup||!1,group:H.group,traceId:W.key,trace:W.trace,node:H,nodePad:W.nodePad,nodeLineColor:W.nodeLineColor,nodeLineWidth:W.nodeLineWidth,textFont:W.textFont,size:W.horizontal?W.height:W.width,visibleWidth:Math.ceil(X),visibleHeight:Q,zoneX:-te,zoneY:-Z,zoneWidth:X+2*te,zoneHeight:Q+2*Z,labelY:W.horizontal?H.dy/2+1:H.dx/2+1,left:H.originalLayer===1,sizeAcross:W.width,forceLayouts:W.forceLayouts,horizontal:W.horizontal,darkBackground:ne.getBrightness()<=128,tinyColorHue:a.tinyRGB(ne),tinyColorAlpha:ne.getAlpha(),valueFormat:W.valueFormat,valueSuffix:W.valueSuffix,sankey:W.sankey,graph:W.graph,arrangement:W.arrangement,uniqueNodeLabelPathId:[W.guid,W.key,re].join("_"),interactionState:W.interactionState,figure:W}}function I(W){W.attr("transform",function(H){return s(H.node.x0.toFixed(3),H.node.y0.toFixed(3))})}function R(W){W.call(I)}function D(W,H){W.call(R),H.attr("d",b())}function F(W){W.attr("width",function(H){return H.node.x1-H.node.x0}).attr("height",function(H){return H.visibleHeight})}function B(W){return W.link.width>1||W.linkLineWidth>0}function N(W){return s(W.translateX,W.translateY)+(W.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function q(W,H,ne){W.on(".basic",null).on("mouseover.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.hover(this,te,H),te.interactionState.hovered=[this,te])}).on("mousemove.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.follow(this,te),te.interactionState.hovered=[this,te])}).on("mouseout.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.unhover(this,te,H),te.interactionState.hovered=!1)}).on("click.basic",function(te){te.interactionState.hovered&&(ne.unhover(this,te,H),te.interactionState.hovered=!1),te.interactionState.dragInProgress||te.partOfGroup||ne.select(this,te,H)})}function j(W,H,ne,te){var Z=i.behavior.drag().origin(function(X){return{x:X.node.x0+X.visibleWidth/2,y:X.node.y0+X.visibleHeight/2}}).on("dragstart",function(X){if(X.arrangement!=="fixed"&&(o.ensureSingle(te._fullLayout._infolayer,"g","dragcover",function(re){te._fullLayout._dragCover=re}),o.raiseToTop(this),X.interactionState.dragInProgress=X.node,U(X.node),X.interactionState.hovered&&(ne.nodeEvents.unhover.apply(0,X.interactionState.hovered),X.interactionState.hovered=!1),X.arrangement==="snap")){var Q=X.traceId+"|"+X.key;X.forceLayouts[Q]?X.forceLayouts[Q].alpha(1):function(re,ie,oe,ue){(function(ye){for(var de=0;de0&&pe.forceLayouts[de].alpha(0)}}(0,ie,ce,oe)).stop()}(0,Q,X),function(re,ie,oe,ue,ce){window.requestAnimationFrame(function ye(){var de;for(de=0;de0)window.requestAnimationFrame(ye);else{var me=oe.node.originalX;oe.node.x0=me-oe.visibleWidth/2,oe.node.x1=me+oe.visibleWidth/2,$(oe,ce)}})}(W,H,X,Q,te)}}).on("drag",function(X){if(X.arrangement!=="fixed"){var Q=i.event.x,re=i.event.y;X.arrangement==="snap"?(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2,X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2):(X.arrangement==="freeform"&&(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2),re=Math.max(0,Math.min(X.size-X.visibleHeight/2,re)),X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2),U(X.node),X.arrangement!=="snap"&&(X.sankey.update(X.graph),D(W.filter(G(X)),H))}}).on("dragend",function(X){if(X.arrangement!=="fixed"){X.interactionState.dragInProgress=!1;for(var Q=0;Qx&&j[C].gap;)C--;for(A=j[C].s,T=j.length-1;T>C;T--)j[T].s=A;for(;xD[f]&&f=0;f--){var c=M[f];if(c.type==="scatter"&&c.xaxis===o.xaxis&&c.yaxis===o.yaxis){c.opacity=void 0;break}}}}}},17438:function(k,m,t){var d=t(71828),y=t(73972),i=t(82196),M=t(47581),g=t(34098),h=t(67513),l=t(73927),a=t(565),u=t(49508),o=t(11058),s=t(94039),f=t(82410),c=t(28908),p=t(71828).coercePattern;k.exports=function(w,v,S,x){function T(R,D){return d.coerce(w,v,i,R,D)}var C=h(w,v,x,T);if(C||(v.visible=!1),v.visible){l(w,v,x,T),T("xhoverformat"),T("yhoverformat");var _=a(w,v,x,T);x.scattermode==="group"&&v.orientation===void 0&&T("orientation","v");var A=!_&&C=Math.min(me,pe)&&w<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(c.c2p(de.x)-w);return _e=Math.min(me,pe)&&v<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(p.c2p(de.y)-v);return _ece!=(te=U[j][1])>=ce&&(W=U[j-1][0],H=U[j][0],te-ne&&(G=W+(H-W)*(ce-ne)/(te-ne),re=Math.min(re,G),ie=Math.max(ie,G)));re=Math.max(re,0),ie=Math.min(ie,c._length);var ye=g.defaultLine;return g.opacity(f.fillcolor)?ye=f.fillcolor:g.opacity((f.line||{}).color)&&(ye=f.line.color),d.extendFlat(l,{distance:l.maxHoverDistance,x0:re,x1:ie,y0:ce,y1:ce,color:ye,hovertemplate:!1}),delete l.index,f.text&&!Array.isArray(f.text)?l.text=String(f.text):l.text=f.name,[l]}}}},67368:function(k,m,t){var d=t(34098);k.exports={hasLines:d.hasLines,hasMarkers:d.hasMarkers,hasText:d.hasText,isBubble:d.isBubble,attributes:t(82196),layoutAttributes:t(21479),supplyDefaults:t(17438),crossTraceDefaults:t(34936),supplyLayoutDefaults:t(79334),calc:t(47761).calc,crossTraceCalc:t(72626),arraysToCalcdata:t(75225),plot:t(32663),colorbar:t(4898),formatLabels:t(8225),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(33720),selectPoints:t(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(k){k.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(k,m,t){var d=t(71828),y=t(21479);k.exports=function(i,M){var g,h=M.barmode==="group";M.scattermode==="group"&&(g=h?M.bargap:.2,d.coerce(i,M,y,"scattergap",g))}},11058:function(k,m,t){var d=t(71828).isArrayOrTypedArray,y=t(52075).hasColorscale,i=t(1586);k.exports=function(M,g,h,l,a,u){u||(u={});var o=(M.marker||{}).color;a("line.color",h),y(M,"line")?i(M,g,l,a,{prefix:"line.",cLetter:"c"}):a("line.color",!d(o)&&o||h),a("line.width"),u.noDash||a("line.dash"),u.backoff&&a("line.backoff")}},34621:function(k,m,t){var d=t(91424),y=t(50606),i=y.BADNUM,M=y.LOG_CLIP,g=M+.5,h=M-.5,l=t(71828),a=l.segmentsIntersect,u=l.constrain,o=t(47581);k.exports=function(s,f){var c,p,w,v,S,x,T,C,_,A,L,b,O,I,R,D,F,B,N=f.trace||{},q=f.xaxis,j=f.yaxis,$=q.type==="log",U=j.type==="log",G=q._length,W=j._length,H=f.backoff,ne=N.marker,te=f.connectGaps,Z=f.baseTolerance,X=f.shape,Q=X==="linear",re=N.fill&&N.fill!=="none",ie=[],oe=o.minTolerance,ue=s.length,ce=new Array(ue),ye=0;function de(Vt){var Ke=s[Vt];if(!Ke)return!1;var Je=f.linearized?q.l2p(Ke.x):q.c2p(Ke.x),We=f.linearized?j.l2p(Ke.y):j.c2p(Ke.y);if(Je===i){if($&&(Je=q.c2p(Ke.x,!0)),Je===i)return!1;U&&We===i&&(Je*=Math.abs(q._m*W*(q._m>0?g:h)/(j._m*G*(j._m>0?g:h)))),Je*=1e3}if(We===i){if(U&&(We=j.c2p(Ke.y,!0)),We===i)return!1;We*=1e3}return[Je,We]}function me(Vt,Ke,Je,We){var nt=Je-Vt,ht=We-Ke,Oe=.5-Vt,Ne=.5-Ke,Qe=nt*nt+ht*ht,ut=nt*Oe+ht*Ne;if(ut>0&&utLe||Vt[1]ze)return[u(Vt[0],ke,Le),u(Vt[1],Be,ze)]}function we(Vt,Ke){return Vt[0]===Ke[0]&&(Vt[0]===ke||Vt[0]===Le)||Vt[1]===Ke[1]&&(Vt[1]===Be||Vt[1]===ze)||void 0}function Ee(Vt,Ke,Je){return function(We,nt){var ht=ge(We),Oe=ge(nt),Ne=[];if(ht&&Oe&&we(ht,Oe))return Ne;ht&&Ne.push(ht),Oe&&Ne.push(Oe);var Qe=2*l.constrain((We[Vt]+nt[Vt])/2,Ke,Je)-((ht||We)[Vt]+(Oe||nt)[Vt]);return Qe&&((ht&&Oe?Qe>0==ht[Vt]>Oe[Vt]?ht:Oe:ht||Oe)[Vt]+=Qe),Ne}}function Ve(Vt){var Ke=Vt[0],Je=Vt[1],We=Ke===ce[ye-1][0],nt=Je===ce[ye-1][1];if(!We||!nt)if(ye>1){var ht=Ke===ce[ye-2][0],Oe=Je===ce[ye-2][1];We&&(Ke===ke||Ke===Le)&&ht?Oe?ye--:ce[ye-1]=Vt:nt&&(Je===Be||Je===ze)&&Oe?ht?ye--:ce[ye-1]=Vt:ce[ye++]=Vt}else ce[ye++]=Vt}function $e(Vt){ce[ye-1][0]!==Vt[0]&&ce[ye-1][1]!==Vt[1]&&Ve([Me,Se]),Ve(Vt),Ce=null,Me=Se=0}X==="linear"||X==="spline"?he=function(Vt,Ke){for(var Je=[],We=0,nt=0;nt<4;nt++){var ht=je[nt],Oe=a(Vt[0],Vt[1],Ke[0],Ke[1],ht[0],ht[1],ht[2],ht[3]);Oe&&(!We||Math.abs(Oe.x-Je[0][0])>1||Math.abs(Oe.y-Je[0][1])>1)&&(Oe=[Oe.x,Oe.y],We&&xe(Oe,Vt)Le?Le:0,_e=Vt[1]ze?ze:0,Pe||_e){if(ye)if(Ce){var Ke=he(Ce,Vt);Ke.length>1&&($e(Ke[0]),ce[ye++]=Ke[1])}else ae=he(ce[ye-1],Vt)[0],ce[ye++]=ae;else ce[ye++]=[Pe||Vt[0],_e||Vt[1]];var Je=ce[ye-1];Pe&&_e&&(Je[0]!==Pe||Je[1]!==_e)?(Ce&&(Me!==Pe&&Se!==_e?Ve(Me&&Se?(We=Ce,ht=(nt=Vt)[0]-We[0],Oe=(nt[1]-We[1])/ht,(We[1]*nt[0]-nt[1]*We[0])/ht>0?[Oe>0?ke:Le,ze]:[Oe>0?Le:ke,Be]):[Me||Pe,Se||_e]):Me&&Se&&Ve([Me,Se])),Ve([Pe,_e])):Me-Pe&&Se-_e&&Ve([Pe||Me,_e||Se]),Ce=Vt,Me=Pe,Se=_e}else Ce&&$e(he(Ce,Vt)[0]),ce[ye++]=Vt;var We,nt,ht,Oe}for(c=0;cpe(x,ot))break;w=x,(O=_[0]*C[0]+_[1]*C[1])>L?(L=O,v=x,T=!1):O=s.length||!x)break;st(x),p=x}}else st(v)}Ce&&Ve([Me||Ce[0],Se||Ce[1]]),ie.push(ce.slice(0,ye))}var ft=X.slice(X.length-1);if(H&&ft!=="h"&&ft!=="v"){for(var bt=!1,Et=-1,kt=[],xt=0;xt=0?l=f:(l=f=s,s++),l0?Math.max(u,h):0}}},4898:function(k){k.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(k,m,t){var d=t(7901),y=t(52075).hasColorscale,i=t(1586),M=t(34098);k.exports=function(g,h,l,a,u,o){var s=M.isBubble(g),f=(g.line||{}).color;o=o||{},f&&(l=f),u("marker.symbol"),u("marker.opacity",s?.7:1),u("marker.size"),o.noAngle||(u("marker.angle"),o.noAngleRef||u("marker.angleref"),o.noStandOff||u("marker.standoff")),u("marker.color",l),y(g,"marker")&&i(g,h,a,u,{prefix:"marker.",cLetter:"c"}),o.noSelect||(u("selected.marker.color"),u("unselected.marker.color"),u("selected.marker.size"),u("unselected.marker.size")),o.noLine||(u("marker.line.color",f&&!Array.isArray(f)&&h.marker.color!==f?f:s?d.background:d.defaultLine),y(g,"marker.line")&&i(g,h,a,u,{prefix:"marker.line.",cLetter:"c"}),u("marker.line.width",s?1:0)),s&&(u("marker.sizeref"),u("marker.sizemin"),u("marker.sizemode")),o.gradient&&u("marker.gradient.type")!=="none"&&u("marker.gradient.color")}},73927:function(k,m,t){var d=t(71828).dateTick0,y=t(50606).ONEWEEK;function i(M,g){return d(g,M%y==0?1:0)}k.exports=function(M,g,h,l,a){if(a||(a={x:!0,y:!0}),a.x){var u=l("xperiod");u&&(l("xperiod0",i(u,g.xcalendar)),l("xperiodalignment"))}if(a.y){var o=l("yperiod");o&&(l("yperiod0",i(o,g.ycalendar)),l("yperiodalignment"))}}},32663:function(k,m,t){var d=t(39898),y=t(73972),i=t(71828),M=i.ensureSingle,g=i.identity,h=t(91424),l=t(34098),a=t(34621),u=t(68687),o=t(61082).tester;function s(f,c,p,w,v,S,x){var T,C=f._context.staticPlot;(function(he,be,ke,Le,Be){var ze=ke.xaxis,je=ke.yaxis,ge=d.extent(i.simpleMap(ze.range,ze.r2c)),we=d.extent(i.simpleMap(je.range,je.r2c)),Ee=Le[0].trace;if(l.hasMarkers(Ee)){var Ve=Ee.marker.maxdisplayed;if(Ve!==0){var $e=Le.filter(function(ft){return ft.x>=ge[0]&&ft.x<=ge[1]&&ft.y>=we[0]&&ft.y<=we[1]}),Ye=Math.ceil($e.length/Ve),st=0;Be.forEach(function(ft,bt){var Et=ft[0].trace;l.hasMarkers(Et)&&Et.marker.maxdisplayed>0&&bt0;function A(he){return _?he.transition():he}var L=p.xaxis,b=p.yaxis,O=w[0].trace,I=O.line,R=d.select(S),D=M(R,"g","errorbars"),F=M(R,"g","lines"),B=M(R,"g","points"),N=M(R,"g","text");if(y.getComponentMethod("errorbars","plot")(f,D,p,x),O.visible===!0){var q,j;A(R).style("opacity",O.opacity);var $=O.fill.charAt(O.fill.length-1);$!=="x"&&$!=="y"&&($=""),w[0][p.isRangePlot?"nodeRangePlot3":"node3"]=R;var U,G,W="",H=[],ne=O._prevtrace;ne&&(W=ne._prevRevpath||"",j=ne._nextFill,H=ne._polygons);var te,Z,X,Q,re,ie,oe,ue="",ce="",ye=[],de=i.noop;if(q=O._ownFill,l.hasLines(O)||O.fill!=="none"){for(j&&j.datum(w),["hv","vh","hvh","vhv"].indexOf(I.shape)!==-1?(te=h.steps(I.shape),Z=h.steps(I.shape.split("").reverse().join(""))):te=Z=I.shape==="spline"?function(he){var be=he[he.length-1];return he.length>1&&he[0][0]===be[0]&&he[0][1]===be[1]?h.smoothclosed(he.slice(1),I.smoothing):h.smoothopen(he,I.smoothing)}:function(he){return"M"+he.join("L")},X=function(he){return Z(he.reverse())},ye=a(w,{xaxis:L,yaxis:b,trace:O,connectGaps:O.connectgaps,baseTolerance:Math.max(I.width||1,3)/4,shape:I.shape,backoff:I.backoff,simplify:I.simplify,fill:O.fill}),oe=O._polygons=new Array(ye.length),T=0;T0,A=u(f,c,p);(x=w.selectAll("g.trace").data(A,function(L){return L[0].trace.uid})).enter().append("g").attr("class",function(L){return"trace scatter trace"+L[0].trace.uid}).style("stroke-miterlimit",2),x.order(),function(L,b,O){b.each(function(I){var R=M(d.select(this),"g","fills");h.setClipUrl(R,O.layerClipId,L);var D=I[0].trace,F=[];D._ownfill&&F.push("_ownFill"),D._nexttrace&&F.push("_nextFill");var B=R.selectAll("g").data(F,g);B.enter().append("g"),B.exit().each(function(N){D[N]=null}).remove(),B.order().each(function(N){D[N]=M(d.select(this),"path","js-fill")})})}(f,x,c),_?(S&&(T=S()),d.transition().duration(v.duration).ease(v.easing).each("end",function(){T&&T()}).each("interrupt",function(){T&&T()}).each(function(){w.selectAll("g.trace").each(function(L,b){s(f,b,c,L,A,this,v)})})):x.each(function(L,b){s(f,b,c,L,A,this,v)}),C&&x.exit().remove(),w.selectAll("path:not([d])").remove()}},98002:function(k,m,t){var d=t(34098);k.exports=function(y,i){var M,g,h,l,a=y.cd,u=y.xaxis,o=y.yaxis,s=[],f=a[0].trace;if(!d.hasMarkers(f)&&!d.hasText(f))return[];if(i===!1)for(M=0;M0){var p=h.c2l(f);h._lowerLogErrorBound||(h._lowerLogErrorBound=p),h._lowerErrorBound=Math.min(h._lowerLogErrorBound,p)}}else a[u]=[-o[0]*g,o[1]*g]}return a}k.exports=function(i,M,g){var h=[y(i.x,i.error_x,M[0],g.xaxis),y(i.y,i.error_y,M[1],g.yaxis),y(i.z,i.error_z,M[2],g.zaxis)],l=function(c){for(var p=0;p-1?-1:b.indexOf("right")>-1?1:0}function x(b){return b==null?0:b.indexOf("top")>-1?-1:b.indexOf("bottom")>-1?1:0}function T(b,O){return O(4*b)}function C(b){return s[b]}function _(b,O,I,R,D){var F=null;if(h.isArrayOrTypedArray(b)){F=[];for(var B=0;B=0){var j=function($,U,G){var W,H=(G+1)%3,ne=(G+2)%3,te=[],Z=[];for(W=0;W<$.length;++W){var X=$[W];!isNaN(X[H])&&isFinite(X[H])&&!isNaN(X[ne])&&isFinite(X[ne])&&(te.push([X[H],X[ne]]),Z.push(W))}var Q=g(te);for(W=0;W=0&&f("surfacecolor",p||w);for(var v=["x","y","z"],S=0;S<3;++S){var x="projection."+v[S];f(x+".show")&&(f(x+".opacity"),f(x+".scale"))}var T=d.getComponentMethod("errorbars","supplyDefaults");T(a,u,p||w||o,{axis:"z"}),T(a,u,p||w||o,{axis:"y",inherit:"z"}),T(a,u,p||w||o,{axis:"x",inherit:"z"})}else u.visible=!1}},13551:function(k,m,t){k.exports={plot:t(58925),attributes:t(44542),markerSymbols:t(87381),supplyDefaults:t(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t(36563),moduleType:"trace",name:"scatter3d",basePlotModule:t(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(k,m,t){var d=t(82196),y=t(9012),i=t(5386).fF,M=t(5386).si,g=t(50693),h=t(1426).extendFlat,l=d.marker,a=d.line,u=l.line;k.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:h({},d.mode,{dflt:"markers"}),text:h({},d.text,{}),texttemplate:M({editType:"plot"},{keys:["a","b","text"]}),hovertext:h({},d.hovertext,{}),line:{color:a.color,width:a.width,dash:a.dash,backoff:a.backoff,shape:h({},a.shape,{values:["linear","spline"]}),smoothing:a.smoothing,editType:"calc"},connectgaps:d.connectgaps,fill:h({},d.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:d.fillcolor,marker:h({symbol:l.symbol,opacity:l.opacity,maxdisplayed:l.maxdisplayed,angle:l.angle,angleref:l.angleref,standoff:l.standoff,size:l.size,sizeref:l.sizeref,sizemin:l.sizemin,sizemode:l.sizemode,line:h({width:u.width,editType:"calc"},g("marker.line")),gradient:l.gradient,editType:"calc"},g("marker")),textfont:d.textfont,textposition:d.textposition,selected:d.selected,unselected:d.unselected,hoverinfo:h({},y.hoverinfo,{flags:["a","b","text","name"]}),hoveron:d.hoveron,hovertemplate:i()}},34618:function(k,m,t){var d=t(92770),y=t(36922),i=t(75225),M=t(66279),g=t(47761).calcMarkerSize,h=t(22882);k.exports=function(l,a){var u=a._carpetTrace=h(l,a);if(u&&u.visible&&u.visible!=="legendonly"){var o;a.xaxis=u.xaxis,a.yaxis=u.yaxis;var s,f,c=a._length,p=new Array(c),w=!1;for(o=0;o")}return l}function T(C,_){var A;A=C.labelprefix&&C.labelprefix.length>0?C.labelprefix.replace(/ = $/,""):C._hovertitle,S.push(A+": "+_.toFixed(3)+C.labelsuffix)}}},46858:function(k,m,t){k.exports={attributes:t(97001),supplyDefaults:t(98965),colorbar:t(4898),formatLabels:t(48953),calc:t(34618),plot:t(1913),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(22931),selectPoints:t(98002),eventData:t(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:t(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(k,m,t){var d=t(32663),y=t(89298),i=t(91424);k.exports=function(M,g,h,l){var a,u,o,s=h[0][0].carpet,f=y.getFromId(M,s.xaxis||"x"),c=y.getFromId(M,s.yaxis||"y"),p={xaxis:f,yaxis:c,plot:g.plot};for(a=0;a")}function j($){return $+"ยฐ"}}(o,v,h,u[0].t.labels),h.hovertemplate=o.hovertemplate,[h]}}},17988:function(k,m,t){k.exports={attributes:t(19316),supplyDefaults:t(10659),colorbar:t(4898),formatLabels:t(82719),calc:t(84622),calcGeoJSON:t(89171).calcGeoJSON,plot:t(89171).plot,style:t(33095),styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(14977),eventData:t(84084),selectPoints:t(20548),moduleType:"trace",name:"scattergeo",basePlotModule:t(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(k,m,t){var d=t(39898),y=t(71828),i=t(90973).getTopojsonFeatures,M=t(18214),g=t(41327),h=t(71739).findExtremes,l=t(50606).BADNUM,a=t(47761).calcMarkerSize,u=t(34098),o=t(33095);k.exports={calcGeoJSON:function(s,f){var c,p,w=s[0].trace,v=f[w.geo],S=v._subplot,x=w._length;if(Array.isArray(w.locations)){var T=w.locationmode,C=T==="geojson-id"?g.extractTraceFeature(s):i(w,S.topojson);for(c=0;c=p,O=2*L,I={},R=C.makeCalcdata(S,"x"),D=_.makeCalcdata(S,"y"),F=g(S,C,"x",R),B=g(S,_,"y",D),N=F.vals,q=B.vals;S._x=N,S._y=q,S.xperiodalignment&&(S._origX=R,S._xStarts=F.starts,S._xEnds=F.ends),S.yperiodalignment&&(S._origY=D,S._yStarts=B.starts,S._yEnds=B.ends);var j=new Array(O),$=new Array(L);for(x=0;x1&&y.extendFlat(re.line,s.linePositions(H,te,Z)),re.errorX||re.errorY){var ie=s.errorBarPositions(H,te,Z,X,Q);re.errorX&&y.extendFlat(re.errorX,ie.x),re.errorY&&y.extendFlat(re.errorY,ie.y)}return re.text&&(y.extendFlat(re.text,{positions:Z},s.textPosition(H,te,re.text,re.marker)),y.extendFlat(re.textSel,{positions:Z},s.textPosition(H,te,re.text,re.markerSel)),y.extendFlat(re.textUnsel,{positions:Z},s.textPosition(H,te,re.text,re.markerUnsel))),re}(v,0,S,j,N,q),W=f(v,A);return u(T,S),b?G.marker&&(U=G.marker.sizeAvg||Math.max(G.marker.size,3)):U=l(S,L),a(v,S,C,_,N,q,U),G.errorX&&w(S,C,G.errorX),G.errorY&&w(S,_,G.errorY),G.fill&&!W.fill2d&&(W.fill2d=!0),G.marker&&!W.scatter2d&&(W.scatter2d=!0),G.line&&!W.line2d&&(W.line2d=!0),!G.errorX&&!G.errorY||W.error2d||(W.error2d=!0),G.text&&!W.glText&&(W.glText=!0),G.marker&&(G.marker.snap=L),W.lineOptions.push(G.line),W.errorXOptions.push(G.errorX),W.errorYOptions.push(G.errorY),W.fillOptions.push(G.fill),W.markerOptions.push(G.marker),W.markerSelectedOptions.push(G.markerSel),W.markerUnselectedOptions.push(G.markerUnsel),W.textOptions.push(G.text),W.textSelectedOptions.push(G.textSel),W.textUnselectedOptions.push(G.textUnsel),W.selectBatch.push([]),W.unselectBatch.push([]),I._scene=W,I.index=W.count,I.x=N,I.y=q,I.positions=j,W.count++,[{x:!1,y:!1,t:I,trace:S}]}},78232:function(k){k.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},19635:function(k,m,t){var d=t(92770),y=t(82019),i=t(25075),M=t(73972),g=t(71828),h=t(91424),l=t(41675),a=t(81697).formatColor,u=t(34098),o=t(39984),s=t(68645),f=t(78232),c=t(37822).DESELECTDIM,p={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},w=t(23469).appendArrayPointValue;function v(R,D){var F,B=R._fullLayout,N=D._length,q=D.textfont,j=D.textposition,$=Array.isArray(j)?j:[j],U=q.color,G=q.size,W=q.family,H={},ne=R._context.plotGlPixelRatio,te=D.texttemplate;if(te){H.text=[];var Z=B._d3locale,X=Array.isArray(te),Q=X?Math.min(te.length,N):N,re=X?function(me){return te[me]}:function(){return te};for(F=0;Ff.TOO_MANY_POINTS||u.hasMarkers(D)?"rect":"round";if(G&&D.connectgaps){var H=B[0],ne=B[1];for(N=0;N1?U[N]:U[0]:U,te=Array.isArray(G)?G.length>1?G[N]:G[0]:G,Z=p[ne],X=p[te],Q=W?W/.8+1:0,re=-X*Q-.5*X;j.offset[N]=[Z*Q/H,re/H]}}return j}}},47148:function(k,m,t){var d=t(71828),y=t(73972),i=t(68645),M=t(42341),g=t(47581),h=t(34098),l=t(67513),a=t(73927),u=t(49508),o=t(11058),s=t(28908),f=t(82410);k.exports=function(c,p,w,v){function S(O,I){return d.coerce(c,p,M,O,I)}var x=!!c.marker&&i.isOpenSymbol(c.marker.symbol),T=h.isBubble(c),C=l(c,p,v,S);if(C){a(c,p,v,S),S("xhoverformat"),S("yhoverformat");var _=C100},m.isDotSymbol=function(y){return typeof y=="string"?d.DOT_RE.test(y):y>200}},20794:function(k,m,t){var d=t(73972),y=t(71828),i=t(34603);function M(g,h,l,a){var u=g.xa,o=g.ya,s=g.distance,f=g.dxy,c=g.index,p={pointNumber:c,x:h[c],y:l[c]};p.tx=Array.isArray(a.text)?a.text[c]:a.text,p.htx=Array.isArray(a.hovertext)?a.hovertext[c]:a.hovertext,p.data=Array.isArray(a.customdata)?a.customdata[c]:a.customdata,p.tp=Array.isArray(a.textposition)?a.textposition[c]:a.textposition;var w=a.textfont;w&&(p.ts=y.isArrayOrTypedArray(w.size)?w.size[c]:w.size,p.tc=Array.isArray(w.color)?w.color[c]:w.color,p.tf=Array.isArray(w.family)?w.family[c]:w.family);var v=a.marker;v&&(p.ms=y.isArrayOrTypedArray(v.size)?v.size[c]:v.size,p.mo=y.isArrayOrTypedArray(v.opacity)?v.opacity[c]:v.opacity,p.mx=y.isArrayOrTypedArray(v.symbol)?v.symbol[c]:v.symbol,p.ma=y.isArrayOrTypedArray(v.angle)?v.angle[c]:v.angle,p.mc=y.isArrayOrTypedArray(v.color)?v.color[c]:v.color);var S=v&&v.line;S&&(p.mlc=Array.isArray(S.color)?S.color[c]:S.color,p.mlw=y.isArrayOrTypedArray(S.width)?S.width[c]:S.width);var x=v&&v.gradient;x&&x.type!=="none"&&(p.mgt=Array.isArray(x.type)?x.type[c]:x.type,p.mgc=Array.isArray(x.color)?x.color[c]:x.color);var T=u.c2p(p.x,!0),C=o.c2p(p.y,!0),_=p.mrc||1,A=a.hoverlabel;A&&(p.hbg=Array.isArray(A.bgcolor)?A.bgcolor[c]:A.bgcolor,p.hbc=Array.isArray(A.bordercolor)?A.bordercolor[c]:A.bordercolor,p.hts=y.isArrayOrTypedArray(A.font.size)?A.font.size[c]:A.font.size,p.htc=Array.isArray(A.font.color)?A.font.color[c]:A.font.color,p.htf=Array.isArray(A.font.family)?A.font.family[c]:A.font.family,p.hnl=y.isArrayOrTypedArray(A.namelength)?A.namelength[c]:A.namelength);var L=a.hoverinfo;L&&(p.hi=Array.isArray(L)?L[c]:L);var b=a.hovertemplate;b&&(p.ht=Array.isArray(b)?b[c]:b);var O={};O[g.index]=p;var I=a._origX,R=a._origY,D=y.extendFlat({},g,{color:i(a,p),x0:T-_,x1:T+_,xLabelVal:I?I[c]:p.x,y0:C-_,y1:C+_,yLabelVal:R?R[c]:p.y,cd:O,distance:s,spikeDistance:f,hovertemplate:p.ht});return p.htx?D.text=p.htx:p.tx?D.text=p.tx:a.text&&(D.text=a.text),y.fillText(p,a,D),d.getComponentMethod("errorbars","hoverInfo")(p,a,D),D}k.exports={hoverPoints:function(g,h,l,a){var u,o,s,f,c,p,w,v,S,x,T=g.cd,C=T[0].t,_=T[0].trace,A=g.xa,L=g.ya,b=C.x,O=C.y,I=A.c2p(h),R=L.c2p(l),D=g.distance;if(C.tree){var F=A.p2c(I-D),B=A.p2c(I+D),N=L.p2c(R-D),q=L.p2c(R+D);u=a==="x"?C.tree.range(Math.min(F,B),Math.min(L._rl[0],L._rl[1]),Math.max(F,B),Math.max(L._rl[0],L._rl[1])):C.tree.range(Math.min(F,B),Math.min(N,q),Math.max(F,B),Math.max(N,q))}else u=C.ids;var j=D;if(a==="x"){var $=!!_.xperiodalignment,U=!!_.yperiodalignment;for(p=0;p=Math.min(G,W)&&I<=Math.max(G,W)?0:1/0}if(w=Math.min(H,ne)&&R<=Math.max(H,ne)?0:1/0}x=Math.sqrt(w*w+v*v),s=u[p]}}}else for(p=u.length-1;p>-1;p--)f=b[o=u[p]],c=O[o],w=A.c2p(f)-I,v=L.c2p(c)-R,(S=Math.sqrt(w*w+v*v))T.glText.length){var b=A-T.glText.length;for(v=0;vue&&(isNaN(oe[ce])||isNaN(oe[ce+1]));)ce-=2;ie.positions=oe.slice(ue,ce+2)}return ie}),T.line2d.update(T.lineOptions)),T.error2d){var I=(T.errorXOptions||[]).concat(T.errorYOptions||[]);T.error2d.update(I)}T.scatter2d&&T.scatter2d.update(T.markerOptions),T.fillOrder=g.repeat(null,A),T.fill2d&&(T.fillOptions=T.fillOptions.map(function(ie,oe){var ue=w[oe];if(ie&&ue&&ue[0]&&ue[0].trace){var ce,ye,de=ue[0],me=de.trace,pe=de.t,xe=T.lineOptions[oe],Pe=[];me._ownfill&&Pe.push(oe),me._nexttrace&&Pe.push(oe+1),Pe.length&&(T.fillOrder[oe]=Pe);var _e,Me,Se=[],Ce=xe&&xe.positions||pe.positions;if(me.fill==="tozeroy"){for(_e=0;_e_e&&isNaN(Ce[Me+1]);)Me-=2;Ce[_e+1]!==0&&(Se=[Ce[_e],0]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me+1]!==0&&(Se=Se.concat([Ce[Me],0]))}else if(me.fill==="tozerox"){for(_e=0;_e_e&&isNaN(Ce[Me]);)Me-=2;Ce[_e]!==0&&(Se=[0,Ce[_e+1]]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me]!==0&&(Se=Se.concat([0,Ce[Me+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(Se=[],ce=0,ie.splitNull=!0,ye=0;ye-1;for(v=0;v")}function S(x){return x+"ยฐ"}}k.exports={hoverPoints:function(a,u,o){var s=a.cd,f=s[0].trace,c=a.xa,p=a.ya,w=a.subplot,v=[],S=h+f.uid+"-circle",x=f.cluster&&f.cluster.enabled;if(x){var T=w.map.queryRenderedFeatures(null,{layers:[S]});v=T.map(function(B){return B.id})}var C=360*(u>=0?Math.floor((u+180)/360):Math.ceil((u-180)/360)),_=u-C;if(d.getClosest(s,function(B){var N=B.lonlat;if(N[0]===g||x&&v.indexOf(B.i+1)===-1)return 1/0;var q=y.modHalf(N[0],360),j=N[1],$=w.project([q,j]),U=$.x-c.c2p([_,j]),G=$.y-p.c2p([q,o]),W=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(U*U+G*G)-W,1-3/W)},a),a.index!==!1){var A=s[a.index],L=A.lonlat,b=[y.modHalf(L[0],360)+C,L[1]],O=c.c2p(b),I=p.c2p(b),R=A.mrc||1;a.x0=O-R,a.x1=O+R,a.y0=I-R,a.y1=I+R;var D={};D[f.subplot]={_subplot:w};var F=f._module.formatLabels(A,f,D);return a.lonLabel=F.lonLabel,a.latLabel=F.latLabel,a.color=i(f,A),a.extraText=l(f,A,s[0].t.labels),a.hovertemplate=f.hovertemplate,[a]}},getExtraText:l}},20467:function(k,m,t){k.exports={attributes:t(99181),supplyDefaults:t(76645),colorbar:t(4898),formatLabels:t(15636),calc:t(84622),plot:t(86951),hoverPoints:t(28178).hoverPoints,eventData:t(53353),selectPoints:t(86387),styleOnSelect:function(d,y){y&&y[0].trace._glTrace.update(y)},moduleType:"trace",name:"scattermapbox",basePlotModule:t(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(k,m,t){var d=t(71828),y=t(15790),i=t(77734).traceLayerPrefix,M={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function g(l,a,u,o){this.type="scattermapbox",this.subplot=l,this.uid=a,this.clusterEnabled=u,this.isHidden=o,this.sourceIds={fill:"source-"+a+"-fill",line:"source-"+a+"-line",circle:"source-"+a+"-circle",symbol:"source-"+a+"-symbol",cluster:"source-"+a+"-circle",clusterCount:"source-"+a+"-circle"},this.layerIds={fill:i+a+"-fill",line:i+a+"-line",circle:i+a+"-circle",symbol:i+a+"-symbol",cluster:i+a+"-cluster",clusterCount:i+a+"-cluster-count"},this.below=null}var h=g.prototype;h.addSource=function(l,a,u){var o={type:"geojson",data:a.geojson};u&&u.enabled&&d.extendFlat(o,{cluster:!0,clusterMaxZoom:u.maxzoom});var s=this.subplot.map.getSource(this.sourceIds[l]);s?s.setData(a.geojson):this.subplot.map.addSource(this.sourceIds[l],o)},h.setSourceData=function(l,a){this.subplot.map.getSource(this.sourceIds[l]).setData(a.geojson)},h.addLayer=function(l,a,u){var o={type:a.type,id:this.layerIds[l],source:this.sourceIds[l],layout:a.layout,paint:a.paint};a.filter&&(o.filter=a.filter);for(var s,f=this.layerIds[l],c=this.subplot.getMapLayers(),p=0;p=0;b--){var O=L[b];o.removeLayer(w.layerIds[O])}A||o.removeSource(w.sourceIds.circle)}(_):function(A){for(var L=M.nonCluster,b=L.length-1;b>=0;b--){var O=L[b];o.removeLayer(w.layerIds[O]),A||o.removeSource(w.sourceIds[O])}}(_)}function S(_){c?function(A){A||w.addSource("circle",s.circle,a.cluster);for(var L=M.cluster,b=0;b=0;u--){var o=a[u];l.removeLayer(this.layerIds[o]),l.removeSource(this.sourceIds[o])}},k.exports=function(l,a){var u,o,s,f=a[0].trace,c=f.cluster&&f.cluster.enabled,p=f.visible!==!0,w=new g(l,f.uid,c,p),v=y(l.gd,a),S=w.below=l.belowLookup["trace-"+f.uid];if(c)for(w.addSource("circle",v.circle,f.cluster),u=0;u")}}k.exports={hoverPoints:function(i,M,g,h){var l=d(i,M,g,h);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,y(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:y}},91271:function(k,m,t){k.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:t(81245),supplyDefaults:t(22184).supplyDefaults,colorbar:t(4898),formatLabels:t(98608),calc:t(26442),plot:t(45162),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(59150).hoverPoints,selectPoints:t(98002),meta:{}}},45162:function(k,m,t){var d=t(32663),y=t(50606).BADNUM;k.exports=function(i,M,g){for(var h=M.layers.frontplot.select("g.scatterlayer"),l=M.xaxis,a=M.yaxis,u={xaxis:l,yaxis:a,plot:M.framework,layerClipId:M._hasClipOnAxisFalse?M.clipIds.forTraces:null},o=M.radialAxis,s=M.angularAxis,f=0;f=l&&(A.marker.cluster=x.tree),A.marker&&(A.markerSel.positions=A.markerUnsel.positions=A.marker.positions=O),A.line&&O.length>1&&h.extendFlat(A.line,g.linePositions(a,S,O)),A.text&&(h.extendFlat(A.text,{positions:O},g.textPosition(a,S,A.text,A.marker)),h.extendFlat(A.textSel,{positions:O},g.textPosition(a,S,A.text,A.markerSel)),h.extendFlat(A.textUnsel,{positions:O},g.textPosition(a,S,A.text,A.markerUnsel))),A.fill&&!c.fill2d&&(c.fill2d=!0),A.marker&&!c.scatter2d&&(c.scatter2d=!0),A.line&&!c.line2d&&(c.line2d=!0),A.text&&!c.glText&&(c.glText=!0),c.lineOptions.push(A.line),c.fillOptions.push(A.fill),c.markerOptions.push(A.marker),c.markerSelectedOptions.push(A.markerSel),c.markerUnselectedOptions.push(A.markerUnsel),c.textOptions.push(A.text),c.textSelectedOptions.push(A.textSel),c.textUnselectedOptions.push(A.textUnsel),c.selectBatch.push([]),c.unselectBatch.push([]),x.x=I,x.y=R,x.rawx=I,x.rawy=R,x.r=C,x.theta=_,x.positions=O,x._scene=c,x.index=c.count,c.count++}}),i(a,u,o)}},k.exports.reglPrecompiled={}},48300:function(k,m,t){var d=t(5386).fF,y=t(5386).si,i=t(1426).extendFlat,M=t(82196),g=t(9012),h=M.line;k.exports={mode:M.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:M.text,texttemplate:y({editType:"plot"},{keys:["real","imag","text"]}),hovertext:M.hovertext,line:{color:h.color,width:h.width,dash:h.dash,backoff:h.backoff,shape:i({},h.shape,{values:["linear","spline"]}),smoothing:h.smoothing,editType:"calc"},connectgaps:M.connectgaps,marker:M.marker,cliponaxis:i({},M.cliponaxis,{dflt:!1}),textposition:M.textposition,textfont:M.textfont,fill:i({},M.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:M.fillcolor,hoverinfo:i({},g.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:M.hoveron,hovertemplate:d(),selected:M.selected,unselected:M.unselected}},30621:function(k,m,t){var d=t(92770),y=t(50606).BADNUM,i=t(36922),M=t(75225),g=t(66279),h=t(47761).calcMarkerSize;k.exports=function(l,a){for(var u=l._fullLayout,o=a.subplot,s=u[o].realaxis,f=u[o].imaginaryaxis,c=s.makeCalcdata(a,"real"),p=f.makeCalcdata(a,"imag"),w=a._length,v=new Array(w),S=0;S")}}k.exports={hoverPoints:function(i,M,g,h){var l=d(i,M,g,h);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,y(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:y}},85956:function(k,m,t){k.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:t(48300),supplyDefaults:t(65269),colorbar:t(4898),formatLabels:t(62047),calc:t(30621),plot:t(12480),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(11350).hoverPoints,selectPoints:t(98002),meta:{}}},12480:function(k,m,t){var d=t(32663),y=t(50606).BADNUM,i=t(23893).smith;k.exports=function(M,g,h){for(var l=g.layers.frontplot.select("g.scatterlayer"),a=g.xaxis,u=g.yaxis,o={xaxis:a,yaxis:u,plot:g.framework,layerClipId:g._hasClipOnAxisFalse?g.clipIds.forTraces:null},s=0;s"),l.hovertemplate=c.hovertemplate,h}function C(_,A){x.push(_._hovertitle+": "+A)}}},52979:function(k,m,t){k.exports={attributes:t(50413),supplyDefaults:t(46008),colorbar:t(4898),formatLabels:t(93645),calc:t(54337),plot:t(7507),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(47250),selectPoints:t(98002),eventData:t(4524),moduleType:"trace",name:"scatterternary",basePlotModule:t(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(k,m,t){var d=t(32663);k.exports=function(y,i,M){var g=i.plotContainer;g.select(".scatterlayer").selectAll("*").remove();for(var h=i.xaxis,l=i.yaxis,a={xaxis:h,yaxis:l,plot:g,layerClipId:i._hasClipOnAxisFalse?i.clipIdRelative:null},u=i.layers.frontplot.select("g.scatterlayer"),o=0;oo?_.sizeAvg||Math.max(_.size,3):i(f,C),p=0;pO&&D||b-1,j=!0;if(M(_)||w.selectedpoints||q){var $=w._length;if(w.selectedpoints){S.selectBatch=w.selectedpoints;var U=w.selectedpoints,G={};for(o=0;o1&&(p=T[A-1],v=C[A-1],x=_[A-1]),l=0;lp?"-":"+")+"x")).replace("y",(w>v?"-":"+")+"y")).replace("z",(S>x?"-":"+")+"z");var j=function(){A=0,B=[],N=[],q=[]};(!A||A2?c.slice(1,p-1):p===2?[(c[0]+c[1])/2]:c}function s(c){var p=c.length;return p===1?[.5,.5]:[c[1]-c[0],c[p-1]-c[p-2]]}function f(c,p){var w=c.fullSceneLayout,v=c.dataScale,S=p._len,x={};function T(te,Z){var X=w[Z],Q=v[l[Z]];return i.simpleMap(te,function(re){return X.d2l(re)*Q})}if(x.vectors=h(T(p._u,"xaxis"),T(p._v,"yaxis"),T(p._w,"zaxis"),S),!S)return{positions:[],cells:[]};var C=T(p._Xs,"xaxis"),_=T(p._Ys,"yaxis"),A=T(p._Zs,"zaxis");if(x.meshgrid=[C,_,A],x.gridFill=p._gridFill,p._slen)x.startingPositions=h(T(p._startsX,"xaxis"),T(p._startsY,"yaxis"),T(p._startsZ,"zaxis"));else{for(var L=_[0],b=o(C),O=o(A),I=new Array(b.length*O.length),R=0,D=0;D=0};L?(w=Math.min(A.length,O.length),v=function(ue){return N(A[ue])&&q(ue)},S=function(ue){return String(A[ue])}):(w=Math.min(b.length,O.length),v=function(ue){return N(b[ue])&&q(ue)},S=function(ue){return String(b[ue])}),R&&(w=Math.min(w,I.length));for(var j=0;j1){for(var W=i.randstr(),H=0;H>>8*T)%256/255}function f(x,T,C){for(var _=new Array(8*T),A=0,L=0;Lie&&(ie=q[te].dim1.canvasX,X=te);Q===0&&u(R,0,0,C.canvasWidth,C.canvasHeight);var oe=function(Me){var Se,Ce,ae,he=[[],[]];for(ae=0;ae<64;ae++){var be=!Me&&aeoe._length&&(Oe=Oe.slice(0,oe._length));var _e,Me=oe.tickvals;function Se(ke,Le){return{val:ke,text:_e[Le]}}function Ce(ke,Le){return ke.val-Le.val}if(Array.isArray(Me)&&Me.length){_e=oe.ticktext,Array.isArray(_e)&&_e.length?_e.length>Me.length?_e=_e.slice(0,Me.length):Me.length>_e.length&&(Me=Me.slice(0,_e.length)):_e=Me.map(i(oe.tickformat));for(var ae=1;ae=Be||we>=ze)return;var Ee=ke.lineLayer.readPixel(ge,ze-1-we),Ve=Ee[3]!==0,Ye=Ve?Ee[2]+256*(Ee[1]+256*Ee[0]):null,$e={x:ge,y:we,clientX:Le.clientX,clientY:Le.clientY,dataIndex:ke.model.key,curveNumber:Ye};Ye!==ye&&(Ve?q.hover($e):q.unhover&&q.unhover($e),ye=Ye)}}),ce.style("opacity",function(ke){return ke.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var de=te.selectAll("."+v.cn.parcoords).data(ue,c);de.exit().remove(),de.enter().append("g").classed(v.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),de.attr("transform",function(ke){return l(ke.model.translateX,ke.model.translateY)});var me=de.selectAll("."+v.cn.parcoordsControlView).data(f,c);me.enter().append("g").classed(v.cn.parcoordsControlView,!0),me.attr("transform",function(ke){return l(ke.model.pad.l,ke.model.pad.t)});var pe=me.selectAll("."+v.cn.yAxis).data(function(ke){return ke.dimensions},c);pe.enter().append("g").classed(v.cn.yAxis,!0),me.each(function(ke){N(pe,ke,X)}),ce.each(function(ke){if(ke.viewModel){!ke.lineLayer||q?ke.lineLayer=x(this,ke):ke.lineLayer.update(ke),(ke.key||ke.key===0)&&(ke.viewModel[ke.key]=ke.lineLayer);var Le=!ke.context||q;ke.lineLayer.render(ke.viewModel.panels,Le)}}),pe.attr("transform",function(ke){return l(ke.xScale(ke.xIndex),0)}),pe.call(d.behavior.drag().origin(function(ke){return ke}).on("drag",function(ke){var Le=ke.parent;oe.linePickActive(!1),ke.x=Math.max(-v.overdrag,Math.min(ke.model.width+v.overdrag,d.event.x)),ke.canvasX=ke.x*ke.model.canvasPixelRatio,pe.sort(function(Be,ze){return Be.x-ze.x}).each(function(Be,ze){Be.xIndex=ze,Be.x=ke===Be?Be.x:Be.xScale(Be.xIndex),Be.canvasX=Be.x*Be.model.canvasPixelRatio}),N(pe,Le,X),pe.filter(function(Be){return Math.abs(ke.xIndex-Be.xIndex)!==0}).attr("transform",function(Be){return l(Be.xScale(Be.xIndex),0)}),d.select(this).attr("transform",l(ke.x,0)),pe.each(function(Be,ze,je){je===ke.parent.key&&(Le.dimensions[ze]=Be)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer.render&&Le.focusLayer.render(Le.panels)}).on("dragend",function(ke){var Le=ke.parent;ke.x=ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio,N(pe,Le,X),d.select(this).attr("transform",function(Be){return l(Be.x,0)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer&&Le.focusLayer.render(Le.panels),Le.pickLayer&&Le.pickLayer.render(Le.panels,!0),oe.linePickActive(!0),q&&q.axesMoved&&q.axesMoved(Le.key,Le.dimensions.map(function(Be){return Be.crossfilterDimensionIndex}))})),pe.exit().remove();var xe=pe.selectAll("."+v.cn.axisOverlays).data(f,c);xe.enter().append("g").classed(v.cn.axisOverlays,!0),xe.selectAll("."+v.cn.axis).remove();var Oe=xe.selectAll("."+v.cn.axis).data(f,c);Oe.enter().append("g").classed(v.cn.axis,!0),Oe.each(function(ke){var Le=ke.model.height/ke.model.tickDistance,Be=ke.domainScale,ze=Be.domain();d.select(this).call(d.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Le,ke.tickFormat).tickValues(ke.ordinal?ze:null).tickFormat(function(je){return w.isOrdinal(ke)?je:W(ke.model.dimensions[ke.visibleIndex],je)}).scale(Be)),u.font(Oe.selectAll("text"),ke.model.tickFont)}),Oe.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),Oe.selectAll("text").style("text-shadow",a.makeTextShadow(Q)).style("cursor","default");var _e=xe.selectAll("."+v.cn.axisHeading).data(f,c);_e.enter().append("g").classed(v.cn.axisHeading,!0);var Me=_e.selectAll("."+v.cn.axisTitle).data(f,c);Me.enter().append("text").classed(v.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",H?"none":"auto"),Me.text(function(ke){return ke.label}).each(function(ke){var Le=d.select(this);u.font(Le,ke.model.labelFont),a.convertToTspans(Le,Y)}).attr("transform",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide),Be=v.axisTitleOffset;return(Le.dir>0?"":l(0,2*Be+ke.model.height))+h(Le.degrees)+l(-Be*Le.dx,-Be*Le.dy)}).attr("text-anchor",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide);return 2*Math.abs(Le.dx)>Math.abs(Le.dy)?Le.dir*Le.dx<0?"start":"end":"middle"});var Se=xe.selectAll("."+v.cn.axisExtent).data(f,c);Se.enter().append("g").classed(v.cn.axisExtent,!0);var Ce=Se.selectAll("."+v.cn.axisExtentTop).data(f,c);Ce.enter().append("g").classed(v.cn.axisExtentTop,!0),Ce.attr("transform",l(0,-v.axisExtentOffset));var ae=Ce.selectAll("."+v.cn.axisExtentTopText).data(f,c);ae.enter().append("text").classed(v.cn.axisExtentTopText,!0).call(F),ae.text(function(ke){return j(ke,!0)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)});var he=Se.selectAll("."+v.cn.axisExtentBottom).data(f,c);he.enter().append("g").classed(v.cn.axisExtentBottom,!0),he.attr("transform",function(ke){return l(0,ke.model.height+v.axisExtentOffset)});var be=he.selectAll("."+v.cn.axisExtentBottomText).data(f,c);be.enter().append("text").classed(v.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(F),be.text(function(ke){return j(ke,!1)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)}),S.ensureAxisBrush(xe,Q,Y)}},21341:function(k,m,t){var d=t(17171),y=t(79749),i=t(1602).isVisible,M={};function g(h,l,a){var u=l.indexOf(a),o=h.indexOf(u);return o===-1&&(o+=l.length),o}(k.exports=function(h,l){var a=h._fullLayout;if(y(h,[],M)){var u={},o={},s={},c={},f=a._size;l.forEach(function(p,w){var v=p[0].trace;s[w]=v.index;var S=c[w]=v._fullInput.index;u[w]=h.data[S].dimensions,o[w]=h.data[S].dimensions.slice()}),d(h,l,{width:f.w,height:f.h,margin:{t:f.t,r:f.r,b:f.b,l:f.l}},{filterChanged:function(p,w,v){var S=o[p][w],x=v.map(function(b){return b.slice()}),T="dimensions["+w+"].constraintrange",C=a._tracePreGUI[h._fullData[s[p]]._fullInput.uid];if(C[T]===void 0){var _=S.constraintrange;C[T]=_||null}var A=h._fullData[s[p]].dimensions[w];x.length?(x.length===1&&(x=x[0]),S.constraintrange=x,A.constraintrange=x.slice(),x=[x]):(delete S.constraintrange,delete A.constraintrange,x=null);var L={};L[T]=x,h.emit("plotly_restyle",[L,[c[p]]])},hover:function(p){h.emit("plotly_hover",p)},unhover:function(p){h.emit("plotly_unhover",p)},axesMoved:function(p,w){var v=function(S,x){return function(T,C){return g(S,x,T)-g(S,x,C)}}(w,o[p].filter(i));u[p].sort(v),o[p].filter(function(S){return!i(S)}).sort(function(S){return o[p].indexOf(S)}).forEach(function(S){u[p].splice(u[p].indexOf(S),1),u[p].splice(o[p].indexOf(S),0,S)}),h.emit("plotly_restyle",[{dimensions:[u[p]]},[c[p]]])}})}}).reglPrecompiled=M},34e3:function(k,m,t){var d=t(9012),y=t(27670).Y,i=t(41940),M=t(22399),g=t(5386).fF,h=t(5386).si,l=t(1426).extendFlat,a=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});k.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:M.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:l({},d.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:g({},{keys:["label","color","value","percent","text"]}),texttemplate:h({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:l({},a,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:l({},a,{}),outsidetextfont:l({},a,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:l({},a,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:y({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:l({},a,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(k,m,t){var d=t(74875);m.name="pie",m.plot=function(y,i,M,g){d.plotBasePlot(m.name,y,i,M,g)},m.clean=function(y,i,M,g){d.cleanBasePlot(m.name,y,i,M,g)}},32354:function(k,m,t){var d=t(92770),y=t(84267),i=t(7901),M={};function g(l){return function(a,u){return!!a&&!!(a=y(a)).isValid()&&(a=i.addOpacity(a,a.getAlpha()),l[u]||(l[u]=a),a)}}function h(l,a){var u,o=JSON.stringify(l),s=a[o];if(!s){for(s=l.slice(),u=0;u=0}),(a.type==="funnelarea"?A:a.sort)&&s.sort(function(R,D){return D.v-R.v}),s[0]&&(s[0].vTotal=_),s},crossTraceCalc:function(l,a){var u=(a||{}).type;u||(u="pie");var o=l._fullLayout,s=l.calcdata,c=o[u+"colorway"],f=o["_"+u+"colormap"];o["extend"+u+"colors"]&&(c=h(c,M));for(var p=0,w=0;w0){c=!0;break}}c||(s=0)}return{hasLabels:u,hasValues:o,len:s}}k.exports={handleLabelsAndValues:h,supplyDefaults:function(l,a,u,o){function s(C,_){return y.coerce(l,a,i,C,_)}var c=h(s("labels"),s("values")),f=c.len;if(a._hasLabels=c.hasLabels,a._hasValues=c.hasValues,!a._hasLabels&&a._hasValues&&(s("label0"),s("dlabel")),f){a._length=f,s("marker.line.width")&&s("marker.line.color"),s("marker.colors"),s("scalegroup");var p,w=s("text"),v=s("texttemplate");if(v||(p=s("textinfo",Array.isArray(w)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),v||p&&p!=="none"){var S=s("textposition");g(l,a,o,s,S,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(S)||S==="auto"||S==="outside")&&s("automargin"),(S==="inside"||S==="auto"||Array.isArray(S))&&s("insidetextorientation")}M(a,o,s);var x=s("hole");if(s("title.text")){var T=s("title.position",x?"middle center":"top center");x||T!=="middle center"||(a.title.position="top center"),y.coerceFont(s,"title.font",o.font)}s("sort"),s("direction"),s("rotation"),s("pull")}else a.visible=!1}}},20007:function(k,m,t){var d=t(23469).appendArrayMultiPointValues;k.exports=function(y,i){var M={curveNumber:i.index,pointNumbers:y.pts,data:i._input,fullData:i,label:y.label,color:y.color,value:y.v,percent:y.percent,text:y.text,bbox:y.bbox,v:y.v};return y.pts.length===1&&(M.pointNumber=M.i=y.pts[0]),d(M,i,y.pts),i.type==="funnelarea"&&(delete M.v,delete M.i),M}},53581:function(k,m,t){var d=t(71828);function y(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}m.formatPiePercent=function(i,M){var g=y((100*i).toPrecision(3));return d.numSeparate(g,M)+"%"},m.formatPieValue=function(i,M){var g=y(i.toPrecision(10));return d.numSeparate(g,M)},m.getFirstFilled=function(i,M){if(Array.isArray(i))for(var g=0;g"),name:ie.hovertemplate||oe.indexOf("name")!==-1?ie.name:void 0,idealAlign:Q.pxmid[0]<0?"left":"right",color:p.castOption(xe.bgcolor,Q.pts)||Q.color,borderColor:p.castOption(xe.bordercolor,Q.pts),fontFamily:p.castOption(Oe.family,Q.pts),fontSize:p.castOption(Oe.size,Q.pts),fontColor:p.castOption(Oe.color,Q.pts),nameLength:p.castOption(xe.namelength,Q.pts),textAlign:p.castOption(xe.align,Q.pts),hovertemplate:p.castOption(ie.hovertemplate,Q.pts),hovertemplateLabels:Q,eventData:[w(Q,ie)]},{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:G,inOut_bbox:_e}),Q.bbox=_e[0],Z._hasHoverLabel=!0}Z._hasHoverEvent=!0,G.emit("plotly_hover",{points:[w(Q,ie)],event:d.event})}}),U.on("mouseout",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index],oe=d.select(this).datum();Z._hasHoverEvent&&(Q.originalEvent=d.event,G.emit("plotly_unhover",{points:[w(oe,ie)],event:d.event}),Z._hasHoverEvent=!1),Z._hasHoverLabel&&(i.loneUnhover(re._hoverlayer.node()),Z._hasHoverLabel=!1)}),U.on("click",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index];G._dragging||re.hovermode===!1||(G._hoverdata=[w(Q,ie)],i.click(G,d.event))})}function x(U,G,q){var H=p.castOption(U.insidetextfont.color,G.pts);!H&&U._input.textfont&&(H=p.castOption(U._input.textfont.color,G.pts));var ne=p.castOption(U.insidetextfont.family,G.pts)||p.castOption(U.textfont.family,G.pts)||q.family,te=p.castOption(U.insidetextfont.size,G.pts)||p.castOption(U.textfont.size,G.pts)||q.size;return{color:H||M.contrast(G.color),family:ne,size:te}}function T(U,G){for(var q,H,ne=0;neBe&&Be>je||ze=-4;me-=2)pe(Math.PI*me,"tan");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1),"tan")}if(oe||ce){for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1.5),"rad");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+.5),"rad")}}if(X||ye||oe){var xe=Math.sqrt(U.width*U.width+U.height*U.height);if((te={scale:ne*H*2/xe,rCenter:1-ne,rotate:0}).textPosAngle=(G.startangle+G.stopangle)/2,te.scale>=1)return te;de.push(te)}(ye||ce)&&((te=_(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te)),(ye||ue)&&((te=A(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te));for(var Oe=0,_e=0,Me=0;Me=1)break}return de[Oe]}function _(U,G,q,H,ne){G=Math.max(0,G-2*f);var te=U.width/U.height,Z=P(te,H,G,q);return{scale:2*Z/U.height,rCenter:L(te,Z/G),rotate:b(ne)}}function A(U,G,q,H,ne){G=Math.max(0,G-2*f);var te=U.height/U.width,Z=P(te,H,G,q);return{scale:2*Z/U.width,rCenter:L(te,Z/G),rotate:b(ne+Math.PI/2)}}function L(U,G){return Math.cos(G)-U*G}function b(U){return(180/Math.PI*U+720)%180-90}function P(U,G,q,H){var ne=U+1/(2*Math.tan(G));return q*Math.min(1/(Math.sqrt(ne*ne+.5)+ne),H/(Math.sqrt(U*U+H/2)+U))}function I(U,G){return U.v!==G.vTotal||G.trace.hole?Math.min(1/(1+1/Math.sin(U.halfangle)),U.ring/2):1}function R(U,G){var q=G.pxmid[0],H=G.pxmid[1],ne=U.width/2,te=U.height/2;return q<0&&(ne*=-1),H<0&&(te*=-1),{scale:1,rCenter:1,rotate:0,x:ne+Math.abs(te)*(ne>0?1:-1)/2,y:te/(1+q*q/(H*H)),outside:!0}}function D(U,G){var q,H,ne,te=U.trace,Z={x:U.cx,y:U.cy},X={tx:0,ty:0};X.ty+=te.title.font.size,ne=B(te),te.title.position.indexOf("top")!==-1?(Z.y-=(1+ne)*U.r,X.ty-=U.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(Z.y+=(1+ne)*U.r);var Q,re=U.r/((Q=U.trace.aspectratio)===void 0?1:Q),ie=G.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(ie+=re,Z.x-=(1+ne)*re,X.tx+=U.titleBox.width/2):te.title.position.indexOf("center")!==-1?ie*=2:te.title.position.indexOf("right")!==-1&&(ie+=re,Z.x+=(1+ne)*re,X.tx-=U.titleBox.width/2),q=ie/U.titleBox.width,H=F(U,G)/U.titleBox.height,{x:Z.x,y:Z.y,scale:Math.min(q,H),tx:X.tx,ty:X.ty}}function F(U,G){var q=U.trace,H=G.h*(q.domain.y[1]-q.domain.y[0]);return Math.min(U.titleBox.height,H/2)}function B(U){var G,q=U.pull;if(!q)return 0;if(Array.isArray(q))for(q=0,G=0;Gq&&(q=U.pull[G]);return q}function N(U,G){for(var q=[],H=0;H1?Me=(_e=ce.r)/de.aspectratio:_e=(Me=ce.r)*de.aspectratio,Oe=(_e*=(1+de.baseratio)/2)*Me}pe=Math.min(pe,Oe/ce.vTotal)}for(ye=0;ye")}if(te){var me=h.castOption(ne,G.i,"texttemplate");if(me){var pe=function(Oe){return{label:Oe.label,value:Oe.v,valueLabel:p.formatPieValue(Oe.v,H.separators),percent:Oe.v/q.vTotal,percentLabel:p.formatPiePercent(Oe.v/q.vTotal,H.separators),color:Oe.color,text:Oe.text,customdata:h.castOption(ne,Oe.i,"customdata")}}(G),xe=p.getFirstFilled(ne.text,G.pts);(v(xe)||xe==="")&&(pe.text=xe),G.text=h.texttemplateString(me,pe,U._fullLayout._d3locale,pe,ne._meta||{})}else G.text=""}}function Y(U,G){var q=U.rotate*Math.PI/180,H=Math.cos(q),ne=Math.sin(q),te=(G.left+G.right)/2,Z=(G.top+G.bottom)/2;U.textX=te*H-Z*ne,U.textY=te*ne+Z*H,U.noCenter=!0}k.exports={plot:function(U,G){var q=U._context.staticPlot,H=U._fullLayout,ne=H._size;c("pie",H),T(G,U),N(G,ne);var te=h.makeTraceGroups(H._pielayer,G,"trace").each(function(Z){var X=d.select(this),Q=Z[0],re=Q.trace;(function(ie){var oe,ue,ce,ye=ie[0],de=ye.r,me=ye.trace,pe=p.getRotationAngle(me.rotation),xe=2*Math.PI/ye.vTotal,Oe="px0",_e="px1";if(me.direction==="counterclockwise"){for(oe=0;oeye.vTotal/2?1:0,ue.halfangle=Math.PI*Math.min(ue.v/ye.vTotal,.5),ue.ring=1-me.hole,ue.rInscribed=I(ue,ye))})(Z),X.attr("stroke-linejoin","round"),X.each(function(){var ie=d.select(this).selectAll("g.slice").data(Z);ie.enter().append("g").classed("slice",!0),ie.exit().remove();var oe=[[[],[]],[[],[]]],ue=!1;ie.each(function(_e,Me){if(_e.hidden)d.select(this).selectAll("path,g").remove();else{_e.pointNumber=_e.i,_e.curveNumber=re.index,oe[_e.pxmid[1]<0?0:1][_e.pxmid[0]<0?0:1].push(_e);var Se=Q.cx,Ce=Q.cy,ae=d.select(this),he=ae.selectAll("path.surface").data([_e]);if(he.enter().append("path").classed("surface",!0).style({"pointer-events":q?"none":"all"}),ae.call(S,U,Z),re.pull){var be=+p.castOption(re.pull,_e.pts)||0;be>0&&(Se+=be*_e.pxmid[0],Ce+=be*_e.pxmid[1])}_e.cxFinal=Se,_e.cyFinal=Ce;var ke=re.hole;if(_e.v===Q.vTotal){var Le="M"+(Se+_e.px0[0])+","+(Ce+_e.px0[1])+we(_e.px0,_e.pxmid,!0,1)+we(_e.pxmid,_e.px0,!0,1)+"Z";ke?he.attr("d","M"+(Se+ke*_e.px0[0])+","+(Ce+ke*_e.px0[1])+we(_e.px0,_e.pxmid,!1,ke)+we(_e.pxmid,_e.px0,!1,ke)+"Z"+Le):he.attr("d",Le)}else{var Be=we(_e.px0,_e.px1,!0,1);if(ke){var ze=1-ke;he.attr("d","M"+(Se+ke*_e.px1[0])+","+(Ce+ke*_e.px1[1])+we(_e.px1,_e.px0,!1,ke)+"l"+ze*_e.px0[0]+","+ze*_e.px0[1]+Be+"Z")}else he.attr("d","M"+Se+","+Ce+"l"+_e.px0[0]+","+_e.px0[1]+Be+"Z")}j(U,_e,Q);var je=p.castOption(re.textposition,_e.pts),ge=ae.selectAll("g.slicetext").data(_e.text&&je!=="none"?[0]:[]);ge.enter().append("g").classed("slicetext",!0),ge.exit().remove(),ge.each(function(){var Ee=h.ensureSingle(d.select(this),"text","",function(Et){Et.attr("data-notex",1)}),Ve=h.ensureUniformFontSize(U,je==="outside"?function(Et,kt,xt){return{color:p.castOption(Et.outsidetextfont.color,kt.pts)||p.castOption(Et.textfont.color,kt.pts)||xt.color,family:p.castOption(Et.outsidetextfont.family,kt.pts)||p.castOption(Et.textfont.family,kt.pts)||xt.family,size:p.castOption(Et.outsidetextfont.size,kt.pts)||p.castOption(Et.textfont.size,kt.pts)||xt.size}}(re,_e,H.font):x(re,_e,H.font));Ee.text(_e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(g.font,Ve).call(u.convertToTspans,U);var Ye,$e=g.bBox(Ee.node());if(je==="outside")Ye=R($e,_e);else if(Ye=C($e,_e,Q),je==="auto"&&Ye.scale<1){var st=h.ensureUniformFontSize(U,re.outsidetextfont);Ee.call(g.font,st),Ye=R($e=g.bBox(Ee.node()),_e)}var ot=Ye.textPosAngle,ft=ot===void 0?_e.pxmid:W(Q.r,ot);if(Ye.targetX=Se+ft[0]*Ye.rCenter+(Ye.x||0),Ye.targetY=Ce+ft[1]*Ye.rCenter+(Ye.y||0),Y(Ye,$e),Ye.outside){var bt=Ye.targetY;_e.yLabelMin=bt-$e.height/2,_e.yLabelMid=bt,_e.yLabelMax=bt+$e.height/2,_e.labelExtraX=0,_e.labelExtraY=0,ue=!0}Ye.fontSize=Ve.size,s(re.type,Ye,H),Z[Me].transform=Ye,h.setTransormAndDisplay(Ee,Ye)})}function we(Ee,Ve,Ye,$e){var st=$e*(Ve[0]-Ee[0]),ot=$e*(Ve[1]-Ee[1]);return"a"+$e*Q.r+","+$e*Q.r+" 0 "+_e.largeArc+(Ye?" 1 ":" 0 ")+st+","+ot}});var ce=d.select(this).selectAll("g.titletext").data(re.title.text?[0]:[]);if(ce.enter().append("g").classed("titletext",!0),ce.exit().remove(),ce.each(function(){var _e,Me=h.ensureSingle(d.select(this),"text","",function(Ce){Ce.attr("data-notex",1)}),Se=re.title.text;re._meta&&(Se=h.templateString(Se,re._meta)),Me.text(Se).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(g.font,re.title.font).call(u.convertToTspans,U),_e=re.title.position==="middle center"?function(Ce){var ae=Math.sqrt(Ce.titleBox.width*Ce.titleBox.width+Ce.titleBox.height*Ce.titleBox.height);return{x:Ce.cx,y:Ce.cy,scale:Ce.trace.hole*Ce.r*2/ae,tx:0,ty:-Ce.titleBox.height/2+Ce.trace.title.font.size}}(Q):D(Q,ne),Me.attr("transform",a(_e.x,_e.y)+l(Math.min(1,_e.scale))+a(_e.tx,_e.ty))}),ue&&function(_e,Me){var Se,Ce,ae,he,be,ke,Le,Be,ze,je,ge,we,Ee;function Ve(ot,ft){return ot.pxmid[1]-ft.pxmid[1]}function Ye(ot,ft){return ft.pxmid[1]-ot.pxmid[1]}function $e(ot,ft){ft||(ft={});var bt,Et,kt,xt,Ft=ft.labelExtraY+(Ce?ft.yLabelMax:ft.yLabelMin),Rt=Ce?ot.yLabelMin:ot.yLabelMax,Bt=Ce?ot.yLabelMax:ot.yLabelMin,qt=ot.cyFinal+be(ot.px0[1],ot.px1[1]),Vt=Ft-Rt;if(Vt*Le>0&&(ot.labelExtraY=Vt),Array.isArray(Me.pull))for(Et=0;Et=(p.castOption(Me.pull,kt.pts)||0)||((ot.pxmid[1]-kt.pxmid[1])*Le>0?(Vt=kt.cyFinal+be(kt.px0[1],kt.px1[1])-Rt-ot.labelExtraY)*Le>0&&(ot.labelExtraY+=Vt):(Bt+ot.labelExtraY-qt)*Le>0&&(bt=3*ke*Math.abs(Et-je.indexOf(ot)),(xt=kt.cxFinal+he(kt.px0[0],kt.px1[0])+bt-(ot.cxFinal+ot.pxmid[0])-ot.labelExtraX)*ke>0&&(ot.labelExtraX+=xt)))}for(Ce=0;Ce<2;Ce++)for(ae=Ce?Ve:Ye,be=Ce?Math.max:Math.min,Le=Ce?1:-1,Se=0;Se<2;Se++){for(he=Se?Math.max:Math.min,ke=Se?1:-1,(Be=_e[Ce][Se]).sort(ae),ze=_e[1-Ce][Se],je=ze.concat(Be),we=[],ge=0;geMath.abs(Be)?be+="l"+Be*Se.pxmid[0]/Se.pxmid[1]+","+Be+"H"+(he+Se.labelExtraX+ke):be+="l"+Se.labelExtraX+","+Le+"v"+(Be-Le)+"h"+ke}else be+="V"+(Se.yLabelMid+Se.labelExtraY)+"h"+ke;h.ensureSingle(Ce,"path","textline").call(M.stroke,Me.outsidetextfont.color).attr({"stroke-width":Math.min(2,Me.outsidetextfont.size/8),d:be,fill:"none"})}else Ce.select("path.textline").remove()})}(ie,re),ue&&re.automargin){var ye=g.bBox(X.node()),de=re.domain,me=ne.w*(de.x[1]-de.x[0]),pe=ne.h*(de.y[1]-de.y[0]),xe=(.5*me-Q.r)/ne.w,Oe=(.5*pe-Q.r)/ne.h;y.autoMargin(U,"pie."+re.uid+".automargin",{xl:de.x[0]-xe,xr:de.x[1]+xe,yb:de.y[0]-Oe,yt:de.y[1]+Oe,l:Math.max(Q.cx-Q.r-ye.left,0),r:Math.max(ye.right-(Q.cx+Q.r),0),b:Math.max(ye.bottom-(Q.cy+Q.r),0),t:Math.max(Q.cy-Q.r-ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var Z=d.select(this);Z.attr("dy")&&Z.attr("dy",Z.attr("dy"))})},0)},formatSliceLabel:j,transformInsideText:C,determineInsideTextFont:x,positionTitleOutside:D,prerenderTitles:T,layoutAreas:N,attachFxHandlers:S,computeTransform:Y}},68357:function(k,m,t){var d=t(39898),y=t(63463),i=t(72597).resizeText;k.exports=function(M){var g=M._fullLayout._pielayer.selectAll(".trace");i(M,g,"pie"),g.each(function(h){var l=h[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(y,u,l)})})}},63463:function(k,m,t){var d=t(7901),y=t(53581).castOption;k.exports=function(i,M,g){var h=g.marker.line,l=y(h.color,M.pts)||d.defaultLine,a=y(h.width,M.pts)||0;i.style("stroke-width",a).call(d.fill,M.color).call(d.stroke,l)}},10959:function(k,m,t){var d=t(82196);k.exports={x:d.x,y:d.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:d.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},42743:function(k,m,t){var d=t(9330).gl_pointcloud2d,y=t(78614),i=t(71739).findExtremes,M=t(34603);function g(l,a){this.scene=l,this.uid=a,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=d(l.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var h=g.prototype;h.handlePick=function(l){var a=this.idToIndex[l.pointId];return{trace:this,dataCoord:l.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*a],this.pickXYData[2*a+1]]:[this.pickXData[a],this.pickYData[a]],textLabel:Array.isArray(this.textLabels)?this.textLabels[a]:this.textLabels,color:this.color,name:this.name,pointIndex:a,hoverinfo:this.hoverinfo}},h.update=function(l){this.index=l.index,this.textLabels=l.text,this.name=l.name,this.hoverinfo=l.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(l),this.color=M(l,{})},h.updateFast=function(l){var a,u,o,s,c,f,p=this.xData=this.pickXData=l.x,w=this.yData=this.pickYData=l.y,v=this.pickXYData=l.xy,S=l.xbounds&&l.ybounds,x=l.indices,T=this.bounds;if(v){if(o=v,a=v.length>>>1,S)T[0]=l.xbounds[0],T[2]=l.xbounds[1],T[1]=l.ybounds[0],T[3]=l.ybounds[1];else for(f=0;fT[2]&&(T[2]=s),cT[3]&&(T[3]=c);if(x)u=x;else for(u=new Int32Array(a),f=0;fT[2]&&(T[2]=s),cT[3]&&(T[3]=c);this.idToIndex=u,this.pointcloudOptions.idToIndex=u,this.pointcloudOptions.positions=o;var C=y(l.marker.color),_=y(l.marker.border.color),A=l.opacity*l.marker.opacity;C[3]*=A,this.pointcloudOptions.color=C;var L=l.marker.blend;L===null&&(L=p.length<100||w.length<100),this.pointcloudOptions.blend=L,_[3]*=A,this.pointcloudOptions.borderColor=_;var b=l.marker.sizemin,P=Math.max(l.marker.sizemax,l.marker.sizemin);this.pointcloudOptions.sizeMin=b,this.pointcloudOptions.sizeMax=P,this.pointcloudOptions.areaRatio=l.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var I=this.scene.xaxis,R=this.scene.yaxis,D=P/2||.5;l._extremes[I._id]=i(I,[T[0],T[2]],{ppad:D}),l._extremes[R._id]=i(R,[T[1],T[3]],{ppad:D})},h.dispose=function(){this.pointcloud.dispose()},k.exports=function(l,a){var u=new g(l,a.uid);return u.update(a),u}},33876:function(k,m,t){var d=t(71828),y=t(10959);k.exports=function(i,M,g){function h(l,a){return d.coerce(i,M,y,l,a)}h("x"),h("y"),h("xbounds"),h("ybounds"),i.xy&&i.xy instanceof Float32Array&&(M.xy=i.xy),i.indices&&i.indices instanceof Int32Array&&(M.indices=i.indices),h("text"),h("marker.color",g),h("marker.opacity"),h("marker.blend"),h("marker.sizemin"),h("marker.sizemax"),h("marker.border.color",g),h("marker.border.arearatio"),M._length=null}},20593:function(k,m,t){k.exports={attributes:t(10959),supplyDefaults:t(33876),calc:t(36563),plot:t(42743),moduleType:"trace",name:"pointcloud",basePlotModule:t(4796),categories:["gl","gl2d","showLegend"],meta:{}}},39953:function(k,m,t){var d=t(41940),y=t(9012),i=t(22399),M=t(77914),g=t(27670).Y,h=t(5386).fF,l=t(50693),a=t(44467).templatedArray,u=t(12663).descriptionOnlyNumbers,o=t(1426).extendFlat,s=t(30962).overrideAll;(k.exports=s({hoverinfo:o({},y.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:M.hoverlabel,domain:g({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:u("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:d({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:h({},{keys:["value","label"]})},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:h({},{keys:["value","label"]}),colorscales:a("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:o(l().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},75536:function(k,m,t){var d=t(30962).overrideAll,y=t(27659).a0,i=t(60436),M=t(528),g=t(6964),h=t(28569),l=t(47322).prepSelect,a=t(71828),u=t(73972),o="sankey";function s(c,f){var p=c._fullData[f],w=c._fullLayout,v=w.dragmode,S=w.dragmode==="pan"?"move":"crosshair",x=p._bgRect;if(x&&v!=="pan"&&v!=="zoom"){g(x,S);var T={_id:"x",c2p:a.identity,_offset:p._sankey.translateX,_length:p._sankey.width},C={_id:"y",c2p:a.identity,_offset:p._sankey.translateY,_length:p._sankey.height},_={gd:c,element:x.node(),plotinfo:{id:f,xaxis:T,yaxis:C,fillRangeItems:a.noop},subplot:f,xaxes:[T],yaxes:[C],doneFnCompleted:function(A){var L,b=c._fullData[f],P=b.node.groups.slice(),I=[];function R(N){for(var W=b._sankey.graph.nodes,j=0;jL&&(L=f.source[s]),f.target[s]>L&&(L=f.target[s]);var b,P=L+1;o.node._count=P;var I=o.node.groups,R={};for(s=0;s0&&g(j,P)&&g(Y,P)&&(!R.hasOwnProperty(j)||!R.hasOwnProperty(Y)||R[j]!==R[Y])){R.hasOwnProperty(Y)&&(Y=R[Y]),R.hasOwnProperty(j)&&(j=R[j]),Y=+Y,S[j=+j]=S[Y]=!0;var U="";f.label&&f.label[s]&&(U=f.label[s]);var G=null;U&&x.hasOwnProperty(U)&&(G=x[U]),p.push({pointNumber:s,label:U,color:w?f.color[s]:f.color,customdata:v?f.customdata[s]:f.customdata,concentrationscale:G,source:j,target:Y,value:+W}),N.source.push(j),N.target.push(Y)}}var q=P+I.length,H=M(c.color),ne=M(c.customdata),te=[];for(s=0;sP-1,childrenNodes:[],pointNumber:s,label:Z,color:H?c.color[s]:c.color,customdata:ne?c.customdata[s]:c.customdata})}var X=!1;return function(Q,re,ie){for(var oe=y.init2dArray(Q,0),ue=0;ue1})}(q,N.source,N.target)&&(X=!0),{circular:X,links:p,nodes:te,groups:I,groupLookup:R}}(a);return i({circular:u.circular,_nodes:u.nodes,_links:u.links,_groups:u.groups,_groupLookup:u.groupLookup})}},85247:function(k){k.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},26857:function(k,m,t){var d=t(71828),y=t(39953),i=t(7901),M=t(84267),g=t(27670).c,h=t(38048),l=t(44467),a=t(85501);function u(o,s){function c(f,p){return d.coerce(o,s,y.link.colorscales,f,p)}c("label"),c("cmin"),c("cmax"),c("colorscale")}k.exports=function(o,s,c,f){function p(P,I){return d.coerce(o,s,y,P,I)}var w=d.extendDeep(f.hoverlabel,o.hoverlabel),v=o.node,S=l.newContainer(s,"node");function x(P,I){return d.coerce(v,S,y.node,P,I)}x("label"),x("groups"),x("x"),x("y"),x("pad"),x("thickness"),x("line.color"),x("line.width"),x("hoverinfo",o.hoverinfo),h(v,S,x,w),x("hovertemplate");var T=f.colorway;x("color",S.label.map(function(P,I){return i.addOpacity(function(R){return T[R%T.length]}(I),.8)})),x("customdata");var C=o.link||{},_=l.newContainer(s,"link");function A(P,I){return d.coerce(C,_,y.link,P,I)}A("label"),A("arrowlen"),A("source"),A("target"),A("value"),A("line.color"),A("line.width"),A("hoverinfo",o.hoverinfo),h(C,_,A,w),A("hovertemplate");var L,b=M(f.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";A("color",d.repeat(b,_.value.length)),A("customdata"),a(C,_,{name:"colorscales",handleItemDefaults:u}),g(s,f,p),p("orientation"),p("valueformat"),p("valuesuffix"),S.x.length&&S.y.length&&(L="freeform"),p("arrangement",L),d.coerceFont(p,"textfont",d.extendFlat({},f.font)),s._length=null}},29396:function(k,m,t){k.exports={attributes:t(39953),supplyDefaults:t(26857),calc:t(92930),plot:t(60436),moduleType:"trace",name:"sankey",basePlotModule:t(75536),selectPoints:t(84564),categories:["noOpacity"],meta:{}}},60436:function(k,m,t){var d=t(39898),y=t(71828),i=y.numberFormat,M=t(3393),g=t(30211),h=t(7901),l=t(85247).cn,a=y._;function u(C){return C!==""}function o(C,_){return C.filter(function(A){return A.key===_.traceId})}function s(C,_){d.select(C).select("path").style("fill-opacity",_),d.select(C).select("rect").style("fill-opacity",_)}function c(C){d.select(C).select("text.name").style("fill","black")}function f(C){return function(_){return C.node.sourceLinks.indexOf(_.link)!==-1||C.node.targetLinks.indexOf(_.link)!==-1}}function p(C){return function(_){return _.node.sourceLinks.indexOf(C.link)!==-1||_.node.targetLinks.indexOf(C.link)!==-1}}function w(C,_,A){_&&A&&o(A,_).selectAll("."+l.sankeyLink).filter(f(_)).call(S.bind(0,_,A,!1))}function v(C,_,A){_&&A&&o(A,_).selectAll("."+l.sankeyLink).filter(f(_)).call(x.bind(0,_,A,!1))}function S(C,_,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(P){if(!P.link.concentrationscale)return .4}),b&&o(_,C).selectAll("."+l.sankeyLink).filter(function(P){return P.link.label===b}).style("fill-opacity",function(P){if(!P.link.concentrationscale)return .4}),A&&o(_,C).selectAll("."+l.sankeyNode).filter(p(C)).call(w)}function x(C,_,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(P){return P.tinyColorAlpha}),b&&o(_,C).selectAll("."+l.sankeyLink).filter(function(P){return P.link.label===b}).style("fill-opacity",function(P){return P.tinyColorAlpha}),A&&o(_,C).selectAll(l.sankeyNode).filter(p(C)).call(v)}function T(C,_){var A=C.hoverlabel||{},L=y.nestedProperty(A,_).get();return!Array.isArray(L)&&L}k.exports=function(C,_){for(var A=C._fullLayout,L=A._paper,b=A._size,P=0;P"),color:T(Y,"bgcolor")||h.addOpacity(H.color,1),borderColor:T(Y,"bordercolor"),fontFamily:T(Y,"font.family"),fontSize:T(Y,"font.size"),fontColor:T(Y,"font.color"),nameLength:T(Y,"namelength"),textAlign:T(Y,"align"),idealAlign:d.event.x"),color:T(Y,"bgcolor")||j.tinyColorHue,borderColor:T(Y,"bordercolor"),fontFamily:T(Y,"font.family"),fontSize:T(Y,"font.size"),fontColor:T(Y,"font.color"),nameLength:T(Y,"namelength"),textAlign:T(Y,"align"),idealAlign:"left",hovertemplate:Y.hovertemplate,hovertemplateLabels:Z,eventData:[j.node]},{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:C});s(re,.85),c(re)}}},unhover:function(W,j,Y){C._fullLayout.hovermode!==!1&&(d.select(W).call(v,j,Y),j.node.trace.node.hoverinfo!=="skip"&&(j.node.fullData=j.node.trace,C.emit("plotly_unhover",{event:d.event,points:[j.node]})),g.loneUnhover(A._hoverlayer.node()))},select:function(W,j,Y){var U=j.node;U.originalEvent=d.event,C._hoverdata=[U],d.select(W).call(v,j,Y),g.click(C,{target:!0})}}})}},3393:function(k,m,t){var d=t(49887),y=t(81684).k4,i=t(39898),M=t(30838),g=t(86781),h=t(85247),l=t(84267),a=t(7901),u=t(91424),o=t(71828),s=o.strTranslate,c=o.strRotate,f=t(28984),p=f.keyFun,w=f.repeat,v=f.unwrap,S=t(63893),x=t(73972),T=t(18783),C=T.CAP_SHIFT,_=T.LINE_SPACING;function A(q,H,ne){var te,Z=v(H),X=Z.trace,Q=X.domain,re=X.orientation==="h",ie=X.node.pad,oe=X.node.thickness,ue=q.width*(Q.x[1]-Q.x[0]),ce=q.height*(Q.y[1]-Q.y[0]),ye=Z._nodes,de=Z._links,me=Z.circular;(te=me?g.sankeyCircular().circularLinkGap(0):M.sankey()).iterations(h.sankeyIterations).size(re?[ue,ce]:[ce,ue]).nodeWidth(oe).nodePadding(ie).nodeId(function(ke){return ke.pointNumber}).nodes(ye).links(de);var pe,xe,Oe,_e=te();for(var Me in te.nodePadding()we+oe&&(ge+=1,Le=Ee.x0),we=Ee.x0,je[ge]||(je[ge]=[]),je[ge].push(Ee),Be=Le-Ee.x0,Ee.x0+=Be,Ee.x1+=Be}return je}(ye=_e.nodes).forEach(function(ke){var Le,Be,ze,je=0,ge=ke.length;for(ke.sort(function(we,Ee){return we.y0-Ee.y0}),ze=0;ze=je||(Be=je-Le.y0)>1e-6&&(Le.y0+=Be,Le.y1+=Be),je=Le.y1+ie}),te.update(_e)}return{circular:me,key:ne,trace:X,guid:o.randstr(),horizontal:re,width:ue,height:ce,nodePad:X.node.pad,nodeLineColor:X.node.line.color,nodeLineWidth:X.node.line.width,linkLineColor:X.link.line.color,linkLineWidth:X.link.line.width,linkArrowLength:X.link.arrowlen,valueFormat:X.valueformat,valueSuffix:X.valuesuffix,textFont:X.textfont,translateX:Q.x[0]*q.width+q.margin.l,translateY:q.height-Q.y[1]*q.height+q.margin.t,dragParallel:re?ce:ue,dragPerpendicular:re?ue:ce,arrangement:X.arrangement,sankey:te,graph:_e,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function L(q,H,ne){var te=l(H.color),Z=H.source.label+"|"+H.target.label+"__"+ne;return H.trace=q.trace,H.curveNumber=q.trace.index,{circular:q.circular,key:Z,traceId:q.key,pointNumber:H.pointNumber,link:H,tinyColorHue:a.tinyRGB(te),tinyColorAlpha:te.getAlpha(),linkPath:b,linkLineColor:q.linkLineColor,linkLineWidth:q.linkLineWidth,linkArrowLength:q.linkArrowLength,valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,parent:q,interactionState:q.interactionState,flow:H.flow}}function b(){return function(q){var H=q.linkArrowLength;if(q.link.circular)return function(xe,Oe){var _e=xe.width/2,Me=xe.circularPathData;return xe.circularLinkType==="top"?"M "+(Me.targetX-Oe)+" "+(Me.targetY+_e)+" L"+(Me.rightInnerExtent-Oe)+" "+(Me.targetY+_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 1 "+(Me.rightFullExtent-_e-Oe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Oe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 1 "+(Me.rightInnerExtent-Oe)+" "+(Me.verticalFullExtent-_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 1 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 0 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"L"+(Me.rightInnerExtent-Oe)+" "+(Me.verticalFullExtent+_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 0 "+(Me.rightFullExtent+_e-Oe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Oe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 0 "+(Me.rightInnerExtent-Oe)+" "+(Me.targetY-_e)+"L"+(Me.targetX-Oe)+" "+(Me.targetY-_e)+(Oe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z":"M "+(Me.targetX-Oe)+" "+(Me.targetY-_e)+" L"+(Me.rightInnerExtent-Oe)+" "+(Me.targetY-_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 0 "+(Me.rightFullExtent-_e-Oe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Oe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 0 "+(Me.rightInnerExtent-Oe)+" "+(Me.verticalFullExtent+_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 0 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 1 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"L"+(Me.rightInnerExtent-Oe)+" "+(Me.verticalFullExtent-_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 1 "+(Me.rightFullExtent+_e-Oe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Oe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 1 "+(Me.rightInnerExtent-Oe)+" "+(Me.targetY+_e)+"L"+(Me.targetX-Oe)+" "+(Me.targetY+_e)+(Oe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z"}(q.link,H);var ne=Math.abs((q.link.target.x0-q.link.source.x1)/2);H>ne&&(H=ne);var te=q.link.source.x1,Z=q.link.target.x0-H,X=y(te,Z),Q=X(.5),re=X(.5),ie=q.link.y0-q.link.width/2,oe=q.link.y0+q.link.width/2,ue=q.link.y1-q.link.width/2,ce=q.link.y1+q.link.width/2,ye="M"+te+","+ie,de="C"+Q+","+ie+" "+re+","+ue+" "+Z+","+ue,me="C"+re+","+ce+" "+Q+","+oe+" "+te+","+oe,pe=H>0?"L"+(Z+H)+","+(ue+q.link.width/2):"";return ye+de+(pe+="L"+Z+","+ce)+me+"Z"}}function P(q,H){var ne=l(H.color),te=h.nodePadAcross,Z=q.nodePad/2;H.dx=H.x1-H.x0,H.dy=H.y1-H.y0;var X=H.dx,Q=Math.max(.5,H.dy),re="node_"+H.pointNumber;return H.group&&(re=o.randstr()),H.trace=q.trace,H.curveNumber=q.trace.index,{index:H.pointNumber,key:re,partOfGroup:H.partOfGroup||!1,group:H.group,traceId:q.key,trace:q.trace,node:H,nodePad:q.nodePad,nodeLineColor:q.nodeLineColor,nodeLineWidth:q.nodeLineWidth,textFont:q.textFont,size:q.horizontal?q.height:q.width,visibleWidth:Math.ceil(X),visibleHeight:Q,zoneX:-te,zoneY:-Z,zoneWidth:X+2*te,zoneHeight:Q+2*Z,labelY:q.horizontal?H.dy/2+1:H.dx/2+1,left:H.originalLayer===1,sizeAcross:q.width,forceLayouts:q.forceLayouts,horizontal:q.horizontal,darkBackground:ne.getBrightness()<=128,tinyColorHue:a.tinyRGB(ne),tinyColorAlpha:ne.getAlpha(),valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,graph:q.graph,arrangement:q.arrangement,uniqueNodeLabelPathId:[q.guid,q.key,re].join("_"),interactionState:q.interactionState,figure:q}}function I(q){q.attr("transform",function(H){return s(H.node.x0.toFixed(3),H.node.y0.toFixed(3))})}function R(q){q.call(I)}function D(q,H){q.call(R),H.attr("d",b())}function F(q){q.attr("width",function(H){return H.node.x1-H.node.x0}).attr("height",function(H){return H.visibleHeight})}function B(q){return q.link.width>1||q.linkLineWidth>0}function N(q){return s(q.translateX,q.translateY)+(q.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function W(q,H,ne){q.on(".basic",null).on("mouseover.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.hover(this,te,H),te.interactionState.hovered=[this,te])}).on("mousemove.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.follow(this,te),te.interactionState.hovered=[this,te])}).on("mouseout.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.unhover(this,te,H),te.interactionState.hovered=!1)}).on("click.basic",function(te){te.interactionState.hovered&&(ne.unhover(this,te,H),te.interactionState.hovered=!1),te.interactionState.dragInProgress||te.partOfGroup||ne.select(this,te,H)})}function j(q,H,ne,te){var Z=i.behavior.drag().origin(function(X){return{x:X.node.x0+X.visibleWidth/2,y:X.node.y0+X.visibleHeight/2}}).on("dragstart",function(X){if(X.arrangement!=="fixed"&&(o.ensureSingle(te._fullLayout._infolayer,"g","dragcover",function(re){te._fullLayout._dragCover=re}),o.raiseToTop(this),X.interactionState.dragInProgress=X.node,U(X.node),X.interactionState.hovered&&(ne.nodeEvents.unhover.apply(0,X.interactionState.hovered),X.interactionState.hovered=!1),X.arrangement==="snap")){var Q=X.traceId+"|"+X.key;X.forceLayouts[Q]?X.forceLayouts[Q].alpha(1):function(re,ie,oe,ue){(function(ye){for(var de=0;de0&&pe.forceLayouts[de].alpha(0)}}(0,ie,ce,oe)).stop()}(0,Q,X),function(re,ie,oe,ue,ce){window.requestAnimationFrame(function ye(){var de;for(de=0;de0)window.requestAnimationFrame(ye);else{var me=oe.node.originalX;oe.node.x0=me-oe.visibleWidth/2,oe.node.x1=me+oe.visibleWidth/2,Y(oe,ce)}})}(q,H,X,Q,te)}}).on("drag",function(X){if(X.arrangement!=="fixed"){var Q=i.event.x,re=i.event.y;X.arrangement==="snap"?(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2,X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2):(X.arrangement==="freeform"&&(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2),re=Math.max(0,Math.min(X.size-X.visibleHeight/2,re)),X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2),U(X.node),X.arrangement!=="snap"&&(X.sankey.update(X.graph),D(q.filter(G(X)),H))}}).on("dragend",function(X){if(X.arrangement!=="fixed"){X.interactionState.dragInProgress=!1;for(var Q=0;Qx&&j[C].gap;)C--;for(A=j[C].s,T=j.length-1;T>C;T--)j[T].s=A;for(;xD[c]&&c=0;c--){var f=M[c];if(f.type==="scatter"&&f.xaxis===o.xaxis&&f.yaxis===o.yaxis){f.opacity=void 0;break}}}}}},17438:function(k,m,t){var d=t(71828),y=t(73972),i=t(82196),M=t(47581),g=t(34098),h=t(67513),l=t(73927),a=t(565),u=t(49508),o=t(11058),s=t(94039),c=t(82410),f=t(28908),p=t(71828).coercePattern;k.exports=function(w,v,S,x){function T(R,D){return d.coerce(w,v,i,R,D)}var C=h(w,v,x,T);if(C||(v.visible=!1),v.visible){l(w,v,x,T),T("xhoverformat"),T("yhoverformat");var _=a(w,v,x,T);x.scattermode==="group"&&v.orientation===void 0&&T("orientation","v");var A=!_&&C=Math.min(me,pe)&&w<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Oe=1-1/xe,_e=Math.abs(f.c2p(de.x)-w);return _e=Math.min(me,pe)&&v<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Oe=1-1/xe,_e=Math.abs(p.c2p(de.y)-v);return _ece!=(te=U[j][1])>=ce&&(q=U[j-1][0],H=U[j][0],te-ne&&(G=q+(H-q)*(ce-ne)/(te-ne),re=Math.min(re,G),ie=Math.max(ie,G)));re=Math.max(re,0),ie=Math.min(ie,f._length);var ye=g.defaultLine;return g.opacity(c.fillcolor)?ye=c.fillcolor:g.opacity((c.line||{}).color)&&(ye=c.line.color),d.extendFlat(l,{distance:l.maxHoverDistance,x0:re,x1:ie,y0:ce,y1:ce,color:ye,hovertemplate:!1}),delete l.index,c.text&&!Array.isArray(c.text)?l.text=String(c.text):l.text=c.name,[l]}}}},67368:function(k,m,t){var d=t(34098);k.exports={hasLines:d.hasLines,hasMarkers:d.hasMarkers,hasText:d.hasText,isBubble:d.isBubble,attributes:t(82196),layoutAttributes:t(21479),supplyDefaults:t(17438),crossTraceDefaults:t(34936),supplyLayoutDefaults:t(79334),calc:t(47761).calc,crossTraceCalc:t(72626),arraysToCalcdata:t(75225),plot:t(32663),colorbar:t(4898),formatLabels:t(8225),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(33720),selectPoints:t(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(k){k.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(k,m,t){var d=t(71828),y=t(21479);k.exports=function(i,M){var g,h=M.barmode==="group";M.scattermode==="group"&&(g=h?M.bargap:.2,d.coerce(i,M,y,"scattergap",g))}},11058:function(k,m,t){var d=t(71828).isArrayOrTypedArray,y=t(52075).hasColorscale,i=t(1586);k.exports=function(M,g,h,l,a,u){u||(u={});var o=(M.marker||{}).color;a("line.color",h),y(M,"line")?i(M,g,l,a,{prefix:"line.",cLetter:"c"}):a("line.color",!d(o)&&o||h),a("line.width"),u.noDash||a("line.dash"),u.backoff&&a("line.backoff")}},34621:function(k,m,t){var d=t(91424),y=t(50606),i=y.BADNUM,M=y.LOG_CLIP,g=M+.5,h=M-.5,l=t(71828),a=l.segmentsIntersect,u=l.constrain,o=t(47581);k.exports=function(s,c){var f,p,w,v,S,x,T,C,_,A,L,b,P,I,R,D,F,B,N=c.trace||{},W=c.xaxis,j=c.yaxis,Y=W.type==="log",U=j.type==="log",G=W._length,q=j._length,H=c.backoff,ne=N.marker,te=c.connectGaps,Z=c.baseTolerance,X=c.shape,Q=X==="linear",re=N.fill&&N.fill!=="none",ie=[],oe=o.minTolerance,ue=s.length,ce=new Array(ue),ye=0;function de(Vt){var Ke=s[Vt];if(!Ke)return!1;var Je=c.linearized?W.l2p(Ke.x):W.c2p(Ke.x),qe=c.linearized?j.l2p(Ke.y):j.c2p(Ke.y);if(Je===i){if(Y&&(Je=W.c2p(Ke.x,!0)),Je===i)return!1;U&&qe===i&&(Je*=Math.abs(W._m*q*(W._m>0?g:h)/(j._m*G*(j._m>0?g:h)))),Je*=1e3}if(qe===i){if(U&&(qe=j.c2p(Ke.y,!0)),qe===i)return!1;qe*=1e3}return[Je,qe]}function me(Vt,Ke,Je,qe){var nt=Je-Vt,ht=qe-Ke,Pe=.5-Vt,Ne=.5-Ke,Qe=nt*nt+ht*ht,ut=nt*Pe+ht*Ne;if(ut>0&&utLe||Vt[1]ze)return[u(Vt[0],ke,Le),u(Vt[1],Be,ze)]}function we(Vt,Ke){return Vt[0]===Ke[0]&&(Vt[0]===ke||Vt[0]===Le)||Vt[1]===Ke[1]&&(Vt[1]===Be||Vt[1]===ze)||void 0}function Ee(Vt,Ke,Je){return function(qe,nt){var ht=ge(qe),Pe=ge(nt),Ne=[];if(ht&&Pe&&we(ht,Pe))return Ne;ht&&Ne.push(ht),Pe&&Ne.push(Pe);var Qe=2*l.constrain((qe[Vt]+nt[Vt])/2,Ke,Je)-((ht||qe)[Vt]+(Pe||nt)[Vt]);return Qe&&((ht&&Pe?Qe>0==ht[Vt]>Pe[Vt]?ht:Pe:ht||Pe)[Vt]+=Qe),Ne}}function Ve(Vt){var Ke=Vt[0],Je=Vt[1],qe=Ke===ce[ye-1][0],nt=Je===ce[ye-1][1];if(!qe||!nt)if(ye>1){var ht=Ke===ce[ye-2][0],Pe=Je===ce[ye-2][1];qe&&(Ke===ke||Ke===Le)&&ht?Pe?ye--:ce[ye-1]=Vt:nt&&(Je===Be||Je===ze)&&Pe?ht?ye--:ce[ye-1]=Vt:ce[ye++]=Vt}else ce[ye++]=Vt}function Ye(Vt){ce[ye-1][0]!==Vt[0]&&ce[ye-1][1]!==Vt[1]&&Ve([Me,Se]),Ve(Vt),Ce=null,Me=Se=0}X==="linear"||X==="spline"?he=function(Vt,Ke){for(var Je=[],qe=0,nt=0;nt<4;nt++){var ht=je[nt],Pe=a(Vt[0],Vt[1],Ke[0],Ke[1],ht[0],ht[1],ht[2],ht[3]);Pe&&(!qe||Math.abs(Pe.x-Je[0][0])>1||Math.abs(Pe.y-Je[0][1])>1)&&(Pe=[Pe.x,Pe.y],qe&&xe(Pe,Vt)Le?Le:0,_e=Vt[1]ze?ze:0,Oe||_e){if(ye)if(Ce){var Ke=he(Ce,Vt);Ke.length>1&&(Ye(Ke[0]),ce[ye++]=Ke[1])}else ae=he(ce[ye-1],Vt)[0],ce[ye++]=ae;else ce[ye++]=[Oe||Vt[0],_e||Vt[1]];var Je=ce[ye-1];Oe&&_e&&(Je[0]!==Oe||Je[1]!==_e)?(Ce&&(Me!==Oe&&Se!==_e?Ve(Me&&Se?(qe=Ce,ht=(nt=Vt)[0]-qe[0],Pe=(nt[1]-qe[1])/ht,(qe[1]*nt[0]-nt[1]*qe[0])/ht>0?[Pe>0?ke:Le,ze]:[Pe>0?Le:ke,Be]):[Me||Oe,Se||_e]):Me&&Se&&Ve([Me,Se])),Ve([Oe,_e])):Me-Oe&&Se-_e&&Ve([Oe||Me,_e||Se]),Ce=Vt,Me=Oe,Se=_e}else Ce&&Ye(he(Ce,Vt)[0]),ce[ye++]=Vt;var qe,nt,ht,Pe}for(f=0;fpe(x,ot))break;w=x,(P=_[0]*C[0]+_[1]*C[1])>L?(L=P,v=x,T=!1):P=s.length||!x)break;st(x),p=x}}else st(v)}Ce&&Ve([Me||Ce[0],Se||Ce[1]]),ie.push(ce.slice(0,ye))}var ft=X.slice(X.length-1);if(H&&ft!=="h"&&ft!=="v"){for(var bt=!1,Et=-1,kt=[],xt=0;xt=0?l=c:(l=c=s,s++),l0?Math.max(u,h):0}}},4898:function(k){k.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(k,m,t){var d=t(7901),y=t(52075).hasColorscale,i=t(1586),M=t(34098);k.exports=function(g,h,l,a,u,o){var s=M.isBubble(g),c=(g.line||{}).color;o=o||{},c&&(l=c),u("marker.symbol"),u("marker.opacity",s?.7:1),u("marker.size"),o.noAngle||(u("marker.angle"),o.noAngleRef||u("marker.angleref"),o.noStandOff||u("marker.standoff")),u("marker.color",l),y(g,"marker")&&i(g,h,a,u,{prefix:"marker.",cLetter:"c"}),o.noSelect||(u("selected.marker.color"),u("unselected.marker.color"),u("selected.marker.size"),u("unselected.marker.size")),o.noLine||(u("marker.line.color",c&&!Array.isArray(c)&&h.marker.color!==c?c:s?d.background:d.defaultLine),y(g,"marker.line")&&i(g,h,a,u,{prefix:"marker.line.",cLetter:"c"}),u("marker.line.width",s?1:0)),s&&(u("marker.sizeref"),u("marker.sizemin"),u("marker.sizemode")),o.gradient&&u("marker.gradient.type")!=="none"&&u("marker.gradient.color")}},73927:function(k,m,t){var d=t(71828).dateTick0,y=t(50606).ONEWEEK;function i(M,g){return d(g,M%y==0?1:0)}k.exports=function(M,g,h,l,a){if(a||(a={x:!0,y:!0}),a.x){var u=l("xperiod");u&&(l("xperiod0",i(u,g.xcalendar)),l("xperiodalignment"))}if(a.y){var o=l("yperiod");o&&(l("yperiod0",i(o,g.ycalendar)),l("yperiodalignment"))}}},32663:function(k,m,t){var d=t(39898),y=t(73972),i=t(71828),M=i.ensureSingle,g=i.identity,h=t(91424),l=t(34098),a=t(34621),u=t(68687),o=t(61082).tester;function s(c,f,p,w,v,S,x){var T,C=c._context.staticPlot;(function(he,be,ke,Le,Be){var ze=ke.xaxis,je=ke.yaxis,ge=d.extent(i.simpleMap(ze.range,ze.r2c)),we=d.extent(i.simpleMap(je.range,je.r2c)),Ee=Le[0].trace;if(l.hasMarkers(Ee)){var Ve=Ee.marker.maxdisplayed;if(Ve!==0){var Ye=Le.filter(function(ft){return ft.x>=ge[0]&&ft.x<=ge[1]&&ft.y>=we[0]&&ft.y<=we[1]}),$e=Math.ceil(Ye.length/Ve),st=0;Be.forEach(function(ft,bt){var Et=ft[0].trace;l.hasMarkers(Et)&&Et.marker.maxdisplayed>0&&bt0;function A(he){return _?he.transition():he}var L=p.xaxis,b=p.yaxis,P=w[0].trace,I=P.line,R=d.select(S),D=M(R,"g","errorbars"),F=M(R,"g","lines"),B=M(R,"g","points"),N=M(R,"g","text");if(y.getComponentMethod("errorbars","plot")(c,D,p,x),P.visible===!0){var W,j;A(R).style("opacity",P.opacity);var Y=P.fill.charAt(P.fill.length-1);Y!=="x"&&Y!=="y"&&(Y=""),w[0][p.isRangePlot?"nodeRangePlot3":"node3"]=R;var U,G,q="",H=[],ne=P._prevtrace;ne&&(q=ne._prevRevpath||"",j=ne._nextFill,H=ne._polygons);var te,Z,X,Q,re,ie,oe,ue="",ce="",ye=[],de=i.noop;if(W=P._ownFill,l.hasLines(P)||P.fill!=="none"){for(j&&j.datum(w),["hv","vh","hvh","vhv"].indexOf(I.shape)!==-1?(te=h.steps(I.shape),Z=h.steps(I.shape.split("").reverse().join(""))):te=Z=I.shape==="spline"?function(he){var be=he[he.length-1];return he.length>1&&he[0][0]===be[0]&&he[0][1]===be[1]?h.smoothclosed(he.slice(1),I.smoothing):h.smoothopen(he,I.smoothing)}:function(he){return"M"+he.join("L")},X=function(he){return Z(he.reverse())},ye=a(w,{xaxis:L,yaxis:b,trace:P,connectGaps:P.connectgaps,baseTolerance:Math.max(I.width||1,3)/4,shape:I.shape,backoff:I.backoff,simplify:I.simplify,fill:P.fill}),oe=P._polygons=new Array(ye.length),T=0;T0,A=u(c,f,p);(x=w.selectAll("g.trace").data(A,function(L){return L[0].trace.uid})).enter().append("g").attr("class",function(L){return"trace scatter trace"+L[0].trace.uid}).style("stroke-miterlimit",2),x.order(),function(L,b,P){b.each(function(I){var R=M(d.select(this),"g","fills");h.setClipUrl(R,P.layerClipId,L);var D=I[0].trace,F=[];D._ownfill&&F.push("_ownFill"),D._nexttrace&&F.push("_nextFill");var B=R.selectAll("g").data(F,g);B.enter().append("g"),B.exit().each(function(N){D[N]=null}).remove(),B.order().each(function(N){D[N]=M(d.select(this),"path","js-fill")})})}(c,x,f),_?(S&&(T=S()),d.transition().duration(v.duration).ease(v.easing).each("end",function(){T&&T()}).each("interrupt",function(){T&&T()}).each(function(){w.selectAll("g.trace").each(function(L,b){s(c,b,f,L,A,this,v)})})):x.each(function(L,b){s(c,b,f,L,A,this,v)}),C&&x.exit().remove(),w.selectAll("path:not([d])").remove()}},98002:function(k,m,t){var d=t(34098);k.exports=function(y,i){var M,g,h,l,a=y.cd,u=y.xaxis,o=y.yaxis,s=[],c=a[0].trace;if(!d.hasMarkers(c)&&!d.hasText(c))return[];if(i===!1)for(M=0;M0){var p=h.c2l(c);h._lowerLogErrorBound||(h._lowerLogErrorBound=p),h._lowerErrorBound=Math.min(h._lowerLogErrorBound,p)}}else a[u]=[-o[0]*g,o[1]*g]}return a}k.exports=function(i,M,g){var h=[y(i.x,i.error_x,M[0],g.xaxis),y(i.y,i.error_y,M[1],g.yaxis),y(i.z,i.error_z,M[2],g.zaxis)],l=function(f){for(var p=0;p-1?-1:b.indexOf("right")>-1?1:0}function x(b){return b==null?0:b.indexOf("top")>-1?-1:b.indexOf("bottom")>-1?1:0}function T(b,P){return P(4*b)}function C(b){return s[b]}function _(b,P,I,R,D){var F=null;if(h.isArrayOrTypedArray(b)){F=[];for(var B=0;B=0){var j=function(Y,U,G){var q,H=(G+1)%3,ne=(G+2)%3,te=[],Z=[];for(q=0;q=0&&c("surfacecolor",p||w);for(var v=["x","y","z"],S=0;S<3;++S){var x="projection."+v[S];c(x+".show")&&(c(x+".opacity"),c(x+".scale"))}var T=d.getComponentMethod("errorbars","supplyDefaults");T(a,u,p||w||o,{axis:"z"}),T(a,u,p||w||o,{axis:"y",inherit:"z"}),T(a,u,p||w||o,{axis:"x",inherit:"z"})}else u.visible=!1}},13551:function(k,m,t){k.exports={plot:t(58925),attributes:t(44542),markerSymbols:t(87381),supplyDefaults:t(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t(36563),moduleType:"trace",name:"scatter3d",basePlotModule:t(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(k,m,t){var d=t(82196),y=t(9012),i=t(5386).fF,M=t(5386).si,g=t(50693),h=t(1426).extendFlat,l=d.marker,a=d.line,u=l.line;k.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:h({},d.mode,{dflt:"markers"}),text:h({},d.text,{}),texttemplate:M({editType:"plot"},{keys:["a","b","text"]}),hovertext:h({},d.hovertext,{}),line:{color:a.color,width:a.width,dash:a.dash,backoff:a.backoff,shape:h({},a.shape,{values:["linear","spline"]}),smoothing:a.smoothing,editType:"calc"},connectgaps:d.connectgaps,fill:h({},d.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:d.fillcolor,marker:h({symbol:l.symbol,opacity:l.opacity,maxdisplayed:l.maxdisplayed,angle:l.angle,angleref:l.angleref,standoff:l.standoff,size:l.size,sizeref:l.sizeref,sizemin:l.sizemin,sizemode:l.sizemode,line:h({width:u.width,editType:"calc"},g("marker.line")),gradient:l.gradient,editType:"calc"},g("marker")),textfont:d.textfont,textposition:d.textposition,selected:d.selected,unselected:d.unselected,hoverinfo:h({},y.hoverinfo,{flags:["a","b","text","name"]}),hoveron:d.hoveron,hovertemplate:i()}},34618:function(k,m,t){var d=t(92770),y=t(36922),i=t(75225),M=t(66279),g=t(47761).calcMarkerSize,h=t(22882);k.exports=function(l,a){var u=a._carpetTrace=h(l,a);if(u&&u.visible&&u.visible!=="legendonly"){var o;a.xaxis=u.xaxis,a.yaxis=u.yaxis;var s,c,f=a._length,p=new Array(f),w=!1;for(o=0;o")}return l}function T(C,_){var A;A=C.labelprefix&&C.labelprefix.length>0?C.labelprefix.replace(/ = $/,""):C._hovertitle,S.push(A+": "+_.toFixed(3)+C.labelsuffix)}}},46858:function(k,m,t){k.exports={attributes:t(97001),supplyDefaults:t(98965),colorbar:t(4898),formatLabels:t(48953),calc:t(34618),plot:t(1913),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(22931),selectPoints:t(98002),eventData:t(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:t(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(k,m,t){var d=t(32663),y=t(89298),i=t(91424);k.exports=function(M,g,h,l){var a,u,o,s=h[0][0].carpet,c=y.getFromId(M,s.xaxis||"x"),f=y.getFromId(M,s.yaxis||"y"),p={xaxis:c,yaxis:f,plot:g.plot};for(a=0;a")}function j(Y){return Y+"ยฐ"}}(o,v,h,u[0].t.labels),h.hovertemplate=o.hovertemplate,[h]}}},17988:function(k,m,t){k.exports={attributes:t(19316),supplyDefaults:t(10659),colorbar:t(4898),formatLabels:t(82719),calc:t(84622),calcGeoJSON:t(89171).calcGeoJSON,plot:t(89171).plot,style:t(33095),styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(14977),eventData:t(84084),selectPoints:t(20548),moduleType:"trace",name:"scattergeo",basePlotModule:t(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(k,m,t){var d=t(39898),y=t(71828),i=t(90973).getTopojsonFeatures,M=t(18214),g=t(41327),h=t(71739).findExtremes,l=t(50606).BADNUM,a=t(47761).calcMarkerSize,u=t(34098),o=t(33095);k.exports={calcGeoJSON:function(s,c){var f,p,w=s[0].trace,v=c[w.geo],S=v._subplot,x=w._length;if(Array.isArray(w.locations)){var T=w.locationmode,C=T==="geojson-id"?g.extractTraceFeature(s):i(w,S.topojson);for(f=0;f=p,P=2*L,I={},R=C.makeCalcdata(S,"x"),D=_.makeCalcdata(S,"y"),F=g(S,C,"x",R),B=g(S,_,"y",D),N=F.vals,W=B.vals;S._x=N,S._y=W,S.xperiodalignment&&(S._origX=R,S._xStarts=F.starts,S._xEnds=F.ends),S.yperiodalignment&&(S._origY=D,S._yStarts=B.starts,S._yEnds=B.ends);var j=new Array(P),Y=new Array(L);for(x=0;x1&&y.extendFlat(re.line,s.linePositions(H,te,Z)),re.errorX||re.errorY){var ie=s.errorBarPositions(H,te,Z,X,Q);re.errorX&&y.extendFlat(re.errorX,ie.x),re.errorY&&y.extendFlat(re.errorY,ie.y)}return re.text&&(y.extendFlat(re.text,{positions:Z},s.textPosition(H,te,re.text,re.marker)),y.extendFlat(re.textSel,{positions:Z},s.textPosition(H,te,re.text,re.markerSel)),y.extendFlat(re.textUnsel,{positions:Z},s.textPosition(H,te,re.text,re.markerUnsel))),re}(v,0,S,j,N,W),q=c(v,A);return u(T,S),b?G.marker&&(U=G.marker.sizeAvg||Math.max(G.marker.size,3)):U=l(S,L),a(v,S,C,_,N,W,U),G.errorX&&w(S,C,G.errorX),G.errorY&&w(S,_,G.errorY),G.fill&&!q.fill2d&&(q.fill2d=!0),G.marker&&!q.scatter2d&&(q.scatter2d=!0),G.line&&!q.line2d&&(q.line2d=!0),!G.errorX&&!G.errorY||q.error2d||(q.error2d=!0),G.text&&!q.glText&&(q.glText=!0),G.marker&&(G.marker.snap=L),q.lineOptions.push(G.line),q.errorXOptions.push(G.errorX),q.errorYOptions.push(G.errorY),q.fillOptions.push(G.fill),q.markerOptions.push(G.marker),q.markerSelectedOptions.push(G.markerSel),q.markerUnselectedOptions.push(G.markerUnsel),q.textOptions.push(G.text),q.textSelectedOptions.push(G.textSel),q.textUnselectedOptions.push(G.textUnsel),q.selectBatch.push([]),q.unselectBatch.push([]),I._scene=q,I.index=q.count,I.x=N,I.y=W,I.positions=j,q.count++,[{x:!1,y:!1,t:I,trace:S}]}},78232:function(k){k.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},19635:function(k,m,t){var d=t(92770),y=t(82019),i=t(25075),M=t(73972),g=t(71828),h=t(91424),l=t(41675),a=t(81697).formatColor,u=t(34098),o=t(39984),s=t(68645),c=t(78232),f=t(37822).DESELECTDIM,p={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},w=t(23469).appendArrayPointValue;function v(R,D){var F,B=R._fullLayout,N=D._length,W=D.textfont,j=D.textposition,Y=Array.isArray(j)?j:[j],U=W.color,G=W.size,q=W.family,H={},ne=R._context.plotGlPixelRatio,te=D.texttemplate;if(te){H.text=[];var Z=B._d3locale,X=Array.isArray(te),Q=X?Math.min(te.length,N):N,re=X?function(me){return te[me]}:function(){return te};for(F=0;Fc.TOO_MANY_POINTS||u.hasMarkers(D)?"rect":"round";if(G&&D.connectgaps){var H=B[0],ne=B[1];for(N=0;N1?U[N]:U[0]:U,te=Array.isArray(G)?G.length>1?G[N]:G[0]:G,Z=p[ne],X=p[te],Q=q?q/.8+1:0,re=-X*Q-.5*X;j.offset[N]=[Z*Q/H,re/H]}}return j}}},47148:function(k,m,t){var d=t(71828),y=t(73972),i=t(68645),M=t(42341),g=t(47581),h=t(34098),l=t(67513),a=t(73927),u=t(49508),o=t(11058),s=t(28908),c=t(82410);k.exports=function(f,p,w,v){function S(P,I){return d.coerce(f,p,M,P,I)}var x=!!f.marker&&i.isOpenSymbol(f.marker.symbol),T=h.isBubble(f),C=l(f,p,v,S);if(C){a(f,p,v,S),S("xhoverformat"),S("yhoverformat");var _=C100},m.isDotSymbol=function(y){return typeof y=="string"?d.DOT_RE.test(y):y>200}},20794:function(k,m,t){var d=t(73972),y=t(71828),i=t(34603);function M(g,h,l,a){var u=g.xa,o=g.ya,s=g.distance,c=g.dxy,f=g.index,p={pointNumber:f,x:h[f],y:l[f]};p.tx=Array.isArray(a.text)?a.text[f]:a.text,p.htx=Array.isArray(a.hovertext)?a.hovertext[f]:a.hovertext,p.data=Array.isArray(a.customdata)?a.customdata[f]:a.customdata,p.tp=Array.isArray(a.textposition)?a.textposition[f]:a.textposition;var w=a.textfont;w&&(p.ts=y.isArrayOrTypedArray(w.size)?w.size[f]:w.size,p.tc=Array.isArray(w.color)?w.color[f]:w.color,p.tf=Array.isArray(w.family)?w.family[f]:w.family);var v=a.marker;v&&(p.ms=y.isArrayOrTypedArray(v.size)?v.size[f]:v.size,p.mo=y.isArrayOrTypedArray(v.opacity)?v.opacity[f]:v.opacity,p.mx=y.isArrayOrTypedArray(v.symbol)?v.symbol[f]:v.symbol,p.ma=y.isArrayOrTypedArray(v.angle)?v.angle[f]:v.angle,p.mc=y.isArrayOrTypedArray(v.color)?v.color[f]:v.color);var S=v&&v.line;S&&(p.mlc=Array.isArray(S.color)?S.color[f]:S.color,p.mlw=y.isArrayOrTypedArray(S.width)?S.width[f]:S.width);var x=v&&v.gradient;x&&x.type!=="none"&&(p.mgt=Array.isArray(x.type)?x.type[f]:x.type,p.mgc=Array.isArray(x.color)?x.color[f]:x.color);var T=u.c2p(p.x,!0),C=o.c2p(p.y,!0),_=p.mrc||1,A=a.hoverlabel;A&&(p.hbg=Array.isArray(A.bgcolor)?A.bgcolor[f]:A.bgcolor,p.hbc=Array.isArray(A.bordercolor)?A.bordercolor[f]:A.bordercolor,p.hts=y.isArrayOrTypedArray(A.font.size)?A.font.size[f]:A.font.size,p.htc=Array.isArray(A.font.color)?A.font.color[f]:A.font.color,p.htf=Array.isArray(A.font.family)?A.font.family[f]:A.font.family,p.hnl=y.isArrayOrTypedArray(A.namelength)?A.namelength[f]:A.namelength);var L=a.hoverinfo;L&&(p.hi=Array.isArray(L)?L[f]:L);var b=a.hovertemplate;b&&(p.ht=Array.isArray(b)?b[f]:b);var P={};P[g.index]=p;var I=a._origX,R=a._origY,D=y.extendFlat({},g,{color:i(a,p),x0:T-_,x1:T+_,xLabelVal:I?I[f]:p.x,y0:C-_,y1:C+_,yLabelVal:R?R[f]:p.y,cd:P,distance:s,spikeDistance:c,hovertemplate:p.ht});return p.htx?D.text=p.htx:p.tx?D.text=p.tx:a.text&&(D.text=a.text),y.fillText(p,a,D),d.getComponentMethod("errorbars","hoverInfo")(p,a,D),D}k.exports={hoverPoints:function(g,h,l,a){var u,o,s,c,f,p,w,v,S,x,T=g.cd,C=T[0].t,_=T[0].trace,A=g.xa,L=g.ya,b=C.x,P=C.y,I=A.c2p(h),R=L.c2p(l),D=g.distance;if(C.tree){var F=A.p2c(I-D),B=A.p2c(I+D),N=L.p2c(R-D),W=L.p2c(R+D);u=a==="x"?C.tree.range(Math.min(F,B),Math.min(L._rl[0],L._rl[1]),Math.max(F,B),Math.max(L._rl[0],L._rl[1])):C.tree.range(Math.min(F,B),Math.min(N,W),Math.max(F,B),Math.max(N,W))}else u=C.ids;var j=D;if(a==="x"){var Y=!!_.xperiodalignment,U=!!_.yperiodalignment;for(p=0;p=Math.min(G,q)&&I<=Math.max(G,q)?0:1/0}if(w=Math.min(H,ne)&&R<=Math.max(H,ne)?0:1/0}x=Math.sqrt(w*w+v*v),s=u[p]}}}else for(p=u.length-1;p>-1;p--)c=b[o=u[p]],f=P[o],w=A.c2p(c)-I,v=L.c2p(f)-R,(S=Math.sqrt(w*w+v*v))T.glText.length){var b=A-T.glText.length;for(v=0;vue&&(isNaN(oe[ce])||isNaN(oe[ce+1]));)ce-=2;ie.positions=oe.slice(ue,ce+2)}return ie}),T.line2d.update(T.lineOptions)),T.error2d){var I=(T.errorXOptions||[]).concat(T.errorYOptions||[]);T.error2d.update(I)}T.scatter2d&&T.scatter2d.update(T.markerOptions),T.fillOrder=g.repeat(null,A),T.fill2d&&(T.fillOptions=T.fillOptions.map(function(ie,oe){var ue=w[oe];if(ie&&ue&&ue[0]&&ue[0].trace){var ce,ye,de=ue[0],me=de.trace,pe=de.t,xe=T.lineOptions[oe],Oe=[];me._ownfill&&Oe.push(oe),me._nexttrace&&Oe.push(oe+1),Oe.length&&(T.fillOrder[oe]=Oe);var _e,Me,Se=[],Ce=xe&&xe.positions||pe.positions;if(me.fill==="tozeroy"){for(_e=0;_e_e&&isNaN(Ce[Me+1]);)Me-=2;Ce[_e+1]!==0&&(Se=[Ce[_e],0]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me+1]!==0&&(Se=Se.concat([Ce[Me],0]))}else if(me.fill==="tozerox"){for(_e=0;_e_e&&isNaN(Ce[Me]);)Me-=2;Ce[_e]!==0&&(Se=[0,Ce[_e+1]]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me]!==0&&(Se=Se.concat([0,Ce[Me+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(Se=[],ce=0,ie.splitNull=!0,ye=0;ye-1;for(v=0;v")}function S(x){return x+"ยฐ"}}k.exports={hoverPoints:function(a,u,o){var s=a.cd,c=s[0].trace,f=a.xa,p=a.ya,w=a.subplot,v=[],S=h+c.uid+"-circle",x=c.cluster&&c.cluster.enabled;if(x){var T=w.map.queryRenderedFeatures(null,{layers:[S]});v=T.map(function(B){return B.id})}var C=360*(u>=0?Math.floor((u+180)/360):Math.ceil((u-180)/360)),_=u-C;if(d.getClosest(s,function(B){var N=B.lonlat;if(N[0]===g||x&&v.indexOf(B.i+1)===-1)return 1/0;var W=y.modHalf(N[0],360),j=N[1],Y=w.project([W,j]),U=Y.x-f.c2p([_,j]),G=Y.y-p.c2p([W,o]),q=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(U*U+G*G)-q,1-3/q)},a),a.index!==!1){var A=s[a.index],L=A.lonlat,b=[y.modHalf(L[0],360)+C,L[1]],P=f.c2p(b),I=p.c2p(b),R=A.mrc||1;a.x0=P-R,a.x1=P+R,a.y0=I-R,a.y1=I+R;var D={};D[c.subplot]={_subplot:w};var F=c._module.formatLabels(A,c,D);return a.lonLabel=F.lonLabel,a.latLabel=F.latLabel,a.color=i(c,A),a.extraText=l(c,A,s[0].t.labels),a.hovertemplate=c.hovertemplate,[a]}},getExtraText:l}},20467:function(k,m,t){k.exports={attributes:t(99181),supplyDefaults:t(76645),colorbar:t(4898),formatLabels:t(15636),calc:t(84622),plot:t(86951),hoverPoints:t(28178).hoverPoints,eventData:t(53353),selectPoints:t(86387),styleOnSelect:function(d,y){y&&y[0].trace._glTrace.update(y)},moduleType:"trace",name:"scattermapbox",basePlotModule:t(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(k,m,t){var d=t(71828),y=t(15790),i=t(77734).traceLayerPrefix,M={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function g(l,a,u,o){this.type="scattermapbox",this.subplot=l,this.uid=a,this.clusterEnabled=u,this.isHidden=o,this.sourceIds={fill:"source-"+a+"-fill",line:"source-"+a+"-line",circle:"source-"+a+"-circle",symbol:"source-"+a+"-symbol",cluster:"source-"+a+"-circle",clusterCount:"source-"+a+"-circle"},this.layerIds={fill:i+a+"-fill",line:i+a+"-line",circle:i+a+"-circle",symbol:i+a+"-symbol",cluster:i+a+"-cluster",clusterCount:i+a+"-cluster-count"},this.below=null}var h=g.prototype;h.addSource=function(l,a,u){var o={type:"geojson",data:a.geojson};u&&u.enabled&&d.extendFlat(o,{cluster:!0,clusterMaxZoom:u.maxzoom});var s=this.subplot.map.getSource(this.sourceIds[l]);s?s.setData(a.geojson):this.subplot.map.addSource(this.sourceIds[l],o)},h.setSourceData=function(l,a){this.subplot.map.getSource(this.sourceIds[l]).setData(a.geojson)},h.addLayer=function(l,a,u){var o={type:a.type,id:this.layerIds[l],source:this.sourceIds[l],layout:a.layout,paint:a.paint};a.filter&&(o.filter=a.filter);for(var s,c=this.layerIds[l],f=this.subplot.getMapLayers(),p=0;p=0;b--){var P=L[b];o.removeLayer(w.layerIds[P])}A||o.removeSource(w.sourceIds.circle)}(_):function(A){for(var L=M.nonCluster,b=L.length-1;b>=0;b--){var P=L[b];o.removeLayer(w.layerIds[P]),A||o.removeSource(w.sourceIds[P])}}(_)}function S(_){f?function(A){A||w.addSource("circle",s.circle,a.cluster);for(var L=M.cluster,b=0;b=0;u--){var o=a[u];l.removeLayer(this.layerIds[o]),l.removeSource(this.sourceIds[o])}},k.exports=function(l,a){var u,o,s,c=a[0].trace,f=c.cluster&&c.cluster.enabled,p=c.visible!==!0,w=new g(l,c.uid,f,p),v=y(l.gd,a),S=w.below=l.belowLookup["trace-"+c.uid];if(f)for(w.addSource("circle",v.circle,c.cluster),u=0;u")}}k.exports={hoverPoints:function(i,M,g,h){var l=d(i,M,g,h);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,y(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:y}},91271:function(k,m,t){k.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:t(81245),supplyDefaults:t(22184).supplyDefaults,colorbar:t(4898),formatLabels:t(98608),calc:t(26442),plot:t(45162),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(59150).hoverPoints,selectPoints:t(98002),meta:{}}},45162:function(k,m,t){var d=t(32663),y=t(50606).BADNUM;k.exports=function(i,M,g){for(var h=M.layers.frontplot.select("g.scatterlayer"),l=M.xaxis,a=M.yaxis,u={xaxis:l,yaxis:a,plot:M.framework,layerClipId:M._hasClipOnAxisFalse?M.clipIds.forTraces:null},o=M.radialAxis,s=M.angularAxis,c=0;c=l&&(A.marker.cluster=x.tree),A.marker&&(A.markerSel.positions=A.markerUnsel.positions=A.marker.positions=P),A.line&&P.length>1&&h.extendFlat(A.line,g.linePositions(a,S,P)),A.text&&(h.extendFlat(A.text,{positions:P},g.textPosition(a,S,A.text,A.marker)),h.extendFlat(A.textSel,{positions:P},g.textPosition(a,S,A.text,A.markerSel)),h.extendFlat(A.textUnsel,{positions:P},g.textPosition(a,S,A.text,A.markerUnsel))),A.fill&&!f.fill2d&&(f.fill2d=!0),A.marker&&!f.scatter2d&&(f.scatter2d=!0),A.line&&!f.line2d&&(f.line2d=!0),A.text&&!f.glText&&(f.glText=!0),f.lineOptions.push(A.line),f.fillOptions.push(A.fill),f.markerOptions.push(A.marker),f.markerSelectedOptions.push(A.markerSel),f.markerUnselectedOptions.push(A.markerUnsel),f.textOptions.push(A.text),f.textSelectedOptions.push(A.textSel),f.textUnselectedOptions.push(A.textUnsel),f.selectBatch.push([]),f.unselectBatch.push([]),x.x=I,x.y=R,x.rawx=I,x.rawy=R,x.r=C,x.theta=_,x.positions=P,x._scene=f,x.index=f.count,f.count++}}),i(a,u,o)}},k.exports.reglPrecompiled={}},48300:function(k,m,t){var d=t(5386).fF,y=t(5386).si,i=t(1426).extendFlat,M=t(82196),g=t(9012),h=M.line;k.exports={mode:M.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:M.text,texttemplate:y({editType:"plot"},{keys:["real","imag","text"]}),hovertext:M.hovertext,line:{color:h.color,width:h.width,dash:h.dash,backoff:h.backoff,shape:i({},h.shape,{values:["linear","spline"]}),smoothing:h.smoothing,editType:"calc"},connectgaps:M.connectgaps,marker:M.marker,cliponaxis:i({},M.cliponaxis,{dflt:!1}),textposition:M.textposition,textfont:M.textfont,fill:i({},M.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:M.fillcolor,hoverinfo:i({},g.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:M.hoveron,hovertemplate:d(),selected:M.selected,unselected:M.unselected}},30621:function(k,m,t){var d=t(92770),y=t(50606).BADNUM,i=t(36922),M=t(75225),g=t(66279),h=t(47761).calcMarkerSize;k.exports=function(l,a){for(var u=l._fullLayout,o=a.subplot,s=u[o].realaxis,c=u[o].imaginaryaxis,f=s.makeCalcdata(a,"real"),p=c.makeCalcdata(a,"imag"),w=a._length,v=new Array(w),S=0;S")}}k.exports={hoverPoints:function(i,M,g,h){var l=d(i,M,g,h);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,y(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:y}},85956:function(k,m,t){k.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:t(48300),supplyDefaults:t(65269),colorbar:t(4898),formatLabels:t(62047),calc:t(30621),plot:t(12480),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(11350).hoverPoints,selectPoints:t(98002),meta:{}}},12480:function(k,m,t){var d=t(32663),y=t(50606).BADNUM,i=t(23893).smith;k.exports=function(M,g,h){for(var l=g.layers.frontplot.select("g.scatterlayer"),a=g.xaxis,u=g.yaxis,o={xaxis:a,yaxis:u,plot:g.framework,layerClipId:g._hasClipOnAxisFalse?g.clipIds.forTraces:null},s=0;s"),l.hovertemplate=f.hovertemplate,h}function C(_,A){x.push(_._hovertitle+": "+A)}}},52979:function(k,m,t){k.exports={attributes:t(50413),supplyDefaults:t(46008),colorbar:t(4898),formatLabels:t(93645),calc:t(54337),plot:t(7507),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(47250),selectPoints:t(98002),eventData:t(4524),moduleType:"trace",name:"scatterternary",basePlotModule:t(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(k,m,t){var d=t(32663);k.exports=function(y,i,M){var g=i.plotContainer;g.select(".scatterlayer").selectAll("*").remove();for(var h=i.xaxis,l=i.yaxis,a={xaxis:h,yaxis:l,plot:g,layerClipId:i._hasClipOnAxisFalse?i.clipIdRelative:null},u=i.layers.frontplot.select("g.scatterlayer"),o=0;oo?_.sizeAvg||Math.max(_.size,3):i(c,C),p=0;pP&&D||b-1,j=!0;if(M(_)||w.selectedpoints||W){var Y=w._length;if(w.selectedpoints){S.selectBatch=w.selectedpoints;var U=w.selectedpoints,G={};for(o=0;o1&&(p=T[A-1],v=C[A-1],x=_[A-1]),l=0;lp?"-":"+")+"x")).replace("y",(w>v?"-":"+")+"y")).replace("z",(S>x?"-":"+")+"z");var j=function(){A=0,B=[],N=[],W=[]};(!A||A2?f.slice(1,p-1):p===2?[(f[0]+f[1])/2]:f}function s(f){var p=f.length;return p===1?[.5,.5]:[f[1]-f[0],f[p-1]-f[p-2]]}function c(f,p){var w=f.fullSceneLayout,v=f.dataScale,S=p._len,x={};function T(te,Z){var X=w[Z],Q=v[l[Z]];return i.simpleMap(te,function(re){return X.d2l(re)*Q})}if(x.vectors=h(T(p._u,"xaxis"),T(p._v,"yaxis"),T(p._w,"zaxis"),S),!S)return{positions:[],cells:[]};var C=T(p._Xs,"xaxis"),_=T(p._Ys,"yaxis"),A=T(p._Zs,"zaxis");if(x.meshgrid=[C,_,A],x.gridFill=p._gridFill,p._slen)x.startingPositions=h(T(p._startsX,"xaxis"),T(p._startsY,"yaxis"),T(p._startsZ,"zaxis"));else{for(var L=_[0],b=o(C),P=o(A),I=new Array(b.length*P.length),R=0,D=0;D=0};L?(w=Math.min(A.length,P.length),v=function(ue){return N(A[ue])&&W(ue)},S=function(ue){return String(A[ue])}):(w=Math.min(b.length,P.length),v=function(ue){return N(b[ue])&&W(ue)},S=function(ue){return String(b[ue])}),R&&(w=Math.min(w,I.length));for(var j=0;j1){for(var q=i.randstr(),H=0;H"),name:B||ne("name")?L.name:void 0,color:F("hoverlabel.bgcolor")||b.color,borderColor:F("hoverlabel.bordercolor"),fontFamily:F("hoverlabel.font.family"),fontSize:F("hoverlabel.font.size"),fontColor:F("hoverlabel.font.color"),nameLength:F("hoverlabel.namelength"),textAlign:F("hoverlabel.align"),hovertemplate:B,hovertemplateLabels:G,eventData:A};x&&(X.x0=j-C.rInscribed*C.rpx1,X.x1=j+C.rInscribed*C.rpx1,X.idealAlign=C.pxmid[0]<0?"left":"right"),T&&(X.x=j,X.idealAlign=j<0?"left":"right");var Q=[];M.loneHover(X,{container:_._hoverlayer.node(),outerContainer:_._paper.node(),gd:f,inOut_bbox:Q}),A[0].bbox=Q[0],v._hasHoverLabel=!0}if(T){var re=o.select("path.surface");p.styleOne(re,C,L,{hovered:!0})}v._hasHoverEvent=!0,f.emit("plotly_hover",{points:A||[u(C,L,p.eventDataKeys)],event:d.event})}}),o.on("mouseout",function(C){var _=f._fullLayout,A=f._fullData[v.index],L=d.select(this).datum();if(v._hasHoverEvent&&(C.originalEvent=d.event,f.emit("plotly_unhover",{points:[u(L,A,p.eventDataKeys)],event:d.event}),v._hasHoverEvent=!1),v._hasHoverLabel&&(M.loneUnhover(_._hoverlayer.node()),v._hasHoverLabel=!1),T){var b=o.select("path.surface");p.styleOne(b,L,A,{hovered:!1})}}),o.on("click",function(C){var _=f._fullLayout,A=f._fullData[v.index],L=x&&(l.isHierarchyRoot(C)||l.isLeaf(C)),b=l.getPtId(C),O=l.isEntry(C)?l.findEntryWithChild(S,b):l.findEntryWithLevel(S,b),I=l.getPtId(O),R={points:[u(C,A,p.eventDataKeys)],event:d.event};L||(R.nextLevel=I);var D=h.triggerHandler(f,"plotly_"+v.type+"click",R);if(D!==!1&&_.hovermode&&(f._hoverdata=[u(C,A,p.eventDataKeys)],M.click(f,d.event)),!L&&D!==!1&&!f._dragging&&!f._transitioning){y.call("_storeDirectGUIEdit",A,_._tracePreGUI[A.uid],{level:A.level});var F={data:[{level:I}],traces:[v.index]},B={frame:{redraw:!1,duration:p.transitionTime},transition:{duration:p.transitionTime,easing:p.transitionEasing},mode:"immediate",fromcurrent:!0};M.loneUnhover(_._hoverlayer.node()),y.call("animate",f,F,B)}})}},2791:function(k,m,t){var d=t(71828),y=t(7901),i=t(6964),M=t(53581);function g(h){return h.data.data.pid}m.findEntryWithLevel=function(h,l){var a;return l&&h.eachAfter(function(u){if(m.getPtId(u)===l)return a=u.copy()}),a||h},m.findEntryWithChild=function(h,l){var a;return h.eachAfter(function(u){for(var o=u.children||[],s=0;s0)},m.getMaxDepth=function(h){return h.maxdepth>=0?h.maxdepth:1/0},m.isHeader=function(h,l){return!(m.isLeaf(h)||h.depth===l._maxDepth-1)},m.getParent=function(h,l){return m.findEntryWithLevel(h,g(l))},m.listPath=function(h,l){var a=h.parent;if(!a)return[];var u=l?[a.data[l]]:[a];return m.listPath(a,l).concat(u)},m.getPath=function(h){return m.listPath(h,"label").join("/")+"/"},m.formatValue=M.formatPieValue,m.formatPercent=function(h,l){var a=d.formatPercent(h,0);return a==="0%"&&(a=M.formatPiePercent(h,l)),a}},87619:function(k,m,t){k.exports={moduleType:"trace",name:"sunburst",basePlotModule:t(66888),categories:[],animatable:!0,attributes:t(57564),layoutAttributes:t(2654),supplyDefaults:t(17094),supplyLayoutDefaults:t(57034),calc:t(52147).calc,crossTraceCalc:t(52147).crossTraceCalc,plot:t(24714).plot,style:t(29969).style,colorbar:t(4898),meta:{}}},2654:function(k){k.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(k,m,t){var d=t(71828),y=t(2654);k.exports=function(i,M){function g(h,l){return d.coerce(i,M,y,h,l)}g("sunburstcolorway",M.colorway),g("extendsunburstcolors")}},24714:function(k,m,t){var d=t(39898),y=t(674),i=t(81684).sX,M=t(91424),g=t(71828),h=t(63893),l=t(72597),a=l.recordMinTextSize,u=l.clearMinTextSize,o=t(14575),s=t(53581).getRotationAngle,f=o.computeTransform,c=o.transformInsideText,p=t(29969).styleOne,w=t(16688).resizeText,v=t(83523),S=t(7055),x=t(2791);function T(_,A,L,b){var O=_._context.staticPlot,I=_._fullLayout,R=!I.uniformtext.mode&&x.hasTransition(b),D=d.select(L).selectAll("g.slice"),F=A[0],B=F.trace,N=F.hierarchy,q=x.findEntryWithLevel(N,B.level),j=x.getMaxDepth(B),$=I._size,U=B.domain,G=$.w*(U.x[1]-U.x[0]),W=$.h*(U.y[1]-U.y[0]),H=.5*Math.min(G,W),ne=F.cx=$.l+$.w*(U.x[1]+U.x[0])/2,te=F.cy=$.t+$.h*(1-U.y[0])-W/2;if(!q)return D.remove();var Z=null,X={};R&&D.each(function(Ce){X[x.getPtId(Ce)]={rpx0:Ce.rpx0,rpx1:Ce.rpx1,x0:Ce.x0,x1:Ce.x1,transform:Ce.transform},!Z&&x.isEntry(Ce)&&(Z=Ce)});var Q=function(Ce){return y.partition().size([2*Math.PI,Ce.height+1])(Ce)}(q).descendants(),re=q.height+1,ie=0,oe=j;F.hasMultipleRoots&&x.isHierarchyRoot(q)&&(Q=Q.slice(1),re-=1,ie=1,oe+=1),Q=Q.filter(function(Ce){return Ce.y1<=oe});var ue=s(B.rotation);ue&&Q.forEach(function(Ce){Ce.x0+=ue,Ce.x1+=ue});var ce=Math.min(re,j),ye=function(Ce){return(Ce-ie)/ce*H},de=function(Ce,ae){return[Ce*Math.cos(ae),-Ce*Math.sin(ae)]},me=function(Ce){return g.pathAnnulus(Ce.rpx0,Ce.rpx1,Ce.x0,Ce.x1,ne,te)},pe=function(Ce){return ne+C(Ce)[0]*(Ce.transform.rCenter||0)+(Ce.transform.x||0)},xe=function(Ce){return te+C(Ce)[1]*(Ce.transform.rCenter||0)+(Ce.transform.y||0)};(D=D.data(Q,x.getPtId)).enter().append("g").classed("slice",!0),R?D.exit().transition().each(function(){var Ce=d.select(this);Ce.select("path.surface").transition().attrTween("d",function(ae){var he=function(be){var ke,Le=x.getPtId(be),Be=X[Le],ze=X[x.getPtId(q)];if(ze){var je=(be.x1>ze.x1?2*Math.PI:0)+ue;ke=be.rpx1Pe?2*Math.PI:0)+ue;Ee={x0:Ye,x1:Ye}}else Ee={rpx0:H,rpx1:H},g.extendFlat(Ee,Se(we));else Ee={rpx0:0,rpx1:0};else Ee={x0:ue,x1:ue};return i(Ee,$e)}(je);return function(we){return me(ge(we))}}):he.attr("d",me),ae.call(v,q,_,A,{eventDataKeys:S.eventDataKeys,transitionTime:S.CLICK_TRANSITION_TIME,transitionEasing:S.CLICK_TRANSITION_EASING}).call(x.setSliceCursor,_,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:_._transitioning}),he.call(p,Ce,B);var be=g.ensureSingle(ae,"g","slicetext"),ke=g.ensureSingle(be,"text","",function(je){je.attr("data-notex",1)}),Le=g.ensureUniformFontSize(_,x.determineTextFont(B,Ce,I.font));ke.text(m.formatSliceLabel(Ce,q,B,A,I)).classed("slicetext",!0).attr("text-anchor","middle").call(M.font,Le).call(h.convertToTspans,_);var Be=M.bBox(ke.node());Ce.transform=c(Be,Ce,F),Ce.transform.targetX=pe(Ce),Ce.transform.targetY=xe(Ce);var ze=function(je,ge){var we=je.transform;return f(we,ge),we.fontSize=Le.size,a(B.type,we,I),g.getTextTransform(we)};R?ke.transition().attrTween("transform",function(je){var ge=function(we){var Ee,Ve=X[x.getPtId(we)],$e=we.transform;if(Ve)Ee=Ve;else if(Ee={rpx1:we.rpx1,transform:{textPosAngle:$e.textPosAngle,scale:0,rotate:$e.rotate,rCenter:$e.rCenter,x:$e.x,y:$e.y}},Z)if(we.parent)if(Pe){var Ye=we.x1>Pe?2*Math.PI:0;Ee.x0=Ee.x1=Ye}else g.extendFlat(Ee,Se(we));else Ee.x0=Ee.x1=ue;else Ee.x0=Ee.x1=ue;var st=i(Ee.transform.textPosAngle,we.transform.textPosAngle),ot=i(Ee.rpx1,we.rpx1),ft=i(Ee.x0,we.x0),bt=i(Ee.x1,we.x1),Et=i(Ee.transform.scale,$e.scale),kt=i(Ee.transform.rotate,$e.rotate),xt=$e.rCenter===0?3:Ee.transform.rCenter===0?1/3:1,Ft=i(Ee.transform.rCenter,$e.rCenter);return function(Rt){var Bt=ot(Rt),Wt=ft(Rt),Vt=bt(Rt),Ke=function(We){return Ft(Math.pow(We,xt))}(Rt),Je={pxmid:de(Bt,(Wt+Vt)/2),rpx1:Bt,transform:{textPosAngle:st(Rt),rCenter:Ke,x:$e.x,y:$e.y}};return a(B.type,$e,I),{transform:{targetX:pe(Je),targetY:xe(Je),scale:Et(Rt),rotate:kt(Rt),rCenter:Ke}}}}(je);return function(we){return ze(ge(we),Be)}}):ke.attr("transform",ze(Ce,Be))})}function C(_){return A=_.rpx1,L=_.transform.textPosAngle,[A*Math.sin(L),-A*Math.cos(L)];var A,L}m.plot=function(_,A,L,b){var O,I,R=_._fullLayout,D=R._sunburstlayer,F=!L,B=!R.uniformtext.mode&&x.hasTransition(L);u("sunburst",R),(O=D.selectAll("g.trace.sunburst").data(A,function(N){return N[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),O.order(),B?(b&&(I=b()),d.transition().duration(L.duration).ease(L.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()}).each(function(){D.selectAll("g.trace").each(function(N){T(_,N,this,L)})})):(O.each(function(N){T(_,N,this,L)}),R.uniformtext.mode&&w(_,R._sunburstlayer.selectAll(".trace"),"sunburst")),F&&O.exit().remove()},m.formatSliceLabel=function(_,A,L,b,O){var I=L.texttemplate,R=L.textinfo;if(!(I||R&&R!=="none"))return"";var D=O.separators,F=b[0],B=_.data.data,N=F.hierarchy,q=x.isHierarchyRoot(_),j=x.getParent(N,_),$=x.getValue(_);if(!I){var U,G=R.split("+"),W=function(oe){return G.indexOf(oe)!==-1},H=[];if(W("label")&&B.label&&H.push(B.label),B.hasOwnProperty("v")&&W("value")&&H.push(x.formatValue(B.v,D)),!q){W("current path")&&H.push(x.getPath(_.data));var ne=0;W("percent parent")&&ne++,W("percent entry")&&ne++,W("percent root")&&ne++;var te=ne>1;if(ne){var Z,X=function(oe){U=x.formatPercent(Z,D),te&&(U+=" of "+oe),H.push(U)};W("percent parent")&&!q&&(Z=$/x.getValue(j),X("parent")),W("percent entry")&&(Z=$/x.getValue(A),X("entry")),W("percent root")&&(Z=$/x.getValue(N),X("root"))}}return W("text")&&(U=g.castOption(L,B.i,"text"),g.isValidTextValue(U)&&H.push(U)),H.join("
")}var Q=g.castOption(L,B.i,"texttemplate");if(!Q)return"";var re={};B.label&&(re.label=B.label),B.hasOwnProperty("v")&&(re.value=B.v,re.valueLabel=x.formatValue(B.v,D)),re.currentPath=x.getPath(_.data),q||(re.percentParent=$/x.getValue(j),re.percentParentLabel=x.formatPercent(re.percentParent,D),re.parent=x.getPtLabel(j)),re.percentEntry=$/x.getValue(A),re.percentEntryLabel=x.formatPercent(re.percentEntry,D),re.entry=x.getPtLabel(A),re.percentRoot=$/x.getValue(N),re.percentRootLabel=x.formatPercent(re.percentRoot,D),re.root=x.getPtLabel(N),B.hasOwnProperty("color")&&(re.color=B.color);var ie=g.castOption(L,B.i,"text");return(g.isValidTextValue(ie)||ie==="")&&(re.text=ie),re.customdata=g.castOption(L,B.i,"customdata"),g.texttemplateString(Q,re,O._d3locale,re,L._meta||{})}},29969:function(k,m,t){var d=t(39898),y=t(7901),i=t(71828),M=t(72597).resizeText;function g(h,l,a){var u=l.data.data,o=!l.children,s=u.i,f=i.castOption(a,s,"marker.line.color")||y.defaultLine,c=i.castOption(a,s,"marker.line.width")||0;h.style("stroke-width",c).call(y.fill,u.color).call(y.stroke,f).style("opacity",o?a.leaf.opacity:null)}k.exports={style:function(h){var l=h._fullLayout._sunburstlayer.selectAll(".trace");M(h,l,"sunburst"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(g,s,o)})})},styleOne:g}},54532:function(k,m,t){var d=t(7901),y=t(50693),i=t(12663).axisHoverFormat,M=t(5386).fF,g=t(9012),h=t(1426).extendFlat,l=t(30962).overrideAll;function a(o){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:{valType:"boolean",dflt:!1},y:{valType:"boolean",dflt:!1},z:{valType:"boolean",dflt:!1}},color:{valType:"color",dflt:d.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:d.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var u=k.exports=l(h({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:M(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},y("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:a(),y:a(),z:a()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:h({},y.zauto,{}),zmin:h({},y.zmin,{}),zmax:h({},y.zmax,{})},hoverinfo:h({},g.hoverinfo),showlegend:h({},g.showlegend,{dflt:!1})}),"calc","nested");u.x.editType=u.y.editType=u.z.editType="calc+clearAxisTypes",u.transforms=void 0},18396:function(k,m,t){var d=t(78803);k.exports=function(y,i){i.surfacecolor?d(y,i,{vals:i.surfacecolor,containerStr:"",cLetter:"c"}):d(y,i,{vals:i.z,containerStr:"",cLetter:"c"})}},43768:function(k,m,t){var d=t(9330).gl_surface3d,y=t(9330).ndarray,i=t(9330).ndarray_linear_interpolate.d2,M=t(824),g=t(43907),h=t(71828).isArrayOrTypedArray,l=t(81697).parseColorScale,a=t(78614),u=t(21081).extractOpts;function o(L,b,O){this.scene=L,this.uid=O,this.surface=b,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var s=o.prototype;s.getXat=function(L,b,O,I){var R=h(this.data.x)?h(this.data.x[0])?this.data.x[b][L]:this.data.x[L]:L;return O===void 0?R:I.d2l(R,0,O)},s.getYat=function(L,b,O,I){var R=h(this.data.y)?h(this.data.y[0])?this.data.y[b][L]:this.data.y[b]:b;return O===void 0?R:I.d2l(R,0,O)},s.getZat=function(L,b,O,I){var R=this.data.z[b][L];return R===null&&this.data.connectgaps&&this.data._interpolatedZ&&(R=this.data._interpolatedZ[b][L]),O===void 0?R:I.d2l(R,0,O)},s.handlePick=function(L){if(L.object===this.surface){var b=(L.data.index[0]-1)/this.dataScaleX-1,O=(L.data.index[1]-1)/this.dataScaleY-1,I=Math.max(Math.min(Math.round(b),this.data.z[0].length-1),0),R=Math.max(Math.min(Math.round(O),this.data._ylength-1),0);L.index=[I,R],L.traceCoordinate=[this.getXat(I,R),this.getYat(I,R),this.getZat(I,R)],L.dataCoordinate=[this.getXat(I,R,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(I,R,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(I,R,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var D=0;D<3;D++)L.dataCoordinate[D]!=null&&(L.dataCoordinate[D]*=this.scene.dataScale[D]);var F=this.data.hovertext||this.data.text;return Array.isArray(F)&&F[R]&&F[R][I]!==void 0?L.textLabel=F[R][I]:L.textLabel=F||"",L.data.dataCoordinate=L.dataCoordinate.slice(),this.surface.highlight(L.data),this.scene.glplot.spikes.position=L.dataCoordinate,!0}};var f=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function c(L,b){if(L0){O=f[I];break}return O}function v(L,b){if(!(L<1||b<1)){for(var O=p(L),I=p(b),R=1,D=0;DT;)O--,O/=w(O),++O1?I:1},s.refineCoords=function(L){for(var b=this.dataScaleX,O=this.dataScaleY,I=L[0].shape[0],R=L[0].shape[1],D=0|Math.floor(L[0].shape[0]*b+1),F=0|Math.floor(L[0].shape[1]*O+1),B=1+I+1,N=1+R+1,q=y(new Float32Array(B*N),[B,N]),j=[1/b,0,0,0,1/O,0,0,0,1],$=0;$0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(R[L]=!0,b=this.contourStart[L];bR&&(this.minValues[b]=R),this.maxValues[b]",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},51018:function(k,m,t){var d=t(49850),y=t(1426).extendFlat,i=t(92770);function M(s){if(Array.isArray(s)){for(var f=0,c=0;c=f||C===s.length-1)&&(p[w]=S,S.key=T++,S.firstRowIndex=x,S.lastRowIndex=C,S={firstRowIndex:null,lastRowIndex:null,rows:[]},w+=v,x=C+1,v=0);return p}k.exports=function(s,f){var c=h(f.cells.values),p=function(q){return q.slice(f.header.values.length,q.length)},w=h(f.header.values);w.length&&!w[0].length&&(w[0]=[""],w=h(w));var v=w.concat(p(c).map(function(){return l((w[0]||[""]).length)})),S=f.domain,x=Math.floor(s._fullLayout._size.w*(S.x[1]-S.x[0])),T=Math.floor(s._fullLayout._size.h*(S.y[1]-S.y[0])),C=f.header.values.length?v[0].map(function(){return f.header.height}):[d.emptyHeaderHeight],_=c.length?c[0].map(function(){return f.cells.height}):[],A=C.reduce(g,0),L=o(_,T-A+d.uplift),b=u(o(C,A),[]),O=u(L,b),I={},R=f._fullInput.columnorder.concat(p(c.map(function(q,j){return j}))),D=v.map(function(q,j){var $=Array.isArray(f.columnwidth)?f.columnwidth[Math.min(j,f.columnwidth.length-1)]:f.columnwidth;return i($)?Number($):1}),F=D.reduce(g,0);D=D.map(function(q){return q/F*x});var B=Math.max(M(f.header.line.width),M(f.cells.line.width)),N={key:f.uid+s._context.staticPlot,translateX:S.x[0]*s._fullLayout._size.w,translateY:s._fullLayout._size.h*(1-S.y[1]),size:s._fullLayout._size,width:x,maxLineWidth:B,height:T,columnOrder:R,groupHeight:T,rowBlocks:O,headerRowBlocks:b,scrollY:0,cells:y({},f.cells,{values:c}),headerCells:y({},f.header,{values:v}),gdColumns:v.map(function(q){return q[0]}),gdColumnsOriginalOrder:v.map(function(q){return q[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:v.map(function(q,j){var $=I[q];return I[q]=($||0)+1,{key:q+"__"+I[q],label:q,specIndex:j,xIndex:R[j],xScale:a,x:void 0,calcdata:void 0,columnWidth:D[j]}})};return N.columns.forEach(function(q){q.calcdata=N,q.x=a(q)}),N}},56269:function(k,m,t){var d=t(1426).extendFlat;m.splitToPanels=function(y){var i=[0,0],M=d({},y,{key:"header",type:"header",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!0,values:y.calcdata.headerCells.values[y.specIndex],rowBlocks:y.calcdata.headerRowBlocks,calcdata:d({},y.calcdata,{cells:y.calcdata.headerCells})});return[d({},y,{key:"cells1",type:"cells",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:y.calcdata.cells.values[y.specIndex],rowBlocks:y.calcdata.rowBlocks}),d({},y,{key:"cells2",type:"cells",page:1,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:y.calcdata.cells.values[y.specIndex],rowBlocks:y.calcdata.rowBlocks}),M]},m.splitToCells=function(y){var i=function(M){var g=M.rowBlocks[M.page],h=g?g.rows[0].rowIndex:0;return[h,g?h+g.rows.length:0]}(y);return(y.values||[]).slice(i[0],i[1]).map(function(M,g){return{keyWithinBlock:g+(typeof M=="string"&&M.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:i[0]+g,column:y,calcdata:y.calcdata,page:y.page,rowBlocks:y.rowBlocks,value:M}})}},39754:function(k,m,t){var d=t(71828),y=t(44464),i=t(27670).c;k.exports=function(M,g,h,l){function a(u,o){return d.coerce(M,g,y,u,o)}i(g,l,a),a("columnwidth"),a("header.values"),a("header.format"),a("header.align"),a("header.prefix"),a("header.suffix"),a("header.height"),a("header.line.width"),a("header.line.color"),a("header.fill.color"),d.coerceFont(a,"header.font",d.extendFlat({},l.font)),function(u,o){for(var s=u.columnorder||[],f=u.header.values.length,c=s.slice(0,f),p=c.slice().sort(function(S,x){return S-x}),w=c.map(function(S){return p.indexOf(S)}),v=w.length;v/i),ue=!ie||oe;Z.mayHaveMarkup=ie&&re.match(/[<&>]/);var ce,ye=typeof(ce=re)=="string"&&ce.match(d.latexCheck);Z.latex=ye;var de,me,pe=ye?"":_(Z.calcdata.cells.prefix,X,Q)||"",xe=ye?"":_(Z.calcdata.cells.suffix,X,Q)||"",Pe=ye?null:_(Z.calcdata.cells.format,X,Q)||null,_e=pe+(Pe?i(Pe)(Z.value):Z.value)+xe;if(Z.wrappingNeeded=!Z.wrapped&&!ue&&!ye&&(de=C(_e)),Z.cellHeightMayIncrease=oe||ye||Z.mayHaveMarkup||(de===void 0?C(_e):de),Z.needsConvertToTspans=Z.mayHaveMarkup||Z.wrappingNeeded||Z.latex,Z.wrappingNeeded){var Me=(d.wrapSplitCharacter===" "?_e.replace(/me&&de.push(pe),me+=_e}return de}(Z,ie,re);oe.length===1&&(oe[0]===Z.length-1?oe.unshift(oe[0]-1):oe.push(oe[0]+1)),oe[0]%2&&oe.reverse(),H.each(function(ue,ce){ue.page=oe[ce],ue.scrollY=ie}),H.attr("transform",function(ue){var ce=j(ue.rowBlocks,ue.page)-ue.scrollY;return a(0,ce)}),W&&(D(W,ne,H,oe,te.prevPages,te,0),D(W,ne,H,oe,te.prevPages,te,1),S(ne,W))}}function R(W,H,ne,te){return function(Z){var X=Z.calcdata?Z.calcdata:Z,Q=H.filter(function(ue){return X.key===ue.key}),re=ne||X.scrollbarState.dragMultiplier,ie=X.scrollY;X.scrollY=te===void 0?X.scrollY+re*y.event.dy:te;var oe=Q.selectAll("."+d.cn.yColumn).selectAll("."+d.cn.columnBlock).filter(L);return I(W,oe,Q),X.scrollY===ie}}function D(W,H,ne,te,Z,X,Q){te[Q]!==Z[Q]&&(clearTimeout(X.currentRepaint[Q]),X.currentRepaint[Q]=setTimeout(function(){var re=ne.filter(function(ie,oe){return oe===Q&&te[oe]!==Z[oe]});x(W,H,re,ne),Z[Q]=te[Q]}))}function F(W,H,ne,te){return function(){var Z=y.select(H.parentNode);Z.each(function(X){var Q=X.fragments;Z.selectAll("tspan.line").each(function(me,pe){Q[pe].width=this.getComputedTextLength()});var re,ie,oe=Q[Q.length-1].width,ue=Q.slice(0,-1),ce=[],ye=0,de=X.column.columnWidth-2*d.cellPad;for(X.value="";ue.length;)ye+(ie=(re=ue.shift()).width+oe)>de&&(X.value+=ce.join(d.wrapSpacer)+d.lineBreaker,ce=[],ye=0),ce.push(re.text),ye+=ie;ye&&(X.value+=ce.join(d.wrapSpacer)),X.wrapped=!0}),Z.selectAll("tspan.line").remove(),T(Z.select("."+d.cn.cellText),ne,W,te),y.select(H.parentNode.parentNode).call(q)}}function B(W,H,ne,te,Z){return function(){if(!Z.settledY){var X=y.select(H.parentNode),Q=G(Z),re=Z.key-Q.firstRowIndex,ie=Q.rows[re].rowHeight,oe=Z.cellHeightMayIncrease?H.parentNode.getBoundingClientRect().height+2*d.cellPad:ie,ue=Math.max(oe,ie);ue-Q.rows[re].rowHeight&&(Q.rows[re].rowHeight=ue,W.selectAll("."+d.cn.columnCell).call(q),I(null,W.filter(L),0),S(ne,te,!0)),X.attr("transform",function(){var ce=this,ye=ce.parentNode.getBoundingClientRect(),de=y.select(ce.parentNode).select("."+d.cn.cellRect).node().getBoundingClientRect(),me=ce.transform.baseVal.consolidate(),pe=de.top-ye.top+(me?me.matrix.f:d.cellPad);return a(N(Z,y.select(ce.parentNode).select("."+d.cn.cellTextHolder).node().getBoundingClientRect().width),pe)}),Z.settledY=!0}}}function N(W,H){switch(W.align){case"left":default:return d.cellPad;case"right":return W.column.columnWidth-(H||0)-d.cellPad;case"center":return(W.column.columnWidth-(H||0))/2}}function q(W){W.attr("transform",function(H){var ne=H.rowBlocks[0].auxiliaryBlocks.reduce(function(Z,X){return Z+$(X,1/0)},0),te=$(G(H),H.key);return a(0,te+ne)}).selectAll("."+d.cn.cellRect).attr("height",function(H){return(ne=G(H),te=H.key,ne.rows[te-ne.firstRowIndex]).rowHeight;var ne,te})}function j(W,H){for(var ne=0,te=H-1;te>=0;te--)ne+=U(W[te]);return ne}function $(W,H){for(var ne=0,te=0;te","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:a({},g.textfont,{}),editType:"calc"},text:g.text,textinfo:h.textinfo,texttemplate:y({editType:"plot"},{keys:l.eventDataKeys.concat(["label","value"])}),hovertext:g.hovertext,hoverinfo:h.hoverinfo,hovertemplate:d({},{keys:l.eventDataKeys}),textfont:g.textfont,insidetextfont:g.insidetextfont,outsidetextfont:a({},g.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:g.sort,root:h.root,domain:M({name:"treemap",trace:!0,editType:"calc"})}},78018:function(k,m,t){var d=t(74875);m.name="treemap",m.plot=function(y,i,M,g){d.plotBasePlot(m.name,y,i,M,g)},m.clean=function(y,i,M,g){d.cleanBasePlot(m.name,y,i,M,g)}},65039:function(k,m,t){var d=t(52147);m.y=function(y,i){return d.calc(y,i)},m.T=function(y){return d._runCrossTraceCalc("treemap",y)}},43473:function(k){k.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(k,m,t){var d=t(71828),y=t(45802),i=t(7901),M=t(27670).c,g=t(90769).handleText,h=t(97313).TEXTPAD,l=t(21081),a=l.hasColorscale,u=l.handleDefaults;k.exports=function(o,s,f,c){function p(L,b){return d.coerce(o,s,y,L,b)}var w=p("labels"),v=p("parents");if(w&&w.length&&v&&v.length){var S=p("values");S&&S.length?p("branchvalues"):p("count"),p("level"),p("maxdepth"),p("tiling.packing")==="squarify"&&p("tiling.squarifyratio"),p("tiling.flip"),p("tiling.pad");var x=p("text");p("texttemplate"),s.texttemplate||p("textinfo",Array.isArray(x)?"text+label":"label"),p("hovertext"),p("hovertemplate");var T=p("pathbar.visible");g(o,s,c,p,"auto",{hasPathbar:T,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),p("textposition");var C=s.textposition.indexOf("bottom")!==-1;p("marker.line.width")&&p("marker.line.color",c.paper_bgcolor);var _=p("marker.colors");(s._hasColorscale=a(o,"marker","colors")||(o.marker||{}).coloraxis)?u(o,s,c,p,{prefix:"marker.",cLetter:"c"}):p("marker.depthfade",!(_||[]).length);var A=2*s.textfont.size;p("marker.pad.t",C?A/4:A),p("marker.pad.l",A/4),p("marker.pad.r",A/4),p("marker.pad.b",C?A:A/4),p("marker.cornerradius"),s._hovered={marker:{line:{width:2,color:i.contrast(c.paper_bgcolor)}}},T&&(p("pathbar.thickness",s.pathbar.textfont.size+2*h),p("pathbar.side"),p("pathbar.edgeshape")),p("sort"),p("root.color"),M(s,c,p),s._length=null}else s.visible=!1}},80694:function(k,m,t){var d=t(39898),y=t(2791),i=t(72597).clearMinTextSize,M=t(16688).resizeText,g=t(46650);k.exports=function(h,l,a,u,o){var s,f,c=o.type,p=o.drawDescendants,w=h._fullLayout,v=w["_"+c+"layer"],S=!a;i(c,w),(s=v.selectAll("g.trace."+c).data(l,function(x){return x[0].trace.uid})).enter().append("g").classed("trace",!0).classed(c,!0),s.order(),!w.uniformtext.mode&&y.hasTransition(a)?(u&&(f=u()),d.transition().duration(a.duration).ease(a.easing).each("end",function(){f&&f()}).each("interrupt",function(){f&&f()}).each(function(){v.selectAll("g.trace").each(function(x){g(h,x,this,a,p)})})):(s.each(function(x){g(h,x,this,a,p)}),w.uniformtext.mode&&M(h,v.selectAll(".trace"),c)),S&&s.exit().remove()}},66209:function(k,m,t){var d=t(39898),y=t(71828),i=t(91424),M=t(63893),g=t(37210),h=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=!0;k.exports=function(s,f,c,p,w){var v=w.barDifY,S=w.width,x=w.height,T=w.viewX,C=w.viewY,_=w.pathSlice,A=w.toMoveInsideSlice,L=w.strTransform,b=w.hasTransition,O=w.handleSlicesExit,I=w.makeUpdateSliceInterpolator,R=w.makeUpdateTextInterpolator,D={},F=s._context.staticPlot,B=s._fullLayout,N=f[0],q=N.trace,j=N.hierarchy,$=S/q._entryDepth,U=a.listPath(c.data,"id"),G=g(j.copy(),[S,x],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(G=G.filter(function(H){var ne=U.indexOf(H.data.id);return ne!==-1&&(H.x0=$*ne,H.x1=$*(ne+1),H.y0=v,H.y1=v+x,H.onPathbar=!0,!0)})).reverse(),(p=p.data(G,a.getPtId)).enter().append("g").classed("pathbar",!0),O(p,o,D,[S,x],_),p.order();var W=p;b&&(W=W.transition().each("end",function(){var H=d.select(this);a.setSliceCursor(H,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),W.each(function(H){H._x0=T(H.x0),H._x1=T(H.x1),H._y0=C(H.y0),H._y1=C(H.y1),H._hoverX=T(H.x1-Math.min(S,x)/2),H._hoverY=C(H.y1-x/2);var ne=d.select(this),te=y.ensureSingle(ne,"path","surface",function(re){re.style("pointer-events",F?"none":"all")});b?te.transition().attrTween("d",function(re){var ie=I(re,o,D,[S,x]);return function(oe){return _(ie(oe))}}):te.attr("d",_),ne.call(u,c,s,f,{styleOne:h,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:s._transitioning}),te.call(h,H,q,{hovered:!1}),H._text=(a.getPtLabel(H)||"").split("
").join(" ")||"";var Z=y.ensureSingle(ne,"g","slicetext"),X=y.ensureSingle(Z,"text","",function(re){re.attr("data-notex",1)}),Q=y.ensureUniformFontSize(s,a.determineTextFont(q,H,B.font,{onPathbar:!0}));X.text(H._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Q).call(M.convertToTspans,s),H.textBB=i.bBox(X.node()),H.transform=A(H,{fontSize:Q.size,onPathbar:!0}),H.transform.fontSize=Q.size,b?X.transition().attrTween("transform",function(re){var ie=R(re,o,D,[S,x]);return function(oe){return L(ie(oe))}}):X.attr("transform",L(H))})}},52583:function(k,m,t){var d=t(39898),y=t(71828),i=t(91424),M=t(63893),g=t(37210),h=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=t(24714).formatSliceLabel,s=!1;k.exports=function(f,c,p,w,v){var S=v.width,x=v.height,T=v.viewX,C=v.viewY,_=v.pathSlice,A=v.toMoveInsideSlice,L=v.strTransform,b=v.hasTransition,O=v.handleSlicesExit,I=v.makeUpdateSliceInterpolator,R=v.makeUpdateTextInterpolator,D=v.prevEntry,F=f._context.staticPlot,B=f._fullLayout,N=c[0].trace,q=N.textposition.indexOf("left")!==-1,j=N.textposition.indexOf("right")!==-1,$=N.textposition.indexOf("bottom")!==-1,U=!$&&!N.marker.pad.t||$&&!N.marker.pad.b,G=g(p,[S,x],{packing:N.tiling.packing,squarifyratio:N.tiling.squarifyratio,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1,pad:{inner:N.tiling.pad,top:N.marker.pad.t,left:N.marker.pad.l,right:N.marker.pad.r,bottom:N.marker.pad.b}}).descendants(),W=1/0,H=-1/0;G.forEach(function(Q){var re=Q.depth;re>=N._maxDepth?(Q.x0=Q.x1=(Q.x0+Q.x1)/2,Q.y0=Q.y1=(Q.y0+Q.y1)/2):(W=Math.min(W,re),H=Math.max(H,re))}),w=w.data(G,a.getPtId),N._maxVisibleLayers=isFinite(H)?H-W+1:0,w.enter().append("g").classed("slice",!0),O(w,s,{},[S,x],_),w.order();var ne=null;if(b&&D){var te=a.getPtId(D);w.each(function(Q){ne===null&&a.getPtId(Q)===te&&(ne={x0:Q.x0,x1:Q.x1,y0:Q.y0,y1:Q.y1})})}var Z=function(){return ne||{x0:0,x1:S,y0:0,y1:x}},X=w;return b&&(X=X.transition().each("end",function(){var Q=d.select(this);a.setSliceCursor(Q,f,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){var re=a.isHeader(Q,N);Q._x0=T(Q.x0),Q._x1=T(Q.x1),Q._y0=C(Q.y0),Q._y1=C(Q.y1),Q._hoverX=T(Q.x1-N.marker.pad.r),Q._hoverY=C($?Q.y1-N.marker.pad.b/2:Q.y0+N.marker.pad.t/2);var ie=d.select(this),oe=y.ensureSingle(ie,"path","surface",function(de){de.style("pointer-events",F?"none":"all")});b?oe.transition().attrTween("d",function(de){var me=I(de,s,Z(),[S,x]);return function(pe){return _(me(pe))}}):oe.attr("d",_),ie.call(u,p,f,c,{styleOne:h,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,f,{isTransitioning:f._transitioning}),oe.call(h,Q,N,{hovered:!1}),Q.x0===Q.x1||Q.y0===Q.y1?Q._text="":Q._text=re?U?"":a.getPtLabel(Q)||"":o(Q,p,N,c,B)||"";var ue=y.ensureSingle(ie,"g","slicetext"),ce=y.ensureSingle(ue,"text","",function(de){de.attr("data-notex",1)}),ye=y.ensureUniformFontSize(f,a.determineTextFont(N,Q,B.font));ce.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":q||re?"start":"middle").call(i.font,ye).call(M.convertToTspans,f),Q.textBB=i.bBox(ce.node()),Q.transform=A(Q,{fontSize:ye.size,isHeader:re}),Q.transform.fontSize=ye.size,b?ce.transition().attrTween("transform",function(de){var me=R(de,s,Z(),[S,x]);return function(pe){return L(me(pe))}}):ce.attr("transform",L(Q))}),ne}},14102:function(k){k.exports=function m(t,d,y){var i;y.swapXY&&(i=t.x0,t.x0=t.y0,t.y0=i,i=t.x1,t.x1=t.y1,t.y1=i),y.flipX&&(i=t.x0,t.x0=d[0]-t.x1,t.x1=d[0]-i),y.flipY&&(i=t.y0,t.y0=d[1]-t.y1,t.y1=d[1]-i);var M=t.children;if(M)for(var g=0;g-1?N+$:-(j+$):0,G={x0:q,x1:q,y0:U,y1:U+j},W=function(ge,we,Ee){var Ve=x.tiling.pad,$e=function(ft){return ft-Ve<=we.x0},Ye=function(ft){return ft+Ve>=we.x1},st=function(ft){return ft-Ve<=we.y0},ot=function(ft){return ft+Ve>=we.y1};return ge.x0===we.x0&&ge.x1===we.x1&&ge.y0===we.y0&&ge.y1===we.y1?{x0:ge.x0,x1:ge.x1,y0:ge.y0,y1:ge.y1}:{x0:$e(ge.x0-Ve)?0:Ye(ge.x0-Ve)?Ee[0]:ge.x0,x1:$e(ge.x1+Ve)?0:Ye(ge.x1+Ve)?Ee[0]:ge.x1,y0:st(ge.y0-Ve)?0:ot(ge.y0-Ve)?Ee[1]:ge.y0,y1:st(ge.y1+Ve)?0:ot(ge.y1+Ve)?Ee[1]:ge.y1}},H=null,ne={},te={},Z=null,X=function(ge,we){return we?ne[o(ge)]:te[o(ge)]};S.hasMultipleRoots&&O&&R++,x._maxDepth=R,x._backgroundColor=v.paper_bgcolor,x._entryDepth=_.data.depth,x._atRootLevel=O;var Q=-B/2+D.l+D.w*(F.x[1]+F.x[0])/2,re=-N/2+D.t+D.h*(1-(F.y[1]+F.y[0])/2),ie=function(ge){return Q+ge},oe=function(ge){return re+ge},ue=oe(0),ce=ie(0),ye=function(ge){return ce+ge},de=function(ge){return ue+ge};function me(ge,we){return ge+","+we}var pe=ye(0),xe=function(ge){ge.x=Math.max(pe,ge.x)},Pe=x.pathbar.edgeshape,_e=x[T?"tiling":"marker"].pad,Me=function(ge){return x.textposition.indexOf(ge)!==-1},Se=Me("top"),Ce=Me("left"),ae=Me("right"),he=Me("bottom"),be=function(ge,we){var Ee=ge.x0,Ve=ge.x1,$e=ge.y0,Ye=ge.y1,st=ge.textBB,ot=Se||we.isHeader&&!he?"start":he?"end":"middle",ft=Me("right"),bt=Me("left")||we.onPathbar?-1:ft?1:0;if(we.isHeader){if((Ee+=(T?_e:_e.l)-g)>=(Ve-=(T?_e:_e.r)-g)){var Et=(Ee+Ve)/2;Ee=Et,Ve=Et}var kt;he?$e<(kt=Ye-(T?_e:_e.b))&&kt"?(ft.x-=Ye,bt.x-=Ye,Et.x-=Ye,kt.x-=Ye):Pe==="/"?(Et.x-=Ye,kt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="\\"?(ft.x-=Ye,bt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="<"&&(st.x-=Ye,ot.x-=Ye),xe(ft),xe(kt),xe(st),xe(bt),xe(Et),xe(ot),"M"+me(ft.x,ft.y)+"L"+me(bt.x,bt.y)+"L"+me(ot.x,ot.y)+"L"+me(Et.x,Et.y)+"L"+me(kt.x,kt.y)+"L"+me(st.x,st.y)+"Z"},toMoveInsideSlice:be,makeUpdateSliceInterpolator:Le,makeUpdateTextInterpolator:Be,handleSlicesExit:ze,hasTransition:I,strTransform:je}):L.remove()}},96362:function(k,m,t){var d=t(39898),y=t(7901),i=t(71828),M=t(2791),g=t(72597).resizeText;function h(l,a,u,o){var s,f,c=(o||{}).hovered,p=a.data.data,w=p.i,v=p.color,S=M.isHierarchyRoot(a),x=1;if(c)s=u._hovered.marker.line.color,f=u._hovered.marker.line.width;else if(S&&v===u.root.color)x=100,s="rgba(0,0,0,0)",f=0;else if(s=i.castOption(u,w,"marker.line.color")||y.defaultLine,f=i.castOption(u,w,"marker.line.width")||0,!u._hasColorscale&&!a.onPathbar){var T=u.marker.depthfade;if(T){var C,_=y.combine(y.addOpacity(u._backgroundColor,.75),v);if(T===!0){var A=M.getMaxDepth(u);C=isFinite(A)?M.isLeaf(a)?0:u._maxVisibleLayers-(a.data.depth-u._entryDepth):a.data.height+1}else C=a.data.depth-u._entryDepth,u._atRootLevel||C++;if(C>0)for(var L=0;L0){var _,A,L,b,O,I=h.xa,R=h.ya;w.orientation==="h"?(O=l,_="y",L=R,A="x",b=I):(O=a,_="x",L=I,A="y",b=R);var D=p[h.index];if(O>=D.span[0]&&O<=D.span[1]){var F=y.extendFlat({},h),B=b.c2p(O,!0),N=g.getKdeValue(D,w,O),q=g.getPositionOnKdePath(D,w,B),j=L._offset,$=L._length;F[_+"0"]=q[0],F[_+"1"]=q[1],F[A+"0"]=F[A+"1"]=B,F[A+"Label"]=A+": "+i.hoverLabelText(b,O,w[A+"hoverformat"])+", "+p[0].t.labels.kde+" "+N.toFixed(3);for(var U=0,G=0;G")),f.color=function(R,D){var F=R[D.dir].marker,B=F.color,N=F.line.color,q=F.line.width;return y(B)?B:y(N)&&q?N:void 0}(p,x),[f]}function I(R){return d(S,R,p[v+"hoverformat"])}}},19990:function(k,m,t){k.exports={attributes:t(43037),layoutAttributes:t(13494),supplyDefaults:t(83266).supplyDefaults,crossTraceDefaults:t(83266).crossTraceDefaults,supplyLayoutDefaults:t(5176),calc:t(52752),crossTraceCalc:t(70766),plot:t(30436),style:t(55750).style,hoverPoints:t(61326),eventData:t(58593),selectPoints:t(81974),moduleType:"trace",name:"waterfall",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(k){k.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},5176:function(k,m,t){var d=t(71828),y=t(13494);k.exports=function(i,M,g){var h=!1;function l(o,s){return d.coerce(i,M,y,o,s)}for(var a=0;a0&&(N+=A?"M"+F[0]+","+B[1]+"V"+B[0]:"M"+F[1]+","+B[0]+"H"+F[0]),L!=="between"&&(I.isSum||R path").each(function(w){if(!w.isBlank){var v=p[w.dir].marker;d.select(this).call(i.fill,v.color).call(i.stroke,v.line.color).call(y.dashLine,v.line.dash,v.line.width).style("opacity",p.selectedpoints&&!w.selected?M:1)}}),l(c,p,a),c.selectAll(".lines").each(function(){var w=p.connector.line;y.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},82887:function(k,m,t){var d=t(89298),y=t(71828),i=t(86281),M=t(79344).p,g=t(50606).BADNUM;m.moduleType="transform",m.name="aggregate";var h=m.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},l=h.aggregations;function a(f,c,p,w){if(w.enabled){for(var v=w.target,S=y.nestedProperty(c,v),x=S.get(),T=function(A,L){var b=A.func,O=L.d2c,I=L.c2d;switch(b){case"count":return u;case"first":return o;case"last":return s;case"sum":return function(R,D){for(var F=0,B=0;BB&&(B=$,N=j)}}return B?I(N):g};case"rms":return function(R,D){for(var F=0,B=0,N=0;N":return function(H){return W(H)>U};case">=":return function(H){return W(H)>=U};case"[]":return function(H){var ne=W(H);return ne>=U[0]&&ne<=U[1]};case"()":return function(H){var ne=W(H);return ne>U[0]&&ne=U[0]&&neU[0]&&ne<=U[1]};case"][":return function(H){var ne=W(H);return ne<=U[0]||ne>=U[1]};case")(":return function(H){var ne=W(H);return neU[1]};case"](":return function(H){var ne=W(H);return ne<=U[0]||ne>U[1]};case")[":return function(H){var ne=W(H);return ne=U[1]};case"{}":return function(H){return U.indexOf(W(H))!==-1};case"}{":return function(H){return U.indexOf(W(H))===-1}}}(s,i.getDataToCoordFunc(u,o,c,f),w),A={},L={},b=0;S?(T=function(D){A[D.astr]=d.extendDeep([],D.get()),D.set(new Array(p))},C=function(D,F){var B=A[D.astr][F];D.get()[F]=B}):(T=function(D){A[D.astr]=d.extendDeep([],D.get()),D.set([])},C=function(D,F){var B=A[D.astr][F];D.get().push(B)}),R(T);for(var O=M(o.transforms,s),I=0;I1?"%{group} (%{trace})":"%{group}");var f=h.styles,c=o.styles=[];if(f)for(u=0;uT)throw new RangeError('The value "'+ge+'" is invalid for option "size"');var we=new Uint8Array(ge);return Object.setPrototypeOf(we,_.prototype),we}function _(ge,we,Ee){if(typeof ge=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(ge)}return A(ge,we,Ee)}function A(ge,we,Ee){if(typeof ge=="string")return function(Ye,st){if(typeof st=="string"&&st!==""||(st="utf8"),!_.isEncoding(st))throw new TypeError("Unknown encoding: "+st);var ot=0|D(Ye,st),ft=C(ot),bt=ft.write(Ye,st);return bt!==ot&&(ft=ft.slice(0,bt)),ft}(ge,we);if(ArrayBuffer.isView(ge))return function(Ye){if(ke(Ye,Uint8Array)){var st=new Uint8Array(Ye);return I(st.buffer,st.byteOffset,st.byteLength)}return O(Ye)}(ge);if(ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge));if(ke(ge,ArrayBuffer)||ge&&ke(ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(ge,SharedArrayBuffer)||ge&&ke(ge.buffer,SharedArrayBuffer)))return I(ge,we,Ee);if(typeof ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=ge.valueOf&&ge.valueOf();if(Ve!=null&&Ve!==ge)return _.from(Ve,we,Ee);var $e=function(Ye){if(_.isBuffer(Ye)){var st=0|R(Ye.length),ot=C(st);return ot.length===0||Ye.copy(ot,0,0,st),ot}return Ye.length!==void 0?typeof Ye.length!="number"||Le(Ye.length)?C(0):O(Ye):Ye.type==="Buffer"&&Array.isArray(Ye.data)?O(Ye.data):void 0}(ge);if($e)return $e;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ge[Symbol.toPrimitive]=="function")return _.from(ge[Symbol.toPrimitive]("string"),we,Ee);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge))}function L(ge){if(typeof ge!="number")throw new TypeError('"size" argument must be of type number');if(ge<0)throw new RangeError('The value "'+ge+'" is invalid for option "size"')}function b(ge){return L(ge),C(ge<0?0:0|R(ge))}function O(ge){for(var we=ge.length<0?0:0|R(ge.length),Ee=C(we),Ve=0;Ve=T)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+T.toString(16)+" bytes");return 0|ge}function D(ge,we){if(_.isBuffer(ge))return ge.length;if(ArrayBuffer.isView(ge)||ke(ge,ArrayBuffer))return ge.byteLength;if(typeof ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+w(ge));var Ee=ge.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ee===0)return 0;for(var $e=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return ae(ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ee;case"hex":return Ee>>>1;case"base64":return he(ge).length;default:if($e)return Ve?-1:ae(ge).length;we=(""+we).toLowerCase(),$e=!0}}function F(ge,we,Ee){var Ve=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0)<=(we>>>=0))return"";for(ge||(ge="utf8");;)switch(ge){case"hex":return Q(this,we,Ee);case"utf8":case"utf-8":return ne(this,we,Ee);case"ascii":return Z(this,we,Ee);case"latin1":case"binary":return X(this,we,Ee);case"base64":return H(this,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,we,Ee);default:if(Ve)throw new TypeError("Unknown encoding: "+ge);ge=(ge+"").toLowerCase(),Ve=!0}}function B(ge,we,Ee){var Ve=ge[we];ge[we]=ge[Ee],ge[Ee]=Ve}function N(ge,we,Ee,Ve,$e){if(ge.length===0)return-1;if(typeof Ee=="string"?(Ve=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Le(Ee=+Ee)&&(Ee=$e?0:ge.length-1),Ee<0&&(Ee=ge.length+Ee),Ee>=ge.length){if($e)return-1;Ee=ge.length-1}else if(Ee<0){if(!$e)return-1;Ee=0}if(typeof we=="string"&&(we=_.from(we,Ve)),_.isBuffer(we))return we.length===0?-1:q(ge,we,Ee,Ve,$e);if(typeof we=="number")return we&=255,typeof Uint8Array.prototype.indexOf=="function"?$e?Uint8Array.prototype.indexOf.call(ge,we,Ee):Uint8Array.prototype.lastIndexOf.call(ge,we,Ee):q(ge,[we],Ee,Ve,$e);throw new TypeError("val must be string, number or Buffer")}function q(ge,we,Ee,Ve,$e){var Ye,st=1,ot=ge.length,ft=we.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(ge.length<2||we.length<2)return-1;st=2,ot/=2,ft/=2,Ee/=2}function bt(Ft,Rt){return st===1?Ft[Rt]:Ft.readUInt16BE(Rt*st)}if($e){var Et=-1;for(Ye=Ee;Yeot&&(Ee=ot-ft),Ye=Ee;Ye>=0;Ye--){for(var kt=!0,xt=0;xt$e&&(Ve=$e):Ve=$e;var Ye,st=we.length;for(Ve>st/2&&(Ve=st/2),Ye=0;Ye>8,ft=st%256,bt.push(ft),bt.push(ot);return bt}(we,ge.length-Ee),ge,Ee,Ve)}function H(ge,we,Ee){return we===0&&Ee===ge.length?v.fromByteArray(ge):v.fromByteArray(ge.slice(we,Ee))}function ne(ge,we,Ee){Ee=Math.min(ge.length,Ee);for(var Ve=[],$e=we;$e239?4:Ye>223?3:Ye>191?2:1;if($e+ot<=Ee){var ft=void 0,bt=void 0,Et=void 0,kt=void 0;switch(ot){case 1:Ye<128&&(st=Ye);break;case 2:(192&(ft=ge[$e+1]))==128&&(kt=(31&Ye)<<6|63&ft)>127&&(st=kt);break;case 3:ft=ge[$e+1],bt=ge[$e+2],(192&ft)==128&&(192&bt)==128&&(kt=(15&Ye)<<12|(63&ft)<<6|63&bt)>2047&&(kt<55296||kt>57343)&&(st=kt);break;case 4:ft=ge[$e+1],bt=ge[$e+2],Et=ge[$e+3],(192&ft)==128&&(192&bt)==128&&(192&Et)==128&&(kt=(15&Ye)<<18|(63&ft)<<12|(63&bt)<<6|63&Et)>65535&&kt<1114112&&(st=kt)}}st===null?(st=65533,ot=1):st>65535&&(st-=65536,Ve.push(st>>>10&1023|55296),st=56320|1023&st),Ve.push(st),$e+=ot}return function(xt){var Ft=xt.length;if(Ft<=te)return String.fromCharCode.apply(String,xt);for(var Rt="",Bt=0;Bt"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(_.isBuffer(this))return this.buffer}}),Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(_.isBuffer(this))return this.byteOffset}}),_.poolSize=8192,_.from=function(ge,we,Ee){return A(ge,we,Ee)},Object.setPrototypeOf(_.prototype,Uint8Array.prototype),Object.setPrototypeOf(_,Uint8Array),_.alloc=function(ge,we,Ee){return function(Ve,$e,Ye){return L(Ve),Ve<=0?C(Ve):$e!==void 0?typeof Ye=="string"?C(Ve).fill($e,Ye):C(Ve).fill($e):C(Ve)}(ge,we,Ee)},_.allocUnsafe=function(ge){return b(ge)},_.allocUnsafeSlow=function(ge){return b(ge)},_.isBuffer=function(ge){return ge!=null&&ge._isBuffer===!0&&ge!==_.prototype},_.compare=function(ge,we){if(ke(ge,Uint8Array)&&(ge=_.from(ge,ge.offset,ge.byteLength)),ke(we,Uint8Array)&&(we=_.from(we,we.offset,we.byteLength)),!_.isBuffer(ge)||!_.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===we)return 0;for(var Ee=ge.length,Ve=we.length,$e=0,Ye=Math.min(Ee,Ve);$eVe.length?(_.isBuffer(Ye)||(Ye=_.from(Ye)),Ye.copy(Ve,$e)):Uint8Array.prototype.set.call(Ve,Ye,$e);else{if(!_.isBuffer(Ye))throw new TypeError('"list" argument must be an Array of Buffers');Ye.copy(Ve,$e)}$e+=Ye.length}return Ve},_.byteLength=D,_.prototype._isBuffer=!0,_.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(ge+=" ... "),""},x&&(_.prototype[x]=_.prototype.inspect),_.prototype.compare=function(ge,we,Ee,Ve,$e){if(ke(ge,Uint8Array)&&(ge=_.from(ge,ge.offset,ge.byteLength)),!_.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+w(ge));if(we===void 0&&(we=0),Ee===void 0&&(Ee=ge?ge.length:0),Ve===void 0&&(Ve=0),$e===void 0&&($e=this.length),we<0||Ee>ge.length||Ve<0||$e>this.length)throw new RangeError("out of range index");if(Ve>=$e&&we>=Ee)return 0;if(Ve>=$e)return-1;if(we>=Ee)return 1;if(this===ge)return 0;for(var Ye=($e>>>=0)-(Ve>>>=0),st=(Ee>>>=0)-(we>>>=0),ot=Math.min(Ye,st),ft=this.slice(Ve,$e),bt=ge.slice(we,Ee),Et=0;Et>>=0,isFinite(Ee)?(Ee>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=Ee,Ee=void 0)}var $e=this.length-we;if((Ee===void 0||Ee>$e)&&(Ee=$e),ge.length>0&&(Ee<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var Ye=!1;;)switch(Ve){case"hex":return j(this,ge,we,Ee);case"utf8":case"utf-8":return $(this,ge,we,Ee);case"ascii":case"latin1":case"binary":return U(this,ge,we,Ee);case"base64":return G(this,ge,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,ge,we,Ee);default:if(Ye)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),Ye=!0}},_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;function Z(ge,we,Ee){var Ve="";Ee=Math.min(ge.length,Ee);for(var $e=we;$eVe)&&(Ee=Ve);for(var $e="",Ye=we;YeEe)throw new RangeError("Trying to access beyond buffer length")}function oe(ge,we,Ee,Ve,$e,Ye){if(!_.isBuffer(ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>$e||wege.length)throw new RangeError("Index out of range")}function ue(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,Ee}function ce(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee+7]=Ye,Ye>>=8,ge[Ee+6]=Ye,Ye>>=8,ge[Ee+5]=Ye,Ye>>=8,ge[Ee+4]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee+3]=st,st>>=8,ge[Ee+2]=st,st>>=8,ge[Ee+1]=st,st>>=8,ge[Ee]=st,Ee+8}function ye(ge,we,Ee,Ve,$e,Ye){if(Ee+Ve>ge.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function de(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,4),S.write(ge,we,Ee,Ve,23,4),Ee+4}function me(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,8),S.write(ge,we,Ee,Ve,52,8),Ee+8}_.prototype.slice=function(ge,we){var Ee=this.length;(ge=~~ge)<0?(ge+=Ee)<0&&(ge=0):ge>Ee&&(ge=Ee),(we=we===void 0?Ee:~~we)<0?(we+=Ee)<0&&(we=0):we>Ee&&(we=Ee),we>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge+--we],$e=1;we>0&&($e*=256);)Ve+=this[ge+--we]*$e;return Ve},_.prototype.readUint8=_.prototype.readUInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),this[ge]},_.prototype.readUint16LE=_.prototype.readUInt16LE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]|this[ge+1]<<8},_.prototype.readUint16BE=_.prototype.readUInt16BE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]<<8|this[ge+1]},_.prototype.readUint32LE=_.prototype.readUInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},_.prototype.readUint32BE=_.prototype.readUInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},_.prototype.readBigUInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,24),$e=this[++ge]+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+Ee*Math.pow(2,24);return BigInt(Ve)+(BigInt($e)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge],$e=this[++ge]*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+Ee;return(BigInt(Ve)<>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye=($e*=128)&&(Ve-=Math.pow(2,8*we)),Ve},_.prototype.readIntBE=function(ge,we,Ee){ge>>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=we,$e=1,Ye=this[ge+--Ve];Ve>0&&($e*=256);)Ye+=this[ge+--Ve]*$e;return Ye>=($e*=128)&&(Ye-=Math.pow(2,8*we)),Ye},_.prototype.readInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},_.prototype.readInt16LE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge]|this[ge+1]<<8;return 32768&Ee?4294901760|Ee:Ee},_.prototype.readInt16BE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge+1]|this[ge]<<8;return 32768&Ee?4294901760|Ee:Ee},_.prototype.readInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},_.prototype.readInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},_.prototype.readBigInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=this[ge+4]+this[ge+5]*Math.pow(2,8)+this[ge+6]*Math.pow(2,16)+(Ee<<24);return(BigInt(Ve)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=(we<<24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge];return(BigInt(Ve)<>>=0,we||ie(ge,4,this.length),S.read(this,ge,!0,23,4)},_.prototype.readFloatBE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),S.read(this,ge,!1,23,4)},_.prototype.readDoubleLE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!0,52,8)},_.prototype.readDoubleBE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!1,52,8)},_.prototype.writeUintLE=_.prototype.writeUIntLE=function(ge,we,Ee,Ve){ge=+ge,we>>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=1,Ye=0;for(this[we]=255≥++Ye>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=Ee-1,Ye=1;for(this[we+$e]=255≥--$e>=0&&(Ye*=256);)this[we+$e]=ge/Ye&255;return we+Ee},_.prototype.writeUint8=_.prototype.writeUInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,255,0),this[we]=255&ge,we+1},_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=255&ge,this[we+1]=ge>>>8,we+2},_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=ge>>>8,this[we+1]=255&ge,we+2},_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we+3]=ge>>>24,this[we+2]=ge>>>16,this[we+1]=ge>>>8,this[we]=255&ge,we+4},_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},_.prototype.writeBigUInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),_.prototype.writeBigUInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),_.prototype.writeIntLE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=0,st=1,ot=0;for(this[we]=255≥++Ye>0)-ot&255;return we+Ee},_.prototype.writeIntBE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=Ee-1,st=1,ot=0;for(this[we+Ye]=255≥--Ye>=0&&(st*=256);)ge<0&&ot===0&&this[we+Ye+1]!==0&&(ot=1),this[we+Ye]=(ge/st>>0)-ot&255;return we+Ee},_.prototype.writeInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,127,-128),ge<0&&(ge=255+ge+1),this[we]=255&ge,we+1},_.prototype.writeInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=255&ge,this[we+1]=ge>>>8,we+2},_.prototype.writeInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=ge>>>8,this[we+1]=255&ge,we+2},_.prototype.writeInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),this[we]=255&ge,this[we+1]=ge>>>8,this[we+2]=ge>>>16,this[we+3]=ge>>>24,we+4},_.prototype.writeInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},_.prototype.writeBigInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),_.prototype.writeBigInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),_.prototype.writeFloatLE=function(ge,we,Ee){return de(this,ge,we,!0,Ee)},_.prototype.writeFloatBE=function(ge,we,Ee){return de(this,ge,we,!1,Ee)},_.prototype.writeDoubleLE=function(ge,we,Ee){return me(this,ge,we,!0,Ee)},_.prototype.writeDoubleBE=function(ge,we,Ee){return me(this,ge,we,!1,Ee)},_.prototype.copy=function(ge,we,Ee,Ve){if(!_.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),Ve||Ve===0||(Ve=this.length),we>=ge.length&&(we=ge.length),we||(we=0),Ve>0&&Ve=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),ge.length-we>>=0,Ee=Ee===void 0?this.length:Ee>>>0,ge||(ge=0),typeof ge=="number")for(Ye=we;Ye"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Et,kt=p(st);if(ot){var xt=p(this).constructor;Et=Reflect.construct(kt,arguments,xt)}else Et=kt.apply(this,arguments);return f(this,Et)});function bt(){var Et;return u(this,bt),Et=ft.call(this),Object.defineProperty(c(Et),"message",{value:we.apply(c(Et),arguments),writable:!0,configurable:!0}),Et.name="".concat(Et.name," [").concat(ge,"]"),Et.stack,delete Et.name,Et}return $e=bt,(Ye=[{key:"code",get:function(){return ge},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ge,"]: ").concat(this.message)}}])&&o($e.prototype,Ye),Object.defineProperty($e,"prototype",{writable:!1}),bt}(Ee)}function Pe(ge){for(var we="",Ee=ge.length,Ve=ge[0]==="-"?1:0;Ee>=Ve+4;Ee-=3)we="_".concat(ge.slice(Ee-3,Ee)).concat(we);return"".concat(ge.slice(0,Ee)).concat(we)}function _e(ge,we,Ee,Ve,$e,Ye){if(ge>Ee||ge3?we===0||we===BigInt(0)?">= 0".concat(ot," and < 2").concat(ot," ** ").concat(8*(Ye+1)).concat(ot):">= -(2".concat(ot," ** ").concat(8*(Ye+1)-1).concat(ot,") and < 2 ** ")+"".concat(8*(Ye+1)-1).concat(ot):">= ".concat(we).concat(ot," and <= ").concat(Ee).concat(ot),new pe.ERR_OUT_OF_RANGE("value",st,ge)}(function(ft,bt,Et){Me(bt,"offset"),ft[bt]!==void 0&&ft[bt+Et]!==void 0||Se(bt,ft.length-(Et+1))})(Ve,$e,Ye)}function Me(ge,we){if(typeof ge!="number")throw new pe.ERR_INVALID_ARG_TYPE(we,"number",ge)}function Se(ge,we,Ee){throw Math.floor(ge)!==ge?(Me(ge,Ee),new pe.ERR_OUT_OF_RANGE(Ee||"offset","an integer",ge)):we<0?new pe.ERR_BUFFER_OUT_OF_BOUNDS:new pe.ERR_OUT_OF_RANGE(Ee||"offset",">= ".concat(Ee?1:0," and <= ").concat(we),ge)}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(ge){return ge?"".concat(ge," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(ge,we){return'The "'.concat(ge,'" argument must be of type number. Received type ').concat(w(we))},TypeError),xe("ERR_OUT_OF_RANGE",function(ge,we,Ee){var Ve='The value of "'.concat(ge,'" is out of range.'),$e=Ee;return Number.isInteger(Ee)&&Math.abs(Ee)>Math.pow(2,32)?$e=Pe(String(Ee)):typeof Ee=="bigint"&&($e=String(Ee),(Ee>Math.pow(BigInt(2),BigInt(32))||Ee<-Math.pow(BigInt(2),BigInt(32)))&&($e=Pe($e)),$e+="n"),Ve+" It must be ".concat(we,". Received ").concat($e)},RangeError);var Ce=/[^+/0-9A-Za-z-_]/g;function ae(ge,we){var Ee;we=we||1/0;for(var Ve=ge.length,$e=null,Ye=[],st=0;st55295&&Ee<57344){if(!$e){if(Ee>56319){(we-=3)>-1&&Ye.push(239,191,189);continue}if(st+1===Ve){(we-=3)>-1&&Ye.push(239,191,189);continue}$e=Ee;continue}if(Ee<56320){(we-=3)>-1&&Ye.push(239,191,189),$e=Ee;continue}Ee=65536+($e-55296<<10|Ee-56320)}else $e&&(we-=3)>-1&&Ye.push(239,191,189);if($e=null,Ee<128){if((we-=1)<0)break;Ye.push(Ee)}else if(Ee<2048){if((we-=2)<0)break;Ye.push(Ee>>6|192,63&Ee|128)}else if(Ee<65536){if((we-=3)<0)break;Ye.push(Ee>>12|224,Ee>>6&63|128,63&Ee|128)}else{if(!(Ee<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;Ye.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,63&Ee|128)}}return Ye}function he(ge){return v.toByteArray(function(we){if((we=(we=we.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;we.length%4!=0;)we+="=";return we}(ge))}function be(ge,we,Ee,Ve){var $e;for($e=0;$e=we.length||$e>=ge.length);++$e)we[$e+Ee]=ge[$e];return $e}function ke(ge,we){return ge instanceof we||ge!=null&&ge.constructor!=null&&ge.constructor.name!=null&&ge.constructor.name===we.name}function Le(ge){return ge!=ge}var Be=function(){for(var ge="0123456789abcdef",we=new Array(256),Ee=0;Ee<16;++Ee)for(var Ve=16*Ee,$e=0;$e<16;++$e)we[Ve+$e]=ge[Ee]+ge[$e];return we}();function ze(ge){return typeof BigInt>"u"?je:ge}function je(){throw new Error("BigInt not supported")}},2321:function(h){h.exports=o,h.exports.isMobile=o,h.exports.default=o;var l=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/CrOS/,u=/android|ipad|playbook|silk/i;function o(s){s||(s={});var f=s.ua;if(f||typeof navigator>"u"||(f=navigator.userAgent),f&&f.headers&&typeof f.headers["user-agent"]=="string"&&(f=f.headers["user-agent"]),typeof f!="string")return!1;var c=l.test(f)&&!a.test(f)||!!s.tablet&&u.test(f);return!c&&s.tablet&&s.featureDetect&&navigator&&navigator.maxTouchPoints>1&&f.indexOf("Macintosh")!==-1&&f.indexOf("Safari")!==-1&&(c=!0),c}},3910:function(h,l){l.byteLength=function(v){var S=p(v),x=S[0],T=S[1];return 3*(x+T)/4-T},l.toByteArray=function(v){var S,x,T=p(v),C=T[0],_=T[1],A=new o(function(O,I,R){return 3*(I+R)/4-R}(0,C,_)),L=0,b=_>0?C-4:C;for(x=0;x>16&255,A[L++]=S>>8&255,A[L++]=255&S;return _===2&&(S=u[v.charCodeAt(x)]<<2|u[v.charCodeAt(x+1)]>>4,A[L++]=255&S),_===1&&(S=u[v.charCodeAt(x)]<<10|u[v.charCodeAt(x+1)]<<4|u[v.charCodeAt(x+2)]>>2,A[L++]=S>>8&255,A[L++]=255&S),A},l.fromByteArray=function(v){for(var S,x=v.length,T=x%3,C=[],_=16383,A=0,L=x-T;AL?L:A+_));return T===1?(S=v[x-1],C.push(a[S>>2]+a[S<<4&63]+"==")):T===2&&(S=(v[x-2]<<8)+v[x-1],C.push(a[S>>10]+a[S>>4&63]+a[S<<2&63]+"=")),C.join("")};for(var a=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,c=s.length;f0)throw new Error("Invalid string. Length must be a multiple of 4");var x=v.indexOf("=");return x===-1&&(x=S),[x,x===S?0:4-x%4]}function w(v,S,x){for(var T,C,_=[],A=S;A>18&63]+a[C>>12&63]+a[C>>6&63]+a[63&C]);return _.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},3187:function(h,l){l.read=function(a,u,o,s,f){var c,p,w=8*f-s-1,v=(1<>1,x=-7,T=o?f-1:0,C=o?-1:1,_=a[u+T];for(T+=C,c=_&(1<<-x)-1,_>>=-x,x+=w;x>0;c=256*c+a[u+T],T+=C,x-=8);for(p=c&(1<<-x)-1,c>>=-x,x+=s;x>0;p=256*p+a[u+T],T+=C,x-=8);if(c===0)c=1-S;else{if(c===v)return p?NaN:1/0*(_?-1:1);p+=Math.pow(2,s),c-=S}return(_?-1:1)*p*Math.pow(2,c-s)},l.write=function(a,u,o,s,f,c){var p,w,v,S=8*c-f-1,x=(1<>1,C=f===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=s?0:c-1,A=s?1:-1,L=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(w=isNaN(u)?1:0,p=x):(p=Math.floor(Math.log(u)/Math.LN2),u*(v=Math.pow(2,-p))<1&&(p--,v*=2),(u+=p+T>=1?C/v:C*Math.pow(2,1-T))*v>=2&&(p++,v/=2),p+T>=x?(w=0,p=x):p+T>=1?(w=(u*v-1)*Math.pow(2,f),p+=T):(w=u*Math.pow(2,T-1)*Math.pow(2,f),p=0));f>=8;a[o+_]=255&w,_+=A,w/=256,f-=8);for(p=p<0;a[o+_]=255&p,_+=A,p/=256,S-=8);a[o+_-A]|=128*L}},1152:function(h,l,a){h.exports=function(p){var w=(p=p||{}).eye||[0,0,1],v=p.center||[0,0,0],S=p.up||[0,1,0],x=p.distanceLimits||[0,1/0],T=p.mode||"turntable",C=u(),_=o(),A=s();return C.setDistanceLimits(x[0],x[1]),C.lookAt(0,w,v,S),_.setDistanceLimits(x[0],x[1]),_.lookAt(0,w,v,S),A.setDistanceLimits(x[0],x[1]),A.lookAt(0,w,v,S),new f({turntable:C,orbit:_,matrix:A},T)};var u=a(3440),o=a(7774),s=a(9298);function f(p,w){this._controllerNames=Object.keys(p),this._controllerList=this._controllerNames.map(function(v){return p[v]}),this._mode=w,this._active=p[w],this._active||(this._mode="turntable",this._active=p.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var c=f.prototype;c.flush=function(p){for(var w=this._controllerList,v=0;v"u"?a(5346):WeakMap,o=a(5827),s=a(2944),f=new u;h.exports=function(c){var p=f.get(c),w=p&&(p._triangleBuffer.handle||p._triangleBuffer.buffer);if(!w||!c.isBuffer(w)){var v=o(c,new Float32Array([-1,-1,-1,4,4,-1]));(p=s(c,[{buffer:v,type:c.FLOAT,size:2}]))._triangleBuffer=v,f.set(c,p)}p.bind(),c.drawArrays(c.TRIANGLES,0,3),p.unbind()}},8008:function(h,l,a){var u=a(4930);h.exports=function(o,s,f){s=typeof s=="number"?s:1,f=f||": ";var c=o.split(/\r?\n/),p=String(c.length+s-1).length;return c.map(function(w,v){var S=v+s,x=String(S).length;return u(S,p-x)+f+w}).join(` -`)}},2153:function(h,l,a){h.exports=function(s){var f=s.length;if(f===0)return[];if(f===1)return[0];for(var c=s[0].length,p=[s[0]],w=[0],v=1;v0?x=x.ushln(C):C<0&&(T=T.ushln(-C)),c(x,T)}},234:function(h,l,a){var u=a(3218);h.exports=function(o){return Array.isArray(o)&&o.length===2&&u(o[0])&&u(o[1])}},4275:function(h,l,a){var u=a(1928);h.exports=function(o){return o.cmp(new u(0))}},9958:function(h,l,a){var u=a(4275);h.exports=function(o){var s=o.length,f=o.words,c=0;if(s===1)c=f[0];else if(s===2)c=f[0]+67108864*f[1];else for(var p=0;p20?52:c+32}},3218:function(h,l,a){a(1928),h.exports=function(u){return u&&typeof u=="object"&&!!u.words}},5514:function(h,l,a){var u=a(1928),o=a(8362);h.exports=function(s){var f=o.exponent(s);return f<52?new u(s):new u(s*Math.pow(2,52-f)).ushln(f-52)}},8524:function(h,l,a){var u=a(5514),o=a(4275);h.exports=function(s,f){var c=o(s),p=o(f);if(c===0)return[u(0),u(1)];if(p===0)return[u(0),u(0)];p<0&&(s=s.neg(),f=f.neg());var w=s.gcd(f);return w.cmpn(1)?[s.div(w),f.div(w)]:[s,f]}},2813:function(h,l,a){var u=a(1928);h.exports=function(o){return new u(o)}},3962:function(h,l,a){var u=a(8524);h.exports=function(o,s){return u(o[0].mul(s[0]),o[1].mul(s[1]))}},4951:function(h,l,a){var u=a(4275);h.exports=function(o){return u(o[0])*u(o[1])}},4354:function(h,l,a){var u=a(8524);h.exports=function(o,s){return u(o[0].mul(s[1]).sub(o[1].mul(s[0])),o[1].mul(s[1]))}},7999:function(h,l,a){var u=a(9958),o=a(1112);h.exports=function(s){var f=s[0],c=s[1];if(f.cmpn(0)===0)return 0;var p=f.abs().divmod(c.abs()),w=p.div,v=u(w),S=p.mod,x=f.negative!==c.negative?-1:1;if(S.cmpn(0)===0)return x*v;if(v){var T=o(v)+4,C=u(S.ushln(T).divRound(c));return x*(v+C*Math.pow(2,-T))}var _=c.bitLength()-S.bitLength()+53;return C=u(S.ushln(_).divRound(c)),_<1023?x*C*Math.pow(2,-_):x*(C*=Math.pow(2,-1023))*Math.pow(2,1023-_)}},5070:function(h){function l(c,p,w,v,S){for(var x=S+1;v<=S;){var T=v+S>>>1,C=c[T];(w!==void 0?w(C,p):C-p)>=0?(x=T,S=T-1):v=T+1}return x}function a(c,p,w,v,S){for(var x=S+1;v<=S;){var T=v+S>>>1,C=c[T];(w!==void 0?w(C,p):C-p)>0?(x=T,S=T-1):v=T+1}return x}function u(c,p,w,v,S){for(var x=v-1;v<=S;){var T=v+S>>>1,C=c[T];(w!==void 0?w(C,p):C-p)<0?(x=T,v=T+1):S=T-1}return x}function o(c,p,w,v,S){for(var x=v-1;v<=S;){var T=v+S>>>1,C=c[T];(w!==void 0?w(C,p):C-p)<=0?(x=T,v=T+1):S=T-1}return x}function s(c,p,w,v,S){for(;v<=S;){var x=v+S>>>1,T=c[x],C=w!==void 0?w(T,p):T-p;if(C===0)return x;C<=0?v=x+1:S=x-1}return-1}function f(c,p,w,v,S,x){return typeof w=="function"?x(c,p,w,v===void 0?0:0|v,S===void 0?c.length-1:0|S):x(c,p,void 0,w===void 0?0:0|w,v===void 0?c.length-1:0|v)}h.exports={ge:function(c,p,w,v,S){return f(c,p,w,v,S,l)},gt:function(c,p,w,v,S){return f(c,p,w,v,S,a)},lt:function(c,p,w,v,S){return f(c,p,w,v,S,u)},le:function(c,p,w,v,S){return f(c,p,w,v,S,o)},eq:function(c,p,w,v,S){return f(c,p,w,v,S,s)}}},2288:function(h,l){function a(o){var s=32;return(o&=-o)&&s--,65535&o&&(s-=16),16711935&o&&(s-=8),252645135&o&&(s-=4),858993459&o&&(s-=2),1431655765&o&&(s-=1),s}l.INT_BITS=32,l.INT_MAX=2147483647,l.INT_MIN=-2147483648,l.sign=function(o){return(o>0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=f=((o>>>=s)>255)<<3,s|=f=((o>>>=f)>15)<<2,(s|=f=((o>>>=f)>3)<<1)|(o>>>=f)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var f=s,c=s,p=7;for(f>>>=1;f;f>>>=1)c<<=1,c|=1&f,--p;o[s]=c<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,f){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(f=1227133513&((f=3272356035&((f=251719695&((f=4278190335&((f&=1023)|f<<16))|f<<8))|f<<4))|f<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},1928:function(h,l,a){(function(u,o){function s(j,$){if(!j)throw new Error($||"Assertion failed")}function f(j,$){j.super_=$;var U=function(){};U.prototype=$.prototype,j.prototype=new U,j.prototype.constructor=j}function c(j,$,U){if(c.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&($!=="le"&&$!=="be"||(U=$,$=10),this._init(j||0,$||10,U||"be"))}var p;typeof u=="object"?u.exports=c:o.BN=c,c.BN=c,c.wordSize=26;try{p=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a(6601).Buffer}catch{}function w(j,$){var U=j.charCodeAt($);return U>=65&&U<=70?U-55:U>=97&&U<=102?U-87:U-48&15}function v(j,$,U){var G=w(j,U);return U-1>=$&&(G|=w(j,U-1)<<4),G}function S(j,$,U,G){for(var W=0,H=Math.min(j.length,U),ne=$;ne=49?te-49+10:te>=17?te-17+10:te}return W}c.isBN=function(j){return j instanceof c||j!==null&&typeof j=="object"&&j.constructor.wordSize===c.wordSize&&Array.isArray(j.words)},c.max=function(j,$){return j.cmp($)>0?j:$},c.min=function(j,$){return j.cmp($)<0?j:$},c.prototype._init=function(j,$,U){if(typeof j=="number")return this._initNumber(j,$,U);if(typeof j=="object")return this._initArray(j,$,U);$==="hex"&&($=16),s($===(0|$)&&$>=2&&$<=36);var G=0;(j=j.toString().replace(/\s+/g,""))[0]==="-"&&(G++,this.negative=1),G=0;G-=3)H=j[G]|j[G-1]<<8|j[G-2]<<16,this.words[W]|=H<>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,W++);else if(U==="le")for(G=0,W=0;G>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,W++);return this.strip()},c.prototype._parseHex=function(j,$,U){this.length=Math.ceil((j.length-$)/6),this.words=new Array(this.length);for(var G=0;G=$;G-=2)W=v(j,$,G)<=18?(H-=18,ne+=1,this.words[ne]|=W>>>26):H+=8;else for(G=(j.length-$)%2==0?$+1:$;G=18?(H-=18,ne+=1,this.words[ne]|=W>>>26):H+=8;this.strip()},c.prototype._parseBase=function(j,$,U){this.words=[0],this.length=1;for(var G=0,W=1;W<=67108863;W*=$)G++;G--,W=W/$|0;for(var H=j.length-U,ne=H%G,te=Math.min(H,H-ne)+U,Z=0,X=U;X1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},c.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var x=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],T=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],C=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function _(j,$,U){U.negative=$.negative^j.negative;var G=j.length+$.length|0;U.length=G,G=G-1|0;var W=0|j.words[0],H=0|$.words[0],ne=W*H,te=67108863&ne,Z=ne/67108864|0;U.words[0]=te;for(var X=1;X>>26,re=67108863&Z,ie=Math.min(X,$.length-1),oe=Math.max(0,X-j.length+1);oe<=ie;oe++){var ue=X-oe|0;Q+=(ne=(W=0|j.words[ue])*(H=0|$.words[oe])+re)/67108864|0,re=67108863&ne}U.words[X]=0|re,Z=0|Q}return Z!==0?U.words[X]=0|Z:U.length--,U.strip()}c.prototype.toString=function(j,$){var U;if($=0|$||1,(j=j||10)===16||j==="hex"){U="";for(var G=0,W=0,H=0;H>>24-G&16777215)!=0||H!==this.length-1?x[6-te.length]+te+U:te+U,(G+=2)>=26&&(G-=26,H--)}for(W!==0&&(U=W.toString(16)+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(j===(0|j)&&j>=2&&j<=36){var Z=T[j],X=C[j];U="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var re=Q.modn(X).toString(j);U=(Q=Q.idivn(X)).isZero()?re+U:x[Z-re.length]+re+U}for(this.isZero()&&(U="0"+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}s(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var j=this.words[0];return this.length===2?j+=67108864*this.words[1]:this.length===3&&this.words[2]===1?j+=4503599627370496+67108864*this.words[1]:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-j:j},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(j,$){return s(p!==void 0),this.toArrayLike(p,j,$)},c.prototype.toArray=function(j,$){return this.toArrayLike(Array,j,$)},c.prototype.toArrayLike=function(j,$,U){var G=this.byteLength(),W=U||Math.max(1,G);s(G<=W,"byte array longer than desired length"),s(W>0,"Requested array length <= 0"),this.strip();var H,ne,te=$==="le",Z=new j(W),X=this.clone();if(te){for(ne=0;!X.isZero();ne++)H=X.andln(255),X.iushrn(8),Z[ne]=H;for(;ne=4096&&(U+=13,$>>>=13),$>=64&&(U+=7,$>>>=7),$>=8&&(U+=4,$>>>=4),$>=2&&(U+=2,$>>>=2),U+$},c.prototype._zeroBits=function(j){if(j===0)return 26;var $=j,U=0;return!(8191&$)&&(U+=13,$>>>=13),!(127&$)&&(U+=7,$>>>=7),!(15&$)&&(U+=4,$>>>=4),!(3&$)&&(U+=2,$>>>=2),!(1&$)&&U++,U},c.prototype.bitLength=function(){var j=this.words[this.length-1],$=this._countBits(j);return 26*(this.length-1)+$},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var j=0,$=0;$j.length?this.clone().ior(j):j.clone().ior(this)},c.prototype.uor=function(j){return this.length>j.length?this.clone().iuor(j):j.clone().iuor(this)},c.prototype.iuand=function(j){var $;$=this.length>j.length?j:this;for(var U=0;U<$.length;U++)this.words[U]=this.words[U]&j.words[U];return this.length=$.length,this.strip()},c.prototype.iand=function(j){return s((this.negative|j.negative)==0),this.iuand(j)},c.prototype.and=function(j){return this.length>j.length?this.clone().iand(j):j.clone().iand(this)},c.prototype.uand=function(j){return this.length>j.length?this.clone().iuand(j):j.clone().iuand(this)},c.prototype.iuxor=function(j){var $,U;this.length>j.length?($=this,U=j):($=j,U=this);for(var G=0;Gj.length?this.clone().ixor(j):j.clone().ixor(this)},c.prototype.uxor=function(j){return this.length>j.length?this.clone().iuxor(j):j.clone().iuxor(this)},c.prototype.inotn=function(j){s(typeof j=="number"&&j>=0);var $=0|Math.ceil(j/26),U=j%26;this._expand($),U>0&&$--;for(var G=0;G<$;G++)this.words[G]=67108863&~this.words[G];return U>0&&(this.words[G]=~this.words[G]&67108863>>26-U),this.strip()},c.prototype.notn=function(j){return this.clone().inotn(j)},c.prototype.setn=function(j,$){s(typeof j=="number"&&j>=0);var U=j/26|0,G=j%26;return this._expand(U+1),this.words[U]=$?this.words[U]|1<j.length?(U=this,G=j):(U=j,G=this);for(var W=0,H=0;H>>26;for(;W!==0&&H>>26;if(this.length=U.length,W!==0)this.words[this.length]=W,this.length++;else if(U!==this)for(;Hj.length?this.clone().iadd(j):j.clone().iadd(this)},c.prototype.isub=function(j){if(j.negative!==0){j.negative=0;var $=this.iadd(j);return j.negative=1,$._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(j),this.negative=1,this._normSign();var U,G,W=this.cmp(j);if(W===0)return this.negative=0,this.length=1,this.words[0]=0,this;W>0?(U=this,G=j):(U=j,G=this);for(var H=0,ne=0;ne>26,this.words[ne]=67108863&$;for(;H!==0&&ne>26,this.words[ne]=67108863&$;if(H===0&&ne>>13,oe=0|ne[1],ue=8191&oe,ce=oe>>>13,ye=0|ne[2],de=8191&ye,me=ye>>>13,pe=0|ne[3],xe=8191&pe,Pe=pe>>>13,_e=0|ne[4],Me=8191&_e,Se=_e>>>13,Ce=0|ne[5],ae=8191&Ce,he=Ce>>>13,be=0|ne[6],ke=8191&be,Le=be>>>13,Be=0|ne[7],ze=8191&Be,je=Be>>>13,ge=0|ne[8],we=8191&ge,Ee=ge>>>13,Ve=0|ne[9],$e=8191&Ve,Ye=Ve>>>13,st=0|te[0],ot=8191&st,ft=st>>>13,bt=0|te[1],Et=8191&bt,kt=bt>>>13,xt=0|te[2],Ft=8191&xt,Rt=xt>>>13,Bt=0|te[3],Wt=8191&Bt,Vt=Bt>>>13,Ke=0|te[4],Je=8191&Ke,We=Ke>>>13,nt=0|te[5],ht=8191&nt,Oe=nt>>>13,Ne=0|te[6],Qe=8191&Ne,ut=Ne>>>13,dt=0|te[7],_t=8191&dt,It=dt>>>13,Lt=0|te[8],yt=8191&Lt,Pt=Lt>>>13,wt=0|te[9],Ot=8191&wt,Nt=wt>>>13;U.negative=j.negative^$.negative,U.length=19;var Yt=(X+(G=Math.imul(re,ot))|0)+((8191&(W=(W=Math.imul(re,ft))+Math.imul(ie,ot)|0))<<13)|0;X=((H=Math.imul(ie,ft))+(W>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,G=Math.imul(ue,ot),W=(W=Math.imul(ue,ft))+Math.imul(ce,ot)|0,H=Math.imul(ce,ft);var qt=(X+(G=G+Math.imul(re,Et)|0)|0)+((8191&(W=(W=W+Math.imul(re,kt)|0)+Math.imul(ie,Et)|0))<<13)|0;X=((H=H+Math.imul(ie,kt)|0)+(W>>>13)|0)+(qt>>>26)|0,qt&=67108863,G=Math.imul(de,ot),W=(W=Math.imul(de,ft))+Math.imul(me,ot)|0,H=Math.imul(me,ft),G=G+Math.imul(ue,Et)|0,W=(W=W+Math.imul(ue,kt)|0)+Math.imul(ce,Et)|0,H=H+Math.imul(ce,kt)|0;var Xt=(X+(G=G+Math.imul(re,Ft)|0)|0)+((8191&(W=(W=W+Math.imul(re,Rt)|0)+Math.imul(ie,Ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Rt)|0)+(W>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,G=Math.imul(xe,ot),W=(W=Math.imul(xe,ft))+Math.imul(Pe,ot)|0,H=Math.imul(Pe,ft),G=G+Math.imul(de,Et)|0,W=(W=W+Math.imul(de,kt)|0)+Math.imul(me,Et)|0,H=H+Math.imul(me,kt)|0,G=G+Math.imul(ue,Ft)|0,W=(W=W+Math.imul(ue,Rt)|0)+Math.imul(ce,Ft)|0,H=H+Math.imul(ce,Rt)|0;var Qt=(X+(G=G+Math.imul(re,Wt)|0)|0)+((8191&(W=(W=W+Math.imul(re,Vt)|0)+Math.imul(ie,Wt)|0))<<13)|0;X=((H=H+Math.imul(ie,Vt)|0)+(W>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,G=Math.imul(Me,ot),W=(W=Math.imul(Me,ft))+Math.imul(Se,ot)|0,H=Math.imul(Se,ft),G=G+Math.imul(xe,Et)|0,W=(W=W+Math.imul(xe,kt)|0)+Math.imul(Pe,Et)|0,H=H+Math.imul(Pe,kt)|0,G=G+Math.imul(de,Ft)|0,W=(W=W+Math.imul(de,Rt)|0)+Math.imul(me,Ft)|0,H=H+Math.imul(me,Rt)|0,G=G+Math.imul(ue,Wt)|0,W=(W=W+Math.imul(ue,Vt)|0)+Math.imul(ce,Wt)|0,H=H+Math.imul(ce,Vt)|0;var rn=(X+(G=G+Math.imul(re,Je)|0)|0)+((8191&(W=(W=W+Math.imul(re,We)|0)+Math.imul(ie,Je)|0))<<13)|0;X=((H=H+Math.imul(ie,We)|0)+(W>>>13)|0)+(rn>>>26)|0,rn&=67108863,G=Math.imul(ae,ot),W=(W=Math.imul(ae,ft))+Math.imul(he,ot)|0,H=Math.imul(he,ft),G=G+Math.imul(Me,Et)|0,W=(W=W+Math.imul(Me,kt)|0)+Math.imul(Se,Et)|0,H=H+Math.imul(Se,kt)|0,G=G+Math.imul(xe,Ft)|0,W=(W=W+Math.imul(xe,Rt)|0)+Math.imul(Pe,Ft)|0,H=H+Math.imul(Pe,Rt)|0,G=G+Math.imul(de,Wt)|0,W=(W=W+Math.imul(de,Vt)|0)+Math.imul(me,Wt)|0,H=H+Math.imul(me,Vt)|0,G=G+Math.imul(ue,Je)|0,W=(W=W+Math.imul(ue,We)|0)+Math.imul(ce,Je)|0,H=H+Math.imul(ce,We)|0;var xn=(X+(G=G+Math.imul(re,ht)|0)|0)+((8191&(W=(W=W+Math.imul(re,Oe)|0)+Math.imul(ie,ht)|0))<<13)|0;X=((H=H+Math.imul(ie,Oe)|0)+(W>>>13)|0)+(xn>>>26)|0,xn&=67108863,G=Math.imul(ke,ot),W=(W=Math.imul(ke,ft))+Math.imul(Le,ot)|0,H=Math.imul(Le,ft),G=G+Math.imul(ae,Et)|0,W=(W=W+Math.imul(ae,kt)|0)+Math.imul(he,Et)|0,H=H+Math.imul(he,kt)|0,G=G+Math.imul(Me,Ft)|0,W=(W=W+Math.imul(Me,Rt)|0)+Math.imul(Se,Ft)|0,H=H+Math.imul(Se,Rt)|0,G=G+Math.imul(xe,Wt)|0,W=(W=W+Math.imul(xe,Vt)|0)+Math.imul(Pe,Wt)|0,H=H+Math.imul(Pe,Vt)|0,G=G+Math.imul(de,Je)|0,W=(W=W+Math.imul(de,We)|0)+Math.imul(me,Je)|0,H=H+Math.imul(me,We)|0,G=G+Math.imul(ue,ht)|0,W=(W=W+Math.imul(ue,Oe)|0)+Math.imul(ce,ht)|0,H=H+Math.imul(ce,Oe)|0;var un=(X+(G=G+Math.imul(re,Qe)|0)|0)+((8191&(W=(W=W+Math.imul(re,ut)|0)+Math.imul(ie,Qe)|0))<<13)|0;X=((H=H+Math.imul(ie,ut)|0)+(W>>>13)|0)+(un>>>26)|0,un&=67108863,G=Math.imul(ze,ot),W=(W=Math.imul(ze,ft))+Math.imul(je,ot)|0,H=Math.imul(je,ft),G=G+Math.imul(ke,Et)|0,W=(W=W+Math.imul(ke,kt)|0)+Math.imul(Le,Et)|0,H=H+Math.imul(Le,kt)|0,G=G+Math.imul(ae,Ft)|0,W=(W=W+Math.imul(ae,Rt)|0)+Math.imul(he,Ft)|0,H=H+Math.imul(he,Rt)|0,G=G+Math.imul(Me,Wt)|0,W=(W=W+Math.imul(Me,Vt)|0)+Math.imul(Se,Wt)|0,H=H+Math.imul(Se,Vt)|0,G=G+Math.imul(xe,Je)|0,W=(W=W+Math.imul(xe,We)|0)+Math.imul(Pe,Je)|0,H=H+Math.imul(Pe,We)|0,G=G+Math.imul(de,ht)|0,W=(W=W+Math.imul(de,Oe)|0)+Math.imul(me,ht)|0,H=H+Math.imul(me,Oe)|0,G=G+Math.imul(ue,Qe)|0,W=(W=W+Math.imul(ue,ut)|0)+Math.imul(ce,Qe)|0,H=H+Math.imul(ce,ut)|0;var An=(X+(G=G+Math.imul(re,_t)|0)|0)+((8191&(W=(W=W+Math.imul(re,It)|0)+Math.imul(ie,_t)|0))<<13)|0;X=((H=H+Math.imul(ie,It)|0)+(W>>>13)|0)+(An>>>26)|0,An&=67108863,G=Math.imul(we,ot),W=(W=Math.imul(we,ft))+Math.imul(Ee,ot)|0,H=Math.imul(Ee,ft),G=G+Math.imul(ze,Et)|0,W=(W=W+Math.imul(ze,kt)|0)+Math.imul(je,Et)|0,H=H+Math.imul(je,kt)|0,G=G+Math.imul(ke,Ft)|0,W=(W=W+Math.imul(ke,Rt)|0)+Math.imul(Le,Ft)|0,H=H+Math.imul(Le,Rt)|0,G=G+Math.imul(ae,Wt)|0,W=(W=W+Math.imul(ae,Vt)|0)+Math.imul(he,Wt)|0,H=H+Math.imul(he,Vt)|0,G=G+Math.imul(Me,Je)|0,W=(W=W+Math.imul(Me,We)|0)+Math.imul(Se,Je)|0,H=H+Math.imul(Se,We)|0,G=G+Math.imul(xe,ht)|0,W=(W=W+Math.imul(xe,Oe)|0)+Math.imul(Pe,ht)|0,H=H+Math.imul(Pe,Oe)|0,G=G+Math.imul(de,Qe)|0,W=(W=W+Math.imul(de,ut)|0)+Math.imul(me,Qe)|0,H=H+Math.imul(me,ut)|0,G=G+Math.imul(ue,_t)|0,W=(W=W+Math.imul(ue,It)|0)+Math.imul(ce,_t)|0,H=H+Math.imul(ce,It)|0;var Yn=(X+(G=G+Math.imul(re,yt)|0)|0)+((8191&(W=(W=W+Math.imul(re,Pt)|0)+Math.imul(ie,yt)|0))<<13)|0;X=((H=H+Math.imul(ie,Pt)|0)+(W>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,G=Math.imul($e,ot),W=(W=Math.imul($e,ft))+Math.imul(Ye,ot)|0,H=Math.imul(Ye,ft),G=G+Math.imul(we,Et)|0,W=(W=W+Math.imul(we,kt)|0)+Math.imul(Ee,Et)|0,H=H+Math.imul(Ee,kt)|0,G=G+Math.imul(ze,Ft)|0,W=(W=W+Math.imul(ze,Rt)|0)+Math.imul(je,Ft)|0,H=H+Math.imul(je,Rt)|0,G=G+Math.imul(ke,Wt)|0,W=(W=W+Math.imul(ke,Vt)|0)+Math.imul(Le,Wt)|0,H=H+Math.imul(Le,Vt)|0,G=G+Math.imul(ae,Je)|0,W=(W=W+Math.imul(ae,We)|0)+Math.imul(he,Je)|0,H=H+Math.imul(he,We)|0,G=G+Math.imul(Me,ht)|0,W=(W=W+Math.imul(Me,Oe)|0)+Math.imul(Se,ht)|0,H=H+Math.imul(Se,Oe)|0,G=G+Math.imul(xe,Qe)|0,W=(W=W+Math.imul(xe,ut)|0)+Math.imul(Pe,Qe)|0,H=H+Math.imul(Pe,ut)|0,G=G+Math.imul(de,_t)|0,W=(W=W+Math.imul(de,It)|0)+Math.imul(me,_t)|0,H=H+Math.imul(me,It)|0,G=G+Math.imul(ue,yt)|0,W=(W=W+Math.imul(ue,Pt)|0)+Math.imul(ce,yt)|0,H=H+Math.imul(ce,Pt)|0;var kn=(X+(G=G+Math.imul(re,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(re,Nt)|0)+Math.imul(ie,Ot)|0))<<13)|0;X=((H=H+Math.imul(ie,Nt)|0)+(W>>>13)|0)+(kn>>>26)|0,kn&=67108863,G=Math.imul($e,Et),W=(W=Math.imul($e,kt))+Math.imul(Ye,Et)|0,H=Math.imul(Ye,kt),G=G+Math.imul(we,Ft)|0,W=(W=W+Math.imul(we,Rt)|0)+Math.imul(Ee,Ft)|0,H=H+Math.imul(Ee,Rt)|0,G=G+Math.imul(ze,Wt)|0,W=(W=W+Math.imul(ze,Vt)|0)+Math.imul(je,Wt)|0,H=H+Math.imul(je,Vt)|0,G=G+Math.imul(ke,Je)|0,W=(W=W+Math.imul(ke,We)|0)+Math.imul(Le,Je)|0,H=H+Math.imul(Le,We)|0,G=G+Math.imul(ae,ht)|0,W=(W=W+Math.imul(ae,Oe)|0)+Math.imul(he,ht)|0,H=H+Math.imul(he,Oe)|0,G=G+Math.imul(Me,Qe)|0,W=(W=W+Math.imul(Me,ut)|0)+Math.imul(Se,Qe)|0,H=H+Math.imul(Se,ut)|0,G=G+Math.imul(xe,_t)|0,W=(W=W+Math.imul(xe,It)|0)+Math.imul(Pe,_t)|0,H=H+Math.imul(Pe,It)|0,G=G+Math.imul(de,yt)|0,W=(W=W+Math.imul(de,Pt)|0)+Math.imul(me,yt)|0,H=H+Math.imul(me,Pt)|0;var sn=(X+(G=G+Math.imul(ue,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(ue,Nt)|0)+Math.imul(ce,Ot)|0))<<13)|0;X=((H=H+Math.imul(ce,Nt)|0)+(W>>>13)|0)+(sn>>>26)|0,sn&=67108863,G=Math.imul($e,Ft),W=(W=Math.imul($e,Rt))+Math.imul(Ye,Ft)|0,H=Math.imul(Ye,Rt),G=G+Math.imul(we,Wt)|0,W=(W=W+Math.imul(we,Vt)|0)+Math.imul(Ee,Wt)|0,H=H+Math.imul(Ee,Vt)|0,G=G+Math.imul(ze,Je)|0,W=(W=W+Math.imul(ze,We)|0)+Math.imul(je,Je)|0,H=H+Math.imul(je,We)|0,G=G+Math.imul(ke,ht)|0,W=(W=W+Math.imul(ke,Oe)|0)+Math.imul(Le,ht)|0,H=H+Math.imul(Le,Oe)|0,G=G+Math.imul(ae,Qe)|0,W=(W=W+Math.imul(ae,ut)|0)+Math.imul(he,Qe)|0,H=H+Math.imul(he,ut)|0,G=G+Math.imul(Me,_t)|0,W=(W=W+Math.imul(Me,It)|0)+Math.imul(Se,_t)|0,H=H+Math.imul(Se,It)|0,G=G+Math.imul(xe,yt)|0,W=(W=W+Math.imul(xe,Pt)|0)+Math.imul(Pe,yt)|0,H=H+Math.imul(Pe,Pt)|0;var Tn=(X+(G=G+Math.imul(de,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(de,Nt)|0)+Math.imul(me,Ot)|0))<<13)|0;X=((H=H+Math.imul(me,Nt)|0)+(W>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,G=Math.imul($e,Wt),W=(W=Math.imul($e,Vt))+Math.imul(Ye,Wt)|0,H=Math.imul(Ye,Vt),G=G+Math.imul(we,Je)|0,W=(W=W+Math.imul(we,We)|0)+Math.imul(Ee,Je)|0,H=H+Math.imul(Ee,We)|0,G=G+Math.imul(ze,ht)|0,W=(W=W+Math.imul(ze,Oe)|0)+Math.imul(je,ht)|0,H=H+Math.imul(je,Oe)|0,G=G+Math.imul(ke,Qe)|0,W=(W=W+Math.imul(ke,ut)|0)+Math.imul(Le,Qe)|0,H=H+Math.imul(Le,ut)|0,G=G+Math.imul(ae,_t)|0,W=(W=W+Math.imul(ae,It)|0)+Math.imul(he,_t)|0,H=H+Math.imul(he,It)|0,G=G+Math.imul(Me,yt)|0,W=(W=W+Math.imul(Me,Pt)|0)+Math.imul(Se,yt)|0,H=H+Math.imul(Se,Pt)|0;var dn=(X+(G=G+Math.imul(xe,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(xe,Nt)|0)+Math.imul(Pe,Ot)|0))<<13)|0;X=((H=H+Math.imul(Pe,Nt)|0)+(W>>>13)|0)+(dn>>>26)|0,dn&=67108863,G=Math.imul($e,Je),W=(W=Math.imul($e,We))+Math.imul(Ye,Je)|0,H=Math.imul(Ye,We),G=G+Math.imul(we,ht)|0,W=(W=W+Math.imul(we,Oe)|0)+Math.imul(Ee,ht)|0,H=H+Math.imul(Ee,Oe)|0,G=G+Math.imul(ze,Qe)|0,W=(W=W+Math.imul(ze,ut)|0)+Math.imul(je,Qe)|0,H=H+Math.imul(je,ut)|0,G=G+Math.imul(ke,_t)|0,W=(W=W+Math.imul(ke,It)|0)+Math.imul(Le,_t)|0,H=H+Math.imul(Le,It)|0,G=G+Math.imul(ae,yt)|0,W=(W=W+Math.imul(ae,Pt)|0)+Math.imul(he,yt)|0,H=H+Math.imul(he,Pt)|0;var pn=(X+(G=G+Math.imul(Me,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(Me,Nt)|0)+Math.imul(Se,Ot)|0))<<13)|0;X=((H=H+Math.imul(Se,Nt)|0)+(W>>>13)|0)+(pn>>>26)|0,pn&=67108863,G=Math.imul($e,ht),W=(W=Math.imul($e,Oe))+Math.imul(Ye,ht)|0,H=Math.imul(Ye,Oe),G=G+Math.imul(we,Qe)|0,W=(W=W+Math.imul(we,ut)|0)+Math.imul(Ee,Qe)|0,H=H+Math.imul(Ee,ut)|0,G=G+Math.imul(ze,_t)|0,W=(W=W+Math.imul(ze,It)|0)+Math.imul(je,_t)|0,H=H+Math.imul(je,It)|0,G=G+Math.imul(ke,yt)|0,W=(W=W+Math.imul(ke,Pt)|0)+Math.imul(Le,yt)|0,H=H+Math.imul(Le,Pt)|0;var Dn=(X+(G=G+Math.imul(ae,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(ae,Nt)|0)+Math.imul(he,Ot)|0))<<13)|0;X=((H=H+Math.imul(he,Nt)|0)+(W>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,G=Math.imul($e,Qe),W=(W=Math.imul($e,ut))+Math.imul(Ye,Qe)|0,H=Math.imul(Ye,ut),G=G+Math.imul(we,_t)|0,W=(W=W+Math.imul(we,It)|0)+Math.imul(Ee,_t)|0,H=H+Math.imul(Ee,It)|0,G=G+Math.imul(ze,yt)|0,W=(W=W+Math.imul(ze,Pt)|0)+Math.imul(je,yt)|0,H=H+Math.imul(je,Pt)|0;var In=(X+(G=G+Math.imul(ke,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(ke,Nt)|0)+Math.imul(Le,Ot)|0))<<13)|0;X=((H=H+Math.imul(Le,Nt)|0)+(W>>>13)|0)+(In>>>26)|0,In&=67108863,G=Math.imul($e,_t),W=(W=Math.imul($e,It))+Math.imul(Ye,_t)|0,H=Math.imul(Ye,It),G=G+Math.imul(we,yt)|0,W=(W=W+Math.imul(we,Pt)|0)+Math.imul(Ee,yt)|0,H=H+Math.imul(Ee,Pt)|0;var jn=(X+(G=G+Math.imul(ze,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(ze,Nt)|0)+Math.imul(je,Ot)|0))<<13)|0;X=((H=H+Math.imul(je,Nt)|0)+(W>>>13)|0)+(jn>>>26)|0,jn&=67108863,G=Math.imul($e,yt),W=(W=Math.imul($e,Pt))+Math.imul(Ye,yt)|0,H=Math.imul(Ye,Pt);var Gn=(X+(G=G+Math.imul(we,Ot)|0)|0)+((8191&(W=(W=W+Math.imul(we,Nt)|0)+Math.imul(Ee,Ot)|0))<<13)|0;X=((H=H+Math.imul(Ee,Nt)|0)+(W>>>13)|0)+(Gn>>>26)|0,Gn&=67108863;var Wn=(X+(G=Math.imul($e,Ot))|0)+((8191&(W=(W=Math.imul($e,Nt))+Math.imul(Ye,Ot)|0))<<13)|0;return X=((H=Math.imul(Ye,Nt))+(W>>>13)|0)+(Wn>>>26)|0,Wn&=67108863,Z[0]=Yt,Z[1]=qt,Z[2]=Xt,Z[3]=Qt,Z[4]=rn,Z[5]=xn,Z[6]=un,Z[7]=An,Z[8]=Yn,Z[9]=kn,Z[10]=sn,Z[11]=Tn,Z[12]=dn,Z[13]=pn,Z[14]=Dn,Z[15]=In,Z[16]=jn,Z[17]=Gn,Z[18]=Wn,X!==0&&(Z[19]=X,U.length++),U};function L(j,$,U){return new b().mulp(j,$,U)}function b(j,$){this.x=j,this.y=$}Math.imul||(A=_),c.prototype.mulTo=function(j,$){var U,G=this.length+j.length;return U=this.length===10&&j.length===10?A(this,j,$):G<63?_(this,j,$):G<1024?function(W,H,ne){ne.negative=H.negative^W.negative,ne.length=W.length+H.length;for(var te=0,Z=0,X=0;X>>26)|0)>>>26,Q&=67108863}ne.words[X]=re,te=Q,Q=Z}return te!==0?ne.words[X]=te:ne.length--,ne.strip()}(this,j,$):L(this,j,$),U},b.prototype.makeRBT=function(j){for(var $=new Array(j),U=c.prototype._countBits(j)-1,G=0;G>=1;return G},b.prototype.permute=function(j,$,U,G,W,H){for(var ne=0;ne>>=1)W++;return 1<>>=13,U[2*H+1]=8191&W,W>>>=13;for(H=2*$;H>=26,$+=G/67108864|0,$+=W>>>26,this.words[U]=67108863&W}return $!==0&&(this.words[U]=$,this.length++),this},c.prototype.muln=function(j){return this.clone().imuln(j)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(j){var $=function(H){for(var ne=new Array(H.bitLength()),te=0;te>>X}return ne}(j);if($.length===0)return new c(1);for(var U=this,G=0;G<$.length&&$[G]===0;G++,U=U.sqr());if(++G<$.length)for(var W=U.sqr();G<$.length;G++,W=W.sqr())$[G]!==0&&(U=U.mul(W));return U},c.prototype.iushln=function(j){s(typeof j=="number"&&j>=0);var $,U=j%26,G=(j-U)/26,W=67108863>>>26-U<<26-U;if(U!==0){var H=0;for($=0;$>>26-U}H&&(this.words[$]=H,this.length++)}if(G!==0){for($=this.length-1;$>=0;$--)this.words[$+G]=this.words[$];for($=0;$=0),G=$?($-$%26)/26:0;var W=j%26,H=Math.min((j-W)/26,this.length),ne=67108863^67108863>>>W<H)for(this.length-=H,Z=0;Z=0&&(X!==0||Z>=G);Z--){var Q=0|this.words[Z];this.words[Z]=X<<26-W|Q>>>W,X=Q&ne}return te&&X!==0&&(te.words[te.length++]=X),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(j,$,U){return s(this.negative===0),this.iushrn(j,$,U)},c.prototype.shln=function(j){return this.clone().ishln(j)},c.prototype.ushln=function(j){return this.clone().iushln(j)},c.prototype.shrn=function(j){return this.clone().ishrn(j)},c.prototype.ushrn=function(j){return this.clone().iushrn(j)},c.prototype.testn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26,G=1<<$;return!(this.length<=U||!(this.words[U]&G))},c.prototype.imaskn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if($!==0&&U++,this.length=Math.min(U,this.length),$!==0){var G=67108863^67108863>>>$<<$;this.words[this.length-1]&=G}return this.strip()},c.prototype.maskn=function(j){return this.clone().imaskn(j)},c.prototype.iaddn=function(j){return s(typeof j=="number"),s(j<67108864),j<0?this.isubn(-j):this.negative!==0?this.length===1&&(0|this.words[0])=67108864;$++)this.words[$]-=67108864,$===this.length-1?this.words[$+1]=1:this.words[$+1]++;return this.length=Math.max(this.length,$+1),this},c.prototype.isubn=function(j){if(s(typeof j=="number"),s(j<67108864),j<0)return this.iaddn(-j);if(this.negative!==0)return this.negative=0,this.iaddn(j),this.negative=1,this;if(this.words[0]-=j,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var $=0;$>26)-(te/67108864|0),this.words[G+U]=67108863&W}for(;G>26,this.words[G+U]=67108863&W;if(ne===0)return this.strip();for(s(ne===-1),ne=0,G=0;G>26,this.words[G]=67108863&W;return this.negative=1,this.strip()},c.prototype._wordDiv=function(j,$){var U=(this.length,j.length),G=this.clone(),W=j,H=0|W.words[W.length-1];(U=26-this._countBits(H))!=0&&(W=W.ushln(U),G.iushln(U),H=0|W.words[W.length-1]);var ne,te=G.length-W.length;if($!=="mod"){(ne=new c(null)).length=te+1,ne.words=new Array(ne.length);for(var Z=0;Z=0;Q--){var re=67108864*(0|G.words[W.length+Q])+(0|G.words[W.length+Q-1]);for(re=Math.min(re/H|0,67108863),G._ishlnsubmul(W,re,Q);G.negative!==0;)re--,G.negative=0,G._ishlnsubmul(W,1,Q),G.isZero()||(G.negative^=1);ne&&(ne.words[Q]=re)}return ne&&ne.strip(),G.strip(),$!=="div"&&U!==0&&G.iushrn(U),{div:ne||null,mod:G}},c.prototype.divmod=function(j,$,U){return s(!j.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:this.negative!==0&&j.negative===0?(H=this.neg().divmod(j,$),$!=="mod"&&(G=H.div.neg()),$!=="div"&&(W=H.mod.neg(),U&&W.negative!==0&&W.iadd(j)),{div:G,mod:W}):this.negative===0&&j.negative!==0?(H=this.divmod(j.neg(),$),$!=="mod"&&(G=H.div.neg()),{div:G,mod:H.mod}):this.negative&j.negative?(H=this.neg().divmod(j.neg(),$),$!=="div"&&(W=H.mod.neg(),U&&W.negative!==0&&W.isub(j)),{div:H.div,mod:W}):j.length>this.length||this.cmp(j)<0?{div:new c(0),mod:this}:j.length===1?$==="div"?{div:this.divn(j.words[0]),mod:null}:$==="mod"?{div:null,mod:new c(this.modn(j.words[0]))}:{div:this.divn(j.words[0]),mod:new c(this.modn(j.words[0]))}:this._wordDiv(j,$);var G,W,H},c.prototype.div=function(j){return this.divmod(j,"div",!1).div},c.prototype.mod=function(j){return this.divmod(j,"mod",!1).mod},c.prototype.umod=function(j){return this.divmod(j,"mod",!0).mod},c.prototype.divRound=function(j){var $=this.divmod(j);if($.mod.isZero())return $.div;var U=$.div.negative!==0?$.mod.isub(j):$.mod,G=j.ushrn(1),W=j.andln(1),H=U.cmp(G);return H<0||W===1&&H===0?$.div:$.div.negative!==0?$.div.isubn(1):$.div.iaddn(1)},c.prototype.modn=function(j){s(j<=67108863);for(var $=67108864%j,U=0,G=this.length-1;G>=0;G--)U=($*U+(0|this.words[G]))%j;return U},c.prototype.idivn=function(j){s(j<=67108863);for(var $=0,U=this.length-1;U>=0;U--){var G=(0|this.words[U])+67108864*$;this.words[U]=G/j|0,$=G%j}return this.strip()},c.prototype.divn=function(j){return this.clone().idivn(j)},c.prototype.egcd=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G=new c(1),W=new c(0),H=new c(0),ne=new c(1),te=0;$.isEven()&&U.isEven();)$.iushrn(1),U.iushrn(1),++te;for(var Z=U.clone(),X=$.clone();!$.isZero();){for(var Q=0,re=1;!($.words[0]&re)&&Q<26;++Q,re<<=1);if(Q>0)for($.iushrn(Q);Q-- >0;)(G.isOdd()||W.isOdd())&&(G.iadd(Z),W.isub(X)),G.iushrn(1),W.iushrn(1);for(var ie=0,oe=1;!(U.words[0]&oe)&&ie<26;++ie,oe<<=1);if(ie>0)for(U.iushrn(ie);ie-- >0;)(H.isOdd()||ne.isOdd())&&(H.iadd(Z),ne.isub(X)),H.iushrn(1),ne.iushrn(1);$.cmp(U)>=0?($.isub(U),G.isub(H),W.isub(ne)):(U.isub($),H.isub(G),ne.isub(W))}return{a:H,b:ne,gcd:U.iushln(te)}},c.prototype._invmp=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G,W=new c(1),H=new c(0),ne=U.clone();$.cmpn(1)>0&&U.cmpn(1)>0;){for(var te=0,Z=1;!($.words[0]&Z)&&te<26;++te,Z<<=1);if(te>0)for($.iushrn(te);te-- >0;)W.isOdd()&&W.iadd(ne),W.iushrn(1);for(var X=0,Q=1;!(U.words[0]&Q)&&X<26;++X,Q<<=1);if(X>0)for(U.iushrn(X);X-- >0;)H.isOdd()&&H.iadd(ne),H.iushrn(1);$.cmp(U)>=0?($.isub(U),W.isub(H)):(U.isub($),H.isub(W))}return(G=$.cmpn(1)===0?W:H).cmpn(0)<0&&G.iadd(j),G},c.prototype.gcd=function(j){if(this.isZero())return j.abs();if(j.isZero())return this.abs();var $=this.clone(),U=j.clone();$.negative=0,U.negative=0;for(var G=0;$.isEven()&&U.isEven();G++)$.iushrn(1),U.iushrn(1);for(;;){for(;$.isEven();)$.iushrn(1);for(;U.isEven();)U.iushrn(1);var W=$.cmp(U);if(W<0){var H=$;$=U,U=H}else if(W===0||U.cmpn(1)===0)break;$.isub(U)}return U.iushln(G)},c.prototype.invm=function(j){return this.egcd(j).a.umod(j)},c.prototype.isEven=function(){return(1&this.words[0])==0},c.prototype.isOdd=function(){return(1&this.words[0])==1},c.prototype.andln=function(j){return this.words[0]&j},c.prototype.bincn=function(j){s(typeof j=="number");var $=j%26,U=(j-$)/26,G=1<<$;if(this.length<=U)return this._expand(U+1),this.words[U]|=G,this;for(var W=G,H=U;W!==0&&H>>26,ne&=67108863,this.words[H]=ne}return W!==0&&(this.words[H]=W,this.length++),this},c.prototype.isZero=function(){return this.length===1&&this.words[0]===0},c.prototype.cmpn=function(j){var $,U=j<0;if(this.negative!==0&&!U)return-1;if(this.negative===0&&U)return 1;if(this.strip(),this.length>1)$=1;else{U&&(j=-j),s(j<=67108863,"Number is too big");var G=0|this.words[0];$=G===j?0:Gj.length)return 1;if(this.length=0;U--){var G=0|this.words[U],W=0|j.words[U];if(G!==W){GW&&($=1);break}}return $},c.prototype.gtn=function(j){return this.cmpn(j)===1},c.prototype.gt=function(j){return this.cmp(j)===1},c.prototype.gten=function(j){return this.cmpn(j)>=0},c.prototype.gte=function(j){return this.cmp(j)>=0},c.prototype.ltn=function(j){return this.cmpn(j)===-1},c.prototype.lt=function(j){return this.cmp(j)===-1},c.prototype.lten=function(j){return this.cmpn(j)<=0},c.prototype.lte=function(j){return this.cmp(j)<=0},c.prototype.eqn=function(j){return this.cmpn(j)===0},c.prototype.eq=function(j){return this.cmp(j)===0},c.red=function(j){return new N(j)},c.prototype.toRed=function(j){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),j.convertTo(this)._forceRed(j)},c.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(j){return this.red=j,this},c.prototype.forceRed=function(j){return s(!this.red,"Already a number in reduction context"),this._forceRed(j)},c.prototype.redAdd=function(j){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,j)},c.prototype.redIAdd=function(j){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,j)},c.prototype.redSub=function(j){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,j)},c.prototype.redISub=function(j){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,j)},c.prototype.redShl=function(j){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,j)},c.prototype.redMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.mul(this,j)},c.prototype.redIMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.imul(this,j)},c.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(j){return s(this.red&&!j.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,j)};var O={k256:null,p224:null,p192:null,p25519:null};function I(j,$){this.name=j,this.p=new c($,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function R(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function D(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function F(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(j){if(typeof j=="string"){var $=c._prime(j);this.m=$.p,this.prime=$}else s(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}function q(j){N.call(this,j),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var j=new c(null);return j.words=new Array(Math.ceil(this.n/13)),j},I.prototype.ireduce=function(j){var $,U=j;do this.split(U,this.tmp),$=(U=(U=this.imulK(U)).iadd(this.tmp)).bitLength();while($>this.n);var G=$0?U.isub(this.p):U.strip!==void 0?U.strip():U._strip(),U},I.prototype.split=function(j,$){j.iushrn(this.n,0,$)},I.prototype.imulK=function(j){return j.imul(this.k)},f(R,I),R.prototype.split=function(j,$){for(var U=4194303,G=Math.min(j.length,9),W=0;W>>22,H=ne}H>>>=22,j.words[W-10]=H,H===0&&j.length>10?j.length-=10:j.length-=9},R.prototype.imulK=function(j){j.words[j.length]=0,j.words[j.length+1]=0,j.length+=2;for(var $=0,U=0;U>>=26,j.words[U]=W,$=G}return $!==0&&(j.words[j.length++]=$),j},c._prime=function(j){if(O[j])return O[j];var $;if(j==="k256")$=new R;else if(j==="p224")$=new D;else if(j==="p192")$=new F;else{if(j!=="p25519")throw new Error("Unknown prime "+j);$=new B}return O[j]=$,$},N.prototype._verify1=function(j){s(j.negative===0,"red works only with positives"),s(j.red,"red works only with red numbers")},N.prototype._verify2=function(j,$){s((j.negative|$.negative)==0,"red works only with positives"),s(j.red&&j.red===$.red,"red works only with red numbers")},N.prototype.imod=function(j){return this.prime?this.prime.ireduce(j)._forceRed(this):j.umod(this.m)._forceRed(this)},N.prototype.neg=function(j){return j.isZero()?j.clone():this.m.sub(j)._forceRed(this)},N.prototype.add=function(j,$){this._verify2(j,$);var U=j.add($);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},N.prototype.iadd=function(j,$){this._verify2(j,$);var U=j.iadd($);return U.cmp(this.m)>=0&&U.isub(this.m),U},N.prototype.sub=function(j,$){this._verify2(j,$);var U=j.sub($);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},N.prototype.isub=function(j,$){this._verify2(j,$);var U=j.isub($);return U.cmpn(0)<0&&U.iadd(this.m),U},N.prototype.shl=function(j,$){return this._verify1(j),this.imod(j.ushln($))},N.prototype.imul=function(j,$){return this._verify2(j,$),this.imod(j.imul($))},N.prototype.mul=function(j,$){return this._verify2(j,$),this.imod(j.mul($))},N.prototype.isqr=function(j){return this.imul(j,j.clone())},N.prototype.sqr=function(j){return this.mul(j,j)},N.prototype.sqrt=function(j){if(j.isZero())return j.clone();var $=this.m.andln(3);if(s($%2==1),$===3){var U=this.m.add(new c(1)).iushrn(2);return this.pow(j,U)}for(var G=this.m.subn(1),W=0;!G.isZero()&&G.andln(1)===0;)W++,G.iushrn(1);s(!G.isZero());var H=new c(1).toRed(this),ne=H.redNeg(),te=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new c(2*Z*Z).toRed(this);this.pow(Z,te).cmp(ne)!==0;)Z.redIAdd(ne);for(var X=this.pow(Z,G),Q=this.pow(j,G.addn(1).iushrn(1)),re=this.pow(j,G),ie=W;re.cmp(H)!==0;){for(var oe=re,ue=0;oe.cmp(H)!==0;ue++)oe=oe.redSqr();s(ue=0;G--){for(var Z=$.words[G],X=te-1;X>=0;X--){var Q=Z>>X&1;W!==U[0]&&(W=this.sqr(W)),Q!==0||H!==0?(H<<=1,H|=Q,(++ne==4||G===0&&X===0)&&(W=this.mul(W,U[H]),ne=0,H=0)):ne=0}te=26}return W},N.prototype.convertTo=function(j){var $=j.umod(this.m);return $===j?$.clone():$},N.prototype.convertFrom=function(j){var $=j.clone();return $.red=null,$},c.mont=function(j){return new q(j)},f(q,N),q.prototype.convertTo=function(j){return this.imod(j.ushln(this.shift))},q.prototype.convertFrom=function(j){var $=this.imod(j.mul(this.rinv));return $.red=null,$},q.prototype.imul=function(j,$){if(j.isZero()||$.isZero())return j.words[0]=0,j.length=1,j;var U=j.imul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),W=U.isub(G).iushrn(this.shift),H=W;return W.cmp(this.m)>=0?H=W.isub(this.m):W.cmpn(0)<0&&(H=W.iadd(this.m)),H._forceRed(this)},q.prototype.mul=function(j,$){if(j.isZero()||$.isZero())return new c(0)._forceRed(this);var U=j.mul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),W=U.isub(G).iushrn(this.shift),H=W;return W.cmp(this.m)>=0?H=W.isub(this.m):W.cmpn(0)<0&&(H=W.iadd(this.m)),H._forceRed(this)},q.prototype.invm=function(j){return this.imod(j._invmp(this.m).mul(this.r2))._forceRed(this)}})(h=a.nmd(h),this)},2692:function(h){h.exports=function(l){var a,u,o,s=l.length,f=0;for(a=0;a>>1;if(!(O<=0)){var I,R=o.mallocDouble(2*O*L),D=o.mallocInt32(L);if((L=p(T,O,R,D))>0){if(O===1&&A)s.init(L),I=s.sweepComplete(O,_,0,L,R,D,0,L,R,D);else{var F=o.mallocDouble(2*O*b),B=o.mallocInt32(b);(b=p(C,O,F,B))>0&&(s.init(L+b),I=O===1?s.sweepBipartite(O,_,0,L,R,D,0,b,F,B):f(O,_,A,L,R,D,b,F,B),o.free(F),o.free(B))}o.free(R),o.free(D)}return I}}}function v(T,C){u.push([T,C])}function S(T){return u=[],w(T,T,v,!0),u}function x(T,C){return u=[],w(T,C,v,!1),u}},7333:function(h,l){function a(u){return u?function(o,s,f,c,p,w,v,S,x,T,C){return p-c>x-S?function(_,A,L,b,O,I,R,D,F,B,N){for(var q=2*_,j=b,$=q*b;jT-x?c?function(A,L,b,O,I,R,D,F,B,N,q){for(var j=2*A,$=O,U=j*O;$0;){var te=6*(H-=1),Z=L[te],X=L[te+1],Q=L[te+2],re=L[te+3],ie=L[te+4],oe=L[te+5],ue=2*H,ce=b[ue],ye=b[ue+1],de=1&oe,me=!!(16&oe),pe=q,xe=j,Pe=U,_e=G;if(de&&(pe=U,xe=G,Pe=q,_e=j),!(2&oe&&(Q=T(D,Z,X,Q,pe,xe,ye),X>=Q)||4&oe&&(X=C(D,Z,X,Q,pe,xe,ce))>=Q)){var Me=Q-X,Se=ie-re;if(me){if(D*Me*(Me+Se)<4194304){if((W=p.scanComplete(D,Z,F,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return W;continue}}else{if(D*Math.min(Me,Se)<128){if((W=f(D,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return W;continue}if(D*Me*Se<4194304){if((W=p.scanBipartite(D,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return W;continue}}var Ce=S(D,Z,X,Q,pe,xe,ce,ye);if(X=p0)&&!(p1>=hi)"),x=v("lo===p0"),T=v("lo>>1,C=2*s,_=T,A=w[C*T+f];S=R?(_=I,A=R):O>=F?(_=b,A=O):(_=D,A=F):R>=F?(_=I,A=R):F>=O?(_=b,A=O):(_=D,A=F);for(var B=C*(x-1),N=C*_,q=0;qc&&w[A+f]>C;--_,A-=S){for(var L=A,b=A+S,O=0;OC;++C,v+=w)if(f[v+T]===p)if(x===C)x+=1,S+=w;else{for(var _=0;w>_;++_){var A=f[v+_];f[v+_]=f[S],f[S++]=A}var L=c[C];c[C]=c[x],c[x++]=L}return x},"loC;++C,v+=w)if(f[v+T]_;++_){var A=f[v+_];f[v+_]=f[S],f[S++]=A}var L=c[C];c[C]=c[x],c[x++]=L}return x},"lo<=p0":function(a,u,o,s,f,c,p){for(var w=2*a,v=w*o,S=v,x=o,T=a+u,C=o;s>C;++C,v+=w)if(f[v+T]<=p)if(x===C)x+=1,S+=w;else{for(var _=0;w>_;++_){var A=f[v+_];f[v+_]=f[S],f[S++]=A}var L=c[C];c[C]=c[x],c[x++]=L}return x},"hi<=p0":function(a,u,o,s,f,c,p){for(var w=2*a,v=w*o,S=v,x=o,T=a+u,C=o;s>C;++C,v+=w)if(f[v+T]<=p)if(x===C)x+=1,S+=w;else{for(var _=0;w>_;++_){var A=f[v+_];f[v+_]=f[S],f[S++]=A}var L=c[C];c[C]=c[x],c[x++]=L}return x},"lo_;++_,v+=w){var A=f[v+T],L=f[v+C];if(Ab;++b){var O=f[v+b];f[v+b]=f[S],f[S++]=O}var I=c[_];c[_]=c[x],c[x++]=I}}return x},"lo<=p0&&p0<=hi":function(a,u,o,s,f,c,p){for(var w=2*a,v=w*o,S=v,x=o,T=u,C=a+u,_=o;s>_;++_,v+=w){var A=f[v+T],L=f[v+C];if(A<=p&&p<=L)if(x===_)x+=1,S+=w;else{for(var b=0;w>b;++b){var O=f[v+b];f[v+b]=f[S],f[S++]=O}var I=c[_];c[_]=c[x],c[x++]=I}}return x},"!(lo>=p0)&&!(p1>=hi)":function(a,u,o,s,f,c,p,w){for(var v=2*a,S=v*o,x=S,T=o,C=u,_=a+u,A=o;s>A;++A,S+=v){var L=f[S+C],b=f[S+_];if(!(L>=p||w>=b))if(T===A)T+=1,x+=v;else{for(var O=0;v>O;++O){var I=f[S+O];f[S+O]=f[x],f[x++]=I}var R=c[A];c[A]=c[T],c[T++]=R}}return T}}},309:function(h){function l(w,v,S){for(var x=2*(w+1),T=w+1;T<=v;++T){for(var C=S[x++],_=S[x++],A=T,L=x-2;A-- >w;){var b=S[L-2],O=S[L-1];if(bS[v+1])}function c(w,v,S,x){var T=x[w*=2];return T>1,A=_-x,L=_+x,b=T,O=A,I=_,R=L,D=C,F=w+1,B=v-1,N=0;f(b,O,S)&&(N=b,b=O,O=N),f(R,D,S)&&(N=R,R=D,D=N),f(b,I,S)&&(N=b,b=I,I=N),f(O,I,S)&&(N=O,O=I,I=N),f(b,R,S)&&(N=b,b=R,R=N),f(I,R,S)&&(N=I,I=R,R=N),f(O,D,S)&&(N=O,O=D,D=N),f(O,I,S)&&(N=O,O=I,I=N),f(R,D,S)&&(N=R,R=D,D=N);for(var q=S[2*O],j=S[2*O+1],$=S[2*R],U=S[2*R+1],G=2*b,W=2*I,H=2*D,ne=2*T,te=2*_,Z=2*C,X=0;X<2;++X){var Q=S[G+X],re=S[W+X],ie=S[H+X];S[ne+X]=Q,S[te+X]=re,S[Z+X]=ie}u(A,w,S),u(L,v,S);for(var oe=F;oe<=B;++oe)if(c(oe,q,j,S))oe!==F&&a(oe,F,S),++F;else if(!c(oe,$,U,S))for(;;){if(c(B,$,U,S)){c(B,q,j,S)?(o(oe,F,B,S),++F,--B):(a(oe,B,S),--B);break}if(--B>>1;s(C,Z);var X=0,Q=0;for(W=0;W=f)_(v,S,Q--,re=re-f|0);else if(re>=0)_(p,w,X--,re);else if(re<=-268435456){re=-re-f|0;for(var ie=0;ie>>1;s(C,Z);var X=0,Q=0,re=0;for(W=0;W>1==C[2*W+3]>>1&&(oe=2,W+=1),ie<0){for(var ue=-(ie>>1)-1,ce=0;ce>1)-1,oe===0?_(p,w,X--,ue):oe===1?_(v,S,Q--,ue):oe===2&&_(x,T,re--,ue)}},scanBipartite:function(L,b,O,I,R,D,F,B,N,q,j,$){var U=0,G=2*L,W=b,H=b+L,ne=1,te=1;I?te=f:ne=f;for(var Z=R;Z>>1;s(C,ie);var oe=0;for(Z=0;Z=f?(ce=!I,X-=f):(ce=!!I,X-=1),ce)A(p,w,oe++,X);else{var ye=$[X],de=G*X,me=j[de+b+1],pe=j[de+b+1+L];e:for(var xe=0;xe>>1;s(C,X);var Q=0;for(H=0;H=f)p[Q++]=ne-f;else{var ie=j[ne-=1],oe=U*ne,ue=q[oe+b+1],ce=q[oe+b+1+L];e:for(var ye=0;ye=0;--ye)if(p[ye]===ne){for(xe=ye+1;xe0;){for(var A=c.pop(),L=(T=-1,C=-1,S=w[v=c.pop()],1);L=0||(f.flip(v,A),o(s,f,c,T,v,C),o(s,f,c,v,C,T),o(s,f,c,C,A,T),o(s,f,c,A,T,C))}}},7098:function(h,l,a){var u,o=a(5070);function s(c,p,w,v,S,x,T){this.cells=c,this.neighbor=p,this.flags=v,this.constraint=w,this.active=S,this.next=x,this.boundary=T}function f(c,p){return c[0]-p[0]||c[1]-p[1]||c[2]-p[2]}h.exports=function(c,p,w){var v=function(F,B){for(var N=F.cells(),q=N.length,j=0;j0||T.length>0;){for(;x.length>0;){var b=x.pop();if(C[b]!==-S){C[b]=S,_[b];for(var O=0;O<3;++O){var I=L[3*b+O];I>=0&&C[I]===0&&(A[3*b+O]?T.push(I):(x.push(I),C[I]=S))}}}var R=T;T=x,x=R,T.length=0,S=-S}var D=function(F,B,N){for(var q=0,j=0;j1&&o(_[D[F-2]],_[D[F-1]],A)>0;)T.push([D[F-1],D[F-2],L]),F-=1;D.length=F,D.push(L);var B=R.upperIds;for(F=B.length;F>1&&o(_[B[F-2]],_[B[F-1]],A)<0;)T.push([B[F-2],B[F-1],L]),F-=1;B.length=F,B.push(L)}}function v(T,C){var _;return(_=T.a[0]R[0]&&L.push(new f(R,I,2,b),new f(I,R,1,b))}L.sort(c);for(var D=L[0].a[0]-(1+Math.abs(L[0].a[0]))*Math.pow(2,-52),F=[new s([D,1],[D,0],-1,[],[])],B=[],N=(b=0,L.length);b=0}}(),s.removeTriangle=function(c,p,w){var v=this.stars;f(v[c],p,w),f(v[p],w,c),f(v[w],c,p)},s.addTriangle=function(c,p,w){var v=this.stars;v[c].push(p,w),v[p].push(w,c),v[w].push(c,p)},s.opposite=function(c,p){for(var w=this.stars[p],v=1,S=w.length;vI[2]?1:0)}function L(O,I,R){if(O.length!==0){if(I)for(var D=0;D=0;--H){var ue=$[ne=(_e=G[H])[0]],ce=ue[0],ye=ue[1],de=j[ce],me=j[ye];if((de[0]-me[0]||de[1]-me[1])<0){var pe=ce;ce=ye,ye=pe}ue[0]=ce;var xe,Pe=ue[1]=_e[1];for(W&&(xe=ue[2]);H>0&&G[H-1][0]===ne;){var _e,Me=(_e=G[--H])[1];W?$.push([Pe,Me,xe]):$.push([Pe,Me]),Pe=Me}W?$.push([Pe,ye,xe]):$.push([Pe,ye])}return te}(O,I,F,B,R),q=C(O,N);return L(I,q,R),!!q||F.length>0||B.length>0}},5528:function(h,l,a){h.exports=function(S,x,T,C){var _=c(x,S),A=c(C,T),L=v(_,A);if(f(L)===0)return null;var b=v(A,c(S,T)),O=o(b,L),I=w(_,O);return p(S,I)};var u=a(3962),o=a(9189),s=a(4354),f=a(4951),c=a(6695),p=a(7584),w=a(4469);function v(S,x){return s(u(S[0],x[1]),u(S[1],x[0]))}},5692:function(h){h.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},9156:function(h,l,a){var u=a(5692),o=a(3578);function s(p){return[p[0]/255,p[1]/255,p[2]/255,p[3]]}function f(p){for(var w,v="#",S=0;S<3;++S)v+=("00"+(w=(w=p[S]).toString(16))).substr(w.length);return v}function c(p){return"rgba("+p.join(",")+")"}h.exports=function(p){var w,v,S,x,T,C,_,A,L,b;if(p||(p={}),A=(p.nshades||72)-1,_=p.format||"hex",(C=p.colormap)||(C="jet"),typeof C=="string"){if(C=C.toLowerCase(),!u[C])throw Error(C+" not a supported colorscale");T=u[C]}else{if(!Array.isArray(C))throw Error("unsupported colormap option",C);T=C.slice()}if(T.length>A+1)throw new Error(C+" map requires nshades to be at least size "+T.length);L=Array.isArray(p.alpha)?p.alpha.length!==2?[1,1]:p.alpha.slice():typeof p.alpha=="number"?[p.alpha,p.alpha]:[1,1],w=T.map(function(F){return Math.round(F.index*A)}),L[0]=Math.min(Math.max(L[0],0),1),L[1]=Math.min(Math.max(L[1],0),1);var O=T.map(function(F,B){var N=T[B].index,q=T[B].rgb.slice();return q.length===4&&q[3]>=0&&q[3]<=1||(q[3]=L[0]+(L[1]-L[0])*N),q}),I=[];for(b=0;b0||p(w,v,x)?-1:1:C===0?_>0||p(w,v,S)?1:-1:o(_-C)}var L=u(w,v,S);return L>0?T>0&&u(w,v,x)>0?1:-1:L<0?T>0||u(w,v,x)>0?1:-1:u(w,v,x)>0||p(w,v,S)?1:-1};var u=a(417),o=a(7538),s=a(87),f=a(2019),c=a(9662);function p(w,v,S){var x=s(w[0],-v[0]),T=s(w[1],-v[1]),C=s(S[0],-v[0]),_=s(S[1],-v[1]),A=c(f(x,C),f(T,_));return A[A.length-1]>=0}},7538:function(h){h.exports=function(l){return l<0?-1:l>0?1:0}},9209:function(h){h.exports=function(u,o){var s=u.length,f=u.length-o.length;if(f)return f;switch(s){case 0:return 0;case 1:return u[0]-o[0];case 2:return u[0]+u[1]-o[0]-o[1]||l(u[0],u[1])-l(o[0],o[1]);case 3:var c=u[0]+u[1],p=o[0]+o[1];if(f=c+u[2]-(p+o[2]))return f;var w=l(u[0],u[1]),v=l(o[0],o[1]);return l(w,u[2])-l(v,o[2])||l(w+u[2],c)-l(v+o[2],p);case 4:var S=u[0],x=u[1],T=u[2],C=u[3],_=o[0],A=o[1],L=o[2],b=o[3];return S+x+T+C-(_+A+L+b)||l(S,x,T,C)-l(_,A,L,b,_)||l(S+x,S+T,S+C,x+T,x+C,T+C)-l(_+A,_+L,_+b,A+L,A+b,L+b)||l(S+x+T,S+x+C,S+T+C,x+T+C)-l(_+A+L,_+A+b,_+L+b,A+L+b);default:for(var O=u.slice().sort(a),I=o.slice().sort(a),R=0;Rl[u][0]&&(u=o);return au?[[u],[a]]:[[a]]}},8722:function(h,l,a){h.exports=function(o){var s=u(o),f=s.length;if(f<=2)return[];for(var c=new Array(f),p=s[f-1],w=0;w=S[b]&&(L+=1);_[A]=L}}return v}(u(p,!0),c)}};var u=a(2183),o=a(2153)},9680:function(h){h.exports=function(l,a,u,o,s,f){var c=s-1,p=s*s,w=c*c,v=(1+2*s)*w,S=s*w,x=p*(3-2*s),T=p*c;if(l.length){f||(f=new Array(l.length));for(var C=l.length-1;C>=0;--C)f[C]=v*l[C]+S*a[C]+x*u[C]+T*o[C];return f}return v*l+S*a+x*u+T*o},h.exports.derivative=function(l,a,u,o,s,f){var c=6*s*s-6*s,p=3*s*s-4*s+1,w=-6*s*s+6*s,v=3*s*s-2*s;if(l.length){f||(f=new Array(l.length));for(var S=l.length-1;S>=0;--S)f[S]=c*l[S]+p*a[S]+w*u[S]+v*o[S];return f}return c*l+p*a+w*u[S]+v*o}},4419:function(h,l,a){var u=a(2183),o=a(1215);function s(c,p){this.point=c,this.index=p}function f(c,p){for(var w=c.point,v=p.point,S=w.length,x=0;x=2)return!1;N[j]=$}return!0}):B.filter(function(N){for(var q=0;q<=v;++q){var j=I[N[q]];if(j<0)return!1;N[q]=j}return!0}),1&v)for(T=0;T>>31},h.exports.exponent=function(s){return(h.exports.hi(s)<<1>>>21)-1023},h.exports.fraction=function(s){var f=h.exports.lo(s),c=h.exports.hi(s),p=1048575&c;return 2146435072&c&&(p+=1048576),[f,p]},h.exports.denormalized=function(s){return!(2146435072&h.exports.hi(s))}},3094:function(h){function l(a,u,o){var s=0|a[o];if(s<=0)return[];var f,c=new Array(s);if(o===a.length-1)for(f=0;f0)return function(o,s){var f,c;for(f=new Array(o),c=0;c=S-1){b=C.length-1;var I=w-v[S-1];for(O=0;O=S-1)for(var L=C.length-1,b=(v[S-1],0);b=0;--S)if(w[--v])return!1;return!0},c.jump=function(w){var v=this.lastT(),S=this.dimension;if(!(w0;--O)x.push(s(A[O-1],L[O-1],arguments[O])),T.push(0)}},c.push=function(w){var v=this.lastT(),S=this.dimension;if(!(w1e-6?1/_:0;this._time.push(w);for(var I=S;I>0;--I){var R=s(L[I-1],b[I-1],arguments[I]);x.push(R),T.push((R-x[C++])*O)}}},c.set=function(w){var v=this.dimension;if(!(w0;--A)S.push(s(C[A-1],_[A-1],arguments[A])),x.push(0)}},c.move=function(w){var v=this.lastT(),S=this.dimension;if(!(w<=v||arguments.length!==S+1)){var x=this._state,T=this._velocity,C=x.length-this.dimension,_=this.bounds,A=_[0],L=_[1],b=w-v,O=b>1e-6?1/b:0;this._time.push(w);for(var I=S;I>0;--I){var R=arguments[I];x.push(s(A[I-1],L[I-1],x[C++]+R)),T.push(R*O)}}},c.idle=function(w){var v=this.lastT();if(!(w=0;--O)x.push(s(A[O],L[O],x[C]+b*T[C])),T.push(0),C+=1}}},7080:function(h){function l(C,_,A,L,b,O){this._color=C,this.key=_,this.value=A,this.left=L,this.right=b,this._count=O}function a(C){return new l(C._color,C.key,C.value,C.left,C.right,C._count)}function u(C,_){return new l(C,_.key,_.value,_.left,_.right,_._count)}function o(C){C._count=1+(C.left?C.left._count:0)+(C.right?C.right._count:0)}function s(C,_){this._compare=C,this.root=_}h.exports=function(C){return new s(C||T,null)};var f=s.prototype;function c(C,_){var A;return _.left&&(A=c(C,_.left))?A:(A=C(_.key,_.value))||(_.right?c(C,_.right):void 0)}function p(C,_,A,L){if(_(C,L.key)<=0){var b;if(L.left&&(b=p(C,_,A,L.left))||(b=A(L.key,L.value)))return b}if(L.right)return p(C,_,A,L.right)}function w(C,_,A,L,b){var O,I=A(C,b.key),R=A(_,b.key);if(I<=0&&(b.left&&(O=w(C,_,A,L,b.left))||R>0&&(O=L(b.key,b.value))))return O;if(R>0&&b.right)return w(C,_,A,L,b.right)}function v(C,_){this.tree=C,this._stack=_}Object.defineProperty(f,"keys",{get:function(){var C=[];return this.forEach(function(_,A){C.push(_)}),C}}),Object.defineProperty(f,"values",{get:function(){var C=[];return this.forEach(function(_,A){C.push(A)}),C}}),Object.defineProperty(f,"length",{get:function(){return this.root?this.root._count:0}}),f.insert=function(C,_){for(var A=this._compare,L=this.root,b=[],O=[];L;){var I=A(C,L.key);b.push(L),O.push(I),L=I<=0?L.left:L.right}b.push(new l(0,C,_,null,null,1));for(var R=b.length-2;R>=0;--R)L=b[R],O[R]<=0?b[R]=new l(L._color,L.key,L.value,b[R+1],L.right,L._count+1):b[R]=new l(L._color,L.key,L.value,L.left,b[R+1],L._count+1);for(R=b.length-1;R>1;--R){var D=b[R-1];if(L=b[R],D._color===1||L._color===1)break;var F=b[R-2];if(F.left===D)if(D.left===L){if(!(B=F.right)||B._color!==0){F._color=0,F.left=D.right,D._color=1,D.right=F,b[R-2]=D,b[R-1]=L,o(F),o(D),R>=3&&((N=b[R-3]).left===F?N.left=D:N.right=D);break}D._color=1,F.right=u(1,B),F._color=0,R-=1}else{if(!(B=F.right)||B._color!==0){D.right=L.left,F._color=0,F.left=L.right,L._color=1,L.left=D,L.right=F,b[R-2]=L,b[R-1]=D,o(F),o(D),o(L),R>=3&&((N=b[R-3]).left===F?N.left=L:N.right=L);break}D._color=1,F.right=u(1,B),F._color=0,R-=1}else if(D.right===L){if(!(B=F.left)||B._color!==0){F._color=0,F.right=D.left,D._color=1,D.left=F,b[R-2]=D,b[R-1]=L,o(F),o(D),R>=3&&((N=b[R-3]).right===F?N.right=D:N.left=D);break}D._color=1,F.left=u(1,B),F._color=0,R-=1}else{var B;if(!(B=F.left)||B._color!==0){var N;D.left=L.right,F._color=0,F.right=L.left,L._color=1,L.right=D,L.left=F,b[R-2]=L,b[R-1]=D,o(F),o(D),o(L),R>=3&&((N=b[R-3]).right===F?N.right=L:N.left=L);break}D._color=1,F.left=u(1,B),F._color=0,R-=1}}return b[0]._color=1,new s(A,b[0])},f.forEach=function(C,_,A){if(this.root)switch(arguments.length){case 1:return c(C,this.root);case 2:return p(_,this._compare,C,this.root);case 3:return this._compare(_,A)>=0?void 0:w(_,A,this._compare,C,this.root)}},Object.defineProperty(f,"begin",{get:function(){for(var C=[],_=this.root;_;)C.push(_),_=_.left;return new v(this,C)}}),Object.defineProperty(f,"end",{get:function(){for(var C=[],_=this.root;_;)C.push(_),_=_.right;return new v(this,C)}}),f.at=function(C){if(C<0)return new v(this,[]);for(var _=this.root,A=[];;){if(A.push(_),_.left){if(C<_.left._count){_=_.left;continue}C-=_.left._count}if(!C)return new v(this,A);if(C-=1,!_.right||C>=_.right._count)break;_=_.right}return new v(this,[])},f.ge=function(C){for(var _=this._compare,A=this.root,L=[],b=0;A;){var O=_(C,A.key);L.push(A),O<=0&&(b=L.length),A=O<=0?A.left:A.right}return L.length=b,new v(this,L)},f.gt=function(C){for(var _=this._compare,A=this.root,L=[],b=0;A;){var O=_(C,A.key);L.push(A),O<0&&(b=L.length),A=O<0?A.left:A.right}return L.length=b,new v(this,L)},f.lt=function(C){for(var _=this._compare,A=this.root,L=[],b=0;A;){var O=_(C,A.key);L.push(A),O>0&&(b=L.length),A=O<=0?A.left:A.right}return L.length=b,new v(this,L)},f.le=function(C){for(var _=this._compare,A=this.root,L=[],b=0;A;){var O=_(C,A.key);L.push(A),O>=0&&(b=L.length),A=O<0?A.left:A.right}return L.length=b,new v(this,L)},f.find=function(C){for(var _=this._compare,A=this.root,L=[];A;){var b=_(C,A.key);if(L.push(A),b===0)return new v(this,L);A=b<=0?A.left:A.right}return new v(this,[])},f.remove=function(C){var _=this.find(C);return _?_.remove():this},f.get=function(C){for(var _=this._compare,A=this.root;A;){var L=_(C,A.key);if(L===0)return A.value;A=L<=0?A.left:A.right}};var S=v.prototype;function x(C,_){C.key=_.key,C.value=_.value,C.left=_.left,C.right=_.right,C._color=_._color,C._count=_._count}function T(C,_){return C<_?-1:C>_?1:0}Object.defineProperty(S,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(S,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),S.clone=function(){return new v(this.tree,this._stack.slice())},S.remove=function(){var C=this._stack;if(C.length===0)return this.tree;var _=new Array(C.length),A=C[C.length-1];_[_.length-1]=new l(A._color,A.key,A.value,A.left,A.right,A._count);for(var L=C.length-2;L>=0;--L)(A=C[L]).left===C[L+1]?_[L]=new l(A._color,A.key,A.value,_[L+1],A.right,A._count):_[L]=new l(A._color,A.key,A.value,A.left,_[L+1],A._count);if((A=_[_.length-1]).left&&A.right){var b=_.length;for(A=A.left;A.right;)_.push(A),A=A.right;var O=_[b-1];for(_.push(new l(A._color,O.key,O.value,A.left,A.right,A._count)),_[b-1].key=A.key,_[b-1].value=A.value,L=_.length-2;L>=b;--L)A=_[L],_[L]=new l(A._color,A.key,A.value,A.left,_[L+1],A._count);_[b-1].left=_[b]}if((A=_[_.length-1])._color===0){var I=_[_.length-2];for(I.left===A?I.left=null:I.right===A&&(I.right=null),_.pop(),L=0;L<_.length;++L)_[L]._count--;return new s(this.tree._compare,_[0])}if(A.left||A.right){for(A.left?x(A,A.left):A.right&&x(A,A.right),A._color=1,L=0;L<_.length-1;++L)_[L]._count--;return new s(this.tree._compare,_[0])}if(_.length===1)return new s(this.tree._compare,null);for(L=0;L<_.length;++L)_[L]._count--;var R=_[_.length-2];return function(D){for(var F,B,N,q,j=D.length-1;j>=0;--j){if(F=D[j],j===0)return void(F._color=1);if((B=D[j-1]).left===F){if((N=B.right).right&&N.right._color===0)return q=(N=B.right=a(N)).right=a(N.right),B.right=N.left,N.left=B,N.right=q,N._color=B._color,F._color=1,B._color=1,q._color=1,o(B),o(N),j>1&&(($=D[j-2]).left===B?$.left=N:$.right=N),void(D[j-1]=N);if(N.left&&N.left._color===0)return q=(N=B.right=a(N)).left=a(N.left),B.right=q.left,N.left=q.right,q.left=B,q.right=N,q._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(q),j>1&&(($=D[j-2]).left===B?$.left=q:$.right=q),void(D[j-1]=q);if(N._color===1){if(B._color===0)return B._color=1,void(B.right=u(0,N));B.right=u(0,N);continue}N=a(N),B.right=N.left,N.left=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=D[j-2]).left===B?$.left=N:$.right=N),D[j-1]=N,D[j]=B,j+11&&(($=D[j-2]).right===B?$.right=N:$.left=N),void(D[j-1]=N);if(N.right&&N.right._color===0)return q=(N=B.left=a(N)).right=a(N.right),B.left=q.right,N.right=q.left,q.right=B,q.left=N,q._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(q),j>1&&(($=D[j-2]).right===B?$.right=q:$.left=q),void(D[j-1]=q);if(N._color===1){if(B._color===0)return B._color=1,void(B.left=u(0,N));B.left=u(0,N);continue}var $;N=a(N),B.left=N.right,N.right=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=D[j-2]).right===B?$.right=N:$.left=N),D[j-1]=N,D[j]=B,j+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(S,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(S,"index",{get:function(){var C=0,_=this._stack;if(_.length===0){var A=this.tree.root;return A?A._count:0}_[_.length-1].left&&(C=_[_.length-1].left._count);for(var L=_.length-2;L>=0;--L)_[L+1]===_[L].right&&(++C,_[L].left&&(C+=_[L].left._count));return C},enumerable:!0}),S.next=function(){var C=this._stack;if(C.length!==0){var _=C[C.length-1];if(_.right)for(_=_.right;_;)C.push(_),_=_.left;else for(C.pop();C.length>0&&C[C.length-1].right===_;)_=C[C.length-1],C.pop()}},Object.defineProperty(S,"hasNext",{get:function(){var C=this._stack;if(C.length===0)return!1;if(C[C.length-1].right)return!0;for(var _=C.length-1;_>0;--_)if(C[_-1].left===C[_])return!0;return!1}}),S.update=function(C){var _=this._stack;if(_.length===0)throw new Error("Can't update empty node!");var A=new Array(_.length),L=_[_.length-1];A[A.length-1]=new l(L._color,L.key,C,L.left,L.right,L._count);for(var b=_.length-2;b>=0;--b)(L=_[b]).left===_[b+1]?A[b]=new l(L._color,L.key,L.value,A[b+1],L.right,L._count):A[b]=new l(L._color,L.key,L.value,L.left,A[b+1],L._count);return new s(this.tree._compare,A[0])},S.prev=function(){var C=this._stack;if(C.length!==0){var _=C[C.length-1];if(_.left)for(_=_.left;_;)C.push(_),_=_.right;else for(C.pop();C.length>0&&C[C.length-1].left===_;)_=C[C.length-1],C.pop()}},Object.defineProperty(S,"hasPrev",{get:function(){var C=this._stack;if(C.length===0)return!1;if(C[C.length-1].left)return!0;for(var _=C.length-1;_>0;--_)if(C[_-1].right===C[_])return!0;return!1}})},7453:function(h,l,a){h.exports=function(I,R){var D=new v(I);return D.update(R),D};var u=a(9557),o=a(1681),s=a(1011),f=a(2864),c=a(8468),p=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function w(I,R){return I[0]=R[0],I[1]=R[1],I[2]=R[2],I}function v(I){this.gl=I,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=s(I)}var S=v.prototype;function x(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}S.update=function(I){function R(ne,te,Z){if(Z in I){var X,Q=I[Z],re=this[Z];(ne?Array.isArray(Q)&&Array.isArray(Q[0]):Array.isArray(Q))?this[Z]=X=[te(Q[0]),te(Q[1]),te(Q[2])]:this[Z]=X=[te(Q),te(Q),te(Q)];for(var ie=0;ie<3;++ie)if(X[ie]!==re[ie])return!0}return!1}I=I||{};var D,F=R.bind(this,!1,Number),B=R.bind(this,!1,Boolean),N=R.bind(this,!1,String),q=R.bind(this,!0,function(ne){if(Array.isArray(ne)){if(ne.length===3)return[+ne[0],+ne[1],+ne[2],1];if(ne.length===4)return[+ne[0],+ne[1],+ne[2],+ne[3]]}return[0,0,0,1]}),j=!1,$=!1;if("bounds"in I)for(var U=I.bounds,G=0;G<2;++G)for(var W=0;W<3;++W)U[G][W]!==this.bounds[G][W]&&($=!0),this.bounds[G][W]=U[G][W];if("ticks"in I)for(D=I.ticks,j=!0,this.autoTicks=!1,G=0;G<3;++G)this.tickSpacing[G]=0;else F("tickSpacing")&&(this.autoTicks=!0,$=!0);if(this._firstInit&&("ticks"in I||"tickSpacing"in I||(this.autoTicks=!0),$=!0,j=!0,this._firstInit=!1),$&&this.autoTicks&&(D=c.create(this.bounds,this.tickSpacing),j=!0),j){for(G=0;G<3;++G)D[G].sort(function(ne,te){return ne.x-te.x});c.equal(D,this.ticks)?j=!1:this.ticks=D}B("tickEnable"),N("tickFont")&&(j=!0),F("tickSize"),F("tickAngle"),F("tickPad"),q("tickColor");var H=N("labels");N("labelFont")&&(H=!0),B("labelEnable"),F("labelSize"),F("labelPad"),q("labelColor"),B("lineEnable"),B("lineMirror"),F("lineWidth"),q("lineColor"),B("lineTickEnable"),B("lineTickMirror"),F("lineTickLength"),F("lineTickWidth"),q("lineTickColor"),B("gridEnable"),F("gridWidth"),q("gridColor"),B("zeroEnable"),q("zeroLineColor"),F("zeroLineWidth"),B("backgroundEnable"),q("backgroundColor"),this._text?this._text&&(H||j)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=u(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&j&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=o(this.gl,this.bounds,this.ticks))};var T=[new x,new x,new x];function C(I,R,D,F,B){for(var N=I.primalOffset,q=I.primalMinor,j=I.mirrorOffset,$=I.mirrorMinor,U=F[R],G=0;G<3;++G)if(R!==G){var W=N,H=j,ne=q,te=$;U&1<0?(ne[G]=-1,te[G]=0):(ne[G]=0,te[G]=1)}}var _=[0,0,0],A={model:p,view:p,projection:p,_ortho:!1};S.isOpaque=function(){return!0},S.isTransparent=function(){return!1},S.drawTransparent=function(I){};var L=[0,0,0],b=[0,0,0],O=[0,0,0];S.draw=function(I){I=I||A;for(var R=this.gl,D=I.model||p,F=I.view||p,B=I.projection||p,N=this.bounds,q=I._ortho||!1,j=f(D,F,B,N,q),$=j.cubeEdges,U=j.axis,G=F[12],W=F[13],H=F[14],ne=F[15],te=(q?2:1)*this.pixelRatio*(B[3]*G+B[7]*W+B[11]*H+B[15]*ne)/R.drawingBufferHeight,Z=0;Z<3;++Z)this.lastCubeProps.cubeEdges[Z]=$[Z],this.lastCubeProps.axis[Z]=U[Z];var X=T;for(Z=0;Z<3;++Z)C(T[Z],Z,this.bounds,$,U);R=this.gl;var Q,re,ie,oe=_;for(Z=0;Z<3;++Z)this.backgroundEnable[Z]?oe[Z]=U[Z]:oe[Z]=0;for(this._background.draw(D,F,B,N,oe,this.backgroundColor),this._lines.bind(D,F,B,this),Z=0;Z<3;++Z){var ue=[0,0,0];U[Z]>0?ue[Z]=N[1][Z]:ue[Z]=N[0][Z];for(var ce=0;ce<2;++ce){var ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3;this.gridEnable[ye]&&this._lines.drawGrid(ye,de,this.bounds,ue,this.gridColor[ye],this.gridWidth[ye]*this.pixelRatio)}for(ce=0;ce<2;++ce)ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3,this.zeroEnable[de]&&Math.min(N[0][de],N[1][de])<=0&&Math.max(N[0][de],N[1][de])>=0&&this._lines.drawZero(ye,de,this.bounds,ue,this.zeroLineColor[de],this.zeroLineWidth[de]*this.pixelRatio)}for(Z=0;Z<3;++Z){this.lineEnable[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].primalOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio),this.lineMirror[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].mirrorOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio);var me=w(L,X[Z].primalMinor),pe=w(b,X[Z].mirrorMinor),xe=this.lineTickLength;for(ce=0;ce<3;++ce){var Pe=te/D[5*ce];me[ce]*=xe[ce]*Pe,pe[ce]*=xe[ce]*Pe}this.lineTickEnable[Z]&&this._lines.drawAxisTicks(Z,X[Z].primalOffset,me,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio),this.lineTickMirror[Z]&&this._lines.drawAxisTicks(Z,X[Z].mirrorOffset,pe,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio)}function _e(be){(ie=[0,0,0])[be]=1}function Me(be,ke,Le){var Be=(be+1)%3,ze=(be+2)%3,je=ke[Be],ge=ke[ze],we=Le[Be],Ee=Le[ze];je>0&&Ee>0||je>0&&Ee<0||je<0&&Ee>0||je<0&&Ee<0?_e(Be):(ge>0&&we>0||ge>0&&we<0||ge<0&&we>0||ge<0&&we<0)&&_e(ze)}for(this._lines.unbind(),this._text.bind(D,F,B,this.pixelRatio),Z=0;Z<3;++Z){var Se=X[Z].primalMinor,Ce=X[Z].mirrorMinor,ae=w(O,X[Z].primalOffset);for(ce=0;ce<3;++ce)this.lineTickEnable[Z]&&(ae[ce]+=te*Se[ce]*Math.max(this.lineTickLength[ce],0)/D[5*ce]);var he=[0,0,0];if(he[Z]=1,this.tickEnable[Z]){for(this.tickAngle[Z]===-3600?(this.tickAngle[Z]=0,this.tickAlign[Z]="auto"):this.tickAlign[Z]=-1,re=1,(Q=[this.tickAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ie=[0,0,0],Me(Z,Se,Ce),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.tickPad[ce]/D[5*ce];this._text.drawTicks(Z,this.tickSize[Z],this.tickAngle[Z],ae,this.tickColor[Z],he,ie,Q)}if(this.labelEnable[Z]){for(re=0,ie=[0,0,0],this.labels[Z].length>4&&(_e(Z),re=1),(Q=[this.labelAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.labelPad[ce]/D[5*ce];ae[Z]+=.5*(N[0][Z]+N[1][Z]),this._text.drawLabel(Z,this.labelSize[Z],this.labelAngle[Z],ae,this.labelColor[Z],[0,0,0],ie,Q)}}this._text.unbind()},S.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},1011:function(h,l,a){h.exports=function(p){for(var w=[],v=[],S=0,x=0;x<3;++x)for(var T=(x+1)%3,C=(x+2)%3,_=[0,0,0],A=[0,0,0],L=-1;L<=1;L+=2){v.push(S,S+2,S+1,S+1,S+2,S+3),_[x]=L,A[x]=L;for(var b=-1;b<=1;b+=2){_[T]=b;for(var O=-1;O<=1;O+=2)_[C]=O,w.push(_[0],_[1],_[2],A[0],A[1],A[2]),S+=1}var I=T;T=C,C=I}var R=u(p,new Float32Array(w)),D=u(p,new Uint16Array(v),p.ELEMENT_ARRAY_BUFFER),F=o(p,[{buffer:R,type:p.FLOAT,size:3,offset:0,stride:24},{buffer:R,type:p.FLOAT,size:3,offset:12,stride:24}],D),B=s(p);return B.attributes.position.location=0,B.attributes.normal.location=1,new f(p,R,F,B)};var u=a(5827),o=a(2944),s=a(1943).bg;function f(p,w,v,S){this.gl=p,this.buffer=w,this.vao=v,this.shader=S}var c=f.prototype;c.draw=function(p,w,v,S,x,T){for(var C=!1,_=0;_<3;++_)C=C||x[_];if(C){var A=this.gl;A.enable(A.POLYGON_OFFSET_FILL),A.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:p,view:w,projection:v,bounds:S,enable:x,colors:T},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),A.disable(A.POLYGON_OFFSET_FILL)}},c.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},2864:function(h,l,a){h.exports=function(b,O,I,R,D){o(c,O,b),o(c,I,c);for(var F=0,B=0;B<2;++B){v[2]=R[B][2];for(var N=0;N<2;++N){v[1]=R[N][1];for(var q=0;q<2;++q)v[0]=R[q][0],x(p[F],v,c),F+=1}}var j=-1;for(B=0;B<8;++B){for(var $=p[B][3],U=0;U<3;++U)w[B][U]=p[B][U]/$;D&&(w[B][2]*=-1),$<0&&(j<0||w[B][2]ne&&(j|=1<ne&&(j|=1<w[B][1])&&(ue=B);var ce=-1;for(B=0;B<3;++B)(de=ue^1<w[ye][0]&&(ye=de))}var me=_;me[0]=me[1]=me[2]=0,me[u.log2(ce^ue)]=ue&ce,me[u.log2(ue^ye)]=ue&ye;var pe=7^ye;pe===j||pe===oe?(pe=7^ce,me[u.log2(ye^pe)]=pe&ye):me[u.log2(ce^pe)]=pe&ce;var xe=A,Pe=j;for(G=0;G<3;++G)xe[G]=Pe&1<"),name:B||ne("name")?L.name:void 0,color:F("hoverlabel.bgcolor")||b.color,borderColor:F("hoverlabel.bordercolor"),fontFamily:F("hoverlabel.font.family"),fontSize:F("hoverlabel.font.size"),fontColor:F("hoverlabel.font.color"),nameLength:F("hoverlabel.namelength"),textAlign:F("hoverlabel.align"),hovertemplate:B,hovertemplateLabels:G,eventData:A};x&&(X.x0=j-C.rInscribed*C.rpx1,X.x1=j+C.rInscribed*C.rpx1,X.idealAlign=C.pxmid[0]<0?"left":"right"),T&&(X.x=j,X.idealAlign=j<0?"left":"right");var Q=[];M.loneHover(X,{container:_._hoverlayer.node(),outerContainer:_._paper.node(),gd:c,inOut_bbox:Q}),A[0].bbox=Q[0],v._hasHoverLabel=!0}if(T){var re=o.select("path.surface");p.styleOne(re,C,L,{hovered:!0})}v._hasHoverEvent=!0,c.emit("plotly_hover",{points:A||[u(C,L,p.eventDataKeys)],event:d.event})}}),o.on("mouseout",function(C){var _=c._fullLayout,A=c._fullData[v.index],L=d.select(this).datum();if(v._hasHoverEvent&&(C.originalEvent=d.event,c.emit("plotly_unhover",{points:[u(L,A,p.eventDataKeys)],event:d.event}),v._hasHoverEvent=!1),v._hasHoverLabel&&(M.loneUnhover(_._hoverlayer.node()),v._hasHoverLabel=!1),T){var b=o.select("path.surface");p.styleOne(b,L,A,{hovered:!1})}}),o.on("click",function(C){var _=c._fullLayout,A=c._fullData[v.index],L=x&&(l.isHierarchyRoot(C)||l.isLeaf(C)),b=l.getPtId(C),P=l.isEntry(C)?l.findEntryWithChild(S,b):l.findEntryWithLevel(S,b),I=l.getPtId(P),R={points:[u(C,A,p.eventDataKeys)],event:d.event};L||(R.nextLevel=I);var D=h.triggerHandler(c,"plotly_"+v.type+"click",R);if(D!==!1&&_.hovermode&&(c._hoverdata=[u(C,A,p.eventDataKeys)],M.click(c,d.event)),!L&&D!==!1&&!c._dragging&&!c._transitioning){y.call("_storeDirectGUIEdit",A,_._tracePreGUI[A.uid],{level:A.level});var F={data:[{level:I}],traces:[v.index]},B={frame:{redraw:!1,duration:p.transitionTime},transition:{duration:p.transitionTime,easing:p.transitionEasing},mode:"immediate",fromcurrent:!0};M.loneUnhover(_._hoverlayer.node()),y.call("animate",c,F,B)}})}},2791:function(k,m,t){var d=t(71828),y=t(7901),i=t(6964),M=t(53581);function g(h){return h.data.data.pid}m.findEntryWithLevel=function(h,l){var a;return l&&h.eachAfter(function(u){if(m.getPtId(u)===l)return a=u.copy()}),a||h},m.findEntryWithChild=function(h,l){var a;return h.eachAfter(function(u){for(var o=u.children||[],s=0;s0)},m.getMaxDepth=function(h){return h.maxdepth>=0?h.maxdepth:1/0},m.isHeader=function(h,l){return!(m.isLeaf(h)||h.depth===l._maxDepth-1)},m.getParent=function(h,l){return m.findEntryWithLevel(h,g(l))},m.listPath=function(h,l){var a=h.parent;if(!a)return[];var u=l?[a.data[l]]:[a];return m.listPath(a,l).concat(u)},m.getPath=function(h){return m.listPath(h,"label").join("/")+"/"},m.formatValue=M.formatPieValue,m.formatPercent=function(h,l){var a=d.formatPercent(h,0);return a==="0%"&&(a=M.formatPiePercent(h,l)),a}},87619:function(k,m,t){k.exports={moduleType:"trace",name:"sunburst",basePlotModule:t(66888),categories:[],animatable:!0,attributes:t(57564),layoutAttributes:t(2654),supplyDefaults:t(17094),supplyLayoutDefaults:t(57034),calc:t(52147).calc,crossTraceCalc:t(52147).crossTraceCalc,plot:t(24714).plot,style:t(29969).style,colorbar:t(4898),meta:{}}},2654:function(k){k.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(k,m,t){var d=t(71828),y=t(2654);k.exports=function(i,M){function g(h,l){return d.coerce(i,M,y,h,l)}g("sunburstcolorway",M.colorway),g("extendsunburstcolors")}},24714:function(k,m,t){var d=t(39898),y=t(674),i=t(81684).sX,M=t(91424),g=t(71828),h=t(63893),l=t(72597),a=l.recordMinTextSize,u=l.clearMinTextSize,o=t(14575),s=t(53581).getRotationAngle,c=o.computeTransform,f=o.transformInsideText,p=t(29969).styleOne,w=t(16688).resizeText,v=t(83523),S=t(7055),x=t(2791);function T(_,A,L,b){var P=_._context.staticPlot,I=_._fullLayout,R=!I.uniformtext.mode&&x.hasTransition(b),D=d.select(L).selectAll("g.slice"),F=A[0],B=F.trace,N=F.hierarchy,W=x.findEntryWithLevel(N,B.level),j=x.getMaxDepth(B),Y=I._size,U=B.domain,G=Y.w*(U.x[1]-U.x[0]),q=Y.h*(U.y[1]-U.y[0]),H=.5*Math.min(G,q),ne=F.cx=Y.l+Y.w*(U.x[1]+U.x[0])/2,te=F.cy=Y.t+Y.h*(1-U.y[0])-q/2;if(!W)return D.remove();var Z=null,X={};R&&D.each(function(Ce){X[x.getPtId(Ce)]={rpx0:Ce.rpx0,rpx1:Ce.rpx1,x0:Ce.x0,x1:Ce.x1,transform:Ce.transform},!Z&&x.isEntry(Ce)&&(Z=Ce)});var Q=function(Ce){return y.partition().size([2*Math.PI,Ce.height+1])(Ce)}(W).descendants(),re=W.height+1,ie=0,oe=j;F.hasMultipleRoots&&x.isHierarchyRoot(W)&&(Q=Q.slice(1),re-=1,ie=1,oe+=1),Q=Q.filter(function(Ce){return Ce.y1<=oe});var ue=s(B.rotation);ue&&Q.forEach(function(Ce){Ce.x0+=ue,Ce.x1+=ue});var ce=Math.min(re,j),ye=function(Ce){return(Ce-ie)/ce*H},de=function(Ce,ae){return[Ce*Math.cos(ae),-Ce*Math.sin(ae)]},me=function(Ce){return g.pathAnnulus(Ce.rpx0,Ce.rpx1,Ce.x0,Ce.x1,ne,te)},pe=function(Ce){return ne+C(Ce)[0]*(Ce.transform.rCenter||0)+(Ce.transform.x||0)},xe=function(Ce){return te+C(Ce)[1]*(Ce.transform.rCenter||0)+(Ce.transform.y||0)};(D=D.data(Q,x.getPtId)).enter().append("g").classed("slice",!0),R?D.exit().transition().each(function(){var Ce=d.select(this);Ce.select("path.surface").transition().attrTween("d",function(ae){var he=function(be){var ke,Le=x.getPtId(be),Be=X[Le],ze=X[x.getPtId(W)];if(ze){var je=(be.x1>ze.x1?2*Math.PI:0)+ue;ke=be.rpx1Oe?2*Math.PI:0)+ue;Ee={x0:$e,x1:$e}}else Ee={rpx0:H,rpx1:H},g.extendFlat(Ee,Se(we));else Ee={rpx0:0,rpx1:0};else Ee={x0:ue,x1:ue};return i(Ee,Ye)}(je);return function(we){return me(ge(we))}}):he.attr("d",me),ae.call(v,W,_,A,{eventDataKeys:S.eventDataKeys,transitionTime:S.CLICK_TRANSITION_TIME,transitionEasing:S.CLICK_TRANSITION_EASING}).call(x.setSliceCursor,_,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:_._transitioning}),he.call(p,Ce,B);var be=g.ensureSingle(ae,"g","slicetext"),ke=g.ensureSingle(be,"text","",function(je){je.attr("data-notex",1)}),Le=g.ensureUniformFontSize(_,x.determineTextFont(B,Ce,I.font));ke.text(m.formatSliceLabel(Ce,W,B,A,I)).classed("slicetext",!0).attr("text-anchor","middle").call(M.font,Le).call(h.convertToTspans,_);var Be=M.bBox(ke.node());Ce.transform=f(Be,Ce,F),Ce.transform.targetX=pe(Ce),Ce.transform.targetY=xe(Ce);var ze=function(je,ge){var we=je.transform;return c(we,ge),we.fontSize=Le.size,a(B.type,we,I),g.getTextTransform(we)};R?ke.transition().attrTween("transform",function(je){var ge=function(we){var Ee,Ve=X[x.getPtId(we)],Ye=we.transform;if(Ve)Ee=Ve;else if(Ee={rpx1:we.rpx1,transform:{textPosAngle:Ye.textPosAngle,scale:0,rotate:Ye.rotate,rCenter:Ye.rCenter,x:Ye.x,y:Ye.y}},Z)if(we.parent)if(Oe){var $e=we.x1>Oe?2*Math.PI:0;Ee.x0=Ee.x1=$e}else g.extendFlat(Ee,Se(we));else Ee.x0=Ee.x1=ue;else Ee.x0=Ee.x1=ue;var st=i(Ee.transform.textPosAngle,we.transform.textPosAngle),ot=i(Ee.rpx1,we.rpx1),ft=i(Ee.x0,we.x0),bt=i(Ee.x1,we.x1),Et=i(Ee.transform.scale,Ye.scale),kt=i(Ee.transform.rotate,Ye.rotate),xt=Ye.rCenter===0?3:Ee.transform.rCenter===0?1/3:1,Ft=i(Ee.transform.rCenter,Ye.rCenter);return function(Rt){var Bt=ot(Rt),qt=ft(Rt),Vt=bt(Rt),Ke=function(qe){return Ft(Math.pow(qe,xt))}(Rt),Je={pxmid:de(Bt,(qt+Vt)/2),rpx1:Bt,transform:{textPosAngle:st(Rt),rCenter:Ke,x:Ye.x,y:Ye.y}};return a(B.type,Ye,I),{transform:{targetX:pe(Je),targetY:xe(Je),scale:Et(Rt),rotate:kt(Rt),rCenter:Ke}}}}(je);return function(we){return ze(ge(we),Be)}}):ke.attr("transform",ze(Ce,Be))})}function C(_){return A=_.rpx1,L=_.transform.textPosAngle,[A*Math.sin(L),-A*Math.cos(L)];var A,L}m.plot=function(_,A,L,b){var P,I,R=_._fullLayout,D=R._sunburstlayer,F=!L,B=!R.uniformtext.mode&&x.hasTransition(L);u("sunburst",R),(P=D.selectAll("g.trace.sunburst").data(A,function(N){return N[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),P.order(),B?(b&&(I=b()),d.transition().duration(L.duration).ease(L.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()}).each(function(){D.selectAll("g.trace").each(function(N){T(_,N,this,L)})})):(P.each(function(N){T(_,N,this,L)}),R.uniformtext.mode&&w(_,R._sunburstlayer.selectAll(".trace"),"sunburst")),F&&P.exit().remove()},m.formatSliceLabel=function(_,A,L,b,P){var I=L.texttemplate,R=L.textinfo;if(!(I||R&&R!=="none"))return"";var D=P.separators,F=b[0],B=_.data.data,N=F.hierarchy,W=x.isHierarchyRoot(_),j=x.getParent(N,_),Y=x.getValue(_);if(!I){var U,G=R.split("+"),q=function(oe){return G.indexOf(oe)!==-1},H=[];if(q("label")&&B.label&&H.push(B.label),B.hasOwnProperty("v")&&q("value")&&H.push(x.formatValue(B.v,D)),!W){q("current path")&&H.push(x.getPath(_.data));var ne=0;q("percent parent")&&ne++,q("percent entry")&&ne++,q("percent root")&&ne++;var te=ne>1;if(ne){var Z,X=function(oe){U=x.formatPercent(Z,D),te&&(U+=" of "+oe),H.push(U)};q("percent parent")&&!W&&(Z=Y/x.getValue(j),X("parent")),q("percent entry")&&(Z=Y/x.getValue(A),X("entry")),q("percent root")&&(Z=Y/x.getValue(N),X("root"))}}return q("text")&&(U=g.castOption(L,B.i,"text"),g.isValidTextValue(U)&&H.push(U)),H.join("
")}var Q=g.castOption(L,B.i,"texttemplate");if(!Q)return"";var re={};B.label&&(re.label=B.label),B.hasOwnProperty("v")&&(re.value=B.v,re.valueLabel=x.formatValue(B.v,D)),re.currentPath=x.getPath(_.data),W||(re.percentParent=Y/x.getValue(j),re.percentParentLabel=x.formatPercent(re.percentParent,D),re.parent=x.getPtLabel(j)),re.percentEntry=Y/x.getValue(A),re.percentEntryLabel=x.formatPercent(re.percentEntry,D),re.entry=x.getPtLabel(A),re.percentRoot=Y/x.getValue(N),re.percentRootLabel=x.formatPercent(re.percentRoot,D),re.root=x.getPtLabel(N),B.hasOwnProperty("color")&&(re.color=B.color);var ie=g.castOption(L,B.i,"text");return(g.isValidTextValue(ie)||ie==="")&&(re.text=ie),re.customdata=g.castOption(L,B.i,"customdata"),g.texttemplateString(Q,re,P._d3locale,re,L._meta||{})}},29969:function(k,m,t){var d=t(39898),y=t(7901),i=t(71828),M=t(72597).resizeText;function g(h,l,a){var u=l.data.data,o=!l.children,s=u.i,c=i.castOption(a,s,"marker.line.color")||y.defaultLine,f=i.castOption(a,s,"marker.line.width")||0;h.style("stroke-width",f).call(y.fill,u.color).call(y.stroke,c).style("opacity",o?a.leaf.opacity:null)}k.exports={style:function(h){var l=h._fullLayout._sunburstlayer.selectAll(".trace");M(h,l,"sunburst"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(g,s,o)})})},styleOne:g}},54532:function(k,m,t){var d=t(7901),y=t(50693),i=t(12663).axisHoverFormat,M=t(5386).fF,g=t(9012),h=t(1426).extendFlat,l=t(30962).overrideAll;function a(o){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:{valType:"boolean",dflt:!1},y:{valType:"boolean",dflt:!1},z:{valType:"boolean",dflt:!1}},color:{valType:"color",dflt:d.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:d.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var u=k.exports=l(h({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:M(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},y("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:a(),y:a(),z:a()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:h({},y.zauto,{}),zmin:h({},y.zmin,{}),zmax:h({},y.zmax,{})},hoverinfo:h({},g.hoverinfo),showlegend:h({},g.showlegend,{dflt:!1})}),"calc","nested");u.x.editType=u.y.editType=u.z.editType="calc+clearAxisTypes",u.transforms=void 0},18396:function(k,m,t){var d=t(78803);k.exports=function(y,i){i.surfacecolor?d(y,i,{vals:i.surfacecolor,containerStr:"",cLetter:"c"}):d(y,i,{vals:i.z,containerStr:"",cLetter:"c"})}},43768:function(k,m,t){var d=t(9330).gl_surface3d,y=t(9330).ndarray,i=t(9330).ndarray_linear_interpolate.d2,M=t(824),g=t(43907),h=t(71828).isArrayOrTypedArray,l=t(81697).parseColorScale,a=t(78614),u=t(21081).extractOpts;function o(L,b,P){this.scene=L,this.uid=P,this.surface=b,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var s=o.prototype;s.getXat=function(L,b,P,I){var R=h(this.data.x)?h(this.data.x[0])?this.data.x[b][L]:this.data.x[L]:L;return P===void 0?R:I.d2l(R,0,P)},s.getYat=function(L,b,P,I){var R=h(this.data.y)?h(this.data.y[0])?this.data.y[b][L]:this.data.y[b]:b;return P===void 0?R:I.d2l(R,0,P)},s.getZat=function(L,b,P,I){var R=this.data.z[b][L];return R===null&&this.data.connectgaps&&this.data._interpolatedZ&&(R=this.data._interpolatedZ[b][L]),P===void 0?R:I.d2l(R,0,P)},s.handlePick=function(L){if(L.object===this.surface){var b=(L.data.index[0]-1)/this.dataScaleX-1,P=(L.data.index[1]-1)/this.dataScaleY-1,I=Math.max(Math.min(Math.round(b),this.data.z[0].length-1),0),R=Math.max(Math.min(Math.round(P),this.data._ylength-1),0);L.index=[I,R],L.traceCoordinate=[this.getXat(I,R),this.getYat(I,R),this.getZat(I,R)],L.dataCoordinate=[this.getXat(I,R,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(I,R,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(I,R,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var D=0;D<3;D++)L.dataCoordinate[D]!=null&&(L.dataCoordinate[D]*=this.scene.dataScale[D]);var F=this.data.hovertext||this.data.text;return Array.isArray(F)&&F[R]&&F[R][I]!==void 0?L.textLabel=F[R][I]:L.textLabel=F||"",L.data.dataCoordinate=L.dataCoordinate.slice(),this.surface.highlight(L.data),this.scene.glplot.spikes.position=L.dataCoordinate,!0}};var c=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function f(L,b){if(L0){P=c[I];break}return P}function v(L,b){if(!(L<1||b<1)){for(var P=p(L),I=p(b),R=1,D=0;DT;)P--,P/=w(P),++P1?I:1},s.refineCoords=function(L){for(var b=this.dataScaleX,P=this.dataScaleY,I=L[0].shape[0],R=L[0].shape[1],D=0|Math.floor(L[0].shape[0]*b+1),F=0|Math.floor(L[0].shape[1]*P+1),B=1+I+1,N=1+R+1,W=y(new Float32Array(B*N),[B,N]),j=[1/b,0,0,0,1/P,0,0,0,1],Y=0;Y0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(R[L]=!0,b=this.contourStart[L];bR&&(this.minValues[b]=R),this.maxValues[b]",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},51018:function(k,m,t){var d=t(49850),y=t(1426).extendFlat,i=t(92770);function M(s){if(Array.isArray(s)){for(var c=0,f=0;f=c||C===s.length-1)&&(p[w]=S,S.key=T++,S.firstRowIndex=x,S.lastRowIndex=C,S={firstRowIndex:null,lastRowIndex:null,rows:[]},w+=v,x=C+1,v=0);return p}k.exports=function(s,c){var f=h(c.cells.values),p=function(W){return W.slice(c.header.values.length,W.length)},w=h(c.header.values);w.length&&!w[0].length&&(w[0]=[""],w=h(w));var v=w.concat(p(f).map(function(){return l((w[0]||[""]).length)})),S=c.domain,x=Math.floor(s._fullLayout._size.w*(S.x[1]-S.x[0])),T=Math.floor(s._fullLayout._size.h*(S.y[1]-S.y[0])),C=c.header.values.length?v[0].map(function(){return c.header.height}):[d.emptyHeaderHeight],_=f.length?f[0].map(function(){return c.cells.height}):[],A=C.reduce(g,0),L=o(_,T-A+d.uplift),b=u(o(C,A),[]),P=u(L,b),I={},R=c._fullInput.columnorder.concat(p(f.map(function(W,j){return j}))),D=v.map(function(W,j){var Y=Array.isArray(c.columnwidth)?c.columnwidth[Math.min(j,c.columnwidth.length-1)]:c.columnwidth;return i(Y)?Number(Y):1}),F=D.reduce(g,0);D=D.map(function(W){return W/F*x});var B=Math.max(M(c.header.line.width),M(c.cells.line.width)),N={key:c.uid+s._context.staticPlot,translateX:S.x[0]*s._fullLayout._size.w,translateY:s._fullLayout._size.h*(1-S.y[1]),size:s._fullLayout._size,width:x,maxLineWidth:B,height:T,columnOrder:R,groupHeight:T,rowBlocks:P,headerRowBlocks:b,scrollY:0,cells:y({},c.cells,{values:f}),headerCells:y({},c.header,{values:v}),gdColumns:v.map(function(W){return W[0]}),gdColumnsOriginalOrder:v.map(function(W){return W[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:v.map(function(W,j){var Y=I[W];return I[W]=(Y||0)+1,{key:W+"__"+I[W],label:W,specIndex:j,xIndex:R[j],xScale:a,x:void 0,calcdata:void 0,columnWidth:D[j]}})};return N.columns.forEach(function(W){W.calcdata=N,W.x=a(W)}),N}},56269:function(k,m,t){var d=t(1426).extendFlat;m.splitToPanels=function(y){var i=[0,0],M=d({},y,{key:"header",type:"header",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!0,values:y.calcdata.headerCells.values[y.specIndex],rowBlocks:y.calcdata.headerRowBlocks,calcdata:d({},y.calcdata,{cells:y.calcdata.headerCells})});return[d({},y,{key:"cells1",type:"cells",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:y.calcdata.cells.values[y.specIndex],rowBlocks:y.calcdata.rowBlocks}),d({},y,{key:"cells2",type:"cells",page:1,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:y.calcdata.cells.values[y.specIndex],rowBlocks:y.calcdata.rowBlocks}),M]},m.splitToCells=function(y){var i=function(M){var g=M.rowBlocks[M.page],h=g?g.rows[0].rowIndex:0;return[h,g?h+g.rows.length:0]}(y);return(y.values||[]).slice(i[0],i[1]).map(function(M,g){return{keyWithinBlock:g+(typeof M=="string"&&M.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:i[0]+g,column:y,calcdata:y.calcdata,page:y.page,rowBlocks:y.rowBlocks,value:M}})}},39754:function(k,m,t){var d=t(71828),y=t(44464),i=t(27670).c;k.exports=function(M,g,h,l){function a(u,o){return d.coerce(M,g,y,u,o)}i(g,l,a),a("columnwidth"),a("header.values"),a("header.format"),a("header.align"),a("header.prefix"),a("header.suffix"),a("header.height"),a("header.line.width"),a("header.line.color"),a("header.fill.color"),d.coerceFont(a,"header.font",d.extendFlat({},l.font)),function(u,o){for(var s=u.columnorder||[],c=u.header.values.length,f=s.slice(0,c),p=f.slice().sort(function(S,x){return S-x}),w=f.map(function(S){return p.indexOf(S)}),v=w.length;v/i),ue=!ie||oe;Z.mayHaveMarkup=ie&&re.match(/[<&>]/);var ce,ye=typeof(ce=re)=="string"&&ce.match(d.latexCheck);Z.latex=ye;var de,me,pe=ye?"":_(Z.calcdata.cells.prefix,X,Q)||"",xe=ye?"":_(Z.calcdata.cells.suffix,X,Q)||"",Oe=ye?null:_(Z.calcdata.cells.format,X,Q)||null,_e=pe+(Oe?i(Oe)(Z.value):Z.value)+xe;if(Z.wrappingNeeded=!Z.wrapped&&!ue&&!ye&&(de=C(_e)),Z.cellHeightMayIncrease=oe||ye||Z.mayHaveMarkup||(de===void 0?C(_e):de),Z.needsConvertToTspans=Z.mayHaveMarkup||Z.wrappingNeeded||Z.latex,Z.wrappingNeeded){var Me=(d.wrapSplitCharacter===" "?_e.replace(/
me&&de.push(pe),me+=_e}return de}(Z,ie,re);oe.length===1&&(oe[0]===Z.length-1?oe.unshift(oe[0]-1):oe.push(oe[0]+1)),oe[0]%2&&oe.reverse(),H.each(function(ue,ce){ue.page=oe[ce],ue.scrollY=ie}),H.attr("transform",function(ue){var ce=j(ue.rowBlocks,ue.page)-ue.scrollY;return a(0,ce)}),q&&(D(q,ne,H,oe,te.prevPages,te,0),D(q,ne,H,oe,te.prevPages,te,1),S(ne,q))}}function R(q,H,ne,te){return function(Z){var X=Z.calcdata?Z.calcdata:Z,Q=H.filter(function(ue){return X.key===ue.key}),re=ne||X.scrollbarState.dragMultiplier,ie=X.scrollY;X.scrollY=te===void 0?X.scrollY+re*y.event.dy:te;var oe=Q.selectAll("."+d.cn.yColumn).selectAll("."+d.cn.columnBlock).filter(L);return I(q,oe,Q),X.scrollY===ie}}function D(q,H,ne,te,Z,X,Q){te[Q]!==Z[Q]&&(clearTimeout(X.currentRepaint[Q]),X.currentRepaint[Q]=setTimeout(function(){var re=ne.filter(function(ie,oe){return oe===Q&&te[oe]!==Z[oe]});x(q,H,re,ne),Z[Q]=te[Q]}))}function F(q,H,ne,te){return function(){var Z=y.select(H.parentNode);Z.each(function(X){var Q=X.fragments;Z.selectAll("tspan.line").each(function(me,pe){Q[pe].width=this.getComputedTextLength()});var re,ie,oe=Q[Q.length-1].width,ue=Q.slice(0,-1),ce=[],ye=0,de=X.column.columnWidth-2*d.cellPad;for(X.value="";ue.length;)ye+(ie=(re=ue.shift()).width+oe)>de&&(X.value+=ce.join(d.wrapSpacer)+d.lineBreaker,ce=[],ye=0),ce.push(re.text),ye+=ie;ye&&(X.value+=ce.join(d.wrapSpacer)),X.wrapped=!0}),Z.selectAll("tspan.line").remove(),T(Z.select("."+d.cn.cellText),ne,q,te),y.select(H.parentNode.parentNode).call(W)}}function B(q,H,ne,te,Z){return function(){if(!Z.settledY){var X=y.select(H.parentNode),Q=G(Z),re=Z.key-Q.firstRowIndex,ie=Q.rows[re].rowHeight,oe=Z.cellHeightMayIncrease?H.parentNode.getBoundingClientRect().height+2*d.cellPad:ie,ue=Math.max(oe,ie);ue-Q.rows[re].rowHeight&&(Q.rows[re].rowHeight=ue,q.selectAll("."+d.cn.columnCell).call(W),I(null,q.filter(L),0),S(ne,te,!0)),X.attr("transform",function(){var ce=this,ye=ce.parentNode.getBoundingClientRect(),de=y.select(ce.parentNode).select("."+d.cn.cellRect).node().getBoundingClientRect(),me=ce.transform.baseVal.consolidate(),pe=de.top-ye.top+(me?me.matrix.f:d.cellPad);return a(N(Z,y.select(ce.parentNode).select("."+d.cn.cellTextHolder).node().getBoundingClientRect().width),pe)}),Z.settledY=!0}}}function N(q,H){switch(q.align){case"left":default:return d.cellPad;case"right":return q.column.columnWidth-(H||0)-d.cellPad;case"center":return(q.column.columnWidth-(H||0))/2}}function W(q){q.attr("transform",function(H){var ne=H.rowBlocks[0].auxiliaryBlocks.reduce(function(Z,X){return Z+Y(X,1/0)},0),te=Y(G(H),H.key);return a(0,te+ne)}).selectAll("."+d.cn.cellRect).attr("height",function(H){return(ne=G(H),te=H.key,ne.rows[te-ne.firstRowIndex]).rowHeight;var ne,te})}function j(q,H){for(var ne=0,te=H-1;te>=0;te--)ne+=U(q[te]);return ne}function Y(q,H){for(var ne=0,te=0;te","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:a({},g.textfont,{}),editType:"calc"},text:g.text,textinfo:h.textinfo,texttemplate:y({editType:"plot"},{keys:l.eventDataKeys.concat(["label","value"])}),hovertext:g.hovertext,hoverinfo:h.hoverinfo,hovertemplate:d({},{keys:l.eventDataKeys}),textfont:g.textfont,insidetextfont:g.insidetextfont,outsidetextfont:a({},g.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:g.sort,root:h.root,domain:M({name:"treemap",trace:!0,editType:"calc"})}},78018:function(k,m,t){var d=t(74875);m.name="treemap",m.plot=function(y,i,M,g){d.plotBasePlot(m.name,y,i,M,g)},m.clean=function(y,i,M,g){d.cleanBasePlot(m.name,y,i,M,g)}},65039:function(k,m,t){var d=t(52147);m.y=function(y,i){return d.calc(y,i)},m.T=function(y){return d._runCrossTraceCalc("treemap",y)}},43473:function(k){k.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(k,m,t){var d=t(71828),y=t(45802),i=t(7901),M=t(27670).c,g=t(90769).handleText,h=t(97313).TEXTPAD,l=t(21081),a=l.hasColorscale,u=l.handleDefaults;k.exports=function(o,s,c,f){function p(L,b){return d.coerce(o,s,y,L,b)}var w=p("labels"),v=p("parents");if(w&&w.length&&v&&v.length){var S=p("values");S&&S.length?p("branchvalues"):p("count"),p("level"),p("maxdepth"),p("tiling.packing")==="squarify"&&p("tiling.squarifyratio"),p("tiling.flip"),p("tiling.pad");var x=p("text");p("texttemplate"),s.texttemplate||p("textinfo",Array.isArray(x)?"text+label":"label"),p("hovertext"),p("hovertemplate");var T=p("pathbar.visible");g(o,s,f,p,"auto",{hasPathbar:T,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),p("textposition");var C=s.textposition.indexOf("bottom")!==-1;p("marker.line.width")&&p("marker.line.color",f.paper_bgcolor);var _=p("marker.colors");(s._hasColorscale=a(o,"marker","colors")||(o.marker||{}).coloraxis)?u(o,s,f,p,{prefix:"marker.",cLetter:"c"}):p("marker.depthfade",!(_||[]).length);var A=2*s.textfont.size;p("marker.pad.t",C?A/4:A),p("marker.pad.l",A/4),p("marker.pad.r",A/4),p("marker.pad.b",C?A:A/4),p("marker.cornerradius"),s._hovered={marker:{line:{width:2,color:i.contrast(f.paper_bgcolor)}}},T&&(p("pathbar.thickness",s.pathbar.textfont.size+2*h),p("pathbar.side"),p("pathbar.edgeshape")),p("sort"),p("root.color"),M(s,f,p),s._length=null}else s.visible=!1}},80694:function(k,m,t){var d=t(39898),y=t(2791),i=t(72597).clearMinTextSize,M=t(16688).resizeText,g=t(46650);k.exports=function(h,l,a,u,o){var s,c,f=o.type,p=o.drawDescendants,w=h._fullLayout,v=w["_"+f+"layer"],S=!a;i(f,w),(s=v.selectAll("g.trace."+f).data(l,function(x){return x[0].trace.uid})).enter().append("g").classed("trace",!0).classed(f,!0),s.order(),!w.uniformtext.mode&&y.hasTransition(a)?(u&&(c=u()),d.transition().duration(a.duration).ease(a.easing).each("end",function(){c&&c()}).each("interrupt",function(){c&&c()}).each(function(){v.selectAll("g.trace").each(function(x){g(h,x,this,a,p)})})):(s.each(function(x){g(h,x,this,a,p)}),w.uniformtext.mode&&M(h,v.selectAll(".trace"),f)),S&&s.exit().remove()}},66209:function(k,m,t){var d=t(39898),y=t(71828),i=t(91424),M=t(63893),g=t(37210),h=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=!0;k.exports=function(s,c,f,p,w){var v=w.barDifY,S=w.width,x=w.height,T=w.viewX,C=w.viewY,_=w.pathSlice,A=w.toMoveInsideSlice,L=w.strTransform,b=w.hasTransition,P=w.handleSlicesExit,I=w.makeUpdateSliceInterpolator,R=w.makeUpdateTextInterpolator,D={},F=s._context.staticPlot,B=s._fullLayout,N=c[0],W=N.trace,j=N.hierarchy,Y=S/W._entryDepth,U=a.listPath(f.data,"id"),G=g(j.copy(),[S,x],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(G=G.filter(function(H){var ne=U.indexOf(H.data.id);return ne!==-1&&(H.x0=Y*ne,H.x1=Y*(ne+1),H.y0=v,H.y1=v+x,H.onPathbar=!0,!0)})).reverse(),(p=p.data(G,a.getPtId)).enter().append("g").classed("pathbar",!0),P(p,o,D,[S,x],_),p.order();var q=p;b&&(q=q.transition().each("end",function(){var H=d.select(this);a.setSliceCursor(H,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),q.each(function(H){H._x0=T(H.x0),H._x1=T(H.x1),H._y0=C(H.y0),H._y1=C(H.y1),H._hoverX=T(H.x1-Math.min(S,x)/2),H._hoverY=C(H.y1-x/2);var ne=d.select(this),te=y.ensureSingle(ne,"path","surface",function(re){re.style("pointer-events",F?"none":"all")});b?te.transition().attrTween("d",function(re){var ie=I(re,o,D,[S,x]);return function(oe){return _(ie(oe))}}):te.attr("d",_),ne.call(u,f,s,c,{styleOne:h,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:s._transitioning}),te.call(h,H,W,{hovered:!1}),H._text=(a.getPtLabel(H)||"").split("
").join(" ")||"";var Z=y.ensureSingle(ne,"g","slicetext"),X=y.ensureSingle(Z,"text","",function(re){re.attr("data-notex",1)}),Q=y.ensureUniformFontSize(s,a.determineTextFont(W,H,B.font,{onPathbar:!0}));X.text(H._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Q).call(M.convertToTspans,s),H.textBB=i.bBox(X.node()),H.transform=A(H,{fontSize:Q.size,onPathbar:!0}),H.transform.fontSize=Q.size,b?X.transition().attrTween("transform",function(re){var ie=R(re,o,D,[S,x]);return function(oe){return L(ie(oe))}}):X.attr("transform",L(H))})}},52583:function(k,m,t){var d=t(39898),y=t(71828),i=t(91424),M=t(63893),g=t(37210),h=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=t(24714).formatSliceLabel,s=!1;k.exports=function(c,f,p,w,v){var S=v.width,x=v.height,T=v.viewX,C=v.viewY,_=v.pathSlice,A=v.toMoveInsideSlice,L=v.strTransform,b=v.hasTransition,P=v.handleSlicesExit,I=v.makeUpdateSliceInterpolator,R=v.makeUpdateTextInterpolator,D=v.prevEntry,F=c._context.staticPlot,B=c._fullLayout,N=f[0].trace,W=N.textposition.indexOf("left")!==-1,j=N.textposition.indexOf("right")!==-1,Y=N.textposition.indexOf("bottom")!==-1,U=!Y&&!N.marker.pad.t||Y&&!N.marker.pad.b,G=g(p,[S,x],{packing:N.tiling.packing,squarifyratio:N.tiling.squarifyratio,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1,pad:{inner:N.tiling.pad,top:N.marker.pad.t,left:N.marker.pad.l,right:N.marker.pad.r,bottom:N.marker.pad.b}}).descendants(),q=1/0,H=-1/0;G.forEach(function(Q){var re=Q.depth;re>=N._maxDepth?(Q.x0=Q.x1=(Q.x0+Q.x1)/2,Q.y0=Q.y1=(Q.y0+Q.y1)/2):(q=Math.min(q,re),H=Math.max(H,re))}),w=w.data(G,a.getPtId),N._maxVisibleLayers=isFinite(H)?H-q+1:0,w.enter().append("g").classed("slice",!0),P(w,s,{},[S,x],_),w.order();var ne=null;if(b&&D){var te=a.getPtId(D);w.each(function(Q){ne===null&&a.getPtId(Q)===te&&(ne={x0:Q.x0,x1:Q.x1,y0:Q.y0,y1:Q.y1})})}var Z=function(){return ne||{x0:0,x1:S,y0:0,y1:x}},X=w;return b&&(X=X.transition().each("end",function(){var Q=d.select(this);a.setSliceCursor(Q,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){var re=a.isHeader(Q,N);Q._x0=T(Q.x0),Q._x1=T(Q.x1),Q._y0=C(Q.y0),Q._y1=C(Q.y1),Q._hoverX=T(Q.x1-N.marker.pad.r),Q._hoverY=C(Y?Q.y1-N.marker.pad.b/2:Q.y0+N.marker.pad.t/2);var ie=d.select(this),oe=y.ensureSingle(ie,"path","surface",function(de){de.style("pointer-events",F?"none":"all")});b?oe.transition().attrTween("d",function(de){var me=I(de,s,Z(),[S,x]);return function(pe){return _(me(pe))}}):oe.attr("d",_),ie.call(u,p,c,f,{styleOne:h,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,c,{isTransitioning:c._transitioning}),oe.call(h,Q,N,{hovered:!1}),Q.x0===Q.x1||Q.y0===Q.y1?Q._text="":Q._text=re?U?"":a.getPtLabel(Q)||"":o(Q,p,N,f,B)||"";var ue=y.ensureSingle(ie,"g","slicetext"),ce=y.ensureSingle(ue,"text","",function(de){de.attr("data-notex",1)}),ye=y.ensureUniformFontSize(c,a.determineTextFont(N,Q,B.font));ce.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W||re?"start":"middle").call(i.font,ye).call(M.convertToTspans,c),Q.textBB=i.bBox(ce.node()),Q.transform=A(Q,{fontSize:ye.size,isHeader:re}),Q.transform.fontSize=ye.size,b?ce.transition().attrTween("transform",function(de){var me=R(de,s,Z(),[S,x]);return function(pe){return L(me(pe))}}):ce.attr("transform",L(Q))}),ne}},14102:function(k){k.exports=function m(t,d,y){var i;y.swapXY&&(i=t.x0,t.x0=t.y0,t.y0=i,i=t.x1,t.x1=t.y1,t.y1=i),y.flipX&&(i=t.x0,t.x0=d[0]-t.x1,t.x1=d[0]-i),y.flipY&&(i=t.y0,t.y0=d[1]-t.y1,t.y1=d[1]-i);var M=t.children;if(M)for(var g=0;g-1?N+Y:-(j+Y):0,G={x0:W,x1:W,y0:U,y1:U+j},q=function(ge,we,Ee){var Ve=x.tiling.pad,Ye=function(ft){return ft-Ve<=we.x0},$e=function(ft){return ft+Ve>=we.x1},st=function(ft){return ft-Ve<=we.y0},ot=function(ft){return ft+Ve>=we.y1};return ge.x0===we.x0&&ge.x1===we.x1&&ge.y0===we.y0&&ge.y1===we.y1?{x0:ge.x0,x1:ge.x1,y0:ge.y0,y1:ge.y1}:{x0:Ye(ge.x0-Ve)?0:$e(ge.x0-Ve)?Ee[0]:ge.x0,x1:Ye(ge.x1+Ve)?0:$e(ge.x1+Ve)?Ee[0]:ge.x1,y0:st(ge.y0-Ve)?0:ot(ge.y0-Ve)?Ee[1]:ge.y0,y1:st(ge.y1+Ve)?0:ot(ge.y1+Ve)?Ee[1]:ge.y1}},H=null,ne={},te={},Z=null,X=function(ge,we){return we?ne[o(ge)]:te[o(ge)]};S.hasMultipleRoots&&P&&R++,x._maxDepth=R,x._backgroundColor=v.paper_bgcolor,x._entryDepth=_.data.depth,x._atRootLevel=P;var Q=-B/2+D.l+D.w*(F.x[1]+F.x[0])/2,re=-N/2+D.t+D.h*(1-(F.y[1]+F.y[0])/2),ie=function(ge){return Q+ge},oe=function(ge){return re+ge},ue=oe(0),ce=ie(0),ye=function(ge){return ce+ge},de=function(ge){return ue+ge};function me(ge,we){return ge+","+we}var pe=ye(0),xe=function(ge){ge.x=Math.max(pe,ge.x)},Oe=x.pathbar.edgeshape,_e=x[T?"tiling":"marker"].pad,Me=function(ge){return x.textposition.indexOf(ge)!==-1},Se=Me("top"),Ce=Me("left"),ae=Me("right"),he=Me("bottom"),be=function(ge,we){var Ee=ge.x0,Ve=ge.x1,Ye=ge.y0,$e=ge.y1,st=ge.textBB,ot=Se||we.isHeader&&!he?"start":he?"end":"middle",ft=Me("right"),bt=Me("left")||we.onPathbar?-1:ft?1:0;if(we.isHeader){if((Ee+=(T?_e:_e.l)-g)>=(Ve-=(T?_e:_e.r)-g)){var Et=(Ee+Ve)/2;Ee=Et,Ve=Et}var kt;he?Ye<(kt=$e-(T?_e:_e.b))&&kt<$e&&(Ye=kt):Ye<(kt=Ye+(T?_e:_e.t))&&kt<$e&&($e=kt)}var xt=h(Ee,Ve,Ye,$e,st,{isHorizontal:!1,constrained:!0,angle:0,anchor:ot,leftToRight:bt});return xt.fontSize=we.fontSize,xt.targetX=ie(xt.targetX),xt.targetY=oe(xt.targetY),isNaN(xt.targetX)||isNaN(xt.targetY)?{}:(Ee!==Ve&&Ye!==$e&&l(x.type,xt,v),{scale:xt.scale,rotate:xt.rotate,textX:xt.textX,textY:xt.textY,anchorX:xt.anchorX,anchorY:xt.anchorY,targetX:xt.targetX,targetY:xt.targetY})},ke=function(ge,we){for(var Ee,Ve=0,Ye=ge;!Ee&&Ve"?(ft.x-=$e,bt.x-=$e,Et.x-=$e,kt.x-=$e):Oe==="/"?(Et.x-=$e,kt.x-=$e,st.x-=$e/2,ot.x-=$e/2):Oe==="\\"?(ft.x-=$e,bt.x-=$e,st.x-=$e/2,ot.x-=$e/2):Oe==="<"&&(st.x-=$e,ot.x-=$e),xe(ft),xe(kt),xe(st),xe(bt),xe(Et),xe(ot),"M"+me(ft.x,ft.y)+"L"+me(bt.x,bt.y)+"L"+me(ot.x,ot.y)+"L"+me(Et.x,Et.y)+"L"+me(kt.x,kt.y)+"L"+me(st.x,st.y)+"Z"},toMoveInsideSlice:be,makeUpdateSliceInterpolator:Le,makeUpdateTextInterpolator:Be,handleSlicesExit:ze,hasTransition:I,strTransform:je}):L.remove()}},96362:function(k,m,t){var d=t(39898),y=t(7901),i=t(71828),M=t(2791),g=t(72597).resizeText;function h(l,a,u,o){var s,c,f=(o||{}).hovered,p=a.data.data,w=p.i,v=p.color,S=M.isHierarchyRoot(a),x=1;if(f)s=u._hovered.marker.line.color,c=u._hovered.marker.line.width;else if(S&&v===u.root.color)x=100,s="rgba(0,0,0,0)",c=0;else if(s=i.castOption(u,w,"marker.line.color")||y.defaultLine,c=i.castOption(u,w,"marker.line.width")||0,!u._hasColorscale&&!a.onPathbar){var T=u.marker.depthfade;if(T){var C,_=y.combine(y.addOpacity(u._backgroundColor,.75),v);if(T===!0){var A=M.getMaxDepth(u);C=isFinite(A)?M.isLeaf(a)?0:u._maxVisibleLayers-(a.data.depth-u._entryDepth):a.data.height+1}else C=a.data.depth-u._entryDepth,u._atRootLevel||C++;if(C>0)for(var L=0;L0){var _,A,L,b,P,I=h.xa,R=h.ya;w.orientation==="h"?(P=l,_="y",L=R,A="x",b=I):(P=a,_="x",L=I,A="y",b=R);var D=p[h.index];if(P>=D.span[0]&&P<=D.span[1]){var F=y.extendFlat({},h),B=b.c2p(P,!0),N=g.getKdeValue(D,w,P),W=g.getPositionOnKdePath(D,w,B),j=L._offset,Y=L._length;F[_+"0"]=W[0],F[_+"1"]=W[1],F[A+"0"]=F[A+"1"]=B,F[A+"Label"]=A+": "+i.hoverLabelText(b,P,w[A+"hoverformat"])+", "+p[0].t.labels.kde+" "+N.toFixed(3);for(var U=0,G=0;G")),c.color=function(R,D){var F=R[D.dir].marker,B=F.color,N=F.line.color,W=F.line.width;return y(B)?B:y(N)&&W?N:void 0}(p,x),[c]}function I(R){return d(S,R,p[v+"hoverformat"])}}},19990:function(k,m,t){k.exports={attributes:t(43037),layoutAttributes:t(13494),supplyDefaults:t(83266).supplyDefaults,crossTraceDefaults:t(83266).crossTraceDefaults,supplyLayoutDefaults:t(5176),calc:t(52752),crossTraceCalc:t(70766),plot:t(30436),style:t(55750).style,hoverPoints:t(61326),eventData:t(58593),selectPoints:t(81974),moduleType:"trace",name:"waterfall",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(k){k.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},5176:function(k,m,t){var d=t(71828),y=t(13494);k.exports=function(i,M,g){var h=!1;function l(o,s){return d.coerce(i,M,y,o,s)}for(var a=0;a0&&(N+=A?"M"+F[0]+","+B[1]+"V"+B[0]:"M"+F[1]+","+B[0]+"H"+F[0]),L!=="between"&&(I.isSum||R path").each(function(w){if(!w.isBlank){var v=p[w.dir].marker;d.select(this).call(i.fill,v.color).call(i.stroke,v.line.color).call(y.dashLine,v.line.dash,v.line.width).style("opacity",p.selectedpoints&&!w.selected?M:1)}}),l(f,p,a),f.selectAll(".lines").each(function(){var w=p.connector.line;y.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},82887:function(k,m,t){var d=t(89298),y=t(71828),i=t(86281),M=t(79344).p,g=t(50606).BADNUM;m.moduleType="transform",m.name="aggregate";var h=m.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},l=h.aggregations;function a(c,f,p,w){if(w.enabled){for(var v=w.target,S=y.nestedProperty(f,v),x=S.get(),T=function(A,L){var b=A.func,P=L.d2c,I=L.c2d;switch(b){case"count":return u;case"first":return o;case"last":return s;case"sum":return function(R,D){for(var F=0,B=0;BB&&(B=Y,N=j)}}return B?I(N):g};case"rms":return function(R,D){for(var F=0,B=0,N=0;N":return function(H){return q(H)>U};case">=":return function(H){return q(H)>=U};case"[]":return function(H){var ne=q(H);return ne>=U[0]&&ne<=U[1]};case"()":return function(H){var ne=q(H);return ne>U[0]&&ne=U[0]&&neU[0]&&ne<=U[1]};case"][":return function(H){var ne=q(H);return ne<=U[0]||ne>=U[1]};case")(":return function(H){var ne=q(H);return neU[1]};case"](":return function(H){var ne=q(H);return ne<=U[0]||ne>U[1]};case")[":return function(H){var ne=q(H);return ne=U[1]};case"{}":return function(H){return U.indexOf(q(H))!==-1};case"}{":return function(H){return U.indexOf(q(H))===-1}}}(s,i.getDataToCoordFunc(u,o,f,c),w),A={},L={},b=0;S?(T=function(D){A[D.astr]=d.extendDeep([],D.get()),D.set(new Array(p))},C=function(D,F){var B=A[D.astr][F];D.get()[F]=B}):(T=function(D){A[D.astr]=d.extendDeep([],D.get()),D.set([])},C=function(D,F){var B=A[D.astr][F];D.get().push(B)}),R(T);for(var P=M(o.transforms,s),I=0;I1?"%{group} (%{trace})":"%{group}");var c=h.styles,f=o.styles=[];if(c)for(u=0;uT)throw new RangeError('The value "'+ge+'" is invalid for option "size"');var we=new Uint8Array(ge);return Object.setPrototypeOf(we,_.prototype),we}function _(ge,we,Ee){if(typeof ge=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(ge)}return A(ge,we,Ee)}function A(ge,we,Ee){if(typeof ge=="string")return function($e,st){if(typeof st=="string"&&st!==""||(st="utf8"),!_.isEncoding(st))throw new TypeError("Unknown encoding: "+st);var ot=0|D($e,st),ft=C(ot),bt=ft.write($e,st);return bt!==ot&&(ft=ft.slice(0,bt)),ft}(ge,we);if(ArrayBuffer.isView(ge))return function($e){if(ke($e,Uint8Array)){var st=new Uint8Array($e);return I(st.buffer,st.byteOffset,st.byteLength)}return P($e)}(ge);if(ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge));if(ke(ge,ArrayBuffer)||ge&&ke(ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(ge,SharedArrayBuffer)||ge&&ke(ge.buffer,SharedArrayBuffer)))return I(ge,we,Ee);if(typeof ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=ge.valueOf&&ge.valueOf();if(Ve!=null&&Ve!==ge)return _.from(Ve,we,Ee);var Ye=function($e){if(_.isBuffer($e)){var st=0|R($e.length),ot=C(st);return ot.length===0||$e.copy(ot,0,0,st),ot}return $e.length!==void 0?typeof $e.length!="number"||Le($e.length)?C(0):P($e):$e.type==="Buffer"&&Array.isArray($e.data)?P($e.data):void 0}(ge);if(Ye)return Ye;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ge[Symbol.toPrimitive]=="function")return _.from(ge[Symbol.toPrimitive]("string"),we,Ee);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge))}function L(ge){if(typeof ge!="number")throw new TypeError('"size" argument must be of type number');if(ge<0)throw new RangeError('The value "'+ge+'" is invalid for option "size"')}function b(ge){return L(ge),C(ge<0?0:0|R(ge))}function P(ge){for(var we=ge.length<0?0:0|R(ge.length),Ee=C(we),Ve=0;Ve=T)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+T.toString(16)+" bytes");return 0|ge}function D(ge,we){if(_.isBuffer(ge))return ge.length;if(ArrayBuffer.isView(ge)||ke(ge,ArrayBuffer))return ge.byteLength;if(typeof ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+w(ge));var Ee=ge.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ee===0)return 0;for(var Ye=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return ae(ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ee;case"hex":return Ee>>>1;case"base64":return he(ge).length;default:if(Ye)return Ve?-1:ae(ge).length;we=(""+we).toLowerCase(),Ye=!0}}function F(ge,we,Ee){var Ve=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0)<=(we>>>=0))return"";for(ge||(ge="utf8");;)switch(ge){case"hex":return Q(this,we,Ee);case"utf8":case"utf-8":return ne(this,we,Ee);case"ascii":return Z(this,we,Ee);case"latin1":case"binary":return X(this,we,Ee);case"base64":return H(this,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,we,Ee);default:if(Ve)throw new TypeError("Unknown encoding: "+ge);ge=(ge+"").toLowerCase(),Ve=!0}}function B(ge,we,Ee){var Ve=ge[we];ge[we]=ge[Ee],ge[Ee]=Ve}function N(ge,we,Ee,Ve,Ye){if(ge.length===0)return-1;if(typeof Ee=="string"?(Ve=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Le(Ee=+Ee)&&(Ee=Ye?0:ge.length-1),Ee<0&&(Ee=ge.length+Ee),Ee>=ge.length){if(Ye)return-1;Ee=ge.length-1}else if(Ee<0){if(!Ye)return-1;Ee=0}if(typeof we=="string"&&(we=_.from(we,Ve)),_.isBuffer(we))return we.length===0?-1:W(ge,we,Ee,Ve,Ye);if(typeof we=="number")return we&=255,typeof Uint8Array.prototype.indexOf=="function"?Ye?Uint8Array.prototype.indexOf.call(ge,we,Ee):Uint8Array.prototype.lastIndexOf.call(ge,we,Ee):W(ge,[we],Ee,Ve,Ye);throw new TypeError("val must be string, number or Buffer")}function W(ge,we,Ee,Ve,Ye){var $e,st=1,ot=ge.length,ft=we.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(ge.length<2||we.length<2)return-1;st=2,ot/=2,ft/=2,Ee/=2}function bt(Ft,Rt){return st===1?Ft[Rt]:Ft.readUInt16BE(Rt*st)}if(Ye){var Et=-1;for($e=Ee;$eot&&(Ee=ot-ft),$e=Ee;$e>=0;$e--){for(var kt=!0,xt=0;xtYe&&(Ve=Ye):Ve=Ye;var $e,st=we.length;for(Ve>st/2&&(Ve=st/2),$e=0;$e>8,ft=st%256,bt.push(ft),bt.push(ot);return bt}(we,ge.length-Ee),ge,Ee,Ve)}function H(ge,we,Ee){return we===0&&Ee===ge.length?v.fromByteArray(ge):v.fromByteArray(ge.slice(we,Ee))}function ne(ge,we,Ee){Ee=Math.min(ge.length,Ee);for(var Ve=[],Ye=we;Ye239?4:$e>223?3:$e>191?2:1;if(Ye+ot<=Ee){var ft=void 0,bt=void 0,Et=void 0,kt=void 0;switch(ot){case 1:$e<128&&(st=$e);break;case 2:(192&(ft=ge[Ye+1]))==128&&(kt=(31&$e)<<6|63&ft)>127&&(st=kt);break;case 3:ft=ge[Ye+1],bt=ge[Ye+2],(192&ft)==128&&(192&bt)==128&&(kt=(15&$e)<<12|(63&ft)<<6|63&bt)>2047&&(kt<55296||kt>57343)&&(st=kt);break;case 4:ft=ge[Ye+1],bt=ge[Ye+2],Et=ge[Ye+3],(192&ft)==128&&(192&bt)==128&&(192&Et)==128&&(kt=(15&$e)<<18|(63&ft)<<12|(63&bt)<<6|63&Et)>65535&&kt<1114112&&(st=kt)}}st===null?(st=65533,ot=1):st>65535&&(st-=65536,Ve.push(st>>>10&1023|55296),st=56320|1023&st),Ve.push(st),Ye+=ot}return function(xt){var Ft=xt.length;if(Ft<=te)return String.fromCharCode.apply(String,xt);for(var Rt="",Bt=0;Bt"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(_.isBuffer(this))return this.buffer}}),Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(_.isBuffer(this))return this.byteOffset}}),_.poolSize=8192,_.from=function(ge,we,Ee){return A(ge,we,Ee)},Object.setPrototypeOf(_.prototype,Uint8Array.prototype),Object.setPrototypeOf(_,Uint8Array),_.alloc=function(ge,we,Ee){return function(Ve,Ye,$e){return L(Ve),Ve<=0?C(Ve):Ye!==void 0?typeof $e=="string"?C(Ve).fill(Ye,$e):C(Ve).fill(Ye):C(Ve)}(ge,we,Ee)},_.allocUnsafe=function(ge){return b(ge)},_.allocUnsafeSlow=function(ge){return b(ge)},_.isBuffer=function(ge){return ge!=null&&ge._isBuffer===!0&&ge!==_.prototype},_.compare=function(ge,we){if(ke(ge,Uint8Array)&&(ge=_.from(ge,ge.offset,ge.byteLength)),ke(we,Uint8Array)&&(we=_.from(we,we.offset,we.byteLength)),!_.isBuffer(ge)||!_.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===we)return 0;for(var Ee=ge.length,Ve=we.length,Ye=0,$e=Math.min(Ee,Ve);Ye<$e;++Ye)if(ge[Ye]!==we[Ye]){Ee=ge[Ye],Ve=we[Ye];break}return EeVe.length?(_.isBuffer($e)||($e=_.from($e)),$e.copy(Ve,Ye)):Uint8Array.prototype.set.call(Ve,$e,Ye);else{if(!_.isBuffer($e))throw new TypeError('"list" argument must be an Array of Buffers');$e.copy(Ve,Ye)}Ye+=$e.length}return Ve},_.byteLength=D,_.prototype._isBuffer=!0,_.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(ge+=" ... "),""},x&&(_.prototype[x]=_.prototype.inspect),_.prototype.compare=function(ge,we,Ee,Ve,Ye){if(ke(ge,Uint8Array)&&(ge=_.from(ge,ge.offset,ge.byteLength)),!_.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+w(ge));if(we===void 0&&(we=0),Ee===void 0&&(Ee=ge?ge.length:0),Ve===void 0&&(Ve=0),Ye===void 0&&(Ye=this.length),we<0||Ee>ge.length||Ve<0||Ye>this.length)throw new RangeError("out of range index");if(Ve>=Ye&&we>=Ee)return 0;if(Ve>=Ye)return-1;if(we>=Ee)return 1;if(this===ge)return 0;for(var $e=(Ye>>>=0)-(Ve>>>=0),st=(Ee>>>=0)-(we>>>=0),ot=Math.min($e,st),ft=this.slice(Ve,Ye),bt=ge.slice(we,Ee),Et=0;Et>>=0,isFinite(Ee)?(Ee>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=Ee,Ee=void 0)}var Ye=this.length-we;if((Ee===void 0||Ee>Ye)&&(Ee=Ye),ge.length>0&&(Ee<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var $e=!1;;)switch(Ve){case"hex":return j(this,ge,we,Ee);case"utf8":case"utf-8":return Y(this,ge,we,Ee);case"ascii":case"latin1":case"binary":return U(this,ge,we,Ee);case"base64":return G(this,ge,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,ge,we,Ee);default:if($e)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),$e=!0}},_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;function Z(ge,we,Ee){var Ve="";Ee=Math.min(ge.length,Ee);for(var Ye=we;YeVe)&&(Ee=Ve);for(var Ye="",$e=we;$eEe)throw new RangeError("Trying to access beyond buffer length")}function oe(ge,we,Ee,Ve,Ye,$e){if(!_.isBuffer(ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>Ye||we<$e)throw new RangeError('"value" argument is out of bounds');if(Ee+Ve>ge.length)throw new RangeError("Index out of range")}function ue(ge,we,Ee,Ve,Ye){_e(we,Ve,Ye,ge,Ee,7);var $e=Number(we&BigInt(4294967295));ge[Ee++]=$e,$e>>=8,ge[Ee++]=$e,$e>>=8,ge[Ee++]=$e,$e>>=8,ge[Ee++]=$e;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,Ee}function ce(ge,we,Ee,Ve,Ye){_e(we,Ve,Ye,ge,Ee,7);var $e=Number(we&BigInt(4294967295));ge[Ee+7]=$e,$e>>=8,ge[Ee+6]=$e,$e>>=8,ge[Ee+5]=$e,$e>>=8,ge[Ee+4]=$e;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee+3]=st,st>>=8,ge[Ee+2]=st,st>>=8,ge[Ee+1]=st,st>>=8,ge[Ee]=st,Ee+8}function ye(ge,we,Ee,Ve,Ye,$e){if(Ee+Ve>ge.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function de(ge,we,Ee,Ve,Ye){return we=+we,Ee>>>=0,Ye||ye(ge,0,Ee,4),S.write(ge,we,Ee,Ve,23,4),Ee+4}function me(ge,we,Ee,Ve,Ye){return we=+we,Ee>>>=0,Ye||ye(ge,0,Ee,8),S.write(ge,we,Ee,Ve,52,8),Ee+8}_.prototype.slice=function(ge,we){var Ee=this.length;(ge=~~ge)<0?(ge+=Ee)<0&&(ge=0):ge>Ee&&(ge=Ee),(we=we===void 0?Ee:~~we)<0?(we+=Ee)<0&&(we=0):we>Ee&&(we=Ee),we>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],Ye=1,$e=0;++$e>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge+--we],Ye=1;we>0&&(Ye*=256);)Ve+=this[ge+--we]*Ye;return Ve},_.prototype.readUint8=_.prototype.readUInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),this[ge]},_.prototype.readUint16LE=_.prototype.readUInt16LE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]|this[ge+1]<<8},_.prototype.readUint16BE=_.prototype.readUInt16BE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]<<8|this[ge+1]},_.prototype.readUint32LE=_.prototype.readUInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},_.prototype.readUint32BE=_.prototype.readUInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},_.prototype.readBigUInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,24),Ye=this[++ge]+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+Ee*Math.pow(2,24);return BigInt(Ve)+(BigInt(Ye)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge],Ye=this[++ge]*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+Ee;return(BigInt(Ve)<>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],Ye=1,$e=0;++$e=(Ye*=128)&&(Ve-=Math.pow(2,8*we)),Ve},_.prototype.readIntBE=function(ge,we,Ee){ge>>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=we,Ye=1,$e=this[ge+--Ve];Ve>0&&(Ye*=256);)$e+=this[ge+--Ve]*Ye;return $e>=(Ye*=128)&&($e-=Math.pow(2,8*we)),$e},_.prototype.readInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},_.prototype.readInt16LE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge]|this[ge+1]<<8;return 32768&Ee?4294901760|Ee:Ee},_.prototype.readInt16BE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge+1]|this[ge]<<8;return 32768&Ee?4294901760|Ee:Ee},_.prototype.readInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},_.prototype.readInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},_.prototype.readBigInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=this[ge+4]+this[ge+5]*Math.pow(2,8)+this[ge+6]*Math.pow(2,16)+(Ee<<24);return(BigInt(Ve)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=(we<<24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge];return(BigInt(Ve)<>>=0,we||ie(ge,4,this.length),S.read(this,ge,!0,23,4)},_.prototype.readFloatBE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),S.read(this,ge,!1,23,4)},_.prototype.readDoubleLE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!0,52,8)},_.prototype.readDoubleBE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!1,52,8)},_.prototype.writeUintLE=_.prototype.writeUIntLE=function(ge,we,Ee,Ve){ge=+ge,we>>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var Ye=1,$e=0;for(this[we]=255≥++$e>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var Ye=Ee-1,$e=1;for(this[we+Ye]=255≥--Ye>=0&&($e*=256);)this[we+Ye]=ge/$e&255;return we+Ee},_.prototype.writeUint8=_.prototype.writeUInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,255,0),this[we]=255&ge,we+1},_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=255&ge,this[we+1]=ge>>>8,we+2},_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=ge>>>8,this[we+1]=255&ge,we+2},_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we+3]=ge>>>24,this[we+2]=ge>>>16,this[we+1]=ge>>>8,this[we]=255&ge,we+4},_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},_.prototype.writeBigUInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),_.prototype.writeBigUInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),_.prototype.writeIntLE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var Ye=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,Ye-1,-Ye)}var $e=0,st=1,ot=0;for(this[we]=255≥++$e>0)-ot&255;return we+Ee},_.prototype.writeIntBE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var Ye=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,Ye-1,-Ye)}var $e=Ee-1,st=1,ot=0;for(this[we+$e]=255≥--$e>=0&&(st*=256);)ge<0&&ot===0&&this[we+$e+1]!==0&&(ot=1),this[we+$e]=(ge/st>>0)-ot&255;return we+Ee},_.prototype.writeInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,127,-128),ge<0&&(ge=255+ge+1),this[we]=255&ge,we+1},_.prototype.writeInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=255&ge,this[we+1]=ge>>>8,we+2},_.prototype.writeInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=ge>>>8,this[we+1]=255&ge,we+2},_.prototype.writeInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),this[we]=255&ge,this[we+1]=ge>>>8,this[we+2]=ge>>>16,this[we+3]=ge>>>24,we+4},_.prototype.writeInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},_.prototype.writeBigInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),_.prototype.writeBigInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),_.prototype.writeFloatLE=function(ge,we,Ee){return de(this,ge,we,!0,Ee)},_.prototype.writeFloatBE=function(ge,we,Ee){return de(this,ge,we,!1,Ee)},_.prototype.writeDoubleLE=function(ge,we,Ee){return me(this,ge,we,!0,Ee)},_.prototype.writeDoubleBE=function(ge,we,Ee){return me(this,ge,we,!1,Ee)},_.prototype.copy=function(ge,we,Ee,Ve){if(!_.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),Ve||Ve===0||(Ve=this.length),we>=ge.length&&(we=ge.length),we||(we=0),Ve>0&&Ve=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),ge.length-we>>=0,Ee=Ee===void 0?this.length:Ee>>>0,ge||(ge=0),typeof ge=="number")for($e=we;$e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Et,kt=p(st);if(ot){var xt=p(this).constructor;Et=Reflect.construct(kt,arguments,xt)}else Et=kt.apply(this,arguments);return c(this,Et)});function bt(){var Et;return u(this,bt),Et=ft.call(this),Object.defineProperty(f(Et),"message",{value:we.apply(f(Et),arguments),writable:!0,configurable:!0}),Et.name="".concat(Et.name," [").concat(ge,"]"),Et.stack,delete Et.name,Et}return Ye=bt,($e=[{key:"code",get:function(){return ge},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ge,"]: ").concat(this.message)}}])&&o(Ye.prototype,$e),Object.defineProperty(Ye,"prototype",{writable:!1}),bt}(Ee)}function Oe(ge){for(var we="",Ee=ge.length,Ve=ge[0]==="-"?1:0;Ee>=Ve+4;Ee-=3)we="_".concat(ge.slice(Ee-3,Ee)).concat(we);return"".concat(ge.slice(0,Ee)).concat(we)}function _e(ge,we,Ee,Ve,Ye,$e){if(ge>Ee||ge3?we===0||we===BigInt(0)?">= 0".concat(ot," and < 2").concat(ot," ** ").concat(8*($e+1)).concat(ot):">= -(2".concat(ot," ** ").concat(8*($e+1)-1).concat(ot,") and < 2 ** ")+"".concat(8*($e+1)-1).concat(ot):">= ".concat(we).concat(ot," and <= ").concat(Ee).concat(ot),new pe.ERR_OUT_OF_RANGE("value",st,ge)}(function(ft,bt,Et){Me(bt,"offset"),ft[bt]!==void 0&&ft[bt+Et]!==void 0||Se(bt,ft.length-(Et+1))})(Ve,Ye,$e)}function Me(ge,we){if(typeof ge!="number")throw new pe.ERR_INVALID_ARG_TYPE(we,"number",ge)}function Se(ge,we,Ee){throw Math.floor(ge)!==ge?(Me(ge,Ee),new pe.ERR_OUT_OF_RANGE(Ee||"offset","an integer",ge)):we<0?new pe.ERR_BUFFER_OUT_OF_BOUNDS:new pe.ERR_OUT_OF_RANGE(Ee||"offset",">= ".concat(Ee?1:0," and <= ").concat(we),ge)}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(ge){return ge?"".concat(ge," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(ge,we){return'The "'.concat(ge,'" argument must be of type number. Received type ').concat(w(we))},TypeError),xe("ERR_OUT_OF_RANGE",function(ge,we,Ee){var Ve='The value of "'.concat(ge,'" is out of range.'),Ye=Ee;return Number.isInteger(Ee)&&Math.abs(Ee)>Math.pow(2,32)?Ye=Oe(String(Ee)):typeof Ee=="bigint"&&(Ye=String(Ee),(Ee>Math.pow(BigInt(2),BigInt(32))||Ee<-Math.pow(BigInt(2),BigInt(32)))&&(Ye=Oe(Ye)),Ye+="n"),Ve+" It must be ".concat(we,". Received ").concat(Ye)},RangeError);var Ce=/[^+/0-9A-Za-z-_]/g;function ae(ge,we){var Ee;we=we||1/0;for(var Ve=ge.length,Ye=null,$e=[],st=0;st55295&&Ee<57344){if(!Ye){if(Ee>56319){(we-=3)>-1&&$e.push(239,191,189);continue}if(st+1===Ve){(we-=3)>-1&&$e.push(239,191,189);continue}Ye=Ee;continue}if(Ee<56320){(we-=3)>-1&&$e.push(239,191,189),Ye=Ee;continue}Ee=65536+(Ye-55296<<10|Ee-56320)}else Ye&&(we-=3)>-1&&$e.push(239,191,189);if(Ye=null,Ee<128){if((we-=1)<0)break;$e.push(Ee)}else if(Ee<2048){if((we-=2)<0)break;$e.push(Ee>>6|192,63&Ee|128)}else if(Ee<65536){if((we-=3)<0)break;$e.push(Ee>>12|224,Ee>>6&63|128,63&Ee|128)}else{if(!(Ee<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;$e.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,63&Ee|128)}}return $e}function he(ge){return v.toByteArray(function(we){if((we=(we=we.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;we.length%4!=0;)we+="=";return we}(ge))}function be(ge,we,Ee,Ve){var Ye;for(Ye=0;Ye=we.length||Ye>=ge.length);++Ye)we[Ye+Ee]=ge[Ye];return Ye}function ke(ge,we){return ge instanceof we||ge!=null&&ge.constructor!=null&&ge.constructor.name!=null&&ge.constructor.name===we.name}function Le(ge){return ge!=ge}var Be=function(){for(var ge="0123456789abcdef",we=new Array(256),Ee=0;Ee<16;++Ee)for(var Ve=16*Ee,Ye=0;Ye<16;++Ye)we[Ve+Ye]=ge[Ee]+ge[Ye];return we}();function ze(ge){return typeof BigInt>"u"?je:ge}function je(){throw new Error("BigInt not supported")}},2321:function(h){h.exports=o,h.exports.isMobile=o,h.exports.default=o;var l=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/CrOS/,u=/android|ipad|playbook|silk/i;function o(s){s||(s={});var c=s.ua;if(c||typeof navigator>"u"||(c=navigator.userAgent),c&&c.headers&&typeof c.headers["user-agent"]=="string"&&(c=c.headers["user-agent"]),typeof c!="string")return!1;var f=l.test(c)&&!a.test(c)||!!s.tablet&&u.test(c);return!f&&s.tablet&&s.featureDetect&&navigator&&navigator.maxTouchPoints>1&&c.indexOf("Macintosh")!==-1&&c.indexOf("Safari")!==-1&&(f=!0),f}},3910:function(h,l){l.byteLength=function(v){var S=p(v),x=S[0],T=S[1];return 3*(x+T)/4-T},l.toByteArray=function(v){var S,x,T=p(v),C=T[0],_=T[1],A=new o(function(P,I,R){return 3*(I+R)/4-R}(0,C,_)),L=0,b=_>0?C-4:C;for(x=0;x>16&255,A[L++]=S>>8&255,A[L++]=255&S;return _===2&&(S=u[v.charCodeAt(x)]<<2|u[v.charCodeAt(x+1)]>>4,A[L++]=255&S),_===1&&(S=u[v.charCodeAt(x)]<<10|u[v.charCodeAt(x+1)]<<4|u[v.charCodeAt(x+2)]>>2,A[L++]=S>>8&255,A[L++]=255&S),A},l.fromByteArray=function(v){for(var S,x=v.length,T=x%3,C=[],_=16383,A=0,L=x-T;AL?L:A+_));return T===1?(S=v[x-1],C.push(a[S>>2]+a[S<<4&63]+"==")):T===2&&(S=(v[x-2]<<8)+v[x-1],C.push(a[S>>10]+a[S>>4&63]+a[S<<2&63]+"=")),C.join("")};for(var a=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,f=s.length;c0)throw new Error("Invalid string. Length must be a multiple of 4");var x=v.indexOf("=");return x===-1&&(x=S),[x,x===S?0:4-x%4]}function w(v,S,x){for(var T,C,_=[],A=S;A>18&63]+a[C>>12&63]+a[C>>6&63]+a[63&C]);return _.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},3187:function(h,l){l.read=function(a,u,o,s,c){var f,p,w=8*c-s-1,v=(1<>1,x=-7,T=o?c-1:0,C=o?-1:1,_=a[u+T];for(T+=C,f=_&(1<<-x)-1,_>>=-x,x+=w;x>0;f=256*f+a[u+T],T+=C,x-=8);for(p=f&(1<<-x)-1,f>>=-x,x+=s;x>0;p=256*p+a[u+T],T+=C,x-=8);if(f===0)f=1-S;else{if(f===v)return p?NaN:1/0*(_?-1:1);p+=Math.pow(2,s),f-=S}return(_?-1:1)*p*Math.pow(2,f-s)},l.write=function(a,u,o,s,c,f){var p,w,v,S=8*f-c-1,x=(1<>1,C=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=s?0:f-1,A=s?1:-1,L=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(w=isNaN(u)?1:0,p=x):(p=Math.floor(Math.log(u)/Math.LN2),u*(v=Math.pow(2,-p))<1&&(p--,v*=2),(u+=p+T>=1?C/v:C*Math.pow(2,1-T))*v>=2&&(p++,v/=2),p+T>=x?(w=0,p=x):p+T>=1?(w=(u*v-1)*Math.pow(2,c),p+=T):(w=u*Math.pow(2,T-1)*Math.pow(2,c),p=0));c>=8;a[o+_]=255&w,_+=A,w/=256,c-=8);for(p=p<0;a[o+_]=255&p,_+=A,p/=256,S-=8);a[o+_-A]|=128*L}},1152:function(h,l,a){h.exports=function(p){var w=(p=p||{}).eye||[0,0,1],v=p.center||[0,0,0],S=p.up||[0,1,0],x=p.distanceLimits||[0,1/0],T=p.mode||"turntable",C=u(),_=o(),A=s();return C.setDistanceLimits(x[0],x[1]),C.lookAt(0,w,v,S),_.setDistanceLimits(x[0],x[1]),_.lookAt(0,w,v,S),A.setDistanceLimits(x[0],x[1]),A.lookAt(0,w,v,S),new c({turntable:C,orbit:_,matrix:A},T)};var u=a(3440),o=a(7774),s=a(9298);function c(p,w){this._controllerNames=Object.keys(p),this._controllerList=this._controllerNames.map(function(v){return p[v]}),this._mode=w,this._active=p[w],this._active||(this._mode="turntable",this._active=p.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var f=c.prototype;f.flush=function(p){for(var w=this._controllerList,v=0;v"u"?a(5346):WeakMap,o=a(5827),s=a(2944),c=new u;h.exports=function(f){var p=c.get(f),w=p&&(p._triangleBuffer.handle||p._triangleBuffer.buffer);if(!w||!f.isBuffer(w)){var v=o(f,new Float32Array([-1,-1,-1,4,4,-1]));(p=s(f,[{buffer:v,type:f.FLOAT,size:2}]))._triangleBuffer=v,c.set(f,p)}p.bind(),f.drawArrays(f.TRIANGLES,0,3),p.unbind()}},8008:function(h,l,a){var u=a(4930);h.exports=function(o,s,c){s=typeof s=="number"?s:1,c=c||": ";var f=o.split(/\r?\n/),p=String(f.length+s-1).length;return f.map(function(w,v){var S=v+s,x=String(S).length;return u(S,p-x)+c+w}).join(` +`)}},2153:function(h,l,a){h.exports=function(s){var c=s.length;if(c===0)return[];if(c===1)return[0];for(var f=s[0].length,p=[s[0]],w=[0],v=1;v0?x=x.ushln(C):C<0&&(T=T.ushln(-C)),f(x,T)}},234:function(h,l,a){var u=a(3218);h.exports=function(o){return Array.isArray(o)&&o.length===2&&u(o[0])&&u(o[1])}},4275:function(h,l,a){var u=a(1928);h.exports=function(o){return o.cmp(new u(0))}},9958:function(h,l,a){var u=a(4275);h.exports=function(o){var s=o.length,c=o.words,f=0;if(s===1)f=c[0];else if(s===2)f=c[0]+67108864*c[1];else for(var p=0;p20?52:f+32}},3218:function(h,l,a){a(1928),h.exports=function(u){return u&&typeof u=="object"&&!!u.words}},5514:function(h,l,a){var u=a(1928),o=a(8362);h.exports=function(s){var c=o.exponent(s);return c<52?new u(s):new u(s*Math.pow(2,52-c)).ushln(c-52)}},8524:function(h,l,a){var u=a(5514),o=a(4275);h.exports=function(s,c){var f=o(s),p=o(c);if(f===0)return[u(0),u(1)];if(p===0)return[u(0),u(0)];p<0&&(s=s.neg(),c=c.neg());var w=s.gcd(c);return w.cmpn(1)?[s.div(w),c.div(w)]:[s,c]}},2813:function(h,l,a){var u=a(1928);h.exports=function(o){return new u(o)}},3962:function(h,l,a){var u=a(8524);h.exports=function(o,s){return u(o[0].mul(s[0]),o[1].mul(s[1]))}},4951:function(h,l,a){var u=a(4275);h.exports=function(o){return u(o[0])*u(o[1])}},4354:function(h,l,a){var u=a(8524);h.exports=function(o,s){return u(o[0].mul(s[1]).sub(o[1].mul(s[0])),o[1].mul(s[1]))}},7999:function(h,l,a){var u=a(9958),o=a(1112);h.exports=function(s){var c=s[0],f=s[1];if(c.cmpn(0)===0)return 0;var p=c.abs().divmod(f.abs()),w=p.div,v=u(w),S=p.mod,x=c.negative!==f.negative?-1:1;if(S.cmpn(0)===0)return x*v;if(v){var T=o(v)+4,C=u(S.ushln(T).divRound(f));return x*(v+C*Math.pow(2,-T))}var _=f.bitLength()-S.bitLength()+53;return C=u(S.ushln(_).divRound(f)),_<1023?x*C*Math.pow(2,-_):x*(C*=Math.pow(2,-1023))*Math.pow(2,1023-_)}},5070:function(h){function l(f,p,w,v,S){for(var x=S+1;v<=S;){var T=v+S>>>1,C=f[T];(w!==void 0?w(C,p):C-p)>=0?(x=T,S=T-1):v=T+1}return x}function a(f,p,w,v,S){for(var x=S+1;v<=S;){var T=v+S>>>1,C=f[T];(w!==void 0?w(C,p):C-p)>0?(x=T,S=T-1):v=T+1}return x}function u(f,p,w,v,S){for(var x=v-1;v<=S;){var T=v+S>>>1,C=f[T];(w!==void 0?w(C,p):C-p)<0?(x=T,v=T+1):S=T-1}return x}function o(f,p,w,v,S){for(var x=v-1;v<=S;){var T=v+S>>>1,C=f[T];(w!==void 0?w(C,p):C-p)<=0?(x=T,v=T+1):S=T-1}return x}function s(f,p,w,v,S){for(;v<=S;){var x=v+S>>>1,T=f[x],C=w!==void 0?w(T,p):T-p;if(C===0)return x;C<=0?v=x+1:S=x-1}return-1}function c(f,p,w,v,S,x){return typeof w=="function"?x(f,p,w,v===void 0?0:0|v,S===void 0?f.length-1:0|S):x(f,p,void 0,w===void 0?0:0|w,v===void 0?f.length-1:0|v)}h.exports={ge:function(f,p,w,v,S){return c(f,p,w,v,S,l)},gt:function(f,p,w,v,S){return c(f,p,w,v,S,a)},lt:function(f,p,w,v,S){return c(f,p,w,v,S,u)},le:function(f,p,w,v,S){return c(f,p,w,v,S,o)},eq:function(f,p,w,v,S){return c(f,p,w,v,S,s)}}},2288:function(h,l){function a(o){var s=32;return(o&=-o)&&s--,65535&o&&(s-=16),16711935&o&&(s-=8),252645135&o&&(s-=4),858993459&o&&(s-=2),1431655765&o&&(s-=1),s}l.INT_BITS=32,l.INT_MAX=2147483647,l.INT_MIN=-2147483648,l.sign=function(o){return(o>0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=c=((o>>>=s)>255)<<3,s|=c=((o>>>=c)>15)<<2,(s|=c=((o>>>=c)>3)<<1)|(o>>>=c)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var c=s,f=s,p=7;for(c>>>=1;c;c>>>=1)f<<=1,f|=1&c,--p;o[s]=f<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,c){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(c=1227133513&((c=3272356035&((c=251719695&((c=4278190335&((c&=1023)|c<<16))|c<<8))|c<<4))|c<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},1928:function(h,l,a){(function(u,o){function s(j,Y){if(!j)throw new Error(Y||"Assertion failed")}function c(j,Y){j.super_=Y;var U=function(){};U.prototype=Y.prototype,j.prototype=new U,j.prototype.constructor=j}function f(j,Y,U){if(f.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&(Y!=="le"&&Y!=="be"||(U=Y,Y=10),this._init(j||0,Y||10,U||"be"))}var p;typeof u=="object"?u.exports=f:o.BN=f,f.BN=f,f.wordSize=26;try{p=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a(6601).Buffer}catch{}function w(j,Y){var U=j.charCodeAt(Y);return U>=65&&U<=70?U-55:U>=97&&U<=102?U-87:U-48&15}function v(j,Y,U){var G=w(j,U);return U-1>=Y&&(G|=w(j,U-1)<<4),G}function S(j,Y,U,G){for(var q=0,H=Math.min(j.length,U),ne=Y;ne=49?te-49+10:te>=17?te-17+10:te}return q}f.isBN=function(j){return j instanceof f||j!==null&&typeof j=="object"&&j.constructor.wordSize===f.wordSize&&Array.isArray(j.words)},f.max=function(j,Y){return j.cmp(Y)>0?j:Y},f.min=function(j,Y){return j.cmp(Y)<0?j:Y},f.prototype._init=function(j,Y,U){if(typeof j=="number")return this._initNumber(j,Y,U);if(typeof j=="object")return this._initArray(j,Y,U);Y==="hex"&&(Y=16),s(Y===(0|Y)&&Y>=2&&Y<=36);var G=0;(j=j.toString().replace(/\s+/g,""))[0]==="-"&&(G++,this.negative=1),G=0;G-=3)H=j[G]|j[G-1]<<8|j[G-2]<<16,this.words[q]|=H<>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);else if(U==="le")for(G=0,q=0;G>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);return this.strip()},f.prototype._parseHex=function(j,Y,U){this.length=Math.ceil((j.length-Y)/6),this.words=new Array(this.length);for(var G=0;G=Y;G-=2)q=v(j,Y,G)<=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;else for(G=(j.length-Y)%2==0?Y+1:Y;G=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;this.strip()},f.prototype._parseBase=function(j,Y,U){this.words=[0],this.length=1;for(var G=0,q=1;q<=67108863;q*=Y)G++;G--,q=q/Y|0;for(var H=j.length-U,ne=H%G,te=Math.min(H,H-ne)+U,Z=0,X=U;X1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},f.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},f.prototype.inspect=function(){return(this.red?""};var x=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],T=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],C=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function _(j,Y,U){U.negative=Y.negative^j.negative;var G=j.length+Y.length|0;U.length=G,G=G-1|0;var q=0|j.words[0],H=0|Y.words[0],ne=q*H,te=67108863&ne,Z=ne/67108864|0;U.words[0]=te;for(var X=1;X>>26,re=67108863&Z,ie=Math.min(X,Y.length-1),oe=Math.max(0,X-j.length+1);oe<=ie;oe++){var ue=X-oe|0;Q+=(ne=(q=0|j.words[ue])*(H=0|Y.words[oe])+re)/67108864|0,re=67108863&ne}U.words[X]=0|re,Z=0|Q}return Z!==0?U.words[X]=0|Z:U.length--,U.strip()}f.prototype.toString=function(j,Y){var U;if(Y=0|Y||1,(j=j||10)===16||j==="hex"){U="";for(var G=0,q=0,H=0;H>>24-G&16777215)!=0||H!==this.length-1?x[6-te.length]+te+U:te+U,(G+=2)>=26&&(G-=26,H--)}for(q!==0&&(U=q.toString(16)+U);U.length%Y!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(j===(0|j)&&j>=2&&j<=36){var Z=T[j],X=C[j];U="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var re=Q.modn(X).toString(j);U=(Q=Q.idivn(X)).isZero()?re+U:x[Z-re.length]+re+U}for(this.isZero()&&(U="0"+U);U.length%Y!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}s(!1,"Base should be between 2 and 36")},f.prototype.toNumber=function(){var j=this.words[0];return this.length===2?j+=67108864*this.words[1]:this.length===3&&this.words[2]===1?j+=4503599627370496+67108864*this.words[1]:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-j:j},f.prototype.toJSON=function(){return this.toString(16)},f.prototype.toBuffer=function(j,Y){return s(p!==void 0),this.toArrayLike(p,j,Y)},f.prototype.toArray=function(j,Y){return this.toArrayLike(Array,j,Y)},f.prototype.toArrayLike=function(j,Y,U){var G=this.byteLength(),q=U||Math.max(1,G);s(G<=q,"byte array longer than desired length"),s(q>0,"Requested array length <= 0"),this.strip();var H,ne,te=Y==="le",Z=new j(q),X=this.clone();if(te){for(ne=0;!X.isZero();ne++)H=X.andln(255),X.iushrn(8),Z[ne]=H;for(;ne=4096&&(U+=13,Y>>>=13),Y>=64&&(U+=7,Y>>>=7),Y>=8&&(U+=4,Y>>>=4),Y>=2&&(U+=2,Y>>>=2),U+Y},f.prototype._zeroBits=function(j){if(j===0)return 26;var Y=j,U=0;return!(8191&Y)&&(U+=13,Y>>>=13),!(127&Y)&&(U+=7,Y>>>=7),!(15&Y)&&(U+=4,Y>>>=4),!(3&Y)&&(U+=2,Y>>>=2),!(1&Y)&&U++,U},f.prototype.bitLength=function(){var j=this.words[this.length-1],Y=this._countBits(j);return 26*(this.length-1)+Y},f.prototype.zeroBits=function(){if(this.isZero())return 0;for(var j=0,Y=0;Yj.length?this.clone().ior(j):j.clone().ior(this)},f.prototype.uor=function(j){return this.length>j.length?this.clone().iuor(j):j.clone().iuor(this)},f.prototype.iuand=function(j){var Y;Y=this.length>j.length?j:this;for(var U=0;Uj.length?this.clone().iand(j):j.clone().iand(this)},f.prototype.uand=function(j){return this.length>j.length?this.clone().iuand(j):j.clone().iuand(this)},f.prototype.iuxor=function(j){var Y,U;this.length>j.length?(Y=this,U=j):(Y=j,U=this);for(var G=0;Gj.length?this.clone().ixor(j):j.clone().ixor(this)},f.prototype.uxor=function(j){return this.length>j.length?this.clone().iuxor(j):j.clone().iuxor(this)},f.prototype.inotn=function(j){s(typeof j=="number"&&j>=0);var Y=0|Math.ceil(j/26),U=j%26;this._expand(Y),U>0&&Y--;for(var G=0;G0&&(this.words[G]=~this.words[G]&67108863>>26-U),this.strip()},f.prototype.notn=function(j){return this.clone().inotn(j)},f.prototype.setn=function(j,Y){s(typeof j=="number"&&j>=0);var U=j/26|0,G=j%26;return this._expand(U+1),this.words[U]=Y?this.words[U]|1<j.length?(U=this,G=j):(U=j,G=this);for(var q=0,H=0;H>>26;for(;q!==0&&H>>26;if(this.length=U.length,q!==0)this.words[this.length]=q,this.length++;else if(U!==this)for(;Hj.length?this.clone().iadd(j):j.clone().iadd(this)},f.prototype.isub=function(j){if(j.negative!==0){j.negative=0;var Y=this.iadd(j);return j.negative=1,Y._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(j),this.negative=1,this._normSign();var U,G,q=this.cmp(j);if(q===0)return this.negative=0,this.length=1,this.words[0]=0,this;q>0?(U=this,G=j):(U=j,G=this);for(var H=0,ne=0;ne>26,this.words[ne]=67108863&Y;for(;H!==0&&ne>26,this.words[ne]=67108863&Y;if(H===0&&ne>>13,oe=0|ne[1],ue=8191&oe,ce=oe>>>13,ye=0|ne[2],de=8191&ye,me=ye>>>13,pe=0|ne[3],xe=8191&pe,Oe=pe>>>13,_e=0|ne[4],Me=8191&_e,Se=_e>>>13,Ce=0|ne[5],ae=8191&Ce,he=Ce>>>13,be=0|ne[6],ke=8191&be,Le=be>>>13,Be=0|ne[7],ze=8191&Be,je=Be>>>13,ge=0|ne[8],we=8191&ge,Ee=ge>>>13,Ve=0|ne[9],Ye=8191&Ve,$e=Ve>>>13,st=0|te[0],ot=8191&st,ft=st>>>13,bt=0|te[1],Et=8191&bt,kt=bt>>>13,xt=0|te[2],Ft=8191&xt,Rt=xt>>>13,Bt=0|te[3],qt=8191&Bt,Vt=Bt>>>13,Ke=0|te[4],Je=8191&Ke,qe=Ke>>>13,nt=0|te[5],ht=8191&nt,Pe=nt>>>13,Ne=0|te[6],Qe=8191&Ne,ut=Ne>>>13,dt=0|te[7],_t=8191&dt,It=dt>>>13,Lt=0|te[8],yt=8191&Lt,Ot=Lt>>>13,wt=0|te[9],Pt=8191&wt,Nt=wt>>>13;U.negative=j.negative^Y.negative,U.length=19;var $t=(X+(G=Math.imul(re,ot))|0)+((8191&(q=(q=Math.imul(re,ft))+Math.imul(ie,ot)|0))<<13)|0;X=((H=Math.imul(ie,ft))+(q>>>13)|0)+($t>>>26)|0,$t&=67108863,G=Math.imul(ue,ot),q=(q=Math.imul(ue,ft))+Math.imul(ce,ot)|0,H=Math.imul(ce,ft);var Wt=(X+(G=G+Math.imul(re,Et)|0)|0)+((8191&(q=(q=q+Math.imul(re,kt)|0)+Math.imul(ie,Et)|0))<<13)|0;X=((H=H+Math.imul(ie,kt)|0)+(q>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,G=Math.imul(de,ot),q=(q=Math.imul(de,ft))+Math.imul(me,ot)|0,H=Math.imul(me,ft),G=G+Math.imul(ue,Et)|0,q=(q=q+Math.imul(ue,kt)|0)+Math.imul(ce,Et)|0,H=H+Math.imul(ce,kt)|0;var Xt=(X+(G=G+Math.imul(re,Ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Rt)|0)+Math.imul(ie,Ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Rt)|0)+(q>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,G=Math.imul(xe,ot),q=(q=Math.imul(xe,ft))+Math.imul(Oe,ot)|0,H=Math.imul(Oe,ft),G=G+Math.imul(de,Et)|0,q=(q=q+Math.imul(de,kt)|0)+Math.imul(me,Et)|0,H=H+Math.imul(me,kt)|0,G=G+Math.imul(ue,Ft)|0,q=(q=q+Math.imul(ue,Rt)|0)+Math.imul(ce,Ft)|0,H=H+Math.imul(ce,Rt)|0;var Qt=(X+(G=G+Math.imul(re,qt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Vt)|0)+Math.imul(ie,qt)|0))<<13)|0;X=((H=H+Math.imul(ie,Vt)|0)+(q>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,G=Math.imul(Me,ot),q=(q=Math.imul(Me,ft))+Math.imul(Se,ot)|0,H=Math.imul(Se,ft),G=G+Math.imul(xe,Et)|0,q=(q=q+Math.imul(xe,kt)|0)+Math.imul(Oe,Et)|0,H=H+Math.imul(Oe,kt)|0,G=G+Math.imul(de,Ft)|0,q=(q=q+Math.imul(de,Rt)|0)+Math.imul(me,Ft)|0,H=H+Math.imul(me,Rt)|0,G=G+Math.imul(ue,qt)|0,q=(q=q+Math.imul(ue,Vt)|0)+Math.imul(ce,qt)|0,H=H+Math.imul(ce,Vt)|0;var rn=(X+(G=G+Math.imul(re,Je)|0)|0)+((8191&(q=(q=q+Math.imul(re,qe)|0)+Math.imul(ie,Je)|0))<<13)|0;X=((H=H+Math.imul(ie,qe)|0)+(q>>>13)|0)+(rn>>>26)|0,rn&=67108863,G=Math.imul(ae,ot),q=(q=Math.imul(ae,ft))+Math.imul(he,ot)|0,H=Math.imul(he,ft),G=G+Math.imul(Me,Et)|0,q=(q=q+Math.imul(Me,kt)|0)+Math.imul(Se,Et)|0,H=H+Math.imul(Se,kt)|0,G=G+Math.imul(xe,Ft)|0,q=(q=q+Math.imul(xe,Rt)|0)+Math.imul(Oe,Ft)|0,H=H+Math.imul(Oe,Rt)|0,G=G+Math.imul(de,qt)|0,q=(q=q+Math.imul(de,Vt)|0)+Math.imul(me,qt)|0,H=H+Math.imul(me,Vt)|0,G=G+Math.imul(ue,Je)|0,q=(q=q+Math.imul(ue,qe)|0)+Math.imul(ce,Je)|0,H=H+Math.imul(ce,qe)|0;var xn=(X+(G=G+Math.imul(re,ht)|0)|0)+((8191&(q=(q=q+Math.imul(re,Pe)|0)+Math.imul(ie,ht)|0))<<13)|0;X=((H=H+Math.imul(ie,Pe)|0)+(q>>>13)|0)+(xn>>>26)|0,xn&=67108863,G=Math.imul(ke,ot),q=(q=Math.imul(ke,ft))+Math.imul(Le,ot)|0,H=Math.imul(Le,ft),G=G+Math.imul(ae,Et)|0,q=(q=q+Math.imul(ae,kt)|0)+Math.imul(he,Et)|0,H=H+Math.imul(he,kt)|0,G=G+Math.imul(Me,Ft)|0,q=(q=q+Math.imul(Me,Rt)|0)+Math.imul(Se,Ft)|0,H=H+Math.imul(Se,Rt)|0,G=G+Math.imul(xe,qt)|0,q=(q=q+Math.imul(xe,Vt)|0)+Math.imul(Oe,qt)|0,H=H+Math.imul(Oe,Vt)|0,G=G+Math.imul(de,Je)|0,q=(q=q+Math.imul(de,qe)|0)+Math.imul(me,Je)|0,H=H+Math.imul(me,qe)|0,G=G+Math.imul(ue,ht)|0,q=(q=q+Math.imul(ue,Pe)|0)+Math.imul(ce,ht)|0,H=H+Math.imul(ce,Pe)|0;var un=(X+(G=G+Math.imul(re,Qe)|0)|0)+((8191&(q=(q=q+Math.imul(re,ut)|0)+Math.imul(ie,Qe)|0))<<13)|0;X=((H=H+Math.imul(ie,ut)|0)+(q>>>13)|0)+(un>>>26)|0,un&=67108863,G=Math.imul(ze,ot),q=(q=Math.imul(ze,ft))+Math.imul(je,ot)|0,H=Math.imul(je,ft),G=G+Math.imul(ke,Et)|0,q=(q=q+Math.imul(ke,kt)|0)+Math.imul(Le,Et)|0,H=H+Math.imul(Le,kt)|0,G=G+Math.imul(ae,Ft)|0,q=(q=q+Math.imul(ae,Rt)|0)+Math.imul(he,Ft)|0,H=H+Math.imul(he,Rt)|0,G=G+Math.imul(Me,qt)|0,q=(q=q+Math.imul(Me,Vt)|0)+Math.imul(Se,qt)|0,H=H+Math.imul(Se,Vt)|0,G=G+Math.imul(xe,Je)|0,q=(q=q+Math.imul(xe,qe)|0)+Math.imul(Oe,Je)|0,H=H+Math.imul(Oe,qe)|0,G=G+Math.imul(de,ht)|0,q=(q=q+Math.imul(de,Pe)|0)+Math.imul(me,ht)|0,H=H+Math.imul(me,Pe)|0,G=G+Math.imul(ue,Qe)|0,q=(q=q+Math.imul(ue,ut)|0)+Math.imul(ce,Qe)|0,H=H+Math.imul(ce,ut)|0;var An=(X+(G=G+Math.imul(re,_t)|0)|0)+((8191&(q=(q=q+Math.imul(re,It)|0)+Math.imul(ie,_t)|0))<<13)|0;X=((H=H+Math.imul(ie,It)|0)+(q>>>13)|0)+(An>>>26)|0,An&=67108863,G=Math.imul(we,ot),q=(q=Math.imul(we,ft))+Math.imul(Ee,ot)|0,H=Math.imul(Ee,ft),G=G+Math.imul(ze,Et)|0,q=(q=q+Math.imul(ze,kt)|0)+Math.imul(je,Et)|0,H=H+Math.imul(je,kt)|0,G=G+Math.imul(ke,Ft)|0,q=(q=q+Math.imul(ke,Rt)|0)+Math.imul(Le,Ft)|0,H=H+Math.imul(Le,Rt)|0,G=G+Math.imul(ae,qt)|0,q=(q=q+Math.imul(ae,Vt)|0)+Math.imul(he,qt)|0,H=H+Math.imul(he,Vt)|0,G=G+Math.imul(Me,Je)|0,q=(q=q+Math.imul(Me,qe)|0)+Math.imul(Se,Je)|0,H=H+Math.imul(Se,qe)|0,G=G+Math.imul(xe,ht)|0,q=(q=q+Math.imul(xe,Pe)|0)+Math.imul(Oe,ht)|0,H=H+Math.imul(Oe,Pe)|0,G=G+Math.imul(de,Qe)|0,q=(q=q+Math.imul(de,ut)|0)+Math.imul(me,Qe)|0,H=H+Math.imul(me,ut)|0,G=G+Math.imul(ue,_t)|0,q=(q=q+Math.imul(ue,It)|0)+Math.imul(ce,_t)|0,H=H+Math.imul(ce,It)|0;var $n=(X+(G=G+Math.imul(re,yt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Ot)|0)+Math.imul(ie,yt)|0))<<13)|0;X=((H=H+Math.imul(ie,Ot)|0)+(q>>>13)|0)+($n>>>26)|0,$n&=67108863,G=Math.imul(Ye,ot),q=(q=Math.imul(Ye,ft))+Math.imul($e,ot)|0,H=Math.imul($e,ft),G=G+Math.imul(we,Et)|0,q=(q=q+Math.imul(we,kt)|0)+Math.imul(Ee,Et)|0,H=H+Math.imul(Ee,kt)|0,G=G+Math.imul(ze,Ft)|0,q=(q=q+Math.imul(ze,Rt)|0)+Math.imul(je,Ft)|0,H=H+Math.imul(je,Rt)|0,G=G+Math.imul(ke,qt)|0,q=(q=q+Math.imul(ke,Vt)|0)+Math.imul(Le,qt)|0,H=H+Math.imul(Le,Vt)|0,G=G+Math.imul(ae,Je)|0,q=(q=q+Math.imul(ae,qe)|0)+Math.imul(he,Je)|0,H=H+Math.imul(he,qe)|0,G=G+Math.imul(Me,ht)|0,q=(q=q+Math.imul(Me,Pe)|0)+Math.imul(Se,ht)|0,H=H+Math.imul(Se,Pe)|0,G=G+Math.imul(xe,Qe)|0,q=(q=q+Math.imul(xe,ut)|0)+Math.imul(Oe,Qe)|0,H=H+Math.imul(Oe,ut)|0,G=G+Math.imul(de,_t)|0,q=(q=q+Math.imul(de,It)|0)+Math.imul(me,_t)|0,H=H+Math.imul(me,It)|0,G=G+Math.imul(ue,yt)|0,q=(q=q+Math.imul(ue,Ot)|0)+Math.imul(ce,yt)|0,H=H+Math.imul(ce,Ot)|0;var kn=(X+(G=G+Math.imul(re,Pt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Nt)|0)+Math.imul(ie,Pt)|0))<<13)|0;X=((H=H+Math.imul(ie,Nt)|0)+(q>>>13)|0)+(kn>>>26)|0,kn&=67108863,G=Math.imul(Ye,Et),q=(q=Math.imul(Ye,kt))+Math.imul($e,Et)|0,H=Math.imul($e,kt),G=G+Math.imul(we,Ft)|0,q=(q=q+Math.imul(we,Rt)|0)+Math.imul(Ee,Ft)|0,H=H+Math.imul(Ee,Rt)|0,G=G+Math.imul(ze,qt)|0,q=(q=q+Math.imul(ze,Vt)|0)+Math.imul(je,qt)|0,H=H+Math.imul(je,Vt)|0,G=G+Math.imul(ke,Je)|0,q=(q=q+Math.imul(ke,qe)|0)+Math.imul(Le,Je)|0,H=H+Math.imul(Le,qe)|0,G=G+Math.imul(ae,ht)|0,q=(q=q+Math.imul(ae,Pe)|0)+Math.imul(he,ht)|0,H=H+Math.imul(he,Pe)|0,G=G+Math.imul(Me,Qe)|0,q=(q=q+Math.imul(Me,ut)|0)+Math.imul(Se,Qe)|0,H=H+Math.imul(Se,ut)|0,G=G+Math.imul(xe,_t)|0,q=(q=q+Math.imul(xe,It)|0)+Math.imul(Oe,_t)|0,H=H+Math.imul(Oe,It)|0,G=G+Math.imul(de,yt)|0,q=(q=q+Math.imul(de,Ot)|0)+Math.imul(me,yt)|0,H=H+Math.imul(me,Ot)|0;var sn=(X+(G=G+Math.imul(ue,Pt)|0)|0)+((8191&(q=(q=q+Math.imul(ue,Nt)|0)+Math.imul(ce,Pt)|0))<<13)|0;X=((H=H+Math.imul(ce,Nt)|0)+(q>>>13)|0)+(sn>>>26)|0,sn&=67108863,G=Math.imul(Ye,Ft),q=(q=Math.imul(Ye,Rt))+Math.imul($e,Ft)|0,H=Math.imul($e,Rt),G=G+Math.imul(we,qt)|0,q=(q=q+Math.imul(we,Vt)|0)+Math.imul(Ee,qt)|0,H=H+Math.imul(Ee,Vt)|0,G=G+Math.imul(ze,Je)|0,q=(q=q+Math.imul(ze,qe)|0)+Math.imul(je,Je)|0,H=H+Math.imul(je,qe)|0,G=G+Math.imul(ke,ht)|0,q=(q=q+Math.imul(ke,Pe)|0)+Math.imul(Le,ht)|0,H=H+Math.imul(Le,Pe)|0,G=G+Math.imul(ae,Qe)|0,q=(q=q+Math.imul(ae,ut)|0)+Math.imul(he,Qe)|0,H=H+Math.imul(he,ut)|0,G=G+Math.imul(Me,_t)|0,q=(q=q+Math.imul(Me,It)|0)+Math.imul(Se,_t)|0,H=H+Math.imul(Se,It)|0,G=G+Math.imul(xe,yt)|0,q=(q=q+Math.imul(xe,Ot)|0)+Math.imul(Oe,yt)|0,H=H+Math.imul(Oe,Ot)|0;var Tn=(X+(G=G+Math.imul(de,Pt)|0)|0)+((8191&(q=(q=q+Math.imul(de,Nt)|0)+Math.imul(me,Pt)|0))<<13)|0;X=((H=H+Math.imul(me,Nt)|0)+(q>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,G=Math.imul(Ye,qt),q=(q=Math.imul(Ye,Vt))+Math.imul($e,qt)|0,H=Math.imul($e,Vt),G=G+Math.imul(we,Je)|0,q=(q=q+Math.imul(we,qe)|0)+Math.imul(Ee,Je)|0,H=H+Math.imul(Ee,qe)|0,G=G+Math.imul(ze,ht)|0,q=(q=q+Math.imul(ze,Pe)|0)+Math.imul(je,ht)|0,H=H+Math.imul(je,Pe)|0,G=G+Math.imul(ke,Qe)|0,q=(q=q+Math.imul(ke,ut)|0)+Math.imul(Le,Qe)|0,H=H+Math.imul(Le,ut)|0,G=G+Math.imul(ae,_t)|0,q=(q=q+Math.imul(ae,It)|0)+Math.imul(he,_t)|0,H=H+Math.imul(he,It)|0,G=G+Math.imul(Me,yt)|0,q=(q=q+Math.imul(Me,Ot)|0)+Math.imul(Se,yt)|0,H=H+Math.imul(Se,Ot)|0;var dn=(X+(G=G+Math.imul(xe,Pt)|0)|0)+((8191&(q=(q=q+Math.imul(xe,Nt)|0)+Math.imul(Oe,Pt)|0))<<13)|0;X=((H=H+Math.imul(Oe,Nt)|0)+(q>>>13)|0)+(dn>>>26)|0,dn&=67108863,G=Math.imul(Ye,Je),q=(q=Math.imul(Ye,qe))+Math.imul($e,Je)|0,H=Math.imul($e,qe),G=G+Math.imul(we,ht)|0,q=(q=q+Math.imul(we,Pe)|0)+Math.imul(Ee,ht)|0,H=H+Math.imul(Ee,Pe)|0,G=G+Math.imul(ze,Qe)|0,q=(q=q+Math.imul(ze,ut)|0)+Math.imul(je,Qe)|0,H=H+Math.imul(je,ut)|0,G=G+Math.imul(ke,_t)|0,q=(q=q+Math.imul(ke,It)|0)+Math.imul(Le,_t)|0,H=H+Math.imul(Le,It)|0,G=G+Math.imul(ae,yt)|0,q=(q=q+Math.imul(ae,Ot)|0)+Math.imul(he,yt)|0,H=H+Math.imul(he,Ot)|0;var pn=(X+(G=G+Math.imul(Me,Pt)|0)|0)+((8191&(q=(q=q+Math.imul(Me,Nt)|0)+Math.imul(Se,Pt)|0))<<13)|0;X=((H=H+Math.imul(Se,Nt)|0)+(q>>>13)|0)+(pn>>>26)|0,pn&=67108863,G=Math.imul(Ye,ht),q=(q=Math.imul(Ye,Pe))+Math.imul($e,ht)|0,H=Math.imul($e,Pe),G=G+Math.imul(we,Qe)|0,q=(q=q+Math.imul(we,ut)|0)+Math.imul(Ee,Qe)|0,H=H+Math.imul(Ee,ut)|0,G=G+Math.imul(ze,_t)|0,q=(q=q+Math.imul(ze,It)|0)+Math.imul(je,_t)|0,H=H+Math.imul(je,It)|0,G=G+Math.imul(ke,yt)|0,q=(q=q+Math.imul(ke,Ot)|0)+Math.imul(Le,yt)|0,H=H+Math.imul(Le,Ot)|0;var Dn=(X+(G=G+Math.imul(ae,Pt)|0)|0)+((8191&(q=(q=q+Math.imul(ae,Nt)|0)+Math.imul(he,Pt)|0))<<13)|0;X=((H=H+Math.imul(he,Nt)|0)+(q>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,G=Math.imul(Ye,Qe),q=(q=Math.imul(Ye,ut))+Math.imul($e,Qe)|0,H=Math.imul($e,ut),G=G+Math.imul(we,_t)|0,q=(q=q+Math.imul(we,It)|0)+Math.imul(Ee,_t)|0,H=H+Math.imul(Ee,It)|0,G=G+Math.imul(ze,yt)|0,q=(q=q+Math.imul(ze,Ot)|0)+Math.imul(je,yt)|0,H=H+Math.imul(je,Ot)|0;var In=(X+(G=G+Math.imul(ke,Pt)|0)|0)+((8191&(q=(q=q+Math.imul(ke,Nt)|0)+Math.imul(Le,Pt)|0))<<13)|0;X=((H=H+Math.imul(Le,Nt)|0)+(q>>>13)|0)+(In>>>26)|0,In&=67108863,G=Math.imul(Ye,_t),q=(q=Math.imul(Ye,It))+Math.imul($e,_t)|0,H=Math.imul($e,It),G=G+Math.imul(we,yt)|0,q=(q=q+Math.imul(we,Ot)|0)+Math.imul(Ee,yt)|0,H=H+Math.imul(Ee,Ot)|0;var jn=(X+(G=G+Math.imul(ze,Pt)|0)|0)+((8191&(q=(q=q+Math.imul(ze,Nt)|0)+Math.imul(je,Pt)|0))<<13)|0;X=((H=H+Math.imul(je,Nt)|0)+(q>>>13)|0)+(jn>>>26)|0,jn&=67108863,G=Math.imul(Ye,yt),q=(q=Math.imul(Ye,Ot))+Math.imul($e,yt)|0,H=Math.imul($e,Ot);var Gn=(X+(G=G+Math.imul(we,Pt)|0)|0)+((8191&(q=(q=q+Math.imul(we,Nt)|0)+Math.imul(Ee,Pt)|0))<<13)|0;X=((H=H+Math.imul(Ee,Nt)|0)+(q>>>13)|0)+(Gn>>>26)|0,Gn&=67108863;var qn=(X+(G=Math.imul(Ye,Pt))|0)+((8191&(q=(q=Math.imul(Ye,Nt))+Math.imul($e,Pt)|0))<<13)|0;return X=((H=Math.imul($e,Nt))+(q>>>13)|0)+(qn>>>26)|0,qn&=67108863,Z[0]=$t,Z[1]=Wt,Z[2]=Xt,Z[3]=Qt,Z[4]=rn,Z[5]=xn,Z[6]=un,Z[7]=An,Z[8]=$n,Z[9]=kn,Z[10]=sn,Z[11]=Tn,Z[12]=dn,Z[13]=pn,Z[14]=Dn,Z[15]=In,Z[16]=jn,Z[17]=Gn,Z[18]=qn,X!==0&&(Z[19]=X,U.length++),U};function L(j,Y,U){return new b().mulp(j,Y,U)}function b(j,Y){this.x=j,this.y=Y}Math.imul||(A=_),f.prototype.mulTo=function(j,Y){var U,G=this.length+j.length;return U=this.length===10&&j.length===10?A(this,j,Y):G<63?_(this,j,Y):G<1024?function(q,H,ne){ne.negative=H.negative^q.negative,ne.length=q.length+H.length;for(var te=0,Z=0,X=0;X>>26)|0)>>>26,Q&=67108863}ne.words[X]=re,te=Q,Q=Z}return te!==0?ne.words[X]=te:ne.length--,ne.strip()}(this,j,Y):L(this,j,Y),U},b.prototype.makeRBT=function(j){for(var Y=new Array(j),U=f.prototype._countBits(j)-1,G=0;G>=1;return G},b.prototype.permute=function(j,Y,U,G,q,H){for(var ne=0;ne>>=1)q++;return 1<>>=13,U[2*H+1]=8191&q,q>>>=13;for(H=2*Y;H>=26,Y+=G/67108864|0,Y+=q>>>26,this.words[U]=67108863&q}return Y!==0&&(this.words[U]=Y,this.length++),this},f.prototype.muln=function(j){return this.clone().imuln(j)},f.prototype.sqr=function(){return this.mul(this)},f.prototype.isqr=function(){return this.imul(this.clone())},f.prototype.pow=function(j){var Y=function(H){for(var ne=new Array(H.bitLength()),te=0;te>>X}return ne}(j);if(Y.length===0)return new f(1);for(var U=this,G=0;G=0);var Y,U=j%26,G=(j-U)/26,q=67108863>>>26-U<<26-U;if(U!==0){var H=0;for(Y=0;Y>>26-U}H&&(this.words[Y]=H,this.length++)}if(G!==0){for(Y=this.length-1;Y>=0;Y--)this.words[Y+G]=this.words[Y];for(Y=0;Y=0),G=Y?(Y-Y%26)/26:0;var q=j%26,H=Math.min((j-q)/26,this.length),ne=67108863^67108863>>>q<H)for(this.length-=H,Z=0;Z=0&&(X!==0||Z>=G);Z--){var Q=0|this.words[Z];this.words[Z]=X<<26-q|Q>>>q,X=Q&ne}return te&&X!==0&&(te.words[te.length++]=X),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},f.prototype.ishrn=function(j,Y,U){return s(this.negative===0),this.iushrn(j,Y,U)},f.prototype.shln=function(j){return this.clone().ishln(j)},f.prototype.ushln=function(j){return this.clone().iushln(j)},f.prototype.shrn=function(j){return this.clone().ishrn(j)},f.prototype.ushrn=function(j){return this.clone().iushrn(j)},f.prototype.testn=function(j){s(typeof j=="number"&&j>=0);var Y=j%26,U=(j-Y)/26,G=1<=0);var Y=j%26,U=(j-Y)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if(Y!==0&&U++,this.length=Math.min(U,this.length),Y!==0){var G=67108863^67108863>>>Y<=67108864;Y++)this.words[Y]-=67108864,Y===this.length-1?this.words[Y+1]=1:this.words[Y+1]++;return this.length=Math.max(this.length,Y+1),this},f.prototype.isubn=function(j){if(s(typeof j=="number"),s(j<67108864),j<0)return this.iaddn(-j);if(this.negative!==0)return this.negative=0,this.iaddn(j),this.negative=1,this;if(this.words[0]-=j,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var Y=0;Y>26)-(te/67108864|0),this.words[G+U]=67108863&q}for(;G>26,this.words[G+U]=67108863&q;if(ne===0)return this.strip();for(s(ne===-1),ne=0,G=0;G>26,this.words[G]=67108863&q;return this.negative=1,this.strip()},f.prototype._wordDiv=function(j,Y){var U=(this.length,j.length),G=this.clone(),q=j,H=0|q.words[q.length-1];(U=26-this._countBits(H))!=0&&(q=q.ushln(U),G.iushln(U),H=0|q.words[q.length-1]);var ne,te=G.length-q.length;if(Y!=="mod"){(ne=new f(null)).length=te+1,ne.words=new Array(ne.length);for(var Z=0;Z=0;Q--){var re=67108864*(0|G.words[q.length+Q])+(0|G.words[q.length+Q-1]);for(re=Math.min(re/H|0,67108863),G._ishlnsubmul(q,re,Q);G.negative!==0;)re--,G.negative=0,G._ishlnsubmul(q,1,Q),G.isZero()||(G.negative^=1);ne&&(ne.words[Q]=re)}return ne&&ne.strip(),G.strip(),Y!=="div"&&U!==0&&G.iushrn(U),{div:ne||null,mod:G}},f.prototype.divmod=function(j,Y,U){return s(!j.isZero()),this.isZero()?{div:new f(0),mod:new f(0)}:this.negative!==0&&j.negative===0?(H=this.neg().divmod(j,Y),Y!=="mod"&&(G=H.div.neg()),Y!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.iadd(j)),{div:G,mod:q}):this.negative===0&&j.negative!==0?(H=this.divmod(j.neg(),Y),Y!=="mod"&&(G=H.div.neg()),{div:G,mod:H.mod}):this.negative&j.negative?(H=this.neg().divmod(j.neg(),Y),Y!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.isub(j)),{div:H.div,mod:q}):j.length>this.length||this.cmp(j)<0?{div:new f(0),mod:this}:j.length===1?Y==="div"?{div:this.divn(j.words[0]),mod:null}:Y==="mod"?{div:null,mod:new f(this.modn(j.words[0]))}:{div:this.divn(j.words[0]),mod:new f(this.modn(j.words[0]))}:this._wordDiv(j,Y);var G,q,H},f.prototype.div=function(j){return this.divmod(j,"div",!1).div},f.prototype.mod=function(j){return this.divmod(j,"mod",!1).mod},f.prototype.umod=function(j){return this.divmod(j,"mod",!0).mod},f.prototype.divRound=function(j){var Y=this.divmod(j);if(Y.mod.isZero())return Y.div;var U=Y.div.negative!==0?Y.mod.isub(j):Y.mod,G=j.ushrn(1),q=j.andln(1),H=U.cmp(G);return H<0||q===1&&H===0?Y.div:Y.div.negative!==0?Y.div.isubn(1):Y.div.iaddn(1)},f.prototype.modn=function(j){s(j<=67108863);for(var Y=67108864%j,U=0,G=this.length-1;G>=0;G--)U=(Y*U+(0|this.words[G]))%j;return U},f.prototype.idivn=function(j){s(j<=67108863);for(var Y=0,U=this.length-1;U>=0;U--){var G=(0|this.words[U])+67108864*Y;this.words[U]=G/j|0,Y=G%j}return this.strip()},f.prototype.divn=function(j){return this.clone().idivn(j)},f.prototype.egcd=function(j){s(j.negative===0),s(!j.isZero());var Y=this,U=j.clone();Y=Y.negative!==0?Y.umod(j):Y.clone();for(var G=new f(1),q=new f(0),H=new f(0),ne=new f(1),te=0;Y.isEven()&&U.isEven();)Y.iushrn(1),U.iushrn(1),++te;for(var Z=U.clone(),X=Y.clone();!Y.isZero();){for(var Q=0,re=1;!(Y.words[0]&re)&&Q<26;++Q,re<<=1);if(Q>0)for(Y.iushrn(Q);Q-- >0;)(G.isOdd()||q.isOdd())&&(G.iadd(Z),q.isub(X)),G.iushrn(1),q.iushrn(1);for(var ie=0,oe=1;!(U.words[0]&oe)&&ie<26;++ie,oe<<=1);if(ie>0)for(U.iushrn(ie);ie-- >0;)(H.isOdd()||ne.isOdd())&&(H.iadd(Z),ne.isub(X)),H.iushrn(1),ne.iushrn(1);Y.cmp(U)>=0?(Y.isub(U),G.isub(H),q.isub(ne)):(U.isub(Y),H.isub(G),ne.isub(q))}return{a:H,b:ne,gcd:U.iushln(te)}},f.prototype._invmp=function(j){s(j.negative===0),s(!j.isZero());var Y=this,U=j.clone();Y=Y.negative!==0?Y.umod(j):Y.clone();for(var G,q=new f(1),H=new f(0),ne=U.clone();Y.cmpn(1)>0&&U.cmpn(1)>0;){for(var te=0,Z=1;!(Y.words[0]&Z)&&te<26;++te,Z<<=1);if(te>0)for(Y.iushrn(te);te-- >0;)q.isOdd()&&q.iadd(ne),q.iushrn(1);for(var X=0,Q=1;!(U.words[0]&Q)&&X<26;++X,Q<<=1);if(X>0)for(U.iushrn(X);X-- >0;)H.isOdd()&&H.iadd(ne),H.iushrn(1);Y.cmp(U)>=0?(Y.isub(U),q.isub(H)):(U.isub(Y),H.isub(q))}return(G=Y.cmpn(1)===0?q:H).cmpn(0)<0&&G.iadd(j),G},f.prototype.gcd=function(j){if(this.isZero())return j.abs();if(j.isZero())return this.abs();var Y=this.clone(),U=j.clone();Y.negative=0,U.negative=0;for(var G=0;Y.isEven()&&U.isEven();G++)Y.iushrn(1),U.iushrn(1);for(;;){for(;Y.isEven();)Y.iushrn(1);for(;U.isEven();)U.iushrn(1);var q=Y.cmp(U);if(q<0){var H=Y;Y=U,U=H}else if(q===0||U.cmpn(1)===0)break;Y.isub(U)}return U.iushln(G)},f.prototype.invm=function(j){return this.egcd(j).a.umod(j)},f.prototype.isEven=function(){return(1&this.words[0])==0},f.prototype.isOdd=function(){return(1&this.words[0])==1},f.prototype.andln=function(j){return this.words[0]&j},f.prototype.bincn=function(j){s(typeof j=="number");var Y=j%26,U=(j-Y)/26,G=1<>>26,ne&=67108863,this.words[H]=ne}return q!==0&&(this.words[H]=q,this.length++),this},f.prototype.isZero=function(){return this.length===1&&this.words[0]===0},f.prototype.cmpn=function(j){var Y,U=j<0;if(this.negative!==0&&!U)return-1;if(this.negative===0&&U)return 1;if(this.strip(),this.length>1)Y=1;else{U&&(j=-j),s(j<=67108863,"Number is too big");var G=0|this.words[0];Y=G===j?0:Gj.length)return 1;if(this.length=0;U--){var G=0|this.words[U],q=0|j.words[U];if(G!==q){Gq&&(Y=1);break}}return Y},f.prototype.gtn=function(j){return this.cmpn(j)===1},f.prototype.gt=function(j){return this.cmp(j)===1},f.prototype.gten=function(j){return this.cmpn(j)>=0},f.prototype.gte=function(j){return this.cmp(j)>=0},f.prototype.ltn=function(j){return this.cmpn(j)===-1},f.prototype.lt=function(j){return this.cmp(j)===-1},f.prototype.lten=function(j){return this.cmpn(j)<=0},f.prototype.lte=function(j){return this.cmp(j)<=0},f.prototype.eqn=function(j){return this.cmpn(j)===0},f.prototype.eq=function(j){return this.cmp(j)===0},f.red=function(j){return new N(j)},f.prototype.toRed=function(j){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),j.convertTo(this)._forceRed(j)},f.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},f.prototype._forceRed=function(j){return this.red=j,this},f.prototype.forceRed=function(j){return s(!this.red,"Already a number in reduction context"),this._forceRed(j)},f.prototype.redAdd=function(j){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,j)},f.prototype.redIAdd=function(j){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,j)},f.prototype.redSub=function(j){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,j)},f.prototype.redISub=function(j){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,j)},f.prototype.redShl=function(j){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,j)},f.prototype.redMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.mul(this,j)},f.prototype.redIMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.imul(this,j)},f.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},f.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},f.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},f.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},f.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},f.prototype.redPow=function(j){return s(this.red&&!j.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,j)};var P={k256:null,p224:null,p192:null,p25519:null};function I(j,Y){this.name=j,this.p=new f(Y,16),this.n=this.p.bitLength(),this.k=new f(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function R(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function D(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function F(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(j){if(typeof j=="string"){var Y=f._prime(j);this.m=Y.p,this.prime=Y}else s(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}function W(j){N.call(this,j),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new f(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var j=new f(null);return j.words=new Array(Math.ceil(this.n/13)),j},I.prototype.ireduce=function(j){var Y,U=j;do this.split(U,this.tmp),Y=(U=(U=this.imulK(U)).iadd(this.tmp)).bitLength();while(Y>this.n);var G=Y0?U.isub(this.p):U.strip!==void 0?U.strip():U._strip(),U},I.prototype.split=function(j,Y){j.iushrn(this.n,0,Y)},I.prototype.imulK=function(j){return j.imul(this.k)},c(R,I),R.prototype.split=function(j,Y){for(var U=4194303,G=Math.min(j.length,9),q=0;q>>22,H=ne}H>>>=22,j.words[q-10]=H,H===0&&j.length>10?j.length-=10:j.length-=9},R.prototype.imulK=function(j){j.words[j.length]=0,j.words[j.length+1]=0,j.length+=2;for(var Y=0,U=0;U>>=26,j.words[U]=q,Y=G}return Y!==0&&(j.words[j.length++]=Y),j},f._prime=function(j){if(P[j])return P[j];var Y;if(j==="k256")Y=new R;else if(j==="p224")Y=new D;else if(j==="p192")Y=new F;else{if(j!=="p25519")throw new Error("Unknown prime "+j);Y=new B}return P[j]=Y,Y},N.prototype._verify1=function(j){s(j.negative===0,"red works only with positives"),s(j.red,"red works only with red numbers")},N.prototype._verify2=function(j,Y){s((j.negative|Y.negative)==0,"red works only with positives"),s(j.red&&j.red===Y.red,"red works only with red numbers")},N.prototype.imod=function(j){return this.prime?this.prime.ireduce(j)._forceRed(this):j.umod(this.m)._forceRed(this)},N.prototype.neg=function(j){return j.isZero()?j.clone():this.m.sub(j)._forceRed(this)},N.prototype.add=function(j,Y){this._verify2(j,Y);var U=j.add(Y);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},N.prototype.iadd=function(j,Y){this._verify2(j,Y);var U=j.iadd(Y);return U.cmp(this.m)>=0&&U.isub(this.m),U},N.prototype.sub=function(j,Y){this._verify2(j,Y);var U=j.sub(Y);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},N.prototype.isub=function(j,Y){this._verify2(j,Y);var U=j.isub(Y);return U.cmpn(0)<0&&U.iadd(this.m),U},N.prototype.shl=function(j,Y){return this._verify1(j),this.imod(j.ushln(Y))},N.prototype.imul=function(j,Y){return this._verify2(j,Y),this.imod(j.imul(Y))},N.prototype.mul=function(j,Y){return this._verify2(j,Y),this.imod(j.mul(Y))},N.prototype.isqr=function(j){return this.imul(j,j.clone())},N.prototype.sqr=function(j){return this.mul(j,j)},N.prototype.sqrt=function(j){if(j.isZero())return j.clone();var Y=this.m.andln(3);if(s(Y%2==1),Y===3){var U=this.m.add(new f(1)).iushrn(2);return this.pow(j,U)}for(var G=this.m.subn(1),q=0;!G.isZero()&&G.andln(1)===0;)q++,G.iushrn(1);s(!G.isZero());var H=new f(1).toRed(this),ne=H.redNeg(),te=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new f(2*Z*Z).toRed(this);this.pow(Z,te).cmp(ne)!==0;)Z.redIAdd(ne);for(var X=this.pow(Z,G),Q=this.pow(j,G.addn(1).iushrn(1)),re=this.pow(j,G),ie=q;re.cmp(H)!==0;){for(var oe=re,ue=0;oe.cmp(H)!==0;ue++)oe=oe.redSqr();s(ue=0;G--){for(var Z=Y.words[G],X=te-1;X>=0;X--){var Q=Z>>X&1;q!==U[0]&&(q=this.sqr(q)),Q!==0||H!==0?(H<<=1,H|=Q,(++ne==4||G===0&&X===0)&&(q=this.mul(q,U[H]),ne=0,H=0)):ne=0}te=26}return q},N.prototype.convertTo=function(j){var Y=j.umod(this.m);return Y===j?Y.clone():Y},N.prototype.convertFrom=function(j){var Y=j.clone();return Y.red=null,Y},f.mont=function(j){return new W(j)},c(W,N),W.prototype.convertTo=function(j){return this.imod(j.ushln(this.shift))},W.prototype.convertFrom=function(j){var Y=this.imod(j.mul(this.rinv));return Y.red=null,Y},W.prototype.imul=function(j,Y){if(j.isZero()||Y.isZero())return j.words[0]=0,j.length=1,j;var U=j.imul(Y),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.mul=function(j,Y){if(j.isZero()||Y.isZero())return new f(0)._forceRed(this);var U=j.mul(Y),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.invm=function(j){return this.imod(j._invmp(this.m).mul(this.r2))._forceRed(this)}})(h=a.nmd(h),this)},2692:function(h){h.exports=function(l){var a,u,o,s=l.length,c=0;for(a=0;a>>1;if(!(P<=0)){var I,R=o.mallocDouble(2*P*L),D=o.mallocInt32(L);if((L=p(T,P,R,D))>0){if(P===1&&A)s.init(L),I=s.sweepComplete(P,_,0,L,R,D,0,L,R,D);else{var F=o.mallocDouble(2*P*b),B=o.mallocInt32(b);(b=p(C,P,F,B))>0&&(s.init(L+b),I=P===1?s.sweepBipartite(P,_,0,L,R,D,0,b,F,B):c(P,_,A,L,R,D,b,F,B),o.free(F),o.free(B))}o.free(R),o.free(D)}return I}}}function v(T,C){u.push([T,C])}function S(T){return u=[],w(T,T,v,!0),u}function x(T,C){return u=[],w(T,C,v,!1),u}},7333:function(h,l){function a(u){return u?function(o,s,c,f,p,w,v,S,x,T,C){return p-f>x-S?function(_,A,L,b,P,I,R,D,F,B,N){for(var W=2*_,j=b,Y=W*b;jT-x?f?function(A,L,b,P,I,R,D,F,B,N,W){for(var j=2*A,Y=P,U=j*P;Y0;){var te=6*(H-=1),Z=L[te],X=L[te+1],Q=L[te+2],re=L[te+3],ie=L[te+4],oe=L[te+5],ue=2*H,ce=b[ue],ye=b[ue+1],de=1&oe,me=!!(16&oe),pe=W,xe=j,Oe=U,_e=G;if(de&&(pe=U,xe=G,Oe=W,_e=j),!(2&oe&&(Q=T(D,Z,X,Q,pe,xe,ye),X>=Q)||4&oe&&(X=C(D,Z,X,Q,pe,xe,ce))>=Q)){var Me=Q-X,Se=ie-re;if(me){if(D*Me*(Me+Se)<4194304){if((q=p.scanComplete(D,Z,F,X,Q,pe,xe,re,ie,Oe,_e))!==void 0)return q;continue}}else{if(D*Math.min(Me,Se)<128){if((q=c(D,Z,F,de,X,Q,pe,xe,re,ie,Oe,_e))!==void 0)return q;continue}if(D*Me*Se<4194304){if((q=p.scanBipartite(D,Z,F,de,X,Q,pe,xe,re,ie,Oe,_e))!==void 0)return q;continue}}var Ce=S(D,Z,X,Q,pe,xe,ce,ye);if(X=p0)&&!(p1>=hi)"),x=v("lo===p0"),T=v("lo>>1,C=2*s,_=T,A=w[C*T+c];S=R?(_=I,A=R):P>=F?(_=b,A=P):(_=D,A=F):R>=F?(_=I,A=R):F>=P?(_=b,A=P):(_=D,A=F);for(var B=C*(x-1),N=C*_,W=0;Wf&&w[A+c]>C;--_,A-=S){for(var L=A,b=A+S,P=0;PC;++C,v+=w)if(c[v+T]===p)if(x===C)x+=1,S+=w;else{for(var _=0;w>_;++_){var A=c[v+_];c[v+_]=c[S],c[S++]=A}var L=f[C];f[C]=f[x],f[x++]=L}return x},"loC;++C,v+=w)if(c[v+T]_;++_){var A=c[v+_];c[v+_]=c[S],c[S++]=A}var L=f[C];f[C]=f[x],f[x++]=L}return x},"lo<=p0":function(a,u,o,s,c,f,p){for(var w=2*a,v=w*o,S=v,x=o,T=a+u,C=o;s>C;++C,v+=w)if(c[v+T]<=p)if(x===C)x+=1,S+=w;else{for(var _=0;w>_;++_){var A=c[v+_];c[v+_]=c[S],c[S++]=A}var L=f[C];f[C]=f[x],f[x++]=L}return x},"hi<=p0":function(a,u,o,s,c,f,p){for(var w=2*a,v=w*o,S=v,x=o,T=a+u,C=o;s>C;++C,v+=w)if(c[v+T]<=p)if(x===C)x+=1,S+=w;else{for(var _=0;w>_;++_){var A=c[v+_];c[v+_]=c[S],c[S++]=A}var L=f[C];f[C]=f[x],f[x++]=L}return x},"lo_;++_,v+=w){var A=c[v+T],L=c[v+C];if(Ab;++b){var P=c[v+b];c[v+b]=c[S],c[S++]=P}var I=f[_];f[_]=f[x],f[x++]=I}}return x},"lo<=p0&&p0<=hi":function(a,u,o,s,c,f,p){for(var w=2*a,v=w*o,S=v,x=o,T=u,C=a+u,_=o;s>_;++_,v+=w){var A=c[v+T],L=c[v+C];if(A<=p&&p<=L)if(x===_)x+=1,S+=w;else{for(var b=0;w>b;++b){var P=c[v+b];c[v+b]=c[S],c[S++]=P}var I=f[_];f[_]=f[x],f[x++]=I}}return x},"!(lo>=p0)&&!(p1>=hi)":function(a,u,o,s,c,f,p,w){for(var v=2*a,S=v*o,x=S,T=o,C=u,_=a+u,A=o;s>A;++A,S+=v){var L=c[S+C],b=c[S+_];if(!(L>=p||w>=b))if(T===A)T+=1,x+=v;else{for(var P=0;v>P;++P){var I=c[S+P];c[S+P]=c[x],c[x++]=I}var R=f[A];f[A]=f[T],f[T++]=R}}return T}}},309:function(h){function l(w,v,S){for(var x=2*(w+1),T=w+1;T<=v;++T){for(var C=S[x++],_=S[x++],A=T,L=x-2;A-- >w;){var b=S[L-2],P=S[L-1];if(bS[v+1])}function f(w,v,S,x){var T=x[w*=2];return T>1,A=_-x,L=_+x,b=T,P=A,I=_,R=L,D=C,F=w+1,B=v-1,N=0;c(b,P,S)&&(N=b,b=P,P=N),c(R,D,S)&&(N=R,R=D,D=N),c(b,I,S)&&(N=b,b=I,I=N),c(P,I,S)&&(N=P,P=I,I=N),c(b,R,S)&&(N=b,b=R,R=N),c(I,R,S)&&(N=I,I=R,R=N),c(P,D,S)&&(N=P,P=D,D=N),c(P,I,S)&&(N=P,P=I,I=N),c(R,D,S)&&(N=R,R=D,D=N);for(var W=S[2*P],j=S[2*P+1],Y=S[2*R],U=S[2*R+1],G=2*b,q=2*I,H=2*D,ne=2*T,te=2*_,Z=2*C,X=0;X<2;++X){var Q=S[G+X],re=S[q+X],ie=S[H+X];S[ne+X]=Q,S[te+X]=re,S[Z+X]=ie}u(A,w,S),u(L,v,S);for(var oe=F;oe<=B;++oe)if(f(oe,W,j,S))oe!==F&&a(oe,F,S),++F;else if(!f(oe,Y,U,S))for(;;){if(f(B,Y,U,S)){f(B,W,j,S)?(o(oe,F,B,S),++F,--B):(a(oe,B,S),--B);break}if(--B>>1;s(C,Z);var X=0,Q=0;for(q=0;q=c)_(v,S,Q--,re=re-c|0);else if(re>=0)_(p,w,X--,re);else if(re<=-268435456){re=-re-c|0;for(var ie=0;ie>>1;s(C,Z);var X=0,Q=0,re=0;for(q=0;q>1==C[2*q+3]>>1&&(oe=2,q+=1),ie<0){for(var ue=-(ie>>1)-1,ce=0;ce>1)-1,oe===0?_(p,w,X--,ue):oe===1?_(v,S,Q--,ue):oe===2&&_(x,T,re--,ue)}},scanBipartite:function(L,b,P,I,R,D,F,B,N,W,j,Y){var U=0,G=2*L,q=b,H=b+L,ne=1,te=1;I?te=c:ne=c;for(var Z=R;Z>>1;s(C,ie);var oe=0;for(Z=0;Z=c?(ce=!I,X-=c):(ce=!!I,X-=1),ce)A(p,w,oe++,X);else{var ye=Y[X],de=G*X,me=j[de+b+1],pe=j[de+b+1+L];e:for(var xe=0;xe>>1;s(C,X);var Q=0;for(H=0;H=c)p[Q++]=ne-c;else{var ie=j[ne-=1],oe=U*ne,ue=W[oe+b+1],ce=W[oe+b+1+L];e:for(var ye=0;ye=0;--ye)if(p[ye]===ne){for(xe=ye+1;xe0;){for(var A=f.pop(),L=(T=-1,C=-1,S=w[v=f.pop()],1);L=0||(c.flip(v,A),o(s,c,f,T,v,C),o(s,c,f,v,C,T),o(s,c,f,C,A,T),o(s,c,f,A,T,C))}}},7098:function(h,l,a){var u,o=a(5070);function s(f,p,w,v,S,x,T){this.cells=f,this.neighbor=p,this.flags=v,this.constraint=w,this.active=S,this.next=x,this.boundary=T}function c(f,p){return f[0]-p[0]||f[1]-p[1]||f[2]-p[2]}h.exports=function(f,p,w){var v=function(F,B){for(var N=F.cells(),W=N.length,j=0;j0||T.length>0;){for(;x.length>0;){var b=x.pop();if(C[b]!==-S){C[b]=S,_[b];for(var P=0;P<3;++P){var I=L[3*b+P];I>=0&&C[I]===0&&(A[3*b+P]?T.push(I):(x.push(I),C[I]=S))}}}var R=T;T=x,x=R,T.length=0,S=-S}var D=function(F,B,N){for(var W=0,j=0;j1&&o(_[D[F-2]],_[D[F-1]],A)>0;)T.push([D[F-1],D[F-2],L]),F-=1;D.length=F,D.push(L);var B=R.upperIds;for(F=B.length;F>1&&o(_[B[F-2]],_[B[F-1]],A)<0;)T.push([B[F-2],B[F-1],L]),F-=1;B.length=F,B.push(L)}}function v(T,C){var _;return(_=T.a[0]R[0]&&L.push(new c(R,I,2,b),new c(I,R,1,b))}L.sort(f);for(var D=L[0].a[0]-(1+Math.abs(L[0].a[0]))*Math.pow(2,-52),F=[new s([D,1],[D,0],-1,[],[])],B=[],N=(b=0,L.length);b=0}}(),s.removeTriangle=function(f,p,w){var v=this.stars;c(v[f],p,w),c(v[p],w,f),c(v[w],f,p)},s.addTriangle=function(f,p,w){var v=this.stars;v[f].push(p,w),v[p].push(w,f),v[w].push(f,p)},s.opposite=function(f,p){for(var w=this.stars[p],v=1,S=w.length;vI[2]?1:0)}function L(P,I,R){if(P.length!==0){if(I)for(var D=0;D=0;--H){var ue=Y[ne=(_e=G[H])[0]],ce=ue[0],ye=ue[1],de=j[ce],me=j[ye];if((de[0]-me[0]||de[1]-me[1])<0){var pe=ce;ce=ye,ye=pe}ue[0]=ce;var xe,Oe=ue[1]=_e[1];for(q&&(xe=ue[2]);H>0&&G[H-1][0]===ne;){var _e,Me=(_e=G[--H])[1];q?Y.push([Oe,Me,xe]):Y.push([Oe,Me]),Oe=Me}q?Y.push([Oe,ye,xe]):Y.push([Oe,ye])}return te}(P,I,F,B,R),W=C(P,N);return L(I,W,R),!!W||F.length>0||B.length>0}},5528:function(h,l,a){h.exports=function(S,x,T,C){var _=f(x,S),A=f(C,T),L=v(_,A);if(c(L)===0)return null;var b=v(A,f(S,T)),P=o(b,L),I=w(_,P);return p(S,I)};var u=a(3962),o=a(9189),s=a(4354),c=a(4951),f=a(6695),p=a(7584),w=a(4469);function v(S,x){return s(u(S[0],x[1]),u(S[1],x[0]))}},5692:function(h){h.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},9156:function(h,l,a){var u=a(5692),o=a(3578);function s(p){return[p[0]/255,p[1]/255,p[2]/255,p[3]]}function c(p){for(var w,v="#",S=0;S<3;++S)v+=("00"+(w=(w=p[S]).toString(16))).substr(w.length);return v}function f(p){return"rgba("+p.join(",")+")"}h.exports=function(p){var w,v,S,x,T,C,_,A,L,b;if(p||(p={}),A=(p.nshades||72)-1,_=p.format||"hex",(C=p.colormap)||(C="jet"),typeof C=="string"){if(C=C.toLowerCase(),!u[C])throw Error(C+" not a supported colorscale");T=u[C]}else{if(!Array.isArray(C))throw Error("unsupported colormap option",C);T=C.slice()}if(T.length>A+1)throw new Error(C+" map requires nshades to be at least size "+T.length);L=Array.isArray(p.alpha)?p.alpha.length!==2?[1,1]:p.alpha.slice():typeof p.alpha=="number"?[p.alpha,p.alpha]:[1,1],w=T.map(function(F){return Math.round(F.index*A)}),L[0]=Math.min(Math.max(L[0],0),1),L[1]=Math.min(Math.max(L[1],0),1);var P=T.map(function(F,B){var N=T[B].index,W=T[B].rgb.slice();return W.length===4&&W[3]>=0&&W[3]<=1||(W[3]=L[0]+(L[1]-L[0])*N),W}),I=[];for(b=0;b0||p(w,v,x)?-1:1:C===0?_>0||p(w,v,S)?1:-1:o(_-C)}var L=u(w,v,S);return L>0?T>0&&u(w,v,x)>0?1:-1:L<0?T>0||u(w,v,x)>0?1:-1:u(w,v,x)>0||p(w,v,S)?1:-1};var u=a(417),o=a(7538),s=a(87),c=a(2019),f=a(9662);function p(w,v,S){var x=s(w[0],-v[0]),T=s(w[1],-v[1]),C=s(S[0],-v[0]),_=s(S[1],-v[1]),A=f(c(x,C),c(T,_));return A[A.length-1]>=0}},7538:function(h){h.exports=function(l){return l<0?-1:l>0?1:0}},9209:function(h){h.exports=function(u,o){var s=u.length,c=u.length-o.length;if(c)return c;switch(s){case 0:return 0;case 1:return u[0]-o[0];case 2:return u[0]+u[1]-o[0]-o[1]||l(u[0],u[1])-l(o[0],o[1]);case 3:var f=u[0]+u[1],p=o[0]+o[1];if(c=f+u[2]-(p+o[2]))return c;var w=l(u[0],u[1]),v=l(o[0],o[1]);return l(w,u[2])-l(v,o[2])||l(w+u[2],f)-l(v+o[2],p);case 4:var S=u[0],x=u[1],T=u[2],C=u[3],_=o[0],A=o[1],L=o[2],b=o[3];return S+x+T+C-(_+A+L+b)||l(S,x,T,C)-l(_,A,L,b,_)||l(S+x,S+T,S+C,x+T,x+C,T+C)-l(_+A,_+L,_+b,A+L,A+b,L+b)||l(S+x+T,S+x+C,S+T+C,x+T+C)-l(_+A+L,_+A+b,_+L+b,A+L+b);default:for(var P=u.slice().sort(a),I=o.slice().sort(a),R=0;Rl[u][0]&&(u=o);return au?[[u],[a]]:[[a]]}},8722:function(h,l,a){h.exports=function(o){var s=u(o),c=s.length;if(c<=2)return[];for(var f=new Array(c),p=s[c-1],w=0;w=S[b]&&(L+=1);_[A]=L}}return v}(u(p,!0),f)}};var u=a(2183),o=a(2153)},9680:function(h){h.exports=function(l,a,u,o,s,c){var f=s-1,p=s*s,w=f*f,v=(1+2*s)*w,S=s*w,x=p*(3-2*s),T=p*f;if(l.length){c||(c=new Array(l.length));for(var C=l.length-1;C>=0;--C)c[C]=v*l[C]+S*a[C]+x*u[C]+T*o[C];return c}return v*l+S*a+x*u+T*o},h.exports.derivative=function(l,a,u,o,s,c){var f=6*s*s-6*s,p=3*s*s-4*s+1,w=-6*s*s+6*s,v=3*s*s-2*s;if(l.length){c||(c=new Array(l.length));for(var S=l.length-1;S>=0;--S)c[S]=f*l[S]+p*a[S]+w*u[S]+v*o[S];return c}return f*l+p*a+w*u[S]+v*o}},4419:function(h,l,a){var u=a(2183),o=a(1215);function s(f,p){this.point=f,this.index=p}function c(f,p){for(var w=f.point,v=p.point,S=w.length,x=0;x=2)return!1;N[j]=Y}return!0}):B.filter(function(N){for(var W=0;W<=v;++W){var j=I[N[W]];if(j<0)return!1;N[W]=j}return!0}),1&v)for(T=0;T>>31},h.exports.exponent=function(s){return(h.exports.hi(s)<<1>>>21)-1023},h.exports.fraction=function(s){var c=h.exports.lo(s),f=h.exports.hi(s),p=1048575&f;return 2146435072&f&&(p+=1048576),[c,p]},h.exports.denormalized=function(s){return!(2146435072&h.exports.hi(s))}},3094:function(h){function l(a,u,o){var s=0|a[o];if(s<=0)return[];var c,f=new Array(s);if(o===a.length-1)for(c=0;c0)return function(o,s){var c,f;for(c=new Array(o),f=0;f=S-1){b=C.length-1;var I=w-v[S-1];for(P=0;P=S-1)for(var L=C.length-1,b=(v[S-1],0);b=0;--S)if(w[--v])return!1;return!0},f.jump=function(w){var v=this.lastT(),S=this.dimension;if(!(w0;--P)x.push(s(A[P-1],L[P-1],arguments[P])),T.push(0)}},f.push=function(w){var v=this.lastT(),S=this.dimension;if(!(w1e-6?1/_:0;this._time.push(w);for(var I=S;I>0;--I){var R=s(L[I-1],b[I-1],arguments[I]);x.push(R),T.push((R-x[C++])*P)}}},f.set=function(w){var v=this.dimension;if(!(w0;--A)S.push(s(C[A-1],_[A-1],arguments[A])),x.push(0)}},f.move=function(w){var v=this.lastT(),S=this.dimension;if(!(w<=v||arguments.length!==S+1)){var x=this._state,T=this._velocity,C=x.length-this.dimension,_=this.bounds,A=_[0],L=_[1],b=w-v,P=b>1e-6?1/b:0;this._time.push(w);for(var I=S;I>0;--I){var R=arguments[I];x.push(s(A[I-1],L[I-1],x[C++]+R)),T.push(R*P)}}},f.idle=function(w){var v=this.lastT();if(!(w=0;--P)x.push(s(A[P],L[P],x[C]+b*T[C])),T.push(0),C+=1}}},7080:function(h){function l(C,_,A,L,b,P){this._color=C,this.key=_,this.value=A,this.left=L,this.right=b,this._count=P}function a(C){return new l(C._color,C.key,C.value,C.left,C.right,C._count)}function u(C,_){return new l(C,_.key,_.value,_.left,_.right,_._count)}function o(C){C._count=1+(C.left?C.left._count:0)+(C.right?C.right._count:0)}function s(C,_){this._compare=C,this.root=_}h.exports=function(C){return new s(C||T,null)};var c=s.prototype;function f(C,_){var A;return _.left&&(A=f(C,_.left))?A:(A=C(_.key,_.value))||(_.right?f(C,_.right):void 0)}function p(C,_,A,L){if(_(C,L.key)<=0){var b;if(L.left&&(b=p(C,_,A,L.left))||(b=A(L.key,L.value)))return b}if(L.right)return p(C,_,A,L.right)}function w(C,_,A,L,b){var P,I=A(C,b.key),R=A(_,b.key);if(I<=0&&(b.left&&(P=w(C,_,A,L,b.left))||R>0&&(P=L(b.key,b.value))))return P;if(R>0&&b.right)return w(C,_,A,L,b.right)}function v(C,_){this.tree=C,this._stack=_}Object.defineProperty(c,"keys",{get:function(){var C=[];return this.forEach(function(_,A){C.push(_)}),C}}),Object.defineProperty(c,"values",{get:function(){var C=[];return this.forEach(function(_,A){C.push(A)}),C}}),Object.defineProperty(c,"length",{get:function(){return this.root?this.root._count:0}}),c.insert=function(C,_){for(var A=this._compare,L=this.root,b=[],P=[];L;){var I=A(C,L.key);b.push(L),P.push(I),L=I<=0?L.left:L.right}b.push(new l(0,C,_,null,null,1));for(var R=b.length-2;R>=0;--R)L=b[R],P[R]<=0?b[R]=new l(L._color,L.key,L.value,b[R+1],L.right,L._count+1):b[R]=new l(L._color,L.key,L.value,L.left,b[R+1],L._count+1);for(R=b.length-1;R>1;--R){var D=b[R-1];if(L=b[R],D._color===1||L._color===1)break;var F=b[R-2];if(F.left===D)if(D.left===L){if(!(B=F.right)||B._color!==0){F._color=0,F.left=D.right,D._color=1,D.right=F,b[R-2]=D,b[R-1]=L,o(F),o(D),R>=3&&((N=b[R-3]).left===F?N.left=D:N.right=D);break}D._color=1,F.right=u(1,B),F._color=0,R-=1}else{if(!(B=F.right)||B._color!==0){D.right=L.left,F._color=0,F.left=L.right,L._color=1,L.left=D,L.right=F,b[R-2]=L,b[R-1]=D,o(F),o(D),o(L),R>=3&&((N=b[R-3]).left===F?N.left=L:N.right=L);break}D._color=1,F.right=u(1,B),F._color=0,R-=1}else if(D.right===L){if(!(B=F.left)||B._color!==0){F._color=0,F.right=D.left,D._color=1,D.left=F,b[R-2]=D,b[R-1]=L,o(F),o(D),R>=3&&((N=b[R-3]).right===F?N.right=D:N.left=D);break}D._color=1,F.left=u(1,B),F._color=0,R-=1}else{var B;if(!(B=F.left)||B._color!==0){var N;D.left=L.right,F._color=0,F.right=L.left,L._color=1,L.right=D,L.left=F,b[R-2]=L,b[R-1]=D,o(F),o(D),o(L),R>=3&&((N=b[R-3]).right===F?N.right=L:N.left=L);break}D._color=1,F.left=u(1,B),F._color=0,R-=1}}return b[0]._color=1,new s(A,b[0])},c.forEach=function(C,_,A){if(this.root)switch(arguments.length){case 1:return f(C,this.root);case 2:return p(_,this._compare,C,this.root);case 3:return this._compare(_,A)>=0?void 0:w(_,A,this._compare,C,this.root)}},Object.defineProperty(c,"begin",{get:function(){for(var C=[],_=this.root;_;)C.push(_),_=_.left;return new v(this,C)}}),Object.defineProperty(c,"end",{get:function(){for(var C=[],_=this.root;_;)C.push(_),_=_.right;return new v(this,C)}}),c.at=function(C){if(C<0)return new v(this,[]);for(var _=this.root,A=[];;){if(A.push(_),_.left){if(C<_.left._count){_=_.left;continue}C-=_.left._count}if(!C)return new v(this,A);if(C-=1,!_.right||C>=_.right._count)break;_=_.right}return new v(this,[])},c.ge=function(C){for(var _=this._compare,A=this.root,L=[],b=0;A;){var P=_(C,A.key);L.push(A),P<=0&&(b=L.length),A=P<=0?A.left:A.right}return L.length=b,new v(this,L)},c.gt=function(C){for(var _=this._compare,A=this.root,L=[],b=0;A;){var P=_(C,A.key);L.push(A),P<0&&(b=L.length),A=P<0?A.left:A.right}return L.length=b,new v(this,L)},c.lt=function(C){for(var _=this._compare,A=this.root,L=[],b=0;A;){var P=_(C,A.key);L.push(A),P>0&&(b=L.length),A=P<=0?A.left:A.right}return L.length=b,new v(this,L)},c.le=function(C){for(var _=this._compare,A=this.root,L=[],b=0;A;){var P=_(C,A.key);L.push(A),P>=0&&(b=L.length),A=P<0?A.left:A.right}return L.length=b,new v(this,L)},c.find=function(C){for(var _=this._compare,A=this.root,L=[];A;){var b=_(C,A.key);if(L.push(A),b===0)return new v(this,L);A=b<=0?A.left:A.right}return new v(this,[])},c.remove=function(C){var _=this.find(C);return _?_.remove():this},c.get=function(C){for(var _=this._compare,A=this.root;A;){var L=_(C,A.key);if(L===0)return A.value;A=L<=0?A.left:A.right}};var S=v.prototype;function x(C,_){C.key=_.key,C.value=_.value,C.left=_.left,C.right=_.right,C._color=_._color,C._count=_._count}function T(C,_){return C<_?-1:C>_?1:0}Object.defineProperty(S,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(S,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),S.clone=function(){return new v(this.tree,this._stack.slice())},S.remove=function(){var C=this._stack;if(C.length===0)return this.tree;var _=new Array(C.length),A=C[C.length-1];_[_.length-1]=new l(A._color,A.key,A.value,A.left,A.right,A._count);for(var L=C.length-2;L>=0;--L)(A=C[L]).left===C[L+1]?_[L]=new l(A._color,A.key,A.value,_[L+1],A.right,A._count):_[L]=new l(A._color,A.key,A.value,A.left,_[L+1],A._count);if((A=_[_.length-1]).left&&A.right){var b=_.length;for(A=A.left;A.right;)_.push(A),A=A.right;var P=_[b-1];for(_.push(new l(A._color,P.key,P.value,A.left,A.right,A._count)),_[b-1].key=A.key,_[b-1].value=A.value,L=_.length-2;L>=b;--L)A=_[L],_[L]=new l(A._color,A.key,A.value,A.left,_[L+1],A._count);_[b-1].left=_[b]}if((A=_[_.length-1])._color===0){var I=_[_.length-2];for(I.left===A?I.left=null:I.right===A&&(I.right=null),_.pop(),L=0;L<_.length;++L)_[L]._count--;return new s(this.tree._compare,_[0])}if(A.left||A.right){for(A.left?x(A,A.left):A.right&&x(A,A.right),A._color=1,L=0;L<_.length-1;++L)_[L]._count--;return new s(this.tree._compare,_[0])}if(_.length===1)return new s(this.tree._compare,null);for(L=0;L<_.length;++L)_[L]._count--;var R=_[_.length-2];return function(D){for(var F,B,N,W,j=D.length-1;j>=0;--j){if(F=D[j],j===0)return void(F._color=1);if((B=D[j-1]).left===F){if((N=B.right).right&&N.right._color===0)return W=(N=B.right=a(N)).right=a(N.right),B.right=N.left,N.left=B,N.right=W,N._color=B._color,F._color=1,B._color=1,W._color=1,o(B),o(N),j>1&&((Y=D[j-2]).left===B?Y.left=N:Y.right=N),void(D[j-1]=N);if(N.left&&N.left._color===0)return W=(N=B.right=a(N)).left=a(N.left),B.right=W.left,N.left=W.right,W.left=B,W.right=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&((Y=D[j-2]).left===B?Y.left=W:Y.right=W),void(D[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.right=u(0,N));B.right=u(0,N);continue}N=a(N),B.right=N.left,N.left=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&((Y=D[j-2]).left===B?Y.left=N:Y.right=N),D[j-1]=N,D[j]=B,j+11&&((Y=D[j-2]).right===B?Y.right=N:Y.left=N),void(D[j-1]=N);if(N.right&&N.right._color===0)return W=(N=B.left=a(N)).right=a(N.right),B.left=W.right,N.right=W.left,W.right=B,W.left=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&((Y=D[j-2]).right===B?Y.right=W:Y.left=W),void(D[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.left=u(0,N));B.left=u(0,N);continue}var Y;N=a(N),B.left=N.right,N.right=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&((Y=D[j-2]).right===B?Y.right=N:Y.left=N),D[j-1]=N,D[j]=B,j+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(S,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(S,"index",{get:function(){var C=0,_=this._stack;if(_.length===0){var A=this.tree.root;return A?A._count:0}_[_.length-1].left&&(C=_[_.length-1].left._count);for(var L=_.length-2;L>=0;--L)_[L+1]===_[L].right&&(++C,_[L].left&&(C+=_[L].left._count));return C},enumerable:!0}),S.next=function(){var C=this._stack;if(C.length!==0){var _=C[C.length-1];if(_.right)for(_=_.right;_;)C.push(_),_=_.left;else for(C.pop();C.length>0&&C[C.length-1].right===_;)_=C[C.length-1],C.pop()}},Object.defineProperty(S,"hasNext",{get:function(){var C=this._stack;if(C.length===0)return!1;if(C[C.length-1].right)return!0;for(var _=C.length-1;_>0;--_)if(C[_-1].left===C[_])return!0;return!1}}),S.update=function(C){var _=this._stack;if(_.length===0)throw new Error("Can't update empty node!");var A=new Array(_.length),L=_[_.length-1];A[A.length-1]=new l(L._color,L.key,C,L.left,L.right,L._count);for(var b=_.length-2;b>=0;--b)(L=_[b]).left===_[b+1]?A[b]=new l(L._color,L.key,L.value,A[b+1],L.right,L._count):A[b]=new l(L._color,L.key,L.value,L.left,A[b+1],L._count);return new s(this.tree._compare,A[0])},S.prev=function(){var C=this._stack;if(C.length!==0){var _=C[C.length-1];if(_.left)for(_=_.left;_;)C.push(_),_=_.right;else for(C.pop();C.length>0&&C[C.length-1].left===_;)_=C[C.length-1],C.pop()}},Object.defineProperty(S,"hasPrev",{get:function(){var C=this._stack;if(C.length===0)return!1;if(C[C.length-1].left)return!0;for(var _=C.length-1;_>0;--_)if(C[_-1].right===C[_])return!0;return!1}})},7453:function(h,l,a){h.exports=function(I,R){var D=new v(I);return D.update(R),D};var u=a(9557),o=a(1681),s=a(1011),c=a(2864),f=a(8468),p=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function w(I,R){return I[0]=R[0],I[1]=R[1],I[2]=R[2],I}function v(I){this.gl=I,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=s(I)}var S=v.prototype;function x(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}S.update=function(I){function R(ne,te,Z){if(Z in I){var X,Q=I[Z],re=this[Z];(ne?Array.isArray(Q)&&Array.isArray(Q[0]):Array.isArray(Q))?this[Z]=X=[te(Q[0]),te(Q[1]),te(Q[2])]:this[Z]=X=[te(Q),te(Q),te(Q)];for(var ie=0;ie<3;++ie)if(X[ie]!==re[ie])return!0}return!1}I=I||{};var D,F=R.bind(this,!1,Number),B=R.bind(this,!1,Boolean),N=R.bind(this,!1,String),W=R.bind(this,!0,function(ne){if(Array.isArray(ne)){if(ne.length===3)return[+ne[0],+ne[1],+ne[2],1];if(ne.length===4)return[+ne[0],+ne[1],+ne[2],+ne[3]]}return[0,0,0,1]}),j=!1,Y=!1;if("bounds"in I)for(var U=I.bounds,G=0;G<2;++G)for(var q=0;q<3;++q)U[G][q]!==this.bounds[G][q]&&(Y=!0),this.bounds[G][q]=U[G][q];if("ticks"in I)for(D=I.ticks,j=!0,this.autoTicks=!1,G=0;G<3;++G)this.tickSpacing[G]=0;else F("tickSpacing")&&(this.autoTicks=!0,Y=!0);if(this._firstInit&&("ticks"in I||"tickSpacing"in I||(this.autoTicks=!0),Y=!0,j=!0,this._firstInit=!1),Y&&this.autoTicks&&(D=f.create(this.bounds,this.tickSpacing),j=!0),j){for(G=0;G<3;++G)D[G].sort(function(ne,te){return ne.x-te.x});f.equal(D,this.ticks)?j=!1:this.ticks=D}B("tickEnable"),N("tickFont")&&(j=!0),F("tickSize"),F("tickAngle"),F("tickPad"),W("tickColor");var H=N("labels");N("labelFont")&&(H=!0),B("labelEnable"),F("labelSize"),F("labelPad"),W("labelColor"),B("lineEnable"),B("lineMirror"),F("lineWidth"),W("lineColor"),B("lineTickEnable"),B("lineTickMirror"),F("lineTickLength"),F("lineTickWidth"),W("lineTickColor"),B("gridEnable"),F("gridWidth"),W("gridColor"),B("zeroEnable"),W("zeroLineColor"),F("zeroLineWidth"),B("backgroundEnable"),W("backgroundColor"),this._text?this._text&&(H||j)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=u(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&j&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=o(this.gl,this.bounds,this.ticks))};var T=[new x,new x,new x];function C(I,R,D,F,B){for(var N=I.primalOffset,W=I.primalMinor,j=I.mirrorOffset,Y=I.mirrorMinor,U=F[R],G=0;G<3;++G)if(R!==G){var q=N,H=j,ne=W,te=Y;U&1<0?(ne[G]=-1,te[G]=0):(ne[G]=0,te[G]=1)}}var _=[0,0,0],A={model:p,view:p,projection:p,_ortho:!1};S.isOpaque=function(){return!0},S.isTransparent=function(){return!1},S.drawTransparent=function(I){};var L=[0,0,0],b=[0,0,0],P=[0,0,0];S.draw=function(I){I=I||A;for(var R=this.gl,D=I.model||p,F=I.view||p,B=I.projection||p,N=this.bounds,W=I._ortho||!1,j=c(D,F,B,N,W),Y=j.cubeEdges,U=j.axis,G=F[12],q=F[13],H=F[14],ne=F[15],te=(W?2:1)*this.pixelRatio*(B[3]*G+B[7]*q+B[11]*H+B[15]*ne)/R.drawingBufferHeight,Z=0;Z<3;++Z)this.lastCubeProps.cubeEdges[Z]=Y[Z],this.lastCubeProps.axis[Z]=U[Z];var X=T;for(Z=0;Z<3;++Z)C(T[Z],Z,this.bounds,Y,U);R=this.gl;var Q,re,ie,oe=_;for(Z=0;Z<3;++Z)this.backgroundEnable[Z]?oe[Z]=U[Z]:oe[Z]=0;for(this._background.draw(D,F,B,N,oe,this.backgroundColor),this._lines.bind(D,F,B,this),Z=0;Z<3;++Z){var ue=[0,0,0];U[Z]>0?ue[Z]=N[1][Z]:ue[Z]=N[0][Z];for(var ce=0;ce<2;++ce){var ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3;this.gridEnable[ye]&&this._lines.drawGrid(ye,de,this.bounds,ue,this.gridColor[ye],this.gridWidth[ye]*this.pixelRatio)}for(ce=0;ce<2;++ce)ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3,this.zeroEnable[de]&&Math.min(N[0][de],N[1][de])<=0&&Math.max(N[0][de],N[1][de])>=0&&this._lines.drawZero(ye,de,this.bounds,ue,this.zeroLineColor[de],this.zeroLineWidth[de]*this.pixelRatio)}for(Z=0;Z<3;++Z){this.lineEnable[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].primalOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio),this.lineMirror[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].mirrorOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio);var me=w(L,X[Z].primalMinor),pe=w(b,X[Z].mirrorMinor),xe=this.lineTickLength;for(ce=0;ce<3;++ce){var Oe=te/D[5*ce];me[ce]*=xe[ce]*Oe,pe[ce]*=xe[ce]*Oe}this.lineTickEnable[Z]&&this._lines.drawAxisTicks(Z,X[Z].primalOffset,me,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio),this.lineTickMirror[Z]&&this._lines.drawAxisTicks(Z,X[Z].mirrorOffset,pe,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio)}function _e(be){(ie=[0,0,0])[be]=1}function Me(be,ke,Le){var Be=(be+1)%3,ze=(be+2)%3,je=ke[Be],ge=ke[ze],we=Le[Be],Ee=Le[ze];je>0&&Ee>0||je>0&&Ee<0||je<0&&Ee>0||je<0&&Ee<0?_e(Be):(ge>0&&we>0||ge>0&&we<0||ge<0&&we>0||ge<0&&we<0)&&_e(ze)}for(this._lines.unbind(),this._text.bind(D,F,B,this.pixelRatio),Z=0;Z<3;++Z){var Se=X[Z].primalMinor,Ce=X[Z].mirrorMinor,ae=w(P,X[Z].primalOffset);for(ce=0;ce<3;++ce)this.lineTickEnable[Z]&&(ae[ce]+=te*Se[ce]*Math.max(this.lineTickLength[ce],0)/D[5*ce]);var he=[0,0,0];if(he[Z]=1,this.tickEnable[Z]){for(this.tickAngle[Z]===-3600?(this.tickAngle[Z]=0,this.tickAlign[Z]="auto"):this.tickAlign[Z]=-1,re=1,(Q=[this.tickAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ie=[0,0,0],Me(Z,Se,Ce),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.tickPad[ce]/D[5*ce];this._text.drawTicks(Z,this.tickSize[Z],this.tickAngle[Z],ae,this.tickColor[Z],he,ie,Q)}if(this.labelEnable[Z]){for(re=0,ie=[0,0,0],this.labels[Z].length>4&&(_e(Z),re=1),(Q=[this.labelAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.labelPad[ce]/D[5*ce];ae[Z]+=.5*(N[0][Z]+N[1][Z]),this._text.drawLabel(Z,this.labelSize[Z],this.labelAngle[Z],ae,this.labelColor[Z],[0,0,0],ie,Q)}}this._text.unbind()},S.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},1011:function(h,l,a){h.exports=function(p){for(var w=[],v=[],S=0,x=0;x<3;++x)for(var T=(x+1)%3,C=(x+2)%3,_=[0,0,0],A=[0,0,0],L=-1;L<=1;L+=2){v.push(S,S+2,S+1,S+1,S+2,S+3),_[x]=L,A[x]=L;for(var b=-1;b<=1;b+=2){_[T]=b;for(var P=-1;P<=1;P+=2)_[C]=P,w.push(_[0],_[1],_[2],A[0],A[1],A[2]),S+=1}var I=T;T=C,C=I}var R=u(p,new Float32Array(w)),D=u(p,new Uint16Array(v),p.ELEMENT_ARRAY_BUFFER),F=o(p,[{buffer:R,type:p.FLOAT,size:3,offset:0,stride:24},{buffer:R,type:p.FLOAT,size:3,offset:12,stride:24}],D),B=s(p);return B.attributes.position.location=0,B.attributes.normal.location=1,new c(p,R,F,B)};var u=a(5827),o=a(2944),s=a(1943).bg;function c(p,w,v,S){this.gl=p,this.buffer=w,this.vao=v,this.shader=S}var f=c.prototype;f.draw=function(p,w,v,S,x,T){for(var C=!1,_=0;_<3;++_)C=C||x[_];if(C){var A=this.gl;A.enable(A.POLYGON_OFFSET_FILL),A.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:p,view:w,projection:v,bounds:S,enable:x,colors:T},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),A.disable(A.POLYGON_OFFSET_FILL)}},f.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},2864:function(h,l,a){h.exports=function(b,P,I,R,D){o(f,P,b),o(f,I,f);for(var F=0,B=0;B<2;++B){v[2]=R[B][2];for(var N=0;N<2;++N){v[1]=R[N][1];for(var W=0;W<2;++W)v[0]=R[W][0],x(p[F],v,f),F+=1}}var j=-1;for(B=0;B<8;++B){for(var Y=p[B][3],U=0;U<3;++U)w[B][U]=p[B][U]/Y;D&&(w[B][2]*=-1),Y<0&&(j<0||w[B][2]ne&&(j|=1<ne&&(j|=1<w[B][1])&&(ue=B);var ce=-1;for(B=0;B<3;++B)(de=ue^1<w[ye][0]&&(ye=de))}var me=_;me[0]=me[1]=me[2]=0,me[u.log2(ce^ue)]=ue&ce,me[u.log2(ue^ye)]=ue&ye;var pe=7^ye;pe===j||pe===oe?(pe=7^ce,me[u.log2(ye^pe)]=pe&ye):me[u.log2(ce^pe)]=pe&ce;var xe=A,Oe=j;for(G=0;G<3;++G)xe[G]=Oe&1<=0;--oe){var ue=Z[ie[oe]];L.push(te*ue[0],-te*ue[1],q)}}for(var O=[0,0,0],I=[0,0,0],R=[0,0,0],D=[0,0,0],F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){R[B]=L.length/3|0,b(.5*(x[0][B]+x[1][B]),T[B],C[B],12,1.25,F),D[B]=(L.length/3|0)-R[B],O[B]=L.length/3|0;for(var N=0;N<_[B].length;++N)_[B][N].text&&b(_[B][N].x,_[B][N].text,_[B][N].font||A,_[B][N].fontSize||12,1.25,F);I[B]=(L.length/3|0)-O[B]}this.buffer.update(L),this.tickOffset=O,this.tickCount=I,this.labelOffset=R,this.labelCount=D},v.drawTicks=function(x,T,C,_,A,L,b,O){this.tickCount[x]&&(this.shader.uniforms.axis=L,this.shader.uniforms.color=A,this.shader.uniforms.angle=C,this.shader.uniforms.scale=T,this.shader.uniforms.offset=_,this.shader.uniforms.alignDir=b,this.shader.uniforms.alignOpt=O,this.vao.draw(this.gl.TRIANGLES,this.tickCount[x],this.tickOffset[x]))},v.drawLabel=function(x,T,C,_,A,L,b,O){this.labelCount[x]&&(this.shader.uniforms.axis=L,this.shader.uniforms.color=A,this.shader.uniforms.angle=C,this.shader.uniforms.scale=T,this.shader.uniforms.offset=_,this.shader.uniforms.alignDir=b,this.shader.uniforms.alignOpt=O,this.vao.draw(this.gl.TRIANGLES,this.labelCount[x],this.labelOffset[x]))},v.dispose=function(){this.shader.dispose(),this.vao.dispose(),this.buffer.dispose()}},8468:function(h,l){function a(u,o){var s=u+"",f=s.indexOf("."),c=0;f>=0&&(c=s.length-f-1);var p=Math.pow(10,c),w=Math.round(u*o*p),v=w+"";if(v.indexOf("e")>=0)return v;var S=w/p,x=w%p;w<0?(S=0|-Math.ceil(S),x=0|-x):(S=0|Math.floor(S),x|=0);var T=""+S;if(w<0&&(T="-"+T),c){for(var C=""+x;C.length=u[0][f];--p)c.push({x:p*o[f],text:a(o[f],p)});s.push(c)}return s},l.equal=function(u,o){for(var s=0;s<3;++s){if(u[s].length!==o[s].length)return!1;for(var f=0;fT)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return S.bufferSubData(x,A,_),T}function v(S,x){for(var T=u.malloc(S.length,x),C=S.length,_=0;_=0;--I){if(b[I]!==O)return!1;O*=L[I]}return!0}(S.shape,S.stride))S.offset===0&&S.data.length===S.shape[0]?this.length=w(this.gl,this.type,this.length,this.usage,S.data,x):this.length=w(this.gl,this.type,this.length,this.usage,S.data.subarray(S.offset,S.shape[0]),x);else{var C=u.malloc(S.size,T),_=s(C,S.shape);o.assign(_,S),this.length=w(this.gl,this.type,this.length,this.usage,x<0?C:C.subarray(0,S.size),x),u.free(C)}}else if(Array.isArray(S)){var A;A=this.type===this.gl.ELEMENT_ARRAY_BUFFER?v(S,"uint16"):v(S,"float32"),this.length=w(this.gl,this.type,this.length,this.usage,x<0?A:A.subarray(0,S.length),x),u.free(A)}else if(typeof S=="object"&&typeof S.length=="number")this.length=w(this.gl,this.type,this.length,this.usage,S,x);else{if(typeof S!="number"&&S!==void 0)throw new Error("gl-buffer: Invalid data type");if(x>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(S|=0)<=0&&(S=1),this.gl.bufferData(this.type,0|S,this.usage),this.length=S}},h.exports=function(S,x,T,C){if(T=T||S.ARRAY_BUFFER,C=C||S.DYNAMIC_DRAW,T!==S.ARRAY_BUFFER&&T!==S.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(C!==S.DYNAMIC_DRAW&&C!==S.STATIC_DRAW&&C!==S.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var _=S.createBuffer(),A=new c(S,T,_,0,C);return A.update(x),A}},1140:function(h,l,a){var u=a(2858);h.exports=function(s,f){var c=s.positions,p=s.vectors,w={positions:[],vertexIntensity:[],vertexIntensityBounds:s.vertexIntensityBounds,vectors:[],cells:[],coneOffset:s.coneOffset,colormap:s.colormap};if(s.positions.length===0)return f&&(f[0]=[0,0,0],f[1]=[0,0,0]),w;for(var v=0,S=1/0,x=-1/0,T=1/0,C=-1/0,_=1/0,A=-1/0,L=null,b=null,O=[],I=1/0,R=!1,D=0;Dv&&(v=u.length(B)),D){var N=2*u.distance(L,F)/(u.length(b)+u.length(B));N?(I=Math.min(I,N),R=!1):R=!0}R||(L=F,b=B),O.push(B)}var q=[S,T,_],j=[x,C,A];f&&(f[0]=q,f[1]=j),v===0&&(v=1);var $=1/v;isFinite(I)||(I=1),w.vectorScale=I;var U=s.coneSize||.5;s.absoluteConeSize&&(U=s.absoluteConeSize*$),w.coneScale=U,D=0;for(var G=0;D=1},T.isTransparent=function(){return this.opacity<1},T.pickSlots=1,T.setPickBase=function(A){this.pickId=A},T.update=function(A){A=A||{};var L=this.gl;this.dirty=!0,"lightPosition"in A&&(this.lightPosition=A.lightPosition),"opacity"in A&&(this.opacity=A.opacity),"ambient"in A&&(this.ambientLight=A.ambient),"diffuse"in A&&(this.diffuseLight=A.diffuse),"specular"in A&&(this.specularLight=A.specular),"roughness"in A&&(this.roughness=A.roughness),"fresnel"in A&&(this.fresnel=A.fresnel),A.tubeScale!==void 0&&(this.tubeScale=A.tubeScale),A.vectorScale!==void 0&&(this.vectorScale=A.vectorScale),A.coneScale!==void 0&&(this.coneScale=A.coneScale),A.coneOffset!==void 0&&(this.coneOffset=A.coneOffset),A.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=L.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=L.LINEAR,this.texture.setPixels(function(ue){for(var ce=v({colormap:ue,nshades:256,format:"rgba"}),ye=new Uint8Array(1024),de=0;de<256;++de){for(var me=ce[de],pe=0;pe<3;++pe)ye[4*de+pe]=me[pe];ye[4*de+3]=255*me[3]}return w(ye,[256,256,4],[4,0,1])}(A.colormap)),this.texture.generateMipmap());var b=A.cells,O=A.positions,I=A.vectors;if(O&&b&&I){var R=[],D=[],F=[],B=[],N=[];this.cells=b,this.positions=O,this.vectors=I;var q=A.meshColor||[1,1,1,1],j=A.vertexIntensity,$=1/0,U=-1/0;if(j)if(A.vertexIntensityBounds)$=+A.vertexIntensityBounds[0],U=+A.vertexIntensityBounds[1];else for(var G=0;G0){var $=this.triShader;$.bind(),$.uniforms=F,this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},T.drawPick=function(A){A=A||{};for(var L=this.gl,b=A.model||S,O=A.view||S,I=A.projection||S,R=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],D=0;D<3;++D)R[0][D]=Math.max(R[0][D],this.clipBounds[0][D]),R[1][D]=Math.min(R[1][D],this.clipBounds[1][D]);this._model=[].slice.call(b),this._view=[].slice.call(O),this._projection=[].slice.call(I),this._resolution=[L.drawingBufferWidth,L.drawingBufferHeight];var F={model:b,view:O,projection:I,clipBounds:R,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},B=this.pickShader;B.bind(),B.uniforms=F,this.triangleCount>0&&(this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},T.pick=function(A){if(!A||A.id!==this.pickId)return null;var L=A.value[0]+256*A.value[1]+65536*A.value[2],b=this.cells[L],O=this.positions[b[1]].slice(0,3),I={position:O,dataCoordinate:O,index:Math.floor(b[1]/48)};return this.traceType==="cone"?I.index=Math.floor(b[1]/48):this.traceType==="streamtube"&&(I.intensity=this.intensity[b[1]],I.velocity=this.vectors[b[1]].slice(0,3),I.divergence=this.vectors[b[1]][3],I.index=L),I},T.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},h.exports=function(A,L,b){var O=b.shaders;arguments.length===1&&(A=(L=A).gl);var I=C(A,O),R=_(A,O),D=f(A,w(new Uint8Array([255,255,255,255]),[1,1,4]));D.generateMipmap(),D.minFilter=A.LINEAR_MIPMAP_LINEAR,D.magFilter=A.LINEAR;var F=o(A),B=o(A),N=o(A),q=o(A),j=o(A),$=s(A,[{buffer:F,type:A.FLOAT,size:4},{buffer:j,type:A.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:N,type:A.FLOAT,size:4},{buffer:q,type:A.FLOAT,size:2},{buffer:B,type:A.FLOAT,size:4}]),U=new x(A,D,I,R,F,B,j,N,q,$,b.traceType||"cone");return U.update(L),U}},7234:function(h,l,a){var u=a(6832),o=u([`precision highp float; +}`]);l.bg=function(S){return o(S,w,v,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},9557:function(h,l,a){h.exports=function(x,T,C,_,A,L){var b=u(x),P=o(x,[{buffer:b,size:3}]),I=c(x);I.attributes.position.location=0;var R=new w(x,I,b,P);return R.update(T,C,_,A,L),R};var u=a(5827),o=a(2944),s=a(875),c=a(1943).f,f=window||y.global||{},p=f.__TEXT_CACHE||{};function w(x,T,C,_){this.gl=x,this.shader=T,this.buffer=C,this.vao=_,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}f.__TEXT_CACHE={};var v=w.prototype,S=[0,0];v.bind=function(x,T,C,_){this.vao.bind(),this.shader.bind();var A=this.shader.uniforms;A.model=x,A.view=T,A.projection=C,A.pixelScale=_,S[0]=this.gl.drawingBufferWidth,S[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=S},v.unbind=function(){this.vao.unbind()},v.update=function(x,T,C,_,A){var L=[];function b(W,j,Y,U,G,q){var H=p[Y];H||(H=p[Y]={});var ne=H[j];ne||(ne=H[j]=function(ce,ye){try{return s(ce,ye)}catch(de){return console.warn('error vectorizing text:"'+ce+'" error:',de),{cells:[],positions:[]}}}(j,{triangles:!0,font:Y,textAlign:"center",textBaseline:"middle",lineSpacing:G,styletags:q}));for(var te=(U||12)/12,Z=ne.positions,X=ne.cells,Q=0,re=X.length;Q=0;--oe){var ue=Z[ie[oe]];L.push(te*ue[0],-te*ue[1],W)}}for(var P=[0,0,0],I=[0,0,0],R=[0,0,0],D=[0,0,0],F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){R[B]=L.length/3|0,b(.5*(x[0][B]+x[1][B]),T[B],C[B],12,1.25,F),D[B]=(L.length/3|0)-R[B],P[B]=L.length/3|0;for(var N=0;N<_[B].length;++N)_[B][N].text&&b(_[B][N].x,_[B][N].text,_[B][N].font||A,_[B][N].fontSize||12,1.25,F);I[B]=(L.length/3|0)-P[B]}this.buffer.update(L),this.tickOffset=P,this.tickCount=I,this.labelOffset=R,this.labelCount=D},v.drawTicks=function(x,T,C,_,A,L,b,P){this.tickCount[x]&&(this.shader.uniforms.axis=L,this.shader.uniforms.color=A,this.shader.uniforms.angle=C,this.shader.uniforms.scale=T,this.shader.uniforms.offset=_,this.shader.uniforms.alignDir=b,this.shader.uniforms.alignOpt=P,this.vao.draw(this.gl.TRIANGLES,this.tickCount[x],this.tickOffset[x]))},v.drawLabel=function(x,T,C,_,A,L,b,P){this.labelCount[x]&&(this.shader.uniforms.axis=L,this.shader.uniforms.color=A,this.shader.uniforms.angle=C,this.shader.uniforms.scale=T,this.shader.uniforms.offset=_,this.shader.uniforms.alignDir=b,this.shader.uniforms.alignOpt=P,this.vao.draw(this.gl.TRIANGLES,this.labelCount[x],this.labelOffset[x]))},v.dispose=function(){this.shader.dispose(),this.vao.dispose(),this.buffer.dispose()}},8468:function(h,l){function a(u,o){var s=u+"",c=s.indexOf("."),f=0;c>=0&&(f=s.length-c-1);var p=Math.pow(10,f),w=Math.round(u*o*p),v=w+"";if(v.indexOf("e")>=0)return v;var S=w/p,x=w%p;w<0?(S=0|-Math.ceil(S),x=0|-x):(S=0|Math.floor(S),x|=0);var T=""+S;if(w<0&&(T="-"+T),f){for(var C=""+x;C.length=u[0][c];--p)f.push({x:p*o[c],text:a(o[c],p)});s.push(f)}return s},l.equal=function(u,o){for(var s=0;s<3;++s){if(u[s].length!==o[s].length)return!1;for(var c=0;cT)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return S.bufferSubData(x,A,_),T}function v(S,x){for(var T=u.malloc(S.length,x),C=S.length,_=0;_=0;--I){if(b[I]!==P)return!1;P*=L[I]}return!0}(S.shape,S.stride))S.offset===0&&S.data.length===S.shape[0]?this.length=w(this.gl,this.type,this.length,this.usage,S.data,x):this.length=w(this.gl,this.type,this.length,this.usage,S.data.subarray(S.offset,S.shape[0]),x);else{var C=u.malloc(S.size,T),_=s(C,S.shape);o.assign(_,S),this.length=w(this.gl,this.type,this.length,this.usage,x<0?C:C.subarray(0,S.size),x),u.free(C)}}else if(Array.isArray(S)){var A;A=this.type===this.gl.ELEMENT_ARRAY_BUFFER?v(S,"uint16"):v(S,"float32"),this.length=w(this.gl,this.type,this.length,this.usage,x<0?A:A.subarray(0,S.length),x),u.free(A)}else if(typeof S=="object"&&typeof S.length=="number")this.length=w(this.gl,this.type,this.length,this.usage,S,x);else{if(typeof S!="number"&&S!==void 0)throw new Error("gl-buffer: Invalid data type");if(x>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(S|=0)<=0&&(S=1),this.gl.bufferData(this.type,0|S,this.usage),this.length=S}},h.exports=function(S,x,T,C){if(T=T||S.ARRAY_BUFFER,C=C||S.DYNAMIC_DRAW,T!==S.ARRAY_BUFFER&&T!==S.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(C!==S.DYNAMIC_DRAW&&C!==S.STATIC_DRAW&&C!==S.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var _=S.createBuffer(),A=new f(S,T,_,0,C);return A.update(x),A}},1140:function(h,l,a){var u=a(2858);h.exports=function(s,c){var f=s.positions,p=s.vectors,w={positions:[],vertexIntensity:[],vertexIntensityBounds:s.vertexIntensityBounds,vectors:[],cells:[],coneOffset:s.coneOffset,colormap:s.colormap};if(s.positions.length===0)return c&&(c[0]=[0,0,0],c[1]=[0,0,0]),w;for(var v=0,S=1/0,x=-1/0,T=1/0,C=-1/0,_=1/0,A=-1/0,L=null,b=null,P=[],I=1/0,R=!1,D=0;Dv&&(v=u.length(B)),D){var N=2*u.distance(L,F)/(u.length(b)+u.length(B));N?(I=Math.min(I,N),R=!1):R=!0}R||(L=F,b=B),P.push(B)}var W=[S,T,_],j=[x,C,A];c&&(c[0]=W,c[1]=j),v===0&&(v=1);var Y=1/v;isFinite(I)||(I=1),w.vectorScale=I;var U=s.coneSize||.5;s.absoluteConeSize&&(U=s.absoluteConeSize*Y),w.coneScale=U,D=0;for(var G=0;D=1},T.isTransparent=function(){return this.opacity<1},T.pickSlots=1,T.setPickBase=function(A){this.pickId=A},T.update=function(A){A=A||{};var L=this.gl;this.dirty=!0,"lightPosition"in A&&(this.lightPosition=A.lightPosition),"opacity"in A&&(this.opacity=A.opacity),"ambient"in A&&(this.ambientLight=A.ambient),"diffuse"in A&&(this.diffuseLight=A.diffuse),"specular"in A&&(this.specularLight=A.specular),"roughness"in A&&(this.roughness=A.roughness),"fresnel"in A&&(this.fresnel=A.fresnel),A.tubeScale!==void 0&&(this.tubeScale=A.tubeScale),A.vectorScale!==void 0&&(this.vectorScale=A.vectorScale),A.coneScale!==void 0&&(this.coneScale=A.coneScale),A.coneOffset!==void 0&&(this.coneOffset=A.coneOffset),A.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=L.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=L.LINEAR,this.texture.setPixels(function(ue){for(var ce=v({colormap:ue,nshades:256,format:"rgba"}),ye=new Uint8Array(1024),de=0;de<256;++de){for(var me=ce[de],pe=0;pe<3;++pe)ye[4*de+pe]=me[pe];ye[4*de+3]=255*me[3]}return w(ye,[256,256,4],[4,0,1])}(A.colormap)),this.texture.generateMipmap());var b=A.cells,P=A.positions,I=A.vectors;if(P&&b&&I){var R=[],D=[],F=[],B=[],N=[];this.cells=b,this.positions=P,this.vectors=I;var W=A.meshColor||[1,1,1,1],j=A.vertexIntensity,Y=1/0,U=-1/0;if(j)if(A.vertexIntensityBounds)Y=+A.vertexIntensityBounds[0],U=+A.vertexIntensityBounds[1];else for(var G=0;G0){var Y=this.triShader;Y.bind(),Y.uniforms=F,this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},T.drawPick=function(A){A=A||{};for(var L=this.gl,b=A.model||S,P=A.view||S,I=A.projection||S,R=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],D=0;D<3;++D)R[0][D]=Math.max(R[0][D],this.clipBounds[0][D]),R[1][D]=Math.min(R[1][D],this.clipBounds[1][D]);this._model=[].slice.call(b),this._view=[].slice.call(P),this._projection=[].slice.call(I),this._resolution=[L.drawingBufferWidth,L.drawingBufferHeight];var F={model:b,view:P,projection:I,clipBounds:R,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},B=this.pickShader;B.bind(),B.uniforms=F,this.triangleCount>0&&(this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},T.pick=function(A){if(!A||A.id!==this.pickId)return null;var L=A.value[0]+256*A.value[1]+65536*A.value[2],b=this.cells[L],P=this.positions[b[1]].slice(0,3),I={position:P,dataCoordinate:P,index:Math.floor(b[1]/48)};return this.traceType==="cone"?I.index=Math.floor(b[1]/48):this.traceType==="streamtube"&&(I.intensity=this.intensity[b[1]],I.velocity=this.vectors[b[1]].slice(0,3),I.divergence=this.vectors[b[1]][3],I.index=L),I},T.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},h.exports=function(A,L,b){var P=b.shaders;arguments.length===1&&(A=(L=A).gl);var I=C(A,P),R=_(A,P),D=c(A,w(new Uint8Array([255,255,255,255]),[1,1,4]));D.generateMipmap(),D.minFilter=A.LINEAR_MIPMAP_LINEAR,D.magFilter=A.LINEAR;var F=o(A),B=o(A),N=o(A),W=o(A),j=o(A),Y=s(A,[{buffer:F,type:A.FLOAT,size:4},{buffer:j,type:A.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:N,type:A.FLOAT,size:4},{buffer:W,type:A.FLOAT,size:2},{buffer:B,type:A.FLOAT,size:4}]),U=new x(A,D,I,R,F,B,j,N,W,Y,b.traceType||"cone");return U.update(L),U}},7234:function(h,l,a){var u=a(6832),o=u([`precision highp float; precision highp float; #define GLSLIFY 1 @@ -601,7 +601,7 @@ void main() { gl_FragColor = litColor * opacity; } -`]),f=u([`precision highp float; +`]),c=u([`precision highp float; precision highp float; #define GLSLIFY 1 @@ -700,7 +700,7 @@ void main() { f_id = id; f_position = position.xyz; } -`]),c=u([`precision highp float; +`]),f=u([`precision highp float; #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -733,7 +733,7 @@ void main() { if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; gl_FragColor = vec4(pickId, f_id.xyz); -}`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},l.pickShader={vertex:f,fragment:c,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(h){h.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(h,l,a){var u=a(1950);h.exports=function(o){return u[o]}},3110:function(h,l,a){h.exports=function(x){var T=x.gl,C=u(T),_=o(T,[{buffer:C,type:T.FLOAT,size:3,offset:0,stride:40},{buffer:C,type:T.FLOAT,size:4,offset:12,stride:40},{buffer:C,type:T.FLOAT,size:3,offset:28,stride:40}]),A=s(T);A.attributes.position.location=0,A.attributes.color.location=1,A.attributes.offset.location=2;var L=new c(T,C,_,A);return L.update(x),L};var u=a(5827),o=a(2944),s=a(7667),f=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function c(x,T,C,_){this.gl=x,this.shader=_,this.buffer=T,this.vao=C,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var p=c.prototype;function w(x,T){for(var C=0;C<3;++C)x[0][C]=Math.min(x[0][C],T[C]),x[1][C]=Math.max(x[1][C],T[C])}p.isOpaque=function(){return!this.hasAlpha},p.isTransparent=function(){return this.hasAlpha},p.drawTransparent=p.draw=function(x){var T=this.gl,C=this.shader.uniforms;this.shader.bind();var _=C.view=x.view||f,A=C.projection=x.projection||f;C.model=x.model||f,C.clipBounds=this.clipBounds,C.opacity=this.opacity;var L=_[12],b=_[13],O=_[14],I=_[15],R=(x._ortho?2:1)*this.pixelRatio*(A[3]*L+A[7]*b+A[11]*O+A[15]*I)/T.drawingBufferHeight;this.vao.bind();for(var D=0;D<3;++D)T.lineWidth(this.lineWidth[D]*this.pixelRatio),C.capSize=this.capSize[D]*R,this.lineCount[D]&&T.drawArrays(T.LINES,this.lineOffset[D],this.lineCount[D]);this.vao.unbind()};var v=function(){for(var x=new Array(3),T=0;T<3;++T){for(var C=[],_=1;_<=2;++_)for(var A=-1;A<=1;A+=2){var L=[0,0,0];L[(_+T)%3]=A,C.push(L)}x[T]=C}return x}();function S(x,T,C,_){for(var A=v[_],L=0;L0&&((F=R.slice())[O]+=B[1][O],A.push(R[0],R[1],R[2],N[0],N[1],N[2],N[3],0,0,0,F[0],F[1],F[2],N[0],N[1],N[2],N[3],0,0,0),w(this.bounds,F),b+=2+S(A,F,N,O)))}this.lineCount[O]=b-this.lineOffset[O]}this.buffer.update(A)}},p.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},7667:function(h,l,a){var u=a(6832),o=a(5158),s=u([`precision highp float; +}`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},l.pickShader={vertex:c,fragment:f,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(h){h.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(h,l,a){var u=a(1950);h.exports=function(o){return u[o]}},3110:function(h,l,a){h.exports=function(x){var T=x.gl,C=u(T),_=o(T,[{buffer:C,type:T.FLOAT,size:3,offset:0,stride:40},{buffer:C,type:T.FLOAT,size:4,offset:12,stride:40},{buffer:C,type:T.FLOAT,size:3,offset:28,stride:40}]),A=s(T);A.attributes.position.location=0,A.attributes.color.location=1,A.attributes.offset.location=2;var L=new f(T,C,_,A);return L.update(x),L};var u=a(5827),o=a(2944),s=a(7667),c=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function f(x,T,C,_){this.gl=x,this.shader=_,this.buffer=T,this.vao=C,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var p=f.prototype;function w(x,T){for(var C=0;C<3;++C)x[0][C]=Math.min(x[0][C],T[C]),x[1][C]=Math.max(x[1][C],T[C])}p.isOpaque=function(){return!this.hasAlpha},p.isTransparent=function(){return this.hasAlpha},p.drawTransparent=p.draw=function(x){var T=this.gl,C=this.shader.uniforms;this.shader.bind();var _=C.view=x.view||c,A=C.projection=x.projection||c;C.model=x.model||c,C.clipBounds=this.clipBounds,C.opacity=this.opacity;var L=_[12],b=_[13],P=_[14],I=_[15],R=(x._ortho?2:1)*this.pixelRatio*(A[3]*L+A[7]*b+A[11]*P+A[15]*I)/T.drawingBufferHeight;this.vao.bind();for(var D=0;D<3;++D)T.lineWidth(this.lineWidth[D]*this.pixelRatio),C.capSize=this.capSize[D]*R,this.lineCount[D]&&T.drawArrays(T.LINES,this.lineOffset[D],this.lineCount[D]);this.vao.unbind()};var v=function(){for(var x=new Array(3),T=0;T<3;++T){for(var C=[],_=1;_<=2;++_)for(var A=-1;A<=1;A+=2){var L=[0,0,0];L[(_+T)%3]=A,C.push(L)}x[T]=C}return x}();function S(x,T,C,_){for(var A=v[_],L=0;L0&&((F=R.slice())[P]+=B[1][P],A.push(R[0],R[1],R[2],N[0],N[1],N[2],N[3],0,0,0,F[0],F[1],F[2],N[0],N[1],N[2],N[3],0,0,0),w(this.bounds,F),b+=2+S(A,F,N,P)))}this.lineCount[P]=b-this.lineOffset[P]}this.buffer.update(A)}},p.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},7667:function(h,l,a){var u=a(6832),o=a(5158),s=u([`precision highp float; #define GLSLIFY 1 attribute vec3 position, offset; @@ -749,7 +749,7 @@ void main() { gl_Position = projection * view * worldPosition; fragColor = color; fragPosition = position; -}`]),f=u([`precision highp float; +}`]),c=u([`precision highp float; #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -784,13 +784,13 @@ void main() { ) discard; gl_FragColor = opacity * fragColor; -}`]);h.exports=function(c){return o(c,s,f,null,[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"offset",type:"vec3"}])}},4234:function(h,l,a){var u=a(8931);h.exports=function(L,b,O,I){o||(o=L.FRAMEBUFFER_UNSUPPORTED,s=L.FRAMEBUFFER_INCOMPLETE_ATTACHMENT,f=L.FRAMEBUFFER_INCOMPLETE_DIMENSIONS,c=L.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT);var R=L.getExtension("WEBGL_draw_buffers");if(!p&&R&&function($,U){var G=$.getParameter(U.MAX_COLOR_ATTACHMENTS_WEBGL);p=new Array(G+1);for(var W=0;W<=G;++W){for(var H=new Array(G),ne=0;neD||O<0||O>D)throw new Error("gl-fbo: Parameters are too large for FBO");var F=1;if("color"in(I=I||{})){if((F=Math.max(0|I.color,0))<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(F>1){if(!R)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(F>L.getParameter(R.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+F+" draw buffers")}}var B=L.UNSIGNED_BYTE,N=L.getExtension("OES_texture_float");if(I.float&&F>0){if(!N)throw new Error("gl-fbo: Context does not support floating point textures");B=L.FLOAT}else I.preferFloat&&F>0&&N&&(B=L.FLOAT);var q=!0;"depth"in I&&(q=!!I.depth);var j=!1;return"stencil"in I&&(j=!!I.stencil),new C(L,b,O,B,F,q,j,R)};var o,s,f,c,p=null;function w(L){return[L.getParameter(L.FRAMEBUFFER_BINDING),L.getParameter(L.RENDERBUFFER_BINDING),L.getParameter(L.TEXTURE_BINDING_2D)]}function v(L,b){L.bindFramebuffer(L.FRAMEBUFFER,b[0]),L.bindRenderbuffer(L.RENDERBUFFER,b[1]),L.bindTexture(L.TEXTURE_2D,b[2])}function S(L){switch(L){case o:throw new Error("gl-fbo: Framebuffer unsupported");case s:throw new Error("gl-fbo: Framebuffer incomplete attachment");case f:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case c:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function x(L,b,O,I,R,D){if(!I)return null;var F=u(L,b,O,R,I);return F.magFilter=L.NEAREST,F.minFilter=L.NEAREST,F.mipSamples=1,F.bind(),L.framebufferTexture2D(L.FRAMEBUFFER,D,L.TEXTURE_2D,F.handle,0),F}function T(L,b,O,I,R){var D=L.createRenderbuffer();return L.bindRenderbuffer(L.RENDERBUFFER,D),L.renderbufferStorage(L.RENDERBUFFER,I,b,O),L.framebufferRenderbuffer(L.FRAMEBUFFER,R,L.RENDERBUFFER,D),D}function C(L,b,O,I,R,D,F,B){this.gl=L,this._shape=[0|b,0|O],this._destroyed=!1,this._ext=B,this.color=new Array(R);for(var N=0;N1&&Z.drawBuffersWEBGL(p[te]);var oe=G.getExtension("WEBGL_depth_texture");oe?X?$.depth=x(G,H,ne,oe.UNSIGNED_INT_24_8_WEBGL,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q&&($.depth=x(G,H,ne,G.UNSIGNED_SHORT,G.DEPTH_COMPONENT,G.DEPTH_ATTACHMENT)):Q&&X?$._depth_rb=T(G,H,ne,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q?$._depth_rb=T(G,H,ne,G.DEPTH_COMPONENT16,G.DEPTH_ATTACHMENT):X&&($._depth_rb=T(G,H,ne,G.STENCIL_INDEX,G.STENCIL_ATTACHMENT));var ue=G.checkFramebufferStatus(G.FRAMEBUFFER);if(ue!==G.FRAMEBUFFER_COMPLETE){for($._destroyed=!0,G.bindFramebuffer(G.FRAMEBUFFER,null),G.deleteFramebuffer($.handle),$.handle=null,$.depth&&($.depth.dispose(),$.depth=null),$._depth_rb&&(G.deleteRenderbuffer($._depth_rb),$._depth_rb=null),ie=0;ie<$.color.length;++ie)$.color[ie].dispose(),$.color[ie]=null;$._color_rb&&(G.deleteRenderbuffer($._color_rb),$._color_rb=null),v(G,U),S(ue)}v(G,U)}(this)}var _=C.prototype;function A(L,b,O){if(L._destroyed)throw new Error("gl-fbo: Can't resize destroyed FBO");if(L._shape[0]!==b||L._shape[1]!==O){var I=L.gl,R=I.getParameter(I.MAX_RENDERBUFFER_SIZE);if(b<0||b>R||O<0||O>R)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");L._shape[0]=b,L._shape[1]=O;for(var D=w(I),F=0;FD||P<0||P>D)throw new Error("gl-fbo: Parameters are too large for FBO");var F=1;if("color"in(I=I||{})){if((F=Math.max(0|I.color,0))<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(F>1){if(!R)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(F>L.getParameter(R.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+F+" draw buffers")}}var B=L.UNSIGNED_BYTE,N=L.getExtension("OES_texture_float");if(I.float&&F>0){if(!N)throw new Error("gl-fbo: Context does not support floating point textures");B=L.FLOAT}else I.preferFloat&&F>0&&N&&(B=L.FLOAT);var W=!0;"depth"in I&&(W=!!I.depth);var j=!1;return"stencil"in I&&(j=!!I.stencil),new C(L,b,P,B,F,W,j,R)};var o,s,c,f,p=null;function w(L){return[L.getParameter(L.FRAMEBUFFER_BINDING),L.getParameter(L.RENDERBUFFER_BINDING),L.getParameter(L.TEXTURE_BINDING_2D)]}function v(L,b){L.bindFramebuffer(L.FRAMEBUFFER,b[0]),L.bindRenderbuffer(L.RENDERBUFFER,b[1]),L.bindTexture(L.TEXTURE_2D,b[2])}function S(L){switch(L){case o:throw new Error("gl-fbo: Framebuffer unsupported");case s:throw new Error("gl-fbo: Framebuffer incomplete attachment");case c:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case f:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function x(L,b,P,I,R,D){if(!I)return null;var F=u(L,b,P,R,I);return F.magFilter=L.NEAREST,F.minFilter=L.NEAREST,F.mipSamples=1,F.bind(),L.framebufferTexture2D(L.FRAMEBUFFER,D,L.TEXTURE_2D,F.handle,0),F}function T(L,b,P,I,R){var D=L.createRenderbuffer();return L.bindRenderbuffer(L.RENDERBUFFER,D),L.renderbufferStorage(L.RENDERBUFFER,I,b,P),L.framebufferRenderbuffer(L.FRAMEBUFFER,R,L.RENDERBUFFER,D),D}function C(L,b,P,I,R,D,F,B){this.gl=L,this._shape=[0|b,0|P],this._destroyed=!1,this._ext=B,this.color=new Array(R);for(var N=0;N1&&Z.drawBuffersWEBGL(p[te]);var oe=G.getExtension("WEBGL_depth_texture");oe?X?Y.depth=x(G,H,ne,oe.UNSIGNED_INT_24_8_WEBGL,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q&&(Y.depth=x(G,H,ne,G.UNSIGNED_SHORT,G.DEPTH_COMPONENT,G.DEPTH_ATTACHMENT)):Q&&X?Y._depth_rb=T(G,H,ne,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q?Y._depth_rb=T(G,H,ne,G.DEPTH_COMPONENT16,G.DEPTH_ATTACHMENT):X&&(Y._depth_rb=T(G,H,ne,G.STENCIL_INDEX,G.STENCIL_ATTACHMENT));var ue=G.checkFramebufferStatus(G.FRAMEBUFFER);if(ue!==G.FRAMEBUFFER_COMPLETE){for(Y._destroyed=!0,G.bindFramebuffer(G.FRAMEBUFFER,null),G.deleteFramebuffer(Y.handle),Y.handle=null,Y.depth&&(Y.depth.dispose(),Y.depth=null),Y._depth_rb&&(G.deleteRenderbuffer(Y._depth_rb),Y._depth_rb=null),ie=0;ieR||P<0||P>R)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");L._shape[0]=b,L._shape[1]=P;for(var D=w(I),F=0;F>8*q&255;this.pickOffset=_,L.bind();var j=L.uniforms;j.viewTransform=T,j.pickOffset=C,j.shape=this.shape;var $=L.attributes;return this.positionBuffer.bind(),$.position.pointer(),this.weightBuffer.bind(),$.weight.pointer(I.UNSIGNED_BYTE,!1),this.idBuffer.bind(),$.pickId.pointer(I.UNSIGNED_BYTE,!1),I.drawArrays(I.TRIANGLES,0,O),_+this.shape[0]*this.shape[1]}}}(),S.pick=function(T,C,_){var A=this.pickOffset,L=this.shape[0]*this.shape[1];if(_=A+L)return null;var b=_-A,O=this.xData,I=this.yData;return{object:this,pointId:b,dataCoord:[O[b%this.shape[0]],I[b/this.shape[0]|0]]}},S.update=function(T){var C=(T=T||{}).shape||[0,0],_=T.x||o(C[0]),A=T.y||o(C[1]),L=T.z||new Float32Array(C[0]*C[1]),b=T.zsmooth!==!1;this.xData=_,this.yData=A;var O,I,R,D,F=T.colorLevels||[0],B=T.colorValues||[0,0,0,1],N=F.length,q=this.bounds;b?(O=q[0]=_[0],I=q[1]=A[0],R=q[2]=_[_.length-1],D=q[3]=A[A.length-1]):(O=q[0]=_[0]+(_[1]-_[0])/2,I=q[1]=A[0]+(A[1]-A[0])/2,R=q[2]=_[_.length-1]+(_[_.length-1]-_[_.length-2])/2,D=q[3]=A[A.length-1]+(A[A.length-1]-A[A.length-2])/2);var j=1/(R-O),$=1/(D-I),U=C[0],G=C[1];this.shape=[U,G];var W=(b?(U-1)*(G-1):U*G)*(x.length>>>1);this.numVertices=W;for(var H=s.mallocUint8(4*W),ne=s.mallocFloat32(2*W),te=s.mallocUint8(2*W),Z=s.mallocUint32(W),X=0,Q=b?U-1:U,re=b?G-1:G,ie=0;ie>8*W&255;this.pickOffset=_,L.bind();var j=L.uniforms;j.viewTransform=T,j.pickOffset=C,j.shape=this.shape;var Y=L.attributes;return this.positionBuffer.bind(),Y.position.pointer(),this.weightBuffer.bind(),Y.weight.pointer(I.UNSIGNED_BYTE,!1),this.idBuffer.bind(),Y.pickId.pointer(I.UNSIGNED_BYTE,!1),I.drawArrays(I.TRIANGLES,0,P),_+this.shape[0]*this.shape[1]}}}(),S.pick=function(T,C,_){var A=this.pickOffset,L=this.shape[0]*this.shape[1];if(_=A+L)return null;var b=_-A,P=this.xData,I=this.yData;return{object:this,pointId:b,dataCoord:[P[b%this.shape[0]],I[b/this.shape[0]|0]]}},S.update=function(T){var C=(T=T||{}).shape||[0,0],_=T.x||o(C[0]),A=T.y||o(C[1]),L=T.z||new Float32Array(C[0]*C[1]),b=T.zsmooth!==!1;this.xData=_,this.yData=A;var P,I,R,D,F=T.colorLevels||[0],B=T.colorValues||[0,0,0,1],N=F.length,W=this.bounds;b?(P=W[0]=_[0],I=W[1]=A[0],R=W[2]=_[_.length-1],D=W[3]=A[A.length-1]):(P=W[0]=_[0]+(_[1]-_[0])/2,I=W[1]=A[0]+(A[1]-A[0])/2,R=W[2]=_[_.length-1]+(_[_.length-1]-_[_.length-2])/2,D=W[3]=A[A.length-1]+(A[A.length-1]-A[A.length-2])/2);var j=1/(R-P),Y=1/(D-I),U=C[0],G=C[1];this.shape=[U,G];var q=(b?(U-1)*(G-1):U*G)*(x.length>>>1);this.numVertices=q;for(var H=s.mallocUint8(4*q),ne=s.mallocFloat32(2*q),te=s.mallocUint8(2*q),Z=s.mallocUint32(q),X=0,Q=b?U-1:U,re=b?G-1:G,ie=0;ie0){for(var re=0;re<24;++re)F.push(F[F.length-12]);j+=2,H=!0}continue e}$[0][R]=Math.min($[0][R],X[R],Q[R]),$[1][R]=Math.max($[1][R],X[R],Q[R])}Array.isArray(G[0])?(ne=G.length>I-1?G[I-1]:G.length>0?G[G.length-1]:[0,0,0,1],te=G.length>I?G[I]:G.length>0?G[G.length-1]:[0,0,0,1]):ne=te=G,ne.length===3&&(ne=[ne[0],ne[1],ne[2],1]),te.length===3&&(te=[te[0],te[1],te[2],1]),!this.hasAlpha&&ne[3]<1&&(this.hasAlpha=!0),Z=Array.isArray(W)?W.length>I-1?W[I-1]:W.length>0?W[W.length-1]:[0,0,0,1]:W;var ie=q;if(q+=C(X,Q),H){for(R=0;R<2;++R)F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3]);j+=2,H=!1}F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3],X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,-Z,ne[0],ne[1],ne[2],ne[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],q,-Z,te[0],te[1],te[2],te[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],q,Z,te[0],te[1],te[2],te[3]),j+=4}}if(this.buffer.update(F),B.push(q),N.push(U[U.length-1].slice()),this.bounds=$,this.vertexCount=j,this.points=N,this.arcLength=B,"dashes"in O){var oe=O.dashes.slice();for(oe.unshift(0),I=1;I1.0001)return null;R+=I[_]}return Math.abs(R-1)>.001?null:[A,c(p,I),I]}},2056:function(h,l,a){var u=a(6832),o=u([`precision highp float; +}`]),p=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];l.createShader=function(w){return o(w,s,c,null,p)},l.createPickShader=function(w){return o(w,s,f,null,p)}},6086:function(h,l,a){h.exports=function(P){var I=P.gl||P.scene&&P.scene.gl,R=S(I);R.attributes.position.location=0,R.attributes.nextPosition.location=1,R.attributes.arcLength.location=2,R.attributes.lineWidth.location=3,R.attributes.color.location=4;var D=x(I);D.attributes.position.location=0,D.attributes.nextPosition.location=1,D.attributes.arcLength.location=2,D.attributes.lineWidth.location=3,D.attributes.color.location=4;for(var F=u(I),B=o(I,[{buffer:F,size:3,offset:0,stride:48},{buffer:F,size:3,offset:12,stride:48},{buffer:F,size:1,offset:24,stride:48},{buffer:F,size:1,offset:28,stride:48},{buffer:F,size:4,offset:32,stride:48}]),N=w(new Array(1024),[256,1,4]),W=0;W<1024;++W)N.data[W]=255;var j=s(I,N);j.wrap=I.REPEAT;var Y=new L(I,R,D,F,B,j);return Y.update(P),Y};var u=a(5827),o=a(2944),s=a(8931),c=new Uint8Array(4),f=new Float32Array(c.buffer),p=a(5070),w=a(5050),v=a(248),S=v.createShader,x=v.createPickShader,T=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function C(P,I){for(var R=0,D=0;D<3;++D){var F=P[D]-I[D];R+=F*F}return Math.sqrt(R)}function _(P){for(var I=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],R=0;R<3;++R)I[0][R]=Math.max(P[0][R],I[0][R]),I[1][R]=Math.min(P[1][R],I[1][R]);return I}function A(P,I,R,D){this.arcLength=P,this.position=I,this.index=R,this.dataCoordinate=D}function L(P,I,R,D,F,B){this.gl=P,this.shader=I,this.pickShader=R,this.buffer=D,this.vao=F,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=B,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var b=L.prototype;b.isTransparent=function(){return this.hasAlpha},b.isOpaque=function(){return!this.hasAlpha},b.pickSlots=1,b.setPickBase=function(P){this.pickId=P},b.drawTransparent=b.draw=function(P){if(this.vertexCount){var I=this.gl,R=this.shader,D=this.vao;R.bind(),R.uniforms={model:P.model||T,view:P.view||T,projection:P.projection||T,clipBounds:_(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},D.bind(),D.draw(I.TRIANGLE_STRIP,this.vertexCount),D.unbind()}},b.drawPick=function(P){if(this.vertexCount){var I=this.gl,R=this.pickShader,D=this.vao;R.bind(),R.uniforms={model:P.model||T,view:P.view||T,projection:P.projection||T,pickId:this.pickId,clipBounds:_(this.clipBounds),screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},D.bind(),D.draw(I.TRIANGLE_STRIP,this.vertexCount),D.unbind()}},b.update=function(P){var I,R;this.dirty=!0;var D=!!P.connectGaps;"dashScale"in P&&(this.dashScale=P.dashScale),this.hasAlpha=!1,"opacity"in P&&(this.opacity=+P.opacity,this.opacity<1&&(this.hasAlpha=!0));var F=[],B=[],N=[],W=0,j=0,Y=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],U=P.position||P.positions;if(U){var G=P.color||P.colors||[0,0,0,1],q=P.lineWidth||1,H=!1;e:for(I=1;I0){for(var re=0;re<24;++re)F.push(F[F.length-12]);j+=2,H=!0}continue e}Y[0][R]=Math.min(Y[0][R],X[R],Q[R]),Y[1][R]=Math.max(Y[1][R],X[R],Q[R])}Array.isArray(G[0])?(ne=G.length>I-1?G[I-1]:G.length>0?G[G.length-1]:[0,0,0,1],te=G.length>I?G[I]:G.length>0?G[G.length-1]:[0,0,0,1]):ne=te=G,ne.length===3&&(ne=[ne[0],ne[1],ne[2],1]),te.length===3&&(te=[te[0],te[1],te[2],1]),!this.hasAlpha&&ne[3]<1&&(this.hasAlpha=!0),Z=Array.isArray(q)?q.length>I-1?q[I-1]:q.length>0?q[q.length-1]:[0,0,0,1]:q;var ie=W;if(W+=C(X,Q),H){for(R=0;R<2;++R)F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3]);j+=2,H=!1}F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3],X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,-Z,ne[0],ne[1],ne[2],ne[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,-Z,te[0],te[1],te[2],te[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,Z,te[0],te[1],te[2],te[3]),j+=4}}if(this.buffer.update(F),B.push(W),N.push(U[U.length-1].slice()),this.bounds=Y,this.vertexCount=j,this.points=N,this.arcLength=B,"dashes"in P){var oe=P.dashes.slice();for(oe.unshift(0),I=1;I1.0001)return null;R+=I[_]}return Math.abs(R-1)>.001?null:[A,f(p,I),I]}},2056:function(h,l,a){var u=a(6832),o=u([`precision highp float; #define GLSLIFY 1 attribute vec3 position, normal; @@ -1165,7 +1165,7 @@ void main() { gl_FragColor = litColor * f_color.a; } -`]),f=u([`precision highp float; +`]),c=u([`precision highp float; #define GLSLIFY 1 attribute vec3 position; @@ -1183,7 +1183,7 @@ void main() { f_color = color; f_data = position; f_uv = uv; -}`]),c=u([`precision highp float; +}`]),f=u([`precision highp float; #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -1385,7 +1385,7 @@ uniform vec3 contourColor; void main() { gl_FragColor = vec4(contourColor, 1.0); } -`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec3"},{name:"normal",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},l.wireShader={vertex:f,fragment:c,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},l.pointShader={vertex:p,fragment:w,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"pointSize",type:"float"}]},l.pickShader={vertex:v,fragment:S,attributes:[{name:"position",type:"vec3"},{name:"id",type:"vec4"}]},l.pointPickShader={vertex:x,fragment:S,attributes:[{name:"position",type:"vec3"},{name:"pointSize",type:"float"},{name:"id",type:"vec4"}]},l.contourShader={vertex:T,fragment:C,attributes:[{name:"position",type:"vec3"}]}},8116:function(h,l,a){var u=a(5158),o=a(5827),s=a(2944),f=a(8931),c=a(115),p=a(104),w=a(7437),v=a(5050),S=a(9156),x=a(7212),T=a(5306),C=a(2056),_=a(4340),A=C.meshShader,L=C.wireShader,b=C.pointShader,O=C.pickShader,I=C.pointPickShader,R=C.contourShader,D=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function F(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye,de,me,pe,xe,Pe,_e,Me,Se,Ce,ae,he,be,ke,Le,Be){this.gl=H,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=ne,this.dirty=!0,this.triShader=te,this.lineShader=Z,this.pointShader=X,this.pickShader=Q,this.pointPickShader=re,this.contourShader=ie,this.trianglePositions=oe,this.triangleColors=ce,this.triangleNormals=de,this.triangleUVs=ye,this.triangleIds=ue,this.triangleVAO=me,this.triangleCount=0,this.lineWidth=1,this.edgePositions=pe,this.edgeColors=Pe,this.edgeUVs=_e,this.edgeIds=xe,this.edgeVAO=Me,this.edgeCount=0,this.pointPositions=Se,this.pointColors=ae,this.pointUVs=he,this.pointSizes=be,this.pointIds=Ce,this.pointVAO=ke,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=Le,this.contourVAO=Be,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=D,this._view=D,this._projection=D,this._resolution=[1,1]}var B=F.prototype;function N(H,ne){if(!ne||!ne.length)return 1;for(var te=0;teH&&te>0){var Z=(ne[te][0]-H)/(ne[te][0]-ne[te-1][0]);return ne[te][1]*(1-Z)+Z*ne[te-1][1]}}return 1}function q(H){var ne=u(H,A.vertex,A.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.normal.location=4,ne}function j(H){var ne=u(H,L.vertex,L.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne}function $(H){var ne=u(H,b.vertex,b.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.pointSize.location=4,ne}function U(H){var ne=u(H,O.vertex,O.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne}function G(H){var ne=u(H,I.vertex,I.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne.attributes.pointSize.location=4,ne}function W(H){var ne=u(H,R.vertex,R.fragment);return ne.attributes.position.location=0,ne}B.isOpaque=function(){return!this.hasAlpha},B.isTransparent=function(){return this.hasAlpha},B.pickSlots=1,B.setPickBase=function(H){this.pickId=H},B.highlight=function(H){if(H&&this.contourEnable){for(var ne=x(this.cells,this.intensity,H.intensity),te=ne.cells,Z=ne.vertexIds,X=ne.vertexWeights,Q=te.length,re=T.mallocFloat32(6*Q),ie=0,oe=0;oe0&&((ue=this.triShader).bind(),ue.uniforms=ie,this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&this.lineWidth>0&&((ue=this.lineShader).bind(),ue.uniforms=ie,this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ue=this.pointShader).bind(),ue.uniforms=ie,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind()),this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((ue=this.contourShader).bind(),ue.uniforms=ie,this.contourVAO.bind(),ne.drawArrays(ne.LINES,0,this.contourCount),this.contourVAO.unbind())},B.drawPick=function(H){H=H||{};for(var ne=this.gl,te=H.model||D,Z=H.view||D,X=H.projection||D,Q=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],re=0;re<3;++re)Q[0][re]=Math.max(Q[0][re],this.clipBounds[0][re]),Q[1][re]=Math.min(Q[1][re],this.clipBounds[1][re]);this._model=[].slice.call(te),this._view=[].slice.call(Z),this._projection=[].slice.call(X),this._resolution=[ne.drawingBufferWidth,ne.drawingBufferHeight];var ie,oe={model:te,view:Z,projection:X,clipBounds:Q,pickId:this.pickId/255};(ie=this.pickShader).bind(),ie.uniforms=oe,this.triangleCount>0&&(this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ie=this.pointPickShader).bind(),ie.uniforms=oe,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind())},B.pick=function(H){if(!H||H.id!==this.pickId)return null;for(var ne=H.value[0]+256*H.value[1]+65536*H.value[2],te=this.cells[ne],Z=this.positions,X=new Array(te.length),Q=0;QH&&te>0){var Z=(ne[te][0]-H)/(ne[te][0]-ne[te-1][0]);return ne[te][1]*(1-Z)+Z*ne[te-1][1]}}return 1}function W(H){var ne=u(H,A.vertex,A.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.normal.location=4,ne}function j(H){var ne=u(H,L.vertex,L.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne}function Y(H){var ne=u(H,b.vertex,b.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.pointSize.location=4,ne}function U(H){var ne=u(H,P.vertex,P.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne}function G(H){var ne=u(H,I.vertex,I.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne.attributes.pointSize.location=4,ne}function q(H){var ne=u(H,R.vertex,R.fragment);return ne.attributes.position.location=0,ne}B.isOpaque=function(){return!this.hasAlpha},B.isTransparent=function(){return this.hasAlpha},B.pickSlots=1,B.setPickBase=function(H){this.pickId=H},B.highlight=function(H){if(H&&this.contourEnable){for(var ne=x(this.cells,this.intensity,H.intensity),te=ne.cells,Z=ne.vertexIds,X=ne.vertexWeights,Q=te.length,re=T.mallocFloat32(6*Q),ie=0,oe=0;oe0&&((ue=this.triShader).bind(),ue.uniforms=ie,this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&this.lineWidth>0&&((ue=this.lineShader).bind(),ue.uniforms=ie,this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ue=this.pointShader).bind(),ue.uniforms=ie,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind()),this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((ue=this.contourShader).bind(),ue.uniforms=ie,this.contourVAO.bind(),ne.drawArrays(ne.LINES,0,this.contourCount),this.contourVAO.unbind())},B.drawPick=function(H){H=H||{};for(var ne=this.gl,te=H.model||D,Z=H.view||D,X=H.projection||D,Q=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],re=0;re<3;++re)Q[0][re]=Math.max(Q[0][re],this.clipBounds[0][re]),Q[1][re]=Math.min(Q[1][re],this.clipBounds[1][re]);this._model=[].slice.call(te),this._view=[].slice.call(Z),this._projection=[].slice.call(X),this._resolution=[ne.drawingBufferWidth,ne.drawingBufferHeight];var ie,oe={model:te,view:Z,projection:X,clipBounds:Q,pickId:this.pickId/255};(ie=this.pickShader).bind(),ie.uniforms=oe,this.triangleCount>0&&(this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ie=this.pointPickShader).bind(),ie.uniforms=oe,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind())},B.pick=function(H){if(!H||H.id!==this.pickId)return null;for(var ne=H.value[0]+256*H.value[1]+65536*H.value[2],te=this.cells[ne],Z=this.positions,X=new Array(te.length),Q=0;QI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=v,b.uniforms.color=$[A],b.uniforms.angle=U[A],R.drawArrays(R.TRIANGLES,I[X],I[Q]-I[X]))),G[A]&&Z&&(v[1^A]-=re*N*W[A],b.uniforms.dataAxis=S,b.uniforms.screenOffset=v,b.uniforms.color=H[A],b.uniforms.angle=ne[A],R.drawArrays(R.TRIANGLES,te,Z)),v[1^A]=re*D[2+(1^A)]-1,q[A+2]&&(v[1^A]+=re*N*j[A+2],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=v,b.uniforms.color=$[A+2],b.uniforms.angle=U[A+2],R.drawArrays(R.TRIANGLES,I[X],I[Q]-I[X]))),G[A+2]&&Z&&(v[1^A]+=re*N*W[A+2],b.uniforms.dataAxis=S,b.uniforms.screenOffset=v,b.uniforms.color=H[A+2],b.uniforms.angle=ne[A+2],R.drawArrays(R.TRIANGLES,te,Z))}),_.drawTitle=function(){var A=[0,0],L=[0,0];return function(){var b=this.plot,O=this.shader,I=b.gl,R=b.screenBox,D=b.titleCenter,F=b.titleAngle,B=b.titleColor,N=b.pixelRatio;if(this.titleCount){for(var q=0;q<2;++q)L[q]=2*(D[q]*N-R[q])/(R[2+q]-R[q])-1;O.bind(),O.uniforms.dataAxis=A,O.uniforms.screenOffset=L,O.uniforms.angle=F,O.uniforms.color=B,I.drawArrays(I.TRIANGLES,this.titleOffset,this.titleCount)}}}(),_.bind=(x=[0,0],T=[0,0],C=[0,0],function(){var A=this.plot,L=this.shader,b=A._tickBounds,O=A.dataBox,I=A.screenBox,R=A.viewBox;L.bind();for(var D=0;D<2;++D){var F=b[D],B=b[D+2]-F,N=.5*(O[D+2]+O[D]),q=O[D+2]-O[D],j=R[D],$=R[D+2]-j,U=I[D],G=I[D+2]-U;T[D]=2*B/q*$/G,x[D]=2*(F-N)/q*$/G}C[1]=2*A.pixelRatio/(I[3]-I[1]),C[0]=C[1]*(I[3]-I[1])/(I[2]-I[0]),L.uniforms.dataScale=T,L.uniforms.dataShift=x,L.uniforms.textScale=C,this.vbo.bind(),L.attributes.textCoordinate.pointer()}),_.update=function(A){var L,b,O,I,R,D=[],F=A.ticks,B=A.bounds;for(R=0;R<2;++R){var N=[Math.floor(D.length/3)],q=[-1/0],j=F[R];for(L=0;L=0){var j=T[q]-_[q]*(T[q+2]-T[q])/(_[q+2]-_[q]);q===0?b.drawLine(j,T[1],j,T[3],N[q],B[q]):b.drawLine(T[0],j,T[2],j,N[q],B[q])}}for(q=0;q=0;--x)this.objects[x].dispose();for(this.objects.length=0,x=this.overlays.length-1;x>=0;--x)this.overlays[x].dispose();this.overlays.length=0,this.gl=null},w.addObject=function(x){this.objects.indexOf(x)<0&&(this.objects.push(x),this.setDirty())},w.removeObject=function(x){for(var T=this.objects,C=0;CMath.abs(I))x.rotate(F,0,0,-O*R*Math.PI*L.rotateSpeed/window.innerWidth);else if(!L._ortho){var B=-L.zoomSpeed*D*I/window.innerHeight*(F-x.lastT())/20;x.pan(F,0,0,C*(Math.exp(B)-1))}}},!0)},L.enableMouseListeners(),L};var u=a(8161),o=a(1152),s=a(6145),f=a(6475),c=a(2565),p=a(5233)},8245:function(h,l,a){var u=a(6832),o=a(5158),s=u([`precision mediump float; +`])}},5613:function(h,l,a){h.exports=function(A){var L=A.gl;return new p(A,u(L),o(L,f.textVert,f.textFrag))};var u=a(5827),o=a(5158),s=a(6946),c=a(5070),f=a(2709);function p(A,L,b){this.plot=A,this.vbo=L,this.shader=b,this.tickOffset=[[],[]],this.tickX=[[],[]],this.labelOffset=[0,0],this.labelCount=[0,0]}var w,v,S,x,T,C,_=p.prototype;_.drawTicks=(w=[0,0],v=[0,0],S=[0,0],function(A){var L=this.plot,b=this.shader,P=this.tickX[A],I=this.tickOffset[A],R=L.gl,D=L.viewBox,F=L.dataBox,B=L.screenBox,N=L.pixelRatio,W=L.tickEnable,j=L.tickPad,Y=L.tickColor,U=L.tickAngle,G=L.labelEnable,q=L.labelPad,H=L.labelColor,ne=L.labelAngle,te=this.labelOffset[A],Z=this.labelCount[A],X=c.lt(P,F[A]),Q=c.le(P,F[A+2]);w[0]=w[1]=0,w[A]=1,v[A]=(D[2+A]+D[A])/(B[2+A]-B[A])-1;var re=2/B[2+(1^A)]-B[1^A];v[1^A]=re*D[1^A]-1,W[A]&&(v[1^A]-=re*N*j[A],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=v,b.uniforms.color=Y[A],b.uniforms.angle=U[A],R.drawArrays(R.TRIANGLES,I[X],I[Q]-I[X]))),G[A]&&Z&&(v[1^A]-=re*N*q[A],b.uniforms.dataAxis=S,b.uniforms.screenOffset=v,b.uniforms.color=H[A],b.uniforms.angle=ne[A],R.drawArrays(R.TRIANGLES,te,Z)),v[1^A]=re*D[2+(1^A)]-1,W[A+2]&&(v[1^A]+=re*N*j[A+2],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=v,b.uniforms.color=Y[A+2],b.uniforms.angle=U[A+2],R.drawArrays(R.TRIANGLES,I[X],I[Q]-I[X]))),G[A+2]&&Z&&(v[1^A]+=re*N*q[A+2],b.uniforms.dataAxis=S,b.uniforms.screenOffset=v,b.uniforms.color=H[A+2],b.uniforms.angle=ne[A+2],R.drawArrays(R.TRIANGLES,te,Z))}),_.drawTitle=function(){var A=[0,0],L=[0,0];return function(){var b=this.plot,P=this.shader,I=b.gl,R=b.screenBox,D=b.titleCenter,F=b.titleAngle,B=b.titleColor,N=b.pixelRatio;if(this.titleCount){for(var W=0;W<2;++W)L[W]=2*(D[W]*N-R[W])/(R[2+W]-R[W])-1;P.bind(),P.uniforms.dataAxis=A,P.uniforms.screenOffset=L,P.uniforms.angle=F,P.uniforms.color=B,I.drawArrays(I.TRIANGLES,this.titleOffset,this.titleCount)}}}(),_.bind=(x=[0,0],T=[0,0],C=[0,0],function(){var A=this.plot,L=this.shader,b=A._tickBounds,P=A.dataBox,I=A.screenBox,R=A.viewBox;L.bind();for(var D=0;D<2;++D){var F=b[D],B=b[D+2]-F,N=.5*(P[D+2]+P[D]),W=P[D+2]-P[D],j=R[D],Y=R[D+2]-j,U=I[D],G=I[D+2]-U;T[D]=2*B/W*Y/G,x[D]=2*(F-N)/W*Y/G}C[1]=2*A.pixelRatio/(I[3]-I[1]),C[0]=C[1]*(I[3]-I[1])/(I[2]-I[0]),L.uniforms.dataScale=T,L.uniforms.dataShift=x,L.uniforms.textScale=C,this.vbo.bind(),L.attributes.textCoordinate.pointer()}),_.update=function(A){var L,b,P,I,R,D=[],F=A.ticks,B=A.bounds;for(R=0;R<2;++R){var N=[Math.floor(D.length/3)],W=[-1/0],j=F[R];for(L=0;L=0){var j=T[W]-_[W]*(T[W+2]-T[W])/(_[W+2]-_[W]);W===0?b.drawLine(j,T[1],j,T[3],N[W],B[W]):b.drawLine(T[0],j,T[2],j,N[W],B[W])}}for(W=0;W=0;--x)this.objects[x].dispose();for(this.objects.length=0,x=this.overlays.length-1;x>=0;--x)this.overlays[x].dispose();this.overlays.length=0,this.gl=null},w.addObject=function(x){this.objects.indexOf(x)<0&&(this.objects.push(x),this.setDirty())},w.removeObject=function(x){for(var T=this.objects,C=0;CMath.abs(I))x.rotate(F,0,0,-P*R*Math.PI*L.rotateSpeed/window.innerWidth);else if(!L._ortho){var B=-L.zoomSpeed*D*I/window.innerHeight*(F-x.lastT())/20;x.pan(F,0,0,C*(Math.exp(B)-1))}}},!0)},L.enableMouseListeners(),L};var u=a(8161),o=a(1152),s=a(6145),c=a(6475),f=a(2565),p=a(5233)},8245:function(h,l,a){var u=a(6832),o=a(5158),s=u([`precision mediump float; #define GLSLIFY 1 attribute vec2 position; varying vec2 uv; void main() { uv = position; gl_Position = vec4(position, 0, 1); -}`]),f=u([`precision mediump float; +}`]),c=u([`precision mediump float; #define GLSLIFY 1 uniform sampler2D accumBuffer; @@ -1483,7 +1483,7 @@ varying vec2 uv; void main() { vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0)); gl_FragColor = min(vec4(1,1,1,1), accum); -}`]);h.exports=function(c){return o(c,s,f,null,[{name:"position",type:"vec2"}])}},1059:function(h,l,a){var u=a(4296),o=a(7453),s=a(2771),f=a(6496),c=a(2611),p=a(4234),w=a(8126),v=a(6145),S=a(1120),x=a(5268),T=a(8245),C=a(2321)({tablet:!0,featureDetect:!0});function _(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function A(b){var O=Math.round(Math.log(Math.abs(b))/Math.log(10));if(O<0){var I=Math.round(Math.pow(10,-O));return Math.ceil(b*I)/I}return O>0?(I=Math.round(Math.pow(10,O)),Math.ceil(b/I)*I):Math.ceil(b)}function L(b){return typeof b!="boolean"||b}h.exports={createScene:function(b){(b=b||{}).camera=b.camera||{};var O=b.canvas;O||(O=document.createElement("canvas"),b.container?b.container.appendChild(O):document.body.appendChild(O));var I=b.gl;if(I||(b.glOptions&&(C=!!b.glOptions.preserveDrawingBuffer),I=function(Pe,_e){var Me=null;try{(Me=Pe.getContext("webgl",_e))||(Me=Pe.getContext("experimental-webgl",_e))}catch{return null}return Me}(O,b.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:C})),!I)throw new Error("webgl not supported");var R=b.bounds||[[-10,-10,-10],[10,10,10]],D=new _,F=p(I,I.drawingBufferWidth,I.drawingBufferHeight,{preferFloat:!C}),B=T(I),N=b.cameraObject&&b.cameraObject._ortho===!0||b.camera.projection&&b.camera.projection.type==="orthographic"||!1,q={eye:b.camera.eye||[2,0,0],center:b.camera.center||[0,0,0],up:b.camera.up||[0,1,0],zoomMin:b.camera.zoomMax||.1,zoomMax:b.camera.zoomMin||100,mode:b.camera.mode||"turntable",_ortho:N},j=b.axes||{},$=o(I,j);$.enable=!j.disable;var U=b.spikes||{},G=f(I,U),W=[],H=[],ne=[],te=[],Z=!0,X=!0,Q={view:null,projection:new Array(16),model:new Array(16),_ortho:!1},re=(X=!0,[I.drawingBufferWidth,I.drawingBufferHeight]),ie=b.cameraObject||u(O,q),oe={gl:I,contextLost:!1,pixelRatio:b.pixelRatio||1,canvas:O,selection:D,camera:ie,axes:$,axesPixels:null,spikes:G,bounds:R,objects:W,shape:re,aspect:b.aspectRatio||[1,1,1],pickRadius:b.pickRadius||10,zNear:b.zNear||.01,zFar:b.zFar||1e3,fovy:b.fovy||Math.PI/4,clearColor:b.clearColor||[0,0,0,0],autoResize:L(b.autoResize),autoBounds:L(b.autoBounds),autoScale:!!b.autoScale,autoCenter:L(b.autoCenter),clipToBounds:L(b.clipToBounds),snapToData:!!b.snapToData,onselect:b.onselect||null,onrender:b.onrender||null,onclick:b.onclick||null,cameraParams:Q,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(Pe){this.aspect[0]=Pe.x,this.aspect[1]=Pe.y,this.aspect[2]=Pe.z,X=!0},setBounds:function(Pe,_e){this.bounds[0][Pe]=_e.min,this.bounds[1][Pe]=_e.max},setClearColor:function(Pe){this.clearColor=Pe},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ue=[I.drawingBufferWidth/oe.pixelRatio|0,I.drawingBufferHeight/oe.pixelRatio|0];function ce(){if(!oe._stopped&&oe.autoResize){var Pe=O.parentNode,_e=1,Me=1;Pe&&Pe!==document.body?(_e=Pe.clientWidth,Me=Pe.clientHeight):(_e=window.innerWidth,Me=window.innerHeight);var Se=0|Math.ceil(_e*oe.pixelRatio),Ce=0|Math.ceil(Me*oe.pixelRatio);if(Se!==O.width||Ce!==O.height){O.width=Se,O.height=Ce;var ae=O.style;ae.position=ae.position||"absolute",ae.left="0px",ae.top="0px",ae.width=_e+"px",ae.height=Me+"px",Z=!0}}}function ye(){for(var Pe=W.length,_e=te.length,Me=0;Me<_e;++Me)ne[Me]=0;e:for(Me=0;Me0&&ne[_e-1]===0;)ne.pop(),te.pop().dispose()}function de(){if(oe.contextLost)return!0;I.isContextLost()&&(oe.contextLost=!0,oe.mouseListener.enabled=!1,oe.selection.object=null,oe.oncontextloss&&oe.oncontextloss())}oe.autoResize&&ce(),window.addEventListener("resize",ce),oe.update=function(Pe){oe._stopped||(Z=!0,X=!0)},oe.add=function(Pe){oe._stopped||(Pe.axes=$,W.push(Pe),H.push(-1),Z=!0,X=!0,ye())},oe.remove=function(Pe){if(!oe._stopped){var _e=W.indexOf(Pe);_e<0||(W.splice(_e,1),H.pop(),Z=!0,X=!0,ye())}},oe.dispose=function(){if(!oe._stopped&&(oe._stopped=!0,window.removeEventListener("resize",ce),O.removeEventListener("webglcontextlost",de),oe.mouseListener.enabled=!1,!oe.contextLost)){$.dispose(),G.dispose();for(var Pe=0;PeD.distance)continue;for(var Le=0;Le0?(I=Math.round(Math.pow(10,P)),Math.ceil(b/I)*I):Math.ceil(b)}function L(b){return typeof b!="boolean"||b}h.exports={createScene:function(b){(b=b||{}).camera=b.camera||{};var P=b.canvas;P||(P=document.createElement("canvas"),b.container?b.container.appendChild(P):document.body.appendChild(P));var I=b.gl;if(I||(b.glOptions&&(C=!!b.glOptions.preserveDrawingBuffer),I=function(Oe,_e){var Me=null;try{(Me=Oe.getContext("webgl",_e))||(Me=Oe.getContext("experimental-webgl",_e))}catch{return null}return Me}(P,b.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:C})),!I)throw new Error("webgl not supported");var R=b.bounds||[[-10,-10,-10],[10,10,10]],D=new _,F=p(I,I.drawingBufferWidth,I.drawingBufferHeight,{preferFloat:!C}),B=T(I),N=b.cameraObject&&b.cameraObject._ortho===!0||b.camera.projection&&b.camera.projection.type==="orthographic"||!1,W={eye:b.camera.eye||[2,0,0],center:b.camera.center||[0,0,0],up:b.camera.up||[0,1,0],zoomMin:b.camera.zoomMax||.1,zoomMax:b.camera.zoomMin||100,mode:b.camera.mode||"turntable",_ortho:N},j=b.axes||{},Y=o(I,j);Y.enable=!j.disable;var U=b.spikes||{},G=c(I,U),q=[],H=[],ne=[],te=[],Z=!0,X=!0,Q={view:null,projection:new Array(16),model:new Array(16),_ortho:!1},re=(X=!0,[I.drawingBufferWidth,I.drawingBufferHeight]),ie=b.cameraObject||u(P,W),oe={gl:I,contextLost:!1,pixelRatio:b.pixelRatio||1,canvas:P,selection:D,camera:ie,axes:Y,axesPixels:null,spikes:G,bounds:R,objects:q,shape:re,aspect:b.aspectRatio||[1,1,1],pickRadius:b.pickRadius||10,zNear:b.zNear||.01,zFar:b.zFar||1e3,fovy:b.fovy||Math.PI/4,clearColor:b.clearColor||[0,0,0,0],autoResize:L(b.autoResize),autoBounds:L(b.autoBounds),autoScale:!!b.autoScale,autoCenter:L(b.autoCenter),clipToBounds:L(b.clipToBounds),snapToData:!!b.snapToData,onselect:b.onselect||null,onrender:b.onrender||null,onclick:b.onclick||null,cameraParams:Q,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(Oe){this.aspect[0]=Oe.x,this.aspect[1]=Oe.y,this.aspect[2]=Oe.z,X=!0},setBounds:function(Oe,_e){this.bounds[0][Oe]=_e.min,this.bounds[1][Oe]=_e.max},setClearColor:function(Oe){this.clearColor=Oe},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ue=[I.drawingBufferWidth/oe.pixelRatio|0,I.drawingBufferHeight/oe.pixelRatio|0];function ce(){if(!oe._stopped&&oe.autoResize){var Oe=P.parentNode,_e=1,Me=1;Oe&&Oe!==document.body?(_e=Oe.clientWidth,Me=Oe.clientHeight):(_e=window.innerWidth,Me=window.innerHeight);var Se=0|Math.ceil(_e*oe.pixelRatio),Ce=0|Math.ceil(Me*oe.pixelRatio);if(Se!==P.width||Ce!==P.height){P.width=Se,P.height=Ce;var ae=P.style;ae.position=ae.position||"absolute",ae.left="0px",ae.top="0px",ae.width=_e+"px",ae.height=Me+"px",Z=!0}}}function ye(){for(var Oe=q.length,_e=te.length,Me=0;Me<_e;++Me)ne[Me]=0;e:for(Me=0;Me0&&ne[_e-1]===0;)ne.pop(),te.pop().dispose()}function de(){if(oe.contextLost)return!0;I.isContextLost()&&(oe.contextLost=!0,oe.mouseListener.enabled=!1,oe.selection.object=null,oe.oncontextloss&&oe.oncontextloss())}oe.autoResize&&ce(),window.addEventListener("resize",ce),oe.update=function(Oe){oe._stopped||(Z=!0,X=!0)},oe.add=function(Oe){oe._stopped||(Oe.axes=Y,q.push(Oe),H.push(-1),Z=!0,X=!0,ye())},oe.remove=function(Oe){if(!oe._stopped){var _e=q.indexOf(Oe);_e<0||(q.splice(_e,1),H.pop(),Z=!0,X=!0,ye())}},oe.dispose=function(){if(!oe._stopped&&(oe._stopped=!0,window.removeEventListener("resize",ce),P.removeEventListener("webglcontextlost",de),oe.mouseListener.enabled=!1,!oe.contextLost)){Y.dispose(),G.dispose();for(var Oe=0;OeD.distance)continue;for(var Le=0;Le>>1,_=S.positions instanceof Float32Array,A=S.idToIndex instanceof Int32Array&&S.idToIndex.length>=C,L=S.positions,b=_?L:s.mallocFloat32(L.length),O=A?S.idToIndex:s.mallocInt32(C);if(_||b.set(L),!A)for(b.set(L),x=0;x>>1;for(B=0;B=F[0]&&j<=F[2]&&$>=F[1]&&$<=F[3]&&N++}return N}(this.points,_),O=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(b,.33333)));p[0]=2/A,p[4]=2/L,p[6]=-2*_[0]/A-1,p[7]=-2*_[1]/L-1,this.offsetBuffer.bind(),T.bind(),T.attributes.position.pointer(),T.uniforms.matrix=p,T.uniforms.color=this.color,T.uniforms.borderColor=this.borderColor,T.uniforms.pointCloud=O<5,T.uniforms.pointSize=O,T.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),x&&(w[0]=255&S,w[1]=S>>8&255,w[2]=S>>16&255,w[3]=S>>24&255,this.pickBuffer.bind(),T.attributes.pickId.pointer(C.UNSIGNED_BYTE),T.uniforms.pickOffset=w,this.pickOffset=S);var I=C.getParameter(C.BLEND),R=C.getParameter(C.DITHER);return I&&!this.blend&&C.disable(C.BLEND),R&&C.disable(C.DITHER),C.drawArrays(C.POINTS,0,this.pointCount),I&&!this.blend&&C.enable(C.BLEND),R&&C.enable(C.DITHER),S+this.pointCount}),v.draw=v.unifiedDraw,v.drawPick=v.unifiedDraw,v.pick=function(S,x,T){var C=this.pickOffset,_=this.pointCount;if(T=C+_)return null;var A=T-C,L=this.points;return{object:this,pointId:A,dataCoord:[L[2*A],L[2*A+1]]}}},6093:function(h){h.exports=function(l,a,u,o){var s,f,c,p,w,v=a[0],S=a[1],x=a[2],T=a[3],C=u[0],_=u[1],A=u[2],L=u[3];return(f=v*C+S*_+x*A+T*L)<0&&(f=-f,C=-C,_=-_,A=-A,L=-L),1-f>1e-6?(s=Math.acos(f),c=Math.sin(s),p=Math.sin((1-o)*s)/c,w=Math.sin(o*s)/c):(p=1-o,w=o),l[0]=p*v+w*C,l[1]=p*S+w*_,l[2]=p*x+w*A,l[3]=p*T+w*L,l}},8240:function(h){h.exports=function(l){return l||l===0?l.toString():""}},4123:function(h,l,a){var u=a(875);h.exports=function(s,f,c){var p=o[f];if(p||(p=o[f]={}),s in p)return p[s];var w={textAlign:"center",textBaseline:"middle",lineHeight:1,font:f,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},v=u(s,w);w.triangles=!1;var S,x,T=u(s,w);if(c&&c!==1){for(S=0;S>>1,_=S.positions instanceof Float32Array,A=S.idToIndex instanceof Int32Array&&S.idToIndex.length>=C,L=S.positions,b=_?L:s.mallocFloat32(L.length),P=A?S.idToIndex:s.mallocInt32(C);if(_||b.set(L),!A)for(b.set(L),x=0;x>>1;for(B=0;B=F[0]&&j<=F[2]&&Y>=F[1]&&Y<=F[3]&&N++}return N}(this.points,_),P=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(b,.33333)));p[0]=2/A,p[4]=2/L,p[6]=-2*_[0]/A-1,p[7]=-2*_[1]/L-1,this.offsetBuffer.bind(),T.bind(),T.attributes.position.pointer(),T.uniforms.matrix=p,T.uniforms.color=this.color,T.uniforms.borderColor=this.borderColor,T.uniforms.pointCloud=P<5,T.uniforms.pointSize=P,T.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),x&&(w[0]=255&S,w[1]=S>>8&255,w[2]=S>>16&255,w[3]=S>>24&255,this.pickBuffer.bind(),T.attributes.pickId.pointer(C.UNSIGNED_BYTE),T.uniforms.pickOffset=w,this.pickOffset=S);var I=C.getParameter(C.BLEND),R=C.getParameter(C.DITHER);return I&&!this.blend&&C.disable(C.BLEND),R&&C.disable(C.DITHER),C.drawArrays(C.POINTS,0,this.pointCount),I&&!this.blend&&C.enable(C.BLEND),R&&C.enable(C.DITHER),S+this.pointCount}),v.draw=v.unifiedDraw,v.drawPick=v.unifiedDraw,v.pick=function(S,x,T){var C=this.pickOffset,_=this.pointCount;if(T=C+_)return null;var A=T-C,L=this.points;return{object:this,pointId:A,dataCoord:[L[2*A],L[2*A+1]]}}},6093:function(h){h.exports=function(l,a,u,o){var s,c,f,p,w,v=a[0],S=a[1],x=a[2],T=a[3],C=u[0],_=u[1],A=u[2],L=u[3];return(c=v*C+S*_+x*A+T*L)<0&&(c=-c,C=-C,_=-_,A=-A,L=-L),1-c>1e-6?(s=Math.acos(c),f=Math.sin(s),p=Math.sin((1-o)*s)/f,w=Math.sin(o*s)/f):(p=1-o,w=o),l[0]=p*v+w*C,l[1]=p*S+w*_,l[2]=p*x+w*A,l[3]=p*T+w*L,l}},8240:function(h){h.exports=function(l){return l||l===0?l.toString():""}},4123:function(h,l,a){var u=a(875);h.exports=function(s,c,f){var p=o[c];if(p||(p=o[c]={}),s in p)return p[s];var w={textAlign:"center",textBaseline:"middle",lineHeight:1,font:c,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},v=u(s,w);w.triangles=!1;var S,x,T=u(s,w);if(f&&f!==1){for(S=0;S1?1:H}function A(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye){this.gl=H,this.pixelRatio=1,this.shader=ne,this.orthoShader=te,this.projectShader=Z,this.pointBuffer=X,this.colorBuffer=Q,this.glyphBuffer=re,this.idBuffer=ie,this.vao=oe,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=ue,this.pickOrthoShader=ce,this.pickProjectShader=ye,this.points=[],this._selectResult=new C(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}h.exports=function(H){var ne=H.gl,te=p.createPerspective(ne),Z=p.createOrtho(ne),X=p.createProject(ne),Q=p.createPickPerspective(ne),re=p.createPickOrtho(ne),ie=p.createPickProject(ne),oe=o(ne),ue=o(ne),ce=o(ne),ye=o(ne),de=new A(ne,te,Z,X,oe,ue,ce,ye,s(ne,[{buffer:oe,size:3,type:ne.FLOAT},{buffer:ue,size:4,type:ne.FLOAT},{buffer:ce,size:2,type:ne.FLOAT},{buffer:ye,size:4,type:ne.UNSIGNED_BYTE,normalized:!0}]),Q,re,ie);return de.update(H),de};var L=A.prototype;L.pickSlots=1,L.setPickBase=function(H){this.pickId=H},L.isTransparent=function(){if(this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&this.projectHasAlpha)return!0;return!1},L.isOpaque=function(){if(!this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&!this.projectHasAlpha)return!0;return!1};var b=[0,0],O=[0,0,0],I=[0,0,0],R=[0,0,0,1],D=[0,0,0,1],F=S.slice(),B=[0,0,0],N=[[0,0,0],[0,0,0]];function q(H){return H[0]=H[1]=H[2]=0,H}function j(H,ne){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[3]=1,H}function $(H,ne,te,Z){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[te]=Z,H}var U=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function G(H,ne,te,Z,X,Q,re){var ie=te.gl;if((Q===te.projectHasAlpha||re)&&function(ue,ce,ye,de){var me,pe=ce.axesProject,xe=ce.gl,Pe=ue.uniforms,_e=ye.model||S,Me=ye.view||S,Se=ye.projection||S,Ce=ce.axesBounds,ae=function(st){for(var ot=N,ft=0;ft<2;++ft)for(var bt=0;bt<3;++bt)ot[ft][bt]=Math.max(Math.min(st[ft][bt],1e8),-1e8);return ot}(ce.clipBounds);me=ce.axes&&ce.axes.lastCubeProps?ce.axes.lastCubeProps.axis:[1,1,1],b[0]=2/xe.drawingBufferWidth,b[1]=2/xe.drawingBufferHeight,ue.bind(),Pe.view=Me,Pe.projection=Se,Pe.screenSize=b,Pe.highlightId=ce.highlightId,Pe.highlightScale=ce.highlightScale,Pe.clipBounds=ae,Pe.pickGroup=ce.pickId/255,Pe.pixelRatio=de;for(var he=0;he<3;++he)if(pe[he]){Pe.scale=ce.projectScale[he],Pe.opacity=ce.projectOpacity[he];for(var be=F,ke=0;ke<16;++ke)be[ke]=0;for(ke=0;ke<4;++ke)be[5*ke]=1;be[5*he]=0,me[he]<0?be[12+he]=Ce[0][he]:be[12+he]=Ce[1][he],c(be,_e,be),Pe.model=be;var Le=(he+1)%3,Be=(he+2)%3,ze=q(O),je=q(I);ze[Le]=1,je[Be]=1;var ge=T(0,0,0,j(R,ze)),we=T(0,0,0,j(D,je));if(Math.abs(ge[1])>Math.abs(we[1])){var Ee=ge;ge=we,we=Ee,Ee=ze,ze=je,je=Ee;var Ve=Le;Le=Be,Be=Ve}ge[0]<0&&(ze[Le]=-1),we[1]>0&&(je[Be]=-1);var $e=0,Ye=0;for(ke=0;ke<4;++ke)$e+=Math.pow(_e[4*Le+ke],2),Ye+=Math.pow(_e[4*Be+ke],2);ze[Le]/=Math.sqrt($e),je[Be]/=Math.sqrt(Ye),Pe.axes[0]=ze,Pe.axes[1]=je,Pe.fragClipBounds[0]=$(B,ae[0],he,-1e8),Pe.fragClipBounds[1]=$(B,ae[1],he,1e8),ce.vao.bind(),ce.vao.draw(xe.TRIANGLES,ce.vertexCount),ce.lineWidth>0&&(xe.lineWidth(ce.lineWidth*de),ce.vao.draw(xe.LINES,ce.lineVertexCount,ce.vertexCount)),ce.vao.unbind()}}(ne,te,Z,X),Q===te.hasAlpha||re){H.bind();var oe=H.uniforms;oe.model=Z.model||S,oe.view=Z.view||S,oe.projection=Z.projection||S,b[0]=2/ie.drawingBufferWidth,b[1]=2/ie.drawingBufferHeight,oe.screenSize=b,oe.highlightId=te.highlightId,oe.highlightScale=te.highlightScale,oe.fragClipBounds=U,oe.clipBounds=te.axes.bounds,oe.opacity=te.opacity,oe.pickGroup=te.pickId/255,oe.pixelRatio=X,te.vao.bind(),te.vao.draw(ie.TRIANGLES,te.vertexCount),te.lineWidth>0&&(ie.lineWidth(te.lineWidth*X),te.vao.draw(ie.LINES,te.lineVertexCount,te.vertexCount)),te.vao.unbind()}}function W(H,ne,te,Z){var X;X=Array.isArray(H)?ne=this.pointCount||ne<0)return null;var te=this.points[ne],Z=this._selectResult;Z.index=ne;for(var X=0;X<3;++X)Z.position[X]=Z.dataCoordinate[X]=te[X];return Z},L.highlight=function(H){if(H){var ne=H.index,te=255&ne,Z=ne>>8&255,X=ne>>16&255;this.highlightId=[te/255,Z/255,X/255,0]}else this.highlightId=[1,1,1,1]},L.update=function(H){if("perspective"in(H=H||{})&&(this.useOrtho=!H.perspective),"orthographic"in H&&(this.useOrtho=!!H.orthographic),"lineWidth"in H&&(this.lineWidth=H.lineWidth),"project"in H)if(Array.isArray(H.project))this.axesProject=H.project;else{var ne=!!H.project;this.axesProject=[ne,ne,ne]}if("projectScale"in H)if(Array.isArray(H.projectScale))this.projectScale=H.projectScale.slice();else{var te=+H.projectScale;this.projectScale=[te,te,te]}if(this.projectHasAlpha=!1,"projectOpacity"in H){Array.isArray(H.projectOpacity)?this.projectOpacity=H.projectOpacity.slice():(te=+H.projectOpacity,this.projectOpacity=[te,te,te]);for(var Z=0;Z<3;++Z)this.projectOpacity[Z]=_(this.projectOpacity[Z]),this.projectOpacity[Z]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in H&&(this.opacity=_(H.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var X,Q,re=H.position,ie=H.font||"normal",oe=H.alignment||[0,0];if(oe.length===2)X=oe[0],Q=oe[1];else for(X=[],Q=[],Z=0;Z0){var we=0,Ee=_e,Ve=[0,0,0,1],$e=[0,0,0,1],Ye=Array.isArray(de)&&Array.isArray(de[0]),st=Array.isArray(xe)&&Array.isArray(xe[0]);e:for(Z=0;Z0?1-ke[0][0]:Rt<0?1+ke[1][0]:1,Bt*=Bt>0?1-ke[0][1]:Bt<0?1+ke[1][1]:1],Vt=he.cells||[],Ke=he.positions||[];for(ae=0;ae1?1:H}function A(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye){this.gl=H,this.pixelRatio=1,this.shader=ne,this.orthoShader=te,this.projectShader=Z,this.pointBuffer=X,this.colorBuffer=Q,this.glyphBuffer=re,this.idBuffer=ie,this.vao=oe,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=ue,this.pickOrthoShader=ce,this.pickProjectShader=ye,this.points=[],this._selectResult=new C(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}h.exports=function(H){var ne=H.gl,te=p.createPerspective(ne),Z=p.createOrtho(ne),X=p.createProject(ne),Q=p.createPickPerspective(ne),re=p.createPickOrtho(ne),ie=p.createPickProject(ne),oe=o(ne),ue=o(ne),ce=o(ne),ye=o(ne),de=new A(ne,te,Z,X,oe,ue,ce,ye,s(ne,[{buffer:oe,size:3,type:ne.FLOAT},{buffer:ue,size:4,type:ne.FLOAT},{buffer:ce,size:2,type:ne.FLOAT},{buffer:ye,size:4,type:ne.UNSIGNED_BYTE,normalized:!0}]),Q,re,ie);return de.update(H),de};var L=A.prototype;L.pickSlots=1,L.setPickBase=function(H){this.pickId=H},L.isTransparent=function(){if(this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&this.projectHasAlpha)return!0;return!1},L.isOpaque=function(){if(!this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&!this.projectHasAlpha)return!0;return!1};var b=[0,0],P=[0,0,0],I=[0,0,0],R=[0,0,0,1],D=[0,0,0,1],F=S.slice(),B=[0,0,0],N=[[0,0,0],[0,0,0]];function W(H){return H[0]=H[1]=H[2]=0,H}function j(H,ne){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[3]=1,H}function Y(H,ne,te,Z){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[te]=Z,H}var U=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function G(H,ne,te,Z,X,Q,re){var ie=te.gl;if((Q===te.projectHasAlpha||re)&&function(ue,ce,ye,de){var me,pe=ce.axesProject,xe=ce.gl,Oe=ue.uniforms,_e=ye.model||S,Me=ye.view||S,Se=ye.projection||S,Ce=ce.axesBounds,ae=function(st){for(var ot=N,ft=0;ft<2;++ft)for(var bt=0;bt<3;++bt)ot[ft][bt]=Math.max(Math.min(st[ft][bt],1e8),-1e8);return ot}(ce.clipBounds);me=ce.axes&&ce.axes.lastCubeProps?ce.axes.lastCubeProps.axis:[1,1,1],b[0]=2/xe.drawingBufferWidth,b[1]=2/xe.drawingBufferHeight,ue.bind(),Oe.view=Me,Oe.projection=Se,Oe.screenSize=b,Oe.highlightId=ce.highlightId,Oe.highlightScale=ce.highlightScale,Oe.clipBounds=ae,Oe.pickGroup=ce.pickId/255,Oe.pixelRatio=de;for(var he=0;he<3;++he)if(pe[he]){Oe.scale=ce.projectScale[he],Oe.opacity=ce.projectOpacity[he];for(var be=F,ke=0;ke<16;++ke)be[ke]=0;for(ke=0;ke<4;++ke)be[5*ke]=1;be[5*he]=0,me[he]<0?be[12+he]=Ce[0][he]:be[12+he]=Ce[1][he],f(be,_e,be),Oe.model=be;var Le=(he+1)%3,Be=(he+2)%3,ze=W(P),je=W(I);ze[Le]=1,je[Be]=1;var ge=T(0,0,0,j(R,ze)),we=T(0,0,0,j(D,je));if(Math.abs(ge[1])>Math.abs(we[1])){var Ee=ge;ge=we,we=Ee,Ee=ze,ze=je,je=Ee;var Ve=Le;Le=Be,Be=Ve}ge[0]<0&&(ze[Le]=-1),we[1]>0&&(je[Be]=-1);var Ye=0,$e=0;for(ke=0;ke<4;++ke)Ye+=Math.pow(_e[4*Le+ke],2),$e+=Math.pow(_e[4*Be+ke],2);ze[Le]/=Math.sqrt(Ye),je[Be]/=Math.sqrt($e),Oe.axes[0]=ze,Oe.axes[1]=je,Oe.fragClipBounds[0]=Y(B,ae[0],he,-1e8),Oe.fragClipBounds[1]=Y(B,ae[1],he,1e8),ce.vao.bind(),ce.vao.draw(xe.TRIANGLES,ce.vertexCount),ce.lineWidth>0&&(xe.lineWidth(ce.lineWidth*de),ce.vao.draw(xe.LINES,ce.lineVertexCount,ce.vertexCount)),ce.vao.unbind()}}(ne,te,Z,X),Q===te.hasAlpha||re){H.bind();var oe=H.uniforms;oe.model=Z.model||S,oe.view=Z.view||S,oe.projection=Z.projection||S,b[0]=2/ie.drawingBufferWidth,b[1]=2/ie.drawingBufferHeight,oe.screenSize=b,oe.highlightId=te.highlightId,oe.highlightScale=te.highlightScale,oe.fragClipBounds=U,oe.clipBounds=te.axes.bounds,oe.opacity=te.opacity,oe.pickGroup=te.pickId/255,oe.pixelRatio=X,te.vao.bind(),te.vao.draw(ie.TRIANGLES,te.vertexCount),te.lineWidth>0&&(ie.lineWidth(te.lineWidth*X),te.vao.draw(ie.LINES,te.lineVertexCount,te.vertexCount)),te.vao.unbind()}}function q(H,ne,te,Z){var X;X=Array.isArray(H)?ne=this.pointCount||ne<0)return null;var te=this.points[ne],Z=this._selectResult;Z.index=ne;for(var X=0;X<3;++X)Z.position[X]=Z.dataCoordinate[X]=te[X];return Z},L.highlight=function(H){if(H){var ne=H.index,te=255&ne,Z=ne>>8&255,X=ne>>16&255;this.highlightId=[te/255,Z/255,X/255,0]}else this.highlightId=[1,1,1,1]},L.update=function(H){if("perspective"in(H=H||{})&&(this.useOrtho=!H.perspective),"orthographic"in H&&(this.useOrtho=!!H.orthographic),"lineWidth"in H&&(this.lineWidth=H.lineWidth),"project"in H)if(Array.isArray(H.project))this.axesProject=H.project;else{var ne=!!H.project;this.axesProject=[ne,ne,ne]}if("projectScale"in H)if(Array.isArray(H.projectScale))this.projectScale=H.projectScale.slice();else{var te=+H.projectScale;this.projectScale=[te,te,te]}if(this.projectHasAlpha=!1,"projectOpacity"in H){Array.isArray(H.projectOpacity)?this.projectOpacity=H.projectOpacity.slice():(te=+H.projectOpacity,this.projectOpacity=[te,te,te]);for(var Z=0;Z<3;++Z)this.projectOpacity[Z]=_(this.projectOpacity[Z]),this.projectOpacity[Z]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in H&&(this.opacity=_(H.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var X,Q,re=H.position,ie=H.font||"normal",oe=H.alignment||[0,0];if(oe.length===2)X=oe[0],Q=oe[1];else for(X=[],Q=[],Z=0;Z0){var we=0,Ee=_e,Ve=[0,0,0,1],Ye=[0,0,0,1],$e=Array.isArray(de)&&Array.isArray(de[0]),st=Array.isArray(xe)&&Array.isArray(xe[0]);e:for(Z=0;Z0?1-ke[0][0]:Rt<0?1+ke[1][0]:1,Bt*=Bt>0?1-ke[0][1]:Bt<0?1+ke[1][1]:1],Vt=he.cells||[],Ke=he.positions||[];for(ae=0;ae0){var N=v*b;C.drawBox(O-N,I-N,R+N,I+N,T),C.drawBox(O-N,D-N,R+N,D+N,T),C.drawBox(O-N,I-N,O+N,D+N,T),C.drawBox(R-N,I-N,R+N,D+N,T)}}}},c.update=function(p){p=p||{},this.innerFill=!!p.innerFill,this.outerFill=!!p.outerFill,this.innerColor=(p.innerColor||[0,0,0,.5]).slice(),this.outerColor=(p.outerColor||[0,0,0,.5]).slice(),this.borderColor=(p.borderColor||[0,0,0,1]).slice(),this.borderWidth=p.borderWidth||0,this.selectBox=(p.selectBox||this.selectBox).slice()},c.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},2611:function(h,l,a){h.exports=function(v,S){var x=S[0],T=S[1];return new p(v,u(v,x,T,{}),o.mallocUint8(x*T*4))};var u=a(4234),o=a(5306),s=a(5050),f=a(2288).nextPow2;function c(v,S,x,T,C){this.coord=[v,S],this.id=x,this.value=T,this.distance=C}function p(v,S,x){this.gl=v,this.fbo=S,this.buffer=x,this._readTimeout=null;var T=this;this._readCallback=function(){T.gl&&(S.bind(),v.readPixels(0,0,S.shape[0],S.shape[1],v.RGBA,v.UNSIGNED_BYTE,T.buffer),T._readTimeout=null)}}var w=p.prototype;Object.defineProperty(w,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(v){if(this.gl){this.fbo.shape=v;var S=this.fbo.shape[0],x=this.fbo.shape[1];if(x*S*4>this.buffer.length){o.free(this.buffer);for(var T=this.buffer=o.mallocUint8(f(x*S*4)),C=0;CC)for(x=C;xT)for(x=T;x=0){for(var $=0|j.type.charAt(j.type.length-1),U=new Array($),G=0;G<$;++G)U[G]=q.length,N.push(j.name+"["+G+"]"),typeof j.location=="number"?q.push(j.location+G):Array.isArray(j.location)&&j.location.length===$&&typeof j.location[G]=="number"?q.push(0|j.location[G]):q.push(-1);B.push({name:j.name,type:j.type,locations:U})}else B.push({name:j.name,type:j.type,locations:[q.length]}),N.push(j.name),typeof j.location=="number"?q.push(0|j.location):q.push(-1)}var W=0;for(F=0;F=0;)W+=1;q[F]=W}var H=new Array(C.length);function ne(){L.program=f.program(b,L._vref,L._fref,N,q);for(var te=0;te=0){if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);c(w,v,O[0],x,I,T,L)}else{if(!(b.indexOf("mat")>=0))throw new u("","Unknown data type for attribute "+L+": "+b);var I;if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);p(w,v,O,x,I,T,L)}}}return T};var u=a(9068);function o(w,v,S,x,T,C){this._gl=w,this._wrapper=v,this._index=S,this._locations=x,this._dimension=T,this._constFunc=C}var s=o.prototype;s.pointer=function(w,v,S,x){var T=this,C=T._gl,_=T._locations[T._index];C.vertexAttribPointer(_,T._dimension,w||C.FLOAT,!!v,S||0,x||0),C.enableVertexAttribArray(_)},s.set=function(w,v,S,x){return this._constFunc(this._locations[this._index],w,v,S,x)},Object.defineProperty(s,"location",{get:function(){return this._locations[this._index]},set:function(w){return w!==this._locations[this._index]&&(this._locations[this._index]=0|w,this._wrapper.program=null),0|w}});var f=[function(w,v,S){return S.length===void 0?w.vertexAttrib1f(v,S):w.vertexAttrib1fv(v,S)},function(w,v,S,x){return S.length===void 0?w.vertexAttrib2f(v,S,x):w.vertexAttrib2fv(v,S)},function(w,v,S,x,T){return S.length===void 0?w.vertexAttrib3f(v,S,x,T):w.vertexAttrib3fv(v,S)},function(w,v,S,x,T,C){return S.length===void 0?w.vertexAttrib4f(v,S,x,T,C):w.vertexAttrib4fv(v,S)}];function c(w,v,S,x,T,C,_){var A=f[T],L=new o(w,v,S,x,T,A);Object.defineProperty(C,_,{set:function(b){return w.disableVertexAttribArray(x[S]),A(w,x[S],b),b},get:function(){return L},enumerable:!0})}function p(w,v,S,x,T,C,_){for(var A=new Array(T),L=new Array(T),b=0;b4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+U);c["uniformMatrix"+$+"fv"](v[D],!1,F);break}throw new o("","Unknown uniform data type for "+name+": "+U)}if(($=U.charCodeAt(U.length-1)-48)<2||$>4)throw new o("","Invalid data type");switch(U.charAt(0)){case"b":case"i":c["uniform"+$+"iv"](v[D],F);break;case"v":c["uniform"+$+"fv"](v[D],F);break;default:throw new o("","Unrecognized data type for vector "+name+": "+U)}}}}}}function x(A,L){if(typeof L!="object")return[[A,L]];var b=[];for(var O in L){var I=L[O],R=A;parseInt(O)+""===O?R+="["+O+"]":R+="."+O,typeof I=="object"?b.push.apply(b,x(R,I)):b.push([R,I])}return b}function T(A,L,b){if(typeof b=="object"){var O=C(b);Object.defineProperty(A,L,{get:s(O),set:S(b),enumerable:!0,configurable:!1})}else v[b]?Object.defineProperty(A,L,{get:(I=b,function(R,D,F){return R.getUniform(D.program,F[I])}),set:S(b),enumerable:!0,configurable:!1}):A[L]=function(R){switch(R){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":case"float":return 0;default:var D=R.indexOf("vec");if(0<=D&&D<=1&&R.length===4+D){if((F=R.charCodeAt(R.length-1)-48)<2||F>4)throw new o("","Invalid data type");return R.charAt(0)==="b"?f(F,!1):f(F,0)}if(R.indexOf("mat")===0&&R.length===4){var F;if((F=R.charCodeAt(R.length-1)-48)<2||F>4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+R);return f(F*F,0)}throw new o("","Unknown uniform data type for "+name+": "+R)}}(w[b].type);var I}function C(A){var L;if(Array.isArray(A)){L=new Array(A.length);for(var b=0;b1){p[0]in f||(f[p[0]]=[]),f=f[p[0]];for(var w=1;w1)for(var x=0;x"u"?a(4037):WeakMap),f=0;function c(S,x,T,C,_,A,L){this.id=S,this.src=x,this.type=T,this.shader=C,this.count=A,this.programs=[],this.cache=L}function p(S){this.gl=S,this.shaders=[{},{}],this.programs={}}c.prototype.dispose=function(){if(--this.count==0){for(var S=this.cache,x=S.gl,T=this.programs,C=0,_=T.length;C<_;++C){var A=S.programs[T[C]];A&&(delete S.programs[C],x.deleteProgram(A))}x.deleteShader(this.shader),delete S.shaders[this.type===x.FRAGMENT_SHADER|0][this.src]}};var w=p.prototype;function v(S){var x=s.get(S);return x||(x=new p(S),s.set(S,x)),x}w.getShaderReference=function(S,x){var T=this.gl,C=this.shaders[S===T.FRAGMENT_SHADER|0],_=C[x];if(_&&T.isShader(_.shader))_.count+=1;else{var A=function(L,b,O){var I=L.createShader(b);if(L.shaderSource(I,O),L.compileShader(I),!L.getShaderParameter(I,L.COMPILE_STATUS)){var R=L.getShaderInfoLog(I);try{var D=o(R,O,b)}catch(F){throw console.warn("Failed to format compiler error: "+F),new u(R,`Error compiling shader: -`+R)}throw new u(R,D.short,D.long)}return I}(T,S,x);_=C[x]=new c(f++,x,S,A,[],1,this)}return _},w.getProgram=function(S,x,T,C){var _=[S.id,x.id,T.join(":"),C.join(":")].join("@"),A=this.programs[_];return A&&this.gl.isProgram(A)||(this.programs[_]=A=function(L,b,O,I,R){var D=L.createProgram();L.attachShader(D,b),L.attachShader(D,O);for(var F=0;F0){var N=v*b;C.drawBox(P-N,I-N,R+N,I+N,T),C.drawBox(P-N,D-N,R+N,D+N,T),C.drawBox(P-N,I-N,P+N,D+N,T),C.drawBox(R-N,I-N,R+N,D+N,T)}}}},f.update=function(p){p=p||{},this.innerFill=!!p.innerFill,this.outerFill=!!p.outerFill,this.innerColor=(p.innerColor||[0,0,0,.5]).slice(),this.outerColor=(p.outerColor||[0,0,0,.5]).slice(),this.borderColor=(p.borderColor||[0,0,0,1]).slice(),this.borderWidth=p.borderWidth||0,this.selectBox=(p.selectBox||this.selectBox).slice()},f.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},2611:function(h,l,a){h.exports=function(v,S){var x=S[0],T=S[1];return new p(v,u(v,x,T,{}),o.mallocUint8(x*T*4))};var u=a(4234),o=a(5306),s=a(5050),c=a(2288).nextPow2;function f(v,S,x,T,C){this.coord=[v,S],this.id=x,this.value=T,this.distance=C}function p(v,S,x){this.gl=v,this.fbo=S,this.buffer=x,this._readTimeout=null;var T=this;this._readCallback=function(){T.gl&&(S.bind(),v.readPixels(0,0,S.shape[0],S.shape[1],v.RGBA,v.UNSIGNED_BYTE,T.buffer),T._readTimeout=null)}}var w=p.prototype;Object.defineProperty(w,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(v){if(this.gl){this.fbo.shape=v;var S=this.fbo.shape[0],x=this.fbo.shape[1];if(x*S*4>this.buffer.length){o.free(this.buffer);for(var T=this.buffer=o.mallocUint8(c(x*S*4)),C=0;CC)for(x=C;xT)for(x=T;x=0){for(var Y=0|j.type.charAt(j.type.length-1),U=new Array(Y),G=0;G=0;)q+=1;W[F]=q}var H=new Array(C.length);function ne(){L.program=c.program(b,L._vref,L._fref,N,W);for(var te=0;te=0){if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);f(w,v,P[0],x,I,T,L)}else{if(!(b.indexOf("mat")>=0))throw new u("","Unknown data type for attribute "+L+": "+b);var I;if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);p(w,v,P,x,I,T,L)}}}return T};var u=a(9068);function o(w,v,S,x,T,C){this._gl=w,this._wrapper=v,this._index=S,this._locations=x,this._dimension=T,this._constFunc=C}var s=o.prototype;s.pointer=function(w,v,S,x){var T=this,C=T._gl,_=T._locations[T._index];C.vertexAttribPointer(_,T._dimension,w||C.FLOAT,!!v,S||0,x||0),C.enableVertexAttribArray(_)},s.set=function(w,v,S,x){return this._constFunc(this._locations[this._index],w,v,S,x)},Object.defineProperty(s,"location",{get:function(){return this._locations[this._index]},set:function(w){return w!==this._locations[this._index]&&(this._locations[this._index]=0|w,this._wrapper.program=null),0|w}});var c=[function(w,v,S){return S.length===void 0?w.vertexAttrib1f(v,S):w.vertexAttrib1fv(v,S)},function(w,v,S,x){return S.length===void 0?w.vertexAttrib2f(v,S,x):w.vertexAttrib2fv(v,S)},function(w,v,S,x,T){return S.length===void 0?w.vertexAttrib3f(v,S,x,T):w.vertexAttrib3fv(v,S)},function(w,v,S,x,T,C){return S.length===void 0?w.vertexAttrib4f(v,S,x,T,C):w.vertexAttrib4fv(v,S)}];function f(w,v,S,x,T,C,_){var A=c[T],L=new o(w,v,S,x,T,A);Object.defineProperty(C,_,{set:function(b){return w.disableVertexAttribArray(x[S]),A(w,x[S],b),b},get:function(){return L},enumerable:!0})}function p(w,v,S,x,T,C,_){for(var A=new Array(T),L=new Array(T),b=0;b4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+U);f["uniformMatrix"+Y+"fv"](v[D],!1,F);break}throw new o("","Unknown uniform data type for "+name+": "+U)}if((Y=U.charCodeAt(U.length-1)-48)<2||Y>4)throw new o("","Invalid data type");switch(U.charAt(0)){case"b":case"i":f["uniform"+Y+"iv"](v[D],F);break;case"v":f["uniform"+Y+"fv"](v[D],F);break;default:throw new o("","Unrecognized data type for vector "+name+": "+U)}}}}}}function x(A,L){if(typeof L!="object")return[[A,L]];var b=[];for(var P in L){var I=L[P],R=A;parseInt(P)+""===P?R+="["+P+"]":R+="."+P,typeof I=="object"?b.push.apply(b,x(R,I)):b.push([R,I])}return b}function T(A,L,b){if(typeof b=="object"){var P=C(b);Object.defineProperty(A,L,{get:s(P),set:S(b),enumerable:!0,configurable:!1})}else v[b]?Object.defineProperty(A,L,{get:(I=b,function(R,D,F){return R.getUniform(D.program,F[I])}),set:S(b),enumerable:!0,configurable:!1}):A[L]=function(R){switch(R){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":case"float":return 0;default:var D=R.indexOf("vec");if(0<=D&&D<=1&&R.length===4+D){if((F=R.charCodeAt(R.length-1)-48)<2||F>4)throw new o("","Invalid data type");return R.charAt(0)==="b"?c(F,!1):c(F,0)}if(R.indexOf("mat")===0&&R.length===4){var F;if((F=R.charCodeAt(R.length-1)-48)<2||F>4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+R);return c(F*F,0)}throw new o("","Unknown uniform data type for "+name+": "+R)}}(w[b].type);var I}function C(A){var L;if(Array.isArray(A)){L=new Array(A.length);for(var b=0;b1){p[0]in c||(c[p[0]]=[]),c=c[p[0]];for(var w=1;w1)for(var x=0;x"u"?a(4037):WeakMap),c=0;function f(S,x,T,C,_,A,L){this.id=S,this.src=x,this.type=T,this.shader=C,this.count=A,this.programs=[],this.cache=L}function p(S){this.gl=S,this.shaders=[{},{}],this.programs={}}f.prototype.dispose=function(){if(--this.count==0){for(var S=this.cache,x=S.gl,T=this.programs,C=0,_=T.length;C<_;++C){var A=S.programs[T[C]];A&&(delete S.programs[C],x.deleteProgram(A))}x.deleteShader(this.shader),delete S.shaders[this.type===x.FRAGMENT_SHADER|0][this.src]}};var w=p.prototype;function v(S){var x=s.get(S);return x||(x=new p(S),s.set(S,x)),x}w.getShaderReference=function(S,x){var T=this.gl,C=this.shaders[S===T.FRAGMENT_SHADER|0],_=C[x];if(_&&T.isShader(_.shader))_.count+=1;else{var A=function(L,b,P){var I=L.createShader(b);if(L.shaderSource(I,P),L.compileShader(I),!L.getShaderParameter(I,L.COMPILE_STATUS)){var R=L.getShaderInfoLog(I);try{var D=o(R,P,b)}catch(F){throw console.warn("Failed to format compiler error: "+F),new u(R,`Error compiling shader: +`+R)}throw new u(R,D.short,D.long)}return I}(T,S,x);_=C[x]=new f(c++,x,S,A,[],1,this)}return _},w.getProgram=function(S,x,T,C){var _=[S.id,x.id,T.join(":"),C.join(":")].join("@"),A=this.programs[_];return A&&this.gl.isProgram(A)||(this.programs[_]=A=function(L,b,P,I,R){var D=L.createProgram();L.attachShader(D,b),L.attachShader(D,P);for(var F=0;Fx)return T-1}return T},c=function(S,x,T){return ST?T:S},p=function(S){var x=1/0;S.sort(function(A,L){return A-L});for(var T=S.length,C=1;Cke-1||Ee>Le-1||Ve>Be-1)return u.create();var $e,Ye,st,ot,ft,bt,Et=Ce[0][ze],kt=Ce[0][we],xt=Ce[1][je],Ft=Ce[1][Ee],Rt=Ce[2][ge],Bt=(ae-Et)/(kt-Et),Wt=(he-xt)/(Ft-xt),Vt=(be-Rt)/(Ce[2][Ve]-Rt);switch(isFinite(Bt)||(Bt=.5),isFinite(Wt)||(Wt=.5),isFinite(Vt)||(Vt=.5),Me.reversedX&&(ze=ke-1-ze,we=ke-1-we),Me.reversedY&&(je=Le-1-je,Ee=Le-1-Ee),Me.reversedZ&&(ge=Be-1-ge,Ve=Be-1-Ve),Me.filled){case 5:ft=ge,bt=Ve,st=je*Be,ot=Ee*Be,$e=ze*Be*Le,Ye=we*Be*Le;break;case 4:ft=ge,bt=Ve,$e=ze*Be,Ye=we*Be,st=je*Be*ke,ot=Ee*Be*ke;break;case 3:st=je,ot=Ee,ft=ge*Le,bt=Ve*Le,$e=ze*Le*Be,Ye=we*Le*Be;break;case 2:st=je,ot=Ee,$e=ze*Le,Ye=we*Le,ft=ge*Le*ke,bt=Ve*Le*ke;break;case 1:$e=ze,Ye=we,ft=ge*ke,bt=Ve*ke,st=je*ke*Be,ot=Ee*ke*Be;break;default:$e=ze,Ye=we,st=je*ke,ot=Ee*ke,ft=ge*ke*Le,bt=Ve*ke*Le}var Ke=Se[$e+st+ft],Je=Se[$e+st+bt],We=Se[$e+ot+ft],nt=Se[$e+ot+bt],ht=Se[Ye+st+ft],Oe=Se[Ye+st+bt],Ne=Se[Ye+ot+ft],Qe=Se[Ye+ot+bt],ut=u.create(),dt=u.create(),_t=u.create(),It=u.create();u.lerp(ut,Ke,ht,Bt),u.lerp(dt,Je,Oe,Bt),u.lerp(_t,We,Ne,Bt),u.lerp(It,nt,Qe,Bt);var Lt=u.create(),yt=u.create();u.lerp(Lt,ut,_t,Wt),u.lerp(yt,dt,It,Wt);var Pt=u.create();return u.lerp(Pt,Lt,yt,Vt),Pt}(xe,S,b)},I=S.getDivergence||function(xe,Pe){var _e=u.create(),Me=1e-4;u.add(_e,xe,[Me,0,0]);var Se=O(_e);u.subtract(Se,Se,Pe),u.scale(Se,Se,1/Me),u.add(_e,xe,[0,Me,0]);var Ce=O(_e);u.subtract(Ce,Ce,Pe),u.scale(Ce,Ce,1/Me),u.add(_e,xe,[0,0,Me]);var ae=O(_e);return u.subtract(ae,ae,Pe),u.scale(ae,ae,1/Me),u.add(_e,Se,Ce),u.add(_e,_e,ae),_e},R=[],D=x[0][0],F=x[0][1],B=x[0][2],N=x[1][0],q=x[1][1],j=x[1][2],$=function(xe){var Pe=xe[0],_e=xe[1],Me=xe[2];return!(PeN||_eq||Mej)},U=10*u.distance(x[0],x[1])/C,G=U*U,W=1,H=0,ne=T.length;ne>1&&(W=function(xe){for(var Pe=[],_e=[],Me=[],Se={},Ce={},ae={},he=xe.length,be=0;beH&&(H=ce),oe.push(ce),R.push({points:X,velocities:Q,divergences:oe});for(var ye=0;ye<100*C&&X.lengthG&&u.scale(de,de,U/Math.sqrt(me)),u.add(de,de,Z),re=O(de),u.squaredDistance(ie,de)-G>-1e-4*G&&(X.push(de),ie=de,Q.push(re),ue=I(de,re),ce=u.length(ue),isFinite(ce)&&ce>H&&(H=ce),oe.push(ce)),Z=de}}var pe=function(xe,Pe,_e,Me){for(var Se=0,Ce=0;Ce0)for(ut=0;ut<8;ut++){var dt=(ut+1)%8;xt.push(Bt[ut],Wt[ut],Wt[dt],Wt[dt],Bt[dt],Bt[ut]),Rt.push(nt,We,We,We,nt,nt),Vt.push(Ke,Je,Je,Je,Ke,Ke);var _t=xt.length;Ft.push([_t-6,_t-5,_t-4],[_t-3,_t-2,_t-1])}var It=Bt;Bt=Wt,Wt=It;var Lt=nt;nt=We,We=Lt;var yt=Ke;Ke=Je,Je=yt}return{positions:xt,cells:Ft,vectors:Rt,vertexIntensity:Vt}}($e,_e,Me,Se)}),ke=[],Le=[],Be=[],ze=[];for(Ce=0;Cex)return T-1}return T},f=function(S,x,T){return ST?T:S},p=function(S){var x=1/0;S.sort(function(A,L){return A-L});for(var T=S.length,C=1;Cke-1||Ee>Le-1||Ve>Be-1)return u.create();var Ye,$e,st,ot,ft,bt,Et=Ce[0][ze],kt=Ce[0][we],xt=Ce[1][je],Ft=Ce[1][Ee],Rt=Ce[2][ge],Bt=(ae-Et)/(kt-Et),qt=(he-xt)/(Ft-xt),Vt=(be-Rt)/(Ce[2][Ve]-Rt);switch(isFinite(Bt)||(Bt=.5),isFinite(qt)||(qt=.5),isFinite(Vt)||(Vt=.5),Me.reversedX&&(ze=ke-1-ze,we=ke-1-we),Me.reversedY&&(je=Le-1-je,Ee=Le-1-Ee),Me.reversedZ&&(ge=Be-1-ge,Ve=Be-1-Ve),Me.filled){case 5:ft=ge,bt=Ve,st=je*Be,ot=Ee*Be,Ye=ze*Be*Le,$e=we*Be*Le;break;case 4:ft=ge,bt=Ve,Ye=ze*Be,$e=we*Be,st=je*Be*ke,ot=Ee*Be*ke;break;case 3:st=je,ot=Ee,ft=ge*Le,bt=Ve*Le,Ye=ze*Le*Be,$e=we*Le*Be;break;case 2:st=je,ot=Ee,Ye=ze*Le,$e=we*Le,ft=ge*Le*ke,bt=Ve*Le*ke;break;case 1:Ye=ze,$e=we,ft=ge*ke,bt=Ve*ke,st=je*ke*Be,ot=Ee*ke*Be;break;default:Ye=ze,$e=we,st=je*ke,ot=Ee*ke,ft=ge*ke*Le,bt=Ve*ke*Le}var Ke=Se[Ye+st+ft],Je=Se[Ye+st+bt],qe=Se[Ye+ot+ft],nt=Se[Ye+ot+bt],ht=Se[$e+st+ft],Pe=Se[$e+st+bt],Ne=Se[$e+ot+ft],Qe=Se[$e+ot+bt],ut=u.create(),dt=u.create(),_t=u.create(),It=u.create();u.lerp(ut,Ke,ht,Bt),u.lerp(dt,Je,Pe,Bt),u.lerp(_t,qe,Ne,Bt),u.lerp(It,nt,Qe,Bt);var Lt=u.create(),yt=u.create();u.lerp(Lt,ut,_t,qt),u.lerp(yt,dt,It,qt);var Ot=u.create();return u.lerp(Ot,Lt,yt,Vt),Ot}(xe,S,b)},I=S.getDivergence||function(xe,Oe){var _e=u.create(),Me=1e-4;u.add(_e,xe,[Me,0,0]);var Se=P(_e);u.subtract(Se,Se,Oe),u.scale(Se,Se,1/Me),u.add(_e,xe,[0,Me,0]);var Ce=P(_e);u.subtract(Ce,Ce,Oe),u.scale(Ce,Ce,1/Me),u.add(_e,xe,[0,0,Me]);var ae=P(_e);return u.subtract(ae,ae,Oe),u.scale(ae,ae,1/Me),u.add(_e,Se,Ce),u.add(_e,_e,ae),_e},R=[],D=x[0][0],F=x[0][1],B=x[0][2],N=x[1][0],W=x[1][1],j=x[1][2],Y=function(xe){var Oe=xe[0],_e=xe[1],Me=xe[2];return!(OeN||_eW||Mej)},U=10*u.distance(x[0],x[1])/C,G=U*U,q=1,H=0,ne=T.length;ne>1&&(q=function(xe){for(var Oe=[],_e=[],Me=[],Se={},Ce={},ae={},he=xe.length,be=0;beH&&(H=ce),oe.push(ce),R.push({points:X,velocities:Q,divergences:oe});for(var ye=0;ye<100*C&&X.lengthG&&u.scale(de,de,U/Math.sqrt(me)),u.add(de,de,Z),re=P(de),u.squaredDistance(ie,de)-G>-1e-4*G&&(X.push(de),ie=de,Q.push(re),ue=I(de,re),ce=u.length(ue),isFinite(ce)&&ce>H&&(H=ce),oe.push(ce)),Z=de}}var pe=function(xe,Oe,_e,Me){for(var Se=0,Ce=0;Ce0)for(ut=0;ut<8;ut++){var dt=(ut+1)%8;xt.push(Bt[ut],qt[ut],qt[dt],qt[dt],Bt[dt],Bt[ut]),Rt.push(nt,qe,qe,qe,nt,nt),Vt.push(Ke,Je,Je,Je,Ke,Ke);var _t=xt.length;Ft.push([_t-6,_t-5,_t-4],[_t-3,_t-2,_t-1])}var It=Bt;Bt=qt,qt=It;var Lt=nt;nt=qe,qe=Lt;var yt=Ke;Ke=Je,Je=yt}return{positions:xt,cells:Ft,vectors:Rt,vertexIntensity:Vt}}(Ye,_e,Me,Se)}),ke=[],Le=[],Be=[],ze=[];for(Ce=0;Cepe&&Pe>0){var _e=(xe[Pe][0]-pe)/(xe[Pe][0]-xe[Pe-1][0]);return xe[Pe][1]*(1-_e)+_e*xe[Pe-1][1]}}return 1}(de/255,oe):ye[3];return me<1&&(ue=!0),[ye[0],ye[1],ye[2],255*me]})]);return w.divseq(ce,255),this.hasAlphaScale=ue,ce},j.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},j.isOpaque=function(){return!this.isTransparent()},j.pickSlots=1,j.setPickBase=function(ie){this.pickId=ie};var $=[0,0,0],U={showSurface:!1,showContour:!1,projections:[D.slice(),D.slice(),D.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function G(ie,oe){var ue,ce,ye,de=oe.axes&&oe.axes.lastCubeProps.axis||$,me=oe.showSurface,pe=oe.showContour;for(ue=0;ue<3;++ue)for(me=me||oe.surfaceProject[ue],ce=0;ce<3;++ce)pe=pe||oe.contourProject[ue][ce];for(ue=0;ue<3;++ue){var xe=U.projections[ue];for(ce=0;ce<16;++ce)xe[ce]=0;for(ce=0;ce<4;++ce)xe[5*ce]=1;xe[5*ue]=0,xe[12+ue]=oe.axesBounds[+(de[ue]>0)][ue],T(xe,ie.model,xe);var Pe=U.clipBounds[ue];for(ye=0;ye<2;++ye)for(ce=0;ce<3;++ce)Pe[ye][ce]=ie.clipBounds[ye][ce];Pe[0][ue]=-1e8,Pe[1][ue]=1e8}return U.showSurface=me,U.showContour=pe,U}var W={model:D,view:D,projection:D,inverseModel:D.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},H=D.slice(),ne=[1,0,0,0,1,0,0,0,1];function te(ie,oe){ie=ie||{};var ue=this.gl;ue.disable(ue.CULL_FACE),this._colorMap.bind(0);var ce=W;ce.model=ie.model||D,ce.view=ie.view||D,ce.projection=ie.projection||D,ce.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ce.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ce.objectOffset=this.objectOffset,ce.contourColor=this.contourColor[0],ce.inverseModel=C(ce.inverseModel,ce.model);for(var ye=0;ye<2;++ye)for(var de=ce.clipBounds[ye],me=0;me<3;++me)de[me]=Math.min(Math.max(this.clipBounds[ye][me],-1e8),1e8);ce.kambient=this.ambientLight,ce.kdiffuse=this.diffuseLight,ce.kspecular=this.specularLight,ce.roughness=this.roughness,ce.fresnel=this.fresnel,ce.opacity=this.opacity,ce.height=0,ce.permutation=ne,ce.vertexColor=this.vertexColor;var pe=H;for(T(pe,ce.view,ce.model),T(pe,ce.projection,pe),C(pe,pe),ye=0;ye<3;++ye)ce.eyePosition[ye]=pe[12+ye]/pe[15];var xe=pe[15];for(ye=0;ye<3;++ye)xe+=this.lightPosition[ye]*pe[4*ye+3];for(ye=0;ye<3;++ye){var Pe=pe[12+ye];for(me=0;me<3;++me)Pe+=pe[4*me+ye]*this.lightPosition[me];ce.lightPosition[ye]=Pe/xe}var _e=G(ce,this);if(_e.showSurface){for(this._shader.bind(),this._shader.uniforms=ce,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ue.TRIANGLES,this._vertexCount),ye=0;ye<3;++ye)this.surfaceProject[ye]&&this.vertexCount&&(this._shader.uniforms.model=_e.projections[ye],this._shader.uniforms.clipBounds=_e.clipBounds[ye],this._vao.draw(ue.TRIANGLES,this._vertexCount));this._vao.unbind()}if(_e.showContour){var Me=this._contourShader;ce.kambient=1,ce.kdiffuse=0,ce.kspecular=0,ce.opacity=1,Me.bind(),Me.uniforms=ce;var Se=this._contourVAO;for(Se.bind(),ye=0;ye<3;++ye)for(Me.uniforms.permutation=B[ye],ue.lineWidth(this.contourWidth[ye]*this.pixelRatio),me=0;me>4)/16)/255,ye=Math.floor(ce),de=ce-ye,me=oe[1]*(ie.value[1]+(15&ie.value[2])/16)/255,pe=Math.floor(me),xe=me-pe;ye+=1,pe+=1;var Pe=ue.position;Pe[0]=Pe[1]=Pe[2]=0;for(var _e=0;_e<2;++_e)for(var Me=_e?de:1-de,Se=0;Se<2;++Se)for(var Ce=ye+_e,ae=pe+Se,he=Me*(Se?xe:1-xe),be=0;be<3;++be)Pe[be]+=this._field[be].get(Ce,ae)*he;for(var ke=this._pickResult.level,Le=0;Le<3;++Le)if(ke[Le]=_.le(this.contourLevels[Le],Pe[Le]),ke[Le]<0)this.contourLevels[Le].length>0&&(ke[Le]=0);else if(ke[Le]Math.abs(ze-Pe[Le])&&(ke[Le]+=1)}for(ue.index[0]=de<.5?ye:ye+1,ue.index[1]=xe<.5?pe:pe+1,ue.uv[0]=ce/oe[0],ue.uv[1]=me/oe[1],be=0;be<3;++be)ue.dataCoordinate[be]=this._field[be].get(ue.index[0],ue.index[1]);return ue},j.padField=function(ie,oe){var ue=oe.shape.slice(),ce=ie.shape.slice();w.assign(ie.lo(1,1).hi(ue[0],ue[1]),oe),w.assign(ie.lo(1).hi(ue[0],1),oe.hi(ue[0],1)),w.assign(ie.lo(1,ce[1]-1).hi(ue[0],1),oe.lo(0,ue[1]-1).hi(ue[0],1)),w.assign(ie.lo(0,1).hi(1,ue[1]),oe.hi(1)),w.assign(ie.lo(ce[0]-1,1).hi(1,ue[1]),oe.lo(ue[0]-1)),ie.set(0,0,oe.get(0,0)),ie.set(0,ce[1]-1,oe.get(0,ue[1]-1)),ie.set(ce[0]-1,0,oe.get(ue[0]-1,0)),ie.set(ce[0]-1,ce[1]-1,oe.get(ue[0]-1,ue[1]-1))},j.update=function(ie){ie=ie||{},this.objectOffset=ie.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ie&&(this.contourWidth=X(ie.contourWidth,Number)),"showContour"in ie&&(this.showContour=X(ie.showContour,Boolean)),"showSurface"in ie&&(this.showSurface=!!ie.showSurface),"contourTint"in ie&&(this.contourTint=X(ie.contourTint,Boolean)),"contourColor"in ie&&(this.contourColor=re(ie.contourColor)),"contourProject"in ie&&(this.contourProject=X(ie.contourProject,function(kn){return X(kn,Boolean)})),"surfaceProject"in ie&&(this.surfaceProject=ie.surfaceProject),"dynamicColor"in ie&&(this.dynamicColor=re(ie.dynamicColor)),"dynamicTint"in ie&&(this.dynamicTint=X(ie.dynamicTint,Number)),"dynamicWidth"in ie&&(this.dynamicWidth=X(ie.dynamicWidth,Number)),"opacity"in ie&&(this.opacity=ie.opacity),"opacityscale"in ie&&(this.opacityscale=ie.opacityscale),"colorBounds"in ie&&(this.colorBounds=ie.colorBounds),"vertexColor"in ie&&(this.vertexColor=ie.vertexColor?1:0),"colormap"in ie&&this._colorMap.setPixels(this.genColormap(ie.colormap,this.opacityscale));var oe=ie.field||ie.coords&&ie.coords[2]||null,ue=!1;if(oe||(oe=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in ie||"coords"in ie){var ce=(oe.shape[0]+2)*(oe.shape[1]+2);ce>this._field[2].data.length&&(c.freeFloat(this._field[2].data),this._field[2].data=c.mallocFloat(u.nextPow2(ce))),this._field[2]=S(this._field[2].data,[oe.shape[0]+2,oe.shape[1]+2]),this.padField(this._field[2],oe),this.shape=oe.shape.slice();for(var ye=this.shape,de=0;de<2;++de)this._field[2].size>this._field[de].data.length&&(c.freeFloat(this._field[de].data),this._field[de].data=c.mallocFloat(this._field[2].size)),this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2]);if(ie.coords){var me=ie.coords;if(!Array.isArray(me)||me.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(de=0;de<2;++de){var pe=me[de];for(Se=0;Se<2;++Se)if(pe.shape[Se]!==ye[Se])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[de],pe)}}else if(ie.ticks){var xe=ie.ticks;if(!Array.isArray(xe)||xe.length!==2)throw new Error("gl-surface: invalid ticks");for(de=0;de<2;++de){var Pe=xe[de];if((Array.isArray(Pe)||Pe.length)&&(Pe=S(Pe)),Pe.shape[0]!==ye[de])throw new Error("gl-surface: invalid tick length");var _e=S(Pe.data,ye);_e.stride[de]=Pe.stride[0],_e.stride[1^de]=0,this.padField(this._field[de],_e)}}else{for(de=0;de<2;++de){var Me=[0,0];Me[de]=1,this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2],Me,0)}this._field[0].set(0,0,0);for(var Se=0;Se0){for(var An=0;An<5;++An)ht.pop();kt-=1}continue e}ht.push(dt[0],dt[1],Lt[0],Lt[1],dt[2]),kt+=1}}ut.push(kt)}this._contourOffsets[Oe]=Qe,this._contourCounts[Oe]=ut}var Yn=c.mallocFloat(ht.length);for(de=0;deB||D<0||D>B)throw new Error("gl-texture2d: Invalid texture size");return I._shape=[R,D],I.bind(),F.texImage2D(F.TEXTURE_2D,0,I.format,R,D,0,I.format,I.type,null),I._mipLevels=[0],I}function T(I,R,D,F,B,N){this.gl=I,this.handle=R,this.format=B,this.type=N,this._shape=[D,F],this._mipLevels=[0],this._magFilter=I.NEAREST,this._minFilter=I.NEAREST,this._wrapS=I.CLAMP_TO_EDGE,this._wrapT=I.CLAMP_TO_EDGE,this._anisoSamples=1;var q=this,j=[this._wrapS,this._wrapT];Object.defineProperties(j,[{get:function(){return q._wrapS},set:function(U){return q.wrapS=U}},{get:function(){return q._wrapT},set:function(U){return q.wrapT=U}}]),this._wrapVector=j;var $=[this._shape[0],this._shape[1]];Object.defineProperties($,[{get:function(){return q._shape[0]},set:function(U){return q.width=U}},{get:function(){return q._shape[1]},set:function(U){return q.height=U}}]),this._shapeVector=$}var C=T.prototype;function _(I,R){return I.length===3?R[2]===1&&R[1]===I[0]*I[2]&&R[0]===I[2]:R[0]===1&&R[1]===I[0]}function A(I){var R=I.createTexture();return I.bindTexture(I.TEXTURE_2D,R),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MIN_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MAG_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_S,I.CLAMP_TO_EDGE),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_T,I.CLAMP_TO_EDGE),R}function L(I,R,D,F,B){var N=I.getParameter(I.MAX_TEXTURE_SIZE);if(R<0||R>N||D<0||D>N)throw new Error("gl-texture2d: Invalid texture shape");if(B===I.FLOAT&&!I.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var q=A(I);return I.texImage2D(I.TEXTURE_2D,0,F,R,D,0,F,B,null),new T(I,q,R,D,F,B)}function b(I,R,D,F,B,N){var q=A(I);return I.texImage2D(I.TEXTURE_2D,0,B,B,N,R),new T(I,q,D,F,B,N)}function O(I,R){var D=R.dtype,F=R.shape.slice(),B=I.getParameter(I.MAX_TEXTURE_SIZE);if(F[0]<0||F[0]>B||F[1]<0||F[1]>B)throw new Error("gl-texture2d: Invalid texture size");var N=_(F,R.stride.slice()),q=0;D==="float32"?q=I.FLOAT:D==="float64"?(q=I.FLOAT,N=!1,D="float32"):D==="uint8"?q=I.UNSIGNED_BYTE:(q=I.UNSIGNED_BYTE,N=!1,D="uint8");var j,$,U=0;if(F.length===2)U=I.LUMINANCE,F=[F[0],F[1],1],R=u(R.data,F,[R.stride[0],R.stride[1],1],R.offset);else{if(F.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(F[2]===1)U=I.ALPHA;else if(F[2]===2)U=I.LUMINANCE_ALPHA;else if(F[2]===3)U=I.RGB;else{if(F[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");U=I.RGBA}}q!==I.FLOAT||I.getExtension("OES_texture_float")||(q=I.UNSIGNED_BYTE,N=!1);var G=R.size;if(N)j=R.offset===0&&R.data.length===G?R.data:R.data.subarray(R.offset,R.offset+G);else{var W=[F[2],F[2]*F[0],1];$=s.malloc(G,D);var H=u($,F,W,0);D!=="float32"&&D!=="float64"||q!==I.UNSIGNED_BYTE?o.assign(H,R):S(H,R),j=$.subarray(0,G)}var ne=A(I);return I.texImage2D(I.TEXTURE_2D,0,U,F[0],F[1],0,U,q,j),N||s.free($),new T(I,ne,F[0],F[1],U,q)}Object.defineProperties(C,{minFilter:{get:function(){return this._minFilter},set:function(I){this.bind();var R=this.gl;if(this.type===R.FLOAT&&f.indexOf(I)>=0&&(R.getExtension("OES_texture_float_linear")||(I=R.NEAREST)),c.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return R.texParameteri(R.TEXTURE_2D,R.TEXTURE_MIN_FILTER,I),this._minFilter=I}},magFilter:{get:function(){return this._magFilter},set:function(I){this.bind();var R=this.gl;if(this.type===R.FLOAT&&f.indexOf(I)>=0&&(R.getExtension("OES_texture_float_linear")||(I=R.NEAREST)),c.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return R.texParameteri(R.TEXTURE_2D,R.TEXTURE_MAG_FILTER,I),this._magFilter=I}},mipSamples:{get:function(){return this._anisoSamples},set:function(I){var R=this._anisoSamples;if(this._anisoSamples=0|Math.max(I,1),R!==this._anisoSamples){var D=this.gl.getExtension("EXT_texture_filter_anisotropic");D&&this.gl.texParameterf(this.gl.TEXTURE_2D,D.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(I){if(this.bind(),p.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,I),this._wrapS=I}},wrapT:{get:function(){return this._wrapT},set:function(I){if(this.bind(),p.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,I),this._wrapT=I}},wrap:{get:function(){return this._wrapVector},set:function(I){if(Array.isArray(I)||(I=[I,I]),I.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var R=0;R<2;++R)if(p.indexOf(I[R])<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);this._wrapS=I[0],this._wrapT=I[1];var D=this.gl;return this.bind(),D.texParameteri(D.TEXTURE_2D,D.TEXTURE_WRAP_S,this._wrapS),D.texParameteri(D.TEXTURE_2D,D.TEXTURE_WRAP_T,this._wrapT),I}},shape:{get:function(){return this._shapeVector},set:function(I){if(Array.isArray(I)){if(I.length!==2)throw new Error("gl-texture2d: Invalid texture shape")}else I=[0|I,0|I];return x(this,0|I[0],0|I[1]),[0|I[0],0|I[1]]}},width:{get:function(){return this._shape[0]},set:function(I){return x(this,I|=0,this._shape[1]),I}},height:{get:function(){return this._shape[1]},set:function(I){return I|=0,x(this,this._shape[0],I),I}}}),C.bind=function(I){var R=this.gl;return I!==void 0&&R.activeTexture(R.TEXTURE0+(0|I)),R.bindTexture(R.TEXTURE_2D,this.handle),I!==void 0?0|I:R.getParameter(R.ACTIVE_TEXTURE)-R.TEXTURE0},C.dispose=function(){this.gl.deleteTexture(this.handle)},C.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var I=Math.min(this._shape[0],this._shape[1]),R=0;I>0;++R,I>>>=1)this._mipLevels.indexOf(R)<0&&this._mipLevels.push(R)},C.setPixels=function(I,R,D,F){var B=this.gl;this.bind(),Array.isArray(R)?(F=D,D=0|R[1],R=0|R[0]):(R=R||0,D=D||0),F=F||0;var N=v(I)?I:I.raw;if(N)this._mipLevels.indexOf(F)<0?(B.texImage2D(B.TEXTURE_2D,0,this.format,this.format,this.type,N),this._mipLevels.push(F)):B.texSubImage2D(B.TEXTURE_2D,F,R,D,this.format,this.type,N);else{if(!(I.shape&&I.stride&&I.data))throw new Error("gl-texture2d: Unsupported data type");if(I.shape.length<2||R+I.shape[1]>this._shape[1]>>>F||D+I.shape[0]>this._shape[0]>>>F||R<0||D<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");(function(q,j,$,U,G,W,H,ne){var te=ne.dtype,Z=ne.shape.slice();if(Z.length<2||Z.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var X=0,Q=0,re=_(Z,ne.stride.slice());if(te==="float32"?X=q.FLOAT:te==="float64"?(X=q.FLOAT,re=!1,te="float32"):te==="uint8"?X=q.UNSIGNED_BYTE:(X=q.UNSIGNED_BYTE,re=!1,te="uint8"),Z.length===2)Q=q.LUMINANCE,Z=[Z[0],Z[1],1],ne=u(ne.data,Z,[ne.stride[0],ne.stride[1],1],ne.offset);else{if(Z.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(Z[2]===1)Q=q.ALPHA;else if(Z[2]===2)Q=q.LUMINANCE_ALPHA;else if(Z[2]===3)Q=q.RGB;else{if(Z[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");Q=q.RGBA}Z[2]}if(Q!==q.LUMINANCE&&Q!==q.ALPHA||G!==q.LUMINANCE&&G!==q.ALPHA||(Q=G),Q!==G)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ie=ne.size,oe=H.indexOf(U)<0;if(oe&&H.push(U),X===W&&re)ne.offset===0&&ne.data.length===ie?oe?q.texImage2D(q.TEXTURE_2D,U,G,Z[0],Z[1],0,G,W,ne.data):q.texSubImage2D(q.TEXTURE_2D,U,j,$,Z[0],Z[1],G,W,ne.data):oe?q.texImage2D(q.TEXTURE_2D,U,G,Z[0],Z[1],0,G,W,ne.data.subarray(ne.offset,ne.offset+ie)):q.texSubImage2D(q.TEXTURE_2D,U,j,$,Z[0],Z[1],G,W,ne.data.subarray(ne.offset,ne.offset+ie));else{var ue;ue=W===q.FLOAT?s.mallocFloat32(ie):s.mallocUint8(ie);var ce=u(ue,Z,[Z[2],Z[2]*Z[0],1]);X===q.FLOAT&&W===q.UNSIGNED_BYTE?S(ce,ne):o.assign(ce,ne),oe?q.texImage2D(q.TEXTURE_2D,U,G,Z[0],Z[1],0,G,W,ue.subarray(0,ie)):q.texSubImage2D(q.TEXTURE_2D,U,j,$,Z[0],Z[1],G,W,ue.subarray(0,ie)),W===q.FLOAT?s.freeFloat32(ue):s.freeUint8(ue)}})(B,R,D,F,this.format,this.type,this._mipLevels,I)}}},3056:function(h){h.exports=function(l,a,u){a?a.bind():l.bindBuffer(l.ELEMENT_ARRAY_BUFFER,null);var o=0|l.getParameter(l.MAX_VERTEX_ATTRIBS);if(u){if(u.length>o)throw new Error("gl-vao: Too many vertex attributes");for(var s=0;s1?0:Math.acos(v)};var u=a(5415),o=a(899),s=a(9305)},8827:function(h){h.exports=function(l,a){return l[0]=Math.ceil(a[0]),l[1]=Math.ceil(a[1]),l[2]=Math.ceil(a[2]),l}},7622:function(h){h.exports=function(l){var a=new Float32Array(3);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a}},8782:function(h){h.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l}},8501:function(h){h.exports=function(){var l=new Float32Array(3);return l[0]=0,l[1]=0,l[2]=0,l}},903:function(h){h.exports=function(l,a,u){var o=a[0],s=a[1],f=a[2],c=u[0],p=u[1],w=u[2];return l[0]=s*w-f*p,l[1]=f*c-o*w,l[2]=o*p-s*c,l}},5981:function(h,l,a){h.exports=a(8288)},8288:function(h){h.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return Math.sqrt(u*u+o*o+s*s)}},8629:function(h,l,a){h.exports=a(7979)},7979:function(h){h.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l}},9305:function(h){h.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]}},154:function(h){h.exports=1e-6},4932:function(h,l,a){h.exports=function(o,s){var f=o[0],c=o[1],p=o[2],w=s[0],v=s[1],S=s[2];return Math.abs(f-w)<=u*Math.max(1,Math.abs(f),Math.abs(w))&&Math.abs(c-v)<=u*Math.max(1,Math.abs(c),Math.abs(v))&&Math.abs(p-S)<=u*Math.max(1,Math.abs(p),Math.abs(S))};var u=a(154)},5777:function(h){h.exports=function(l,a){return l[0]===a[0]&&l[1]===a[1]&&l[2]===a[2]}},3306:function(h){h.exports=function(l,a){return l[0]=Math.floor(a[0]),l[1]=Math.floor(a[1]),l[2]=Math.floor(a[2]),l}},7447:function(h,l,a){h.exports=function(o,s,f,c,p,w){var v,S;for(s||(s=3),f||(f=0),S=c?Math.min(c*s+f,o.length):o.length,v=f;v0&&(f=1/Math.sqrt(f),l[0]=a[0]*f,l[1]=a[1]*f,l[2]=a[2]*f),l}},6660:function(h){h.exports=function(l,a){a=a||1;var u=2*Math.random()*Math.PI,o=2*Math.random()-1,s=Math.sqrt(1-o*o)*a;return l[0]=Math.cos(u)*s,l[1]=Math.sin(u)*s,l[2]=o*a,l}},392:function(h){h.exports=function(l,a,u,o){var s=u[1],f=u[2],c=a[1]-s,p=a[2]-f,w=Math.sin(o),v=Math.cos(o);return l[0]=a[0],l[1]=s+c*v-p*w,l[2]=f+c*w+p*v,l}},3222:function(h){h.exports=function(l,a,u,o){var s=u[0],f=u[2],c=a[0]-s,p=a[2]-f,w=Math.sin(o),v=Math.cos(o);return l[0]=s+p*w+c*v,l[1]=a[1],l[2]=f+p*v-c*w,l}},3388:function(h){h.exports=function(l,a,u,o){var s=u[0],f=u[1],c=a[0]-s,p=a[1]-f,w=Math.sin(o),v=Math.cos(o);return l[0]=s+c*v-p*w,l[1]=f+c*w+p*v,l[2]=a[2],l}},1624:function(h){h.exports=function(l,a){return l[0]=Math.round(a[0]),l[1]=Math.round(a[1]),l[2]=Math.round(a[2]),l}},5685:function(h){h.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l}},6722:function(h){h.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l}},831:function(h){h.exports=function(l,a,u,o){return l[0]=a,l[1]=u,l[2]=o,l}},5294:function(h,l,a){h.exports=a(6403)},3303:function(h,l,a){h.exports=a(4337)},6403:function(h){h.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return u*u+o*o+s*s}},4337:function(h){h.exports=function(l){var a=l[0],u=l[1],o=l[2];return a*a+u*u+o*o}},8921:function(h,l,a){h.exports=a(911)},911:function(h){h.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l}},9908:function(h){h.exports=function(l,a,u){var o=a[0],s=a[1],f=a[2];return l[0]=o*u[0]+s*u[3]+f*u[6],l[1]=o*u[1]+s*u[4]+f*u[7],l[2]=o*u[2]+s*u[5]+f*u[8],l}},3255:function(h){h.exports=function(l,a,u){var o=a[0],s=a[1],f=a[2],c=u[3]*o+u[7]*s+u[11]*f+u[15];return c=c||1,l[0]=(u[0]*o+u[4]*s+u[8]*f+u[12])/c,l[1]=(u[1]*o+u[5]*s+u[9]*f+u[13])/c,l[2]=(u[2]*o+u[6]*s+u[10]*f+u[14])/c,l}},6568:function(h){h.exports=function(l,a,u){var o=a[0],s=a[1],f=a[2],c=u[0],p=u[1],w=u[2],v=u[3],S=v*o+p*f-w*s,x=v*s+w*o-c*f,T=v*f+c*s-p*o,C=-c*o-p*s-w*f;return l[0]=S*v+C*-c+x*-w-T*-p,l[1]=x*v+C*-p+T*-c-S*-w,l[2]=T*v+C*-w+S*-p-x*-c,l}},3433:function(h){h.exports=function(l,a,u){return l[0]=a[0]+u[0],l[1]=a[1]+u[1],l[2]=a[2]+u[2],l[3]=a[3]+u[3],l}},1413:function(h){h.exports=function(l){var a=new Float32Array(4);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a}},3470:function(h){h.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l[3]=a[3],l}},5313:function(h){h.exports=function(){var l=new Float32Array(4);return l[0]=0,l[1]=0,l[2]=0,l[3]=0,l}},5446:function(h){h.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],f=a[3]-l[3];return Math.sqrt(u*u+o*o+s*s+f*f)}},205:function(h){h.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l[3]=a[3]/u[3],l}},4242:function(h){h.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]+l[3]*a[3]}},5680:function(h){h.exports=function(l,a,u,o){var s=new Float32Array(4);return s[0]=l,s[1]=a,s[2]=u,s[3]=o,s}},4020:function(h,l,a){h.exports={create:a(5313),clone:a(1413),fromValues:a(5680),copy:a(3470),set:a(6453),add:a(3433),subtract:a(2705),multiply:a(746),divide:a(205),min:a(2170),max:a(3030),scale:a(5510),scaleAndAdd:a(4224),distance:a(5446),squaredDistance:a(1542),length:a(8177),squaredLength:a(9037),negate:a(6459),inverse:a(8057),normalize:a(381),dot:a(4242),lerp:a(8746),random:a(3770),transformMat4:a(6342),transformQuat:a(5022)}},8057:function(h){h.exports=function(l,a){return l[0]=1/a[0],l[1]=1/a[1],l[2]=1/a[2],l[3]=1/a[3],l}},8177:function(h){h.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return Math.sqrt(a*a+u*u+o*o+s*s)}},8746:function(h){h.exports=function(l,a,u,o){var s=a[0],f=a[1],c=a[2],p=a[3];return l[0]=s+o*(u[0]-s),l[1]=f+o*(u[1]-f),l[2]=c+o*(u[2]-c),l[3]=p+o*(u[3]-p),l}},3030:function(h){h.exports=function(l,a,u){return l[0]=Math.max(a[0],u[0]),l[1]=Math.max(a[1],u[1]),l[2]=Math.max(a[2],u[2]),l[3]=Math.max(a[3],u[3]),l}},2170:function(h){h.exports=function(l,a,u){return l[0]=Math.min(a[0],u[0]),l[1]=Math.min(a[1],u[1]),l[2]=Math.min(a[2],u[2]),l[3]=Math.min(a[3],u[3]),l}},746:function(h){h.exports=function(l,a,u){return l[0]=a[0]*u[0],l[1]=a[1]*u[1],l[2]=a[2]*u[2],l[3]=a[3]*u[3],l}},6459:function(h){h.exports=function(l,a){return l[0]=-a[0],l[1]=-a[1],l[2]=-a[2],l[3]=-a[3],l}},381:function(h){h.exports=function(l,a){var u=a[0],o=a[1],s=a[2],f=a[3],c=u*u+o*o+s*s+f*f;return c>0&&(c=1/Math.sqrt(c),l[0]=u*c,l[1]=o*c,l[2]=s*c,l[3]=f*c),l}},3770:function(h,l,a){var u=a(381),o=a(5510);h.exports=function(s,f){return f=f||1,s[0]=Math.random(),s[1]=Math.random(),s[2]=Math.random(),s[3]=Math.random(),u(s,s),o(s,s,f),s}},5510:function(h){h.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l[3]=a[3]*u,l}},4224:function(h){h.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l[3]=a[3]+u[3]*o,l}},6453:function(h){h.exports=function(l,a,u,o,s){return l[0]=a,l[1]=u,l[2]=o,l[3]=s,l}},1542:function(h){h.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],f=a[3]-l[3];return u*u+o*o+s*s+f*f}},9037:function(h){h.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return a*a+u*u+o*o+s*s}},2705:function(h){h.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l[3]=a[3]-u[3],l}},6342:function(h){h.exports=function(l,a,u){var o=a[0],s=a[1],f=a[2],c=a[3];return l[0]=u[0]*o+u[4]*s+u[8]*f+u[12]*c,l[1]=u[1]*o+u[5]*s+u[9]*f+u[13]*c,l[2]=u[2]*o+u[6]*s+u[10]*f+u[14]*c,l[3]=u[3]*o+u[7]*s+u[11]*f+u[15]*c,l}},5022:function(h){h.exports=function(l,a,u){var o=a[0],s=a[1],f=a[2],c=u[0],p=u[1],w=u[2],v=u[3],S=v*o+p*f-w*s,x=v*s+w*o-c*f,T=v*f+c*s-p*o,C=-c*o-p*s-w*f;return l[0]=S*v+C*-c+x*-w-T*-p,l[1]=x*v+C*-p+T*-c-S*-w,l[2]=T*v+C*-w+S*-p-x*-c,l[3]=a[3],l}},9365:function(h,l,a){var u=a(8096),o=a(7896);h.exports=function(s){for(var f=Array.isArray(s)?s:u(s),c=0;c0)continue;ye=ue.slice(0,1).join("")}return G(ye),D+=ye.length,(b=b.slice(ye.length)).length}}function Q(){return/[^a-fA-F0-9]/.test(x)?(G(b.join("")),L=p,_):(b.push(x),T=x,_+1)}function re(){return x==="."||/[eE]/.test(x)?(b.push(x),L=5,T=x,_+1):x==="x"&&b.length===1&&b[0]==="0"?(L=11,b.push(x),T=x,_+1):/[^\d]/.test(x)?(G(b.join("")),L=p,_):(b.push(x),T=x,_+1)}function ie(){return x==="f"&&(b.push(x),T=x,_+=1),/[eE]/.test(x)?(b.push(x),T=x,_+1):(x!=="-"&&x!=="+"||!/[eE]/.test(T))&&/[^\d]/.test(x)?(G(b.join("")),L=p,_):(b.push(x),T=x,_+1)}function oe(){if(/[^\d\w_]/.test(x)){var ue=b.join("");return L=U[ue]?8:$[ue]?7:6,G(b.join("")),L=p,_}return b.push(x),T=x,_+1}};var u=a(399),o=a(9746),s=a(9525),f=a(9458),c=a(3585),p=999,w=9999,v=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},3585:function(h,l,a){var u=a(9525);u=u.slice().filter(function(o){return!/^(gl\_|texture)/.test(o)}),h.exports=u.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},9525:function(h){h.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},9458:function(h,l,a){var u=a(399);h.exports=u.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},399:function(h){h.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},9746:function(h){h.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(h,l,a){var u=a(3193);h.exports=function(o,s){var f=u(s),c=[];return(c=c.concat(f(o))).concat(f(null))}},6832:function(h){h.exports=function(l){typeof l=="string"&&(l=[l]);for(var a=[].slice.call(arguments,1),u=[],o=0;o0;)for(var b=(S=L.pop()).adjacent,O=0;O<=T;++O){var I=b[O];if(I.boundary&&!(I.lastVisited<=-C)){for(var R=I.vertices,D=0;D<=T;++D){var F=R[D];_[D]=F<0?x:A[F]}var B=this.orient();if(B>0)return I;I.lastVisited=-C,B===0&&L.push(I)}}return null},v.walk=function(S,x){var T=this.vertices.length-1,C=this.dimension,_=this.vertices,A=this.tuple,L=x?this.interior.length*Math.random()|0:this.interior.length-1,b=this.interior[L];e:for(;!b.boundary;){for(var O=b.vertices,I=b.adjacent,R=0;R<=C;++R)A[R]=_[O[R]];for(b.lastVisited=T,R=0;R<=C;++R){var D=I[R];if(!(D.lastVisited>=T)){var F=A[R];A[R]=S;var B=this.orient();if(A[R]=F,B<0){b=D;continue e}D.boundary?D.lastVisited=-T:D.lastVisited=T}}return}return b},v.addPeaks=function(S,x){var T=this.vertices.length-1,C=this.dimension,_=this.vertices,A=this.tuple,L=this.interior,b=this.simplices,O=[x];x.lastVisited=T,x.vertices[x.vertices.indexOf(-1)]=T,x.boundary=!1,L.push(x);for(var I=[];O.length>0;){var R=(x=O.pop()).vertices,D=x.adjacent,F=R.indexOf(T);if(!(F<0)){for(var B=0;B<=C;++B)if(B!==F){var N=D[B];if(N.boundary&&!(N.lastVisited>=T)){var q=N.vertices;if(N.lastVisited!==-T){for(var j=0,$=0;$<=C;++$)q[$]<0?(j=$,A[$]=S):A[$]=_[q[$]];if(this.orient()>0){q[j]=T,N.boundary=!1,L.push(N),O.push(N),N.lastVisited=T;continue}N.lastVisited=-T}var U=N.adjacent,G=R.slice(),W=D.slice(),H=new s(G,W,!0);b.push(H);var ne=U.indexOf(x);if(!(ne<0))for(U[ne]=H,W[F]=N,G[B]=-1,W[B]=x,D[B]=H,H.flip(),$=0;$<=C;++$){var te=G[$];if(!(te<0||te===T)){for(var Z=new Array(C-1),X=0,Q=0;Q<=C;++Q){var re=G[Q];re<0||Q===$||(Z[X++]=re)}I.push(new f(Z,H,$))}}}}}}for(I.sort(c),B=0;B+1=0?L[O++]=b[R]:I=1&R;if(I===(1&S)){var D=L[0];L[0]=L[1],L[1]=D}x.push(L)}}return x}},9014:function(h,l,a){var u=a(5070);function o(O,I,R,D,F){this.mid=O,this.left=I,this.right=R,this.leftPoints=D,this.rightPoints=F,this.count=(I?I.count:0)+(R?R.count:0)+D.length}h.exports=function(O){return O&&O.length!==0?new L(A(O)):new L(null)};var s=o.prototype;function f(O,I){O.mid=I.mid,O.left=I.left,O.right=I.right,O.leftPoints=I.leftPoints,O.rightPoints=I.rightPoints,O.count=I.count}function c(O,I){var R=A(I);O.mid=R.mid,O.left=R.left,O.right=R.right,O.leftPoints=R.leftPoints,O.rightPoints=R.rightPoints,O.count=R.count}function p(O,I){var R=O.intervals([]);R.push(I),c(O,R)}function w(O,I){var R=O.intervals([]),D=R.indexOf(I);return D<0?0:(R.splice(D,1),c(O,R),1)}function v(O,I,R){for(var D=0;D=0&&O[D][1]>=I;--D){var F=R(O[D]);if(F)return F}}function x(O,I){for(var R=0;R>1],F=[],B=[],N=[];for(R=0;R3*(I+1)?p(this,O):this.left.insert(O):this.left=A([O]);else if(O[0]>this.mid)this.right?4*(this.right.count+1)>3*(I+1)?p(this,O):this.right.insert(O):this.right=A([O]);else{var R=u.ge(this.leftPoints,O,C),D=u.ge(this.rightPoints,O,_);this.leftPoints.splice(R,0,O),this.rightPoints.splice(D,0,O)}},s.remove=function(O){var I=this.count-this.leftPoints;if(O[1]3*(I-1)?w(this,O):(B=this.left.remove(O))===2?(this.left=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(O[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(I-1)?w(this,O):(B=this.right.remove(O))===2?(this.right=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(this.count===1)return this.leftPoints[0]===O?2:0;if(this.leftPoints.length===1&&this.leftPoints[0]===O){if(this.left&&this.right){for(var R=this,D=this.left;D.right;)R=D,D=D.right;if(R===this)D.right=this.right;else{var F=this.left,B=this.right;R.count-=D.count,R.right=D.left,D.left=F,D.right=B}f(this,D),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?f(this,this.left):f(this,this.right);return 1}for(F=u.ge(this.leftPoints,O,C);Fthis.mid?this.right&&(R=this.right.queryPoint(O,I))?R:S(this.rightPoints,O,I):x(this.leftPoints,I);var R},s.queryInterval=function(O,I,R){var D;return Othis.mid&&this.right&&(D=this.right.queryInterval(O,I,R))?D:Ithis.mid?S(this.rightPoints,O,R):x(this.leftPoints,R)};var b=L.prototype;b.insert=function(O){this.root?this.root.insert(O):this.root=new o(O[0],null,null,[O],[O])},b.remove=function(O){if(this.root){var I=this.root.remove(O);return I===2&&(this.root=null),I!==0}return!1},b.queryPoint=function(O,I){if(this.root)return this.root.queryPoint(O,I)},b.queryInterval=function(O,I,R){if(O<=I&&this.root)return this.root.queryInterval(O,I,R)},Object.defineProperty(b,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(b,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},9560:function(h){h.exports=function(l){for(var a=new Array(l),u=0;u13)&&a!==32&&a!==133&&a!==160&&a!==5760&&a!==6158&&(a<8192||a>8205)&&a!==8232&&a!==8233&&a!==8239&&a!==8287&&a!==8288&&a!==12288&&a!==65279)return!1;return!0}},3578:function(h){h.exports=function(l,a,u){return l*(1-u)+a*u}},7191:function(h,l,a){var u=a(4690),o=a(9823),s=a(7332),f=a(7787),c=a(7437),p=a(2142),w={length:a(4693),normalize:a(899),dot:a(9305),cross:a(903)},v=o(),S=o(),x=[0,0,0,0],T=[[0,0,0],[0,0,0],[0,0,0]],C=[0,0,0];function _(A,L,b,O,I){A[0]=L[0]*O+b[0]*I,A[1]=L[1]*O+b[1]*I,A[2]=L[2]*O+b[2]*I}h.exports=function(A,L,b,O,I,R){if(L||(L=[0,0,0]),b||(b=[0,0,0]),O||(O=[0,0,0]),I||(I=[0,0,0,1]),R||(R=[0,0,0,1]),!u(v,A)||(s(S,v),S[3]=0,S[7]=0,S[11]=0,S[15]=1,Math.abs(f(S)<1e-8)))return!1;var D,F,B,N,q,j,$,U=v[3],G=v[7],W=v[11],H=v[12],ne=v[13],te=v[14],Z=v[15];if(U!==0||G!==0||W!==0){if(x[0]=U,x[1]=G,x[2]=W,x[3]=Z,!c(S,S))return!1;p(S,S),D=I,B=S,N=(F=x)[0],q=F[1],j=F[2],$=F[3],D[0]=B[0]*N+B[4]*q+B[8]*j+B[12]*$,D[1]=B[1]*N+B[5]*q+B[9]*j+B[13]*$,D[2]=B[2]*N+B[6]*q+B[10]*j+B[14]*$,D[3]=B[3]*N+B[7]*q+B[11]*j+B[15]*$}else I[0]=I[1]=I[2]=0,I[3]=1;if(L[0]=H,L[1]=ne,L[2]=te,function(Q,re){Q[0][0]=re[0],Q[0][1]=re[1],Q[0][2]=re[2],Q[1][0]=re[4],Q[1][1]=re[5],Q[1][2]=re[6],Q[2][0]=re[8],Q[2][1]=re[9],Q[2][2]=re[10]}(T,v),b[0]=w.length(T[0]),w.normalize(T[0],T[0]),O[0]=w.dot(T[0],T[1]),_(T[1],T[1],T[0],1,-O[0]),b[1]=w.length(T[1]),w.normalize(T[1],T[1]),O[0]/=b[1],O[1]=w.dot(T[0],T[2]),_(T[2],T[2],T[0],1,-O[1]),O[2]=w.dot(T[1],T[2]),_(T[2],T[2],T[1],1,-O[2]),b[2]=w.length(T[2]),w.normalize(T[2],T[2]),O[1]/=b[2],O[2]/=b[2],w.cross(C,T[1],T[2]),w.dot(T[0],C)<0)for(var X=0;X<3;X++)b[X]*=-1,T[X][0]*=-1,T[X][1]*=-1,T[X][2]*=-1;return R[0]=.5*Math.sqrt(Math.max(1+T[0][0]-T[1][1]-T[2][2],0)),R[1]=.5*Math.sqrt(Math.max(1-T[0][0]+T[1][1]-T[2][2],0)),R[2]=.5*Math.sqrt(Math.max(1-T[0][0]-T[1][1]+T[2][2],0)),R[3]=.5*Math.sqrt(Math.max(1+T[0][0]+T[1][1]+T[2][2],0)),T[2][1]>T[1][2]&&(R[0]=-R[0]),T[0][2]>T[2][0]&&(R[1]=-R[1]),T[1][0]>T[0][1]&&(R[2]=-R[2]),!0}},4690:function(h){h.exports=function(l,a){var u=a[15];if(u===0)return!1;for(var o=1/u,s=0;s<16;s++)l[s]=a[s]*o;return!0}},7649:function(h,l,a){var u=a(1868),o=a(1102),s=a(7191),f=a(7787),c=a(1116),p=S(),w=S(),v=S();function S(){return{translate:x(),scale:x(1),skew:x(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function x(T){return[T||0,T||0,T||0]}h.exports=function(T,C,_,A){if(f(C)===0||f(_)===0)return!1;var L=s(C,p.translate,p.scale,p.skew,p.perspective,p.quaternion),b=s(_,w.translate,w.scale,w.skew,w.perspective,w.quaternion);return!(!L||!b||(u(v.translate,p.translate,w.translate,A),u(v.skew,p.skew,w.skew,A),u(v.scale,p.scale,w.scale,A),u(v.perspective,p.perspective,w.perspective,A),c(v.quaternion,p.quaternion,w.quaternion,A),o(T,v.translate,v.scale,v.skew,v.perspective,v.quaternion),0))}},1102:function(h,l,a){var u={identity:a(9947),translate:a(998),multiply:a(104),create:a(9823),scale:a(3668),fromRotationTranslation:a(7280)},o=(u.create(),u.create());h.exports=function(s,f,c,p,w,v){return u.identity(s),u.fromRotationTranslation(s,v,f),s[3]=w[0],s[7]=w[1],s[11]=w[2],s[15]=w[3],u.identity(o),p[2]!==0&&(o[9]=p[2],u.multiply(s,s,o)),p[1]!==0&&(o[9]=0,o[8]=p[1],u.multiply(s,s,o)),p[0]!==0&&(o[8]=0,o[4]=p[0],u.multiply(s,s,o)),u.scale(s,s,c),s}},9298:function(h,l,a){var u=a(5070),o=a(7649),s=a(7437),f=a(6109),c=a(7115),p=a(5240),w=a(3012),v=a(998),S=(a(3668),a(899)),x=[0,0,0];function T(A){this._components=A.slice(),this._time=[0],this.prevMatrix=A.slice(),this.nextMatrix=A.slice(),this.computedMatrix=A.slice(),this.computedInverse=A.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}h.exports=function(A){return new T((A=A||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var C=T.prototype;C.recalcMatrix=function(A){var L=this._time,b=u.le(L,A),O=this.computedMatrix;if(!(b<0)){var I=this._components;if(b===L.length-1)for(var R=16*b,D=0;D<16;++D)O[D]=I[R++];else{var F=L[b+1]-L[b],B=(R=16*b,this.prevMatrix),N=!0;for(D=0;D<16;++D)B[D]=I[R++];var q=this.nextMatrix;for(D=0;D<16;++D)q[D]=I[R++],N=N&&B[D]===q[D];if(F<1e-6||N)for(D=0;D<16;++D)O[D]=B[D];else o(O,B,q,(A-L[b])/F)}var j=this.computedUp;j[0]=O[1],j[1]=O[5],j[2]=O[9],S(j,j);var $=this.computedInverse;s($,O);var U=this.computedEye,G=$[15];U[0]=$[12]/G,U[1]=$[13]/G,U[2]=$[14]/G;var W=this.computedCenter,H=Math.exp(this.computedRadius[0]);for(D=0;D<3;++D)W[D]=U[D]-O[2+4*D]*H}},C.idle=function(A){if(!(A1&&u(o[w[T-2]],o[w[T-1]],x)<=0;)T-=1,w.pop();for(w.push(S),T=v.length;T>1&&u(o[v[T-2]],o[v[T-1]],x)>=0;)T-=1,v.pop();v.push(S)}f=new Array(v.length+w.length-2);for(var C=0,_=(c=0,w.length);c<_;++c)f[C++]=w[c];for(var A=v.length-2;A>0;--A)f[C++]=v[A];return f};var u=a(417)[3]},6145:function(h,l,a){h.exports=function(o,s){s||(s=o,o=window);var f=0,c=0,p=0,w={shift:!1,alt:!1,control:!1,meta:!1},v=!1;function S(R){var D=!1;return"altKey"in R&&(D=D||R.altKey!==w.alt,w.alt=!!R.altKey),"shiftKey"in R&&(D=D||R.shiftKey!==w.shift,w.shift=!!R.shiftKey),"ctrlKey"in R&&(D=D||R.ctrlKey!==w.control,w.control=!!R.ctrlKey),"metaKey"in R&&(D=D||R.metaKey!==w.meta,w.meta=!!R.metaKey),D}function x(R,D){var F=u.x(D),B=u.y(D);"buttons"in D&&(R=0|D.buttons),(R!==f||F!==c||B!==p||S(D))&&(f=0|R,c=F||0,p=B||0,s&&s(f,c,p,w))}function T(R){x(0,R)}function C(){(f||c||p||w.shift||w.alt||w.meta||w.control)&&(c=p=0,f=0,w.shift=w.alt=w.control=w.meta=!1,s&&s(0,0,0,w))}function _(R){S(R)&&s&&s(f,c,p,w)}function A(R){u.buttons(R)===0?x(0,R):x(f,R)}function L(R){x(f|u.buttons(R),R)}function b(R){x(f&~u.buttons(R),R)}function O(){v||(v=!0,o.addEventListener("mousemove",A),o.addEventListener("mousedown",L),o.addEventListener("mouseup",b),o.addEventListener("mouseleave",T),o.addEventListener("mouseenter",T),o.addEventListener("mouseout",T),o.addEventListener("mouseover",T),o.addEventListener("blur",C),o.addEventListener("keyup",_),o.addEventListener("keydown",_),o.addEventListener("keypress",_),o!==window&&(window.addEventListener("blur",C),window.addEventListener("keyup",_),window.addEventListener("keydown",_),window.addEventListener("keypress",_)))}O();var I={element:o};return Object.defineProperties(I,{enabled:{get:function(){return v},set:function(R){R?O():v&&(v=!1,o.removeEventListener("mousemove",A),o.removeEventListener("mousedown",L),o.removeEventListener("mouseup",b),o.removeEventListener("mouseleave",T),o.removeEventListener("mouseenter",T),o.removeEventListener("mouseout",T),o.removeEventListener("mouseover",T),o.removeEventListener("blur",C),o.removeEventListener("keyup",_),o.removeEventListener("keydown",_),o.removeEventListener("keypress",_),o!==window&&(window.removeEventListener("blur",C),window.removeEventListener("keyup",_),window.removeEventListener("keydown",_),window.removeEventListener("keypress",_)))},enumerable:!0},buttons:{get:function(){return f},enumerable:!0},x:{get:function(){return c},enumerable:!0},y:{get:function(){return p},enumerable:!0},mods:{get:function(){return w},enumerable:!0}}),I};var u=a(4110)},2565:function(h){var l={left:0,top:0};h.exports=function(a,u,o){u=u||a.currentTarget||a.srcElement,Array.isArray(o)||(o=[0,0]);var s,f=a.clientX||0,c=a.clientY||0,p=(s=u)===window||s===document||s===document.body?l:s.getBoundingClientRect();return o[0]=f-p.left,o[1]=c-p.top,o}},4110:function(h,l){function a(u){return u.target||u.srcElement||window}l.buttons=function(u){if(typeof u=="object"){if("buttons"in u)return u.buttons;if("which"in u){if((o=u.which)===2)return 4;if(o===3)return 2;if(o>0)return 1<=0)return 1< 0"),typeof s.vertex!="function"&&f("Must specify vertex creation function"),typeof s.cell!="function"&&f("Must specify cell creation function"),typeof s.phase!="function"&&f("Must specify phase function");for(var w=s.getters||[],v=new Array(p),S=0;S=0?v[S]=!0:v[S]=!1;return function(x,T,C,_,A,L){var b=[L,A].join(",");return(0,o[b])(x,T,C,u.mallocUint32,u.freeUint32)}(s.vertex,s.cell,s.phase,0,c,v)};var o={"false,0,1":function(s,f,c,p,w){return function(v,S,x,T){var C,_=0|v.shape[0],A=0|v.shape[1],L=v.data,b=0|v.offset,O=0|v.stride[0],I=0|v.stride[1],R=b,D=0|-O,F=0,B=0|-I,N=0,q=-O-I|0,j=0,$=0|O,U=I-O*_|0,G=0,W=0,H=0,ne=2*_|0,te=p(ne),Z=p(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-_,ce=0|_,ye=0,de=-_-1|0,me=_-1|0,pe=0,xe=0,Pe=0;for(G=0;G<_;++G)te[X++]=c(L[R],S,x,T),R+=$;if(R+=U,A>0){if(W=1,te[X++]=c(L[R],S,x,T),R+=$,_>0)for(G=1,C=L[R],Q=te[X]=c(C,S,x,T),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[R+D],N=L[R+B],j=L[R+q],s(G,W,C,F,N,j,Q,oe,ye,pe,S,x,T),xe=Z[X]=H++),X+=1,R+=$,G=2;G<_;++G)C=L[R],Q=te[X]=c(C,S,x,T),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[R+D],N=L[R+B],j=L[R+q],s(G,W,C,F,N,j,Q,oe,ye,pe,S,x,T),xe=Z[X]=H++,pe!==oe&&f(Z[X+re],xe,j,F,pe,oe,S,x,T)),X+=1,R+=$;for(R+=U,X=0,Pe=re,re=ie,ie=Pe,Pe=ue,ue=ce,ce=Pe,Pe=de,de=me,me=Pe,W=2;W0)for(G=1,C=L[R],Q=te[X]=c(C,S,x,T),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[R+D],N=L[R+B],j=L[R+q],s(G,W,C,F,N,j,Q,oe,ye,pe,S,x,T),xe=Z[X]=H++,pe!==ye&&f(Z[X+ue],xe,N,j,ye,pe,S,x,T)),X+=1,R+=$,G=2;G<_;++G)C=L[R],Q=te[X]=c(C,S,x,T),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[R+D],N=L[R+B],j=L[R+q],s(G,W,C,F,N,j,Q,oe,ye,pe,S,x,T),xe=Z[X]=H++,pe!==ye&&f(Z[X+ue],xe,N,j,ye,pe,S,x,T),pe!==oe&&f(Z[X+re],xe,j,F,pe,oe,S,x,T)),X+=1,R+=$;1&W&&(X=0),Pe=re,re=ie,ie=Pe,Pe=ue,ue=ce,ce=Pe,Pe=de,de=me,me=Pe,R+=U}}w(Z),w(te)}},"false,1,0":function(s,f,c,p,w){return function(v,S,x,T){var C,_=0|v.shape[0],A=0|v.shape[1],L=v.data,b=0|v.offset,O=0|v.stride[0],I=0|v.stride[1],R=b,D=0|-O,F=0,B=0|-I,N=0,q=-O-I|0,j=0,$=0|I,U=O-I*A|0,G=0,W=0,H=0,ne=2*A|0,te=p(ne),Z=p(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-A,ce=0|A,ye=0,de=-A-1|0,me=A-1|0,pe=0,xe=0,Pe=0;for(W=0;W0){if(G=1,te[X++]=c(L[R],S,x,T),R+=$,A>0)for(W=1,C=L[R],Q=te[X]=c(C,S,x,T),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[R+D],N=L[R+B],j=L[R+q],s(G,W,C,F,N,j,Q,ye,oe,pe,S,x,T),xe=Z[X]=H++),X+=1,R+=$,W=2;W0)for(W=1,C=L[R],Q=te[X]=c(C,S,x,T),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[R+D],N=L[R+B],j=L[R+q],s(G,W,C,F,N,j,Q,ye,oe,pe,S,x,T),xe=Z[X]=H++,pe!==ye&&f(Z[X+ue],xe,j,F,pe,ye,S,x,T)),X+=1,R+=$,W=2;W2&&R[1]>2&&b(I.pick(-1,-1).lo(1,1).hi(R[0]-2,R[1]-2),O.pick(-1,-1,0).lo(1,1).hi(R[0]-2,R[1]-2),O.pick(-1,-1,1).lo(1,1).hi(R[0]-2,R[1]-2)),R[1]>2&&(L(I.pick(0,-1).lo(1).hi(R[1]-2),O.pick(0,-1,1).lo(1).hi(R[1]-2)),A(O.pick(0,-1,0).lo(1).hi(R[1]-2))),R[1]>2&&(L(I.pick(R[0]-1,-1).lo(1).hi(R[1]-2),O.pick(R[0]-1,-1,1).lo(1).hi(R[1]-2)),A(O.pick(R[0]-1,-1,0).lo(1).hi(R[1]-2))),R[0]>2&&(L(I.pick(-1,0).lo(1).hi(R[0]-2),O.pick(-1,0,0).lo(1).hi(R[0]-2)),A(O.pick(-1,0,1).lo(1).hi(R[0]-2))),R[0]>2&&(L(I.pick(-1,R[1]-1).lo(1).hi(R[0]-2),O.pick(-1,R[1]-1,0).lo(1).hi(R[0]-2)),A(O.pick(-1,R[1]-1,1).lo(1).hi(R[0]-2))),O.set(0,0,0,0),O.set(0,0,1,0),O.set(R[0]-1,0,0,0),O.set(R[0]-1,0,1,0),O.set(0,R[1]-1,0,0),O.set(0,R[1]-1,1,0),O.set(R[0]-1,R[1]-1,0,0),O.set(R[0]-1,R[1]-1,1,0),O}}h.exports=function(_,A,L){return Array.isArray(L)||(L=u(A.dimension,typeof L=="string"?L:"clamp")),A.size===0?_:A.dimension===0?(_.set(0),_):function(b){var O=b.join();if(F=v[O])return F;for(var I=b.length,R=[S,x],D=1;D<=I;++D)R.push(T(D));var F=C.apply(void 0,R);return v[O]=F,F}(L)(_,A)}},3581:function(h){function l(s,f){var c=Math.floor(f),p=f-c,w=0<=c&&c0;){q<64?(_=q,q=0):(_=64,q-=64);for(var j=0|c[1];j>0;){j<64?(A=j,j=0):(A=64,j-=64),v=B+q*b+j*O,T=N+q*R+j*D;var $=0,U=0,G=0,W=I,H=b-L*I,ne=O-_*b,te=F,Z=R-L*F,X=D-_*R;for(G=0;G0;){D<64?(_=D,D=0):(_=64,D-=64);for(var F=0|c[0];F>0;){F<64?(C=F,F=0):(C=64,F-=64),v=I+D*L+F*A,T=R+D*O+F*b;var B=0,N=0,q=L,j=A-_*L,$=O,U=b-_*O;for(N=0;N0;){N<64?(A=N,N=0):(A=64,N-=64);for(var q=0|c[0];q>0;){q<64?(C=q,q=0):(C=64,q-=64);for(var j=0|c[1];j>0;){j<64?(_=j,j=0):(_=64,j-=64),v=F+N*O+q*L+j*b,T=B+N*D+q*I+j*R;var $=0,U=0,G=0,W=O,H=L-A*O,ne=b-C*L,te=D,Z=I-A*D,X=R-C*I;for(G=0;G<_;++G){for(U=0;Uv;){N=0,q=F-C;t:for(B=0;B$)break t;q+=O,N+=I}for(N=F,q=F-C,B=0;B>1,Ce=Se-Pe,ae=Se+Pe,he=_e,be=Ce,ke=Se,Le=ae,Be=Me,ze=x+1,je=T-1,ge=!0,we=0,Ee=0,Ve=0,$e=O,Ye=w($e),st=w($e);ne=A*he,te=A*be,xe=_;e:for(H=0;H0){B=he,he=be,be=B;break e}if(Ve<0)break e;xe+=R}ne=A*Le,te=A*Be,xe=_;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=R}ne=A*he,te=A*ke,xe=_;e:for(H=0;H0){B=he,he=ke,ke=B;break e}if(Ve<0)break e;xe+=R}ne=A*be,te=A*ke,xe=_;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=R}ne=A*he,te=A*Le,xe=_;e:for(H=0;H0){B=he,he=Le,Le=B;break e}if(Ve<0)break e;xe+=R}ne=A*ke,te=A*Le,xe=_;e:for(H=0;H0){B=ke,ke=Le,Le=B;break e}if(Ve<0)break e;xe+=R}ne=A*be,te=A*Be,xe=_;e:for(H=0;H0){B=be,be=Be,Be=B;break e}if(Ve<0)break e;xe+=R}ne=A*be,te=A*ke,xe=_;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=R}ne=A*Le,te=A*Be,xe=_;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=R}for(ne=A*he,te=A*be,Z=A*ke,X=A*Le,Q=A*Be,re=A*_e,ie=A*Se,oe=A*Me,pe=0,xe=_,H=0;H0)){if(Ve<0){for(ne=A*$,te=A*ze,Z=A*je,xe=_,H=0;H0)for(;;){for(U=_+je*A,pe=0,H=0;H0)){for(U=_+je*A,pe=0,H=0;HMe){e:for(;;){for(U=_+ze*A,pe=0,xe=_,H=0;H1&&L?O(A,L[0],L[1]):O(A)}(p,w,x);return S(x,T)}},8729:function(h,l,a){var u=a(8139),o={};h.exports=function(s){var f=s.order,c=s.dtype,p=[f,c].join(":"),w=o[p];return w||(o[p]=w=u(f,c)),w(s),s}},5050:function(h,l,a){var u=a(4780),o=typeof Float64Array<"u";function s(v,S){return v[0]-S[0]}function f(){var v,S=this.stride,x=new Array(S.length);for(v=0;v=0&&(A+=O*(L=0|_),b-=L),new T(this.data,b,O,A)},C.step=function(_){var A=this.shape[0],L=this.stride[0],b=this.offset,O=0,I=Math.ceil;return typeof _=="number"&&((O=0|_)<0?(b+=L*(A-1),A=I(-A/O)):A=I(A/O),L*=O),new T(this.data,A,L,b)},C.transpose=function(_){_=_===void 0?0:0|_;var A=this.shape,L=this.stride;return new T(this.data,A[_],L[_],this.offset)},C.pick=function(_){var A=[],L=[],b=this.offset;return typeof _=="number"&&_>=0?b=b+this.stride[0]*_|0:(A.push(this.shape[0]),L.push(this.stride[0])),(0,S[A.length+1])(this.data,A,L,b)},function(_,A,L,b){return new T(_,A[0],L[0],b)}},2:function(v,S,x){function T(_,A,L,b,O,I){this.data=_,this.shape=[A,L],this.stride=[b,O],this.offset=0|I}var C=T.prototype;return C.dtype=v,C.dimension=2,Object.defineProperty(C,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(C,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),C.set=function(_,A,L){return v==="generic"?this.data.set(this.offset+this.stride[0]*_+this.stride[1]*A,L):this.data[this.offset+this.stride[0]*_+this.stride[1]*A]=L},C.get=function(_,A){return v==="generic"?this.data.get(this.offset+this.stride[0]*_+this.stride[1]*A):this.data[this.offset+this.stride[0]*_+this.stride[1]*A]},C.index=function(_,A){return this.offset+this.stride[0]*_+this.stride[1]*A},C.hi=function(_,A){return new T(this.data,typeof _!="number"||_<0?this.shape[0]:0|_,typeof A!="number"||A<0?this.shape[1]:0|A,this.stride[0],this.stride[1],this.offset)},C.lo=function(_,A){var L=this.offset,b=0,O=this.shape[0],I=this.shape[1],R=this.stride[0],D=this.stride[1];return typeof _=="number"&&_>=0&&(L+=R*(b=0|_),O-=b),typeof A=="number"&&A>=0&&(L+=D*(b=0|A),I-=b),new T(this.data,O,I,R,D,L)},C.step=function(_,A){var L=this.shape[0],b=this.shape[1],O=this.stride[0],I=this.stride[1],R=this.offset,D=0,F=Math.ceil;return typeof _=="number"&&((D=0|_)<0?(R+=O*(L-1),L=F(-L/D)):L=F(L/D),O*=D),typeof A=="number"&&((D=0|A)<0?(R+=I*(b-1),b=F(-b/D)):b=F(b/D),I*=D),new T(this.data,L,b,O,I,R)},C.transpose=function(_,A){_=_===void 0?0:0|_,A=A===void 0?1:0|A;var L=this.shape,b=this.stride;return new T(this.data,L[_],L[A],b[_],b[A],this.offset)},C.pick=function(_,A){var L=[],b=[],O=this.offset;return typeof _=="number"&&_>=0?O=O+this.stride[0]*_|0:(L.push(this.shape[0]),b.push(this.stride[0])),typeof A=="number"&&A>=0?O=O+this.stride[1]*A|0:(L.push(this.shape[1]),b.push(this.stride[1])),(0,S[L.length+1])(this.data,L,b,O)},function(_,A,L,b){return new T(_,A[0],A[1],L[0],L[1],b)}},3:function(v,S,x){function T(_,A,L,b,O,I,R,D){this.data=_,this.shape=[A,L,b],this.stride=[O,I,R],this.offset=0|D}var C=T.prototype;return C.dtype=v,C.dimension=3,Object.defineProperty(C,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(C,"order",{get:function(){var _=Math.abs(this.stride[0]),A=Math.abs(this.stride[1]),L=Math.abs(this.stride[2]);return _>A?A>L?[2,1,0]:_>L?[1,2,0]:[1,0,2]:_>L?[2,0,1]:L>A?[0,1,2]:[0,2,1]}}),C.set=function(_,A,L,b){return v==="generic"?this.data.set(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L,b):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L]=b},C.get=function(_,A,L){return v==="generic"?this.data.get(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L]},C.index=function(_,A,L){return this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L},C.hi=function(_,A,L){return new T(this.data,typeof _!="number"||_<0?this.shape[0]:0|_,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,this.stride[0],this.stride[1],this.stride[2],this.offset)},C.lo=function(_,A,L){var b=this.offset,O=0,I=this.shape[0],R=this.shape[1],D=this.shape[2],F=this.stride[0],B=this.stride[1],N=this.stride[2];return typeof _=="number"&&_>=0&&(b+=F*(O=0|_),I-=O),typeof A=="number"&&A>=0&&(b+=B*(O=0|A),R-=O),typeof L=="number"&&L>=0&&(b+=N*(O=0|L),D-=O),new T(this.data,I,R,D,F,B,N,b)},C.step=function(_,A,L){var b=this.shape[0],O=this.shape[1],I=this.shape[2],R=this.stride[0],D=this.stride[1],F=this.stride[2],B=this.offset,N=0,q=Math.ceil;return typeof _=="number"&&((N=0|_)<0?(B+=R*(b-1),b=q(-b/N)):b=q(b/N),R*=N),typeof A=="number"&&((N=0|A)<0?(B+=D*(O-1),O=q(-O/N)):O=q(O/N),D*=N),typeof L=="number"&&((N=0|L)<0?(B+=F*(I-1),I=q(-I/N)):I=q(I/N),F*=N),new T(this.data,b,O,I,R,D,F,B)},C.transpose=function(_,A,L){_=_===void 0?0:0|_,A=A===void 0?1:0|A,L=L===void 0?2:0|L;var b=this.shape,O=this.stride;return new T(this.data,b[_],b[A],b[L],O[_],O[A],O[L],this.offset)},C.pick=function(_,A,L){var b=[],O=[],I=this.offset;return typeof _=="number"&&_>=0?I=I+this.stride[0]*_|0:(b.push(this.shape[0]),O.push(this.stride[0])),typeof A=="number"&&A>=0?I=I+this.stride[1]*A|0:(b.push(this.shape[1]),O.push(this.stride[1])),typeof L=="number"&&L>=0?I=I+this.stride[2]*L|0:(b.push(this.shape[2]),O.push(this.stride[2])),(0,S[b.length+1])(this.data,b,O,I)},function(_,A,L,b){return new T(_,A[0],A[1],A[2],L[0],L[1],L[2],b)}},4:function(v,S,x){function T(_,A,L,b,O,I,R,D,F,B){this.data=_,this.shape=[A,L,b,O],this.stride=[I,R,D,F],this.offset=0|B}var C=T.prototype;return C.dtype=v,C.dimension=4,Object.defineProperty(C,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(C,"order",{get:x}),C.set=function(_,A,L,b,O){return v==="generic"?this.data.set(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b,O):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]=O},C.get=function(_,A,L,b){return v==="generic"?this.data.get(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]},C.index=function(_,A,L,b){return this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b},C.hi=function(_,A,L,b){return new T(this.data,typeof _!="number"||_<0?this.shape[0]:0|_,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},C.lo=function(_,A,L,b){var O=this.offset,I=0,R=this.shape[0],D=this.shape[1],F=this.shape[2],B=this.shape[3],N=this.stride[0],q=this.stride[1],j=this.stride[2],$=this.stride[3];return typeof _=="number"&&_>=0&&(O+=N*(I=0|_),R-=I),typeof A=="number"&&A>=0&&(O+=q*(I=0|A),D-=I),typeof L=="number"&&L>=0&&(O+=j*(I=0|L),F-=I),typeof b=="number"&&b>=0&&(O+=$*(I=0|b),B-=I),new T(this.data,R,D,F,B,N,q,j,$,O)},C.step=function(_,A,L,b){var O=this.shape[0],I=this.shape[1],R=this.shape[2],D=this.shape[3],F=this.stride[0],B=this.stride[1],N=this.stride[2],q=this.stride[3],j=this.offset,$=0,U=Math.ceil;return typeof _=="number"&&(($=0|_)<0?(j+=F*(O-1),O=U(-O/$)):O=U(O/$),F*=$),typeof A=="number"&&(($=0|A)<0?(j+=B*(I-1),I=U(-I/$)):I=U(I/$),B*=$),typeof L=="number"&&(($=0|L)<0?(j+=N*(R-1),R=U(-R/$)):R=U(R/$),N*=$),typeof b=="number"&&(($=0|b)<0?(j+=q*(D-1),D=U(-D/$)):D=U(D/$),q*=$),new T(this.data,O,I,R,D,F,B,N,q,j)},C.transpose=function(_,A,L,b){_=_===void 0?0:0|_,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b;var O=this.shape,I=this.stride;return new T(this.data,O[_],O[A],O[L],O[b],I[_],I[A],I[L],I[b],this.offset)},C.pick=function(_,A,L,b){var O=[],I=[],R=this.offset;return typeof _=="number"&&_>=0?R=R+this.stride[0]*_|0:(O.push(this.shape[0]),I.push(this.stride[0])),typeof A=="number"&&A>=0?R=R+this.stride[1]*A|0:(O.push(this.shape[1]),I.push(this.stride[1])),typeof L=="number"&&L>=0?R=R+this.stride[2]*L|0:(O.push(this.shape[2]),I.push(this.stride[2])),typeof b=="number"&&b>=0?R=R+this.stride[3]*b|0:(O.push(this.shape[3]),I.push(this.stride[3])),(0,S[O.length+1])(this.data,O,I,R)},function(_,A,L,b){return new T(_,A[0],A[1],A[2],A[3],L[0],L[1],L[2],L[3],b)}},5:function(v,S,x){function T(_,A,L,b,O,I,R,D,F,B,N,q){this.data=_,this.shape=[A,L,b,O,I],this.stride=[R,D,F,B,N],this.offset=0|q}var C=T.prototype;return C.dtype=v,C.dimension=5,Object.defineProperty(C,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(C,"order",{get:x}),C.set=function(_,A,L,b,O,I){return v==="generic"?this.data.set(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O,I):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O]=I},C.get=function(_,A,L,b,O){return v==="generic"?this.data.get(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O]},C.index=function(_,A,L,b,O){return this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*O},C.hi=function(_,A,L,b,O){return new T(this.data,typeof _!="number"||_<0?this.shape[0]:0|_,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,typeof O!="number"||O<0?this.shape[4]:0|O,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},C.lo=function(_,A,L,b,O){var I=this.offset,R=0,D=this.shape[0],F=this.shape[1],B=this.shape[2],N=this.shape[3],q=this.shape[4],j=this.stride[0],$=this.stride[1],U=this.stride[2],G=this.stride[3],W=this.stride[4];return typeof _=="number"&&_>=0&&(I+=j*(R=0|_),D-=R),typeof A=="number"&&A>=0&&(I+=$*(R=0|A),F-=R),typeof L=="number"&&L>=0&&(I+=U*(R=0|L),B-=R),typeof b=="number"&&b>=0&&(I+=G*(R=0|b),N-=R),typeof O=="number"&&O>=0&&(I+=W*(R=0|O),q-=R),new T(this.data,D,F,B,N,q,j,$,U,G,W,I)},C.step=function(_,A,L,b,O){var I=this.shape[0],R=this.shape[1],D=this.shape[2],F=this.shape[3],B=this.shape[4],N=this.stride[0],q=this.stride[1],j=this.stride[2],$=this.stride[3],U=this.stride[4],G=this.offset,W=0,H=Math.ceil;return typeof _=="number"&&((W=0|_)<0?(G+=N*(I-1),I=H(-I/W)):I=H(I/W),N*=W),typeof A=="number"&&((W=0|A)<0?(G+=q*(R-1),R=H(-R/W)):R=H(R/W),q*=W),typeof L=="number"&&((W=0|L)<0?(G+=j*(D-1),D=H(-D/W)):D=H(D/W),j*=W),typeof b=="number"&&((W=0|b)<0?(G+=$*(F-1),F=H(-F/W)):F=H(F/W),$*=W),typeof O=="number"&&((W=0|O)<0?(G+=U*(B-1),B=H(-B/W)):B=H(B/W),U*=W),new T(this.data,I,R,D,F,B,N,q,j,$,U,G)},C.transpose=function(_,A,L,b,O){_=_===void 0?0:0|_,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b,O=O===void 0?4:0|O;var I=this.shape,R=this.stride;return new T(this.data,I[_],I[A],I[L],I[b],I[O],R[_],R[A],R[L],R[b],R[O],this.offset)},C.pick=function(_,A,L,b,O){var I=[],R=[],D=this.offset;return typeof _=="number"&&_>=0?D=D+this.stride[0]*_|0:(I.push(this.shape[0]),R.push(this.stride[0])),typeof A=="number"&&A>=0?D=D+this.stride[1]*A|0:(I.push(this.shape[1]),R.push(this.stride[1])),typeof L=="number"&&L>=0?D=D+this.stride[2]*L|0:(I.push(this.shape[2]),R.push(this.stride[2])),typeof b=="number"&&b>=0?D=D+this.stride[3]*b|0:(I.push(this.shape[3]),R.push(this.stride[3])),typeof O=="number"&&O>=0?D=D+this.stride[4]*O|0:(I.push(this.shape[4]),R.push(this.stride[4])),(0,S[I.length+1])(this.data,I,R,D)},function(_,A,L,b){return new T(_,A[0],A[1],A[2],A[3],A[4],L[0],L[1],L[2],L[3],L[4],b)}}};function p(v,S){var x=S===-1?"T":String(S),T=c[x];return S===-1?T(v):S===0?T(v,w[v][0]):T(v,w[v],f)}var w={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};h.exports=function(v,S,x,T){if(v===void 0)return(0,w.array[0])([]);typeof v=="number"&&(v=[v]),S===void 0&&(S=[v.length]);var C=S.length;if(x===void 0){x=new Array(C);for(var _=C-1,A=1;_>=0;--_)x[_]=A,A*=S[_]}if(T===void 0)for(T=0,_=0;_>>0;h.exports=function(f,c){if(isNaN(f)||isNaN(c))return NaN;if(f===c)return f;if(f===0)return c<0?-o:o;var p=u.hi(f),w=u.lo(f);return c>f==f>0?w===s?(p+=1,w=0):w+=1:w===0?(w=s,p-=1):w-=1,u.pack(w,p)}},115:function(h,l){l.vertexNormals=function(a,u,o){for(var s=u.length,f=new Array(s),c=o===void 0?1e-6:o,p=0;pc){var D=f[S],F=1/Math.sqrt(b*I);for(R=0;R<3;++R){var B=(R+1)%3,N=(R+2)%3;D[R]+=F*(O[B]*L[N]-O[N]*L[B])}}}for(p=0;pc)for(F=1/Math.sqrt(q),R=0;R<3;++R)D[R]*=F;else for(R=0;R<3;++R)D[R]=0}return f},l.faceNormals=function(a,u,o){for(var s=a.length,f=new Array(s),c=o===void 0?1e-6:o,p=0;pc?1/Math.sqrt(_):0,S=0;S<3;++S)C[S]*=_;f[p]=C}return f}},567:function(h){h.exports=function(l,a,u,o,s,f,c,p,w,v){var S=a+f+v;if(x>0){var x=Math.sqrt(S+1);l[0]=.5*(c-w)/x,l[1]=.5*(p-o)/x,l[2]=.5*(u-f)/x,l[3]=.5*x}else{var T=Math.max(a,f,v);x=Math.sqrt(2*T-S+1),a>=T?(l[0]=.5*x,l[1]=.5*(s+u)/x,l[2]=.5*(p+o)/x,l[3]=.5*(c-w)/x):f>=T?(l[0]=.5*(u+s)/x,l[1]=.5*x,l[2]=.5*(w+c)/x,l[3]=.5*(p-o)/x):(l[0]=.5*(o+p)/x,l[1]=.5*(c+w)/x,l[2]=.5*x,l[3]=.5*(u-s)/x)}return l}},7774:function(h,l,a){h.exports=function(T){var C=(T=T||{}).center||[0,0,0],_=T.rotation||[0,0,0,1],A=T.radius||1;C=[].slice.call(C,0,3),v(_=[].slice.call(_,0,4),_);var L=new S(_,C,Math.log(A));return L.setDistanceLimits(T.zoomMin,T.zoomMax),("eye"in T||"up"in T)&&L.lookAt(0,T.eye,T.center,T.up),L};var u=a(8444),o=a(3012),s=a(5950),f=a(7437),c=a(567);function p(T,C,_){return Math.sqrt(Math.pow(T,2)+Math.pow(C,2)+Math.pow(_,2))}function w(T,C,_,A){return Math.sqrt(Math.pow(T,2)+Math.pow(C,2)+Math.pow(_,2)+Math.pow(A,2))}function v(T,C){var _=C[0],A=C[1],L=C[2],b=C[3],O=w(_,A,L,b);O>1e-6?(T[0]=_/O,T[1]=A/O,T[2]=L/O,T[3]=b/O):(T[0]=T[1]=T[2]=0,T[3]=1)}function S(T,C,_){this.radius=u([_]),this.center=u(C),this.rotation=u(T),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var x=S.prototype;x.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},x.recalcMatrix=function(T){this.radius.curve(T),this.center.curve(T),this.rotation.curve(T);var C=this.computedRotation;v(C,C);var _=this.computedMatrix;s(_,C);var A=this.computedCenter,L=this.computedEye,b=this.computedUp,O=Math.exp(this.computedRadius[0]);L[0]=A[0]+O*_[2],L[1]=A[1]+O*_[6],L[2]=A[2]+O*_[10],b[0]=_[1],b[1]=_[5],b[2]=_[9];for(var I=0;I<3;++I){for(var R=0,D=0;D<3;++D)R+=_[I+4*D]*L[D];_[12+I]=-R}},x.getMatrix=function(T,C){this.recalcMatrix(T);var _=this.computedMatrix;if(C){for(var A=0;A<16;++A)C[A]=_[A];return C}return _},x.idle=function(T){this.center.idle(T),this.radius.idle(T),this.rotation.idle(T)},x.flush=function(T){this.center.flush(T),this.radius.flush(T),this.rotation.flush(T)},x.pan=function(T,C,_,A){C=C||0,_=_||0,A=A||0,this.recalcMatrix(T);var L=this.computedMatrix,b=L[1],O=L[5],I=L[9],R=p(b,O,I);b/=R,O/=R,I/=R;var D=L[0],F=L[4],B=L[8],N=D*b+F*O+B*I,q=p(D-=b*N,F-=O*N,B-=I*N);D/=q,F/=q,B/=q,L[2],L[6],L[10];var j=D*C+b*_,$=F*C+O*_,U=B*C+I*_;this.center.move(T,j,$,U);var G=Math.exp(this.computedRadius[0]);G=Math.max(1e-4,G+A),this.radius.set(T,Math.log(G))},x.rotate=function(T,C,_,A){this.recalcMatrix(T),C=C||0,_=_||0;var L=this.computedMatrix,b=L[0],O=L[4],I=L[8],R=L[1],D=L[5],F=L[9],B=L[2],N=L[6],q=L[10],j=C*b+_*R,$=C*O+_*D,U=C*I+_*F,G=-(N*U-q*$),W=-(q*j-B*U),H=-(B*$-N*j),ne=Math.sqrt(Math.max(0,1-Math.pow(G,2)-Math.pow(W,2)-Math.pow(H,2))),te=w(G,W,H,ne);te>1e-6?(G/=te,W/=te,H/=te,ne/=te):(G=W=H=0,ne=1);var Z=this.computedRotation,X=Z[0],Q=Z[1],re=Z[2],ie=Z[3],oe=X*ne+ie*G+Q*H-re*W,ue=Q*ne+ie*W+re*G-X*H,ce=re*ne+ie*H+X*W-Q*G,ye=ie*ne-X*G-Q*W-re*H;if(A){G=B,W=N,H=q;var de=Math.sin(A)/p(G,W,H);G*=de,W*=de,H*=de,ye=ye*(ne=Math.cos(C))-(oe=oe*ne+ye*G+ue*H-ce*W)*G-(ue=ue*ne+ye*W+ce*G-oe*H)*W-(ce=ce*ne+ye*H+oe*W-ue*G)*H}var me=w(oe,ue,ce,ye);me>1e-6?(oe/=me,ue/=me,ce/=me,ye/=me):(oe=ue=ce=0,ye=1),this.rotation.set(T,oe,ue,ce,ye)},x.lookAt=function(T,C,_,A){this.recalcMatrix(T),_=_||this.computedCenter,C=C||this.computedEye,A=A||this.computedUp;var L=this.computedMatrix;o(L,C,_,A);var b=this.computedRotation;c(b,L[0],L[1],L[2],L[4],L[5],L[6],L[8],L[9],L[10]),v(b,b),this.rotation.set(T,b[0],b[1],b[2],b[3]);for(var O=0,I=0;I<3;++I)O+=Math.pow(_[I]-C[I],2);this.radius.set(T,.5*Math.log(Math.max(O,1e-6))),this.center.set(T,_[0],_[1],_[2])},x.translate=function(T,C,_,A){this.center.move(T,C||0,_||0,A||0)},x.setMatrix=function(T,C){var _=this.computedRotation;c(_,C[0],C[1],C[2],C[4],C[5],C[6],C[8],C[9],C[10]),v(_,_),this.rotation.set(T,_[0],_[1],_[2],_[3]);var A=this.computedMatrix;f(A,C);var L=A[15];if(Math.abs(L)>1e-6){var b=A[12]/L,O=A[13]/L,I=A[14]/L;this.recalcMatrix(T);var R=Math.exp(this.computedRadius[0]);this.center.set(T,b-A[2]*R,O-A[6]*R,I-A[10]*R),this.radius.idle(T)}else this.center.idle(T),this.radius.idle(T)},x.setDistance=function(T,C){C>0&&this.radius.set(T,Math.log(C))},x.setDistanceLimits=function(T,C){T=T>0?Math.log(T):-1/0,C=C>0?Math.log(C):1/0,C=Math.max(C,T),this.radius.bounds[0][0]=T,this.radius.bounds[1][0]=C},x.getDistanceLimits=function(T){var C=this.radius.bounds;return T?(T[0]=Math.exp(C[0][0]),T[1]=Math.exp(C[1][0]),T):[Math.exp(C[0][0]),Math.exp(C[1][0])]},x.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},x.fromJSON=function(T){var C=this.lastT(),_=T.center;_&&this.center.set(C,_[0],_[1],_[2]);var A=T.rotation;A&&this.rotation.set(C,A[0],A[1],A[2],A[3]);var L=T.distance;L&&L>0&&this.radius.set(C,Math.log(L)),this.setDistanceLimits(T.zoomMin,T.zoomMax)}},4930:function(h,l,a){var u=a(6184);h.exports=function(o,s,f){return u(f=f!==void 0?f+"":" ",s)+o}},4405:function(h){h.exports=function(l,a){a||(a=[0,""]),l=String(l);var u=parseFloat(l,10);return a[0]=u,a[1]=l.match(/[\d.\-\+]*\s*(.*)/)[1]||"",a}},4166:function(h,l,a){h.exports=function(o,s){for(var f=0|s.length,c=o.length,p=[new Array(f),new Array(f)],w=0;w0){D=p[N][I][0],B=N;break}F=D[1^B];for(var q=0;q<2;++q)for(var j=p[q][I],$=0;$0&&(D=U,F=G,B=q)}return R||D&&x(D,B),F}function C(O,I){var R=p[I][O][0],D=[O];x(R,I);for(var F=R[1^I];;){for(;F!==O;)D.push(F),F=T(D[D.length-2],F,!1);if(p[0][O].length+p[1][O].length===0)break;var B=D[D.length-1],N=O,q=D[1],j=T(B,N,!0);if(u(s[B],s[N],s[q],s[j])<0)break;D.push(O),F=T(B,N)}return D}function _(O,I){return I[1]===I[I.length-1]}for(w=0;w0;){p[0][w].length;var b=C(w,A);_(0,b)?L.push.apply(L,b):(L.length>0&&S.push(L),L=b)}L.length>0&&S.push(L)}return S};var u=a(9398)},3959:function(h,l,a){h.exports=function(o,s){for(var f=u(o,s.length),c=new Array(s.length),p=new Array(s.length),w=[],v=0;v0;){var x=w.pop();c[x]=!1;var T=f[x];for(v=0;v0})).length,O=new Array(b),I=new Array(b);for(A=0;A0;){var ue=ie.pop(),ce=W[ue];p(ce,function(Pe,_e){return Pe-_e});var ye,de=ce.length,me=oe[ue];if(me===0){var pe=L[ue];ye=[pe]}for(A=0;A=0||(oe[xe]=1^me,ie.push(xe),me===0&&(re(pe=L[xe])||(pe.reverse(),ye.push(pe))))}me===0&&T.push(ye)}return T};var u=a(8348),o=a(4166),s=a(211),f=a(9660),c=a(9662),p=a(1215),w=a(3959);function v(S,x){for(var T=new Array(S),C=0;C0&&N[j]===q[0]))return 1;$=B[j-1]}for(var U=1;$;){var G=$.key,W=u(q,G[0],G[1]);if(G[0][0]0))return 0;U=-1,$=$.right}else if(W>0)$=$.left;else{if(!(W<0))return 0;U=1,$=$.right}}return U}}(D.slabs,D.coordinates);return T.length===0?F:function(B,N){return function(q){return B(q[0],q[1])?0:N(q)}}(p(T),F)};var u=a(417)[3],o=a(4385),s=a(9014),f=a(5070);function c(){return!0}function p(v){for(var S={},x=0;x=v?(N=1,O=v+2*T+_):O=T*(N=-T/v)+_):(N=0,C>=0?(q=0,O=_):-C>=x?(q=1,O=x+2*C+_):O=C*(q=-C/x)+_);else if(q<0)q=0,T>=0?(N=0,O=_):-T>=v?(N=1,O=v+2*T+_):O=T*(N=-T/v)+_;else{var j=1/B;O=(N*=j)*(v*N+S*(q*=j)+2*T)+q*(S*N+x*q+2*C)+_}else N<0?(R=x+C)>(I=S+T)?(D=R-I)>=(F=v-2*S+x)?(N=1,q=0,O=v+2*T+_):O=(N=D/F)*(v*N+S*(q=1-N)+2*T)+q*(S*N+x*q+2*C)+_:(N=0,R<=0?(q=1,O=x+2*C+_):C>=0?(q=0,O=_):O=C*(q=-C/x)+_):q<0?(R=v+T)>(I=S+C)?(D=R-I)>=(F=v-2*S+x)?(q=1,N=0,O=x+2*C+_):O=(N=1-(q=D/F))*(v*N+S*q+2*T)+q*(S*N+x*q+2*C)+_:(q=0,R<=0?(N=1,O=v+2*T+_):T>=0?(N=0,O=_):O=T*(N=-T/v)+_):(D=x+C-S-T)<=0?(N=0,q=1,O=x+2*C+_):D>=(F=v-2*S+x)?(N=1,q=0,O=v+2*T+_):O=(N=D/F)*(v*N+S*(q=1-N)+2*T)+q*(S*N+x*q+2*C)+_;var $=1-N-q;for(w=0;w0){var x=f[p-1];if(u(v,x)===0&&s(x)!==S){p-=1;continue}}f[p++]=v}}return f.length=p,f}},6184:function(h){var l,a="";h.exports=function(u,o){if(typeof u!="string")throw new TypeError("expected a string");if(o===1)return u;if(o===2)return u+u;var s=u.length*o;if(l!==u||l===void 0)l=u,a="";else if(a.length>=s)return a.substr(0,s);for(;s>a.length&&o>1;)1&o&&(a+=u),o>>=1,u+=u;return a=(a+=u).substr(0,s)}},8161:function(h,l,a){h.exports=a.g.performance&&a.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(h){h.exports=function(l){for(var a=l.length,u=l[l.length-1],o=a,s=a-2;s>=0;--s){var f=u,c=l[s];(w=c-((u=f+c)-f))&&(l[--o]=u,u=w)}var p=0;for(s=o;s0){if(R<=0)return D;O=I+R}else{if(!(I<0)||R>=0)return D;O=-(I+R)}var F=33306690738754716e-32*O;return D>=F||D<=-F?D:S(A,L,b)},function(A,L,b,O){var I=A[0]-O[0],R=L[0]-O[0],D=b[0]-O[0],F=A[1]-O[1],B=L[1]-O[1],N=b[1]-O[1],q=A[2]-O[2],j=L[2]-O[2],$=b[2]-O[2],U=R*N,G=D*B,W=D*F,H=I*N,ne=I*B,te=R*F,Z=q*(U-G)+j*(W-H)+$*(ne-te),X=7771561172376103e-31*((Math.abs(U)+Math.abs(G))*Math.abs(q)+(Math.abs(W)+Math.abs(H))*Math.abs(j)+(Math.abs(ne)+Math.abs(te))*Math.abs($));return Z>X||-Z>X?Z:x(A,L,b,O)}];function C(A){var L=T[A.length];return L||(L=T[A.length]=v(A.length)),L.apply(void 0,A)}function _(A,L,b,O,I,R,D){return function(F,B,N,q,j){switch(arguments.length){case 0:case 1:return 0;case 2:return O(F,B);case 3:return I(F,B,N);case 4:return R(F,B,N,q);case 5:return D(F,B,N,q,j)}for(var $=new Array(arguments.length),U=0;U0&&w>0||p<0&&w<0)return!1;var v=u(f,o,s),S=u(c,o,s);return!(v>0&&S>0||v<0&&S<0)&&(p!==0||w!==0||v!==0||S!==0||function(x,T,C,_){for(var A=0;A<2;++A){var L=x[A],b=T[A],O=Math.min(L,b),I=Math.max(L,b),R=C[A],D=_[A],F=Math.min(R,D);if(Math.max(R,D)=o?(s=x,(w+=1)=o?(s=x,(w+=1)>1,x=o[2*S+1];if(x===p)return S;p>1,x=o[2*S+1];if(x===p)return S;p>1,x=o[2*S+1];if(x===p)return S;p0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=f=((o>>>=s)>255)<<3,s|=f=((o>>>=f)>15)<<2,(s|=f=((o>>>=f)>3)<<1)|(o>>>=f)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var f=s,c=s,p=7;for(f>>>=1;f;f>>>=1)c<<=1,c|=1&f,--p;o[s]=c<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,f){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(f=1227133513&((f=3272356035&((f=251719695&((f=4278190335&((f&=1023)|f<<16))|f<<8))|f<<4))|f<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},6656:function(h,l,a){var u=a(9392),o=a(9521);function s(x,T){var C=x.length,_=x.length-T.length,A=Math.min;if(_)return _;switch(C){case 0:return 0;case 1:return x[0]-T[0];case 2:return(O=x[0]+x[1]-T[0]-T[1])||A(x[0],x[1])-A(T[0],T[1]);case 3:var L=x[0]+x[1],b=T[0]+T[1];if(O=L+x[2]-(b+T[2]))return O;var O,I=A(x[0],x[1]),R=A(T[0],T[1]);return(O=A(I,x[2])-A(R,T[2]))||A(I+x[2],L)-A(R+T[2],b);default:var D=x.slice(0);D.sort();var F=T.slice(0);F.sort();for(var B=0;B>1,b=s(x[L],T);b<=0?(b===0&&(A=L),C=L+1):b>0&&(_=L-1)}return A}function v(x,T){for(var C=new Array(x.length),_=0,A=C.length;_=x.length||s(x[N],L)!==0););}return C}function S(x,T){if(T<0)return[];for(var C=[],_=(1<>>R&1&&I.push(A[R]);T.push(I)}return c(T)},l.skeleton=S,l.boundary=function(x){for(var T=[],C=0,_=x.length;C<_;++C)for(var A=x[C],L=0,b=A.length;L>1:(te>>1)-1}function D(te){for(var Z=I(te);;){var X=Z,Q=2*te+1,re=2*(te+1),ie=te;if(Q0;){var X=R(te);if(!(X>=0&&Z0){var te=j[0];return O(0,U-1),U-=1,D(0),te}return-1}function N(te,Z){var X=j[te];return x[X]===Z?te:(x[X]=-1/0,F(te),B(),x[X]=Z,F((U+=1)-1))}function q(te){if(!T[te]){T[te]=!0;var Z=v[te],X=S[te];v[X]>=0&&(v[X]=Z),S[Z]>=0&&(S[Z]=X),$[Z]>=0&&N($[Z],b(Z)),$[X]>=0&&N($[X],b(X))}}var j=[],$=new Array(p);for(C=0;C>1;C>=0;--C)D(C);for(;;){var G=B();if(G<0||x[G]>c)break;q(G)}var W=[];for(C=0;C=0&&X>=0&&Z!==X){var Q=$[Z],re=$[X];Q!==re&&ne.push([Q,re])}}),o.unique(o.normalize(ne)),{positions:W,edges:ne}};var u=a(417),o=a(6656)},6638:function(h,l,a){h.exports=function(s,f){var c,p,w,v;if(f[0][0]f[1][0]))return o(f,s);c=f[1],p=f[0]}if(s[0][0]s[1][0]))return-o(s,f);w=s[1],v=s[0]}var S=u(c,p,v),x=u(c,p,w);if(S<0){if(x<=0)return S}else if(S>0){if(x>=0)return S}else if(x)return x;if(S=u(v,w,p),x=u(v,w,c),S<0){if(x<=0)return S}else if(S>0){if(x>=0)return S}else if(x)return x;return p[0]-v[0]};var u=a(417);function o(s,f){var c,p,w,v;if(f[0][0]f[1][0])){var S=Math.min(s[0][1],s[1][1]),x=Math.max(s[0][1],s[1][1]),T=Math.min(f[0][1],f[1][1]),C=Math.max(f[0][1],f[1][1]);return xC?S-C:x-C}c=f[1],p=f[0]}s[0][1]0)if(T[0]!==L[1][0])C=x,x=x.right;else{if(O=w(x.right,T))return O;x=x.left}else{if(T[0]!==L[1][0])return x;var O;if(O=w(x.right,T))return O;x=x.left}}return C}function v(x,T,C,_){this.y=x,this.index=T,this.start=C,this.closed=_}function S(x,T,C,_){this.x=x,this.segment=T,this.create=C,this.index=_}c.prototype.castUp=function(x){var T=u.le(this.coordinates,x[0]);if(T<0)return-1;this.slabs[T];var C=w(this.slabs[T],x),_=-1;if(C&&(_=C.value),this.coordinates[T]===x[0]){var A=null;if(C&&(A=C.key),T>0){var L=w(this.slabs[T-1],x);L&&(A?f(L.key,A)>0&&(A=L.key,_=L.value):(_=L.value,A=L.key))}var b=this.horizontal[T];if(b.length>0){var O=u.ge(b,x[1],p);if(O=b.length)return _;I=b[O]}}if(I.start)if(A){var R=s(A[0],A[1],[x[0],I.y]);A[0][0]>A[1][0]&&(R=-R),R>0&&(_=I.index)}else _=I.index;else I.y!==x[1]&&(_=I.index)}}}return _}},4670:function(h,l,a){var u=a(9130),o=a(9662);function s(c,p){var w=o(u(c,p),[p[p.length-1]]);return w[w.length-1]}function f(c,p,w,v){var S=-p/(v-p);S<0?S=0:S>1&&(S=1);for(var x=1-S,T=c.length,C=new Array(T),_=0;_0||S>0&&_<0){var A=f(x,_,T,S);w.push(A),v.push(A.slice())}_<0?v.push(T.slice()):_>0?w.push(T.slice()):(w.push(T.slice()),v.push(T.slice())),S=_}return{positive:w,negative:v}},h.exports.positive=function(c,p){for(var w=[],v=s(c[c.length-1],p),S=c[c.length-1],x=c[0],T=0;T0||v>0&&C<0)&&w.push(f(S,C,x,v)),C>=0&&w.push(x.slice()),v=C}return w},h.exports.negative=function(c,p){for(var w=[],v=s(c[c.length-1],p),S=c[c.length-1],x=c[0],T=0;T0||v>0&&C<0)&&w.push(f(S,C,x,v)),C<=0&&w.push(x.slice()),v=C}return w}},8974:function(h,l,a){var u;(function(){var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function s(v){return c(w(v),arguments)}function f(v,S){return s.apply(null,[v].concat(S||[]))}function c(v,S){var x,T,C,_,A,L,b,O,I,R=1,D=v.length,F="";for(T=0;T=0),_.type){case"b":x=parseInt(x,10).toString(2);break;case"c":x=String.fromCharCode(parseInt(x,10));break;case"d":case"i":x=parseInt(x,10);break;case"j":x=JSON.stringify(x,null,_.width?parseInt(_.width):0);break;case"e":x=_.precision?parseFloat(x).toExponential(_.precision):parseFloat(x).toExponential();break;case"f":x=_.precision?parseFloat(x).toFixed(_.precision):parseFloat(x);break;case"g":x=_.precision?String(Number(x.toPrecision(_.precision))):parseFloat(x);break;case"o":x=(parseInt(x,10)>>>0).toString(8);break;case"s":x=String(x),x=_.precision?x.substring(0,_.precision):x;break;case"t":x=String(!!x),x=_.precision?x.substring(0,_.precision):x;break;case"T":x=Object.prototype.toString.call(x).slice(8,-1).toLowerCase(),x=_.precision?x.substring(0,_.precision):x;break;case"u":x=parseInt(x,10)>>>0;break;case"v":x=x.valueOf(),x=_.precision?x.substring(0,_.precision):x;break;case"x":x=(parseInt(x,10)>>>0).toString(16);break;case"X":x=(parseInt(x,10)>>>0).toString(16).toUpperCase()}o.json.test(_.type)?F+=x:(!o.number.test(_.type)||O&&!_.sign?I="":(I=O?"+":"-",x=x.toString().replace(o.sign,"")),L=_.pad_char?_.pad_char==="0"?"0":_.pad_char.charAt(1):" ",b=_.width-(I+x).length,A=_.width&&b>0?L.repeat(b):"",F+=_.align?I+x+A:L==="0"?I+A+x:A+I+x)}return F}var p=Object.create(null);function w(v){if(p[v])return p[v];for(var S,x=v,T=[],C=0;x;){if((S=o.text.exec(x))!==null)T.push(S[0]);else if((S=o.modulo.exec(x))!==null)T.push("%");else{if((S=o.placeholder.exec(x))===null)throw new SyntaxError("[sprintf] unexpected placeholder");if(S[2]){C|=1;var _=[],A=S[2],L=[];if((L=o.key.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");for(_.push(L[1]);(A=A.substring(L[0].length))!=="";)if((L=o.key_access.exec(A))!==null)_.push(L[1]);else{if((L=o.index_access.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");_.push(L[1])}S[2]=_}else C|=2;if(C===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");T.push({placeholder:S[0],param_no:S[1],keys:S[2],sign:S[3],pad_char:S[4],align:S[5],width:S[6],precision:S[7],type:S[8]})}x=x.substring(S[0].length)}return p[v]=T}l.sprintf=s,l.vsprintf=f,typeof window<"u"&&(window.sprintf=s,window.vsprintf=f,(u=(function(){return{sprintf:s,vsprintf:f}}).call(l,a,l,h))===void 0||(h.exports=u))})()},4162:function(h,l,a){h.exports=function(c,p){if(c.dimension<=0)return{positions:[],cells:[]};if(c.dimension===1)return function(S,x){for(var T=o(S,x),C=T.length,_=new Array(C),A=new Array(C),L=0;LC|0},vertex:function(S,x,T,C,_,A,L,b,O,I,R,D,F){var B=(L<<0)+(b<<1)+(O<<2)+(I<<3)|0;if(B!==0&&B!==15)switch(B){case 0:case 15:R.push([S-.5,x-.5]);break;case 1:R.push([S-.25-.25*(C+T-2*F)/(T-C),x-.25-.25*(_+T-2*F)/(T-_)]);break;case 2:R.push([S-.75-.25*(-C-T+2*F)/(C-T),x-.25-.25*(A+C-2*F)/(C-A)]);break;case 3:R.push([S-.5,x-.5-.5*(_+T+A+C-4*F)/(T-_+C-A)]);break;case 4:R.push([S-.25-.25*(A+_-2*F)/(_-A),x-.75-.25*(-_-T+2*F)/(_-T)]);break;case 5:R.push([S-.5-.5*(C+T+A+_-4*F)/(T-C+_-A),x-.5]);break;case 6:R.push([S-.5-.25*(-C-T+A+_)/(C-T+_-A),x-.5-.25*(-_-T+A+C)/(_-T+C-A)]);break;case 7:R.push([S-.75-.25*(A+_-2*F)/(_-A),x-.75-.25*(A+C-2*F)/(C-A)]);break;case 8:R.push([S-.75-.25*(-A-_+2*F)/(A-_),x-.75-.25*(-A-C+2*F)/(A-C)]);break;case 9:R.push([S-.5-.25*(C+T+-A-_)/(T-C+A-_),x-.5-.25*(_+T+-A-C)/(T-_+A-C)]);break;case 10:R.push([S-.5-.5*(-C-T-A-_+4*F)/(C-T+A-_),x-.5]);break;case 11:R.push([S-.25-.25*(-A-_+2*F)/(A-_),x-.75-.25*(_+T-2*F)/(T-_)]);break;case 12:R.push([S-.5,x-.5-.5*(-_-T-A-C+4*F)/(_-T+A-C)]);break;case 13:R.push([S-.75-.25*(C+T-2*F)/(T-C),x-.25-.25*(-A-C+2*F)/(A-C)]);break;case 14:R.push([S-.25-.25*(-C-T+2*F)/(C-T),x-.25-.25*(-_-T+2*F)/(_-T)])}},cell:function(S,x,T,C,_,A,L,b,O){_?b.push([S,x]):b.push([x,S])}});return function(S,x){var T=[],C=[];return v(S,T,C,x),{positions:T,cells:C}}}},f={}},6946:function(h,l,a){h.exports=function f(c,p,w){w=w||{};var v=s[c];v||(v=s[c]={" ":{data:new Float32Array(0),shape:.2}});var S=v[p];if(!S)if(p.length<=1||!/\d/.test(p))S=v[p]=function(D){for(var F=D.cells,B=D.positions,N=new Float32Array(6*F.length),q=0,j=0,$=0;$0&&(_+=.02);var L=new Float32Array(C),b=0,O=-.5*_;for(A=0;AMath.max(L,b)?O[2]=1:L>Math.max(A,b)?O[0]=1:O[1]=1;for(var I=0,R=0,D=0;D<3;++D)I+=_[D]*_[D],R+=O[D]*_[D];for(D=0;D<3;++D)O[D]-=R/I*_[D];return c(O,O),O}function x(_,A,L,b,O,I,R,D){this.center=u(L),this.up=u(b),this.right=u(O),this.radius=u([I]),this.angle=u([R,D]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(_,A),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var F=0;F<16;++F)this.computedMatrix[F]=.5;this.recalcMatrix(0)}var T=x.prototype;T.setDistanceLimits=function(_,A){_=_>0?Math.log(_):-1/0,A=A>0?Math.log(A):1/0,A=Math.max(A,_),this.radius.bounds[0][0]=_,this.radius.bounds[1][0]=A},T.getDistanceLimits=function(_){var A=this.radius.bounds[0];return _?(_[0]=Math.exp(A[0][0]),_[1]=Math.exp(A[1][0]),_):[Math.exp(A[0][0]),Math.exp(A[1][0])]},T.recalcMatrix=function(_){this.center.curve(_),this.up.curve(_),this.right.curve(_),this.radius.curve(_),this.angle.curve(_);for(var A=this.computedUp,L=this.computedRight,b=0,O=0,I=0;I<3;++I)O+=A[I]*L[I],b+=A[I]*A[I];var R=Math.sqrt(b),D=0;for(I=0;I<3;++I)L[I]-=A[I]*O/b,D+=L[I]*L[I],A[I]/=R;var F=Math.sqrt(D);for(I=0;I<3;++I)L[I]/=F;var B=this.computedToward;f(B,A,L),c(B,B);var N=Math.exp(this.computedRadius[0]),q=this.computedAngle[0],j=this.computedAngle[1],$=Math.cos(q),U=Math.sin(q),G=Math.cos(j),W=Math.sin(j),H=this.computedCenter,ne=$*G,te=U*G,Z=W,X=-$*W,Q=-U*W,re=G,ie=this.computedEye,oe=this.computedMatrix;for(I=0;I<3;++I){var ue=ne*L[I]+te*B[I]+Z*A[I];oe[4*I+1]=X*L[I]+Q*B[I]+re*A[I],oe[4*I+2]=ue,oe[4*I+3]=0}var ce=oe[1],ye=oe[5],de=oe[9],me=oe[2],pe=oe[6],xe=oe[10],Pe=ye*xe-de*pe,_e=de*me-ce*xe,Me=ce*pe-ye*me,Se=w(Pe,_e,Me);for(Pe/=Se,_e/=Se,Me/=Se,oe[0]=Pe,oe[4]=_e,oe[8]=Me,I=0;I<3;++I)ie[I]=H[I]+oe[2+4*I]*N;for(I=0;I<3;++I){D=0;for(var Ce=0;Ce<3;++Ce)D+=oe[I+4*Ce]*ie[Ce];oe[12+I]=-D}oe[15]=1},T.getMatrix=function(_,A){this.recalcMatrix(_);var L=this.computedMatrix;if(A){for(var b=0;b<16;++b)A[b]=L[b];return A}return L};var C=[0,0,0];T.rotate=function(_,A,L,b){if(this.angle.move(_,A,L),b){this.recalcMatrix(_);var O=this.computedMatrix;C[0]=O[2],C[1]=O[6],C[2]=O[10];for(var I=this.computedUp,R=this.computedRight,D=this.computedToward,F=0;F<3;++F)O[4*F]=I[F],O[4*F+1]=R[F],O[4*F+2]=D[F];for(s(O,O,b,C),F=0;F<3;++F)I[F]=O[4*F],R[F]=O[4*F+1];this.up.set(_,I[0],I[1],I[2]),this.right.set(_,R[0],R[1],R[2])}},T.pan=function(_,A,L,b){A=A||0,L=L||0,b=b||0,this.recalcMatrix(_);var O=this.computedMatrix,I=(Math.exp(this.computedRadius[0]),O[1]),R=O[5],D=O[9],F=w(I,R,D);I/=F,R/=F,D/=F;var B=O[0],N=O[4],q=O[8],j=B*I+N*R+q*D,$=w(B-=I*j,N-=R*j,q-=D*j),U=(B/=$)*A+I*L,G=(N/=$)*A+R*L,W=(q/=$)*A+D*L;this.center.move(_,U,G,W);var H=Math.exp(this.computedRadius[0]);H=Math.max(1e-4,H+b),this.radius.set(_,Math.log(H))},T.translate=function(_,A,L,b){this.center.move(_,A||0,L||0,b||0)},T.setMatrix=function(_,A,L,b){var O=1;typeof L=="number"&&(O=0|L),(O<0||O>3)&&(O=1);var I=(O+2)%3;A||(this.recalcMatrix(_),A=this.computedMatrix);var R=A[O],D=A[O+4],F=A[O+8];if(b){var B=Math.abs(R),N=Math.abs(D),q=Math.abs(F),j=Math.max(B,N,q);B===j?(R=R<0?-1:1,D=F=0):q===j?(F=F<0?-1:1,R=D=0):(D=D<0?-1:1,R=F=0)}else{var $=w(R,D,F);R/=$,D/=$,F/=$}var U,G,W=A[I],H=A[I+4],ne=A[I+8],te=W*R+H*D+ne*F,Z=w(W-=R*te,H-=D*te,ne-=F*te),X=D*(ne/=Z)-F*(H/=Z),Q=F*(W/=Z)-R*ne,re=R*H-D*W,ie=w(X,Q,re);if(X/=ie,Q/=ie,re/=ie,this.center.jump(_,ke,Le,Be),this.radius.idle(_),this.up.jump(_,R,D,F),this.right.jump(_,W,H,ne),O===2){var oe=A[1],ue=A[5],ce=A[9],ye=oe*W+ue*H+ce*ne,de=oe*X+ue*Q+ce*re;U=Pe<0?-Math.PI/2:Math.PI/2,G=Math.atan2(de,ye)}else{var me=A[2],pe=A[6],xe=A[10],Pe=me*R+pe*D+xe*F,_e=me*W+pe*H+xe*ne,Me=me*X+pe*Q+xe*re;U=Math.asin(v(Pe)),G=Math.atan2(Me,_e)}this.angle.jump(_,G,U),this.recalcMatrix(_);var Se=A[2],Ce=A[6],ae=A[10],he=this.computedMatrix;o(he,A);var be=he[15],ke=he[12]/be,Le=he[13]/be,Be=he[14]/be,ze=Math.exp(this.computedRadius[0]);this.center.jump(_,ke-Se*ze,Le-Ce*ze,Be-ae*ze)},T.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},T.idle=function(_){this.center.idle(_),this.up.idle(_),this.right.idle(_),this.radius.idle(_),this.angle.idle(_)},T.flush=function(_){this.center.flush(_),this.up.flush(_),this.right.flush(_),this.radius.flush(_),this.angle.flush(_)},T.setDistance=function(_,A){A>0&&this.radius.set(_,Math.log(A))},T.lookAt=function(_,A,L,b){this.recalcMatrix(_),A=A||this.computedEye,L=L||this.computedCenter;var O=(b=b||this.computedUp)[0],I=b[1],R=b[2],D=w(O,I,R);if(!(D<1e-6)){O/=D,I/=D,R/=D;var F=A[0]-L[0],B=A[1]-L[1],N=A[2]-L[2],q=w(F,B,N);if(!(q<1e-6)){F/=q,B/=q,N/=q;var j=this.computedRight,$=j[0],U=j[1],G=j[2],W=O*$+I*U+R*G,H=w($-=W*O,U-=W*I,G-=W*R);if(!(H<.01&&(H=w($=I*N-R*B,U=R*F-O*N,G=O*B-I*F))<1e-6)){$/=H,U/=H,G/=H,this.up.set(_,O,I,R),this.right.set(_,$,U,G),this.center.set(_,L[0],L[1],L[2]),this.radius.set(_,Math.log(q));var ne=I*G-R*U,te=R*$-O*G,Z=O*U-I*$,X=w(ne,te,Z),Q=O*F+I*B+R*N,re=$*F+U*B+G*N,ie=(ne/=X)*F+(te/=X)*B+(Z/=X)*N,oe=Math.asin(v(Q)),ue=Math.atan2(ie,re),ce=this.angle._state,ye=ce[ce.length-1],de=ce[ce.length-2];ye%=2*Math.PI;var me=Math.abs(ye+2*Math.PI-ue),pe=Math.abs(ye-ue),xe=Math.abs(ye-2*Math.PI-ue);me0?U.pop():new ArrayBuffer(j)}function C(j){return new Uint8Array(T(j),0,j)}function _(j){return new Uint16Array(T(2*j),0,j)}function A(j){return new Uint32Array(T(4*j),0,j)}function L(j){return new Int8Array(T(j),0,j)}function b(j){return new Int16Array(T(2*j),0,j)}function O(j){return new Int32Array(T(4*j),0,j)}function I(j){return new Float32Array(T(4*j),0,j)}function R(j){return new Float64Array(T(8*j),0,j)}function D(j){return f?new Uint8ClampedArray(T(j),0,j):C(j)}function F(j){return c?new BigUint64Array(T(8*j),0,j):null}function B(j){return p?new BigInt64Array(T(8*j),0,j):null}function N(j){return new DataView(T(j),0,j)}function q(j){j=u.nextPow2(j);var $=u.log2(j),U=S[$];return U.length>0?U.pop():new s(j)}l.free=function(j){if(s.isBuffer(j))S[u.log2(j.length)].push(j);else{if(Object.prototype.toString.call(j)!=="[object ArrayBuffer]"&&(j=j.buffer),!j)return;var $=j.length||j.byteLength,U=0|u.log2($);v[U].push(j)}},l.freeUint8=l.freeUint16=l.freeUint32=l.freeBigUint64=l.freeInt8=l.freeInt16=l.freeInt32=l.freeBigInt64=l.freeFloat32=l.freeFloat=l.freeFloat64=l.freeDouble=l.freeUint8Clamped=l.freeDataView=function(j){x(j.buffer)},l.freeArrayBuffer=x,l.freeBuffer=function(j){S[u.log2(j.length)].push(j)},l.malloc=function(j,$){if($===void 0||$==="arraybuffer")return T(j);switch($){case"uint8":return C(j);case"uint16":return _(j);case"uint32":return A(j);case"int8":return L(j);case"int16":return b(j);case"int32":return O(j);case"float":case"float32":return I(j);case"double":case"float64":return R(j);case"uint8_clamped":return D(j);case"bigint64":return B(j);case"biguint64":return F(j);case"buffer":return q(j);case"data":case"dataview":return N(j);default:return null}return null},l.mallocArrayBuffer=T,l.mallocUint8=C,l.mallocUint16=_,l.mallocUint32=A,l.mallocInt8=L,l.mallocInt16=b,l.mallocInt32=O,l.mallocFloat32=l.mallocFloat=I,l.mallocFloat64=l.mallocDouble=R,l.mallocUint8Clamped=D,l.mallocBigUint64=F,l.mallocBigInt64=B,l.mallocDataView=N,l.mallocBuffer=q,l.clearCache=function(){for(var j=0;j<32;++j)w.UINT8[j].length=0,w.UINT16[j].length=0,w.UINT32[j].length=0,w.INT8[j].length=0,w.INT16[j].length=0,w.INT32[j].length=0,w.FLOAT[j].length=0,w.DOUBLE[j].length=0,w.BIGUINT64[j].length=0,w.BIGINT64[j].length=0,w.UINT8C[j].length=0,v[j].length=0,S[j].length=0}},1731:function(h){function l(u){this.roots=new Array(u),this.ranks=new Array(u);for(var o=0;o0&&(O=b.size),b.lineSpacing&&b.lineSpacing>0&&(I=b.lineSpacing),b.styletags&&b.styletags.breaklines&&(R.breaklines=!!b.styletags.breaklines),b.styletags&&b.styletags.bolds&&(R.bolds=!!b.styletags.bolds),b.styletags&&b.styletags.italics&&(R.italics=!!b.styletags.italics),b.styletags&&b.styletags.subscripts&&(R.subscripts=!!b.styletags.subscripts),b.styletags&&b.styletags.superscripts&&(R.superscripts=!!b.styletags.superscripts)),L.font=[b.fontStyle,b.fontVariant,b.fontWeight,O+"px",b.font].filter(function(D){return D}).join(" "),L.textAlign="start",L.textBaseline="alphabetic",L.direction="ltr",C(function(D,F,B,N,q,j){B=B.replace(/\n/g,""),B=j.breaklines===!0?B.replace(/\/g,` -`):B.replace(/\/g," ");var $="",U=[];for(ne=0;ne-1?parseInt(he[1+Le]):0,je=Be>-1?parseInt(be[1+Be]):0;ze!==je&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,je-ze),ke=ke.replace("?px ",xe())),Z+=.25*ie*(je-ze)}if(j.superscripts===!0){var ge=he.indexOf("+"),we=be.indexOf("+"),Ee=ge>-1?parseInt(he[1+ge]):0,Ve=we>-1?parseInt(be[1+we]):0;Ee!==Ve&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,Ve-Ee),ke=ke.replace("?px ",xe())),Z-=.25*ie*(Ve-Ee)}if(j.bolds===!0){var $e=he.indexOf(w)>-1,Ye=be.indexOf(w)>-1;!$e&&Ye&&(ke=st?ke.replace("italic ","italic bold "):"bold "+ke),$e&&!Ye&&(ke=ke.replace("bold ",""))}if(j.italics===!0){var st=he.indexOf(v)>-1,ot=be.indexOf(v)>-1;!st&&ot&&(ke="italic "+ke),st&&!ot&&(ke=ke.replace("italic ",""))}F.font=ke}for(H=0;H",I="",R=O.length,D=I.length,F=A[0]==="+"||A[0]==="-",B=0,N=-D;B>-1&&(B=L.indexOf(O,B))!==-1&&(N=L.indexOf(I,B+R))!==-1&&!(N<=B);){for(var q=B;q=N)b[q]=null,L=L.substr(0,q)+" "+L.substr(q+1);else if(b[q]!==null){var j=b[q].indexOf(A[0]);j===-1?b[q]+=A:F&&(b[q]=b[q].substr(0,j+1)+(1+parseInt(b[q][j+1]))+b[q].substr(j+2))}var $=B+R,U=L.substr($,N-$).indexOf(O);B=U!==-1?U:N+D}return b}function x(_,A){var L=u(_,128);return A?s(L.cells,L.positions,.25):{edges:L.cells,positions:L.positions}}function T(_,A,L,b){var O=x(_,b),I=function(H,ne,te){for(var Z=ne.textAlign||"start",X=ne.textBaseline||"alphabetic",Q=[1<<30,1<<30],re=[0,0],ie=H.length,oe=0;oe"u"||!ses.ok||ses.ok()){typeof ses<"u"&&(ses.weakMapPermitHostObjects=A);var l=!1;if(typeof WeakMap=="function"){var a=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var u=new a,o=Object.freeze({});if(u.set(o,1),u.get(o)===1)return void(h.exports=WeakMap);l=!0}}var s=Object.getOwnPropertyNames,f=Object.defineProperty,c=Object.isExtensible,p="weakmap:",w="weakmap:ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var v=new ArrayBuffer(25),S=new Uint8Array(v);crypto.getRandomValues(S),w="weakmap:rand:"+Array.prototype.map.call(S,function(R){return(R%36).toString(36)}).join("")+"___"}if(f(Object,"getOwnPropertyNames",{value:function(R){return s(R).filter(L)}}),"getPropertyNames"in Object){var x=Object.getPropertyNames;f(Object,"getPropertyNames",{value:function(R){return x(R).filter(L)}})}(function(){var R=Object.freeze;f(Object,"freeze",{value:function(B){return b(B),R(B)}});var D=Object.seal;f(Object,"seal",{value:function(B){return b(B),D(B)}});var F=Object.preventExtensions;f(Object,"preventExtensions",{value:function(B){return b(B),F(B)}})})();var T=!1,C=0,_=function(){this instanceof _||I();var R=[],D=[],F=C++;return Object.create(_.prototype,{get___:{value:O(function(B,N){var q,j=b(B);return j?F in j?j[F]:N:(q=R.indexOf(B))>=0?D[q]:N})},has___:{value:O(function(B){var N=b(B);return N?F in N:R.indexOf(B)>=0})},set___:{value:O(function(B,N){var q,j=b(B);return j?j[F]=N:(q=R.indexOf(B))>=0?D[q]=N:(q=R.length,D[q]=N,R[q]=B),this})},delete___:{value:O(function(B){var N,q,j=b(B);return j?F in j&&delete j[F]:!((N=R.indexOf(B))<0||(q=R.length-1,R[N]=void 0,D[N]=D[q],R[N]=R[q],R.length=q,D.length=q,0))})}})};_.prototype=Object.create(Object.prototype,{get:{value:function(R,D){return this.get___(R,D)},writable:!0,configurable:!0},has:{value:function(R){return this.has___(R)},writable:!0,configurable:!0},set:{value:function(R,D){return this.set___(R,D)},writable:!0,configurable:!0},delete:{value:function(R){return this.delete___(R)},writable:!0,configurable:!0}}),typeof a=="function"?function(){function R(){this instanceof _||I();var D,F=new a,B=void 0,N=!1;return D=l?function(q,j){return F.set(q,j),F.has(q)||(B||(B=new _),B.set(q,j)),this}:function(q,j){if(N)try{F.set(q,j)}catch{B||(B=new _),B.set___(q,j)}else F.set(q,j);return this},Object.create(_.prototype,{get___:{value:O(function(q,j){return B?F.has(q)?F.get(q):B.get___(q,j):F.get(q,j)})},has___:{value:O(function(q){return F.has(q)||!!B&&B.has___(q)})},set___:{value:O(D)},delete___:{value:O(function(q){var j=!!F.delete(q);return B&&B.delete___(q)||j})},permitHostObjects___:{value:O(function(q){if(q!==A)throw new Error("bogus call to permitHostObjects___");N=!0})}})}l&&typeof Proxy<"u"&&(Proxy=void 0),R.prototype=_.prototype,h.exports=R,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),h.exports=_)}function A(R){R.permitHostObjects___&&R.permitHostObjects___(A)}function L(R){return!(R.substr(0,p.length)==p&&R.substr(R.length-3)==="___")}function b(R){if(R!==Object(R))throw new TypeError("Not an object: "+R);var D=R[w];if(D&&D.key===R)return D;if(c(R)){D={key:R};try{return f(R,w,{value:D,writable:!1,enumerable:!1,configurable:!1}),D}catch{return}}}function O(R){return R.prototype=null,Object.freeze(R)}function I(){T||typeof console>"u"||(T=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}})()},9222:function(h,l,a){var u=a(7178);h.exports=function(){var o={};return function(s){if((typeof s!="object"||s===null)&&typeof s!="function")throw new Error("Weakmap-shim: Key must be object");var f=s.valueOf(o);return f&&f.identity===o?f:u(s,o)}}},7178:function(h){h.exports=function(l,a){var u={identity:a},o=l.valueOf;return Object.defineProperty(l,"valueOf",{value:function(s){return s!==a?o.apply(this,arguments):u},writable:!0}),u}},4037:function(h,l,a){var u=a(9222);h.exports=function(){var o=u();return{get:function(s,f){var c=o(s);return c.hasOwnProperty("value")?c.value:f},set:function(s,f){return o(s).value=f,this},has:function(s){return"value"in o(s)},delete:function(s){return delete o(s).value}}}},6183:function(h){h.exports=function(l){var a={};return function(u,o,s){var f=u.dtype,c=u.order,p=[f,c.join()].join(),w=a[p];return w||(a[p]=w=l([f,c])),w(u.shape.slice(0),u.data,u.stride,0|u.offset,o,s)}}((function(){return function(l,a,u,o,s,f){var c=l[0],p=u[0],w=[0],v=p;o|=0;var S=0,x=p;for(S=0;S=0!=C>=0&&s.push(w[0]+.5+.5*(T+C)/(T-C)),o+=x,++w[0]}}}).bind(void 0,{funcName:"zeroCrossings"}))},9584:function(h,l,a){h.exports=function(o,s){var f=[];return s=+s||0,u(o.hi(o.shape[0]-1),f,s),f};var u=a(6183)},6601:function(){}},M={};function g(h){var l=M[h];if(l!==void 0)return l.exports;var a=M[h]={id:h,loaded:!1,exports:{}};return i[h].call(a.exports,a,a.exports,g),a.loaded=!0,a.exports}return g.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),g.nmd=function(h){return h.paths=[],h.children||(h.children=[]),h},g(7386)}()},k.exports=d()},12856:function(k,m,t){function d(ae,he){if(!(ae instanceof he))throw new TypeError("Cannot call a class as a function")}function y(ae,he){for(var be=0;bes)throw new RangeError('The value "'+ae+'" is invalid for option "size"');var he=new Uint8Array(ae);return Object.setPrototypeOf(he,c.prototype),he}function c(ae,he,be){if(typeof ae=="number"){if(typeof he=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return v(ae)}return p(ae,he,be)}function p(ae,he,be){if(typeof ae=="string")return function(Be,ze){if(typeof ze=="string"&&ze!==""||(ze="utf8"),!c.isEncoding(ze))throw new TypeError("Unknown encoding: "+ze);var je=0|C(Be,ze),ge=f(je),we=ge.write(Be,ze);return we!==je&&(ge=ge.slice(0,we)),ge}(ae,he);if(ArrayBuffer.isView(ae))return function(Be){if(Pe(Be,Uint8Array)){var ze=new Uint8Array(Be);return x(ze.buffer,ze.byteOffset,ze.byteLength)}return S(Be)}(ae);if(ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae));if(Pe(ae,ArrayBuffer)||ae&&Pe(ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pe(ae,SharedArrayBuffer)||ae&&Pe(ae.buffer,SharedArrayBuffer)))return x(ae,he,be);if(typeof ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ke=ae.valueOf&&ae.valueOf();if(ke!=null&&ke!==ae)return c.from(ke,he,be);var Le=function(Be){if(c.isBuffer(Be)){var ze=0|T(Be.length),je=f(ze);return je.length===0||Be.copy(je,0,0,ze),je}return Be.length!==void 0?typeof Be.length!="number"||_e(Be.length)?f(0):S(Be):Be.type==="Buffer"&&Array.isArray(Be.data)?S(Be.data):void 0}(ae);if(Le)return Le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ae[Symbol.toPrimitive]=="function")return c.from(ae[Symbol.toPrimitive]("string"),he,be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae))}function w(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be of type number');if(ae<0)throw new RangeError('The value "'+ae+'" is invalid for option "size"')}function v(ae){return w(ae),f(ae<0?0:0|T(ae))}function S(ae){for(var he=ae.length<0?0:0|T(ae.length),be=f(he),ke=0;ke=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|ae}function C(ae,he){if(c.isBuffer(ae))return ae.length;if(ArrayBuffer.isView(ae)||Pe(ae,ArrayBuffer))return ae.byteLength;if(typeof ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+l(ae));var be=ae.length,ke=arguments.length>2&&arguments[2]===!0;if(!ke&&be===0)return 0;for(var Le=!1;;)switch(he){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":return me(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return pe(ae).length;default:if(Le)return ke?-1:me(ae).length;he=(""+he).toLowerCase(),Le=!0}}function _(ae,he,be){var ke=!1;if((he===void 0||he<0)&&(he=0),he>this.length||((be===void 0||be>this.length)&&(be=this.length),be<=0)||(be>>>=0)<=(he>>>=0))return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return U(this,he,be);case"utf8":case"utf-8":return N(this,he,be);case"ascii":return j(this,he,be);case"latin1":case"binary":return $(this,he,be);case"base64":return B(this,he,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,he,be);default:if(ke)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),ke=!0}}function A(ae,he,be){var ke=ae[he];ae[he]=ae[be],ae[be]=ke}function L(ae,he,be,ke,Le){if(ae.length===0)return-1;if(typeof be=="string"?(ke=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),_e(be=+be)&&(be=Le?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Le)return-1;be=ae.length-1}else if(be<0){if(!Le)return-1;be=0}if(typeof he=="string"&&(he=c.from(he,ke)),c.isBuffer(he))return he.length===0?-1:b(ae,he,be,ke,Le);if(typeof he=="number")return he&=255,typeof Uint8Array.prototype.indexOf=="function"?Le?Uint8Array.prototype.indexOf.call(ae,he,be):Uint8Array.prototype.lastIndexOf.call(ae,he,be):b(ae,[he],be,ke,Le);throw new TypeError("val must be string, number or Buffer")}function b(ae,he,be,ke,Le){var Be,ze=1,je=ae.length,ge=he.length;if(ke!==void 0&&((ke=String(ke).toLowerCase())==="ucs2"||ke==="ucs-2"||ke==="utf16le"||ke==="utf-16le")){if(ae.length<2||he.length<2)return-1;ze=2,je/=2,ge/=2,be/=2}function we(Ye,st){return ze===1?Ye[st]:Ye.readUInt16BE(st*ze)}if(Le){var Ee=-1;for(Be=be;Beje&&(be=je-ge),Be=be;Be>=0;Be--){for(var Ve=!0,$e=0;$eLe&&(ke=Le):ke=Le;var Be,ze=he.length;for(ke>ze/2&&(ke=ze/2),Be=0;Be>8,ge=ze%256,we.push(ge),we.push(je);return we}(he,ae.length-be),ae,be,ke)}function B(ae,he,be){return he===0&&be===ae.length?a.fromByteArray(ae):a.fromByteArray(ae.slice(he,be))}function N(ae,he,be){be=Math.min(ae.length,be);for(var ke=[],Le=he;Le239?4:Be>223?3:Be>191?2:1;if(Le+je<=be){var ge=void 0,we=void 0,Ee=void 0,Ve=void 0;switch(je){case 1:Be<128&&(ze=Be);break;case 2:(192&(ge=ae[Le+1]))==128&&(Ve=(31&Be)<<6|63&ge)>127&&(ze=Ve);break;case 3:ge=ae[Le+1],we=ae[Le+2],(192&ge)==128&&(192&we)==128&&(Ve=(15&Be)<<12|(63&ge)<<6|63&we)>2047&&(Ve<55296||Ve>57343)&&(ze=Ve);break;case 4:ge=ae[Le+1],we=ae[Le+2],Ee=ae[Le+3],(192&ge)==128&&(192&we)==128&&(192&Ee)==128&&(Ve=(15&Be)<<18|(63&ge)<<12|(63&we)<<6|63&Ee)>65535&&Ve<1114112&&(ze=Ve)}}ze===null?(ze=65533,je=1):ze>65535&&(ze-=65536,ke.push(ze>>>10&1023|55296),ze=56320|1023&ze),ke.push(ze),Le+=je}return function($e){var Ye=$e.length;if(Ye<=q)return String.fromCharCode.apply(String,$e);for(var st="",ot=0;ot"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(ae,he,be){return p(ae,he,be)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(ae,he,be){return function(ke,Le,Be){return w(ke),ke<=0?f(ke):Le!==void 0?typeof Be=="string"?f(ke).fill(Le,Be):f(ke).fill(Le):f(ke)}(ae,he,be)},c.allocUnsafe=function(ae){return v(ae)},c.allocUnsafeSlow=function(ae){return v(ae)},c.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==c.prototype},c.compare=function(ae,he){if(Pe(ae,Uint8Array)&&(ae=c.from(ae,ae.offset,ae.byteLength)),Pe(he,Uint8Array)&&(he=c.from(he,he.offset,he.byteLength)),!c.isBuffer(ae)||!c.isBuffer(he))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===he)return 0;for(var be=ae.length,ke=he.length,Le=0,Be=Math.min(be,ke);Leke.length?(c.isBuffer(Be)||(Be=c.from(Be)),Be.copy(ke,Le)):Uint8Array.prototype.set.call(ke,Be,Le);else{if(!c.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(ke,Le)}Le+=Be.length}return ke},c.byteLength=C,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var ae=this.length;if(ae%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var he=0;hehe&&(ae+=" ... "),""},o&&(c.prototype[o]=c.prototype.inspect),c.prototype.compare=function(ae,he,be,ke,Le){if(Pe(ae,Uint8Array)&&(ae=c.from(ae,ae.offset,ae.byteLength)),!c.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+l(ae));if(he===void 0&&(he=0),be===void 0&&(be=ae?ae.length:0),ke===void 0&&(ke=0),Le===void 0&&(Le=this.length),he<0||be>ae.length||ke<0||Le>this.length)throw new RangeError("out of range index");if(ke>=Le&&he>=be)return 0;if(ke>=Le)return-1;if(he>=be)return 1;if(this===ae)return 0;for(var Be=(Le>>>=0)-(ke>>>=0),ze=(be>>>=0)-(he>>>=0),je=Math.min(Be,ze),ge=this.slice(ke,Le),we=ae.slice(he,be),Ee=0;Ee>>=0,isFinite(be)?(be>>>=0,ke===void 0&&(ke="utf8")):(ke=be,be=void 0)}var Le=this.length-he;if((be===void 0||be>Le)&&(be=Le),ae.length>0&&(be<0||he<0)||he>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var Be=!1;;)switch(ke){case"hex":return O(this,ae,he,be);case"utf8":case"utf-8":return I(this,ae,he,be);case"ascii":case"latin1":case"binary":return R(this,ae,he,be);case"base64":return D(this,ae,he,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,ae,he,be);default:if(Be)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),Be=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var q=4096;function j(ae,he,be){var ke="";be=Math.min(ae.length,be);for(var Le=he;Leke)&&(be=ke);for(var Le="",Be=he;Bebe)throw new RangeError("Trying to access beyond buffer length")}function H(ae,he,be,ke,Le,Be){if(!c.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(he>Le||heae.length)throw new RangeError("Index out of range")}function ne(ae,he,be,ke,Le){ue(he,ke,Le,ae,be,7);var Be=Number(he&BigInt(4294967295));ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be;var ze=Number(he>>BigInt(32)&BigInt(4294967295));return ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,be}function te(ae,he,be,ke,Le){ue(he,ke,Le,ae,be,7);var Be=Number(he&BigInt(4294967295));ae[be+7]=Be,Be>>=8,ae[be+6]=Be,Be>>=8,ae[be+5]=Be,Be>>=8,ae[be+4]=Be;var ze=Number(he>>BigInt(32)&BigInt(4294967295));return ae[be+3]=ze,ze>>=8,ae[be+2]=ze,ze>>=8,ae[be+1]=ze,ze>>=8,ae[be]=ze,be+8}function Z(ae,he,be,ke,Le,Be){if(be+ke>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function X(ae,he,be,ke,Le){return he=+he,be>>>=0,Le||Z(ae,0,be,4),u.write(ae,he,be,ke,23,4),be+4}function Q(ae,he,be,ke,Le){return he=+he,be>>>=0,Le||Z(ae,0,be,8),u.write(ae,he,be,ke,52,8),be+8}c.prototype.slice=function(ae,he){var be=this.length;(ae=~~ae)<0?(ae+=be)<0&&(ae=0):ae>be&&(ae=be),(he=he===void 0?be:~~he)<0?(he+=be)<0&&(he=0):he>be&&(he=be),he>>=0,he>>>=0,be||W(ae,he,this.length);for(var ke=this[ae],Le=1,Be=0;++Be>>=0,he>>>=0,be||W(ae,he,this.length);for(var ke=this[ae+--he],Le=1;he>0&&(Le*=256);)ke+=this[ae+--he]*Le;return ke},c.prototype.readUint8=c.prototype.readUInt8=function(ae,he){return ae>>>=0,he||W(ae,1,this.length),this[ae]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(ae,he){return ae>>>=0,he||W(ae,2,this.length),this[ae]|this[ae+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(ae,he){return ae>>>=0,he||W(ae,2,this.length),this[ae]<<8|this[ae+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+16777216*this[ae+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),16777216*this[ae]+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},c.prototype.readBigUInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=he+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,24),Le=this[++ae]+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+be*Math.pow(2,24);return BigInt(ke)+(BigInt(Le)<>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=he*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae],Le=this[++ae]*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+be;return(BigInt(ke)<>>=0,he>>>=0,be||W(ae,he,this.length);for(var ke=this[ae],Le=1,Be=0;++Be=(Le*=128)&&(ke-=Math.pow(2,8*he)),ke},c.prototype.readIntBE=function(ae,he,be){ae>>>=0,he>>>=0,be||W(ae,he,this.length);for(var ke=he,Le=1,Be=this[ae+--ke];ke>0&&(Le*=256);)Be+=this[ae+--ke]*Le;return Be>=(Le*=128)&&(Be-=Math.pow(2,8*he)),Be},c.prototype.readInt8=function(ae,he){return ae>>>=0,he||W(ae,1,this.length),128&this[ae]?-1*(255-this[ae]+1):this[ae]},c.prototype.readInt16LE=function(ae,he){ae>>>=0,he||W(ae,2,this.length);var be=this[ae]|this[ae+1]<<8;return 32768&be?4294901760|be:be},c.prototype.readInt16BE=function(ae,he){ae>>>=0,he||W(ae,2,this.length);var be=this[ae+1]|this[ae]<<8;return 32768&be?4294901760|be:be},c.prototype.readInt32LE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},c.prototype.readInt32BE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},c.prototype.readBigInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=this[ae+4]+this[ae+5]*Math.pow(2,8)+this[ae+6]*Math.pow(2,16)+(be<<24);return(BigInt(ke)<>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=(he<<24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae];return(BigInt(ke)<>>=0,he||W(ae,4,this.length),u.read(this,ae,!0,23,4)},c.prototype.readFloatBE=function(ae,he){return ae>>>=0,he||W(ae,4,this.length),u.read(this,ae,!1,23,4)},c.prototype.readDoubleLE=function(ae,he){return ae>>>=0,he||W(ae,8,this.length),u.read(this,ae,!0,52,8)},c.prototype.readDoubleBE=function(ae,he){return ae>>>=0,he||W(ae,8,this.length),u.read(this,ae,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(ae,he,be,ke){ae=+ae,he>>>=0,be>>>=0,ke||H(this,ae,he,be,Math.pow(2,8*be)-1,0);var Le=1,Be=0;for(this[he]=255&ae;++Be>>=0,be>>>=0,ke||H(this,ae,he,be,Math.pow(2,8*be)-1,0);var Le=be-1,Be=1;for(this[he+Le]=255&ae;--Le>=0&&(Be*=256);)this[he+Le]=ae/Be&255;return he+be},c.prototype.writeUint8=c.prototype.writeUInt8=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,1,255,0),this[he]=255&ae,he+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,65535,0),this[he]=255&ae,this[he+1]=ae>>>8,he+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,65535,0),this[he]=ae>>>8,this[he+1]=255&ae,he+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,4294967295,0),this[he+3]=ae>>>24,this[he+2]=ae>>>16,this[he+1]=ae>>>8,this[he]=255&ae,he+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,4294967295,0),this[he]=ae>>>24,this[he+1]=ae>>>16,this[he+2]=ae>>>8,this[he+3]=255&ae,he+4},c.prototype.writeBigUInt64LE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,he,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,he,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(ae,he,be,ke){if(ae=+ae,he>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,he,be,Le-1,-Le)}var Be=0,ze=1,je=0;for(this[he]=255&ae;++Be>0)-je&255;return he+be},c.prototype.writeIntBE=function(ae,he,be,ke){if(ae=+ae,he>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,he,be,Le-1,-Le)}var Be=be-1,ze=1,je=0;for(this[he+Be]=255&ae;--Be>=0&&(ze*=256);)ae<0&&je===0&&this[he+Be+1]!==0&&(je=1),this[he+Be]=(ae/ze>>0)-je&255;return he+be},c.prototype.writeInt8=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,1,127,-128),ae<0&&(ae=255+ae+1),this[he]=255&ae,he+1},c.prototype.writeInt16LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,32767,-32768),this[he]=255&ae,this[he+1]=ae>>>8,he+2},c.prototype.writeInt16BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,32767,-32768),this[he]=ae>>>8,this[he+1]=255&ae,he+2},c.prototype.writeInt32LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,2147483647,-2147483648),this[he]=255&ae,this[he+1]=ae>>>8,this[he+2]=ae>>>16,this[he+3]=ae>>>24,he+4},c.prototype.writeInt32BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[he]=ae>>>24,this[he+1]=ae>>>16,this[he+2]=ae>>>8,this[he+3]=255&ae,he+4},c.prototype.writeBigInt64LE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,he,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,he,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeFloatLE=function(ae,he,be){return X(this,ae,he,!0,be)},c.prototype.writeFloatBE=function(ae,he,be){return X(this,ae,he,!1,be)},c.prototype.writeDoubleLE=function(ae,he,be){return Q(this,ae,he,!0,be)},c.prototype.writeDoubleBE=function(ae,he,be){return Q(this,ae,he,!1,be)},c.prototype.copy=function(ae,he,be,ke){if(!c.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(be||(be=0),ke||ke===0||(ke=this.length),he>=ae.length&&(he=ae.length),he||(he=0),ke>0&&ke=this.length)throw new RangeError("Index out of range");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),ae.length-he>>=0,be=be===void 0?this.length:be>>>0,ae||(ae=0),typeof ae=="number")for(Be=he;Be"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Ee,Ve=h(ze);if(je){var $e=h(this).constructor;Ee=Reflect.construct(Ve,arguments,$e)}else Ee=Ve.apply(this,arguments);return M(this,Ee)});function we(){var Ee;return d(this,we),Ee=ge.call(this),Object.defineProperty(g(Ee),"message",{value:he.apply(g(Ee),arguments),writable:!0,configurable:!0}),Ee.name="".concat(Ee.name," [").concat(ae,"]"),Ee.stack,delete Ee.name,Ee}return Le=we,(Be=[{key:"code",get:function(){return ae},set:function(Ee){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ee,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ae,"]: ").concat(this.message)}}])&&y(Le.prototype,Be),Object.defineProperty(Le,"prototype",{writable:!1}),we}(be)}function oe(ae){for(var he="",be=ae.length,ke=ae[0]==="-"?1:0;be>=ke+4;be-=3)he="_".concat(ae.slice(be-3,be)).concat(he);return"".concat(ae.slice(0,be)).concat(he)}function ue(ae,he,be,ke,Le,Be){if(ae>be||ae3?he===0||he===BigInt(0)?">= 0".concat(je," and < 2").concat(je," ** ").concat(8*(Be+1)).concat(je):">= -(2".concat(je," ** ").concat(8*(Be+1)-1).concat(je,") and < 2 ** ")+"".concat(8*(Be+1)-1).concat(je):">= ".concat(he).concat(je," and <= ").concat(be).concat(je),new re.ERR_OUT_OF_RANGE("value",ze,ae)}(function(ge,we,Ee){ce(we,"offset"),ge[we]!==void 0&&ge[we+Ee]!==void 0||ye(we,ge.length-(Ee+1))})(ke,Le,Be)}function ce(ae,he){if(typeof ae!="number")throw new re.ERR_INVALID_ARG_TYPE(he,"number",ae)}function ye(ae,he,be){throw Math.floor(ae)!==ae?(ce(ae,be),new re.ERR_OUT_OF_RANGE(be||"offset","an integer",ae)):he<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(be||"offset",">= ".concat(be?1:0," and <= ").concat(he),ae)}ie("ERR_BUFFER_OUT_OF_BOUNDS",function(ae){return ae?"".concat(ae," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ie("ERR_INVALID_ARG_TYPE",function(ae,he){return'The "'.concat(ae,'" argument must be of type number. Received type ').concat(l(he))},TypeError),ie("ERR_OUT_OF_RANGE",function(ae,he,be){var ke='The value of "'.concat(ae,'" is out of range.'),Le=be;return Number.isInteger(be)&&Math.abs(be)>Math.pow(2,32)?Le=oe(String(be)):typeof be=="bigint"&&(Le=String(be),(be>Math.pow(BigInt(2),BigInt(32))||be<-Math.pow(BigInt(2),BigInt(32)))&&(Le=oe(Le)),Le+="n"),ke+" It must be ".concat(he,". Received ").concat(Le)},RangeError);var de=/[^+/0-9A-Za-z-_]/g;function me(ae,he){var be;he=he||1/0;for(var ke=ae.length,Le=null,Be=[],ze=0;ze55295&&be<57344){if(!Le){if(be>56319){(he-=3)>-1&&Be.push(239,191,189);continue}if(ze+1===ke){(he-=3)>-1&&Be.push(239,191,189);continue}Le=be;continue}if(be<56320){(he-=3)>-1&&Be.push(239,191,189),Le=be;continue}be=65536+(Le-55296<<10|be-56320)}else Le&&(he-=3)>-1&&Be.push(239,191,189);if(Le=null,be<128){if((he-=1)<0)break;Be.push(be)}else if(be<2048){if((he-=2)<0)break;Be.push(be>>6|192,63&be|128)}else if(be<65536){if((he-=3)<0)break;Be.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((he-=4)<0)break;Be.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Be}function pe(ae){return a.toByteArray(function(he){if((he=(he=he.split("=")[0]).trim().replace(de,"")).length<2)return"";for(;he.length%4!=0;)he+="=";return he}(ae))}function xe(ae,he,be,ke){var Le;for(Le=0;Le=he.length||Le>=ae.length);++Le)he[Le+be]=ae[Le];return Le}function Pe(ae,he){return ae instanceof he||ae!=null&&ae.constructor!=null&&ae.constructor.name!=null&&ae.constructor.name===he.name}function _e(ae){return ae!=ae}var Me=function(){for(var ae="0123456789abcdef",he=new Array(256),be=0;be<16;++be)for(var ke=16*be,Le=0;Le<16;++Le)he[ke+Le]=ae[be]+ae[Le];return he}();function Se(ae){return typeof BigInt>"u"?Ce:ae}function Ce(){throw new Error("BigInt not supported")}},35791:function(k){k.exports=y,k.exports.isMobile=y,k.exports.default=y;var m=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,t=/CrOS/,d=/android|ipad|playbook|silk/i;function y(i){i||(i={});var M=i.ua;if(M||typeof navigator>"u"||(M=navigator.userAgent),M&&M.headers&&typeof M.headers["user-agent"]=="string"&&(M=M.headers["user-agent"]),typeof M!="string")return!1;var g=m.test(M)&&!t.test(M)||!!i.tablet&&d.test(M);return!g&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&M.indexOf("Macintosh")!==-1&&M.indexOf("Safari")!==-1&&(g=!0),g}},86781:function(k,m,t){t.r(m),t.d(m,{sankeyCenter:function(){return o},sankeyCircular:function(){return R},sankeyJustify:function(){return u},sankeyLeft:function(){return l},sankeyRight:function(){return a}});var d=t(33064),y=t(15140),i=t(45879),M=t(2502),g=t.n(M);function h(pe){return pe.target.depth}function l(pe){return pe.depth}function a(pe,xe){return xe-1-pe.height}function u(pe,xe){return pe.sourceLinks.length?pe.depth:xe-1}function o(pe){return pe.targetLinks.length?pe.depth:pe.sourceLinks.length?(0,d.VV)(pe.sourceLinks,h)-1:0}function s(pe){return function(){return pe}}var f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe};function c(pe,xe){return w(pe.source,xe.source)||pe.index-xe.index}function p(pe,xe){return w(pe.target,xe.target)||pe.index-xe.index}function w(pe,xe){return pe.partOfCycle===xe.partOfCycle?pe.y0-xe.y0:pe.circularLinkType==="top"||xe.circularLinkType==="bottom"?-1:1}function v(pe){return pe.value}function S(pe){return(pe.y0+pe.y1)/2}function x(pe){return S(pe.source)}function T(pe){return S(pe.target)}function C(pe){return pe.index}function _(pe){return pe.nodes}function A(pe){return pe.links}function L(pe,xe){var Pe=pe.get(xe);if(!Pe)throw new Error("missing: "+xe);return Pe}function b(pe,xe){return xe(pe)}var O=25,I=10;function R(){var pe,xe,Pe=0,_e=0,Me=1,Se=1,Ce=24,ae=C,he=u,be=_,ke=A,Le=32,Be=2,ze=null;function je(){var Ye={nodes:be.apply(null,arguments),links:ke.apply(null,arguments)};ge(Ye),D(Ye,0,ze),we(Ye),Ee(Ye),F(Ye,ae),Ve(Ye,Le,ae),$e(Ye);for(var st=4,ot=0;ot0?Je+O+I:Je,bottom:We=We>0?We+O+I:We,left:ht=ht>0?ht+O+I:ht,right:nt=nt>0?nt+O+I:nt}}(Ye),Vt=function(Ke,Je){var We=(0,d.Fp)(Ke.nodes,function(Qe){return Qe.column}),nt=Me-Pe,ht=Se-_e,Oe=nt/(nt+Je.right+Je.left),Ne=ht/(ht+Je.top+Je.bottom);return Pe=Pe*Oe+Je.left,Me=Je.right==0?Me:Me*Oe,_e=_e*Ne+Je.top,Se*=Ne,Ke.nodes.forEach(function(Qe){Qe.x0=Pe+Qe.column*((Me-Pe-Ce)/We),Qe.x1=Qe.x0+Ce}),Ne}(Ye,Wt);Bt*=Vt,Ye.links.forEach(function(Ke){Ke.width=Ke.value*Bt}),ft.forEach(function(Ke){var Je=Ke.length;Ke.forEach(function(We,nt){We.depth==ft.length-1&&Je==1||We.depth==0&&Je==1?(We.y0=Se/2-We.value*Bt,We.y1=We.y0+We.value*Bt):We.partOfCycle?N(We,Ft)==0?(We.y0=Se/2+nt,We.y1=We.y0+We.value*Bt):We.circularLinkType=="top"?(We.y0=_e+nt,We.y1=We.y0+We.value*Bt):(We.y0=Se-We.value*Bt-nt,We.y1=We.y0+We.value*Bt):Wt.top==0||Wt.bottom==0?(We.y0=(Se-_e)/Je*nt,We.y1=We.y0+We.value*Bt):(We.y0=(Se-_e)/2-Je/2+nt,We.y1=We.y0+We.value*Bt)})})})(ot),xt();for(var bt=1,Et=st;Et>0;--Et)kt(bt*=.99,ot),xt();function kt(Ft,Rt){var Bt=ft.length;ft.forEach(function(Wt){var Vt=Wt.length,Ke=Wt[0].depth;Wt.forEach(function(Je){var We;if((Je.sourceLinks.length||Je.targetLinks.length)&&!(Je.partOfCycle&&N(Je,Rt)>0))if(Ke==0&&Vt==1)We=Je.y1-Je.y0,Je.y0=Se/2-We/2,Je.y1=Se/2+We/2;else if(Ke==Bt-1&&Vt==1)We=Je.y1-Je.y0,Je.y0=Se/2-We/2,Je.y1=Se/2+We/2;else{var nt=(0,d.J6)(Je.sourceLinks,T),ht=(0,d.J6)(Je.targetLinks,x),Oe=((nt&&ht?(nt+ht)/2:nt||ht)-S(Je))*Ft;Je.y0+=Oe,Je.y1+=Oe}})})}function xt(){ft.forEach(function(Ft){var Rt,Bt,Wt,Vt=_e,Ke=Ft.length;for(Ft.sort(w),Wt=0;Wt0&&(Rt.y0+=Bt,Rt.y1+=Bt),Vt=Rt.y1+pe;if((Bt=Vt-pe-Se)>0)for(Vt=Rt.y0-=Bt,Rt.y1-=Bt,Wt=Ke-2;Wt>=0;--Wt)(Bt=(Rt=Ft[Wt]).y1+pe-Vt)>0&&(Rt.y0-=Bt,Rt.y1-=Bt),Vt=Rt.y0})}}function $e(Ye){Ye.nodes.forEach(function(st){st.sourceLinks.sort(p),st.targetLinks.sort(c)}),Ye.nodes.forEach(function(st){var ot=st.y0,ft=ot,bt=st.y1,Et=bt;st.sourceLinks.forEach(function(kt){kt.circular?(kt.y0=bt-kt.width/2,bt-=kt.width):(kt.y0=ot+kt.width/2,ot+=kt.width)}),st.targetLinks.forEach(function(kt){kt.circular?(kt.y1=Et-kt.width/2,Et-=kt.width):(kt.y1=ft+kt.width/2,ft+=kt.width)})})}return je.nodeId=function(Ye){return arguments.length?(ae=typeof Ye=="function"?Ye:s(Ye),je):ae},je.nodeAlign=function(Ye){return arguments.length?(he=typeof Ye=="function"?Ye:s(Ye),je):he},je.nodeWidth=function(Ye){return arguments.length?(Ce=+Ye,je):Ce},je.nodePadding=function(Ye){return arguments.length?(pe=+Ye,je):pe},je.nodes=function(Ye){return arguments.length?(be=typeof Ye=="function"?Ye:s(Ye),je):be},je.links=function(Ye){return arguments.length?(ke=typeof Ye=="function"?Ye:s(Ye),je):ke},je.size=function(Ye){return arguments.length?(Pe=_e=0,Me=+Ye[0],Se=+Ye[1],je):[Me-Pe,Se-_e]},je.extent=function(Ye){return arguments.length?(Pe=+Ye[0][0],Me=+Ye[1][0],_e=+Ye[0][1],Se=+Ye[1][1],je):[[Pe,_e],[Me,Se]]},je.iterations=function(Ye){return arguments.length?(Le=+Ye,je):Le},je.circularLinkGap=function(Ye){return arguments.length?(Be=+Ye,je):Be},je.nodePaddingRatio=function(Ye){return arguments.length?(xe=+Ye,je):xe},je.sortNodes=function(Ye){return arguments.length?(ze=Ye,je):ze},je.update=function(Ye){return F(Ye,ae),$e(Ye),Ye.links.forEach(function(st){st.circular&&(st.circularLinkType=st.y0+st.y11||Me>1)}function j(pe,xe,Pe){return pe.sort(U),pe.forEach(function(_e,Me){var Se,Ce,ae=0;if(de(_e,Pe)&&q(_e))_e.circularPathData.verticalBuffer=ae+_e.width/2;else{for(var he=0;heCe.source.column)){var be=pe[he].circularPathData.verticalBuffer+pe[he].width/2+xe;ae=be>ae?be:ae}_e.circularPathData.verticalBuffer=ae+_e.width/2}}),pe}function $(pe,xe,Pe,_e){var Me=(0,d.VV)(pe.links,function(Se){return Se.source.y0});pe.links.forEach(function(Se){Se.circular&&(Se.circularPathData={})}),j(pe.links.filter(function(Se){return Se.circularLinkType=="top"}),xe,_e),j(pe.links.filter(function(Se){return Se.circularLinkType=="bottom"}),xe,_e),pe.links.forEach(function(Se){if(Se.circular){if(Se.circularPathData.arcRadius=Se.width+I,Se.circularPathData.leftNodeBuffer=5,Se.circularPathData.rightNodeBuffer=5,Se.circularPathData.sourceWidth=Se.source.x1-Se.source.x0,Se.circularPathData.sourceX=Se.source.x0+Se.circularPathData.sourceWidth,Se.circularPathData.targetX=Se.target.x0,Se.circularPathData.sourceY=Se.y0,Se.circularPathData.targetY=Se.y1,de(Se,_e)&&q(Se))Se.circularPathData.leftSmallArcRadius=I+Se.width/2,Se.circularPathData.leftLargeArcRadius=I+Se.width/2,Se.circularPathData.rightSmallArcRadius=I+Se.width/2,Se.circularPathData.rightLargeArcRadius=I+Se.width/2,Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Se.source.y1+O+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Se.source.y0-O-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius);else{var Ce=Se.source.column,ae=Se.circularLinkType,he=pe.links.filter(function(Le){return Le.source.column==Ce&&Le.circularLinkType==ae});Se.circularLinkType=="bottom"?he.sort(W):he.sort(G);var be=0;he.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.leftSmallArcRadius=I+Se.width/2+be,Se.circularPathData.leftLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Ce=Se.target.column,he=pe.links.filter(function(Le){return Le.target.column==Ce&&Le.circularLinkType==ae}),Se.circularLinkType=="bottom"?he.sort(ne):he.sort(H),be=0,he.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.rightSmallArcRadius=I+Se.width/2+be,Se.circularPathData.rightLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Math.max(Pe,Se.source.y1,Se.target.y1)+O+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Me-O-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius)}Se.circularPathData.leftInnerExtent=Se.circularPathData.sourceX+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightInnerExtent=Se.circularPathData.targetX-Se.circularPathData.rightNodeBuffer,Se.circularPathData.leftFullExtent=Se.circularPathData.sourceX+Se.circularPathData.leftLargeArcRadius+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightFullExtent=Se.circularPathData.targetX-Se.circularPathData.rightLargeArcRadius-Se.circularPathData.rightNodeBuffer}if(Se.circular)Se.path=function(Le){return Le.circularLinkType=="top"?"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 0 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY-Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 0 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 0 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY-Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 0 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY:"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 1 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY+Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 1 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 1 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY+Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 1 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY}(Se);else{var ke=(0,i.h5)().source(function(Le){return[Le.source.x0+(Le.source.x1-Le.source.x0),Le.y0]}).target(function(Le){return[Le.target.x0,Le.y1]});Se.path=ke(Se)}})}function U(pe,xe){return te(pe)==te(xe)?pe.circularLinkType=="bottom"?W(pe,xe):G(pe,xe):te(xe)-te(pe)}function G(pe,xe){return pe.y0-xe.y0}function W(pe,xe){return xe.y0-pe.y0}function H(pe,xe){return pe.y1-xe.y1}function ne(pe,xe){return xe.y1-pe.y1}function te(pe){return pe.target.column-pe.source.column}function Z(pe){return pe.target.x0-pe.source.x1}function X(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1+_e:pe.y1-_e}function Q(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1-_e:pe.y1+_e}function re(pe,xe,Pe,_e){pe.links.forEach(function(Me){if(!Me.circular&&Me.target.column-Me.source.column>1){var Se=Me.source.column+1,Ce=Me.target.column-1,ae=1,he=Ce-Se+1;for(ae=1;Se<=Ce;Se++,ae++)pe.nodes.forEach(function(be){if(be.column==Se){var ke,Le=ae/(he+1),Be=Math.pow(1-Le,3),ze=3*Le*Math.pow(1-Le,2),je=3*Math.pow(Le,2)*(1-Le),ge=Math.pow(Le,3),we=Be*Me.y0+ze*Me.y0+je*Me.y1+ge*Me.y1,Ee=we-Me.width/2,Ve=we+Me.width/2;Ee>be.y0&&Eest.y0&&Ye.y0st.y0&&Ye.y1st.y1)&&ie($e,ke,xe,Pe)})):(Ve>be.y0&&Vebe.y1)&&(ke=Ve-be.y0+10,be=ie(be,ke,xe,Pe),pe.nodes.forEach(function($e){b($e,_e)!=b(be,_e)&&$e.column==be.column&&$e.y0be.y1&&ie($e,ke,xe,Pe)}))}})}})}function ie(pe,xe,Pe,_e){return pe.y0+xe>=Pe&&pe.y1+xe<=_e&&(pe.y0=pe.y0+xe,pe.y1=pe.y1+xe,pe.targetLinks.forEach(function(Me){Me.y1=Me.y1+xe}),pe.sourceLinks.forEach(function(Me){Me.y0=Me.y0+xe})),pe}function oe(pe,xe,Pe,_e){pe.nodes.forEach(function(Me){_e&&Me.y+(Me.y1-Me.y0)>xe&&(Me.y=Me.y-(Me.y+(Me.y1-Me.y0)-xe));var Se=pe.links.filter(function(he){return b(he.source,Pe)==b(Me,Pe)}),Ce=Se.length;Ce>1&&Se.sort(function(he,be){if(!he.circular&&!be.circular){if(he.target.column==be.target.column||!ce(he,be))return he.y1-be.y1;if(he.target.column>be.target.column){var ke=Q(be,he);return he.y1-ke}if(be.target.column>he.target.column)return Q(he,be)-be.y1}return he.circular&&!be.circular?he.circularLinkType=="top"?-1:1:be.circular&&!he.circular?be.circularLinkType=="top"?1:-1:he.circular&&be.circular?he.circularLinkType===be.circularLinkType&&he.circularLinkType=="top"?he.target.column===be.target.column?he.target.y1-be.target.y1:be.target.column-he.target.column:he.circularLinkType===be.circularLinkType&&he.circularLinkType=="bottom"?he.target.column===be.target.column?be.target.y1-he.target.y1:he.target.column-be.target.column:he.circularLinkType=="top"?-1:1:void 0});var ae=Me.y0;Se.forEach(function(he){he.y0=ae+he.width/2,ae+=he.width}),Se.forEach(function(he,be){if(he.circularLinkType=="bottom"){for(var ke=be+1,Le=0;ke1&&Me.sort(function(ae,he){if(!ae.circular&&!he.circular){if(ae.source.column==he.source.column||!ce(ae,he))return ae.y0-he.y0;if(he.source.column0?"up":"down"}function de(pe,xe){return b(pe.source,xe)==b(pe.target,xe)}function me(pe,xe,Pe){var _e=pe.nodes,Me=pe.links,Se=!1,Ce=!1;if(Me.forEach(function(be){be.circularLinkType=="top"?Se=!0:be.circularLinkType=="bottom"&&(Ce=!0)}),Se==0||Ce==0){var ae=(0,d.VV)(_e,function(be){return be.y0}),he=(Pe-xe)/((0,d.Fp)(_e,function(be){return be.y1})-ae);_e.forEach(function(be){var ke=(be.y1-be.y0)*he;be.y0=(be.y0-ae)*he,be.y1=be.y0+ke}),Me.forEach(function(be){be.y0=(be.y0-ae)*he,be.y1=(be.y1-ae)*he,be.width=be.width*he})}}},30838:function(k,m,t){t.r(m),t.d(m,{sankey:function(){return C},sankeyCenter:function(){return l},sankeyJustify:function(){return h},sankeyLeft:function(){return M},sankeyLinkHorizontal:function(){return b},sankeyRight:function(){return g}});var d=t(33064),y=t(15140);function i(O){return O.target.depth}function M(O){return O.depth}function g(O,I){return I-1-O.height}function h(O,I){return O.sourceLinks.length?O.depth:I-1}function l(O){return O.targetLinks.length?O.depth:O.sourceLinks.length?(0,d.VV)(O.sourceLinks,i)-1:0}function a(O){return function(){return O}}function u(O,I){return s(O.source,I.source)||O.index-I.index}function o(O,I){return s(O.target,I.target)||O.index-I.index}function s(O,I){return O.y0-I.y0}function f(O){return O.value}function c(O){return(O.y0+O.y1)/2}function p(O){return c(O.source)*O.value}function w(O){return c(O.target)*O.value}function v(O){return O.index}function S(O){return O.nodes}function x(O){return O.links}function T(O,I){var R=O.get(I);if(!R)throw new Error("missing: "+I);return R}function C(){var O=0,I=0,R=1,D=1,F=24,B=8,N=v,q=h,j=S,$=x,U=32;function G(){var X={nodes:j.apply(null,arguments),links:$.apply(null,arguments)};return W(X),H(X),ne(X),te(X),Z(X),X}function W(X){X.nodes.forEach(function(re,ie){re.index=ie,re.sourceLinks=[],re.targetLinks=[]});var Q=(0,y.UI)(X.nodes,N);X.links.forEach(function(re,ie){re.index=ie;var oe=re.source,ue=re.target;typeof oe!="object"&&(oe=re.source=T(Q,oe)),typeof ue!="object"&&(ue=re.target=T(Q,ue)),oe.sourceLinks.push(re),ue.targetLinks.push(re)})}function H(X){X.nodes.forEach(function(Q){Q.value=Math.max((0,d.Sm)(Q.sourceLinks,f),(0,d.Sm)(Q.targetLinks,f))})}function ne(X){var Q,re,ie;for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.depth=ie,ue.sourceLinks.forEach(function(ce){re.indexOf(ce.target)<0&&re.push(ce.target)})});for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.height=ie,ue.targetLinks.forEach(function(ce){re.indexOf(ce.source)<0&&re.push(ce.source)})});var oe=(R-O-F)/(ie-1);X.nodes.forEach(function(ue){ue.x1=(ue.x0=O+Math.max(0,Math.min(ie-1,Math.floor(q.call(null,ue,ie))))*oe)+F})}function te(X){var Q=(0,y.b1)().key(function(ye){return ye.x0}).sortKeys(d.j2).entries(X.nodes).map(function(ye){return ye.values});(function(){var ye=(0,d.Fp)(Q,function(pe){return pe.length}),de=.6666666666666666*(D-I)/(ye-1);B>de&&(B=de);var me=(0,d.VV)(Q,function(pe){return(D-I-(pe.length-1)*B)/(0,d.Sm)(pe,f)});Q.forEach(function(pe){pe.forEach(function(xe,Pe){xe.y1=(xe.y0=Pe)+xe.value*me})}),X.links.forEach(function(pe){pe.width=pe.value*me})})(),ce();for(var re=1,ie=U;ie>0;--ie)ue(re*=.99),ce(),oe(re),ce();function oe(ye){Q.forEach(function(de){de.forEach(function(me){if(me.targetLinks.length){var pe=((0,d.Sm)(me.targetLinks,p)/(0,d.Sm)(me.targetLinks,f)-c(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ue(ye){Q.slice().reverse().forEach(function(de){de.forEach(function(me){if(me.sourceLinks.length){var pe=((0,d.Sm)(me.sourceLinks,w)/(0,d.Sm)(me.sourceLinks,f)-c(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ce(){Q.forEach(function(ye){var de,me,pe,xe=I,Pe=ye.length;for(ye.sort(s),pe=0;pe0&&(de.y0+=me,de.y1+=me),xe=de.y1+B;if((me=xe-B-D)>0)for(xe=de.y0-=me,de.y1-=me,pe=Pe-2;pe>=0;--pe)(me=(de=ye[pe]).y1+B-xe)>0&&(de.y0-=me,de.y1-=me),xe=de.y0})}}function Z(X){X.nodes.forEach(function(Q){Q.sourceLinks.sort(o),Q.targetLinks.sort(u)}),X.nodes.forEach(function(Q){var re=Q.y0,ie=re;Q.sourceLinks.forEach(function(oe){oe.y0=re+oe.width/2,re+=oe.width}),Q.targetLinks.forEach(function(oe){oe.y1=ie+oe.width/2,ie+=oe.width})})}return G.update=function(X){return Z(X),X},G.nodeId=function(X){return arguments.length?(N=typeof X=="function"?X:a(X),G):N},G.nodeAlign=function(X){return arguments.length?(q=typeof X=="function"?X:a(X),G):q},G.nodeWidth=function(X){return arguments.length?(F=+X,G):F},G.nodePadding=function(X){return arguments.length?(B=+X,G):B},G.nodes=function(X){return arguments.length?(j=typeof X=="function"?X:a(X),G):j},G.links=function(X){return arguments.length?($=typeof X=="function"?X:a(X),G):$},G.size=function(X){return arguments.length?(O=I=0,R=+X[0],D=+X[1],G):[R-O,D-I]},G.extent=function(X){return arguments.length?(O=+X[0][0],R=+X[1][0],I=+X[0][1],D=+X[1][1],G):[[O,I],[R,D]]},G.iterations=function(X){return arguments.length?(U=+X,G):U},G}var _=t(45879);function A(O){return[O.source.x1,O.y0]}function L(O){return[O.target.x0,O.y1]}function b(){return(0,_.h5)().source(A).target(L)}},39898:function(k,m,t){var d,y;(function(){var i={version:"3.8.0"},M=[].slice,g=function(se){return M.call(se)},h=self.document;function l(se){return se&&(se.ownerDocument||se.document||se).documentElement}function a(se){return se&&(se.ownerDocument&&se.ownerDocument.defaultView||se.document&&se||se.defaultView)}if(h)try{g(h.documentElement.childNodes)[0].nodeType}catch{g=function(ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=ve[Ie];return Fe}}if(Date.now||(Date.now=function(){return+new Date}),h)try{h.createElement("DIV").style.setProperty("opacity",0,"")}catch{var u=this.Element.prototype,o=u.setAttribute,s=u.setAttributeNS,f=this.CSSStyleDeclaration.prototype,c=f.setProperty;u.setAttribute=function(ve,Ie){o.call(this,ve,Ie+"")},u.setAttributeNS=function(ve,Ie,Fe){s.call(this,ve,Ie,Fe+"")},f.setProperty=function(ve,Ie,Fe){c.call(this,ve,Ie+"",Fe)}}function p(se,ve){return seve?1:se>=ve?0:NaN}function w(se){return se===null?NaN:+se}function v(se){return!isNaN(se)}function S(se){return{left:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[qe],Ie)<0?Fe=qe+1:Ue=qe}return Fe},right:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[qe],Ie)>0?Ue=qe:Fe=qe+1}return Fe}}}i.ascending=p,i.descending=function(se,ve){return vese?1:ve>=se?0:NaN},i.min=function(se,ve){var Ie,Fe,Ue=-1,qe=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}return Ie},i.max=function(se,ve){var Ie,Fe,Ue=-1,qe=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}return Ie},i.extent=function(se,ve){var Ie,Fe,Ue,qe=-1,Xe=se.length;if(arguments.length===1){for(;++qe=Fe){Ie=Ue=Fe;break}for(;++qeFe&&(Ie=Fe),Ue=Fe){Ie=Ue=Fe;break}for(;++qeFe&&(Ie=Fe),Ue1)return Xe/(lt-1)},i.deviation=function(){var se=i.variance.apply(this,arguments);return se&&Math.sqrt(se)};var x=S(p);function T(se){return se.length}i.bisectLeft=x.left,i.bisect=i.bisectRight=x.right,i.bisector=function(se){return S(se.length===1?function(ve,Ie){return p(se(ve),Ie)}:se)},i.shuffle=function(se,ve,Ie){(qe=arguments.length)<3&&(Ie=se.length,qe<2&&(ve=0));for(var Fe,Ue,qe=Ie-ve;qe;)Ue=Math.random()*qe--|0,Fe=se[qe+ve],se[qe+ve]=se[Ue+ve],se[Ue+ve]=Fe;return se},i.permute=function(se,ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=se[ve[Ie]];return Fe},i.pairs=function(se){for(var ve=0,Ie=se.length-1,Fe=se[0],Ue=new Array(Ie<0?0:Ie);ve=0;)for(ve=(Fe=se[Ue]).length;--ve>=0;)Ie[--Xe]=Fe[ve];return Ie};var C=Math.abs;function _(se){for(var ve=1;se*ve%1;)ve*=10;return ve}function A(se,ve){for(var Ie in ve)Object.defineProperty(se.prototype,Ie,{value:ve[Ie],enumerable:!1})}function L(){this._=Object.create(null)}function b(se){return(se+="")=="__proto__"||se[0]==="\0"?"\0"+se:se}function O(se){return(se+="")[0]==="\0"?se.slice(1):se}function I(se){return b(se)in this._}function R(se){return(se=b(se))in this._&&delete this._[se]}function D(){var se=[];for(var ve in this._)se.push(O(ve));return se}function F(){var se=0;for(var ve in this._)++se;return se}function B(){for(var se in this._)return!1;return!0}function N(){this._=Object.create(null)}function q(se){return se}function j(se,ve,Ie){return function(){var Fe=Ie.apply(ve,arguments);return Fe===ve?se:Fe}}function $(se,ve){if(ve in se)return ve;ve=ve.charAt(0).toUpperCase()+ve.slice(1);for(var Ie=0,Fe=U.length;Ieve;)Ue.push(Fe/qe);else for(;(Fe=se+Ie*++Xe)=Fe.length)return ve?ve.call(Ie,lt):se?lt.sort(se):lt;for(var zt,Ut,Ht,en,vn=-1,tn=lt.length,ln=Fe[mt++],an=new L;++vn=Fe.length)return tt;var mt=[],zt=Ue[lt++];return tt.forEach(function(Ut,Ht){mt.push({key:Ut,values:Xe(Ht,lt)})}),zt?mt.sort(function(Ut,Ht){return zt(Ut.key,Ht.key)}):mt}return Ie.map=function(tt,lt){return qe(lt,tt,0)},Ie.entries=function(tt){return Xe(qe(i.map,tt,0),0)},Ie.key=function(tt){return Fe.push(tt),Ie},Ie.sortKeys=function(tt){return Ue[Fe.length-1]=tt,Ie},Ie.sortValues=function(tt){return se=tt,Ie},Ie.rollup=function(tt){return ve=tt,Ie},Ie},i.set=function(se){var ve=new N;if(se)for(var Ie=0,Fe=se.length;Ie=0&&(Fe=se.slice(Ie+1),se=se.slice(0,Ie)),se)return arguments.length<2?this[se].on(Fe):this[se].on(Fe,ve);if(arguments.length===2){if(ve==null)for(se in this)this.hasOwnProperty(se)&&this[se].on(Fe,null);return this}},i.event=null,i.requote=function(se){return se.replace(X,"\\$&")};var X=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Q={}.__proto__?function(se,ve){se.__proto__=ve}:function(se,ve){for(var Ie in ve)se[Ie]=ve[Ie]};function re(se){return Q(se,ce),se}var ie=function(se,ve){return ve.querySelector(se)},oe=function(se,ve){return ve.querySelectorAll(se)},ue=function(se,ve){var Ie=se.matches||se[$(se,"matchesSelector")];return ue=function(Fe,Ue){return Ie.call(Fe,Ue)},ue(se,ve)};typeof Sizzle=="function"&&(ie=function(se,ve){return Sizzle(se,ve)[0]||null},oe=Sizzle,ue=Sizzle.matchesSelector),i.selection=function(){return i.select(h.documentElement)};var ce=i.selection.prototype=[];function ye(se){return typeof se=="function"?se:function(){return ie(se,this)}}function de(se){return typeof se=="function"?se:function(){return oe(se,this)}}ce.select=function(se){var ve,Ie,Fe,Ue,qe=[];se=ye(se);for(var Xe=-1,tt=this.length;++Xe=0&&(Ie=se.slice(0,ve))!=="xmlns"&&(se=se.slice(ve+1)),pe.hasOwnProperty(Ie)?{space:pe[Ie],local:se}:se}},ce.attr=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node();return(se=i.ns.qualify(se)).local?Ie.getAttributeNS(se.space,se.local):Ie.getAttribute(se)}for(ve in se)this.each(xe(ve,se[ve]));return this}return this.each(xe(se,ve))},ce.classed=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node(),Fe=(se=Me(se)).length,Ue=-1;if(ve=Ie.classList){for(;++Ue=0;)(Ie=Fe[Ue])&&(qe&&qe!==Ie.nextSibling&&qe.parentNode.insertBefore(Ie,qe),qe=Ie);return this},ce.sort=function(se){se=ze.apply(this,arguments);for(var ve=-1,Ie=this.length;++ve=ve&&(ve=Ue+1);!(Xe=tt[ve])&&++ve0&&(se=se.slice(0,Ue));var Xe=$e.get(se);function tt(){var lt=this[Fe];lt&&(this.removeEventListener(se,lt,lt.$),delete this[Fe])}return Xe&&(se=Xe,qe=st),Ue?ve?function(){var lt=qe(ve,g(arguments));tt.call(this),this.addEventListener(se,this[Fe]=lt,lt.$=Ie),lt._=ve}:tt:ve?G:function(){var lt,mt=new RegExp("^__on([^.]+)"+i.requote(se)+"$");for(var zt in this)if(lt=zt.match(mt)){var Ut=this[zt];this.removeEventListener(lt[1],Ut,Ut.$),delete this[zt]}}}i.selection.enter=ge,i.selection.enter.prototype=we,we.append=ce.append,we.empty=ce.empty,we.node=ce.node,we.call=ce.call,we.size=ce.size,we.select=function(se){for(var ve,Ie,Fe,Ue,qe,Xe=[],tt=-1,lt=this.length;++tt1?Vt:se<-1?-Vt:Math.asin(se)}function nt(se){return((se=Math.exp(se))+1/se)/2}var ht=Math.SQRT2;i.interpolateZoom=function(se,ve){var Ie,Fe,Ue=se[0],qe=se[1],Xe=se[2],tt=ve[0],lt=ve[1],mt=ve[2],zt=tt-Ue,Ut=lt-qe,Ht=zt*zt+Ut*Ut;if(Ht<1e-12)Fe=Math.log(mt/Xe)/ht,Ie=function(Cn){return[Ue+Cn*zt,qe+Cn*Ut,Xe*Math.exp(ht*Cn*Fe)]};else{var en=Math.sqrt(Ht),vn=(mt*mt-Xe*Xe+4*Ht)/(2*Xe*2*en),tn=(mt*mt-Xe*Xe-4*Ht)/(2*mt*2*en),ln=Math.log(Math.sqrt(vn*vn+1)-vn),an=Math.log(Math.sqrt(tn*tn+1)-tn);Fe=(an-ln)/ht,Ie=function(Cn){var _n,on=Cn*Fe,Fn=nt(ln),Hn=Xe/(2*en)*(Fn*(_n=ht*on+ln,((_n=Math.exp(2*_n))-1)/(_n+1))-function(ir){return((ir=Math.exp(ir))-1/ir)/2}(ln));return[Ue+Hn*zt,qe+Hn*Ut,Xe*Fn/nt(ht*on+ln)]}}return Ie.duration=1e3*Fe,Ie},i.behavior.zoom=function(){var se,ve,Ie,Fe,Ue,qe,Xe,tt,lt,mt={x:0,y:0,k:1},zt=[960,500],Ut=Qe,Ht=250,en=0,vn="mousedown.zoom",tn="mousemove.zoom",ln="mouseup.zoom",an="touchstart.zoom",Cn=Z(_n,"zoomstart","zoom","zoomend");function _n(wr){wr.on(vn,kr).on(Ne+".zoom",hi).on("dblclick.zoom",di).on(an,jr)}function on(wr){return[(wr[0]-mt.x)/mt.k,(wr[1]-mt.y)/mt.k]}function Fn(wr){mt.k=Math.max(Ut[0],Math.min(Ut[1],wr))}function Hn(wr,Ur){Ur=function(oi){return[oi[0]*mt.k+mt.x,oi[1]*mt.k+mt.y]}(Ur),mt.x+=wr[0]-Ur[0],mt.y+=wr[1]-Ur[1]}function ir(wr,Ur,oi,ai){wr.__chart__={x:mt.x,y:mt.y,k:mt.k},Fn(Math.pow(2,ai)),Hn(ve=Ur,oi),wr=i.select(wr),Ht>0&&(wr=wr.transition().duration(Ht)),wr.call(_n.event)}function ar(){Xe&&Xe.domain(qe.range().map(function(wr){return(wr-mt.x)/mt.k}).map(qe.invert)),lt&<.domain(tt.range().map(function(wr){return(wr-mt.y)/mt.k}).map(tt.invert))}function Mr(wr){en++||wr({type:"zoomstart"})}function Er(wr){ar(),wr({type:"zoom",scale:mt.k,translate:[mt.x,mt.y]})}function xr(wr){--en||(wr({type:"zoomend"}),ve=null)}function kr(){var wr=this,Ur=Cn.of(wr,arguments),oi=0,ai=i.select(a(wr)).on(tn,Ni).on(ln,na),Ii=on(i.mouse(wr)),vi=bt(wr);function Ni(){oi=1,Hn(i.mouse(wr),Ii),Er(Ur)}function na(){ai.on(tn,null).on(ln,null),vi(oi),xr(Ur)}la.call(wr),Mr(Ur)}function jr(){var wr,Ur=this,oi=Cn.of(Ur,arguments),ai={},Ii=0,vi=".zoom-"+i.event.changedTouches[0].identifier,Ni="touchmove"+vi,na="touchend"+vi,pa=[],ua=i.select(Ur),Qi=bt(Ur);function ra(){var Za=i.touches(Ur);return wr=mt.k,Za.forEach(function(ui){ui.identifier in ai&&(ai[ui.identifier]=on(ui))}),Za}function ca(){var Za=i.event.target;i.select(Za).on(Ni,Ia).on(na,zl),pa.push(Za);for(var ui=i.event.changedTouches,fo=0,_o=ui.length;fo<_o;++fo)ai[ui[fo].identifier]=null;var Aa=ra(),Ps=Date.now();if(Aa.length===1){if(Ps-Ue<500){var Oi=Aa[0];ir(Ur,Oi,ai[Oi.identifier],Math.floor(Math.log(mt.k)/Math.LN2)+1),ne()}Ue=Ps}else if(Aa.length>1){Oi=Aa[0];var Xa=Aa[1],jo=Oi[0]-Xa[0],Xc=Oi[1]-Xa[1];Ii=jo*jo+Xc*Xc}}function Ia(){var Za,ui,fo,_o,Aa=i.touches(Ur);la.call(Ur);for(var Ps=0,Oi=Aa.length;Ps360?tt-=360:tt<0&&(tt+=360),tt<60?Fe+(Ue-Fe)*tt/60:tt<180?Ue:tt<240?Fe+(Ue-Fe)*(240-tt)/60:Fe}(Xe))}return se=isNaN(se)?0:(se%=360)<0?se+360:se,ve=isNaN(ve)||ve<0?0:ve>1?1:ve,Fe=2*(Ie=Ie<0?0:Ie>1?1:Ie)-(Ue=Ie<=.5?Ie*(1+ve):Ie+ve-Ie*ve),new An(qe(se+120),qe(se),qe(se-120))}function Lt(se,ve,Ie){return this instanceof Lt?(this.h=+se,this.c=+ve,void(this.l=+Ie)):arguments.length<2?se instanceof Lt?new Lt(se.h,se.c,se.l):Qt(se instanceof wt?se.l:(se=Dn((se=i.rgb(se)).r,se.g,se.b)).l,se.a,se.b):new Lt(se,ve,Ie)}_t.brighter=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,this.l/se)},_t.darker=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,se*this.l)},_t.rgb=function(){return It(this.h,this.s,this.l)},i.hcl=Lt;var yt=Lt.prototype=new ut;function Pt(se,ve,Ie){return isNaN(se)&&(se=0),isNaN(ve)&&(ve=0),new wt(Ie,Math.cos(se*=Ke)*ve,Math.sin(se)*ve)}function wt(se,ve,Ie){return this instanceof wt?(this.l=+se,this.a=+ve,void(this.b=+Ie)):arguments.length<2?se instanceof wt?new wt(se.l,se.a,se.b):se instanceof Lt?Pt(se.h,se.c,se.l):Dn((se=An(se)).r,se.g,se.b):new wt(se,ve,Ie)}yt.brighter=function(se){return new Lt(this.h,this.c,Math.min(100,this.l+Ot*(arguments.length?se:1)))},yt.darker=function(se){return new Lt(this.h,this.c,Math.max(0,this.l-Ot*(arguments.length?se:1)))},yt.rgb=function(){return Pt(this.h,this.c,this.l).rgb()},i.lab=wt;var Ot=18,Nt=.95047,Yt=1.08883,qt=wt.prototype=new ut;function Xt(se,ve,Ie){var Fe=(se+16)/116,Ue=Fe+ve/500,qe=Fe-Ie/200;return new An(un(3.2404542*(Ue=rn(Ue)*Nt)-1.5371385*(Fe=1*rn(Fe))-.4985314*(qe=rn(qe)*Yt)),un(-.969266*Ue+1.8760108*Fe+.041556*qe),un(.0556434*Ue-.2040259*Fe+1.0572252*qe))}function Qt(se,ve,Ie){return se>0?new Lt(Math.atan2(Ie,ve)*Je,Math.sqrt(ve*ve+Ie*Ie),se):new Lt(NaN,NaN,se)}function rn(se){return se>.206893034?se*se*se:(se-.13793103448275862)/7.787037}function xn(se){return se>.008856?Math.pow(se,.3333333333333333):7.787037*se+.13793103448275862}function un(se){return Math.round(255*(se<=.00304?12.92*se:1.055*Math.pow(se,.4166666666666667)-.055))}function An(se,ve,Ie){return this instanceof An?(this.r=~~se,this.g=~~ve,void(this.b=~~Ie)):arguments.length<2?se instanceof An?new An(se.r,se.g,se.b):dn(""+se,An,It):new An(se,ve,Ie)}function Yn(se){return new An(se>>16,se>>8&255,255&se)}function kn(se){return Yn(se)+""}qt.brighter=function(se){return new wt(Math.min(100,this.l+Ot*(arguments.length?se:1)),this.a,this.b)},qt.darker=function(se){return new wt(Math.max(0,this.l-Ot*(arguments.length?se:1)),this.a,this.b)},qt.rgb=function(){return Xt(this.l,this.a,this.b)},i.rgb=An;var sn=An.prototype=new ut;function Tn(se){return se<16?"0"+Math.max(0,se).toString(16):Math.min(255,se).toString(16)}function dn(se,ve,Ie){var Fe,Ue,qe,Xe=0,tt=0,lt=0;if(Fe=/([a-z]+)\((.*)\)/.exec(se=se.toLowerCase()))switch(Ue=Fe[2].split(","),Fe[1]){case"hsl":return Ie(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return ve(jn(Ue[0]),jn(Ue[1]),jn(Ue[2]))}return(qe=Gn.get(se))?ve(qe.r,qe.g,qe.b):(se==null||se.charAt(0)!=="#"||isNaN(qe=parseInt(se.slice(1),16))||(se.length===4?(Xe=(3840&qe)>>4,Xe|=Xe>>4,tt=240&qe,tt|=tt>>4,lt=15&qe,lt|=lt<<4):se.length===7&&(Xe=(16711680&qe)>>16,tt=(65280&qe)>>8,lt=255&qe)),ve(Xe,tt,lt))}function pn(se,ve,Ie){var Fe,Ue,qe=Math.min(se/=255,ve/=255,Ie/=255),Xe=Math.max(se,ve,Ie),tt=Xe-qe,lt=(Xe+qe)/2;return tt?(Ue=lt<.5?tt/(Xe+qe):tt/(2-Xe-qe),Fe=se==Xe?(ve-Ie)/tt+(ve0&<<1?0:Fe),new dt(Fe,Ue,lt)}function Dn(se,ve,Ie){var Fe=xn((.4124564*(se=In(se))+.3575761*(ve=In(ve))+.1804375*(Ie=In(Ie)))/Nt),Ue=xn((.2126729*se+.7151522*ve+.072175*Ie)/1);return wt(116*Ue-16,500*(Fe-Ue),200*(Ue-xn((.0193339*se+.119192*ve+.9503041*Ie)/Yt)))}function In(se){return(se/=255)<=.04045?se/12.92:Math.pow((se+.055)/1.055,2.4)}function jn(se){var ve=parseFloat(se);return se.charAt(se.length-1)==="%"?Math.round(2.55*ve):ve}sn.brighter=function(se){se=Math.pow(.7,arguments.length?se:1);var ve=this.r,Ie=this.g,Fe=this.b,Ue=30;return ve||Ie||Fe?(ve&&ve=200&&Ut<300||Ut===304){try{zt=Ie.call(Ue,tt)}catch(Ht){return void qe.error.call(Ue,Ht)}qe.load.call(Ue,zt)}else qe.error.call(Ue,tt)}return self.XDomainRequest&&!("withCredentials"in tt)&&/^(http(s)?:)?\/\//.test(se)&&(tt=new XDomainRequest),"onload"in tt?tt.onload=tt.onerror=mt:tt.onreadystatechange=function(){tt.readyState>3&&mt()},tt.onprogress=function(zt){var Ut=i.event;i.event=zt;try{qe.progress.call(Ue,tt)}finally{i.event=Ut}},Ue.header=function(zt,Ut){return zt=(zt+"").toLowerCase(),arguments.length<2?Xe[zt]:(Ut==null?delete Xe[zt]:Xe[zt]=Ut+"",Ue)},Ue.mimeType=function(zt){return arguments.length?(ve=zt==null?null:zt+"",Ue):ve},Ue.responseType=function(zt){return arguments.length?(lt=zt,Ue):lt},Ue.response=function(zt){return Ie=zt,Ue},["get","post"].forEach(function(zt){Ue[zt]=function(){return Ue.send.apply(Ue,[zt].concat(g(arguments)))}}),Ue.send=function(zt,Ut,Ht){if(arguments.length===2&&typeof Ut=="function"&&(Ht=Ut,Ut=null),tt.open(zt,se,!0),ve==null||"accept"in Xe||(Xe.accept=ve+",*/*"),tt.setRequestHeader)for(var en in Xe)tt.setRequestHeader(en,Xe[en]);return ve!=null&&tt.overrideMimeType&&tt.overrideMimeType(ve),lt!=null&&(tt.responseType=lt),Ht!=null&&Ue.on("error",Ht).on("load",function(vn){Ht(null,vn)}),qe.beforesend.call(Ue,tt),tt.send(Ut??null),Ue},Ue.abort=function(){return tt.abort(),Ue},i.rebind(Ue,qe,"on"),Fe==null?Ue:Ue.get(function(zt){return zt.length===1?function(Ut,Ht){zt(Ut==null?Ht:null)}:zt}(Fe))}Gn.forEach(function(se,ve){Gn.set(se,Yn(ve))}),i.functor=Wn,i.xhr=lr(q),i.dsv=function(se,ve){var Ie=new RegExp('["'+se+` -]`),Fe=se.charCodeAt(0);function Ue(mt,zt,Ut){arguments.length<3&&(Ut=zt,zt=null);var Ht=rr(mt,ve,zt==null?qe:Xe(zt),Ut);return Ht.row=function(en){return arguments.length?Ht.response((zt=en)==null?qe:Xe(en)):zt},Ht}function qe(mt){return Ue.parse(mt.responseText)}function Xe(mt){return function(zt){return Ue.parse(zt.responseText,mt)}}function tt(mt){return mt.map(lt).join(se)}function lt(mt){return Ie.test(mt)?'"'+mt.replace(/\"/g,'""')+'"':mt}return Ue.parse=function(mt,zt){var Ut;return Ue.parseRows(mt,function(Ht,en){if(Ut)return Ut(Ht,en-1);var vn=function(tn){for(var ln={},an=Ht.length,Cn=0;Cn=ln)return vn;if(Ht)return Ht=!1,en;var Fn=an;if(mt.charCodeAt(Fn)===34){for(var Hn=Fn;Hn++pe&&Oe>0){var _e=(xe[Oe][0]-pe)/(xe[Oe][0]-xe[Oe-1][0]);return xe[Oe][1]*(1-_e)+_e*xe[Oe-1][1]}}return 1}(de/255,oe):ye[3];return me<1&&(ue=!0),[ye[0],ye[1],ye[2],255*me]})]);return w.divseq(ce,255),this.hasAlphaScale=ue,ce},j.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},j.isOpaque=function(){return!this.isTransparent()},j.pickSlots=1,j.setPickBase=function(ie){this.pickId=ie};var Y=[0,0,0],U={showSurface:!1,showContour:!1,projections:[D.slice(),D.slice(),D.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function G(ie,oe){var ue,ce,ye,de=oe.axes&&oe.axes.lastCubeProps.axis||Y,me=oe.showSurface,pe=oe.showContour;for(ue=0;ue<3;++ue)for(me=me||oe.surfaceProject[ue],ce=0;ce<3;++ce)pe=pe||oe.contourProject[ue][ce];for(ue=0;ue<3;++ue){var xe=U.projections[ue];for(ce=0;ce<16;++ce)xe[ce]=0;for(ce=0;ce<4;++ce)xe[5*ce]=1;xe[5*ue]=0,xe[12+ue]=oe.axesBounds[+(de[ue]>0)][ue],T(xe,ie.model,xe);var Oe=U.clipBounds[ue];for(ye=0;ye<2;++ye)for(ce=0;ce<3;++ce)Oe[ye][ce]=ie.clipBounds[ye][ce];Oe[0][ue]=-1e8,Oe[1][ue]=1e8}return U.showSurface=me,U.showContour=pe,U}var q={model:D,view:D,projection:D,inverseModel:D.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},H=D.slice(),ne=[1,0,0,0,1,0,0,0,1];function te(ie,oe){ie=ie||{};var ue=this.gl;ue.disable(ue.CULL_FACE),this._colorMap.bind(0);var ce=q;ce.model=ie.model||D,ce.view=ie.view||D,ce.projection=ie.projection||D,ce.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ce.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ce.objectOffset=this.objectOffset,ce.contourColor=this.contourColor[0],ce.inverseModel=C(ce.inverseModel,ce.model);for(var ye=0;ye<2;++ye)for(var de=ce.clipBounds[ye],me=0;me<3;++me)de[me]=Math.min(Math.max(this.clipBounds[ye][me],-1e8),1e8);ce.kambient=this.ambientLight,ce.kdiffuse=this.diffuseLight,ce.kspecular=this.specularLight,ce.roughness=this.roughness,ce.fresnel=this.fresnel,ce.opacity=this.opacity,ce.height=0,ce.permutation=ne,ce.vertexColor=this.vertexColor;var pe=H;for(T(pe,ce.view,ce.model),T(pe,ce.projection,pe),C(pe,pe),ye=0;ye<3;++ye)ce.eyePosition[ye]=pe[12+ye]/pe[15];var xe=pe[15];for(ye=0;ye<3;++ye)xe+=this.lightPosition[ye]*pe[4*ye+3];for(ye=0;ye<3;++ye){var Oe=pe[12+ye];for(me=0;me<3;++me)Oe+=pe[4*me+ye]*this.lightPosition[me];ce.lightPosition[ye]=Oe/xe}var _e=G(ce,this);if(_e.showSurface){for(this._shader.bind(),this._shader.uniforms=ce,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ue.TRIANGLES,this._vertexCount),ye=0;ye<3;++ye)this.surfaceProject[ye]&&this.vertexCount&&(this._shader.uniforms.model=_e.projections[ye],this._shader.uniforms.clipBounds=_e.clipBounds[ye],this._vao.draw(ue.TRIANGLES,this._vertexCount));this._vao.unbind()}if(_e.showContour){var Me=this._contourShader;ce.kambient=1,ce.kdiffuse=0,ce.kspecular=0,ce.opacity=1,Me.bind(),Me.uniforms=ce;var Se=this._contourVAO;for(Se.bind(),ye=0;ye<3;++ye)for(Me.uniforms.permutation=B[ye],ue.lineWidth(this.contourWidth[ye]*this.pixelRatio),me=0;me>4)/16)/255,ye=Math.floor(ce),de=ce-ye,me=oe[1]*(ie.value[1]+(15&ie.value[2])/16)/255,pe=Math.floor(me),xe=me-pe;ye+=1,pe+=1;var Oe=ue.position;Oe[0]=Oe[1]=Oe[2]=0;for(var _e=0;_e<2;++_e)for(var Me=_e?de:1-de,Se=0;Se<2;++Se)for(var Ce=ye+_e,ae=pe+Se,he=Me*(Se?xe:1-xe),be=0;be<3;++be)Oe[be]+=this._field[be].get(Ce,ae)*he;for(var ke=this._pickResult.level,Le=0;Le<3;++Le)if(ke[Le]=_.le(this.contourLevels[Le],Oe[Le]),ke[Le]<0)this.contourLevels[Le].length>0&&(ke[Le]=0);else if(ke[Le]Math.abs(ze-Oe[Le])&&(ke[Le]+=1)}for(ue.index[0]=de<.5?ye:ye+1,ue.index[1]=xe<.5?pe:pe+1,ue.uv[0]=ce/oe[0],ue.uv[1]=me/oe[1],be=0;be<3;++be)ue.dataCoordinate[be]=this._field[be].get(ue.index[0],ue.index[1]);return ue},j.padField=function(ie,oe){var ue=oe.shape.slice(),ce=ie.shape.slice();w.assign(ie.lo(1,1).hi(ue[0],ue[1]),oe),w.assign(ie.lo(1).hi(ue[0],1),oe.hi(ue[0],1)),w.assign(ie.lo(1,ce[1]-1).hi(ue[0],1),oe.lo(0,ue[1]-1).hi(ue[0],1)),w.assign(ie.lo(0,1).hi(1,ue[1]),oe.hi(1)),w.assign(ie.lo(ce[0]-1,1).hi(1,ue[1]),oe.lo(ue[0]-1)),ie.set(0,0,oe.get(0,0)),ie.set(0,ce[1]-1,oe.get(0,ue[1]-1)),ie.set(ce[0]-1,0,oe.get(ue[0]-1,0)),ie.set(ce[0]-1,ce[1]-1,oe.get(ue[0]-1,ue[1]-1))},j.update=function(ie){ie=ie||{},this.objectOffset=ie.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ie&&(this.contourWidth=X(ie.contourWidth,Number)),"showContour"in ie&&(this.showContour=X(ie.showContour,Boolean)),"showSurface"in ie&&(this.showSurface=!!ie.showSurface),"contourTint"in ie&&(this.contourTint=X(ie.contourTint,Boolean)),"contourColor"in ie&&(this.contourColor=re(ie.contourColor)),"contourProject"in ie&&(this.contourProject=X(ie.contourProject,function(kn){return X(kn,Boolean)})),"surfaceProject"in ie&&(this.surfaceProject=ie.surfaceProject),"dynamicColor"in ie&&(this.dynamicColor=re(ie.dynamicColor)),"dynamicTint"in ie&&(this.dynamicTint=X(ie.dynamicTint,Number)),"dynamicWidth"in ie&&(this.dynamicWidth=X(ie.dynamicWidth,Number)),"opacity"in ie&&(this.opacity=ie.opacity),"opacityscale"in ie&&(this.opacityscale=ie.opacityscale),"colorBounds"in ie&&(this.colorBounds=ie.colorBounds),"vertexColor"in ie&&(this.vertexColor=ie.vertexColor?1:0),"colormap"in ie&&this._colorMap.setPixels(this.genColormap(ie.colormap,this.opacityscale));var oe=ie.field||ie.coords&&ie.coords[2]||null,ue=!1;if(oe||(oe=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in ie||"coords"in ie){var ce=(oe.shape[0]+2)*(oe.shape[1]+2);ce>this._field[2].data.length&&(f.freeFloat(this._field[2].data),this._field[2].data=f.mallocFloat(u.nextPow2(ce))),this._field[2]=S(this._field[2].data,[oe.shape[0]+2,oe.shape[1]+2]),this.padField(this._field[2],oe),this.shape=oe.shape.slice();for(var ye=this.shape,de=0;de<2;++de)this._field[2].size>this._field[de].data.length&&(f.freeFloat(this._field[de].data),this._field[de].data=f.mallocFloat(this._field[2].size)),this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2]);if(ie.coords){var me=ie.coords;if(!Array.isArray(me)||me.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(de=0;de<2;++de){var pe=me[de];for(Se=0;Se<2;++Se)if(pe.shape[Se]!==ye[Se])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[de],pe)}}else if(ie.ticks){var xe=ie.ticks;if(!Array.isArray(xe)||xe.length!==2)throw new Error("gl-surface: invalid ticks");for(de=0;de<2;++de){var Oe=xe[de];if((Array.isArray(Oe)||Oe.length)&&(Oe=S(Oe)),Oe.shape[0]!==ye[de])throw new Error("gl-surface: invalid tick length");var _e=S(Oe.data,ye);_e.stride[de]=Oe.stride[0],_e.stride[1^de]=0,this.padField(this._field[de],_e)}}else{for(de=0;de<2;++de){var Me=[0,0];Me[de]=1,this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2],Me,0)}this._field[0].set(0,0,0);for(var Se=0;Se0){for(var An=0;An<5;++An)ht.pop();kt-=1}continue e}ht.push(dt[0],dt[1],Lt[0],Lt[1],dt[2]),kt+=1}}ut.push(kt)}this._contourOffsets[Pe]=Qe,this._contourCounts[Pe]=ut}var $n=f.mallocFloat(ht.length);for(de=0;deB||D<0||D>B)throw new Error("gl-texture2d: Invalid texture size");return I._shape=[R,D],I.bind(),F.texImage2D(F.TEXTURE_2D,0,I.format,R,D,0,I.format,I.type,null),I._mipLevels=[0],I}function T(I,R,D,F,B,N){this.gl=I,this.handle=R,this.format=B,this.type=N,this._shape=[D,F],this._mipLevels=[0],this._magFilter=I.NEAREST,this._minFilter=I.NEAREST,this._wrapS=I.CLAMP_TO_EDGE,this._wrapT=I.CLAMP_TO_EDGE,this._anisoSamples=1;var W=this,j=[this._wrapS,this._wrapT];Object.defineProperties(j,[{get:function(){return W._wrapS},set:function(U){return W.wrapS=U}},{get:function(){return W._wrapT},set:function(U){return W.wrapT=U}}]),this._wrapVector=j;var Y=[this._shape[0],this._shape[1]];Object.defineProperties(Y,[{get:function(){return W._shape[0]},set:function(U){return W.width=U}},{get:function(){return W._shape[1]},set:function(U){return W.height=U}}]),this._shapeVector=Y}var C=T.prototype;function _(I,R){return I.length===3?R[2]===1&&R[1]===I[0]*I[2]&&R[0]===I[2]:R[0]===1&&R[1]===I[0]}function A(I){var R=I.createTexture();return I.bindTexture(I.TEXTURE_2D,R),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MIN_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MAG_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_S,I.CLAMP_TO_EDGE),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_T,I.CLAMP_TO_EDGE),R}function L(I,R,D,F,B){var N=I.getParameter(I.MAX_TEXTURE_SIZE);if(R<0||R>N||D<0||D>N)throw new Error("gl-texture2d: Invalid texture shape");if(B===I.FLOAT&&!I.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,F,R,D,0,F,B,null),new T(I,W,R,D,F,B)}function b(I,R,D,F,B,N){var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,B,B,N,R),new T(I,W,D,F,B,N)}function P(I,R){var D=R.dtype,F=R.shape.slice(),B=I.getParameter(I.MAX_TEXTURE_SIZE);if(F[0]<0||F[0]>B||F[1]<0||F[1]>B)throw new Error("gl-texture2d: Invalid texture size");var N=_(F,R.stride.slice()),W=0;D==="float32"?W=I.FLOAT:D==="float64"?(W=I.FLOAT,N=!1,D="float32"):D==="uint8"?W=I.UNSIGNED_BYTE:(W=I.UNSIGNED_BYTE,N=!1,D="uint8");var j,Y,U=0;if(F.length===2)U=I.LUMINANCE,F=[F[0],F[1],1],R=u(R.data,F,[R.stride[0],R.stride[1],1],R.offset);else{if(F.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(F[2]===1)U=I.ALPHA;else if(F[2]===2)U=I.LUMINANCE_ALPHA;else if(F[2]===3)U=I.RGB;else{if(F[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");U=I.RGBA}}W!==I.FLOAT||I.getExtension("OES_texture_float")||(W=I.UNSIGNED_BYTE,N=!1);var G=R.size;if(N)j=R.offset===0&&R.data.length===G?R.data:R.data.subarray(R.offset,R.offset+G);else{var q=[F[2],F[2]*F[0],1];Y=s.malloc(G,D);var H=u(Y,F,q,0);D!=="float32"&&D!=="float64"||W!==I.UNSIGNED_BYTE?o.assign(H,R):S(H,R),j=Y.subarray(0,G)}var ne=A(I);return I.texImage2D(I.TEXTURE_2D,0,U,F[0],F[1],0,U,W,j),N||s.free(Y),new T(I,ne,F[0],F[1],U,W)}Object.defineProperties(C,{minFilter:{get:function(){return this._minFilter},set:function(I){this.bind();var R=this.gl;if(this.type===R.FLOAT&&c.indexOf(I)>=0&&(R.getExtension("OES_texture_float_linear")||(I=R.NEAREST)),f.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return R.texParameteri(R.TEXTURE_2D,R.TEXTURE_MIN_FILTER,I),this._minFilter=I}},magFilter:{get:function(){return this._magFilter},set:function(I){this.bind();var R=this.gl;if(this.type===R.FLOAT&&c.indexOf(I)>=0&&(R.getExtension("OES_texture_float_linear")||(I=R.NEAREST)),f.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return R.texParameteri(R.TEXTURE_2D,R.TEXTURE_MAG_FILTER,I),this._magFilter=I}},mipSamples:{get:function(){return this._anisoSamples},set:function(I){var R=this._anisoSamples;if(this._anisoSamples=0|Math.max(I,1),R!==this._anisoSamples){var D=this.gl.getExtension("EXT_texture_filter_anisotropic");D&&this.gl.texParameterf(this.gl.TEXTURE_2D,D.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(I){if(this.bind(),p.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,I),this._wrapS=I}},wrapT:{get:function(){return this._wrapT},set:function(I){if(this.bind(),p.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,I),this._wrapT=I}},wrap:{get:function(){return this._wrapVector},set:function(I){if(Array.isArray(I)||(I=[I,I]),I.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var R=0;R<2;++R)if(p.indexOf(I[R])<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);this._wrapS=I[0],this._wrapT=I[1];var D=this.gl;return this.bind(),D.texParameteri(D.TEXTURE_2D,D.TEXTURE_WRAP_S,this._wrapS),D.texParameteri(D.TEXTURE_2D,D.TEXTURE_WRAP_T,this._wrapT),I}},shape:{get:function(){return this._shapeVector},set:function(I){if(Array.isArray(I)){if(I.length!==2)throw new Error("gl-texture2d: Invalid texture shape")}else I=[0|I,0|I];return x(this,0|I[0],0|I[1]),[0|I[0],0|I[1]]}},width:{get:function(){return this._shape[0]},set:function(I){return x(this,I|=0,this._shape[1]),I}},height:{get:function(){return this._shape[1]},set:function(I){return I|=0,x(this,this._shape[0],I),I}}}),C.bind=function(I){var R=this.gl;return I!==void 0&&R.activeTexture(R.TEXTURE0+(0|I)),R.bindTexture(R.TEXTURE_2D,this.handle),I!==void 0?0|I:R.getParameter(R.ACTIVE_TEXTURE)-R.TEXTURE0},C.dispose=function(){this.gl.deleteTexture(this.handle)},C.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var I=Math.min(this._shape[0],this._shape[1]),R=0;I>0;++R,I>>>=1)this._mipLevels.indexOf(R)<0&&this._mipLevels.push(R)},C.setPixels=function(I,R,D,F){var B=this.gl;this.bind(),Array.isArray(R)?(F=D,D=0|R[1],R=0|R[0]):(R=R||0,D=D||0),F=F||0;var N=v(I)?I:I.raw;if(N)this._mipLevels.indexOf(F)<0?(B.texImage2D(B.TEXTURE_2D,0,this.format,this.format,this.type,N),this._mipLevels.push(F)):B.texSubImage2D(B.TEXTURE_2D,F,R,D,this.format,this.type,N);else{if(!(I.shape&&I.stride&&I.data))throw new Error("gl-texture2d: Unsupported data type");if(I.shape.length<2||R+I.shape[1]>this._shape[1]>>>F||D+I.shape[0]>this._shape[0]>>>F||R<0||D<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");(function(W,j,Y,U,G,q,H,ne){var te=ne.dtype,Z=ne.shape.slice();if(Z.length<2||Z.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var X=0,Q=0,re=_(Z,ne.stride.slice());if(te==="float32"?X=W.FLOAT:te==="float64"?(X=W.FLOAT,re=!1,te="float32"):te==="uint8"?X=W.UNSIGNED_BYTE:(X=W.UNSIGNED_BYTE,re=!1,te="uint8"),Z.length===2)Q=W.LUMINANCE,Z=[Z[0],Z[1],1],ne=u(ne.data,Z,[ne.stride[0],ne.stride[1],1],ne.offset);else{if(Z.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(Z[2]===1)Q=W.ALPHA;else if(Z[2]===2)Q=W.LUMINANCE_ALPHA;else if(Z[2]===3)Q=W.RGB;else{if(Z[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");Q=W.RGBA}Z[2]}if(Q!==W.LUMINANCE&&Q!==W.ALPHA||G!==W.LUMINANCE&&G!==W.ALPHA||(Q=G),Q!==G)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ie=ne.size,oe=H.indexOf(U)<0;if(oe&&H.push(U),X===q&&re)ne.offset===0&&ne.data.length===ie?oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data):W.texSubImage2D(W.TEXTURE_2D,U,j,Y,Z[0],Z[1],G,q,ne.data):oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data.subarray(ne.offset,ne.offset+ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,Y,Z[0],Z[1],G,q,ne.data.subarray(ne.offset,ne.offset+ie));else{var ue;ue=q===W.FLOAT?s.mallocFloat32(ie):s.mallocUint8(ie);var ce=u(ue,Z,[Z[2],Z[2]*Z[0],1]);X===W.FLOAT&&q===W.UNSIGNED_BYTE?S(ce,ne):o.assign(ce,ne),oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ue.subarray(0,ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,Y,Z[0],Z[1],G,q,ue.subarray(0,ie)),q===W.FLOAT?s.freeFloat32(ue):s.freeUint8(ue)}})(B,R,D,F,this.format,this.type,this._mipLevels,I)}}},3056:function(h){h.exports=function(l,a,u){a?a.bind():l.bindBuffer(l.ELEMENT_ARRAY_BUFFER,null);var o=0|l.getParameter(l.MAX_VERTEX_ATTRIBS);if(u){if(u.length>o)throw new Error("gl-vao: Too many vertex attributes");for(var s=0;s1?0:Math.acos(v)};var u=a(5415),o=a(899),s=a(9305)},8827:function(h){h.exports=function(l,a){return l[0]=Math.ceil(a[0]),l[1]=Math.ceil(a[1]),l[2]=Math.ceil(a[2]),l}},7622:function(h){h.exports=function(l){var a=new Float32Array(3);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a}},8782:function(h){h.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l}},8501:function(h){h.exports=function(){var l=new Float32Array(3);return l[0]=0,l[1]=0,l[2]=0,l}},903:function(h){h.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],f=u[0],p=u[1],w=u[2];return l[0]=s*w-c*p,l[1]=c*f-o*w,l[2]=o*p-s*f,l}},5981:function(h,l,a){h.exports=a(8288)},8288:function(h){h.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return Math.sqrt(u*u+o*o+s*s)}},8629:function(h,l,a){h.exports=a(7979)},7979:function(h){h.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l}},9305:function(h){h.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]}},154:function(h){h.exports=1e-6},4932:function(h,l,a){h.exports=function(o,s){var c=o[0],f=o[1],p=o[2],w=s[0],v=s[1],S=s[2];return Math.abs(c-w)<=u*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(f-v)<=u*Math.max(1,Math.abs(f),Math.abs(v))&&Math.abs(p-S)<=u*Math.max(1,Math.abs(p),Math.abs(S))};var u=a(154)},5777:function(h){h.exports=function(l,a){return l[0]===a[0]&&l[1]===a[1]&&l[2]===a[2]}},3306:function(h){h.exports=function(l,a){return l[0]=Math.floor(a[0]),l[1]=Math.floor(a[1]),l[2]=Math.floor(a[2]),l}},7447:function(h,l,a){h.exports=function(o,s,c,f,p,w){var v,S;for(s||(s=3),c||(c=0),S=f?Math.min(f*s+c,o.length):o.length,v=c;v0&&(c=1/Math.sqrt(c),l[0]=a[0]*c,l[1]=a[1]*c,l[2]=a[2]*c),l}},6660:function(h){h.exports=function(l,a){a=a||1;var u=2*Math.random()*Math.PI,o=2*Math.random()-1,s=Math.sqrt(1-o*o)*a;return l[0]=Math.cos(u)*s,l[1]=Math.sin(u)*s,l[2]=o*a,l}},392:function(h){h.exports=function(l,a,u,o){var s=u[1],c=u[2],f=a[1]-s,p=a[2]-c,w=Math.sin(o),v=Math.cos(o);return l[0]=a[0],l[1]=s+f*v-p*w,l[2]=c+f*w+p*v,l}},3222:function(h){h.exports=function(l,a,u,o){var s=u[0],c=u[2],f=a[0]-s,p=a[2]-c,w=Math.sin(o),v=Math.cos(o);return l[0]=s+p*w+f*v,l[1]=a[1],l[2]=c+p*v-f*w,l}},3388:function(h){h.exports=function(l,a,u,o){var s=u[0],c=u[1],f=a[0]-s,p=a[1]-c,w=Math.sin(o),v=Math.cos(o);return l[0]=s+f*v-p*w,l[1]=c+f*w+p*v,l[2]=a[2],l}},1624:function(h){h.exports=function(l,a){return l[0]=Math.round(a[0]),l[1]=Math.round(a[1]),l[2]=Math.round(a[2]),l}},5685:function(h){h.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l}},6722:function(h){h.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l}},831:function(h){h.exports=function(l,a,u,o){return l[0]=a,l[1]=u,l[2]=o,l}},5294:function(h,l,a){h.exports=a(6403)},3303:function(h,l,a){h.exports=a(4337)},6403:function(h){h.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return u*u+o*o+s*s}},4337:function(h){h.exports=function(l){var a=l[0],u=l[1],o=l[2];return a*a+u*u+o*o}},8921:function(h,l,a){h.exports=a(911)},911:function(h){h.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l}},9908:function(h){h.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2];return l[0]=o*u[0]+s*u[3]+c*u[6],l[1]=o*u[1]+s*u[4]+c*u[7],l[2]=o*u[2]+s*u[5]+c*u[8],l}},3255:function(h){h.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],f=u[3]*o+u[7]*s+u[11]*c+u[15];return f=f||1,l[0]=(u[0]*o+u[4]*s+u[8]*c+u[12])/f,l[1]=(u[1]*o+u[5]*s+u[9]*c+u[13])/f,l[2]=(u[2]*o+u[6]*s+u[10]*c+u[14])/f,l}},6568:function(h){h.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],f=u[0],p=u[1],w=u[2],v=u[3],S=v*o+p*c-w*s,x=v*s+w*o-f*c,T=v*c+f*s-p*o,C=-f*o-p*s-w*c;return l[0]=S*v+C*-f+x*-w-T*-p,l[1]=x*v+C*-p+T*-f-S*-w,l[2]=T*v+C*-w+S*-p-x*-f,l}},3433:function(h){h.exports=function(l,a,u){return l[0]=a[0]+u[0],l[1]=a[1]+u[1],l[2]=a[2]+u[2],l[3]=a[3]+u[3],l}},1413:function(h){h.exports=function(l){var a=new Float32Array(4);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a}},3470:function(h){h.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l[3]=a[3],l}},5313:function(h){h.exports=function(){var l=new Float32Array(4);return l[0]=0,l[1]=0,l[2]=0,l[3]=0,l}},5446:function(h){h.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],c=a[3]-l[3];return Math.sqrt(u*u+o*o+s*s+c*c)}},205:function(h){h.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l[3]=a[3]/u[3],l}},4242:function(h){h.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]+l[3]*a[3]}},5680:function(h){h.exports=function(l,a,u,o){var s=new Float32Array(4);return s[0]=l,s[1]=a,s[2]=u,s[3]=o,s}},4020:function(h,l,a){h.exports={create:a(5313),clone:a(1413),fromValues:a(5680),copy:a(3470),set:a(6453),add:a(3433),subtract:a(2705),multiply:a(746),divide:a(205),min:a(2170),max:a(3030),scale:a(5510),scaleAndAdd:a(4224),distance:a(5446),squaredDistance:a(1542),length:a(8177),squaredLength:a(9037),negate:a(6459),inverse:a(8057),normalize:a(381),dot:a(4242),lerp:a(8746),random:a(3770),transformMat4:a(6342),transformQuat:a(5022)}},8057:function(h){h.exports=function(l,a){return l[0]=1/a[0],l[1]=1/a[1],l[2]=1/a[2],l[3]=1/a[3],l}},8177:function(h){h.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return Math.sqrt(a*a+u*u+o*o+s*s)}},8746:function(h){h.exports=function(l,a,u,o){var s=a[0],c=a[1],f=a[2],p=a[3];return l[0]=s+o*(u[0]-s),l[1]=c+o*(u[1]-c),l[2]=f+o*(u[2]-f),l[3]=p+o*(u[3]-p),l}},3030:function(h){h.exports=function(l,a,u){return l[0]=Math.max(a[0],u[0]),l[1]=Math.max(a[1],u[1]),l[2]=Math.max(a[2],u[2]),l[3]=Math.max(a[3],u[3]),l}},2170:function(h){h.exports=function(l,a,u){return l[0]=Math.min(a[0],u[0]),l[1]=Math.min(a[1],u[1]),l[2]=Math.min(a[2],u[2]),l[3]=Math.min(a[3],u[3]),l}},746:function(h){h.exports=function(l,a,u){return l[0]=a[0]*u[0],l[1]=a[1]*u[1],l[2]=a[2]*u[2],l[3]=a[3]*u[3],l}},6459:function(h){h.exports=function(l,a){return l[0]=-a[0],l[1]=-a[1],l[2]=-a[2],l[3]=-a[3],l}},381:function(h){h.exports=function(l,a){var u=a[0],o=a[1],s=a[2],c=a[3],f=u*u+o*o+s*s+c*c;return f>0&&(f=1/Math.sqrt(f),l[0]=u*f,l[1]=o*f,l[2]=s*f,l[3]=c*f),l}},3770:function(h,l,a){var u=a(381),o=a(5510);h.exports=function(s,c){return c=c||1,s[0]=Math.random(),s[1]=Math.random(),s[2]=Math.random(),s[3]=Math.random(),u(s,s),o(s,s,c),s}},5510:function(h){h.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l[3]=a[3]*u,l}},4224:function(h){h.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l[3]=a[3]+u[3]*o,l}},6453:function(h){h.exports=function(l,a,u,o,s){return l[0]=a,l[1]=u,l[2]=o,l[3]=s,l}},1542:function(h){h.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],c=a[3]-l[3];return u*u+o*o+s*s+c*c}},9037:function(h){h.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return a*a+u*u+o*o+s*s}},2705:function(h){h.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l[3]=a[3]-u[3],l}},6342:function(h){h.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],f=a[3];return l[0]=u[0]*o+u[4]*s+u[8]*c+u[12]*f,l[1]=u[1]*o+u[5]*s+u[9]*c+u[13]*f,l[2]=u[2]*o+u[6]*s+u[10]*c+u[14]*f,l[3]=u[3]*o+u[7]*s+u[11]*c+u[15]*f,l}},5022:function(h){h.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],f=u[0],p=u[1],w=u[2],v=u[3],S=v*o+p*c-w*s,x=v*s+w*o-f*c,T=v*c+f*s-p*o,C=-f*o-p*s-w*c;return l[0]=S*v+C*-f+x*-w-T*-p,l[1]=x*v+C*-p+T*-f-S*-w,l[2]=T*v+C*-w+S*-p-x*-f,l[3]=a[3],l}},9365:function(h,l,a){var u=a(8096),o=a(7896);h.exports=function(s){for(var c=Array.isArray(s)?s:u(s),f=0;f0)continue;ye=ue.slice(0,1).join("")}return G(ye),D+=ye.length,(b=b.slice(ye.length)).length}}function Q(){return/[^a-fA-F0-9]/.test(x)?(G(b.join("")),L=p,_):(b.push(x),T=x,_+1)}function re(){return x==="."||/[eE]/.test(x)?(b.push(x),L=5,T=x,_+1):x==="x"&&b.length===1&&b[0]==="0"?(L=11,b.push(x),T=x,_+1):/[^\d]/.test(x)?(G(b.join("")),L=p,_):(b.push(x),T=x,_+1)}function ie(){return x==="f"&&(b.push(x),T=x,_+=1),/[eE]/.test(x)?(b.push(x),T=x,_+1):(x!=="-"&&x!=="+"||!/[eE]/.test(T))&&/[^\d]/.test(x)?(G(b.join("")),L=p,_):(b.push(x),T=x,_+1)}function oe(){if(/[^\d\w_]/.test(x)){var ue=b.join("");return L=U[ue]?8:Y[ue]?7:6,G(b.join("")),L=p,_}return b.push(x),T=x,_+1}};var u=a(399),o=a(9746),s=a(9525),c=a(9458),f=a(3585),p=999,w=9999,v=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},3585:function(h,l,a){var u=a(9525);u=u.slice().filter(function(o){return!/^(gl\_|texture)/.test(o)}),h.exports=u.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},9525:function(h){h.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},9458:function(h,l,a){var u=a(399);h.exports=u.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},399:function(h){h.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},9746:function(h){h.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(h,l,a){var u=a(3193);h.exports=function(o,s){var c=u(s),f=[];return(f=f.concat(c(o))).concat(c(null))}},6832:function(h){h.exports=function(l){typeof l=="string"&&(l=[l]);for(var a=[].slice.call(arguments,1),u=[],o=0;o0;)for(var b=(S=L.pop()).adjacent,P=0;P<=T;++P){var I=b[P];if(I.boundary&&!(I.lastVisited<=-C)){for(var R=I.vertices,D=0;D<=T;++D){var F=R[D];_[D]=F<0?x:A[F]}var B=this.orient();if(B>0)return I;I.lastVisited=-C,B===0&&L.push(I)}}return null},v.walk=function(S,x){var T=this.vertices.length-1,C=this.dimension,_=this.vertices,A=this.tuple,L=x?this.interior.length*Math.random()|0:this.interior.length-1,b=this.interior[L];e:for(;!b.boundary;){for(var P=b.vertices,I=b.adjacent,R=0;R<=C;++R)A[R]=_[P[R]];for(b.lastVisited=T,R=0;R<=C;++R){var D=I[R];if(!(D.lastVisited>=T)){var F=A[R];A[R]=S;var B=this.orient();if(A[R]=F,B<0){b=D;continue e}D.boundary?D.lastVisited=-T:D.lastVisited=T}}return}return b},v.addPeaks=function(S,x){var T=this.vertices.length-1,C=this.dimension,_=this.vertices,A=this.tuple,L=this.interior,b=this.simplices,P=[x];x.lastVisited=T,x.vertices[x.vertices.indexOf(-1)]=T,x.boundary=!1,L.push(x);for(var I=[];P.length>0;){var R=(x=P.pop()).vertices,D=x.adjacent,F=R.indexOf(T);if(!(F<0)){for(var B=0;B<=C;++B)if(B!==F){var N=D[B];if(N.boundary&&!(N.lastVisited>=T)){var W=N.vertices;if(N.lastVisited!==-T){for(var j=0,Y=0;Y<=C;++Y)W[Y]<0?(j=Y,A[Y]=S):A[Y]=_[W[Y]];if(this.orient()>0){W[j]=T,N.boundary=!1,L.push(N),P.push(N),N.lastVisited=T;continue}N.lastVisited=-T}var U=N.adjacent,G=R.slice(),q=D.slice(),H=new s(G,q,!0);b.push(H);var ne=U.indexOf(x);if(!(ne<0))for(U[ne]=H,q[F]=N,G[B]=-1,q[B]=x,D[B]=H,H.flip(),Y=0;Y<=C;++Y){var te=G[Y];if(!(te<0||te===T)){for(var Z=new Array(C-1),X=0,Q=0;Q<=C;++Q){var re=G[Q];re<0||Q===Y||(Z[X++]=re)}I.push(new c(Z,H,Y))}}}}}}for(I.sort(f),B=0;B+1=0?L[P++]=b[R]:I=1&R;if(I===(1&S)){var D=L[0];L[0]=L[1],L[1]=D}x.push(L)}}return x}},9014:function(h,l,a){var u=a(5070);function o(P,I,R,D,F){this.mid=P,this.left=I,this.right=R,this.leftPoints=D,this.rightPoints=F,this.count=(I?I.count:0)+(R?R.count:0)+D.length}h.exports=function(P){return P&&P.length!==0?new L(A(P)):new L(null)};var s=o.prototype;function c(P,I){P.mid=I.mid,P.left=I.left,P.right=I.right,P.leftPoints=I.leftPoints,P.rightPoints=I.rightPoints,P.count=I.count}function f(P,I){var R=A(I);P.mid=R.mid,P.left=R.left,P.right=R.right,P.leftPoints=R.leftPoints,P.rightPoints=R.rightPoints,P.count=R.count}function p(P,I){var R=P.intervals([]);R.push(I),f(P,R)}function w(P,I){var R=P.intervals([]),D=R.indexOf(I);return D<0?0:(R.splice(D,1),f(P,R),1)}function v(P,I,R){for(var D=0;D=0&&P[D][1]>=I;--D){var F=R(P[D]);if(F)return F}}function x(P,I){for(var R=0;R>1],F=[],B=[],N=[];for(R=0;R3*(I+1)?p(this,P):this.left.insert(P):this.left=A([P]);else if(P[0]>this.mid)this.right?4*(this.right.count+1)>3*(I+1)?p(this,P):this.right.insert(P):this.right=A([P]);else{var R=u.ge(this.leftPoints,P,C),D=u.ge(this.rightPoints,P,_);this.leftPoints.splice(R,0,P),this.rightPoints.splice(D,0,P)}},s.remove=function(P){var I=this.count-this.leftPoints;if(P[1]3*(I-1)?w(this,P):(B=this.left.remove(P))===2?(this.left=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(P[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(I-1)?w(this,P):(B=this.right.remove(P))===2?(this.right=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(this.count===1)return this.leftPoints[0]===P?2:0;if(this.leftPoints.length===1&&this.leftPoints[0]===P){if(this.left&&this.right){for(var R=this,D=this.left;D.right;)R=D,D=D.right;if(R===this)D.right=this.right;else{var F=this.left,B=this.right;R.count-=D.count,R.right=D.left,D.left=F,D.right=B}c(this,D),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?c(this,this.left):c(this,this.right);return 1}for(F=u.ge(this.leftPoints,P,C);Fthis.mid?this.right&&(R=this.right.queryPoint(P,I))?R:S(this.rightPoints,P,I):x(this.leftPoints,I);var R},s.queryInterval=function(P,I,R){var D;return Pthis.mid&&this.right&&(D=this.right.queryInterval(P,I,R))?D:Ithis.mid?S(this.rightPoints,P,R):x(this.leftPoints,R)};var b=L.prototype;b.insert=function(P){this.root?this.root.insert(P):this.root=new o(P[0],null,null,[P],[P])},b.remove=function(P){if(this.root){var I=this.root.remove(P);return I===2&&(this.root=null),I!==0}return!1},b.queryPoint=function(P,I){if(this.root)return this.root.queryPoint(P,I)},b.queryInterval=function(P,I,R){if(P<=I&&this.root)return this.root.queryInterval(P,I,R)},Object.defineProperty(b,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(b,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},9560:function(h){h.exports=function(l){for(var a=new Array(l),u=0;u13)&&a!==32&&a!==133&&a!==160&&a!==5760&&a!==6158&&(a<8192||a>8205)&&a!==8232&&a!==8233&&a!==8239&&a!==8287&&a!==8288&&a!==12288&&a!==65279)return!1;return!0}},3578:function(h){h.exports=function(l,a,u){return l*(1-u)+a*u}},7191:function(h,l,a){var u=a(4690),o=a(9823),s=a(7332),c=a(7787),f=a(7437),p=a(2142),w={length:a(4693),normalize:a(899),dot:a(9305),cross:a(903)},v=o(),S=o(),x=[0,0,0,0],T=[[0,0,0],[0,0,0],[0,0,0]],C=[0,0,0];function _(A,L,b,P,I){A[0]=L[0]*P+b[0]*I,A[1]=L[1]*P+b[1]*I,A[2]=L[2]*P+b[2]*I}h.exports=function(A,L,b,P,I,R){if(L||(L=[0,0,0]),b||(b=[0,0,0]),P||(P=[0,0,0]),I||(I=[0,0,0,1]),R||(R=[0,0,0,1]),!u(v,A)||(s(S,v),S[3]=0,S[7]=0,S[11]=0,S[15]=1,Math.abs(c(S)<1e-8)))return!1;var D,F,B,N,W,j,Y,U=v[3],G=v[7],q=v[11],H=v[12],ne=v[13],te=v[14],Z=v[15];if(U!==0||G!==0||q!==0){if(x[0]=U,x[1]=G,x[2]=q,x[3]=Z,!f(S,S))return!1;p(S,S),D=I,B=S,N=(F=x)[0],W=F[1],j=F[2],Y=F[3],D[0]=B[0]*N+B[4]*W+B[8]*j+B[12]*Y,D[1]=B[1]*N+B[5]*W+B[9]*j+B[13]*Y,D[2]=B[2]*N+B[6]*W+B[10]*j+B[14]*Y,D[3]=B[3]*N+B[7]*W+B[11]*j+B[15]*Y}else I[0]=I[1]=I[2]=0,I[3]=1;if(L[0]=H,L[1]=ne,L[2]=te,function(Q,re){Q[0][0]=re[0],Q[0][1]=re[1],Q[0][2]=re[2],Q[1][0]=re[4],Q[1][1]=re[5],Q[1][2]=re[6],Q[2][0]=re[8],Q[2][1]=re[9],Q[2][2]=re[10]}(T,v),b[0]=w.length(T[0]),w.normalize(T[0],T[0]),P[0]=w.dot(T[0],T[1]),_(T[1],T[1],T[0],1,-P[0]),b[1]=w.length(T[1]),w.normalize(T[1],T[1]),P[0]/=b[1],P[1]=w.dot(T[0],T[2]),_(T[2],T[2],T[0],1,-P[1]),P[2]=w.dot(T[1],T[2]),_(T[2],T[2],T[1],1,-P[2]),b[2]=w.length(T[2]),w.normalize(T[2],T[2]),P[1]/=b[2],P[2]/=b[2],w.cross(C,T[1],T[2]),w.dot(T[0],C)<0)for(var X=0;X<3;X++)b[X]*=-1,T[X][0]*=-1,T[X][1]*=-1,T[X][2]*=-1;return R[0]=.5*Math.sqrt(Math.max(1+T[0][0]-T[1][1]-T[2][2],0)),R[1]=.5*Math.sqrt(Math.max(1-T[0][0]+T[1][1]-T[2][2],0)),R[2]=.5*Math.sqrt(Math.max(1-T[0][0]-T[1][1]+T[2][2],0)),R[3]=.5*Math.sqrt(Math.max(1+T[0][0]+T[1][1]+T[2][2],0)),T[2][1]>T[1][2]&&(R[0]=-R[0]),T[0][2]>T[2][0]&&(R[1]=-R[1]),T[1][0]>T[0][1]&&(R[2]=-R[2]),!0}},4690:function(h){h.exports=function(l,a){var u=a[15];if(u===0)return!1;for(var o=1/u,s=0;s<16;s++)l[s]=a[s]*o;return!0}},7649:function(h,l,a){var u=a(1868),o=a(1102),s=a(7191),c=a(7787),f=a(1116),p=S(),w=S(),v=S();function S(){return{translate:x(),scale:x(1),skew:x(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function x(T){return[T||0,T||0,T||0]}h.exports=function(T,C,_,A){if(c(C)===0||c(_)===0)return!1;var L=s(C,p.translate,p.scale,p.skew,p.perspective,p.quaternion),b=s(_,w.translate,w.scale,w.skew,w.perspective,w.quaternion);return!(!L||!b||(u(v.translate,p.translate,w.translate,A),u(v.skew,p.skew,w.skew,A),u(v.scale,p.scale,w.scale,A),u(v.perspective,p.perspective,w.perspective,A),f(v.quaternion,p.quaternion,w.quaternion,A),o(T,v.translate,v.scale,v.skew,v.perspective,v.quaternion),0))}},1102:function(h,l,a){var u={identity:a(9947),translate:a(998),multiply:a(104),create:a(9823),scale:a(3668),fromRotationTranslation:a(7280)},o=(u.create(),u.create());h.exports=function(s,c,f,p,w,v){return u.identity(s),u.fromRotationTranslation(s,v,c),s[3]=w[0],s[7]=w[1],s[11]=w[2],s[15]=w[3],u.identity(o),p[2]!==0&&(o[9]=p[2],u.multiply(s,s,o)),p[1]!==0&&(o[9]=0,o[8]=p[1],u.multiply(s,s,o)),p[0]!==0&&(o[8]=0,o[4]=p[0],u.multiply(s,s,o)),u.scale(s,s,f),s}},9298:function(h,l,a){var u=a(5070),o=a(7649),s=a(7437),c=a(6109),f=a(7115),p=a(5240),w=a(3012),v=a(998),S=(a(3668),a(899)),x=[0,0,0];function T(A){this._components=A.slice(),this._time=[0],this.prevMatrix=A.slice(),this.nextMatrix=A.slice(),this.computedMatrix=A.slice(),this.computedInverse=A.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}h.exports=function(A){return new T((A=A||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var C=T.prototype;C.recalcMatrix=function(A){var L=this._time,b=u.le(L,A),P=this.computedMatrix;if(!(b<0)){var I=this._components;if(b===L.length-1)for(var R=16*b,D=0;D<16;++D)P[D]=I[R++];else{var F=L[b+1]-L[b],B=(R=16*b,this.prevMatrix),N=!0;for(D=0;D<16;++D)B[D]=I[R++];var W=this.nextMatrix;for(D=0;D<16;++D)W[D]=I[R++],N=N&&B[D]===W[D];if(F<1e-6||N)for(D=0;D<16;++D)P[D]=B[D];else o(P,B,W,(A-L[b])/F)}var j=this.computedUp;j[0]=P[1],j[1]=P[5],j[2]=P[9],S(j,j);var Y=this.computedInverse;s(Y,P);var U=this.computedEye,G=Y[15];U[0]=Y[12]/G,U[1]=Y[13]/G,U[2]=Y[14]/G;var q=this.computedCenter,H=Math.exp(this.computedRadius[0]);for(D=0;D<3;++D)q[D]=U[D]-P[2+4*D]*H}},C.idle=function(A){if(!(A1&&u(o[w[T-2]],o[w[T-1]],x)<=0;)T-=1,w.pop();for(w.push(S),T=v.length;T>1&&u(o[v[T-2]],o[v[T-1]],x)>=0;)T-=1,v.pop();v.push(S)}c=new Array(v.length+w.length-2);for(var C=0,_=(f=0,w.length);f<_;++f)c[C++]=w[f];for(var A=v.length-2;A>0;--A)c[C++]=v[A];return c};var u=a(417)[3]},6145:function(h,l,a){h.exports=function(o,s){s||(s=o,o=window);var c=0,f=0,p=0,w={shift:!1,alt:!1,control:!1,meta:!1},v=!1;function S(R){var D=!1;return"altKey"in R&&(D=D||R.altKey!==w.alt,w.alt=!!R.altKey),"shiftKey"in R&&(D=D||R.shiftKey!==w.shift,w.shift=!!R.shiftKey),"ctrlKey"in R&&(D=D||R.ctrlKey!==w.control,w.control=!!R.ctrlKey),"metaKey"in R&&(D=D||R.metaKey!==w.meta,w.meta=!!R.metaKey),D}function x(R,D){var F=u.x(D),B=u.y(D);"buttons"in D&&(R=0|D.buttons),(R!==c||F!==f||B!==p||S(D))&&(c=0|R,f=F||0,p=B||0,s&&s(c,f,p,w))}function T(R){x(0,R)}function C(){(c||f||p||w.shift||w.alt||w.meta||w.control)&&(f=p=0,c=0,w.shift=w.alt=w.control=w.meta=!1,s&&s(0,0,0,w))}function _(R){S(R)&&s&&s(c,f,p,w)}function A(R){u.buttons(R)===0?x(0,R):x(c,R)}function L(R){x(c|u.buttons(R),R)}function b(R){x(c&~u.buttons(R),R)}function P(){v||(v=!0,o.addEventListener("mousemove",A),o.addEventListener("mousedown",L),o.addEventListener("mouseup",b),o.addEventListener("mouseleave",T),o.addEventListener("mouseenter",T),o.addEventListener("mouseout",T),o.addEventListener("mouseover",T),o.addEventListener("blur",C),o.addEventListener("keyup",_),o.addEventListener("keydown",_),o.addEventListener("keypress",_),o!==window&&(window.addEventListener("blur",C),window.addEventListener("keyup",_),window.addEventListener("keydown",_),window.addEventListener("keypress",_)))}P();var I={element:o};return Object.defineProperties(I,{enabled:{get:function(){return v},set:function(R){R?P():v&&(v=!1,o.removeEventListener("mousemove",A),o.removeEventListener("mousedown",L),o.removeEventListener("mouseup",b),o.removeEventListener("mouseleave",T),o.removeEventListener("mouseenter",T),o.removeEventListener("mouseout",T),o.removeEventListener("mouseover",T),o.removeEventListener("blur",C),o.removeEventListener("keyup",_),o.removeEventListener("keydown",_),o.removeEventListener("keypress",_),o!==window&&(window.removeEventListener("blur",C),window.removeEventListener("keyup",_),window.removeEventListener("keydown",_),window.removeEventListener("keypress",_)))},enumerable:!0},buttons:{get:function(){return c},enumerable:!0},x:{get:function(){return f},enumerable:!0},y:{get:function(){return p},enumerable:!0},mods:{get:function(){return w},enumerable:!0}}),I};var u=a(4110)},2565:function(h){var l={left:0,top:0};h.exports=function(a,u,o){u=u||a.currentTarget||a.srcElement,Array.isArray(o)||(o=[0,0]);var s,c=a.clientX||0,f=a.clientY||0,p=(s=u)===window||s===document||s===document.body?l:s.getBoundingClientRect();return o[0]=c-p.left,o[1]=f-p.top,o}},4110:function(h,l){function a(u){return u.target||u.srcElement||window}l.buttons=function(u){if(typeof u=="object"){if("buttons"in u)return u.buttons;if("which"in u){if((o=u.which)===2)return 4;if(o===3)return 2;if(o>0)return 1<=0)return 1< 0"),typeof s.vertex!="function"&&c("Must specify vertex creation function"),typeof s.cell!="function"&&c("Must specify cell creation function"),typeof s.phase!="function"&&c("Must specify phase function");for(var w=s.getters||[],v=new Array(p),S=0;S=0?v[S]=!0:v[S]=!1;return function(x,T,C,_,A,L){var b=[L,A].join(",");return(0,o[b])(x,T,C,u.mallocUint32,u.freeUint32)}(s.vertex,s.cell,s.phase,0,f,v)};var o={"false,0,1":function(s,c,f,p,w){return function(v,S,x,T){var C,_=0|v.shape[0],A=0|v.shape[1],L=v.data,b=0|v.offset,P=0|v.stride[0],I=0|v.stride[1],R=b,D=0|-P,F=0,B=0|-I,N=0,W=-P-I|0,j=0,Y=0|P,U=I-P*_|0,G=0,q=0,H=0,ne=2*_|0,te=p(ne),Z=p(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-_,ce=0|_,ye=0,de=-_-1|0,me=_-1|0,pe=0,xe=0,Oe=0;for(G=0;G<_;++G)te[X++]=f(L[R],S,x,T),R+=Y;if(R+=U,A>0){if(q=1,te[X++]=f(L[R],S,x,T),R+=Y,_>0)for(G=1,C=L[R],Q=te[X]=f(C,S,x,T),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[R+D],N=L[R+B],j=L[R+W],s(G,q,C,F,N,j,Q,oe,ye,pe,S,x,T),xe=Z[X]=H++),X+=1,R+=Y,G=2;G<_;++G)C=L[R],Q=te[X]=f(C,S,x,T),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[R+D],N=L[R+B],j=L[R+W],s(G,q,C,F,N,j,Q,oe,ye,pe,S,x,T),xe=Z[X]=H++,pe!==oe&&c(Z[X+re],xe,j,F,pe,oe,S,x,T)),X+=1,R+=Y;for(R+=U,X=0,Oe=re,re=ie,ie=Oe,Oe=ue,ue=ce,ce=Oe,Oe=de,de=me,me=Oe,q=2;q0)for(G=1,C=L[R],Q=te[X]=f(C,S,x,T),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[R+D],N=L[R+B],j=L[R+W],s(G,q,C,F,N,j,Q,oe,ye,pe,S,x,T),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,N,j,ye,pe,S,x,T)),X+=1,R+=Y,G=2;G<_;++G)C=L[R],Q=te[X]=f(C,S,x,T),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[R+D],N=L[R+B],j=L[R+W],s(G,q,C,F,N,j,Q,oe,ye,pe,S,x,T),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,N,j,ye,pe,S,x,T),pe!==oe&&c(Z[X+re],xe,j,F,pe,oe,S,x,T)),X+=1,R+=Y;1&q&&(X=0),Oe=re,re=ie,ie=Oe,Oe=ue,ue=ce,ce=Oe,Oe=de,de=me,me=Oe,R+=U}}w(Z),w(te)}},"false,1,0":function(s,c,f,p,w){return function(v,S,x,T){var C,_=0|v.shape[0],A=0|v.shape[1],L=v.data,b=0|v.offset,P=0|v.stride[0],I=0|v.stride[1],R=b,D=0|-P,F=0,B=0|-I,N=0,W=-P-I|0,j=0,Y=0|I,U=P-I*A|0,G=0,q=0,H=0,ne=2*A|0,te=p(ne),Z=p(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-A,ce=0|A,ye=0,de=-A-1|0,me=A-1|0,pe=0,xe=0,Oe=0;for(q=0;q0){if(G=1,te[X++]=f(L[R],S,x,T),R+=Y,A>0)for(q=1,C=L[R],Q=te[X]=f(C,S,x,T),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[R+D],N=L[R+B],j=L[R+W],s(G,q,C,F,N,j,Q,ye,oe,pe,S,x,T),xe=Z[X]=H++),X+=1,R+=Y,q=2;q0)for(q=1,C=L[R],Q=te[X]=f(C,S,x,T),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[R+D],N=L[R+B],j=L[R+W],s(G,q,C,F,N,j,Q,ye,oe,pe,S,x,T),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,j,F,pe,ye,S,x,T)),X+=1,R+=Y,q=2;q2&&R[1]>2&&b(I.pick(-1,-1).lo(1,1).hi(R[0]-2,R[1]-2),P.pick(-1,-1,0).lo(1,1).hi(R[0]-2,R[1]-2),P.pick(-1,-1,1).lo(1,1).hi(R[0]-2,R[1]-2)),R[1]>2&&(L(I.pick(0,-1).lo(1).hi(R[1]-2),P.pick(0,-1,1).lo(1).hi(R[1]-2)),A(P.pick(0,-1,0).lo(1).hi(R[1]-2))),R[1]>2&&(L(I.pick(R[0]-1,-1).lo(1).hi(R[1]-2),P.pick(R[0]-1,-1,1).lo(1).hi(R[1]-2)),A(P.pick(R[0]-1,-1,0).lo(1).hi(R[1]-2))),R[0]>2&&(L(I.pick(-1,0).lo(1).hi(R[0]-2),P.pick(-1,0,0).lo(1).hi(R[0]-2)),A(P.pick(-1,0,1).lo(1).hi(R[0]-2))),R[0]>2&&(L(I.pick(-1,R[1]-1).lo(1).hi(R[0]-2),P.pick(-1,R[1]-1,0).lo(1).hi(R[0]-2)),A(P.pick(-1,R[1]-1,1).lo(1).hi(R[0]-2))),P.set(0,0,0,0),P.set(0,0,1,0),P.set(R[0]-1,0,0,0),P.set(R[0]-1,0,1,0),P.set(0,R[1]-1,0,0),P.set(0,R[1]-1,1,0),P.set(R[0]-1,R[1]-1,0,0),P.set(R[0]-1,R[1]-1,1,0),P}}h.exports=function(_,A,L){return Array.isArray(L)||(L=u(A.dimension,typeof L=="string"?L:"clamp")),A.size===0?_:A.dimension===0?(_.set(0),_):function(b){var P=b.join();if(F=v[P])return F;for(var I=b.length,R=[S,x],D=1;D<=I;++D)R.push(T(D));var F=C.apply(void 0,R);return v[P]=F,F}(L)(_,A)}},3581:function(h){function l(s,c){var f=Math.floor(c),p=c-f,w=0<=f&&f0;){W<64?(_=W,W=0):(_=64,W-=64);for(var j=0|f[1];j>0;){j<64?(A=j,j=0):(A=64,j-=64),v=B+W*b+j*P,T=N+W*R+j*D;var Y=0,U=0,G=0,q=I,H=b-L*I,ne=P-_*b,te=F,Z=R-L*F,X=D-_*R;for(G=0;G0;){D<64?(_=D,D=0):(_=64,D-=64);for(var F=0|f[0];F>0;){F<64?(C=F,F=0):(C=64,F-=64),v=I+D*L+F*A,T=R+D*P+F*b;var B=0,N=0,W=L,j=A-_*L,Y=P,U=b-_*P;for(N=0;N0;){N<64?(A=N,N=0):(A=64,N-=64);for(var W=0|f[0];W>0;){W<64?(C=W,W=0):(C=64,W-=64);for(var j=0|f[1];j>0;){j<64?(_=j,j=0):(_=64,j-=64),v=F+N*P+W*L+j*b,T=B+N*D+W*I+j*R;var Y=0,U=0,G=0,q=P,H=L-A*P,ne=b-C*L,te=D,Z=I-A*D,X=R-C*I;for(G=0;G<_;++G){for(U=0;Uv;){N=0,W=F-C;t:for(B=0;BY)break t;W+=P,N+=I}for(N=F,W=F-C,B=0;B>1,Ce=Se-Oe,ae=Se+Oe,he=_e,be=Ce,ke=Se,Le=ae,Be=Me,ze=x+1,je=T-1,ge=!0,we=0,Ee=0,Ve=0,Ye=P,$e=w(Ye),st=w(Ye);ne=A*he,te=A*be,xe=_;e:for(H=0;H0){B=he,he=be,be=B;break e}if(Ve<0)break e;xe+=R}ne=A*Le,te=A*Be,xe=_;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=R}ne=A*he,te=A*ke,xe=_;e:for(H=0;H0){B=he,he=ke,ke=B;break e}if(Ve<0)break e;xe+=R}ne=A*be,te=A*ke,xe=_;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=R}ne=A*he,te=A*Le,xe=_;e:for(H=0;H0){B=he,he=Le,Le=B;break e}if(Ve<0)break e;xe+=R}ne=A*ke,te=A*Le,xe=_;e:for(H=0;H0){B=ke,ke=Le,Le=B;break e}if(Ve<0)break e;xe+=R}ne=A*be,te=A*Be,xe=_;e:for(H=0;H0){B=be,be=Be,Be=B;break e}if(Ve<0)break e;xe+=R}ne=A*be,te=A*ke,xe=_;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=R}ne=A*Le,te=A*Be,xe=_;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=R}for(ne=A*he,te=A*be,Z=A*ke,X=A*Le,Q=A*Be,re=A*_e,ie=A*Se,oe=A*Me,pe=0,xe=_,H=0;H0)){if(Ve<0){for(ne=A*Y,te=A*ze,Z=A*je,xe=_,H=0;H0)for(;;){for(U=_+je*A,pe=0,H=0;H0)){for(U=_+je*A,pe=0,H=0;HMe){e:for(;;){for(U=_+ze*A,pe=0,xe=_,H=0;H1&&L?P(A,L[0],L[1]):P(A)}(p,w,x);return S(x,T)}},8729:function(h,l,a){var u=a(8139),o={};h.exports=function(s){var c=s.order,f=s.dtype,p=[c,f].join(":"),w=o[p];return w||(o[p]=w=u(c,f)),w(s),s}},5050:function(h,l,a){var u=a(4780),o=typeof Float64Array<"u";function s(v,S){return v[0]-S[0]}function c(){var v,S=this.stride,x=new Array(S.length);for(v=0;v=0&&(A+=P*(L=0|_),b-=L),new T(this.data,b,P,A)},C.step=function(_){var A=this.shape[0],L=this.stride[0],b=this.offset,P=0,I=Math.ceil;return typeof _=="number"&&((P=0|_)<0?(b+=L*(A-1),A=I(-A/P)):A=I(A/P),L*=P),new T(this.data,A,L,b)},C.transpose=function(_){_=_===void 0?0:0|_;var A=this.shape,L=this.stride;return new T(this.data,A[_],L[_],this.offset)},C.pick=function(_){var A=[],L=[],b=this.offset;return typeof _=="number"&&_>=0?b=b+this.stride[0]*_|0:(A.push(this.shape[0]),L.push(this.stride[0])),(0,S[A.length+1])(this.data,A,L,b)},function(_,A,L,b){return new T(_,A[0],L[0],b)}},2:function(v,S,x){function T(_,A,L,b,P,I){this.data=_,this.shape=[A,L],this.stride=[b,P],this.offset=0|I}var C=T.prototype;return C.dtype=v,C.dimension=2,Object.defineProperty(C,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(C,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),C.set=function(_,A,L){return v==="generic"?this.data.set(this.offset+this.stride[0]*_+this.stride[1]*A,L):this.data[this.offset+this.stride[0]*_+this.stride[1]*A]=L},C.get=function(_,A){return v==="generic"?this.data.get(this.offset+this.stride[0]*_+this.stride[1]*A):this.data[this.offset+this.stride[0]*_+this.stride[1]*A]},C.index=function(_,A){return this.offset+this.stride[0]*_+this.stride[1]*A},C.hi=function(_,A){return new T(this.data,typeof _!="number"||_<0?this.shape[0]:0|_,typeof A!="number"||A<0?this.shape[1]:0|A,this.stride[0],this.stride[1],this.offset)},C.lo=function(_,A){var L=this.offset,b=0,P=this.shape[0],I=this.shape[1],R=this.stride[0],D=this.stride[1];return typeof _=="number"&&_>=0&&(L+=R*(b=0|_),P-=b),typeof A=="number"&&A>=0&&(L+=D*(b=0|A),I-=b),new T(this.data,P,I,R,D,L)},C.step=function(_,A){var L=this.shape[0],b=this.shape[1],P=this.stride[0],I=this.stride[1],R=this.offset,D=0,F=Math.ceil;return typeof _=="number"&&((D=0|_)<0?(R+=P*(L-1),L=F(-L/D)):L=F(L/D),P*=D),typeof A=="number"&&((D=0|A)<0?(R+=I*(b-1),b=F(-b/D)):b=F(b/D),I*=D),new T(this.data,L,b,P,I,R)},C.transpose=function(_,A){_=_===void 0?0:0|_,A=A===void 0?1:0|A;var L=this.shape,b=this.stride;return new T(this.data,L[_],L[A],b[_],b[A],this.offset)},C.pick=function(_,A){var L=[],b=[],P=this.offset;return typeof _=="number"&&_>=0?P=P+this.stride[0]*_|0:(L.push(this.shape[0]),b.push(this.stride[0])),typeof A=="number"&&A>=0?P=P+this.stride[1]*A|0:(L.push(this.shape[1]),b.push(this.stride[1])),(0,S[L.length+1])(this.data,L,b,P)},function(_,A,L,b){return new T(_,A[0],A[1],L[0],L[1],b)}},3:function(v,S,x){function T(_,A,L,b,P,I,R,D){this.data=_,this.shape=[A,L,b],this.stride=[P,I,R],this.offset=0|D}var C=T.prototype;return C.dtype=v,C.dimension=3,Object.defineProperty(C,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(C,"order",{get:function(){var _=Math.abs(this.stride[0]),A=Math.abs(this.stride[1]),L=Math.abs(this.stride[2]);return _>A?A>L?[2,1,0]:_>L?[1,2,0]:[1,0,2]:_>L?[2,0,1]:L>A?[0,1,2]:[0,2,1]}}),C.set=function(_,A,L,b){return v==="generic"?this.data.set(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L,b):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L]=b},C.get=function(_,A,L){return v==="generic"?this.data.get(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L]},C.index=function(_,A,L){return this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L},C.hi=function(_,A,L){return new T(this.data,typeof _!="number"||_<0?this.shape[0]:0|_,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,this.stride[0],this.stride[1],this.stride[2],this.offset)},C.lo=function(_,A,L){var b=this.offset,P=0,I=this.shape[0],R=this.shape[1],D=this.shape[2],F=this.stride[0],B=this.stride[1],N=this.stride[2];return typeof _=="number"&&_>=0&&(b+=F*(P=0|_),I-=P),typeof A=="number"&&A>=0&&(b+=B*(P=0|A),R-=P),typeof L=="number"&&L>=0&&(b+=N*(P=0|L),D-=P),new T(this.data,I,R,D,F,B,N,b)},C.step=function(_,A,L){var b=this.shape[0],P=this.shape[1],I=this.shape[2],R=this.stride[0],D=this.stride[1],F=this.stride[2],B=this.offset,N=0,W=Math.ceil;return typeof _=="number"&&((N=0|_)<0?(B+=R*(b-1),b=W(-b/N)):b=W(b/N),R*=N),typeof A=="number"&&((N=0|A)<0?(B+=D*(P-1),P=W(-P/N)):P=W(P/N),D*=N),typeof L=="number"&&((N=0|L)<0?(B+=F*(I-1),I=W(-I/N)):I=W(I/N),F*=N),new T(this.data,b,P,I,R,D,F,B)},C.transpose=function(_,A,L){_=_===void 0?0:0|_,A=A===void 0?1:0|A,L=L===void 0?2:0|L;var b=this.shape,P=this.stride;return new T(this.data,b[_],b[A],b[L],P[_],P[A],P[L],this.offset)},C.pick=function(_,A,L){var b=[],P=[],I=this.offset;return typeof _=="number"&&_>=0?I=I+this.stride[0]*_|0:(b.push(this.shape[0]),P.push(this.stride[0])),typeof A=="number"&&A>=0?I=I+this.stride[1]*A|0:(b.push(this.shape[1]),P.push(this.stride[1])),typeof L=="number"&&L>=0?I=I+this.stride[2]*L|0:(b.push(this.shape[2]),P.push(this.stride[2])),(0,S[b.length+1])(this.data,b,P,I)},function(_,A,L,b){return new T(_,A[0],A[1],A[2],L[0],L[1],L[2],b)}},4:function(v,S,x){function T(_,A,L,b,P,I,R,D,F,B){this.data=_,this.shape=[A,L,b,P],this.stride=[I,R,D,F],this.offset=0|B}var C=T.prototype;return C.dtype=v,C.dimension=4,Object.defineProperty(C,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(C,"order",{get:x}),C.set=function(_,A,L,b,P){return v==="generic"?this.data.set(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b,P):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]=P},C.get=function(_,A,L,b){return v==="generic"?this.data.get(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]},C.index=function(_,A,L,b){return this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b},C.hi=function(_,A,L,b){return new T(this.data,typeof _!="number"||_<0?this.shape[0]:0|_,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},C.lo=function(_,A,L,b){var P=this.offset,I=0,R=this.shape[0],D=this.shape[1],F=this.shape[2],B=this.shape[3],N=this.stride[0],W=this.stride[1],j=this.stride[2],Y=this.stride[3];return typeof _=="number"&&_>=0&&(P+=N*(I=0|_),R-=I),typeof A=="number"&&A>=0&&(P+=W*(I=0|A),D-=I),typeof L=="number"&&L>=0&&(P+=j*(I=0|L),F-=I),typeof b=="number"&&b>=0&&(P+=Y*(I=0|b),B-=I),new T(this.data,R,D,F,B,N,W,j,Y,P)},C.step=function(_,A,L,b){var P=this.shape[0],I=this.shape[1],R=this.shape[2],D=this.shape[3],F=this.stride[0],B=this.stride[1],N=this.stride[2],W=this.stride[3],j=this.offset,Y=0,U=Math.ceil;return typeof _=="number"&&((Y=0|_)<0?(j+=F*(P-1),P=U(-P/Y)):P=U(P/Y),F*=Y),typeof A=="number"&&((Y=0|A)<0?(j+=B*(I-1),I=U(-I/Y)):I=U(I/Y),B*=Y),typeof L=="number"&&((Y=0|L)<0?(j+=N*(R-1),R=U(-R/Y)):R=U(R/Y),N*=Y),typeof b=="number"&&((Y=0|b)<0?(j+=W*(D-1),D=U(-D/Y)):D=U(D/Y),W*=Y),new T(this.data,P,I,R,D,F,B,N,W,j)},C.transpose=function(_,A,L,b){_=_===void 0?0:0|_,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b;var P=this.shape,I=this.stride;return new T(this.data,P[_],P[A],P[L],P[b],I[_],I[A],I[L],I[b],this.offset)},C.pick=function(_,A,L,b){var P=[],I=[],R=this.offset;return typeof _=="number"&&_>=0?R=R+this.stride[0]*_|0:(P.push(this.shape[0]),I.push(this.stride[0])),typeof A=="number"&&A>=0?R=R+this.stride[1]*A|0:(P.push(this.shape[1]),I.push(this.stride[1])),typeof L=="number"&&L>=0?R=R+this.stride[2]*L|0:(P.push(this.shape[2]),I.push(this.stride[2])),typeof b=="number"&&b>=0?R=R+this.stride[3]*b|0:(P.push(this.shape[3]),I.push(this.stride[3])),(0,S[P.length+1])(this.data,P,I,R)},function(_,A,L,b){return new T(_,A[0],A[1],A[2],A[3],L[0],L[1],L[2],L[3],b)}},5:function(v,S,x){function T(_,A,L,b,P,I,R,D,F,B,N,W){this.data=_,this.shape=[A,L,b,P,I],this.stride=[R,D,F,B,N],this.offset=0|W}var C=T.prototype;return C.dtype=v,C.dimension=5,Object.defineProperty(C,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(C,"order",{get:x}),C.set=function(_,A,L,b,P,I){return v==="generic"?this.data.set(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*P,I):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*P]=I},C.get=function(_,A,L,b,P){return v==="generic"?this.data.get(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*P):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*P]},C.index=function(_,A,L,b,P){return this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*P},C.hi=function(_,A,L,b,P){return new T(this.data,typeof _!="number"||_<0?this.shape[0]:0|_,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,typeof P!="number"||P<0?this.shape[4]:0|P,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},C.lo=function(_,A,L,b,P){var I=this.offset,R=0,D=this.shape[0],F=this.shape[1],B=this.shape[2],N=this.shape[3],W=this.shape[4],j=this.stride[0],Y=this.stride[1],U=this.stride[2],G=this.stride[3],q=this.stride[4];return typeof _=="number"&&_>=0&&(I+=j*(R=0|_),D-=R),typeof A=="number"&&A>=0&&(I+=Y*(R=0|A),F-=R),typeof L=="number"&&L>=0&&(I+=U*(R=0|L),B-=R),typeof b=="number"&&b>=0&&(I+=G*(R=0|b),N-=R),typeof P=="number"&&P>=0&&(I+=q*(R=0|P),W-=R),new T(this.data,D,F,B,N,W,j,Y,U,G,q,I)},C.step=function(_,A,L,b,P){var I=this.shape[0],R=this.shape[1],D=this.shape[2],F=this.shape[3],B=this.shape[4],N=this.stride[0],W=this.stride[1],j=this.stride[2],Y=this.stride[3],U=this.stride[4],G=this.offset,q=0,H=Math.ceil;return typeof _=="number"&&((q=0|_)<0?(G+=N*(I-1),I=H(-I/q)):I=H(I/q),N*=q),typeof A=="number"&&((q=0|A)<0?(G+=W*(R-1),R=H(-R/q)):R=H(R/q),W*=q),typeof L=="number"&&((q=0|L)<0?(G+=j*(D-1),D=H(-D/q)):D=H(D/q),j*=q),typeof b=="number"&&((q=0|b)<0?(G+=Y*(F-1),F=H(-F/q)):F=H(F/q),Y*=q),typeof P=="number"&&((q=0|P)<0?(G+=U*(B-1),B=H(-B/q)):B=H(B/q),U*=q),new T(this.data,I,R,D,F,B,N,W,j,Y,U,G)},C.transpose=function(_,A,L,b,P){_=_===void 0?0:0|_,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b,P=P===void 0?4:0|P;var I=this.shape,R=this.stride;return new T(this.data,I[_],I[A],I[L],I[b],I[P],R[_],R[A],R[L],R[b],R[P],this.offset)},C.pick=function(_,A,L,b,P){var I=[],R=[],D=this.offset;return typeof _=="number"&&_>=0?D=D+this.stride[0]*_|0:(I.push(this.shape[0]),R.push(this.stride[0])),typeof A=="number"&&A>=0?D=D+this.stride[1]*A|0:(I.push(this.shape[1]),R.push(this.stride[1])),typeof L=="number"&&L>=0?D=D+this.stride[2]*L|0:(I.push(this.shape[2]),R.push(this.stride[2])),typeof b=="number"&&b>=0?D=D+this.stride[3]*b|0:(I.push(this.shape[3]),R.push(this.stride[3])),typeof P=="number"&&P>=0?D=D+this.stride[4]*P|0:(I.push(this.shape[4]),R.push(this.stride[4])),(0,S[I.length+1])(this.data,I,R,D)},function(_,A,L,b){return new T(_,A[0],A[1],A[2],A[3],A[4],L[0],L[1],L[2],L[3],L[4],b)}}};function p(v,S){var x=S===-1?"T":String(S),T=f[x];return S===-1?T(v):S===0?T(v,w[v][0]):T(v,w[v],c)}var w={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};h.exports=function(v,S,x,T){if(v===void 0)return(0,w.array[0])([]);typeof v=="number"&&(v=[v]),S===void 0&&(S=[v.length]);var C=S.length;if(x===void 0){x=new Array(C);for(var _=C-1,A=1;_>=0;--_)x[_]=A,A*=S[_]}if(T===void 0)for(T=0,_=0;_>>0;h.exports=function(c,f){if(isNaN(c)||isNaN(f))return NaN;if(c===f)return c;if(c===0)return f<0?-o:o;var p=u.hi(c),w=u.lo(c);return f>c==c>0?w===s?(p+=1,w=0):w+=1:w===0?(w=s,p-=1):w-=1,u.pack(w,p)}},115:function(h,l){l.vertexNormals=function(a,u,o){for(var s=u.length,c=new Array(s),f=o===void 0?1e-6:o,p=0;pf){var D=c[S],F=1/Math.sqrt(b*I);for(R=0;R<3;++R){var B=(R+1)%3,N=(R+2)%3;D[R]+=F*(P[B]*L[N]-P[N]*L[B])}}}for(p=0;pf)for(F=1/Math.sqrt(W),R=0;R<3;++R)D[R]*=F;else for(R=0;R<3;++R)D[R]=0}return c},l.faceNormals=function(a,u,o){for(var s=a.length,c=new Array(s),f=o===void 0?1e-6:o,p=0;pf?1/Math.sqrt(_):0,S=0;S<3;++S)C[S]*=_;c[p]=C}return c}},567:function(h){h.exports=function(l,a,u,o,s,c,f,p,w,v){var S=a+c+v;if(x>0){var x=Math.sqrt(S+1);l[0]=.5*(f-w)/x,l[1]=.5*(p-o)/x,l[2]=.5*(u-c)/x,l[3]=.5*x}else{var T=Math.max(a,c,v);x=Math.sqrt(2*T-S+1),a>=T?(l[0]=.5*x,l[1]=.5*(s+u)/x,l[2]=.5*(p+o)/x,l[3]=.5*(f-w)/x):c>=T?(l[0]=.5*(u+s)/x,l[1]=.5*x,l[2]=.5*(w+f)/x,l[3]=.5*(p-o)/x):(l[0]=.5*(o+p)/x,l[1]=.5*(f+w)/x,l[2]=.5*x,l[3]=.5*(u-s)/x)}return l}},7774:function(h,l,a){h.exports=function(T){var C=(T=T||{}).center||[0,0,0],_=T.rotation||[0,0,0,1],A=T.radius||1;C=[].slice.call(C,0,3),v(_=[].slice.call(_,0,4),_);var L=new S(_,C,Math.log(A));return L.setDistanceLimits(T.zoomMin,T.zoomMax),("eye"in T||"up"in T)&&L.lookAt(0,T.eye,T.center,T.up),L};var u=a(8444),o=a(3012),s=a(5950),c=a(7437),f=a(567);function p(T,C,_){return Math.sqrt(Math.pow(T,2)+Math.pow(C,2)+Math.pow(_,2))}function w(T,C,_,A){return Math.sqrt(Math.pow(T,2)+Math.pow(C,2)+Math.pow(_,2)+Math.pow(A,2))}function v(T,C){var _=C[0],A=C[1],L=C[2],b=C[3],P=w(_,A,L,b);P>1e-6?(T[0]=_/P,T[1]=A/P,T[2]=L/P,T[3]=b/P):(T[0]=T[1]=T[2]=0,T[3]=1)}function S(T,C,_){this.radius=u([_]),this.center=u(C),this.rotation=u(T),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var x=S.prototype;x.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},x.recalcMatrix=function(T){this.radius.curve(T),this.center.curve(T),this.rotation.curve(T);var C=this.computedRotation;v(C,C);var _=this.computedMatrix;s(_,C);var A=this.computedCenter,L=this.computedEye,b=this.computedUp,P=Math.exp(this.computedRadius[0]);L[0]=A[0]+P*_[2],L[1]=A[1]+P*_[6],L[2]=A[2]+P*_[10],b[0]=_[1],b[1]=_[5],b[2]=_[9];for(var I=0;I<3;++I){for(var R=0,D=0;D<3;++D)R+=_[I+4*D]*L[D];_[12+I]=-R}},x.getMatrix=function(T,C){this.recalcMatrix(T);var _=this.computedMatrix;if(C){for(var A=0;A<16;++A)C[A]=_[A];return C}return _},x.idle=function(T){this.center.idle(T),this.radius.idle(T),this.rotation.idle(T)},x.flush=function(T){this.center.flush(T),this.radius.flush(T),this.rotation.flush(T)},x.pan=function(T,C,_,A){C=C||0,_=_||0,A=A||0,this.recalcMatrix(T);var L=this.computedMatrix,b=L[1],P=L[5],I=L[9],R=p(b,P,I);b/=R,P/=R,I/=R;var D=L[0],F=L[4],B=L[8],N=D*b+F*P+B*I,W=p(D-=b*N,F-=P*N,B-=I*N);D/=W,F/=W,B/=W,L[2],L[6],L[10];var j=D*C+b*_,Y=F*C+P*_,U=B*C+I*_;this.center.move(T,j,Y,U);var G=Math.exp(this.computedRadius[0]);G=Math.max(1e-4,G+A),this.radius.set(T,Math.log(G))},x.rotate=function(T,C,_,A){this.recalcMatrix(T),C=C||0,_=_||0;var L=this.computedMatrix,b=L[0],P=L[4],I=L[8],R=L[1],D=L[5],F=L[9],B=L[2],N=L[6],W=L[10],j=C*b+_*R,Y=C*P+_*D,U=C*I+_*F,G=-(N*U-W*Y),q=-(W*j-B*U),H=-(B*Y-N*j),ne=Math.sqrt(Math.max(0,1-Math.pow(G,2)-Math.pow(q,2)-Math.pow(H,2))),te=w(G,q,H,ne);te>1e-6?(G/=te,q/=te,H/=te,ne/=te):(G=q=H=0,ne=1);var Z=this.computedRotation,X=Z[0],Q=Z[1],re=Z[2],ie=Z[3],oe=X*ne+ie*G+Q*H-re*q,ue=Q*ne+ie*q+re*G-X*H,ce=re*ne+ie*H+X*q-Q*G,ye=ie*ne-X*G-Q*q-re*H;if(A){G=B,q=N,H=W;var de=Math.sin(A)/p(G,q,H);G*=de,q*=de,H*=de,ye=ye*(ne=Math.cos(C))-(oe=oe*ne+ye*G+ue*H-ce*q)*G-(ue=ue*ne+ye*q+ce*G-oe*H)*q-(ce=ce*ne+ye*H+oe*q-ue*G)*H}var me=w(oe,ue,ce,ye);me>1e-6?(oe/=me,ue/=me,ce/=me,ye/=me):(oe=ue=ce=0,ye=1),this.rotation.set(T,oe,ue,ce,ye)},x.lookAt=function(T,C,_,A){this.recalcMatrix(T),_=_||this.computedCenter,C=C||this.computedEye,A=A||this.computedUp;var L=this.computedMatrix;o(L,C,_,A);var b=this.computedRotation;f(b,L[0],L[1],L[2],L[4],L[5],L[6],L[8],L[9],L[10]),v(b,b),this.rotation.set(T,b[0],b[1],b[2],b[3]);for(var P=0,I=0;I<3;++I)P+=Math.pow(_[I]-C[I],2);this.radius.set(T,.5*Math.log(Math.max(P,1e-6))),this.center.set(T,_[0],_[1],_[2])},x.translate=function(T,C,_,A){this.center.move(T,C||0,_||0,A||0)},x.setMatrix=function(T,C){var _=this.computedRotation;f(_,C[0],C[1],C[2],C[4],C[5],C[6],C[8],C[9],C[10]),v(_,_),this.rotation.set(T,_[0],_[1],_[2],_[3]);var A=this.computedMatrix;c(A,C);var L=A[15];if(Math.abs(L)>1e-6){var b=A[12]/L,P=A[13]/L,I=A[14]/L;this.recalcMatrix(T);var R=Math.exp(this.computedRadius[0]);this.center.set(T,b-A[2]*R,P-A[6]*R,I-A[10]*R),this.radius.idle(T)}else this.center.idle(T),this.radius.idle(T)},x.setDistance=function(T,C){C>0&&this.radius.set(T,Math.log(C))},x.setDistanceLimits=function(T,C){T=T>0?Math.log(T):-1/0,C=C>0?Math.log(C):1/0,C=Math.max(C,T),this.radius.bounds[0][0]=T,this.radius.bounds[1][0]=C},x.getDistanceLimits=function(T){var C=this.radius.bounds;return T?(T[0]=Math.exp(C[0][0]),T[1]=Math.exp(C[1][0]),T):[Math.exp(C[0][0]),Math.exp(C[1][0])]},x.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},x.fromJSON=function(T){var C=this.lastT(),_=T.center;_&&this.center.set(C,_[0],_[1],_[2]);var A=T.rotation;A&&this.rotation.set(C,A[0],A[1],A[2],A[3]);var L=T.distance;L&&L>0&&this.radius.set(C,Math.log(L)),this.setDistanceLimits(T.zoomMin,T.zoomMax)}},4930:function(h,l,a){var u=a(6184);h.exports=function(o,s,c){return u(c=c!==void 0?c+"":" ",s)+o}},4405:function(h){h.exports=function(l,a){a||(a=[0,""]),l=String(l);var u=parseFloat(l,10);return a[0]=u,a[1]=l.match(/[\d.\-\+]*\s*(.*)/)[1]||"",a}},4166:function(h,l,a){h.exports=function(o,s){for(var c=0|s.length,f=o.length,p=[new Array(c),new Array(c)],w=0;w0){D=p[N][I][0],B=N;break}F=D[1^B];for(var W=0;W<2;++W)for(var j=p[W][I],Y=0;Y0&&(D=U,F=G,B=W)}return R||D&&x(D,B),F}function C(P,I){var R=p[I][P][0],D=[P];x(R,I);for(var F=R[1^I];;){for(;F!==P;)D.push(F),F=T(D[D.length-2],F,!1);if(p[0][P].length+p[1][P].length===0)break;var B=D[D.length-1],N=P,W=D[1],j=T(B,N,!0);if(u(s[B],s[N],s[W],s[j])<0)break;D.push(P),F=T(B,N)}return D}function _(P,I){return I[1]===I[I.length-1]}for(w=0;w0;){p[0][w].length;var b=C(w,A);_(0,b)?L.push.apply(L,b):(L.length>0&&S.push(L),L=b)}L.length>0&&S.push(L)}return S};var u=a(9398)},3959:function(h,l,a){h.exports=function(o,s){for(var c=u(o,s.length),f=new Array(s.length),p=new Array(s.length),w=[],v=0;v0;){var x=w.pop();f[x]=!1;var T=c[x];for(v=0;v0})).length,P=new Array(b),I=new Array(b);for(A=0;A0;){var ue=ie.pop(),ce=q[ue];p(ce,function(Oe,_e){return Oe-_e});var ye,de=ce.length,me=oe[ue];if(me===0){var pe=L[ue];ye=[pe]}for(A=0;A=0||(oe[xe]=1^me,ie.push(xe),me===0&&(re(pe=L[xe])||(pe.reverse(),ye.push(pe))))}me===0&&T.push(ye)}return T};var u=a(8348),o=a(4166),s=a(211),c=a(9660),f=a(9662),p=a(1215),w=a(3959);function v(S,x){for(var T=new Array(S),C=0;C0&&N[j]===W[0]))return 1;Y=B[j-1]}for(var U=1;Y;){var G=Y.key,q=u(W,G[0],G[1]);if(G[0][0]0))return 0;U=-1,Y=Y.right}else if(q>0)Y=Y.left;else{if(!(q<0))return 0;U=1,Y=Y.right}}return U}}(D.slabs,D.coordinates);return T.length===0?F:function(B,N){return function(W){return B(W[0],W[1])?0:N(W)}}(p(T),F)};var u=a(417)[3],o=a(4385),s=a(9014),c=a(5070);function f(){return!0}function p(v){for(var S={},x=0;x=v?(N=1,P=v+2*T+_):P=T*(N=-T/v)+_):(N=0,C>=0?(W=0,P=_):-C>=x?(W=1,P=x+2*C+_):P=C*(W=-C/x)+_);else if(W<0)W=0,T>=0?(N=0,P=_):-T>=v?(N=1,P=v+2*T+_):P=T*(N=-T/v)+_;else{var j=1/B;P=(N*=j)*(v*N+S*(W*=j)+2*T)+W*(S*N+x*W+2*C)+_}else N<0?(R=x+C)>(I=S+T)?(D=R-I)>=(F=v-2*S+x)?(N=1,W=0,P=v+2*T+_):P=(N=D/F)*(v*N+S*(W=1-N)+2*T)+W*(S*N+x*W+2*C)+_:(N=0,R<=0?(W=1,P=x+2*C+_):C>=0?(W=0,P=_):P=C*(W=-C/x)+_):W<0?(R=v+T)>(I=S+C)?(D=R-I)>=(F=v-2*S+x)?(W=1,N=0,P=x+2*C+_):P=(N=1-(W=D/F))*(v*N+S*W+2*T)+W*(S*N+x*W+2*C)+_:(W=0,R<=0?(N=1,P=v+2*T+_):T>=0?(N=0,P=_):P=T*(N=-T/v)+_):(D=x+C-S-T)<=0?(N=0,W=1,P=x+2*C+_):D>=(F=v-2*S+x)?(N=1,W=0,P=v+2*T+_):P=(N=D/F)*(v*N+S*(W=1-N)+2*T)+W*(S*N+x*W+2*C)+_;var Y=1-N-W;for(w=0;w0){var x=c[p-1];if(u(v,x)===0&&s(x)!==S){p-=1;continue}}c[p++]=v}}return c.length=p,c}},6184:function(h){var l,a="";h.exports=function(u,o){if(typeof u!="string")throw new TypeError("expected a string");if(o===1)return u;if(o===2)return u+u;var s=u.length*o;if(l!==u||l===void 0)l=u,a="";else if(a.length>=s)return a.substr(0,s);for(;s>a.length&&o>1;)1&o&&(a+=u),o>>=1,u+=u;return a=(a+=u).substr(0,s)}},8161:function(h,l,a){h.exports=a.g.performance&&a.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(h){h.exports=function(l){for(var a=l.length,u=l[l.length-1],o=a,s=a-2;s>=0;--s){var c=u,f=l[s];(w=f-((u=c+f)-c))&&(l[--o]=u,u=w)}var p=0;for(s=o;s0){if(R<=0)return D;P=I+R}else{if(!(I<0)||R>=0)return D;P=-(I+R)}var F=33306690738754716e-32*P;return D>=F||D<=-F?D:S(A,L,b)},function(A,L,b,P){var I=A[0]-P[0],R=L[0]-P[0],D=b[0]-P[0],F=A[1]-P[1],B=L[1]-P[1],N=b[1]-P[1],W=A[2]-P[2],j=L[2]-P[2],Y=b[2]-P[2],U=R*N,G=D*B,q=D*F,H=I*N,ne=I*B,te=R*F,Z=W*(U-G)+j*(q-H)+Y*(ne-te),X=7771561172376103e-31*((Math.abs(U)+Math.abs(G))*Math.abs(W)+(Math.abs(q)+Math.abs(H))*Math.abs(j)+(Math.abs(ne)+Math.abs(te))*Math.abs(Y));return Z>X||-Z>X?Z:x(A,L,b,P)}];function C(A){var L=T[A.length];return L||(L=T[A.length]=v(A.length)),L.apply(void 0,A)}function _(A,L,b,P,I,R,D){return function(F,B,N,W,j){switch(arguments.length){case 0:case 1:return 0;case 2:return P(F,B);case 3:return I(F,B,N);case 4:return R(F,B,N,W);case 5:return D(F,B,N,W,j)}for(var Y=new Array(arguments.length),U=0;U0&&w>0||p<0&&w<0)return!1;var v=u(c,o,s),S=u(f,o,s);return!(v>0&&S>0||v<0&&S<0)&&(p!==0||w!==0||v!==0||S!==0||function(x,T,C,_){for(var A=0;A<2;++A){var L=x[A],b=T[A],P=Math.min(L,b),I=Math.max(L,b),R=C[A],D=_[A],F=Math.min(R,D);if(Math.max(R,D)=o?(s=x,(w+=1)=o?(s=x,(w+=1)>1,x=o[2*S+1];if(x===p)return S;p>1,x=o[2*S+1];if(x===p)return S;p>1,x=o[2*S+1];if(x===p)return S;p0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=c=((o>>>=s)>255)<<3,s|=c=((o>>>=c)>15)<<2,(s|=c=((o>>>=c)>3)<<1)|(o>>>=c)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var c=s,f=s,p=7;for(c>>>=1;c;c>>>=1)f<<=1,f|=1&c,--p;o[s]=f<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,c){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(c=1227133513&((c=3272356035&((c=251719695&((c=4278190335&((c&=1023)|c<<16))|c<<8))|c<<4))|c<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},6656:function(h,l,a){var u=a(9392),o=a(9521);function s(x,T){var C=x.length,_=x.length-T.length,A=Math.min;if(_)return _;switch(C){case 0:return 0;case 1:return x[0]-T[0];case 2:return(P=x[0]+x[1]-T[0]-T[1])||A(x[0],x[1])-A(T[0],T[1]);case 3:var L=x[0]+x[1],b=T[0]+T[1];if(P=L+x[2]-(b+T[2]))return P;var P,I=A(x[0],x[1]),R=A(T[0],T[1]);return(P=A(I,x[2])-A(R,T[2]))||A(I+x[2],L)-A(R+T[2],b);default:var D=x.slice(0);D.sort();var F=T.slice(0);F.sort();for(var B=0;B>1,b=s(x[L],T);b<=0?(b===0&&(A=L),C=L+1):b>0&&(_=L-1)}return A}function v(x,T){for(var C=new Array(x.length),_=0,A=C.length;_=x.length||s(x[N],L)!==0););}return C}function S(x,T){if(T<0)return[];for(var C=[],_=(1<>>R&1&&I.push(A[R]);T.push(I)}return f(T)},l.skeleton=S,l.boundary=function(x){for(var T=[],C=0,_=x.length;C<_;++C)for(var A=x[C],L=0,b=A.length;L>1:(te>>1)-1}function D(te){for(var Z=I(te);;){var X=Z,Q=2*te+1,re=2*(te+1),ie=te;if(Q0;){var X=R(te);if(!(X>=0&&Z0){var te=j[0];return P(0,U-1),U-=1,D(0),te}return-1}function N(te,Z){var X=j[te];return x[X]===Z?te:(x[X]=-1/0,F(te),B(),x[X]=Z,F((U+=1)-1))}function W(te){if(!T[te]){T[te]=!0;var Z=v[te],X=S[te];v[X]>=0&&(v[X]=Z),S[Z]>=0&&(S[Z]=X),Y[Z]>=0&&N(Y[Z],b(Z)),Y[X]>=0&&N(Y[X],b(X))}}var j=[],Y=new Array(p);for(C=0;C>1;C>=0;--C)D(C);for(;;){var G=B();if(G<0||x[G]>f)break;W(G)}var q=[];for(C=0;C=0&&X>=0&&Z!==X){var Q=Y[Z],re=Y[X];Q!==re&&ne.push([Q,re])}}),o.unique(o.normalize(ne)),{positions:q,edges:ne}};var u=a(417),o=a(6656)},6638:function(h,l,a){h.exports=function(s,c){var f,p,w,v;if(c[0][0]c[1][0]))return o(c,s);f=c[1],p=c[0]}if(s[0][0]s[1][0]))return-o(s,c);w=s[1],v=s[0]}var S=u(f,p,v),x=u(f,p,w);if(S<0){if(x<=0)return S}else if(S>0){if(x>=0)return S}else if(x)return x;if(S=u(v,w,p),x=u(v,w,f),S<0){if(x<=0)return S}else if(S>0){if(x>=0)return S}else if(x)return x;return p[0]-v[0]};var u=a(417);function o(s,c){var f,p,w,v;if(c[0][0]c[1][0])){var S=Math.min(s[0][1],s[1][1]),x=Math.max(s[0][1],s[1][1]),T=Math.min(c[0][1],c[1][1]),C=Math.max(c[0][1],c[1][1]);return xC?S-C:x-C}f=c[1],p=c[0]}s[0][1]0)if(T[0]!==L[1][0])C=x,x=x.right;else{if(P=w(x.right,T))return P;x=x.left}else{if(T[0]!==L[1][0])return x;var P;if(P=w(x.right,T))return P;x=x.left}}return C}function v(x,T,C,_){this.y=x,this.index=T,this.start=C,this.closed=_}function S(x,T,C,_){this.x=x,this.segment=T,this.create=C,this.index=_}f.prototype.castUp=function(x){var T=u.le(this.coordinates,x[0]);if(T<0)return-1;this.slabs[T];var C=w(this.slabs[T],x),_=-1;if(C&&(_=C.value),this.coordinates[T]===x[0]){var A=null;if(C&&(A=C.key),T>0){var L=w(this.slabs[T-1],x);L&&(A?c(L.key,A)>0&&(A=L.key,_=L.value):(_=L.value,A=L.key))}var b=this.horizontal[T];if(b.length>0){var P=u.ge(b,x[1],p);if(P=b.length)return _;I=b[P]}}if(I.start)if(A){var R=s(A[0],A[1],[x[0],I.y]);A[0][0]>A[1][0]&&(R=-R),R>0&&(_=I.index)}else _=I.index;else I.y!==x[1]&&(_=I.index)}}}return _}},4670:function(h,l,a){var u=a(9130),o=a(9662);function s(f,p){var w=o(u(f,p),[p[p.length-1]]);return w[w.length-1]}function c(f,p,w,v){var S=-p/(v-p);S<0?S=0:S>1&&(S=1);for(var x=1-S,T=f.length,C=new Array(T),_=0;_0||S>0&&_<0){var A=c(x,_,T,S);w.push(A),v.push(A.slice())}_<0?v.push(T.slice()):_>0?w.push(T.slice()):(w.push(T.slice()),v.push(T.slice())),S=_}return{positive:w,negative:v}},h.exports.positive=function(f,p){for(var w=[],v=s(f[f.length-1],p),S=f[f.length-1],x=f[0],T=0;T0||v>0&&C<0)&&w.push(c(S,C,x,v)),C>=0&&w.push(x.slice()),v=C}return w},h.exports.negative=function(f,p){for(var w=[],v=s(f[f.length-1],p),S=f[f.length-1],x=f[0],T=0;T0||v>0&&C<0)&&w.push(c(S,C,x,v)),C<=0&&w.push(x.slice()),v=C}return w}},8974:function(h,l,a){var u;(function(){var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function s(v){return f(w(v),arguments)}function c(v,S){return s.apply(null,[v].concat(S||[]))}function f(v,S){var x,T,C,_,A,L,b,P,I,R=1,D=v.length,F="";for(T=0;T=0),_.type){case"b":x=parseInt(x,10).toString(2);break;case"c":x=String.fromCharCode(parseInt(x,10));break;case"d":case"i":x=parseInt(x,10);break;case"j":x=JSON.stringify(x,null,_.width?parseInt(_.width):0);break;case"e":x=_.precision?parseFloat(x).toExponential(_.precision):parseFloat(x).toExponential();break;case"f":x=_.precision?parseFloat(x).toFixed(_.precision):parseFloat(x);break;case"g":x=_.precision?String(Number(x.toPrecision(_.precision))):parseFloat(x);break;case"o":x=(parseInt(x,10)>>>0).toString(8);break;case"s":x=String(x),x=_.precision?x.substring(0,_.precision):x;break;case"t":x=String(!!x),x=_.precision?x.substring(0,_.precision):x;break;case"T":x=Object.prototype.toString.call(x).slice(8,-1).toLowerCase(),x=_.precision?x.substring(0,_.precision):x;break;case"u":x=parseInt(x,10)>>>0;break;case"v":x=x.valueOf(),x=_.precision?x.substring(0,_.precision):x;break;case"x":x=(parseInt(x,10)>>>0).toString(16);break;case"X":x=(parseInt(x,10)>>>0).toString(16).toUpperCase()}o.json.test(_.type)?F+=x:(!o.number.test(_.type)||P&&!_.sign?I="":(I=P?"+":"-",x=x.toString().replace(o.sign,"")),L=_.pad_char?_.pad_char==="0"?"0":_.pad_char.charAt(1):" ",b=_.width-(I+x).length,A=_.width&&b>0?L.repeat(b):"",F+=_.align?I+x+A:L==="0"?I+A+x:A+I+x)}return F}var p=Object.create(null);function w(v){if(p[v])return p[v];for(var S,x=v,T=[],C=0;x;){if((S=o.text.exec(x))!==null)T.push(S[0]);else if((S=o.modulo.exec(x))!==null)T.push("%");else{if((S=o.placeholder.exec(x))===null)throw new SyntaxError("[sprintf] unexpected placeholder");if(S[2]){C|=1;var _=[],A=S[2],L=[];if((L=o.key.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");for(_.push(L[1]);(A=A.substring(L[0].length))!=="";)if((L=o.key_access.exec(A))!==null)_.push(L[1]);else{if((L=o.index_access.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");_.push(L[1])}S[2]=_}else C|=2;if(C===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");T.push({placeholder:S[0],param_no:S[1],keys:S[2],sign:S[3],pad_char:S[4],align:S[5],width:S[6],precision:S[7],type:S[8]})}x=x.substring(S[0].length)}return p[v]=T}l.sprintf=s,l.vsprintf=c,typeof window<"u"&&(window.sprintf=s,window.vsprintf=c,(u=(function(){return{sprintf:s,vsprintf:c}}).call(l,a,l,h))===void 0||(h.exports=u))})()},4162:function(h,l,a){h.exports=function(f,p){if(f.dimension<=0)return{positions:[],cells:[]};if(f.dimension===1)return function(S,x){for(var T=o(S,x),C=T.length,_=new Array(C),A=new Array(C),L=0;LC|0},vertex:function(S,x,T,C,_,A,L,b,P,I,R,D,F){var B=(L<<0)+(b<<1)+(P<<2)+(I<<3)|0;if(B!==0&&B!==15)switch(B){case 0:case 15:R.push([S-.5,x-.5]);break;case 1:R.push([S-.25-.25*(C+T-2*F)/(T-C),x-.25-.25*(_+T-2*F)/(T-_)]);break;case 2:R.push([S-.75-.25*(-C-T+2*F)/(C-T),x-.25-.25*(A+C-2*F)/(C-A)]);break;case 3:R.push([S-.5,x-.5-.5*(_+T+A+C-4*F)/(T-_+C-A)]);break;case 4:R.push([S-.25-.25*(A+_-2*F)/(_-A),x-.75-.25*(-_-T+2*F)/(_-T)]);break;case 5:R.push([S-.5-.5*(C+T+A+_-4*F)/(T-C+_-A),x-.5]);break;case 6:R.push([S-.5-.25*(-C-T+A+_)/(C-T+_-A),x-.5-.25*(-_-T+A+C)/(_-T+C-A)]);break;case 7:R.push([S-.75-.25*(A+_-2*F)/(_-A),x-.75-.25*(A+C-2*F)/(C-A)]);break;case 8:R.push([S-.75-.25*(-A-_+2*F)/(A-_),x-.75-.25*(-A-C+2*F)/(A-C)]);break;case 9:R.push([S-.5-.25*(C+T+-A-_)/(T-C+A-_),x-.5-.25*(_+T+-A-C)/(T-_+A-C)]);break;case 10:R.push([S-.5-.5*(-C-T-A-_+4*F)/(C-T+A-_),x-.5]);break;case 11:R.push([S-.25-.25*(-A-_+2*F)/(A-_),x-.75-.25*(_+T-2*F)/(T-_)]);break;case 12:R.push([S-.5,x-.5-.5*(-_-T-A-C+4*F)/(_-T+A-C)]);break;case 13:R.push([S-.75-.25*(C+T-2*F)/(T-C),x-.25-.25*(-A-C+2*F)/(A-C)]);break;case 14:R.push([S-.25-.25*(-C-T+2*F)/(C-T),x-.25-.25*(-_-T+2*F)/(_-T)])}},cell:function(S,x,T,C,_,A,L,b,P){_?b.push([S,x]):b.push([x,S])}});return function(S,x){var T=[],C=[];return v(S,T,C,x),{positions:T,cells:C}}}},c={}},6946:function(h,l,a){h.exports=function c(f,p,w){w=w||{};var v=s[f];v||(v=s[f]={" ":{data:new Float32Array(0),shape:.2}});var S=v[p];if(!S)if(p.length<=1||!/\d/.test(p))S=v[p]=function(D){for(var F=D.cells,B=D.positions,N=new Float32Array(6*F.length),W=0,j=0,Y=0;Y0&&(_+=.02);var L=new Float32Array(C),b=0,P=-.5*_;for(A=0;AMath.max(L,b)?P[2]=1:L>Math.max(A,b)?P[0]=1:P[1]=1;for(var I=0,R=0,D=0;D<3;++D)I+=_[D]*_[D],R+=P[D]*_[D];for(D=0;D<3;++D)P[D]-=R/I*_[D];return f(P,P),P}function x(_,A,L,b,P,I,R,D){this.center=u(L),this.up=u(b),this.right=u(P),this.radius=u([I]),this.angle=u([R,D]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(_,A),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var F=0;F<16;++F)this.computedMatrix[F]=.5;this.recalcMatrix(0)}var T=x.prototype;T.setDistanceLimits=function(_,A){_=_>0?Math.log(_):-1/0,A=A>0?Math.log(A):1/0,A=Math.max(A,_),this.radius.bounds[0][0]=_,this.radius.bounds[1][0]=A},T.getDistanceLimits=function(_){var A=this.radius.bounds[0];return _?(_[0]=Math.exp(A[0][0]),_[1]=Math.exp(A[1][0]),_):[Math.exp(A[0][0]),Math.exp(A[1][0])]},T.recalcMatrix=function(_){this.center.curve(_),this.up.curve(_),this.right.curve(_),this.radius.curve(_),this.angle.curve(_);for(var A=this.computedUp,L=this.computedRight,b=0,P=0,I=0;I<3;++I)P+=A[I]*L[I],b+=A[I]*A[I];var R=Math.sqrt(b),D=0;for(I=0;I<3;++I)L[I]-=A[I]*P/b,D+=L[I]*L[I],A[I]/=R;var F=Math.sqrt(D);for(I=0;I<3;++I)L[I]/=F;var B=this.computedToward;c(B,A,L),f(B,B);var N=Math.exp(this.computedRadius[0]),W=this.computedAngle[0],j=this.computedAngle[1],Y=Math.cos(W),U=Math.sin(W),G=Math.cos(j),q=Math.sin(j),H=this.computedCenter,ne=Y*G,te=U*G,Z=q,X=-Y*q,Q=-U*q,re=G,ie=this.computedEye,oe=this.computedMatrix;for(I=0;I<3;++I){var ue=ne*L[I]+te*B[I]+Z*A[I];oe[4*I+1]=X*L[I]+Q*B[I]+re*A[I],oe[4*I+2]=ue,oe[4*I+3]=0}var ce=oe[1],ye=oe[5],de=oe[9],me=oe[2],pe=oe[6],xe=oe[10],Oe=ye*xe-de*pe,_e=de*me-ce*xe,Me=ce*pe-ye*me,Se=w(Oe,_e,Me);for(Oe/=Se,_e/=Se,Me/=Se,oe[0]=Oe,oe[4]=_e,oe[8]=Me,I=0;I<3;++I)ie[I]=H[I]+oe[2+4*I]*N;for(I=0;I<3;++I){D=0;for(var Ce=0;Ce<3;++Ce)D+=oe[I+4*Ce]*ie[Ce];oe[12+I]=-D}oe[15]=1},T.getMatrix=function(_,A){this.recalcMatrix(_);var L=this.computedMatrix;if(A){for(var b=0;b<16;++b)A[b]=L[b];return A}return L};var C=[0,0,0];T.rotate=function(_,A,L,b){if(this.angle.move(_,A,L),b){this.recalcMatrix(_);var P=this.computedMatrix;C[0]=P[2],C[1]=P[6],C[2]=P[10];for(var I=this.computedUp,R=this.computedRight,D=this.computedToward,F=0;F<3;++F)P[4*F]=I[F],P[4*F+1]=R[F],P[4*F+2]=D[F];for(s(P,P,b,C),F=0;F<3;++F)I[F]=P[4*F],R[F]=P[4*F+1];this.up.set(_,I[0],I[1],I[2]),this.right.set(_,R[0],R[1],R[2])}},T.pan=function(_,A,L,b){A=A||0,L=L||0,b=b||0,this.recalcMatrix(_);var P=this.computedMatrix,I=(Math.exp(this.computedRadius[0]),P[1]),R=P[5],D=P[9],F=w(I,R,D);I/=F,R/=F,D/=F;var B=P[0],N=P[4],W=P[8],j=B*I+N*R+W*D,Y=w(B-=I*j,N-=R*j,W-=D*j),U=(B/=Y)*A+I*L,G=(N/=Y)*A+R*L,q=(W/=Y)*A+D*L;this.center.move(_,U,G,q);var H=Math.exp(this.computedRadius[0]);H=Math.max(1e-4,H+b),this.radius.set(_,Math.log(H))},T.translate=function(_,A,L,b){this.center.move(_,A||0,L||0,b||0)},T.setMatrix=function(_,A,L,b){var P=1;typeof L=="number"&&(P=0|L),(P<0||P>3)&&(P=1);var I=(P+2)%3;A||(this.recalcMatrix(_),A=this.computedMatrix);var R=A[P],D=A[P+4],F=A[P+8];if(b){var B=Math.abs(R),N=Math.abs(D),W=Math.abs(F),j=Math.max(B,N,W);B===j?(R=R<0?-1:1,D=F=0):W===j?(F=F<0?-1:1,R=D=0):(D=D<0?-1:1,R=F=0)}else{var Y=w(R,D,F);R/=Y,D/=Y,F/=Y}var U,G,q=A[I],H=A[I+4],ne=A[I+8],te=q*R+H*D+ne*F,Z=w(q-=R*te,H-=D*te,ne-=F*te),X=D*(ne/=Z)-F*(H/=Z),Q=F*(q/=Z)-R*ne,re=R*H-D*q,ie=w(X,Q,re);if(X/=ie,Q/=ie,re/=ie,this.center.jump(_,ke,Le,Be),this.radius.idle(_),this.up.jump(_,R,D,F),this.right.jump(_,q,H,ne),P===2){var oe=A[1],ue=A[5],ce=A[9],ye=oe*q+ue*H+ce*ne,de=oe*X+ue*Q+ce*re;U=Oe<0?-Math.PI/2:Math.PI/2,G=Math.atan2(de,ye)}else{var me=A[2],pe=A[6],xe=A[10],Oe=me*R+pe*D+xe*F,_e=me*q+pe*H+xe*ne,Me=me*X+pe*Q+xe*re;U=Math.asin(v(Oe)),G=Math.atan2(Me,_e)}this.angle.jump(_,G,U),this.recalcMatrix(_);var Se=A[2],Ce=A[6],ae=A[10],he=this.computedMatrix;o(he,A);var be=he[15],ke=he[12]/be,Le=he[13]/be,Be=he[14]/be,ze=Math.exp(this.computedRadius[0]);this.center.jump(_,ke-Se*ze,Le-Ce*ze,Be-ae*ze)},T.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},T.idle=function(_){this.center.idle(_),this.up.idle(_),this.right.idle(_),this.radius.idle(_),this.angle.idle(_)},T.flush=function(_){this.center.flush(_),this.up.flush(_),this.right.flush(_),this.radius.flush(_),this.angle.flush(_)},T.setDistance=function(_,A){A>0&&this.radius.set(_,Math.log(A))},T.lookAt=function(_,A,L,b){this.recalcMatrix(_),A=A||this.computedEye,L=L||this.computedCenter;var P=(b=b||this.computedUp)[0],I=b[1],R=b[2],D=w(P,I,R);if(!(D<1e-6)){P/=D,I/=D,R/=D;var F=A[0]-L[0],B=A[1]-L[1],N=A[2]-L[2],W=w(F,B,N);if(!(W<1e-6)){F/=W,B/=W,N/=W;var j=this.computedRight,Y=j[0],U=j[1],G=j[2],q=P*Y+I*U+R*G,H=w(Y-=q*P,U-=q*I,G-=q*R);if(!(H<.01&&(H=w(Y=I*N-R*B,U=R*F-P*N,G=P*B-I*F))<1e-6)){Y/=H,U/=H,G/=H,this.up.set(_,P,I,R),this.right.set(_,Y,U,G),this.center.set(_,L[0],L[1],L[2]),this.radius.set(_,Math.log(W));var ne=I*G-R*U,te=R*Y-P*G,Z=P*U-I*Y,X=w(ne,te,Z),Q=P*F+I*B+R*N,re=Y*F+U*B+G*N,ie=(ne/=X)*F+(te/=X)*B+(Z/=X)*N,oe=Math.asin(v(Q)),ue=Math.atan2(ie,re),ce=this.angle._state,ye=ce[ce.length-1],de=ce[ce.length-2];ye%=2*Math.PI;var me=Math.abs(ye+2*Math.PI-ue),pe=Math.abs(ye-ue),xe=Math.abs(ye-2*Math.PI-ue);me0?U.pop():new ArrayBuffer(j)}function C(j){return new Uint8Array(T(j),0,j)}function _(j){return new Uint16Array(T(2*j),0,j)}function A(j){return new Uint32Array(T(4*j),0,j)}function L(j){return new Int8Array(T(j),0,j)}function b(j){return new Int16Array(T(2*j),0,j)}function P(j){return new Int32Array(T(4*j),0,j)}function I(j){return new Float32Array(T(4*j),0,j)}function R(j){return new Float64Array(T(8*j),0,j)}function D(j){return c?new Uint8ClampedArray(T(j),0,j):C(j)}function F(j){return f?new BigUint64Array(T(8*j),0,j):null}function B(j){return p?new BigInt64Array(T(8*j),0,j):null}function N(j){return new DataView(T(j),0,j)}function W(j){j=u.nextPow2(j);var Y=u.log2(j),U=S[Y];return U.length>0?U.pop():new s(j)}l.free=function(j){if(s.isBuffer(j))S[u.log2(j.length)].push(j);else{if(Object.prototype.toString.call(j)!=="[object ArrayBuffer]"&&(j=j.buffer),!j)return;var Y=j.length||j.byteLength,U=0|u.log2(Y);v[U].push(j)}},l.freeUint8=l.freeUint16=l.freeUint32=l.freeBigUint64=l.freeInt8=l.freeInt16=l.freeInt32=l.freeBigInt64=l.freeFloat32=l.freeFloat=l.freeFloat64=l.freeDouble=l.freeUint8Clamped=l.freeDataView=function(j){x(j.buffer)},l.freeArrayBuffer=x,l.freeBuffer=function(j){S[u.log2(j.length)].push(j)},l.malloc=function(j,Y){if(Y===void 0||Y==="arraybuffer")return T(j);switch(Y){case"uint8":return C(j);case"uint16":return _(j);case"uint32":return A(j);case"int8":return L(j);case"int16":return b(j);case"int32":return P(j);case"float":case"float32":return I(j);case"double":case"float64":return R(j);case"uint8_clamped":return D(j);case"bigint64":return B(j);case"biguint64":return F(j);case"buffer":return W(j);case"data":case"dataview":return N(j);default:return null}return null},l.mallocArrayBuffer=T,l.mallocUint8=C,l.mallocUint16=_,l.mallocUint32=A,l.mallocInt8=L,l.mallocInt16=b,l.mallocInt32=P,l.mallocFloat32=l.mallocFloat=I,l.mallocFloat64=l.mallocDouble=R,l.mallocUint8Clamped=D,l.mallocBigUint64=F,l.mallocBigInt64=B,l.mallocDataView=N,l.mallocBuffer=W,l.clearCache=function(){for(var j=0;j<32;++j)w.UINT8[j].length=0,w.UINT16[j].length=0,w.UINT32[j].length=0,w.INT8[j].length=0,w.INT16[j].length=0,w.INT32[j].length=0,w.FLOAT[j].length=0,w.DOUBLE[j].length=0,w.BIGUINT64[j].length=0,w.BIGINT64[j].length=0,w.UINT8C[j].length=0,v[j].length=0,S[j].length=0}},1731:function(h){function l(u){this.roots=new Array(u),this.ranks=new Array(u);for(var o=0;o0&&(P=b.size),b.lineSpacing&&b.lineSpacing>0&&(I=b.lineSpacing),b.styletags&&b.styletags.breaklines&&(R.breaklines=!!b.styletags.breaklines),b.styletags&&b.styletags.bolds&&(R.bolds=!!b.styletags.bolds),b.styletags&&b.styletags.italics&&(R.italics=!!b.styletags.italics),b.styletags&&b.styletags.subscripts&&(R.subscripts=!!b.styletags.subscripts),b.styletags&&b.styletags.superscripts&&(R.superscripts=!!b.styletags.superscripts)),L.font=[b.fontStyle,b.fontVariant,b.fontWeight,P+"px",b.font].filter(function(D){return D}).join(" "),L.textAlign="start",L.textBaseline="alphabetic",L.direction="ltr",C(function(D,F,B,N,W,j){B=B.replace(/\n/g,""),B=j.breaklines===!0?B.replace(/\/g,` +`):B.replace(/\/g," ");var Y="",U=[];for(ne=0;ne-1?parseInt(he[1+Le]):0,je=Be>-1?parseInt(be[1+Be]):0;ze!==je&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,je-ze),ke=ke.replace("?px ",xe())),Z+=.25*ie*(je-ze)}if(j.superscripts===!0){var ge=he.indexOf("+"),we=be.indexOf("+"),Ee=ge>-1?parseInt(he[1+ge]):0,Ve=we>-1?parseInt(be[1+we]):0;Ee!==Ve&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,Ve-Ee),ke=ke.replace("?px ",xe())),Z-=.25*ie*(Ve-Ee)}if(j.bolds===!0){var Ye=he.indexOf(w)>-1,$e=be.indexOf(w)>-1;!Ye&&$e&&(ke=st?ke.replace("italic ","italic bold "):"bold "+ke),Ye&&!$e&&(ke=ke.replace("bold ",""))}if(j.italics===!0){var st=he.indexOf(v)>-1,ot=be.indexOf(v)>-1;!st&&ot&&(ke="italic "+ke),st&&!ot&&(ke=ke.replace("italic ",""))}F.font=ke}for(H=0;H",I="",R=P.length,D=I.length,F=A[0]==="+"||A[0]==="-",B=0,N=-D;B>-1&&(B=L.indexOf(P,B))!==-1&&(N=L.indexOf(I,B+R))!==-1&&!(N<=B);){for(var W=B;W=N)b[W]=null,L=L.substr(0,W)+" "+L.substr(W+1);else if(b[W]!==null){var j=b[W].indexOf(A[0]);j===-1?b[W]+=A:F&&(b[W]=b[W].substr(0,j+1)+(1+parseInt(b[W][j+1]))+b[W].substr(j+2))}var Y=B+R,U=L.substr(Y,N-Y).indexOf(P);B=U!==-1?U:N+D}return b}function x(_,A){var L=u(_,128);return A?s(L.cells,L.positions,.25):{edges:L.cells,positions:L.positions}}function T(_,A,L,b){var P=x(_,b),I=function(H,ne,te){for(var Z=ne.textAlign||"start",X=ne.textBaseline||"alphabetic",Q=[1<<30,1<<30],re=[0,0],ie=H.length,oe=0;oe"u"||!ses.ok||ses.ok()){typeof ses<"u"&&(ses.weakMapPermitHostObjects=A);var l=!1;if(typeof WeakMap=="function"){var a=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var u=new a,o=Object.freeze({});if(u.set(o,1),u.get(o)===1)return void(h.exports=WeakMap);l=!0}}var s=Object.getOwnPropertyNames,c=Object.defineProperty,f=Object.isExtensible,p="weakmap:",w="weakmap:ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var v=new ArrayBuffer(25),S=new Uint8Array(v);crypto.getRandomValues(S),w="weakmap:rand:"+Array.prototype.map.call(S,function(R){return(R%36).toString(36)}).join("")+"___"}if(c(Object,"getOwnPropertyNames",{value:function(R){return s(R).filter(L)}}),"getPropertyNames"in Object){var x=Object.getPropertyNames;c(Object,"getPropertyNames",{value:function(R){return x(R).filter(L)}})}(function(){var R=Object.freeze;c(Object,"freeze",{value:function(B){return b(B),R(B)}});var D=Object.seal;c(Object,"seal",{value:function(B){return b(B),D(B)}});var F=Object.preventExtensions;c(Object,"preventExtensions",{value:function(B){return b(B),F(B)}})})();var T=!1,C=0,_=function(){this instanceof _||I();var R=[],D=[],F=C++;return Object.create(_.prototype,{get___:{value:P(function(B,N){var W,j=b(B);return j?F in j?j[F]:N:(W=R.indexOf(B))>=0?D[W]:N})},has___:{value:P(function(B){var N=b(B);return N?F in N:R.indexOf(B)>=0})},set___:{value:P(function(B,N){var W,j=b(B);return j?j[F]=N:(W=R.indexOf(B))>=0?D[W]=N:(W=R.length,D[W]=N,R[W]=B),this})},delete___:{value:P(function(B){var N,W,j=b(B);return j?F in j&&delete j[F]:!((N=R.indexOf(B))<0||(W=R.length-1,R[N]=void 0,D[N]=D[W],R[N]=R[W],R.length=W,D.length=W,0))})}})};_.prototype=Object.create(Object.prototype,{get:{value:function(R,D){return this.get___(R,D)},writable:!0,configurable:!0},has:{value:function(R){return this.has___(R)},writable:!0,configurable:!0},set:{value:function(R,D){return this.set___(R,D)},writable:!0,configurable:!0},delete:{value:function(R){return this.delete___(R)},writable:!0,configurable:!0}}),typeof a=="function"?function(){function R(){this instanceof _||I();var D,F=new a,B=void 0,N=!1;return D=l?function(W,j){return F.set(W,j),F.has(W)||(B||(B=new _),B.set(W,j)),this}:function(W,j){if(N)try{F.set(W,j)}catch{B||(B=new _),B.set___(W,j)}else F.set(W,j);return this},Object.create(_.prototype,{get___:{value:P(function(W,j){return B?F.has(W)?F.get(W):B.get___(W,j):F.get(W,j)})},has___:{value:P(function(W){return F.has(W)||!!B&&B.has___(W)})},set___:{value:P(D)},delete___:{value:P(function(W){var j=!!F.delete(W);return B&&B.delete___(W)||j})},permitHostObjects___:{value:P(function(W){if(W!==A)throw new Error("bogus call to permitHostObjects___");N=!0})}})}l&&typeof Proxy<"u"&&(Proxy=void 0),R.prototype=_.prototype,h.exports=R,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),h.exports=_)}function A(R){R.permitHostObjects___&&R.permitHostObjects___(A)}function L(R){return!(R.substr(0,p.length)==p&&R.substr(R.length-3)==="___")}function b(R){if(R!==Object(R))throw new TypeError("Not an object: "+R);var D=R[w];if(D&&D.key===R)return D;if(f(R)){D={key:R};try{return c(R,w,{value:D,writable:!1,enumerable:!1,configurable:!1}),D}catch{return}}}function P(R){return R.prototype=null,Object.freeze(R)}function I(){T||typeof console>"u"||(T=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}})()},9222:function(h,l,a){var u=a(7178);h.exports=function(){var o={};return function(s){if((typeof s!="object"||s===null)&&typeof s!="function")throw new Error("Weakmap-shim: Key must be object");var c=s.valueOf(o);return c&&c.identity===o?c:u(s,o)}}},7178:function(h){h.exports=function(l,a){var u={identity:a},o=l.valueOf;return Object.defineProperty(l,"valueOf",{value:function(s){return s!==a?o.apply(this,arguments):u},writable:!0}),u}},4037:function(h,l,a){var u=a(9222);h.exports=function(){var o=u();return{get:function(s,c){var f=o(s);return f.hasOwnProperty("value")?f.value:c},set:function(s,c){return o(s).value=c,this},has:function(s){return"value"in o(s)},delete:function(s){return delete o(s).value}}}},6183:function(h){h.exports=function(l){var a={};return function(u,o,s){var c=u.dtype,f=u.order,p=[c,f.join()].join(),w=a[p];return w||(a[p]=w=l([c,f])),w(u.shape.slice(0),u.data,u.stride,0|u.offset,o,s)}}((function(){return function(l,a,u,o,s,c){var f=l[0],p=u[0],w=[0],v=p;o|=0;var S=0,x=p;for(S=0;S=0!=C>=0&&s.push(w[0]+.5+.5*(T+C)/(T-C)),o+=x,++w[0]}}}).bind(void 0,{funcName:"zeroCrossings"}))},9584:function(h,l,a){h.exports=function(o,s){var c=[];return s=+s||0,u(o.hi(o.shape[0]-1),c,s),c};var u=a(6183)},6601:function(){}},M={};function g(h){var l=M[h];if(l!==void 0)return l.exports;var a=M[h]={id:h,loaded:!1,exports:{}};return i[h].call(a.exports,a,a.exports,g),a.loaded=!0,a.exports}return g.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),g.nmd=function(h){return h.paths=[],h.children||(h.children=[]),h},g(7386)}()},k.exports=d()},12856:function(k,m,t){function d(ae,he){if(!(ae instanceof he))throw new TypeError("Cannot call a class as a function")}function y(ae,he){for(var be=0;bes)throw new RangeError('The value "'+ae+'" is invalid for option "size"');var he=new Uint8Array(ae);return Object.setPrototypeOf(he,f.prototype),he}function f(ae,he,be){if(typeof ae=="number"){if(typeof he=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return v(ae)}return p(ae,he,be)}function p(ae,he,be){if(typeof ae=="string")return function(Be,ze){if(typeof ze=="string"&&ze!==""||(ze="utf8"),!f.isEncoding(ze))throw new TypeError("Unknown encoding: "+ze);var je=0|C(Be,ze),ge=c(je),we=ge.write(Be,ze);return we!==je&&(ge=ge.slice(0,we)),ge}(ae,he);if(ArrayBuffer.isView(ae))return function(Be){if(Oe(Be,Uint8Array)){var ze=new Uint8Array(Be);return x(ze.buffer,ze.byteOffset,ze.byteLength)}return S(Be)}(ae);if(ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae));if(Oe(ae,ArrayBuffer)||ae&&Oe(ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Oe(ae,SharedArrayBuffer)||ae&&Oe(ae.buffer,SharedArrayBuffer)))return x(ae,he,be);if(typeof ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ke=ae.valueOf&&ae.valueOf();if(ke!=null&&ke!==ae)return f.from(ke,he,be);var Le=function(Be){if(f.isBuffer(Be)){var ze=0|T(Be.length),je=c(ze);return je.length===0||Be.copy(je,0,0,ze),je}return Be.length!==void 0?typeof Be.length!="number"||_e(Be.length)?c(0):S(Be):Be.type==="Buffer"&&Array.isArray(Be.data)?S(Be.data):void 0}(ae);if(Le)return Le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ae[Symbol.toPrimitive]=="function")return f.from(ae[Symbol.toPrimitive]("string"),he,be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae))}function w(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be of type number');if(ae<0)throw new RangeError('The value "'+ae+'" is invalid for option "size"')}function v(ae){return w(ae),c(ae<0?0:0|T(ae))}function S(ae){for(var he=ae.length<0?0:0|T(ae.length),be=c(he),ke=0;ke=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|ae}function C(ae,he){if(f.isBuffer(ae))return ae.length;if(ArrayBuffer.isView(ae)||Oe(ae,ArrayBuffer))return ae.byteLength;if(typeof ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+l(ae));var be=ae.length,ke=arguments.length>2&&arguments[2]===!0;if(!ke&&be===0)return 0;for(var Le=!1;;)switch(he){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":return me(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return pe(ae).length;default:if(Le)return ke?-1:me(ae).length;he=(""+he).toLowerCase(),Le=!0}}function _(ae,he,be){var ke=!1;if((he===void 0||he<0)&&(he=0),he>this.length||((be===void 0||be>this.length)&&(be=this.length),be<=0)||(be>>>=0)<=(he>>>=0))return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return U(this,he,be);case"utf8":case"utf-8":return N(this,he,be);case"ascii":return j(this,he,be);case"latin1":case"binary":return Y(this,he,be);case"base64":return B(this,he,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,he,be);default:if(ke)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),ke=!0}}function A(ae,he,be){var ke=ae[he];ae[he]=ae[be],ae[be]=ke}function L(ae,he,be,ke,Le){if(ae.length===0)return-1;if(typeof be=="string"?(ke=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),_e(be=+be)&&(be=Le?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Le)return-1;be=ae.length-1}else if(be<0){if(!Le)return-1;be=0}if(typeof he=="string"&&(he=f.from(he,ke)),f.isBuffer(he))return he.length===0?-1:b(ae,he,be,ke,Le);if(typeof he=="number")return he&=255,typeof Uint8Array.prototype.indexOf=="function"?Le?Uint8Array.prototype.indexOf.call(ae,he,be):Uint8Array.prototype.lastIndexOf.call(ae,he,be):b(ae,[he],be,ke,Le);throw new TypeError("val must be string, number or Buffer")}function b(ae,he,be,ke,Le){var Be,ze=1,je=ae.length,ge=he.length;if(ke!==void 0&&((ke=String(ke).toLowerCase())==="ucs2"||ke==="ucs-2"||ke==="utf16le"||ke==="utf-16le")){if(ae.length<2||he.length<2)return-1;ze=2,je/=2,ge/=2,be/=2}function we($e,st){return ze===1?$e[st]:$e.readUInt16BE(st*ze)}if(Le){var Ee=-1;for(Be=be;Beje&&(be=je-ge),Be=be;Be>=0;Be--){for(var Ve=!0,Ye=0;YeLe&&(ke=Le):ke=Le;var Be,ze=he.length;for(ke>ze/2&&(ke=ze/2),Be=0;Be>8,ge=ze%256,we.push(ge),we.push(je);return we}(he,ae.length-be),ae,be,ke)}function B(ae,he,be){return he===0&&be===ae.length?a.fromByteArray(ae):a.fromByteArray(ae.slice(he,be))}function N(ae,he,be){be=Math.min(ae.length,be);for(var ke=[],Le=he;Le239?4:Be>223?3:Be>191?2:1;if(Le+je<=be){var ge=void 0,we=void 0,Ee=void 0,Ve=void 0;switch(je){case 1:Be<128&&(ze=Be);break;case 2:(192&(ge=ae[Le+1]))==128&&(Ve=(31&Be)<<6|63&ge)>127&&(ze=Ve);break;case 3:ge=ae[Le+1],we=ae[Le+2],(192&ge)==128&&(192&we)==128&&(Ve=(15&Be)<<12|(63&ge)<<6|63&we)>2047&&(Ve<55296||Ve>57343)&&(ze=Ve);break;case 4:ge=ae[Le+1],we=ae[Le+2],Ee=ae[Le+3],(192&ge)==128&&(192&we)==128&&(192&Ee)==128&&(Ve=(15&Be)<<18|(63&ge)<<12|(63&we)<<6|63&Ee)>65535&&Ve<1114112&&(ze=Ve)}}ze===null?(ze=65533,je=1):ze>65535&&(ze-=65536,ke.push(ze>>>10&1023|55296),ze=56320|1023&ze),ke.push(ze),Le+=je}return function(Ye){var $e=Ye.length;if($e<=W)return String.fromCharCode.apply(String,Ye);for(var st="",ot=0;ot<$e;)st+=String.fromCharCode.apply(String,Ye.slice(ot,ot+=W));return st}(ke)}m.kMaxLength=s,f.TYPED_ARRAY_SUPPORT=function(){try{var ae=new Uint8Array(1),he={foo:function(){return 42}};return Object.setPrototypeOf(he,Uint8Array.prototype),Object.setPrototypeOf(ae,he),ae.foo()===42}catch{return!1}}(),f.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=function(ae,he,be){return p(ae,he,be)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(ae,he,be){return function(ke,Le,Be){return w(ke),ke<=0?c(ke):Le!==void 0?typeof Be=="string"?c(ke).fill(Le,Be):c(ke).fill(Le):c(ke)}(ae,he,be)},f.allocUnsafe=function(ae){return v(ae)},f.allocUnsafeSlow=function(ae){return v(ae)},f.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==f.prototype},f.compare=function(ae,he){if(Oe(ae,Uint8Array)&&(ae=f.from(ae,ae.offset,ae.byteLength)),Oe(he,Uint8Array)&&(he=f.from(he,he.offset,he.byteLength)),!f.isBuffer(ae)||!f.isBuffer(he))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===he)return 0;for(var be=ae.length,ke=he.length,Le=0,Be=Math.min(be,ke);Leke.length?(f.isBuffer(Be)||(Be=f.from(Be)),Be.copy(ke,Le)):Uint8Array.prototype.set.call(ke,Be,Le);else{if(!f.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(ke,Le)}Le+=Be.length}return ke},f.byteLength=C,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var ae=this.length;if(ae%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var he=0;hehe&&(ae+=" ... "),""},o&&(f.prototype[o]=f.prototype.inspect),f.prototype.compare=function(ae,he,be,ke,Le){if(Oe(ae,Uint8Array)&&(ae=f.from(ae,ae.offset,ae.byteLength)),!f.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+l(ae));if(he===void 0&&(he=0),be===void 0&&(be=ae?ae.length:0),ke===void 0&&(ke=0),Le===void 0&&(Le=this.length),he<0||be>ae.length||ke<0||Le>this.length)throw new RangeError("out of range index");if(ke>=Le&&he>=be)return 0;if(ke>=Le)return-1;if(he>=be)return 1;if(this===ae)return 0;for(var Be=(Le>>>=0)-(ke>>>=0),ze=(be>>>=0)-(he>>>=0),je=Math.min(Be,ze),ge=this.slice(ke,Le),we=ae.slice(he,be),Ee=0;Ee>>=0,isFinite(be)?(be>>>=0,ke===void 0&&(ke="utf8")):(ke=be,be=void 0)}var Le=this.length-he;if((be===void 0||be>Le)&&(be=Le),ae.length>0&&(be<0||he<0)||he>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var Be=!1;;)switch(ke){case"hex":return P(this,ae,he,be);case"utf8":case"utf-8":return I(this,ae,he,be);case"ascii":case"latin1":case"binary":return R(this,ae,he,be);case"base64":return D(this,ae,he,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,ae,he,be);default:if(Be)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),Be=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var W=4096;function j(ae,he,be){var ke="";be=Math.min(ae.length,be);for(var Le=he;Leke)&&(be=ke);for(var Le="",Be=he;Bebe)throw new RangeError("Trying to access beyond buffer length")}function H(ae,he,be,ke,Le,Be){if(!f.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(he>Le||heae.length)throw new RangeError("Index out of range")}function ne(ae,he,be,ke,Le){ue(he,ke,Le,ae,be,7);var Be=Number(he&BigInt(4294967295));ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be;var ze=Number(he>>BigInt(32)&BigInt(4294967295));return ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,be}function te(ae,he,be,ke,Le){ue(he,ke,Le,ae,be,7);var Be=Number(he&BigInt(4294967295));ae[be+7]=Be,Be>>=8,ae[be+6]=Be,Be>>=8,ae[be+5]=Be,Be>>=8,ae[be+4]=Be;var ze=Number(he>>BigInt(32)&BigInt(4294967295));return ae[be+3]=ze,ze>>=8,ae[be+2]=ze,ze>>=8,ae[be+1]=ze,ze>>=8,ae[be]=ze,be+8}function Z(ae,he,be,ke,Le,Be){if(be+ke>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function X(ae,he,be,ke,Le){return he=+he,be>>>=0,Le||Z(ae,0,be,4),u.write(ae,he,be,ke,23,4),be+4}function Q(ae,he,be,ke,Le){return he=+he,be>>>=0,Le||Z(ae,0,be,8),u.write(ae,he,be,ke,52,8),be+8}f.prototype.slice=function(ae,he){var be=this.length;(ae=~~ae)<0?(ae+=be)<0&&(ae=0):ae>be&&(ae=be),(he=he===void 0?be:~~he)<0?(he+=be)<0&&(he=0):he>be&&(he=be),he>>=0,he>>>=0,be||q(ae,he,this.length);for(var ke=this[ae],Le=1,Be=0;++Be>>=0,he>>>=0,be||q(ae,he,this.length);for(var ke=this[ae+--he],Le=1;he>0&&(Le*=256);)ke+=this[ae+--he]*Le;return ke},f.prototype.readUint8=f.prototype.readUInt8=function(ae,he){return ae>>>=0,he||q(ae,1,this.length),this[ae]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(ae,he){return ae>>>=0,he||q(ae,2,this.length),this[ae]|this[ae+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(ae,he){return ae>>>=0,he||q(ae,2,this.length),this[ae]<<8|this[ae+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(ae,he){return ae>>>=0,he||q(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+16777216*this[ae+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(ae,he){return ae>>>=0,he||q(ae,4,this.length),16777216*this[ae]+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},f.prototype.readBigUInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=he+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,24),Le=this[++ae]+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+be*Math.pow(2,24);return BigInt(ke)+(BigInt(Le)<>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=he*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae],Le=this[++ae]*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+be;return(BigInt(ke)<>>=0,he>>>=0,be||q(ae,he,this.length);for(var ke=this[ae],Le=1,Be=0;++Be=(Le*=128)&&(ke-=Math.pow(2,8*he)),ke},f.prototype.readIntBE=function(ae,he,be){ae>>>=0,he>>>=0,be||q(ae,he,this.length);for(var ke=he,Le=1,Be=this[ae+--ke];ke>0&&(Le*=256);)Be+=this[ae+--ke]*Le;return Be>=(Le*=128)&&(Be-=Math.pow(2,8*he)),Be},f.prototype.readInt8=function(ae,he){return ae>>>=0,he||q(ae,1,this.length),128&this[ae]?-1*(255-this[ae]+1):this[ae]},f.prototype.readInt16LE=function(ae,he){ae>>>=0,he||q(ae,2,this.length);var be=this[ae]|this[ae+1]<<8;return 32768&be?4294901760|be:be},f.prototype.readInt16BE=function(ae,he){ae>>>=0,he||q(ae,2,this.length);var be=this[ae+1]|this[ae]<<8;return 32768&be?4294901760|be:be},f.prototype.readInt32LE=function(ae,he){return ae>>>=0,he||q(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},f.prototype.readInt32BE=function(ae,he){return ae>>>=0,he||q(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},f.prototype.readBigInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=this[ae+4]+this[ae+5]*Math.pow(2,8)+this[ae+6]*Math.pow(2,16)+(be<<24);return(BigInt(ke)<>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=(he<<24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae];return(BigInt(ke)<>>=0,he||q(ae,4,this.length),u.read(this,ae,!0,23,4)},f.prototype.readFloatBE=function(ae,he){return ae>>>=0,he||q(ae,4,this.length),u.read(this,ae,!1,23,4)},f.prototype.readDoubleLE=function(ae,he){return ae>>>=0,he||q(ae,8,this.length),u.read(this,ae,!0,52,8)},f.prototype.readDoubleBE=function(ae,he){return ae>>>=0,he||q(ae,8,this.length),u.read(this,ae,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(ae,he,be,ke){ae=+ae,he>>>=0,be>>>=0,ke||H(this,ae,he,be,Math.pow(2,8*be)-1,0);var Le=1,Be=0;for(this[he]=255&ae;++Be>>=0,be>>>=0,ke||H(this,ae,he,be,Math.pow(2,8*be)-1,0);var Le=be-1,Be=1;for(this[he+Le]=255&ae;--Le>=0&&(Be*=256);)this[he+Le]=ae/Be&255;return he+be},f.prototype.writeUint8=f.prototype.writeUInt8=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,1,255,0),this[he]=255&ae,he+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,65535,0),this[he]=255&ae,this[he+1]=ae>>>8,he+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,65535,0),this[he]=ae>>>8,this[he+1]=255&ae,he+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,4294967295,0),this[he+3]=ae>>>24,this[he+2]=ae>>>16,this[he+1]=ae>>>8,this[he]=255&ae,he+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,4294967295,0),this[he]=ae>>>24,this[he+1]=ae>>>16,this[he+2]=ae>>>8,this[he+3]=255&ae,he+4},f.prototype.writeBigUInt64LE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,he,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeBigUInt64BE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,he,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeIntLE=function(ae,he,be,ke){if(ae=+ae,he>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,he,be,Le-1,-Le)}var Be=0,ze=1,je=0;for(this[he]=255&ae;++Be>0)-je&255;return he+be},f.prototype.writeIntBE=function(ae,he,be,ke){if(ae=+ae,he>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,he,be,Le-1,-Le)}var Be=be-1,ze=1,je=0;for(this[he+Be]=255&ae;--Be>=0&&(ze*=256);)ae<0&&je===0&&this[he+Be+1]!==0&&(je=1),this[he+Be]=(ae/ze>>0)-je&255;return he+be},f.prototype.writeInt8=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,1,127,-128),ae<0&&(ae=255+ae+1),this[he]=255&ae,he+1},f.prototype.writeInt16LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,32767,-32768),this[he]=255&ae,this[he+1]=ae>>>8,he+2},f.prototype.writeInt16BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,32767,-32768),this[he]=ae>>>8,this[he+1]=255&ae,he+2},f.prototype.writeInt32LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,2147483647,-2147483648),this[he]=255&ae,this[he+1]=ae>>>8,this[he+2]=ae>>>16,this[he+3]=ae>>>24,he+4},f.prototype.writeInt32BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[he]=ae>>>24,this[he+1]=ae>>>16,this[he+2]=ae>>>8,this[he+3]=255&ae,he+4},f.prototype.writeBigInt64LE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,he,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeBigInt64BE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,he,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeFloatLE=function(ae,he,be){return X(this,ae,he,!0,be)},f.prototype.writeFloatBE=function(ae,he,be){return X(this,ae,he,!1,be)},f.prototype.writeDoubleLE=function(ae,he,be){return Q(this,ae,he,!0,be)},f.prototype.writeDoubleBE=function(ae,he,be){return Q(this,ae,he,!1,be)},f.prototype.copy=function(ae,he,be,ke){if(!f.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(be||(be=0),ke||ke===0||(ke=this.length),he>=ae.length&&(he=ae.length),he||(he=0),ke>0&&ke=this.length)throw new RangeError("Index out of range");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),ae.length-he>>=0,be=be===void 0?this.length:be>>>0,ae||(ae=0),typeof ae=="number")for(Be=he;Be"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Ee,Ve=h(ze);if(je){var Ye=h(this).constructor;Ee=Reflect.construct(Ve,arguments,Ye)}else Ee=Ve.apply(this,arguments);return M(this,Ee)});function we(){var Ee;return d(this,we),Ee=ge.call(this),Object.defineProperty(g(Ee),"message",{value:he.apply(g(Ee),arguments),writable:!0,configurable:!0}),Ee.name="".concat(Ee.name," [").concat(ae,"]"),Ee.stack,delete Ee.name,Ee}return Le=we,(Be=[{key:"code",get:function(){return ae},set:function(Ee){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ee,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ae,"]: ").concat(this.message)}}])&&y(Le.prototype,Be),Object.defineProperty(Le,"prototype",{writable:!1}),we}(be)}function oe(ae){for(var he="",be=ae.length,ke=ae[0]==="-"?1:0;be>=ke+4;be-=3)he="_".concat(ae.slice(be-3,be)).concat(he);return"".concat(ae.slice(0,be)).concat(he)}function ue(ae,he,be,ke,Le,Be){if(ae>be||ae3?he===0||he===BigInt(0)?">= 0".concat(je," and < 2").concat(je," ** ").concat(8*(Be+1)).concat(je):">= -(2".concat(je," ** ").concat(8*(Be+1)-1).concat(je,") and < 2 ** ")+"".concat(8*(Be+1)-1).concat(je):">= ".concat(he).concat(je," and <= ").concat(be).concat(je),new re.ERR_OUT_OF_RANGE("value",ze,ae)}(function(ge,we,Ee){ce(we,"offset"),ge[we]!==void 0&&ge[we+Ee]!==void 0||ye(we,ge.length-(Ee+1))})(ke,Le,Be)}function ce(ae,he){if(typeof ae!="number")throw new re.ERR_INVALID_ARG_TYPE(he,"number",ae)}function ye(ae,he,be){throw Math.floor(ae)!==ae?(ce(ae,be),new re.ERR_OUT_OF_RANGE(be||"offset","an integer",ae)):he<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(be||"offset",">= ".concat(be?1:0," and <= ").concat(he),ae)}ie("ERR_BUFFER_OUT_OF_BOUNDS",function(ae){return ae?"".concat(ae," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ie("ERR_INVALID_ARG_TYPE",function(ae,he){return'The "'.concat(ae,'" argument must be of type number. Received type ').concat(l(he))},TypeError),ie("ERR_OUT_OF_RANGE",function(ae,he,be){var ke='The value of "'.concat(ae,'" is out of range.'),Le=be;return Number.isInteger(be)&&Math.abs(be)>Math.pow(2,32)?Le=oe(String(be)):typeof be=="bigint"&&(Le=String(be),(be>Math.pow(BigInt(2),BigInt(32))||be<-Math.pow(BigInt(2),BigInt(32)))&&(Le=oe(Le)),Le+="n"),ke+" It must be ".concat(he,". Received ").concat(Le)},RangeError);var de=/[^+/0-9A-Za-z-_]/g;function me(ae,he){var be;he=he||1/0;for(var ke=ae.length,Le=null,Be=[],ze=0;ze55295&&be<57344){if(!Le){if(be>56319){(he-=3)>-1&&Be.push(239,191,189);continue}if(ze+1===ke){(he-=3)>-1&&Be.push(239,191,189);continue}Le=be;continue}if(be<56320){(he-=3)>-1&&Be.push(239,191,189),Le=be;continue}be=65536+(Le-55296<<10|be-56320)}else Le&&(he-=3)>-1&&Be.push(239,191,189);if(Le=null,be<128){if((he-=1)<0)break;Be.push(be)}else if(be<2048){if((he-=2)<0)break;Be.push(be>>6|192,63&be|128)}else if(be<65536){if((he-=3)<0)break;Be.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((he-=4)<0)break;Be.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Be}function pe(ae){return a.toByteArray(function(he){if((he=(he=he.split("=")[0]).trim().replace(de,"")).length<2)return"";for(;he.length%4!=0;)he+="=";return he}(ae))}function xe(ae,he,be,ke){var Le;for(Le=0;Le=he.length||Le>=ae.length);++Le)he[Le+be]=ae[Le];return Le}function Oe(ae,he){return ae instanceof he||ae!=null&&ae.constructor!=null&&ae.constructor.name!=null&&ae.constructor.name===he.name}function _e(ae){return ae!=ae}var Me=function(){for(var ae="0123456789abcdef",he=new Array(256),be=0;be<16;++be)for(var ke=16*be,Le=0;Le<16;++Le)he[ke+Le]=ae[be]+ae[Le];return he}();function Se(ae){return typeof BigInt>"u"?Ce:ae}function Ce(){throw new Error("BigInt not supported")}},35791:function(k){k.exports=y,k.exports.isMobile=y,k.exports.default=y;var m=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,t=/CrOS/,d=/android|ipad|playbook|silk/i;function y(i){i||(i={});var M=i.ua;if(M||typeof navigator>"u"||(M=navigator.userAgent),M&&M.headers&&typeof M.headers["user-agent"]=="string"&&(M=M.headers["user-agent"]),typeof M!="string")return!1;var g=m.test(M)&&!t.test(M)||!!i.tablet&&d.test(M);return!g&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&M.indexOf("Macintosh")!==-1&&M.indexOf("Safari")!==-1&&(g=!0),g}},86781:function(k,m,t){t.r(m),t.d(m,{sankeyCenter:function(){return o},sankeyCircular:function(){return R},sankeyJustify:function(){return u},sankeyLeft:function(){return l},sankeyRight:function(){return a}});var d=t(33064),y=t(15140),i=t(45879),M=t(2502),g=t.n(M);function h(pe){return pe.target.depth}function l(pe){return pe.depth}function a(pe,xe){return xe-1-pe.height}function u(pe,xe){return pe.sourceLinks.length?pe.depth:xe-1}function o(pe){return pe.targetLinks.length?pe.depth:pe.sourceLinks.length?(0,d.VV)(pe.sourceLinks,h)-1:0}function s(pe){return function(){return pe}}var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe};function f(pe,xe){return w(pe.source,xe.source)||pe.index-xe.index}function p(pe,xe){return w(pe.target,xe.target)||pe.index-xe.index}function w(pe,xe){return pe.partOfCycle===xe.partOfCycle?pe.y0-xe.y0:pe.circularLinkType==="top"||xe.circularLinkType==="bottom"?-1:1}function v(pe){return pe.value}function S(pe){return(pe.y0+pe.y1)/2}function x(pe){return S(pe.source)}function T(pe){return S(pe.target)}function C(pe){return pe.index}function _(pe){return pe.nodes}function A(pe){return pe.links}function L(pe,xe){var Oe=pe.get(xe);if(!Oe)throw new Error("missing: "+xe);return Oe}function b(pe,xe){return xe(pe)}var P=25,I=10;function R(){var pe,xe,Oe=0,_e=0,Me=1,Se=1,Ce=24,ae=C,he=u,be=_,ke=A,Le=32,Be=2,ze=null;function je(){var $e={nodes:be.apply(null,arguments),links:ke.apply(null,arguments)};ge($e),D($e,0,ze),we($e),Ee($e),F($e,ae),Ve($e,Le,ae),Ye($e);for(var st=4,ot=0;ot0?Je+P+I:Je,bottom:qe=qe>0?qe+P+I:qe,left:ht=ht>0?ht+P+I:ht,right:nt=nt>0?nt+P+I:nt}}($e),Vt=function(Ke,Je){var qe=(0,d.Fp)(Ke.nodes,function(Qe){return Qe.column}),nt=Me-Oe,ht=Se-_e,Pe=nt/(nt+Je.right+Je.left),Ne=ht/(ht+Je.top+Je.bottom);return Oe=Oe*Pe+Je.left,Me=Je.right==0?Me:Me*Pe,_e=_e*Ne+Je.top,Se*=Ne,Ke.nodes.forEach(function(Qe){Qe.x0=Oe+Qe.column*((Me-Oe-Ce)/qe),Qe.x1=Qe.x0+Ce}),Ne}($e,qt);Bt*=Vt,$e.links.forEach(function(Ke){Ke.width=Ke.value*Bt}),ft.forEach(function(Ke){var Je=Ke.length;Ke.forEach(function(qe,nt){qe.depth==ft.length-1&&Je==1||qe.depth==0&&Je==1?(qe.y0=Se/2-qe.value*Bt,qe.y1=qe.y0+qe.value*Bt):qe.partOfCycle?N(qe,Ft)==0?(qe.y0=Se/2+nt,qe.y1=qe.y0+qe.value*Bt):qe.circularLinkType=="top"?(qe.y0=_e+nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=Se-qe.value*Bt-nt,qe.y1=qe.y0+qe.value*Bt):qt.top==0||qt.bottom==0?(qe.y0=(Se-_e)/Je*nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=(Se-_e)/2-Je/2+nt,qe.y1=qe.y0+qe.value*Bt)})})})(ot),xt();for(var bt=1,Et=st;Et>0;--Et)kt(bt*=.99,ot),xt();function kt(Ft,Rt){var Bt=ft.length;ft.forEach(function(qt){var Vt=qt.length,Ke=qt[0].depth;qt.forEach(function(Je){var qe;if((Je.sourceLinks.length||Je.targetLinks.length)&&!(Je.partOfCycle&&N(Je,Rt)>0))if(Ke==0&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else if(Ke==Bt-1&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else{var nt=(0,d.J6)(Je.sourceLinks,T),ht=(0,d.J6)(Je.targetLinks,x),Pe=((nt&&ht?(nt+ht)/2:nt||ht)-S(Je))*Ft;Je.y0+=Pe,Je.y1+=Pe}})})}function xt(){ft.forEach(function(Ft){var Rt,Bt,qt,Vt=_e,Ke=Ft.length;for(Ft.sort(w),qt=0;qt0&&(Rt.y0+=Bt,Rt.y1+=Bt),Vt=Rt.y1+pe;if((Bt=Vt-pe-Se)>0)for(Vt=Rt.y0-=Bt,Rt.y1-=Bt,qt=Ke-2;qt>=0;--qt)(Bt=(Rt=Ft[qt]).y1+pe-Vt)>0&&(Rt.y0-=Bt,Rt.y1-=Bt),Vt=Rt.y0})}}function Ye($e){$e.nodes.forEach(function(st){st.sourceLinks.sort(p),st.targetLinks.sort(f)}),$e.nodes.forEach(function(st){var ot=st.y0,ft=ot,bt=st.y1,Et=bt;st.sourceLinks.forEach(function(kt){kt.circular?(kt.y0=bt-kt.width/2,bt-=kt.width):(kt.y0=ot+kt.width/2,ot+=kt.width)}),st.targetLinks.forEach(function(kt){kt.circular?(kt.y1=Et-kt.width/2,Et-=kt.width):(kt.y1=ft+kt.width/2,ft+=kt.width)})})}return je.nodeId=function($e){return arguments.length?(ae=typeof $e=="function"?$e:s($e),je):ae},je.nodeAlign=function($e){return arguments.length?(he=typeof $e=="function"?$e:s($e),je):he},je.nodeWidth=function($e){return arguments.length?(Ce=+$e,je):Ce},je.nodePadding=function($e){return arguments.length?(pe=+$e,je):pe},je.nodes=function($e){return arguments.length?(be=typeof $e=="function"?$e:s($e),je):be},je.links=function($e){return arguments.length?(ke=typeof $e=="function"?$e:s($e),je):ke},je.size=function($e){return arguments.length?(Oe=_e=0,Me=+$e[0],Se=+$e[1],je):[Me-Oe,Se-_e]},je.extent=function($e){return arguments.length?(Oe=+$e[0][0],Me=+$e[1][0],_e=+$e[0][1],Se=+$e[1][1],je):[[Oe,_e],[Me,Se]]},je.iterations=function($e){return arguments.length?(Le=+$e,je):Le},je.circularLinkGap=function($e){return arguments.length?(Be=+$e,je):Be},je.nodePaddingRatio=function($e){return arguments.length?(xe=+$e,je):xe},je.sortNodes=function($e){return arguments.length?(ze=$e,je):ze},je.update=function($e){return F($e,ae),Ye($e),$e.links.forEach(function(st){st.circular&&(st.circularLinkType=st.y0+st.y11||Me>1)}function j(pe,xe,Oe){return pe.sort(U),pe.forEach(function(_e,Me){var Se,Ce,ae=0;if(de(_e,Oe)&&W(_e))_e.circularPathData.verticalBuffer=ae+_e.width/2;else{for(var he=0;heCe.source.column)){var be=pe[he].circularPathData.verticalBuffer+pe[he].width/2+xe;ae=be>ae?be:ae}_e.circularPathData.verticalBuffer=ae+_e.width/2}}),pe}function Y(pe,xe,Oe,_e){var Me=(0,d.VV)(pe.links,function(Se){return Se.source.y0});pe.links.forEach(function(Se){Se.circular&&(Se.circularPathData={})}),j(pe.links.filter(function(Se){return Se.circularLinkType=="top"}),xe,_e),j(pe.links.filter(function(Se){return Se.circularLinkType=="bottom"}),xe,_e),pe.links.forEach(function(Se){if(Se.circular){if(Se.circularPathData.arcRadius=Se.width+I,Se.circularPathData.leftNodeBuffer=5,Se.circularPathData.rightNodeBuffer=5,Se.circularPathData.sourceWidth=Se.source.x1-Se.source.x0,Se.circularPathData.sourceX=Se.source.x0+Se.circularPathData.sourceWidth,Se.circularPathData.targetX=Se.target.x0,Se.circularPathData.sourceY=Se.y0,Se.circularPathData.targetY=Se.y1,de(Se,_e)&&W(Se))Se.circularPathData.leftSmallArcRadius=I+Se.width/2,Se.circularPathData.leftLargeArcRadius=I+Se.width/2,Se.circularPathData.rightSmallArcRadius=I+Se.width/2,Se.circularPathData.rightLargeArcRadius=I+Se.width/2,Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Se.source.y1+P+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Se.source.y0-P-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius);else{var Ce=Se.source.column,ae=Se.circularLinkType,he=pe.links.filter(function(Le){return Le.source.column==Ce&&Le.circularLinkType==ae});Se.circularLinkType=="bottom"?he.sort(q):he.sort(G);var be=0;he.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.leftSmallArcRadius=I+Se.width/2+be,Se.circularPathData.leftLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Ce=Se.target.column,he=pe.links.filter(function(Le){return Le.target.column==Ce&&Le.circularLinkType==ae}),Se.circularLinkType=="bottom"?he.sort(ne):he.sort(H),be=0,he.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.rightSmallArcRadius=I+Se.width/2+be,Se.circularPathData.rightLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Math.max(Oe,Se.source.y1,Se.target.y1)+P+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Me-P-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius)}Se.circularPathData.leftInnerExtent=Se.circularPathData.sourceX+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightInnerExtent=Se.circularPathData.targetX-Se.circularPathData.rightNodeBuffer,Se.circularPathData.leftFullExtent=Se.circularPathData.sourceX+Se.circularPathData.leftLargeArcRadius+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightFullExtent=Se.circularPathData.targetX-Se.circularPathData.rightLargeArcRadius-Se.circularPathData.rightNodeBuffer}if(Se.circular)Se.path=function(Le){return Le.circularLinkType=="top"?"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 0 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY-Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 0 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 0 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY-Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 0 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY:"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 1 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY+Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 1 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 1 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY+Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 1 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY}(Se);else{var ke=(0,i.h5)().source(function(Le){return[Le.source.x0+(Le.source.x1-Le.source.x0),Le.y0]}).target(function(Le){return[Le.target.x0,Le.y1]});Se.path=ke(Se)}})}function U(pe,xe){return te(pe)==te(xe)?pe.circularLinkType=="bottom"?q(pe,xe):G(pe,xe):te(xe)-te(pe)}function G(pe,xe){return pe.y0-xe.y0}function q(pe,xe){return xe.y0-pe.y0}function H(pe,xe){return pe.y1-xe.y1}function ne(pe,xe){return xe.y1-pe.y1}function te(pe){return pe.target.column-pe.source.column}function Z(pe){return pe.target.x0-pe.source.x1}function X(pe,xe){var Oe=B(pe),_e=Z(xe)/Math.tan(Oe);return ye(pe)=="up"?pe.y1+_e:pe.y1-_e}function Q(pe,xe){var Oe=B(pe),_e=Z(xe)/Math.tan(Oe);return ye(pe)=="up"?pe.y1-_e:pe.y1+_e}function re(pe,xe,Oe,_e){pe.links.forEach(function(Me){if(!Me.circular&&Me.target.column-Me.source.column>1){var Se=Me.source.column+1,Ce=Me.target.column-1,ae=1,he=Ce-Se+1;for(ae=1;Se<=Ce;Se++,ae++)pe.nodes.forEach(function(be){if(be.column==Se){var ke,Le=ae/(he+1),Be=Math.pow(1-Le,3),ze=3*Le*Math.pow(1-Le,2),je=3*Math.pow(Le,2)*(1-Le),ge=Math.pow(Le,3),we=Be*Me.y0+ze*Me.y0+je*Me.y1+ge*Me.y1,Ee=we-Me.width/2,Ve=we+Me.width/2;Ee>be.y0&&Eest.y0&&$e.y0st.y0&&$e.y1st.y1)&&ie(Ye,ke,xe,Oe)})):(Ve>be.y0&&Vebe.y1)&&(ke=Ve-be.y0+10,be=ie(be,ke,xe,Oe),pe.nodes.forEach(function(Ye){b(Ye,_e)!=b(be,_e)&&Ye.column==be.column&&Ye.y0be.y1&&ie(Ye,ke,xe,Oe)}))}})}})}function ie(pe,xe,Oe,_e){return pe.y0+xe>=Oe&&pe.y1+xe<=_e&&(pe.y0=pe.y0+xe,pe.y1=pe.y1+xe,pe.targetLinks.forEach(function(Me){Me.y1=Me.y1+xe}),pe.sourceLinks.forEach(function(Me){Me.y0=Me.y0+xe})),pe}function oe(pe,xe,Oe,_e){pe.nodes.forEach(function(Me){_e&&Me.y+(Me.y1-Me.y0)>xe&&(Me.y=Me.y-(Me.y+(Me.y1-Me.y0)-xe));var Se=pe.links.filter(function(he){return b(he.source,Oe)==b(Me,Oe)}),Ce=Se.length;Ce>1&&Se.sort(function(he,be){if(!he.circular&&!be.circular){if(he.target.column==be.target.column||!ce(he,be))return he.y1-be.y1;if(he.target.column>be.target.column){var ke=Q(be,he);return he.y1-ke}if(be.target.column>he.target.column)return Q(he,be)-be.y1}return he.circular&&!be.circular?he.circularLinkType=="top"?-1:1:be.circular&&!he.circular?be.circularLinkType=="top"?1:-1:he.circular&&be.circular?he.circularLinkType===be.circularLinkType&&he.circularLinkType=="top"?he.target.column===be.target.column?he.target.y1-be.target.y1:be.target.column-he.target.column:he.circularLinkType===be.circularLinkType&&he.circularLinkType=="bottom"?he.target.column===be.target.column?be.target.y1-he.target.y1:he.target.column-be.target.column:he.circularLinkType=="top"?-1:1:void 0});var ae=Me.y0;Se.forEach(function(he){he.y0=ae+he.width/2,ae+=he.width}),Se.forEach(function(he,be){if(he.circularLinkType=="bottom"){for(var ke=be+1,Le=0;ke1&&Me.sort(function(ae,he){if(!ae.circular&&!he.circular){if(ae.source.column==he.source.column||!ce(ae,he))return ae.y0-he.y0;if(he.source.column0?"up":"down"}function de(pe,xe){return b(pe.source,xe)==b(pe.target,xe)}function me(pe,xe,Oe){var _e=pe.nodes,Me=pe.links,Se=!1,Ce=!1;if(Me.forEach(function(be){be.circularLinkType=="top"?Se=!0:be.circularLinkType=="bottom"&&(Ce=!0)}),Se==0||Ce==0){var ae=(0,d.VV)(_e,function(be){return be.y0}),he=(Oe-xe)/((0,d.Fp)(_e,function(be){return be.y1})-ae);_e.forEach(function(be){var ke=(be.y1-be.y0)*he;be.y0=(be.y0-ae)*he,be.y1=be.y0+ke}),Me.forEach(function(be){be.y0=(be.y0-ae)*he,be.y1=(be.y1-ae)*he,be.width=be.width*he})}}},30838:function(k,m,t){t.r(m),t.d(m,{sankey:function(){return C},sankeyCenter:function(){return l},sankeyJustify:function(){return h},sankeyLeft:function(){return M},sankeyLinkHorizontal:function(){return b},sankeyRight:function(){return g}});var d=t(33064),y=t(15140);function i(P){return P.target.depth}function M(P){return P.depth}function g(P,I){return I-1-P.height}function h(P,I){return P.sourceLinks.length?P.depth:I-1}function l(P){return P.targetLinks.length?P.depth:P.sourceLinks.length?(0,d.VV)(P.sourceLinks,i)-1:0}function a(P){return function(){return P}}function u(P,I){return s(P.source,I.source)||P.index-I.index}function o(P,I){return s(P.target,I.target)||P.index-I.index}function s(P,I){return P.y0-I.y0}function c(P){return P.value}function f(P){return(P.y0+P.y1)/2}function p(P){return f(P.source)*P.value}function w(P){return f(P.target)*P.value}function v(P){return P.index}function S(P){return P.nodes}function x(P){return P.links}function T(P,I){var R=P.get(I);if(!R)throw new Error("missing: "+I);return R}function C(){var P=0,I=0,R=1,D=1,F=24,B=8,N=v,W=h,j=S,Y=x,U=32;function G(){var X={nodes:j.apply(null,arguments),links:Y.apply(null,arguments)};return q(X),H(X),ne(X),te(X),Z(X),X}function q(X){X.nodes.forEach(function(re,ie){re.index=ie,re.sourceLinks=[],re.targetLinks=[]});var Q=(0,y.UI)(X.nodes,N);X.links.forEach(function(re,ie){re.index=ie;var oe=re.source,ue=re.target;typeof oe!="object"&&(oe=re.source=T(Q,oe)),typeof ue!="object"&&(ue=re.target=T(Q,ue)),oe.sourceLinks.push(re),ue.targetLinks.push(re)})}function H(X){X.nodes.forEach(function(Q){Q.value=Math.max((0,d.Sm)(Q.sourceLinks,c),(0,d.Sm)(Q.targetLinks,c))})}function ne(X){var Q,re,ie;for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.depth=ie,ue.sourceLinks.forEach(function(ce){re.indexOf(ce.target)<0&&re.push(ce.target)})});for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.height=ie,ue.targetLinks.forEach(function(ce){re.indexOf(ce.source)<0&&re.push(ce.source)})});var oe=(R-P-F)/(ie-1);X.nodes.forEach(function(ue){ue.x1=(ue.x0=P+Math.max(0,Math.min(ie-1,Math.floor(W.call(null,ue,ie))))*oe)+F})}function te(X){var Q=(0,y.b1)().key(function(ye){return ye.x0}).sortKeys(d.j2).entries(X.nodes).map(function(ye){return ye.values});(function(){var ye=(0,d.Fp)(Q,function(pe){return pe.length}),de=.6666666666666666*(D-I)/(ye-1);B>de&&(B=de);var me=(0,d.VV)(Q,function(pe){return(D-I-(pe.length-1)*B)/(0,d.Sm)(pe,c)});Q.forEach(function(pe){pe.forEach(function(xe,Oe){xe.y1=(xe.y0=Oe)+xe.value*me})}),X.links.forEach(function(pe){pe.width=pe.value*me})})(),ce();for(var re=1,ie=U;ie>0;--ie)ue(re*=.99),ce(),oe(re),ce();function oe(ye){Q.forEach(function(de){de.forEach(function(me){if(me.targetLinks.length){var pe=((0,d.Sm)(me.targetLinks,p)/(0,d.Sm)(me.targetLinks,c)-f(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ue(ye){Q.slice().reverse().forEach(function(de){de.forEach(function(me){if(me.sourceLinks.length){var pe=((0,d.Sm)(me.sourceLinks,w)/(0,d.Sm)(me.sourceLinks,c)-f(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ce(){Q.forEach(function(ye){var de,me,pe,xe=I,Oe=ye.length;for(ye.sort(s),pe=0;pe0&&(de.y0+=me,de.y1+=me),xe=de.y1+B;if((me=xe-B-D)>0)for(xe=de.y0-=me,de.y1-=me,pe=Oe-2;pe>=0;--pe)(me=(de=ye[pe]).y1+B-xe)>0&&(de.y0-=me,de.y1-=me),xe=de.y0})}}function Z(X){X.nodes.forEach(function(Q){Q.sourceLinks.sort(o),Q.targetLinks.sort(u)}),X.nodes.forEach(function(Q){var re=Q.y0,ie=re;Q.sourceLinks.forEach(function(oe){oe.y0=re+oe.width/2,re+=oe.width}),Q.targetLinks.forEach(function(oe){oe.y1=ie+oe.width/2,ie+=oe.width})})}return G.update=function(X){return Z(X),X},G.nodeId=function(X){return arguments.length?(N=typeof X=="function"?X:a(X),G):N},G.nodeAlign=function(X){return arguments.length?(W=typeof X=="function"?X:a(X),G):W},G.nodeWidth=function(X){return arguments.length?(F=+X,G):F},G.nodePadding=function(X){return arguments.length?(B=+X,G):B},G.nodes=function(X){return arguments.length?(j=typeof X=="function"?X:a(X),G):j},G.links=function(X){return arguments.length?(Y=typeof X=="function"?X:a(X),G):Y},G.size=function(X){return arguments.length?(P=I=0,R=+X[0],D=+X[1],G):[R-P,D-I]},G.extent=function(X){return arguments.length?(P=+X[0][0],R=+X[1][0],I=+X[0][1],D=+X[1][1],G):[[P,I],[R,D]]},G.iterations=function(X){return arguments.length?(U=+X,G):U},G}var _=t(45879);function A(P){return[P.source.x1,P.y0]}function L(P){return[P.target.x0,P.y1]}function b(){return(0,_.h5)().source(A).target(L)}},39898:function(k,m,t){var d,y;(function(){var i={version:"3.8.0"},M=[].slice,g=function(se){return M.call(se)},h=self.document;function l(se){return se&&(se.ownerDocument||se.document||se).documentElement}function a(se){return se&&(se.ownerDocument&&se.ownerDocument.defaultView||se.document&&se||se.defaultView)}if(h)try{g(h.documentElement.childNodes)[0].nodeType}catch{g=function(ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=ve[Ie];return Fe}}if(Date.now||(Date.now=function(){return+new Date}),h)try{h.createElement("DIV").style.setProperty("opacity",0,"")}catch{var u=this.Element.prototype,o=u.setAttribute,s=u.setAttributeNS,c=this.CSSStyleDeclaration.prototype,f=c.setProperty;u.setAttribute=function(ve,Ie){o.call(this,ve,Ie+"")},u.setAttributeNS=function(ve,Ie,Fe){s.call(this,ve,Ie,Fe+"")},c.setProperty=function(ve,Ie,Fe){f.call(this,ve,Ie+"",Fe)}}function p(se,ve){return seve?1:se>=ve?0:NaN}function w(se){return se===null?NaN:+se}function v(se){return!isNaN(se)}function S(se){return{left:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)<0?Fe=We+1:Ue=We}return Fe},right:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)>0?Ue=We:Fe=We+1}return Fe}}}i.ascending=p,i.descending=function(se,ve){return vese?1:ve>=se?0:NaN},i.min=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}return Ie},i.max=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}return Ie},i.extent=function(se,ve){var Ie,Fe,Ue,We=-1,Xe=se.length;if(arguments.length===1){for(;++We=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue1)return Xe/(lt-1)},i.deviation=function(){var se=i.variance.apply(this,arguments);return se&&Math.sqrt(se)};var x=S(p);function T(se){return se.length}i.bisectLeft=x.left,i.bisect=i.bisectRight=x.right,i.bisector=function(se){return S(se.length===1?function(ve,Ie){return p(se(ve),Ie)}:se)},i.shuffle=function(se,ve,Ie){(We=arguments.length)<3&&(Ie=se.length,We<2&&(ve=0));for(var Fe,Ue,We=Ie-ve;We;)Ue=Math.random()*We--|0,Fe=se[We+ve],se[We+ve]=se[Ue+ve],se[Ue+ve]=Fe;return se},i.permute=function(se,ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=se[ve[Ie]];return Fe},i.pairs=function(se){for(var ve=0,Ie=se.length-1,Fe=se[0],Ue=new Array(Ie<0?0:Ie);ve=0;)for(ve=(Fe=se[Ue]).length;--ve>=0;)Ie[--Xe]=Fe[ve];return Ie};var C=Math.abs;function _(se){for(var ve=1;se*ve%1;)ve*=10;return ve}function A(se,ve){for(var Ie in ve)Object.defineProperty(se.prototype,Ie,{value:ve[Ie],enumerable:!1})}function L(){this._=Object.create(null)}function b(se){return(se+="")=="__proto__"||se[0]==="\0"?"\0"+se:se}function P(se){return(se+="")[0]==="\0"?se.slice(1):se}function I(se){return b(se)in this._}function R(se){return(se=b(se))in this._&&delete this._[se]}function D(){var se=[];for(var ve in this._)se.push(P(ve));return se}function F(){var se=0;for(var ve in this._)++se;return se}function B(){for(var se in this._)return!1;return!0}function N(){this._=Object.create(null)}function W(se){return se}function j(se,ve,Ie){return function(){var Fe=Ie.apply(ve,arguments);return Fe===ve?se:Fe}}function Y(se,ve){if(ve in se)return ve;ve=ve.charAt(0).toUpperCase()+ve.slice(1);for(var Ie=0,Fe=U.length;Ieve;)Ue.push(Fe/We);else for(;(Fe=se+Ie*++Xe)=Fe.length)return ve?ve.call(Ie,lt):se?lt.sort(se):lt;for(var zt,Ut,Ht,en,vn=-1,tn=lt.length,ln=Fe[mt++],an=new L;++vn=Fe.length)return tt;var mt=[],zt=Ue[lt++];return tt.forEach(function(Ut,Ht){mt.push({key:Ut,values:Xe(Ht,lt)})}),zt?mt.sort(function(Ut,Ht){return zt(Ut.key,Ht.key)}):mt}return Ie.map=function(tt,lt){return We(lt,tt,0)},Ie.entries=function(tt){return Xe(We(i.map,tt,0),0)},Ie.key=function(tt){return Fe.push(tt),Ie},Ie.sortKeys=function(tt){return Ue[Fe.length-1]=tt,Ie},Ie.sortValues=function(tt){return se=tt,Ie},Ie.rollup=function(tt){return ve=tt,Ie},Ie},i.set=function(se){var ve=new N;if(se)for(var Ie=0,Fe=se.length;Ie=0&&(Fe=se.slice(Ie+1),se=se.slice(0,Ie)),se)return arguments.length<2?this[se].on(Fe):this[se].on(Fe,ve);if(arguments.length===2){if(ve==null)for(se in this)this.hasOwnProperty(se)&&this[se].on(Fe,null);return this}},i.event=null,i.requote=function(se){return se.replace(X,"\\$&")};var X=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Q={}.__proto__?function(se,ve){se.__proto__=ve}:function(se,ve){for(var Ie in ve)se[Ie]=ve[Ie]};function re(se){return Q(se,ce),se}var ie=function(se,ve){return ve.querySelector(se)},oe=function(se,ve){return ve.querySelectorAll(se)},ue=function(se,ve){var Ie=se.matches||se[Y(se,"matchesSelector")];return ue=function(Fe,Ue){return Ie.call(Fe,Ue)},ue(se,ve)};typeof Sizzle=="function"&&(ie=function(se,ve){return Sizzle(se,ve)[0]||null},oe=Sizzle,ue=Sizzle.matchesSelector),i.selection=function(){return i.select(h.documentElement)};var ce=i.selection.prototype=[];function ye(se){return typeof se=="function"?se:function(){return ie(se,this)}}function de(se){return typeof se=="function"?se:function(){return oe(se,this)}}ce.select=function(se){var ve,Ie,Fe,Ue,We=[];se=ye(se);for(var Xe=-1,tt=this.length;++Xe=0&&(Ie=se.slice(0,ve))!=="xmlns"&&(se=se.slice(ve+1)),pe.hasOwnProperty(Ie)?{space:pe[Ie],local:se}:se}},ce.attr=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node();return(se=i.ns.qualify(se)).local?Ie.getAttributeNS(se.space,se.local):Ie.getAttribute(se)}for(ve in se)this.each(xe(ve,se[ve]));return this}return this.each(xe(se,ve))},ce.classed=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node(),Fe=(se=Me(se)).length,Ue=-1;if(ve=Ie.classList){for(;++Ue=0;)(Ie=Fe[Ue])&&(We&&We!==Ie.nextSibling&&We.parentNode.insertBefore(Ie,We),We=Ie);return this},ce.sort=function(se){se=ze.apply(this,arguments);for(var ve=-1,Ie=this.length;++ve=ve&&(ve=Ue+1);!(Xe=tt[ve])&&++ve0&&(se=se.slice(0,Ue));var Xe=Ye.get(se);function tt(){var lt=this[Fe];lt&&(this.removeEventListener(se,lt,lt.$),delete this[Fe])}return Xe&&(se=Xe,We=st),Ue?ve?function(){var lt=We(ve,g(arguments));tt.call(this),this.addEventListener(se,this[Fe]=lt,lt.$=Ie),lt._=ve}:tt:ve?G:function(){var lt,mt=new RegExp("^__on([^.]+)"+i.requote(se)+"$");for(var zt in this)if(lt=zt.match(mt)){var Ut=this[zt];this.removeEventListener(lt[1],Ut,Ut.$),delete this[zt]}}}i.selection.enter=ge,i.selection.enter.prototype=we,we.append=ce.append,we.empty=ce.empty,we.node=ce.node,we.call=ce.call,we.size=ce.size,we.select=function(se){for(var ve,Ie,Fe,Ue,We,Xe=[],tt=-1,lt=this.length;++tt1?Vt:se<-1?-Vt:Math.asin(se)}function nt(se){return((se=Math.exp(se))+1/se)/2}var ht=Math.SQRT2;i.interpolateZoom=function(se,ve){var Ie,Fe,Ue=se[0],We=se[1],Xe=se[2],tt=ve[0],lt=ve[1],mt=ve[2],zt=tt-Ue,Ut=lt-We,Ht=zt*zt+Ut*Ut;if(Ht<1e-12)Fe=Math.log(mt/Xe)/ht,Ie=function(Cn){return[Ue+Cn*zt,We+Cn*Ut,Xe*Math.exp(ht*Cn*Fe)]};else{var en=Math.sqrt(Ht),vn=(mt*mt-Xe*Xe+4*Ht)/(2*Xe*2*en),tn=(mt*mt-Xe*Xe-4*Ht)/(2*mt*2*en),ln=Math.log(Math.sqrt(vn*vn+1)-vn),an=Math.log(Math.sqrt(tn*tn+1)-tn);Fe=(an-ln)/ht,Ie=function(Cn){var _n,on=Cn*Fe,Fn=nt(ln),Hn=Xe/(2*en)*(Fn*(_n=ht*on+ln,((_n=Math.exp(2*_n))-1)/(_n+1))-function(ir){return((ir=Math.exp(ir))-1/ir)/2}(ln));return[Ue+Hn*zt,We+Hn*Ut,Xe*Fn/nt(ht*on+ln)]}}return Ie.duration=1e3*Fe,Ie},i.behavior.zoom=function(){var se,ve,Ie,Fe,Ue,We,Xe,tt,lt,mt={x:0,y:0,k:1},zt=[960,500],Ut=Qe,Ht=250,en=0,vn="mousedown.zoom",tn="mousemove.zoom",ln="mouseup.zoom",an="touchstart.zoom",Cn=Z(_n,"zoomstart","zoom","zoomend");function _n(wr){wr.on(vn,kr).on(Ne+".zoom",hi).on("dblclick.zoom",di).on(an,jr)}function on(wr){return[(wr[0]-mt.x)/mt.k,(wr[1]-mt.y)/mt.k]}function Fn(wr){mt.k=Math.max(Ut[0],Math.min(Ut[1],wr))}function Hn(wr,Ur){Ur=function(oi){return[oi[0]*mt.k+mt.x,oi[1]*mt.k+mt.y]}(Ur),mt.x+=wr[0]-Ur[0],mt.y+=wr[1]-Ur[1]}function ir(wr,Ur,oi,ai){wr.__chart__={x:mt.x,y:mt.y,k:mt.k},Fn(Math.pow(2,ai)),Hn(ve=Ur,oi),wr=i.select(wr),Ht>0&&(wr=wr.transition().duration(Ht)),wr.call(_n.event)}function ar(){Xe&&Xe.domain(We.range().map(function(wr){return(wr-mt.x)/mt.k}).map(We.invert)),lt&<.domain(tt.range().map(function(wr){return(wr-mt.y)/mt.k}).map(tt.invert))}function Mr(wr){en++||wr({type:"zoomstart"})}function Er(wr){ar(),wr({type:"zoom",scale:mt.k,translate:[mt.x,mt.y]})}function xr(wr){--en||(wr({type:"zoomend"}),ve=null)}function kr(){var wr=this,Ur=Cn.of(wr,arguments),oi=0,ai=i.select(a(wr)).on(tn,Ni).on(ln,na),Ii=on(i.mouse(wr)),vi=bt(wr);function Ni(){oi=1,Hn(i.mouse(wr),Ii),Er(Ur)}function na(){ai.on(tn,null).on(ln,null),vi(oi),xr(Ur)}la.call(wr),Mr(Ur)}function jr(){var wr,Ur=this,oi=Cn.of(Ur,arguments),ai={},Ii=0,vi=".zoom-"+i.event.changedTouches[0].identifier,Ni="touchmove"+vi,na="touchend"+vi,pa=[],ua=i.select(Ur),Qi=bt(Ur);function ra(){var Za=i.touches(Ur);return wr=mt.k,Za.forEach(function(ui){ui.identifier in ai&&(ai[ui.identifier]=on(ui))}),Za}function ca(){var Za=i.event.target;i.select(Za).on(Ni,Ia).on(na,zl),pa.push(Za);for(var ui=i.event.changedTouches,fo=0,_o=ui.length;fo<_o;++fo)ai[ui[fo].identifier]=null;var Aa=ra(),Ds=Date.now();if(Aa.length===1){if(Ds-Ue<500){var Pi=Aa[0];ir(Ur,Pi,ai[Pi.identifier],Math.floor(Math.log(mt.k)/Math.LN2)+1),ne()}Ue=Ds}else if(Aa.length>1){Pi=Aa[0];var Xa=Aa[1],jo=Pi[0]-Xa[0],Xc=Pi[1]-Xa[1];Ii=jo*jo+Xc*Xc}}function Ia(){var Za,ui,fo,_o,Aa=i.touches(Ur);la.call(Ur);for(var Ds=0,Pi=Aa.length;Ds360?tt-=360:tt<0&&(tt+=360),tt<60?Fe+(Ue-Fe)*tt/60:tt<180?Ue:tt<240?Fe+(Ue-Fe)*(240-tt)/60:Fe}(Xe))}return se=isNaN(se)?0:(se%=360)<0?se+360:se,ve=isNaN(ve)||ve<0?0:ve>1?1:ve,Fe=2*(Ie=Ie<0?0:Ie>1?1:Ie)-(Ue=Ie<=.5?Ie*(1+ve):Ie+ve-Ie*ve),new An(We(se+120),We(se),We(se-120))}function Lt(se,ve,Ie){return this instanceof Lt?(this.h=+se,this.c=+ve,void(this.l=+Ie)):arguments.length<2?se instanceof Lt?new Lt(se.h,se.c,se.l):Qt(se instanceof wt?se.l:(se=Dn((se=i.rgb(se)).r,se.g,se.b)).l,se.a,se.b):new Lt(se,ve,Ie)}_t.brighter=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,this.l/se)},_t.darker=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,se*this.l)},_t.rgb=function(){return It(this.h,this.s,this.l)},i.hcl=Lt;var yt=Lt.prototype=new ut;function Ot(se,ve,Ie){return isNaN(se)&&(se=0),isNaN(ve)&&(ve=0),new wt(Ie,Math.cos(se*=Ke)*ve,Math.sin(se)*ve)}function wt(se,ve,Ie){return this instanceof wt?(this.l=+se,this.a=+ve,void(this.b=+Ie)):arguments.length<2?se instanceof wt?new wt(se.l,se.a,se.b):se instanceof Lt?Ot(se.h,se.c,se.l):Dn((se=An(se)).r,se.g,se.b):new wt(se,ve,Ie)}yt.brighter=function(se){return new Lt(this.h,this.c,Math.min(100,this.l+Pt*(arguments.length?se:1)))},yt.darker=function(se){return new Lt(this.h,this.c,Math.max(0,this.l-Pt*(arguments.length?se:1)))},yt.rgb=function(){return Ot(this.h,this.c,this.l).rgb()},i.lab=wt;var Pt=18,Nt=.95047,$t=1.08883,Wt=wt.prototype=new ut;function Xt(se,ve,Ie){var Fe=(se+16)/116,Ue=Fe+ve/500,We=Fe-Ie/200;return new An(un(3.2404542*(Ue=rn(Ue)*Nt)-1.5371385*(Fe=1*rn(Fe))-.4985314*(We=rn(We)*$t)),un(-.969266*Ue+1.8760108*Fe+.041556*We),un(.0556434*Ue-.2040259*Fe+1.0572252*We))}function Qt(se,ve,Ie){return se>0?new Lt(Math.atan2(Ie,ve)*Je,Math.sqrt(ve*ve+Ie*Ie),se):new Lt(NaN,NaN,se)}function rn(se){return se>.206893034?se*se*se:(se-.13793103448275862)/7.787037}function xn(se){return se>.008856?Math.pow(se,.3333333333333333):7.787037*se+.13793103448275862}function un(se){return Math.round(255*(se<=.00304?12.92*se:1.055*Math.pow(se,.4166666666666667)-.055))}function An(se,ve,Ie){return this instanceof An?(this.r=~~se,this.g=~~ve,void(this.b=~~Ie)):arguments.length<2?se instanceof An?new An(se.r,se.g,se.b):dn(""+se,An,It):new An(se,ve,Ie)}function $n(se){return new An(se>>16,se>>8&255,255&se)}function kn(se){return $n(se)+""}Wt.brighter=function(se){return new wt(Math.min(100,this.l+Pt*(arguments.length?se:1)),this.a,this.b)},Wt.darker=function(se){return new wt(Math.max(0,this.l-Pt*(arguments.length?se:1)),this.a,this.b)},Wt.rgb=function(){return Xt(this.l,this.a,this.b)},i.rgb=An;var sn=An.prototype=new ut;function Tn(se){return se<16?"0"+Math.max(0,se).toString(16):Math.min(255,se).toString(16)}function dn(se,ve,Ie){var Fe,Ue,We,Xe=0,tt=0,lt=0;if(Fe=/([a-z]+)\((.*)\)/.exec(se=se.toLowerCase()))switch(Ue=Fe[2].split(","),Fe[1]){case"hsl":return Ie(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return ve(jn(Ue[0]),jn(Ue[1]),jn(Ue[2]))}return(We=Gn.get(se))?ve(We.r,We.g,We.b):(se==null||se.charAt(0)!=="#"||isNaN(We=parseInt(se.slice(1),16))||(se.length===4?(Xe=(3840&We)>>4,Xe|=Xe>>4,tt=240&We,tt|=tt>>4,lt=15&We,lt|=lt<<4):se.length===7&&(Xe=(16711680&We)>>16,tt=(65280&We)>>8,lt=255&We)),ve(Xe,tt,lt))}function pn(se,ve,Ie){var Fe,Ue,We=Math.min(se/=255,ve/=255,Ie/=255),Xe=Math.max(se,ve,Ie),tt=Xe-We,lt=(Xe+We)/2;return tt?(Ue=lt<.5?tt/(Xe+We):tt/(2-Xe-We),Fe=se==Xe?(ve-Ie)/tt+(ve0&<<1?0:Fe),new dt(Fe,Ue,lt)}function Dn(se,ve,Ie){var Fe=xn((.4124564*(se=In(se))+.3575761*(ve=In(ve))+.1804375*(Ie=In(Ie)))/Nt),Ue=xn((.2126729*se+.7151522*ve+.072175*Ie)/1);return wt(116*Ue-16,500*(Fe-Ue),200*(Ue-xn((.0193339*se+.119192*ve+.9503041*Ie)/$t)))}function In(se){return(se/=255)<=.04045?se/12.92:Math.pow((se+.055)/1.055,2.4)}function jn(se){var ve=parseFloat(se);return se.charAt(se.length-1)==="%"?Math.round(2.55*ve):ve}sn.brighter=function(se){se=Math.pow(.7,arguments.length?se:1);var ve=this.r,Ie=this.g,Fe=this.b,Ue=30;return ve||Ie||Fe?(ve&&ve=200&&Ut<300||Ut===304){try{zt=Ie.call(Ue,tt)}catch(Ht){return void We.error.call(Ue,Ht)}We.load.call(Ue,zt)}else We.error.call(Ue,tt)}return self.XDomainRequest&&!("withCredentials"in tt)&&/^(http(s)?:)?\/\//.test(se)&&(tt=new XDomainRequest),"onload"in tt?tt.onload=tt.onerror=mt:tt.onreadystatechange=function(){tt.readyState>3&&mt()},tt.onprogress=function(zt){var Ut=i.event;i.event=zt;try{We.progress.call(Ue,tt)}finally{i.event=Ut}},Ue.header=function(zt,Ut){return zt=(zt+"").toLowerCase(),arguments.length<2?Xe[zt]:(Ut==null?delete Xe[zt]:Xe[zt]=Ut+"",Ue)},Ue.mimeType=function(zt){return arguments.length?(ve=zt==null?null:zt+"",Ue):ve},Ue.responseType=function(zt){return arguments.length?(lt=zt,Ue):lt},Ue.response=function(zt){return Ie=zt,Ue},["get","post"].forEach(function(zt){Ue[zt]=function(){return Ue.send.apply(Ue,[zt].concat(g(arguments)))}}),Ue.send=function(zt,Ut,Ht){if(arguments.length===2&&typeof Ut=="function"&&(Ht=Ut,Ut=null),tt.open(zt,se,!0),ve==null||"accept"in Xe||(Xe.accept=ve+",*/*"),tt.setRequestHeader)for(var en in Xe)tt.setRequestHeader(en,Xe[en]);return ve!=null&&tt.overrideMimeType&&tt.overrideMimeType(ve),lt!=null&&(tt.responseType=lt),Ht!=null&&Ue.on("error",Ht).on("load",function(vn){Ht(null,vn)}),We.beforesend.call(Ue,tt),tt.send(Ut??null),Ue},Ue.abort=function(){return tt.abort(),Ue},i.rebind(Ue,We,"on"),Fe==null?Ue:Ue.get(function(zt){return zt.length===1?function(Ut,Ht){zt(Ut==null?Ht:null)}:zt}(Fe))}Gn.forEach(function(se,ve){Gn.set(se,$n(ve))}),i.functor=qn,i.xhr=lr(W),i.dsv=function(se,ve){var Ie=new RegExp('["'+se+` +]`),Fe=se.charCodeAt(0);function Ue(mt,zt,Ut){arguments.length<3&&(Ut=zt,zt=null);var Ht=rr(mt,ve,zt==null?We:Xe(zt),Ut);return Ht.row=function(en){return arguments.length?Ht.response((zt=en)==null?We:Xe(en)):zt},Ht}function We(mt){return Ue.parse(mt.responseText)}function Xe(mt){return function(zt){return Ue.parse(zt.responseText,mt)}}function tt(mt){return mt.map(lt).join(se)}function lt(mt){return Ie.test(mt)?'"'+mt.replace(/\"/g,'""')+'"':mt}return Ue.parse=function(mt,zt){var Ut;return Ue.parseRows(mt,function(Ht,en){if(Ut)return Ut(Ht,en-1);var vn=function(tn){for(var ln={},an=Ht.length,Cn=0;Cn=ln)return vn;if(Ht)return Ht=!1,en;var Fn=an;if(mt.charCodeAt(Fn)===34){for(var Hn=Fn;Hn++24?(isFinite(ve)&&(clearTimeout(vr),vr=setTimeout(bn,ve)),or=0):(or=1,_r(bn))}function On(){for(var se=Date.now(),ve=Sr;ve;)se>=ve.t&&ve.c(se-ve.t)&&(ve.c=null),ve=ve.n;return se}function Ln(){for(var se,ve=Sr,Ie=1/0;ve;)ve.c?(ve.t1&&(ve=se[qe[Xe-2]],Ie=se[qe[Xe-1]],Fe=se[tt],(Ie[0]-ve[0])*(Fe[1]-ve[1])-(Ie[1]-ve[1])*(Fe[0]-ve[0])<=0);)--Xe;qe[Xe++]=tt}return qe.slice(0,Xe)}function tr(se,ve){return se[0]-ve[0]||se[1]-ve[1]}i.timer=function(){Kt.apply(this,arguments)},i.timer.flush=function(){On(),Ln()},i.round=function(se,ve){return ve?Math.round(se*(ve=Math.pow(10,ve)))/ve:Math.round(se)},i.geom={},i.geom.hull=function(se){var ve=Un,Ie=Kn;if(arguments.length)return Fe(se);function Fe(Ue){if(Ue.length<3)return[];var qe,Xe=Wn(ve),tt=Wn(Ie),lt=Ue.length,mt=[],zt=[];for(qe=0;qe=0;--qe)tn.push(Ue[mt[Ut[qe]][2]]);for(qe=+en;qeFt)tt=tt.L;else{if(!((Ue=qe-Qn(tt,Xe))>Ft)){Fe>-Ft?(ve=tt.P,Ie=tt):Ue>-Ft?(ve=tt,Ie=tt.N):ve=Ie=tt;break}if(!tt.R){ve=tt;break}tt=tt.R}var lt=yn(se);if(zn.insert(ve,lt),ve||Ie){if(ve===Ie)return br(ve),Ie=yn(ve.site),zn.insert(lt,Ie),lt.edge=Ie.edge=zr(ve.site,lt.site),dr(ve),void dr(Ie);if(Ie){br(ve),br(Ie);var mt=ve.site,zt=mt.x,Ut=mt.y,Ht=se.x-zt,en=se.y-Ut,vn=Ie.site,tn=vn.x-zt,ln=vn.y-Ut,an=2*(Ht*ln-en*tn),Cn=Ht*Ht+en*en,_n=tn*tn+ln*ln,on={x:(ln*Cn-en*_n)/an+zt,y:(Ht*_n-tn*Cn)/an+Ut};gr(Ie.edge,mt,vn,on),lt.edge=zr(mt,se,null,on),Ie.edge=zr(se,vn,null,on),dr(ve),dr(Ie)}else lt.edge=zr(ve.site,lt.site)}}function nr(se,ve){var Ie=se.site,Fe=Ie.x,Ue=Ie.y,qe=Ue-ve;if(!qe)return Fe;var Xe=se.P;if(!Xe)return-1/0;var tt=(Ie=Xe.site).x,lt=Ie.y,mt=lt-ve;if(!mt)return tt;var zt=tt-Fe,Ut=1/qe-1/mt,Ht=zt/mt;return Ut?(-Ht+Math.sqrt(Ht*Ht-2*Ut*(zt*zt/(-2*mt)-lt+mt/2+Ue-qe/2)))/Ut+Fe:(Fe+tt)/2}function Qn(se,ve){var Ie=se.N;if(Ie)return nr(Ie,ve);var Fe=se.site;return Fe.y===ve?Fe.x:1/0}function fr(se){this.site=se,this.edges=[]}function cr(se,ve){return ve.angle-se.angle}function pr(){ji(this),this.x=this.y=this.arc=this.site=this.cy=null}function dr(se){var ve=se.P,Ie=se.N;if(ve&&Ie){var Fe=ve.site,Ue=se.site,qe=Ie.site;if(Fe!==qe){var Xe=Ue.x,tt=Ue.y,lt=Fe.x-Xe,mt=Fe.y-tt,zt=qe.x-Xe,Ut=2*(lt*(ln=qe.y-tt)-mt*zt);if(!(Ut>=-1e-12)){var Ht=lt*lt+mt*mt,en=zt*zt+ln*ln,vn=(ln*Ht-mt*en)/Ut,tn=(lt*en-zt*Ht)/Ut,ln=tn+tt,an=wn.pop()||new pr;an.arc=se,an.site=Ue,an.x=vn+Xe,an.y=ln+Math.sqrt(vn*vn+tn*tn),an.cy=ln,se.circle=an;for(var Cn=null,_n=En._;_n;)if(an.y<_n.y||an.y===_n.y&&an.x<=_n.x){if(!_n.L){Cn=_n.P;break}_n=_n.L}else{if(!_n.R){Cn=_n;break}_n=_n.R}En.insert(Cn,an),Cn||(Rn=an)}}}}function br(se){var ve=se.circle;ve&&(ve.P||(Rn=ve.N),En.remove(ve),wn.push(ve),ji(ve),se.circle=null)}function Ir(se,ve){var Ie=se.b;if(Ie)return!0;var Fe,Ue,qe=se.a,Xe=ve[0][0],tt=ve[1][0],lt=ve[0][1],mt=ve[1][1],zt=se.l,Ut=se.r,Ht=zt.x,en=zt.y,vn=Ut.x,tn=Ut.y,ln=(Ht+vn)/2,an=(en+tn)/2;if(tn===en){if(ln=tt)return;if(Ht>vn){if(qe){if(qe.y>=mt)return}else qe={x:ln,y:lt};Ie={x:ln,y:mt}}else{if(qe){if(qe.y1)if(Ht>vn){if(qe){if(qe.y>=mt)return}else qe={x:(lt-Ue)/Fe,y:lt};Ie={x:(mt-Ue)/Fe,y:mt}}else{if(qe){if(qe.y=tt)return}else qe={x:Xe,y:Fe*Xe+Ue};Ie={x:tt,y:Fe*tt+Ue}}else{if(qe){if(qe.x0)){if(an/=ar,ar<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ut-on,ar||!(an<0)){if(an/=ar,ar<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(ar>0){if(an0)){if(an/=Mr,Mr<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ht-Fn,Mr||!(an<0)){if(an/=Mr,Mr<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(Mr>0){if(an0&&(ln.a={x:on+Hn*ar,y:Fn+Hn*Mr}),ir<1&&(ln.b={x:on+ir*ar,y:Fn+ir*Mr}),ln}}}}}),tn=en.length;tn--;)(!Ir(lt=en[tn],tt)||!vn(lt)||C(lt.a.x-lt.b.x)Ft||C(Ut-mt)>Ft)&&(vn.splice(en,0,new Fr((ar=Ht.site,Mr=an,Er=C(zt-Cn)Ft?{x:Cn,y:C(lt-Cn)Ft?{x:C(mt-Fn)Ft?{x:_n,y:C(lt-_n)Ft?{x:C(mt-on)=zt&&an.x<=Ht&&an.y>=Ut&&an.y<=en?[[zt,en],[Ht,en],[Ht,Ut],[zt,Ut]]:[]).point=lt[tn]}),mt}function tt(lt){return lt.map(function(mt,zt){return{x:Math.round(Fe(mt,zt)/Ft)*Ft,y:Math.round(Ue(mt,zt)/Ft)*Ft,i:zt}})}return Xe.links=function(lt){return La(tt(lt)).edges.filter(function(mt){return mt.l&&mt.r}).map(function(mt){return{source:lt[mt.l.i],target:lt[mt.r.i]}})},Xe.triangles=function(lt){var mt=[];return La(tt(lt)).cells.forEach(function(zt,Ut){for(var Ht,en,vn,tn,ln=zt.site,an=zt.edges.sort(cr),Cn=-1,_n=an.length,on=an[_n-1].edge,Fn=on.l===ln?on.r:on.l;++Cn<_n;)Ht=Fn,Fn=(on=an[Cn].edge).l===ln?on.r:on.l,Utqe||Ht>Xe||en=Hn)<<1|ve>=Fn,ar=ir+4;irqe&&(Ue=ve.slice(qe,Ue),tt[Xe]?tt[Xe]+=Ue:tt[++Xe]=Ue),(Ie=Ie[0])===(Fe=Fe[0])?tt[Xe]?tt[Xe]+=Fe:tt[++Xe]=Fe:(tt[++Xe]=null,lt.push({i:Xe,x:is(Ie,Fe)})),qe=uc.lastIndex;return qean&&(an=zt.x),zt.y>Cn&&(Cn=zt.y),Ut.push(zt.x),Ht.push(zt.y);else for(en=0;enan&&(an=Fn),Hn>Cn&&(Cn=Hn),Ut.push(Fn),Ht.push(Hn)}var ir=an-tn,ar=Cn-ln;function Mr(kr,jr,hi,di,wr,Ur,oi,ai){if(!isNaN(hi)&&!isNaN(di))if(kr.leaf){var Ii=kr.x,vi=kr.y;if(Ii!=null)if(C(Ii-hi)+C(vi-di)<.01)Er(kr,jr,hi,di,wr,Ur,oi,ai);else{var Ni=kr.point;kr.x=kr.y=kr.point=null,Er(kr,Ni,Ii,vi,wr,Ur,oi,ai),Er(kr,jr,hi,di,wr,Ur,oi,ai)}else kr.x=hi,kr.y=di,kr.point=jr}else Er(kr,jr,hi,di,wr,Ur,oi,ai)}function Er(kr,jr,hi,di,wr,Ur,oi,ai){var Ii=.5*(wr+oi),vi=.5*(Ur+ai),Ni=hi>=Ii,na=di>=vi,pa=na<<1|Ni;kr.leaf=!1,Ni?wr=Ii:oi=Ii,na?Ur=vi:ai=vi,Mr(kr=kr.nodes[pa]||(kr.nodes[pa]={leaf:!0,nodes:[],point:null,x:null,y:null}),jr,hi,di,wr,Ur,oi,ai)}ir>ar?Cn=ln+ir:an=tn+ar;var xr={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(kr){Mr(xr,kr,+_n(kr,++en),+on(kr,en),tn,ln,an,Cn)},visit:function(kr){Cu(kr,xr,tn,ln,an,Cn)},find:function(kr){return gh(xr,kr[0],kr[1],tn,ln,an,Cn)}};if(en=-1,ve==null){for(;++en=0&&!(Ie=i.interpolators[Fe](se,ve)););return Ie}function as(se,ve){var Ie,Fe=[],Ue=[],qe=se.length,Xe=ve.length,tt=Math.min(se.length,ve.length);for(Ie=0;Ie=1?1:se(ve)}}function Es(se){return function(ve){return 1-se(1-ve)}}function js(se){return function(ve){return .5*(ve<.5?se(2*ve):2-se(2-2*ve))}}function cc(se){return se*se}function vh(se){return se*se*se}function nl(se){if(se<=0)return 0;if(se>=1)return 1;var ve=se*se,Ie=ve*se;return 4*(se<.5?Ie:3*(se-ve)+Ie-.75)}function yh(se){return 1-Math.cos(se*Vt)}function bh(se){return Math.pow(2,10*(se-1))}function id(se){return 1-Math.sqrt(1-se*se)}function Cf(se){return se<.36363636363636365?7.5625*se*se:se<.7272727272727273?7.5625*(se-=.5454545454545454)*se+.75:se<.9090909090909091?7.5625*(se-=.8181818181818182)*se+.9375:7.5625*(se-=.9545454545454546)*se+.984375}function xh(se,ve){return ve-=se,function(Ie){return Math.round(se+ve*Ie)}}function Ef(se){var ve,Ie,Fe,Ue=[se.a,se.b],qe=[se.c,se.d],Xe=il(Ue),tt=rl(Ue,qe),lt=il(((ve=qe)[0]+=(Fe=-tt)*(Ie=Ue)[0],ve[1]+=Fe*Ie[1],ve))||0;Ue[0]*qe[1]=0?se.slice(0,ve):se,Fe=ve>=0?se.slice(ve+1):"in";return Ie=Ui.get(Ie)||Al,ps((Fe=Sl.get(Fe)||q)(Ie.apply(null,M.call(arguments,1))))},i.interpolateHcl=function(se,ve){se=i.hcl(se),ve=i.hcl(ve);var Ie=se.h,Fe=se.c,Ue=se.l,qe=ve.h-Ie,Xe=ve.c-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.c:Fe),isNaN(qe)?(qe=0,Ie=isNaN(Ie)?ve.h:Ie):qe>180?qe-=360:qe<-180&&(qe+=360),function(lt){return Pt(Ie+qe*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateHsl=function(se,ve){se=i.hsl(se),ve=i.hsl(ve);var Ie=se.h,Fe=se.s,Ue=se.l,qe=ve.h-Ie,Xe=ve.s-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.s:Fe),isNaN(qe)?(qe=0,Ie=isNaN(Ie)?ve.h:Ie):qe>180?qe-=360:qe<-180&&(qe+=360),function(lt){return It(Ie+qe*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateLab=function(se,ve){se=i.lab(se),ve=i.lab(ve);var Ie=se.l,Fe=se.a,Ue=se.b,qe=ve.l-Ie,Xe=ve.a-Fe,tt=ve.b-Ue;return function(lt){return Xt(Ie+qe*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateRound=xh,i.transform=function(se){var ve=h.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ie){if(Ie!=null){ve.setAttribute("transform",Ie);var Fe=ve.transform.baseVal.consolidate()}return new Ef(Fe?Fe.matrix:Lu)})(se)},Ef.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Lu={a:1,b:0,c:0,d:1,e:0,f:0};function al(se){return se.length?se.pop()+",":""}function Lf(se,ve){var Ie=[],Fe=[];return se=i.transform(se),ve=i.transform(ve),function(Ue,qe,Xe,tt){if(Ue[0]!==qe[0]||Ue[1]!==qe[1]){var lt=Xe.push("translate(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],qe[0])},{i:lt-2,x:is(Ue[1],qe[1])})}else(qe[0]||qe[1])&&Xe.push("translate("+qe+")")}(se.translate,ve.translate,Ie,Fe),function(Ue,qe,Xe,tt){Ue!==qe?(Ue-qe>180?qe+=360:qe-Ue>180&&(Ue+=360),tt.push({i:Xe.push(al(Xe)+"rotate(",null,")")-2,x:is(Ue,qe)})):qe&&Xe.push(al(Xe)+"rotate("+qe+")")}(se.rotate,ve.rotate,Ie,Fe),function(Ue,qe,Xe,tt){Ue!==qe?tt.push({i:Xe.push(al(Xe)+"skewX(",null,")")-2,x:is(Ue,qe)}):qe&&Xe.push(al(Xe)+"skewX("+qe+")")}(se.skew,ve.skew,Ie,Fe),function(Ue,qe,Xe,tt){if(Ue[0]!==qe[0]||Ue[1]!==qe[1]){var lt=Xe.push(al(Xe)+"scale(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],qe[0])},{i:lt-2,x:is(Ue[1],qe[1])})}else qe[0]===1&&qe[1]===1||Xe.push(al(Xe)+"scale("+qe+")")}(se.scale,ve.scale,Ie,Fe),se=ve=null,function(Ue){for(var qe,Xe=-1,tt=Fe.length;++Xe0?Ie=on:(se.c=null,se.t=NaN,se=null,tt.end({type:"end",alpha:Ie=0})):on>0&&(tt.start({type:"start",alpha:Ie=on}),se=Kt(Xe.tick)),Xe):Ie},Xe.start=function(){var on,Fn,Hn,ir=ln.length,ar=an.length,Mr=lt[0],Er=lt[1];for(on=0;on=0;)Ie.push(Ue[Fe])}function ms(se,ve){for(var Ie=[se],Fe=[];(se=Ie.pop())!=null;)if(Fe.push(se),(qe=se.children)&&(Ue=qe.length))for(var Ue,qe,Xe=-1;++Xe=0;)Xe.push(zt=mt[lt]),zt.parent=qe,zt.depth=qe.depth+1;Ie&&(qe.value=0),qe.children=mt}else Ie&&(qe.value=+Ie.call(Fe,qe,qe.depth)||0),delete qe.children;return ms(Ue,function(Ut){var Ht,en;se&&(Ht=Ut.children)&&Ht.sort(se),Ie&&(en=Ut.parent)&&(en.value+=Ut.value)}),tt}return Fe.sort=function(Ue){return arguments.length?(se=Ue,Fe):se},Fe.children=function(Ue){return arguments.length?(ve=Ue,Fe):ve},Fe.value=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe.revalue=function(Ue){return Ie&&(Ou(Ue,function(qe){qe.children&&(qe.value=0)}),ms(Ue,function(qe){var Xe;qe.children||(qe.value=+Ie.call(Fe,qe,qe.depth)||0),(Xe=qe.parent)&&(Xe.value+=qe.value)})),Ue},Fe},i.layout.partition=function(){var se=i.layout.hierarchy(),ve=[1,1];function Ie(qe,Xe,tt,lt){var mt=qe.children;if(qe.x=Xe,qe.y=qe.depth*lt,qe.dx=tt,qe.dy=lt,mt&&(zt=mt.length)){var zt,Ut,Ht,en=-1;for(tt=qe.value?tt/qe.value:0;++entt&&(tt=Fe),Xe.push(Fe)}for(Ie=0;IeUe&&(Fe=Ie,Ue=ve);return Fe}function Ll(se){return se.reduce(Uc,0)}function Uc(se,ve){return se+ve[1]}function yc(se,ve){return Rf(se,Math.ceil(Math.log(ve.length)/Math.LN2+1))}function Rf(se,ve){for(var Ie=-1,Fe=+se[0],Ue=(se[1]-Fe)/ve,qe=[];++Ie<=ve;)qe[Ie]=Ue*Ie+Fe;return qe}function bc(se){return[i.min(se),i.max(se)]}function Du(se,ve){return se.value-ve.value}function ru(se,ve){var Ie=se._pack_next;se._pack_next=ve,ve._pack_prev=se,ve._pack_next=Ie,Ie._pack_prev=ve}function iu(se,ve){se._pack_next=ve,ve._pack_prev=se}function Ki(se,ve){var Ie=ve.x-se.x,Fe=ve.y-se.y,Ue=se.r+ve.r;return .999*Ue*Ue>Ie*Ie+Fe*Fe}function Il(se){if((ve=se.children)&&(lt=ve.length)){var ve,Ie,Fe,Ue,qe,Xe,tt,lt,mt=1/0,zt=-1/0,Ut=1/0,Ht=-1/0;if(ve.forEach(Ol),(Ie=ve[0]).x=-Ie.r,Ie.y=0,_n(Ie),lt>1&&((Fe=ve[1]).x=Fe.r,Fe.y=0,_n(Fe),lt>2))for(Bi(Ie,Fe,Ue=ve[2]),_n(Ue),ru(Ie,Ue),Ie._pack_prev=Ue,ru(Ue,Fe),Fe=Ie._pack_next,qe=3;qe0)for(Xe=-1;++Xe=Ut[0]&<<=Ut[1]&&((tt=mt[i.bisect(Ht,lt,1,vn)-1]).y+=tn,tt.push(qe[Xe]));return mt}return Ue.value=function(qe){return arguments.length?(ve=qe,Ue):ve},Ue.range=function(qe){return arguments.length?(Ie=Wn(qe),Ue):Ie},Ue.bins=function(qe){return arguments.length?(Fe=typeof qe=="number"?function(Xe){return Rf(Xe,qe)}:Wn(qe),Ue):Fe},Ue.frequency=function(qe){return arguments.length?(se=!!qe,Ue):se},Ue},i.layout.pack=function(){var se,ve=i.layout.hierarchy().sort(Du),Ie=0,Fe=[1,1];function Ue(qe,Xe){var tt=ve.call(this,qe,Xe),lt=tt[0],mt=Fe[0],zt=Fe[1],Ut=se==null?Math.sqrt:typeof se=="function"?se:function(){return se};if(lt.x=lt.y=0,ms(lt,function(en){en.r=+Ut(en.value)}),ms(lt,Il),Ie){var Ht=Ie*(se?1:Math.max(2*lt.r/mt,2*lt.r/zt))/2;ms(lt,function(en){en.r+=Ht}),ms(lt,Il),ms(lt,function(en){en.r-=Ht})}return Ri(lt,mt/2,zt/2,se?1:1/Math.max(2*lt.r/mt,2*lt.r/zt)),tt}return Ue.size=function(qe){return arguments.length?(Fe=qe,Ue):Fe},Ue.radius=function(qe){return arguments.length?(se=qe==null||typeof qe=="function"?qe:+qe,Ue):se},Ue.padding=function(qe){return arguments.length?(Ie=+qe,Ue):Ie},eu(Ue,ve)},i.layout.tree=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=sl,Ie=[1,1],Fe=null;function Ue(lt,mt){var zt=se.call(this,lt,mt),Ut=zt[0],Ht=function(_n){for(var on,Fn={A:null,children:[_n]},Hn=[Fn];(on=Hn.pop())!=null;)for(var ir,ar=on.children,Mr=0,Er=ar.length;Mrvn.x&&(vn=_n),_n.depth>tn.depth&&(tn=_n)});var ln=ve(en,vn)/2-en.x,an=Ie[0]/(vn.x+ve(vn,en)/2+ln),Cn=Ie[1]/(tn.depth||1);Ou(Ut,function(_n){_n.x=(_n.x+ln)*an,_n.y=_n.depth*Cn})}return zt}function qe(lt){var mt=lt.children,zt=lt.parent.children,Ut=lt.i?zt[lt.i-1]:null;if(mt.length){(function(en){for(var vn,tn=0,ln=0,an=en.children,Cn=an.length;--Cn>=0;)(vn=an[Cn]).z+=tn,vn.m+=tn,tn+=vn.s+(ln+=vn.c)})(lt);var Ht=(mt[0].z+mt[mt.length-1].z)/2;Ut?(lt.z=Ut.z+ve(lt._,Ut._),lt.m=lt.z-Ht):lt.z=Ht}else Ut&&(lt.z=Ut.z+ve(lt._,Ut._));lt.parent.A=function(en,vn,tn){if(vn){for(var ln,an=en,Cn=en,_n=vn,on=an.parent.children[0],Fn=an.m,Hn=Cn.m,ir=_n.m,ar=on.m;_n=Hc(_n),an=Us(an),_n&&an;)on=Us(on),(Cn=Hc(Cn)).a=en,(ln=_n.z+ir-an.z-Fn+ve(_n._,an._))>0&&(Df(au(_n,en,tn),en,ln),Fn+=ln,Hn+=ln),ir+=_n.m,Fn+=an.m,ar+=on.m,Hn+=Cn.m;_n&&!Hc(Cn)&&(Cn.t=_n,Cn.m+=ir-Hn),an&&!Us(on)&&(on.t=an,on.m+=Fn-ar,tn=en)}return tn}(lt,Ut,lt.parent.A||zt[0])}function Xe(lt){lt._.x=lt.z+lt.parent.m,lt.m+=lt.parent.m}function tt(lt){lt.x*=Ie[0],lt.y=lt.depth*Ie[1]}return Ue.separation=function(lt){return arguments.length?(ve=lt,Ue):ve},Ue.size=function(lt){return arguments.length?(Fe=(Ie=lt)==null?tt:null,Ue):Fe?null:Ie},Ue.nodeSize=function(lt){return arguments.length?(Fe=(Ie=lt)==null?null:tt,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.cluster=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=sl,Ie=[1,1],Fe=!1;function Ue(qe,Xe){var tt,lt=se.call(this,qe,Xe),mt=lt[0],zt=0;ms(mt,function(tn){var ln=tn.children;ln&&ln.length?(tn.x=function(an){return an.reduce(function(Cn,_n){return Cn+_n.x},0)/an.length}(ln),tn.y=function(an){return 1+i.max(an,function(Cn){return Cn.y})}(ln)):(tn.x=tt?zt+=ve(tn,tt):0,tn.y=0,tt=tn)});var Ut=zf(mt),Ht=ou(mt),en=Ut.x-ve(Ut,Ht)/2,vn=Ht.x+ve(Ht,Ut)/2;return ms(mt,Fe?function(tn){tn.x=(tn.x-mt.x)*Ie[0],tn.y=(mt.y-tn.y)*Ie[1]}:function(tn){tn.x=(tn.x-en)/(vn-en)*Ie[0],tn.y=(1-(mt.y?tn.y/mt.y:1))*Ie[1]}),lt}return Ue.separation=function(qe){return arguments.length?(ve=qe,Ue):ve},Ue.size=function(qe){return arguments.length?(Fe=(Ie=qe)==null,Ue):Fe?null:Ie},Ue.nodeSize=function(qe){return arguments.length?(Fe=(Ie=qe)!=null,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.treemap=function(){var se,ve=i.layout.hierarchy(),Ie=Math.round,Fe=[1,1],Ue=null,qe=ll,Xe=!1,tt="squarify",lt=.5*(1+Math.sqrt(5));function mt(tn,ln){for(var an,Cn,_n=-1,on=tn.length;++_n0;)Fn.push(an=Hn[_n-1]),Fn.area+=an.area,tt!=="squarify"||(Cn=Ht(Fn,ar))<=ir?(Hn.pop(),ir=Cn):(Fn.area-=Fn.pop().area,en(Fn,ar,on,!1),ar=Math.min(on.dx,on.dy),Fn.length=Fn.area=0,ir=1/0);Fn.length&&(en(Fn,ar,on,!0),Fn.length=Fn.area=0),ln.forEach(zt)}}function Ut(tn){var ln=tn.children;if(ln&&ln.length){var an,Cn=qe(tn),_n=ln.slice(),on=[];for(mt(_n,Cn.dx*Cn.dy/tn.value),on.area=0;an=_n.pop();)on.push(an),on.area+=an.area,an.z!=null&&(en(on,an.z?Cn.dx:Cn.dy,Cn,!_n.length),on.length=on.area=0);ln.forEach(Ut)}}function Ht(tn,ln){for(var an,Cn=tn.area,_n=0,on=1/0,Fn=-1,Hn=tn.length;++Fn_n&&(_n=an));return ln*=ln,(Cn*=Cn)?Math.max(ln*_n*lt/Cn,Cn/(ln*on*lt)):1/0}function en(tn,ln,an,Cn){var _n,on=-1,Fn=tn.length,Hn=an.x,ir=an.y,ar=ln?Ie(tn.area/ln):0;if(ln==an.dx){for((Cn||ar>an.dy)&&(ar=an.dy);++onan.dx)&&(ar=an.dx);++on1);return se+ve*Fe*Math.sqrt(-2*Math.log(qe)/qe)}},logNormal:function(){var se=i.random.normal.apply(i,arguments);return function(){return Math.exp(se())}},bates:function(se){var ve=i.random.irwinHall(se);return function(){return ve()/se}},irwinHall:function(se){return function(){for(var ve=0,Ie=0;Ie2?co:lu,mt=Fe?Jl:If;return Ue=lt(se,ve,mt,Ie),qe=lt(ve,se,mt,Yo),tt}function tt(lt){return Ue(lt)}return tt.invert=function(lt){return qe(lt)},tt.domain=function(lt){return arguments.length?(se=lt.map(Number),Xe()):se},tt.range=function(lt){return arguments.length?(ve=lt,Xe()):ve},tt.rangeRound=function(lt){return tt.range(lt).interpolate(xh)},tt.clamp=function(lt){return arguments.length?(Fe=lt,Xe()):Fe},tt.interpolate=function(lt){return arguments.length?(Ie=lt,Xe()):Ie},tt.ticks=function(lt){return $o(se,lt)},tt.tickFormat=function(lt,mt){return d3_scale_linearTickFormat(se,lt,mt)},tt.nice=function(lt){return vs(se,lt),Xe()},tt.copy=function(){return zo(se,ve,Ie,Fe)},Xe()}function Pl(se,ve){return i.rebind(se,ve,"range","rangeRound","interpolate","clamp")}function vs(se,ve){return Ha(se,mo($a(se,ve)[2])),Ha(se,mo($a(se,ve)[2])),se}function $a(se,ve){ve==null&&(ve=10);var Ie=da(se),Fe=Ie[1]-Ie[0],Ue=Math.pow(10,Math.floor(Math.log(Fe/ve)/Math.LN10)),qe=ve/Fe*Ue;return qe<=.15?Ue*=10:qe<=.35?Ue*=5:qe<=.75&&(Ue*=2),Ie[0]=Math.ceil(Ie[0]/Ue)*Ue,Ie[1]=Math.floor(Ie[1]/Ue)*Ue+.5*Ue,Ie[2]=Ue,Ie}function $o(se,ve){return i.range.apply(i,$a(se,ve))}function Gc(se,ve,Ie,Fe){function Ue(tt){return(Ie?Math.log(tt<0?0:tt):-Math.log(tt>0?0:-tt))/Math.log(ve)}function qe(tt){return Ie?Math.pow(ve,tt):-Math.pow(ve,-tt)}function Xe(tt){return se(Ue(tt))}return Xe.invert=function(tt){return qe(se.invert(tt))},Xe.domain=function(tt){return arguments.length?(Ie=tt[0]>=0,se.domain((Fe=tt.map(Number)).map(Ue)),Xe):Fe},Xe.base=function(tt){return arguments.length?(ve=+tt,se.domain(Fe.map(Ue)),Xe):ve},Xe.nice=function(){var tt=Ha(Fe.map(Ue),Ie?Math:Wc);return se.domain(tt),Fe=tt.map(qe),Xe},Xe.ticks=function(){var tt=da(Fe),lt=[],mt=tt[0],zt=tt[1],Ut=Math.floor(Ue(mt)),Ht=Math.ceil(Ue(zt)),en=ve%1?2:ve;if(isFinite(Ht-Ut)){if(Ie){for(;Ut0;vn--)lt.push(qe(Ut)*vn);for(Ut=0;lt[Ut]zt;Ht--);lt=lt.slice(Ut,Ht)}return lt},Xe.copy=function(){return Gc(se.copy(),ve,Ie,Fe)},Pl(Xe,se)}i.scale.linear=function(){return zo([0,1],[0,1],Yo,!1)},i.scale.log=function(){return Gc(i.scale.linear().domain([0,1]),10,!0,[1,10])};var Wc={floor:function(se){return-Math.ceil(-se)},ceil:function(se){return-Math.floor(-se)}};function Lo(se,ve,Ie){var Fe=Dr(ve),Ue=Dr(1/ve);function qe(Xe){return se(Fe(Xe))}return qe.invert=function(Xe){return Ue(se.invert(Xe))},qe.domain=function(Xe){return arguments.length?(se.domain((Ie=Xe.map(Number)).map(Fe)),qe):Ie},qe.ticks=function(Xe){return $o(Ie,Xe)},qe.tickFormat=function(Xe,tt){return d3_scale_linearTickFormat(Ie,Xe,tt)},qe.nice=function(Xe){return qe.domain(vs(Ie,Xe))},qe.exponent=function(Xe){return arguments.length?(Fe=Dr(ve=Xe),Ue=Dr(1/ve),se.domain(Ie.map(Fe)),qe):ve},qe.copy=function(){return Lo(se.copy(),ve,Ie)},Pl(qe,se)}function Dr(se){return function(ve){return ve<0?-Math.pow(-ve,se):Math.pow(ve,se)}}function uu(se,ve){var Ie,Fe,Ue;function qe(tt){return Fe[((Ie.get(tt)||(ve.t==="range"?Ie.set(tt,se.push(tt)):NaN))-1)%Fe.length]}function Xe(tt,lt){return i.range(se.length).map(function(mt){return tt+lt*mt})}return qe.domain=function(tt){if(!arguments.length)return se;se=[],Ie=new L;for(var lt,mt=-1,zt=tt.length;++mt0?Ie[qe-1]:se[0],qeHt?0:1;if(zt=Wt)return lt(zt,vn)+(mt?lt(mt,1-vn):"")+"Z";var tn,ln,an,Cn,_n,on,Fn,Hn,ir,ar,Mr,Er,xr=0,kr=0,jr=[];if((Cn=(+Xe.apply(this,arguments)||0)/2)&&(an=Fe===xc?Math.sqrt(mt*mt+zt*zt):+Fe.apply(this,arguments),vn||(kr*=-1),zt&&(kr=We(an/zt*Math.sin(Cn))),mt&&(xr=We(an/mt*Math.sin(Cn)))),zt){_n=zt*Math.cos(Ut+kr),on=zt*Math.sin(Ut+kr),Fn=zt*Math.cos(Ht-kr),Hn=zt*Math.sin(Ht-kr);var hi=Math.abs(Ht-Ut-2*kr)<=Rt?0:1;if(kr&&Ls(_n,on,Fn,Hn)===vn^hi){var di=(Ut+Ht)/2;_n=zt*Math.cos(di),on=zt*Math.sin(di),Fn=Hn=null}}else _n=on=0;if(mt){ir=mt*Math.cos(Ht-xr),ar=mt*Math.sin(Ht-xr),Mr=mt*Math.cos(Ut+xr),Er=mt*Math.sin(Ut+xr);var wr=Math.abs(Ut-Ht+2*xr)<=Rt?0:1;if(xr&&Ls(ir,ar,Mr,Er)===1-vn^wr){var Ur=(Ut+Ht)/2;ir=mt*Math.cos(Ur),ar=mt*Math.sin(Ur),Mr=Er=null}}else ir=ar=0;if(en>Ft&&(tn=Math.min(Math.abs(zt-mt)/2,+Ie.apply(this,arguments)))>.001){ln=mt0?0:1}function bs(se,ve,Ie,Fe,Ue){var qe=se[0]-ve[0],Xe=se[1]-ve[1],tt=(Ue?Fe:-Fe)/Math.sqrt(qe*qe+Xe*Xe),lt=tt*Xe,mt=-tt*qe,zt=se[0]+lt,Ut=se[1]+mt,Ht=ve[0]+lt,en=ve[1]+mt,vn=(zt+Ht)/2,tn=(Ut+en)/2,ln=Ht-zt,an=en-Ut,Cn=ln*ln+an*an,_n=Ie-Fe,on=zt*en-Ht*Ut,Fn=(an<0?-1:1)*Math.sqrt(Math.max(0,_n*_n*Cn-on*on)),Hn=(on*an-ln*Fn)/Cn,ir=(-on*ln-an*Fn)/Cn,ar=(on*an+ln*Fn)/Cn,Mr=(-on*ln+an*Fn)/Cn,Er=Hn-vn,xr=ir-tn,kr=ar-vn,jr=Mr-tn;return Er*Er+xr*xr>kr*kr+jr*jr&&(Hn=ar,ir=Mr),[[Hn-lt,ir-mt],[Hn*Ie/_n,ir*Ie/_n]]}function fu(){return!0}function yo(se){var ve=Un,Ie=Kn,Fe=fu,Ue=Yi,qe=Ue.key,Xe=.7;function tt(lt){var mt,zt=[],Ut=[],Ht=-1,en=lt.length,vn=Wn(ve),tn=Wn(Ie);function ln(){zt.push("M",Ue(se(Ut),Xe))}for(;++Ht1&&Ue.push("H",Fe[0]),Ue.join("")},"step-before":os,"step-after":_s,basis:qi,"basis-open":function(se){if(se.length<4)return Yi(se);for(var ve,Ie=[],Fe=-1,Ue=se.length,qe=[0],Xe=[0];++Fe<3;)ve=se[Fe],qe.push(ve[0]),Xe.push(ve[1]);for(Ie.push(no(Ws,qe)+","+no(Ws,Xe)),--Fe;++Fe9&&(qe=3*Ie/Math.sqrt(qe),tt[lt]=qe*Fe,tt[lt+1]=qe*Ue);for(lt=-1;++lt<=mt;)qe=(ve[Math.min(mt,lt+1)][0]-ve[Math.max(0,lt-1)][0])/(6*(1+tt[lt]*tt[lt])),Xe.push([qe||0,tt[lt]*qe||0]);return Xe}(se))}});function Yi(se){return se.length>1?se.join("L"):se+"Z"}function _c(se){return se.join("L")+"Z"}function os(se){for(var ve=0,Ie=se.length,Fe=se[0],Ue=[Fe[0],",",Fe[1]];++ve1){tt=ve[1],qe=se[lt],lt++,Fe+="C"+(Ue[0]+Xe[0])+","+(Ue[1]+Xe[1])+","+(qe[0]-tt[0])+","+(qe[1]-tt[1])+","+qe[0]+","+qe[1];for(var mt=2;mtRt)+",1 "+zt}function lt(mt,zt,Ut,Ht){return"Q 0,0 "+Ht}return qe.radius=function(mt){return arguments.length?(Ie=Wn(mt),qe):Ie},qe.source=function(mt){return arguments.length?(se=Wn(mt),qe):se},qe.target=function(mt){return arguments.length?(ve=Wn(mt),qe):ve},qe.startAngle=function(mt){return arguments.length?(Fe=Wn(mt),qe):Fe},qe.endAngle=function(mt){return arguments.length?(Ue=Wn(mt),qe):Ue},qe},i.svg.diagonal=function(){var se=Hr,ve=ni,Ie=fl;function Fe(Ue,qe){var Xe=se.call(this,Ue,qe),tt=ve.call(this,Ue,qe),lt=(Xe.y+tt.y)/2,mt=[Xe,{x:Xe.x,y:lt},{x:tt.x,y:lt},tt];return"M"+(mt=mt.map(Ie))[0]+"C"+mt[1]+" "+mt[2]+" "+mt[3]}return Fe.source=function(Ue){return arguments.length?(se=Wn(Ue),Fe):se},Fe.target=function(Ue){return arguments.length?(ve=Wn(Ue),Fe):ve},Fe.projection=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe},i.svg.diagonal.radial=function(){var se=i.svg.diagonal(),ve=fl,Ie=se.projection;return se.projection=function(Fe){return arguments.length?Ie(Os(ve=Fe)):ve},se},i.svg.symbol=function(){var se=$c,ve=xo;function Ie(Fe,Ue){return(ju.get(se.call(this,Fe,Ue))||Vo)(ve.call(this,Fe,Ue))}return Ie.type=function(Fe){return arguments.length?(se=Wn(Fe),Ie):se},Ie.size=function(Fe){return arguments.length?(ve=Wn(Fe),Ie):ve},Ie};var ju=i.map({circle:Vo,cross:function(se){var ve=Math.sqrt(se/5)/2;return"M"+-3*ve+","+-ve+"H"+-ve+"V"+-3*ve+"H"+ve+"V"+-ve+"H"+3*ve+"V"+ve+"H"+ve+"V"+3*ve+"H"+-ve+"V"+ve+"H"+-3*ve+"Z"},diamond:function(se){var ve=Math.sqrt(se/(2*Ji)),Ie=ve*Ji;return"M0,"+-ve+"L"+Ie+",0 0,"+ve+" "+-Ie+",0Z"},square:function(se){var ve=Math.sqrt(se)/2;return"M"+-ve+","+-ve+"L"+ve+","+-ve+" "+ve+","+ve+" "+-ve+","+ve+"Z"},"triangle-down":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+Ie+"L"+ve+","+-Ie+" "+-ve+","+-Ie+"Z"},"triangle-up":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+-Ie+"L"+ve+","+Ie+" "+-ve+","+Ie+"Z"}});i.svg.symbolTypes=ju.keys();var hl=Math.sqrt(3),Ji=Math.tan(30*Ke);ce.transition=function(se){for(var ve,Ie,Fe=rt||++St,Ue=ee(se),qe=[],Xe=ct||{time:Date.now(),ease:nl,delay:0,duration:250},tt=-1,lt=this.length;++tt0;)mt[--an].call(se,ln);if(tn>=1)return Ut.event&&Ut.event.end.call(se,se.__data__,ve),--zt.count?delete zt[Fe]:delete se[Ie],1}Ut||(qe=Ue.time,Xe=Kt(function(vn){var tn=Ut.delay;if(Xe.t=tn+qe,tn<=vn)return Ht(vn-tn);Xe.c=Ht},0,qe),Ut=zt[Fe]={tween:new L,time:qe,timer:Xe,delay:Ue.delay,duration:Ue.duration,ease:Ue.ease,index:ve},Ue=null,++zt.count)}vt.call=ce.call,vt.empty=ce.empty,vt.node=ce.node,vt.size=ce.size,i.transition=function(se,ve){return se&&se.transition?rt?se.transition(ve):se:i.selection().transition(se)},i.transition.prototype=vt,vt.select=function(se){var ve,Ie,Fe,Ue=this.id,qe=this.namespace,Xe=[];se=ye(se);for(var tt=-1,lt=this.length;++ttrect,.s>rect").attr("width",qe[1]-qe[0])}function en(tn){tn.select(".extent").attr("y",Xe[0]),tn.selectAll(".extent,.e>rect,.w>rect").attr("height",Xe[1]-Xe[0])}function vn(){var tn,ln,an=this,Cn=i.select(i.event.target),_n=Ie.of(an,arguments),on=i.select(an),Fn=Cn.datum(),Hn=!/^(n|s)$/.test(Fn)&&Fe,ir=!/^(e|w)$/.test(Fn)&&Ue,ar=Cn.classed("extent"),Mr=bt(an),Er=i.mouse(an),xr=i.select(a(an)).on("keydown.brush",hi).on("keyup.brush",di);if(i.event.changedTouches?xr.on("touchmove.brush",wr).on("touchend.brush",oi):xr.on("mousemove.brush",wr).on("mouseup.brush",oi),on.interrupt().selectAll("*").interrupt(),ar)Er[0]=qe[0]-Er[0],Er[1]=Xe[0]-Er[1];else if(Fn){var kr=+/w$/.test(Fn),jr=+/^n/.test(Fn);ln=[qe[1-kr]-Er[0],Xe[1-jr]-Er[1]],Er[0]=qe[kr],Er[1]=Xe[jr]}else i.event.altKey&&(tn=Er.slice());function hi(){i.event.keyCode==32&&(ar||(tn=null,Er[0]-=qe[1],Er[1]-=Xe[1],ar=2),ne())}function di(){i.event.keyCode==32&&ar==2&&(Er[0]+=qe[1],Er[1]+=Xe[1],ar=0,ne())}function wr(){var ai=i.mouse(an),Ii=!1;ln&&(ai[0]+=ln[0],ai[1]+=ln[1]),ar||(i.event.altKey?(tn||(tn=[(qe[0]+qe[1])/2,(Xe[0]+Xe[1])/2]),Er[0]=qe[+(ai[0]>>1;c.dtype||(c.dtype="array"),typeof c.dtype=="string"?v=new(u(c.dtype))(x):c.dtype&&(v=c.dtype,Array.isArray(v)&&(v.length=x));for(var T=0;Tp||H>1073741824){for(var Q=0;Qpe+Pe||ie>xe+Pe||oe=ce||Me===Se)){var Ce=C[_e];Se===void 0&&(Se=Ce.length);for(var ae=Me;ae=ne&&be<=Z&&ke>=te&&ke<=X&&ye.push(he)}var Le=_[_e],Be=Le[4*Me+0],ze=Le[4*Me+1],je=Le[4*Me+2],ge=Le[4*Me+3],we=me(Le,Me+1),Ee=.5*Pe,Ve=_e+1;de(pe,xe,Ee,Ve,Be,ze||je||ge||we),de(pe,xe+Ee,Ee,Ve,ze,je||ge||we),de(pe+Ee,xe,Ee,Ve,je,ge||we),de(pe+Ee,xe+Ee,Ee,Ve,ge,we)}}function me(pe,xe){for(var Pe=null,_e=0;Pe===null;)if(Pe=pe[4*xe+_e],++_e>pe.length)return null;return Pe}return de(0,0,1,0,0,1),ye},v;function B(q,j,$,U,G){for(var W=[],H=0;H0){l+=Math.abs(M(h[0]));for(var a=1;a2){for(f=0;f=0))throw new Error("precision must be a positive number");var p=Math.pow(10,c||0);return Math.round(f*p)/p},m.radiansToLength=a,m.lengthToRadians=u,m.lengthToDegrees=function(f,c){return o(u(f,c))},m.bearingToAzimuth=function(f){var c=f%360;return c<0&&(c+=360),c},m.radiansToDegrees=o,m.degreesToRadians=function(f){return f%360*Math.PI/180},m.convertLength=function(f,c,p){if(c===void 0&&(c="kilometers"),p===void 0&&(p="kilometers"),!(f>=0))throw new Error("length must be a positive number");return a(u(f,c),p)},m.convertArea=function(f,c,p){if(c===void 0&&(c="meters"),p===void 0&&(p="kilometers"),!(f>=0))throw new Error("area must be a positive number");var w=m.areaFactors[c];if(!w)throw new Error("invalid original units");var v=m.areaFactors[p];if(!v)throw new Error("invalid final units");return f/w*v},m.isNumber=s,m.isObject=function(f){return!!f&&f.constructor===Object},m.validateBBox=function(f){if(!f)throw new Error("bbox is required");if(!Array.isArray(f))throw new Error("bbox must be an Array");if(f.length!==4&&f.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");f.forEach(function(c){if(!s(c))throw new Error("bbox must only contain numbers")})},m.validateId=function(f){if(!f)throw new Error("id is required");if(["string","number"].indexOf(typeof f)===-1)throw new Error("id must be a number or a string")}},60302:function(k,m,t){Object.defineProperty(m,"__esModule",{value:!0});var d=t(23132);function y(u,o,s){if(u!==null)for(var f,c,p,w,v,S,x,T,C=0,_=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",O=L?u.features.length:1,I=0;IS||L>x||b>T)return v=C,S=f,x=L,T=b,void(p=0);var O=d.lineString([v,C],s.properties);if(o(O,f,c,b,p)===!1)return!1;p++,v=C})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");h(u,function(s,f,c){if(s.geometry!==null){var p=s.geometry.type,w=s.geometry.coordinates;switch(p){case"LineString":if(o(s,f,c,0,0)===!1)return!1;break;case"Polygon":for(var v=0;vg[0]&&(M[0]=g[0]),M[1]>g[1]&&(M[1]=g[1]),M[2]=0))throw new Error("precision must be a positive number");var p=Math.pow(10,c||0);return Math.round(f*p)/p},m.radiansToLength=a,m.lengthToRadians=u,m.lengthToDegrees=function(f,c){return o(u(f,c))},m.bearingToAzimuth=function(f){var c=f%360;return c<0&&(c+=360),c},m.radiansToDegrees=o,m.degreesToRadians=function(f){return f%360*Math.PI/180},m.convertLength=function(f,c,p){if(c===void 0&&(c="kilometers"),p===void 0&&(p="kilometers"),!(f>=0))throw new Error("length must be a positive number");return a(u(f,c),p)},m.convertArea=function(f,c,p){if(c===void 0&&(c="meters"),p===void 0&&(p="kilometers"),!(f>=0))throw new Error("area must be a positive number");var w=m.areaFactors[c];if(!w)throw new Error("invalid original units");var v=m.areaFactors[p];if(!v)throw new Error("invalid final units");return f/w*v},m.isNumber=s,m.isObject=function(f){return!!f&&f.constructor===Object},m.validateBBox=function(f){if(!f)throw new Error("bbox is required");if(!Array.isArray(f))throw new Error("bbox must be an Array");if(f.length!==4&&f.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");f.forEach(function(c){if(!s(c))throw new Error("bbox must only contain numbers")})},m.validateId=function(f){if(!f)throw new Error("id is required");if(["string","number"].indexOf(typeof f)===-1)throw new Error("id must be a number or a string")}},27138:function(k,m,t){Object.defineProperty(m,"__esModule",{value:!0});var d=t(94228);function y(u,o,s){if(u!==null)for(var f,c,p,w,v,S,x,T,C=0,_=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",O=L?u.features.length:1,I=0;IS||L>x||b>T)return v=C,S=f,x=L,T=b,void(p=0);var O=d.lineString([v,C],s.properties);if(o(O,f,c,b,p)===!1)return!1;p++,v=C})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");h(u,function(s,f,c){if(s.geometry!==null){var p=s.geometry.type,w=s.geometry.coordinates;switch(p){case"LineString":if(o(s,f,c,0,0)===!1)return!1;break;case"Polygon":for(var v=0;v=0))throw new Error("precision must be a positive number");var p=Math.pow(10,c||0);return Math.round(f*p)/p},m.radiansToLength=a,m.lengthToRadians=u,m.lengthToDegrees=function(f,c){return o(u(f,c))},m.bearingToAzimuth=function(f){var c=f%360;return c<0&&(c+=360),c},m.radiansToDegrees=o,m.degreesToRadians=function(f){return f%360*Math.PI/180},m.convertLength=function(f,c,p){if(c===void 0&&(c="kilometers"),p===void 0&&(p="kilometers"),!(f>=0))throw new Error("length must be a positive number");return a(u(f,c),p)},m.convertArea=function(f,c,p){if(c===void 0&&(c="meters"),p===void 0&&(p="kilometers"),!(f>=0))throw new Error("area must be a positive number");var w=m.areaFactors[c];if(!w)throw new Error("invalid original units");var v=m.areaFactors[p];if(!v)throw new Error("invalid final units");return f/w*v},m.isNumber=s,m.isObject=function(f){return!!f&&f.constructor===Object},m.validateBBox=function(f){if(!f)throw new Error("bbox is required");if(!Array.isArray(f))throw new Error("bbox must be an Array");if(f.length!==4&&f.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");f.forEach(function(c){if(!s(c))throw new Error("bbox must only contain numbers")})},m.validateId=function(f){if(!f)throw new Error("id is required");if(["string","number"].indexOf(typeof f)===-1)throw new Error("id must be a number or a string")},m.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},m.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},m.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},m.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},m.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},m.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},m.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},88553:function(k,m,t){Object.defineProperty(m,"__esModule",{value:!0});var d=t(64182);function y(u,o,s){if(u!==null)for(var f,c,p,w,v,S,x,T,C=0,_=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",O=L?u.features.length:1,I=0;IS||L>x||b>T)return v=C,S=f,x=L,T=b,void(p=0);var O=d.lineString([v,C],s.properties);if(o(O,f,c,b,p)===!1)return!1;p++,v=C})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");h(u,function(s,f,c){if(s.geometry!==null){var p=s.geometry.type,w=s.geometry.coordinates;switch(p){case"LineString":if(o(s,f,c,0,0)===!1)return!1;break;case"Polygon":for(var v=0;vi&&(i=m[g]),m[g]1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H24?(isFinite(ve)&&(clearTimeout(vr),vr=setTimeout(bn,ve)),or=0):(or=1,_r(bn))}function Pn(){for(var se=Date.now(),ve=Sr;ve;)se>=ve.t&&ve.c(se-ve.t)&&(ve.c=null),ve=ve.n;return se}function Ln(){for(var se,ve=Sr,Ie=1/0;ve;)ve.c?(ve.t1&&(ve=se[We[Xe-2]],Ie=se[We[Xe-1]],Fe=se[tt],(Ie[0]-ve[0])*(Fe[1]-ve[1])-(Ie[1]-ve[1])*(Fe[0]-ve[0])<=0);)--Xe;We[Xe++]=tt}return We.slice(0,Xe)}function tr(se,ve){return se[0]-ve[0]||se[1]-ve[1]}i.timer=function(){Kt.apply(this,arguments)},i.timer.flush=function(){Pn(),Ln()},i.round=function(se,ve){return ve?Math.round(se*(ve=Math.pow(10,ve)))/ve:Math.round(se)},i.geom={},i.geom.hull=function(se){var ve=Un,Ie=Kn;if(arguments.length)return Fe(se);function Fe(Ue){if(Ue.length<3)return[];var We,Xe=qn(ve),tt=qn(Ie),lt=Ue.length,mt=[],zt=[];for(We=0;We=0;--We)tn.push(Ue[mt[Ut[We]][2]]);for(We=+en;WeFt)tt=tt.L;else{if(!((Ue=We-Qn(tt,Xe))>Ft)){Fe>-Ft?(ve=tt.P,Ie=tt):Ue>-Ft?(ve=tt,Ie=tt.N):ve=Ie=tt;break}if(!tt.R){ve=tt;break}tt=tt.R}var lt=yn(se);if(zn.insert(ve,lt),ve||Ie){if(ve===Ie)return br(ve),Ie=yn(ve.site),zn.insert(lt,Ie),lt.edge=Ie.edge=zr(ve.site,lt.site),dr(ve),void dr(Ie);if(Ie){br(ve),br(Ie);var mt=ve.site,zt=mt.x,Ut=mt.y,Ht=se.x-zt,en=se.y-Ut,vn=Ie.site,tn=vn.x-zt,ln=vn.y-Ut,an=2*(Ht*ln-en*tn),Cn=Ht*Ht+en*en,_n=tn*tn+ln*ln,on={x:(ln*Cn-en*_n)/an+zt,y:(Ht*_n-tn*Cn)/an+Ut};gr(Ie.edge,mt,vn,on),lt.edge=zr(mt,se,null,on),Ie.edge=zr(se,vn,null,on),dr(ve),dr(Ie)}else lt.edge=zr(ve.site,lt.site)}}function nr(se,ve){var Ie=se.site,Fe=Ie.x,Ue=Ie.y,We=Ue-ve;if(!We)return Fe;var Xe=se.P;if(!Xe)return-1/0;var tt=(Ie=Xe.site).x,lt=Ie.y,mt=lt-ve;if(!mt)return tt;var zt=tt-Fe,Ut=1/We-1/mt,Ht=zt/mt;return Ut?(-Ht+Math.sqrt(Ht*Ht-2*Ut*(zt*zt/(-2*mt)-lt+mt/2+Ue-We/2)))/Ut+Fe:(Fe+tt)/2}function Qn(se,ve){var Ie=se.N;if(Ie)return nr(Ie,ve);var Fe=se.site;return Fe.y===ve?Fe.x:1/0}function fr(se){this.site=se,this.edges=[]}function cr(se,ve){return ve.angle-se.angle}function pr(){ji(this),this.x=this.y=this.arc=this.site=this.cy=null}function dr(se){var ve=se.P,Ie=se.N;if(ve&&Ie){var Fe=ve.site,Ue=se.site,We=Ie.site;if(Fe!==We){var Xe=Ue.x,tt=Ue.y,lt=Fe.x-Xe,mt=Fe.y-tt,zt=We.x-Xe,Ut=2*(lt*(ln=We.y-tt)-mt*zt);if(!(Ut>=-1e-12)){var Ht=lt*lt+mt*mt,en=zt*zt+ln*ln,vn=(ln*Ht-mt*en)/Ut,tn=(lt*en-zt*Ht)/Ut,ln=tn+tt,an=wn.pop()||new pr;an.arc=se,an.site=Ue,an.x=vn+Xe,an.y=ln+Math.sqrt(vn*vn+tn*tn),an.cy=ln,se.circle=an;for(var Cn=null,_n=En._;_n;)if(an.y<_n.y||an.y===_n.y&&an.x<=_n.x){if(!_n.L){Cn=_n.P;break}_n=_n.L}else{if(!_n.R){Cn=_n;break}_n=_n.R}En.insert(Cn,an),Cn||(Rn=an)}}}}function br(se){var ve=se.circle;ve&&(ve.P||(Rn=ve.N),En.remove(ve),wn.push(ve),ji(ve),se.circle=null)}function Pr(se,ve){var Ie=se.b;if(Ie)return!0;var Fe,Ue,We=se.a,Xe=ve[0][0],tt=ve[1][0],lt=ve[0][1],mt=ve[1][1],zt=se.l,Ut=se.r,Ht=zt.x,en=zt.y,vn=Ut.x,tn=Ut.y,ln=(Ht+vn)/2,an=(en+tn)/2;if(tn===en){if(ln=tt)return;if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:ln,y:lt};Ie={x:ln,y:mt}}else{if(We){if(We.y1)if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:(lt-Ue)/Fe,y:lt};Ie={x:(mt-Ue)/Fe,y:mt}}else{if(We){if(We.y=tt)return}else We={x:Xe,y:Fe*Xe+Ue};Ie={x:tt,y:Fe*tt+Ue}}else{if(We){if(We.x0)){if(an/=ar,ar<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ut-on,ar||!(an<0)){if(an/=ar,ar<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(ar>0){if(an0)){if(an/=Mr,Mr<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ht-Fn,Mr||!(an<0)){if(an/=Mr,Mr<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(Mr>0){if(an0&&(ln.a={x:on+Hn*ar,y:Fn+Hn*Mr}),ir<1&&(ln.b={x:on+ir*ar,y:Fn+ir*Mr}),ln}}}}}),tn=en.length;tn--;)(!Pr(lt=en[tn],tt)||!vn(lt)||C(lt.a.x-lt.b.x)Ft||C(Ut-mt)>Ft)&&(vn.splice(en,0,new Fr((ar=Ht.site,Mr=an,Er=C(zt-Cn)Ft?{x:Cn,y:C(lt-Cn)Ft?{x:C(mt-Fn)Ft?{x:_n,y:C(lt-_n)Ft?{x:C(mt-on)=zt&&an.x<=Ht&&an.y>=Ut&&an.y<=en?[[zt,en],[Ht,en],[Ht,Ut],[zt,Ut]]:[]).point=lt[tn]}),mt}function tt(lt){return lt.map(function(mt,zt){return{x:Math.round(Fe(mt,zt)/Ft)*Ft,y:Math.round(Ue(mt,zt)/Ft)*Ft,i:zt}})}return Xe.links=function(lt){return La(tt(lt)).edges.filter(function(mt){return mt.l&&mt.r}).map(function(mt){return{source:lt[mt.l.i],target:lt[mt.r.i]}})},Xe.triangles=function(lt){var mt=[];return La(tt(lt)).cells.forEach(function(zt,Ut){for(var Ht,en,vn,tn,ln=zt.site,an=zt.edges.sort(cr),Cn=-1,_n=an.length,on=an[_n-1].edge,Fn=on.l===ln?on.r:on.l;++Cn<_n;)Ht=Fn,Fn=(on=an[Cn].edge).l===ln?on.r:on.l,UtWe||Ht>Xe||en=Hn)<<1|ve>=Fn,ar=ir+4;irWe&&(Ue=ve.slice(We,Ue),tt[Xe]?tt[Xe]+=Ue:tt[++Xe]=Ue),(Ie=Ie[0])===(Fe=Fe[0])?tt[Xe]?tt[Xe]+=Fe:tt[++Xe]=Fe:(tt[++Xe]=null,lt.push({i:Xe,x:os(Ie,Fe)})),We=uc.lastIndex;return Wean&&(an=zt.x),zt.y>Cn&&(Cn=zt.y),Ut.push(zt.x),Ht.push(zt.y);else for(en=0;enan&&(an=Fn),Hn>Cn&&(Cn=Hn),Ut.push(Fn),Ht.push(Hn)}var ir=an-tn,ar=Cn-ln;function Mr(kr,jr,hi,di,wr,Ur,oi,ai){if(!isNaN(hi)&&!isNaN(di))if(kr.leaf){var Ii=kr.x,vi=kr.y;if(Ii!=null)if(C(Ii-hi)+C(vi-di)<.01)Er(kr,jr,hi,di,wr,Ur,oi,ai);else{var Ni=kr.point;kr.x=kr.y=kr.point=null,Er(kr,Ni,Ii,vi,wr,Ur,oi,ai),Er(kr,jr,hi,di,wr,Ur,oi,ai)}else kr.x=hi,kr.y=di,kr.point=jr}else Er(kr,jr,hi,di,wr,Ur,oi,ai)}function Er(kr,jr,hi,di,wr,Ur,oi,ai){var Ii=.5*(wr+oi),vi=.5*(Ur+ai),Ni=hi>=Ii,na=di>=vi,pa=na<<1|Ni;kr.leaf=!1,Ni?wr=Ii:oi=Ii,na?Ur=vi:ai=vi,Mr(kr=kr.nodes[pa]||(kr.nodes[pa]={leaf:!0,nodes:[],point:null,x:null,y:null}),jr,hi,di,wr,Ur,oi,ai)}ir>ar?Cn=ln+ir:an=tn+ar;var xr={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(kr){Mr(xr,kr,+_n(kr,++en),+on(kr,en),tn,ln,an,Cn)},visit:function(kr){Cu(kr,xr,tn,ln,an,Cn)},find:function(kr){return gh(xr,kr[0],kr[1],tn,ln,an,Cn)}};if(en=-1,ve==null){for(;++en=0&&!(Ie=i.interpolators[Fe](se,ve)););return Ie}function ss(se,ve){var Ie,Fe=[],Ue=[],We=se.length,Xe=ve.length,tt=Math.min(se.length,ve.length);for(Ie=0;Ie=1?1:se(ve)}}function Is(se){return function(ve){return 1-se(1-ve)}}function js(se){return function(ve){return .5*(ve<.5?se(2*ve):2-se(2-2*ve))}}function cc(se){return se*se}function vh(se){return se*se*se}function nl(se){if(se<=0)return 0;if(se>=1)return 1;var ve=se*se,Ie=ve*se;return 4*(se<.5?Ie:3*(se-ve)+Ie-.75)}function yh(se){return 1-Math.cos(se*Vt)}function bh(se){return Math.pow(2,10*(se-1))}function id(se){return 1-Math.sqrt(1-se*se)}function Cf(se){return se<.36363636363636365?7.5625*se*se:se<.7272727272727273?7.5625*(se-=.5454545454545454)*se+.75:se<.9090909090909091?7.5625*(se-=.8181818181818182)*se+.9375:7.5625*(se-=.9545454545454546)*se+.984375}function xh(se,ve){return ve-=se,function(Ie){return Math.round(se+ve*Ie)}}function Ef(se){var ve,Ie,Fe,Ue=[se.a,se.b],We=[se.c,se.d],Xe=il(Ue),tt=rl(Ue,We),lt=il(((ve=We)[0]+=(Fe=-tt)*(Ie=Ue)[0],ve[1]+=Fe*Ie[1],ve))||0;Ue[0]*We[1]=0?se.slice(0,ve):se,Fe=ve>=0?se.slice(ve+1):"in";return Ie=Ui.get(Ie)||Al,ms((Fe=Sl.get(Fe)||W)(Ie.apply(null,M.call(arguments,1))))},i.interpolateHcl=function(se,ve){se=i.hcl(se),ve=i.hcl(ve);var Ie=se.h,Fe=se.c,Ue=se.l,We=ve.h-Ie,Xe=ve.c-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.c:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return Ot(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateHsl=function(se,ve){se=i.hsl(se),ve=i.hsl(ve);var Ie=se.h,Fe=se.s,Ue=se.l,We=ve.h-Ie,Xe=ve.s-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.s:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return It(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateLab=function(se,ve){se=i.lab(se),ve=i.lab(ve);var Ie=se.l,Fe=se.a,Ue=se.b,We=ve.l-Ie,Xe=ve.a-Fe,tt=ve.b-Ue;return function(lt){return Xt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateRound=xh,i.transform=function(se){var ve=h.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ie){if(Ie!=null){ve.setAttribute("transform",Ie);var Fe=ve.transform.baseVal.consolidate()}return new Ef(Fe?Fe.matrix:Lu)})(se)},Ef.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Lu={a:1,b:0,c:0,d:1,e:0,f:0};function al(se){return se.length?se.pop()+",":""}function Lf(se,ve){var Ie=[],Fe=[];return se=i.transform(se),ve=i.transform(ve),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push("translate(",null,",",null,")");tt.push({i:lt-4,x:os(Ue[0],We[0])},{i:lt-2,x:os(Ue[1],We[1])})}else(We[0]||We[1])&&Xe.push("translate("+We+")")}(se.translate,ve.translate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?(Ue-We>180?We+=360:We-Ue>180&&(Ue+=360),tt.push({i:Xe.push(al(Xe)+"rotate(",null,")")-2,x:os(Ue,We)})):We&&Xe.push(al(Xe)+"rotate("+We+")")}(se.rotate,ve.rotate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?tt.push({i:Xe.push(al(Xe)+"skewX(",null,")")-2,x:os(Ue,We)}):We&&Xe.push(al(Xe)+"skewX("+We+")")}(se.skew,ve.skew,Ie,Fe),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push(al(Xe)+"scale(",null,",",null,")");tt.push({i:lt-4,x:os(Ue[0],We[0])},{i:lt-2,x:os(Ue[1],We[1])})}else We[0]===1&&We[1]===1||Xe.push(al(Xe)+"scale("+We+")")}(se.scale,ve.scale,Ie,Fe),se=ve=null,function(Ue){for(var We,Xe=-1,tt=Fe.length;++Xe0?Ie=on:(se.c=null,se.t=NaN,se=null,tt.end({type:"end",alpha:Ie=0})):on>0&&(tt.start({type:"start",alpha:Ie=on}),se=Kt(Xe.tick)),Xe):Ie},Xe.start=function(){var on,Fn,Hn,ir=ln.length,ar=an.length,Mr=lt[0],Er=lt[1];for(on=0;on=0;)Ie.push(Ue[Fe])}function gs(se,ve){for(var Ie=[se],Fe=[];(se=Ie.pop())!=null;)if(Fe.push(se),(We=se.children)&&(Ue=We.length))for(var Ue,We,Xe=-1;++Xe=0;)Xe.push(zt=mt[lt]),zt.parent=We,zt.depth=We.depth+1;Ie&&(We.value=0),We.children=mt}else Ie&&(We.value=+Ie.call(Fe,We,We.depth)||0),delete We.children;return gs(Ue,function(Ut){var Ht,en;se&&(Ht=Ut.children)&&Ht.sort(se),Ie&&(en=Ut.parent)&&(en.value+=Ut.value)}),tt}return Fe.sort=function(Ue){return arguments.length?(se=Ue,Fe):se},Fe.children=function(Ue){return arguments.length?(ve=Ue,Fe):ve},Fe.value=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe.revalue=function(Ue){return Ie&&(Pu(Ue,function(We){We.children&&(We.value=0)}),gs(Ue,function(We){var Xe;We.children||(We.value=+Ie.call(Fe,We,We.depth)||0),(Xe=We.parent)&&(Xe.value+=We.value)})),Ue},Fe},i.layout.partition=function(){var se=i.layout.hierarchy(),ve=[1,1];function Ie(We,Xe,tt,lt){var mt=We.children;if(We.x=Xe,We.y=We.depth*lt,We.dx=tt,We.dy=lt,mt&&(zt=mt.length)){var zt,Ut,Ht,en=-1;for(tt=We.value?tt/We.value:0;++entt&&(tt=Fe),Xe.push(Fe)}for(Ie=0;IeUe&&(Fe=Ie,Ue=ve);return Fe}function Ll(se){return se.reduce(Uc,0)}function Uc(se,ve){return se+ve[1]}function yc(se,ve){return Rf(se,Math.ceil(Math.log(ve.length)/Math.LN2+1))}function Rf(se,ve){for(var Ie=-1,Fe=+se[0],Ue=(se[1]-Fe)/ve,We=[];++Ie<=ve;)We[Ie]=Ue*Ie+Fe;return We}function bc(se){return[i.min(se),i.max(se)]}function Du(se,ve){return se.value-ve.value}function ru(se,ve){var Ie=se._pack_next;se._pack_next=ve,ve._pack_prev=se,ve._pack_next=Ie,Ie._pack_prev=ve}function iu(se,ve){se._pack_next=ve,ve._pack_prev=se}function Ki(se,ve){var Ie=ve.x-se.x,Fe=ve.y-se.y,Ue=se.r+ve.r;return .999*Ue*Ue>Ie*Ie+Fe*Fe}function Il(se){if((ve=se.children)&&(lt=ve.length)){var ve,Ie,Fe,Ue,We,Xe,tt,lt,mt=1/0,zt=-1/0,Ut=1/0,Ht=-1/0;if(ve.forEach(Pl),(Ie=ve[0]).x=-Ie.r,Ie.y=0,_n(Ie),lt>1&&((Fe=ve[1]).x=Fe.r,Fe.y=0,_n(Fe),lt>2))for(Bi(Ie,Fe,Ue=ve[2]),_n(Ue),ru(Ie,Ue),Ie._pack_prev=Ue,ru(Ue,Fe),Fe=Ie._pack_next,We=3;We0)for(Xe=-1;++Xe=Ut[0]&<<=Ut[1]&&((tt=mt[i.bisect(Ht,lt,1,vn)-1]).y+=tn,tt.push(We[Xe]));return mt}return Ue.value=function(We){return arguments.length?(ve=We,Ue):ve},Ue.range=function(We){return arguments.length?(Ie=qn(We),Ue):Ie},Ue.bins=function(We){return arguments.length?(Fe=typeof We=="number"?function(Xe){return Rf(Xe,We)}:qn(We),Ue):Fe},Ue.frequency=function(We){return arguments.length?(se=!!We,Ue):se},Ue},i.layout.pack=function(){var se,ve=i.layout.hierarchy().sort(Du),Ie=0,Fe=[1,1];function Ue(We,Xe){var tt=ve.call(this,We,Xe),lt=tt[0],mt=Fe[0],zt=Fe[1],Ut=se==null?Math.sqrt:typeof se=="function"?se:function(){return se};if(lt.x=lt.y=0,gs(lt,function(en){en.r=+Ut(en.value)}),gs(lt,Il),Ie){var Ht=Ie*(se?1:Math.max(2*lt.r/mt,2*lt.r/zt))/2;gs(lt,function(en){en.r+=Ht}),gs(lt,Il),gs(lt,function(en){en.r-=Ht})}return Ri(lt,mt/2,zt/2,se?1:1/Math.max(2*lt.r/mt,2*lt.r/zt)),tt}return Ue.size=function(We){return arguments.length?(Fe=We,Ue):Fe},Ue.radius=function(We){return arguments.length?(se=We==null||typeof We=="function"?We:+We,Ue):se},Ue.padding=function(We){return arguments.length?(Ie=+We,Ue):Ie},eu(Ue,ve)},i.layout.tree=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=sl,Ie=[1,1],Fe=null;function Ue(lt,mt){var zt=se.call(this,lt,mt),Ut=zt[0],Ht=function(_n){for(var on,Fn={A:null,children:[_n]},Hn=[Fn];(on=Hn.pop())!=null;)for(var ir,ar=on.children,Mr=0,Er=ar.length;Mrvn.x&&(vn=_n),_n.depth>tn.depth&&(tn=_n)});var ln=ve(en,vn)/2-en.x,an=Ie[0]/(vn.x+ve(vn,en)/2+ln),Cn=Ie[1]/(tn.depth||1);Pu(Ut,function(_n){_n.x=(_n.x+ln)*an,_n.y=_n.depth*Cn})}return zt}function We(lt){var mt=lt.children,zt=lt.parent.children,Ut=lt.i?zt[lt.i-1]:null;if(mt.length){(function(en){for(var vn,tn=0,ln=0,an=en.children,Cn=an.length;--Cn>=0;)(vn=an[Cn]).z+=tn,vn.m+=tn,tn+=vn.s+(ln+=vn.c)})(lt);var Ht=(mt[0].z+mt[mt.length-1].z)/2;Ut?(lt.z=Ut.z+ve(lt._,Ut._),lt.m=lt.z-Ht):lt.z=Ht}else Ut&&(lt.z=Ut.z+ve(lt._,Ut._));lt.parent.A=function(en,vn,tn){if(vn){for(var ln,an=en,Cn=en,_n=vn,on=an.parent.children[0],Fn=an.m,Hn=Cn.m,ir=_n.m,ar=on.m;_n=Hc(_n),an=Us(an),_n&&an;)on=Us(on),(Cn=Hc(Cn)).a=en,(ln=_n.z+ir-an.z-Fn+ve(_n._,an._))>0&&(Df(au(_n,en,tn),en,ln),Fn+=ln,Hn+=ln),ir+=_n.m,Fn+=an.m,ar+=on.m,Hn+=Cn.m;_n&&!Hc(Cn)&&(Cn.t=_n,Cn.m+=ir-Hn),an&&!Us(on)&&(on.t=an,on.m+=Fn-ar,tn=en)}return tn}(lt,Ut,lt.parent.A||zt[0])}function Xe(lt){lt._.x=lt.z+lt.parent.m,lt.m+=lt.parent.m}function tt(lt){lt.x*=Ie[0],lt.y=lt.depth*Ie[1]}return Ue.separation=function(lt){return arguments.length?(ve=lt,Ue):ve},Ue.size=function(lt){return arguments.length?(Fe=(Ie=lt)==null?tt:null,Ue):Fe?null:Ie},Ue.nodeSize=function(lt){return arguments.length?(Fe=(Ie=lt)==null?null:tt,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.cluster=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=sl,Ie=[1,1],Fe=!1;function Ue(We,Xe){var tt,lt=se.call(this,We,Xe),mt=lt[0],zt=0;gs(mt,function(tn){var ln=tn.children;ln&&ln.length?(tn.x=function(an){return an.reduce(function(Cn,_n){return Cn+_n.x},0)/an.length}(ln),tn.y=function(an){return 1+i.max(an,function(Cn){return Cn.y})}(ln)):(tn.x=tt?zt+=ve(tn,tt):0,tn.y=0,tt=tn)});var Ut=zf(mt),Ht=ou(mt),en=Ut.x-ve(Ut,Ht)/2,vn=Ht.x+ve(Ht,Ut)/2;return gs(mt,Fe?function(tn){tn.x=(tn.x-mt.x)*Ie[0],tn.y=(mt.y-tn.y)*Ie[1]}:function(tn){tn.x=(tn.x-en)/(vn-en)*Ie[0],tn.y=(1-(mt.y?tn.y/mt.y:1))*Ie[1]}),lt}return Ue.separation=function(We){return arguments.length?(ve=We,Ue):ve},Ue.size=function(We){return arguments.length?(Fe=(Ie=We)==null,Ue):Fe?null:Ie},Ue.nodeSize=function(We){return arguments.length?(Fe=(Ie=We)!=null,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.treemap=function(){var se,ve=i.layout.hierarchy(),Ie=Math.round,Fe=[1,1],Ue=null,We=ll,Xe=!1,tt="squarify",lt=.5*(1+Math.sqrt(5));function mt(tn,ln){for(var an,Cn,_n=-1,on=tn.length;++_n0;)Fn.push(an=Hn[_n-1]),Fn.area+=an.area,tt!=="squarify"||(Cn=Ht(Fn,ar))<=ir?(Hn.pop(),ir=Cn):(Fn.area-=Fn.pop().area,en(Fn,ar,on,!1),ar=Math.min(on.dx,on.dy),Fn.length=Fn.area=0,ir=1/0);Fn.length&&(en(Fn,ar,on,!0),Fn.length=Fn.area=0),ln.forEach(zt)}}function Ut(tn){var ln=tn.children;if(ln&&ln.length){var an,Cn=We(tn),_n=ln.slice(),on=[];for(mt(_n,Cn.dx*Cn.dy/tn.value),on.area=0;an=_n.pop();)on.push(an),on.area+=an.area,an.z!=null&&(en(on,an.z?Cn.dx:Cn.dy,Cn,!_n.length),on.length=on.area=0);ln.forEach(Ut)}}function Ht(tn,ln){for(var an,Cn=tn.area,_n=0,on=1/0,Fn=-1,Hn=tn.length;++Fn_n&&(_n=an));return ln*=ln,(Cn*=Cn)?Math.max(ln*_n*lt/Cn,Cn/(ln*on*lt)):1/0}function en(tn,ln,an,Cn){var _n,on=-1,Fn=tn.length,Hn=an.x,ir=an.y,ar=ln?Ie(tn.area/ln):0;if(ln==an.dx){for((Cn||ar>an.dy)&&(ar=an.dy);++onan.dx)&&(ar=an.dx);++on1);return se+ve*Fe*Math.sqrt(-2*Math.log(We)/We)}},logNormal:function(){var se=i.random.normal.apply(i,arguments);return function(){return Math.exp(se())}},bates:function(se){var ve=i.random.irwinHall(se);return function(){return ve()/se}},irwinHall:function(se){return function(){for(var ve=0,Ie=0;Ie2?co:lu,mt=Fe?Jl:If;return Ue=lt(se,ve,mt,Ie),We=lt(ve,se,mt,Yo),tt}function tt(lt){return Ue(lt)}return tt.invert=function(lt){return We(lt)},tt.domain=function(lt){return arguments.length?(se=lt.map(Number),Xe()):se},tt.range=function(lt){return arguments.length?(ve=lt,Xe()):ve},tt.rangeRound=function(lt){return tt.range(lt).interpolate(xh)},tt.clamp=function(lt){return arguments.length?(Fe=lt,Xe()):Fe},tt.interpolate=function(lt){return arguments.length?(Ie=lt,Xe()):Ie},tt.ticks=function(lt){return Zo(se,lt)},tt.tickFormat=function(lt,mt){return d3_scale_linearTickFormat(se,lt,mt)},tt.nice=function(lt){return ys(se,lt),Xe()},tt.copy=function(){return zo(se,ve,Ie,Fe)},Xe()}function Ol(se,ve){return i.rebind(se,ve,"range","rangeRound","interpolate","clamp")}function ys(se,ve){return Ha(se,mo(Ya(se,ve)[2])),Ha(se,mo(Ya(se,ve)[2])),se}function Ya(se,ve){ve==null&&(ve=10);var Ie=da(se),Fe=Ie[1]-Ie[0],Ue=Math.pow(10,Math.floor(Math.log(Fe/ve)/Math.LN10)),We=ve/Fe*Ue;return We<=.15?Ue*=10:We<=.35?Ue*=5:We<=.75&&(Ue*=2),Ie[0]=Math.ceil(Ie[0]/Ue)*Ue,Ie[1]=Math.floor(Ie[1]/Ue)*Ue+.5*Ue,Ie[2]=Ue,Ie}function Zo(se,ve){return i.range.apply(i,Ya(se,ve))}function Gc(se,ve,Ie,Fe){function Ue(tt){return(Ie?Math.log(tt<0?0:tt):-Math.log(tt>0?0:-tt))/Math.log(ve)}function We(tt){return Ie?Math.pow(ve,tt):-Math.pow(ve,-tt)}function Xe(tt){return se(Ue(tt))}return Xe.invert=function(tt){return We(se.invert(tt))},Xe.domain=function(tt){return arguments.length?(Ie=tt[0]>=0,se.domain((Fe=tt.map(Number)).map(Ue)),Xe):Fe},Xe.base=function(tt){return arguments.length?(ve=+tt,se.domain(Fe.map(Ue)),Xe):ve},Xe.nice=function(){var tt=Ha(Fe.map(Ue),Ie?Math:qc);return se.domain(tt),Fe=tt.map(We),Xe},Xe.ticks=function(){var tt=da(Fe),lt=[],mt=tt[0],zt=tt[1],Ut=Math.floor(Ue(mt)),Ht=Math.ceil(Ue(zt)),en=ve%1?2:ve;if(isFinite(Ht-Ut)){if(Ie){for(;Ut0;vn--)lt.push(We(Ut)*vn);for(Ut=0;lt[Ut]zt;Ht--);lt=lt.slice(Ut,Ht)}return lt},Xe.copy=function(){return Gc(se.copy(),ve,Ie,Fe)},Ol(Xe,se)}i.scale.linear=function(){return zo([0,1],[0,1],Yo,!1)},i.scale.log=function(){return Gc(i.scale.linear().domain([0,1]),10,!0,[1,10])};var qc={floor:function(se){return-Math.ceil(-se)},ceil:function(se){return-Math.floor(-se)}};function Lo(se,ve,Ie){var Fe=Dr(ve),Ue=Dr(1/ve);function We(Xe){return se(Fe(Xe))}return We.invert=function(Xe){return Ue(se.invert(Xe))},We.domain=function(Xe){return arguments.length?(se.domain((Ie=Xe.map(Number)).map(Fe)),We):Ie},We.ticks=function(Xe){return Zo(Ie,Xe)},We.tickFormat=function(Xe,tt){return d3_scale_linearTickFormat(Ie,Xe,tt)},We.nice=function(Xe){return We.domain(ys(Ie,Xe))},We.exponent=function(Xe){return arguments.length?(Fe=Dr(ve=Xe),Ue=Dr(1/ve),se.domain(Ie.map(Fe)),We):ve},We.copy=function(){return Lo(se.copy(),ve,Ie)},Ol(We,se)}function Dr(se){return function(ve){return ve<0?-Math.pow(-ve,se):Math.pow(ve,se)}}function uu(se,ve){var Ie,Fe,Ue;function We(tt){return Fe[((Ie.get(tt)||(ve.t==="range"?Ie.set(tt,se.push(tt)):NaN))-1)%Fe.length]}function Xe(tt,lt){return i.range(se.length).map(function(mt){return tt+lt*mt})}return We.domain=function(tt){if(!arguments.length)return se;se=[],Ie=new L;for(var lt,mt=-1,zt=tt.length;++mt0?Ie[We-1]:se[0],WeHt?0:1;if(zt=qt)return lt(zt,vn)+(mt?lt(mt,1-vn):"")+"Z";var tn,ln,an,Cn,_n,on,Fn,Hn,ir,ar,Mr,Er,xr=0,kr=0,jr=[];if((Cn=(+Xe.apply(this,arguments)||0)/2)&&(an=Fe===xc?Math.sqrt(mt*mt+zt*zt):+Fe.apply(this,arguments),vn||(kr*=-1),zt&&(kr=qe(an/zt*Math.sin(Cn))),mt&&(xr=qe(an/mt*Math.sin(Cn)))),zt){_n=zt*Math.cos(Ut+kr),on=zt*Math.sin(Ut+kr),Fn=zt*Math.cos(Ht-kr),Hn=zt*Math.sin(Ht-kr);var hi=Math.abs(Ht-Ut-2*kr)<=Rt?0:1;if(kr&&Ps(_n,on,Fn,Hn)===vn^hi){var di=(Ut+Ht)/2;_n=zt*Math.cos(di),on=zt*Math.sin(di),Fn=Hn=null}}else _n=on=0;if(mt){ir=mt*Math.cos(Ht-xr),ar=mt*Math.sin(Ht-xr),Mr=mt*Math.cos(Ut+xr),Er=mt*Math.sin(Ut+xr);var wr=Math.abs(Ut-Ht+2*xr)<=Rt?0:1;if(xr&&Ps(ir,ar,Mr,Er)===1-vn^wr){var Ur=(Ut+Ht)/2;ir=mt*Math.cos(Ur),ar=mt*Math.sin(Ur),Mr=Er=null}}else ir=ar=0;if(en>Ft&&(tn=Math.min(Math.abs(zt-mt)/2,+Ie.apply(this,arguments)))>.001){ln=mt0?0:1}function xs(se,ve,Ie,Fe,Ue){var We=se[0]-ve[0],Xe=se[1]-ve[1],tt=(Ue?Fe:-Fe)/Math.sqrt(We*We+Xe*Xe),lt=tt*Xe,mt=-tt*We,zt=se[0]+lt,Ut=se[1]+mt,Ht=ve[0]+lt,en=ve[1]+mt,vn=(zt+Ht)/2,tn=(Ut+en)/2,ln=Ht-zt,an=en-Ut,Cn=ln*ln+an*an,_n=Ie-Fe,on=zt*en-Ht*Ut,Fn=(an<0?-1:1)*Math.sqrt(Math.max(0,_n*_n*Cn-on*on)),Hn=(on*an-ln*Fn)/Cn,ir=(-on*ln-an*Fn)/Cn,ar=(on*an+ln*Fn)/Cn,Mr=(-on*ln+an*Fn)/Cn,Er=Hn-vn,xr=ir-tn,kr=ar-vn,jr=Mr-tn;return Er*Er+xr*xr>kr*kr+jr*jr&&(Hn=ar,ir=Mr),[[Hn-lt,ir-mt],[Hn*Ie/_n,ir*Ie/_n]]}function fu(){return!0}function yo(se){var ve=Un,Ie=Kn,Fe=fu,Ue=$i,We=Ue.key,Xe=.7;function tt(lt){var mt,zt=[],Ut=[],Ht=-1,en=lt.length,vn=qn(ve),tn=qn(Ie);function ln(){zt.push("M",Ue(se(Ut),Xe))}for(;++Ht1&&Ue.push("H",Fe[0]),Ue.join("")},"step-before":ls,"step-after":ws,basis:Wi,"basis-open":function(se){if(se.length<4)return $i(se);for(var ve,Ie=[],Fe=-1,Ue=se.length,We=[0],Xe=[0];++Fe<3;)ve=se[Fe],We.push(ve[0]),Xe.push(ve[1]);for(Ie.push(no(qs,We)+","+no(qs,Xe)),--Fe;++Fe9&&(We=3*Ie/Math.sqrt(We),tt[lt]=We*Fe,tt[lt+1]=We*Ue);for(lt=-1;++lt<=mt;)We=(ve[Math.min(mt,lt+1)][0]-ve[Math.max(0,lt-1)][0])/(6*(1+tt[lt]*tt[lt])),Xe.push([We||0,tt[lt]*We||0]);return Xe}(se))}});function $i(se){return se.length>1?se.join("L"):se+"Z"}function _c(se){return se.join("L")+"Z"}function ls(se){for(var ve=0,Ie=se.length,Fe=se[0],Ue=[Fe[0],",",Fe[1]];++ve1){tt=ve[1],We=se[lt],lt++,Fe+="C"+(Ue[0]+Xe[0])+","+(Ue[1]+Xe[1])+","+(We[0]-tt[0])+","+(We[1]-tt[1])+","+We[0]+","+We[1];for(var mt=2;mtRt)+",1 "+zt}function lt(mt,zt,Ut,Ht){return"Q 0,0 "+Ht}return We.radius=function(mt){return arguments.length?(Ie=qn(mt),We):Ie},We.source=function(mt){return arguments.length?(se=qn(mt),We):se},We.target=function(mt){return arguments.length?(ve=qn(mt),We):ve},We.startAngle=function(mt){return arguments.length?(Fe=qn(mt),We):Fe},We.endAngle=function(mt){return arguments.length?(Ue=qn(mt),We):Ue},We},i.svg.diagonal=function(){var se=Gr,ve=ni,Ie=fl;function Fe(Ue,We){var Xe=se.call(this,Ue,We),tt=ve.call(this,Ue,We),lt=(Xe.y+tt.y)/2,mt=[Xe,{x:Xe.x,y:lt},{x:tt.x,y:lt},tt];return"M"+(mt=mt.map(Ie))[0]+"C"+mt[1]+" "+mt[2]+" "+mt[3]}return Fe.source=function(Ue){return arguments.length?(se=qn(Ue),Fe):se},Fe.target=function(Ue){return arguments.length?(ve=qn(Ue),Fe):ve},Fe.projection=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe},i.svg.diagonal.radial=function(){var se=i.svg.diagonal(),ve=fl,Ie=se.projection;return se.projection=function(Fe){return arguments.length?Ie(Rs(ve=Fe)):ve},se},i.svg.symbol=function(){var se=Yc,ve=xo;function Ie(Fe,Ue){return(ju.get(se.call(this,Fe,Ue))||Vo)(ve.call(this,Fe,Ue))}return Ie.type=function(Fe){return arguments.length?(se=qn(Fe),Ie):se},Ie.size=function(Fe){return arguments.length?(ve=qn(Fe),Ie):ve},Ie};var ju=i.map({circle:Vo,cross:function(se){var ve=Math.sqrt(se/5)/2;return"M"+-3*ve+","+-ve+"H"+-ve+"V"+-3*ve+"H"+ve+"V"+-ve+"H"+3*ve+"V"+ve+"H"+ve+"V"+3*ve+"H"+-ve+"V"+ve+"H"+-3*ve+"Z"},diamond:function(se){var ve=Math.sqrt(se/(2*Ji)),Ie=ve*Ji;return"M0,"+-ve+"L"+Ie+",0 0,"+ve+" "+-Ie+",0Z"},square:function(se){var ve=Math.sqrt(se)/2;return"M"+-ve+","+-ve+"L"+ve+","+-ve+" "+ve+","+ve+" "+-ve+","+ve+"Z"},"triangle-down":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+Ie+"L"+ve+","+-Ie+" "+-ve+","+-Ie+"Z"},"triangle-up":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+-Ie+"L"+ve+","+Ie+" "+-ve+","+Ie+"Z"}});i.svg.symbolTypes=ju.keys();var hl=Math.sqrt(3),Ji=Math.tan(30*Ke);ce.transition=function(se){for(var ve,Ie,Fe=rt||++St,Ue=ee(se),We=[],Xe=ct||{time:Date.now(),ease:nl,delay:0,duration:250},tt=-1,lt=this.length;++tt0;)mt[--an].call(se,ln);if(tn>=1)return Ut.event&&Ut.event.end.call(se,se.__data__,ve),--zt.count?delete zt[Fe]:delete se[Ie],1}Ut||(We=Ue.time,Xe=Kt(function(vn){var tn=Ut.delay;if(Xe.t=tn+We,tn<=vn)return Ht(vn-tn);Xe.c=Ht},0,We),Ut=zt[Fe]={tween:new L,time:We,timer:Xe,delay:Ue.delay,duration:Ue.duration,ease:Ue.ease,index:ve},Ue=null,++zt.count)}vt.call=ce.call,vt.empty=ce.empty,vt.node=ce.node,vt.size=ce.size,i.transition=function(se,ve){return se&&se.transition?rt?se.transition(ve):se:i.selection().transition(se)},i.transition.prototype=vt,vt.select=function(se){var ve,Ie,Fe,Ue=this.id,We=this.namespace,Xe=[];se=ye(se);for(var tt=-1,lt=this.length;++ttrect,.s>rect").attr("width",We[1]-We[0])}function en(tn){tn.select(".extent").attr("y",Xe[0]),tn.selectAll(".extent,.e>rect,.w>rect").attr("height",Xe[1]-Xe[0])}function vn(){var tn,ln,an=this,Cn=i.select(i.event.target),_n=Ie.of(an,arguments),on=i.select(an),Fn=Cn.datum(),Hn=!/^(n|s)$/.test(Fn)&&Fe,ir=!/^(e|w)$/.test(Fn)&&Ue,ar=Cn.classed("extent"),Mr=bt(an),Er=i.mouse(an),xr=i.select(a(an)).on("keydown.brush",hi).on("keyup.brush",di);if(i.event.changedTouches?xr.on("touchmove.brush",wr).on("touchend.brush",oi):xr.on("mousemove.brush",wr).on("mouseup.brush",oi),on.interrupt().selectAll("*").interrupt(),ar)Er[0]=We[0]-Er[0],Er[1]=Xe[0]-Er[1];else if(Fn){var kr=+/w$/.test(Fn),jr=+/^n/.test(Fn);ln=[We[1-kr]-Er[0],Xe[1-jr]-Er[1]],Er[0]=We[kr],Er[1]=Xe[jr]}else i.event.altKey&&(tn=Er.slice());function hi(){i.event.keyCode==32&&(ar||(tn=null,Er[0]-=We[1],Er[1]-=Xe[1],ar=2),ne())}function di(){i.event.keyCode==32&&ar==2&&(Er[0]+=We[1],Er[1]+=Xe[1],ar=0,ne())}function wr(){var ai=i.mouse(an),Ii=!1;ln&&(ai[0]+=ln[0],ai[1]+=ln[1]),ar||(i.event.altKey?(tn||(tn=[(We[0]+We[1])/2,(Xe[0]+Xe[1])/2]),Er[0]=We[+(ai[0]>>1;f.dtype||(f.dtype="array"),typeof f.dtype=="string"?v=new(u(f.dtype))(x):f.dtype&&(v=f.dtype,Array.isArray(v)&&(v.length=x));for(var T=0;Tp||H>1073741824){for(var Q=0;Qpe+Oe||ie>xe+Oe||oe=ce||Me===Se)){var Ce=C[_e];Se===void 0&&(Se=Ce.length);for(var ae=Me;ae=ne&&be<=Z&&ke>=te&&ke<=X&&ye.push(he)}var Le=_[_e],Be=Le[4*Me+0],ze=Le[4*Me+1],je=Le[4*Me+2],ge=Le[4*Me+3],we=me(Le,Me+1),Ee=.5*Oe,Ve=_e+1;de(pe,xe,Ee,Ve,Be,ze||je||ge||we),de(pe,xe+Ee,Ee,Ve,ze,je||ge||we),de(pe+Ee,xe,Ee,Ve,je,ge||we),de(pe+Ee,xe+Ee,Ee,Ve,ge,we)}}function me(pe,xe){for(var Oe=null,_e=0;Oe===null;)if(Oe=pe[4*xe+_e],++_e>pe.length)return null;return Oe}return de(0,0,1,0,0,1),ye},v;function B(W,j,Y,U,G){for(var q=[],H=0;H0){l+=Math.abs(M(h[0]));for(var a=1;a2){for(c=0;c=0))throw new Error("precision must be a positive number");var p=Math.pow(10,f||0);return Math.round(c*p)/p},m.radiansToLength=a,m.lengthToRadians=u,m.lengthToDegrees=function(c,f){return o(u(c,f))},m.bearingToAzimuth=function(c){var f=c%360;return f<0&&(f+=360),f},m.radiansToDegrees=o,m.degreesToRadians=function(c){return c%360*Math.PI/180},m.convertLength=function(c,f,p){if(f===void 0&&(f="kilometers"),p===void 0&&(p="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,f),p)},m.convertArea=function(c,f,p){if(f===void 0&&(f="meters"),p===void 0&&(p="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=m.areaFactors[f];if(!w)throw new Error("invalid original units");var v=m.areaFactors[p];if(!v)throw new Error("invalid final units");return c/w*v},m.isNumber=s,m.isObject=function(c){return!!c&&c.constructor===Object},m.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(f){if(!s(f))throw new Error("bbox must only contain numbers")})},m.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")}},60302:function(k,m,t){Object.defineProperty(m,"__esModule",{value:!0});var d=t(23132);function y(u,o,s){if(u!==null)for(var c,f,p,w,v,S,x,T,C=0,_=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",P=L?u.features.length:1,I=0;IS||L>x||b>T)return v=C,S=c,x=L,T=b,void(p=0);var P=d.lineString([v,C],s.properties);if(o(P,c,f,b,p)===!1)return!1;p++,v=C})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");h(u,function(s,c,f){if(s.geometry!==null){var p=s.geometry.type,w=s.geometry.coordinates;switch(p){case"LineString":if(o(s,c,f,0,0)===!1)return!1;break;case"Polygon":for(var v=0;vg[0]&&(M[0]=g[0]),M[1]>g[1]&&(M[1]=g[1]),M[2]=0))throw new Error("precision must be a positive number");var p=Math.pow(10,f||0);return Math.round(c*p)/p},m.radiansToLength=a,m.lengthToRadians=u,m.lengthToDegrees=function(c,f){return o(u(c,f))},m.bearingToAzimuth=function(c){var f=c%360;return f<0&&(f+=360),f},m.radiansToDegrees=o,m.degreesToRadians=function(c){return c%360*Math.PI/180},m.convertLength=function(c,f,p){if(f===void 0&&(f="kilometers"),p===void 0&&(p="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,f),p)},m.convertArea=function(c,f,p){if(f===void 0&&(f="meters"),p===void 0&&(p="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=m.areaFactors[f];if(!w)throw new Error("invalid original units");var v=m.areaFactors[p];if(!v)throw new Error("invalid final units");return c/w*v},m.isNumber=s,m.isObject=function(c){return!!c&&c.constructor===Object},m.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(f){if(!s(f))throw new Error("bbox must only contain numbers")})},m.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")}},27138:function(k,m,t){Object.defineProperty(m,"__esModule",{value:!0});var d=t(94228);function y(u,o,s){if(u!==null)for(var c,f,p,w,v,S,x,T,C=0,_=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",P=L?u.features.length:1,I=0;IS||L>x||b>T)return v=C,S=c,x=L,T=b,void(p=0);var P=d.lineString([v,C],s.properties);if(o(P,c,f,b,p)===!1)return!1;p++,v=C})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");h(u,function(s,c,f){if(s.geometry!==null){var p=s.geometry.type,w=s.geometry.coordinates;switch(p){case"LineString":if(o(s,c,f,0,0)===!1)return!1;break;case"Polygon":for(var v=0;v=0))throw new Error("precision must be a positive number");var p=Math.pow(10,f||0);return Math.round(c*p)/p},m.radiansToLength=a,m.lengthToRadians=u,m.lengthToDegrees=function(c,f){return o(u(c,f))},m.bearingToAzimuth=function(c){var f=c%360;return f<0&&(f+=360),f},m.radiansToDegrees=o,m.degreesToRadians=function(c){return c%360*Math.PI/180},m.convertLength=function(c,f,p){if(f===void 0&&(f="kilometers"),p===void 0&&(p="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,f),p)},m.convertArea=function(c,f,p){if(f===void 0&&(f="meters"),p===void 0&&(p="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=m.areaFactors[f];if(!w)throw new Error("invalid original units");var v=m.areaFactors[p];if(!v)throw new Error("invalid final units");return c/w*v},m.isNumber=s,m.isObject=function(c){return!!c&&c.constructor===Object},m.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(f){if(!s(f))throw new Error("bbox must only contain numbers")})},m.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")},m.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},m.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},m.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},m.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},m.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},m.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},m.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},88553:function(k,m,t){Object.defineProperty(m,"__esModule",{value:!0});var d=t(64182);function y(u,o,s){if(u!==null)for(var c,f,p,w,v,S,x,T,C=0,_=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",P=L?u.features.length:1,I=0;IS||L>x||b>T)return v=C,S=c,x=L,T=b,void(p=0);var P=d.lineString([v,C],s.properties);if(o(P,c,f,b,p)===!1)return!1;p++,v=C})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");h(u,function(s,c,f){if(s.geometry!==null){var p=s.geometry.type,w=s.geometry.coordinates;switch(p){case"LineString":if(o(s,c,f,0,0)===!1)return!1;break;case"Polygon":for(var v=0;vi&&(i=m[g]),m[g]1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(L,b,O){return a=l()?Reflect.construct:function(I,R,D){var F=[null];F.push.apply(F,R);var B=new(Function.bind.apply(I,F));return D&&u(B,D.prototype),B},a.apply(null,arguments)}function u(L,b){return u=Object.setPrototypeOf||function(O,I){return O.__proto__=I,O},u(L,b)}function o(L){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},o(L)}function s(L){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},s(L)}var f=t(43827).inspect,c=t(79616).codes.ERR_INVALID_ARG_TYPE;function p(L,b,O){return(O===void 0||O>L.length)&&(O=L.length),L.substring(O-b.length,O)===b}var w="",v="",S="",x="",T={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function C(L){var b=Object.keys(L),O=Object.create(Object.getPrototypeOf(L));return b.forEach(function(I){O[I]=L[I]}),Object.defineProperty(O,"message",{value:L.message}),O}function _(L){return f(L,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var A=function(L){function b(R){var D;if(function(te,Z){if(!(te instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,b),s(R)!=="object"||R===null)throw new c("options","Object",R);var F=R.message,B=R.operator,N=R.stackStartFn,q=R.actual,j=R.expected,$=Error.stackTraceLimit;if(Error.stackTraceLimit=0,F!=null)D=M(this,o(b).call(this,String(F)));else if(d.stderr&&d.stderr.isTTY&&(d.stderr&&d.stderr.getColorDepth&&d.stderr.getColorDepth()!==1?(w="\x1B[34m",v="\x1B[32m",x="\x1B[39m",S="\x1B[31m"):(w="",v="",x="",S="")),s(q)==="object"&&q!==null&&s(j)==="object"&&j!==null&&"stack"in q&&q instanceof Error&&"stack"in j&&j instanceof Error&&(q=C(q),j=C(j)),B==="deepStrictEqual"||B==="strictEqual")D=M(this,o(b).call(this,function(te,Z,X){var Q="",re="",ie=0,oe="",ue=!1,ce=_(te),ye=ce.split(` +`))}throw q}},C.strict=v(j,C,{equal:C.strictEqual,deepEqual:C.deepStrictEqual,notEqual:C.notStrictEqual,notDeepEqual:C.notDeepStrictEqual}),C.strict.strict=C.strict},73894:function(k,m,t){var d=t(90386);function y(L,b,P){return b in L?Object.defineProperty(L,b,{value:P,enumerable:!0,configurable:!0,writable:!0}):L[b]=P,L}function i(L,b){for(var P=0;P"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(L,b,P){return a=l()?Reflect.construct:function(I,R,D){var F=[null];F.push.apply(F,R);var B=new(Function.bind.apply(I,F));return D&&u(B,D.prototype),B},a.apply(null,arguments)}function u(L,b){return u=Object.setPrototypeOf||function(P,I){return P.__proto__=I,P},u(L,b)}function o(L){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},o(L)}function s(L){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},s(L)}var c=t(43827).inspect,f=t(79616).codes.ERR_INVALID_ARG_TYPE;function p(L,b,P){return(P===void 0||P>L.length)&&(P=L.length),L.substring(P-b.length,P)===b}var w="",v="",S="",x="",T={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function C(L){var b=Object.keys(L),P=Object.create(Object.getPrototypeOf(L));return b.forEach(function(I){P[I]=L[I]}),Object.defineProperty(P,"message",{value:L.message}),P}function _(L){return c(L,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var A=function(L){function b(R){var D;if(function(te,Z){if(!(te instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,b),s(R)!=="object"||R===null)throw new f("options","Object",R);var F=R.message,B=R.operator,N=R.stackStartFn,W=R.actual,j=R.expected,Y=Error.stackTraceLimit;if(Error.stackTraceLimit=0,F!=null)D=M(this,o(b).call(this,String(F)));else if(d.stderr&&d.stderr.isTTY&&(d.stderr&&d.stderr.getColorDepth&&d.stderr.getColorDepth()!==1?(w="\x1B[34m",v="\x1B[32m",x="\x1B[39m",S="\x1B[31m"):(w="",v="",x="",S="")),s(W)==="object"&&W!==null&&s(j)==="object"&&j!==null&&"stack"in W&&W instanceof Error&&"stack"in j&&j instanceof Error&&(W=C(W),j=C(j)),B==="deepStrictEqual"||B==="strictEqual")D=M(this,o(b).call(this,function(te,Z,X){var Q="",re="",ie=0,oe="",ue=!1,ce=_(te),ye=ce.split(` `),de=_(Z).split(` `),me=0,pe="";if(X==="strictEqual"&&s(te)==="object"&&s(Z)==="object"&&te!==null&&Z!==null&&(X="strictEqualObject"),ye.length===1&&de.length===1&&ye[0]!==de[0]){var xe=ye[0].length+de[0].length;if(xe<=10){if(!(s(te)==="object"&&te!==null||s(Z)==="object"&&Z!==null||te===0&&Z===0))return"".concat(T[X],` `)+"".concat(ye[0]," !== ").concat(de[0],` `)}else if(X!=="strictEqualObject"&&xe<(d.stderr&&d.stderr.isTTY?d.stderr.columns:80)){for(;ye[0][me]===de[0][me];)me++;me>2&&(pe=` - `.concat(function(ze,je){if(je=Math.floor(je),ze.length==0||je==0)return"";var ge=ze.length*je;for(je=Math.floor(Math.log(je)/Math.log(2));je;)ze+=ze,je--;return ze+ze.substring(0,ge-ze.length)}(" ",me),"^"),me=0)}}for(var Pe=ye[ye.length-1],_e=de[de.length-1];Pe===_e&&(me++<2?oe=` - `.concat(Pe).concat(oe):Q=Pe,ye.pop(),de.pop(),ye.length!==0&&de.length!==0);)Pe=ye[ye.length-1],_e=de[de.length-1];var Me=Math.max(ye.length,de.length);if(Me===0){var Se=ce.split(` + `.concat(function(ze,je){if(je=Math.floor(je),ze.length==0||je==0)return"";var ge=ze.length*je;for(je=Math.floor(Math.log(je)/Math.log(2));je;)ze+=ze,je--;return ze+ze.substring(0,ge-ze.length)}(" ",me),"^"),me=0)}}for(var Oe=ye[ye.length-1],_e=de[de.length-1];Oe===_e&&(me++<2?oe=` + `.concat(Oe).concat(oe):Q=Oe,ye.pop(),de.pop(),ye.length!==0&&de.length!==0);)Oe=ye[ye.length-1],_e=de[de.length-1];var Me=Math.max(ye.length,de.length);if(Me===0){var Se=ce.split(` `);if(Se.length>30)for(Se[26]="".concat(w,"...").concat(x);Se.length>27;)Se.pop();return"".concat(T.notIdentical,` `).concat(Se.join(` @@ -2388,20 +2388,20 @@ void main() { `).concat(re,` `).concat(w,"...").concat(x).concat(Q,` `)+"".concat(w,"...").concat(x)}return"".concat(ae).concat(ue?he:"",` -`).concat(re).concat(Q).concat(oe).concat(pe)}(q,j,B)));else if(B==="notDeepStrictEqual"||B==="notStrictEqual"){var U=T[B],G=_(q).split(` -`);if(B==="notStrictEqual"&&s(q)==="object"&&q!==null&&(U=T.notStrictEqualObject),G.length>30)for(G[26]="".concat(w,"...").concat(x);G.length>27;)G.pop();D=G.length===1?M(this,o(b).call(this,"".concat(U," ").concat(G[0]))):M(this,o(b).call(this,"".concat(U,` +`).concat(re).concat(Q).concat(oe).concat(pe)}(W,j,B)));else if(B==="notDeepStrictEqual"||B==="notStrictEqual"){var U=T[B],G=_(W).split(` +`);if(B==="notStrictEqual"&&s(W)==="object"&&W!==null&&(U=T.notStrictEqualObject),G.length>30)for(G[26]="".concat(w,"...").concat(x);G.length>27;)G.pop();D=G.length===1?M(this,o(b).call(this,"".concat(U," ").concat(G[0]))):M(this,o(b).call(this,"".concat(U,` `).concat(G.join(` `),` -`)))}else{var W=_(q),H="",ne=T[B];B==="notDeepEqual"||B==="notEqual"?(W="".concat(T[B],` +`)))}else{var q=_(W),H="",ne=T[B];B==="notDeepEqual"||B==="notEqual"?(q="".concat(T[B],` -`).concat(W)).length>1024&&(W="".concat(W.slice(0,1021),"...")):(H="".concat(_(j)),W.length>512&&(W="".concat(W.slice(0,509),"...")),H.length>512&&(H="".concat(H.slice(0,509),"...")),B==="deepEqual"||B==="equal"?W="".concat(ne,` +`).concat(q)).length>1024&&(q="".concat(q.slice(0,1021),"...")):(H="".concat(_(j)),q.length>512&&(q="".concat(q.slice(0,509),"...")),H.length>512&&(H="".concat(H.slice(0,509),"...")),B==="deepEqual"||B==="equal"?q="".concat(ne,` -`).concat(W,` +`).concat(q,` should equal -`):H=" ".concat(B," ").concat(H)),D=M(this,o(b).call(this,"".concat(W).concat(H)))}return Error.stackTraceLimit=$,D.generatedMessage=!F,Object.defineProperty(g(D),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),D.code="ERR_ASSERTION",D.actual=q,D.expected=j,D.operator=B,Error.captureStackTrace&&Error.captureStackTrace(g(D),N),D.stack,D.name="AssertionError",M(D)}var O,I;return function(R,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(D&&D.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),D&&u(R,D)}(b,L),O=b,I=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:f.custom,value:function(R,D){return f(this,function(F){for(var B=1;B2?"one of ".concat(o," ").concat(u.slice(0,s-1).join(", "),", or ")+u[s-1]:s===2?"one of ".concat(o," ").concat(u[0]," or ").concat(u[1]):"of ".concat(o," ").concat(u[0])}return"of ".concat(o," ").concat(String(u))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(u,o,s){var f,c,p,w,v;if(M===void 0&&(M=t(32791)),M(typeof u=="string","'name' must be a string"),typeof o=="string"&&(c="not ",o.substr(0,c.length)===c)?(f="must not be",o=o.replace(/^not /,"")):f="must be",function(x,T,C){return(C===void 0||C>x.length)&&(C=x.length),x.substring(C-T.length,C)===T}(u," argument"))p="The ".concat(u," ").concat(f," ").concat(a(o,"type"));else{var S=(typeof v!="number"&&(v=0),v+1>(w=u).length||w.indexOf(".",v)===-1?"argument":"property");p='The "'.concat(u,'" ').concat(S," ").concat(f," ").concat(a(o,"type"))}return p+". Received type ".concat(d(s))},TypeError),l("ERR_INVALID_ARG_VALUE",function(u,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";g===void 0&&(g=t(43827));var f=g.inspect(o);return f.length>128&&(f="".concat(f.slice(0,128),"...")),"The argument '".concat(u,"' ").concat(s,". Received ").concat(f)},TypeError),l("ERR_INVALID_RETURN_VALUE",function(u,o,s){var f;return f=s&&s.constructor&&s.constructor.name?"instance of ".concat(s.constructor.name):"type ".concat(d(s)),"Expected ".concat(u,' to be returned from the "').concat(o,'"')+" function but got ".concat(f,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var u=arguments.length,o=new Array(u),s=0;s0,"At least one arg needs to be specified");var f="The ",c=o.length;switch(o=o.map(function(p){return'"'.concat(p,'"')}),c){case 1:f+="".concat(o[0]," argument");break;case 2:f+="".concat(o[0]," and ").concat(o[1]," arguments");break;default:f+=o.slice(0,c-1).join(", "),f+=", and ".concat(o[c-1]," arguments")}return"".concat(f," must be specified")},TypeError),k.exports.codes=h},74061:function(k,m,t){function d(Z,X){return function(Q){if(Array.isArray(Q))return Q}(Z)||function(Q,re){var ie=[],oe=!0,ue=!1,ce=void 0;try{for(var ye,de=Q[Symbol.iterator]();!(oe=(ye=de.next()).done)&&(ie.push(ye.value),!re||ie.length!==re);oe=!0);}catch(me){ue=!0,ce=me}finally{try{oe||de.return==null||de.return()}finally{if(ue)throw ce}}return ie}(Z,X)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function y(Z){return y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},y(Z)}var i=/a/g.flags!==void 0,M=function(Z){var X=[];return Z.forEach(function(Q){return X.push(Q)}),X},g=function(Z){var X=[];return Z.forEach(function(Q,re){return X.push([re,Q])}),X},h=Object.is?Object.is:t(64003),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:t(15567);function u(Z){return Z.call.bind(Z)}var o=u(Object.prototype.hasOwnProperty),s=u(Object.prototype.propertyIsEnumerable),f=u(Object.prototype.toString),c=t(43827).types,p=c.isAnyArrayBuffer,w=c.isArrayBufferView,v=c.isDate,S=c.isMap,x=c.isRegExp,T=c.isSet,C=c.isNativeError,_=c.isBoxedPrimitive,A=c.isNumberObject,L=c.isStringObject,b=c.isBooleanObject,O=c.isBigIntObject,I=c.isSymbolObject,R=c.isFloat32Array,D=c.isFloat64Array;function F(Z){if(Z.length===0||Z.length>10)return!0;for(var X=0;X57)return!0}return Z.length===10&&Z>=Math.pow(2,32)}function B(Z){return Object.keys(Z).filter(F).concat(l(Z).filter(Object.prototype.propertyIsEnumerable.bind(Z)))}function N(Z,X){if(Z===X)return 0;for(var Q=Z.length,re=X.length,ie=0,oe=Math.min(Q,re);ie0?f-4:f;for(o=0;o>16&255,p[w++]=u>>8&255,p[w++]=255&u;return c===2&&(u=d[a.charCodeAt(o)]<<2|d[a.charCodeAt(o+1)]>>4,p[w++]=255&u),c===1&&(u=d[a.charCodeAt(o)]<<10|d[a.charCodeAt(o+1)]<<4|d[a.charCodeAt(o+2)]>>2,p[w++]=u>>8&255,p[w++]=255&u),p},m.fromByteArray=function(a){for(var u,o=a.length,s=o%3,f=[],c=16383,p=0,w=o-s;pw?w:p+c));return s===1?(u=a[o-1],f.push(t[u>>2]+t[u<<4&63]+"==")):s===2&&(u=(a[o-2]<<8)+a[o-1],f.push(t[u>>10]+t[u>>4&63]+t[u<<2&63]+"=")),f.join("")};for(var t=[],d=[],y=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0,g=i.length;M0)throw new Error("Invalid string. Length must be a multiple of 4");var o=a.indexOf("=");return o===-1&&(o=u),[o,o===u?0:4-o%4]}function l(a,u,o){for(var s,f,c=[],p=u;p>18&63]+t[f>>12&63]+t[f>>6&63]+t[63&f]);return c.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},91358:function(k){function m(g,h,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,f=g[s];(l!==void 0?l(f,h):f-h)>=0?(o=s,u=s-1):a=s+1}return o}function t(g,h,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,f=g[s];(l!==void 0?l(f,h):f-h)>0?(o=s,u=s-1):a=s+1}return o}function d(g,h,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,f=g[s];(l!==void 0?l(f,h):f-h)<0?(o=s,a=s+1):u=s-1}return o}function y(g,h,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,f=g[s];(l!==void 0?l(f,h):f-h)<=0?(o=s,a=s+1):u=s-1}return o}function i(g,h,l,a,u){for(;a<=u;){var o=a+u>>>1,s=g[o],f=l!==void 0?l(s,h):s-h;if(f===0)return o;f<=0?a=o+1:u=o-1}return-1}function M(g,h,l,a,u,o){return typeof l=="function"?o(g,h,l,a===void 0?0:0|a,u===void 0?g.length-1:0|u):o(g,h,void 0,l===void 0?0:0|l,a===void 0?g.length-1:0|a)}k.exports={ge:function(g,h,l,a,u){return M(g,h,l,a,u,m)},gt:function(g,h,l,a,u){return M(g,h,l,a,u,t)},lt:function(g,h,l,a,u){return M(g,h,l,a,u,d)},le:function(g,h,l,a,u){return M(g,h,l,a,u,y)},eq:function(g,h,l,a,u){return M(g,h,l,a,u,i)}}},13547:function(k,m){function t(y){var i=32;return(y&=-y)&&i--,65535&y&&(i-=16),16711935&y&&(i-=8),252645135&y&&(i-=4),858993459&y&&(i-=2),1431655765&y&&(i-=1),i}m.INT_BITS=32,m.INT_MAX=2147483647,m.INT_MIN=-2147483648,m.sign=function(y){return(y>0)-(y<0)},m.abs=function(y){var i=y>>31;return(y^i)-i},m.min=function(y,i){return i^(y^i)&-(y65535)<<4,i|=M=((y>>>=i)>255)<<3,i|=M=((y>>>=M)>15)<<2,(i|=M=((y>>>=M)>3)<<1)|(y>>>=M)>>1},m.log10=function(y){return y>=1e9?9:y>=1e8?8:y>=1e7?7:y>=1e6?6:y>=1e5?5:y>=1e4?4:y>=1e3?3:y>=100?2:y>=10?1:0},m.popCount=function(y){return 16843009*((y=(858993459&(y-=y>>>1&1431655765))+(y>>>2&858993459))+(y>>>4)&252645135)>>>24},m.countTrailingZeros=t,m.nextPow2=function(y){return y+=y===0,--y,y|=y>>>1,y|=y>>>2,y|=y>>>4,y|=y>>>8,1+(y|=y>>>16)},m.prevPow2=function(y){return y|=y>>>1,y|=y>>>2,y|=y>>>4,y|=y>>>8,(y|=y>>>16)-(y>>>1)},m.parity=function(y){return y^=y>>>16,y^=y>>>8,y^=y>>>4,27030>>>(y&=15)&1};var d=new Array(256);(function(y){for(var i=0;i<256;++i){var M=i,g=i,h=7;for(M>>>=1;M;M>>>=1)g<<=1,g|=1&M,--h;y[i]=g<>>8&255]<<16|d[y>>>16&255]<<8|d[y>>>24&255]},m.interleave2=function(y,i){return(y=1431655765&((y=858993459&((y=252645135&((y=16711935&((y&=65535)|y<<8))|y<<4))|y<<2))|y<<1))|(i=1431655765&((i=858993459&((i=252645135&((i=16711935&((i&=65535)|i<<8))|i<<4))|i<<2))|i<<1))<<1},m.deinterleave2=function(y,i){return(y=65535&((y=16711935&((y=252645135&((y=858993459&((y=y>>>i&1431655765)|y>>>1))|y>>>2))|y>>>4))|y>>>16))<<16>>16},m.interleave3=function(y,i,M){return y=1227133513&((y=3272356035&((y=251719695&((y=4278190335&((y&=1023)|y<<16))|y<<8))|y<<4))|y<<2),(y|=(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<1)|(M=1227133513&((M=3272356035&((M=251719695&((M=4278190335&((M&=1023)|M<<16))|M<<8))|M<<4))|M<<2))<<2},m.deinterleave3=function(y,i){return(y=1023&((y=4278190335&((y=251719695&((y=3272356035&((y=y>>>i&1227133513)|y>>>2))|y>>>4))|y>>>8))|y>>>16))<<22>>22},m.nextCombination=function(y){var i=y|y-1;return i+1|(~i&-~i)-1>>>t(y)+1}},44781:function(k,m,t){var d=t(53435);k.exports=function(g,h){h||(h={});var l,a,u,o,s,f,c,p,w,v,S,x=h.cutoff==null?.25:h.cutoff,T=h.radius==null?8:h.radius,C=h.channel||0;if(ArrayBuffer.isView(g)||Array.isArray(g)){if(!h.width||!h.height)throw Error("For raw data width and height should be provided by options");l=h.width,a=h.height,o=g,f=h.stride?h.stride:Math.floor(g.length/l/a)}else window.HTMLCanvasElement&&g instanceof window.HTMLCanvasElement?(c=(p=g).getContext("2d"),l=p.width,a=p.height,o=(w=c.getImageData(0,0,l,a)).data,f=4):window.CanvasRenderingContext2D&&g instanceof window.CanvasRenderingContext2D?(c=g,l=(p=g.canvas).width,a=p.height,o=(w=c.getImageData(0,0,l,a)).data,f=4):window.ImageData&&g instanceof window.ImageData&&(w=g,l=g.width,a=g.height,o=w.data,f=4);if(u=Math.max(l,a),window.Uint8ClampedArray&&o instanceof window.Uint8ClampedArray||window.Uint8Array&&o instanceof window.Uint8Array)for(s=o,o=Array(l*a),v=0,S=s.length;v-1?y(h):h}},68222:function(k,m,t){var d=t(77575),y=t(68318),i=y("%Function.prototype.apply%"),M=y("%Function.prototype.call%"),g=y("%Reflect.apply%",!0)||d.call(M,i),h=y("%Object.getOwnPropertyDescriptor%",!0),l=y("%Object.defineProperty%",!0),a=y("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}k.exports=function(o){var s=g(d,M,arguments);if(h&&l){var f=h(s,"length");f.configurable&&l(s,"length",{value:1+a(0,o.length-(arguments.length-1))})}return s};var u=function(){return g(d,i,arguments)};l?l(k.exports,"apply",{value:u}):k.exports.apply=u},53435:function(k){k.exports=function(m,t,d){return td?d:m:mt?t:m}},6475:function(k,m,t){var d=t(53435);function y(i,M){M==null&&(M=!0);var g=i[0],h=i[1],l=i[2],a=i[3];return a==null&&(a=M?1:255),M&&(g*=255,h*=255,l*=255,a*=255),16777216*(g=255&d(g,0,255))+((h=255&d(h,0,255))<<16)+((l=255&d(l,0,255))<<8)+(255&d(a,0,255))}k.exports=y,k.exports.to=y,k.exports.from=function(i,M){var g=(i=+i)>>>24,h=(16711680&i)>>>16,l=(65280&i)>>>8,a=255&i;return M===!1?[g,h,l,a]:[g/255,h/255,l/255,a/255]}},76857:function(k){k.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},25075:function(k,m,t){var d=t(36652),y=t(53435),i=t(90660);k.exports=function(M,g){g!=="float"&&g||(g="array"),g==="uint"&&(g="uint8"),g==="uint_clamped"&&(g="uint8_clamped");var h=new(i(g))(4),l=g!=="uint8"&&g!=="uint8_clamped";return M.length&&typeof M!="string"||((M=d(M))[0]/=255,M[1]/=255,M[2]/=255),function(a){return a instanceof Uint8Array||a instanceof Uint8ClampedArray||!!(Array.isArray(a)&&(a[0]>1||a[0]===0)&&(a[1]>1||a[1]===0)&&(a[2]>1||a[2]===0)&&(!a[3]||a[3]>1))}(M)?(h[0]=M[0],h[1]=M[1],h[2]=M[2],h[3]=M[3]!=null?M[3]:255,l&&(h[0]/=255,h[1]/=255,h[2]/=255,h[3]/=255),h):(l?(h[0]=M[0],h[1]=M[1],h[2]=M[2],h[3]=M[3]!=null?M[3]:1):(h[0]=y(Math.floor(255*M[0]),0,255),h[1]=y(Math.floor(255*M[1]),0,255),h[2]=y(Math.floor(255*M[2]),0,255),h[3]=M[3]==null?255:y(Math.floor(255*M[3]),0,255)),h)}},90736:function(k,m,t){var d=t(76857),y=t(10973),i=t(46775);k.exports=function(g){var h,l,a=[],u=1;if(typeof g=="string")if(d[g])a=d[g].slice(),l="rgb";else if(g==="transparent")u=0,l="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(g)){var o=(c=g.slice(1)).length;u=1,o<=4?(a=[parseInt(c[0]+c[0],16),parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16)],o===4&&(u=parseInt(c[3]+c[3],16)/255)):(a=[parseInt(c[0]+c[1],16),parseInt(c[2]+c[3],16),parseInt(c[4]+c[5],16)],o===8&&(u=parseInt(c[6]+c[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),l="rgb"}else if(h=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(g)){var s=h[1],f=s==="rgb",c=s.replace(/a$/,"");l=c,o=c==="cmyk"?4:c==="gray"?1:3,a=h[2].trim().split(/\s*,\s*/).map(function(w,v){if(/%$/.test(w))return v===o?parseFloat(w)/100:c==="rgb"?255*parseFloat(w)/100:parseFloat(w);if(c[v]==="h"){if(/deg$/.test(w))return parseFloat(w);if(M[w]!==void 0)return M[w]}return parseFloat(w)}),s===c&&a.push(1),u=f||a[o]===void 0?1:a[o],a=a.slice(0,o)}else g.length>10&&/[0-9](?:\s|\/)/.test(g)&&(a=g.match(/([0-9]+)/g).map(function(w){return parseFloat(w)}),l=g.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(g))if(y(g)){var p=i(g.r,g.red,g.R,null);p!==null?(l="rgb",a=[p,i(g.g,g.green,g.G),i(g.b,g.blue,g.B)]):(l="hsl",a=[i(g.h,g.hue,g.H),i(g.s,g.saturation,g.S),i(g.l,g.lightness,g.L,g.b,g.brightness)]),u=i(g.a,g.alpha,g.opacity,1),g.opacity!=null&&(u/=100)}else(Array.isArray(g)||t.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(g))&&(a=[g[0],g[1],g[2]],l="rgb",u=g.length===4?g[3]:1);else l="rgb",a=[g>>>16,(65280&g)>>>8,255&g];return{space:l,values:a,alpha:u}};var M={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},36652:function(k,m,t){var d=t(90736),y=t(80009),i=t(53435);k.exports=function(M){var g,h=d(M);return h.space?((g=Array(3))[0]=i(h.values[0],0,255),g[1]=i(h.values[1],0,255),g[2]=i(h.values[2],0,255),h.space[0]==="h"&&(g=y.rgb(g)),g.push(i(h.alpha,0,1)),g):[]}},80009:function(k,m,t){var d=t(6866);k.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(y){var i,M,g,h,l,a=y[0]/360,u=y[1]/100,o=y[2]/100;if(u===0)return[l=255*o,l,l];i=2*o-(M=o<.5?o*(1+u):o+u-o*u),h=[0,0,0];for(var s=0;s<3;s++)(g=a+.3333333333333333*-(s-1))<0?g++:g>1&&g--,l=6*g<1?i+6*(M-i)*g:2*g<1?M:3*g<2?i+(M-i)*(.6666666666666666-g)*6:i,h[s]=255*l;return h}},d.hsl=function(y){var i,M,g=y[0]/255,h=y[1]/255,l=y[2]/255,a=Math.min(g,h,l),u=Math.max(g,h,l),o=u-a;return u===a?i=0:g===u?i=(h-l)/o:h===u?i=2+(l-g)/o:l===u&&(i=4+(g-h)/o),(i=Math.min(60*i,360))<0&&(i+=360),M=(a+u)/2,[i,100*(u===a?0:M<=.5?o/(u+a):o/(2-u-a)),100*M]}},6866:function(k){k.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(k){k.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|รง)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|รฉ)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|รฉ)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|รฃ)o.?tom(e|รฉ)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},72791:function(k,m,t){k.exports={parse:t(41004),stringify:t(53313)}},63625:function(k,m,t){var d=t(40402);k.exports={isSize:function(y){return/^[\d\.]/.test(y)||y.indexOf("/")!==-1||d.indexOf(y)!==-1}}},41004:function(k,m,t){var d=t(90448),y=t(38732),i=t(41901),M=t(15659),g=t(96209),h=t(83794),l=t(99011),a=t(63625).isSize;k.exports=o;var u=o.cache={};function o(f){if(typeof f!="string")throw new Error("Font argument must be a string.");if(u[f])return u[f];if(f==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(f)!==-1)return u[f]={system:f};for(var c,p={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},w=l(f,/\s+/);c=w.shift();){if(y.indexOf(c)!==-1)return["style","variant","weight","stretch"].forEach(function(S){p[S]=c}),u[f]=p;if(g.indexOf(c)===-1)if(c!=="normal"&&c!=="small-caps")if(h.indexOf(c)===-1){if(M.indexOf(c)===-1){if(a(c)){var v=l(c,"/");if(p.size=v[0],v[1]!=null?p.lineHeight=s(v[1]):w[0]==="/"&&(w.shift(),p.lineHeight=s(w.shift())),!w.length)throw new Error("Missing required font-family.");return p.family=l(w.join(" "),/\s*,\s*/).map(d),u[f]=p}throw new Error("Unknown or unsupported font token: "+c)}p.weight=c}else p.stretch=c;else p.variant=c;else p.style=c}throw new Error("Missing required font-size.")}function s(f){var c=parseFloat(f);return c.toString()===f?c:f}},53313:function(k,m,t){var d=t(71299),y=t(63625).isSize,i=f(t(38732)),M=f(t(41901)),g=f(t(15659)),h=f(t(96209)),l=f(t(83794)),a={normal:1,"small-caps":1},u={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},o="serif";function s(c,p){if(c&&!p[c]&&!i[c])throw Error("Unknown keyword `"+c+"`");return c}function f(c){for(var p={},w=0;wf?1:s>=f?0:NaN}t.d(m,{j2:function(){return d},Fp:function(){return M},J6:function(){return h},TS:function(){return l},VV:function(){return a},w6:function(){return u},Sm:function(){return o}}),(y=d).length===1&&(i=y,y=function(s,f){return d(i(s),f)});var y,i;function M(s,f){var c,p,w=s.length,v=-1;if(f==null){for(;++v=c)for(p=c;++vp&&(p=c)}else for(;++v=c)for(p=c;++vp&&(p=c);return p}function g(s){return s===null?NaN:+s}function h(s,f){var c,p=s.length,w=p,v=-1,S=0;if(f==null)for(;++v=0;)for(f=(p=s[w]).length;--f>=0;)c[--S]=p[f];return c}function a(s,f){var c,p,w=s.length,v=-1;if(f==null){for(;++v=c)for(p=c;++vc&&(p=c)}else for(;++v=c)for(p=c;++vc&&(p=c);return p}function u(s,f,c){s=+s,f=+f,c=(w=arguments.length)<2?(f=s,s=0,1):w<3?1:+c;for(var p=-1,w=0|Math.max(0,Math.ceil((f-s)/c)),v=new Array(w);++p=w.length)return f!=null&&T.sort(f),c!=null?c(T):T;for(var L,b,O,I=-1,R=T.length,D=w[C++],F=M(),B=_();++Iw.length)return T;var _,A=v[C-1];return c!=null&&C>=w.length?_=T.entries():(_=[],T.each(function(L,b){_.push({key:b,values:x(L,C)})})),A!=null?_.sort(function(L,b){return A(L.key,b.key)}):_}return p={object:function(T){return S(T,0,h,l)},map:function(T){return S(T,0,a,u)},entries:function(T){return x(S(T,0,a,u),0)},key:function(T){return w.push(T),p},sortKeys:function(T){return v[w.length-1]=T,p},sortValues:function(T){return f=T,p},rollup:function(T){return c=T,p}}}function h(){return{}}function l(f,c,p){f[c]=p}function a(){return M()}function u(f,c,p){f.set(c,p)}function o(){}var s=M.prototype;o.prototype={constructor:o,has:s.has,add:function(f){return this[d+(f+="")]=f,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each}},49887:function(k,m,t){function d(me,pe){var xe;function Pe(){var _e,Me,Se=xe.length,Ce=0,ae=0;for(_e=0;_e=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se,_e=Be,!(Be=Be[ke=be<<1|he]))return _e[ke]=ze,me;if(Ce=+me._x.call(null,Be.data),ae=+me._y.call(null,Be.data),pe===Ce&&xe===ae)return ze.next=Be,_e?_e[ke]=ze:me._root=ze,me;do _e=_e?_e[ke]=new Array(4):me._root=new Array(4),(he=pe>=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se;while((ke=be<<1|he)==(Le=(ae>=Se)<<1|Ce>=Me));return _e[Le]=Be,_e[ke]=ze,me}function g(me,pe,xe,Pe,_e){this.node=me,this.x0=pe,this.y0=xe,this.x1=Pe,this.y1=_e}function h(me){return me[0]}function l(me){return me[1]}function a(me,pe,xe){var Pe=new u(pe??h,xe??l,NaN,NaN,NaN,NaN);return me==null?Pe:Pe.addAll(me)}function u(me,pe,xe,Pe,_e,Me){this._x=me,this._y=pe,this._x0=xe,this._y0=Pe,this._x1=_e,this._y1=Me,this._root=void 0}function o(me){for(var pe={data:me.data},xe=pe;me=me.next;)xe=xe.next={data:me.data};return pe}t.r(m),t.d(m,{forceCenter:function(){return d},forceCollide:function(){return p},forceLink:function(){return x},forceManyBody:function(){return ue},forceRadial:function(){return ce},forceSimulation:function(){return oe},forceX:function(){return ye},forceY:function(){return de}});var s=a.prototype=u.prototype;function f(me){return me.x+me.vx}function c(me){return me.y+me.vy}function p(me){var pe,xe,Pe=1,_e=1;function Me(){for(var ae,he,be,ke,Le,Be,ze,je=pe.length,ge=0;ge<_e;++ge)for(he=a(pe,f,c).visitAfter(Se),ae=0;aeke+bt||YeLe+bt||stbe.index){var Et=ke-ot.x-ot.vx,kt=Le-ot.y-ot.vy,xt=Et*Et+kt*kt;xtae.r&&(ae.r=ae[he].r)}function Ce(){if(pe){var ae,he,be=pe.length;for(xe=new Array(be),ae=0;aebe&&(be=Pe),_eke&&(ke=_e));if(ae>be||he>ke)return this;for(this.cover(ae,he).cover(be,ke),xe=0;xeme||me>=_e||Pe>pe||pe>=Me;)switch(Ce=(peLe||(Me=ae.y0)>Be||(Se=ae.x1)=we)<<1|me>=ge)&&(ae=ze[ze.length-1],ze[ze.length-1]=ze[ze.length-1-he],ze[ze.length-1-he]=ae)}else{var Ee=me-+this._x.call(null,je.data),Ve=pe-+this._y.call(null,je.data),$e=Ee*Ee+Ve*Ve;if($e=(Ce=(ze+ge)/2))?ze=Ce:ge=Ce,(be=Se>=(ae=(je+we)/2))?je=ae:we=ae,pe=Be,!(Be=Be[ke=be<<1|he]))return this;if(!Be.length)break;(pe[ke+1&3]||pe[ke+2&3]||pe[ke+3&3])&&(xe=pe,Le=ke)}for(;Be.data!==me;)if(Pe=Be,!(Be=Be.next))return this;return(_e=Be.next)&&delete Be.next,Pe?(_e?Pe.next=_e:delete Pe.next,this):pe?(_e?pe[ke]=_e:delete pe[ke],(Be=pe[0]||pe[1]||pe[2]||pe[3])&&Be===(pe[3]||pe[2]||pe[1]||pe[0])&&!Be.length&&(xe?xe[Le]=Be:this._root=Be),this):(this._root=_e,this)},s.removeAll=function(me){for(var pe=0,xe=me.length;pe=0&&(Pe=xe.slice(_e+1),xe=xe.slice(0,_e)),xe&&!pe.hasOwnProperty(xe))throw new Error("unknown type: "+xe);return{type:xe,name:Pe}})}function L(me,pe){for(var xe,Pe=0,_e=me.length;Pe<_e;++Pe)if((xe=me[Pe]).name===pe)return xe.value}function b(me,pe,xe){for(var Pe=0,_e=me.length;Pe<_e;++Pe)if(me[Pe].name===pe){me[Pe]=T,me=me.slice(0,Pe).concat(me.slice(Pe+1));break}return xe!=null&&me.push({name:pe,value:xe}),me}_.prototype=C.prototype={constructor:_,on:function(me,pe){var xe,Pe=this._,_e=A(me+"",Pe),Me=-1,Se=_e.length;if(!(arguments.length<2)){if(pe!=null&&typeof pe!="function")throw new Error("invalid callback: "+pe);for(;++Me0)for(var xe,Pe,_e=new Array(xe),Me=0;Me=0&&pe._call.call(null,me),pe=pe._next;--D})()}finally{D=0,function(){for(var me,pe,xe=O,Pe=1/0;xe;)xe._call?(Pe>xe._time&&(Pe=xe._time),me=xe,xe=xe._next):(pe=xe._next,xe._next=null,xe=me?me._next=pe:O=pe);I=me,X(Pe)}(),q=0}}function Z(){var me=$.now(),pe=me-N;pe>1e3&&(j-=pe,N=me)}function X(me){D||(F&&(F=clearTimeout(F)),me-q>24?(me<1/0&&(F=setTimeout(te,me-$.now()-j)),B&&(B=clearInterval(B))):(B||(N=$.now(),B=setInterval(Z,1e3)),D=1,U(te)))}function Q(me){return me.x}function re(me){return me.y}H.prototype=ne.prototype={constructor:H,restart:function(me,pe,xe){if(typeof me!="function")throw new TypeError("callback is not a function");xe=(xe==null?G():+xe)+(pe==null?0:+pe),this._next||I===this||(I?I._next=this:O=this,I=this),this._call=me,this._time=xe,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var ie=Math.PI*(3-Math.sqrt(5));function oe(me){var pe,xe=1,Pe=.001,_e=1-Math.pow(Pe,1/300),Me=0,Se=.6,Ce=(0,w.UI)(),ae=ne(be),he=R("tick","end");function be(){ke(),he.call("tick",pe),xe1?(je==null?Ce.remove(ze):Ce.set(ze,Be(je)),pe):Ce.get(ze)},find:function(ze,je,ge){var we,Ee,Ve,$e,Ye,st=0,ot=me.length;for(ge==null?ge=1/0:ge*=ge,st=0;st1?(he.on(ze,je),pe):he.on(ze)}}}function ue(){var me,pe,xe,Pe,_e=y(-30),Me=1,Se=1/0,Ce=.81;function ae(Le){var Be,ze=me.length,je=a(me,Q,re).visitAfter(be);for(xe=Le,Be=0;Be=Se)){(Le.data!==pe||Le.next)&&(ge===0&&(Ve+=(ge=i())*ge),we===0&&(Ve+=(we=i())*we),Ve1?S[0]+S.slice(2):S,+p.slice(v+1)]}t.d(m,{WU:function(){return o},FF:function(){return c}});var y,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(p){if(!(w=i.exec(p)))throw new Error("invalid format: "+p);var w;return new g({fill:w[1],align:w[2],sign:w[3],symbol:w[4],zero:w[5],width:w[6],comma:w[7],precision:w[8]&&w[8].slice(1),trim:w[9],type:w[10]})}function g(p){this.fill=p.fill===void 0?" ":p.fill+"",this.align=p.align===void 0?">":p.align+"",this.sign=p.sign===void 0?"-":p.sign+"",this.symbol=p.symbol===void 0?"":p.symbol+"",this.zero=!!p.zero,this.width=p.width===void 0?void 0:+p.width,this.comma=!!p.comma,this.precision=p.precision===void 0?void 0:+p.precision,this.trim=!!p.trim,this.type=p.type===void 0?"":p.type+""}function h(p,w){var v=d(p,w);if(!v)return p+"";var S=v[0],x=v[1];return x<0?"0."+new Array(-x).join("0")+S:S.length>x+1?S.slice(0,x+1)+"."+S.slice(x+1):S+new Array(x-S.length+2).join("0")}M.prototype=g.prototype,g.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":function(p,w){return(100*p).toFixed(w)},b:function(p){return Math.round(p).toString(2)},c:function(p){return p+""},d:function(p){return Math.abs(p=Math.round(p))>=1e21?p.toLocaleString("en").replace(/,/g,""):p.toString(10)},e:function(p,w){return p.toExponential(w)},f:function(p,w){return p.toFixed(w)},g:function(p,w){return p.toPrecision(w)},o:function(p){return Math.round(p).toString(8)},p:function(p,w){return h(100*p,w)},r:h,s:function(p,w){var v=d(p,w);if(!v)return p+"";var S=v[0],x=v[1],T=x-(y=3*Math.max(-8,Math.min(8,Math.floor(x/3))))+1,C=S.length;return T===C?S:T>C?S+new Array(T-C+1).join("0"):T>0?S.slice(0,T)+"."+S.slice(T):"0."+new Array(1-T).join("0")+d(p,Math.max(0,w+T-1))[0]},X:function(p){return Math.round(p).toString(16).toUpperCase()},x:function(p){return Math.round(p).toString(16)}};function a(p){return p}var u,o,s=Array.prototype.map,f=["y","z","a","f","p","n","ยต","m","","k","M","G","T","P","E","Z","Y"];function c(p){var w,v,S=p.grouping===void 0||p.thousands===void 0?a:(w=s.call(p.grouping,Number),v=p.thousands+"",function(I,R){for(var D=I.length,F=[],B=0,N=w[0],q=0;D>0&&N>0&&(q+N+1>R&&(N=Math.max(1,R-q)),F.push(I.substring(D-=N,D+N)),!((q+=N+1)>R));)N=w[B=(B+1)%w.length];return F.reverse().join(v)}),x=p.currency===void 0?"":p.currency[0]+"",T=p.currency===void 0?"":p.currency[1]+"",C=p.decimal===void 0?".":p.decimal+"",_=p.numerals===void 0?a:function(I){return function(R){return R.replace(/[0-9]/g,function(D){return I[+D]})}}(s.call(p.numerals,String)),A=p.percent===void 0?"%":p.percent+"",L=p.minus===void 0?"-":p.minus+"",b=p.nan===void 0?"NaN":p.nan+"";function O(I){var R=(I=M(I)).fill,D=I.align,F=I.sign,B=I.symbol,N=I.zero,q=I.width,j=I.comma,$=I.precision,U=I.trim,G=I.type;G==="n"?(j=!0,G="g"):l[G]||($===void 0&&($=12),U=!0,G="g"),(N||R==="0"&&D==="=")&&(N=!0,R="0",D="=");var W=B==="$"?x:B==="#"&&/[boxX]/.test(G)?"0"+G.toLowerCase():"",H=B==="$"?T:/[%p]/.test(G)?A:"",ne=l[G],te=/[defgprs%]/.test(G);function Z(X){var Q,re,ie,oe=W,ue=H;if(G==="c")ue=ne(X)+ue,X="";else{var ce=(X=+X)<0||1/X<0;if(X=isNaN(X)?b:ne(Math.abs(X),$),U&&(X=function(me){e:for(var pe,xe=me.length,Pe=1,_e=-1;Pe0&&(_e=0)}return _e>0?me.slice(0,_e)+me.slice(pe+1):me}(X)),ce&&+X==0&&F!=="+"&&(ce=!1),oe=(ce?F==="("?F:L:F==="-"||F==="("?"":F)+oe,ue=(G==="s"?f[8+y/3]:"")+ue+(ce&&F==="("?")":""),te){for(Q=-1,re=X.length;++Q(ie=X.charCodeAt(Q))||ie>57){ue=(ie===46?C+X.slice(Q+1):X.slice(Q))+ue,X=X.slice(0,Q);break}}}j&&!N&&(X=S(X,1/0));var ye=oe.length+X.length+ue.length,de=ye>1)+oe+X+ue+de.slice(ye);break;default:X=de+oe+X+ue}return _(X)}return $=$===void 0?6:/[gprs]/.test(G)?Math.max(1,Math.min(21,$)):Math.max(0,Math.min(20,$)),Z.toString=function(){return I+""},Z}return{format:O,formatPrefix:function(I,R){var D,F=O(((I=M(I)).type="f",I)),B=3*Math.max(-8,Math.min(8,Math.floor((D=R,((D=d(Math.abs(D)))?D[1]:NaN)/3)))),N=Math.pow(10,-B),q=f[8+B/3];return function(j){return F(N*j)+q}}}}u=c({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),o=u.format,u.formatPrefix},65704:function(k,m,t){t.r(m),t.d(m,{geoAiry:function(){return j},geoAiryRaw:function(){return q},geoAitoff:function(){return U},geoAitoffRaw:function(){return $},geoArmadillo:function(){return W},geoArmadilloRaw:function(){return G},geoAugust:function(){return ne},geoAugustRaw:function(){return H},geoBaker:function(){return Q},geoBakerRaw:function(){return X},geoBerghaus:function(){return oe},geoBerghausRaw:function(){return ie},geoBertin1953:function(){return Pe},geoBertin1953Raw:function(){return xe},geoBoggs:function(){return ke},geoBoggsRaw:function(){return be},geoBonne:function(){return ge},geoBonneRaw:function(){return je},geoBottomley:function(){return Ee},geoBottomleyRaw:function(){return we},geoBromley:function(){return $e},geoBromleyRaw:function(){return Ve},geoChamberlin:function(){return Ft},geoChamberlinAfrica:function(){return xt},geoChamberlinRaw:function(){return Et},geoCollignon:function(){return Bt},geoCollignonRaw:function(){return Rt},geoCraig:function(){return Vt},geoCraigRaw:function(){return Wt},geoCraster:function(){return We},geoCrasterRaw:function(){return Je},geoCylindricalEqualArea:function(){return ht},geoCylindricalEqualAreaRaw:function(){return nt},geoCylindricalStereographic:function(){return Ne},geoCylindricalStereographicRaw:function(){return Oe},geoEckert1:function(){return ut},geoEckert1Raw:function(){return Qe},geoEckert2:function(){return _t},geoEckert2Raw:function(){return dt},geoEckert3:function(){return Lt},geoEckert3Raw:function(){return It},geoEckert4:function(){return Pt},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Ot},geoEckert5Raw:function(){return wt},geoEckert6:function(){return Yt},geoEckert6Raw:function(){return Nt},geoEisenlohr:function(){return Qt},geoEisenlohrRaw:function(){return Xt},geoFahey:function(){return un},geoFaheyRaw:function(){return xn},geoFoucaut:function(){return Yn},geoFoucautRaw:function(){return An},geoFoucautSinusoidal:function(){return sn},geoFoucautSinusoidalRaw:function(){return kn},geoGilbert:function(){return In},geoGingery:function(){return lr},geoGingeryRaw:function(){return jn},geoGinzburg4:function(){return yr},geoGinzburg4Raw:function(){return Sr},geoGinzburg5:function(){return vr},geoGinzburg5Raw:function(){return or},geoGinzburg6:function(){return Kt},geoGinzburg6Raw:function(){return _r},geoGinzburg8:function(){return On},geoGinzburg8Raw:function(){return bn},geoGinzburg9:function(){return Un},geoGinzburg9Raw:function(){return Ln},geoGringorten:function(){return tr},geoGringortenQuincuncial:function(){return Gc},geoGringortenRaw:function(){return $n},geoGuyou:function(){return jt},geoGuyouRaw:function(){return Pn},geoHammer:function(){return de},geoHammerRaw:function(){return ce},geoHammerRetroazimuthal:function(){return Rn},geoHammerRetroazimuthalRaw:function(){return fn},geoHealpix:function(){return nr},geoHealpixRaw:function(){return yn},geoHill:function(){return fr},geoHillRaw:function(){return Qn},geoHomolosine:function(){return Lr},geoHomolosineRaw:function(){return Ir},geoHufnagel:function(){return gr},geoHufnagelRaw:function(){return zr},geoHyperelliptical:function(){return ta},geoHyperellipticalRaw:function(){return ji},geoInterrupt:function(){return Xi},geoInterruptedBoggs:function(){return rs},geoInterruptedHomolosine:function(){return Cu},geoInterruptedMollweide:function(){return Af},geoInterruptedMollweideHemispheres:function(){return is},geoInterruptedQuarticAuthalic:function(){return nu},geoInterruptedSinuMollweide:function(){return Ya},geoInterruptedSinusoidal:function(){return Yo},geoKavrayskiy7:function(){return Al},geoKavrayskiy7Raw:function(){return as},geoLagrange:function(){return Sl},geoLagrangeRaw:function(){return Ui},geoLarrivee:function(){return js},geoLarriveeRaw:function(){return Es},geoLaskowski:function(){return vh},geoLaskowskiRaw:function(){return cc},geoLittrow:function(){return yh},geoLittrowRaw:function(){return nl},geoLoximuthal:function(){return id},geoLoximuthalRaw:function(){return bh},geoMiller:function(){return xh},geoMillerRaw:function(){return Cf},geoModifiedStereographic:function(){return Ql},geoModifiedStereographicAlaska:function(){return If},geoModifiedStereographicGs48:function(){return Jl},geoModifiedStereographicGs50:function(){return Vc},geoModifiedStereographicLee:function(){return Iu},geoModifiedStereographicMiller:function(){return Cl},geoModifiedStereographicRaw:function(){return Ef},geoMollweide:function(){return Ce},geoMollweideRaw:function(){return Se},geoMtFlatPolarParabolic:function(){return ad},geoMtFlatPolarParabolicRaw:function(){return El},geoMtFlatPolarQuartic:function(){return fc},geoMtFlatPolarQuarticRaw:function(){return jc},geoMtFlatPolarSinusoidal:function(){return Ou},geoMtFlatPolarSinusoidalRaw:function(){return eu},geoNaturalEarth:function(){return ms.Z},geoNaturalEarth2:function(){return hc},geoNaturalEarth2Raw:function(){return Of},geoNaturalEarthRaw:function(){return ms.K},geoNellHammer:function(){return dc},geoNellHammerRaw:function(){return Pu},geoNicolosi:function(){return pc},geoNicolosiRaw:function(){return Ru},geoPatterson:function(){return Uc},geoPattersonRaw:function(){return Ll},geoPeirceQuincuncial:function(){return Wc},geoPierceQuincuncial:function(){return Wc},geoPolyconic:function(){return Rf},geoPolyconicRaw:function(){return yc},geoPolyhedral:function(){return Il},geoPolyhedralButterfly:function(){return Hc},geoPolyhedralCollignon:function(){return zf},geoPolyhedralWaterman:function(){return ou},geoProject:function(){return lu},geoQuantize:function(){return Lo},geoQuincuncial:function(){return $o},geoRectangularPolyconic:function(){return uu},geoRectangularPolyconicRaw:function(){return Dr},geoRobinson:function(){return zu},geoRobinsonRaw:function(){return qc},geoSatellite:function(){return Bu},geoSatelliteRaw:function(){return Fu},geoSinuMollweide:function(){return br},geoSinuMollweideRaw:function(){return dr},geoSinusoidal:function(){return ze},geoSinusoidalRaw:function(){return Be},geoStitch:function(){return fu},geoTimes:function(){return xs},geoTimesRaw:function(){return yo},geoTwoPointAzimuthal:function(){return _s},geoTwoPointAzimuthalRaw:function(){return _c},geoTwoPointAzimuthalUsa:function(){return os},geoTwoPointEquidistant:function(){return qi},geoTwoPointEquidistantRaw:function(){return Gs},geoTwoPointEquidistantUsa:function(){return Bo},geoVanDerGrinten:function(){return Is},geoVanDerGrinten2:function(){return Ws},geoVanDerGrinten2Raw:function(){return No},geoVanDerGrinten3:function(){return cl},geoVanDerGrinten3Raw:function(){return Dl},geoVanDerGrinten4:function(){return ws},geoVanDerGrinten4Raw:function(){return bo},geoVanDerGrintenRaw:function(){return no},geoWagner:function(){return ni},geoWagner4:function(){return $c},geoWagner4Raw:function(){return xo},geoWagner6:function(){return ju},geoWagner6Raw:function(){return Vo},geoWagner7:function(){return Vu},geoWagnerRaw:function(){return Hr},geoWiechel:function(){return Ji},geoWiechelRaw:function(){return hl},geoWinkel3:function(){return Zc},geoWinkel3Raw:function(){return la}});var d=t(15002),y=Math.abs,i=Math.atan,M=Math.atan2,g=Math.cos,h=Math.exp,l=Math.floor,a=Math.log,u=Math.max,o=Math.min,s=Math.pow,f=Math.round,c=Math.sign||function(et){return et>0?1:et<0?-1:0},p=Math.sin,w=Math.tan,v=1e-6,S=1e-12,x=Math.PI,T=x/2,C=x/4,_=Math.SQRT1_2,A=F(2),L=F(x),b=2*x,O=180/x,I=x/180;function R(et){return et>1?T:et<-1?-T:Math.asin(et)}function D(et){return et>1?0:et<-1?x:Math.acos(et)}function F(et){return et>0?Math.sqrt(et):0}function B(et){return(h(et)-h(-et))/2}function N(et){return(h(et)+h(-et))/2}function q(et){var rt=w(et/2),ct=2*a(g(et/2))/(rt*rt);function vt(St,Mt){var Y=g(St),ee=g(Mt),K=p(Mt),le=ee*Y,Te=-((1-le?a((1+le)/2)/(1-le):-.5)+ct/(1+le));return[Te*ee*p(St),Te*K]}return vt.invert=function(St,Mt){var Y,ee=F(St*St+Mt*Mt),K=-et/2,le=50;if(!ee)return[0,0];do{var Te=K/2,De=g(Te),He=p(Te),Ze=He/De,at=-a(y(De));K-=Y=(2/Ze*at-ct*Ze-ee)/(-at/(He*He)+1-ct/(2*De*De))*(De<0?.7:1)}while(y(Y)>v&&--le>0);var Tt=p(K);return[M(St*Tt,ee*g(K)),R(Mt*Tt/ee)]},vt}function j(){var et=T,rt=(0,d.r)(q),ct=rt(et);return ct.radius=function(vt){return arguments.length?rt(et=vt*I):et*O},ct.scale(179.976).clipAngle(147)}function $(et,rt){var ct=g(rt),vt=function(St){return St?St/Math.sin(St):1}(D(ct*g(et/=2)));return[2*ct*p(et)*vt,p(rt)*vt]}function U(){return(0,d.Z)($).scale(152.63)}function G(et){var rt=p(et),ct=g(et),vt=et>=0?1:-1,St=w(vt*et),Mt=(1+rt-ct)/2;function Y(ee,K){var le=g(K),Te=g(ee/=2);return[(1+le)*p(ee),(vt*K>-M(Te,St)-.001?0:10*-vt)+Mt+p(K)*ct-(1+le)*rt*Te]}return Y.invert=function(ee,K){var le=0,Te=0,De=50;do{var He=g(le),Ze=p(le),at=g(Te),Tt=p(Te),At=1+at,se=At*Ze-ee,ve=Mt+Tt*ct-At*rt*He-K,Ie=At*He/2,Fe=-Ze*Tt,Ue=rt*At*Ze/2,qe=ct*at+rt*He*Tt,Xe=Fe*Ue-qe*Ie,tt=(ve*Fe-se*qe)/Xe/2,lt=(se*Ue-ve*Ie)/Xe;y(lt)>2&&(lt/=2),le-=tt,Te-=lt}while((y(tt)>v||y(lt)>v)&&--De>0);return vt*Te>-M(g(le),St)-.001?[2*le,Te]:null},Y}function W(){var et=20*I,rt=et>=0?1:-1,ct=w(rt*et),vt=(0,d.r)(G),St=vt(et),Mt=St.stream;return St.parallel=function(Y){return arguments.length?(ct=w((rt=(et=Y*I)>=0?1:-1)*et),vt(et)):et*O},St.stream=function(Y){var ee=St.rotate(),K=Mt(Y),le=(St.rotate([0,0]),Mt(Y)),Te=St.precision();return St.rotate(ee),K.sphere=function(){le.polygonStart(),le.lineStart();for(var De=-180*rt;rt*De<180;De+=90*rt)le.point(De,90*rt);if(et)for(;rt*(De-=3*rt*Te)>=-180;)le.point(De,rt*-M(g(De*I/2),ct)*O);le.lineEnd(),le.polygonEnd()},K},St.scale(218.695).center([0,28.0974])}function H(et,rt){var ct=w(rt/2),vt=F(1-ct*ct),St=1+vt*g(et/=2),Mt=p(et)*vt/St,Y=ct/St,ee=Mt*Mt,K=Y*Y;return[1.3333333333333333*Mt*(3+ee-3*K),1.3333333333333333*Y*(3+3*ee-K)]}function ne(){return(0,d.Z)(H).scale(66.1603)}$.invert=function(et,rt){if(!(et*et+4*rt*rt>x*x+v)){var ct=et,vt=rt,St=25;do{var Mt,Y=p(ct),ee=p(ct/2),K=g(ct/2),le=p(vt),Te=g(vt),De=p(2*vt),He=le*le,Ze=Te*Te,at=ee*ee,Tt=1-Ze*K*K,At=Tt?D(Te*K)*F(Mt=1/Tt):Mt=0,se=2*At*Te*ee-et,ve=At*le-rt,Ie=Mt*(Ze*at+At*Te*K*He),Fe=Mt*(.5*Y*De-2*At*le*ee),Ue=.25*Mt*(De*ee-At*le*Ze*Y),qe=Mt*(He*K+At*at*Te),Xe=Fe*Ue-qe*Ie;if(!Xe)break;var tt=(ve*Fe-se*qe)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((y(tt)>v||y(lt)>v)&&--St>0);return[ct,vt]}},H.invert=function(et,rt){if(rt*=.375,!(et*=.375)&&y(rt)>1)return null;var ct=1+et*et+rt*rt,vt=F((ct-F(ct*ct-4*rt*rt))/2),St=R(vt)/3,Mt=vt?function(le){return a(le+F(le*le-1))}(y(rt/vt))/3:function(le){return a(le+F(le*le+1))}(y(et))/3,Y=g(St),ee=N(Mt),K=ee*ee-Y*Y;return[2*c(et)*M(B(Mt)*Y,.25-K),2*c(rt)*M(ee*p(St),.25+K)]};var te=F(8),Z=a(1+A);function X(et,rt){var ct=y(rt);return ctS&&--Mt>0);return[et/(g(St)*(te-1/p(St))),c(rt)*St]};var re=t(17889);function ie(et){var rt=2*x/et;function ct(vt,St){var Mt=(0,re.N)(vt,St);if(y(vt)>T){var Y=M(Mt[1],Mt[0]),ee=F(Mt[0]*Mt[0]+Mt[1]*Mt[1]),K=rt*f((Y-T)/rt)+T,le=M(p(Y-=K),2-g(Y));Y=K+R(x/ee*p(le))-le,Mt[0]=ee*g(Y),Mt[1]=ee*p(Y)}return Mt}return ct.invert=function(vt,St){var Mt=F(vt*vt+St*St);if(Mt>T){var Y=M(St,vt),ee=rt*f((Y-T)/rt)+T,K=Y>ee?-1:1,le=Mt*g(ee-Y),Te=1/w(K*D((le-x)/F(x*(x-2*le)+Mt*Mt)));Y=ee+2*i((Te+K*F(Te*Te-3))/3),vt=Mt*g(Y),St=Mt*p(Y)}return re.N.invert(vt,St)},ct}function oe(){var et=5,rt=(0,d.r)(ie),ct=rt(et),vt=ct.stream,St=.01,Mt=-g(St*I),Y=p(St*I);return ct.lobes=function(ee){return arguments.length?rt(et=+ee):et},ct.stream=function(ee){var K=ct.rotate(),le=vt(ee),Te=(ct.rotate([0,0]),vt(ee));return ct.rotate(K),le.sphere=function(){Te.polygonStart(),Te.lineStart();for(var De=0,He=360/et,Ze=2*x/et,at=90-180/et,Tt=T;De0&&y(vt)>v);return Y<0?NaN:ct}function pe(et,rt,ct){return rt===void 0&&(rt=40),ct===void 0&&(ct=S),function(vt,St,Mt,Y){var ee,K,le;Mt=Mt===void 0?0:+Mt,Y=Y===void 0?0:+Y;for(var Te=0;Teee)Mt-=K/=2,Y-=le/=2;else{ee=at;var Tt=(Mt>0?-1:1)*ct,At=(Y>0?-1:1)*ct,se=et(Mt+Tt,Y),ve=et(Mt,Y+At),Ie=(se[0]-De[0])/Tt,Fe=(se[1]-De[1])/Tt,Ue=(ve[0]-De[0])/At,qe=(ve[1]-De[1])/At,Xe=qe*Ie-Fe*Ue,tt=(y(Xe)<.5?.5:1)/Xe;if(Mt+=K=(Ze*Ue-He*qe)*tt,Y+=le=(He*Fe-Ze*Ie)*tt,y(K)0&&(Mt[1]*=1+Y/1.5*Mt[0]*Mt[0]),Mt}return rt.invert=pe(rt),rt}function Pe(){return(0,d.Z)(xe()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function _e(et,rt){var ct,vt=et*p(rt),St=30;do rt-=ct=(rt+p(rt)-vt)/(1+g(rt));while(y(ct)>v&&--St>0);return rt/2}function Me(et,rt,ct){function vt(St,Mt){return[et*St*g(Mt=_e(ct,Mt)),rt*p(Mt)]}return vt.invert=function(St,Mt){return Mt=R(Mt/rt),[St/(et*g(Mt)),R((2*Mt+p(2*Mt))/ct)]},vt}ye.invert=function(et,rt){var ct=2*R(rt/2);return[et*g(ct/2)/g(ct),ct]};var Se=Me(A/T,A,x);function Ce(){return(0,d.Z)(Se).scale(169.529)}var ae=2.00276,he=1.11072;function be(et,rt){var ct=_e(x,rt);return[ae*et/(1/g(rt)+he/g(ct)),(rt+A*p(ct))/ae]}function ke(){return(0,d.Z)(be).scale(160.857)}function Le(et){var rt=0,ct=(0,d.r)(et),vt=ct(rt);return vt.parallel=function(St){return arguments.length?ct(rt=St*I):rt*O},vt}function Be(et,rt){return[et*g(rt),rt]}function ze(){return(0,d.Z)(Be).scale(152.63)}function je(et){if(!et)return Be;var rt=1/w(et);function ct(vt,St){var Mt=rt+et-St,Y=Mt&&vt*g(St)/Mt;return[Mt*p(Y),rt-Mt*g(Y)]}return ct.invert=function(vt,St){var Mt=F(vt*vt+(St=rt-St)*St),Y=rt+et-Mt;return[Mt/g(Y)*M(vt,St),Y]},ct}function ge(){return Le(je).scale(123.082).center([0,26.1441]).parallel(45)}function we(et){function rt(ct,vt){var St=T-vt,Mt=St&&ct*et*p(St)/St;return[St*p(Mt)/et,T-St*g(Mt)]}return rt.invert=function(ct,vt){var St=ct*et,Mt=T-vt,Y=F(St*St+Mt*Mt),ee=M(St,Mt);return[(Y?Y/p(Y):1)*ee/et,T-Y]},rt}function Ee(){var et=.5,rt=(0,d.r)(we),ct=rt(et);return ct.fraction=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(158.837)}be.invert=function(et,rt){var ct,vt,St=ae*rt,Mt=rt<0?-C:C,Y=25;do vt=St-A*p(Mt),Mt-=ct=(p(2*Mt)+2*Mt-x*p(vt))/(2*g(2*Mt)+2+x*g(vt)*A*g(Mt));while(y(ct)>v&&--Y>0);return vt=St-A*p(Mt),[et*(1/g(vt)+he/g(Mt))/ae,vt]},Be.invert=function(et,rt){return[et/g(rt),rt]};var Ve=Me(1,4/x,x);function $e(){return(0,d.Z)(Ve).scale(152.63)}var Ye=t(66624),st=t(49386);function ot(et,rt,ct,vt,St,Mt){var Y,ee=g(Mt);if(y(et)>1||y(Mt)>1)Y=D(ct*St+rt*vt*ee);else{var K=p(et/2),le=p(Mt/2);Y=2*R(F(K*K+rt*vt*le*le))}return y(Y)>v?[Y,M(vt*p(Mt),rt*St-ct*vt*ee)]:[0,0]}function ft(et,rt,ct){return D((et*et+rt*rt-ct*ct)/(2*et*rt))}function bt(et){return et-2*x*l((et+x)/(2*x))}function Et(et,rt,ct){for(var vt,St=[[et[0],et[1],p(et[1]),g(et[1])],[rt[0],rt[1],p(rt[1]),g(rt[1])],[ct[0],ct[1],p(ct[1]),g(ct[1])]],Mt=St[2],Y=0;Y<3;++Y,Mt=vt)vt=St[Y],Mt.v=ot(vt[1]-Mt[1],Mt[3],Mt[2],vt[3],vt[2],vt[0]-Mt[0]),Mt.point=[0,0];var ee=ft(St[0].v[0],St[2].v[0],St[1].v[0]),K=ft(St[0].v[0],St[1].v[0],St[2].v[0]),le=x-ee;St[2].point[1]=0,St[0].point[0]=-(St[1].point[0]=St[0].v[0]/2);var Te=[St[2].point[0]=St[0].point[0]+St[2].v[0]*g(ee),2*(St[0].point[1]=St[1].point[1]=St[2].v[0]*p(ee))];return function(De,He){var Ze,at=p(He),Tt=g(He),At=new Array(3);for(Ze=0;Ze<3;++Ze){var se=St[Ze];if(At[Ze]=ot(He-se[1],se[3],se[2],Tt,at,De-se[0]),!At[Ze][0])return se.point;At[Ze][1]=bt(At[Ze][1]-se.v[1])}var ve=Te.slice();for(Ze=0;Ze<3;++Ze){var Ie=Ze==2?0:Ze+1,Fe=ft(St[Ze].v[0],At[Ze][0],At[Ie][0]);At[Ze][1]<0&&(Fe=-Fe),Ze?Ze==1?(Fe=K-Fe,ve[0]-=At[Ze][0]*g(Fe),ve[1]-=At[Ze][0]*p(Fe)):(Fe=le-Fe,ve[0]+=At[Ze][0]*g(Fe),ve[1]+=At[Ze][0]*p(Fe)):(ve[0]+=At[Ze][0]*g(Fe),ve[1]-=At[Ze][0]*p(Fe))}return ve[0]/=3,ve[1]/=3,ve}}function kt(et){return et[0]*=I,et[1]*=I,et}function xt(){return Ft([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ft(et,rt,ct){var vt=(0,Ye.Z)({type:"MultiPoint",coordinates:[et,rt,ct]}),St=[-vt[0],-vt[1]],Mt=(0,st.Z)(St),Y=Et(kt(Mt(et)),kt(Mt(rt)),kt(Mt(ct)));Y.invert=pe(Y);var ee=(0,d.Z)(Y).rotate(St),K=ee.center;return delete ee.rotate,ee.center=function(le){return arguments.length?K(Mt(le)):Mt.invert(K())},ee.clipAngle(90)}function Rt(et,rt){var ct=F(1-p(rt));return[2/L*et*ct,L*(1-ct)]}function Bt(){return(0,d.Z)(Rt).scale(95.6464).center([0,30])}function Wt(et){var rt=w(et);function ct(vt,St){return[vt,(vt?vt/p(vt):1)*(p(St)*g(vt)-rt*g(St))]}return ct.invert=rt?function(vt,St){vt&&(St*=p(vt)/vt);var Mt=g(vt);return[vt,2*M(F(Mt*Mt+rt*rt-St*St)-Mt,rt-St)]}:function(vt,St){return[vt,R(vt?St*w(vt)/vt:St)]},ct}function Vt(){return Le(Wt).scale(249.828).clipAngle(90)}Rt.invert=function(et,rt){var ct=(ct=rt/L-1)*ct;return[ct>0?et*F(x/ct)/2:0,R(1-ct)]};var Ke=F(3);function Je(et,rt){return[Ke*et*(2*g(2*rt/3)-1)/L,Ke*L*p(rt/3)]}function We(){return(0,d.Z)(Je).scale(156.19)}function nt(et){var rt=g(et);function ct(vt,St){return[vt*rt,p(St)/rt]}return ct.invert=function(vt,St){return[vt/rt,R(St*rt)]},ct}function ht(){return Le(nt).parallel(38.58).scale(195.044)}function Oe(et){var rt=g(et);function ct(vt,St){return[vt*rt,(1+rt)*w(St/2)]}return ct.invert=function(vt,St){return[vt/rt,2*i(St/(1+rt))]},ct}function Ne(){return Le(Oe).scale(124.75)}function Qe(et,rt){var ct=F(8/(3*x));return[ct*et*(1-y(rt)/x),ct*rt]}function ut(){return(0,d.Z)(Qe).scale(165.664)}function dt(et,rt){var ct=F(4-3*p(y(rt)));return[2/F(6*x)*et*ct,c(rt)*F(2*x/3)*(2-ct)]}function _t(){return(0,d.Z)(dt).scale(165.664)}function It(et,rt){var ct=F(x*(4+x));return[2/ct*et*(1+F(1-4*rt*rt/(x*x))),4/ct*rt]}function Lt(){return(0,d.Z)(It).scale(180.739)}function yt(et,rt){var ct=(2+T)*p(rt);rt/=2;for(var vt=0,St=1/0;vt<10&&y(St)>v;vt++){var Mt=g(rt);rt-=St=(rt+p(rt)*(Mt+2)-ct)/(2*Mt*(1+Mt))}return[2/F(x*(4+x))*et*(1+g(rt)),2*F(x/(4+x))*p(rt)]}function Pt(){return(0,d.Z)(yt).scale(180.739)}function wt(et,rt){return[et*(1+g(rt))/F(2+x),2*rt/F(2+x)]}function Ot(){return(0,d.Z)(wt).scale(173.044)}function Nt(et,rt){for(var ct=(1+T)*p(rt),vt=0,St=1/0;vt<10&&y(St)>v;vt++)rt-=St=(rt+p(rt)-ct)/(1+g(rt));return ct=F(2+x),[et*(1+g(rt))/ct,2*rt/ct]}function Yt(){return(0,d.Z)(Nt).scale(173.044)}Je.invert=function(et,rt){var ct=3*R(rt/(Ke*L));return[L*et/(Ke*(2*g(2*ct/3)-1)),ct]},Qe.invert=function(et,rt){var ct=F(8/(3*x)),vt=rt/ct;return[et/(ct*(1-y(vt)/x)),vt]},dt.invert=function(et,rt){var ct=2-y(rt)/F(2*x/3);return[et*F(6*x)/(2*ct),c(rt)*R((4-ct*ct)/3)]},It.invert=function(et,rt){var ct=F(x*(4+x))/2;return[et*ct/(1+F(1-rt*rt*(4+x)/(4*x))),rt*ct/2]},yt.invert=function(et,rt){var ct=rt*F((4+x)/x)/2,vt=R(ct),St=g(vt);return[et/(2/F(x*(4+x))*(1+St)),R((vt+ct*(St+2))/(2+T))]},wt.invert=function(et,rt){var ct=F(2+x),vt=rt*ct/2;return[ct*et/(1+g(vt)),vt]},Nt.invert=function(et,rt){var ct=1+T,vt=F(ct/2);return[2*et*vt/(1+g(rt*=vt)),R((rt+p(rt))/ct)]};var qt=3+2*A;function Xt(et,rt){var ct=p(et/=2),vt=g(et),St=F(g(rt)),Mt=g(rt/=2),Y=p(rt)/(Mt+A*vt*St),ee=F(2/(1+Y*Y)),K=F((A*Mt+(vt+ct)*St)/(A*Mt+(vt-ct)*St));return[qt*(ee*(K-1/K)-2*a(K)),qt*(ee*Y*(K+1/K)-2*i(Y))]}function Qt(){return(0,d.Z)(Xt).scale(62.5271)}Xt.invert=function(et,rt){if(!(ct=H.invert(et/1.2,1.065*rt)))return null;var ct,vt=ct[0],St=ct[1],Mt=20;et/=qt,rt/=qt;do{var Y=vt/2,ee=St/2,K=p(Y),le=g(Y),Te=p(ee),De=g(ee),He=g(St),Ze=F(He),at=Te/(De+A*le*Ze),Tt=at*at,At=F(2/(1+Tt)),se=(A*De+(le+K)*Ze)/(A*De+(le-K)*Ze),ve=F(se),Ie=ve-1/ve,Fe=ve+1/ve,Ue=At*Ie-2*a(ve)-et,qe=At*at*Fe-2*i(at)-rt,Xe=Te&&_*Ze*K*Tt/Te,tt=(A*le*De+Ze)/(2*(De+A*le*Ze)*(De+A*le*Ze)*Ze),lt=-.5*at*At*At*At,mt=lt*Xe,zt=lt*tt,Ut=(Ut=2*De+A*Ze*(le-K))*Ut*ve,Ht=(A*le*De*Ze+He)/Ut,en=-A*K*Te/(Ze*Ut),vn=Ie*mt-2*Ht/ve+At*(Ht+Ht/se),tn=Ie*zt-2*en/ve+At*(en+en/se),ln=at*Fe*mt-2*Xe/(1+Tt)+At*Fe*Xe+At*at*(Ht-Ht/se),an=at*Fe*zt-2*tt/(1+Tt)+At*Fe*tt+At*at*(en-en/se),Cn=tn*ln-an*vn;if(!Cn)break;var _n=(qe*tn-Ue*an)/Cn,on=(Ue*ln-qe*vn)/Cn;vt-=_n,St=u(-T,o(T,St-on))}while((y(_n)>v||y(on)>v)&&--Mt>0);return y(y(St)-T)vt){var De=F(Te),He=M(le,K),Ze=ct*f(He/ct),at=He-Ze,Tt=et*g(at),At=(et*p(at)-at*p(Tt))/(T-Tt),se=Gn(at,At),ve=(x-et)/Wn(se,Tt,x);K=De;var Ie,Fe=50;do K-=Ie=(et+Wn(se,Tt,K)*ve-De)/(se(K)*ve);while(y(Ie)>v&&--Fe>0);le=at*p(K),Kvt){var K=F(ee),le=M(Y,Mt),Te=ct*f(le/ct),De=le-Te;Mt=K*g(De),Y=K*p(De);for(var He=Mt-T,Ze=p(Mt),at=Y/Ze,Tt=Mtv||y(He)>v)&&--Tt>0);return[Ze,at]},K}var Sr=rr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function yr(){return(0,d.Z)(Sr).scale(149.995)}var or=rr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function vr(){return(0,d.Z)(or).scale(153.93)}var _r=rr(5/6*x,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Kt(){return(0,d.Z)(_r).scale(130.945)}function bn(et,rt){var ct=et*et,vt=rt*rt;return[et*(1-.162388*vt)*(.87-952426e-9*ct*ct),rt*(1+vt/12)]}function On(){return(0,d.Z)(bn).scale(131.747)}bn.invert=function(et,rt){var ct,vt=et,St=rt,Mt=50;do{var Y=St*St;St-=ct=(St*(1+Y/12)-rt)/(1+Y/4)}while(y(ct)>v&&--Mt>0);Mt=50,et/=1-.162388*Y;do{var ee=(ee=vt*vt)*ee;vt-=ct=(vt*(.87-952426e-9*ee)-et)/(.87-.00476213*ee)}while(y(ct)>v&&--Mt>0);return[vt,St]};var Ln=rr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Un(){return(0,d.Z)(Ln).scale(131.087)}function Kn(et){var rt=et(T,0)[0]-et(-T,0)[0];function ct(vt,St){var Mt=vt>0?-.5:.5,Y=et(vt+Mt*x,St);return Y[0]-=Mt*rt,Y}return et.invert&&(ct.invert=function(vt,St){var Mt=vt>0?-.5:.5,Y=et.invert(vt+Mt*rt,St),ee=Y[0]-Mt*x;return ee<-x?ee+=2*x:ee>x&&(ee-=2*x),Y[0]=ee,Y}),ct}function $n(et,rt){var ct=c(et),vt=c(rt),St=g(rt),Mt=g(et)*St,Y=p(et)*St,ee=p(vt*rt);et=y(M(Y,ee)),rt=R(Mt),y(et-T)>v&&(et%=T);var K=function(le,Te){if(Te===T)return[0,0];var De,He,Ze=p(Te),at=Ze*Ze,Tt=at*at,At=1+Tt,se=1+3*Tt,ve=1-Tt,Ie=R(1/F(At)),Fe=ve+at*At*Ie,Ue=(1-Ze)/Fe,qe=F(Ue),Xe=Ue*At,tt=F(Xe),lt=qe*ve;if(le===0)return[0,-(lt+at*tt)];var mt,zt=g(Te),Ut=1/zt,Ht=2*Ze*zt,en=(-Fe*zt-(-3*at+Ie*se)*Ht*(1-Ze))/(Fe*Fe),vn=-Ut*Ht,tn=-Ut*(at*At*en+Ue*se*Ht),ln=-2*Ut*(ve*(.5*en/qe)-2*at*qe*Ht),an=4*le/x;if(le>.222*x||Te.175*x){if(De=(lt+at*F(Xe*(1+Tt)-lt*lt))/(1+Tt),le>x/4)return[De,De];var Cn=De,_n=.5*De;De=.5*(_n+Cn),He=50;do{var on=De*(ln+vn*F(Xe-De*De))+tn*R(De/tt)-an;if(!on)break;on<0?_n=De:Cn=De,De=.5*(_n+Cn)}while(y(Cn-_n)>v&&--He>0)}else{De=v,He=25;do{var Fn=De*De,Hn=F(Xe-Fn),ir=ln+vn*Hn,ar=De*ir+tn*R(De/tt)-an;De-=mt=Hn?ar/(ir+(tn-vn*Fn)/Hn):0}while(y(mt)>v&&--He>0)}return[De,-lt-at*F(Xe-De*De)]}(et>x/4?T-et:et,rt);return et>x/4&&(ee=K[0],K[0]=-K[1],K[1]=-ee),K[0]*=ct,K[1]*=-vt,K}function tr(){return(0,d.Z)(Kn($n)).scale(239.75)}function mr(et,rt){var ct,vt,St,Mt,Y,ee;if(rt=.999999)return ct=(1-rt)/4,St=1/(vt=N(et)),[(Mt=((ee=h(2*(ee=et)))-1)/(ee+1))+ct*((Y=vt*B(et))-et)/(vt*vt),St-ct*Mt*St*(Y-et),St+ct*Mt*St*(Y+et),2*i(h(et))-T+ct*(Y-et)/vt];var K=[1,0,0,0,0,0,0,0,0],le=[F(rt),0,0,0,0,0,0,0,0],Te=0;for(vt=F(1-rt),Y=1;y(le[Te]/K[Te])>v&&Te<8;)ct=K[Te++],le[Te]=(ct-vt)/2,K[Te]=(ct+vt)/2,vt=F(ct*vt),Y*=2;St=Y*K[Te]*et;do St=(R(Mt=le[Te]*p(vt=St)/K[Te])+St)/2;while(--Te);return[p(St),Mt=g(St),Mt/g(St-vt),St]}function nn(et,rt){if(!rt)return et;if(rt===1)return a(w(et/2+C));for(var ct=1,vt=F(1-rt),St=F(rt),Mt=0;y(St)>v;Mt++){if(et%x){var Y=i(vt*w(et)/ct);Y<0&&(Y+=x),et+=Y+~~(et/x)*x}else et+=et;St=(ct+vt)/2,vt=F(ct*vt),St=((ct=St)-vt)/2}return et/(s(2,Mt)*ct)}function Pn(et,rt){var ct=(A-1)/(A+1),vt=F(1-ct*ct),St=nn(T,vt*vt),Mt=a(w(x/4+y(rt)/2)),Y=h(-1*Mt)/F(ct),ee=function(le,Te){var De=le*le,He=Te+1,Ze=1-De-Te*Te;return[.5*((le>=0?T:-T)-M(Ze,2*le)),-.25*a(Ze*Ze+4*De)+.5*a(He*He+De)]}(Y*g(-1*et),Y*p(-1*et)),K=function(le,Te,De){var He=y(le),Ze=B(y(Te));if(He){var at=1/p(He),Tt=1/(w(He)*w(He)),At=-(Tt+De*(Ze*Ze*at*at)-1+De),se=(-At+F(At*At-(De-1)*Tt*4))/2;return[nn(i(1/F(se)),De)*c(le),nn(i(F((se/Tt-1)/De)),1-De)*c(Te)]}return[0,nn(i(Ze),1-De)*c(Te)]}(ee[0],ee[1],vt*vt);return[-K[1],(rt>=0?1:-1)*(.5*St-K[0])]}function jt(){return(0,d.Z)(Kn(Pn)).scale(151.496)}$n.invert=function(et,rt){y(et)>1&&(et=2*c(et)-et),y(rt)>1&&(rt=2*c(rt)-rt);var ct=c(et),vt=c(rt),St=-ct*et,Mt=-vt*rt,Y=Mt/St<1,ee=function(De,He){for(var Ze=0,at=1,Tt=.5,At=50;;){var se=Tt*Tt,ve=F(Tt),Ie=R(1/F(1+se)),Fe=1-se+Tt*(1+se)*Ie,Ue=(1-ve)/Fe,qe=F(Ue),Xe=Ue*(1+se),tt=qe*(1-se),lt=F(Xe-De*De),mt=He+tt+Tt*lt;if(y(at-Ze)0?Ze=Tt:at=Tt,Tt=.5*(Ze+at)}if(!At)return null;var zt=R(ve),Ut=g(zt),Ht=1/Ut,en=2*ve*Ut,vn=(-Fe*Ut-(-3*Tt+Ie*(1+3*se))*en*(1-ve))/(Fe*Fe);return[x/4*(De*(-2*Ht*(.5*vn/qe*(1-se)-2*Tt*qe*en)+-Ht*en*lt)+-Ht*(Tt*(1+se)*vn+Ue*(1+3*se)*en)*R(De/F(Xe))),zt]}(Y?Mt:St,Y?St:Mt),K=ee[0],le=ee[1],Te=g(le);return Y&&(K=-T-K),[ct*(M(p(K)*Te,-p(le))+x),vt*R(g(K)*Te)]},Pn.invert=function(et,rt){var ct,vt,St,Mt,Y,ee,K=(A-1)/(A+1),le=F(1-K*K),Te=(vt=-et,St=le*le,(ct=.5*nn(T,le*le)-rt)?(Mt=mr(ct,St),vt?(ee=(Y=mr(vt,1-St))[1]*Y[1]+St*Mt[0]*Mt[0]*Y[0]*Y[0],[[Mt[0]*Y[2]/ee,Mt[1]*Mt[2]*Y[0]*Y[1]/ee],[Mt[1]*Y[1]/ee,-Mt[0]*Mt[2]*Y[0]*Y[2]/ee],[Mt[2]*Y[1]*Y[2]/ee,-St*Mt[0]*Mt[1]*Y[0]/ee]]):[[Mt[0],0],[Mt[1],0],[Mt[2],0]]):[[0,(Y=mr(vt,1-St))[0]/Y[1]],[1/Y[1],0],[Y[2]/Y[1],0]]),De=function(He,Ze){var at=Ze[0]*Ze[0]+Ze[1]*Ze[1];return[(He[0]*Ze[0]+He[1]*Ze[1])/at,(He[1]*Ze[0]-He[0]*Ze[1])/at]}(Te[0],Te[1]);return[M(De[1],De[0])/-1,2*i(h(-.5*a(K*De[0]*De[0]+K*De[1]*De[1])))-T]};var Jt=t(7613);function fn(et){var rt=p(et),ct=g(et),vt=zn(et);function St(Mt,Y){var ee=vt(Mt,Y);Mt=ee[0],Y=ee[1];var K=p(Y),le=g(Y),Te=g(Mt),De=D(rt*K+ct*le*Te),He=p(De),Ze=y(He)>v?De/He:1;return[Ze*ct*p(Mt),(y(Mt)>T?Ze:-Ze)*(rt*le-ct*K*Te)]}return vt.invert=zn(-et),St.invert=function(Mt,Y){var ee=F(Mt*Mt+Y*Y),K=-p(ee),le=g(ee),Te=ee*le,De=-Y*K,He=ee*rt,Ze=F(Te*Te+De*De-He*He),at=M(Te*He+De*Ze,De*He-Te*Ze),Tt=(ee>T?-1:1)*M(Mt*K,ee*g(at)*le+Y*p(at)*K);return vt.invert(Tt,at)},St}function zn(et){var rt=p(et),ct=g(et);return function(vt,St){var Mt=g(St),Y=g(vt)*Mt,ee=p(vt)*Mt,K=p(St);return[M(ee,Y*ct-K*rt),R(K*ct+Y*rt)]}}function Rn(){var et=0,rt=(0,d.r)(fn),ct=rt(et),vt=ct.rotate,St=ct.stream,Mt=(0,Jt.Z)();return ct.parallel=function(Y){if(!arguments.length)return et*O;var ee=ct.rotate();return rt(et=Y*I).rotate(ee)},ct.rotate=function(Y){return arguments.length?(vt.call(ct,[Y[0],Y[1]-et*O]),Mt.center([-Y[0],-Y[1]]),ct):((Y=vt.call(ct))[1]+=et*O,Y)},ct.stream=function(Y){return(Y=St(Y)).sphere=function(){Y.polygonStart();var ee,K=Mt.radius(89.99)().coordinates[0],le=K.length-1,Te=-1;for(Y.lineStart();++Te=0;)Y.point((ee=K[Te])[0],ee[1]);Y.lineEnd(),Y.polygonEnd()},Y},ct.scale(79.4187).parallel(45).clipAngle(179.999)}var En=t(33064),mn=t(72736),wn=R(1-1/3)*O,gn=nt(0);function yn(et){var rt=wn*I,ct=Rt(x,rt)[0]-Rt(-x,rt)[0],vt=gn(0,rt)[1],St=Rt(0,rt)[1],Mt=L-St,Y=b/et,ee=4/b,K=vt+Mt*Mt*4/b;function le(Te,De){var He,Ze=y(De);if(Ze>rt){var at=o(et-1,u(0,l((Te+x)/Y)));(He=Rt(Te+=x*(et-1)/et-at*Y,Ze))[0]=He[0]*b/ct-b*(et-1)/(2*et)+at*b/et,He[1]=vt+4*(He[1]-St)*Mt/b,De<0&&(He[1]=-He[1])}else He=gn(Te,De);return He[0]*=ee,He[1]/=K,He}return le.invert=function(Te,De){Te/=ee;var He=y(De*=K);if(He>vt){var Ze=o(et-1,u(0,l((Te+x)/Y)));Te=(Te+x*(et-1)/et-Ze*Y)*ct/b;var at=Rt.invert(Te,.25*(He-vt)*b/Mt+St);return at[0]-=x*(et-1)/et-Ze*Y,De<0&&(at[1]=-at[1]),at}return gn.invert(Te,De)},le}function Sn(et,rt){return[et,1&rt?89.999999:wn]}function Vn(et,rt){return[et,1&rt?-89.999999:-wn]}function Xn(et){return[.999999*et[0],et[1]]}function nr(){var et=4,rt=(0,d.r)(yn),ct=rt(et),vt=ct.stream;return ct.lobes=function(St){return arguments.length?rt(et=+St):et},ct.stream=function(St){var Mt=ct.rotate(),Y=vt(St),ee=(ct.rotate([0,0]),vt(St));return ct.rotate(Mt),Y.sphere=function(){var K,le;(0,mn.Z)((K=180/et,le=[].concat((0,En.w6)(-180,180+K/2,K).map(Sn),(0,En.w6)(180,-180-K/2,-K).map(Vn)),{type:"Polygon",coordinates:[K===180?le.map(Xn):le]}),ee)},Y},ct.scale(239.75)}function Qn(et){var rt,ct=1+et,vt=R(p(1/ct)),St=2*F(x/(rt=x+4*vt*ct)),Mt=.5*St*(ct+F(et*(2+et))),Y=et*et,ee=ct*ct;function K(le,Te){var De,He,Ze=1-p(Te);if(Ze&&Ze<2){var at,Tt=T-Te,At=25;do{var se=p(Tt),ve=g(Tt),Ie=vt+M(se,ct-ve),Fe=1+ee-2*ct*ve;Tt-=at=(Tt-Y*vt-ct*se+Fe*Ie-.5*Ze*rt)/(2*ct*se*Ie)}while(y(at)>S&&--At>0);De=St*F(Fe),He=le*Ie/x}else De=St*(et+Ze),He=le*vt/x;return[De*p(He),Mt-De*g(He)]}return K.invert=function(le,Te){var De=le*le+(Te-=Mt)*Te,He=(1+ee-De/(St*St))/(2*ct),Ze=D(He),at=p(Ze),Tt=vt+M(at,ct-He);return[R(le/F(De))*x/Tt,R(1-2*(Ze-Y*vt-ct*at+(1+ee-2*ct*He)*Tt)/rt)]},K}function fr(){var et=1,rt=(0,d.r)(Qn),ct=rt(et);return ct.ratio=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(167.774).center([0,18.67])}var cr=.7109889596207567,pr=.0528035274542;function dr(et,rt){return rt>-cr?((et=Se(et,rt))[1]+=pr,et):Be(et,rt)}function br(){return(0,d.Z)(dr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Ir(et,rt){return y(rt)>cr?((et=Se(et,rt))[1]-=rt>0?pr:-pr,et):Be(et,rt)}function Lr(){return(0,d.Z)(Ir).scale(152.63)}function zr(et,rt,ct,vt){var St=F(4*x/(2*ct+(1+et-rt/2)*p(2*ct)+(et+rt)/2*p(4*ct)+rt/2*p(6*ct))),Mt=F(vt*p(ct)*F((1+et*g(2*ct)+rt*g(4*ct))/(1+et+rt))),Y=ct*K(1);function ee(De){return F(1+et*g(2*De)+rt*g(4*De))}function K(De){var He=De*ct;return(2*He+(1+et-rt/2)*p(2*He)+(et+rt)/2*p(4*He)+rt/2*p(6*He))/ct}function le(De){return ee(De)*p(De)}var Te=function(De,He){var Ze=ct*me(K,Y*p(He)/ct,He/x);isNaN(Ze)&&(Ze=ct*c(He));var at=St*ee(Ze);return[at*Mt*De/x*g(Ze),at/Mt*p(Ze)]};return Te.invert=function(De,He){var Ze=me(le,He*Mt/St);return[De*x/(g(Ze)*St*Mt*ee(Ze)),R(ct*K(Ze/ct)/Y)]},ct===0&&(St=F(vt/x),(Te=function(De,He){return[De*St,p(He)/St]}).invert=function(De,He){return[De/St,R(He*St)]}),Te}function gr(){var et=1,rt=0,ct=45*I,vt=2,St=(0,d.r)(zr),Mt=St(et,rt,ct,vt);return Mt.a=function(Y){return arguments.length?St(et=+Y,rt,ct,vt):et},Mt.b=function(Y){return arguments.length?St(et,rt=+Y,ct,vt):rt},Mt.psiMax=function(Y){return arguments.length?St(et,rt,ct=+Y*I,vt):ct*O},Mt.ratio=function(Y){return arguments.length?St(et,rt,ct,vt=+Y):vt},Mt.scale(180.739)}function Fr(et,rt,ct,vt,St,Mt,Y,ee,K,le,Te){if(Te.nanEncountered)return NaN;var De,He,Ze,at,Tt,At,se,ve,Ie,Fe;if(He=et(rt+.25*(De=ct-rt)),Ze=et(ct-.25*De),isNaN(He))Te.nanEncountered=!0;else{if(!isNaN(Ze))return Fe=((At=(at=De*(vt+4*He+St)/12)+(Tt=De*(St+4*Ze+Mt)/12))-Y)/15,le>K?(Te.maxDepthCount++,At+Fe):Math.abs(Fe)Ze?Tt=At:at=At,At=at+Tt>>1;while(At>at);var se=K[At+1]-K[At];return se&&(se=(Ze-K[At+1])/se),(At+1+se)/Y}var De=2*Te(1)/x*Mt/ct,He=function(Ze,at){var Tt=Te(y(p(at))),At=vt(Tt)*Ze;return Tt/=De,[At,at>=0?Tt:-Tt]};return He.invert=function(Ze,at){var Tt;return y(at*=De)<1&&(Tt=c(at)*R(St(y(at))*Mt)),[Ze/vt(y(at)),Tt]},He}function ta(){var et=0,rt=2.5,ct=1.183136,vt=(0,d.r)(ji),St=vt(et,rt,ct);return St.alpha=function(Mt){return arguments.length?vt(et=+Mt,rt,ct):et},St.k=function(Mt){return arguments.length?vt(et,rt=+Mt,ct):rt},St.gamma=function(Mt){return arguments.length?vt(et,rt,ct=+Mt):ct},St.scale(152.63)}function sa(et,rt){return y(et[0]-rt[0])=0;--ee)ct=(rt=et[1][ee])[0][0],vt=rt[0][1],St=rt[1][1],Mt=rt[2][0],Y=rt[2][1],K.push(uo([[Mt-v,Y-v],[Mt-v,St+v],[ct+v,St+v],[ct+v,vt-v]],30));return{type:"Polygon",coordinates:[(0,En.TS)(K)]}}function Xi(et,rt,ct){var vt,St;function Mt(K,le){for(var Te=le<0?-1:1,De=rt[+(le<0)],He=0,Ze=De.length-1;HeDe[He][2][0];++He);var at=et(K-De[He][1][0],le);return at[0]+=et(De[He][1][0],Te*le>Te*De[He][0][1]?De[He][0][1]:le)[0],at}ct?Mt.invert=ct(Mt):et.invert&&(Mt.invert=function(K,le){for(var Te=St[+(le<0)],De=rt[+(le<0)],He=0,Ze=Te.length;HeTt&&(De=at,at=Tt,Tt=De),[[He,at],[Ze,Tt]]})}),Y):rt.map(function(le){return le.map(function(Te){return[[Te[0][0]*O,Te[0][1]*O],[Te[1][0]*O,Te[1][1]*O],[Te[2][0]*O,Te[2][1]*O]]})})},rt!=null&&Y.lobes(rt),Y}dr.invert=function(et,rt){return rt>-cr?Se.invert(et,rt-pr):Be.invert(et,rt)},Ir.invert=function(et,rt){return y(rt)>cr?Se.invert(et,rt+(rt>0?pr:-pr)):Be.invert(et,rt)};var Do=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function rs(){return Xi(be,Do).scale(160.857)}var tl=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Cu(){return Xi(Ir,tl).scale(152.63)}var gh=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Af(){return Xi(Se,gh).scale(169.529)}var Eu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function is(){return Xi(Se,Eu).scale(169.529).rotate([20,0])}var Sf=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Ya(){return Xi(dr,Sf,pe).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var uc=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function Yo(){return Xi(Be,uc).scale(152.63).rotate([-20,0])}function as(et,rt){return[3/b*et*F(x*x/3-rt*rt),rt]}function Al(){return(0,d.Z)(as).scale(158.837)}function Ui(et){function rt(ct,vt){if(y(y(vt)-T)2)return null;var Mt=(ct/=2)*ct,Y=(vt/=2)*vt,ee=2*vt/(1+Mt+Y);return ee=s((1+ee)/(1-ee),1/et),[M(2*ct,1-Mt-Y)/et,R((ee-1)/(ee+1))]},rt}function Sl(){var et=.5,rt=(0,d.r)(Ui),ct=rt(et);return ct.spacing=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(124.75)}as.invert=function(et,rt){return[b/3*et/F(x*x/3-rt*rt),rt]};var ps=x/A;function Es(et,rt){return[et*(1+F(g(rt)))/2,rt/(g(rt/2)*g(et/6))]}function js(){return(0,d.Z)(Es).scale(97.2672)}function cc(et,rt){var ct=et*et,vt=rt*rt;return[et*(.975534+vt*(-.0143059*ct-.119161+-.0547009*vt)),rt*(1.00384+ct*(.0802894+-.02855*vt+199025e-9*ct)+vt*(.0998909+-.0491032*vt))]}function vh(){return(0,d.Z)(cc).scale(139.98)}function nl(et,rt){return[p(et)/g(rt),w(rt)*g(et)]}function yh(){return(0,d.Z)(nl).scale(144.049).clipAngle(89.999)}function bh(et){var rt=g(et),ct=w(C+et/2);function vt(St,Mt){var Y=Mt-et,ee=y(Y)=0;)He=(De=et[Te])[0]+K*(Mt=He)-le*Ze,Ze=De[1]+K*Ze+le*Mt;return[He=K*(Mt=He)-le*Ze,Ze=K*Ze+le*Mt]}return ct.invert=function(vt,St){var Mt=20,Y=vt,ee=St;do{for(var K,le=rt,Te=et[le],De=Te[0],He=Te[1],Ze=0,at=0;--le>=0;)Ze=De+Y*(K=Ze)-ee*at,at=He+Y*at+ee*K,De=(Te=et[le])[0]+Y*(K=De)-ee*He,He=Te[1]+Y*He+ee*K;var Tt,At,se=(Ze=De+Y*(K=Ze)-ee*at)*Ze+(at=He+Y*at+ee*K)*at;Y-=Tt=((De=Y*(K=De)-ee*He-vt)*Ze+(He=Y*He+ee*K-St)*at)/se,ee-=At=(He*Ze-De*at)/se}while(y(Tt)+y(At)>1e-12&&--Mt>0);if(Mt){var ve=F(Y*Y+ee*ee),Ie=2*i(.5*ve),Fe=p(Ie);return[M(Y*Fe,ve*g(Ie)),ve?R(ee*Fe/ve):0]}},ct}Es.invert=function(et,rt){var ct=y(et),vt=y(rt),St=v,Mt=T;vtv||y(At)>v)&&--St>0);return St&&[ct,vt]},nl.invert=function(et,rt){var ct=et*et,vt=rt*rt+1,St=ct+vt,Mt=et?_*F((St-F(St*St-4*ct))/ct):1/F(vt);return[R(et*Mt),c(rt)*D(Mt)]},Cf.invert=function(et,rt){return[et,2.5*i(h(.8*rt))-.625*x]};var rl=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],il=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Lu=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],al=[[.9245,0],[0,0],[.01943,0]],Lf=[[.721316,0],[0,0],[-.00881625,-.00617325]];function If(){return Ql(rl,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Jl(){return Ql(il,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function Vc(){return Ql(Lu,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Cl(){return Ql(al,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Iu(){return Ql(Lf,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ql(et,rt){var ct=(0,d.Z)(Ef(et)).rotate(rt).clipAngle(90),vt=(0,st.Z)(rt),St=ct.center;return delete ct.rotate,ct.center=function(Mt){return arguments.length?St(vt(Mt)):vt.invert(St())},ct}var ol=F(6),Hi=F(7);function El(et,rt){var ct=R(7*p(rt)/(3*ol));return[ol*et*(2*g(2*ct/3)-1)/Hi,9*p(ct/3)/Hi]}function ad(){return(0,d.Z)(El).scale(164.859)}function jc(et,rt){for(var ct,vt=(1+_)*p(rt),St=rt,Mt=0;Mt<25&&(St-=ct=(p(St/2)+p(St)-vt)/(.5*g(St/2)+g(St)),!(y(ct)S&&--ee>0);return[et/(.84719-.13063*(vt=Y*Y)+(Mt=vt*(St=vt*vt))*Mt*(.05494*vt-.04515-.02326*St+.00331*Mt)),Y]},Pu.invert=function(et,rt){for(var ct=rt/2,vt=0,St=1/0;vt<10&&y(St)>v;++vt){var Mt=g(rt/2);rt-=St=(rt-w(rt/2)-ct)/(1-.5/(Mt*Mt))}return[2*et/(1+g(rt)),rt]};var tu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function nu(){return Xi(ce(1/0),tu).rotate([20,0]).scale(152.63)}function Ru(et,rt){var ct=p(rt),vt=g(rt),St=c(et);if(et===0||y(rt)===T)return[0,rt];if(rt===0)return[et,0];if(y(et)===T)return[et*vt,T*ct];var Mt=x/(2*et)-2*et/x,Y=2*rt/x,ee=(1-Y*Y)/(ct-Y),K=Mt*Mt,le=ee*ee,Te=1+K/le,De=1+le/K,He=(Mt*ct/ee-Mt/2)/Te,Ze=(le*ct/K+ee/2)/De,at=Ze*Ze-(le*ct*ct/K+ee*ct-1)/De;return[T*(He+F(He*He+vt*vt/Te)*St),T*(Ze+F(at<0?0:at)*c(-rt*Mt)*St)]}function pc(){return(0,d.Z)(Ru).scale(127.267)}Ru.invert=function(et,rt){var ct=(et/=T)*et,vt=ct+(rt/=T)*rt,St=x*x;return[et?(vt-1+F((1-vt)*(1-vt)+4*ct))/(2*et)*T:0,me(function(Mt){return vt*(x*p(Mt)-2*Mt)*x+4*Mt*Mt*(rt-p(Mt))+2*x*Mt-St*rt},0)]};var mc=1.0148,gs=.23185,gc=-.14499,vc=.02406,Pf=1.790857183;function Ll(et,rt){var ct=rt*rt;return[et,rt*(mc+ct*ct*(gs+ct*(gc+vc*ct)))]}function Uc(){return(0,d.Z)(Ll).scale(139.319)}function yc(et,rt){if(y(rt)Pf?rt=Pf:rt<-1.790857183&&(rt=-1.790857183);var ct,vt=rt;do{var St=vt*vt;vt-=ct=(vt*(mc+St*St*(gs+St*(gc+vc*St)))-rt)/(1.0148+St*St*(1.1592500000000001+St*(.21654*St-1.01493)))}while(y(ct)>v);return[et,vt]},yc.invert=function(et,rt){if(y(rt)v&&--Mt>0);return Y=w(St),[(y(rt)=0;)if(tt=qe[Ut],Xe[0]===tt[0]&&Xe[1]===tt[1]){if(mt)return[mt,Xe];mt=Xe}}}(K.face,le.face),De=(Tt=Te.map(le.project),At=Te.map(K.project),se=iu(Tt[1],Tt[0]),ve=iu(At[1],At[0]),Ie=function(Ue,qe){return M(Ue[0]*qe[1]-Ue[1]*qe[0],Ue[0]*qe[0]+Ue[1]*qe[1])}(se,ve),Fe=Ki(se)/Ki(ve),ru([1,0,Tt[0][0],0,1,Tt[0][1]],ru([Fe,0,0,0,Fe,0],ru([g(Ie),p(Ie),0,-p(Ie),g(Ie),0],[1,0,-At[0][0],0,1,-At[0][1]]))));K.transform=le.transform?ru(le.transform,De):De;for(var He=le.edges,Ze=0,at=He.length;Ze0?[-vt[0],0]:[180-vt[0],180])};var rt=Us.map(function(ct){return{face:ct,project:et(ct)}});return[-1,0,0,1,0,1,4,5].forEach(function(ct,vt){var St=rt[ct];St&&(St.children||(St.children=[])).push(rt[vt])}),Il(rt[0],function(ct,vt){return rt[ct<-x/2?vt<0?6:4:ct<0?vt<0?2:0:ctK^ve>K&&ee<(se-at)*(K-Tt)/(ve-Tt)+at&&(le=!le)}return le}(St[0],vt))return St.push(ct),!0})||et.push([ct])}),zo=[],et.length?et.length>1?{type:"MultiPolygon",coordinates:et}:{type:"Polygon",coordinates:et[0]}:null}};function $o(et){var rt=et(T,0)[0]-et(-T,0)[0];function ct(vt,St){var Mt=y(vt)0?vt-x:vt+x,St),ee=(Y[0]-Y[1])*_,K=(Y[0]+Y[1])*_;if(Mt)return[ee,K];var le=rt*_,Te=ee>0^K>0?-1:1;return[Te*ee-c(K)*le,Te*K-c(ee)*le]}return et.invert&&(ct.invert=function(vt,St){var Mt=(vt+St)*_,Y=(St-vt)*_,ee=y(Mt)<.5*rt&&y(Y)<.5*rt;if(!ee){var K=rt*_,le=Mt>0^Y>0?-1:1,Te=-le*vt+(Y>0?1:-1)*K,De=-le*St+(Mt>0?1:-1)*K;Mt=(-Te-De)*_,Y=(Te-De)*_}var He=et.invert(Mt,Y);return ee||(He[0]+=Mt>0?x:-x),He}),(0,d.Z)(ct).rotate([-90,-90,45]).clipAngle(179.999)}function Gc(){return $o($n).scale(176.423)}function Wc(){return $o(Pn).scale(111.48)}function Lo(et,rt){if(!(0<=(rt=+rt)&&rt<=20))throw new Error("invalid digits");function ct(le){var Te=le.length,De=2,He=new Array(Te);for(He[0]=+le[0].toFixed(rt),He[1]=+le[1].toFixed(rt);De2||Ze[0]!=Te[0]||Ze[1]!=Te[1])&&(De.push(Ze),Te=Ze)}return De.length===1&&le.length>1&&De.push(ct(le[le.length-1])),De}function Mt(le){return le.map(St)}function Y(le){if(le==null)return le;var Te;switch(le.type){case"GeometryCollection":Te={type:"GeometryCollection",geometries:le.geometries.map(Y)};break;case"Point":Te={type:"Point",coordinates:ct(le.coordinates)};break;case"MultiPoint":Te={type:le.type,coordinates:vt(le.coordinates)};break;case"LineString":Te={type:le.type,coordinates:St(le.coordinates)};break;case"MultiLineString":case"Polygon":Te={type:le.type,coordinates:Mt(le.coordinates)};break;case"MultiPolygon":Te={type:"MultiPolygon",coordinates:le.coordinates.map(Mt)};break;default:return le}return le.bbox!=null&&(Te.bbox=le.bbox),Te}function ee(le){var Te={type:"Feature",properties:le.properties,geometry:Y(le.geometry)};return le.id!=null&&(Te.id=le.id),le.bbox!=null&&(Te.bbox=le.bbox),Te}if(et!=null)switch(et.type){case"Feature":return ee(et);case"FeatureCollection":var K={type:"FeatureCollection",features:et.features.map(ee)};return et.bbox!=null&&(K.bbox=et.bbox),K;default:return Y(et)}return et}function Dr(et){var rt=p(et);function ct(vt,St){var Mt=rt?w(vt*rt/2)/rt:vt/2;if(!St)return[2*Mt,-et];var Y=2*i(Mt*p(St)),ee=1/w(St);return[p(Y)*ee,St+(1-g(Y))*ee-et]}return ct.invert=function(vt,St){if(y(St+=et)v&&--K>0);var He=vt*(le=w(ee)),Ze=w(y(St)0?T:-T)*(le+Mt*(De-ee)/2+Mt*Mt*(De-2*le+ee)/2)]}function zu(){return(0,d.Z)(qc).scale(152.63)}function Fu(et,rt){var ct=function(Y){function ee(K,le){var Te=g(le),De=(Y-1)/(Y-Te*g(K));return[De*Te*p(K),De*p(le)]}return ee.invert=function(K,le){var Te=K*K+le*le,De=F(Te),He=(Y-F(1-Te*(Y+1)/(Y-1)))/((Y-1)/De+De/(Y-1));return[M(K*He,De*F(1-He*He)),De?R(le*He/De):0]},ee}(et);if(!rt)return ct;var vt=g(rt),St=p(rt);function Mt(Y,ee){var K=ct(Y,ee),le=K[1],Te=le*St/(et-1)+vt;return[K[0]*vt/Te,le/Te]}return Mt.invert=function(Y,ee){var K=(et-1)/(et-1-ee*St);return ct.invert(K*Y,K*ee*vt)},Mt}function Bu(){var et=2,rt=0,ct=(0,d.r)(Fu),vt=ct(et,rt);return vt.distance=function(St){return arguments.length?ct(et=+St,rt):et},vt.tilt=function(St){return arguments.length?ct(et,rt=St*I):rt*O},vt.scale(432.147).clipAngle(D(1/et)*O-1e-6)}Fo.forEach(function(et){et[1]*=1.0144}),qc.invert=function(et,rt){var ct=rt/T,vt=90*ct,St=o(18,y(vt/5)),Mt=u(0,l(St));do{var Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],le=K-Y,Te=K-2*ee+Y,De=2*(y(ct)-ee)/le,He=Te/le,Ze=De*(1-He*De*(1-2*He*De));if(Ze>=0||Mt===1){vt=(rt>=0?5:-5)*(Ze+St);var at,Tt=50;do Ze=(St=o(18,y(vt)/5))-(Mt=l(St)),Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],vt-=(at=(rt>=0?T:-T)*(ee+Ze*(K-Y)/2+Ze*Ze*(K-2*ee+Y)/2)-rt)*O;while(y(at)>S&&--Tt>0);break}}while(--Mt>=0);var At=Fo[Mt][0],se=Fo[Mt+1][0],ve=Fo[o(19,Mt+2)][0];return[et/(se+Ze*(ve-At)/2+Ze*Ze*(ve-2*se+At)/2),vt*I]};var Br=-179.9999,Nu=179.9999,ys=-89.9999,Yc=89.9999;function xc(et){return et.length>0}function vo(et){return et===-90||et===90?[0,et]:[-180,(rt=et,Math.floor(1e4*rt)/1e4)];var rt}function cu(et){var rt=et[0],ct=et[1],vt=!1;return rt<=Br?(rt=-180,vt=!0):rt>=Nu&&(rt=180,vt=!0),ct<=ys?(ct=-90,vt=!0):ct>=Yc&&(ct=90,vt=!0),vt?[rt,ct]:et}function ul(et){return et.map(cu)}function Zo(et,rt,ct){for(var vt=0,St=et.length;vt=Nu||Te<=ys||Te>=Yc){Mt[Y]=cu(K);for(var De=Y+1;DeBr&&Zeys&&at=ee)break;ct.push({index:-1,polygon:rt,ring:Mt=Mt.slice(De-1)}),Mt[0]=vo(Mt[0][1]),Y=-1,ee=Mt.length}}}}function Rl(et){var rt,ct,vt,St,Mt,Y,ee=et.length,K={},le={};for(rt=0;rt0?x-ee:ee)*O],le=(0,d.Z)(et(Y)).rotate(K),Te=(0,st.Z)(K),De=le.center;return delete le.rotate,le.center=function(He){return arguments.length?De(Te(He)):Te.invert(De())},le.clipAngle(90)}function _c(et){var rt=g(et);function ct(vt,St){var Mt=(0,Bi.M)(vt,St);return Mt[0]*=rt,Mt}return ct.invert=function(vt,St){return Bi.M.invert(vt/rt,St)},ct}function os(){return _s([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function _s(et,rt){return Yi(_c,et,rt)}function Gs(et){if(!(et*=2))return re.N;var rt=-et/2,ct=-rt,vt=et*et,St=w(ct),Mt=.5/p(ct);function Y(ee,K){var le=D(g(K)*g(ee-rt)),Te=D(g(K)*g(ee-ct));return[((le*=le)-(Te*=Te))/(2*et),(K<0?-1:1)*F(4*vt*Te-(vt-le+Te)*(vt-le+Te))/(2*et)]}return Y.invert=function(ee,K){var le,Te,De=K*K,He=g(F(De+(le=ee+rt)*le)),Ze=g(F(De+(le=ee+ct)*le));return[M(Te=He-Ze,le=(He+Ze)*St),(K<0?-1:1)*D(F(le*le+Te*Te)*Mt)]},Y}function Bo(){return qi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function qi(et,rt){return Yi(Gs,et,rt)}function no(et,rt){if(y(rt)v&&--ee>0);return[c(et)*(F(St*St+4)+St)*x/4,T*Y]};var fl=4*x+3*F(3),Os=2*F(2*x*F(3)/fl),xo=Me(Os*F(3)/x,Os,fl/6);function $c(){return(0,d.Z)(xo).scale(176.84)}function Vo(et,rt){return[et*F(1-3*rt*rt/(x*x)),rt]}function ju(){return(0,d.Z)(Vo).scale(152.63)}function hl(et,rt){var ct=g(rt),vt=g(et)*ct,St=1-vt,Mt=g(et=M(p(et)*ct,-p(rt))),Y=p(et);return[Y*(ct=F(1-vt*vt))-Mt*St,-Mt*ct-Y*St]}function Ji(){return(0,d.Z)(hl).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function la(et,rt){var ct=$(et,rt);return[(ct[0]+et/T)/2,(ct[1]+rt)/2]}function Zc(){return(0,d.Z)(la).scale(158.837)}Vo.invert=function(et,rt){return[et/F(1-3*rt*rt/(x*x)),rt]},hl.invert=function(et,rt){var ct=(et*et+rt*rt)/-2,vt=F(-ct*(2+ct)),St=rt*ct+et*vt,Mt=et*ct-rt*vt,Y=F(Mt*Mt+St*St);return[M(vt*St,Y*(1+ct)),Y?-R(vt*Mt/Y):0]},la.invert=function(et,rt){var ct=et,vt=rt,St=25;do{var Mt,Y=g(vt),ee=p(vt),K=p(2*vt),le=ee*ee,Te=Y*Y,De=p(ct),He=g(ct/2),Ze=p(ct/2),at=Ze*Ze,Tt=1-Te*He*He,At=Tt?D(Y*He)*F(Mt=1/Tt):Mt=0,se=.5*(2*At*Y*Ze+ct/T)-et,ve=.5*(At*ee+vt)-rt,Ie=.5*Mt*(Te*at+At*Y*He*le)+.5/T,Fe=Mt*(De*K/4-At*ee*Ze),Ue=.125*Mt*(K*Ze-At*ee*Te*De),qe=.5*Mt*(le*He+At*at*Y)+.5,Xe=Fe*Ue-qe*Ie,tt=(ve*Fe-se*qe)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((y(tt)>v||y(lt)>v)&&--St>0);return[ct,vt]}},33940:function(k,m,t){function d(){return new y}function y(){this.reset()}t.d(m,{Z:function(){return d}}),y.prototype={constructor:y,reset:function(){this.s=this.t=0},add:function(g){M(i,g,this.t),M(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new y;function M(g,h,l){var a=g.s=h+l,u=a-h,o=a-u;g.t=h-o+(l-u)}},97860:function(k,m,t){t.d(m,{L9:function(){return o},ZP:function(){return S},gL:function(){return f}});var d,y,i,M,g,h=t(33940),l=t(39695),a=t(73182),u=t(72736),o=(0,h.Z)(),s=(0,h.Z)(),f={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){o.reset(),f.lineStart=c,f.lineEnd=p},polygonEnd:function(){var x=+o;s.add(x<0?l.BZ+x:x),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){s.add(l.BZ)}};function c(){f.point=w}function p(){v(d,y)}function w(x,T){f.point=v,d=x,y=T,x*=l.uR,T*=l.uR,i=x,M=(0,l.mC)(T=T/2+l.pu),g=(0,l.O$)(T)}function v(x,T){x*=l.uR,T=(T*=l.uR)/2+l.pu;var C=x-i,_=C>=0?1:-1,A=_*C,L=(0,l.mC)(T),b=(0,l.O$)(T),O=g*b,I=M*L+O*(0,l.mC)(A),R=O*_*(0,l.O$)(A);o.add((0,l.fv)(R,I)),i=x,M=L,g=b}function S(x){return s.reset(),(0,u.Z)(x,f),2*s}},77338:function(k,m,t){t.d(m,{Z:function(){return D}});var d,y,i,M,g,h,l,a,u,o,s=t(33940),f=t(97860),c=t(7620),p=t(39695),w=t(72736),v=(0,s.Z)(),S={point:x,lineStart:C,lineEnd:_,polygonStart:function(){S.point=A,S.lineStart=L,S.lineEnd=b,v.reset(),f.gL.polygonStart()},polygonEnd:function(){f.gL.polygonEnd(),S.point=x,S.lineStart=C,S.lineEnd=_,f.L9<0?(d=-(i=180),y=-(M=90)):v>p.Ho?M=90:v<-p.Ho&&(y=-90),o[0]=d,o[1]=i},sphere:function(){d=-(i=180),y=-(M=90)}};function x(F,B){u.push(o=[d=F,i=F]),BM&&(M=B)}function T(F,B){var N=(0,c.Og)([F*p.uR,B*p.uR]);if(a){var q=(0,c.T5)(a,N),j=[q[1],-q[0],0],$=(0,c.T5)(j,q);(0,c.iJ)($),$=(0,c.Y1)($);var U,G=F-g,W=G>0?1:-1,H=$[0]*p.RW*W,ne=(0,p.Wn)(G)>180;ne^(W*gM&&(M=U):ne^(W*g<(H=(H+360)%360-180)&&HM&&(M=B)),ne?FO(d,i)&&(i=F):O(F,i)>O(d,i)&&(d=F):i>=d?(Fi&&(i=F)):F>g?O(d,F)>O(d,i)&&(i=F):O(F,i)>O(d,i)&&(d=F)}else u.push(o=[d=F,i=F]);BM&&(M=B),a=N,g=F}function C(){S.point=T}function _(){o[0]=d,o[1]=i,S.point=x,a=null}function A(F,B){if(a){var N=F-g;v.add((0,p.Wn)(N)>180?N+(N>0?360:-360):N)}else h=F,l=B;f.gL.point(F,B),T(F,B)}function L(){f.gL.lineStart()}function b(){A(h,l),f.gL.lineEnd(),(0,p.Wn)(v)>p.Ho&&(d=-(i=180)),o[0]=d,o[1]=i,a=null}function O(F,B){return(B-=F)<0?B+360:B}function I(F,B){return F[0]-B[0]}function R(F,B){return F[0]<=F[1]?F[0]<=B&&B<=F[1]:BO(q[0],q[1])&&(q[1]=j[1]),O(j[0],q[1])>O(q[0],q[1])&&(q[0]=j[0])):$.push(q=j);for(U=-1/0,B=0,q=$[N=$.length-1];B<=N;q=j,++B)j=$[B],(G=O(q[1],j[0]))>U&&(U=G,d=j[0],i=q[1])}return u=o=null,d===1/0||y===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,y],[i,M]]}},7620:function(k,m,t){t.d(m,{Og:function(){return i},T:function(){return l},T5:function(){return g},Y1:function(){return y},iJ:function(){return a},j9:function(){return M},s0:function(){return h}});var d=t(39695);function y(u){return[(0,d.fv)(u[1],u[0]),(0,d.ZR)(u[2])]}function i(u){var o=u[0],s=u[1],f=(0,d.mC)(s);return[f*(0,d.mC)(o),f*(0,d.O$)(o),(0,d.O$)(s)]}function M(u,o){return u[0]*o[0]+u[1]*o[1]+u[2]*o[2]}function g(u,o){return[u[1]*o[2]-u[2]*o[1],u[2]*o[0]-u[0]*o[2],u[0]*o[1]-u[1]*o[0]]}function h(u,o){u[0]+=o[0],u[1]+=o[1],u[2]+=o[2]}function l(u,o){return[u[0]*o,u[1]*o,u[2]*o]}function a(u){var o=(0,d._b)(u[0]*u[0]+u[1]*u[1]+u[2]*u[2]);u[0]/=o,u[1]/=o,u[2]/=o}},66624:function(k,m,t){t.d(m,{Z:function(){return N}});var d,y,i,M,g,h,l,a,u,o,s,f,c,p,w,v,S=t(39695),x=t(73182),T=t(72736),C={sphere:x.Z,point:_,lineStart:L,lineEnd:I,polygonStart:function(){C.lineStart=R,C.lineEnd=D},polygonEnd:function(){C.lineStart=L,C.lineEnd=I}};function _(q,j){q*=S.uR,j*=S.uR;var $=(0,S.mC)(j);A($*(0,S.mC)(q),$*(0,S.O$)(q),(0,S.O$)(j))}function A(q,j,$){++d,i+=(q-i)/d,M+=(j-M)/d,g+=($-g)/d}function L(){C.point=b}function b(q,j){q*=S.uR,j*=S.uR;var $=(0,S.mC)(j);p=$*(0,S.mC)(q),w=$*(0,S.O$)(q),v=(0,S.O$)(j),C.point=O,A(p,w,v)}function O(q,j){q*=S.uR,j*=S.uR;var $=(0,S.mC)(j),U=$*(0,S.mC)(q),G=$*(0,S.O$)(q),W=(0,S.O$)(j),H=(0,S.fv)((0,S._b)((H=w*W-v*G)*H+(H=v*U-p*W)*H+(H=p*G-w*U)*H),p*U+w*G+v*W);y+=H,h+=H*(p+(p=U)),l+=H*(w+(w=G)),a+=H*(v+(v=W)),A(p,w,v)}function I(){C.point=_}function R(){C.point=F}function D(){B(f,c),C.point=_}function F(q,j){f=q,c=j,q*=S.uR,j*=S.uR,C.point=B;var $=(0,S.mC)(j);p=$*(0,S.mC)(q),w=$*(0,S.O$)(q),v=(0,S.O$)(j),A(p,w,v)}function B(q,j){q*=S.uR,j*=S.uR;var $=(0,S.mC)(j),U=$*(0,S.mC)(q),G=$*(0,S.O$)(q),W=(0,S.O$)(j),H=w*W-v*G,ne=v*U-p*W,te=p*G-w*U,Z=(0,S._b)(H*H+ne*ne+te*te),X=(0,S.ZR)(Z),Q=Z&&-X/Z;u+=Q*H,o+=Q*ne,s+=Q*te,y+=X,h+=X*(p+(p=U)),l+=X*(w+(w=G)),a+=X*(v+(v=W)),A(p,w,v)}function N(q){d=y=i=M=g=h=l=a=u=o=s=0,(0,T.Z)(q,C);var j=u,$=o,U=s,G=j*j+$*$+U*U;return G0?fc)&&(f+=s*i.BZ));for(var S,x=f;s>0?x>c:x0?y.pi:-y.pi,s=(0,y.Wn)(a-g);(0,y.Wn)(s-y.pi)0?y.ou:-y.ou),i.point(l,h),i.lineEnd(),i.lineStart(),i.point(o,h),i.point(a,h),M=0):l!==o&&s>=y.pi&&((0,y.Wn)(g-l)y.Ho?(0,y.z4)(((0,y.O$)(c)*(S=(0,y.mC)(w))*(0,y.O$)(p)-(0,y.O$)(w)*(v=(0,y.mC)(c))*(0,y.O$)(f))/(v*S*x)):(c+w)/2}(g,h,a,u),i.point(l,h),i.lineEnd(),i.lineStart(),i.point(o,h),M=0),i.point(g=a,h=u),l=o},lineEnd:function(){i.lineEnd(),g=h=NaN},clean:function(){return 2-M}}},function(i,M,g,h){var l;if(i==null)l=g*y.ou,h.point(-y.pi,l),h.point(0,l),h.point(y.pi,l),h.point(y.pi,0),h.point(y.pi,-l),h.point(0,-l),h.point(-y.pi,-l),h.point(-y.pi,0),h.point(-y.pi,l);else if((0,y.Wn)(i[0]-M[0])>y.Ho){var a=i[0]1&&M.push(M.pop().concat(M.shift()))},result:function(){var g=M;return M=[],i=null,g}}}},1457:function(k,m,t){t.d(m,{Z:function(){return h}});var d=t(7620),y=t(7613),i=t(39695),M=t(67108),g=t(97023);function h(l){var a=(0,i.mC)(l),u=6*i.uR,o=a>0,s=(0,i.Wn)(a)>i.Ho;function f(w,v){return(0,i.mC)(w)*(0,i.mC)(v)>a}function c(w,v,S){var x=(0,d.Og)(w),T=(0,d.Og)(v),C=[1,0,0],_=(0,d.T5)(x,T),A=(0,d.j9)(_,_),L=_[0],b=A-L*L;if(!b)return!S&&w;var O=a*A/b,I=-a*L/b,R=(0,d.T5)(C,_),D=(0,d.T)(C,O),F=(0,d.T)(_,I);(0,d.s0)(D,F);var B=R,N=(0,d.j9)(D,B),q=(0,d.j9)(B,B),j=N*N-q*((0,d.j9)(D,D)-1);if(!(j<0)){var $=(0,i._b)(j),U=(0,d.T)(B,(-N-$)/q);if((0,d.s0)(U,D),U=(0,d.Y1)(U),!S)return U;var G,W=w[0],H=v[0],ne=w[1],te=v[1];H0^U[1]<((0,i.Wn)(U[0]-W)i.pi^(W<=U[0]&&U[0]<=H)){var Q=(0,d.T)(B,(-N+$)/q);return(0,d.s0)(Q,D),[U,(0,d.Y1)(Q)]}}}function p(w,v){var S=o?l:i.pi-l,x=0;return w<-S?x|=1:w>S&&(x|=2),v<-S?x|=4:v>S&&(x|=8),x}return(0,g.Z)(f,function(w){var v,S,x,T,C;return{lineStart:function(){T=x=!1,C=1},point:function(_,A){var L,b=[_,A],O=f(_,A),I=o?O?0:p(_,A):O?p(_+(_<0?i.pi:-i.pi),A):0;if(!v&&(T=x=O)&&w.lineStart(),O!==x&&(!(L=c(v,b))||(0,M.Z)(v,L)||(0,M.Z)(b,L))&&(b[2]=1),O!==x)C=0,O?(w.lineStart(),L=c(b,v),w.point(L[0],L[1])):(L=c(v,b),w.point(L[0],L[1],2),w.lineEnd()),v=L;else if(s&&v&&o^O){var R;I&S||!(R=c(b,v,!0))||(C=0,o?(w.lineStart(),w.point(R[0][0],R[0][1]),w.point(R[1][0],R[1][1]),w.lineEnd()):(w.point(R[1][0],R[1][1]),w.lineEnd(),w.lineStart(),w.point(R[0][0],R[0][1],3)))}!O||v&&(0,M.Z)(v,b)||w.point(b[0],b[1]),v=b,x=O,S=I},lineEnd:function(){x&&w.lineEnd(),v=null},clean:function(){return C|(T&&x)<<1}}},function(w,v,S,x){(0,y.m)(x,l,u,S,w,v)},o?[0,-l]:[-i.pi,l-i.pi])}},97023:function(k,m,t){t.d(m,{Z:function(){return h}});var d=t(85272),y=t(46225),i=t(39695),M=t(23071),g=t(33064);function h(u,o,s,f){return function(c){var p,w,v,S=o(c),x=(0,d.Z)(),T=o(x),C=!1,_={point:A,lineStart:b,lineEnd:O,polygonStart:function(){_.point=I,_.lineStart=R,_.lineEnd=D,w=[],p=[]},polygonEnd:function(){_.point=A,_.lineStart=b,_.lineEnd=O,w=(0,g.TS)(w);var F=(0,M.Z)(p,f);w.length?(C||(c.polygonStart(),C=!0),(0,y.Z)(w,a,F,s,c)):F&&(C||(c.polygonStart(),C=!0),c.lineStart(),s(null,null,1,c),c.lineEnd()),C&&(c.polygonEnd(),C=!1),w=p=null},sphere:function(){c.polygonStart(),c.lineStart(),s(null,null,1,c),c.lineEnd(),c.polygonEnd()}};function A(F,B){u(F,B)&&c.point(F,B)}function L(F,B){S.point(F,B)}function b(){_.point=L,S.lineStart()}function O(){_.point=A,S.lineEnd()}function I(F,B){v.push([F,B]),T.point(F,B)}function R(){T.lineStart(),v=[]}function D(){I(v[0][0],v[0][1]),T.lineEnd();var F,B,N,q,j=T.clean(),$=x.result(),U=$.length;if(v.pop(),p.push(v),v=null,U)if(1&j){if((B=(N=$[0]).length-1)>0){for(C||(c.polygonStart(),C=!0),c.lineStart(),F=0;F1&&2&j&&$.push($.pop().concat($.shift())),w.push($.filter(l))}return _}}function l(u){return u.length>1}function a(u,o){return((u=u.x)[0]<0?u[1]-i.ou-i.Ho:i.ou-u[1])-((o=o.x)[0]<0?o[1]-i.ou-i.Ho:i.ou-o[1])}},87605:function(k,m,t){t.d(m,{Z:function(){return l}});var d=t(39695),y=t(85272),i=t(46225),M=t(33064),g=1e9,h=-g;function l(a,u,o,s){function f(S,x){return a<=S&&S<=o&&u<=x&&x<=s}function c(S,x,T,C){var _=0,A=0;if(S==null||(_=p(S,T))!==(A=p(x,T))||v(S,x)<0^T>0)do C.point(_===0||_===3?a:o,_>1?s:u);while((_=(_+T+4)%4)!==A);else C.point(x[0],x[1])}function p(S,x){return(0,d.Wn)(S[0]-a)0?0:3:(0,d.Wn)(S[0]-o)0?2:1:(0,d.Wn)(S[1]-u)0?1:0:x>0?3:2}function w(S,x){return v(S.x,x.x)}function v(S,x){var T=p(S,1),C=p(x,1);return T!==C?T-C:T===0?x[1]-S[1]:T===1?S[0]-x[0]:T===2?S[1]-x[1]:x[0]-S[0]}return function(S){var x,T,C,_,A,L,b,O,I,R,D,F=S,B=(0,y.Z)(),N={point:q,lineStart:function(){N.point=j,T&&T.push(C=[]),R=!0,I=!1,b=O=NaN},lineEnd:function(){x&&(j(_,A),L&&I&&B.rejoin(),x.push(B.result())),N.point=q,I&&F.lineEnd()},polygonStart:function(){F=B,x=[],T=[],D=!0},polygonEnd:function(){var $=function(){for(var W=0,H=0,ne=T.length;Hs&&(oe-te)*(s-Z)>(ue-Z)*(a-te)&&++W:ue<=s&&(oe-te)*(s-Z)<(ue-Z)*(a-te)&&--W;return W}(),U=D&&$,G=(x=(0,M.TS)(x)).length;(U||G)&&(S.polygonStart(),U&&(S.lineStart(),c(null,null,1,S),S.lineEnd()),G&&(0,i.Z)(x,w,$,c,S),S.polygonEnd()),F=S,x=T=C=null}};function q($,U){f($,U)&&F.point($,U)}function j($,U){var G=f($,U);if(T&&C.push([$,U]),R)_=$,A=U,L=G,R=!1,G&&(F.lineStart(),F.point($,U));else if(G&&I)F.point($,U);else{var W=[b=Math.max(h,Math.min(g,b)),O=Math.max(h,Math.min(g,O))],H=[$=Math.max(h,Math.min(g,$)),U=Math.max(h,Math.min(g,U))];(function(ne,te,Z,X,Q,re){var ie,oe=ne[0],ue=ne[1],ce=0,ye=1,de=te[0]-oe,me=te[1]-ue;if(ie=Z-oe,de||!(ie>0)){if(ie/=de,de<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=Q-oe,de||!(ie<0)){if(ie/=de,de<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(de>0){if(ie0)){if(ie/=me,me<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=re-ue,me||!(ie<0)){if(ie/=me,me<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(me>0){if(ie0&&(ne[0]=oe+ce*de,ne[1]=ue+ce*me),ye<1&&(te[0]=oe+ye*de,te[1]=ue+ye*me),!0}}}}})(W,H,a,u,o,s)?(I||(F.lineStart(),F.point(W[0],W[1])),F.point(H[0],H[1]),G||F.lineEnd(),D=!1):G&&(F.lineStart(),F.point($,U),D=!1)}b=$,O=U,I=G}return N}}},46225:function(k,m,t){t.d(m,{Z:function(){return M}});var d=t(67108),y=t(39695);function i(h,l,a,u){this.x=h,this.z=l,this.o=a,this.e=u,this.v=!1,this.n=this.p=null}function M(h,l,a,u,o){var s,f,c=[],p=[];if(h.forEach(function(C){if(!((_=C.length-1)<=0)){var _,A,L=C[0],b=C[_];if((0,d.Z)(L,b)){if(!L[2]&&!b[2]){for(o.lineStart(),s=0;s<_;++s)o.point((L=C[s])[0],L[1]);return void o.lineEnd()}b[0]+=2*y.Ho}c.push(A=new i(L,C,null,!0)),p.push(A.o=new i(L,null,A,!1)),c.push(A=new i(b,C,null,!1)),p.push(A.o=new i(b,null,A,!0))}}),c.length){for(p.sort(l),g(c),g(p),s=0,f=p.length;s=0;--s)o.point((v=w[s])[0],v[1]);else u(x.x,x.p.x,-1,o);x=x.p}w=(x=x.o).z,T=!T}while(!x.v);o.lineEnd()}}}function g(h){if(l=h.length){for(var l,a,u=0,o=h[0];++u0&&(Un=O(Kt[Kn],Kt[Kn-1]))>0&&On<=Un&&Ln<=Un&&(On+Ln-Un)*(1-Math.pow((On-Ln)/Un,2))p.Ho}).map(mr)).concat((0,U.w6)((0,p.mD)(Kn/fn)*fn,Un,fn).filter(function(gn){return(0,p.Wn)(gn%Rn)>p.Ho}).map(nn))}return mn.lines=function(){return wn().map(function(gn){return{type:"LineString",coordinates:gn}})},mn.outline=function(){return{type:"Polygon",coordinates:[Pn(Ln).concat(jt($n).slice(1),Pn(On).reverse().slice(1),jt(tr).reverse().slice(1))]}},mn.extent=function(gn){return arguments.length?mn.extentMajor(gn).extentMinor(gn):mn.extentMinor()},mn.extentMajor=function(gn){return arguments.length?(Ln=+gn[0][0],On=+gn[1][0],tr=+gn[0][1],$n=+gn[1][1],Ln>On&&(gn=Ln,Ln=On,On=gn),tr>$n&&(gn=tr,tr=$n,$n=gn),mn.precision(En)):[[Ln,tr],[On,$n]]},mn.extentMinor=function(gn){return arguments.length?(bn=+gn[0][0],Kt=+gn[1][0],Kn=+gn[0][1],Un=+gn[1][1],bn>Kt&&(gn=bn,bn=Kt,Kt=gn),Kn>Un&&(gn=Kn,Kn=Un,Un=gn),mn.precision(En)):[[bn,Kn],[Kt,Un]]},mn.step=function(gn){return arguments.length?mn.stepMajor(gn).stepMinor(gn):mn.stepMinor()},mn.stepMajor=function(gn){return arguments.length?(zn=+gn[0],Rn=+gn[1],mn):[zn,Rn]},mn.stepMinor=function(gn){return arguments.length?(Jt=+gn[0],fn=+gn[1],mn):[Jt,fn]},mn.precision=function(gn){return arguments.length?(En=+gn,mr=G(Kn,Un,90),nn=W(bn,Kt,En),Pn=G(tr,$n,90),jt=W(Ln,On,En),mn):En},mn.extentMajor([[-180,-90+p.Ho],[180,90-p.Ho]]).extentMinor([[-180,-80-p.Ho],[180,80+p.Ho]])}function ne(){return H()()}var te,Z,X,Q,re=t(83074),ie=t(8593),oe=(0,c.Z)(),ue=(0,c.Z)(),ce={point:w.Z,lineStart:w.Z,lineEnd:w.Z,polygonStart:function(){ce.lineStart=ye,ce.lineEnd=pe},polygonEnd:function(){ce.lineStart=ce.lineEnd=ce.point=w.Z,oe.add((0,p.Wn)(ue)),ue.reset()},result:function(){var Kt=oe/2;return oe.reset(),Kt}};function ye(){ce.point=de}function de(Kt,bn){ce.point=me,te=X=Kt,Z=Q=bn}function me(Kt,bn){ue.add(Q*Kt-X*bn),X=Kt,Q=bn}function pe(){me(te,Z)}var xe,Pe,_e,Me,Se=ce,Ce=t(3559),ae=0,he=0,be=0,ke=0,Le=0,Be=0,ze=0,je=0,ge=0,we={point:Ee,lineStart:Ve,lineEnd:st,polygonStart:function(){we.lineStart=ot,we.lineEnd=ft},polygonEnd:function(){we.point=Ee,we.lineStart=Ve,we.lineEnd=st},result:function(){var Kt=ge?[ze/ge,je/ge]:Be?[ke/Be,Le/Be]:be?[ae/be,he/be]:[NaN,NaN];return ae=he=be=ke=Le=Be=ze=je=ge=0,Kt}};function Ee(Kt,bn){ae+=Kt,he+=bn,++be}function Ve(){we.point=$e}function $e(Kt,bn){we.point=Ye,Ee(_e=Kt,Me=bn)}function Ye(Kt,bn){var On=Kt-_e,Ln=bn-Me,Un=(0,p._b)(On*On+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,Ee(_e=Kt,Me=bn)}function st(){we.point=Ee}function ot(){we.point=bt}function ft(){Et(xe,Pe)}function bt(Kt,bn){we.point=Et,Ee(xe=_e=Kt,Pe=Me=bn)}function Et(Kt,bn){var On=Kt-_e,Ln=bn-Me,Un=(0,p._b)(On*On+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,ze+=(Un=Me*Kt-_e*bn)*(_e+Kt),je+=Un*(Me+bn),ge+=3*Un,Ee(_e=Kt,Me=bn)}var kt=we;function xt(Kt){this._context=Kt}xt.prototype={_radius:4.5,pointRadius:function(Kt){return this._radius=Kt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._context.moveTo(Kt,bn),this._point=1;break;case 1:this._context.lineTo(Kt,bn);break;default:this._context.moveTo(Kt+this._radius,bn),this._context.arc(Kt,bn,this._radius,0,p.BZ)}},result:w.Z};var Ft,Rt,Bt,Wt,Vt,Ke=(0,c.Z)(),Je={point:w.Z,lineStart:function(){Je.point=We},lineEnd:function(){Ft&&nt(Rt,Bt),Je.point=w.Z},polygonStart:function(){Ft=!0},polygonEnd:function(){Ft=null},result:function(){var Kt=+Ke;return Ke.reset(),Kt}};function We(Kt,bn){Je.point=nt,Rt=Wt=Kt,Bt=Vt=bn}function nt(Kt,bn){Wt-=Kt,Vt-=bn,Ke.add((0,p._b)(Wt*Wt+Vt*Vt)),Wt=Kt,Vt=bn}var ht=Je;function Oe(){this._string=[]}function Ne(Kt){return"m0,"+Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+-2*Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+2*Kt+"z"}function Qe(Kt,bn){var On,Ln,Un=4.5;function Kn($n){return $n&&(typeof Un=="function"&&Ln.pointRadius(+Un.apply(this,arguments)),(0,v.Z)($n,On(Ln))),Ln.result()}return Kn.area=function($n){return(0,v.Z)($n,On(Se)),Se.result()},Kn.measure=function($n){return(0,v.Z)($n,On(ht)),ht.result()},Kn.bounds=function($n){return(0,v.Z)($n,On(Ce.Z)),Ce.Z.result()},Kn.centroid=function($n){return(0,v.Z)($n,On(kt)),kt.result()},Kn.projection=function($n){return arguments.length?(On=$n==null?(Kt=null,ie.Z):(Kt=$n).stream,Kn):Kt},Kn.context=function($n){return arguments.length?(Ln=$n==null?(bn=null,new Oe):new xt(bn=$n),typeof Un!="function"&&Ln.pointRadius(Un),Kn):bn},Kn.pointRadius=function($n){return arguments.length?(Un=typeof $n=="function"?$n:(Ln.pointRadius(+$n),+$n),Kn):Un},Kn.projection(Kt).context(bn)}Oe.prototype={_radius:4.5,_circle:Ne(4.5),pointRadius:function(Kt){return(Kt=+Kt)!==this._radius&&(this._radius=Kt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._string.push("M",Kt,",",bn),this._point=1;break;case 1:this._string.push("L",Kt,",",bn);break;default:this._circle==null&&(this._circle=Ne(this._radius)),this._string.push("M",Kt,",",bn,this._circle)}},result:function(){if(this._string.length){var Kt=this._string.join("");return this._string=[],Kt}return null}};var ut=t(15002);function dt(Kt){var bn=0,On=p.pi/3,Ln=(0,ut.r)(Kt),Un=Ln(bn,On);return Un.parallels=function(Kn){return arguments.length?Ln(bn=Kn[0]*p.uR,On=Kn[1]*p.uR):[bn*p.RW,On*p.RW]},Un}function _t(Kt,bn){var On=(0,p.O$)(Kt),Ln=(On+(0,p.O$)(bn))/2;if((0,p.Wn)(Ln)=.12&&En<.234&&Rn>=-.425&&Rn<-.214?tr:En>=.166&&En<.234&&Rn>=-.214&&Rn<-.115?mr:$n).invert(Jt)},Pn.stream=function(Jt){return Kt&&bn===Jt?Kt:(fn=[$n.stream(bn=Jt),tr.stream(Jt),mr.stream(Jt)],zn=fn.length,Kt={point:function(Rn,En){for(var mn=-1;++mn0?tr<-p.ou+p.Ho&&(tr=-p.ou+p.Ho):tr>p.ou-p.Ho&&(tr=p.ou-p.Ho);var mr=Un/(0,p.sQ)(Qt(tr),Ln);return[mr*(0,p.O$)(Ln*$n),Un-mr*(0,p.mC)(Ln*$n)]}return Kn.invert=function($n,tr){var mr=Un-tr,nn=(0,p.Xx)(Ln)*(0,p._b)($n*$n+mr*mr),Pn=(0,p.fv)($n,(0,p.Wn)(mr))*(0,p.Xx)(mr);return mr*Ln<0&&(Pn-=p.pi*(0,p.Xx)($n)*(0,p.Xx)(mr)),[Pn/Ln,2*(0,p.z4)((0,p.sQ)(Un/nn,1/Ln))-p.ou]},Kn}function xn(){return dt(rn).scale(109.5).parallels([30,30])}Yt.invert=function(Kt,bn){return[Kt,2*(0,p.z4)((0,p.Qq)(bn))-p.ou]};var un=t(97492);function An(Kt,bn){var On=(0,p.mC)(Kt),Ln=Kt===bn?(0,p.O$)(Kt):(On-(0,p.mC)(bn))/(bn-Kt),Un=On/Ln+Kt;if((0,p.Wn)(Ln)2?Ln[2]+90:90]):[(Ln=On())[0],Ln[1],Ln[2]-90]},On([0,0,90]).scale(159.155)}yr.invert=(0,Sr.O)(function(Kt){return 2*(0,p.z4)(Kt)}),vr.invert=function(Kt,bn){return[-bn,2*(0,p.z4)((0,p.Qq)(Kt))-p.ou]}},83074:function(k,m,t){t.d(m,{Z:function(){return y}});var d=t(39695);function y(i,M){var g=i[0]*d.uR,h=i[1]*d.uR,l=M[0]*d.uR,a=M[1]*d.uR,u=(0,d.mC)(h),o=(0,d.O$)(h),s=(0,d.mC)(a),f=(0,d.O$)(a),c=u*(0,d.mC)(g),p=u*(0,d.O$)(g),w=s*(0,d.mC)(l),v=s*(0,d.O$)(l),S=2*(0,d.ZR)((0,d._b)((0,d.Jy)(a-h)+u*s*(0,d.Jy)(l-g))),x=(0,d.O$)(S),T=S?function(C){var _=(0,d.O$)(C*=S)/x,A=(0,d.O$)(S-C)/x,L=A*c+_*w,b=A*p+_*v,O=A*o+_*f;return[(0,d.fv)(b,L)*d.RW,(0,d.fv)(O,(0,d._b)(L*L+b*b))*d.RW]}:function(){return[g*d.RW,h*d.RW]};return T.distance=S,T}},39695:function(k,m,t){t.d(m,{BZ:function(){return h},Ho:function(){return d},Jy:function(){return L},Kh:function(){return _},O$:function(){return S},OR:function(){return C},Qq:function(){return p},RW:function(){return l},Wn:function(){return u},Xx:function(){return x},ZR:function(){return A},_b:function(){return T},aW:function(){return y},cM:function(){return w},fv:function(){return s},mC:function(){return f},mD:function(){return c},ou:function(){return M},pi:function(){return i},pu:function(){return g},sQ:function(){return v},uR:function(){return a},z4:function(){return o}});var d=1e-6,y=1e-12,i=Math.PI,M=i/2,g=i/4,h=2*i,l=180/i,a=i/180,u=Math.abs,o=Math.atan,s=Math.atan2,f=Math.cos,c=Math.ceil,p=Math.exp,w=Math.log,v=Math.pow,S=Math.sin,x=Math.sign||function(b){return b>0?1:b<0?-1:0},T=Math.sqrt,C=Math.tan;function _(b){return b>1?0:b<-1?i:Math.acos(b)}function A(b){return b>1?M:b<-1?-M:Math.asin(b)}function L(b){return(b=S(b/2))*b}},73182:function(k,m,t){function d(){}t.d(m,{Z:function(){return d}})},3559:function(k,m,t){var d=t(73182),y=1/0,i=y,M=-y,g=M,h={point:function(l,a){lM&&(M=l),ag&&(g=a)},lineStart:d.Z,lineEnd:d.Z,polygonStart:d.Z,polygonEnd:d.Z,result:function(){var l=[[y,i],[M,g]];return M=g=-(i=y=1/0),l}};m.Z=h},67108:function(k,m,t){t.d(m,{Z:function(){return y}});var d=t(39695);function y(i,M){return(0,d.Wn)(i[0]-M[0])=0?1:-1,q=N*B,j=q>i.pi,$=A*D;if(M.add((0,i.fv)($*N*(0,i.O$)(q),L*F+$*(0,i.mC)(q))),c+=j?B+N*i.BZ:B,j^C>=u^I>=u){var U=(0,y.T5)((0,y.Og)(T),(0,y.Og)(O));(0,y.iJ)(U);var G=(0,y.T5)(f,U);(0,y.iJ)(G);var W=(j^B>=0?-1:1)*(0,i.ZR)(G[2]);(o>W||o===W&&(U[0]||U[1]))&&(p+=j^B>=0?1:-1)}}return(c<-i.Ho||c4*_&&U--){var te=I+q,Z=R+j,X=D+$,Q=(0,h._b)(te*te+Z*Z+X*X),re=(0,h.ZR)(X/=Q),ie=(0,h.Wn)((0,h.Wn)(X)-1)_||(0,h.Wn)((W*ye+H*de)/ne-.5)>.3||I*q+R*j+D*$2?ye[2]%360*h.uR:0,ue()):[$*h.RW,U*h.RW,G*h.RW]},ie.angle=function(ye){return arguments.length?(W=ye%360*h.uR,ue()):W*h.RW},ie.reflectX=function(ye){return arguments.length?(H=ye?-1:1,ue()):H<0},ie.reflectY=function(ye){return arguments.length?(ne=ye?-1:1,ue()):ne<0},ie.precision=function(ye){return arguments.length?(b=f(O,re=ye*ye),ce()):(0,h._b)(re)},ie.fitExtent=function(ye,de){return(0,u.qg)(ie,ye,de)},ie.fitSize=function(ye,de){return(0,u.mF)(ie,ye,de)},ie.fitWidth=function(ye,de){return(0,u.V6)(ie,ye,de)},ie.fitHeight=function(ye,de){return(0,u.rf)(ie,ye,de)},function(){return T=x.apply(this,arguments),ie.invert=T.invert&&oe,ue()}}},26867:function(k,m,t){t.d(m,{K:function(){return i},Z:function(){return M}});var d=t(15002),y=t(39695);function i(g,h){var l=h*h,a=l*l;return[g*(.8707-.131979*l+a*(a*(.003971*l-.001529*a)-.013791)),h*(1.007226+l*(.015085+a*(.028874*l-.044475-.005916*a)))]}function M(){return(0,d.Z)(i).scale(175.295)}i.invert=function(g,h){var l,a=h,u=25;do{var o=a*a,s=o*o;a-=l=(a*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))-h)/(1.007226+o*(.045255+s*(.259866*o-.311325-.06507600000000001*s)))}while((0,y.Wn)(l)>y.Ho&&--u>0);return[g/(.8707+(o=a*a)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),a]}},57962:function(k,m,t){t.d(m,{I:function(){return M},Z:function(){return g}});var d=t(39695),y=t(25382),i=t(15002);function M(h,l){return[(0,d.mC)(l)*(0,d.O$)(h),(0,d.O$)(l)]}function g(){return(0,i.Z)(M).scale(249.5).clipAngle(90+d.Ho)}M.invert=(0,y.O)(d.ZR)},49386:function(k,m,t){t.d(m,{I:function(){return M},Z:function(){return a}});var d=t(96059),y=t(39695);function i(u,o){return[(0,y.Wn)(u)>y.pi?u+Math.round(-u/y.BZ)*y.BZ:u,o]}function M(u,o,s){return(u%=y.BZ)?o||s?(0,d.Z)(h(u),l(o,s)):h(u):o||s?l(o,s):i}function g(u){return function(o,s){return[(o+=u)>y.pi?o-y.BZ:o<-y.pi?o+y.BZ:o,s]}}function h(u){var o=g(u);return o.invert=g(-u),o}function l(u,o){var s=(0,y.mC)(u),f=(0,y.O$)(u),c=(0,y.mC)(o),p=(0,y.O$)(o);function w(v,S){var x=(0,y.mC)(S),T=(0,y.mC)(v)*x,C=(0,y.O$)(v)*x,_=(0,y.O$)(S),A=_*s+T*f;return[(0,y.fv)(C*c-A*p,T*s-_*f),(0,y.ZR)(A*c+C*p)]}return w.invert=function(v,S){var x=(0,y.mC)(S),T=(0,y.mC)(v)*x,C=(0,y.O$)(v)*x,_=(0,y.O$)(S),A=_*c-C*p;return[(0,y.fv)(C*c+_*p,T*s+A*f),(0,y.ZR)(A*s-T*f)]},w}function a(u){function o(s){return(s=u(s[0]*y.uR,s[1]*y.uR))[0]*=y.RW,s[1]*=y.RW,s}return u=M(u[0]*y.uR,u[1]*y.uR,u.length>2?u[2]*y.uR:0),o.invert=function(s){return(s=u.invert(s[0]*y.uR,s[1]*y.uR))[0]*=y.RW,s[1]*=y.RW,s},o}i.invert=i},72736:function(k,m,t){function d(l,a){l&&i.hasOwnProperty(l.type)&&i[l.type](l,a)}t.d(m,{Z:function(){return h}});var y={Feature:function(l,a){d(l.geometry,a)},FeatureCollection:function(l,a){for(var u=l.features,o=-1,s=u.length;++o=0;)ae+=he[be].value;else ae=1;Ce.value=ae}function h(Ce,ae){var he,be,ke,Le,Be,ze=new o(Ce),je=+Ce.value&&(ze.value=Ce.value),ge=[ze];for(ae==null&&(ae=l);he=ge.pop();)if(je&&(he.value=+he.data.value),(ke=ae(he.data))&&(Be=ke.length))for(he.children=new Array(Be),Le=Be-1;Le>=0;--Le)ge.push(be=he.children[Le]=new o(ke[Le])),be.parent=he,be.depth=he.depth+1;return ze.eachBefore(u)}function l(Ce){return Ce.children}function a(Ce){Ce.data=Ce.data.data}function u(Ce){var ae=0;do Ce.height=ae;while((Ce=Ce.parent)&&Ce.height<++ae)}function o(Ce){this.data=Ce,this.depth=this.height=0,this.parent=null}t.r(m),t.d(m,{cluster:function(){return M},hierarchy:function(){return h},pack:function(){return N},packEnclose:function(){return f},packSiblings:function(){return O},partition:function(){return W},stratify:function(){return X},tree:function(){return ye},treemap:function(){return Pe},treemapBinary:function(){return _e},treemapDice:function(){return G},treemapResquarify:function(){return Se},treemapSlice:function(){return de},treemapSliceDice:function(){return Me},treemapSquarify:function(){return xe}}),o.prototype=h.prototype={constructor:o,count:function(){return this.eachAfter(g)},each:function(Ce){var ae,he,be,ke,Le=this,Be=[Le];do for(ae=Be.reverse(),Be=[];Le=ae.pop();)if(Ce(Le),he=Le.children)for(be=0,ke=he.length;be=0;--he)ke.push(ae[he]);return this},sum:function(Ce){return this.eachAfter(function(ae){for(var he=+Ce(ae.data)||0,be=ae.children,ke=be&&be.length;--ke>=0;)he+=be[ke].value;ae.value=he})},sort:function(Ce){return this.eachBefore(function(ae){ae.children&&ae.children.sort(Ce)})},path:function(Ce){for(var ae=this,he=function(Le,Be){if(Le===Be)return Le;var ze=Le.ancestors(),je=Be.ancestors(),ge=null;for(Le=ze.pop(),Be=je.pop();Le===Be;)ge=Le,Le=ze.pop(),Be=je.pop();return ge}(ae,Ce),be=[ae];ae!==he;)ae=ae.parent,be.push(ae);for(var ke=be.length;Ce!==he;)be.splice(ke,0,Ce),Ce=Ce.parent;return be},ancestors:function(){for(var Ce=this,ae=[Ce];Ce=Ce.parent;)ae.push(Ce);return ae},descendants:function(){var Ce=[];return this.each(function(ae){Ce.push(ae)}),Ce},leaves:function(){var Ce=[];return this.eachBefore(function(ae){ae.children||Ce.push(ae)}),Ce},links:function(){var Ce=this,ae=[];return Ce.each(function(he){he!==Ce&&ae.push({source:he.parent,target:he})}),ae},copy:function(){return h(this).eachBefore(a)}};var s=Array.prototype.slice;function f(Ce){for(var ae,he,be=0,ke=(Ce=function(Be){for(var ze,je,ge=Be.length;ge;)je=Math.random()*ge--|0,ze=Be[ge],Be[ge]=Be[je],Be[je]=ze;return Be}(s.call(Ce))).length,Le=[];be0&&he*he>be*be+ke*ke}function v(Ce,ae){for(var he=0;he(Be*=Be)?(be=(ge+Be-ke)/(2*ge),Le=Math.sqrt(Math.max(0,Be/ge-be*be)),he.x=Ce.x-be*ze-Le*je,he.y=Ce.y-be*je+Le*ze):(be=(ge+ke-Be)/(2*ge),Le=Math.sqrt(Math.max(0,ke/ge-be*be)),he.x=ae.x+be*ze-Le*je,he.y=ae.y+be*je+Le*ze)):(he.x=ae.x+he.r,he.y=ae.y)}function _(Ce,ae){var he=Ce.r+ae.r-1e-6,be=ae.x-Ce.x,ke=ae.y-Ce.y;return he>0&&he*he>be*be+ke*ke}function A(Ce){var ae=Ce._,he=Ce.next._,be=ae.r+he.r,ke=(ae.x*he.r+he.x*ae.r)/be,Le=(ae.y*he.r+he.y*ae.r)/be;return ke*ke+Le*Le}function L(Ce){this._=Ce,this.next=null,this.previous=null}function b(Ce){if(!(ke=Ce.length))return 0;var ae,he,be,ke,Le,Be,ze,je,ge,we,Ee;if((ae=Ce[0]).x=0,ae.y=0,!(ke>1))return ae.r;if(he=Ce[1],ae.x=-he.r,he.x=ae.r,he.y=0,!(ke>2))return ae.r+he.r;C(he,ae,be=Ce[2]),ae=new L(ae),he=new L(he),be=new L(be),ae.next=be.previous=he,he.next=ae.previous=be,be.next=he.previous=ae;e:for(ze=3;ze0)throw new Error("cycle");return Be}return he.id=function(be){return arguments.length?(Ce=R(be),he):Ce},he.parentId=function(be){return arguments.length?(ae=R(be),he):ae},he}function Q(Ce,ae){return Ce.parent===ae.parent?1:2}function re(Ce){var ae=Ce.children;return ae?ae[0]:Ce.t}function ie(Ce){var ae=Ce.children;return ae?ae[ae.length-1]:Ce.t}function oe(Ce,ae,he){var be=he/(ae.i-Ce.i);ae.c-=be,ae.s+=he,Ce.c+=be,ae.z+=he,ae.m+=he}function ue(Ce,ae,he){return Ce.a.parent===ae.parent?Ce.a:he}function ce(Ce,ae){this._=Ce,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=ae}function ye(){var Ce=Q,ae=1,he=1,be=null;function ke(je){var ge=function(ft){for(var bt,Et,kt,xt,Ft,Rt=new ce(ft,0),Bt=[Rt];bt=Bt.pop();)if(kt=bt._.children)for(bt.children=new Array(Ft=kt.length),xt=Ft-1;xt>=0;--xt)Bt.push(Et=bt.children[xt]=new ce(kt[xt],xt)),Et.parent=bt;return(Rt.parent=new ce(null,0)).children=[Rt],Rt}(je);if(ge.eachAfter(Le),ge.parent.m=-ge.z,ge.eachBefore(Be),be)je.eachBefore(ze);else{var we=je,Ee=je,Ve=je;je.eachBefore(function(ft){ft.xEe.x&&(Ee=ft),ft.depth>Ve.depth&&(Ve=ft)});var $e=we===Ee?1:Ce(we,Ee)/2,Ye=$e-we.x,st=ae/(Ee.x+$e+Ye),ot=he/(Ve.depth||1);je.eachBefore(function(ft){ft.x=(ft.x+Ye)*st,ft.y=ft.depth*ot})}return je}function Le(je){var ge=je.children,we=je.parent.children,Ee=je.i?we[je.i-1]:null;if(ge){(function($e){for(var Ye,st=0,ot=0,ft=$e.children,bt=ft.length;--bt>=0;)(Ye=ft[bt]).z+=st,Ye.m+=st,st+=Ye.s+(ot+=Ye.c)})(je);var Ve=(ge[0].z+ge[ge.length-1].z)/2;Ee?(je.z=Ee.z+Ce(je._,Ee._),je.m=je.z-Ve):je.z=Ve}else Ee&&(je.z=Ee.z+Ce(je._,Ee._));je.parent.A=function($e,Ye,st){if(Ye){for(var ot,ft=$e,bt=$e,Et=Ye,kt=ft.parent.children[0],xt=ft.m,Ft=bt.m,Rt=Et.m,Bt=kt.m;Et=ie(Et),ft=re(ft),Et&&ft;)kt=re(kt),(bt=ie(bt)).a=$e,(ot=Et.z+Rt-ft.z-xt+Ce(Et._,ft._))>0&&(oe(ue(Et,$e,st),$e,ot),xt+=ot,Ft+=ot),Rt+=Et.m,xt+=ft.m,Bt+=kt.m,Ft+=bt.m;Et&&!ie(bt)&&(bt.t=Et,bt.m+=Rt-Ft),ft&&!re(kt)&&(kt.t=ft,kt.m+=xt-Bt,st=$e)}return st}(je,Ee,je.parent.A||we[0])}function Be(je){je._.x=je.z+je.parent.m,je.m+=je.parent.m}function ze(je){je.x*=ae,je.y=je.depth*he}return ke.separation=function(je){return arguments.length?(Ce=je,ke):Ce},ke.size=function(je){return arguments.length?(be=!1,ae=+je[0],he=+je[1],ke):be?null:[ae,he]},ke.nodeSize=function(je){return arguments.length?(be=!0,ae=+je[0],he=+je[1],ke):be?[ae,he]:null},ke}function de(Ce,ae,he,be,ke){for(var Le,Be=Ce.children,ze=-1,je=Be.length,ge=Ce.value&&(ke-he)/Ce.value;++zeVe&&(Ve=ze),ot=we*we*st,($e=Math.max(Ve/ot,ot/Ee))>Ye){we-=ze;break}Ye=$e}ft.push(Be={value:we,dice:je1?be:1)},he}(me);function Pe(){var Ce=xe,ae=!1,he=1,be=1,ke=[0],Le=D,Be=D,ze=D,je=D,ge=D;function we(Ve){return Ve.x0=Ve.y0=0,Ve.x1=he,Ve.y1=be,Ve.eachBefore(Ee),ke=[0],ae&&Ve.eachBefore(U),Ve}function Ee(Ve){var $e=ke[Ve.depth],Ye=Ve.x0+$e,st=Ve.y0+$e,ot=Ve.x1-$e,ft=Ve.y1-$e;ot=Ve-1){var bt=ze[Ee];return bt.x0=Ye,bt.y0=st,bt.x1=ot,void(bt.y1=ft)}for(var Et=ge[Ee],kt=$e/2+Et,xt=Ee+1,Ft=Ve-1;xt>>1;ge[Rt]ft-st){var Vt=(Ye*Wt+ot*Bt)/$e;we(Ee,xt,Bt,Ye,st,Vt,ft),we(xt,Ve,Wt,Vt,st,ot,ft)}else{var Ke=(st*Wt+ft*Bt)/$e;we(Ee,xt,Bt,Ye,st,ot,Ke),we(xt,Ve,Wt,Ye,Ke,ot,ft)}})(0,je,Ce.value,ae,he,be,ke)}function Me(Ce,ae,he,be,ke){(1&Ce.depth?de:G)(Ce,ae,he,be,ke)}var Se=function Ce(ae){function he(be,ke,Le,Be,ze){if((je=be._squarify)&&je.ratio===ae)for(var je,ge,we,Ee,Ve,$e=-1,Ye=je.length,st=be.value;++$e1?be:1)},he}(me)},45879:function(k,m,t){t.d(m,{h5:function(){return w}});var d=Math.PI,y=2*d,i=1e-6,M=y-i;function g(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function h(){return new g}g.prototype=h.prototype={constructor:g,moveTo:function(v,S){this._+="M"+(this._x0=this._x1=+v)+","+(this._y0=this._y1=+S)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(v,S){this._+="L"+(this._x1=+v)+","+(this._y1=+S)},quadraticCurveTo:function(v,S,x,T){this._+="Q"+ +v+","+ +S+","+(this._x1=+x)+","+(this._y1=+T)},bezierCurveTo:function(v,S,x,T,C,_){this._+="C"+ +v+","+ +S+","+ +x+","+ +T+","+(this._x1=+C)+","+(this._y1=+_)},arcTo:function(v,S,x,T,C){v=+v,S=+S,x=+x,T=+T,C=+C;var _=this._x1,A=this._y1,L=x-v,b=T-S,O=_-v,I=A-S,R=O*O+I*I;if(C<0)throw new Error("negative radius: "+C);if(this._x1===null)this._+="M"+(this._x1=v)+","+(this._y1=S);else if(R>i)if(Math.abs(I*L-b*O)>i&&C){var D=x-_,F=T-A,B=L*L+b*b,N=D*D+F*F,q=Math.sqrt(B),j=Math.sqrt(R),$=C*Math.tan((d-Math.acos((B+R-N)/(2*q*j)))/2),U=$/j,G=$/q;Math.abs(U-1)>i&&(this._+="L"+(v+U*O)+","+(S+U*I)),this._+="A"+C+","+C+",0,0,"+ +(I*D>O*F)+","+(this._x1=v+G*L)+","+(this._y1=S+G*b)}else this._+="L"+(this._x1=v)+","+(this._y1=S)},arc:function(v,S,x,T,C,_){v=+v,S=+S,_=!!_;var A=(x=+x)*Math.cos(T),L=x*Math.sin(T),b=v+A,O=S+L,I=1^_,R=_?T-C:C-T;if(x<0)throw new Error("negative radius: "+x);this._x1===null?this._+="M"+b+","+O:(Math.abs(this._x1-b)>i||Math.abs(this._y1-O)>i)&&(this._+="L"+b+","+O),x&&(R<0&&(R=R%y+y),R>M?this._+="A"+x+","+x+",0,1,"+I+","+(v-A)+","+(S-L)+"A"+x+","+x+",0,1,"+I+","+(this._x1=b)+","+(this._y1=O):R>i&&(this._+="A"+x+","+x+",0,"+ +(R>=d)+","+I+","+(this._x1=v+x*Math.cos(C))+","+(this._y1=S+x*Math.sin(C))))},rect:function(v,S,x,T){this._+="M"+(this._x0=this._x1=+v)+","+(this._y0=this._y1=+S)+"h"+ +x+"v"+ +T+"h"+-x+"Z"},toString:function(){return this._}};var l=h,a=Array.prototype.slice;function u(v){return function(){return v}}function o(v){return v[0]}function s(v){return v[1]}function f(v){return v.source}function c(v){return v.target}function p(v,S,x,T,C){v.moveTo(S,x),v.bezierCurveTo(S=(S+T)/2,x,S,C,T,C)}function w(){return function(v){var S=f,x=c,T=o,C=s,_=null;function A(){var L,b=a.call(arguments),O=S.apply(this,b),I=x.apply(this,b);if(_||(_=L=l()),v(_,+T.apply(this,(b[0]=O,b)),+C.apply(this,b),+T.apply(this,(b[0]=I,b)),+C.apply(this,b)),L)return _=null,L+""||null}return A.source=function(L){return arguments.length?(S=L,A):S},A.target=function(L){return arguments.length?(x=L,A):x},A.x=function(L){return arguments.length?(T=typeof L=="function"?L:u(+L),A):T},A.y=function(L){return arguments.length?(C=typeof L=="function"?L:u(+L),A):C},A.context=function(L){return arguments.length?(_=L??null,A):_},A}(p)}},84096:function(k,m,t){t.d(m,{i$:function(){return f},Dq:function(){return o},g0:function(){return c}});var d=t(58176),y=t(48480),i=t(59879),M=t(82301),g=t(34823),h=t(79791);function l(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L);return Ft.setFullYear(xt.y),Ft}return new Date(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L)}function a(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(Date.UTC(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L));return Ft.setUTCFullYear(xt.y),Ft}return new Date(Date.UTC(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L))}function u(xt,Ft,Rt){return{y:xt,m:Ft,d:Rt,H:0,M:0,S:0,L:0}}function o(xt){var Ft=xt.dateTime,Rt=xt.date,Bt=xt.time,Wt=xt.periods,Vt=xt.days,Ke=xt.shortDays,Je=xt.months,We=xt.shortMonths,nt=C(Wt),ht=_(Wt),Oe=C(Vt),Ne=_(Vt),Qe=C(Ke),ut=_(Ke),dt=C(Je),_t=_(Je),It=C(We),Lt=_(We),yt={a:function(qt){return Ke[qt.getDay()]},A:function(qt){return Vt[qt.getDay()]},b:function(qt){return We[qt.getMonth()]},B:function(qt){return Je[qt.getMonth()]},c:null,d:X,e:X,f:ue,H:Q,I:re,j:ie,L:oe,m:ce,M:ye,p:function(qt){return Wt[+(qt.getHours()>=12)]},q:function(qt){return 1+~~(qt.getMonth()/3)},Q:Et,s:kt,S:de,u:me,U:pe,V:xe,w:Pe,W:_e,x:null,X:null,y:Me,Y:Se,Z:Ce,"%":bt},Pt={a:function(qt){return Ke[qt.getUTCDay()]},A:function(qt){return Vt[qt.getUTCDay()]},b:function(qt){return We[qt.getUTCMonth()]},B:function(qt){return Je[qt.getUTCMonth()]},c:null,d:ae,e:ae,f:Be,H:he,I:be,j:ke,L:Le,m:ze,M:je,p:function(qt){return Wt[+(qt.getUTCHours()>=12)]},q:function(qt){return 1+~~(qt.getUTCMonth()/3)},Q:Et,s:kt,S:ge,u:we,U:Ee,V:Ve,w:$e,W:Ye,x:null,X:null,y:st,Y:ot,Z:ft,"%":bt},wt={a:function(qt,Xt,Qt){var rn=Qe.exec(Xt.slice(Qt));return rn?(qt.w=ut[rn[0].toLowerCase()],Qt+rn[0].length):-1},A:function(qt,Xt,Qt){var rn=Oe.exec(Xt.slice(Qt));return rn?(qt.w=Ne[rn[0].toLowerCase()],Qt+rn[0].length):-1},b:function(qt,Xt,Qt){var rn=It.exec(Xt.slice(Qt));return rn?(qt.m=Lt[rn[0].toLowerCase()],Qt+rn[0].length):-1},B:function(qt,Xt,Qt){var rn=dt.exec(Xt.slice(Qt));return rn?(qt.m=_t[rn[0].toLowerCase()],Qt+rn[0].length):-1},c:function(qt,Xt,Qt){return Yt(qt,Ft,Xt,Qt)},d:q,e:q,f:H,H:$,I:$,j,L:W,m:N,M:U,p:function(qt,Xt,Qt){var rn=nt.exec(Xt.slice(Qt));return rn?(qt.p=ht[rn[0].toLowerCase()],Qt+rn[0].length):-1},q:B,Q:te,s:Z,S:G,u:L,U:b,V:O,w:A,W:I,x:function(qt,Xt,Qt){return Yt(qt,Rt,Xt,Qt)},X:function(qt,Xt,Qt){return Yt(qt,Bt,Xt,Qt)},y:D,Y:R,Z:F,"%":ne};function Ot(qt,Xt){return function(Qt){var rn,xn,un,An=[],Yn=-1,kn=0,sn=qt.length;for(Qt instanceof Date||(Qt=new Date(+Qt));++Yn53)return null;"w"in un||(un.w=1),"Z"in un?(xn=(rn=a(u(un.y,0,1))).getUTCDay(),rn=xn>4||xn===0?d.l6.ceil(rn):(0,d.l6)(rn),rn=y.Z.offset(rn,7*(un.V-1)),un.y=rn.getUTCFullYear(),un.m=rn.getUTCMonth(),un.d=rn.getUTCDate()+(un.w+6)%7):(xn=(rn=l(u(un.y,0,1))).getDay(),rn=xn>4||xn===0?i.wA.ceil(rn):(0,i.wA)(rn),rn=M.Z.offset(rn,7*(un.V-1)),un.y=rn.getFullYear(),un.m=rn.getMonth(),un.d=rn.getDate()+(un.w+6)%7)}else("W"in un||"U"in un)&&("w"in un||(un.w="u"in un?un.u%7:"W"in un?1:0),xn="Z"in un?a(u(un.y,0,1)).getUTCDay():l(u(un.y,0,1)).getDay(),un.m=0,un.d="W"in un?(un.w+6)%7+7*un.W-(xn+5)%7:un.w+7*un.U-(xn+6)%7);return"Z"in un?(un.H+=un.Z/100|0,un.M+=un.Z%100,a(un)):l(un)}}function Yt(qt,Xt,Qt,rn){for(var xn,un,An=0,Yn=Xt.length,kn=Qt.length;An=kn)return-1;if((xn=Xt.charCodeAt(An++))===37){if(xn=Xt.charAt(An++),!(un=wt[xn in p?Xt.charAt(An++):xn])||(rn=un(qt,Qt,rn))<0)return-1}else if(xn!=Qt.charCodeAt(rn++))return-1}return rn}return yt.x=Ot(Rt,yt),yt.X=Ot(Bt,yt),yt.c=Ot(Ft,yt),Pt.x=Ot(Rt,Pt),Pt.X=Ot(Bt,Pt),Pt.c=Ot(Ft,Pt),{format:function(qt){var Xt=Ot(qt+="",yt);return Xt.toString=function(){return qt},Xt},parse:function(qt){var Xt=Nt(qt+="",!1);return Xt.toString=function(){return qt},Xt},utcFormat:function(qt){var Xt=Ot(qt+="",Pt);return Xt.toString=function(){return qt},Xt},utcParse:function(qt){var Xt=Nt(qt+="",!0);return Xt.toString=function(){return qt},Xt}}}var s,f,c,p={"-":"",_:" ",0:"0"},w=/^\s*\d+/,v=/^%/,S=/[\\^$*+?|[\]().{}]/g;function x(xt,Ft,Rt){var Bt=xt<0?"-":"",Wt=(Bt?-xt:xt)+"",Vt=Wt.length;return Bt+(Vt68?1900:2e3),Rt+Bt[0].length):-1}function F(xt,Ft,Rt){var Bt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ft.slice(Rt,Rt+6));return Bt?(xt.Z=Bt[1]?0:-(Bt[2]+(Bt[3]||"00")),Rt+Bt[0].length):-1}function B(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+1));return Bt?(xt.q=3*Bt[0]-3,Rt+Bt[0].length):-1}function N(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+2));return Bt?(xt.m=Bt[0]-1,Rt+Bt[0].length):-1}function q(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+2));return Bt?(xt.d=+Bt[0],Rt+Bt[0].length):-1}function j(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+3));return Bt?(xt.m=0,xt.d=+Bt[0],Rt+Bt[0].length):-1}function $(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+2));return Bt?(xt.H=+Bt[0],Rt+Bt[0].length):-1}function U(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+2));return Bt?(xt.M=+Bt[0],Rt+Bt[0].length):-1}function G(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+2));return Bt?(xt.S=+Bt[0],Rt+Bt[0].length):-1}function W(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+3));return Bt?(xt.L=+Bt[0],Rt+Bt[0].length):-1}function H(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+6));return Bt?(xt.L=Math.floor(Bt[0]/1e3),Rt+Bt[0].length):-1}function ne(xt,Ft,Rt){var Bt=v.exec(Ft.slice(Rt,Rt+1));return Bt?Rt+Bt[0].length:-1}function te(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt));return Bt?(xt.Q=+Bt[0],Rt+Bt[0].length):-1}function Z(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt));return Bt?(xt.s=+Bt[0],Rt+Bt[0].length):-1}function X(xt,Ft){return x(xt.getDate(),Ft,2)}function Q(xt,Ft){return x(xt.getHours(),Ft,2)}function re(xt,Ft){return x(xt.getHours()%12||12,Ft,2)}function ie(xt,Ft){return x(1+M.Z.count((0,g.Z)(xt),xt),Ft,3)}function oe(xt,Ft){return x(xt.getMilliseconds(),Ft,3)}function ue(xt,Ft){return oe(xt,Ft)+"000"}function ce(xt,Ft){return x(xt.getMonth()+1,Ft,2)}function ye(xt,Ft){return x(xt.getMinutes(),Ft,2)}function de(xt,Ft){return x(xt.getSeconds(),Ft,2)}function me(xt){var Ft=xt.getDay();return Ft===0?7:Ft}function pe(xt,Ft){return x(i.OM.count((0,g.Z)(xt)-1,xt),Ft,2)}function xe(xt,Ft){var Rt=xt.getDay();return xt=Rt>=4||Rt===0?(0,i.bL)(xt):i.bL.ceil(xt),x(i.bL.count((0,g.Z)(xt),xt)+((0,g.Z)(xt).getDay()===4),Ft,2)}function Pe(xt){return xt.getDay()}function _e(xt,Ft){return x(i.wA.count((0,g.Z)(xt)-1,xt),Ft,2)}function Me(xt,Ft){return x(xt.getFullYear()%100,Ft,2)}function Se(xt,Ft){return x(xt.getFullYear()%1e4,Ft,4)}function Ce(xt){var Ft=xt.getTimezoneOffset();return(Ft>0?"-":(Ft*=-1,"+"))+x(Ft/60|0,"0",2)+x(Ft%60,"0",2)}function ae(xt,Ft){return x(xt.getUTCDate(),Ft,2)}function he(xt,Ft){return x(xt.getUTCHours(),Ft,2)}function be(xt,Ft){return x(xt.getUTCHours()%12||12,Ft,2)}function ke(xt,Ft){return x(1+y.Z.count((0,h.Z)(xt),xt),Ft,3)}function Le(xt,Ft){return x(xt.getUTCMilliseconds(),Ft,3)}function Be(xt,Ft){return Le(xt,Ft)+"000"}function ze(xt,Ft){return x(xt.getUTCMonth()+1,Ft,2)}function je(xt,Ft){return x(xt.getUTCMinutes(),Ft,2)}function ge(xt,Ft){return x(xt.getUTCSeconds(),Ft,2)}function we(xt){var Ft=xt.getUTCDay();return Ft===0?7:Ft}function Ee(xt,Ft){return x(d.Ox.count((0,h.Z)(xt)-1,xt),Ft,2)}function Ve(xt,Ft){var Rt=xt.getUTCDay();return xt=Rt>=4||Rt===0?(0,d.hB)(xt):d.hB.ceil(xt),x(d.hB.count((0,h.Z)(xt),xt)+((0,h.Z)(xt).getUTCDay()===4),Ft,2)}function $e(xt){return xt.getUTCDay()}function Ye(xt,Ft){return x(d.l6.count((0,h.Z)(xt)-1,xt),Ft,2)}function st(xt,Ft){return x(xt.getUTCFullYear()%100,Ft,2)}function ot(xt,Ft){return x(xt.getUTCFullYear()%1e4,Ft,4)}function ft(){return"+0000"}function bt(){return"%"}function Et(xt){return+xt}function kt(xt){return Math.floor(+xt/1e3)}s=o({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),f=s.format,s.parse,c=s.utcFormat,s.utcParse},82301:function(k,m,t){t.d(m,{a:function(){return M}});var d=t(30052),y=t(54263),i=(0,d.Z)(function(g){g.setHours(0,0,0,0)},function(g,h){g.setDate(g.getDate()+h)},function(g,h){return(h-g-(h.getTimezoneOffset()-g.getTimezoneOffset())*y.yB)/y.UD},function(g){return g.getDate()-1});m.Z=i;var M=i.range},54263:function(k,m,t){t.d(m,{UD:function(){return M},Y2:function(){return i},Ym:function(){return d},iM:function(){return g},yB:function(){return y}});var d=1e3,y=6e4,i=36e5,M=864e5,g=6048e5},81041:function(k,m,t){t.r(m),t.d(m,{timeDay:function(){return w.Z},timeDays:function(){return w.a},timeFriday:function(){return v.mC},timeFridays:function(){return v.b$},timeHour:function(){return c},timeHours:function(){return p},timeInterval:function(){return d.Z},timeMillisecond:function(){return i},timeMilliseconds:function(){return M},timeMinute:function(){return o},timeMinutes:function(){return s},timeMonday:function(){return v.wA},timeMondays:function(){return v.bJ},timeMonth:function(){return x},timeMonths:function(){return T},timeSaturday:function(){return v.EY},timeSaturdays:function(){return v.Ff},timeSecond:function(){return l},timeSeconds:function(){return a},timeSunday:function(){return v.OM},timeSundays:function(){return v.vm},timeThursday:function(){return v.bL},timeThursdays:function(){return v.$t},timeTuesday:function(){return v.sy},timeTuesdays:function(){return v.aU},timeWednesday:function(){return v.zg},timeWednesdays:function(){return v.Ld},timeWeek:function(){return v.OM},timeWeeks:function(){return v.vm},timeYear:function(){return C.Z},timeYears:function(){return C.g},utcDay:function(){return R.Z},utcDays:function(){return R.y},utcFriday:function(){return D.QQ},utcFridays:function(){return D.fz},utcHour:function(){return O},utcHours:function(){return I},utcMillisecond:function(){return i},utcMilliseconds:function(){return M},utcMinute:function(){return A},utcMinutes:function(){return L},utcMonday:function(){return D.l6},utcMondays:function(){return D.$3},utcMonth:function(){return B},utcMonths:function(){return N},utcSaturday:function(){return D.g4},utcSaturdays:function(){return D.Q_},utcSecond:function(){return l},utcSeconds:function(){return a},utcSunday:function(){return D.Ox},utcSundays:function(){return D.SU},utcThursday:function(){return D.hB},utcThursdays:function(){return D.xj},utcTuesday:function(){return D.J1},utcTuesdays:function(){return D.DK},utcWednesday:function(){return D.b3},utcWednesdays:function(){return D.uy},utcWeek:function(){return D.Ox},utcWeeks:function(){return D.SU},utcYear:function(){return q.Z},utcYears:function(){return q.D}});var d=t(30052),y=(0,d.Z)(function(){},function(j,$){j.setTime(+j+$)},function(j,$){return $-j});y.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?(0,d.Z)(function($){$.setTime(Math.floor($/j)*j)},function($,U){$.setTime(+$+U*j)},function($,U){return(U-$)/j}):y:null};var i=y,M=y.range,g=t(54263),h=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds())},function(j,$){j.setTime(+j+$*g.Ym)},function(j,$){return($-j)/g.Ym},function(j){return j.getUTCSeconds()}),l=h,a=h.range,u=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*g.Ym)},function(j,$){j.setTime(+j+$*g.yB)},function(j,$){return($-j)/g.yB},function(j){return j.getMinutes()}),o=u,s=u.range,f=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*g.Ym-j.getMinutes()*g.yB)},function(j,$){j.setTime(+j+$*g.Y2)},function(j,$){return($-j)/g.Y2},function(j){return j.getHours()}),c=f,p=f.range,w=t(82301),v=t(59879),S=(0,d.Z)(function(j){j.setDate(1),j.setHours(0,0,0,0)},function(j,$){j.setMonth(j.getMonth()+$)},function(j,$){return $.getMonth()-j.getMonth()+12*($.getFullYear()-j.getFullYear())},function(j){return j.getMonth()}),x=S,T=S.range,C=t(34823),_=(0,d.Z)(function(j){j.setUTCSeconds(0,0)},function(j,$){j.setTime(+j+$*g.yB)},function(j,$){return($-j)/g.yB},function(j){return j.getUTCMinutes()}),A=_,L=_.range,b=(0,d.Z)(function(j){j.setUTCMinutes(0,0,0)},function(j,$){j.setTime(+j+$*g.Y2)},function(j,$){return($-j)/g.Y2},function(j){return j.getUTCHours()}),O=b,I=b.range,R=t(48480),D=t(58176),F=(0,d.Z)(function(j){j.setUTCDate(1),j.setUTCHours(0,0,0,0)},function(j,$){j.setUTCMonth(j.getUTCMonth()+$)},function(j,$){return $.getUTCMonth()-j.getUTCMonth()+12*($.getUTCFullYear()-j.getUTCFullYear())},function(j){return j.getUTCMonth()}),B=F,N=F.range,q=t(79791)},30052:function(k,m,t){t.d(m,{Z:function(){return i}});var d=new Date,y=new Date;function i(M,g,h,l){function a(u){return M(u=arguments.length===0?new Date:new Date(+u)),u}return a.floor=function(u){return M(u=new Date(+u)),u},a.ceil=function(u){return M(u=new Date(u-1)),g(u,1),M(u),u},a.round=function(u){var o=a(u),s=a.ceil(u);return u-o0))return c;do c.push(f=new Date(+u)),g(u,s),M(u);while(f=o)for(;M(o),!u(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;g(o,-1),!u(o););else for(;--s>=0;)for(;g(o,1),!u(o););})},h&&(a.count=function(u,o){return d.setTime(+u),y.setTime(+o),M(d),M(y),Math.floor(h(d,y))},a.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?a.filter(l?function(o){return l(o)%u==0}:function(o){return a.count(0,o)%u==0}):a:null}),a}},48480:function(k,m,t){t.d(m,{y:function(){return M}});var d=t(30052),y=t(54263),i=(0,d.Z)(function(g){g.setUTCHours(0,0,0,0)},function(g,h){g.setUTCDate(g.getUTCDate()+h)},function(g,h){return(h-g)/y.UD},function(g){return g.getUTCDate()-1});m.Z=i;var M=i.range},58176:function(k,m,t){t.d(m,{$3:function(){return f},DK:function(){return c},J1:function(){return h},Ox:function(){return M},QQ:function(){return u},Q_:function(){return S},SU:function(){return s},b3:function(){return l},fz:function(){return v},g4:function(){return o},hB:function(){return a},l6:function(){return g},uy:function(){return p},xj:function(){return w}});var d=t(30052),y=t(54263);function i(x){return(0,d.Z)(function(T){T.setUTCDate(T.getUTCDate()-(T.getUTCDay()+7-x)%7),T.setUTCHours(0,0,0,0)},function(T,C){T.setUTCDate(T.getUTCDate()+7*C)},function(T,C){return(C-T)/y.iM})}var M=i(0),g=i(1),h=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,f=g.range,c=h.range,p=l.range,w=a.range,v=u.range,S=o.range},79791:function(k,m,t){t.d(m,{D:function(){return i}});var d=t(30052),y=(0,d.Z)(function(M){M.setUTCMonth(0,1),M.setUTCHours(0,0,0,0)},function(M,g){M.setUTCFullYear(M.getUTCFullYear()+g)},function(M,g){return g.getUTCFullYear()-M.getUTCFullYear()},function(M){return M.getUTCFullYear()});y.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(g){g.setUTCFullYear(Math.floor(g.getUTCFullYear()/M)*M),g.setUTCMonth(0,1),g.setUTCHours(0,0,0,0)},function(g,h){g.setUTCFullYear(g.getUTCFullYear()+h*M)}):null},m.Z=y;var i=y.range},59879:function(k,m,t){t.d(m,{$t:function(){return w},EY:function(){return o},Ff:function(){return S},Ld:function(){return p},OM:function(){return M},aU:function(){return c},b$:function(){return v},bJ:function(){return f},bL:function(){return a},mC:function(){return u},sy:function(){return h},vm:function(){return s},wA:function(){return g},zg:function(){return l}});var d=t(30052),y=t(54263);function i(x){return(0,d.Z)(function(T){T.setDate(T.getDate()-(T.getDay()+7-x)%7),T.setHours(0,0,0,0)},function(T,C){T.setDate(T.getDate()+7*C)},function(T,C){return(C-T-(C.getTimezoneOffset()-T.getTimezoneOffset())*y.yB)/y.iM})}var M=i(0),g=i(1),h=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,f=g.range,c=h.range,p=l.range,w=a.range,v=u.range,S=o.range},34823:function(k,m,t){t.d(m,{g:function(){return i}});var d=t(30052),y=(0,d.Z)(function(M){M.setMonth(0,1),M.setHours(0,0,0,0)},function(M,g){M.setFullYear(M.getFullYear()+g)},function(M,g){return g.getFullYear()-M.getFullYear()},function(M){return M.getFullYear()});y.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(g){g.setFullYear(Math.floor(g.getFullYear()/M)*M),g.setMonth(0,1),g.setHours(0,0,0,0)},function(g,h){g.setFullYear(g.getFullYear()+h*M)}):null},m.Z=y;var i=y.range},17045:function(k,m,t){var d=t(8709),y=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,M=Array.prototype.concat,g=Object.defineProperty,h=t(55622)(),l=g&&h,a=function(o,s,f,c){if(s in o){if(c===!0){if(o[s]===f)return}else if(typeof(p=c)!="function"||i.call(p)!=="[object Function]"||!c())return}var p;l?g(o,s,{configurable:!0,enumerable:!1,value:f,writable:!0}):o[s]=f},u=function(o,s){var f=arguments.length>2?arguments[2]:{},c=d(s);y&&(c=M.call(c,Object.getOwnPropertySymbols(s)));for(var p=0;pl*a){var c=(f-s)/l;h[o]=1e3*c}}return h}function y(i){for(var M=[],g=i[0];g<=i[1];g++)for(var h=String.fromCharCode(g),l=i[0];l0)return function(y,i){var M,g;for(M=new Array(y),g=0;g80*R){D=B=O[0],F=N=O[1];for(var ne=R;neB&&(B=q),j>N&&(N=j);$=($=Math.max(B-D,N-F))!==0?1/$:0}return y(W,H,R,D,F,$),H}function t(O,I,R,D,F){var B,N;if(F===b(O,I,R,D)>0)for(B=I;B=I;B-=D)N=_(B,O[B],O[B+1],N);return N&&w(N,N.next)&&(A(N),N=N.next),N}function d(O,I){if(!O)return O;I||(I=O);var R,D=O;do if(R=!1,D.steiner||!w(D,D.next)&&p(D.prev,D,D.next)!==0)D=D.next;else{if(A(D),(D=I=D.prev)===D.next)break;R=!0}while(R||D!==I);return I}function y(O,I,R,D,F,B,N){if(O){!N&&B&&function(U,G,W,H){var ne=U;do ne.z===null&&(ne.z=o(ne.x,ne.y,G,W,H)),ne.prevZ=ne.prev,ne.nextZ=ne.next,ne=ne.next;while(ne!==U);ne.prevZ.nextZ=null,ne.prevZ=null,function(te){var Z,X,Q,re,ie,oe,ue,ce,ye=1;do{for(X=te,te=null,ie=null,oe=0;X;){for(oe++,Q=X,ue=0,Z=0;Z0||ce>0&&Q;)ue!==0&&(ce===0||!Q||X.z<=Q.z)?(re=X,X=X.nextZ,ue--):(re=Q,Q=Q.nextZ,ce--),ie?ie.nextZ=re:te=re,re.prevZ=ie,ie=re;X=Q}ie.nextZ=null,ye*=2}while(oe>1)}(ne)}(O,D,F,B);for(var q,j,$=O;O.prev!==O.next;)if(q=O.prev,j=O.next,B?M(O,D,F,B):i(O))I.push(q.i/R),I.push(O.i/R),I.push(j.i/R),A(O),O=j.next,$=j.next;else if((O=j)===$){N?N===1?y(O=g(d(O),I,R),I,R,D,F,B,2):N===2&&h(O,I,R,D,F,B):y(d(O),I,R,D,F,B,1);break}}}function i(O){var I=O.prev,R=O,D=O.next;if(p(I,R,D)>=0)return!1;for(var F=O.next.next;F!==O.prev;){if(f(I.x,I.y,R.x,R.y,D.x,D.y,F.x,F.y)&&p(F.prev,F,F.next)>=0)return!1;F=F.next}return!0}function M(O,I,R,D){var F=O.prev,B=O,N=O.next;if(p(F,B,N)>=0)return!1;for(var q=F.xB.x?F.x>N.x?F.x:N.x:B.x>N.x?B.x:N.x,U=F.y>B.y?F.y>N.y?F.y:N.y:B.y>N.y?B.y:N.y,G=o(q,j,I,R,D),W=o($,U,I,R,D),H=O.prevZ,ne=O.nextZ;H&&H.z>=G&&ne&&ne.z<=W;){if(H!==O.prev&&H!==O.next&&f(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&p(H.prev,H,H.next)>=0||(H=H.prevZ,ne!==O.prev&&ne!==O.next&&f(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&p(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;H&&H.z>=G;){if(H!==O.prev&&H!==O.next&&f(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&p(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;ne&&ne.z<=W;){if(ne!==O.prev&&ne!==O.next&&f(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&p(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function g(O,I,R){var D=O;do{var F=D.prev,B=D.next.next;!w(F,B)&&v(F,D,D.next,B)&&T(F,B)&&T(B,F)&&(I.push(F.i/R),I.push(D.i/R),I.push(B.i/R),A(D),A(D.next),D=O=B),D=D.next}while(D!==O);return d(D)}function h(O,I,R,D,F,B){var N=O;do{for(var q=N.next.next;q!==N.prev;){if(N.i!==q.i&&c(N,q)){var j=C(N,q);return N=d(N,N.next),j=d(j,j.next),y(N,I,R,D,F,B),void y(j,I,R,D,F,B)}q=q.next}N=N.next}while(N!==O)}function l(O,I){return O.x-I.x}function a(O,I){if(I=function(D,F){var B,N=F,q=D.x,j=D.y,$=-1/0;do{if(j<=N.y&&j>=N.next.y&&N.next.y!==N.y){var U=N.x+(j-N.y)*(N.next.x-N.x)/(N.next.y-N.y);if(U<=q&&U>$){if($=U,U===q){if(j===N.y)return N;if(j===N.next.y)return N.next}B=N.x=N.x&&N.x>=H&&q!==N.x&&f(jB.x||N.x===B.x&&u(B,N)))&&(B=N,te=G)),N=N.next;while(N!==W);return B}(O,I),I){var R=C(I,O);d(I,I.next),d(R,R.next)}}function u(O,I){return p(O.prev,O,I.prev)<0&&p(I.next,O,O.next)<0}function o(O,I,R,D,F){return(O=1431655765&((O=858993459&((O=252645135&((O=16711935&((O=32767*(O-R)*F)|O<<8))|O<<4))|O<<2))|O<<1))|(I=1431655765&((I=858993459&((I=252645135&((I=16711935&((I=32767*(I-D)*F)|I<<8))|I<<4))|I<<2))|I<<1))<<1}function s(O){var I=O,R=O;do(I.x=0&&(O-N)*(D-q)-(R-N)*(I-q)>=0&&(R-N)*(B-q)-(F-N)*(D-q)>=0}function c(O,I){return O.next.i!==I.i&&O.prev.i!==I.i&&!function(R,D){var F=R;do{if(F.i!==R.i&&F.next.i!==R.i&&F.i!==D.i&&F.next.i!==D.i&&v(F,F.next,R,D))return!0;F=F.next}while(F!==R);return!1}(O,I)&&(T(O,I)&&T(I,O)&&function(R,D){var F=R,B=!1,N=(R.x+D.x)/2,q=(R.y+D.y)/2;do F.y>q!=F.next.y>q&&F.next.y!==F.y&&N<(F.next.x-F.x)*(q-F.y)/(F.next.y-F.y)+F.x&&(B=!B),F=F.next;while(F!==R);return B}(O,I)&&(p(O.prev,O,I.prev)||p(O,I.prev,I))||w(O,I)&&p(O.prev,O,O.next)>0&&p(I.prev,I,I.next)>0)}function p(O,I,R){return(I.y-O.y)*(R.x-I.x)-(I.x-O.x)*(R.y-I.y)}function w(O,I){return O.x===I.x&&O.y===I.y}function v(O,I,R,D){var F=x(p(O,I,R)),B=x(p(O,I,D)),N=x(p(R,D,O)),q=x(p(R,D,I));return F!==B&&N!==q||!(F!==0||!S(O,R,I))||!(B!==0||!S(O,D,I))||!(N!==0||!S(R,O,D))||!(q!==0||!S(R,I,D))}function S(O,I,R){return I.x<=Math.max(O.x,R.x)&&I.x>=Math.min(O.x,R.x)&&I.y<=Math.max(O.y,R.y)&&I.y>=Math.min(O.y,R.y)}function x(O){return O>0?1:O<0?-1:0}function T(O,I){return p(O.prev,O,O.next)<0?p(O,I,O.next)>=0&&p(O,O.prev,I)>=0:p(O,I,O.prev)<0||p(O,O.next,I)<0}function C(O,I){var R=new L(O.i,O.x,O.y),D=new L(I.i,I.x,I.y),F=O.next,B=I.prev;return O.next=I,I.prev=O,R.next=F,F.prev=R,D.next=R,R.prev=D,B.next=D,D.prev=B,D}function _(O,I,R,D){var F=new L(O,I,R);return D?(F.next=D.next,F.prev=D,D.next.prev=F,D.next=F):(F.prev=F,F.next=F),F}function A(O){O.next.prev=O.prev,O.prev.next=O.next,O.prevZ&&(O.prevZ.nextZ=O.nextZ),O.nextZ&&(O.nextZ.prevZ=O.prevZ)}function L(O,I,R){this.i=O,this.x=I,this.y=R,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(O,I,R,D){for(var F=0,B=I,N=R-D;B0&&(D+=O[F-1].length,R.holes.push(D))}return R}},2502:function(k,m,t){var d=t(68664);k.exports=function(y,i){var M,g=[],h=[],l=[],a={},u=[];function o(T){l[T]=!1,a.hasOwnProperty(T)&&Object.keys(a[T]).forEach(function(C){delete a[T][C],l[C]&&o(C)})}function s(T){var C,_,A=!1;for(h.push(T),l[T]=!0,C=0;C=R})})(T);for(var C,_=d(y).components.filter(function(R){return R.length>1}),A=1/0,L=0;L<_.length;L++)for(var b=0;b<_[L].length;b++)_[L][b]=55296&&T<=56319&&(L+=c[++w]),L=b?o.call(b,O,L,v):L,p?(s.value=L,f(S,v,s)):S[v]=L,++v;x=v}}if(x===void 0)for(x=M(c.length),p&&(S=new p(x)),w=0;w0?1:-1}},56247:function(k,m,t){var d=t(9953),y=Math.abs,i=Math.floor;k.exports=function(M){return isNaN(M)?0:(M=Number(M))!==0&&isFinite(M)?d(M)*i(y(M)):M}},35976:function(k,m,t){var d=t(56247),y=Math.max;k.exports=function(i){return y(0,d(i))}},67260:function(k,m,t){var d=t(78513),y=t(36672),i=Function.prototype.bind,M=Function.prototype.call,g=Object.keys,h=Object.prototype.propertyIsEnumerable;k.exports=function(l,a){return function(u,o){var s,f=arguments[2],c=arguments[3];return u=Object(y(u)),d(o),s=g(u),c&&s.sort(typeof c=="function"?i.call(c,u):void 0),typeof l!="function"&&(l=s[l]),M.call(l,s,function(p,w){return h.call(u,p)?M.call(o,f,u[p],p,u,w):a})}}},95879:function(k,m,t){k.exports=t(73583)()?Object.assign:t(34205)},73583:function(k){k.exports=function(){var m,t=Object.assign;return typeof t=="function"&&(t(m={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),m.foo+m.bar+m.trzy==="razdwatrzy")}},34205:function(k,m,t){var d=t(68700),y=t(36672),i=Math.max;k.exports=function(M,g){var h,l,a,u=i(arguments.length,2);for(M=Object(y(M)),a=function(o){try{M[o]=g[o]}catch(s){h||(h=s)}},l=1;l-1}},87963:function(k){var m=Object.prototype.toString,t=m.call("");k.exports=function(d){return typeof d=="string"||d&&typeof d=="object"&&(d instanceof String||m.call(d)===t)||!1}},43043:function(k){var m=Object.create(null),t=Math.random;k.exports=function(){var d;do d=t().toString(36).slice(2);while(m[d]);return d}},32411:function(k,m,t){var d,y=t(1496),i=t(66741),M=t(62072),g=t(8260),h=t(95426),l=Object.defineProperty;d=k.exports=function(a,u){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");h.call(this,a),u=u?i.call(u,"key+value")?"key+value":i.call(u,"key")?"key":"value":"value",l(this,"__kind__",M("",u))},y&&y(d,h),delete d.prototype.constructor,d.prototype=Object.create(h.prototype,{_resolve:M(function(a){return this.__kind__==="value"?this.__list__[a]:this.__kind__==="key+value"?[a,this.__list__[a]]:a})}),l(d.prototype,g.toStringTag,M("c","Array Iterator"))},27515:function(k,m,t){var d=t(73051),y=t(78513),i=t(87963),M=t(66661),g=Array.isArray,h=Function.prototype.call,l=Array.prototype.some;k.exports=function(a,u){var o,s,f,c,p,w,v,S,x=arguments[2];if(g(a)||d(a)?o="array":i(a)?o="string":a=M(a),y(u),f=function(){c=!0},o!=="array")if(o!=="string")for(s=a.next();!s.done;){if(h.call(u,x,s.value,f),c)return;s=a.next()}else for(w=a.length,p=0;p=55296&&S<=56319&&(v+=a[++p]),h.call(u,x,v,f),!c);++p);else l.call(a,function(T){return h.call(u,x,T,f),c})}},66661:function(k,m,t){var d=t(73051),y=t(87963),i=t(32411),M=t(259),g=t(58095),h=t(8260).iterator;k.exports=function(l){return typeof g(l)[h]=="function"?l[h]():d(l)?new i(l):y(l)?new M(l):new i(l)}},95426:function(k,m,t){var d,y=t(16134),i=t(95879),M=t(78513),g=t(36672),h=t(62072),l=t(55174),a=t(8260),u=Object.defineProperty,o=Object.defineProperties;k.exports=d=function(s,f){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");o(this,{__list__:h("w",g(s)),__context__:h("w",f),__nextIndex__:h("w",0)}),f&&(M(f.on),f.on("_add",this._onAdd),f.on("_delete",this._onDelete),f.on("_clear",this._onClear))},delete d.prototype.constructor,o(d.prototype,i({_next:h(function(){var s;if(this.__list__)return this.__redo__&&(s=this.__redo__.shift())!==void 0?s:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(f,c){f>=s&&(this.__redo__[c]=++f)},this),this.__redo__.push(s)):u(this,"__redo__",h("c",[s])))}),_onDelete:h(function(s){var f;s>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&((f=this.__redo__.indexOf(s))!==-1&&this.__redo__.splice(f,1),this.__redo__.forEach(function(c,p){c>s&&(this.__redo__[p]=--c)},this)))}),_onClear:h(function(){this.__redo__&&y.call(this.__redo__),this.__nextIndex__=0})}))),u(d.prototype,a.iterator,h(function(){return this}))},35940:function(k,m,t){var d=t(73051),y=t(95296),i=t(87963),M=t(8260).iterator,g=Array.isArray;k.exports=function(h){return!(!y(h)||!g(h)&&!i(h)&&!d(h)&&typeof h[M]!="function")}},259:function(k,m,t){var d,y=t(1496),i=t(62072),M=t(8260),g=t(95426),h=Object.defineProperty;d=k.exports=function(l){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");l=String(l),g.call(this,l),h(this,"__length__",i("",l.length))},y&&y(d,g),delete d.prototype.constructor,d.prototype=Object.create(g.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&a<=56319?u+this.__list__[this.__nextIndex__++]:u})}),h(d.prototype,M.toStringTag,i("c","String Iterator"))},58095:function(k,m,t){var d=t(35940);k.exports=function(y){if(!d(y))throw new TypeError(y+" is not iterable");return y}},73523:function(k){function m(t,d){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var y=Object(t),i=1;i0&&C.length>x&&!C.warned){C.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=p,A.type=w,A.count=C.length,_=A,console&&console.warn&&console.warn(_)}return p}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(p,w,v){var S={fired:!1,wrapFn:void 0,target:p,type:w,listener:v},x=a.bind(S);return x.listener=v,S.wrapFn=x,x}function o(p,w,v){var S=p._events;if(S===void 0)return[];var x=S[w];return x===void 0?[]:typeof x=="function"?v?[x.listener||x]:[x]:v?function(T){for(var C=new Array(T.length),_=0;_0&&(T=w[0]),T instanceof Error)throw T;var C=new Error("Unhandled error."+(T?" ("+T.message+")":""));throw C.context=T,C}var _=x[p];if(_===void 0)return!1;if(typeof _=="function")d(_,this,w);else{var A=_.length,L=f(_,A);for(v=0;v=0;T--)if(v[T]===w||v[T].listener===w){C=v[T].listener,x=T;break}if(x<0)return this;x===0?v.shift():function(_,A){for(;A+1<_.length;A++)_[A]=_[A+1];_.pop()}(v,x),v.length===1&&(S[p]=v[0]),S.removeListener!==void 0&&this.emit("removeListener",p,C||w)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(p){var w,v,S;if((v=this._events)===void 0)return this;if(v.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):v[p]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete v[p]),this;if(arguments.length===0){var x,T=Object.keys(v);for(S=0;S=0;S--)this.removeListener(p,w[S]);return this},i.prototype.listeners=function(p){return o(this,p,!0)},i.prototype.rawListeners=function(p){return o(this,p,!1)},i.listenerCount=function(p,w){return typeof p.listenerCount=="function"?p.listenerCount(w):s.call(p,w)},i.prototype.listenerCount=s,i.prototype.eventNames=function(){return this._eventsCount>0?m(this._events):[]}},60774:function(k){var m=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};k.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return m()}try{return __global__||m()}finally{delete Object.prototype.__global__}}()},94908:function(k,m,t){k.exports=t(51152)()?globalThis:t(60774)},51152:function(k){k.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},92770:function(k,m,t){var d=t(18546);k.exports=function(y){var i=typeof y;if(i==="string"){var M=y;if((y=+y)==0&&d(M))return!1}else if(i!=="number")return!1;return y-y<1}},30120:function(k,m,t){var d=t(90660);k.exports=function(y,i,M){if(!y)throw new TypeError("must specify data as first parameter");if(M=0|+(M||0),Array.isArray(y)&&y[0]&&typeof y[0][0]=="number"){var g,h,l,a,u=y[0].length,o=y.length*u;i&&typeof i!="string"||(i=new(d(i||"float32"))(o+M));var s=i.length-M;if(o!==s)throw new Error("source length "+o+" ("+u+"x"+y.length+") does not match destination length "+s);for(g=0,l=M;gM[0]-l[0]/2&&(c=l[0]/2,p+=l[1]);return g}},32879:function(k){function m(i,M){M||(M={}),(typeof i=="string"||Array.isArray(i))&&(M.family=i);var g=Array.isArray(M.family)?M.family.join(", "):M.family;if(!g)throw Error("`family` must be defined");var h=M.size||M.fontSize||M.em||48,l=M.weight||M.fontWeight||"",a=(i=[M.style||M.fontStyle||"",l,h].join(" ")+"px "+g,M.origin||"top");if(m.cache[g]&&h<=m.cache[g].em)return t(m.cache[g],a);var u=M.canvas||m.canvas,o=u.getContext("2d"),s={upper:M.upper!==void 0?M.upper:"H",lower:M.lower!==void 0?M.lower:"x",descent:M.descent!==void 0?M.descent:"p",ascent:M.ascent!==void 0?M.ascent:"h",tittle:M.tittle!==void 0?M.tittle:"i",overshoot:M.overshoot!==void 0?M.overshoot:"O"},f=Math.ceil(1.5*h);u.height=f,u.width=.5*f,o.font=i;var c="H",p={top:0};o.clearRect(0,0,f,f),o.textBaseline="top",o.fillStyle="black",o.fillText(c,0,0);var w=d(o.getImageData(0,0,f,f));o.clearRect(0,0,f,f),o.textBaseline="bottom",o.fillText(c,0,f);var v=d(o.getImageData(0,0,f,f));p.lineHeight=p.bottom=f-v+w,o.clearRect(0,0,f,f),o.textBaseline="alphabetic",o.fillText(c,0,f);var S=f-d(o.getImageData(0,0,f,f))-1+w;p.baseline=p.alphabetic=S,o.clearRect(0,0,f,f),o.textBaseline="middle",o.fillText(c,0,.5*f);var x=d(o.getImageData(0,0,f,f));p.median=p.middle=f-x-1+w-.5*f,o.clearRect(0,0,f,f),o.textBaseline="hanging",o.fillText(c,0,.5*f);var T=d(o.getImageData(0,0,f,f));p.hanging=f-T-1+w-.5*f,o.clearRect(0,0,f,f),o.textBaseline="ideographic",o.fillText(c,0,f);var C=d(o.getImageData(0,0,f,f));if(p.ideographic=f-C-1+w,s.upper&&(o.clearRect(0,0,f,f),o.textBaseline="top",o.fillText(s.upper,0,0),p.upper=d(o.getImageData(0,0,f,f)),p.capHeight=p.baseline-p.upper),s.lower&&(o.clearRect(0,0,f,f),o.textBaseline="top",o.fillText(s.lower,0,0),p.lower=d(o.getImageData(0,0,f,f)),p.xHeight=p.baseline-p.lower),s.tittle&&(o.clearRect(0,0,f,f),o.textBaseline="top",o.fillText(s.tittle,0,0),p.tittle=d(o.getImageData(0,0,f,f))),s.ascent&&(o.clearRect(0,0,f,f),o.textBaseline="top",o.fillText(s.ascent,0,0),p.ascent=d(o.getImageData(0,0,f,f))),s.descent&&(o.clearRect(0,0,f,f),o.textBaseline="top",o.fillText(s.descent,0,0),p.descent=y(o.getImageData(0,0,f,f))),s.overshoot){o.clearRect(0,0,f,f),o.textBaseline="top",o.fillText(s.overshoot,0,0);var _=y(o.getImageData(0,0,f,f));p.overshoot=_-S}for(var A in p)p[A]/=h;return p.em=h,m.cache[g]=p,t(p,a)}function t(i,M){var g={};for(var h in typeof M=="string"&&(M=i[M]),i)h!=="em"&&(g[h]=i[h]-M);return g}function d(i){for(var M=i.height,g=i.data,h=3;h0;h-=4)if(g[h]!==0)return Math.floor(.25*(h-3)/M)}k.exports=m,m.canvas=document.createElement("canvas"),m.cache={}},31353:function(k,m,t){var d=t(85395),y=Object.prototype.toString,i=Object.prototype.hasOwnProperty,M=function(l,a,u){for(var o=0,s=l.length;o=3&&(o=u),y.call(l)==="[object Array]"?M(l,a,o):typeof l=="string"?g(l,a,o):h(l,a,o)}},73047:function(k){var m="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,d=Object.prototype.toString,y="[object Function]";k.exports=function(i){var M=this;if(typeof M!="function"||d.call(M)!==y)throw new TypeError(m+M);for(var g,h=t.call(arguments,1),l=function(){if(this instanceof g){var f=M.apply(this,h.concat(t.call(arguments)));return Object(f)===f?f:this}return M.apply(i,h.concat(t.call(arguments)))},a=Math.max(0,M.length-h.length),u=[],o=0;o"u"&&!t.canvas)return null;var d=t.canvas||document.createElement("canvas");typeof t.width=="number"&&(d.width=t.width),typeof t.height=="number"&&(d.height=t.height);var y,i=t;try{var M=[m];m.indexOf("webgl")===0&&M.push("experimental-"+m);for(var g=0;g"u"?d:o(Uint8Array),c={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":u?o([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?o(o([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map<"u"&&u?o(new Map()[Symbol.iterator]()):d,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set<"u"&&u?o(new Set()[Symbol.iterator]()):d,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?o(""[Symbol.iterator]()):d,"%Symbol%":u?Symbol:d,"%SyntaxError%":y,"%ThrowTypeError%":a,"%TypedArray%":f,"%TypeError%":M,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};try{null.error}catch(D){var p=o(o(D));c["%Error.prototype%"]=p}var w=function D(F){var B;if(F==="%AsyncFunction%")B=g("async function () {}");else if(F==="%GeneratorFunction%")B=g("function* () {}");else if(F==="%AsyncGeneratorFunction%")B=g("async function* () {}");else if(F==="%AsyncGenerator%"){var N=D("%AsyncGeneratorFunction%");N&&(B=N.prototype)}else if(F==="%AsyncIteratorPrototype%"){var q=D("%AsyncGenerator%");q&&(B=o(q.prototype))}return c[F]=B,B},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=t(77575),x=t(35065),T=S.call(Function.call,Array.prototype.concat),C=S.call(Function.apply,Array.prototype.splice),_=S.call(Function.call,String.prototype.replace),A=S.call(Function.call,String.prototype.slice),L=S.call(Function.call,RegExp.prototype.exec),b=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,I=function(D){var F=A(D,0,1),B=A(D,-1);if(F==="%"&&B!=="%")throw new y("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&F!=="%")throw new y("invalid intrinsic syntax, expected opening `%`");var N=[];return _(D,b,function(q,j,$,U){N[N.length]=$?_(U,O,"$1"):j||q}),N},R=function(D,F){var B,N=D;if(x(v,N)&&(N="%"+(B=v[N])[0]+"%"),x(c,N)){var q=c[N];if(q===s&&(q=w(N)),q===void 0&&!F)throw new M("intrinsic "+D+" exists, but is not available. Please file an issue!");return{alias:B,name:N,value:q}}throw new y("intrinsic "+D+" does not exist!")};k.exports=function(D,F){if(typeof D!="string"||D.length===0)throw new M("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new M('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,D)===null)throw new y("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=I(D),N=B.length>0?B[0]:"",q=R("%"+N+"%",F),j=q.name,$=q.value,U=!1,G=q.alias;G&&(N=G[0],C(B,T([0,1],G)));for(var W=1,H=!0;W=B.length){var X=h($,ne);$=(H=!!X)&&"get"in X&&!("originalValue"in X.get)?X.get:$[ne]}else H=x($,ne),$=$[ne];H&&!U&&(c[j]=$)}}return $}},85400:function(k){k.exports=function(m,t){var d=t[0],y=t[1],i=t[2],M=t[3],g=t[4],h=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],f=t[11],c=t[12],p=t[13],w=t[14],v=t[15];return m[0]=h*(s*v-f*w)-o*(l*v-a*w)+p*(l*f-a*s),m[1]=-(y*(s*v-f*w)-o*(i*v-M*w)+p*(i*f-M*s)),m[2]=y*(l*v-a*w)-h*(i*v-M*w)+p*(i*a-M*l),m[3]=-(y*(l*f-a*s)-h*(i*f-M*s)+o*(i*a-M*l)),m[4]=-(g*(s*v-f*w)-u*(l*v-a*w)+c*(l*f-a*s)),m[5]=d*(s*v-f*w)-u*(i*v-M*w)+c*(i*f-M*s),m[6]=-(d*(l*v-a*w)-g*(i*v-M*w)+c*(i*a-M*l)),m[7]=d*(l*f-a*s)-g*(i*f-M*s)+u*(i*a-M*l),m[8]=g*(o*v-f*p)-u*(h*v-a*p)+c*(h*f-a*o),m[9]=-(d*(o*v-f*p)-u*(y*v-M*p)+c*(y*f-M*o)),m[10]=d*(h*v-a*p)-g*(y*v-M*p)+c*(y*a-M*h),m[11]=-(d*(h*f-a*o)-g*(y*f-M*o)+u*(y*a-M*h)),m[12]=-(g*(o*w-s*p)-u*(h*w-l*p)+c*(h*s-l*o)),m[13]=d*(o*w-s*p)-u*(y*w-i*p)+c*(y*s-i*o),m[14]=-(d*(h*w-l*p)-g*(y*w-i*p)+c*(y*l-i*h)),m[15]=d*(h*s-l*o)-g*(y*s-i*o)+u*(y*l-i*h),m}},42331:function(k){k.exports=function(m){var t=new Float32Array(16);return t[0]=m[0],t[1]=m[1],t[2]=m[2],t[3]=m[3],t[4]=m[4],t[5]=m[5],t[6]=m[6],t[7]=m[7],t[8]=m[8],t[9]=m[9],t[10]=m[10],t[11]=m[11],t[12]=m[12],t[13]=m[13],t[14]=m[14],t[15]=m[15],t}},31042:function(k){k.exports=function(m,t){return m[0]=t[0],m[1]=t[1],m[2]=t[2],m[3]=t[3],m[4]=t[4],m[5]=t[5],m[6]=t[6],m[7]=t[7],m[8]=t[8],m[9]=t[9],m[10]=t[10],m[11]=t[11],m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15],m}},11902:function(k){k.exports=function(){var m=new Float32Array(16);return m[0]=1,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=1,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=1,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},89887:function(k){k.exports=function(m){var t=m[0],d=m[1],y=m[2],i=m[3],M=m[4],g=m[5],h=m[6],l=m[7],a=m[8],u=m[9],o=m[10],s=m[11],f=m[12],c=m[13],p=m[14],w=m[15];return(t*g-d*M)*(o*w-s*p)-(t*h-y*M)*(u*w-s*c)+(t*l-i*M)*(u*p-o*c)+(d*h-y*g)*(a*w-s*f)-(d*l-i*g)*(a*p-o*f)+(y*l-i*h)*(a*c-u*f)}},27812:function(k){k.exports=function(m,t){var d=t[0],y=t[1],i=t[2],M=t[3],g=d+d,h=y+y,l=i+i,a=d*g,u=y*g,o=y*h,s=i*g,f=i*h,c=i*l,p=M*g,w=M*h,v=M*l;return m[0]=1-o-c,m[1]=u+v,m[2]=s-w,m[3]=0,m[4]=u-v,m[5]=1-a-c,m[6]=f+p,m[7]=0,m[8]=s+w,m[9]=f-p,m[10]=1-a-o,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},34045:function(k){k.exports=function(m,t,d){var y,i,M,g=d[0],h=d[1],l=d[2],a=Math.sqrt(g*g+h*h+l*l);return Math.abs(a)<1e-6?null:(g*=a=1/a,h*=a,l*=a,y=Math.sin(t),M=1-(i=Math.cos(t)),m[0]=g*g*M+i,m[1]=h*g*M+l*y,m[2]=l*g*M-h*y,m[3]=0,m[4]=g*h*M-l*y,m[5]=h*h*M+i,m[6]=l*h*M+g*y,m[7]=0,m[8]=g*l*M+h*y,m[9]=h*l*M-g*y,m[10]=l*l*M+i,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m)}},45973:function(k){k.exports=function(m,t,d){var y=t[0],i=t[1],M=t[2],g=t[3],h=y+y,l=i+i,a=M+M,u=y*h,o=y*l,s=y*a,f=i*l,c=i*a,p=M*a,w=g*h,v=g*l,S=g*a;return m[0]=1-(f+p),m[1]=o+S,m[2]=s-v,m[3]=0,m[4]=o-S,m[5]=1-(u+p),m[6]=c+w,m[7]=0,m[8]=s+v,m[9]=c-w,m[10]=1-(u+f),m[11]=0,m[12]=d[0],m[13]=d[1],m[14]=d[2],m[15]=1,m}},81472:function(k){k.exports=function(m,t){return m[0]=t[0],m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=t[1],m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=t[2],m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},14669:function(k){k.exports=function(m,t){return m[0]=1,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=1,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=1,m[11]=0,m[12]=t[0],m[13]=t[1],m[14]=t[2],m[15]=1,m}},75262:function(k){k.exports=function(m,t){var d=Math.sin(t),y=Math.cos(t);return m[0]=1,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=y,m[6]=d,m[7]=0,m[8]=0,m[9]=-d,m[10]=y,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},331:function(k){k.exports=function(m,t){var d=Math.sin(t),y=Math.cos(t);return m[0]=y,m[1]=0,m[2]=-d,m[3]=0,m[4]=0,m[5]=1,m[6]=0,m[7]=0,m[8]=d,m[9]=0,m[10]=y,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},11049:function(k){k.exports=function(m,t){var d=Math.sin(t),y=Math.cos(t);return m[0]=y,m[1]=d,m[2]=0,m[3]=0,m[4]=-d,m[5]=y,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=1,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},75195:function(k){k.exports=function(m,t,d,y,i,M,g){var h=1/(d-t),l=1/(i-y),a=1/(M-g);return m[0]=2*M*h,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=2*M*l,m[6]=0,m[7]=0,m[8]=(d+t)*h,m[9]=(i+y)*l,m[10]=(g+M)*a,m[11]=-1,m[12]=0,m[13]=0,m[14]=g*M*2*a,m[15]=0,m}},71551:function(k){k.exports=function(m){return m[0]=1,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=1,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=1,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},79576:function(k,m,t){k.exports={create:t(11902),clone:t(42331),copy:t(31042),identity:t(71551),transpose:t(88654),invert:t(95874),adjoint:t(85400),determinant:t(89887),multiply:t(91362),translate:t(31283),scale:t(10789),rotate:t(65074),rotateX:t(35545),rotateY:t(94918),rotateZ:t(15692),fromRotation:t(34045),fromRotationTranslation:t(45973),fromScaling:t(81472),fromTranslation:t(14669),fromXRotation:t(75262),fromYRotation:t(331),fromZRotation:t(11049),fromQuat:t(27812),frustum:t(75195),perspective:t(7864),perspectiveFromFieldOfView:t(35279),ortho:t(60378),lookAt:t(65551),str:t(6726)}},95874:function(k){k.exports=function(m,t){var d=t[0],y=t[1],i=t[2],M=t[3],g=t[4],h=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],f=t[11],c=t[12],p=t[13],w=t[14],v=t[15],S=d*h-y*g,x=d*l-i*g,T=d*a-M*g,C=y*l-i*h,_=y*a-M*h,A=i*a-M*l,L=u*p-o*c,b=u*w-s*c,O=u*v-f*c,I=o*w-s*p,R=o*v-f*p,D=s*v-f*w,F=S*D-x*R+T*I+C*O-_*b+A*L;return F?(F=1/F,m[0]=(h*D-l*R+a*I)*F,m[1]=(i*R-y*D-M*I)*F,m[2]=(p*A-w*_+v*C)*F,m[3]=(s*_-o*A-f*C)*F,m[4]=(l*O-g*D-a*b)*F,m[5]=(d*D-i*O+M*b)*F,m[6]=(w*T-c*A-v*x)*F,m[7]=(u*A-s*T+f*x)*F,m[8]=(g*R-h*O+a*L)*F,m[9]=(y*O-d*R-M*L)*F,m[10]=(c*_-p*T+v*S)*F,m[11]=(o*T-u*_-f*S)*F,m[12]=(h*b-g*I-l*L)*F,m[13]=(d*I-y*b+i*L)*F,m[14]=(p*x-c*C-w*S)*F,m[15]=(u*C-o*x+s*S)*F,m):null}},65551:function(k,m,t){var d=t(71551);k.exports=function(y,i,M,g){var h,l,a,u,o,s,f,c,p,w,v=i[0],S=i[1],x=i[2],T=g[0],C=g[1],_=g[2],A=M[0],L=M[1],b=M[2];return Math.abs(v-A)<1e-6&&Math.abs(S-L)<1e-6&&Math.abs(x-b)<1e-6?d(y):(f=v-A,c=S-L,p=x-b,h=C*(p*=w=1/Math.sqrt(f*f+c*c+p*p))-_*(c*=w),l=_*(f*=w)-T*p,a=T*c-C*f,(w=Math.sqrt(h*h+l*l+a*a))?(h*=w=1/w,l*=w,a*=w):(h=0,l=0,a=0),u=c*a-p*l,o=p*h-f*a,s=f*l-c*h,(w=Math.sqrt(u*u+o*o+s*s))?(u*=w=1/w,o*=w,s*=w):(u=0,o=0,s=0),y[0]=h,y[1]=u,y[2]=f,y[3]=0,y[4]=l,y[5]=o,y[6]=c,y[7]=0,y[8]=a,y[9]=s,y[10]=p,y[11]=0,y[12]=-(h*v+l*S+a*x),y[13]=-(u*v+o*S+s*x),y[14]=-(f*v+c*S+p*x),y[15]=1,y)}},91362:function(k){k.exports=function(m,t,d){var y=t[0],i=t[1],M=t[2],g=t[3],h=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],f=t[10],c=t[11],p=t[12],w=t[13],v=t[14],S=t[15],x=d[0],T=d[1],C=d[2],_=d[3];return m[0]=x*y+T*h+C*o+_*p,m[1]=x*i+T*l+C*s+_*w,m[2]=x*M+T*a+C*f+_*v,m[3]=x*g+T*u+C*c+_*S,x=d[4],T=d[5],C=d[6],_=d[7],m[4]=x*y+T*h+C*o+_*p,m[5]=x*i+T*l+C*s+_*w,m[6]=x*M+T*a+C*f+_*v,m[7]=x*g+T*u+C*c+_*S,x=d[8],T=d[9],C=d[10],_=d[11],m[8]=x*y+T*h+C*o+_*p,m[9]=x*i+T*l+C*s+_*w,m[10]=x*M+T*a+C*f+_*v,m[11]=x*g+T*u+C*c+_*S,x=d[12],T=d[13],C=d[14],_=d[15],m[12]=x*y+T*h+C*o+_*p,m[13]=x*i+T*l+C*s+_*w,m[14]=x*M+T*a+C*f+_*v,m[15]=x*g+T*u+C*c+_*S,m}},60378:function(k){k.exports=function(m,t,d,y,i,M,g){var h=1/(t-d),l=1/(y-i),a=1/(M-g);return m[0]=-2*h,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=-2*l,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=2*a,m[11]=0,m[12]=(t+d)*h,m[13]=(i+y)*l,m[14]=(g+M)*a,m[15]=1,m}},7864:function(k){k.exports=function(m,t,d,y,i){var M=1/Math.tan(t/2),g=1/(y-i);return m[0]=M/d,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=M,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=(i+y)*g,m[11]=-1,m[12]=0,m[13]=0,m[14]=2*i*y*g,m[15]=0,m}},35279:function(k){k.exports=function(m,t,d,y){var i=Math.tan(t.upDegrees*Math.PI/180),M=Math.tan(t.downDegrees*Math.PI/180),g=Math.tan(t.leftDegrees*Math.PI/180),h=Math.tan(t.rightDegrees*Math.PI/180),l=2/(g+h),a=2/(i+M);return m[0]=l,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=a,m[6]=0,m[7]=0,m[8]=-(g-h)*l*.5,m[9]=(i-M)*a*.5,m[10]=y/(d-y),m[11]=-1,m[12]=0,m[13]=0,m[14]=y*d/(d-y),m[15]=0,m}},65074:function(k){k.exports=function(m,t,d,y){var i,M,g,h,l,a,u,o,s,f,c,p,w,v,S,x,T,C,_,A,L,b,O,I,R=y[0],D=y[1],F=y[2],B=Math.sqrt(R*R+D*D+F*F);return Math.abs(B)<1e-6?null:(R*=B=1/B,D*=B,F*=B,i=Math.sin(d),g=1-(M=Math.cos(d)),h=t[0],l=t[1],a=t[2],u=t[3],o=t[4],s=t[5],f=t[6],c=t[7],p=t[8],w=t[9],v=t[10],S=t[11],x=R*R*g+M,T=D*R*g+F*i,C=F*R*g-D*i,_=R*D*g-F*i,A=D*D*g+M,L=F*D*g+R*i,b=R*F*g+D*i,O=D*F*g-R*i,I=F*F*g+M,m[0]=h*x+o*T+p*C,m[1]=l*x+s*T+w*C,m[2]=a*x+f*T+v*C,m[3]=u*x+c*T+S*C,m[4]=h*_+o*A+p*L,m[5]=l*_+s*A+w*L,m[6]=a*_+f*A+v*L,m[7]=u*_+c*A+S*L,m[8]=h*b+o*O+p*I,m[9]=l*b+s*O+w*I,m[10]=a*b+f*O+v*I,m[11]=u*b+c*O+S*I,t!==m&&(m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15]),m)}},35545:function(k){k.exports=function(m,t,d){var y=Math.sin(d),i=Math.cos(d),M=t[4],g=t[5],h=t[6],l=t[7],a=t[8],u=t[9],o=t[10],s=t[11];return t!==m&&(m[0]=t[0],m[1]=t[1],m[2]=t[2],m[3]=t[3],m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15]),m[4]=M*i+a*y,m[5]=g*i+u*y,m[6]=h*i+o*y,m[7]=l*i+s*y,m[8]=a*i-M*y,m[9]=u*i-g*y,m[10]=o*i-h*y,m[11]=s*i-l*y,m}},94918:function(k){k.exports=function(m,t,d){var y=Math.sin(d),i=Math.cos(d),M=t[0],g=t[1],h=t[2],l=t[3],a=t[8],u=t[9],o=t[10],s=t[11];return t!==m&&(m[4]=t[4],m[5]=t[5],m[6]=t[6],m[7]=t[7],m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15]),m[0]=M*i-a*y,m[1]=g*i-u*y,m[2]=h*i-o*y,m[3]=l*i-s*y,m[8]=M*y+a*i,m[9]=g*y+u*i,m[10]=h*y+o*i,m[11]=l*y+s*i,m}},15692:function(k){k.exports=function(m,t,d){var y=Math.sin(d),i=Math.cos(d),M=t[0],g=t[1],h=t[2],l=t[3],a=t[4],u=t[5],o=t[6],s=t[7];return t!==m&&(m[8]=t[8],m[9]=t[9],m[10]=t[10],m[11]=t[11],m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15]),m[0]=M*i+a*y,m[1]=g*i+u*y,m[2]=h*i+o*y,m[3]=l*i+s*y,m[4]=a*i-M*y,m[5]=u*i-g*y,m[6]=o*i-h*y,m[7]=s*i-l*y,m}},10789:function(k){k.exports=function(m,t,d){var y=d[0],i=d[1],M=d[2];return m[0]=t[0]*y,m[1]=t[1]*y,m[2]=t[2]*y,m[3]=t[3]*y,m[4]=t[4]*i,m[5]=t[5]*i,m[6]=t[6]*i,m[7]=t[7]*i,m[8]=t[8]*M,m[9]=t[9]*M,m[10]=t[10]*M,m[11]=t[11]*M,m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15],m}},6726:function(k){k.exports=function(m){return"mat4("+m[0]+", "+m[1]+", "+m[2]+", "+m[3]+", "+m[4]+", "+m[5]+", "+m[6]+", "+m[7]+", "+m[8]+", "+m[9]+", "+m[10]+", "+m[11]+", "+m[12]+", "+m[13]+", "+m[14]+", "+m[15]+")"}},31283:function(k){k.exports=function(m,t,d){var y,i,M,g,h,l,a,u,o,s,f,c,p=d[0],w=d[1],v=d[2];return t===m?(m[12]=t[0]*p+t[4]*w+t[8]*v+t[12],m[13]=t[1]*p+t[5]*w+t[9]*v+t[13],m[14]=t[2]*p+t[6]*w+t[10]*v+t[14],m[15]=t[3]*p+t[7]*w+t[11]*v+t[15]):(y=t[0],i=t[1],M=t[2],g=t[3],h=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],f=t[10],c=t[11],m[0]=y,m[1]=i,m[2]=M,m[3]=g,m[4]=h,m[5]=l,m[6]=a,m[7]=u,m[8]=o,m[9]=s,m[10]=f,m[11]=c,m[12]=y*p+h*w+o*v+t[12],m[13]=i*p+l*w+s*v+t[13],m[14]=M*p+a*w+f*v+t[14],m[15]=g*p+u*w+c*v+t[15]),m}},88654:function(k){k.exports=function(m,t){if(m===t){var d=t[1],y=t[2],i=t[3],M=t[6],g=t[7],h=t[11];m[1]=t[4],m[2]=t[8],m[3]=t[12],m[4]=d,m[6]=t[9],m[7]=t[13],m[8]=y,m[9]=M,m[11]=t[14],m[12]=i,m[13]=g,m[14]=h}else m[0]=t[0],m[1]=t[4],m[2]=t[8],m[3]=t[12],m[4]=t[1],m[5]=t[5],m[6]=t[9],m[7]=t[13],m[8]=t[2],m[9]=t[6],m[10]=t[10],m[11]=t[14],m[12]=t[3],m[13]=t[7],m[14]=t[11],m[15]=t[15];return m}},42505:function(k,m,t){var d=t(72791),y=t(71299),i=t(98580),M=t(12018),g=t(83522),h=t(25075),l=t(68016),a=t(58404),u=t(18863),o=t(10973),s=t(25677),f=t(75686),c=t(53545),p=t(56131),w=t(32879),v=t(30120),S=t(13547).nextPow2,x=new g,T=!1;if(document.body){var C=document.body.appendChild(document.createElement("div"));C.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(C).fontStretch&&(T=!0),document.body.removeChild(C)}var _=function(A){(function(L){return typeof L=="function"&&L._gl&&L.prop&&L.texture&&L.buffer})(A)?(A={regl:A},this.gl=A.regl._gl):this.gl=M(A),this.shader=x.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=A.regl||i({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),x.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(o(A)?A:{})};_.prototype.createShader=function(){var A=this.regl,L=A({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:A.prop("count"),offset:A.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:A.this("sizeBuffer")},width:{offset:0,stride:8,buffer:A.this("sizeBuffer")},char:A.this("charBuffer"),position:A.this("position")},uniforms:{atlasSize:function(b,O){return[O.atlas.width,O.atlas.height]},atlasDim:function(b,O){return[O.atlas.cols,O.atlas.rows]},atlas:function(b,O){return O.atlas.texture},charStep:function(b,O){return O.atlas.step},em:function(b,O){return O.atlas.em},color:A.prop("color"),opacity:A.prop("opacity"),viewport:A.this("viewportArray"),scale:A.this("scale"),align:A.prop("align"),baseline:A.prop("baseline"),translate:A.this("translate"),positionOffset:A.prop("positionOffset")},primitive:"points",viewport:A.this("viewport"),vert:` +`):H=" ".concat(B," ").concat(H)),D=M(this,o(b).call(this,"".concat(q).concat(H)))}return Error.stackTraceLimit=Y,D.generatedMessage=!F,Object.defineProperty(g(D),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),D.code="ERR_ASSERTION",D.actual=W,D.expected=j,D.operator=B,Error.captureStackTrace&&Error.captureStackTrace(g(D),N),D.stack,D.name="AssertionError",M(D)}var P,I;return function(R,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(D&&D.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),D&&u(R,D)}(b,L),P=b,I=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:c.custom,value:function(R,D){return c(this,function(F){for(var B=1;B2?"one of ".concat(o," ").concat(u.slice(0,s-1).join(", "),", or ")+u[s-1]:s===2?"one of ".concat(o," ").concat(u[0]," or ").concat(u[1]):"of ".concat(o," ").concat(u[0])}return"of ".concat(o," ").concat(String(u))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(u,o,s){var c,f,p,w,v;if(M===void 0&&(M=t(32791)),M(typeof u=="string","'name' must be a string"),typeof o=="string"&&(f="not ",o.substr(0,f.length)===f)?(c="must not be",o=o.replace(/^not /,"")):c="must be",function(x,T,C){return(C===void 0||C>x.length)&&(C=x.length),x.substring(C-T.length,C)===T}(u," argument"))p="The ".concat(u," ").concat(c," ").concat(a(o,"type"));else{var S=(typeof v!="number"&&(v=0),v+1>(w=u).length||w.indexOf(".",v)===-1?"argument":"property");p='The "'.concat(u,'" ').concat(S," ").concat(c," ").concat(a(o,"type"))}return p+". Received type ".concat(d(s))},TypeError),l("ERR_INVALID_ARG_VALUE",function(u,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";g===void 0&&(g=t(43827));var c=g.inspect(o);return c.length>128&&(c="".concat(c.slice(0,128),"...")),"The argument '".concat(u,"' ").concat(s,". Received ").concat(c)},TypeError),l("ERR_INVALID_RETURN_VALUE",function(u,o,s){var c;return c=s&&s.constructor&&s.constructor.name?"instance of ".concat(s.constructor.name):"type ".concat(d(s)),"Expected ".concat(u,' to be returned from the "').concat(o,'"')+" function but got ".concat(c,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var u=arguments.length,o=new Array(u),s=0;s0,"At least one arg needs to be specified");var c="The ",f=o.length;switch(o=o.map(function(p){return'"'.concat(p,'"')}),f){case 1:c+="".concat(o[0]," argument");break;case 2:c+="".concat(o[0]," and ").concat(o[1]," arguments");break;default:c+=o.slice(0,f-1).join(", "),c+=", and ".concat(o[f-1]," arguments")}return"".concat(c," must be specified")},TypeError),k.exports.codes=h},74061:function(k,m,t){function d(Z,X){return function(Q){if(Array.isArray(Q))return Q}(Z)||function(Q,re){var ie=[],oe=!0,ue=!1,ce=void 0;try{for(var ye,de=Q[Symbol.iterator]();!(oe=(ye=de.next()).done)&&(ie.push(ye.value),!re||ie.length!==re);oe=!0);}catch(me){ue=!0,ce=me}finally{try{oe||de.return==null||de.return()}finally{if(ue)throw ce}}return ie}(Z,X)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function y(Z){return y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},y(Z)}var i=/a/g.flags!==void 0,M=function(Z){var X=[];return Z.forEach(function(Q){return X.push(Q)}),X},g=function(Z){var X=[];return Z.forEach(function(Q,re){return X.push([re,Q])}),X},h=Object.is?Object.is:t(64003),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:t(15567);function u(Z){return Z.call.bind(Z)}var o=u(Object.prototype.hasOwnProperty),s=u(Object.prototype.propertyIsEnumerable),c=u(Object.prototype.toString),f=t(43827).types,p=f.isAnyArrayBuffer,w=f.isArrayBufferView,v=f.isDate,S=f.isMap,x=f.isRegExp,T=f.isSet,C=f.isNativeError,_=f.isBoxedPrimitive,A=f.isNumberObject,L=f.isStringObject,b=f.isBooleanObject,P=f.isBigIntObject,I=f.isSymbolObject,R=f.isFloat32Array,D=f.isFloat64Array;function F(Z){if(Z.length===0||Z.length>10)return!0;for(var X=0;X57)return!0}return Z.length===10&&Z>=Math.pow(2,32)}function B(Z){return Object.keys(Z).filter(F).concat(l(Z).filter(Object.prototype.propertyIsEnumerable.bind(Z)))}function N(Z,X){if(Z===X)return 0;for(var Q=Z.length,re=X.length,ie=0,oe=Math.min(Q,re);ie0?c-4:c;for(o=0;o>16&255,p[w++]=u>>8&255,p[w++]=255&u;return f===2&&(u=d[a.charCodeAt(o)]<<2|d[a.charCodeAt(o+1)]>>4,p[w++]=255&u),f===1&&(u=d[a.charCodeAt(o)]<<10|d[a.charCodeAt(o+1)]<<4|d[a.charCodeAt(o+2)]>>2,p[w++]=u>>8&255,p[w++]=255&u),p},m.fromByteArray=function(a){for(var u,o=a.length,s=o%3,c=[],f=16383,p=0,w=o-s;pw?w:p+f));return s===1?(u=a[o-1],c.push(t[u>>2]+t[u<<4&63]+"==")):s===2&&(u=(a[o-2]<<8)+a[o-1],c.push(t[u>>10]+t[u>>4&63]+t[u<<2&63]+"=")),c.join("")};for(var t=[],d=[],y=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0,g=i.length;M0)throw new Error("Invalid string. Length must be a multiple of 4");var o=a.indexOf("=");return o===-1&&(o=u),[o,o===u?0:4-o%4]}function l(a,u,o){for(var s,c,f=[],p=u;p>18&63]+t[c>>12&63]+t[c>>6&63]+t[63&c]);return f.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},91358:function(k){function m(g,h,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,c=g[s];(l!==void 0?l(c,h):c-h)>=0?(o=s,u=s-1):a=s+1}return o}function t(g,h,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,c=g[s];(l!==void 0?l(c,h):c-h)>0?(o=s,u=s-1):a=s+1}return o}function d(g,h,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,c=g[s];(l!==void 0?l(c,h):c-h)<0?(o=s,a=s+1):u=s-1}return o}function y(g,h,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,c=g[s];(l!==void 0?l(c,h):c-h)<=0?(o=s,a=s+1):u=s-1}return o}function i(g,h,l,a,u){for(;a<=u;){var o=a+u>>>1,s=g[o],c=l!==void 0?l(s,h):s-h;if(c===0)return o;c<=0?a=o+1:u=o-1}return-1}function M(g,h,l,a,u,o){return typeof l=="function"?o(g,h,l,a===void 0?0:0|a,u===void 0?g.length-1:0|u):o(g,h,void 0,l===void 0?0:0|l,a===void 0?g.length-1:0|a)}k.exports={ge:function(g,h,l,a,u){return M(g,h,l,a,u,m)},gt:function(g,h,l,a,u){return M(g,h,l,a,u,t)},lt:function(g,h,l,a,u){return M(g,h,l,a,u,d)},le:function(g,h,l,a,u){return M(g,h,l,a,u,y)},eq:function(g,h,l,a,u){return M(g,h,l,a,u,i)}}},13547:function(k,m){function t(y){var i=32;return(y&=-y)&&i--,65535&y&&(i-=16),16711935&y&&(i-=8),252645135&y&&(i-=4),858993459&y&&(i-=2),1431655765&y&&(i-=1),i}m.INT_BITS=32,m.INT_MAX=2147483647,m.INT_MIN=-2147483648,m.sign=function(y){return(y>0)-(y<0)},m.abs=function(y){var i=y>>31;return(y^i)-i},m.min=function(y,i){return i^(y^i)&-(y65535)<<4,i|=M=((y>>>=i)>255)<<3,i|=M=((y>>>=M)>15)<<2,(i|=M=((y>>>=M)>3)<<1)|(y>>>=M)>>1},m.log10=function(y){return y>=1e9?9:y>=1e8?8:y>=1e7?7:y>=1e6?6:y>=1e5?5:y>=1e4?4:y>=1e3?3:y>=100?2:y>=10?1:0},m.popCount=function(y){return 16843009*((y=(858993459&(y-=y>>>1&1431655765))+(y>>>2&858993459))+(y>>>4)&252645135)>>>24},m.countTrailingZeros=t,m.nextPow2=function(y){return y+=y===0,--y,y|=y>>>1,y|=y>>>2,y|=y>>>4,y|=y>>>8,1+(y|=y>>>16)},m.prevPow2=function(y){return y|=y>>>1,y|=y>>>2,y|=y>>>4,y|=y>>>8,(y|=y>>>16)-(y>>>1)},m.parity=function(y){return y^=y>>>16,y^=y>>>8,y^=y>>>4,27030>>>(y&=15)&1};var d=new Array(256);(function(y){for(var i=0;i<256;++i){var M=i,g=i,h=7;for(M>>>=1;M;M>>>=1)g<<=1,g|=1&M,--h;y[i]=g<>>8&255]<<16|d[y>>>16&255]<<8|d[y>>>24&255]},m.interleave2=function(y,i){return(y=1431655765&((y=858993459&((y=252645135&((y=16711935&((y&=65535)|y<<8))|y<<4))|y<<2))|y<<1))|(i=1431655765&((i=858993459&((i=252645135&((i=16711935&((i&=65535)|i<<8))|i<<4))|i<<2))|i<<1))<<1},m.deinterleave2=function(y,i){return(y=65535&((y=16711935&((y=252645135&((y=858993459&((y=y>>>i&1431655765)|y>>>1))|y>>>2))|y>>>4))|y>>>16))<<16>>16},m.interleave3=function(y,i,M){return y=1227133513&((y=3272356035&((y=251719695&((y=4278190335&((y&=1023)|y<<16))|y<<8))|y<<4))|y<<2),(y|=(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<1)|(M=1227133513&((M=3272356035&((M=251719695&((M=4278190335&((M&=1023)|M<<16))|M<<8))|M<<4))|M<<2))<<2},m.deinterleave3=function(y,i){return(y=1023&((y=4278190335&((y=251719695&((y=3272356035&((y=y>>>i&1227133513)|y>>>2))|y>>>4))|y>>>8))|y>>>16))<<22>>22},m.nextCombination=function(y){var i=y|y-1;return i+1|(~i&-~i)-1>>>t(y)+1}},44781:function(k,m,t){var d=t(53435);k.exports=function(g,h){h||(h={});var l,a,u,o,s,c,f,p,w,v,S,x=h.cutoff==null?.25:h.cutoff,T=h.radius==null?8:h.radius,C=h.channel||0;if(ArrayBuffer.isView(g)||Array.isArray(g)){if(!h.width||!h.height)throw Error("For raw data width and height should be provided by options");l=h.width,a=h.height,o=g,c=h.stride?h.stride:Math.floor(g.length/l/a)}else window.HTMLCanvasElement&&g instanceof window.HTMLCanvasElement?(f=(p=g).getContext("2d"),l=p.width,a=p.height,o=(w=f.getImageData(0,0,l,a)).data,c=4):window.CanvasRenderingContext2D&&g instanceof window.CanvasRenderingContext2D?(f=g,l=(p=g.canvas).width,a=p.height,o=(w=f.getImageData(0,0,l,a)).data,c=4):window.ImageData&&g instanceof window.ImageData&&(w=g,l=g.width,a=g.height,o=w.data,c=4);if(u=Math.max(l,a),window.Uint8ClampedArray&&o instanceof window.Uint8ClampedArray||window.Uint8Array&&o instanceof window.Uint8Array)for(s=o,o=Array(l*a),v=0,S=s.length;v-1?y(h):h}},68222:function(k,m,t){var d=t(77575),y=t(68318),i=y("%Function.prototype.apply%"),M=y("%Function.prototype.call%"),g=y("%Reflect.apply%",!0)||d.call(M,i),h=y("%Object.getOwnPropertyDescriptor%",!0),l=y("%Object.defineProperty%",!0),a=y("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}k.exports=function(o){var s=g(d,M,arguments);if(h&&l){var c=h(s,"length");c.configurable&&l(s,"length",{value:1+a(0,o.length-(arguments.length-1))})}return s};var u=function(){return g(d,i,arguments)};l?l(k.exports,"apply",{value:u}):k.exports.apply=u},53435:function(k){k.exports=function(m,t,d){return td?d:m:mt?t:m}},6475:function(k,m,t){var d=t(53435);function y(i,M){M==null&&(M=!0);var g=i[0],h=i[1],l=i[2],a=i[3];return a==null&&(a=M?1:255),M&&(g*=255,h*=255,l*=255,a*=255),16777216*(g=255&d(g,0,255))+((h=255&d(h,0,255))<<16)+((l=255&d(l,0,255))<<8)+(255&d(a,0,255))}k.exports=y,k.exports.to=y,k.exports.from=function(i,M){var g=(i=+i)>>>24,h=(16711680&i)>>>16,l=(65280&i)>>>8,a=255&i;return M===!1?[g,h,l,a]:[g/255,h/255,l/255,a/255]}},76857:function(k){k.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},25075:function(k,m,t){var d=t(36652),y=t(53435),i=t(90660);k.exports=function(M,g){g!=="float"&&g||(g="array"),g==="uint"&&(g="uint8"),g==="uint_clamped"&&(g="uint8_clamped");var h=new(i(g))(4),l=g!=="uint8"&&g!=="uint8_clamped";return M.length&&typeof M!="string"||((M=d(M))[0]/=255,M[1]/=255,M[2]/=255),function(a){return a instanceof Uint8Array||a instanceof Uint8ClampedArray||!!(Array.isArray(a)&&(a[0]>1||a[0]===0)&&(a[1]>1||a[1]===0)&&(a[2]>1||a[2]===0)&&(!a[3]||a[3]>1))}(M)?(h[0]=M[0],h[1]=M[1],h[2]=M[2],h[3]=M[3]!=null?M[3]:255,l&&(h[0]/=255,h[1]/=255,h[2]/=255,h[3]/=255),h):(l?(h[0]=M[0],h[1]=M[1],h[2]=M[2],h[3]=M[3]!=null?M[3]:1):(h[0]=y(Math.floor(255*M[0]),0,255),h[1]=y(Math.floor(255*M[1]),0,255),h[2]=y(Math.floor(255*M[2]),0,255),h[3]=M[3]==null?255:y(Math.floor(255*M[3]),0,255)),h)}},90736:function(k,m,t){var d=t(76857),y=t(10973),i=t(46775);k.exports=function(g){var h,l,a=[],u=1;if(typeof g=="string")if(d[g])a=d[g].slice(),l="rgb";else if(g==="transparent")u=0,l="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(g)){var o=(f=g.slice(1)).length;u=1,o<=4?(a=[parseInt(f[0]+f[0],16),parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16)],o===4&&(u=parseInt(f[3]+f[3],16)/255)):(a=[parseInt(f[0]+f[1],16),parseInt(f[2]+f[3],16),parseInt(f[4]+f[5],16)],o===8&&(u=parseInt(f[6]+f[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),l="rgb"}else if(h=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(g)){var s=h[1],c=s==="rgb",f=s.replace(/a$/,"");l=f,o=f==="cmyk"?4:f==="gray"?1:3,a=h[2].trim().split(/\s*,\s*/).map(function(w,v){if(/%$/.test(w))return v===o?parseFloat(w)/100:f==="rgb"?255*parseFloat(w)/100:parseFloat(w);if(f[v]==="h"){if(/deg$/.test(w))return parseFloat(w);if(M[w]!==void 0)return M[w]}return parseFloat(w)}),s===f&&a.push(1),u=c||a[o]===void 0?1:a[o],a=a.slice(0,o)}else g.length>10&&/[0-9](?:\s|\/)/.test(g)&&(a=g.match(/([0-9]+)/g).map(function(w){return parseFloat(w)}),l=g.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(g))if(y(g)){var p=i(g.r,g.red,g.R,null);p!==null?(l="rgb",a=[p,i(g.g,g.green,g.G),i(g.b,g.blue,g.B)]):(l="hsl",a=[i(g.h,g.hue,g.H),i(g.s,g.saturation,g.S),i(g.l,g.lightness,g.L,g.b,g.brightness)]),u=i(g.a,g.alpha,g.opacity,1),g.opacity!=null&&(u/=100)}else(Array.isArray(g)||t.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(g))&&(a=[g[0],g[1],g[2]],l="rgb",u=g.length===4?g[3]:1);else l="rgb",a=[g>>>16,(65280&g)>>>8,255&g];return{space:l,values:a,alpha:u}};var M={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},36652:function(k,m,t){var d=t(90736),y=t(80009),i=t(53435);k.exports=function(M){var g,h=d(M);return h.space?((g=Array(3))[0]=i(h.values[0],0,255),g[1]=i(h.values[1],0,255),g[2]=i(h.values[2],0,255),h.space[0]==="h"&&(g=y.rgb(g)),g.push(i(h.alpha,0,1)),g):[]}},80009:function(k,m,t){var d=t(6866);k.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(y){var i,M,g,h,l,a=y[0]/360,u=y[1]/100,o=y[2]/100;if(u===0)return[l=255*o,l,l];i=2*o-(M=o<.5?o*(1+u):o+u-o*u),h=[0,0,0];for(var s=0;s<3;s++)(g=a+.3333333333333333*-(s-1))<0?g++:g>1&&g--,l=6*g<1?i+6*(M-i)*g:2*g<1?M:3*g<2?i+(M-i)*(.6666666666666666-g)*6:i,h[s]=255*l;return h}},d.hsl=function(y){var i,M,g=y[0]/255,h=y[1]/255,l=y[2]/255,a=Math.min(g,h,l),u=Math.max(g,h,l),o=u-a;return u===a?i=0:g===u?i=(h-l)/o:h===u?i=2+(l-g)/o:l===u&&(i=4+(g-h)/o),(i=Math.min(60*i,360))<0&&(i+=360),M=(a+u)/2,[i,100*(u===a?0:M<=.5?o/(u+a):o/(2-u-a)),100*M]}},6866:function(k){k.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(k){k.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|รง)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|รฉ)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|รฉ)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|รฃ)o.?tom(e|รฉ)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},72791:function(k,m,t){k.exports={parse:t(41004),stringify:t(53313)}},63625:function(k,m,t){var d=t(40402);k.exports={isSize:function(y){return/^[\d\.]/.test(y)||y.indexOf("/")!==-1||d.indexOf(y)!==-1}}},41004:function(k,m,t){var d=t(90448),y=t(38732),i=t(41901),M=t(15659),g=t(96209),h=t(83794),l=t(99011),a=t(63625).isSize;k.exports=o;var u=o.cache={};function o(c){if(typeof c!="string")throw new Error("Font argument must be a string.");if(u[c])return u[c];if(c==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(c)!==-1)return u[c]={system:c};for(var f,p={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},w=l(c,/\s+/);f=w.shift();){if(y.indexOf(f)!==-1)return["style","variant","weight","stretch"].forEach(function(S){p[S]=f}),u[c]=p;if(g.indexOf(f)===-1)if(f!=="normal"&&f!=="small-caps")if(h.indexOf(f)===-1){if(M.indexOf(f)===-1){if(a(f)){var v=l(f,"/");if(p.size=v[0],v[1]!=null?p.lineHeight=s(v[1]):w[0]==="/"&&(w.shift(),p.lineHeight=s(w.shift())),!w.length)throw new Error("Missing required font-family.");return p.family=l(w.join(" "),/\s*,\s*/).map(d),u[c]=p}throw new Error("Unknown or unsupported font token: "+f)}p.weight=f}else p.stretch=f;else p.variant=f;else p.style=f}throw new Error("Missing required font-size.")}function s(c){var f=parseFloat(c);return f.toString()===c?f:c}},53313:function(k,m,t){var d=t(71299),y=t(63625).isSize,i=c(t(38732)),M=c(t(41901)),g=c(t(15659)),h=c(t(96209)),l=c(t(83794)),a={normal:1,"small-caps":1},u={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},o="serif";function s(f,p){if(f&&!p[f]&&!i[f])throw Error("Unknown keyword `"+f+"`");return f}function c(f){for(var p={},w=0;wc?1:s>=c?0:NaN}t.d(m,{j2:function(){return d},Fp:function(){return M},J6:function(){return h},TS:function(){return l},VV:function(){return a},w6:function(){return u},Sm:function(){return o}}),(y=d).length===1&&(i=y,y=function(s,c){return d(i(s),c)});var y,i;function M(s,c){var f,p,w=s.length,v=-1;if(c==null){for(;++v=f)for(p=f;++vp&&(p=f)}else for(;++v=f)for(p=f;++vp&&(p=f);return p}function g(s){return s===null?NaN:+s}function h(s,c){var f,p=s.length,w=p,v=-1,S=0;if(c==null)for(;++v=0;)for(c=(p=s[w]).length;--c>=0;)f[--S]=p[c];return f}function a(s,c){var f,p,w=s.length,v=-1;if(c==null){for(;++v=f)for(p=f;++vf&&(p=f)}else for(;++v=f)for(p=f;++vf&&(p=f);return p}function u(s,c,f){s=+s,c=+c,f=(w=arguments.length)<2?(c=s,s=0,1):w<3?1:+f;for(var p=-1,w=0|Math.max(0,Math.ceil((c-s)/f)),v=new Array(w);++p=w.length)return c!=null&&T.sort(c),f!=null?f(T):T;for(var L,b,P,I=-1,R=T.length,D=w[C++],F=M(),B=_();++Iw.length)return T;var _,A=v[C-1];return f!=null&&C>=w.length?_=T.entries():(_=[],T.each(function(L,b){_.push({key:b,values:x(L,C)})})),A!=null?_.sort(function(L,b){return A(L.key,b.key)}):_}return p={object:function(T){return S(T,0,h,l)},map:function(T){return S(T,0,a,u)},entries:function(T){return x(S(T,0,a,u),0)},key:function(T){return w.push(T),p},sortKeys:function(T){return v[w.length-1]=T,p},sortValues:function(T){return c=T,p},rollup:function(T){return f=T,p}}}function h(){return{}}function l(c,f,p){c[f]=p}function a(){return M()}function u(c,f,p){c.set(f,p)}function o(){}var s=M.prototype;o.prototype={constructor:o,has:s.has,add:function(c){return this[d+(c+="")]=c,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each}},49887:function(k,m,t){function d(me,pe){var xe;function Oe(){var _e,Me,Se=xe.length,Ce=0,ae=0;for(_e=0;_e=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se,_e=Be,!(Be=Be[ke=be<<1|he]))return _e[ke]=ze,me;if(Ce=+me._x.call(null,Be.data),ae=+me._y.call(null,Be.data),pe===Ce&&xe===ae)return ze.next=Be,_e?_e[ke]=ze:me._root=ze,me;do _e=_e?_e[ke]=new Array(4):me._root=new Array(4),(he=pe>=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se;while((ke=be<<1|he)==(Le=(ae>=Se)<<1|Ce>=Me));return _e[Le]=Be,_e[ke]=ze,me}function g(me,pe,xe,Oe,_e){this.node=me,this.x0=pe,this.y0=xe,this.x1=Oe,this.y1=_e}function h(me){return me[0]}function l(me){return me[1]}function a(me,pe,xe){var Oe=new u(pe??h,xe??l,NaN,NaN,NaN,NaN);return me==null?Oe:Oe.addAll(me)}function u(me,pe,xe,Oe,_e,Me){this._x=me,this._y=pe,this._x0=xe,this._y0=Oe,this._x1=_e,this._y1=Me,this._root=void 0}function o(me){for(var pe={data:me.data},xe=pe;me=me.next;)xe=xe.next={data:me.data};return pe}t.r(m),t.d(m,{forceCenter:function(){return d},forceCollide:function(){return p},forceLink:function(){return x},forceManyBody:function(){return ue},forceRadial:function(){return ce},forceSimulation:function(){return oe},forceX:function(){return ye},forceY:function(){return de}});var s=a.prototype=u.prototype;function c(me){return me.x+me.vx}function f(me){return me.y+me.vy}function p(me){var pe,xe,Oe=1,_e=1;function Me(){for(var ae,he,be,ke,Le,Be,ze,je=pe.length,ge=0;ge<_e;++ge)for(he=a(pe,c,f).visitAfter(Se),ae=0;aeke+bt||$eLe+bt||stbe.index){var Et=ke-ot.x-ot.vx,kt=Le-ot.y-ot.vy,xt=Et*Et+kt*kt;xtae.r&&(ae.r=ae[he].r)}function Ce(){if(pe){var ae,he,be=pe.length;for(xe=new Array(be),ae=0;aebe&&(be=Oe),_eke&&(ke=_e));if(ae>be||he>ke)return this;for(this.cover(ae,he).cover(be,ke),xe=0;xeme||me>=_e||Oe>pe||pe>=Me;)switch(Ce=(peLe||(Me=ae.y0)>Be||(Se=ae.x1)=we)<<1|me>=ge)&&(ae=ze[ze.length-1],ze[ze.length-1]=ze[ze.length-1-he],ze[ze.length-1-he]=ae)}else{var Ee=me-+this._x.call(null,je.data),Ve=pe-+this._y.call(null,je.data),Ye=Ee*Ee+Ve*Ve;if(Ye=(Ce=(ze+ge)/2))?ze=Ce:ge=Ce,(be=Se>=(ae=(je+we)/2))?je=ae:we=ae,pe=Be,!(Be=Be[ke=be<<1|he]))return this;if(!Be.length)break;(pe[ke+1&3]||pe[ke+2&3]||pe[ke+3&3])&&(xe=pe,Le=ke)}for(;Be.data!==me;)if(Oe=Be,!(Be=Be.next))return this;return(_e=Be.next)&&delete Be.next,Oe?(_e?Oe.next=_e:delete Oe.next,this):pe?(_e?pe[ke]=_e:delete pe[ke],(Be=pe[0]||pe[1]||pe[2]||pe[3])&&Be===(pe[3]||pe[2]||pe[1]||pe[0])&&!Be.length&&(xe?xe[Le]=Be:this._root=Be),this):(this._root=_e,this)},s.removeAll=function(me){for(var pe=0,xe=me.length;pe=0&&(Oe=xe.slice(_e+1),xe=xe.slice(0,_e)),xe&&!pe.hasOwnProperty(xe))throw new Error("unknown type: "+xe);return{type:xe,name:Oe}})}function L(me,pe){for(var xe,Oe=0,_e=me.length;Oe<_e;++Oe)if((xe=me[Oe]).name===pe)return xe.value}function b(me,pe,xe){for(var Oe=0,_e=me.length;Oe<_e;++Oe)if(me[Oe].name===pe){me[Oe]=T,me=me.slice(0,Oe).concat(me.slice(Oe+1));break}return xe!=null&&me.push({name:pe,value:xe}),me}_.prototype=C.prototype={constructor:_,on:function(me,pe){var xe,Oe=this._,_e=A(me+"",Oe),Me=-1,Se=_e.length;if(!(arguments.length<2)){if(pe!=null&&typeof pe!="function")throw new Error("invalid callback: "+pe);for(;++Me0)for(var xe,Oe,_e=new Array(xe),Me=0;Me=0&&pe._call.call(null,me),pe=pe._next;--D})()}finally{D=0,function(){for(var me,pe,xe=P,Oe=1/0;xe;)xe._call?(Oe>xe._time&&(Oe=xe._time),me=xe,xe=xe._next):(pe=xe._next,xe._next=null,xe=me?me._next=pe:P=pe);I=me,X(Oe)}(),W=0}}function Z(){var me=Y.now(),pe=me-N;pe>1e3&&(j-=pe,N=me)}function X(me){D||(F&&(F=clearTimeout(F)),me-W>24?(me<1/0&&(F=setTimeout(te,me-Y.now()-j)),B&&(B=clearInterval(B))):(B||(N=Y.now(),B=setInterval(Z,1e3)),D=1,U(te)))}function Q(me){return me.x}function re(me){return me.y}H.prototype=ne.prototype={constructor:H,restart:function(me,pe,xe){if(typeof me!="function")throw new TypeError("callback is not a function");xe=(xe==null?G():+xe)+(pe==null?0:+pe),this._next||I===this||(I?I._next=this:P=this,I=this),this._call=me,this._time=xe,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var ie=Math.PI*(3-Math.sqrt(5));function oe(me){var pe,xe=1,Oe=.001,_e=1-Math.pow(Oe,1/300),Me=0,Se=.6,Ce=(0,w.UI)(),ae=ne(be),he=R("tick","end");function be(){ke(),he.call("tick",pe),xe1?(je==null?Ce.remove(ze):Ce.set(ze,Be(je)),pe):Ce.get(ze)},find:function(ze,je,ge){var we,Ee,Ve,Ye,$e,st=0,ot=me.length;for(ge==null?ge=1/0:ge*=ge,st=0;st1?(he.on(ze,je),pe):he.on(ze)}}}function ue(){var me,pe,xe,Oe,_e=y(-30),Me=1,Se=1/0,Ce=.81;function ae(Le){var Be,ze=me.length,je=a(me,Q,re).visitAfter(be);for(xe=Le,Be=0;Be=Se)){(Le.data!==pe||Le.next)&&(ge===0&&(Ve+=(ge=i())*ge),we===0&&(Ve+=(we=i())*we),Ve1?S[0]+S.slice(2):S,+p.slice(v+1)]}t.d(m,{WU:function(){return o},FF:function(){return f}});var y,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(p){if(!(w=i.exec(p)))throw new Error("invalid format: "+p);var w;return new g({fill:w[1],align:w[2],sign:w[3],symbol:w[4],zero:w[5],width:w[6],comma:w[7],precision:w[8]&&w[8].slice(1),trim:w[9],type:w[10]})}function g(p){this.fill=p.fill===void 0?" ":p.fill+"",this.align=p.align===void 0?">":p.align+"",this.sign=p.sign===void 0?"-":p.sign+"",this.symbol=p.symbol===void 0?"":p.symbol+"",this.zero=!!p.zero,this.width=p.width===void 0?void 0:+p.width,this.comma=!!p.comma,this.precision=p.precision===void 0?void 0:+p.precision,this.trim=!!p.trim,this.type=p.type===void 0?"":p.type+""}function h(p,w){var v=d(p,w);if(!v)return p+"";var S=v[0],x=v[1];return x<0?"0."+new Array(-x).join("0")+S:S.length>x+1?S.slice(0,x+1)+"."+S.slice(x+1):S+new Array(x-S.length+2).join("0")}M.prototype=g.prototype,g.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":function(p,w){return(100*p).toFixed(w)},b:function(p){return Math.round(p).toString(2)},c:function(p){return p+""},d:function(p){return Math.abs(p=Math.round(p))>=1e21?p.toLocaleString("en").replace(/,/g,""):p.toString(10)},e:function(p,w){return p.toExponential(w)},f:function(p,w){return p.toFixed(w)},g:function(p,w){return p.toPrecision(w)},o:function(p){return Math.round(p).toString(8)},p:function(p,w){return h(100*p,w)},r:h,s:function(p,w){var v=d(p,w);if(!v)return p+"";var S=v[0],x=v[1],T=x-(y=3*Math.max(-8,Math.min(8,Math.floor(x/3))))+1,C=S.length;return T===C?S:T>C?S+new Array(T-C+1).join("0"):T>0?S.slice(0,T)+"."+S.slice(T):"0."+new Array(1-T).join("0")+d(p,Math.max(0,w+T-1))[0]},X:function(p){return Math.round(p).toString(16).toUpperCase()},x:function(p){return Math.round(p).toString(16)}};function a(p){return p}var u,o,s=Array.prototype.map,c=["y","z","a","f","p","n","ยต","m","","k","M","G","T","P","E","Z","Y"];function f(p){var w,v,S=p.grouping===void 0||p.thousands===void 0?a:(w=s.call(p.grouping,Number),v=p.thousands+"",function(I,R){for(var D=I.length,F=[],B=0,N=w[0],W=0;D>0&&N>0&&(W+N+1>R&&(N=Math.max(1,R-W)),F.push(I.substring(D-=N,D+N)),!((W+=N+1)>R));)N=w[B=(B+1)%w.length];return F.reverse().join(v)}),x=p.currency===void 0?"":p.currency[0]+"",T=p.currency===void 0?"":p.currency[1]+"",C=p.decimal===void 0?".":p.decimal+"",_=p.numerals===void 0?a:function(I){return function(R){return R.replace(/[0-9]/g,function(D){return I[+D]})}}(s.call(p.numerals,String)),A=p.percent===void 0?"%":p.percent+"",L=p.minus===void 0?"-":p.minus+"",b=p.nan===void 0?"NaN":p.nan+"";function P(I){var R=(I=M(I)).fill,D=I.align,F=I.sign,B=I.symbol,N=I.zero,W=I.width,j=I.comma,Y=I.precision,U=I.trim,G=I.type;G==="n"?(j=!0,G="g"):l[G]||(Y===void 0&&(Y=12),U=!0,G="g"),(N||R==="0"&&D==="=")&&(N=!0,R="0",D="=");var q=B==="$"?x:B==="#"&&/[boxX]/.test(G)?"0"+G.toLowerCase():"",H=B==="$"?T:/[%p]/.test(G)?A:"",ne=l[G],te=/[defgprs%]/.test(G);function Z(X){var Q,re,ie,oe=q,ue=H;if(G==="c")ue=ne(X)+ue,X="";else{var ce=(X=+X)<0||1/X<0;if(X=isNaN(X)?b:ne(Math.abs(X),Y),U&&(X=function(me){e:for(var pe,xe=me.length,Oe=1,_e=-1;Oe0&&(_e=0)}return _e>0?me.slice(0,_e)+me.slice(pe+1):me}(X)),ce&&+X==0&&F!=="+"&&(ce=!1),oe=(ce?F==="("?F:L:F==="-"||F==="("?"":F)+oe,ue=(G==="s"?c[8+y/3]:"")+ue+(ce&&F==="("?")":""),te){for(Q=-1,re=X.length;++Q(ie=X.charCodeAt(Q))||ie>57){ue=(ie===46?C+X.slice(Q+1):X.slice(Q))+ue,X=X.slice(0,Q);break}}}j&&!N&&(X=S(X,1/0));var ye=oe.length+X.length+ue.length,de=ye>1)+oe+X+ue+de.slice(ye);break;default:X=de+oe+X+ue}return _(X)}return Y=Y===void 0?6:/[gprs]/.test(G)?Math.max(1,Math.min(21,Y)):Math.max(0,Math.min(20,Y)),Z.toString=function(){return I+""},Z}return{format:P,formatPrefix:function(I,R){var D,F=P(((I=M(I)).type="f",I)),B=3*Math.max(-8,Math.min(8,Math.floor((D=R,((D=d(Math.abs(D)))?D[1]:NaN)/3)))),N=Math.pow(10,-B),W=c[8+B/3];return function(j){return F(N*j)+W}}}}u=f({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),o=u.format,u.formatPrefix},65704:function(k,m,t){t.r(m),t.d(m,{geoAiry:function(){return j},geoAiryRaw:function(){return W},geoAitoff:function(){return U},geoAitoffRaw:function(){return Y},geoArmadillo:function(){return q},geoArmadilloRaw:function(){return G},geoAugust:function(){return ne},geoAugustRaw:function(){return H},geoBaker:function(){return Q},geoBakerRaw:function(){return X},geoBerghaus:function(){return oe},geoBerghausRaw:function(){return ie},geoBertin1953:function(){return Oe},geoBertin1953Raw:function(){return xe},geoBoggs:function(){return ke},geoBoggsRaw:function(){return be},geoBonne:function(){return ge},geoBonneRaw:function(){return je},geoBottomley:function(){return Ee},geoBottomleyRaw:function(){return we},geoBromley:function(){return Ye},geoBromleyRaw:function(){return Ve},geoChamberlin:function(){return Ft},geoChamberlinAfrica:function(){return xt},geoChamberlinRaw:function(){return Et},geoCollignon:function(){return Bt},geoCollignonRaw:function(){return Rt},geoCraig:function(){return Vt},geoCraigRaw:function(){return qt},geoCraster:function(){return qe},geoCrasterRaw:function(){return Je},geoCylindricalEqualArea:function(){return ht},geoCylindricalEqualAreaRaw:function(){return nt},geoCylindricalStereographic:function(){return Ne},geoCylindricalStereographicRaw:function(){return Pe},geoEckert1:function(){return ut},geoEckert1Raw:function(){return Qe},geoEckert2:function(){return _t},geoEckert2Raw:function(){return dt},geoEckert3:function(){return Lt},geoEckert3Raw:function(){return It},geoEckert4:function(){return Ot},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Pt},geoEckert5Raw:function(){return wt},geoEckert6:function(){return $t},geoEckert6Raw:function(){return Nt},geoEisenlohr:function(){return Qt},geoEisenlohrRaw:function(){return Xt},geoFahey:function(){return un},geoFaheyRaw:function(){return xn},geoFoucaut:function(){return $n},geoFoucautRaw:function(){return An},geoFoucautSinusoidal:function(){return sn},geoFoucautSinusoidalRaw:function(){return kn},geoGilbert:function(){return In},geoGingery:function(){return lr},geoGingeryRaw:function(){return jn},geoGinzburg4:function(){return yr},geoGinzburg4Raw:function(){return Sr},geoGinzburg5:function(){return vr},geoGinzburg5Raw:function(){return or},geoGinzburg6:function(){return Kt},geoGinzburg6Raw:function(){return _r},geoGinzburg8:function(){return Pn},geoGinzburg8Raw:function(){return bn},geoGinzburg9:function(){return Un},geoGinzburg9Raw:function(){return Ln},geoGringorten:function(){return tr},geoGringortenQuincuncial:function(){return Gc},geoGringortenRaw:function(){return Yn},geoGuyou:function(){return jt},geoGuyouRaw:function(){return On},geoHammer:function(){return de},geoHammerRaw:function(){return ce},geoHammerRetroazimuthal:function(){return Rn},geoHammerRetroazimuthalRaw:function(){return fn},geoHealpix:function(){return nr},geoHealpixRaw:function(){return yn},geoHill:function(){return fr},geoHillRaw:function(){return Qn},geoHomolosine:function(){return Lr},geoHomolosineRaw:function(){return Pr},geoHufnagel:function(){return gr},geoHufnagelRaw:function(){return zr},geoHyperelliptical:function(){return ta},geoHyperellipticalRaw:function(){return ji},geoInterrupt:function(){return Xi},geoInterruptedBoggs:function(){return as},geoInterruptedHomolosine:function(){return Cu},geoInterruptedMollweide:function(){return Af},geoInterruptedMollweideHemispheres:function(){return os},geoInterruptedQuarticAuthalic:function(){return nu},geoInterruptedSinuMollweide:function(){return $a},geoInterruptedSinusoidal:function(){return Yo},geoKavrayskiy7:function(){return Al},geoKavrayskiy7Raw:function(){return ss},geoLagrange:function(){return Sl},geoLagrangeRaw:function(){return Ui},geoLarrivee:function(){return js},geoLarriveeRaw:function(){return Is},geoLaskowski:function(){return vh},geoLaskowskiRaw:function(){return cc},geoLittrow:function(){return yh},geoLittrowRaw:function(){return nl},geoLoximuthal:function(){return id},geoLoximuthalRaw:function(){return bh},geoMiller:function(){return xh},geoMillerRaw:function(){return Cf},geoModifiedStereographic:function(){return Ql},geoModifiedStereographicAlaska:function(){return If},geoModifiedStereographicGs48:function(){return Jl},geoModifiedStereographicGs50:function(){return Vc},geoModifiedStereographicLee:function(){return Iu},geoModifiedStereographicMiller:function(){return Cl},geoModifiedStereographicRaw:function(){return Ef},geoMollweide:function(){return Ce},geoMollweideRaw:function(){return Se},geoMtFlatPolarParabolic:function(){return ad},geoMtFlatPolarParabolicRaw:function(){return El},geoMtFlatPolarQuartic:function(){return fc},geoMtFlatPolarQuarticRaw:function(){return jc},geoMtFlatPolarSinusoidal:function(){return Pu},geoMtFlatPolarSinusoidalRaw:function(){return eu},geoNaturalEarth:function(){return gs.Z},geoNaturalEarth2:function(){return hc},geoNaturalEarth2Raw:function(){return Pf},geoNaturalEarthRaw:function(){return gs.K},geoNellHammer:function(){return dc},geoNellHammerRaw:function(){return Ou},geoNicolosi:function(){return pc},geoNicolosiRaw:function(){return Ru},geoPatterson:function(){return Uc},geoPattersonRaw:function(){return Ll},geoPeirceQuincuncial:function(){return qc},geoPierceQuincuncial:function(){return qc},geoPolyconic:function(){return Rf},geoPolyconicRaw:function(){return yc},geoPolyhedral:function(){return Il},geoPolyhedralButterfly:function(){return Hc},geoPolyhedralCollignon:function(){return zf},geoPolyhedralWaterman:function(){return ou},geoProject:function(){return lu},geoQuantize:function(){return Lo},geoQuincuncial:function(){return Zo},geoRectangularPolyconic:function(){return uu},geoRectangularPolyconicRaw:function(){return Dr},geoRobinson:function(){return zu},geoRobinsonRaw:function(){return Wc},geoSatellite:function(){return Bu},geoSatelliteRaw:function(){return Fu},geoSinuMollweide:function(){return br},geoSinuMollweideRaw:function(){return dr},geoSinusoidal:function(){return ze},geoSinusoidalRaw:function(){return Be},geoStitch:function(){return fu},geoTimes:function(){return _s},geoTimesRaw:function(){return yo},geoTwoPointAzimuthal:function(){return ws},geoTwoPointAzimuthalRaw:function(){return _c},geoTwoPointAzimuthalUsa:function(){return ls},geoTwoPointEquidistant:function(){return Wi},geoTwoPointEquidistantRaw:function(){return Gs},geoTwoPointEquidistantUsa:function(){return Bo},geoVanDerGrinten:function(){return Os},geoVanDerGrinten2:function(){return qs},geoVanDerGrinten2Raw:function(){return No},geoVanDerGrinten3:function(){return cl},geoVanDerGrinten3Raw:function(){return Dl},geoVanDerGrinten4:function(){return Ts},geoVanDerGrinten4Raw:function(){return bo},geoVanDerGrintenRaw:function(){return no},geoWagner:function(){return ni},geoWagner4:function(){return Yc},geoWagner4Raw:function(){return xo},geoWagner6:function(){return ju},geoWagner6Raw:function(){return Vo},geoWagner7:function(){return Vu},geoWagnerRaw:function(){return Gr},geoWiechel:function(){return Ji},geoWiechelRaw:function(){return hl},geoWinkel3:function(){return Zc},geoWinkel3Raw:function(){return la}});var d=t(15002),y=Math.abs,i=Math.atan,M=Math.atan2,g=Math.cos,h=Math.exp,l=Math.floor,a=Math.log,u=Math.max,o=Math.min,s=Math.pow,c=Math.round,f=Math.sign||function(et){return et>0?1:et<0?-1:0},p=Math.sin,w=Math.tan,v=1e-6,S=1e-12,x=Math.PI,T=x/2,C=x/4,_=Math.SQRT1_2,A=F(2),L=F(x),b=2*x,P=180/x,I=x/180;function R(et){return et>1?T:et<-1?-T:Math.asin(et)}function D(et){return et>1?0:et<-1?x:Math.acos(et)}function F(et){return et>0?Math.sqrt(et):0}function B(et){return(h(et)-h(-et))/2}function N(et){return(h(et)+h(-et))/2}function W(et){var rt=w(et/2),ct=2*a(g(et/2))/(rt*rt);function vt(St,Mt){var $=g(St),ee=g(Mt),K=p(Mt),le=ee*$,Te=-((1-le?a((1+le)/2)/(1-le):-.5)+ct/(1+le));return[Te*ee*p(St),Te*K]}return vt.invert=function(St,Mt){var $,ee=F(St*St+Mt*Mt),K=-et/2,le=50;if(!ee)return[0,0];do{var Te=K/2,De=g(Te),He=p(Te),Ze=He/De,at=-a(y(De));K-=$=(2/Ze*at-ct*Ze-ee)/(-at/(He*He)+1-ct/(2*De*De))*(De<0?.7:1)}while(y($)>v&&--le>0);var Tt=p(K);return[M(St*Tt,ee*g(K)),R(Mt*Tt/ee)]},vt}function j(){var et=T,rt=(0,d.r)(W),ct=rt(et);return ct.radius=function(vt){return arguments.length?rt(et=vt*I):et*P},ct.scale(179.976).clipAngle(147)}function Y(et,rt){var ct=g(rt),vt=function(St){return St?St/Math.sin(St):1}(D(ct*g(et/=2)));return[2*ct*p(et)*vt,p(rt)*vt]}function U(){return(0,d.Z)(Y).scale(152.63)}function G(et){var rt=p(et),ct=g(et),vt=et>=0?1:-1,St=w(vt*et),Mt=(1+rt-ct)/2;function $(ee,K){var le=g(K),Te=g(ee/=2);return[(1+le)*p(ee),(vt*K>-M(Te,St)-.001?0:10*-vt)+Mt+p(K)*ct-(1+le)*rt*Te]}return $.invert=function(ee,K){var le=0,Te=0,De=50;do{var He=g(le),Ze=p(le),at=g(Te),Tt=p(Te),At=1+at,se=At*Ze-ee,ve=Mt+Tt*ct-At*rt*He-K,Ie=At*He/2,Fe=-Ze*Tt,Ue=rt*At*Ze/2,We=ct*at+rt*He*Tt,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe/2,lt=(se*Ue-ve*Ie)/Xe;y(lt)>2&&(lt/=2),le-=tt,Te-=lt}while((y(tt)>v||y(lt)>v)&&--De>0);return vt*Te>-M(g(le),St)-.001?[2*le,Te]:null},$}function q(){var et=20*I,rt=et>=0?1:-1,ct=w(rt*et),vt=(0,d.r)(G),St=vt(et),Mt=St.stream;return St.parallel=function($){return arguments.length?(ct=w((rt=(et=$*I)>=0?1:-1)*et),vt(et)):et*P},St.stream=function($){var ee=St.rotate(),K=Mt($),le=(St.rotate([0,0]),Mt($)),Te=St.precision();return St.rotate(ee),K.sphere=function(){le.polygonStart(),le.lineStart();for(var De=-180*rt;rt*De<180;De+=90*rt)le.point(De,90*rt);if(et)for(;rt*(De-=3*rt*Te)>=-180;)le.point(De,rt*-M(g(De*I/2),ct)*P);le.lineEnd(),le.polygonEnd()},K},St.scale(218.695).center([0,28.0974])}function H(et,rt){var ct=w(rt/2),vt=F(1-ct*ct),St=1+vt*g(et/=2),Mt=p(et)*vt/St,$=ct/St,ee=Mt*Mt,K=$*$;return[1.3333333333333333*Mt*(3+ee-3*K),1.3333333333333333*$*(3+3*ee-K)]}function ne(){return(0,d.Z)(H).scale(66.1603)}Y.invert=function(et,rt){if(!(et*et+4*rt*rt>x*x+v)){var ct=et,vt=rt,St=25;do{var Mt,$=p(ct),ee=p(ct/2),K=g(ct/2),le=p(vt),Te=g(vt),De=p(2*vt),He=le*le,Ze=Te*Te,at=ee*ee,Tt=1-Ze*K*K,At=Tt?D(Te*K)*F(Mt=1/Tt):Mt=0,se=2*At*Te*ee-et,ve=At*le-rt,Ie=Mt*(Ze*at+At*Te*K*He),Fe=Mt*(.5*$*De-2*At*le*ee),Ue=.25*Mt*(De*ee-At*le*Ze*$),We=Mt*(He*K+At*at*Te),Xe=Fe*Ue-We*Ie;if(!Xe)break;var tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((y(tt)>v||y(lt)>v)&&--St>0);return[ct,vt]}},H.invert=function(et,rt){if(rt*=.375,!(et*=.375)&&y(rt)>1)return null;var ct=1+et*et+rt*rt,vt=F((ct-F(ct*ct-4*rt*rt))/2),St=R(vt)/3,Mt=vt?function(le){return a(le+F(le*le-1))}(y(rt/vt))/3:function(le){return a(le+F(le*le+1))}(y(et))/3,$=g(St),ee=N(Mt),K=ee*ee-$*$;return[2*f(et)*M(B(Mt)*$,.25-K),2*f(rt)*M(ee*p(St),.25+K)]};var te=F(8),Z=a(1+A);function X(et,rt){var ct=y(rt);return ctS&&--Mt>0);return[et/(g(St)*(te-1/p(St))),f(rt)*St]};var re=t(17889);function ie(et){var rt=2*x/et;function ct(vt,St){var Mt=(0,re.N)(vt,St);if(y(vt)>T){var $=M(Mt[1],Mt[0]),ee=F(Mt[0]*Mt[0]+Mt[1]*Mt[1]),K=rt*c(($-T)/rt)+T,le=M(p($-=K),2-g($));$=K+R(x/ee*p(le))-le,Mt[0]=ee*g($),Mt[1]=ee*p($)}return Mt}return ct.invert=function(vt,St){var Mt=F(vt*vt+St*St);if(Mt>T){var $=M(St,vt),ee=rt*c(($-T)/rt)+T,K=$>ee?-1:1,le=Mt*g(ee-$),Te=1/w(K*D((le-x)/F(x*(x-2*le)+Mt*Mt)));$=ee+2*i((Te+K*F(Te*Te-3))/3),vt=Mt*g($),St=Mt*p($)}return re.N.invert(vt,St)},ct}function oe(){var et=5,rt=(0,d.r)(ie),ct=rt(et),vt=ct.stream,St=.01,Mt=-g(St*I),$=p(St*I);return ct.lobes=function(ee){return arguments.length?rt(et=+ee):et},ct.stream=function(ee){var K=ct.rotate(),le=vt(ee),Te=(ct.rotate([0,0]),vt(ee));return ct.rotate(K),le.sphere=function(){Te.polygonStart(),Te.lineStart();for(var De=0,He=360/et,Ze=2*x/et,at=90-180/et,Tt=T;De0&&y(vt)>v);return $<0?NaN:ct}function pe(et,rt,ct){return rt===void 0&&(rt=40),ct===void 0&&(ct=S),function(vt,St,Mt,$){var ee,K,le;Mt=Mt===void 0?0:+Mt,$=$===void 0?0:+$;for(var Te=0;Teee)Mt-=K/=2,$-=le/=2;else{ee=at;var Tt=(Mt>0?-1:1)*ct,At=($>0?-1:1)*ct,se=et(Mt+Tt,$),ve=et(Mt,$+At),Ie=(se[0]-De[0])/Tt,Fe=(se[1]-De[1])/Tt,Ue=(ve[0]-De[0])/At,We=(ve[1]-De[1])/At,Xe=We*Ie-Fe*Ue,tt=(y(Xe)<.5?.5:1)/Xe;if(Mt+=K=(Ze*Ue-He*We)*tt,$+=le=(He*Fe-Ze*Ie)*tt,y(K)0&&(Mt[1]*=1+$/1.5*Mt[0]*Mt[0]),Mt}return rt.invert=pe(rt),rt}function Oe(){return(0,d.Z)(xe()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function _e(et,rt){var ct,vt=et*p(rt),St=30;do rt-=ct=(rt+p(rt)-vt)/(1+g(rt));while(y(ct)>v&&--St>0);return rt/2}function Me(et,rt,ct){function vt(St,Mt){return[et*St*g(Mt=_e(ct,Mt)),rt*p(Mt)]}return vt.invert=function(St,Mt){return Mt=R(Mt/rt),[St/(et*g(Mt)),R((2*Mt+p(2*Mt))/ct)]},vt}ye.invert=function(et,rt){var ct=2*R(rt/2);return[et*g(ct/2)/g(ct),ct]};var Se=Me(A/T,A,x);function Ce(){return(0,d.Z)(Se).scale(169.529)}var ae=2.00276,he=1.11072;function be(et,rt){var ct=_e(x,rt);return[ae*et/(1/g(rt)+he/g(ct)),(rt+A*p(ct))/ae]}function ke(){return(0,d.Z)(be).scale(160.857)}function Le(et){var rt=0,ct=(0,d.r)(et),vt=ct(rt);return vt.parallel=function(St){return arguments.length?ct(rt=St*I):rt*P},vt}function Be(et,rt){return[et*g(rt),rt]}function ze(){return(0,d.Z)(Be).scale(152.63)}function je(et){if(!et)return Be;var rt=1/w(et);function ct(vt,St){var Mt=rt+et-St,$=Mt&&vt*g(St)/Mt;return[Mt*p($),rt-Mt*g($)]}return ct.invert=function(vt,St){var Mt=F(vt*vt+(St=rt-St)*St),$=rt+et-Mt;return[Mt/g($)*M(vt,St),$]},ct}function ge(){return Le(je).scale(123.082).center([0,26.1441]).parallel(45)}function we(et){function rt(ct,vt){var St=T-vt,Mt=St&&ct*et*p(St)/St;return[St*p(Mt)/et,T-St*g(Mt)]}return rt.invert=function(ct,vt){var St=ct*et,Mt=T-vt,$=F(St*St+Mt*Mt),ee=M(St,Mt);return[($?$/p($):1)*ee/et,T-$]},rt}function Ee(){var et=.5,rt=(0,d.r)(we),ct=rt(et);return ct.fraction=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(158.837)}be.invert=function(et,rt){var ct,vt,St=ae*rt,Mt=rt<0?-C:C,$=25;do vt=St-A*p(Mt),Mt-=ct=(p(2*Mt)+2*Mt-x*p(vt))/(2*g(2*Mt)+2+x*g(vt)*A*g(Mt));while(y(ct)>v&&--$>0);return vt=St-A*p(Mt),[et*(1/g(vt)+he/g(Mt))/ae,vt]},Be.invert=function(et,rt){return[et/g(rt),rt]};var Ve=Me(1,4/x,x);function Ye(){return(0,d.Z)(Ve).scale(152.63)}var $e=t(66624),st=t(49386);function ot(et,rt,ct,vt,St,Mt){var $,ee=g(Mt);if(y(et)>1||y(Mt)>1)$=D(ct*St+rt*vt*ee);else{var K=p(et/2),le=p(Mt/2);$=2*R(F(K*K+rt*vt*le*le))}return y($)>v?[$,M(vt*p(Mt),rt*St-ct*vt*ee)]:[0,0]}function ft(et,rt,ct){return D((et*et+rt*rt-ct*ct)/(2*et*rt))}function bt(et){return et-2*x*l((et+x)/(2*x))}function Et(et,rt,ct){for(var vt,St=[[et[0],et[1],p(et[1]),g(et[1])],[rt[0],rt[1],p(rt[1]),g(rt[1])],[ct[0],ct[1],p(ct[1]),g(ct[1])]],Mt=St[2],$=0;$<3;++$,Mt=vt)vt=St[$],Mt.v=ot(vt[1]-Mt[1],Mt[3],Mt[2],vt[3],vt[2],vt[0]-Mt[0]),Mt.point=[0,0];var ee=ft(St[0].v[0],St[2].v[0],St[1].v[0]),K=ft(St[0].v[0],St[1].v[0],St[2].v[0]),le=x-ee;St[2].point[1]=0,St[0].point[0]=-(St[1].point[0]=St[0].v[0]/2);var Te=[St[2].point[0]=St[0].point[0]+St[2].v[0]*g(ee),2*(St[0].point[1]=St[1].point[1]=St[2].v[0]*p(ee))];return function(De,He){var Ze,at=p(He),Tt=g(He),At=new Array(3);for(Ze=0;Ze<3;++Ze){var se=St[Ze];if(At[Ze]=ot(He-se[1],se[3],se[2],Tt,at,De-se[0]),!At[Ze][0])return se.point;At[Ze][1]=bt(At[Ze][1]-se.v[1])}var ve=Te.slice();for(Ze=0;Ze<3;++Ze){var Ie=Ze==2?0:Ze+1,Fe=ft(St[Ze].v[0],At[Ze][0],At[Ie][0]);At[Ze][1]<0&&(Fe=-Fe),Ze?Ze==1?(Fe=K-Fe,ve[0]-=At[Ze][0]*g(Fe),ve[1]-=At[Ze][0]*p(Fe)):(Fe=le-Fe,ve[0]+=At[Ze][0]*g(Fe),ve[1]+=At[Ze][0]*p(Fe)):(ve[0]+=At[Ze][0]*g(Fe),ve[1]-=At[Ze][0]*p(Fe))}return ve[0]/=3,ve[1]/=3,ve}}function kt(et){return et[0]*=I,et[1]*=I,et}function xt(){return Ft([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ft(et,rt,ct){var vt=(0,$e.Z)({type:"MultiPoint",coordinates:[et,rt,ct]}),St=[-vt[0],-vt[1]],Mt=(0,st.Z)(St),$=Et(kt(Mt(et)),kt(Mt(rt)),kt(Mt(ct)));$.invert=pe($);var ee=(0,d.Z)($).rotate(St),K=ee.center;return delete ee.rotate,ee.center=function(le){return arguments.length?K(Mt(le)):Mt.invert(K())},ee.clipAngle(90)}function Rt(et,rt){var ct=F(1-p(rt));return[2/L*et*ct,L*(1-ct)]}function Bt(){return(0,d.Z)(Rt).scale(95.6464).center([0,30])}function qt(et){var rt=w(et);function ct(vt,St){return[vt,(vt?vt/p(vt):1)*(p(St)*g(vt)-rt*g(St))]}return ct.invert=rt?function(vt,St){vt&&(St*=p(vt)/vt);var Mt=g(vt);return[vt,2*M(F(Mt*Mt+rt*rt-St*St)-Mt,rt-St)]}:function(vt,St){return[vt,R(vt?St*w(vt)/vt:St)]},ct}function Vt(){return Le(qt).scale(249.828).clipAngle(90)}Rt.invert=function(et,rt){var ct=(ct=rt/L-1)*ct;return[ct>0?et*F(x/ct)/2:0,R(1-ct)]};var Ke=F(3);function Je(et,rt){return[Ke*et*(2*g(2*rt/3)-1)/L,Ke*L*p(rt/3)]}function qe(){return(0,d.Z)(Je).scale(156.19)}function nt(et){var rt=g(et);function ct(vt,St){return[vt*rt,p(St)/rt]}return ct.invert=function(vt,St){return[vt/rt,R(St*rt)]},ct}function ht(){return Le(nt).parallel(38.58).scale(195.044)}function Pe(et){var rt=g(et);function ct(vt,St){return[vt*rt,(1+rt)*w(St/2)]}return ct.invert=function(vt,St){return[vt/rt,2*i(St/(1+rt))]},ct}function Ne(){return Le(Pe).scale(124.75)}function Qe(et,rt){var ct=F(8/(3*x));return[ct*et*(1-y(rt)/x),ct*rt]}function ut(){return(0,d.Z)(Qe).scale(165.664)}function dt(et,rt){var ct=F(4-3*p(y(rt)));return[2/F(6*x)*et*ct,f(rt)*F(2*x/3)*(2-ct)]}function _t(){return(0,d.Z)(dt).scale(165.664)}function It(et,rt){var ct=F(x*(4+x));return[2/ct*et*(1+F(1-4*rt*rt/(x*x))),4/ct*rt]}function Lt(){return(0,d.Z)(It).scale(180.739)}function yt(et,rt){var ct=(2+T)*p(rt);rt/=2;for(var vt=0,St=1/0;vt<10&&y(St)>v;vt++){var Mt=g(rt);rt-=St=(rt+p(rt)*(Mt+2)-ct)/(2*Mt*(1+Mt))}return[2/F(x*(4+x))*et*(1+g(rt)),2*F(x/(4+x))*p(rt)]}function Ot(){return(0,d.Z)(yt).scale(180.739)}function wt(et,rt){return[et*(1+g(rt))/F(2+x),2*rt/F(2+x)]}function Pt(){return(0,d.Z)(wt).scale(173.044)}function Nt(et,rt){for(var ct=(1+T)*p(rt),vt=0,St=1/0;vt<10&&y(St)>v;vt++)rt-=St=(rt+p(rt)-ct)/(1+g(rt));return ct=F(2+x),[et*(1+g(rt))/ct,2*rt/ct]}function $t(){return(0,d.Z)(Nt).scale(173.044)}Je.invert=function(et,rt){var ct=3*R(rt/(Ke*L));return[L*et/(Ke*(2*g(2*ct/3)-1)),ct]},Qe.invert=function(et,rt){var ct=F(8/(3*x)),vt=rt/ct;return[et/(ct*(1-y(vt)/x)),vt]},dt.invert=function(et,rt){var ct=2-y(rt)/F(2*x/3);return[et*F(6*x)/(2*ct),f(rt)*R((4-ct*ct)/3)]},It.invert=function(et,rt){var ct=F(x*(4+x))/2;return[et*ct/(1+F(1-rt*rt*(4+x)/(4*x))),rt*ct/2]},yt.invert=function(et,rt){var ct=rt*F((4+x)/x)/2,vt=R(ct),St=g(vt);return[et/(2/F(x*(4+x))*(1+St)),R((vt+ct*(St+2))/(2+T))]},wt.invert=function(et,rt){var ct=F(2+x),vt=rt*ct/2;return[ct*et/(1+g(vt)),vt]},Nt.invert=function(et,rt){var ct=1+T,vt=F(ct/2);return[2*et*vt/(1+g(rt*=vt)),R((rt+p(rt))/ct)]};var Wt=3+2*A;function Xt(et,rt){var ct=p(et/=2),vt=g(et),St=F(g(rt)),Mt=g(rt/=2),$=p(rt)/(Mt+A*vt*St),ee=F(2/(1+$*$)),K=F((A*Mt+(vt+ct)*St)/(A*Mt+(vt-ct)*St));return[Wt*(ee*(K-1/K)-2*a(K)),Wt*(ee*$*(K+1/K)-2*i($))]}function Qt(){return(0,d.Z)(Xt).scale(62.5271)}Xt.invert=function(et,rt){if(!(ct=H.invert(et/1.2,1.065*rt)))return null;var ct,vt=ct[0],St=ct[1],Mt=20;et/=Wt,rt/=Wt;do{var $=vt/2,ee=St/2,K=p($),le=g($),Te=p(ee),De=g(ee),He=g(St),Ze=F(He),at=Te/(De+A*le*Ze),Tt=at*at,At=F(2/(1+Tt)),se=(A*De+(le+K)*Ze)/(A*De+(le-K)*Ze),ve=F(se),Ie=ve-1/ve,Fe=ve+1/ve,Ue=At*Ie-2*a(ve)-et,We=At*at*Fe-2*i(at)-rt,Xe=Te&&_*Ze*K*Tt/Te,tt=(A*le*De+Ze)/(2*(De+A*le*Ze)*(De+A*le*Ze)*Ze),lt=-.5*at*At*At*At,mt=lt*Xe,zt=lt*tt,Ut=(Ut=2*De+A*Ze*(le-K))*Ut*ve,Ht=(A*le*De*Ze+He)/Ut,en=-A*K*Te/(Ze*Ut),vn=Ie*mt-2*Ht/ve+At*(Ht+Ht/se),tn=Ie*zt-2*en/ve+At*(en+en/se),ln=at*Fe*mt-2*Xe/(1+Tt)+At*Fe*Xe+At*at*(Ht-Ht/se),an=at*Fe*zt-2*tt/(1+Tt)+At*Fe*tt+At*at*(en-en/se),Cn=tn*ln-an*vn;if(!Cn)break;var _n=(We*tn-Ue*an)/Cn,on=(Ue*ln-We*vn)/Cn;vt-=_n,St=u(-T,o(T,St-on))}while((y(_n)>v||y(on)>v)&&--Mt>0);return y(y(St)-T)vt){var De=F(Te),He=M(le,K),Ze=ct*c(He/ct),at=He-Ze,Tt=et*g(at),At=(et*p(at)-at*p(Tt))/(T-Tt),se=Gn(at,At),ve=(x-et)/qn(se,Tt,x);K=De;var Ie,Fe=50;do K-=Ie=(et+qn(se,Tt,K)*ve-De)/(se(K)*ve);while(y(Ie)>v&&--Fe>0);le=at*p(K),Kvt){var K=F(ee),le=M($,Mt),Te=ct*c(le/ct),De=le-Te;Mt=K*g(De),$=K*p(De);for(var He=Mt-T,Ze=p(Mt),at=$/Ze,Tt=Mtv||y(He)>v)&&--Tt>0);return[Ze,at]},K}var Sr=rr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function yr(){return(0,d.Z)(Sr).scale(149.995)}var or=rr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function vr(){return(0,d.Z)(or).scale(153.93)}var _r=rr(5/6*x,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Kt(){return(0,d.Z)(_r).scale(130.945)}function bn(et,rt){var ct=et*et,vt=rt*rt;return[et*(1-.162388*vt)*(.87-952426e-9*ct*ct),rt*(1+vt/12)]}function Pn(){return(0,d.Z)(bn).scale(131.747)}bn.invert=function(et,rt){var ct,vt=et,St=rt,Mt=50;do{var $=St*St;St-=ct=(St*(1+$/12)-rt)/(1+$/4)}while(y(ct)>v&&--Mt>0);Mt=50,et/=1-.162388*$;do{var ee=(ee=vt*vt)*ee;vt-=ct=(vt*(.87-952426e-9*ee)-et)/(.87-.00476213*ee)}while(y(ct)>v&&--Mt>0);return[vt,St]};var Ln=rr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Un(){return(0,d.Z)(Ln).scale(131.087)}function Kn(et){var rt=et(T,0)[0]-et(-T,0)[0];function ct(vt,St){var Mt=vt>0?-.5:.5,$=et(vt+Mt*x,St);return $[0]-=Mt*rt,$}return et.invert&&(ct.invert=function(vt,St){var Mt=vt>0?-.5:.5,$=et.invert(vt+Mt*rt,St),ee=$[0]-Mt*x;return ee<-x?ee+=2*x:ee>x&&(ee-=2*x),$[0]=ee,$}),ct}function Yn(et,rt){var ct=f(et),vt=f(rt),St=g(rt),Mt=g(et)*St,$=p(et)*St,ee=p(vt*rt);et=y(M($,ee)),rt=R(Mt),y(et-T)>v&&(et%=T);var K=function(le,Te){if(Te===T)return[0,0];var De,He,Ze=p(Te),at=Ze*Ze,Tt=at*at,At=1+Tt,se=1+3*Tt,ve=1-Tt,Ie=R(1/F(At)),Fe=ve+at*At*Ie,Ue=(1-Ze)/Fe,We=F(Ue),Xe=Ue*At,tt=F(Xe),lt=We*ve;if(le===0)return[0,-(lt+at*tt)];var mt,zt=g(Te),Ut=1/zt,Ht=2*Ze*zt,en=(-Fe*zt-(-3*at+Ie*se)*Ht*(1-Ze))/(Fe*Fe),vn=-Ut*Ht,tn=-Ut*(at*At*en+Ue*se*Ht),ln=-2*Ut*(ve*(.5*en/We)-2*at*We*Ht),an=4*le/x;if(le>.222*x||Te.175*x){if(De=(lt+at*F(Xe*(1+Tt)-lt*lt))/(1+Tt),le>x/4)return[De,De];var Cn=De,_n=.5*De;De=.5*(_n+Cn),He=50;do{var on=De*(ln+vn*F(Xe-De*De))+tn*R(De/tt)-an;if(!on)break;on<0?_n=De:Cn=De,De=.5*(_n+Cn)}while(y(Cn-_n)>v&&--He>0)}else{De=v,He=25;do{var Fn=De*De,Hn=F(Xe-Fn),ir=ln+vn*Hn,ar=De*ir+tn*R(De/tt)-an;De-=mt=Hn?ar/(ir+(tn-vn*Fn)/Hn):0}while(y(mt)>v&&--He>0)}return[De,-lt-at*F(Xe-De*De)]}(et>x/4?T-et:et,rt);return et>x/4&&(ee=K[0],K[0]=-K[1],K[1]=-ee),K[0]*=ct,K[1]*=-vt,K}function tr(){return(0,d.Z)(Kn(Yn)).scale(239.75)}function mr(et,rt){var ct,vt,St,Mt,$,ee;if(rt=.999999)return ct=(1-rt)/4,St=1/(vt=N(et)),[(Mt=((ee=h(2*(ee=et)))-1)/(ee+1))+ct*(($=vt*B(et))-et)/(vt*vt),St-ct*Mt*St*($-et),St+ct*Mt*St*($+et),2*i(h(et))-T+ct*($-et)/vt];var K=[1,0,0,0,0,0,0,0,0],le=[F(rt),0,0,0,0,0,0,0,0],Te=0;for(vt=F(1-rt),$=1;y(le[Te]/K[Te])>v&&Te<8;)ct=K[Te++],le[Te]=(ct-vt)/2,K[Te]=(ct+vt)/2,vt=F(ct*vt),$*=2;St=$*K[Te]*et;do St=(R(Mt=le[Te]*p(vt=St)/K[Te])+St)/2;while(--Te);return[p(St),Mt=g(St),Mt/g(St-vt),St]}function nn(et,rt){if(!rt)return et;if(rt===1)return a(w(et/2+C));for(var ct=1,vt=F(1-rt),St=F(rt),Mt=0;y(St)>v;Mt++){if(et%x){var $=i(vt*w(et)/ct);$<0&&($+=x),et+=$+~~(et/x)*x}else et+=et;St=(ct+vt)/2,vt=F(ct*vt),St=((ct=St)-vt)/2}return et/(s(2,Mt)*ct)}function On(et,rt){var ct=(A-1)/(A+1),vt=F(1-ct*ct),St=nn(T,vt*vt),Mt=a(w(x/4+y(rt)/2)),$=h(-1*Mt)/F(ct),ee=function(le,Te){var De=le*le,He=Te+1,Ze=1-De-Te*Te;return[.5*((le>=0?T:-T)-M(Ze,2*le)),-.25*a(Ze*Ze+4*De)+.5*a(He*He+De)]}($*g(-1*et),$*p(-1*et)),K=function(le,Te,De){var He=y(le),Ze=B(y(Te));if(He){var at=1/p(He),Tt=1/(w(He)*w(He)),At=-(Tt+De*(Ze*Ze*at*at)-1+De),se=(-At+F(At*At-(De-1)*Tt*4))/2;return[nn(i(1/F(se)),De)*f(le),nn(i(F((se/Tt-1)/De)),1-De)*f(Te)]}return[0,nn(i(Ze),1-De)*f(Te)]}(ee[0],ee[1],vt*vt);return[-K[1],(rt>=0?1:-1)*(.5*St-K[0])]}function jt(){return(0,d.Z)(Kn(On)).scale(151.496)}Yn.invert=function(et,rt){y(et)>1&&(et=2*f(et)-et),y(rt)>1&&(rt=2*f(rt)-rt);var ct=f(et),vt=f(rt),St=-ct*et,Mt=-vt*rt,$=Mt/St<1,ee=function(De,He){for(var Ze=0,at=1,Tt=.5,At=50;;){var se=Tt*Tt,ve=F(Tt),Ie=R(1/F(1+se)),Fe=1-se+Tt*(1+se)*Ie,Ue=(1-ve)/Fe,We=F(Ue),Xe=Ue*(1+se),tt=We*(1-se),lt=F(Xe-De*De),mt=He+tt+Tt*lt;if(y(at-Ze)0?Ze=Tt:at=Tt,Tt=.5*(Ze+at)}if(!At)return null;var zt=R(ve),Ut=g(zt),Ht=1/Ut,en=2*ve*Ut,vn=(-Fe*Ut-(-3*Tt+Ie*(1+3*se))*en*(1-ve))/(Fe*Fe);return[x/4*(De*(-2*Ht*(.5*vn/We*(1-se)-2*Tt*We*en)+-Ht*en*lt)+-Ht*(Tt*(1+se)*vn+Ue*(1+3*se)*en)*R(De/F(Xe))),zt]}($?Mt:St,$?St:Mt),K=ee[0],le=ee[1],Te=g(le);return $&&(K=-T-K),[ct*(M(p(K)*Te,-p(le))+x),vt*R(g(K)*Te)]},On.invert=function(et,rt){var ct,vt,St,Mt,$,ee,K=(A-1)/(A+1),le=F(1-K*K),Te=(vt=-et,St=le*le,(ct=.5*nn(T,le*le)-rt)?(Mt=mr(ct,St),vt?(ee=($=mr(vt,1-St))[1]*$[1]+St*Mt[0]*Mt[0]*$[0]*$[0],[[Mt[0]*$[2]/ee,Mt[1]*Mt[2]*$[0]*$[1]/ee],[Mt[1]*$[1]/ee,-Mt[0]*Mt[2]*$[0]*$[2]/ee],[Mt[2]*$[1]*$[2]/ee,-St*Mt[0]*Mt[1]*$[0]/ee]]):[[Mt[0],0],[Mt[1],0],[Mt[2],0]]):[[0,($=mr(vt,1-St))[0]/$[1]],[1/$[1],0],[$[2]/$[1],0]]),De=function(He,Ze){var at=Ze[0]*Ze[0]+Ze[1]*Ze[1];return[(He[0]*Ze[0]+He[1]*Ze[1])/at,(He[1]*Ze[0]-He[0]*Ze[1])/at]}(Te[0],Te[1]);return[M(De[1],De[0])/-1,2*i(h(-.5*a(K*De[0]*De[0]+K*De[1]*De[1])))-T]};var Jt=t(7613);function fn(et){var rt=p(et),ct=g(et),vt=zn(et);function St(Mt,$){var ee=vt(Mt,$);Mt=ee[0],$=ee[1];var K=p($),le=g($),Te=g(Mt),De=D(rt*K+ct*le*Te),He=p(De),Ze=y(He)>v?De/He:1;return[Ze*ct*p(Mt),(y(Mt)>T?Ze:-Ze)*(rt*le-ct*K*Te)]}return vt.invert=zn(-et),St.invert=function(Mt,$){var ee=F(Mt*Mt+$*$),K=-p(ee),le=g(ee),Te=ee*le,De=-$*K,He=ee*rt,Ze=F(Te*Te+De*De-He*He),at=M(Te*He+De*Ze,De*He-Te*Ze),Tt=(ee>T?-1:1)*M(Mt*K,ee*g(at)*le+$*p(at)*K);return vt.invert(Tt,at)},St}function zn(et){var rt=p(et),ct=g(et);return function(vt,St){var Mt=g(St),$=g(vt)*Mt,ee=p(vt)*Mt,K=p(St);return[M(ee,$*ct-K*rt),R(K*ct+$*rt)]}}function Rn(){var et=0,rt=(0,d.r)(fn),ct=rt(et),vt=ct.rotate,St=ct.stream,Mt=(0,Jt.Z)();return ct.parallel=function($){if(!arguments.length)return et*P;var ee=ct.rotate();return rt(et=$*I).rotate(ee)},ct.rotate=function($){return arguments.length?(vt.call(ct,[$[0],$[1]-et*P]),Mt.center([-$[0],-$[1]]),ct):(($=vt.call(ct))[1]+=et*P,$)},ct.stream=function($){return($=St($)).sphere=function(){$.polygonStart();var ee,K=Mt.radius(89.99)().coordinates[0],le=K.length-1,Te=-1;for($.lineStart();++Te=0;)$.point((ee=K[Te])[0],ee[1]);$.lineEnd(),$.polygonEnd()},$},ct.scale(79.4187).parallel(45).clipAngle(179.999)}var En=t(33064),mn=t(72736),wn=R(1-1/3)*P,gn=nt(0);function yn(et){var rt=wn*I,ct=Rt(x,rt)[0]-Rt(-x,rt)[0],vt=gn(0,rt)[1],St=Rt(0,rt)[1],Mt=L-St,$=b/et,ee=4/b,K=vt+Mt*Mt*4/b;function le(Te,De){var He,Ze=y(De);if(Ze>rt){var at=o(et-1,u(0,l((Te+x)/$)));(He=Rt(Te+=x*(et-1)/et-at*$,Ze))[0]=He[0]*b/ct-b*(et-1)/(2*et)+at*b/et,He[1]=vt+4*(He[1]-St)*Mt/b,De<0&&(He[1]=-He[1])}else He=gn(Te,De);return He[0]*=ee,He[1]/=K,He}return le.invert=function(Te,De){Te/=ee;var He=y(De*=K);if(He>vt){var Ze=o(et-1,u(0,l((Te+x)/$)));Te=(Te+x*(et-1)/et-Ze*$)*ct/b;var at=Rt.invert(Te,.25*(He-vt)*b/Mt+St);return at[0]-=x*(et-1)/et-Ze*$,De<0&&(at[1]=-at[1]),at}return gn.invert(Te,De)},le}function Sn(et,rt){return[et,1&rt?89.999999:wn]}function Vn(et,rt){return[et,1&rt?-89.999999:-wn]}function Xn(et){return[.999999*et[0],et[1]]}function nr(){var et=4,rt=(0,d.r)(yn),ct=rt(et),vt=ct.stream;return ct.lobes=function(St){return arguments.length?rt(et=+St):et},ct.stream=function(St){var Mt=ct.rotate(),$=vt(St),ee=(ct.rotate([0,0]),vt(St));return ct.rotate(Mt),$.sphere=function(){var K,le;(0,mn.Z)((K=180/et,le=[].concat((0,En.w6)(-180,180+K/2,K).map(Sn),(0,En.w6)(180,-180-K/2,-K).map(Vn)),{type:"Polygon",coordinates:[K===180?le.map(Xn):le]}),ee)},$},ct.scale(239.75)}function Qn(et){var rt,ct=1+et,vt=R(p(1/ct)),St=2*F(x/(rt=x+4*vt*ct)),Mt=.5*St*(ct+F(et*(2+et))),$=et*et,ee=ct*ct;function K(le,Te){var De,He,Ze=1-p(Te);if(Ze&&Ze<2){var at,Tt=T-Te,At=25;do{var se=p(Tt),ve=g(Tt),Ie=vt+M(se,ct-ve),Fe=1+ee-2*ct*ve;Tt-=at=(Tt-$*vt-ct*se+Fe*Ie-.5*Ze*rt)/(2*ct*se*Ie)}while(y(at)>S&&--At>0);De=St*F(Fe),He=le*Ie/x}else De=St*(et+Ze),He=le*vt/x;return[De*p(He),Mt-De*g(He)]}return K.invert=function(le,Te){var De=le*le+(Te-=Mt)*Te,He=(1+ee-De/(St*St))/(2*ct),Ze=D(He),at=p(Ze),Tt=vt+M(at,ct-He);return[R(le/F(De))*x/Tt,R(1-2*(Ze-$*vt-ct*at+(1+ee-2*ct*He)*Tt)/rt)]},K}function fr(){var et=1,rt=(0,d.r)(Qn),ct=rt(et);return ct.ratio=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(167.774).center([0,18.67])}var cr=.7109889596207567,pr=.0528035274542;function dr(et,rt){return rt>-cr?((et=Se(et,rt))[1]+=pr,et):Be(et,rt)}function br(){return(0,d.Z)(dr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Pr(et,rt){return y(rt)>cr?((et=Se(et,rt))[1]-=rt>0?pr:-pr,et):Be(et,rt)}function Lr(){return(0,d.Z)(Pr).scale(152.63)}function zr(et,rt,ct,vt){var St=F(4*x/(2*ct+(1+et-rt/2)*p(2*ct)+(et+rt)/2*p(4*ct)+rt/2*p(6*ct))),Mt=F(vt*p(ct)*F((1+et*g(2*ct)+rt*g(4*ct))/(1+et+rt))),$=ct*K(1);function ee(De){return F(1+et*g(2*De)+rt*g(4*De))}function K(De){var He=De*ct;return(2*He+(1+et-rt/2)*p(2*He)+(et+rt)/2*p(4*He)+rt/2*p(6*He))/ct}function le(De){return ee(De)*p(De)}var Te=function(De,He){var Ze=ct*me(K,$*p(He)/ct,He/x);isNaN(Ze)&&(Ze=ct*f(He));var at=St*ee(Ze);return[at*Mt*De/x*g(Ze),at/Mt*p(Ze)]};return Te.invert=function(De,He){var Ze=me(le,He*Mt/St);return[De*x/(g(Ze)*St*Mt*ee(Ze)),R(ct*K(Ze/ct)/$)]},ct===0&&(St=F(vt/x),(Te=function(De,He){return[De*St,p(He)/St]}).invert=function(De,He){return[De/St,R(He*St)]}),Te}function gr(){var et=1,rt=0,ct=45*I,vt=2,St=(0,d.r)(zr),Mt=St(et,rt,ct,vt);return Mt.a=function($){return arguments.length?St(et=+$,rt,ct,vt):et},Mt.b=function($){return arguments.length?St(et,rt=+$,ct,vt):rt},Mt.psiMax=function($){return arguments.length?St(et,rt,ct=+$*I,vt):ct*P},Mt.ratio=function($){return arguments.length?St(et,rt,ct,vt=+$):vt},Mt.scale(180.739)}function Fr(et,rt,ct,vt,St,Mt,$,ee,K,le,Te){if(Te.nanEncountered)return NaN;var De,He,Ze,at,Tt,At,se,ve,Ie,Fe;if(He=et(rt+.25*(De=ct-rt)),Ze=et(ct-.25*De),isNaN(He))Te.nanEncountered=!0;else{if(!isNaN(Ze))return Fe=((At=(at=De*(vt+4*He+St)/12)+(Tt=De*(St+4*Ze+Mt)/12))-$)/15,le>K?(Te.maxDepthCount++,At+Fe):Math.abs(Fe)Ze?Tt=At:at=At,At=at+Tt>>1;while(At>at);var se=K[At+1]-K[At];return se&&(se=(Ze-K[At+1])/se),(At+1+se)/$}var De=2*Te(1)/x*Mt/ct,He=function(Ze,at){var Tt=Te(y(p(at))),At=vt(Tt)*Ze;return Tt/=De,[At,at>=0?Tt:-Tt]};return He.invert=function(Ze,at){var Tt;return y(at*=De)<1&&(Tt=f(at)*R(St(y(at))*Mt)),[Ze/vt(y(at)),Tt]},He}function ta(){var et=0,rt=2.5,ct=1.183136,vt=(0,d.r)(ji),St=vt(et,rt,ct);return St.alpha=function(Mt){return arguments.length?vt(et=+Mt,rt,ct):et},St.k=function(Mt){return arguments.length?vt(et,rt=+Mt,ct):rt},St.gamma=function(Mt){return arguments.length?vt(et,rt,ct=+Mt):ct},St.scale(152.63)}function sa(et,rt){return y(et[0]-rt[0])=0;--ee)ct=(rt=et[1][ee])[0][0],vt=rt[0][1],St=rt[1][1],Mt=rt[2][0],$=rt[2][1],K.push(uo([[Mt-v,$-v],[Mt-v,St+v],[ct+v,St+v],[ct+v,vt-v]],30));return{type:"Polygon",coordinates:[(0,En.TS)(K)]}}function Xi(et,rt,ct){var vt,St;function Mt(K,le){for(var Te=le<0?-1:1,De=rt[+(le<0)],He=0,Ze=De.length-1;HeDe[He][2][0];++He);var at=et(K-De[He][1][0],le);return at[0]+=et(De[He][1][0],Te*le>Te*De[He][0][1]?De[He][0][1]:le)[0],at}ct?Mt.invert=ct(Mt):et.invert&&(Mt.invert=function(K,le){for(var Te=St[+(le<0)],De=rt[+(le<0)],He=0,Ze=Te.length;HeTt&&(De=at,at=Tt,Tt=De),[[He,at],[Ze,Tt]]})}),$):rt.map(function(le){return le.map(function(Te){return[[Te[0][0]*P,Te[0][1]*P],[Te[1][0]*P,Te[1][1]*P],[Te[2][0]*P,Te[2][1]*P]]})})},rt!=null&&$.lobes(rt),$}dr.invert=function(et,rt){return rt>-cr?Se.invert(et,rt-pr):Be.invert(et,rt)},Pr.invert=function(et,rt){return y(rt)>cr?Se.invert(et,rt+(rt>0?pr:-pr)):Be.invert(et,rt)};var Do=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function as(){return Xi(be,Do).scale(160.857)}var tl=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Cu(){return Xi(Pr,tl).scale(152.63)}var gh=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Af(){return Xi(Se,gh).scale(169.529)}var Eu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function os(){return Xi(Se,Eu).scale(169.529).rotate([20,0])}var Sf=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function $a(){return Xi(dr,Sf,pe).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var uc=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function Yo(){return Xi(Be,uc).scale(152.63).rotate([-20,0])}function ss(et,rt){return[3/b*et*F(x*x/3-rt*rt),rt]}function Al(){return(0,d.Z)(ss).scale(158.837)}function Ui(et){function rt(ct,vt){if(y(y(vt)-T)2)return null;var Mt=(ct/=2)*ct,$=(vt/=2)*vt,ee=2*vt/(1+Mt+$);return ee=s((1+ee)/(1-ee),1/et),[M(2*ct,1-Mt-$)/et,R((ee-1)/(ee+1))]},rt}function Sl(){var et=.5,rt=(0,d.r)(Ui),ct=rt(et);return ct.spacing=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(124.75)}ss.invert=function(et,rt){return[b/3*et/F(x*x/3-rt*rt),rt]};var ms=x/A;function Is(et,rt){return[et*(1+F(g(rt)))/2,rt/(g(rt/2)*g(et/6))]}function js(){return(0,d.Z)(Is).scale(97.2672)}function cc(et,rt){var ct=et*et,vt=rt*rt;return[et*(.975534+vt*(-.0143059*ct-.119161+-.0547009*vt)),rt*(1.00384+ct*(.0802894+-.02855*vt+199025e-9*ct)+vt*(.0998909+-.0491032*vt))]}function vh(){return(0,d.Z)(cc).scale(139.98)}function nl(et,rt){return[p(et)/g(rt),w(rt)*g(et)]}function yh(){return(0,d.Z)(nl).scale(144.049).clipAngle(89.999)}function bh(et){var rt=g(et),ct=w(C+et/2);function vt(St,Mt){var $=Mt-et,ee=y($)=0;)He=(De=et[Te])[0]+K*(Mt=He)-le*Ze,Ze=De[1]+K*Ze+le*Mt;return[He=K*(Mt=He)-le*Ze,Ze=K*Ze+le*Mt]}return ct.invert=function(vt,St){var Mt=20,$=vt,ee=St;do{for(var K,le=rt,Te=et[le],De=Te[0],He=Te[1],Ze=0,at=0;--le>=0;)Ze=De+$*(K=Ze)-ee*at,at=He+$*at+ee*K,De=(Te=et[le])[0]+$*(K=De)-ee*He,He=Te[1]+$*He+ee*K;var Tt,At,se=(Ze=De+$*(K=Ze)-ee*at)*Ze+(at=He+$*at+ee*K)*at;$-=Tt=((De=$*(K=De)-ee*He-vt)*Ze+(He=$*He+ee*K-St)*at)/se,ee-=At=(He*Ze-De*at)/se}while(y(Tt)+y(At)>1e-12&&--Mt>0);if(Mt){var ve=F($*$+ee*ee),Ie=2*i(.5*ve),Fe=p(Ie);return[M($*Fe,ve*g(Ie)),ve?R(ee*Fe/ve):0]}},ct}Is.invert=function(et,rt){var ct=y(et),vt=y(rt),St=v,Mt=T;vtv||y(At)>v)&&--St>0);return St&&[ct,vt]},nl.invert=function(et,rt){var ct=et*et,vt=rt*rt+1,St=ct+vt,Mt=et?_*F((St-F(St*St-4*ct))/ct):1/F(vt);return[R(et*Mt),f(rt)*D(Mt)]},Cf.invert=function(et,rt){return[et,2.5*i(h(.8*rt))-.625*x]};var rl=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],il=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Lu=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],al=[[.9245,0],[0,0],[.01943,0]],Lf=[[.721316,0],[0,0],[-.00881625,-.00617325]];function If(){return Ql(rl,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Jl(){return Ql(il,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function Vc(){return Ql(Lu,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Cl(){return Ql(al,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Iu(){return Ql(Lf,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ql(et,rt){var ct=(0,d.Z)(Ef(et)).rotate(rt).clipAngle(90),vt=(0,st.Z)(rt),St=ct.center;return delete ct.rotate,ct.center=function(Mt){return arguments.length?St(vt(Mt)):vt.invert(St())},ct}var ol=F(6),Hi=F(7);function El(et,rt){var ct=R(7*p(rt)/(3*ol));return[ol*et*(2*g(2*ct/3)-1)/Hi,9*p(ct/3)/Hi]}function ad(){return(0,d.Z)(El).scale(164.859)}function jc(et,rt){for(var ct,vt=(1+_)*p(rt),St=rt,Mt=0;Mt<25&&(St-=ct=(p(St/2)+p(St)-vt)/(.5*g(St/2)+g(St)),!(y(ct)S&&--ee>0);return[et/(.84719-.13063*(vt=$*$)+(Mt=vt*(St=vt*vt))*Mt*(.05494*vt-.04515-.02326*St+.00331*Mt)),$]},Ou.invert=function(et,rt){for(var ct=rt/2,vt=0,St=1/0;vt<10&&y(St)>v;++vt){var Mt=g(rt/2);rt-=St=(rt-w(rt/2)-ct)/(1-.5/(Mt*Mt))}return[2*et/(1+g(rt)),rt]};var tu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function nu(){return Xi(ce(1/0),tu).rotate([20,0]).scale(152.63)}function Ru(et,rt){var ct=p(rt),vt=g(rt),St=f(et);if(et===0||y(rt)===T)return[0,rt];if(rt===0)return[et,0];if(y(et)===T)return[et*vt,T*ct];var Mt=x/(2*et)-2*et/x,$=2*rt/x,ee=(1-$*$)/(ct-$),K=Mt*Mt,le=ee*ee,Te=1+K/le,De=1+le/K,He=(Mt*ct/ee-Mt/2)/Te,Ze=(le*ct/K+ee/2)/De,at=Ze*Ze-(le*ct*ct/K+ee*ct-1)/De;return[T*(He+F(He*He+vt*vt/Te)*St),T*(Ze+F(at<0?0:at)*f(-rt*Mt)*St)]}function pc(){return(0,d.Z)(Ru).scale(127.267)}Ru.invert=function(et,rt){var ct=(et/=T)*et,vt=ct+(rt/=T)*rt,St=x*x;return[et?(vt-1+F((1-vt)*(1-vt)+4*ct))/(2*et)*T:0,me(function(Mt){return vt*(x*p(Mt)-2*Mt)*x+4*Mt*Mt*(rt-p(Mt))+2*x*Mt-St*rt},0)]};var mc=1.0148,vs=.23185,gc=-.14499,vc=.02406,Of=1.790857183;function Ll(et,rt){var ct=rt*rt;return[et,rt*(mc+ct*ct*(vs+ct*(gc+vc*ct)))]}function Uc(){return(0,d.Z)(Ll).scale(139.319)}function yc(et,rt){if(y(rt)Of?rt=Of:rt<-1.790857183&&(rt=-1.790857183);var ct,vt=rt;do{var St=vt*vt;vt-=ct=(vt*(mc+St*St*(vs+St*(gc+vc*St)))-rt)/(1.0148+St*St*(1.1592500000000001+St*(.21654*St-1.01493)))}while(y(ct)>v);return[et,vt]},yc.invert=function(et,rt){if(y(rt)v&&--Mt>0);return $=w(St),[(y(rt)=0;)if(tt=We[Ut],Xe[0]===tt[0]&&Xe[1]===tt[1]){if(mt)return[mt,Xe];mt=Xe}}}(K.face,le.face),De=(Tt=Te.map(le.project),At=Te.map(K.project),se=iu(Tt[1],Tt[0]),ve=iu(At[1],At[0]),Ie=function(Ue,We){return M(Ue[0]*We[1]-Ue[1]*We[0],Ue[0]*We[0]+Ue[1]*We[1])}(se,ve),Fe=Ki(se)/Ki(ve),ru([1,0,Tt[0][0],0,1,Tt[0][1]],ru([Fe,0,0,0,Fe,0],ru([g(Ie),p(Ie),0,-p(Ie),g(Ie),0],[1,0,-At[0][0],0,1,-At[0][1]]))));K.transform=le.transform?ru(le.transform,De):De;for(var He=le.edges,Ze=0,at=He.length;Ze0?[-vt[0],0]:[180-vt[0],180])};var rt=Us.map(function(ct){return{face:ct,project:et(ct)}});return[-1,0,0,1,0,1,4,5].forEach(function(ct,vt){var St=rt[ct];St&&(St.children||(St.children=[])).push(rt[vt])}),Il(rt[0],function(ct,vt){return rt[ct<-x/2?vt<0?6:4:ct<0?vt<0?2:0:ctK^ve>K&&ee<(se-at)*(K-Tt)/(ve-Tt)+at&&(le=!le)}return le}(St[0],vt))return St.push(ct),!0})||et.push([ct])}),zo=[],et.length?et.length>1?{type:"MultiPolygon",coordinates:et}:{type:"Polygon",coordinates:et[0]}:null}};function Zo(et){var rt=et(T,0)[0]-et(-T,0)[0];function ct(vt,St){var Mt=y(vt)0?vt-x:vt+x,St),ee=($[0]-$[1])*_,K=($[0]+$[1])*_;if(Mt)return[ee,K];var le=rt*_,Te=ee>0^K>0?-1:1;return[Te*ee-f(K)*le,Te*K-f(ee)*le]}return et.invert&&(ct.invert=function(vt,St){var Mt=(vt+St)*_,$=(St-vt)*_,ee=y(Mt)<.5*rt&&y($)<.5*rt;if(!ee){var K=rt*_,le=Mt>0^$>0?-1:1,Te=-le*vt+($>0?1:-1)*K,De=-le*St+(Mt>0?1:-1)*K;Mt=(-Te-De)*_,$=(Te-De)*_}var He=et.invert(Mt,$);return ee||(He[0]+=Mt>0?x:-x),He}),(0,d.Z)(ct).rotate([-90,-90,45]).clipAngle(179.999)}function Gc(){return Zo(Yn).scale(176.423)}function qc(){return Zo(On).scale(111.48)}function Lo(et,rt){if(!(0<=(rt=+rt)&&rt<=20))throw new Error("invalid digits");function ct(le){var Te=le.length,De=2,He=new Array(Te);for(He[0]=+le[0].toFixed(rt),He[1]=+le[1].toFixed(rt);De2||Ze[0]!=Te[0]||Ze[1]!=Te[1])&&(De.push(Ze),Te=Ze)}return De.length===1&&le.length>1&&De.push(ct(le[le.length-1])),De}function Mt(le){return le.map(St)}function $(le){if(le==null)return le;var Te;switch(le.type){case"GeometryCollection":Te={type:"GeometryCollection",geometries:le.geometries.map($)};break;case"Point":Te={type:"Point",coordinates:ct(le.coordinates)};break;case"MultiPoint":Te={type:le.type,coordinates:vt(le.coordinates)};break;case"LineString":Te={type:le.type,coordinates:St(le.coordinates)};break;case"MultiLineString":case"Polygon":Te={type:le.type,coordinates:Mt(le.coordinates)};break;case"MultiPolygon":Te={type:"MultiPolygon",coordinates:le.coordinates.map(Mt)};break;default:return le}return le.bbox!=null&&(Te.bbox=le.bbox),Te}function ee(le){var Te={type:"Feature",properties:le.properties,geometry:$(le.geometry)};return le.id!=null&&(Te.id=le.id),le.bbox!=null&&(Te.bbox=le.bbox),Te}if(et!=null)switch(et.type){case"Feature":return ee(et);case"FeatureCollection":var K={type:"FeatureCollection",features:et.features.map(ee)};return et.bbox!=null&&(K.bbox=et.bbox),K;default:return $(et)}return et}function Dr(et){var rt=p(et);function ct(vt,St){var Mt=rt?w(vt*rt/2)/rt:vt/2;if(!St)return[2*Mt,-et];var $=2*i(Mt*p(St)),ee=1/w(St);return[p($)*ee,St+(1-g($))*ee-et]}return ct.invert=function(vt,St){if(y(St+=et)v&&--K>0);var He=vt*(le=w(ee)),Ze=w(y(St)0?T:-T)*(le+Mt*(De-ee)/2+Mt*Mt*(De-2*le+ee)/2)]}function zu(){return(0,d.Z)(Wc).scale(152.63)}function Fu(et,rt){var ct=function($){function ee(K,le){var Te=g(le),De=($-1)/($-Te*g(K));return[De*Te*p(K),De*p(le)]}return ee.invert=function(K,le){var Te=K*K+le*le,De=F(Te),He=($-F(1-Te*($+1)/($-1)))/(($-1)/De+De/($-1));return[M(K*He,De*F(1-He*He)),De?R(le*He/De):0]},ee}(et);if(!rt)return ct;var vt=g(rt),St=p(rt);function Mt($,ee){var K=ct($,ee),le=K[1],Te=le*St/(et-1)+vt;return[K[0]*vt/Te,le/Te]}return Mt.invert=function($,ee){var K=(et-1)/(et-1-ee*St);return ct.invert(K*$,K*ee*vt)},Mt}function Bu(){var et=2,rt=0,ct=(0,d.r)(Fu),vt=ct(et,rt);return vt.distance=function(St){return arguments.length?ct(et=+St,rt):et},vt.tilt=function(St){return arguments.length?ct(et,rt=St*I):rt*P},vt.scale(432.147).clipAngle(D(1/et)*P-1e-6)}Fo.forEach(function(et){et[1]*=1.0144}),Wc.invert=function(et,rt){var ct=rt/T,vt=90*ct,St=o(18,y(vt/5)),Mt=u(0,l(St));do{var $=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],le=K-$,Te=K-2*ee+$,De=2*(y(ct)-ee)/le,He=Te/le,Ze=De*(1-He*De*(1-2*He*De));if(Ze>=0||Mt===1){vt=(rt>=0?5:-5)*(Ze+St);var at,Tt=50;do Ze=(St=o(18,y(vt)/5))-(Mt=l(St)),$=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],vt-=(at=(rt>=0?T:-T)*(ee+Ze*(K-$)/2+Ze*Ze*(K-2*ee+$)/2)-rt)*P;while(y(at)>S&&--Tt>0);break}}while(--Mt>=0);var At=Fo[Mt][0],se=Fo[Mt+1][0],ve=Fo[o(19,Mt+2)][0];return[et/(se+Ze*(ve-At)/2+Ze*Ze*(ve-2*se+At)/2),vt*I]};var Br=-179.9999,Nu=179.9999,bs=-89.9999,$c=89.9999;function xc(et){return et.length>0}function vo(et){return et===-90||et===90?[0,et]:[-180,(rt=et,Math.floor(1e4*rt)/1e4)];var rt}function cu(et){var rt=et[0],ct=et[1],vt=!1;return rt<=Br?(rt=-180,vt=!0):rt>=Nu&&(rt=180,vt=!0),ct<=bs?(ct=-90,vt=!0):ct>=$c&&(ct=90,vt=!0),vt?[rt,ct]:et}function ul(et){return et.map(cu)}function Xo(et,rt,ct){for(var vt=0,St=et.length;vt=Nu||Te<=bs||Te>=$c){Mt[$]=cu(K);for(var De=$+1;DeBr&&Zebs&&at<$c)break}if(De===$+1)continue;if($){var Tt={index:-1,polygon:rt,ring:Mt.slice(0,$+1)};Tt.ring[Tt.ring.length-1]=vo(Te),ct[ct.length-1]=Tt}else ct.pop();if(De>=ee)break;ct.push({index:-1,polygon:rt,ring:Mt=Mt.slice(De-1)}),Mt[0]=vo(Mt[0][1]),$=-1,ee=Mt.length}}}}function Rl(et){var rt,ct,vt,St,Mt,$,ee=et.length,K={},le={};for(rt=0;rt0?x-ee:ee)*P],le=(0,d.Z)(et($)).rotate(K),Te=(0,st.Z)(K),De=le.center;return delete le.rotate,le.center=function(He){return arguments.length?De(Te(He)):Te.invert(De())},le.clipAngle(90)}function _c(et){var rt=g(et);function ct(vt,St){var Mt=(0,Bi.M)(vt,St);return Mt[0]*=rt,Mt}return ct.invert=function(vt,St){return Bi.M.invert(vt/rt,St)},ct}function ls(){return ws([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function ws(et,rt){return $i(_c,et,rt)}function Gs(et){if(!(et*=2))return re.N;var rt=-et/2,ct=-rt,vt=et*et,St=w(ct),Mt=.5/p(ct);function $(ee,K){var le=D(g(K)*g(ee-rt)),Te=D(g(K)*g(ee-ct));return[((le*=le)-(Te*=Te))/(2*et),(K<0?-1:1)*F(4*vt*Te-(vt-le+Te)*(vt-le+Te))/(2*et)]}return $.invert=function(ee,K){var le,Te,De=K*K,He=g(F(De+(le=ee+rt)*le)),Ze=g(F(De+(le=ee+ct)*le));return[M(Te=He-Ze,le=(He+Ze)*St),(K<0?-1:1)*D(F(le*le+Te*Te)*Mt)]},$}function Bo(){return Wi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Wi(et,rt){return $i(Gs,et,rt)}function no(et,rt){if(y(rt)v&&--ee>0);return[f(et)*(F(St*St+4)+St)*x/4,T*$]};var fl=4*x+3*F(3),Rs=2*F(2*x*F(3)/fl),xo=Me(Rs*F(3)/x,Rs,fl/6);function Yc(){return(0,d.Z)(xo).scale(176.84)}function Vo(et,rt){return[et*F(1-3*rt*rt/(x*x)),rt]}function ju(){return(0,d.Z)(Vo).scale(152.63)}function hl(et,rt){var ct=g(rt),vt=g(et)*ct,St=1-vt,Mt=g(et=M(p(et)*ct,-p(rt))),$=p(et);return[$*(ct=F(1-vt*vt))-Mt*St,-Mt*ct-$*St]}function Ji(){return(0,d.Z)(hl).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function la(et,rt){var ct=Y(et,rt);return[(ct[0]+et/T)/2,(ct[1]+rt)/2]}function Zc(){return(0,d.Z)(la).scale(158.837)}Vo.invert=function(et,rt){return[et/F(1-3*rt*rt/(x*x)),rt]},hl.invert=function(et,rt){var ct=(et*et+rt*rt)/-2,vt=F(-ct*(2+ct)),St=rt*ct+et*vt,Mt=et*ct-rt*vt,$=F(Mt*Mt+St*St);return[M(vt*St,$*(1+ct)),$?-R(vt*Mt/$):0]},la.invert=function(et,rt){var ct=et,vt=rt,St=25;do{var Mt,$=g(vt),ee=p(vt),K=p(2*vt),le=ee*ee,Te=$*$,De=p(ct),He=g(ct/2),Ze=p(ct/2),at=Ze*Ze,Tt=1-Te*He*He,At=Tt?D($*He)*F(Mt=1/Tt):Mt=0,se=.5*(2*At*$*Ze+ct/T)-et,ve=.5*(At*ee+vt)-rt,Ie=.5*Mt*(Te*at+At*$*He*le)+.5/T,Fe=Mt*(De*K/4-At*ee*Ze),Ue=.125*Mt*(K*Ze-At*ee*Te*De),We=.5*Mt*(le*He+At*at*$)+.5,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((y(tt)>v||y(lt)>v)&&--St>0);return[ct,vt]}},33940:function(k,m,t){function d(){return new y}function y(){this.reset()}t.d(m,{Z:function(){return d}}),y.prototype={constructor:y,reset:function(){this.s=this.t=0},add:function(g){M(i,g,this.t),M(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new y;function M(g,h,l){var a=g.s=h+l,u=a-h,o=a-u;g.t=h-o+(l-u)}},97860:function(k,m,t){t.d(m,{L9:function(){return o},ZP:function(){return S},gL:function(){return c}});var d,y,i,M,g,h=t(33940),l=t(39695),a=t(73182),u=t(72736),o=(0,h.Z)(),s=(0,h.Z)(),c={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){o.reset(),c.lineStart=f,c.lineEnd=p},polygonEnd:function(){var x=+o;s.add(x<0?l.BZ+x:x),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){s.add(l.BZ)}};function f(){c.point=w}function p(){v(d,y)}function w(x,T){c.point=v,d=x,y=T,x*=l.uR,T*=l.uR,i=x,M=(0,l.mC)(T=T/2+l.pu),g=(0,l.O$)(T)}function v(x,T){x*=l.uR,T=(T*=l.uR)/2+l.pu;var C=x-i,_=C>=0?1:-1,A=_*C,L=(0,l.mC)(T),b=(0,l.O$)(T),P=g*b,I=M*L+P*(0,l.mC)(A),R=P*_*(0,l.O$)(A);o.add((0,l.fv)(R,I)),i=x,M=L,g=b}function S(x){return s.reset(),(0,u.Z)(x,c),2*s}},77338:function(k,m,t){t.d(m,{Z:function(){return D}});var d,y,i,M,g,h,l,a,u,o,s=t(33940),c=t(97860),f=t(7620),p=t(39695),w=t(72736),v=(0,s.Z)(),S={point:x,lineStart:C,lineEnd:_,polygonStart:function(){S.point=A,S.lineStart=L,S.lineEnd=b,v.reset(),c.gL.polygonStart()},polygonEnd:function(){c.gL.polygonEnd(),S.point=x,S.lineStart=C,S.lineEnd=_,c.L9<0?(d=-(i=180),y=-(M=90)):v>p.Ho?M=90:v<-p.Ho&&(y=-90),o[0]=d,o[1]=i},sphere:function(){d=-(i=180),y=-(M=90)}};function x(F,B){u.push(o=[d=F,i=F]),BM&&(M=B)}function T(F,B){var N=(0,f.Og)([F*p.uR,B*p.uR]);if(a){var W=(0,f.T5)(a,N),j=[W[1],-W[0],0],Y=(0,f.T5)(j,W);(0,f.iJ)(Y),Y=(0,f.Y1)(Y);var U,G=F-g,q=G>0?1:-1,H=Y[0]*p.RW*q,ne=(0,p.Wn)(G)>180;ne^(q*gM&&(M=U):ne^(q*g<(H=(H+360)%360-180)&&HM&&(M=B)),ne?FP(d,i)&&(i=F):P(F,i)>P(d,i)&&(d=F):i>=d?(Fi&&(i=F)):F>g?P(d,F)>P(d,i)&&(i=F):P(F,i)>P(d,i)&&(d=F)}else u.push(o=[d=F,i=F]);BM&&(M=B),a=N,g=F}function C(){S.point=T}function _(){o[0]=d,o[1]=i,S.point=x,a=null}function A(F,B){if(a){var N=F-g;v.add((0,p.Wn)(N)>180?N+(N>0?360:-360):N)}else h=F,l=B;c.gL.point(F,B),T(F,B)}function L(){c.gL.lineStart()}function b(){A(h,l),c.gL.lineEnd(),(0,p.Wn)(v)>p.Ho&&(d=-(i=180)),o[0]=d,o[1]=i,a=null}function P(F,B){return(B-=F)<0?B+360:B}function I(F,B){return F[0]-B[0]}function R(F,B){return F[0]<=F[1]?F[0]<=B&&B<=F[1]:BP(W[0],W[1])&&(W[1]=j[1]),P(j[0],W[1])>P(W[0],W[1])&&(W[0]=j[0])):Y.push(W=j);for(U=-1/0,B=0,W=Y[N=Y.length-1];B<=N;W=j,++B)j=Y[B],(G=P(W[1],j[0]))>U&&(U=G,d=j[0],i=W[1])}return u=o=null,d===1/0||y===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,y],[i,M]]}},7620:function(k,m,t){t.d(m,{Og:function(){return i},T:function(){return l},T5:function(){return g},Y1:function(){return y},iJ:function(){return a},j9:function(){return M},s0:function(){return h}});var d=t(39695);function y(u){return[(0,d.fv)(u[1],u[0]),(0,d.ZR)(u[2])]}function i(u){var o=u[0],s=u[1],c=(0,d.mC)(s);return[c*(0,d.mC)(o),c*(0,d.O$)(o),(0,d.O$)(s)]}function M(u,o){return u[0]*o[0]+u[1]*o[1]+u[2]*o[2]}function g(u,o){return[u[1]*o[2]-u[2]*o[1],u[2]*o[0]-u[0]*o[2],u[0]*o[1]-u[1]*o[0]]}function h(u,o){u[0]+=o[0],u[1]+=o[1],u[2]+=o[2]}function l(u,o){return[u[0]*o,u[1]*o,u[2]*o]}function a(u){var o=(0,d._b)(u[0]*u[0]+u[1]*u[1]+u[2]*u[2]);u[0]/=o,u[1]/=o,u[2]/=o}},66624:function(k,m,t){t.d(m,{Z:function(){return N}});var d,y,i,M,g,h,l,a,u,o,s,c,f,p,w,v,S=t(39695),x=t(73182),T=t(72736),C={sphere:x.Z,point:_,lineStart:L,lineEnd:I,polygonStart:function(){C.lineStart=R,C.lineEnd=D},polygonEnd:function(){C.lineStart=L,C.lineEnd=I}};function _(W,j){W*=S.uR,j*=S.uR;var Y=(0,S.mC)(j);A(Y*(0,S.mC)(W),Y*(0,S.O$)(W),(0,S.O$)(j))}function A(W,j,Y){++d,i+=(W-i)/d,M+=(j-M)/d,g+=(Y-g)/d}function L(){C.point=b}function b(W,j){W*=S.uR,j*=S.uR;var Y=(0,S.mC)(j);p=Y*(0,S.mC)(W),w=Y*(0,S.O$)(W),v=(0,S.O$)(j),C.point=P,A(p,w,v)}function P(W,j){W*=S.uR,j*=S.uR;var Y=(0,S.mC)(j),U=Y*(0,S.mC)(W),G=Y*(0,S.O$)(W),q=(0,S.O$)(j),H=(0,S.fv)((0,S._b)((H=w*q-v*G)*H+(H=v*U-p*q)*H+(H=p*G-w*U)*H),p*U+w*G+v*q);y+=H,h+=H*(p+(p=U)),l+=H*(w+(w=G)),a+=H*(v+(v=q)),A(p,w,v)}function I(){C.point=_}function R(){C.point=F}function D(){B(c,f),C.point=_}function F(W,j){c=W,f=j,W*=S.uR,j*=S.uR,C.point=B;var Y=(0,S.mC)(j);p=Y*(0,S.mC)(W),w=Y*(0,S.O$)(W),v=(0,S.O$)(j),A(p,w,v)}function B(W,j){W*=S.uR,j*=S.uR;var Y=(0,S.mC)(j),U=Y*(0,S.mC)(W),G=Y*(0,S.O$)(W),q=(0,S.O$)(j),H=w*q-v*G,ne=v*U-p*q,te=p*G-w*U,Z=(0,S._b)(H*H+ne*ne+te*te),X=(0,S.ZR)(Z),Q=Z&&-X/Z;u+=Q*H,o+=Q*ne,s+=Q*te,y+=X,h+=X*(p+(p=U)),l+=X*(w+(w=G)),a+=X*(v+(v=q)),A(p,w,v)}function N(W){d=y=i=M=g=h=l=a=u=o=s=0,(0,T.Z)(W,C);var j=u,Y=o,U=s,G=j*j+Y*Y+U*U;return G0?cf)&&(c+=s*i.BZ));for(var S,x=c;s>0?x>f:x0?y.pi:-y.pi,s=(0,y.Wn)(a-g);(0,y.Wn)(s-y.pi)0?y.ou:-y.ou),i.point(l,h),i.lineEnd(),i.lineStart(),i.point(o,h),i.point(a,h),M=0):l!==o&&s>=y.pi&&((0,y.Wn)(g-l)y.Ho?(0,y.z4)(((0,y.O$)(f)*(S=(0,y.mC)(w))*(0,y.O$)(p)-(0,y.O$)(w)*(v=(0,y.mC)(f))*(0,y.O$)(c))/(v*S*x)):(f+w)/2}(g,h,a,u),i.point(l,h),i.lineEnd(),i.lineStart(),i.point(o,h),M=0),i.point(g=a,h=u),l=o},lineEnd:function(){i.lineEnd(),g=h=NaN},clean:function(){return 2-M}}},function(i,M,g,h){var l;if(i==null)l=g*y.ou,h.point(-y.pi,l),h.point(0,l),h.point(y.pi,l),h.point(y.pi,0),h.point(y.pi,-l),h.point(0,-l),h.point(-y.pi,-l),h.point(-y.pi,0),h.point(-y.pi,l);else if((0,y.Wn)(i[0]-M[0])>y.Ho){var a=i[0]1&&M.push(M.pop().concat(M.shift()))},result:function(){var g=M;return M=[],i=null,g}}}},1457:function(k,m,t){t.d(m,{Z:function(){return h}});var d=t(7620),y=t(7613),i=t(39695),M=t(67108),g=t(97023);function h(l){var a=(0,i.mC)(l),u=6*i.uR,o=a>0,s=(0,i.Wn)(a)>i.Ho;function c(w,v){return(0,i.mC)(w)*(0,i.mC)(v)>a}function f(w,v,S){var x=(0,d.Og)(w),T=(0,d.Og)(v),C=[1,0,0],_=(0,d.T5)(x,T),A=(0,d.j9)(_,_),L=_[0],b=A-L*L;if(!b)return!S&&w;var P=a*A/b,I=-a*L/b,R=(0,d.T5)(C,_),D=(0,d.T)(C,P),F=(0,d.T)(_,I);(0,d.s0)(D,F);var B=R,N=(0,d.j9)(D,B),W=(0,d.j9)(B,B),j=N*N-W*((0,d.j9)(D,D)-1);if(!(j<0)){var Y=(0,i._b)(j),U=(0,d.T)(B,(-N-Y)/W);if((0,d.s0)(U,D),U=(0,d.Y1)(U),!S)return U;var G,q=w[0],H=v[0],ne=w[1],te=v[1];H0^U[1]<((0,i.Wn)(U[0]-q)i.pi^(q<=U[0]&&U[0]<=H)){var Q=(0,d.T)(B,(-N+Y)/W);return(0,d.s0)(Q,D),[U,(0,d.Y1)(Q)]}}}function p(w,v){var S=o?l:i.pi-l,x=0;return w<-S?x|=1:w>S&&(x|=2),v<-S?x|=4:v>S&&(x|=8),x}return(0,g.Z)(c,function(w){var v,S,x,T,C;return{lineStart:function(){T=x=!1,C=1},point:function(_,A){var L,b=[_,A],P=c(_,A),I=o?P?0:p(_,A):P?p(_+(_<0?i.pi:-i.pi),A):0;if(!v&&(T=x=P)&&w.lineStart(),P!==x&&(!(L=f(v,b))||(0,M.Z)(v,L)||(0,M.Z)(b,L))&&(b[2]=1),P!==x)C=0,P?(w.lineStart(),L=f(b,v),w.point(L[0],L[1])):(L=f(v,b),w.point(L[0],L[1],2),w.lineEnd()),v=L;else if(s&&v&&o^P){var R;I&S||!(R=f(b,v,!0))||(C=0,o?(w.lineStart(),w.point(R[0][0],R[0][1]),w.point(R[1][0],R[1][1]),w.lineEnd()):(w.point(R[1][0],R[1][1]),w.lineEnd(),w.lineStart(),w.point(R[0][0],R[0][1],3)))}!P||v&&(0,M.Z)(v,b)||w.point(b[0],b[1]),v=b,x=P,S=I},lineEnd:function(){x&&w.lineEnd(),v=null},clean:function(){return C|(T&&x)<<1}}},function(w,v,S,x){(0,y.m)(x,l,u,S,w,v)},o?[0,-l]:[-i.pi,l-i.pi])}},97023:function(k,m,t){t.d(m,{Z:function(){return h}});var d=t(85272),y=t(46225),i=t(39695),M=t(23071),g=t(33064);function h(u,o,s,c){return function(f){var p,w,v,S=o(f),x=(0,d.Z)(),T=o(x),C=!1,_={point:A,lineStart:b,lineEnd:P,polygonStart:function(){_.point=I,_.lineStart=R,_.lineEnd=D,w=[],p=[]},polygonEnd:function(){_.point=A,_.lineStart=b,_.lineEnd=P,w=(0,g.TS)(w);var F=(0,M.Z)(p,c);w.length?(C||(f.polygonStart(),C=!0),(0,y.Z)(w,a,F,s,f)):F&&(C||(f.polygonStart(),C=!0),f.lineStart(),s(null,null,1,f),f.lineEnd()),C&&(f.polygonEnd(),C=!1),w=p=null},sphere:function(){f.polygonStart(),f.lineStart(),s(null,null,1,f),f.lineEnd(),f.polygonEnd()}};function A(F,B){u(F,B)&&f.point(F,B)}function L(F,B){S.point(F,B)}function b(){_.point=L,S.lineStart()}function P(){_.point=A,S.lineEnd()}function I(F,B){v.push([F,B]),T.point(F,B)}function R(){T.lineStart(),v=[]}function D(){I(v[0][0],v[0][1]),T.lineEnd();var F,B,N,W,j=T.clean(),Y=x.result(),U=Y.length;if(v.pop(),p.push(v),v=null,U)if(1&j){if((B=(N=Y[0]).length-1)>0){for(C||(f.polygonStart(),C=!0),f.lineStart(),F=0;F1&&2&j&&Y.push(Y.pop().concat(Y.shift())),w.push(Y.filter(l))}return _}}function l(u){return u.length>1}function a(u,o){return((u=u.x)[0]<0?u[1]-i.ou-i.Ho:i.ou-u[1])-((o=o.x)[0]<0?o[1]-i.ou-i.Ho:i.ou-o[1])}},87605:function(k,m,t){t.d(m,{Z:function(){return l}});var d=t(39695),y=t(85272),i=t(46225),M=t(33064),g=1e9,h=-g;function l(a,u,o,s){function c(S,x){return a<=S&&S<=o&&u<=x&&x<=s}function f(S,x,T,C){var _=0,A=0;if(S==null||(_=p(S,T))!==(A=p(x,T))||v(S,x)<0^T>0)do C.point(_===0||_===3?a:o,_>1?s:u);while((_=(_+T+4)%4)!==A);else C.point(x[0],x[1])}function p(S,x){return(0,d.Wn)(S[0]-a)0?0:3:(0,d.Wn)(S[0]-o)0?2:1:(0,d.Wn)(S[1]-u)0?1:0:x>0?3:2}function w(S,x){return v(S.x,x.x)}function v(S,x){var T=p(S,1),C=p(x,1);return T!==C?T-C:T===0?x[1]-S[1]:T===1?S[0]-x[0]:T===2?S[1]-x[1]:x[0]-S[0]}return function(S){var x,T,C,_,A,L,b,P,I,R,D,F=S,B=(0,y.Z)(),N={point:W,lineStart:function(){N.point=j,T&&T.push(C=[]),R=!0,I=!1,b=P=NaN},lineEnd:function(){x&&(j(_,A),L&&I&&B.rejoin(),x.push(B.result())),N.point=W,I&&F.lineEnd()},polygonStart:function(){F=B,x=[],T=[],D=!0},polygonEnd:function(){var Y=function(){for(var q=0,H=0,ne=T.length;Hs&&(oe-te)*(s-Z)>(ue-Z)*(a-te)&&++q:ue<=s&&(oe-te)*(s-Z)<(ue-Z)*(a-te)&&--q;return q}(),U=D&&Y,G=(x=(0,M.TS)(x)).length;(U||G)&&(S.polygonStart(),U&&(S.lineStart(),f(null,null,1,S),S.lineEnd()),G&&(0,i.Z)(x,w,Y,f,S),S.polygonEnd()),F=S,x=T=C=null}};function W(Y,U){c(Y,U)&&F.point(Y,U)}function j(Y,U){var G=c(Y,U);if(T&&C.push([Y,U]),R)_=Y,A=U,L=G,R=!1,G&&(F.lineStart(),F.point(Y,U));else if(G&&I)F.point(Y,U);else{var q=[b=Math.max(h,Math.min(g,b)),P=Math.max(h,Math.min(g,P))],H=[Y=Math.max(h,Math.min(g,Y)),U=Math.max(h,Math.min(g,U))];(function(ne,te,Z,X,Q,re){var ie,oe=ne[0],ue=ne[1],ce=0,ye=1,de=te[0]-oe,me=te[1]-ue;if(ie=Z-oe,de||!(ie>0)){if(ie/=de,de<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=Q-oe,de||!(ie<0)){if(ie/=de,de<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(de>0){if(ie0)){if(ie/=me,me<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=re-ue,me||!(ie<0)){if(ie/=me,me<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(me>0){if(ie0&&(ne[0]=oe+ce*de,ne[1]=ue+ce*me),ye<1&&(te[0]=oe+ye*de,te[1]=ue+ye*me),!0}}}}})(q,H,a,u,o,s)?(I||(F.lineStart(),F.point(q[0],q[1])),F.point(H[0],H[1]),G||F.lineEnd(),D=!1):G&&(F.lineStart(),F.point(Y,U),D=!1)}b=Y,P=U,I=G}return N}}},46225:function(k,m,t){t.d(m,{Z:function(){return M}});var d=t(67108),y=t(39695);function i(h,l,a,u){this.x=h,this.z=l,this.o=a,this.e=u,this.v=!1,this.n=this.p=null}function M(h,l,a,u,o){var s,c,f=[],p=[];if(h.forEach(function(C){if(!((_=C.length-1)<=0)){var _,A,L=C[0],b=C[_];if((0,d.Z)(L,b)){if(!L[2]&&!b[2]){for(o.lineStart(),s=0;s<_;++s)o.point((L=C[s])[0],L[1]);return void o.lineEnd()}b[0]+=2*y.Ho}f.push(A=new i(L,C,null,!0)),p.push(A.o=new i(L,null,A,!1)),f.push(A=new i(b,C,null,!1)),p.push(A.o=new i(b,null,A,!0))}}),f.length){for(p.sort(l),g(f),g(p),s=0,c=p.length;s=0;--s)o.point((v=w[s])[0],v[1]);else u(x.x,x.p.x,-1,o);x=x.p}w=(x=x.o).z,T=!T}while(!x.v);o.lineEnd()}}}function g(h){if(l=h.length){for(var l,a,u=0,o=h[0];++u0&&(Un=P(Kt[Kn],Kt[Kn-1]))>0&&Pn<=Un&&Ln<=Un&&(Pn+Ln-Un)*(1-Math.pow((Pn-Ln)/Un,2))p.Ho}).map(mr)).concat((0,U.w6)((0,p.mD)(Kn/fn)*fn,Un,fn).filter(function(gn){return(0,p.Wn)(gn%Rn)>p.Ho}).map(nn))}return mn.lines=function(){return wn().map(function(gn){return{type:"LineString",coordinates:gn}})},mn.outline=function(){return{type:"Polygon",coordinates:[On(Ln).concat(jt(Yn).slice(1),On(Pn).reverse().slice(1),jt(tr).reverse().slice(1))]}},mn.extent=function(gn){return arguments.length?mn.extentMajor(gn).extentMinor(gn):mn.extentMinor()},mn.extentMajor=function(gn){return arguments.length?(Ln=+gn[0][0],Pn=+gn[1][0],tr=+gn[0][1],Yn=+gn[1][1],Ln>Pn&&(gn=Ln,Ln=Pn,Pn=gn),tr>Yn&&(gn=tr,tr=Yn,Yn=gn),mn.precision(En)):[[Ln,tr],[Pn,Yn]]},mn.extentMinor=function(gn){return arguments.length?(bn=+gn[0][0],Kt=+gn[1][0],Kn=+gn[0][1],Un=+gn[1][1],bn>Kt&&(gn=bn,bn=Kt,Kt=gn),Kn>Un&&(gn=Kn,Kn=Un,Un=gn),mn.precision(En)):[[bn,Kn],[Kt,Un]]},mn.step=function(gn){return arguments.length?mn.stepMajor(gn).stepMinor(gn):mn.stepMinor()},mn.stepMajor=function(gn){return arguments.length?(zn=+gn[0],Rn=+gn[1],mn):[zn,Rn]},mn.stepMinor=function(gn){return arguments.length?(Jt=+gn[0],fn=+gn[1],mn):[Jt,fn]},mn.precision=function(gn){return arguments.length?(En=+gn,mr=G(Kn,Un,90),nn=q(bn,Kt,En),On=G(tr,Yn,90),jt=q(Ln,Pn,En),mn):En},mn.extentMajor([[-180,-90+p.Ho],[180,90-p.Ho]]).extentMinor([[-180,-80-p.Ho],[180,80+p.Ho]])}function ne(){return H()()}var te,Z,X,Q,re=t(83074),ie=t(8593),oe=(0,f.Z)(),ue=(0,f.Z)(),ce={point:w.Z,lineStart:w.Z,lineEnd:w.Z,polygonStart:function(){ce.lineStart=ye,ce.lineEnd=pe},polygonEnd:function(){ce.lineStart=ce.lineEnd=ce.point=w.Z,oe.add((0,p.Wn)(ue)),ue.reset()},result:function(){var Kt=oe/2;return oe.reset(),Kt}};function ye(){ce.point=de}function de(Kt,bn){ce.point=me,te=X=Kt,Z=Q=bn}function me(Kt,bn){ue.add(Q*Kt-X*bn),X=Kt,Q=bn}function pe(){me(te,Z)}var xe,Oe,_e,Me,Se=ce,Ce=t(3559),ae=0,he=0,be=0,ke=0,Le=0,Be=0,ze=0,je=0,ge=0,we={point:Ee,lineStart:Ve,lineEnd:st,polygonStart:function(){we.lineStart=ot,we.lineEnd=ft},polygonEnd:function(){we.point=Ee,we.lineStart=Ve,we.lineEnd=st},result:function(){var Kt=ge?[ze/ge,je/ge]:Be?[ke/Be,Le/Be]:be?[ae/be,he/be]:[NaN,NaN];return ae=he=be=ke=Le=Be=ze=je=ge=0,Kt}};function Ee(Kt,bn){ae+=Kt,he+=bn,++be}function Ve(){we.point=Ye}function Ye(Kt,bn){we.point=$e,Ee(_e=Kt,Me=bn)}function $e(Kt,bn){var Pn=Kt-_e,Ln=bn-Me,Un=(0,p._b)(Pn*Pn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,Ee(_e=Kt,Me=bn)}function st(){we.point=Ee}function ot(){we.point=bt}function ft(){Et(xe,Oe)}function bt(Kt,bn){we.point=Et,Ee(xe=_e=Kt,Oe=Me=bn)}function Et(Kt,bn){var Pn=Kt-_e,Ln=bn-Me,Un=(0,p._b)(Pn*Pn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,ze+=(Un=Me*Kt-_e*bn)*(_e+Kt),je+=Un*(Me+bn),ge+=3*Un,Ee(_e=Kt,Me=bn)}var kt=we;function xt(Kt){this._context=Kt}xt.prototype={_radius:4.5,pointRadius:function(Kt){return this._radius=Kt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._context.moveTo(Kt,bn),this._point=1;break;case 1:this._context.lineTo(Kt,bn);break;default:this._context.moveTo(Kt+this._radius,bn),this._context.arc(Kt,bn,this._radius,0,p.BZ)}},result:w.Z};var Ft,Rt,Bt,qt,Vt,Ke=(0,f.Z)(),Je={point:w.Z,lineStart:function(){Je.point=qe},lineEnd:function(){Ft&&nt(Rt,Bt),Je.point=w.Z},polygonStart:function(){Ft=!0},polygonEnd:function(){Ft=null},result:function(){var Kt=+Ke;return Ke.reset(),Kt}};function qe(Kt,bn){Je.point=nt,Rt=qt=Kt,Bt=Vt=bn}function nt(Kt,bn){qt-=Kt,Vt-=bn,Ke.add((0,p._b)(qt*qt+Vt*Vt)),qt=Kt,Vt=bn}var ht=Je;function Pe(){this._string=[]}function Ne(Kt){return"m0,"+Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+-2*Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+2*Kt+"z"}function Qe(Kt,bn){var Pn,Ln,Un=4.5;function Kn(Yn){return Yn&&(typeof Un=="function"&&Ln.pointRadius(+Un.apply(this,arguments)),(0,v.Z)(Yn,Pn(Ln))),Ln.result()}return Kn.area=function(Yn){return(0,v.Z)(Yn,Pn(Se)),Se.result()},Kn.measure=function(Yn){return(0,v.Z)(Yn,Pn(ht)),ht.result()},Kn.bounds=function(Yn){return(0,v.Z)(Yn,Pn(Ce.Z)),Ce.Z.result()},Kn.centroid=function(Yn){return(0,v.Z)(Yn,Pn(kt)),kt.result()},Kn.projection=function(Yn){return arguments.length?(Pn=Yn==null?(Kt=null,ie.Z):(Kt=Yn).stream,Kn):Kt},Kn.context=function(Yn){return arguments.length?(Ln=Yn==null?(bn=null,new Pe):new xt(bn=Yn),typeof Un!="function"&&Ln.pointRadius(Un),Kn):bn},Kn.pointRadius=function(Yn){return arguments.length?(Un=typeof Yn=="function"?Yn:(Ln.pointRadius(+Yn),+Yn),Kn):Un},Kn.projection(Kt).context(bn)}Pe.prototype={_radius:4.5,_circle:Ne(4.5),pointRadius:function(Kt){return(Kt=+Kt)!==this._radius&&(this._radius=Kt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._string.push("M",Kt,",",bn),this._point=1;break;case 1:this._string.push("L",Kt,",",bn);break;default:this._circle==null&&(this._circle=Ne(this._radius)),this._string.push("M",Kt,",",bn,this._circle)}},result:function(){if(this._string.length){var Kt=this._string.join("");return this._string=[],Kt}return null}};var ut=t(15002);function dt(Kt){var bn=0,Pn=p.pi/3,Ln=(0,ut.r)(Kt),Un=Ln(bn,Pn);return Un.parallels=function(Kn){return arguments.length?Ln(bn=Kn[0]*p.uR,Pn=Kn[1]*p.uR):[bn*p.RW,Pn*p.RW]},Un}function _t(Kt,bn){var Pn=(0,p.O$)(Kt),Ln=(Pn+(0,p.O$)(bn))/2;if((0,p.Wn)(Ln)=.12&&En<.234&&Rn>=-.425&&Rn<-.214?tr:En>=.166&&En<.234&&Rn>=-.214&&Rn<-.115?mr:Yn).invert(Jt)},On.stream=function(Jt){return Kt&&bn===Jt?Kt:(fn=[Yn.stream(bn=Jt),tr.stream(Jt),mr.stream(Jt)],zn=fn.length,Kt={point:function(Rn,En){for(var mn=-1;++mn0?tr<-p.ou+p.Ho&&(tr=-p.ou+p.Ho):tr>p.ou-p.Ho&&(tr=p.ou-p.Ho);var mr=Un/(0,p.sQ)(Qt(tr),Ln);return[mr*(0,p.O$)(Ln*Yn),Un-mr*(0,p.mC)(Ln*Yn)]}return Kn.invert=function(Yn,tr){var mr=Un-tr,nn=(0,p.Xx)(Ln)*(0,p._b)(Yn*Yn+mr*mr),On=(0,p.fv)(Yn,(0,p.Wn)(mr))*(0,p.Xx)(mr);return mr*Ln<0&&(On-=p.pi*(0,p.Xx)(Yn)*(0,p.Xx)(mr)),[On/Ln,2*(0,p.z4)((0,p.sQ)(Un/nn,1/Ln))-p.ou]},Kn}function xn(){return dt(rn).scale(109.5).parallels([30,30])}$t.invert=function(Kt,bn){return[Kt,2*(0,p.z4)((0,p.Qq)(bn))-p.ou]};var un=t(97492);function An(Kt,bn){var Pn=(0,p.mC)(Kt),Ln=Kt===bn?(0,p.O$)(Kt):(Pn-(0,p.mC)(bn))/(bn-Kt),Un=Pn/Ln+Kt;if((0,p.Wn)(Ln)2?Ln[2]+90:90]):[(Ln=Pn())[0],Ln[1],Ln[2]-90]},Pn([0,0,90]).scale(159.155)}yr.invert=(0,Sr.O)(function(Kt){return 2*(0,p.z4)(Kt)}),vr.invert=function(Kt,bn){return[-bn,2*(0,p.z4)((0,p.Qq)(Kt))-p.ou]}},83074:function(k,m,t){t.d(m,{Z:function(){return y}});var d=t(39695);function y(i,M){var g=i[0]*d.uR,h=i[1]*d.uR,l=M[0]*d.uR,a=M[1]*d.uR,u=(0,d.mC)(h),o=(0,d.O$)(h),s=(0,d.mC)(a),c=(0,d.O$)(a),f=u*(0,d.mC)(g),p=u*(0,d.O$)(g),w=s*(0,d.mC)(l),v=s*(0,d.O$)(l),S=2*(0,d.ZR)((0,d._b)((0,d.Jy)(a-h)+u*s*(0,d.Jy)(l-g))),x=(0,d.O$)(S),T=S?function(C){var _=(0,d.O$)(C*=S)/x,A=(0,d.O$)(S-C)/x,L=A*f+_*w,b=A*p+_*v,P=A*o+_*c;return[(0,d.fv)(b,L)*d.RW,(0,d.fv)(P,(0,d._b)(L*L+b*b))*d.RW]}:function(){return[g*d.RW,h*d.RW]};return T.distance=S,T}},39695:function(k,m,t){t.d(m,{BZ:function(){return h},Ho:function(){return d},Jy:function(){return L},Kh:function(){return _},O$:function(){return S},OR:function(){return C},Qq:function(){return p},RW:function(){return l},Wn:function(){return u},Xx:function(){return x},ZR:function(){return A},_b:function(){return T},aW:function(){return y},cM:function(){return w},fv:function(){return s},mC:function(){return c},mD:function(){return f},ou:function(){return M},pi:function(){return i},pu:function(){return g},sQ:function(){return v},uR:function(){return a},z4:function(){return o}});var d=1e-6,y=1e-12,i=Math.PI,M=i/2,g=i/4,h=2*i,l=180/i,a=i/180,u=Math.abs,o=Math.atan,s=Math.atan2,c=Math.cos,f=Math.ceil,p=Math.exp,w=Math.log,v=Math.pow,S=Math.sin,x=Math.sign||function(b){return b>0?1:b<0?-1:0},T=Math.sqrt,C=Math.tan;function _(b){return b>1?0:b<-1?i:Math.acos(b)}function A(b){return b>1?M:b<-1?-M:Math.asin(b)}function L(b){return(b=S(b/2))*b}},73182:function(k,m,t){function d(){}t.d(m,{Z:function(){return d}})},3559:function(k,m,t){var d=t(73182),y=1/0,i=y,M=-y,g=M,h={point:function(l,a){lM&&(M=l),ag&&(g=a)},lineStart:d.Z,lineEnd:d.Z,polygonStart:d.Z,polygonEnd:d.Z,result:function(){var l=[[y,i],[M,g]];return M=g=-(i=y=1/0),l}};m.Z=h},67108:function(k,m,t){t.d(m,{Z:function(){return y}});var d=t(39695);function y(i,M){return(0,d.Wn)(i[0]-M[0])=0?1:-1,W=N*B,j=W>i.pi,Y=A*D;if(M.add((0,i.fv)(Y*N*(0,i.O$)(W),L*F+Y*(0,i.mC)(W))),f+=j?B+N*i.BZ:B,j^C>=u^I>=u){var U=(0,y.T5)((0,y.Og)(T),(0,y.Og)(P));(0,y.iJ)(U);var G=(0,y.T5)(c,U);(0,y.iJ)(G);var q=(j^B>=0?-1:1)*(0,i.ZR)(G[2]);(o>q||o===q&&(U[0]||U[1]))&&(p+=j^B>=0?1:-1)}}return(f<-i.Ho||f4*_&&U--){var te=I+W,Z=R+j,X=D+Y,Q=(0,h._b)(te*te+Z*Z+X*X),re=(0,h.ZR)(X/=Q),ie=(0,h.Wn)((0,h.Wn)(X)-1)_||(0,h.Wn)((q*ye+H*de)/ne-.5)>.3||I*W+R*j+D*Y2?ye[2]%360*h.uR:0,ue()):[Y*h.RW,U*h.RW,G*h.RW]},ie.angle=function(ye){return arguments.length?(q=ye%360*h.uR,ue()):q*h.RW},ie.reflectX=function(ye){return arguments.length?(H=ye?-1:1,ue()):H<0},ie.reflectY=function(ye){return arguments.length?(ne=ye?-1:1,ue()):ne<0},ie.precision=function(ye){return arguments.length?(b=c(P,re=ye*ye),ce()):(0,h._b)(re)},ie.fitExtent=function(ye,de){return(0,u.qg)(ie,ye,de)},ie.fitSize=function(ye,de){return(0,u.mF)(ie,ye,de)},ie.fitWidth=function(ye,de){return(0,u.V6)(ie,ye,de)},ie.fitHeight=function(ye,de){return(0,u.rf)(ie,ye,de)},function(){return T=x.apply(this,arguments),ie.invert=T.invert&&oe,ue()}}},26867:function(k,m,t){t.d(m,{K:function(){return i},Z:function(){return M}});var d=t(15002),y=t(39695);function i(g,h){var l=h*h,a=l*l;return[g*(.8707-.131979*l+a*(a*(.003971*l-.001529*a)-.013791)),h*(1.007226+l*(.015085+a*(.028874*l-.044475-.005916*a)))]}function M(){return(0,d.Z)(i).scale(175.295)}i.invert=function(g,h){var l,a=h,u=25;do{var o=a*a,s=o*o;a-=l=(a*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))-h)/(1.007226+o*(.045255+s*(.259866*o-.311325-.06507600000000001*s)))}while((0,y.Wn)(l)>y.Ho&&--u>0);return[g/(.8707+(o=a*a)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),a]}},57962:function(k,m,t){t.d(m,{I:function(){return M},Z:function(){return g}});var d=t(39695),y=t(25382),i=t(15002);function M(h,l){return[(0,d.mC)(l)*(0,d.O$)(h),(0,d.O$)(l)]}function g(){return(0,i.Z)(M).scale(249.5).clipAngle(90+d.Ho)}M.invert=(0,y.O)(d.ZR)},49386:function(k,m,t){t.d(m,{I:function(){return M},Z:function(){return a}});var d=t(96059),y=t(39695);function i(u,o){return[(0,y.Wn)(u)>y.pi?u+Math.round(-u/y.BZ)*y.BZ:u,o]}function M(u,o,s){return(u%=y.BZ)?o||s?(0,d.Z)(h(u),l(o,s)):h(u):o||s?l(o,s):i}function g(u){return function(o,s){return[(o+=u)>y.pi?o-y.BZ:o<-y.pi?o+y.BZ:o,s]}}function h(u){var o=g(u);return o.invert=g(-u),o}function l(u,o){var s=(0,y.mC)(u),c=(0,y.O$)(u),f=(0,y.mC)(o),p=(0,y.O$)(o);function w(v,S){var x=(0,y.mC)(S),T=(0,y.mC)(v)*x,C=(0,y.O$)(v)*x,_=(0,y.O$)(S),A=_*s+T*c;return[(0,y.fv)(C*f-A*p,T*s-_*c),(0,y.ZR)(A*f+C*p)]}return w.invert=function(v,S){var x=(0,y.mC)(S),T=(0,y.mC)(v)*x,C=(0,y.O$)(v)*x,_=(0,y.O$)(S),A=_*f-C*p;return[(0,y.fv)(C*f+_*p,T*s+A*c),(0,y.ZR)(A*s-T*c)]},w}function a(u){function o(s){return(s=u(s[0]*y.uR,s[1]*y.uR))[0]*=y.RW,s[1]*=y.RW,s}return u=M(u[0]*y.uR,u[1]*y.uR,u.length>2?u[2]*y.uR:0),o.invert=function(s){return(s=u.invert(s[0]*y.uR,s[1]*y.uR))[0]*=y.RW,s[1]*=y.RW,s},o}i.invert=i},72736:function(k,m,t){function d(l,a){l&&i.hasOwnProperty(l.type)&&i[l.type](l,a)}t.d(m,{Z:function(){return h}});var y={Feature:function(l,a){d(l.geometry,a)},FeatureCollection:function(l,a){for(var u=l.features,o=-1,s=u.length;++o=0;)ae+=he[be].value;else ae=1;Ce.value=ae}function h(Ce,ae){var he,be,ke,Le,Be,ze=new o(Ce),je=+Ce.value&&(ze.value=Ce.value),ge=[ze];for(ae==null&&(ae=l);he=ge.pop();)if(je&&(he.value=+he.data.value),(ke=ae(he.data))&&(Be=ke.length))for(he.children=new Array(Be),Le=Be-1;Le>=0;--Le)ge.push(be=he.children[Le]=new o(ke[Le])),be.parent=he,be.depth=he.depth+1;return ze.eachBefore(u)}function l(Ce){return Ce.children}function a(Ce){Ce.data=Ce.data.data}function u(Ce){var ae=0;do Ce.height=ae;while((Ce=Ce.parent)&&Ce.height<++ae)}function o(Ce){this.data=Ce,this.depth=this.height=0,this.parent=null}t.r(m),t.d(m,{cluster:function(){return M},hierarchy:function(){return h},pack:function(){return N},packEnclose:function(){return c},packSiblings:function(){return P},partition:function(){return q},stratify:function(){return X},tree:function(){return ye},treemap:function(){return Oe},treemapBinary:function(){return _e},treemapDice:function(){return G},treemapResquarify:function(){return Se},treemapSlice:function(){return de},treemapSliceDice:function(){return Me},treemapSquarify:function(){return xe}}),o.prototype=h.prototype={constructor:o,count:function(){return this.eachAfter(g)},each:function(Ce){var ae,he,be,ke,Le=this,Be=[Le];do for(ae=Be.reverse(),Be=[];Le=ae.pop();)if(Ce(Le),he=Le.children)for(be=0,ke=he.length;be=0;--he)ke.push(ae[he]);return this},sum:function(Ce){return this.eachAfter(function(ae){for(var he=+Ce(ae.data)||0,be=ae.children,ke=be&&be.length;--ke>=0;)he+=be[ke].value;ae.value=he})},sort:function(Ce){return this.eachBefore(function(ae){ae.children&&ae.children.sort(Ce)})},path:function(Ce){for(var ae=this,he=function(Le,Be){if(Le===Be)return Le;var ze=Le.ancestors(),je=Be.ancestors(),ge=null;for(Le=ze.pop(),Be=je.pop();Le===Be;)ge=Le,Le=ze.pop(),Be=je.pop();return ge}(ae,Ce),be=[ae];ae!==he;)ae=ae.parent,be.push(ae);for(var ke=be.length;Ce!==he;)be.splice(ke,0,Ce),Ce=Ce.parent;return be},ancestors:function(){for(var Ce=this,ae=[Ce];Ce=Ce.parent;)ae.push(Ce);return ae},descendants:function(){var Ce=[];return this.each(function(ae){Ce.push(ae)}),Ce},leaves:function(){var Ce=[];return this.eachBefore(function(ae){ae.children||Ce.push(ae)}),Ce},links:function(){var Ce=this,ae=[];return Ce.each(function(he){he!==Ce&&ae.push({source:he.parent,target:he})}),ae},copy:function(){return h(this).eachBefore(a)}};var s=Array.prototype.slice;function c(Ce){for(var ae,he,be=0,ke=(Ce=function(Be){for(var ze,je,ge=Be.length;ge;)je=Math.random()*ge--|0,ze=Be[ge],Be[ge]=Be[je],Be[je]=ze;return Be}(s.call(Ce))).length,Le=[];be0&&he*he>be*be+ke*ke}function v(Ce,ae){for(var he=0;he(Be*=Be)?(be=(ge+Be-ke)/(2*ge),Le=Math.sqrt(Math.max(0,Be/ge-be*be)),he.x=Ce.x-be*ze-Le*je,he.y=Ce.y-be*je+Le*ze):(be=(ge+ke-Be)/(2*ge),Le=Math.sqrt(Math.max(0,ke/ge-be*be)),he.x=ae.x+be*ze-Le*je,he.y=ae.y+be*je+Le*ze)):(he.x=ae.x+he.r,he.y=ae.y)}function _(Ce,ae){var he=Ce.r+ae.r-1e-6,be=ae.x-Ce.x,ke=ae.y-Ce.y;return he>0&&he*he>be*be+ke*ke}function A(Ce){var ae=Ce._,he=Ce.next._,be=ae.r+he.r,ke=(ae.x*he.r+he.x*ae.r)/be,Le=(ae.y*he.r+he.y*ae.r)/be;return ke*ke+Le*Le}function L(Ce){this._=Ce,this.next=null,this.previous=null}function b(Ce){if(!(ke=Ce.length))return 0;var ae,he,be,ke,Le,Be,ze,je,ge,we,Ee;if((ae=Ce[0]).x=0,ae.y=0,!(ke>1))return ae.r;if(he=Ce[1],ae.x=-he.r,he.x=ae.r,he.y=0,!(ke>2))return ae.r+he.r;C(he,ae,be=Ce[2]),ae=new L(ae),he=new L(he),be=new L(be),ae.next=be.previous=he,he.next=ae.previous=be,be.next=he.previous=ae;e:for(ze=3;ze0)throw new Error("cycle");return Be}return he.id=function(be){return arguments.length?(Ce=R(be),he):Ce},he.parentId=function(be){return arguments.length?(ae=R(be),he):ae},he}function Q(Ce,ae){return Ce.parent===ae.parent?1:2}function re(Ce){var ae=Ce.children;return ae?ae[0]:Ce.t}function ie(Ce){var ae=Ce.children;return ae?ae[ae.length-1]:Ce.t}function oe(Ce,ae,he){var be=he/(ae.i-Ce.i);ae.c-=be,ae.s+=he,Ce.c+=be,ae.z+=he,ae.m+=he}function ue(Ce,ae,he){return Ce.a.parent===ae.parent?Ce.a:he}function ce(Ce,ae){this._=Ce,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=ae}function ye(){var Ce=Q,ae=1,he=1,be=null;function ke(je){var ge=function(ft){for(var bt,Et,kt,xt,Ft,Rt=new ce(ft,0),Bt=[Rt];bt=Bt.pop();)if(kt=bt._.children)for(bt.children=new Array(Ft=kt.length),xt=Ft-1;xt>=0;--xt)Bt.push(Et=bt.children[xt]=new ce(kt[xt],xt)),Et.parent=bt;return(Rt.parent=new ce(null,0)).children=[Rt],Rt}(je);if(ge.eachAfter(Le),ge.parent.m=-ge.z,ge.eachBefore(Be),be)je.eachBefore(ze);else{var we=je,Ee=je,Ve=je;je.eachBefore(function(ft){ft.xEe.x&&(Ee=ft),ft.depth>Ve.depth&&(Ve=ft)});var Ye=we===Ee?1:Ce(we,Ee)/2,$e=Ye-we.x,st=ae/(Ee.x+Ye+$e),ot=he/(Ve.depth||1);je.eachBefore(function(ft){ft.x=(ft.x+$e)*st,ft.y=ft.depth*ot})}return je}function Le(je){var ge=je.children,we=je.parent.children,Ee=je.i?we[je.i-1]:null;if(ge){(function(Ye){for(var $e,st=0,ot=0,ft=Ye.children,bt=ft.length;--bt>=0;)($e=ft[bt]).z+=st,$e.m+=st,st+=$e.s+(ot+=$e.c)})(je);var Ve=(ge[0].z+ge[ge.length-1].z)/2;Ee?(je.z=Ee.z+Ce(je._,Ee._),je.m=je.z-Ve):je.z=Ve}else Ee&&(je.z=Ee.z+Ce(je._,Ee._));je.parent.A=function(Ye,$e,st){if($e){for(var ot,ft=Ye,bt=Ye,Et=$e,kt=ft.parent.children[0],xt=ft.m,Ft=bt.m,Rt=Et.m,Bt=kt.m;Et=ie(Et),ft=re(ft),Et&&ft;)kt=re(kt),(bt=ie(bt)).a=Ye,(ot=Et.z+Rt-ft.z-xt+Ce(Et._,ft._))>0&&(oe(ue(Et,Ye,st),Ye,ot),xt+=ot,Ft+=ot),Rt+=Et.m,xt+=ft.m,Bt+=kt.m,Ft+=bt.m;Et&&!ie(bt)&&(bt.t=Et,bt.m+=Rt-Ft),ft&&!re(kt)&&(kt.t=ft,kt.m+=xt-Bt,st=Ye)}return st}(je,Ee,je.parent.A||we[0])}function Be(je){je._.x=je.z+je.parent.m,je.m+=je.parent.m}function ze(je){je.x*=ae,je.y=je.depth*he}return ke.separation=function(je){return arguments.length?(Ce=je,ke):Ce},ke.size=function(je){return arguments.length?(be=!1,ae=+je[0],he=+je[1],ke):be?null:[ae,he]},ke.nodeSize=function(je){return arguments.length?(be=!0,ae=+je[0],he=+je[1],ke):be?[ae,he]:null},ke}function de(Ce,ae,he,be,ke){for(var Le,Be=Ce.children,ze=-1,je=Be.length,ge=Ce.value&&(ke-he)/Ce.value;++zeVe&&(Ve=ze),ot=we*we*st,(Ye=Math.max(Ve/ot,ot/Ee))>$e){we-=ze;break}$e=Ye}ft.push(Be={value:we,dice:je1?be:1)},he}(me);function Oe(){var Ce=xe,ae=!1,he=1,be=1,ke=[0],Le=D,Be=D,ze=D,je=D,ge=D;function we(Ve){return Ve.x0=Ve.y0=0,Ve.x1=he,Ve.y1=be,Ve.eachBefore(Ee),ke=[0],ae&&Ve.eachBefore(U),Ve}function Ee(Ve){var Ye=ke[Ve.depth],$e=Ve.x0+Ye,st=Ve.y0+Ye,ot=Ve.x1-Ye,ft=Ve.y1-Ye;ot<$e&&($e=ot=($e+ot)/2),ft=Ve-1){var bt=ze[Ee];return bt.x0=$e,bt.y0=st,bt.x1=ot,void(bt.y1=ft)}for(var Et=ge[Ee],kt=Ye/2+Et,xt=Ee+1,Ft=Ve-1;xt>>1;ge[Rt]ft-st){var Vt=($e*qt+ot*Bt)/Ye;we(Ee,xt,Bt,$e,st,Vt,ft),we(xt,Ve,qt,Vt,st,ot,ft)}else{var Ke=(st*qt+ft*Bt)/Ye;we(Ee,xt,Bt,$e,st,ot,Ke),we(xt,Ve,qt,$e,Ke,ot,ft)}})(0,je,Ce.value,ae,he,be,ke)}function Me(Ce,ae,he,be,ke){(1&Ce.depth?de:G)(Ce,ae,he,be,ke)}var Se=function Ce(ae){function he(be,ke,Le,Be,ze){if((je=be._squarify)&&je.ratio===ae)for(var je,ge,we,Ee,Ve,Ye=-1,$e=je.length,st=be.value;++Ye<$e;){for(we=(ge=je[Ye]).children,Ee=ge.value=0,Ve=we.length;Ee1?be:1)},he}(me)},45879:function(k,m,t){t.d(m,{h5:function(){return w}});var d=Math.PI,y=2*d,i=1e-6,M=y-i;function g(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function h(){return new g}g.prototype=h.prototype={constructor:g,moveTo:function(v,S){this._+="M"+(this._x0=this._x1=+v)+","+(this._y0=this._y1=+S)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(v,S){this._+="L"+(this._x1=+v)+","+(this._y1=+S)},quadraticCurveTo:function(v,S,x,T){this._+="Q"+ +v+","+ +S+","+(this._x1=+x)+","+(this._y1=+T)},bezierCurveTo:function(v,S,x,T,C,_){this._+="C"+ +v+","+ +S+","+ +x+","+ +T+","+(this._x1=+C)+","+(this._y1=+_)},arcTo:function(v,S,x,T,C){v=+v,S=+S,x=+x,T=+T,C=+C;var _=this._x1,A=this._y1,L=x-v,b=T-S,P=_-v,I=A-S,R=P*P+I*I;if(C<0)throw new Error("negative radius: "+C);if(this._x1===null)this._+="M"+(this._x1=v)+","+(this._y1=S);else if(R>i)if(Math.abs(I*L-b*P)>i&&C){var D=x-_,F=T-A,B=L*L+b*b,N=D*D+F*F,W=Math.sqrt(B),j=Math.sqrt(R),Y=C*Math.tan((d-Math.acos((B+R-N)/(2*W*j)))/2),U=Y/j,G=Y/W;Math.abs(U-1)>i&&(this._+="L"+(v+U*P)+","+(S+U*I)),this._+="A"+C+","+C+",0,0,"+ +(I*D>P*F)+","+(this._x1=v+G*L)+","+(this._y1=S+G*b)}else this._+="L"+(this._x1=v)+","+(this._y1=S)},arc:function(v,S,x,T,C,_){v=+v,S=+S,_=!!_;var A=(x=+x)*Math.cos(T),L=x*Math.sin(T),b=v+A,P=S+L,I=1^_,R=_?T-C:C-T;if(x<0)throw new Error("negative radius: "+x);this._x1===null?this._+="M"+b+","+P:(Math.abs(this._x1-b)>i||Math.abs(this._y1-P)>i)&&(this._+="L"+b+","+P),x&&(R<0&&(R=R%y+y),R>M?this._+="A"+x+","+x+",0,1,"+I+","+(v-A)+","+(S-L)+"A"+x+","+x+",0,1,"+I+","+(this._x1=b)+","+(this._y1=P):R>i&&(this._+="A"+x+","+x+",0,"+ +(R>=d)+","+I+","+(this._x1=v+x*Math.cos(C))+","+(this._y1=S+x*Math.sin(C))))},rect:function(v,S,x,T){this._+="M"+(this._x0=this._x1=+v)+","+(this._y0=this._y1=+S)+"h"+ +x+"v"+ +T+"h"+-x+"Z"},toString:function(){return this._}};var l=h,a=Array.prototype.slice;function u(v){return function(){return v}}function o(v){return v[0]}function s(v){return v[1]}function c(v){return v.source}function f(v){return v.target}function p(v,S,x,T,C){v.moveTo(S,x),v.bezierCurveTo(S=(S+T)/2,x,S,C,T,C)}function w(){return function(v){var S=c,x=f,T=o,C=s,_=null;function A(){var L,b=a.call(arguments),P=S.apply(this,b),I=x.apply(this,b);if(_||(_=L=l()),v(_,+T.apply(this,(b[0]=P,b)),+C.apply(this,b),+T.apply(this,(b[0]=I,b)),+C.apply(this,b)),L)return _=null,L+""||null}return A.source=function(L){return arguments.length?(S=L,A):S},A.target=function(L){return arguments.length?(x=L,A):x},A.x=function(L){return arguments.length?(T=typeof L=="function"?L:u(+L),A):T},A.y=function(L){return arguments.length?(C=typeof L=="function"?L:u(+L),A):C},A.context=function(L){return arguments.length?(_=L??null,A):_},A}(p)}},84096:function(k,m,t){t.d(m,{i$:function(){return c},Dq:function(){return o},g0:function(){return f}});var d=t(58176),y=t(48480),i=t(59879),M=t(82301),g=t(34823),h=t(79791);function l(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L);return Ft.setFullYear(xt.y),Ft}return new Date(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L)}function a(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(Date.UTC(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L));return Ft.setUTCFullYear(xt.y),Ft}return new Date(Date.UTC(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L))}function u(xt,Ft,Rt){return{y:xt,m:Ft,d:Rt,H:0,M:0,S:0,L:0}}function o(xt){var Ft=xt.dateTime,Rt=xt.date,Bt=xt.time,qt=xt.periods,Vt=xt.days,Ke=xt.shortDays,Je=xt.months,qe=xt.shortMonths,nt=C(qt),ht=_(qt),Pe=C(Vt),Ne=_(Vt),Qe=C(Ke),ut=_(Ke),dt=C(Je),_t=_(Je),It=C(qe),Lt=_(qe),yt={a:function(Wt){return Ke[Wt.getDay()]},A:function(Wt){return Vt[Wt.getDay()]},b:function(Wt){return qe[Wt.getMonth()]},B:function(Wt){return Je[Wt.getMonth()]},c:null,d:X,e:X,f:ue,H:Q,I:re,j:ie,L:oe,m:ce,M:ye,p:function(Wt){return qt[+(Wt.getHours()>=12)]},q:function(Wt){return 1+~~(Wt.getMonth()/3)},Q:Et,s:kt,S:de,u:me,U:pe,V:xe,w:Oe,W:_e,x:null,X:null,y:Me,Y:Se,Z:Ce,"%":bt},Ot={a:function(Wt){return Ke[Wt.getUTCDay()]},A:function(Wt){return Vt[Wt.getUTCDay()]},b:function(Wt){return qe[Wt.getUTCMonth()]},B:function(Wt){return Je[Wt.getUTCMonth()]},c:null,d:ae,e:ae,f:Be,H:he,I:be,j:ke,L:Le,m:ze,M:je,p:function(Wt){return qt[+(Wt.getUTCHours()>=12)]},q:function(Wt){return 1+~~(Wt.getUTCMonth()/3)},Q:Et,s:kt,S:ge,u:we,U:Ee,V:Ve,w:Ye,W:$e,x:null,X:null,y:st,Y:ot,Z:ft,"%":bt},wt={a:function(Wt,Xt,Qt){var rn=Qe.exec(Xt.slice(Qt));return rn?(Wt.w=ut[rn[0].toLowerCase()],Qt+rn[0].length):-1},A:function(Wt,Xt,Qt){var rn=Pe.exec(Xt.slice(Qt));return rn?(Wt.w=Ne[rn[0].toLowerCase()],Qt+rn[0].length):-1},b:function(Wt,Xt,Qt){var rn=It.exec(Xt.slice(Qt));return rn?(Wt.m=Lt[rn[0].toLowerCase()],Qt+rn[0].length):-1},B:function(Wt,Xt,Qt){var rn=dt.exec(Xt.slice(Qt));return rn?(Wt.m=_t[rn[0].toLowerCase()],Qt+rn[0].length):-1},c:function(Wt,Xt,Qt){return $t(Wt,Ft,Xt,Qt)},d:W,e:W,f:H,H:Y,I:Y,j,L:q,m:N,M:U,p:function(Wt,Xt,Qt){var rn=nt.exec(Xt.slice(Qt));return rn?(Wt.p=ht[rn[0].toLowerCase()],Qt+rn[0].length):-1},q:B,Q:te,s:Z,S:G,u:L,U:b,V:P,w:A,W:I,x:function(Wt,Xt,Qt){return $t(Wt,Rt,Xt,Qt)},X:function(Wt,Xt,Qt){return $t(Wt,Bt,Xt,Qt)},y:D,Y:R,Z:F,"%":ne};function Pt(Wt,Xt){return function(Qt){var rn,xn,un,An=[],$n=-1,kn=0,sn=Wt.length;for(Qt instanceof Date||(Qt=new Date(+Qt));++$n53)return null;"w"in un||(un.w=1),"Z"in un?(xn=(rn=a(u(un.y,0,1))).getUTCDay(),rn=xn>4||xn===0?d.l6.ceil(rn):(0,d.l6)(rn),rn=y.Z.offset(rn,7*(un.V-1)),un.y=rn.getUTCFullYear(),un.m=rn.getUTCMonth(),un.d=rn.getUTCDate()+(un.w+6)%7):(xn=(rn=l(u(un.y,0,1))).getDay(),rn=xn>4||xn===0?i.wA.ceil(rn):(0,i.wA)(rn),rn=M.Z.offset(rn,7*(un.V-1)),un.y=rn.getFullYear(),un.m=rn.getMonth(),un.d=rn.getDate()+(un.w+6)%7)}else("W"in un||"U"in un)&&("w"in un||(un.w="u"in un?un.u%7:"W"in un?1:0),xn="Z"in un?a(u(un.y,0,1)).getUTCDay():l(u(un.y,0,1)).getDay(),un.m=0,un.d="W"in un?(un.w+6)%7+7*un.W-(xn+5)%7:un.w+7*un.U-(xn+6)%7);return"Z"in un?(un.H+=un.Z/100|0,un.M+=un.Z%100,a(un)):l(un)}}function $t(Wt,Xt,Qt,rn){for(var xn,un,An=0,$n=Xt.length,kn=Qt.length;An<$n;){if(rn>=kn)return-1;if((xn=Xt.charCodeAt(An++))===37){if(xn=Xt.charAt(An++),!(un=wt[xn in p?Xt.charAt(An++):xn])||(rn=un(Wt,Qt,rn))<0)return-1}else if(xn!=Qt.charCodeAt(rn++))return-1}return rn}return yt.x=Pt(Rt,yt),yt.X=Pt(Bt,yt),yt.c=Pt(Ft,yt),Ot.x=Pt(Rt,Ot),Ot.X=Pt(Bt,Ot),Ot.c=Pt(Ft,Ot),{format:function(Wt){var Xt=Pt(Wt+="",yt);return Xt.toString=function(){return Wt},Xt},parse:function(Wt){var Xt=Nt(Wt+="",!1);return Xt.toString=function(){return Wt},Xt},utcFormat:function(Wt){var Xt=Pt(Wt+="",Ot);return Xt.toString=function(){return Wt},Xt},utcParse:function(Wt){var Xt=Nt(Wt+="",!0);return Xt.toString=function(){return Wt},Xt}}}var s,c,f,p={"-":"",_:" ",0:"0"},w=/^\s*\d+/,v=/^%/,S=/[\\^$*+?|[\]().{}]/g;function x(xt,Ft,Rt){var Bt=xt<0?"-":"",qt=(Bt?-xt:xt)+"",Vt=qt.length;return Bt+(Vt68?1900:2e3),Rt+Bt[0].length):-1}function F(xt,Ft,Rt){var Bt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ft.slice(Rt,Rt+6));return Bt?(xt.Z=Bt[1]?0:-(Bt[2]+(Bt[3]||"00")),Rt+Bt[0].length):-1}function B(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+1));return Bt?(xt.q=3*Bt[0]-3,Rt+Bt[0].length):-1}function N(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+2));return Bt?(xt.m=Bt[0]-1,Rt+Bt[0].length):-1}function W(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+2));return Bt?(xt.d=+Bt[0],Rt+Bt[0].length):-1}function j(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+3));return Bt?(xt.m=0,xt.d=+Bt[0],Rt+Bt[0].length):-1}function Y(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+2));return Bt?(xt.H=+Bt[0],Rt+Bt[0].length):-1}function U(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+2));return Bt?(xt.M=+Bt[0],Rt+Bt[0].length):-1}function G(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+2));return Bt?(xt.S=+Bt[0],Rt+Bt[0].length):-1}function q(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+3));return Bt?(xt.L=+Bt[0],Rt+Bt[0].length):-1}function H(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt,Rt+6));return Bt?(xt.L=Math.floor(Bt[0]/1e3),Rt+Bt[0].length):-1}function ne(xt,Ft,Rt){var Bt=v.exec(Ft.slice(Rt,Rt+1));return Bt?Rt+Bt[0].length:-1}function te(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt));return Bt?(xt.Q=+Bt[0],Rt+Bt[0].length):-1}function Z(xt,Ft,Rt){var Bt=w.exec(Ft.slice(Rt));return Bt?(xt.s=+Bt[0],Rt+Bt[0].length):-1}function X(xt,Ft){return x(xt.getDate(),Ft,2)}function Q(xt,Ft){return x(xt.getHours(),Ft,2)}function re(xt,Ft){return x(xt.getHours()%12||12,Ft,2)}function ie(xt,Ft){return x(1+M.Z.count((0,g.Z)(xt),xt),Ft,3)}function oe(xt,Ft){return x(xt.getMilliseconds(),Ft,3)}function ue(xt,Ft){return oe(xt,Ft)+"000"}function ce(xt,Ft){return x(xt.getMonth()+1,Ft,2)}function ye(xt,Ft){return x(xt.getMinutes(),Ft,2)}function de(xt,Ft){return x(xt.getSeconds(),Ft,2)}function me(xt){var Ft=xt.getDay();return Ft===0?7:Ft}function pe(xt,Ft){return x(i.OM.count((0,g.Z)(xt)-1,xt),Ft,2)}function xe(xt,Ft){var Rt=xt.getDay();return xt=Rt>=4||Rt===0?(0,i.bL)(xt):i.bL.ceil(xt),x(i.bL.count((0,g.Z)(xt),xt)+((0,g.Z)(xt).getDay()===4),Ft,2)}function Oe(xt){return xt.getDay()}function _e(xt,Ft){return x(i.wA.count((0,g.Z)(xt)-1,xt),Ft,2)}function Me(xt,Ft){return x(xt.getFullYear()%100,Ft,2)}function Se(xt,Ft){return x(xt.getFullYear()%1e4,Ft,4)}function Ce(xt){var Ft=xt.getTimezoneOffset();return(Ft>0?"-":(Ft*=-1,"+"))+x(Ft/60|0,"0",2)+x(Ft%60,"0",2)}function ae(xt,Ft){return x(xt.getUTCDate(),Ft,2)}function he(xt,Ft){return x(xt.getUTCHours(),Ft,2)}function be(xt,Ft){return x(xt.getUTCHours()%12||12,Ft,2)}function ke(xt,Ft){return x(1+y.Z.count((0,h.Z)(xt),xt),Ft,3)}function Le(xt,Ft){return x(xt.getUTCMilliseconds(),Ft,3)}function Be(xt,Ft){return Le(xt,Ft)+"000"}function ze(xt,Ft){return x(xt.getUTCMonth()+1,Ft,2)}function je(xt,Ft){return x(xt.getUTCMinutes(),Ft,2)}function ge(xt,Ft){return x(xt.getUTCSeconds(),Ft,2)}function we(xt){var Ft=xt.getUTCDay();return Ft===0?7:Ft}function Ee(xt,Ft){return x(d.Ox.count((0,h.Z)(xt)-1,xt),Ft,2)}function Ve(xt,Ft){var Rt=xt.getUTCDay();return xt=Rt>=4||Rt===0?(0,d.hB)(xt):d.hB.ceil(xt),x(d.hB.count((0,h.Z)(xt),xt)+((0,h.Z)(xt).getUTCDay()===4),Ft,2)}function Ye(xt){return xt.getUTCDay()}function $e(xt,Ft){return x(d.l6.count((0,h.Z)(xt)-1,xt),Ft,2)}function st(xt,Ft){return x(xt.getUTCFullYear()%100,Ft,2)}function ot(xt,Ft){return x(xt.getUTCFullYear()%1e4,Ft,4)}function ft(){return"+0000"}function bt(){return"%"}function Et(xt){return+xt}function kt(xt){return Math.floor(+xt/1e3)}s=o({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),c=s.format,s.parse,f=s.utcFormat,s.utcParse},82301:function(k,m,t){t.d(m,{a:function(){return M}});var d=t(30052),y=t(54263),i=(0,d.Z)(function(g){g.setHours(0,0,0,0)},function(g,h){g.setDate(g.getDate()+h)},function(g,h){return(h-g-(h.getTimezoneOffset()-g.getTimezoneOffset())*y.yB)/y.UD},function(g){return g.getDate()-1});m.Z=i;var M=i.range},54263:function(k,m,t){t.d(m,{UD:function(){return M},Y2:function(){return i},Ym:function(){return d},iM:function(){return g},yB:function(){return y}});var d=1e3,y=6e4,i=36e5,M=864e5,g=6048e5},81041:function(k,m,t){t.r(m),t.d(m,{timeDay:function(){return w.Z},timeDays:function(){return w.a},timeFriday:function(){return v.mC},timeFridays:function(){return v.b$},timeHour:function(){return f},timeHours:function(){return p},timeInterval:function(){return d.Z},timeMillisecond:function(){return i},timeMilliseconds:function(){return M},timeMinute:function(){return o},timeMinutes:function(){return s},timeMonday:function(){return v.wA},timeMondays:function(){return v.bJ},timeMonth:function(){return x},timeMonths:function(){return T},timeSaturday:function(){return v.EY},timeSaturdays:function(){return v.Ff},timeSecond:function(){return l},timeSeconds:function(){return a},timeSunday:function(){return v.OM},timeSundays:function(){return v.vm},timeThursday:function(){return v.bL},timeThursdays:function(){return v.$t},timeTuesday:function(){return v.sy},timeTuesdays:function(){return v.aU},timeWednesday:function(){return v.zg},timeWednesdays:function(){return v.Ld},timeWeek:function(){return v.OM},timeWeeks:function(){return v.vm},timeYear:function(){return C.Z},timeYears:function(){return C.g},utcDay:function(){return R.Z},utcDays:function(){return R.y},utcFriday:function(){return D.QQ},utcFridays:function(){return D.fz},utcHour:function(){return P},utcHours:function(){return I},utcMillisecond:function(){return i},utcMilliseconds:function(){return M},utcMinute:function(){return A},utcMinutes:function(){return L},utcMonday:function(){return D.l6},utcMondays:function(){return D.$3},utcMonth:function(){return B},utcMonths:function(){return N},utcSaturday:function(){return D.g4},utcSaturdays:function(){return D.Q_},utcSecond:function(){return l},utcSeconds:function(){return a},utcSunday:function(){return D.Ox},utcSundays:function(){return D.SU},utcThursday:function(){return D.hB},utcThursdays:function(){return D.xj},utcTuesday:function(){return D.J1},utcTuesdays:function(){return D.DK},utcWednesday:function(){return D.b3},utcWednesdays:function(){return D.uy},utcWeek:function(){return D.Ox},utcWeeks:function(){return D.SU},utcYear:function(){return W.Z},utcYears:function(){return W.D}});var d=t(30052),y=(0,d.Z)(function(){},function(j,Y){j.setTime(+j+Y)},function(j,Y){return Y-j});y.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?(0,d.Z)(function(Y){Y.setTime(Math.floor(Y/j)*j)},function(Y,U){Y.setTime(+Y+U*j)},function(Y,U){return(U-Y)/j}):y:null};var i=y,M=y.range,g=t(54263),h=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds())},function(j,Y){j.setTime(+j+Y*g.Ym)},function(j,Y){return(Y-j)/g.Ym},function(j){return j.getUTCSeconds()}),l=h,a=h.range,u=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*g.Ym)},function(j,Y){j.setTime(+j+Y*g.yB)},function(j,Y){return(Y-j)/g.yB},function(j){return j.getMinutes()}),o=u,s=u.range,c=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*g.Ym-j.getMinutes()*g.yB)},function(j,Y){j.setTime(+j+Y*g.Y2)},function(j,Y){return(Y-j)/g.Y2},function(j){return j.getHours()}),f=c,p=c.range,w=t(82301),v=t(59879),S=(0,d.Z)(function(j){j.setDate(1),j.setHours(0,0,0,0)},function(j,Y){j.setMonth(j.getMonth()+Y)},function(j,Y){return Y.getMonth()-j.getMonth()+12*(Y.getFullYear()-j.getFullYear())},function(j){return j.getMonth()}),x=S,T=S.range,C=t(34823),_=(0,d.Z)(function(j){j.setUTCSeconds(0,0)},function(j,Y){j.setTime(+j+Y*g.yB)},function(j,Y){return(Y-j)/g.yB},function(j){return j.getUTCMinutes()}),A=_,L=_.range,b=(0,d.Z)(function(j){j.setUTCMinutes(0,0,0)},function(j,Y){j.setTime(+j+Y*g.Y2)},function(j,Y){return(Y-j)/g.Y2},function(j){return j.getUTCHours()}),P=b,I=b.range,R=t(48480),D=t(58176),F=(0,d.Z)(function(j){j.setUTCDate(1),j.setUTCHours(0,0,0,0)},function(j,Y){j.setUTCMonth(j.getUTCMonth()+Y)},function(j,Y){return Y.getUTCMonth()-j.getUTCMonth()+12*(Y.getUTCFullYear()-j.getUTCFullYear())},function(j){return j.getUTCMonth()}),B=F,N=F.range,W=t(79791)},30052:function(k,m,t){t.d(m,{Z:function(){return i}});var d=new Date,y=new Date;function i(M,g,h,l){function a(u){return M(u=arguments.length===0?new Date:new Date(+u)),u}return a.floor=function(u){return M(u=new Date(+u)),u},a.ceil=function(u){return M(u=new Date(u-1)),g(u,1),M(u),u},a.round=function(u){var o=a(u),s=a.ceil(u);return u-o0))return f;do f.push(c=new Date(+u)),g(u,s),M(u);while(c=o)for(;M(o),!u(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;g(o,-1),!u(o););else for(;--s>=0;)for(;g(o,1),!u(o););})},h&&(a.count=function(u,o){return d.setTime(+u),y.setTime(+o),M(d),M(y),Math.floor(h(d,y))},a.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?a.filter(l?function(o){return l(o)%u==0}:function(o){return a.count(0,o)%u==0}):a:null}),a}},48480:function(k,m,t){t.d(m,{y:function(){return M}});var d=t(30052),y=t(54263),i=(0,d.Z)(function(g){g.setUTCHours(0,0,0,0)},function(g,h){g.setUTCDate(g.getUTCDate()+h)},function(g,h){return(h-g)/y.UD},function(g){return g.getUTCDate()-1});m.Z=i;var M=i.range},58176:function(k,m,t){t.d(m,{$3:function(){return c},DK:function(){return f},J1:function(){return h},Ox:function(){return M},QQ:function(){return u},Q_:function(){return S},SU:function(){return s},b3:function(){return l},fz:function(){return v},g4:function(){return o},hB:function(){return a},l6:function(){return g},uy:function(){return p},xj:function(){return w}});var d=t(30052),y=t(54263);function i(x){return(0,d.Z)(function(T){T.setUTCDate(T.getUTCDate()-(T.getUTCDay()+7-x)%7),T.setUTCHours(0,0,0,0)},function(T,C){T.setUTCDate(T.getUTCDate()+7*C)},function(T,C){return(C-T)/y.iM})}var M=i(0),g=i(1),h=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,c=g.range,f=h.range,p=l.range,w=a.range,v=u.range,S=o.range},79791:function(k,m,t){t.d(m,{D:function(){return i}});var d=t(30052),y=(0,d.Z)(function(M){M.setUTCMonth(0,1),M.setUTCHours(0,0,0,0)},function(M,g){M.setUTCFullYear(M.getUTCFullYear()+g)},function(M,g){return g.getUTCFullYear()-M.getUTCFullYear()},function(M){return M.getUTCFullYear()});y.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(g){g.setUTCFullYear(Math.floor(g.getUTCFullYear()/M)*M),g.setUTCMonth(0,1),g.setUTCHours(0,0,0,0)},function(g,h){g.setUTCFullYear(g.getUTCFullYear()+h*M)}):null},m.Z=y;var i=y.range},59879:function(k,m,t){t.d(m,{$t:function(){return w},EY:function(){return o},Ff:function(){return S},Ld:function(){return p},OM:function(){return M},aU:function(){return f},b$:function(){return v},bJ:function(){return c},bL:function(){return a},mC:function(){return u},sy:function(){return h},vm:function(){return s},wA:function(){return g},zg:function(){return l}});var d=t(30052),y=t(54263);function i(x){return(0,d.Z)(function(T){T.setDate(T.getDate()-(T.getDay()+7-x)%7),T.setHours(0,0,0,0)},function(T,C){T.setDate(T.getDate()+7*C)},function(T,C){return(C-T-(C.getTimezoneOffset()-T.getTimezoneOffset())*y.yB)/y.iM})}var M=i(0),g=i(1),h=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,c=g.range,f=h.range,p=l.range,w=a.range,v=u.range,S=o.range},34823:function(k,m,t){t.d(m,{g:function(){return i}});var d=t(30052),y=(0,d.Z)(function(M){M.setMonth(0,1),M.setHours(0,0,0,0)},function(M,g){M.setFullYear(M.getFullYear()+g)},function(M,g){return g.getFullYear()-M.getFullYear()},function(M){return M.getFullYear()});y.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(g){g.setFullYear(Math.floor(g.getFullYear()/M)*M),g.setMonth(0,1),g.setHours(0,0,0,0)},function(g,h){g.setFullYear(g.getFullYear()+h*M)}):null},m.Z=y;var i=y.range},17045:function(k,m,t){var d=t(8709),y=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,M=Array.prototype.concat,g=Object.defineProperty,h=t(55622)(),l=g&&h,a=function(o,s,c,f){if(s in o){if(f===!0){if(o[s]===c)return}else if(typeof(p=f)!="function"||i.call(p)!=="[object Function]"||!f())return}var p;l?g(o,s,{configurable:!0,enumerable:!1,value:c,writable:!0}):o[s]=c},u=function(o,s){var c=arguments.length>2?arguments[2]:{},f=d(s);y&&(f=M.call(f,Object.getOwnPropertySymbols(s)));for(var p=0;pl*a){var f=(c-s)/l;h[o]=1e3*f}}return h}function y(i){for(var M=[],g=i[0];g<=i[1];g++)for(var h=String.fromCharCode(g),l=i[0];l0)return function(y,i){var M,g;for(M=new Array(y),g=0;g80*R){D=B=P[0],F=N=P[1];for(var ne=R;neB&&(B=W),j>N&&(N=j);Y=(Y=Math.max(B-D,N-F))!==0?1/Y:0}return y(q,H,R,D,F,Y),H}function t(P,I,R,D,F){var B,N;if(F===b(P,I,R,D)>0)for(B=I;B=I;B-=D)N=_(B,P[B],P[B+1],N);return N&&w(N,N.next)&&(A(N),N=N.next),N}function d(P,I){if(!P)return P;I||(I=P);var R,D=P;do if(R=!1,D.steiner||!w(D,D.next)&&p(D.prev,D,D.next)!==0)D=D.next;else{if(A(D),(D=I=D.prev)===D.next)break;R=!0}while(R||D!==I);return I}function y(P,I,R,D,F,B,N){if(P){!N&&B&&function(U,G,q,H){var ne=U;do ne.z===null&&(ne.z=o(ne.x,ne.y,G,q,H)),ne.prevZ=ne.prev,ne.nextZ=ne.next,ne=ne.next;while(ne!==U);ne.prevZ.nextZ=null,ne.prevZ=null,function(te){var Z,X,Q,re,ie,oe,ue,ce,ye=1;do{for(X=te,te=null,ie=null,oe=0;X;){for(oe++,Q=X,ue=0,Z=0;Z0||ce>0&&Q;)ue!==0&&(ce===0||!Q||X.z<=Q.z)?(re=X,X=X.nextZ,ue--):(re=Q,Q=Q.nextZ,ce--),ie?ie.nextZ=re:te=re,re.prevZ=ie,ie=re;X=Q}ie.nextZ=null,ye*=2}while(oe>1)}(ne)}(P,D,F,B);for(var W,j,Y=P;P.prev!==P.next;)if(W=P.prev,j=P.next,B?M(P,D,F,B):i(P))I.push(W.i/R),I.push(P.i/R),I.push(j.i/R),A(P),P=j.next,Y=j.next;else if((P=j)===Y){N?N===1?y(P=g(d(P),I,R),I,R,D,F,B,2):N===2&&h(P,I,R,D,F,B):y(d(P),I,R,D,F,B,1);break}}}function i(P){var I=P.prev,R=P,D=P.next;if(p(I,R,D)>=0)return!1;for(var F=P.next.next;F!==P.prev;){if(c(I.x,I.y,R.x,R.y,D.x,D.y,F.x,F.y)&&p(F.prev,F,F.next)>=0)return!1;F=F.next}return!0}function M(P,I,R,D){var F=P.prev,B=P,N=P.next;if(p(F,B,N)>=0)return!1;for(var W=F.xB.x?F.x>N.x?F.x:N.x:B.x>N.x?B.x:N.x,U=F.y>B.y?F.y>N.y?F.y:N.y:B.y>N.y?B.y:N.y,G=o(W,j,I,R,D),q=o(Y,U,I,R,D),H=P.prevZ,ne=P.nextZ;H&&H.z>=G&&ne&&ne.z<=q;){if(H!==P.prev&&H!==P.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&p(H.prev,H,H.next)>=0||(H=H.prevZ,ne!==P.prev&&ne!==P.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&p(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;H&&H.z>=G;){if(H!==P.prev&&H!==P.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&p(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;ne&&ne.z<=q;){if(ne!==P.prev&&ne!==P.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&p(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function g(P,I,R){var D=P;do{var F=D.prev,B=D.next.next;!w(F,B)&&v(F,D,D.next,B)&&T(F,B)&&T(B,F)&&(I.push(F.i/R),I.push(D.i/R),I.push(B.i/R),A(D),A(D.next),D=P=B),D=D.next}while(D!==P);return d(D)}function h(P,I,R,D,F,B){var N=P;do{for(var W=N.next.next;W!==N.prev;){if(N.i!==W.i&&f(N,W)){var j=C(N,W);return N=d(N,N.next),j=d(j,j.next),y(N,I,R,D,F,B),void y(j,I,R,D,F,B)}W=W.next}N=N.next}while(N!==P)}function l(P,I){return P.x-I.x}function a(P,I){if(I=function(D,F){var B,N=F,W=D.x,j=D.y,Y=-1/0;do{if(j<=N.y&&j>=N.next.y&&N.next.y!==N.y){var U=N.x+(j-N.y)*(N.next.x-N.x)/(N.next.y-N.y);if(U<=W&&U>Y){if(Y=U,U===W){if(j===N.y)return N;if(j===N.next.y)return N.next}B=N.x=N.x&&N.x>=H&&W!==N.x&&c(jB.x||N.x===B.x&&u(B,N)))&&(B=N,te=G)),N=N.next;while(N!==q);return B}(P,I),I){var R=C(I,P);d(I,I.next),d(R,R.next)}}function u(P,I){return p(P.prev,P,I.prev)<0&&p(I.next,P,P.next)<0}function o(P,I,R,D,F){return(P=1431655765&((P=858993459&((P=252645135&((P=16711935&((P=32767*(P-R)*F)|P<<8))|P<<4))|P<<2))|P<<1))|(I=1431655765&((I=858993459&((I=252645135&((I=16711935&((I=32767*(I-D)*F)|I<<8))|I<<4))|I<<2))|I<<1))<<1}function s(P){var I=P,R=P;do(I.x=0&&(P-N)*(D-W)-(R-N)*(I-W)>=0&&(R-N)*(B-W)-(F-N)*(D-W)>=0}function f(P,I){return P.next.i!==I.i&&P.prev.i!==I.i&&!function(R,D){var F=R;do{if(F.i!==R.i&&F.next.i!==R.i&&F.i!==D.i&&F.next.i!==D.i&&v(F,F.next,R,D))return!0;F=F.next}while(F!==R);return!1}(P,I)&&(T(P,I)&&T(I,P)&&function(R,D){var F=R,B=!1,N=(R.x+D.x)/2,W=(R.y+D.y)/2;do F.y>W!=F.next.y>W&&F.next.y!==F.y&&N<(F.next.x-F.x)*(W-F.y)/(F.next.y-F.y)+F.x&&(B=!B),F=F.next;while(F!==R);return B}(P,I)&&(p(P.prev,P,I.prev)||p(P,I.prev,I))||w(P,I)&&p(P.prev,P,P.next)>0&&p(I.prev,I,I.next)>0)}function p(P,I,R){return(I.y-P.y)*(R.x-I.x)-(I.x-P.x)*(R.y-I.y)}function w(P,I){return P.x===I.x&&P.y===I.y}function v(P,I,R,D){var F=x(p(P,I,R)),B=x(p(P,I,D)),N=x(p(R,D,P)),W=x(p(R,D,I));return F!==B&&N!==W||!(F!==0||!S(P,R,I))||!(B!==0||!S(P,D,I))||!(N!==0||!S(R,P,D))||!(W!==0||!S(R,I,D))}function S(P,I,R){return I.x<=Math.max(P.x,R.x)&&I.x>=Math.min(P.x,R.x)&&I.y<=Math.max(P.y,R.y)&&I.y>=Math.min(P.y,R.y)}function x(P){return P>0?1:P<0?-1:0}function T(P,I){return p(P.prev,P,P.next)<0?p(P,I,P.next)>=0&&p(P,P.prev,I)>=0:p(P,I,P.prev)<0||p(P,P.next,I)<0}function C(P,I){var R=new L(P.i,P.x,P.y),D=new L(I.i,I.x,I.y),F=P.next,B=I.prev;return P.next=I,I.prev=P,R.next=F,F.prev=R,D.next=R,R.prev=D,B.next=D,D.prev=B,D}function _(P,I,R,D){var F=new L(P,I,R);return D?(F.next=D.next,F.prev=D,D.next.prev=F,D.next=F):(F.prev=F,F.next=F),F}function A(P){P.next.prev=P.prev,P.prev.next=P.next,P.prevZ&&(P.prevZ.nextZ=P.nextZ),P.nextZ&&(P.nextZ.prevZ=P.prevZ)}function L(P,I,R){this.i=P,this.x=I,this.y=R,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(P,I,R,D){for(var F=0,B=I,N=R-D;B0&&(D+=P[F-1].length,R.holes.push(D))}return R}},2502:function(k,m,t){var d=t(68664);k.exports=function(y,i){var M,g=[],h=[],l=[],a={},u=[];function o(T){l[T]=!1,a.hasOwnProperty(T)&&Object.keys(a[T]).forEach(function(C){delete a[T][C],l[C]&&o(C)})}function s(T){var C,_,A=!1;for(h.push(T),l[T]=!0,C=0;C=R})})(T);for(var C,_=d(y).components.filter(function(R){return R.length>1}),A=1/0,L=0;L<_.length;L++)for(var b=0;b<_[L].length;b++)_[L][b]=55296&&T<=56319&&(L+=f[++w]),L=b?o.call(b,P,L,v):L,p?(s.value=L,c(S,v,s)):S[v]=L,++v;x=v}}if(x===void 0)for(x=M(f.length),p&&(S=new p(x)),w=0;w0?1:-1}},56247:function(k,m,t){var d=t(9953),y=Math.abs,i=Math.floor;k.exports=function(M){return isNaN(M)?0:(M=Number(M))!==0&&isFinite(M)?d(M)*i(y(M)):M}},35976:function(k,m,t){var d=t(56247),y=Math.max;k.exports=function(i){return y(0,d(i))}},67260:function(k,m,t){var d=t(78513),y=t(36672),i=Function.prototype.bind,M=Function.prototype.call,g=Object.keys,h=Object.prototype.propertyIsEnumerable;k.exports=function(l,a){return function(u,o){var s,c=arguments[2],f=arguments[3];return u=Object(y(u)),d(o),s=g(u),f&&s.sort(typeof f=="function"?i.call(f,u):void 0),typeof l!="function"&&(l=s[l]),M.call(l,s,function(p,w){return h.call(u,p)?M.call(o,c,u[p],p,u,w):a})}}},95879:function(k,m,t){k.exports=t(73583)()?Object.assign:t(34205)},73583:function(k){k.exports=function(){var m,t=Object.assign;return typeof t=="function"&&(t(m={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),m.foo+m.bar+m.trzy==="razdwatrzy")}},34205:function(k,m,t){var d=t(68700),y=t(36672),i=Math.max;k.exports=function(M,g){var h,l,a,u=i(arguments.length,2);for(M=Object(y(M)),a=function(o){try{M[o]=g[o]}catch(s){h||(h=s)}},l=1;l-1}},87963:function(k){var m=Object.prototype.toString,t=m.call("");k.exports=function(d){return typeof d=="string"||d&&typeof d=="object"&&(d instanceof String||m.call(d)===t)||!1}},43043:function(k){var m=Object.create(null),t=Math.random;k.exports=function(){var d;do d=t().toString(36).slice(2);while(m[d]);return d}},32411:function(k,m,t){var d,y=t(1496),i=t(66741),M=t(62072),g=t(8260),h=t(95426),l=Object.defineProperty;d=k.exports=function(a,u){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");h.call(this,a),u=u?i.call(u,"key+value")?"key+value":i.call(u,"key")?"key":"value":"value",l(this,"__kind__",M("",u))},y&&y(d,h),delete d.prototype.constructor,d.prototype=Object.create(h.prototype,{_resolve:M(function(a){return this.__kind__==="value"?this.__list__[a]:this.__kind__==="key+value"?[a,this.__list__[a]]:a})}),l(d.prototype,g.toStringTag,M("c","Array Iterator"))},27515:function(k,m,t){var d=t(73051),y=t(78513),i=t(87963),M=t(66661),g=Array.isArray,h=Function.prototype.call,l=Array.prototype.some;k.exports=function(a,u){var o,s,c,f,p,w,v,S,x=arguments[2];if(g(a)||d(a)?o="array":i(a)?o="string":a=M(a),y(u),c=function(){f=!0},o!=="array")if(o!=="string")for(s=a.next();!s.done;){if(h.call(u,x,s.value,c),f)return;s=a.next()}else for(w=a.length,p=0;p=55296&&S<=56319&&(v+=a[++p]),h.call(u,x,v,c),!f);++p);else l.call(a,function(T){return h.call(u,x,T,c),f})}},66661:function(k,m,t){var d=t(73051),y=t(87963),i=t(32411),M=t(259),g=t(58095),h=t(8260).iterator;k.exports=function(l){return typeof g(l)[h]=="function"?l[h]():d(l)?new i(l):y(l)?new M(l):new i(l)}},95426:function(k,m,t){var d,y=t(16134),i=t(95879),M=t(78513),g=t(36672),h=t(62072),l=t(55174),a=t(8260),u=Object.defineProperty,o=Object.defineProperties;k.exports=d=function(s,c){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");o(this,{__list__:h("w",g(s)),__context__:h("w",c),__nextIndex__:h("w",0)}),c&&(M(c.on),c.on("_add",this._onAdd),c.on("_delete",this._onDelete),c.on("_clear",this._onClear))},delete d.prototype.constructor,o(d.prototype,i({_next:h(function(){var s;if(this.__list__)return this.__redo__&&(s=this.__redo__.shift())!==void 0?s:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(c,f){c>=s&&(this.__redo__[f]=++c)},this),this.__redo__.push(s)):u(this,"__redo__",h("c",[s])))}),_onDelete:h(function(s){var c;s>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&((c=this.__redo__.indexOf(s))!==-1&&this.__redo__.splice(c,1),this.__redo__.forEach(function(f,p){f>s&&(this.__redo__[p]=--f)},this)))}),_onClear:h(function(){this.__redo__&&y.call(this.__redo__),this.__nextIndex__=0})}))),u(d.prototype,a.iterator,h(function(){return this}))},35940:function(k,m,t){var d=t(73051),y=t(95296),i=t(87963),M=t(8260).iterator,g=Array.isArray;k.exports=function(h){return!(!y(h)||!g(h)&&!i(h)&&!d(h)&&typeof h[M]!="function")}},259:function(k,m,t){var d,y=t(1496),i=t(62072),M=t(8260),g=t(95426),h=Object.defineProperty;d=k.exports=function(l){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");l=String(l),g.call(this,l),h(this,"__length__",i("",l.length))},y&&y(d,g),delete d.prototype.constructor,d.prototype=Object.create(g.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&a<=56319?u+this.__list__[this.__nextIndex__++]:u})}),h(d.prototype,M.toStringTag,i("c","String Iterator"))},58095:function(k,m,t){var d=t(35940);k.exports=function(y){if(!d(y))throw new TypeError(y+" is not iterable");return y}},73523:function(k){function m(t,d){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var y=Object(t),i=1;i0&&C.length>x&&!C.warned){C.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=p,A.type=w,A.count=C.length,_=A,console&&console.warn&&console.warn(_)}return p}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(p,w,v){var S={fired:!1,wrapFn:void 0,target:p,type:w,listener:v},x=a.bind(S);return x.listener=v,S.wrapFn=x,x}function o(p,w,v){var S=p._events;if(S===void 0)return[];var x=S[w];return x===void 0?[]:typeof x=="function"?v?[x.listener||x]:[x]:v?function(T){for(var C=new Array(T.length),_=0;_0&&(T=w[0]),T instanceof Error)throw T;var C=new Error("Unhandled error."+(T?" ("+T.message+")":""));throw C.context=T,C}var _=x[p];if(_===void 0)return!1;if(typeof _=="function")d(_,this,w);else{var A=_.length,L=c(_,A);for(v=0;v=0;T--)if(v[T]===w||v[T].listener===w){C=v[T].listener,x=T;break}if(x<0)return this;x===0?v.shift():function(_,A){for(;A+1<_.length;A++)_[A]=_[A+1];_.pop()}(v,x),v.length===1&&(S[p]=v[0]),S.removeListener!==void 0&&this.emit("removeListener",p,C||w)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(p){var w,v,S;if((v=this._events)===void 0)return this;if(v.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):v[p]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete v[p]),this;if(arguments.length===0){var x,T=Object.keys(v);for(S=0;S=0;S--)this.removeListener(p,w[S]);return this},i.prototype.listeners=function(p){return o(this,p,!0)},i.prototype.rawListeners=function(p){return o(this,p,!1)},i.listenerCount=function(p,w){return typeof p.listenerCount=="function"?p.listenerCount(w):s.call(p,w)},i.prototype.listenerCount=s,i.prototype.eventNames=function(){return this._eventsCount>0?m(this._events):[]}},60774:function(k){var m=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};k.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return m()}try{return __global__||m()}finally{delete Object.prototype.__global__}}()},94908:function(k,m,t){k.exports=t(51152)()?globalThis:t(60774)},51152:function(k){k.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},92770:function(k,m,t){var d=t(18546);k.exports=function(y){var i=typeof y;if(i==="string"){var M=y;if((y=+y)==0&&d(M))return!1}else if(i!=="number")return!1;return y-y<1}},30120:function(k,m,t){var d=t(90660);k.exports=function(y,i,M){if(!y)throw new TypeError("must specify data as first parameter");if(M=0|+(M||0),Array.isArray(y)&&y[0]&&typeof y[0][0]=="number"){var g,h,l,a,u=y[0].length,o=y.length*u;i&&typeof i!="string"||(i=new(d(i||"float32"))(o+M));var s=i.length-M;if(o!==s)throw new Error("source length "+o+" ("+u+"x"+y.length+") does not match destination length "+s);for(g=0,l=M;gM[0]-l[0]/2&&(f=l[0]/2,p+=l[1]);return g}},32879:function(k){function m(i,M){M||(M={}),(typeof i=="string"||Array.isArray(i))&&(M.family=i);var g=Array.isArray(M.family)?M.family.join(", "):M.family;if(!g)throw Error("`family` must be defined");var h=M.size||M.fontSize||M.em||48,l=M.weight||M.fontWeight||"",a=(i=[M.style||M.fontStyle||"",l,h].join(" ")+"px "+g,M.origin||"top");if(m.cache[g]&&h<=m.cache[g].em)return t(m.cache[g],a);var u=M.canvas||m.canvas,o=u.getContext("2d"),s={upper:M.upper!==void 0?M.upper:"H",lower:M.lower!==void 0?M.lower:"x",descent:M.descent!==void 0?M.descent:"p",ascent:M.ascent!==void 0?M.ascent:"h",tittle:M.tittle!==void 0?M.tittle:"i",overshoot:M.overshoot!==void 0?M.overshoot:"O"},c=Math.ceil(1.5*h);u.height=c,u.width=.5*c,o.font=i;var f="H",p={top:0};o.clearRect(0,0,c,c),o.textBaseline="top",o.fillStyle="black",o.fillText(f,0,0);var w=d(o.getImageData(0,0,c,c));o.clearRect(0,0,c,c),o.textBaseline="bottom",o.fillText(f,0,c);var v=d(o.getImageData(0,0,c,c));p.lineHeight=p.bottom=c-v+w,o.clearRect(0,0,c,c),o.textBaseline="alphabetic",o.fillText(f,0,c);var S=c-d(o.getImageData(0,0,c,c))-1+w;p.baseline=p.alphabetic=S,o.clearRect(0,0,c,c),o.textBaseline="middle",o.fillText(f,0,.5*c);var x=d(o.getImageData(0,0,c,c));p.median=p.middle=c-x-1+w-.5*c,o.clearRect(0,0,c,c),o.textBaseline="hanging",o.fillText(f,0,.5*c);var T=d(o.getImageData(0,0,c,c));p.hanging=c-T-1+w-.5*c,o.clearRect(0,0,c,c),o.textBaseline="ideographic",o.fillText(f,0,c);var C=d(o.getImageData(0,0,c,c));if(p.ideographic=c-C-1+w,s.upper&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.upper,0,0),p.upper=d(o.getImageData(0,0,c,c)),p.capHeight=p.baseline-p.upper),s.lower&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.lower,0,0),p.lower=d(o.getImageData(0,0,c,c)),p.xHeight=p.baseline-p.lower),s.tittle&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.tittle,0,0),p.tittle=d(o.getImageData(0,0,c,c))),s.ascent&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.ascent,0,0),p.ascent=d(o.getImageData(0,0,c,c))),s.descent&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.descent,0,0),p.descent=y(o.getImageData(0,0,c,c))),s.overshoot){o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.overshoot,0,0);var _=y(o.getImageData(0,0,c,c));p.overshoot=_-S}for(var A in p)p[A]/=h;return p.em=h,m.cache[g]=p,t(p,a)}function t(i,M){var g={};for(var h in typeof M=="string"&&(M=i[M]),i)h!=="em"&&(g[h]=i[h]-M);return g}function d(i){for(var M=i.height,g=i.data,h=3;h0;h-=4)if(g[h]!==0)return Math.floor(.25*(h-3)/M)}k.exports=m,m.canvas=document.createElement("canvas"),m.cache={}},31353:function(k,m,t){var d=t(85395),y=Object.prototype.toString,i=Object.prototype.hasOwnProperty,M=function(l,a,u){for(var o=0,s=l.length;o=3&&(o=u),y.call(l)==="[object Array]"?M(l,a,o):typeof l=="string"?g(l,a,o):h(l,a,o)}},73047:function(k){var m="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,d=Object.prototype.toString,y="[object Function]";k.exports=function(i){var M=this;if(typeof M!="function"||d.call(M)!==y)throw new TypeError(m+M);for(var g,h=t.call(arguments,1),l=function(){if(this instanceof g){var c=M.apply(this,h.concat(t.call(arguments)));return Object(c)===c?c:this}return M.apply(i,h.concat(t.call(arguments)))},a=Math.max(0,M.length-h.length),u=[],o=0;o"u"&&!t.canvas)return null;var d=t.canvas||document.createElement("canvas");typeof t.width=="number"&&(d.width=t.width),typeof t.height=="number"&&(d.height=t.height);var y,i=t;try{var M=[m];m.indexOf("webgl")===0&&M.push("experimental-"+m);for(var g=0;g"u"?d:o(Uint8Array),f={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":u?o([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?o(o([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map<"u"&&u?o(new Map()[Symbol.iterator]()):d,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set<"u"&&u?o(new Set()[Symbol.iterator]()):d,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?o(""[Symbol.iterator]()):d,"%Symbol%":u?Symbol:d,"%SyntaxError%":y,"%ThrowTypeError%":a,"%TypedArray%":c,"%TypeError%":M,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};try{null.error}catch(D){var p=o(o(D));f["%Error.prototype%"]=p}var w=function D(F){var B;if(F==="%AsyncFunction%")B=g("async function () {}");else if(F==="%GeneratorFunction%")B=g("function* () {}");else if(F==="%AsyncGeneratorFunction%")B=g("async function* () {}");else if(F==="%AsyncGenerator%"){var N=D("%AsyncGeneratorFunction%");N&&(B=N.prototype)}else if(F==="%AsyncIteratorPrototype%"){var W=D("%AsyncGenerator%");W&&(B=o(W.prototype))}return f[F]=B,B},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=t(77575),x=t(35065),T=S.call(Function.call,Array.prototype.concat),C=S.call(Function.apply,Array.prototype.splice),_=S.call(Function.call,String.prototype.replace),A=S.call(Function.call,String.prototype.slice),L=S.call(Function.call,RegExp.prototype.exec),b=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,I=function(D){var F=A(D,0,1),B=A(D,-1);if(F==="%"&&B!=="%")throw new y("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&F!=="%")throw new y("invalid intrinsic syntax, expected opening `%`");var N=[];return _(D,b,function(W,j,Y,U){N[N.length]=Y?_(U,P,"$1"):j||W}),N},R=function(D,F){var B,N=D;if(x(v,N)&&(N="%"+(B=v[N])[0]+"%"),x(f,N)){var W=f[N];if(W===s&&(W=w(N)),W===void 0&&!F)throw new M("intrinsic "+D+" exists, but is not available. Please file an issue!");return{alias:B,name:N,value:W}}throw new y("intrinsic "+D+" does not exist!")};k.exports=function(D,F){if(typeof D!="string"||D.length===0)throw new M("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new M('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,D)===null)throw new y("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=I(D),N=B.length>0?B[0]:"",W=R("%"+N+"%",F),j=W.name,Y=W.value,U=!1,G=W.alias;G&&(N=G[0],C(B,T([0,1],G)));for(var q=1,H=!0;q=B.length){var X=h(Y,ne);Y=(H=!!X)&&"get"in X&&!("originalValue"in X.get)?X.get:Y[ne]}else H=x(Y,ne),Y=Y[ne];H&&!U&&(f[j]=Y)}}return Y}},85400:function(k){k.exports=function(m,t){var d=t[0],y=t[1],i=t[2],M=t[3],g=t[4],h=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],c=t[11],f=t[12],p=t[13],w=t[14],v=t[15];return m[0]=h*(s*v-c*w)-o*(l*v-a*w)+p*(l*c-a*s),m[1]=-(y*(s*v-c*w)-o*(i*v-M*w)+p*(i*c-M*s)),m[2]=y*(l*v-a*w)-h*(i*v-M*w)+p*(i*a-M*l),m[3]=-(y*(l*c-a*s)-h*(i*c-M*s)+o*(i*a-M*l)),m[4]=-(g*(s*v-c*w)-u*(l*v-a*w)+f*(l*c-a*s)),m[5]=d*(s*v-c*w)-u*(i*v-M*w)+f*(i*c-M*s),m[6]=-(d*(l*v-a*w)-g*(i*v-M*w)+f*(i*a-M*l)),m[7]=d*(l*c-a*s)-g*(i*c-M*s)+u*(i*a-M*l),m[8]=g*(o*v-c*p)-u*(h*v-a*p)+f*(h*c-a*o),m[9]=-(d*(o*v-c*p)-u*(y*v-M*p)+f*(y*c-M*o)),m[10]=d*(h*v-a*p)-g*(y*v-M*p)+f*(y*a-M*h),m[11]=-(d*(h*c-a*o)-g*(y*c-M*o)+u*(y*a-M*h)),m[12]=-(g*(o*w-s*p)-u*(h*w-l*p)+f*(h*s-l*o)),m[13]=d*(o*w-s*p)-u*(y*w-i*p)+f*(y*s-i*o),m[14]=-(d*(h*w-l*p)-g*(y*w-i*p)+f*(y*l-i*h)),m[15]=d*(h*s-l*o)-g*(y*s-i*o)+u*(y*l-i*h),m}},42331:function(k){k.exports=function(m){var t=new Float32Array(16);return t[0]=m[0],t[1]=m[1],t[2]=m[2],t[3]=m[3],t[4]=m[4],t[5]=m[5],t[6]=m[6],t[7]=m[7],t[8]=m[8],t[9]=m[9],t[10]=m[10],t[11]=m[11],t[12]=m[12],t[13]=m[13],t[14]=m[14],t[15]=m[15],t}},31042:function(k){k.exports=function(m,t){return m[0]=t[0],m[1]=t[1],m[2]=t[2],m[3]=t[3],m[4]=t[4],m[5]=t[5],m[6]=t[6],m[7]=t[7],m[8]=t[8],m[9]=t[9],m[10]=t[10],m[11]=t[11],m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15],m}},11902:function(k){k.exports=function(){var m=new Float32Array(16);return m[0]=1,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=1,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=1,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},89887:function(k){k.exports=function(m){var t=m[0],d=m[1],y=m[2],i=m[3],M=m[4],g=m[5],h=m[6],l=m[7],a=m[8],u=m[9],o=m[10],s=m[11],c=m[12],f=m[13],p=m[14],w=m[15];return(t*g-d*M)*(o*w-s*p)-(t*h-y*M)*(u*w-s*f)+(t*l-i*M)*(u*p-o*f)+(d*h-y*g)*(a*w-s*c)-(d*l-i*g)*(a*p-o*c)+(y*l-i*h)*(a*f-u*c)}},27812:function(k){k.exports=function(m,t){var d=t[0],y=t[1],i=t[2],M=t[3],g=d+d,h=y+y,l=i+i,a=d*g,u=y*g,o=y*h,s=i*g,c=i*h,f=i*l,p=M*g,w=M*h,v=M*l;return m[0]=1-o-f,m[1]=u+v,m[2]=s-w,m[3]=0,m[4]=u-v,m[5]=1-a-f,m[6]=c+p,m[7]=0,m[8]=s+w,m[9]=c-p,m[10]=1-a-o,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},34045:function(k){k.exports=function(m,t,d){var y,i,M,g=d[0],h=d[1],l=d[2],a=Math.sqrt(g*g+h*h+l*l);return Math.abs(a)<1e-6?null:(g*=a=1/a,h*=a,l*=a,y=Math.sin(t),M=1-(i=Math.cos(t)),m[0]=g*g*M+i,m[1]=h*g*M+l*y,m[2]=l*g*M-h*y,m[3]=0,m[4]=g*h*M-l*y,m[5]=h*h*M+i,m[6]=l*h*M+g*y,m[7]=0,m[8]=g*l*M+h*y,m[9]=h*l*M-g*y,m[10]=l*l*M+i,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m)}},45973:function(k){k.exports=function(m,t,d){var y=t[0],i=t[1],M=t[2],g=t[3],h=y+y,l=i+i,a=M+M,u=y*h,o=y*l,s=y*a,c=i*l,f=i*a,p=M*a,w=g*h,v=g*l,S=g*a;return m[0]=1-(c+p),m[1]=o+S,m[2]=s-v,m[3]=0,m[4]=o-S,m[5]=1-(u+p),m[6]=f+w,m[7]=0,m[8]=s+v,m[9]=f-w,m[10]=1-(u+c),m[11]=0,m[12]=d[0],m[13]=d[1],m[14]=d[2],m[15]=1,m}},81472:function(k){k.exports=function(m,t){return m[0]=t[0],m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=t[1],m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=t[2],m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},14669:function(k){k.exports=function(m,t){return m[0]=1,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=1,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=1,m[11]=0,m[12]=t[0],m[13]=t[1],m[14]=t[2],m[15]=1,m}},75262:function(k){k.exports=function(m,t){var d=Math.sin(t),y=Math.cos(t);return m[0]=1,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=y,m[6]=d,m[7]=0,m[8]=0,m[9]=-d,m[10]=y,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},331:function(k){k.exports=function(m,t){var d=Math.sin(t),y=Math.cos(t);return m[0]=y,m[1]=0,m[2]=-d,m[3]=0,m[4]=0,m[5]=1,m[6]=0,m[7]=0,m[8]=d,m[9]=0,m[10]=y,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},11049:function(k){k.exports=function(m,t){var d=Math.sin(t),y=Math.cos(t);return m[0]=y,m[1]=d,m[2]=0,m[3]=0,m[4]=-d,m[5]=y,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=1,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},75195:function(k){k.exports=function(m,t,d,y,i,M,g){var h=1/(d-t),l=1/(i-y),a=1/(M-g);return m[0]=2*M*h,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=2*M*l,m[6]=0,m[7]=0,m[8]=(d+t)*h,m[9]=(i+y)*l,m[10]=(g+M)*a,m[11]=-1,m[12]=0,m[13]=0,m[14]=g*M*2*a,m[15]=0,m}},71551:function(k){k.exports=function(m){return m[0]=1,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=1,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=1,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},79576:function(k,m,t){k.exports={create:t(11902),clone:t(42331),copy:t(31042),identity:t(71551),transpose:t(88654),invert:t(95874),adjoint:t(85400),determinant:t(89887),multiply:t(91362),translate:t(31283),scale:t(10789),rotate:t(65074),rotateX:t(35545),rotateY:t(94918),rotateZ:t(15692),fromRotation:t(34045),fromRotationTranslation:t(45973),fromScaling:t(81472),fromTranslation:t(14669),fromXRotation:t(75262),fromYRotation:t(331),fromZRotation:t(11049),fromQuat:t(27812),frustum:t(75195),perspective:t(7864),perspectiveFromFieldOfView:t(35279),ortho:t(60378),lookAt:t(65551),str:t(6726)}},95874:function(k){k.exports=function(m,t){var d=t[0],y=t[1],i=t[2],M=t[3],g=t[4],h=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],c=t[11],f=t[12],p=t[13],w=t[14],v=t[15],S=d*h-y*g,x=d*l-i*g,T=d*a-M*g,C=y*l-i*h,_=y*a-M*h,A=i*a-M*l,L=u*p-o*f,b=u*w-s*f,P=u*v-c*f,I=o*w-s*p,R=o*v-c*p,D=s*v-c*w,F=S*D-x*R+T*I+C*P-_*b+A*L;return F?(F=1/F,m[0]=(h*D-l*R+a*I)*F,m[1]=(i*R-y*D-M*I)*F,m[2]=(p*A-w*_+v*C)*F,m[3]=(s*_-o*A-c*C)*F,m[4]=(l*P-g*D-a*b)*F,m[5]=(d*D-i*P+M*b)*F,m[6]=(w*T-f*A-v*x)*F,m[7]=(u*A-s*T+c*x)*F,m[8]=(g*R-h*P+a*L)*F,m[9]=(y*P-d*R-M*L)*F,m[10]=(f*_-p*T+v*S)*F,m[11]=(o*T-u*_-c*S)*F,m[12]=(h*b-g*I-l*L)*F,m[13]=(d*I-y*b+i*L)*F,m[14]=(p*x-f*C-w*S)*F,m[15]=(u*C-o*x+s*S)*F,m):null}},65551:function(k,m,t){var d=t(71551);k.exports=function(y,i,M,g){var h,l,a,u,o,s,c,f,p,w,v=i[0],S=i[1],x=i[2],T=g[0],C=g[1],_=g[2],A=M[0],L=M[1],b=M[2];return Math.abs(v-A)<1e-6&&Math.abs(S-L)<1e-6&&Math.abs(x-b)<1e-6?d(y):(c=v-A,f=S-L,p=x-b,h=C*(p*=w=1/Math.sqrt(c*c+f*f+p*p))-_*(f*=w),l=_*(c*=w)-T*p,a=T*f-C*c,(w=Math.sqrt(h*h+l*l+a*a))?(h*=w=1/w,l*=w,a*=w):(h=0,l=0,a=0),u=f*a-p*l,o=p*h-c*a,s=c*l-f*h,(w=Math.sqrt(u*u+o*o+s*s))?(u*=w=1/w,o*=w,s*=w):(u=0,o=0,s=0),y[0]=h,y[1]=u,y[2]=c,y[3]=0,y[4]=l,y[5]=o,y[6]=f,y[7]=0,y[8]=a,y[9]=s,y[10]=p,y[11]=0,y[12]=-(h*v+l*S+a*x),y[13]=-(u*v+o*S+s*x),y[14]=-(c*v+f*S+p*x),y[15]=1,y)}},91362:function(k){k.exports=function(m,t,d){var y=t[0],i=t[1],M=t[2],g=t[3],h=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],c=t[10],f=t[11],p=t[12],w=t[13],v=t[14],S=t[15],x=d[0],T=d[1],C=d[2],_=d[3];return m[0]=x*y+T*h+C*o+_*p,m[1]=x*i+T*l+C*s+_*w,m[2]=x*M+T*a+C*c+_*v,m[3]=x*g+T*u+C*f+_*S,x=d[4],T=d[5],C=d[6],_=d[7],m[4]=x*y+T*h+C*o+_*p,m[5]=x*i+T*l+C*s+_*w,m[6]=x*M+T*a+C*c+_*v,m[7]=x*g+T*u+C*f+_*S,x=d[8],T=d[9],C=d[10],_=d[11],m[8]=x*y+T*h+C*o+_*p,m[9]=x*i+T*l+C*s+_*w,m[10]=x*M+T*a+C*c+_*v,m[11]=x*g+T*u+C*f+_*S,x=d[12],T=d[13],C=d[14],_=d[15],m[12]=x*y+T*h+C*o+_*p,m[13]=x*i+T*l+C*s+_*w,m[14]=x*M+T*a+C*c+_*v,m[15]=x*g+T*u+C*f+_*S,m}},60378:function(k){k.exports=function(m,t,d,y,i,M,g){var h=1/(t-d),l=1/(y-i),a=1/(M-g);return m[0]=-2*h,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=-2*l,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=2*a,m[11]=0,m[12]=(t+d)*h,m[13]=(i+y)*l,m[14]=(g+M)*a,m[15]=1,m}},7864:function(k){k.exports=function(m,t,d,y,i){var M=1/Math.tan(t/2),g=1/(y-i);return m[0]=M/d,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=M,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=(i+y)*g,m[11]=-1,m[12]=0,m[13]=0,m[14]=2*i*y*g,m[15]=0,m}},35279:function(k){k.exports=function(m,t,d,y){var i=Math.tan(t.upDegrees*Math.PI/180),M=Math.tan(t.downDegrees*Math.PI/180),g=Math.tan(t.leftDegrees*Math.PI/180),h=Math.tan(t.rightDegrees*Math.PI/180),l=2/(g+h),a=2/(i+M);return m[0]=l,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=a,m[6]=0,m[7]=0,m[8]=-(g-h)*l*.5,m[9]=(i-M)*a*.5,m[10]=y/(d-y),m[11]=-1,m[12]=0,m[13]=0,m[14]=y*d/(d-y),m[15]=0,m}},65074:function(k){k.exports=function(m,t,d,y){var i,M,g,h,l,a,u,o,s,c,f,p,w,v,S,x,T,C,_,A,L,b,P,I,R=y[0],D=y[1],F=y[2],B=Math.sqrt(R*R+D*D+F*F);return Math.abs(B)<1e-6?null:(R*=B=1/B,D*=B,F*=B,i=Math.sin(d),g=1-(M=Math.cos(d)),h=t[0],l=t[1],a=t[2],u=t[3],o=t[4],s=t[5],c=t[6],f=t[7],p=t[8],w=t[9],v=t[10],S=t[11],x=R*R*g+M,T=D*R*g+F*i,C=F*R*g-D*i,_=R*D*g-F*i,A=D*D*g+M,L=F*D*g+R*i,b=R*F*g+D*i,P=D*F*g-R*i,I=F*F*g+M,m[0]=h*x+o*T+p*C,m[1]=l*x+s*T+w*C,m[2]=a*x+c*T+v*C,m[3]=u*x+f*T+S*C,m[4]=h*_+o*A+p*L,m[5]=l*_+s*A+w*L,m[6]=a*_+c*A+v*L,m[7]=u*_+f*A+S*L,m[8]=h*b+o*P+p*I,m[9]=l*b+s*P+w*I,m[10]=a*b+c*P+v*I,m[11]=u*b+f*P+S*I,t!==m&&(m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15]),m)}},35545:function(k){k.exports=function(m,t,d){var y=Math.sin(d),i=Math.cos(d),M=t[4],g=t[5],h=t[6],l=t[7],a=t[8],u=t[9],o=t[10],s=t[11];return t!==m&&(m[0]=t[0],m[1]=t[1],m[2]=t[2],m[3]=t[3],m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15]),m[4]=M*i+a*y,m[5]=g*i+u*y,m[6]=h*i+o*y,m[7]=l*i+s*y,m[8]=a*i-M*y,m[9]=u*i-g*y,m[10]=o*i-h*y,m[11]=s*i-l*y,m}},94918:function(k){k.exports=function(m,t,d){var y=Math.sin(d),i=Math.cos(d),M=t[0],g=t[1],h=t[2],l=t[3],a=t[8],u=t[9],o=t[10],s=t[11];return t!==m&&(m[4]=t[4],m[5]=t[5],m[6]=t[6],m[7]=t[7],m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15]),m[0]=M*i-a*y,m[1]=g*i-u*y,m[2]=h*i-o*y,m[3]=l*i-s*y,m[8]=M*y+a*i,m[9]=g*y+u*i,m[10]=h*y+o*i,m[11]=l*y+s*i,m}},15692:function(k){k.exports=function(m,t,d){var y=Math.sin(d),i=Math.cos(d),M=t[0],g=t[1],h=t[2],l=t[3],a=t[4],u=t[5],o=t[6],s=t[7];return t!==m&&(m[8]=t[8],m[9]=t[9],m[10]=t[10],m[11]=t[11],m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15]),m[0]=M*i+a*y,m[1]=g*i+u*y,m[2]=h*i+o*y,m[3]=l*i+s*y,m[4]=a*i-M*y,m[5]=u*i-g*y,m[6]=o*i-h*y,m[7]=s*i-l*y,m}},10789:function(k){k.exports=function(m,t,d){var y=d[0],i=d[1],M=d[2];return m[0]=t[0]*y,m[1]=t[1]*y,m[2]=t[2]*y,m[3]=t[3]*y,m[4]=t[4]*i,m[5]=t[5]*i,m[6]=t[6]*i,m[7]=t[7]*i,m[8]=t[8]*M,m[9]=t[9]*M,m[10]=t[10]*M,m[11]=t[11]*M,m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15],m}},6726:function(k){k.exports=function(m){return"mat4("+m[0]+", "+m[1]+", "+m[2]+", "+m[3]+", "+m[4]+", "+m[5]+", "+m[6]+", "+m[7]+", "+m[8]+", "+m[9]+", "+m[10]+", "+m[11]+", "+m[12]+", "+m[13]+", "+m[14]+", "+m[15]+")"}},31283:function(k){k.exports=function(m,t,d){var y,i,M,g,h,l,a,u,o,s,c,f,p=d[0],w=d[1],v=d[2];return t===m?(m[12]=t[0]*p+t[4]*w+t[8]*v+t[12],m[13]=t[1]*p+t[5]*w+t[9]*v+t[13],m[14]=t[2]*p+t[6]*w+t[10]*v+t[14],m[15]=t[3]*p+t[7]*w+t[11]*v+t[15]):(y=t[0],i=t[1],M=t[2],g=t[3],h=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],c=t[10],f=t[11],m[0]=y,m[1]=i,m[2]=M,m[3]=g,m[4]=h,m[5]=l,m[6]=a,m[7]=u,m[8]=o,m[9]=s,m[10]=c,m[11]=f,m[12]=y*p+h*w+o*v+t[12],m[13]=i*p+l*w+s*v+t[13],m[14]=M*p+a*w+c*v+t[14],m[15]=g*p+u*w+f*v+t[15]),m}},88654:function(k){k.exports=function(m,t){if(m===t){var d=t[1],y=t[2],i=t[3],M=t[6],g=t[7],h=t[11];m[1]=t[4],m[2]=t[8],m[3]=t[12],m[4]=d,m[6]=t[9],m[7]=t[13],m[8]=y,m[9]=M,m[11]=t[14],m[12]=i,m[13]=g,m[14]=h}else m[0]=t[0],m[1]=t[4],m[2]=t[8],m[3]=t[12],m[4]=t[1],m[5]=t[5],m[6]=t[9],m[7]=t[13],m[8]=t[2],m[9]=t[6],m[10]=t[10],m[11]=t[14],m[12]=t[3],m[13]=t[7],m[14]=t[11],m[15]=t[15];return m}},42505:function(k,m,t){var d=t(72791),y=t(71299),i=t(98580),M=t(12018),g=t(83522),h=t(25075),l=t(68016),a=t(58404),u=t(18863),o=t(10973),s=t(25677),c=t(75686),f=t(53545),p=t(56131),w=t(32879),v=t(30120),S=t(13547).nextPow2,x=new g,T=!1;if(document.body){var C=document.body.appendChild(document.createElement("div"));C.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(C).fontStretch&&(T=!0),document.body.removeChild(C)}var _=function(A){(function(L){return typeof L=="function"&&L._gl&&L.prop&&L.texture&&L.buffer})(A)?(A={regl:A},this.gl=A.regl._gl):this.gl=M(A),this.shader=x.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=A.regl||i({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),x.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(o(A)?A:{})};_.prototype.createShader=function(){var A=this.regl,L=A({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:A.prop("count"),offset:A.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:A.this("sizeBuffer")},width:{offset:0,stride:8,buffer:A.this("sizeBuffer")},char:A.this("charBuffer"),position:A.this("position")},uniforms:{atlasSize:function(b,P){return[P.atlas.width,P.atlas.height]},atlasDim:function(b,P){return[P.atlas.cols,P.atlas.rows]},atlas:function(b,P){return P.atlas.texture},charStep:function(b,P){return P.atlas.step},em:function(b,P){return P.atlas.em},color:A.prop("color"),opacity:A.prop("opacity"),viewport:A.this("viewportArray"),scale:A.this("scale"),align:A.prop("align"),baseline:A.prop("baseline"),translate:A.this("translate"),positionOffset:A.prop("positionOffset")},primitive:"points",viewport:A.this("viewport"),vert:` precision highp float; attribute float width, charOffset, char; attribute vec2 position; @@ -2475,7 +2475,7 @@ should equal // color.rgb += (1. - color.rgb) * (1. - mask.rgb); gl_FragColor = color; - }`});return{regl:A,draw:L,atlas:{}}},_.prototype.update=function(A){var L=this;if(typeof A=="string")A={text:A};else if(!A)return;(A=y(A,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0)).opacity!=null&&(Array.isArray(A.opacity)?this.opacity=A.opacity.map(function(ae){return parseFloat(ae)}):this.opacity=parseFloat(A.opacity)),A.viewport!=null&&(this.viewport=u(A.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),A.kerning!=null&&(this.kerning=A.kerning),A.offset!=null&&(typeof A.offset=="number"&&(A.offset=[A.offset,0]),this.positionOffset=v(A.offset)),A.direction&&(this.direction=A.direction),A.range&&(this.range=A.range,this.scale=[1/(A.range[2]-A.range[0]),1/(A.range[3]-A.range[1])],this.translate=[-A.range[0],-A.range[1]]),A.scale&&(this.scale=A.scale),A.translate&&(this.translate=A.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),this.font.length||A.font||(A.font=_.baseFontSize+"px sans-serif");var b,O=!1,I=!1;if(A.font&&(Array.isArray(A.font)?A.font:[A.font]).forEach(function(ae,he){if(typeof ae=="string")try{ae=d.parse(ae)}catch{ae=d.parse(_.baseFontSize+"px "+ae)}else ae=d.parse(d.stringify(ae));var be=d.stringify({size:_.baseFontSize,family:ae.family,stretch:T?ae.stretch:void 0,variant:ae.variant,weight:ae.weight,style:ae.style}),ke=s(ae.size),Le=Math.round(ke[0]*f(ke[1]));if(Le!==L.fontSize[he]&&(I=!0,L.fontSize[he]=Le),!(L.font[he]&&be==L.font[he].baseString||(O=!0,L.font[he]=_.fonts[be],L.font[he]))){var Be=ae.family.join(", "),ze=[ae.style];ae.style!=ae.variant&&ze.push(ae.variant),ae.variant!=ae.weight&&ze.push(ae.weight),T&&ae.weight!=ae.stretch&&ze.push(ae.stretch),L.font[he]={baseString:be,family:Be,weight:ae.weight,stretch:ae.stretch,style:ae.style,variant:ae.variant,width:{},kerning:{},metrics:w(Be,{origin:"top",fontSize:_.baseFontSize,fontStyle:ze.join(" ")})},_.fonts[be]=L.font[he]}}),(O||I)&&this.font.forEach(function(ae,he){var be=d.stringify({size:L.fontSize[he],family:ae.family,stretch:T?ae.stretch:void 0,variant:ae.variant,weight:ae.weight,style:ae.style});if(L.fontAtlas[he]=L.shader.atlas[be],!L.fontAtlas[he]){var ke=ae.metrics;L.shader.atlas[be]=L.fontAtlas[he]={fontString:be,step:2*Math.ceil(L.fontSize[he]*ke.bottom*.5),em:L.fontSize[he],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:L.regl.texture()}}A.text==null&&(A.text=L.text)}),typeof A.text=="string"&&A.position&&A.position.length>2){for(var R=Array(.5*A.position.length),D=0;D2){for(var B=!A.position[0].length,N=a.mallocFloat(2*this.count),q=0,j=0;q1?L.align[he]:L.align[0]:L.align;if(typeof be=="number")return be;switch(be){case"right":case"end":return-ae;case"center":case"centre":case"middle":return .5*-ae}return 0})),this.baseline==null&&A.baseline==null&&(A.baseline=0),A.baseline!=null&&(this.baseline=A.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ae,he){var be=(L.font[he]||L.font[0]).metrics,ke=0;return ke+=.5*be.bottom,-1*(ke+=typeof ae=="number"?ae-be.baseline:-be[ae])})),A.color!=null)if(A.color||(A.color="transparent"),typeof A.color!="string"&&isNaN(A.color)){var me;if(typeof A.color[0]=="number"&&A.color.length>this.counts.length){var pe=A.color.length;me=a.mallocUint8(pe);for(var xe=(A.color.subarray||A.color.slice).bind(A.color),Pe=0;Pe4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Se=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Se);for(var Ce=0;Ce1?this.counts[Ce]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Ce]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Ce,4*Ce+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Ce]:this.opacity,baseline:this.baselineOffset[Ce]!=null?this.baselineOffset[Ce]:this.baselineOffset[0],align:this.align?this.alignOffset[Ce]!=null?this.alignOffset[Ce]:this.alignOffset[0]:0,atlas:this.fontAtlas[Ce]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Ce,2*Ce+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},_.prototype.destroy=function(){},_.prototype.kerning=!0,_.prototype.position={constant:new Float32Array(2)},_.prototype.translate=null,_.prototype.scale=null,_.prototype.font=null,_.prototype.text="",_.prototype.positionOffset=[0,0],_.prototype.opacity=1,_.prototype.color=new Uint8Array([0,0,0,255]),_.prototype.alignOffset=[0,0],_.maxAtlasSize=1024,_.atlasCanvas=document.createElement("canvas"),_.atlasContext=_.atlasCanvas.getContext("2d",{alpha:!1}),_.baseFontSize=64,_.fonts={},k.exports=_},12018:function(k,m,t){var d=t(71299);function y(g){if(g.container)if(g.container==document.body)document.body.style.width||(g.canvas.width=g.width||g.pixelRatio*t.g.innerWidth),document.body.style.height||(g.canvas.height=g.height||g.pixelRatio*t.g.innerHeight);else{var h=g.container.getBoundingClientRect();g.canvas.width=g.width||h.right-h.left,g.canvas.height=g.height||h.bottom-h.top}}function i(g){return typeof g.getContext=="function"&&"width"in g&&"height"in g}function M(){var g=document.createElement("canvas");return g.style.position="absolute",g.style.top=0,g.style.left=0,g}k.exports=function(g){var h;if(g?typeof g=="string"&&(g={container:g}):g={},(g=i(g)||typeof(h=g).nodeName=="string"&&typeof h.appendChild=="function"&&typeof h.getBoundingClientRect=="function"?{container:g}:function(a){return typeof a.drawArrays=="function"||typeof a.drawElements=="function"}(g)?{gl:g}:d(g,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0)).pixelRatio||(g.pixelRatio=t.g.pixelRatio||1),g.gl)return g.gl;if(g.canvas&&(g.container=g.canvas.parentNode),g.container){if(typeof g.container=="string"){var l=document.querySelector(g.container);if(!l)throw Error("Element "+g.container+" is not found");g.container=l}i(g.container)?(g.canvas=g.container,g.container=g.canvas.parentNode):g.canvas||(g.canvas=M(),g.container.appendChild(g.canvas),y(g))}else if(!g.canvas){if(typeof document>"u")throw Error("Not DOM environment. Use headless-gl.");g.container=document.body||document.documentElement,g.canvas=M(),g.container.appendChild(g.canvas),y(g)}return g.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(a){try{g.gl=g.canvas.getContext(a,g.attrs)}catch{}return g.gl}),g.gl}},56068:function(k){k.exports=function(m){typeof m=="string"&&(m=[m]);for(var t=[].slice.call(arguments,1),d=[],y=0;y>1,o=-7,s=y?M-1:0,f=y?-1:1,c=t[d+s];for(s+=f,g=c&(1<<-o)-1,c>>=-o,o+=l;o>0;g=256*g+t[d+s],s+=f,o-=8);for(h=g&(1<<-o)-1,g>>=-o,o+=i;o>0;h=256*h+t[d+s],s+=f,o-=8);if(g===0)g=1-u;else{if(g===a)return h?NaN:1/0*(c?-1:1);h+=Math.pow(2,i),g-=u}return(c?-1:1)*h*Math.pow(2,g-i)},m.write=function(t,d,y,i,M,g){var h,l,a,u=8*g-M-1,o=(1<>1,f=M===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=i?0:g-1,p=i?1:-1,w=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(l=isNaN(d)?1:0,h=o):(h=Math.floor(Math.log(d)/Math.LN2),d*(a=Math.pow(2,-h))<1&&(h--,a*=2),(d+=h+s>=1?f/a:f*Math.pow(2,1-s))*a>=2&&(h++,a/=2),h+s>=o?(l=0,h=o):h+s>=1?(l=(d*a-1)*Math.pow(2,M),h+=s):(l=d*Math.pow(2,s-1)*Math.pow(2,M),h=0));M>=8;t[y+c]=255&l,c+=p,l/=256,M-=8);for(h=h<0;t[y+c]=255&h,c+=p,h/=256,u-=8);t[y+c-p]|=128*w}},42018:function(k){typeof Object.create=="function"?k.exports=function(m,t){t&&(m.super_=t,m.prototype=Object.create(t.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}))}:k.exports=function(m,t){if(t){m.super_=t;var d=function(){};d.prototype=t.prototype,m.prototype=new d,m.prototype.constructor=m}}},47216:function(k,m,t){var d=t(84543)(),y=t(6614)("Object.prototype.toString"),i=function(h){return!(d&&h&&typeof h=="object"&&Symbol.toStringTag in h)&&y(h)==="[object Arguments]"},M=function(h){return!!i(h)||h!==null&&typeof h=="object"&&typeof h.length=="number"&&h.length>=0&&y(h)!=="[object Array]"&&y(h.callee)==="[object Function]"},g=function(){return i(arguments)}();i.isLegacyArguments=M,k.exports=g?i:M},54404:function(k){k.exports=!0},85395:function(k){var m,t,d=Function.prototype.toString,y=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof y=="function"&&typeof Object.defineProperty=="function")try{m=Object.defineProperty({},"length",{get:function(){throw t}}),t={},y(function(){throw 42},null,m)}catch(s){s!==t&&(y=null)}else y=null;var i=/^\s*class\b/,M=function(s){try{var f=d.call(s);return i.test(f)}catch{return!1}},g=function(s){try{return!M(s)&&(d.call(s),!0)}catch{return!1}},h=Object.prototype.toString,l=typeof Symbol=="function"&&!!Symbol.toStringTag,a=!(0 in[,]),u=function(){return!1};if(typeof document=="object"){var o=document.all;h.call(o)===h.call(document.all)&&(u=function(s){if((a||!s)&&(s===void 0||typeof s=="object"))try{var f=h.call(s);return(f==="[object HTMLAllCollection]"||f==="[object HTML document.all class]"||f==="[object HTMLCollection]"||f==="[object Object]")&&s("")==null}catch{}return!1})}k.exports=y?function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;try{y(s,null,m)}catch(f){if(f!==t)return!1}return!M(s)&&g(s)}:function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;if(l)return g(s);if(M(s))return!1;var f=h.call(s);return!(f!=="[object Function]"&&f!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(f))&&g(s)}},65481:function(k,m,t){var d,y=Object.prototype.toString,i=Function.prototype.toString,M=/^\s*(?:function)?\*/,g=t(84543)(),h=Object.getPrototypeOf;k.exports=function(l){if(typeof l!="function")return!1;if(M.test(i.call(l)))return!0;if(!g)return y.call(l)==="[object GeneratorFunction]";if(!h)return!1;if(d===void 0){var a=function(){if(!g)return!1;try{return Function("return function*() {}")()}catch{}}();d=!!a&&h(a)}return h(l)===d}},62683:function(k){k.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(k){k.exports=function(m){return m!=m}},15567:function(k,m,t){var d=t(68222),y=t(17045),i=t(64274),M=t(14922),g=t(22442),h=d(M(),Number);y(h,{getPolyfill:M,implementation:i,shim:g}),k.exports=h},14922:function(k,m,t){var d=t(64274);k.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d}},22442:function(k,m,t){var d=t(17045),y=t(14922);k.exports=function(){var i=y();return d(Number,{isNaN:i},{isNaN:function(){return Number.isNaN!==i}}),i}},64941:function(k){k.exports=function(m){var t=typeof m;return m!==null&&(t==="object"||t==="function")}},10973:function(k){var m=Object.prototype.toString;k.exports=function(t){var d;return m.call(t)==="[object Object]"&&((d=Object.getPrototypeOf(t))===null||d===Object.getPrototypeOf({}))}},18546:function(k){k.exports=function(m){for(var t,d=m.length,y=0;y13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},89546:function(k){k.exports=function(m){return typeof m=="string"&&(m=m.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(m)&&/[\dz]$/i.test(m)&&m.length>4))}},9187:function(k,m,t){var d=t(31353),y=t(72077),i=t(6614),M=i("Object.prototype.toString"),g=t(84543)(),h=t(40383),l=typeof globalThis>"u"?t.g:globalThis,a=y(),u=i("Array.prototype.indexOf",!0)||function(c,p){for(var w=0;w-1}return!!h&&function(w){var v=!1;return d(s,function(S,x){if(!v)try{v=S.call(w)===x}catch{}}),v}(c)}},44517:function(k){k.exports=function(){var m,t,d;function y(i,M){if(m)if(t){var g="var sharedChunk = {}; ("+m+")(sharedChunk); ("+t+")(sharedChunk);",h={};m(h),(d=M(h)).workerUrl=window.URL.createObjectURL(new Blob([g],{type:"text/javascript"}))}else t=M;else m=M}return y(0,function(i){function M(P,V){return P(V={exports:{}},V.exports),V.exports}var g="1.10.1",h=l;function l(P,V,J,fe){this.cx=3*P,this.bx=3*(J-P)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*V,this.by=3*(fe-V)-this.cy,this.ay=1-this.cy-this.by,this.p1x=P,this.p1y=fe,this.p2x=J,this.p2y=fe}l.prototype.sampleCurveX=function(P){return((this.ax*P+this.bx)*P+this.cx)*P},l.prototype.sampleCurveY=function(P){return((this.ay*P+this.by)*P+this.cy)*P},l.prototype.sampleCurveDerivativeX=function(P){return(3*this.ax*P+2*this.bx)*P+this.cx},l.prototype.solveCurveX=function(P,V){var J,fe,Ae,Re,Ge;for(V===void 0&&(V=1e-6),Ae=P,Ge=0;Ge<8;Ge++){if(Re=this.sampleCurveX(Ae)-P,Math.abs(Re)(fe=1))return fe;for(;JRe?J=Ae:fe=Ae,Ae=.5*(fe-J)+J}return Ae},l.prototype.solve=function(P,V){return this.sampleCurveY(this.solveCurveX(P,V))};var a=u;function u(P,V){this.x=P,this.y=V}function o(P,V,J,fe){var Ae=new h(P,V,J,fe);return function(Re){return Ae.solve(Re)}}u.prototype={clone:function(){return new u(this.x,this.y)},add:function(P){return this.clone()._add(P)},sub:function(P){return this.clone()._sub(P)},multByPoint:function(P){return this.clone()._multByPoint(P)},divByPoint:function(P){return this.clone()._divByPoint(P)},mult:function(P){return this.clone()._mult(P)},div:function(P){return this.clone()._div(P)},rotate:function(P){return this.clone()._rotate(P)},rotateAround:function(P,V){return this.clone()._rotateAround(P,V)},matMult:function(P){return this.clone()._matMult(P)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(P){return this.x===P.x&&this.y===P.y},dist:function(P){return Math.sqrt(this.distSqr(P))},distSqr:function(P){var V=P.x-this.x,J=P.y-this.y;return V*V+J*J},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(P){return Math.atan2(this.y-P.y,this.x-P.x)},angleWith:function(P){return this.angleWithSep(P.x,P.y)},angleWithSep:function(P,V){return Math.atan2(this.x*V-this.y*P,this.x*P+this.y*V)},_matMult:function(P){var V=P[0]*this.x+P[1]*this.y,J=P[2]*this.x+P[3]*this.y;return this.x=V,this.y=J,this},_add:function(P){return this.x+=P.x,this.y+=P.y,this},_sub:function(P){return this.x-=P.x,this.y-=P.y,this},_mult:function(P){return this.x*=P,this.y*=P,this},_div:function(P){return this.x/=P,this.y/=P,this},_multByPoint:function(P){return this.x*=P.x,this.y*=P.y,this},_divByPoint:function(P){return this.x/=P.x,this.y/=P.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var P=this.y;return this.y=this.x,this.x=-P,this},_rotate:function(P){var V=Math.cos(P),J=Math.sin(P),fe=V*this.x-J*this.y,Ae=J*this.x+V*this.y;return this.x=fe,this.y=Ae,this},_rotateAround:function(P,V){var J=Math.cos(P),fe=Math.sin(P),Ae=V.x+J*(this.x-V.x)-fe*(this.y-V.y),Re=V.y+fe*(this.x-V.x)+J*(this.y-V.y);return this.x=Ae,this.y=Re,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},u.convert=function(P){return P instanceof u?P:Array.isArray(P)?new u(P[0],P[1]):P};var s=o(.25,.1,.25,1);function f(P,V,J){return Math.min(J,Math.max(V,P))}function c(P,V,J){var fe=J-V,Ae=((P-V)%fe+fe)%fe+V;return Ae===V?J:Ae}function p(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var fe=0,Ae=V;fe>V/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,P)}()}function x(P){return!!P&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(P)}function T(P,V){P.forEach(function(J){V[J]&&(V[J]=V[J].bind(V))})}function C(P,V){return P.indexOf(V,P.length-V.length)!==-1}function _(P,V,J){var fe={};for(var Ae in P)fe[Ae]=V.call(J||this,P[Ae],Ae,P);return fe}function A(P,V,J){var fe={};for(var Ae in P)V.call(J||this,P[Ae],Ae,P)&&(fe[Ae]=P[Ae]);return fe}function L(P){return Array.isArray(P)?P.map(L):typeof P=="object"&&P?_(P,L):P}var b={};function O(P){b[P]||(typeof console<"u"&&console.warn(P),b[P]=!0)}function I(P,V,J){return(J.y-P.y)*(V.x-P.x)>(V.y-P.y)*(J.x-P.x)}function R(P){for(var V=0,J=0,fe=P.length,Ae=fe-1,Re=void 0,Ge=void 0;J@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(fe,Ae,Re,Ge){var it=Re||Ge;return V[Ae]=!it||it.toLowerCase(),""}),V["max-age"]){var J=parseInt(V["max-age"],10);isNaN(J)?delete V["max-age"]:V["max-age"]=J}return V}var B=null;function N(P){if(B==null){var V=P.navigator?P.navigator.userAgent:null;B=!!P.safari||!(!V||!(/\b(iPad|iPhone|iPod)\b/.test(V)||V.match("Safari")&&!V.match("Chrome")))}return B}function q(P){try{var V=self[P];return V.setItem("_mapbox_test_",1),V.removeItem("_mapbox_test_"),!0}catch{return!1}}var j,$,U,G,W=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),H=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,ne=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,te={now:W,frame:function(P){var V=H(P);return{cancel:function(){return ne(V)}}},getImageData:function(P,V){V===void 0&&(V=0);var J=self.document.createElement("canvas"),fe=J.getContext("2d");if(!fe)throw new Error("failed to create canvas 2d context");return J.width=P.width,J.height=P.height,fe.drawImage(P,0,0,P.width,P.height),fe.getImageData(-V,-V,P.width+2*V,P.height+2*V)},resolveURL:function(P){return j||(j=self.document.createElement("a")),j.href=P,j.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&($==null&&($=self.matchMedia("(prefers-reduced-motion: reduce)")),$.matches)}},Z={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},X={supported:!1,testSupport:function(P){!Q&&G&&(re?ie(P):U=P)}},Q=!1,re=!1;function ie(P){var V=P.createTexture();P.bindTexture(P.TEXTURE_2D,V);try{if(P.texImage2D(P.TEXTURE_2D,0,P.RGBA,P.RGBA,P.UNSIGNED_BYTE,G),P.isContextLost())return;X.supported=!0}catch{}P.deleteTexture(V),Q=!0}self.document&&((G=self.document.createElement("img")).onload=function(){U&&ie(U),U=null,re=!0},G.onerror=function(){Q=!0,U=null},G.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var oe="01",ue=function(P,V){this._transformRequestFn=P,this._customAccessToken=V,this._createSkuToken()};function ce(P){return P.indexOf("mapbox:")===0}ue.prototype._createSkuToken=function(){var P=function(){for(var V="",J=0;J<10;J++)V+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",oe,V].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=P.token,this._skuTokenExpiresAt=P.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(P,V){return this._transformRequestFn&&this._transformRequestFn(P,V)||{url:P}},ue.prototype.normalizeStyleURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/styles/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/fonts/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/v4/"+J.authority+".json",J.params.push("secure"),this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(P,V,J,fe){var Ae=pe(P);return ce(P)?(Ae.path="/styles/v1"+Ae.path+"/sprite"+V+J,this._makeAPIURL(Ae,this._customAccessToken||fe)):(Ae.path+=""+V+J,xe(Ae))},ue.prototype.normalizeTileURL=function(P,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),P&&!ce(P))return P;var J=pe(P),fe=te.devicePixelRatio>=2||V===512?"@2x":"",Ae=X.supported?".webp":"$1";J.path=J.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+fe+Ae),J.path=J.path.replace(/^.+\/v4\//,"/"),J.path="/v4"+J.path;var Re=this._customAccessToken||function(Ge){for(var it=0,pt=Ge;it=1&&self.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{O("Unable to write to LocalStorage")}},Me.prototype.processRequests=function(P){},Me.prototype.postEvent=function(P,V,J,fe){var Ae=this;if(Z.EVENTS_URL){var Re=pe(Z.EVENTS_URL);Re.params.push("access_token="+(fe||Z.ACCESS_TOKEN||""));var Ge={event:this.type,created:new Date(P).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:g,skuId:oe,userId:this.anonId},it=V?p(Ge,V):Ge,pt={url:xe(Re),headers:{"Content-Type":"text/plain"},body:JSON.stringify([it])};this.pendingRequest=Rt(pt,function(Ct){Ae.pendingRequest=null,J(Ct),Ae.saveEventData(),Ae.processRequests(fe)})}},Me.prototype.queueRequest=function(P,V){this.queue.push(P),this.processRequests(V)};var Se,Ce,ae=function(P){function V(){P.call(this,"map.load"),this.success={},this.skuToken=""}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postMapLoadEvent=function(J,fe,Ae,Re){this.skuToken=Ae,(Z.EVENTS_URL&&Re||Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ge){return ce(Ge)||de(Ge)}))&&this.queueRequest({id:fe,timestamp:Date.now()},Re)},V.prototype.processRequests=function(J){var fe=this;if(!this.pendingRequest&&this.queue.length!==0){var Ae=this.queue.shift(),Re=Ae.id,Ge=Ae.timestamp;Re&&this.success[Re]||(this.anonId||this.fetchEventData(),x(this.anonId)||(this.anonId=S()),this.postEvent(Ge,{skuToken:this.skuToken},function(it){it||Re&&(fe.success[Re]=!0)},J))}},V}(Me),he=function(P){function V(J){P.call(this,"appUserTurnstile"),this._customAccessToken=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postTurnstileEvent=function(J,fe){Z.EVENTS_URL&&Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ae){return ce(Ae)||de(Ae)})&&this.queueRequest(Date.now(),fe)},V.prototype.processRequests=function(J){var fe=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var Ae=_e(Z.ACCESS_TOKEN),Re=Ae?Ae.u:Z.ACCESS_TOKEN,Ge=Re!==this.eventData.tokenU;x(this.anonId)||(this.anonId=S(),Ge=!0);var it=this.queue.shift();if(this.eventData.lastSuccess){var pt=new Date(this.eventData.lastSuccess),Ct=new Date(it),Dt=(it-this.eventData.lastSuccess)/864e5;Ge=Ge||Dt>=1||Dt<-1||pt.getDate()!==Ct.getDate()}else Ge=!0;if(!Ge)return this.processRequests();this.postEvent(it,{"enabled.telemetry":!1},function(Gt){Gt||(fe.eventData.lastSuccess=it,fe.eventData.tokenU=Re)},J)}},V}(Me),be=new he,ke=be.postTurnstileEvent.bind(be),Le=new ae,Be=Le.postMapLoadEvent.bind(Le),ze="mapbox-tiles",je=500,ge=50;function we(){self.caches&&!Se&&(Se=self.caches.open(ze))}function Ee(P,V,J){if(we(),Se){var fe={status:V.status,statusText:V.statusText,headers:new self.Headers};V.headers.forEach(function(Re,Ge){return fe.headers.set(Ge,Re)});var Ae=F(V.headers.get("Cache-Control")||"");Ae["no-store"]||(Ae["max-age"]&&fe.headers.set("Expires",new Date(J+1e3*Ae["max-age"]).toUTCString()),new Date(fe.headers.get("Expires")).getTime()-J<42e4||function(Re,Ge){if(Ce===void 0)try{new Response(new ReadableStream),Ce=!0}catch{Ce=!1}Ce?Ge(Re.body):Re.blob().then(Ge)}(V,function(Re){var Ge=new self.Response(Re,fe);we(),Se&&Se.then(function(it){return it.put(Ve(P.url),Ge)}).catch(function(it){return O(it.message)})}))}}function Ve(P){var V=P.indexOf("?");return V<0?P:P.slice(0,V)}function $e(P,V){if(we(),!Se)return V(null);var J=Ve(P.url);Se.then(function(fe){fe.match(J).then(function(Ae){var Re=function(Ge){if(!Ge)return!1;var it=new Date(Ge.headers.get("Expires")||0),pt=F(Ge.headers.get("Cache-Control")||"");return it>Date.now()&&!pt["no-cache"]}(Ae);fe.delete(J),Re&&fe.put(J,Ae.clone()),V(null,Ae,Re)}).catch(V)}).catch(V)}var Ye,st=1/0;function ot(){return Ye==null&&(Ye=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),Ye}var ft={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(ft);var bt=function(P){function V(J,fe,Ae){fe===401&&de(Ae)&&(J+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),P.call(this,J),this.status=fe,this.url=Ae,this.name=this.constructor.name,this.message=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},V}(Error),Et=D()?function(){return self.worker&&self.worker.referrer}:function(){return(self.location.protocol==="blob:"?self.parent:self).location.href};function kt(P,V){var J,fe=new self.AbortController,Ae=new self.Request(P.url,{method:P.method||"GET",body:P.body,credentials:P.credentials,headers:P.headers,referrer:Et(),signal:fe.signal}),Re=!1,Ge=!1,it=(J=Ae.url).indexOf("sku=")>0&&de(J);P.type==="json"&&Ae.headers.set("Accept","application/json");var pt=function(Dt,Gt,Zt){if(!Ge){if(Dt&&Dt.message!=="SecurityError"&&O(Dt),Gt&&Zt)return Ct(Gt);var $t=Date.now();self.fetch(Ae).then(function(hn){if(hn.ok){var Mn=it?hn.clone():null;return Ct(hn,Mn,$t)}return V(new bt(hn.statusText,hn.status,P.url))}).catch(function(hn){hn.code!==20&&V(new Error(hn.message))})}},Ct=function(Dt,Gt,Zt){(P.type==="arrayBuffer"?Dt.arrayBuffer():P.type==="json"?Dt.json():Dt.text()).then(function($t){Ge||(Gt&&Zt&&Ee(Ae,Gt,Zt),Re=!0,V(null,$t,Dt.headers.get("Cache-Control"),Dt.headers.get("Expires")))}).catch(function($t){Ge||V(new Error($t.message))})};return it?$e(Ae,pt):pt(null,null),{cancel:function(){Ge=!0,Re||fe.abort()}}}var xt=function(P,V){if(J=P.url,!(/^file:/.test(J)||/^file:/.test(Et())&&!/^\w+:/.test(J))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kt(P,V);if(D()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",P,V,void 0,!0)}var J;return function(fe,Ae){var Re=new self.XMLHttpRequest;for(var Ge in Re.open(fe.method||"GET",fe.url,!0),fe.type==="arrayBuffer"&&(Re.responseType="arraybuffer"),fe.headers)Re.setRequestHeader(Ge,fe.headers[Ge]);return fe.type==="json"&&(Re.responseType="text",Re.setRequestHeader("Accept","application/json")),Re.withCredentials=fe.credentials==="include",Re.onerror=function(){Ae(new Error(Re.statusText))},Re.onload=function(){if((Re.status>=200&&Re.status<300||Re.status===0)&&Re.response!==null){var it=Re.response;if(fe.type==="json")try{it=JSON.parse(Re.response)}catch(pt){return Ae(pt)}Ae(null,it,Re.getResponseHeader("Cache-Control"),Re.getResponseHeader("Expires"))}else Ae(new bt(Re.statusText,Re.status,fe.url))},Re.send(fe.body),{cancel:function(){return Re.abort()}}}(P,V)},Ft=function(P,V){return xt(p(P,{type:"arrayBuffer"}),V)},Rt=function(P,V){return xt(p(P,{method:"POST"}),V)},Bt,Wt;Bt=[],Wt=0;var Vt=function(P,V){if(X.supported&&(P.headers||(P.headers={}),P.headers.accept="image/webp,*/*"),Wt>=Z.MAX_PARALLEL_IMAGE_REQUESTS){var J={requestParameters:P,callback:V,cancelled:!1,cancel:function(){this.cancelled=!0}};return Bt.push(J),J}Wt++;var fe=!1,Ae=function(){if(!fe)for(fe=!0,Wt--;Bt.length&&Wt0||this._oneTimeListeners&&this._oneTimeListeners[P]&&this._oneTimeListeners[P].length>0||this._eventedParent&&this._eventedParent.listens(P)},ht.prototype.setEventedParent=function(P,V){return this._eventedParent=P,this._eventedParentData=V,this};var Oe={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ne=function(P,V,J,fe){this.message=(P?P+": ":"")+J,fe&&(this.identifier=fe),V!=null&&V.__line__&&(this.line=V.__line__)};function Qe(P){var V=P.key,J=P.value;return J?[new Ne(V,J,"constants have been deprecated as of v8")]:[]}function ut(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var fe=0,Ae=V;fe":P.itemType.kind==="value"?"array":"array<"+V+">"}return P.kind}var An=[yt,Pt,wt,Ot,Nt,Qt,Yt,xn(qt),rn];function Yn(P,V){if(V.kind==="error")return null;if(P.kind==="array"){if(V.kind==="array"&&(V.N===0&&V.itemType.kind==="value"||!Yn(P.itemType,V.itemType))&&(typeof P.N!="number"||P.N===V.N))return null}else{if(P.kind===V.kind)return null;if(P.kind==="value"){for(var J=0,fe=An;J255?255:pt}function Ae(pt){return pt<0?0:pt>1?1:pt}function Re(pt){return pt[pt.length-1]==="%"?fe(parseFloat(pt)/100*255):fe(parseInt(pt))}function Ge(pt){return pt[pt.length-1]==="%"?Ae(parseFloat(pt)/100):Ae(parseFloat(pt))}function it(pt,Ct,Dt){return Dt<0?Dt+=1:Dt>1&&(Dt-=1),6*Dt<1?pt+(Ct-pt)*Dt*6:2*Dt<1?Ct:3*Dt<2?pt+(Ct-pt)*(2/3-Dt)*6:pt}try{V.parseCSSColor=function(pt){var Ct,Dt=pt.replace(/ /g,"").toLowerCase();if(Dt in J)return J[Dt].slice();if(Dt[0]==="#")return Dt.length===4?(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=4095?[(3840&Ct)>>4|(3840&Ct)>>8,240&Ct|(240&Ct)>>4,15&Ct|(15&Ct)<<4,1]:null:Dt.length===7&&(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=16777215?[(16711680&Ct)>>16,(65280&Ct)>>8,255&Ct,1]:null;var Gt=Dt.indexOf("("),Zt=Dt.indexOf(")");if(Gt!==-1&&Zt+1===Dt.length){var $t=Dt.substr(0,Gt),hn=Dt.substr(Gt+1,Zt-(Gt+1)).split(","),Mn=1;switch($t){case"rgba":if(hn.length!==4)return null;Mn=Ge(hn.pop());case"rgb":return hn.length!==3?null:[Re(hn[0]),Re(hn[1]),Re(hn[2]),Mn];case"hsla":if(hn.length!==4)return null;Mn=Ge(hn.pop());case"hsl":if(hn.length!==3)return null;var Nn=(parseFloat(hn[0])%360+360)%360/360,Bn=Ge(hn[1]),qn=Ge(hn[2]),Zn=qn<=.5?qn*(Bn+1):qn+Bn-qn*Bn,er=2*qn-Zn;return[fe(255*it(er,Zn,Nn+1/3)),fe(255*it(er,Zn,Nn)),fe(255*it(er,Zn,Nn-1/3)),Mn];default:return null}}return null}}catch{}}),dn=Tn.parseCSSColor,pn=function(P,V,J,fe){fe===void 0&&(fe=1),this.r=P,this.g=V,this.b=J,this.a=fe};pn.parse=function(P){if(P){if(P instanceof pn)return P;if(typeof P=="string"){var V=dn(P);if(V)return new pn(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},pn.prototype.toString=function(){var P=this.toArray(),V=P[0],J=P[1],fe=P[2],Ae=P[3];return"rgba("+Math.round(V)+","+Math.round(J)+","+Math.round(fe)+","+Ae+")"},pn.prototype.toArray=function(){var P=this,V=P.r,J=P.g,fe=P.b,Ae=P.a;return Ae===0?[0,0,0,0]:[255*V/Ae,255*J/Ae,255*fe/Ae,Ae]},pn.black=new pn(0,0,0,1),pn.white=new pn(1,1,1,1),pn.transparent=new pn(0,0,0,0),pn.red=new pn(1,0,0,1);var Dn=function(P,V,J){this.sensitivity=P?V?"variant":"case":V?"accent":"base",this.locale=J,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Dn.prototype.compare=function(P,V){return this.collator.compare(P,V)},Dn.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var In=function(P,V,J,fe,Ae){this.text=P,this.image=V,this.scale=J,this.fontStack=fe,this.textColor=Ae},jn=function(P){this.sections=P};jn.fromString=function(P){return new jn([new In(P,null,null,null,null)])},jn.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(P){return P.text.length!==0||P.image&&P.image.name.length!==0})},jn.factory=function(P){return P instanceof jn?P:jn.fromString(P)},jn.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(P){return P.text}).join("")},jn.prototype.serialize=function(){for(var P=["format"],V=0,J=this.sections;V=0&&P<=255&&typeof V=="number"&&V>=0&&V<=255&&typeof J=="number"&&J>=0&&J<=255?fe===void 0||typeof fe=="number"&&fe>=0&&fe<=1?null:"Invalid rgba value ["+[P,V,J,fe].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof fe=="number"?[P,V,J,fe]:[P,V,J]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function lr(P){if(P===null||typeof P=="string"||typeof P=="boolean"||typeof P=="number"||P instanceof pn||P instanceof Dn||P instanceof jn||P instanceof Gn)return!0;if(Array.isArray(P)){for(var V=0,J=P;V2){var it=P[1];if(typeof it!="string"||!(it in vr)||it==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);Re=vr[it],fe++}else Re=qt;if(P.length>3){if(P[2]!==null&&(typeof P[2]!="number"||P[2]<0||P[2]!==Math.floor(P[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Ge=P[2],fe++}J=xn(Re,Ge)}else J=vr[Ae];for(var pt=[];fe1)&&V.push(fe)}}return V.concat(this.args.map(function(Ae){return Ae.serialize()}))};var Kt=function(P){this.type=Qt,this.sections=P};Kt.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[1];if(!Array.isArray(J)&&typeof J=="object")return V.error("First argument must be an image or text section.");for(var fe=[],Ae=!1,Re=1;Re<=P.length-1;++Re){var Ge=P[Re];if(Ae&&typeof Ge=="object"&&!Array.isArray(Ge)){Ae=!1;var it=null;if(Ge["font-scale"]&&!(it=V.parse(Ge["font-scale"],1,Pt)))return null;var pt=null;if(Ge["text-font"]&&!(pt=V.parse(Ge["text-font"],1,xn(wt))))return null;var Ct=null;if(Ge["text-color"]&&!(Ct=V.parse(Ge["text-color"],1,Nt)))return null;var Dt=fe[fe.length-1];Dt.scale=it,Dt.font=pt,Dt.textColor=Ct}else{var Gt=V.parse(P[Re],1,qt);if(!Gt)return null;var Zt=Gt.type.kind;if(Zt!=="string"&&Zt!=="value"&&Zt!=="null"&&Zt!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ae=!0,fe.push({content:Gt,scale:null,font:null,textColor:null})}}return new Kt(fe)},Kt.prototype.evaluate=function(P){return new jn(this.sections.map(function(V){var J=V.content.evaluate(P);return rr(J)===rn?new In("",J,null,null,null):new In(Sr(J),null,V.scale?V.scale.evaluate(P):null,V.font?V.font.evaluate(P).join(","):null,V.textColor?V.textColor.evaluate(P):null)}))},Kt.prototype.eachChild=function(P){for(var V=0,J=this.sections;V-1),J},bn.prototype.eachChild=function(P){P(this.input)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){return["image",this.input.serialize()]};var On={"to-boolean":Ot,"to-color":Nt,"to-number":Pt,"to-string":wt},Ln=function(P,V){this.type=P,this.args=V};Ln.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[0];if((J==="to-boolean"||J==="to-string")&&P.length!==2)return V.error("Expected one argument.");for(var fe=On[J],Ae=[],Re=1;Re4?"Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":Wn(V[0],V[1],V[2],V[3])))return new pn(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new or(J||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}if(this.type.kind==="number"){for(var Ge=null,it=0,pt=this.args;it=V[2]||P[1]<=V[1]||P[3]>=V[3])}function jt(P,V){var J,fe=(180+P[0])/360,Ae=(J=P[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+J*Math.PI/360)))/360),Re=Math.pow(2,V.z);return[Math.round(fe*Re*mr),Math.round(Ae*Re*mr)]}function Jt(P,V,J){return V[1]>P[1]!=J[1]>P[1]&&P[0]<(J[0]-V[0])*(P[1]-V[1])/(J[1]-V[1])+V[0]}function fn(P,V){for(var J=!1,fe=0,Ae=V.length;fe0&&Gt<0||Dt<0&&Gt>0}function En(P,V,J){for(var fe=0,Ae=J;feJ[2]){var Ae=.5*fe,Re=P[0]-J[0]>Ae?-fe:J[0]-P[0]>Ae?fe:0;Re===0&&(Re=P[0]-J[2]>Ae?-fe:J[2]-P[0]>Ae?fe:0),P[0]+=Re}nn(V,P)}function Vn(P,V,J,fe){for(var Ae=Math.pow(2,fe.z)*mr,Re=[fe.x*mr,fe.y*mr],Ge=[],it=0,pt=P;it=0)return!1;var J=!0;return P.eachChild(function(fe){J&&!cr(fe,V)&&(J=!1)}),J}nr.parse=function(P,V){if(P.length!==2)return V.error("'within' expression requires exactly one argument, but found "+(P.length-1)+" instead.");if(lr(P[1])){var J=P[1];if(J.type==="FeatureCollection")for(var fe=0;feV))throw new or("Input is not a number.");Ge=it-1}return 0}dr.prototype.parse=function(P,V,J,fe,Ae){return Ae===void 0&&(Ae={}),V?this.concat(V,J,fe)._parse(P,Ae):this._parse(P,Ae)},dr.prototype._parse=function(P,V){function J(Ct,Dt,Gt){return Gt==="assert"?new _r(Dt,[Ct]):Gt==="coerce"?new Ln(Dt,[Ct]):Ct}if(P!==null&&typeof P!="string"&&typeof P!="boolean"&&typeof P!="number"||(P=["literal",P]),Array.isArray(P)){if(P.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var fe=P[0];if(typeof fe!="string")return this.error("Expression name must be a string, but found "+typeof fe+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ae=this.registry[fe];if(Ae){var Re=Ae.parse(P,this);if(!Re)return null;if(this.expectedType){var Ge=this.expectedType,it=Re.type;if(Ge.kind!=="string"&&Ge.kind!=="number"&&Ge.kind!=="boolean"&&Ge.kind!=="object"&&Ge.kind!=="array"||it.kind!=="value")if(Ge.kind!=="color"&&Ge.kind!=="formatted"&&Ge.kind!=="resolvedImage"||it.kind!=="value"&&it.kind!=="string"){if(this.checkSubtype(Ge,it))return null}else Re=J(Re,Ge,V.typeAnnotation||"coerce");else Re=J(Re,Ge,V.typeAnnotation||"assert")}if(!(Re instanceof yr)&&Re.type.kind!=="resolvedImage"&&br(Re)){var pt=new Kn;try{Re=new yr(Re.type,Re.evaluate(pt))}catch(Ct){return this.error(Ct.message),null}}return Re}return this.error('Unknown expression "'+fe+'". If you wanted a literal array, use ["literal", [...]].',0)}return P===void 0?this.error("'undefined' value invalid. Use null instead."):typeof P=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof P+" instead.")},dr.prototype.concat=function(P,V,J){var fe=typeof P=="number"?this.path.concat(P):this.path,Ae=J?this.scope.concat(J):this.scope;return new dr(this.registry,fe,V||null,Ae,this.errors)},dr.prototype.error=function(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];var fe=""+this.key+V.map(function(Ae){return"["+Ae+"]"}).join("");this.errors.push(new It(fe,P))},dr.prototype.checkSubtype=function(P,V){var J=Yn(P,V);return J&&this.error(J),J};var Lr=function(P,V,J){this.type=P,this.input=V,this.labels=[],this.outputs=[];for(var fe=0,Ae=J;fe=Ge)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',pt);var Dt=V.parse(it,Ct,Ae);if(!Dt)return null;Ae=Ae||Dt.type,fe.push([Ge,Dt])}return new Lr(Ae,J,fe)},Lr.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var fe=this.input.evaluate(P);if(fe<=V[0])return J[0].evaluate(P);var Ae=V.length;return fe>=V[Ae-1]?J[Ae-1].evaluate(P):J[Ir(V,fe)].evaluate(P)},Lr.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V0&&P.push(this.labels[V]),P.push(this.outputs[V].serialize());return P};var gr=Object.freeze({__proto__:null,number:zr,color:function(P,V,J){return new pn(zr(P.r,V.r,J),zr(P.g,V.g,J),zr(P.b,V.b,J),zr(P.a,V.a,J))},array:function(P,V,J){return P.map(function(fe,Ae){return zr(fe,V[Ae],J)})}}),Fr=.95047,ii=1.08883,ji=4/29,ta=6/29,sa=3*ta*ta,uo=Math.PI/180,La=180/Math.PI;function Xi(P){return P>.008856451679035631?Math.pow(P,.3333333333333333):P/sa+ji}function Do(P){return P>ta?P*P*P:sa*(P-ji)}function rs(P){return 255*(P<=.0031308?12.92*P:1.055*Math.pow(P,.4166666666666667)-.055)}function tl(P){return(P/=255)<=.04045?P/12.92:Math.pow((P+.055)/1.055,2.4)}function Cu(P){var V=tl(P.r),J=tl(P.g),fe=tl(P.b),Ae=Xi((.4124564*V+.3575761*J+.1804375*fe)/Fr),Re=Xi((.2126729*V+.7151522*J+.072175*fe)/1);return{l:116*Re-16,a:500*(Ae-Re),b:200*(Re-Xi((.0193339*V+.119192*J+.9503041*fe)/ii)),alpha:P.a}}function gh(P){var V=(P.l+16)/116,J=isNaN(P.a)?V:V+P.a/500,fe=isNaN(P.b)?V:V-P.b/200;return V=1*Do(V),J=Fr*Do(J),fe=ii*Do(fe),new pn(rs(3.2404542*J-1.5371385*V-.4985314*fe),rs(-.969266*J+1.8760108*V+.041556*fe),rs(.0556434*J-.2040259*V+1.0572252*fe),P.alpha)}function Af(P,V,J){var fe=V-P;return P+J*(fe>180||fe<-180?fe-360*Math.round(fe/360):fe)}var Eu={forward:Cu,reverse:gh,interpolate:function(P,V,J){return{l:zr(P.l,V.l,J),a:zr(P.a,V.a,J),b:zr(P.b,V.b,J),alpha:zr(P.alpha,V.alpha,J)}}},is={forward:function(P){var V=Cu(P),J=V.l,fe=V.a,Ae=V.b,Re=Math.atan2(Ae,fe)*La;return{h:Re<0?Re+360:Re,c:Math.sqrt(fe*fe+Ae*Ae),l:J,alpha:P.a}},reverse:function(P){var V=P.h*uo,J=P.c;return gh({l:P.l,a:Math.cos(V)*J,b:Math.sin(V)*J,alpha:P.alpha})},interpolate:function(P,V,J){return{h:Af(P.h,V.h,J),c:zr(P.c,V.c,J),l:zr(P.l,V.l,J),alpha:zr(P.alpha,V.alpha,J)}}},Sf=Object.freeze({__proto__:null,lab:Eu,hcl:is}),Ya=function(P,V,J,fe,Ae){this.type=P,this.operator=V,this.interpolation=J,this.input=fe,this.labels=[],this.outputs=[];for(var Re=0,Ge=Ae;Re1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);fe={name:"cubic-bezier",controlPoints:it}}if(P.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if((P.length-1)%2!=0)return V.error("Expected an even number of arguments.");if(!(Ae=V.parse(Ae,2,Pt)))return null;var pt=[],Ct=null;J==="interpolate-hcl"||J==="interpolate-lab"?Ct=Nt:V.expectedType&&V.expectedType.kind!=="value"&&(Ct=V.expectedType);for(var Dt=0;Dt=Gt)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',$t);var Mn=V.parse(Zt,hn,Ct);if(!Mn)return null;Ct=Ct||Mn.type,pt.push([Gt,Mn])}return Ct.kind==="number"||Ct.kind==="color"||Ct.kind==="array"&&Ct.itemType.kind==="number"&&typeof Ct.N=="number"?new Ya(Ct,J,fe,Ae,pt):V.error("Type "+un(Ct)+" is not interpolatable.")},Ya.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var fe=this.input.evaluate(P);if(fe<=V[0])return J[0].evaluate(P);var Ae=V.length;if(fe>=V[Ae-1])return J[Ae-1].evaluate(P);var Re=Ir(V,fe),Ge=V[Re],it=V[Re+1],pt=Ya.interpolationFactor(this.interpolation,fe,Ge,it),Ct=J[Re].evaluate(P),Dt=J[Re+1].evaluate(P);return this.operator==="interpolate"?gr[this.type.kind.toLowerCase()](Ct,Dt,pt):this.operator==="interpolate-hcl"?is.reverse(is.interpolate(is.forward(Ct),is.forward(Dt),pt)):Eu.reverse(Eu.interpolate(Eu.forward(Ct),Eu.forward(Dt),pt))},Ya.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V=J.length)throw new or("Array index out of bounds: "+V+" > "+(J.length-1)+".");if(V!==Math.floor(V))throw new or("Array index must be an integer, but found "+V+" instead.");return J[V]},Al.prototype.eachChild=function(P){P(this.index),P(this.input)},Al.prototype.outputDefined=function(){return!1},Al.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ui=function(P,V){this.type=Ot,this.needle=P,this.haystack=V};Ui.parse=function(P,V){if(P.length!==3)return V.error("Expected 2 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,qt),fe=V.parse(P[2],2,qt);return J&&fe?kn(J.type,[Ot,wt,Pt,yt,qt])?new Ui(J,fe):V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead"):null},Ui.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!J)return!1;if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");return J.indexOf(V)>=0},Ui.prototype.eachChild=function(P){P(this.needle),P(this.haystack)},Ui.prototype.outputDefined=function(){return!0},Ui.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Sl=function(P,V,J){this.type=Pt,this.needle=P,this.haystack=V,this.fromIndex=J};Sl.parse=function(P,V){if(P.length<=2||P.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,qt),fe=V.parse(P[2],2,qt);if(!J||!fe)return null;if(!kn(J.type,[Ot,wt,Pt,yt,qt]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new Sl(J,fe,Ae):null}return new Sl(J,fe)},Sl.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");if(this.fromIndex){var fe=this.fromIndex.evaluate(P);return J.indexOf(V,fe)}return J.indexOf(V)},Sl.prototype.eachChild=function(P){P(this.needle),P(this.haystack),this.fromIndex&&P(this.fromIndex)},Sl.prototype.outputDefined=function(){return!1},Sl.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var P=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),P]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var ps=function(P,V,J,fe,Ae,Re){this.inputType=P,this.type=V,this.input=J,this.cases=fe,this.outputs=Ae,this.otherwise=Re};ps.parse=function(P,V){if(P.length<5)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if(P.length%2!=1)return V.error("Expected an even number of arguments.");var J,fe;V.expectedType&&V.expectedType.kind!=="value"&&(fe=V.expectedType);for(var Ae={},Re=[],Ge=2;GeNumber.MAX_SAFE_INTEGER)return Ct.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Zt=="number"&&Math.floor(Zt)!==Zt)return Ct.error("Numeric branch labels must be integer values.");if(J){if(Ct.checkSubtype(J,rr(Zt)))return null}else J=rr(Zt);if(Ae[String(Zt)]!==void 0)return Ct.error("Branch labels must be unique.");Ae[String(Zt)]=Re.length}var $t=V.parse(pt,Ge,fe);if(!$t)return null;fe=fe||$t.type,Re.push($t)}var hn=V.parse(P[1],1,qt);if(!hn)return null;var Mn=V.parse(P[P.length-1],P.length-1,fe);return Mn?hn.type.kind!=="value"&&V.concat(1).checkSubtype(J,hn.type)?null:new ps(J,fe,hn,Ae,Re,Mn):null},ps.prototype.evaluate=function(P){var V=this.input.evaluate(P);return(rr(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise).evaluate(P)},ps.prototype.eachChild=function(P){P(this.input),this.outputs.forEach(P),P(this.otherwise)},ps.prototype.outputDefined=function(){return this.outputs.every(function(P){return P.outputDefined()})&&this.otherwise.outputDefined()},ps.prototype.serialize=function(){for(var P=this,V=["match",this.input.serialize()],J=[],fe={},Ae=0,Re=Object.keys(this.cases).sort();Ae=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,qt),fe=V.parse(P[2],2,Pt);if(!J||!fe)return null;if(!kn(J.type,[xn(qt),wt,qt]))return V.error("Expected first argument to be of type array or string, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new js(J.type,J,fe,Ae):null}return new js(J.type,J,fe)},js.prototype.evaluate=function(P){var V=this.input.evaluate(P),J=this.beginIndex.evaluate(P);if(!sn(V,["string","array"]))throw new or("Expected first argument to be of type array or string, but found "+un(rr(V))+" instead.");if(this.endIndex){var fe=this.endIndex.evaluate(P);return V.slice(J,fe)}return V.slice(J)},js.prototype.eachChild=function(P){P(this.input),P(this.beginIndex),this.endIndex&&P(this.endIndex)},js.prototype.outputDefined=function(){return!1},js.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var P=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),P]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var yh=nl("==",function(P,V,J){return V===J},vh),bh=nl("!=",function(P,V,J){return V!==J},function(P,V,J,fe){return!vh(0,V,J,fe)}),id=nl("<",function(P,V,J){return V",function(P,V,J){return V>J},function(P,V,J,fe){return fe.compare(V,J)>0}),xh=nl("<=",function(P,V,J){return V<=J},function(P,V,J,fe){return fe.compare(V,J)<=0}),Ef=nl(">=",function(P,V,J){return V>=J},function(P,V,J,fe){return fe.compare(V,J)>=0}),rl=function(P,V,J,fe,Ae){this.type=wt,this.number=P,this.locale=V,this.currency=J,this.minFractionDigits=fe,this.maxFractionDigits=Ae};rl.parse=function(P,V){if(P.length!==3)return V.error("Expected two arguments.");var J=V.parse(P[1],1,Pt);if(!J)return null;var fe=P[2];if(typeof fe!="object"||Array.isArray(fe))return V.error("NumberFormat options argument must be an object.");var Ae=null;if(fe.locale&&!(Ae=V.parse(fe.locale,1,wt)))return null;var Re=null;if(fe.currency&&!(Re=V.parse(fe.currency,1,wt)))return null;var Ge=null;if(fe["min-fraction-digits"]&&!(Ge=V.parse(fe["min-fraction-digits"],1,Pt)))return null;var it=null;return fe["max-fraction-digits"]&&!(it=V.parse(fe["max-fraction-digits"],1,Pt))?null:new rl(J,Ae,Re,Ge,it)},rl.prototype.evaluate=function(P){return new Intl.NumberFormat(this.locale?this.locale.evaluate(P):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(P):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(P):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(P):void 0}).format(this.number.evaluate(P))},rl.prototype.eachChild=function(P){P(this.number),this.locale&&P(this.locale),this.currency&&P(this.currency),this.minFractionDigits&&P(this.minFractionDigits),this.maxFractionDigits&&P(this.maxFractionDigits)},rl.prototype.outputDefined=function(){return!1},rl.prototype.serialize=function(){var P={};return this.locale&&(P.locale=this.locale.serialize()),this.currency&&(P.currency=this.currency.serialize()),this.minFractionDigits&&(P["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(P["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),P]};var il=function(P){this.type=Pt,this.input=P};il.parse=function(P,V){if(P.length!==2)return V.error("Expected 1 argument, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1);return J?J.type.kind!=="array"&&J.type.kind!=="string"&&J.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+un(J.type)+" instead."):new il(J):null},il.prototype.evaluate=function(P){var V=this.input.evaluate(P);if(typeof V=="string"||Array.isArray(V))return V.length;throw new or("Expected value to be of type string or array, but found "+un(rr(V))+" instead.")},il.prototype.eachChild=function(P){P(this.input)},il.prototype.outputDefined=function(){return!1},il.prototype.serialize=function(){var P=["length"];return this.eachChild(function(V){P.push(V.serialize())}),P};var Lu={"==":yh,"!=":bh,">":Cf,"<":id,">=":Ef,"<=":xh,array:_r,at:Al,boolean:_r,case:Es,coalesce:Yo,collator:tr,format:Kt,image:bn,in:Ui,"index-of":Sl,interpolate:Ya,"interpolate-hcl":Ya,"interpolate-lab":Ya,length:il,let:as,literal:yr,match:ps,number:_r,"number-format":rl,object:_r,slice:js,step:Lr,string:_r,"to-boolean":Ln,"to-color":Ln,"to-number":Ln,"to-string":Ln,var:pr,within:nr};function al(P,V){var J=V[0],fe=V[1],Ae=V[2],Re=V[3];J=J.evaluate(P),fe=fe.evaluate(P),Ae=Ae.evaluate(P);var Ge=Re?Re.evaluate(P):1,it=Wn(J,fe,Ae,Ge);if(it)throw new or(it);return new pn(J/255*Ge,fe/255*Ge,Ae/255*Ge,Ge)}function Lf(P,V){return P in V}function If(P,V){var J=V[P];return J===void 0?null:J}function Jl(P){return{type:P}}function Vc(P){return{result:"success",value:P}}function Cl(P){return{result:"error",value:P}}function Iu(P){return P["property-type"]==="data-driven"||P["property-type"]==="cross-faded-data-driven"}function Ql(P){return!!P.expression&&P.expression.parameters.indexOf("zoom")>-1}function ol(P){return!!P.expression&&P.expression.interpolated}function Hi(P){return P instanceof Number?"number":P instanceof String?"string":P instanceof Boolean?"boolean":Array.isArray(P)?"array":P===null?"null":typeof P}function El(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function ad(P){return P}function jc(P,V){var J,fe,Ae,Re=V.type==="color",Ge=P.stops&&typeof P.stops[0][0]=="object",it=Ge||P.property!==void 0,pt=Ge||!it,Ct=P.type||(ol(V)?"exponential":"interval");if(Re&&((P=ut({},P)).stops&&(P.stops=P.stops.map(function(Tr){return[Tr[0],pn.parse(Tr[1])]})),P.default?P.default=pn.parse(P.default):P.default=pn.parse(V.default)),P.colorSpace&&P.colorSpace!=="rgb"&&!Sf[P.colorSpace])throw new Error("Unknown color space: "+P.colorSpace);if(Ct==="exponential")J=ms;else if(Ct==="interval")J=Ou;else if(Ct==="categorical"){J=eu,fe=Object.create(null);for(var Dt=0,Gt=P.stops;Dt=P.stops[fe-1][0])return P.stops[fe-1][1];var Ae=Ir(P.stops.map(function(Re){return Re[0]}),J);return P.stops[Ae][1]}function ms(P,V,J){var fe=P.base!==void 0?P.base:1;if(Hi(J)!=="number")return fc(P.default,V.default);var Ae=P.stops.length;if(Ae===1||J<=P.stops[0][0])return P.stops[0][1];if(J>=P.stops[Ae-1][0])return P.stops[Ae-1][1];var Re=Ir(P.stops.map(function(Gt){return Gt[0]}),J),Ge=function(Gt,Zt,$t,hn){var Mn=hn-$t,Nn=Gt-$t;return Mn===0?0:Zt===1?Nn/Mn:(Math.pow(Zt,Nn)-1)/(Math.pow(Zt,Mn)-1)}(J,fe,P.stops[Re][0],P.stops[Re+1][0]),it=P.stops[Re][1],pt=P.stops[Re+1][1],Ct=gr[V.type]||ad;if(P.colorSpace&&P.colorSpace!=="rgb"){var Dt=Sf[P.colorSpace];Ct=function(Gt,Zt){return Dt.reverse(Dt.interpolate(Dt.forward(Gt),Dt.forward(Zt),Ge))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var Gt=[],Zt=arguments.length;Zt--;)Gt[Zt]=arguments[Zt];var $t=it.evaluate.apply(void 0,Gt),hn=pt.evaluate.apply(void 0,Gt);if($t!==void 0&&hn!==void 0)return Ct($t,hn,Ge)}}:Ct(it,pt,Ge)}function Of(P,V,J){return V.type==="color"?J=pn.parse(J):V.type==="formatted"?J=jn.fromString(J.toString()):V.type==="resolvedImage"?J=Gn.fromString(J.toString()):Hi(J)===V.type||V.type==="enum"&&V.values[J]||(J=void 0),fc(J,P.default,V.default)}$n.register(Lu,{error:[{kind:"error"},[wt],function(P,V){var J=V[0];throw new or(J.evaluate(P))}],typeof:[wt,[qt],function(P,V){return un(rr(V[0].evaluate(P)))}],"to-rgba":[xn(Pt,4),[Nt],function(P,V){return V[0].evaluate(P).toArray()}],rgb:[Nt,[Pt,Pt,Pt],al],rgba:[Nt,[Pt,Pt,Pt,Pt],al],has:{type:Ot,overloads:[[[wt],function(P,V){return Lf(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],fe=V[1];return Lf(J.evaluate(P),fe.evaluate(P))}]]},get:{type:qt,overloads:[[[wt],function(P,V){return If(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],fe=V[1];return If(J.evaluate(P),fe.evaluate(P))}]]},"feature-state":[qt,[wt],function(P,V){return If(V[0].evaluate(P),P.featureState||{})}],properties:[Yt,[],function(P){return P.properties()}],"geometry-type":[wt,[],function(P){return P.geometryType()}],id:[qt,[],function(P){return P.id()}],zoom:[Pt,[],function(P){return P.globals.zoom}],"heatmap-density":[Pt,[],function(P){return P.globals.heatmapDensity||0}],"line-progress":[Pt,[],function(P){return P.globals.lineProgress||0}],accumulated:[qt,[],function(P){return P.globals.accumulated===void 0?null:P.globals.accumulated}],"+":[Pt,Jl(Pt),function(P,V){for(var J=0,fe=0,Ae=V;fe":[Ot,[wt,qt],function(P,V){var J=V[0],fe=V[1],Ae=P.properties()[J.value],Re=fe.value;return typeof Ae==typeof Re&&Ae>Re}],"filter-id->":[Ot,[qt],function(P,V){var J=V[0],fe=P.id(),Ae=J.value;return typeof fe==typeof Ae&&fe>Ae}],"filter-<=":[Ot,[wt,qt],function(P,V){var J=V[0],fe=V[1],Ae=P.properties()[J.value],Re=fe.value;return typeof Ae==typeof Re&&Ae<=Re}],"filter-id-<=":[Ot,[qt],function(P,V){var J=V[0],fe=P.id(),Ae=J.value;return typeof fe==typeof Ae&&fe<=Ae}],"filter->=":[Ot,[wt,qt],function(P,V){var J=V[0],fe=V[1],Ae=P.properties()[J.value],Re=fe.value;return typeof Ae==typeof Re&&Ae>=Re}],"filter-id->=":[Ot,[qt],function(P,V){var J=V[0],fe=P.id(),Ae=J.value;return typeof fe==typeof Ae&&fe>=Ae}],"filter-has":[Ot,[qt],function(P,V){return V[0].value in P.properties()}],"filter-has-id":[Ot,[],function(P){return P.id()!==null&&P.id()!==void 0}],"filter-type-in":[Ot,[xn(wt)],function(P,V){return V[0].value.indexOf(P.geometryType())>=0}],"filter-id-in":[Ot,[xn(qt)],function(P,V){return V[0].value.indexOf(P.id())>=0}],"filter-in-small":[Ot,[wt,xn(qt)],function(P,V){var J=V[0];return V[1].value.indexOf(P.properties()[J.value])>=0}],"filter-in-large":[Ot,[wt,xn(qt)],function(P,V){var J=V[0],fe=V[1];return function(Ae,Re,Ge,it){for(;Ge<=it;){var pt=Ge+it>>1;if(Re[pt]===Ae)return!0;Re[pt]>Ae?it=pt-1:Ge=pt+1}return!1}(P.properties()[J.value],fe.value,0,fe.value.length-1)}],all:{type:Ot,overloads:[[[Ot,Ot],function(P,V){var J=V[0],fe=V[1];return J.evaluate(P)&&fe.evaluate(P)}],[Jl(Ot),function(P,V){for(var J=0,fe=V;J0&&typeof P[0]=="string"&&P[0]in Lu}function dc(P,V){var J=new dr(Lu,[],V?function(Ae){var Re={color:Nt,string:wt,number:Pt,enum:wt,boolean:Ot,formatted:Qt,resolvedImage:rn};return Ae.type==="array"?xn(Re[Ae.value]||qt,Ae.length):Re[Ae.type]}(V):void 0),fe=J.parse(P,void 0,void 0,void 0,V&&V.type==="string"?{typeAnnotation:"coerce"}:void 0);return fe?Vc(new hc(fe,V)):Cl(J.errors)}hc.prototype.evaluateWithoutErrorHandling=function(P,V,J,fe,Ae,Re){return this._evaluator.globals=P,this._evaluator.feature=V,this._evaluator.featureState=J,this._evaluator.canonical=fe,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Re,this.expression.evaluate(this._evaluator)},hc.prototype.evaluate=function(P,V,J,fe,Ae,Re){this._evaluator.globals=P,this._evaluator.feature=V||null,this._evaluator.featureState=J||null,this._evaluator.canonical=fe,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Re||null;try{var Ge=this.expression.evaluate(this._evaluator);if(Ge==null||typeof Ge=="number"&&Ge!=Ge)return this._defaultValue;if(this._enumValues&&!(Ge in this._enumValues))throw new or("Expected value to be one of "+Object.keys(this._enumValues).map(function(it){return JSON.stringify(it)}).join(", ")+", but found "+JSON.stringify(Ge)+" instead.");return Ge}catch(it){return this._warningHistory[it.message]||(this._warningHistory[it.message]=!0,typeof console<"u"&&console.warn(it.message)),this._defaultValue}};var tu=function(P,V){this.kind=P,this._styleExpression=V,this.isStateDependent=P!=="constant"&&!fr(V.expression)};tu.prototype.evaluateWithoutErrorHandling=function(P,V,J,fe,Ae,Re){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,fe,Ae,Re)},tu.prototype.evaluate=function(P,V,J,fe,Ae,Re){return this._styleExpression.evaluate(P,V,J,fe,Ae,Re)};var nu=function(P,V,J,fe){this.kind=P,this.zoomStops=J,this._styleExpression=V,this.isStateDependent=P!=="camera"&&!fr(V.expression),this.interpolationType=fe};function Ru(P,V){if((P=dc(P,V)).result==="error")return P;var J=P.value.expression,fe=Qn(J);if(!fe&&!Iu(V))return Cl([new It("","data expressions not supported")]);var Ae=cr(J,["zoom"]);if(!Ae&&!Ql(V))return Cl([new It("","zoom expressions not supported")]);var Re=mc(J);if(!Re&&!Ae)return Cl([new It("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Re instanceof It)return Cl([Re]);if(Re instanceof Ya&&!ol(V))return Cl([new It("",'"interpolate" expressions cannot be used with this property')]);if(!Re)return Vc(new tu(fe?"constant":"source",P.value));var Ge=Re instanceof Ya?Re.interpolation:void 0;return Vc(new nu(fe?"camera":"composite",P.value,Re.labels,Ge))}nu.prototype.evaluateWithoutErrorHandling=function(P,V,J,fe,Ae,Re){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,fe,Ae,Re)},nu.prototype.evaluate=function(P,V,J,fe,Ae,Re){return this._styleExpression.evaluate(P,V,J,fe,Ae,Re)},nu.prototype.interpolationFactor=function(P,V,J){return this.interpolationType?Ya.interpolationFactor(this.interpolationType,P,V,J):0};var pc=function(P,V){this._parameters=P,this._specification=V,ut(this,jc(this._parameters,this._specification))};function mc(P){var V=null;if(P instanceof as)V=mc(P.result);else if(P instanceof Yo)for(var J=0,fe=P.args;Jfe.maximum?[new Ne(V,J,J+" is greater than the maximum value "+fe.maximum)]:[]}function Pf(P){var V,J,fe,Ae=P.valueSpec,Re=dt(P.value.type),Ge={},it=Re!=="categorical"&&P.value.property===void 0,pt=!it,Ct=Hi(P.value.stops)==="array"&&Hi(P.value.stops[0])==="array"&&Hi(P.value.stops[0][0])==="object",Dt=gs({key:P.key,value:P.value,valueSpec:P.styleSpec.function,style:P.style,styleSpec:P.styleSpec,objectElementValidators:{stops:function($t){if(Re==="identity")return[new Ne($t.key,$t.value,'identity function may not have a "stops" property')];var hn=[],Mn=$t.value;return hn=hn.concat(gc({key:$t.key,value:Mn,valueSpec:$t.valueSpec,style:$t.style,styleSpec:$t.styleSpec,arrayElementValidator:Gt})),Hi(Mn)==="array"&&Mn.length===0&&hn.push(new Ne($t.key,Mn,"array must have at least one stop")),hn},default:function($t){return da({key:$t.key,value:$t.value,valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec})}}});return Re==="identity"&&it&&Dt.push(new Ne(P.key,P.value,'missing required property "property"')),Re==="identity"||P.value.stops||Dt.push(new Ne(P.key,P.value,'missing required property "stops"')),Re==="exponential"&&P.valueSpec.expression&&!ol(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"exponential functions not supported")),P.styleSpec.$version>=8&&(pt&&!Iu(P.valueSpec)?Dt.push(new Ne(P.key,P.value,"property functions not supported")):it&&!Ql(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"zoom functions not supported"))),Re!=="categorical"&&!Ct||P.value.property!==void 0||Dt.push(new Ne(P.key,P.value,'"property" property is required')),Dt;function Gt($t){var hn=[],Mn=$t.value,Nn=$t.key;if(Hi(Mn)!=="array")return[new Ne(Nn,Mn,"array expected, "+Hi(Mn)+" found")];if(Mn.length!==2)return[new Ne(Nn,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ct){if(Hi(Mn[0])!=="object")return[new Ne(Nn,Mn,"object expected, "+Hi(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new Ne(Nn,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new Ne(Nn,Mn,"object stop key must have value")];if(fe&&fe>dt(Mn[0].zoom))return[new Ne(Nn,Mn[0].zoom,"stop zoom values must appear in ascending order")];dt(Mn[0].zoom)!==fe&&(fe=dt(Mn[0].zoom),J=void 0,Ge={}),hn=hn.concat(gs({key:Nn+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:$t.style,styleSpec:$t.styleSpec,objectElementValidators:{zoom:vc,value:Zt}}))}else hn=hn.concat(Zt({key:Nn+"[0]",value:Mn[0],valueSpec:{},style:$t.style,styleSpec:$t.styleSpec},Mn));return Pu(_t(Mn[1]))?hn.concat([new Ne(Nn+"[1]",Mn[1],"expressions are not allowed in function stops.")]):hn.concat(da({key:Nn+"[1]",value:Mn[1],valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec}))}function Zt($t,hn){var Mn=Hi($t.value),Nn=dt($t.value),Bn=$t.value!==null?$t.value:hn;if(V){if(Mn!==V)return[new Ne($t.key,Bn,Mn+" stop domain type must match previous stop domain type "+V)]}else V=Mn;if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new Ne($t.key,Bn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&Re!=="categorical"){var qn="number expected, "+Mn+" found";return Iu(Ae)&&Re===void 0&&(qn+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ne($t.key,Bn,qn)]}return Re!=="categorical"||Mn!=="number"||isFinite(Nn)&&Math.floor(Nn)===Nn?Re!=="categorical"&&Mn==="number"&&J!==void 0&&Nn=2&&P[1]!=="$id"&&P[1]!=="$type";case"in":return P.length>=3&&(typeof P[1]!="string"||Array.isArray(P[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return P.length!==3||Array.isArray(P[1])||Array.isArray(P[2]);case"any":case"all":for(var V=0,J=P.slice(1);VV?1:0}function ru(P){if(!Array.isArray(P))return!1;if(P[0]==="within")return!0;for(var V=1;V"||J==="<="||J===">="?Ki(P[1],P[2],J):J==="any"?(V=P.slice(1),["any"].concat(V.map(iu))):J==="all"?["all"].concat(P.slice(1).map(iu)):J==="none"?["all"].concat(P.slice(1).map(iu).map(po)):J==="in"?Il(P[1],P.slice(2)):J==="!in"?po(Il(P[1],P.slice(2))):J==="has"?Ol(P[1]):J==="!has"?po(Ol(P[1])):J!=="within"||P}function Ki(P,V,J){switch(P){case"$type":return["filter-type-"+J,V];case"$id":return["filter-id-"+J,V];default:return["filter-"+J,P,V]}}function Il(P,V){if(V.length===0)return!1;switch(P){case"$type":return["filter-type-in",["literal",V]];case"$id":return["filter-id-in",["literal",V]];default:return V.length>200&&!V.some(function(J){return typeof J!=typeof V[0]})?["filter-in-large",P,["literal",V.sort(Du)]]:["filter-in-small",P,["literal",V]]}}function Ol(P){switch(P){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",P]}}function po(P){return["!",P]}function Ri(P){return yc(_t(P.value))?Ll(ut({},P,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Bi(P)}function Bi(P){var V=P.value,J=P.key;if(Hi(V)!=="array")return[new Ne(J,V,"array expected, "+Hi(V)+" found")];var fe,Ae=P.styleSpec,Re=[];if(V.length<1)return[new Ne(J,V,"filter array must have at least 1 element")];switch(Re=Re.concat(Uc({key:J+"[0]",value:V[0],valueSpec:Ae.filter_operator,style:P.style,styleSpec:P.styleSpec})),dt(V[0])){case"<":case"<=":case">":case">=":V.length>=2&&dt(V[1])==="$type"&&Re.push(new Ne(J,V,'"$type" cannot be use with operator "'+V[0]+'"'));case"==":case"!=":V.length!==3&&Re.push(new Ne(J,V,'filter array for operator "'+V[0]+'" must have 3 elements'));case"in":case"!in":V.length>=2&&(fe=Hi(V[1]))!=="string"&&Re.push(new Ne(J+"[1]",V[1],"string expected, "+fe+" found"));for(var Ge=2;Ge=Dt[$t+0]&&fe>=Dt[$t+1])?(Ge[Zt]=!0,Re.push(Ct[Zt])):Ge[Zt]=!1}}},$o.prototype._forEachCell=function(P,V,J,fe,Ae,Re,Ge,it){for(var pt=this._convertToCellCoord(P),Ct=this._convertToCellCoord(V),Dt=this._convertToCellCoord(J),Gt=this._convertToCellCoord(fe),Zt=pt;Zt<=Dt;Zt++)for(var $t=Ct;$t<=Gt;$t++){var hn=this.d*$t+Zt;if((!it||it(this._convertFromCellCoord(Zt),this._convertFromCellCoord($t),this._convertFromCellCoord(Zt+1),this._convertFromCellCoord($t+1)))&&Ae.call(this,P,V,J,fe,hn,Re,Ge,it))return}},$o.prototype._convertFromCellCoord=function(P){return(P-this.padding)/this.scale},$o.prototype._convertToCellCoord=function(P){return Math.max(0,Math.min(this.d-1,Math.floor(P*this.scale)+this.padding))},$o.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var P=this.cells,V=3+this.cells.length+1+1,J=0,fe=0;fe=0)){var Gt=P[Dt];Ct[Dt]=Lo[pt].shallow.indexOf(Dt)>=0?Gt:zu(Gt,V)}P instanceof Error&&(Ct.message=P.message)}if(Ct.$name)throw new Error("$name property is reserved for worker serialization logic.");return pt!=="Object"&&(Ct.$name=pt),Ct}throw new Error("can't serialize object of type "+typeof P)}function Fu(P){if(P==null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"||P instanceof Boolean||P instanceof Number||P instanceof String||P instanceof Date||P instanceof RegExp||Fo(P)||qc(P)||ArrayBuffer.isView(P)||P instanceof Gc)return P;if(Array.isArray(P))return P.map(Fu);if(typeof P=="object"){var V=P.$name||"Object",J=Lo[V].klass;if(!J)throw new Error("can't deserialize unregistered class "+V);if(J.deserialize)return J.deserialize(P);for(var fe=Object.create(J.prototype),Ae=0,Re=Object.keys(P);Ae=0?it:Fu(it)}}return fe}throw new Error("can't deserialize object of type "+typeof P)}var Bu=function(){this.first=!0};Bu.prototype.update=function(P,V){var J=Math.floor(P);return this.first?(this.first=!1,this.lastIntegerZoom=J,this.lastIntegerZoomTime=0,this.lastZoom=P,this.lastFloorZoom=J,!0):(this.lastFloorZoom>J?(this.lastIntegerZoom=J+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&P<=255},Arabic:function(P){return P>=1536&&P<=1791},"Arabic Supplement":function(P){return P>=1872&&P<=1919},"Arabic Extended-A":function(P){return P>=2208&&P<=2303},"Hangul Jamo":function(P){return P>=4352&&P<=4607},"Unified Canadian Aboriginal Syllabics":function(P){return P>=5120&&P<=5759},Khmer:function(P){return P>=6016&&P<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(P){return P>=6320&&P<=6399},"General Punctuation":function(P){return P>=8192&&P<=8303},"Letterlike Symbols":function(P){return P>=8448&&P<=8527},"Number Forms":function(P){return P>=8528&&P<=8591},"Miscellaneous Technical":function(P){return P>=8960&&P<=9215},"Control Pictures":function(P){return P>=9216&&P<=9279},"Optical Character Recognition":function(P){return P>=9280&&P<=9311},"Enclosed Alphanumerics":function(P){return P>=9312&&P<=9471},"Geometric Shapes":function(P){return P>=9632&&P<=9727},"Miscellaneous Symbols":function(P){return P>=9728&&P<=9983},"Miscellaneous Symbols and Arrows":function(P){return P>=11008&&P<=11263},"CJK Radicals Supplement":function(P){return P>=11904&&P<=12031},"Kangxi Radicals":function(P){return P>=12032&&P<=12255},"Ideographic Description Characters":function(P){return P>=12272&&P<=12287},"CJK Symbols and Punctuation":function(P){return P>=12288&&P<=12351},Hiragana:function(P){return P>=12352&&P<=12447},Katakana:function(P){return P>=12448&&P<=12543},Bopomofo:function(P){return P>=12544&&P<=12591},"Hangul Compatibility Jamo":function(P){return P>=12592&&P<=12687},Kanbun:function(P){return P>=12688&&P<=12703},"Bopomofo Extended":function(P){return P>=12704&&P<=12735},"CJK Strokes":function(P){return P>=12736&&P<=12783},"Katakana Phonetic Extensions":function(P){return P>=12784&&P<=12799},"Enclosed CJK Letters and Months":function(P){return P>=12800&&P<=13055},"CJK Compatibility":function(P){return P>=13056&&P<=13311},"CJK Unified Ideographs Extension A":function(P){return P>=13312&&P<=19903},"Yijing Hexagram Symbols":function(P){return P>=19904&&P<=19967},"CJK Unified Ideographs":function(P){return P>=19968&&P<=40959},"Yi Syllables":function(P){return P>=40960&&P<=42127},"Yi Radicals":function(P){return P>=42128&&P<=42191},"Hangul Jamo Extended-A":function(P){return P>=43360&&P<=43391},"Hangul Syllables":function(P){return P>=44032&&P<=55215},"Hangul Jamo Extended-B":function(P){return P>=55216&&P<=55295},"Private Use Area":function(P){return P>=57344&&P<=63743},"CJK Compatibility Ideographs":function(P){return P>=63744&&P<=64255},"Arabic Presentation Forms-A":function(P){return P>=64336&&P<=65023},"Vertical Forms":function(P){return P>=65040&&P<=65055},"CJK Compatibility Forms":function(P){return P>=65072&&P<=65103},"Small Form Variants":function(P){return P>=65104&&P<=65135},"Arabic Presentation Forms-B":function(P){return P>=65136&&P<=65279},"Halfwidth and Fullwidth Forms":function(P){return P>=65280&&P<=65519}};function Nu(P){for(var V=0,J=P;V=65097&&P<=65103)||Br["CJK Compatibility Ideographs"](P)||Br["CJK Compatibility"](P)||Br["CJK Radicals Supplement"](P)||Br["CJK Strokes"](P)||!(!Br["CJK Symbols and Punctuation"](P)||P>=12296&&P<=12305||P>=12308&&P<=12319||P===12336)||Br["CJK Unified Ideographs Extension A"](P)||Br["CJK Unified Ideographs"](P)||Br["Enclosed CJK Letters and Months"](P)||Br["Hangul Compatibility Jamo"](P)||Br["Hangul Jamo Extended-A"](P)||Br["Hangul Jamo Extended-B"](P)||Br["Hangul Jamo"](P)||Br["Hangul Syllables"](P)||Br.Hiragana(P)||Br["Ideographic Description Characters"](P)||Br.Kanbun(P)||Br["Kangxi Radicals"](P)||Br["Katakana Phonetic Extensions"](P)||Br.Katakana(P)&&P!==12540||!(!Br["Halfwidth and Fullwidth Forms"](P)||P===65288||P===65289||P===65293||P>=65306&&P<=65310||P===65339||P===65341||P===65343||P>=65371&&P<=65503||P===65507||P>=65512&&P<=65519)||!(!Br["Small Form Variants"](P)||P>=65112&&P<=65118||P>=65123&&P<=65126)||Br["Unified Canadian Aboriginal Syllabics"](P)||Br["Unified Canadian Aboriginal Syllabics Extended"](P)||Br["Vertical Forms"](P)||Br["Yijing Hexagram Symbols"](P)||Br["Yi Syllables"](P)||Br["Yi Radicals"](P))))}function Yc(P){return!(ys(P)||function(V){return!!(Br["Latin-1 Supplement"](V)&&(V===167||V===169||V===174||V===177||V===188||V===189||V===190||V===215||V===247)||Br["General Punctuation"](V)&&(V===8214||V===8224||V===8225||V===8240||V===8241||V===8251||V===8252||V===8258||V===8263||V===8264||V===8265||V===8273)||Br["Letterlike Symbols"](V)||Br["Number Forms"](V)||Br["Miscellaneous Technical"](V)&&(V>=8960&&V<=8967||V>=8972&&V<=8991||V>=8996&&V<=9e3||V===9003||V>=9085&&V<=9114||V>=9150&&V<=9165||V===9167||V>=9169&&V<=9179||V>=9186&&V<=9215)||Br["Control Pictures"](V)&&V!==9251||Br["Optical Character Recognition"](V)||Br["Enclosed Alphanumerics"](V)||Br["Geometric Shapes"](V)||Br["Miscellaneous Symbols"](V)&&!(V>=9754&&V<=9759)||Br["Miscellaneous Symbols and Arrows"](V)&&(V>=11026&&V<=11055||V>=11088&&V<=11097||V>=11192&&V<=11243)||Br["CJK Symbols and Punctuation"](V)||Br.Katakana(V)||Br["Private Use Area"](V)||Br["CJK Compatibility Forms"](V)||Br["Small Form Variants"](V)||Br["Halfwidth and Fullwidth Forms"](V)||V===8734||V===8756||V===8757||V>=9984&&V<=10087||V>=10102&&V<=10131||V===65532||V===65533)}(P))}function xc(P){return Br.Arabic(P)||Br["Arabic Supplement"](P)||Br["Arabic Extended-A"](P)||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function vo(P){return P>=1424&&P<=2303||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function cu(P,V){return!(!V&&vo(P)||P>=2304&&P<=3583||P>=3840&&P<=4255||Br.Khmer(P))}function ul(P){for(var V=0,J=P;V-1&&(yo=bs),fu&&fu(P)};function _c(){os.fire(new We("pluginStateChange",{pluginStatus:yo,pluginURL:xs}))}var os=new ht,_s=function(){return yo},Gs=function(){if(yo!==Zo||!xs)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");yo=Rl,_c(),xs&&Ft({url:xs},function(P){P?Yi(P):(yo=Ls,_c())})},Bo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return yo===Ls||Bo.applyArabicShaping!=null},isLoading:function(){return yo===Rl},setState:function(P){yo=P.pluginStatus,xs=P.pluginURL},isParsed:function(){return Bo.applyArabicShaping!=null&&Bo.processBidirectionalText!=null&&Bo.processStyledBidirectionalText!=null},getPluginURL:function(){return xs}},qi=function(P,V){this.zoom=P,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Bu,this.transition={})};qi.prototype.isSupportedScript=function(P){return function(V,J){for(var fe=0,Ae=V;fethis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*J}:{fromScale:.5,toScale:1,t:1-(1-J)*V}};var no=function(P,V){this.property=P,this.value=V,this.expression=function(J,fe){if(El(J))return new pc(J,fe);if(Pu(J)){var Ae=Ru(J,fe);if(Ae.result==="error")throw new Error(Ae.value.map(function(Ge){return Ge.key+": "+Ge.message}).join(", "));return Ae.value}var Re=J;return typeof J=="string"&&fe.type==="color"&&(Re=pn.parse(J)),{kind:"constant",evaluate:function(){return Re}}}(V===void 0?P.specification.default:V,P.specification)};no.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},no.prototype.possiblyEvaluate=function(P,V,J){return this.property.possiblyEvaluate(this,P,V,J)};var Is=function(P){this.property=P,this.value=new no(P,void 0)};Is.prototype.transitioned=function(P,V){return new Ws(this.property,this.value,V,p({},P.transition,this.transition),P.now)},Is.prototype.untransitioned=function(){return new Ws(this.property,this.value,null,{},0)};var No=function(P){this._properties=P,this._values=Object.create(P.defaultTransitionablePropertyValues)};No.prototype.getValue=function(P){return L(this._values[P].value.value)},No.prototype.setValue=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].value=new no(this._values[P].property,V===null?void 0:L(V))},No.prototype.getTransition=function(P){return L(this._values[P].transition)},No.prototype.setTransition=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].transition=L(V)||void 0},No.prototype.serialize=function(){for(var P={},V=0,J=Object.keys(this._values);Vthis.end)return this.prior=null,Ae;if(this.value.isDataDriven())return this.prior=null,Ae;if(fe=1)return 1;var pt=it*it,Ct=pt*it;return 4*(it<.5?Ct:3*(it-pt)+Ct-.75)}(Ge))}return Ae};var Dl=function(P){this._properties=P,this._values=Object.create(P.defaultTransitioningPropertyValues)};Dl.prototype.possiblyEvaluate=function(P,V,J){for(var fe=new ws(this._properties),Ae=0,Re=Object.keys(this._values);AeRe.zoomHistory.lastIntegerZoom?{from:J,to:fe}:{from:Ae,to:fe}},V.prototype.interpolate=function(J){return J},V}(ni),fl=function(P){this.specification=P};fl.prototype.possiblyEvaluate=function(P,V,J,fe){if(P.value!==void 0){if(P.expression.kind==="constant"){var Ae=P.expression.evaluate(V,null,{},J,fe);return this._calculate(Ae,Ae,Ae,V)}return this._calculate(P.expression.evaluate(new qi(Math.floor(V.zoom-1),V)),P.expression.evaluate(new qi(Math.floor(V.zoom),V)),P.expression.evaluate(new qi(Math.floor(V.zoom+1),V)),V)}},fl.prototype._calculate=function(P,V,J,fe){return fe.zoom>fe.zoomHistory.lastIntegerZoom?{from:P,to:V}:{from:J,to:V}},fl.prototype.interpolate=function(P){return P};var Os=function(P){this.specification=P};Os.prototype.possiblyEvaluate=function(P,V,J,fe){return!!P.expression.evaluate(V,null,{},J,fe)},Os.prototype.interpolate=function(){return!1};var xo=function(P){for(var V in this.properties=P,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],P){var J=P[V];J.specification.overridable&&this.overridableProperties.push(V);var fe=this.defaultPropertyValues[V]=new no(J,void 0),Ae=this.defaultTransitionablePropertyValues[V]=new Is(J);this.defaultTransitioningPropertyValues[V]=Ae.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=fe.possiblyEvaluate({})}};Dr("DataDrivenProperty",ni),Dr("DataConstantProperty",Hr),Dr("CrossFadedDataDrivenProperty",Vu),Dr("CrossFadedProperty",fl),Dr("ColorRampProperty",Os);var $c="-transition",Vo=function(P){function V(J,fe){if(P.call(this),this.id=J.id,this.type=J.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},J.type!=="custom"&&(this.metadata=J.metadata,this.minzoom=J.minzoom,this.maxzoom=J.maxzoom,J.type!=="background"&&(this.source=J.source,this.sourceLayer=J["source-layer"],this.filter=J.filter),fe.layout&&(this._unevaluatedLayout=new cl(fe.layout)),fe.paint)){for(var Ae in this._transitionablePaint=new No(fe.paint),J.paint)this.setPaintProperty(Ae,J.paint[Ae],{validate:!1});for(var Re in J.layout)this.setLayoutProperty(Re,J.layout[Re],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new ws(fe.paint)}}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},V.prototype.getLayoutProperty=function(J){return J==="visibility"?this.visibility:this._unevaluatedLayout.getValue(J)},V.prototype.setLayoutProperty=function(J,fe,Ae){if(Ae===void 0&&(Ae={}),fe!=null){var Re="layers."+this.id+".layout."+J;if(this._validate(Pl,Re,J,fe,Ae))return}J!=="visibility"?this._unevaluatedLayout.setValue(J,fe):this.visibility=fe},V.prototype.getPaintProperty=function(J){return C(J,$c)?this._transitionablePaint.getTransition(J.slice(0,-$c.length)):this._transitionablePaint.getValue(J)},V.prototype.setPaintProperty=function(J,fe,Ae){if(Ae===void 0&&(Ae={}),fe!=null){var Re="layers."+this.id+".paint."+J;if(this._validate(zo,Re,J,fe,Ae))return!1}if(C(J,$c))return this._transitionablePaint.setTransition(J.slice(0,-$c.length),fe||void 0),!1;var Ge=this._transitionablePaint._values[J],it=Ge.property.specification["property-type"]==="cross-faded-data-driven",pt=Ge.value.isDataDriven(),Ct=Ge.value;this._transitionablePaint.setValue(J,fe),this._handleSpecialPaintPropertyUpdate(J);var Dt=this._transitionablePaint._values[J].value;return Dt.isDataDriven()||pt||it||this._handleOverridablePaintPropertyUpdate(J,Ct,Dt)},V.prototype._handleSpecialPaintPropertyUpdate=function(J){},V.prototype._handleOverridablePaintPropertyUpdate=function(J,fe,Ae){return!1},V.prototype.isHidden=function(J){return!!(this.minzoom&&J=this.maxzoom)||this.visibility==="none"},V.prototype.updateTransitions=function(J){this._transitioningPaint=this._transitionablePaint.transitioned(J,this._transitioningPaint)},V.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},V.prototype.recalculate=function(J,fe){J.getCrossfadeParameters&&(this._crossfadeParameters=J.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(J,void 0,fe)),this.paint=this._transitioningPaint.possiblyEvaluate(J,void 0,fe)},V.prototype.serialize=function(){var J={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(J.layout=J.layout||{},J.layout.visibility=this.visibility),A(J,function(fe,Ae){return!(fe===void 0||Ae==="layout"&&!Object.keys(fe).length||Ae==="paint"&&!Object.keys(fe).length)})},V.prototype._validate=function(J,fe,Ae,Re,Ge){return Ge===void 0&&(Ge={}),(!Ge||Ge.validate!==!1)&&vs(this,J.call(go,{key:fe,layerType:this.type,objectKey:Ae,value:Re,styleSpec:Oe,style:{glyphs:!0,sprite:!0}}))},V.prototype.is3D=function(){return!1},V.prototype.isTileClipped=function(){return!1},V.prototype.hasOffscreenPass=function(){return!1},V.prototype.resize=function(){},V.prototype.isStateDependent=function(){for(var J in this.paint._values){var fe=this.paint.get(J);if(fe instanceof bo&&Iu(fe.property.specification)&&(fe.value.kind==="source"||fe.value.kind==="composite")&&fe.value.isStateDependent)return!0}return!1},V}(ht),ju={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},hl=function(P,V){this._structArray=P,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Ji=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function la(P,V){V===void 0&&(V=1);var J=0,fe=0;return{members:P.map(function(Ae){var Re,Ge=(Re=Ae.type,ju[Re].BYTES_PER_ELEMENT),it=J=Zc(J,Math.max(V,Ge)),pt=Ae.components||1;return fe=Math.max(fe,Ge),J+=Ge*pt,{name:Ae.name,type:Ae.type,components:pt,offset:it}}),size:Zc(J,Math.max(fe,V)),alignment:V}}function Zc(P,V){return Math.ceil(P/V)*V}Ji.serialize=function(P,V){return P._trim(),V&&(P.isTransferred=!0,V.push(P.arrayBuffer)),{length:P.length,arrayBuffer:P.arrayBuffer}},Ji.deserialize=function(P){var V=Object.create(this.prototype);return V.arrayBuffer=P.arrayBuffer,V.length=P.length,V.capacity=P.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Ji.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Ji.prototype.clear=function(){this.length=0},Ji.prototype.resize=function(P){this.reserve(P),this.length=P},Ji.prototype.reserve=function(P){if(P>this.capacity){this.capacity=Math.max(P,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Ji.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var et=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var Re=2*J;return this.int16[Re+0]=fe,this.int16[Re+1]=Ae,J},V}(Ji);et.prototype.bytesPerElement=4,Dr("StructArrayLayout2i4",et);var rt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,Re)},V.prototype.emplace=function(J,fe,Ae,Re,Ge){var it=4*J;return this.int16[it+0]=fe,this.int16[it+1]=Ae,this.int16[it+2]=Re,this.int16[it+3]=Ge,J},V}(Ji);rt.prototype.bytesPerElement=8,Dr("StructArrayLayout4i8",rt);var ct=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,fe,Ae,Re,Ge,it)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Re,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);ct.prototype.bytesPerElement=12,Dr("StructArrayLayout2i4i12",ct);var vt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,fe,Ae,Re,Ge,it)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt){var Ct=4*J,Dt=8*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.uint8[Dt+4]=Re,this.uint8[Dt+5]=Ge,this.uint8[Dt+6]=it,this.uint8[Dt+7]=pt,J},V}(Ji);vt.prototype.bytesPerElement=8,Dr("StructArrayLayout2i4ub8",vt);var St=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt){var Zt=this.length;return this.resize(Zt+1),this.emplace(Zt,J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt){var $t=9*J,hn=18*J;return this.uint16[$t+0]=fe,this.uint16[$t+1]=Ae,this.uint16[$t+2]=Re,this.uint16[$t+3]=Ge,this.uint16[$t+4]=it,this.uint16[$t+5]=pt,this.uint16[$t+6]=Ct,this.uint16[$t+7]=Dt,this.uint8[hn+16]=Gt,this.uint8[hn+17]=Zt,J},V}(Ji);St.prototype.bytesPerElement=18,Dr("StructArrayLayout8ui2ub18",St);var Mt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,$t){var hn=this.length;return this.resize(hn+1),this.emplace(hn,J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,$t)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,$t,hn){var Mn=12*J;return this.int16[Mn+0]=fe,this.int16[Mn+1]=Ae,this.int16[Mn+2]=Re,this.int16[Mn+3]=Ge,this.uint16[Mn+4]=it,this.uint16[Mn+5]=pt,this.uint16[Mn+6]=Ct,this.uint16[Mn+7]=Dt,this.int16[Mn+8]=Gt,this.int16[Mn+9]=Zt,this.int16[Mn+10]=$t,this.int16[Mn+11]=hn,J},V}(Ji);Mt.prototype.bytesPerElement=24,Dr("StructArrayLayout4i4ui4i24",Mt);var Y=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var Re=this.length;return this.resize(Re+1),this.emplace(Re,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,Re){var Ge=3*J;return this.float32[Ge+0]=fe,this.float32[Ge+1]=Ae,this.float32[Ge+2]=Re,J},V}(Ji);Y.prototype.bytesPerElement=12,Dr("StructArrayLayout3f12",Y);var ee=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.uint32[Ae+0]=fe,J},V}(Ji);ee.prototype.bytesPerElement=4,Dr("StructArrayLayout1ul4",ee);var K=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt){var Gt=this.length;return this.resize(Gt+1),this.emplace(Gt,J,fe,Ae,Re,Ge,it,pt,Ct,Dt)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt){var Zt=10*J,$t=5*J;return this.int16[Zt+0]=fe,this.int16[Zt+1]=Ae,this.int16[Zt+2]=Re,this.int16[Zt+3]=Ge,this.int16[Zt+4]=it,this.int16[Zt+5]=pt,this.uint32[$t+3]=Ct,this.uint16[Zt+8]=Dt,this.uint16[Zt+9]=Gt,J},V}(Ji);K.prototype.bytesPerElement=20,Dr("StructArrayLayout6i1ul2ui20",K);var le=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,fe,Ae,Re,Ge,it)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Re,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);le.prototype.bytesPerElement=12,Dr("StructArrayLayout2i2i2i12",le);var Te=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge){var it=this.length;return this.resize(it+1),this.emplace(it,J,fe,Ae,Re,Ge)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it){var pt=4*J,Ct=8*J;return this.float32[pt+0]=fe,this.float32[pt+1]=Ae,this.float32[pt+2]=Re,this.int16[Ct+6]=Ge,this.int16[Ct+7]=it,J},V}(Ji);Te.prototype.bytesPerElement=16,Dr("StructArrayLayout2f1f2i16",Te);var De=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,Re)},V.prototype.emplace=function(J,fe,Ae,Re,Ge){var it=12*J,pt=3*J;return this.uint8[it+0]=fe,this.uint8[it+1]=Ae,this.float32[pt+1]=Re,this.float32[pt+2]=Ge,J},V}(Ji);De.prototype.bytesPerElement=12,Dr("StructArrayLayout2ub2f12",De);var He=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var Re=this.length;return this.resize(Re+1),this.emplace(Re,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,Re){var Ge=3*J;return this.uint16[Ge+0]=fe,this.uint16[Ge+1]=Ae,this.uint16[Ge+2]=Re,J},V}(Ji);He.prototype.bytesPerElement=6,Dr("StructArrayLayout3ui6",He);var Ze=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,$t,hn,Mn,Nn,Bn,qn){var Zn=this.length;return this.resize(Zn+1),this.emplace(Zn,J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,$t,hn,Mn,Nn,Bn,qn)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,$t,hn,Mn,Nn,Bn,qn,Zn){var er=24*J,sr=12*J,hr=48*J;return this.int16[er+0]=fe,this.int16[er+1]=Ae,this.uint16[er+2]=Re,this.uint16[er+3]=Ge,this.uint32[sr+2]=it,this.uint32[sr+3]=pt,this.uint32[sr+4]=Ct,this.uint16[er+10]=Dt,this.uint16[er+11]=Gt,this.uint16[er+12]=Zt,this.float32[sr+7]=$t,this.float32[sr+8]=hn,this.uint8[hr+36]=Mn,this.uint8[hr+37]=Nn,this.uint8[hr+38]=Bn,this.uint32[sr+10]=qn,this.int16[er+22]=Zn,J},V}(Ji);Ze.prototype.bytesPerElement=48,Dr("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ze);var at=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,$t,hn,Mn,Nn,Bn,qn,Zn,er,sr,hr,Or,Tr,Nr,Zr,fi,Jr,ci){var ri=this.length;return this.resize(ri+1),this.emplace(ri,J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,$t,hn,Mn,Nn,Bn,qn,Zn,er,sr,hr,Or,Tr,Nr,Zr,fi,Jr,ci)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,$t,hn,Mn,Nn,Bn,qn,Zn,er,sr,hr,Or,Tr,Nr,Zr,fi,Jr,ci,ri){var Kr=34*J,Di=17*J;return this.int16[Kr+0]=fe,this.int16[Kr+1]=Ae,this.int16[Kr+2]=Re,this.int16[Kr+3]=Ge,this.int16[Kr+4]=it,this.int16[Kr+5]=pt,this.int16[Kr+6]=Ct,this.int16[Kr+7]=Dt,this.uint16[Kr+8]=Gt,this.uint16[Kr+9]=Zt,this.uint16[Kr+10]=$t,this.uint16[Kr+11]=hn,this.uint16[Kr+12]=Mn,this.uint16[Kr+13]=Nn,this.uint16[Kr+14]=Bn,this.uint16[Kr+15]=qn,this.uint16[Kr+16]=Zn,this.uint16[Kr+17]=er,this.uint16[Kr+18]=sr,this.uint16[Kr+19]=hr,this.uint16[Kr+20]=Or,this.uint16[Kr+21]=Tr,this.uint16[Kr+22]=Nr,this.uint32[Di+12]=Zr,this.float32[Di+13]=fi,this.float32[Di+14]=Jr,this.float32[Di+15]=ci,this.float32[Di+16]=ri,J},V}(Ji);at.prototype.bytesPerElement=68,Dr("StructArrayLayout8i15ui1ul4f68",at);var Tt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.float32[Ae+0]=fe,J},V}(Ji);Tt.prototype.bytesPerElement=4,Dr("StructArrayLayout1f4",Tt);var At=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var Re=this.length;return this.resize(Re+1),this.emplace(Re,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,Re){var Ge=3*J;return this.int16[Ge+0]=fe,this.int16[Ge+1]=Ae,this.int16[Ge+2]=Re,J},V}(Ji);At.prototype.bytesPerElement=6,Dr("StructArrayLayout3i6",At);var se=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var Re=this.length;return this.resize(Re+1),this.emplace(Re,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,Re){var Ge=2*J,it=4*J;return this.uint32[Ge+0]=fe,this.uint16[it+2]=Ae,this.uint16[it+3]=Re,J},V}(Ji);se.prototype.bytesPerElement=8,Dr("StructArrayLayout1ul2ui8",se);var ve=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var Re=2*J;return this.uint16[Re+0]=fe,this.uint16[Re+1]=Ae,J},V}(Ji);ve.prototype.bytesPerElement=4,Dr("StructArrayLayout2ui4",ve);var Ie=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.uint16[Ae+0]=fe,J},V}(Ji);Ie.prototype.bytesPerElement=2,Dr("StructArrayLayout1ui2",Ie);var Fe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var Re=2*J;return this.float32[Re+0]=fe,this.float32[Re+1]=Ae,J},V}(Ji);Fe.prototype.bytesPerElement=8,Dr("StructArrayLayout2f8",Fe);var Ue=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,Re)},V.prototype.emplace=function(J,fe,Ae,Re,Ge){var it=4*J;return this.float32[it+0]=fe,this.float32[it+1]=Ae,this.float32[it+2]=Re,this.float32[it+3]=Ge,J},V}(Ji);Ue.prototype.bytesPerElement=16,Dr("StructArrayLayout4f16",Ue);var qe=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return J.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},J.x1.get=function(){return this._structArray.int16[this._pos2+2]},J.y1.get=function(){return this._structArray.int16[this._pos2+3]},J.x2.get=function(){return this._structArray.int16[this._pos2+4]},J.y2.get=function(){return this._structArray.int16[this._pos2+5]},J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.anchorPoint.get=function(){return new a(this.anchorPointX,this.anchorPointY)},Object.defineProperties(V.prototype,J),V}(hl);qe.prototype.size=20;var Xe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new qe(this,J)},V}(K);Dr("CollisionBoxArray",Xe);var tt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},J.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},J.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},J.segment.get=function(){return this._structArray.uint16[this._pos2+10]},J.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},J.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},J.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},J.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},J.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},J.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},J.placedOrientation.set=function(fe){this._structArray.uint8[this._pos1+37]=fe},J.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},J.hidden.set=function(fe){this._structArray.uint8[this._pos1+38]=fe},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},J.crossTileID.set=function(fe){this._structArray.uint32[this._pos4+10]=fe},J.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(V.prototype,J),V}(hl);tt.prototype.size=48;var lt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new tt(this,J)},V}(Ze);Dr("PlacedSymbolArray",lt);var mt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},J.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},J.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},J.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},J.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},J.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},J.key.get=function(){return this._structArray.uint16[this._pos2+8]},J.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},J.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},J.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},J.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},J.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},J.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},J.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},J.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},J.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},J.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},J.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},J.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},J.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},J.crossTileID.set=function(fe){this._structArray.uint32[this._pos4+12]=fe},J.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},J.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},J.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},J.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(V.prototype,J),V}(hl);mt.prototype.size=68;var zt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new mt(this,J)},V}(at);Dr("SymbolInstanceArray",zt);var Ut=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getoffsetX=function(J){return this.float32[1*J+0]},V}(Tt);Dr("GlyphOffsetArray",Ut);var Ht=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getx=function(J){return this.int16[3*J+0]},V.prototype.gety=function(J){return this.int16[3*J+1]},V.prototype.gettileUnitDistanceFromAnchor=function(J){return this.int16[3*J+2]},V}(At);Dr("SymbolLineVertexArray",Ht);var en=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(V.prototype,J),V}(hl);en.prototype.size=8;var vn=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new en(this,J)},V}(se);Dr("FeatureIndexArray",vn);var tn=la([{name:"a_pos",components:2,type:"Int16"}],4).members,ln=function(P){P===void 0&&(P=[]),this.segments=P};function an(P,V){return 256*(P=f(Math.floor(P),0,255))+f(Math.floor(V),0,255)}ln.prototype.prepareSegment=function(P,V,J,fe){var Ae=this.segments[this.segments.length-1];return P>ln.MAX_VERTEX_ARRAY_LENGTH&&O("Max vertices per segment is "+ln.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+P),(!Ae||Ae.vertexLength+P>ln.MAX_VERTEX_ARRAY_LENGTH||Ae.sortKey!==fe)&&(Ae={vertexOffset:V.length,primitiveOffset:J.length,vertexLength:0,primitiveLength:0},fe!==void 0&&(Ae.sortKey=fe),this.segments.push(Ae)),Ae},ln.prototype.get=function(){return this.segments},ln.prototype.destroy=function(){for(var P=0,V=this.segments;P>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295)<<13|Re>>>19))+((5*(Re>>>16)&65535)<<16)&4294967295))+((58964+(Ge>>>16)&65535)<<16);switch(Ct=0,fe){case 3:Ct^=(255&V.charCodeAt(Dt+2))<<16;case 2:Ct^=(255&V.charCodeAt(Dt+1))<<8;case 1:Re^=Ct=(65535&(Ct=(Ct=(65535&(Ct^=255&V.charCodeAt(Dt)))*it+(((Ct>>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295}return Re^=V.length,Re=2246822507*(65535&(Re^=Re>>>16))+((2246822507*(Re>>>16)&65535)<<16)&4294967295,Re=3266489909*(65535&(Re^=Re>>>13))+((3266489909*(Re>>>16)&65535)<<16)&4294967295,(Re^=Re>>>16)>>>0}}),on=M(function(P){P.exports=function(V,J){for(var fe,Ae=V.length,Re=J^Ae,Ge=0;Ae>=4;)fe=1540483477*(65535&(fe=255&V.charCodeAt(Ge)|(255&V.charCodeAt(++Ge))<<8|(255&V.charCodeAt(++Ge))<<16|(255&V.charCodeAt(++Ge))<<24))+((1540483477*(fe>>>16)&65535)<<16),Re=1540483477*(65535&Re)+((1540483477*(Re>>>16)&65535)<<16)^(fe=1540483477*(65535&(fe^=fe>>>24))+((1540483477*(fe>>>16)&65535)<<16)),Ae-=4,++Ge;switch(Ae){case 3:Re^=(255&V.charCodeAt(Ge+2))<<16;case 2:Re^=(255&V.charCodeAt(Ge+1))<<8;case 1:Re=1540483477*(65535&(Re^=255&V.charCodeAt(Ge)))+((1540483477*(Re>>>16)&65535)<<16)}return Re=1540483477*(65535&(Re^=Re>>>13))+((1540483477*(Re>>>16)&65535)<<16),(Re^=Re>>>15)>>>0}}),Fn=_n,Hn=_n,ir=on;Fn.murmur3=Hn,Fn.murmur2=ir;var ar=function(){this.ids=[],this.positions=[],this.indexed=!1};ar.prototype.add=function(P,V,J,fe){this.ids.push(Er(P)),this.positions.push(V,J,fe)},ar.prototype.getPositions=function(P){for(var V=Er(P),J=0,fe=this.ids.length-1;J>1;this.ids[Ae]>=V?fe=Ae:J=Ae+1}for(var Re=[];this.ids[J]===V;){var Ge=this.positions[3*J],it=this.positions[3*J+1],pt=this.positions[3*J+2];Re.push({index:Ge,start:it,end:pt}),J++}return Re},ar.serialize=function(P,V){var J=new Float64Array(P.ids),fe=new Uint32Array(P.positions);return xr(J,fe,0,J.length-1),V&&V.push(J.buffer,fe.buffer),{ids:J,positions:fe}},ar.deserialize=function(P){var V=new ar;return V.ids=P.ids,V.positions=P.positions,V.indexed=!0,V};var Mr=Math.pow(2,53)-1;function Er(P){var V=+P;return!isNaN(V)&&V<=Mr?V:Fn(String(P))}function xr(P,V,J,fe){for(;J>1],Re=J-1,Ge=fe+1;;){do Re++;while(P[Re]Ae);if(Re>=Ge)break;kr(P,Re,Ge),kr(V,3*Re,3*Ge),kr(V,3*Re+1,3*Ge+1),kr(V,3*Re+2,3*Ge+2)}Ge-J_o.max||Ge.y<_o.min||Ge.y>_o.max)&&(O("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Ge.x=f(Ge.x,_o.min,_o.max),Ge.y=f(Ge.y,_o.min,_o.max))}return J}function Ps(P,V,J,fe,Ae){P.emplaceBack(2*V+(fe+1)/2,2*J+(Ae+1)/2)}var Oi=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new et,this.indexArray=new He,this.segments=new ln,this.programConfigurations=new Ia(tn,P.layers,P.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function Xa(P,V){for(var J=0;J1){if(L0(P,V))return!0;for(var fe=0;fe1?P.distSqr(J):P.distSqr(J.sub(V)._mult(Ae)._add(V))}function od(P,V){for(var J,fe,Ae,Re=!1,Ge=0;GeV.y!=Ae.y>V.y&&V.x<(Ae.x-fe.x)*(V.y-fe.y)/(Ae.y-fe.y)+fe.x&&(Re=!Re);return Re}function wh(P,V){for(var J=!1,fe=0,Ae=P.length-1;feV.y!=Ge.y>V.y&&V.x<(Ge.x-Re.x)*(V.y-Re.y)/(Ge.y-Re.y)+Re.x&&(J=!J)}return J}function p1(P,V,J){var fe=J[0],Ae=J[2];if(P.xAe.x&&V.x>Ae.x||P.yAe.y&&V.y>Ae.y)return!1;var Re=I(P,V,J[0]);return Re!==I(P,V,J[1])||Re!==I(P,V,J[2])||Re!==I(P,V,J[3])}function Ff(P,V,J){var fe=V.paint.get(P).value;return fe.kind==="constant"?fe.value:J.programConfigurations.get(V.id).getMaxValue(P)}function dg(P){return Math.sqrt(P[0]*P[0]+P[1]*P[1])}function pg(P,V,J,fe,Ae){if(!V[0]&&!V[1])return P;var Re=a.convert(V)._mult(Ae);J==="viewport"&&Re._rotate(-fe);for(var Ge=[],it=0;it=ui||Dt<0||Dt>=ui)){var Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,P.sortKey),Zt=Gt.vertexLength;Ps(this.layoutVertexArray,Ct,Dt,-1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,1),Ps(this.layoutVertexArray,Ct,Dt,-1,1),this.indexArray.emplaceBack(Zt,Zt+1,Zt+2),this.indexArray.emplaceBack(Zt,Zt+3,Zt+2),Gt.vertexLength+=4,Gt.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,P,J,{},fe)},Dr("CircleBucket",Oi,{omit:["layers"]});var _S=new xo({"circle-sort-key":new ni(Oe.layout_circle["circle-sort-key"])}),wS={paint:new xo({"circle-radius":new ni(Oe.paint_circle["circle-radius"]),"circle-color":new ni(Oe.paint_circle["circle-color"]),"circle-blur":new ni(Oe.paint_circle["circle-blur"]),"circle-opacity":new ni(Oe.paint_circle["circle-opacity"]),"circle-translate":new Hr(Oe.paint_circle["circle-translate"]),"circle-translate-anchor":new Hr(Oe.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Hr(Oe.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Hr(Oe.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new ni(Oe.paint_circle["circle-stroke-width"]),"circle-stroke-color":new ni(Oe.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new ni(Oe.paint_circle["circle-stroke-opacity"])}),layout:_S},Fl=typeof Float32Array<"u"?Float32Array:Array;function m1(P){return P[0]=1,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=1,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=1,P[11]=0,P[12]=0,P[13]=0,P[14]=0,P[15]=1,P}function L_(P,V,J){var fe=V[0],Ae=V[1],Re=V[2],Ge=V[3],it=V[4],pt=V[5],Ct=V[6],Dt=V[7],Gt=V[8],Zt=V[9],$t=V[10],hn=V[11],Mn=V[12],Nn=V[13],Bn=V[14],qn=V[15],Zn=J[0],er=J[1],sr=J[2],hr=J[3];return P[0]=Zn*fe+er*it+sr*Gt+hr*Mn,P[1]=Zn*Ae+er*pt+sr*Zt+hr*Nn,P[2]=Zn*Re+er*Ct+sr*$t+hr*Bn,P[3]=Zn*Ge+er*Dt+sr*hn+hr*qn,Zn=J[4],er=J[5],sr=J[6],hr=J[7],P[4]=Zn*fe+er*it+sr*Gt+hr*Mn,P[5]=Zn*Ae+er*pt+sr*Zt+hr*Nn,P[6]=Zn*Re+er*Ct+sr*$t+hr*Bn,P[7]=Zn*Ge+er*Dt+sr*hn+hr*qn,Zn=J[8],er=J[9],sr=J[10],hr=J[11],P[8]=Zn*fe+er*it+sr*Gt+hr*Mn,P[9]=Zn*Ae+er*pt+sr*Zt+hr*Nn,P[10]=Zn*Re+er*Ct+sr*$t+hr*Bn,P[11]=Zn*Ge+er*Dt+sr*hn+hr*qn,Zn=J[12],er=J[13],sr=J[14],hr=J[15],P[12]=Zn*fe+er*it+sr*Gt+hr*Mn,P[13]=Zn*Ae+er*pt+sr*Zt+hr*Nn,P[14]=Zn*Re+er*Ct+sr*$t+hr*Bn,P[15]=Zn*Ge+er*Dt+sr*hn+hr*qn,P}Math.hypot||(Math.hypot=function(){for(var P=arguments,V=0,J=arguments.length;J--;)V+=P[J]*P[J];return Math.sqrt(V)});var TS=L_,mg,kS=function(P,V,J){return P[0]=V[0]-J[0],P[1]=V[1]-J[1],P[2]=V[2]-J[2],P};function gg(P,V,J){var fe=V[0],Ae=V[1],Re=V[2],Ge=V[3];return P[0]=J[0]*fe+J[4]*Ae+J[8]*Re+J[12]*Ge,P[1]=J[1]*fe+J[5]*Ae+J[9]*Re+J[13]*Ge,P[2]=J[2]*fe+J[6]*Ae+J[10]*Re+J[14]*Ge,P[3]=J[3]*fe+J[7]*Ae+J[11]*Re+J[15]*Ge,P}mg=new Fl(3),Fl!=Float32Array&&(mg[0]=0,mg[1]=0,mg[2]=0),function(){var P=new Fl(4);Fl!=Float32Array&&(P[0]=0,P[1]=0,P[2]=0,P[3]=0)}();var MS=function(P){var V=P[0],J=P[1];return V*V+J*J},AS=(function(){var P=new Fl(2);Fl!=Float32Array&&(P[0]=0,P[1]=0)}(),function(P){function V(J){P.call(this,J,wS)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.createBucket=function(J){return new Oi(J)},V.prototype.queryRadius=function(J){var fe=J;return Ff("circle-radius",this,fe)+Ff("circle-stroke-width",this,fe)+dg(this.paint.get("circle-translate"))},V.prototype.queryIntersectsFeature=function(J,fe,Ae,Re,Ge,it,pt,Ct){for(var Dt=pg(J,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),it.angle,pt),Gt=this.paint.get("circle-radius").evaluate(fe,Ae)+this.paint.get("circle-stroke-width").evaluate(fe,Ae),Zt=this.paint.get("circle-pitch-alignment")==="map",$t=Zt?Dt:function(Or,Tr){return Or.map(function(Nr){return I_(Nr,Tr)})}(Dt,Ct),hn=Zt?Gt*pt:Gt,Mn=0,Nn=Re;MnP.width||Ae.height>P.height||J.x>P.width-Ae.width||J.y>P.height-Ae.height)throw new RangeError("out of range source coordinates for image copy");if(Ae.width>V.width||Ae.height>V.height||fe.x>V.width-Ae.width||fe.y>V.height-Ae.height)throw new RangeError("out of range destination coordinates for image copy");for(var Ge=P.data,it=V.data,pt=0;pt80*J){fe=Re=P[0],Ae=Ge=P[1];for(var hn=J;hnRe&&(Re=it),pt>Ge&&(Ge=pt);Ct=(Ct=Math.max(Re-fe,Ge-Ae))!==0?1/Ct:0}return I0(Zt,$t,J,fe,Ae,Ct),$t}function z_(P,V,J,fe,Ae){var Re,Ge;if(Ae===_1(P,V,J,fe)>0)for(Re=V;Re=V;Re-=fe)Ge=N_(Re,P[Re],P[Re+1],Ge);return Ge&&yg(Ge,Ge.next)&&(P0(Ge),Ge=Ge.next),Ge}function Th(P,V){if(!P)return P;V||(V=P);var J,fe=P;do if(J=!1,fe.steiner||!yg(fe,fe.next)&&wo(fe.prev,fe,fe.next)!==0)fe=fe.next;else{if(P0(fe),(fe=V=fe.prev)===fe.next)break;J=!0}while(J||fe!==V);return V}function I0(P,V,J,fe,Ae,Re,Ge){if(P){!Ge&&Re&&function(Dt,Gt,Zt,$t){var hn=Dt;do hn.z===null&&(hn.z=b1(hn.x,hn.y,Gt,Zt,$t)),hn.prevZ=hn.prev,hn.nextZ=hn.next,hn=hn.next;while(hn!==Dt);hn.prevZ.nextZ=null,hn.prevZ=null,function(Mn){var Nn,Bn,qn,Zn,er,sr,hr,Or,Tr=1;do{for(Bn=Mn,Mn=null,er=null,sr=0;Bn;){for(sr++,qn=Bn,hr=0,Nn=0;Nn0||Or>0&&qn;)hr!==0&&(Or===0||!qn||Bn.z<=qn.z)?(Zn=Bn,Bn=Bn.nextZ,hr--):(Zn=qn,qn=qn.nextZ,Or--),er?er.nextZ=Zn:Mn=Zn,Zn.prevZ=er,er=Zn;Bn=qn}er.nextZ=null,Tr*=2}while(sr>1)}(hn)}(P,fe,Ae,Re);for(var it,pt,Ct=P;P.prev!==P.next;)if(it=P.prev,pt=P.next,Re?PS(P,fe,Ae,Re):OS(P))V.push(it.i/J),V.push(P.i/J),V.push(pt.i/J),P0(P),P=pt.next,Ct=pt.next;else if((P=pt)===Ct){Ge?Ge===1?I0(P=RS(Th(P),V,J),V,J,fe,Ae,Re,2):Ge===2&&DS(P,V,J,fe,Ae,Re):I0(Th(P),V,J,fe,Ae,Re,1);break}}}function OS(P){var V=P.prev,J=P,fe=P.next;if(wo(V,J,fe)>=0)return!1;for(var Ae=P.next.next;Ae!==P.prev;){if(ap(V.x,V.y,J.x,J.y,fe.x,fe.y,Ae.x,Ae.y)&&wo(Ae.prev,Ae,Ae.next)>=0)return!1;Ae=Ae.next}return!0}function PS(P,V,J,fe){var Ae=P.prev,Re=P,Ge=P.next;if(wo(Ae,Re,Ge)>=0)return!1;for(var it=Ae.xRe.x?Ae.x>Ge.x?Ae.x:Ge.x:Re.x>Ge.x?Re.x:Ge.x,Dt=Ae.y>Re.y?Ae.y>Ge.y?Ae.y:Ge.y:Re.y>Ge.y?Re.y:Ge.y,Gt=b1(it,pt,V,J,fe),Zt=b1(Ct,Dt,V,J,fe),$t=P.prevZ,hn=P.nextZ;$t&&$t.z>=Gt&&hn&&hn.z<=Zt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Re.x,Re.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0||($t=$t.prevZ,hn!==P.prev&&hn!==P.next&&ap(Ae.x,Ae.y,Re.x,Re.y,Ge.x,Ge.y,hn.x,hn.y)&&wo(hn.prev,hn,hn.next)>=0))return!1;hn=hn.nextZ}for(;$t&&$t.z>=Gt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Re.x,Re.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0)return!1;$t=$t.prevZ}for(;hn&&hn.z<=Zt;){if(hn!==P.prev&&hn!==P.next&&ap(Ae.x,Ae.y,Re.x,Re.y,Ge.x,Ge.y,hn.x,hn.y)&&wo(hn.prev,hn,hn.next)>=0)return!1;hn=hn.nextZ}return!0}function RS(P,V,J){var fe=P;do{var Ae=fe.prev,Re=fe.next.next;!yg(Ae,Re)&&F_(Ae,fe,fe.next,Re)&&O0(Ae,Re)&&O0(Re,Ae)&&(V.push(Ae.i/J),V.push(fe.i/J),V.push(Re.i/J),P0(fe),P0(fe.next),fe=P=Re),fe=fe.next}while(fe!==P);return Th(fe)}function DS(P,V,J,fe,Ae,Re){var Ge=P;do{for(var it=Ge.next.next;it!==Ge.prev;){if(Ge.i!==it.i&&VS(Ge,it)){var pt=B_(Ge,it);return Ge=Th(Ge,Ge.next),pt=Th(pt,pt.next),I0(Ge,V,J,fe,Ae,Re),void I0(pt,V,J,fe,Ae,Re)}it=it.next}Ge=Ge.next}while(Ge!==P)}function zS(P,V){return P.x-V.x}function FS(P,V){if(V=function(fe,Ae){var Re,Ge=Ae,it=fe.x,pt=fe.y,Ct=-1/0;do{if(pt<=Ge.y&&pt>=Ge.next.y&&Ge.next.y!==Ge.y){var Dt=Ge.x+(pt-Ge.y)*(Ge.next.x-Ge.x)/(Ge.next.y-Ge.y);if(Dt<=it&&Dt>Ct){if(Ct=Dt,Dt===it){if(pt===Ge.y)return Ge;if(pt===Ge.next.y)return Ge.next}Re=Ge.x=Ge.x&&Ge.x>=$t&&it!==Ge.x&&ap(ptRe.x||Ge.x===Re.x&&BS(Re,Ge)))&&(Re=Ge,Mn=Gt)),Ge=Ge.next;while(Ge!==Zt);return Re}(P,V)){var J=B_(V,P);Th(V,V.next),Th(J,J.next)}}function BS(P,V){return wo(P.prev,P,V.prev)<0&&wo(V.next,P,P.next)<0}function b1(P,V,J,fe,Ae){return(P=1431655765&((P=858993459&((P=252645135&((P=16711935&((P=32767*(P-J)*Ae)|P<<8))|P<<4))|P<<2))|P<<1))|(V=1431655765&((V=858993459&((V=252645135&((V=16711935&((V=32767*(V-fe)*Ae)|V<<8))|V<<4))|V<<2))|V<<1))<<1}function NS(P){var V=P,J=P;do(V.x=0&&(P-Ge)*(fe-it)-(J-Ge)*(V-it)>=0&&(J-Ge)*(Re-it)-(Ae-Ge)*(fe-it)>=0}function VS(P,V){return P.next.i!==V.i&&P.prev.i!==V.i&&!function(J,fe){var Ae=J;do{if(Ae.i!==J.i&&Ae.next.i!==J.i&&Ae.i!==fe.i&&Ae.next.i!==fe.i&&F_(Ae,Ae.next,J,fe))return!0;Ae=Ae.next}while(Ae!==J);return!1}(P,V)&&(O0(P,V)&&O0(V,P)&&function(J,fe){var Ae=J,Re=!1,Ge=(J.x+fe.x)/2,it=(J.y+fe.y)/2;do Ae.y>it!=Ae.next.y>it&&Ae.next.y!==Ae.y&&Ge<(Ae.next.x-Ae.x)*(it-Ae.y)/(Ae.next.y-Ae.y)+Ae.x&&(Re=!Re),Ae=Ae.next;while(Ae!==J);return Re}(P,V)&&(wo(P.prev,P,V.prev)||wo(P,V.prev,V))||yg(P,V)&&wo(P.prev,P,P.next)>0&&wo(V.prev,V,V.next)>0)}function wo(P,V,J){return(V.y-P.y)*(J.x-V.x)-(V.x-P.x)*(J.y-V.y)}function yg(P,V){return P.x===V.x&&P.y===V.y}function F_(P,V,J,fe){var Ae=xg(wo(P,V,J)),Re=xg(wo(P,V,fe)),Ge=xg(wo(J,fe,P)),it=xg(wo(J,fe,V));return Ae!==Re&&Ge!==it||!(Ae!==0||!bg(P,J,V))||!(Re!==0||!bg(P,fe,V))||!(Ge!==0||!bg(J,P,fe))||!(it!==0||!bg(J,V,fe))}function bg(P,V,J){return V.x<=Math.max(P.x,J.x)&&V.x>=Math.min(P.x,J.x)&&V.y<=Math.max(P.y,J.y)&&V.y>=Math.min(P.y,J.y)}function xg(P){return P>0?1:P<0?-1:0}function O0(P,V){return wo(P.prev,P,P.next)<0?wo(P,V,P.next)>=0&&wo(P,P.prev,V)>=0:wo(P,V,P.prev)<0||wo(P,P.next,V)<0}function B_(P,V){var J=new x1(P.i,P.x,P.y),fe=new x1(V.i,V.x,V.y),Ae=P.next,Re=V.prev;return P.next=V,V.prev=P,J.next=Ae,Ae.prev=J,fe.next=J,J.prev=fe,Re.next=fe,fe.prev=Re,fe}function N_(P,V,J,fe){var Ae=new x1(P,V,J);return fe?(Ae.next=fe.next,Ae.prev=fe,fe.next.prev=Ae,fe.next=Ae):(Ae.prev=Ae,Ae.next=Ae),Ae}function P0(P){P.next.prev=P.prev,P.prev.next=P.next,P.prevZ&&(P.prevZ.nextZ=P.nextZ),P.nextZ&&(P.nextZ.prevZ=P.prevZ)}function x1(P,V,J){this.i=P,this.x=V,this.y=J,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function _1(P,V,J,fe){for(var Ae=0,Re=V,Ge=J-fe;ReJ;){if(fe-J>600){var Re=fe-J+1,Ge=V-J+1,it=Math.log(Re),pt=.5*Math.exp(2*it/3),Ct=.5*Math.sqrt(it*pt*(Re-pt)/Re)*(Ge-Re/2<0?-1:1);V_(P,V,Math.max(J,Math.floor(V-Ge*pt/Re+Ct)),Math.min(fe,Math.floor(V+(Re-Ge)*pt/Re+Ct)),Ae)}var Dt=P[V],Gt=J,Zt=fe;for(R0(P,J,V),Ae(P[fe],Dt)>0&&R0(P,J,fe);Gt0;)Zt--}Ae(P[J],Dt)===0?R0(P,J,Zt):R0(P,++Zt,fe),Zt<=V&&(J=Zt+1),V<=Zt&&(fe=Zt-1)}}function R0(P,V,J){var fe=P[V];P[V]=P[J],P[J]=fe}function US(P,V){return PV?1:0}function w1(P,V){var J=P.length;if(J<=1)return[P];for(var fe,Ae,Re=[],Ge=0;Ge1)for(var pt=0;pt0&&(fe+=P[Ae-1].length,J.holes.push(fe))}return J},y1.default=IS;var wc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new et,this.indexArray=new He,this.indexArray2=new ve,this.programConfigurations=new Ia(D_,P.layers,P.zoom),this.segments=new ln,this.segments2=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};wc.prototype.populate=function(P,V,J){this.hasPattern=T1("fill",this.layers,V);for(var fe=this.layers[0].layout.get("fill-sort-key"),Ae=[],Re=0,Ge=P;Re>3}if(Ae--,fe===1||fe===2)Re+=P.readSVarint(),Ge+=P.readSVarint(),fe===1&&(V&&it.push(V),V=[]),V.push(new a(Re,Ge));else{if(fe!==7)throw new Error("unknown command "+fe);V&&V.push(V[0].clone())}}return V&&it.push(V),it},op.prototype.bbox=function(){var P=this._pbf;P.pos=this._geometry;for(var V=P.readVarint()+P.pos,J=1,fe=0,Ae=0,Re=0,Ge=1/0,it=-1/0,pt=1/0,Ct=-1/0;P.pos>3}if(fe--,J===1||J===2)(Ae+=P.readSVarint())it&&(it=Ae),(Re+=P.readSVarint())Ct&&(Ct=Re);else if(J!==7)throw new Error("unknown command "+J)}return[Ge,pt,it,Ct]},op.prototype.toGeoJSON=function(P,V,J){var fe,Ae,Re=this.extent*Math.pow(2,J),Ge=this.extent*P,it=this.extent*V,pt=this.loadGeometry(),Ct=op.types[this.type];function Dt($t){for(var hn=0;hn<$t.length;hn++){var Mn=$t[hn],Nn=180-360*(Mn.y+it)/Re;$t[hn]=[360*(Mn.x+Ge)/Re-180,360/Math.PI*Math.atan(Math.exp(Nn*Math.PI/180))-90]}}switch(this.type){case 1:var Gt=[];for(fe=0;fe>3;Ae=Ge===1?fe.readString():Ge===2?fe.readFloat():Ge===3?fe.readDouble():Ge===4?fe.readVarint64():Ge===5?fe.readVarint():Ge===6?fe.readSVarint():Ge===7?fe.readBoolean():null}return Ae}(J))}function XS(P,V,J){if(P===3){var fe=new H_(J,J.readVarint()+J.pos);fe.length&&(V[fe.name]=fe)}}G_.prototype.feature=function(P){if(P<0||P>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[P];var V=this._pbf.readVarint()+this._pbf.pos;return new U_(this._pbf,V,this.extent,this._keys,this._values)};var sp={VectorTile:function(P,V){this.layers=P.readFields(XS,{},V)},VectorTileFeature:U_,VectorTileLayer:H_},KS=sp.VectorTileFeature.types,M1=Math.pow(2,13);function D0(P,V,J,fe,Ae,Re,Ge,it){P.emplaceBack(V,J,2*Math.floor(fe*M1)+Ge,Ae*M1*2,Re*M1*2,Math.round(it))}var Tc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new ct,this.indexArray=new He,this.programConfigurations=new Ia(j_,P.layers,P.zoom),this.segments=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function JS(P,V){return P.x===V.x&&(P.x<0||P.x>ui)||P.y===V.y&&(P.y<0||P.y>ui)}Tc.prototype.populate=function(P,V,J){this.features=[],this.hasPattern=T1("fill-extrusion",this.layers,V);for(var fe=0,Ae=P;feui})||Di.every(function(pi){return pi.y<0})||Di.every(function(pi){return pi.y>ui})))for(var Mn=0,Nn=0;Nn=1){var qn=hn[Nn-1];if(!JS(Bn,qn)){Gt.vertexLength+4>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Zn=Bn.sub(qn)._perp()._unit(),er=qn.dist(Bn);Mn+er>32768&&(Mn=0),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,1,Mn),Mn+=er,D0(this.layoutVertexArray,qn.x,qn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,qn.x,qn.y,Zn.x,Zn.y,0,1,Mn);var sr=Gt.vertexLength;this.indexArray.emplaceBack(sr,sr+2,sr+1),this.indexArray.emplaceBack(sr+1,sr+2,sr+3),Gt.vertexLength+=4,Gt.primitiveLength+=2}}}}if(Gt.vertexLength+pt>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(pt,this.layoutVertexArray,this.indexArray)),KS[P.type]==="Polygon"){for(var hr=[],Or=[],Tr=Gt.vertexLength,Nr=0,Zr=it;Nr=2&&P[pt-1].equals(P[pt-2]);)pt--;for(var Ct=0;Ct0;if(Or&&Bn>Ct){var Nr=Dt.dist($t);if(Nr>2*Gt){var Zr=Dt.sub(Dt.sub($t)._mult(Gt/Nr)._round());this.updateDistance($t,Zr),this.addCurrentVertex(Zr,Mn,0,0,Zt),$t=Zr}}var fi=$t&&hn,Jr=fi?J:it?"butt":fe;if(fi&&Jr==="round"&&(srAe&&(Jr="bevel"),Jr==="bevel"&&(sr>2&&(Jr="flipbevel"),sr100)qn=Nn.mult(-1);else{var ci=sr*Mn.add(Nn).mag()/Mn.sub(Nn).mag();qn._perp()._mult(ci*(Tr?-1:1))}this.addCurrentVertex(Dt,qn,0,0,Zt),this.addCurrentVertex(Dt,qn.mult(-1),0,0,Zt)}else if(Jr==="bevel"||Jr==="fakeround"){var ri=-Math.sqrt(sr*sr-1),Kr=Tr?ri:0,Di=Tr?0:ri;if($t&&this.addCurrentVertex(Dt,Mn,Kr,Di,Zt),Jr==="fakeround")for(var pi=Math.round(180*hr/Math.PI/20),va=1;va2*Gt){var ya=Dt.add(hn.sub(Dt)._mult(Gt/Pa)._round());this.updateDistance(Dt,ya),this.addCurrentVertex(ya,Nn,0,0,Zt),Dt=ya}}}}},Ys.prototype.addCurrentVertex=function(P,V,J,fe,Ae,Re){Re===void 0&&(Re=!1);var Ge=V.x+V.y*J,it=V.y-V.x*J,pt=-V.x+V.y*fe,Ct=-V.y-V.x*fe;this.addHalfVertex(P,Ge,it,Re,!1,J,Ae),this.addHalfVertex(P,pt,Ct,Re,!0,-fe,Ae),this.distance>Y_/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(P,V,J,fe,Ae,Re))},Ys.prototype.addHalfVertex=function(P,V,J,fe,Ae,Re,Ge){var it=P.x,pt=P.y,Ct=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((it<<1)+(fe?1:0),(pt<<1)+(Ae?1:0),Math.round(63*V)+128,Math.round(63*J)+128,1+(Re===0?0:Re<0?-1:1)|(63&Ct)<<2,Ct>>6);var Dt=Ge.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,Dt),Ge.primitiveLength++),Ae?this.e2=Dt:this.e1=Dt},Ys.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(Y_-1):this.distance},Ys.prototype.updateDistance=function(P,V){this.distance+=P.dist(V),this.updateScaledDistance()},Dr("LineBucket",Ys,{omit:["layers","patternFeatures"]});var rC=new xo({"line-cap":new Hr(Oe.layout_line["line-cap"]),"line-join":new ni(Oe.layout_line["line-join"]),"line-miter-limit":new Hr(Oe.layout_line["line-miter-limit"]),"line-round-limit":new Hr(Oe.layout_line["line-round-limit"]),"line-sort-key":new ni(Oe.layout_line["line-sort-key"])}),$_={paint:new xo({"line-opacity":new ni(Oe.paint_line["line-opacity"]),"line-color":new ni(Oe.paint_line["line-color"]),"line-translate":new Hr(Oe.paint_line["line-translate"]),"line-translate-anchor":new Hr(Oe.paint_line["line-translate-anchor"]),"line-width":new ni(Oe.paint_line["line-width"]),"line-gap-width":new ni(Oe.paint_line["line-gap-width"]),"line-offset":new ni(Oe.paint_line["line-offset"]),"line-blur":new ni(Oe.paint_line["line-blur"]),"line-dasharray":new fl(Oe.paint_line["line-dasharray"]),"line-pattern":new Vu(Oe.paint_line["line-pattern"]),"line-gradient":new Os(Oe.paint_line["line-gradient"])}),layout:rC},iC=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.possiblyEvaluate=function(J,fe){return fe=new qi(Math.floor(fe.zoom),{now:fe.now,fadeDuration:fe.fadeDuration,zoomHistory:fe.zoomHistory,transition:fe.transition}),P.prototype.possiblyEvaluate.call(this,J,fe)},V.prototype.evaluate=function(J,fe,Ae,Re){return fe=p({},fe,{zoom:Math.floor(fe.zoom)}),P.prototype.evaluate.call(this,J,fe,Ae,Re)},V}(ni),Z_=new iC($_.paint.properties["line-width"].specification);Z_.useIntegerZoom=!0;var aC=function(P){function V(J){P.call(this,J,$_)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._handleSpecialPaintPropertyUpdate=function(J){J==="line-gradient"&&this._updateGradient()},V.prototype._updateGradient=function(){var J=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=R_(J,"lineProgress"),this.gradientTexture=null},V.prototype.recalculate=function(J,fe){P.prototype.recalculate.call(this,J,fe),this.paint._values["line-floorwidth"]=Z_.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,J)},V.prototype.createBucket=function(J){return new Ys(J)},V.prototype.queryRadius=function(J){var fe=J,Ae=X_(Ff("line-width",this,fe),Ff("line-gap-width",this,fe)),Re=Ff("line-offset",this,fe);return Ae/2+Math.abs(Re)+dg(this.paint.get("line-translate"))},V.prototype.queryIntersectsFeature=function(J,fe,Ae,Re,Ge,it,pt){var Ct=pg(J,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),it.angle,pt),Dt=pt/2*X_(this.paint.get("line-width").evaluate(fe,Ae),this.paint.get("line-gap-width").evaluate(fe,Ae)),Gt=this.paint.get("line-offset").evaluate(fe,Ae);return Gt&&(Re=function(Zt,$t){for(var hn=[],Mn=new a(0,0),Nn=0;Nn=3){for(var Bn=0;Bn0?V+2*P:P}var A1=la([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),oC=la([{name:"a_projected_pos",components:3,type:"Float32"}],4),sC=(la([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),la([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),K_=(la([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),la([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),lC=la([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function uC(P,V,J){return P.sections.forEach(function(fe){fe.text=function(Ae,Re,Ge){var it=Re.layout.get("text-transform").evaluate(Ge,{});return it==="uppercase"?Ae=Ae.toLocaleUpperCase():it==="lowercase"&&(Ae=Ae.toLocaleLowerCase()),Bo.applyArabicShaping&&(Ae=Bo.applyArabicShaping(Ae)),Ae}(fe.text,V,J)}),P}la([{name:"triangle",components:3,type:"Uint16"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),la([{type:"Float32",name:"offsetX"}]),la([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var F0={"!":"๏ธ•","#":"๏ผƒ",$:"๏ผ„","%":"๏ผ…","&":"๏ผ†","(":"๏ธต",")":"๏ธถ","*":"๏ผŠ","+":"๏ผ‹",",":"๏ธ","-":"๏ธฒ",".":"ใƒป","/":"๏ผ",":":"๏ธ“",";":"๏ธ”","<":"๏ธฟ","=":"๏ผ",">":"๏น€","?":"๏ธ–","@":"๏ผ ","[":"๏น‡","\\":"๏ผผ","]":"๏นˆ","^":"๏ผพ",_:"๏ธณ","`":"๏ฝ€","{":"๏ธท","|":"โ€•","}":"๏ธธ","~":"๏ฝž","ยข":"๏ฟ ","ยฃ":"๏ฟก","ยฅ":"๏ฟฅ","ยฆ":"๏ฟค","ยฌ":"๏ฟข","ยฏ":"๏ฟฃ","โ€“":"๏ธฒ","โ€”":"๏ธฑ","โ€˜":"๏นƒ","โ€™":"๏น„","โ€œ":"๏น","โ€":"๏น‚","โ€ฆ":"๏ธ™","โ€ง":"ใƒป","โ‚ฉ":"๏ฟฆ","ใ€":"๏ธ‘","ใ€‚":"๏ธ’","ใ€ˆ":"๏ธฟ","ใ€‰":"๏น€","ใ€Š":"๏ธฝ","ใ€‹":"๏ธพ","ใ€Œ":"๏น","ใ€":"๏น‚","ใ€Ž":"๏นƒ","ใ€":"๏น„","ใ€":"๏ธป","ใ€‘":"๏ธผ","ใ€”":"๏ธน","ใ€•":"๏ธบ","ใ€–":"๏ธ—","ใ€—":"๏ธ˜","๏ผ":"๏ธ•","๏ผˆ":"๏ธต","๏ผ‰":"๏ธถ","๏ผŒ":"๏ธ","๏ผ":"๏ธฒ","๏ผŽ":"ใƒป","๏ผš":"๏ธ“","๏ผ›":"๏ธ”","๏ผœ":"๏ธฟ","๏ผž":"๏น€","๏ผŸ":"๏ธ–","๏ผป":"๏น‡","๏ผฝ":"๏นˆ","๏ผฟ":"๏ธณ","๏ฝ›":"๏ธท","๏ฝœ":"โ€•","๏ฝ":"๏ธธ","๏ฝŸ":"๏ธต","๏ฝ ":"๏ธถ","๏ฝก":"๏ธ’","๏ฝข":"๏น","๏ฝฃ":"๏น‚"},ss=24,J_=function(P,V,J,fe,Ae){var Re,Ge,it=8*Ae-fe-1,pt=(1<>1,Dt=-7,Gt=J?Ae-1:0,Zt=J?-1:1,$t=P[V+Gt];for(Gt+=Zt,Re=$t&(1<<-Dt)-1,$t>>=-Dt,Dt+=it;Dt>0;Re=256*Re+P[V+Gt],Gt+=Zt,Dt-=8);for(Ge=Re&(1<<-Dt)-1,Re>>=-Dt,Dt+=fe;Dt>0;Ge=256*Ge+P[V+Gt],Gt+=Zt,Dt-=8);if(Re===0)Re=1-Ct;else{if(Re===pt)return Ge?NaN:1/0*($t?-1:1);Ge+=Math.pow(2,fe),Re-=Ct}return($t?-1:1)*Ge*Math.pow(2,Re-fe)},Q_=function(P,V,J,fe,Ae,Re){var Ge,it,pt,Ct=8*Re-Ae-1,Dt=(1<>1,Zt=Ae===23?Math.pow(2,-24)-Math.pow(2,-77):0,$t=fe?0:Re-1,hn=fe?1:-1,Mn=V<0||V===0&&1/V<0?1:0;for(V=Math.abs(V),isNaN(V)||V===1/0?(it=isNaN(V)?1:0,Ge=Dt):(Ge=Math.floor(Math.log(V)/Math.LN2),V*(pt=Math.pow(2,-Ge))<1&&(Ge--,pt*=2),(V+=Ge+Gt>=1?Zt/pt:Zt*Math.pow(2,1-Gt))*pt>=2&&(Ge++,pt/=2),Ge+Gt>=Dt?(it=0,Ge=Dt):Ge+Gt>=1?(it=(V*pt-1)*Math.pow(2,Ae),Ge+=Gt):(it=V*Math.pow(2,Gt-1)*Math.pow(2,Ae),Ge=0));Ae>=8;P[J+$t]=255&it,$t+=hn,it/=256,Ae-=8);for(Ge=Ge<0;P[J+$t]=255&Ge,$t+=hn,Ge/=256,Ct-=8);P[J+$t-hn]|=128*Mn},_g=ba;function ba(P){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(P)?P:new Uint8Array(P||0),this.pos=0,this.type=0,this.length=this.buf.length}ba.Varint=0,ba.Fixed64=1,ba.Bytes=2,ba.Fixed32=5;var S1=4294967296,ew=1/S1,tw=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Bf(P){return P.type===ba.Bytes?P.readVarint()+P.pos:P.pos+1}function lp(P,V,J){return J?4294967296*V+(P>>>0):4294967296*(V>>>0)+(P>>>0)}function nw(P,V,J){var fe=V<=16383?1:V<=2097151?2:V<=268435455?3:Math.floor(Math.log(V)/(7*Math.LN2));J.realloc(fe);for(var Ae=J.pos-1;Ae>=P;Ae--)J.buf[Ae+fe]=J.buf[Ae]}function cC(P,V){for(var J=0;J>>8,P[J+2]=V>>>16,P[J+3]=V>>>24}function rw(P,V){return(P[V]|P[V+1]<<8|P[V+2]<<16)+(P[V+3]<<24)}ba.prototype={destroy:function(){this.buf=null},readFields:function(P,V,J){for(J=J||this.length;this.pos>3,Re=this.pos;this.type=7&fe,P(Ae,V,this),this.pos===Re&&this.skip(fe)}return V},readMessage:function(P,V){return this.readFields(P,V,this.readVarint()+this.pos)},readFixed32:function(){var P=wg(this.buf,this.pos);return this.pos+=4,P},readSFixed32:function(){var P=rw(this.buf,this.pos);return this.pos+=4,P},readFixed64:function(){var P=wg(this.buf,this.pos)+wg(this.buf,this.pos+4)*S1;return this.pos+=8,P},readSFixed64:function(){var P=wg(this.buf,this.pos)+rw(this.buf,this.pos+4)*S1;return this.pos+=8,P},readFloat:function(){var P=J_(this.buf,this.pos,!0,23,4);return this.pos+=4,P},readDouble:function(){var P=J_(this.buf,this.pos,!0,52,8);return this.pos+=8,P},readVarint:function(P){var V,J,fe=this.buf;return V=127&(J=fe[this.pos++]),J<128?V:(V|=(127&(J=fe[this.pos++]))<<7,J<128?V:(V|=(127&(J=fe[this.pos++]))<<14,J<128?V:(V|=(127&(J=fe[this.pos++]))<<21,J<128?V:function(Ae,Re,Ge){var it,pt,Ct=Ge.buf;if(it=(112&(pt=Ct[Ge.pos++]))>>4,pt<128||(it|=(127&(pt=Ct[Ge.pos++]))<<3,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<10,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<17,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<24,pt<128)||(it|=(1&(pt=Ct[Ge.pos++]))<<31,pt<128))return lp(Ae,it,Re);throw new Error("Expected varint not more than 10 bytes")}(V|=(15&(J=fe[this.pos]))<<28,P,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var P=this.readVarint();return P%2==1?(P+1)/-2:P/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var P=this.readVarint()+this.pos,V=this.pos;return this.pos=P,P-V>=12&&tw?function(J,fe,Ae){return tw.decode(J.subarray(fe,Ae))}(this.buf,V,P):function(J,fe,Ae){for(var Re="",Ge=fe;Ge239?4:Dt>223?3:Dt>191?2:1;if(Ge+Zt>Ae)break;Zt===1?Dt<128&&(Gt=Dt):Zt===2?(192&(it=J[Ge+1]))==128&&(Gt=(31&Dt)<<6|63&it)<=127&&(Gt=null):Zt===3?(it=J[Ge+1],pt=J[Ge+2],(192&it)==128&&(192&pt)==128&&((Gt=(15&Dt)<<12|(63&it)<<6|63&pt)<=2047||Gt>=55296&&Gt<=57343)&&(Gt=null)):Zt===4&&(it=J[Ge+1],pt=J[Ge+2],Ct=J[Ge+3],(192&it)==128&&(192&pt)==128&&(192&Ct)==128&&((Gt=(15&Dt)<<18|(63&it)<<12|(63&pt)<<6|63&Ct)<=65535||Gt>=1114112)&&(Gt=null)),Gt===null?(Gt=65533,Zt=1):Gt>65535&&(Gt-=65536,Re+=String.fromCharCode(Gt>>>10&1023|55296),Gt=56320|1023&Gt),Re+=String.fromCharCode(Gt),Ge+=Zt}return Re}(this.buf,V,P)},readBytes:function(){var P=this.readVarint()+this.pos,V=this.buf.subarray(this.pos,P);return this.pos=P,V},readPackedVarint:function(P,V){if(this.type!==ba.Bytes)return P.push(this.readVarint(V));var J=Bf(this);for(P=P||[];this.pos127;);else if(V===ba.Bytes)this.pos=this.readVarint()+this.pos;else if(V===ba.Fixed32)this.pos+=4;else{if(V!==ba.Fixed64)throw new Error("Unimplemented type: "+V);this.pos+=8}},writeTag:function(P,V){this.writeVarint(P<<3|V)},realloc:function(P){for(var V=this.length||16;V268435455||P<0?function(V,J){var fe,Ae;if(V>=0?(fe=V%4294967296|0,Ae=V/4294967296|0):(Ae=~(-V/4294967296),4294967295^(fe=~(-V%4294967296))?fe=fe+1|0:(fe=0,Ae=Ae+1|0)),V>=18446744073709552e3||V<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");J.realloc(10),function(Re,Ge,it){it.buf[it.pos++]=127&Re|128,Re>>>=7,it.buf[it.pos++]=127&Re|128,Re>>>=7,it.buf[it.pos++]=127&Re|128,Re>>>=7,it.buf[it.pos++]=127&Re|128,Re>>>=7,it.buf[it.pos]=127&Re}(fe,0,J),function(Re,Ge){var it=(7&Re)<<4;Ge.buf[Ge.pos++]|=it|((Re>>>=3)?128:0),Re&&(Ge.buf[Ge.pos++]=127&Re|((Re>>>=7)?128:0),Re&&(Ge.buf[Ge.pos++]=127&Re|((Re>>>=7)?128:0),Re&&(Ge.buf[Ge.pos++]=127&Re|((Re>>>=7)?128:0),Re&&(Ge.buf[Ge.pos++]=127&Re|((Re>>>=7)?128:0),Re&&(Ge.buf[Ge.pos++]=127&Re)))))}(Ae,J)}(P,this):(this.realloc(4),this.buf[this.pos++]=127&P|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=P>>>7&127))))},writeSVarint:function(P){this.writeVarint(P<0?2*-P-1:2*P)},writeBoolean:function(P){this.writeVarint(!!P)},writeString:function(P){P=String(P),this.realloc(4*P.length),this.pos++;var V=this.pos;this.pos=function(fe,Ae,Re){for(var Ge,it,pt=0;pt55295&&Ge<57344){if(!it){Ge>56319||pt+1===Ae.length?(fe[Re++]=239,fe[Re++]=191,fe[Re++]=189):it=Ge;continue}if(Ge<56320){fe[Re++]=239,fe[Re++]=191,fe[Re++]=189,it=Ge;continue}Ge=it-55296<<10|Ge-56320|65536,it=null}else it&&(fe[Re++]=239,fe[Re++]=191,fe[Re++]=189,it=null);Ge<128?fe[Re++]=Ge:(Ge<2048?fe[Re++]=Ge>>6|192:(Ge<65536?fe[Re++]=Ge>>12|224:(fe[Re++]=Ge>>18|240,fe[Re++]=Ge>>12&63|128),fe[Re++]=Ge>>6&63|128),fe[Re++]=63&Ge|128)}return Re}(this.buf,P,this.pos);var J=this.pos-V;J>=128&&nw(V,J,this),this.pos=V-1,this.writeVarint(J),this.pos+=J},writeFloat:function(P){this.realloc(4),Q_(this.buf,P,this.pos,!0,23,4),this.pos+=4},writeDouble:function(P){this.realloc(8),Q_(this.buf,P,this.pos,!0,52,8),this.pos+=8},writeBytes:function(P){var V=P.length;this.writeVarint(V),this.realloc(V);for(var J=0;J=128&&nw(J,fe,this),this.pos=J-1,this.writeVarint(fe),this.pos+=fe},writeMessage:function(P,V,J){this.writeTag(P,ba.Bytes),this.writeRawMessage(V,J)},writePackedVarint:function(P,V){V.length&&this.writeMessage(P,cC,V)},writePackedSVarint:function(P,V){V.length&&this.writeMessage(P,fC,V)},writePackedBoolean:function(P,V){V.length&&this.writeMessage(P,pC,V)},writePackedFloat:function(P,V){V.length&&this.writeMessage(P,hC,V)},writePackedDouble:function(P,V){V.length&&this.writeMessage(P,dC,V)},writePackedFixed32:function(P,V){V.length&&this.writeMessage(P,mC,V)},writePackedSFixed32:function(P,V){V.length&&this.writeMessage(P,gC,V)},writePackedFixed64:function(P,V){V.length&&this.writeMessage(P,vC,V)},writePackedSFixed64:function(P,V){V.length&&this.writeMessage(P,yC,V)},writeBytesField:function(P,V){this.writeTag(P,ba.Bytes),this.writeBytes(V)},writeFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFixed32(V)},writeSFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeSFixed32(V)},writeFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeFixed64(V)},writeSFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeSFixed64(V)},writeVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeVarint(V)},writeSVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeSVarint(V)},writeStringField:function(P,V){this.writeTag(P,ba.Bytes),this.writeString(V)},writeFloatField:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFloat(V)},writeDoubleField:function(P,V){this.writeTag(P,ba.Fixed64),this.writeDouble(V)},writeBooleanField:function(P,V){this.writeVarintField(P,!!V)}};function bC(P,V,J){P===1&&J.readMessage(xC,V)}function xC(P,V,J){if(P===3){var fe=J.readMessage(_C,{}),Ae=fe.id,Re=fe.bitmap,Ge=fe.width,it=fe.height,pt=fe.left,Ct=fe.top,Dt=fe.advance;V.push({id:Ae,bitmap:new sd({width:Ge+6,height:it+6},Re),metrics:{width:Ge,height:it,left:pt,top:Ct,advance:Dt}})}}function _C(P,V,J){P===1?V.id=J.readVarint():P===2?V.bitmap=J.readBytes():P===3?V.width=J.readVarint():P===4?V.height=J.readVarint():P===5?V.left=J.readSVarint():P===6?V.top=J.readSVarint():P===7&&(V.advance=J.readVarint())}function iw(P){for(var V=0,J=0,fe=0,Ae=P;fe=0;Zt--){var $t=Ge[Zt];if(!(Gt.w>$t.w||Gt.h>$t.h)){if(Gt.x=$t.x,Gt.y=$t.y,pt=Math.max(pt,Gt.y+Gt.h),it=Math.max(it,Gt.x+Gt.w),Gt.w===$t.w&&Gt.h===$t.h){var hn=Ge.pop();Zt0&&fd>Ga&&(Ga=fd)}else{var Dg=pi[$i.fontStack],hd=Dg&&Dg[Ds];if(hd&&hd.rect)kc=hd.rect,ks=hd.metrics;else{var zg=Di[$i.fontStack],U0=zg&&zg[Ds];if(!U0)continue;ks=U0.metrics}pl=(mi-$i.scale)*ss}Mc?(Kr.verticalizable=!0,ma.push({glyph:Ds,imageName:jf,x:Ho,y:ls+pl,vertical:Mc,scale:$i.scale,fontStack:$i.fontStack,sectionIndex:Ja,metrics:ks,rect:kc}),Ho+=Wo*$i.scale+ya):(ma.push({glyph:Ds,imageName:jf,x:Ho,y:ls+pl,vertical:Mc,scale:$i.scale,fontStack:$i.fontStack,sectionIndex:Ja,metrics:ks,rect:kc}),Ho+=ks.advance*$i.scale+ya)}if(ma.length!==0){var B1=Ho-ya;Xo=Math.max(B1,Xo),TC(ma,0,ma.length-1,Ko,Ga)}Ho=0;var Fg=ha*mi+Ga;Ka.lineOffset=Math.max(Ga,Gi),ls+=Fg,Rs=Math.max(Fg,Rs),++Io}else ls+=ha,++Io}var yp=ls-kg,Bg=E1(xa),Ng=Bg.horizontalAlign,H0=Bg.verticalAlign;(function(N1,G0,dd,bp,Vg,jg,xp,Ug,Hg){var W0=(G0-dd)*Vg,q0=0;q0=jg!==xp?-Ug*bp-kg:(-bp*Hg+.5)*xp;for(var pd=0,Y0=N1;pd=0&&fe>=P&&Ag[this.text.charCodeAt(fe)];fe--)J--;this.text=this.text.substring(P,J),this.sectionIndex=this.sectionIndex.slice(P,J)},Ts.prototype.substring=function(P,V){var J=new Ts;return J.text=this.text.substring(P,V),J.sectionIndex=this.sectionIndex.slice(P,V),J.sections=this.sections,J},Ts.prototype.toString=function(){return this.text},Ts.prototype.getMaxScale=function(){var P=this;return this.sectionIndex.reduce(function(V,J){return Math.max(V,P.sections[J].scale)},0)},Ts.prototype.addTextSection=function(P,V){this.text+=P.text,this.sections.push(cp.forText(P.scale,P.fontStack||V));for(var J=this.sections.length-1,fe=0;fe=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Ag={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},dl={};function aw(P,V,J,fe,Ae,Re){if(V.imageName){var Ge=fe[V.imageName];return Ge?Ge.displaySize[0]*V.scale*ss/Re+Ae:0}var it=J[V.fontStack],pt=it&&it[P];return pt?pt.metrics.advance*V.scale+Ae:0}function ow(P,V,J,fe){var Ae=Math.pow(P-V,2);return fe?P=0,Dt=0,Gt=0;Gt-J/2;){if(--Ge<0)return!1;it-=P[Ge].dist(Re),Re=P[Ge]}it+=P[Ge].dist(P[Ge+1]),Ge++;for(var pt=[],Ct=0;itfe;)Ct-=pt.shift().angleDelta;if(Ct>Ae)return!1;Ge++,it+=Gt.dist(Zt)}return!0}function dw(P){for(var V=0,J=0;JCt){var hn=(Ct-pt)/$t,Mn=zr(Gt.x,Zt.x,hn),Nn=zr(Gt.y,Zt.y,hn),Bn=new fp(Mn,Nn,Zt.angleTo(Gt),Dt);return Bn._round(),!Ge||hw(P,Bn,it,Ge,V)?Bn:void 0}pt+=$t}}function AC(P,V,J,fe,Ae,Re,Ge,it,pt){var Ct=pw(fe,Re,Ge),Dt=mw(fe,Ae),Gt=Dt*Ge,Zt=P[0].x===0||P[0].x===pt||P[0].y===0||P[0].y===pt;return V-Gt=0&&er=0&&sr=0&&Zt+Ct<=Dt){var hr=new fp(er,sr,qn,hn);hr._round(),fe&&!hw(P,hr,Re,fe,Ae)||$t.push(hr)}}Gt+=Bn}return it||$t.length||Ge||($t=gw(P,Gt/2,J,fe,Ae,Re,Ge,!0,pt)),$t}function vw(P,V,J,fe,Ae){for(var Re=[],Ge=0;Ge=fe&&Gt.x>=fe||(Dt.x>=fe?Dt=new a(fe,Dt.y+(Gt.y-Dt.y)*((fe-Dt.x)/(Gt.x-Dt.x)))._round():Gt.x>=fe&&(Gt=new a(fe,Dt.y+(Gt.y-Dt.y)*((fe-Dt.x)/(Gt.x-Dt.x)))._round()),Dt.y>=Ae&&Gt.y>=Ae||(Dt.y>=Ae?Dt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round():Gt.y>=Ae&&(Gt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round()),pt&&Dt.equals(pt[pt.length-1])||(pt=[Dt],Re.push(pt)),pt.push(Gt)))))}return Re}function yw(P,V,J,fe){var Ae=[],Re=P.image,Ge=Re.pixelRatio,it=Re.paddedRect.w-2,pt=Re.paddedRect.h-2,Ct=P.right-P.left,Dt=P.bottom-P.top,Gt=Re.stretchX||[[0,it]],Zt=Re.stretchY||[[0,pt]],$t=function(ha,xa){return ha+xa[1]-xa[0]},hn=Gt.reduce($t,0),Mn=Zt.reduce($t,0),Nn=it-hn,Bn=pt-Mn,qn=0,Zn=hn,er=0,sr=Mn,hr=0,Or=Nn,Tr=0,Nr=Bn;if(Re.content&&fe){var Zr=Re.content;qn=Sg(Gt,0,Zr[0]),er=Sg(Zt,0,Zr[1]),Zn=Sg(Gt,Zr[0],Zr[2]),sr=Sg(Zt,Zr[1],Zr[3]),hr=Zr[0]-qn,Tr=Zr[1]-er,Or=Zr[2]-Zr[0]-Zn,Nr=Zr[3]-Zr[1]-sr}var fi=function(ha,xa,Sa,Pa){var ya=Cg(ha.stretch-qn,Zn,Ct,P.left),Mo=Eg(ha.fixed-hr,Or,ha.stretch,hn),Na=Cg(xa.stretch-er,sr,Dt,P.top),Ho=Eg(xa.fixed-Tr,Nr,xa.stretch,Mn),ls=Cg(Sa.stretch-qn,Zn,Ct,P.left),Xo=Eg(Sa.fixed-hr,Or,Sa.stretch,hn),Rs=Cg(Pa.stretch-er,sr,Dt,P.top),Ko=Eg(Pa.fixed-Tr,Nr,Pa.stretch,Mn),Io=new a(ya,Na),Jo=new a(ls,Na),Go=new a(ls,Rs),Oo=new a(ya,Rs),mi=new a(Mo/Ge,Ho/Ge),Gi=new a(Xo/Ge,Ko/Ge),Ka=V*Math.PI/180;if(Ka){var ma=Math.sin(Ka),Ga=Math.cos(Ka),Ra=[Ga,-ma,ma,Ga];Io._matMult(Ra),Jo._matMult(Ra),Oo._matMult(Ra),Go._matMult(Ra)}var $i=ha.stretch+ha.fixed,Ja=Sa.stretch+Sa.fixed,Ds=xa.stretch+xa.fixed,pl=Pa.stretch+Pa.fixed;return{tl:Io,tr:Jo,bl:Oo,br:Go,tex:{x:Re.paddedRect.x+1+$i,y:Re.paddedRect.y+1+Ds,w:Ja-$i,h:pl-Ds},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:mi,pixelOffsetBR:Gi,minFontScaleX:Or/Ge/Ct,minFontScaleY:Nr/Ge/Dt,isSDF:J}};if(fe&&(Re.stretchX||Re.stretchY))for(var Jr=bw(Gt,Nn,hn),ci=bw(Zt,Bn,Mn),ri=0;ri0&&($t=Math.max(10,$t),this.circleDiameter=$t)}else{var hn=Re.top*Ge-it,Mn=Re.bottom*Ge+it,Nn=Re.left*Ge-it,Bn=Re.right*Ge+it,qn=Re.collisionPadding;if(qn&&(Nn-=qn[0]*Ge,hn-=qn[1]*Ge,Bn+=qn[2]*Ge,Mn+=qn[3]*Ge),Ct){var Zn=new a(Nn,hn),er=new a(Bn,hn),sr=new a(Nn,Mn),hr=new a(Bn,Mn),Or=Ct*Math.PI/180;Zn._rotate(Or),er._rotate(Or),sr._rotate(Or),hr._rotate(Or),Nn=Math.min(Zn.x,er.x,sr.x,hr.x),Bn=Math.max(Zn.x,er.x,sr.x,hr.x),hn=Math.min(Zn.y,er.y,sr.y,hr.y),Mn=Math.max(Zn.y,er.y,sr.y,hr.y)}P.emplaceBack(V.x,V.y,Nn,hn,Bn,Mn,J,fe,Ae)}this.boxEndIndex=P.length},hp=function(P,V){if(P===void 0&&(P=[]),V===void 0&&(V=SC),this.data=P,this.length=this.data.length,this.compare=V,this.length>0)for(var J=(this.length>>1)-1;J>=0;J--)this._down(J)};function SC(P,V){return PV?1:0}function CC(P,V,J){V===void 0&&(V=1),J===void 0&&(J=!1);for(var fe=1/0,Ae=1/0,Re=-1/0,Ge=-1/0,it=P[0],pt=0;ptRe)&&(Re=Ct.x),(!pt||Ct.y>Ge)&&(Ge=Ct.y)}var Dt=Re-fe,Gt=Ge-Ae,Zt=Math.min(Dt,Gt),$t=Zt/2,hn=new hp([],EC);if(Zt===0)return new a(fe,Ae);for(var Mn=fe;MnBn.d||!Bn.d)&&(Bn=Zn,J&&console.log("found best %d after %d probes",Math.round(1e4*Zn.d)/1e4,qn)),Zn.max-Bn.d<=V||($t=Zn.h/2,hn.push(new dp(Zn.p.x-$t,Zn.p.y-$t,$t,P)),hn.push(new dp(Zn.p.x+$t,Zn.p.y-$t,$t,P)),hn.push(new dp(Zn.p.x-$t,Zn.p.y+$t,$t,P)),hn.push(new dp(Zn.p.x+$t,Zn.p.y+$t,$t,P)),qn+=4)}return J&&(console.log("num probes: "+qn),console.log("best distance: "+Bn.d)),Bn.p}function EC(P,V){return V.max-P.max}function dp(P,V,J,fe){this.p=new a(P,V),this.h=J,this.d=function(Ae,Re){for(var Ge=!1,it=1/0,pt=0;ptAe.y!=hn.y>Ae.y&&Ae.x<(hn.x-$t.x)*(Ae.y-$t.y)/(hn.y-$t.y)+$t.x&&(Ge=!Ge),it=Math.min(it,hg(Ae,$t,hn))}return(Ge?1:-1)*Math.sqrt(it)}(this.p,fe),this.max=this.d+this.h*Math.SQRT2}hp.prototype.push=function(P){this.data.push(P),this.length++,this._up(this.length-1)},hp.prototype.pop=function(){if(this.length!==0){var P=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),P}},hp.prototype.peek=function(){return this.data[0]},hp.prototype._up=function(P){for(var V=this.data,J=this.compare,fe=V[P];P>0;){var Ae=P-1>>1,Re=V[Ae];if(J(fe,Re)>=0)break;V[P]=Re,P=Ae}V[P]=fe},hp.prototype._down=function(P){for(var V=this.data,J=this.compare,fe=this.length>>1,Ae=V[P];P=0)break;V[P]=Ge,P=Re}V[P]=Ae};var I1=Number.POSITIVE_INFINITY;function xw(P,V){return V[1]!==I1?function(J,fe,Ae){var Re=0,Ge=0;switch(fe=Math.abs(fe),Ae=Math.abs(Ae),J){case"top-right":case"top-left":case"top":Ge=Ae-7;break;case"bottom-right":case"bottom-left":case"bottom":Ge=7-Ae}switch(J){case"top-right":case"bottom-right":case"right":Re=-fe;break;case"top-left":case"bottom-left":case"left":Re=fe}return[Re,Ge]}(P,V[0],V[1]):function(J,fe){var Ae=0,Re=0;fe<0&&(fe=0);var Ge=fe/Math.sqrt(2);switch(J){case"top-right":case"top-left":Re=Ge-7;break;case"bottom-right":case"bottom-left":Re=7-Ge;break;case"bottom":Re=7-fe;break;case"top":Re=fe-7}switch(J){case"top-right":case"bottom-right":Ae=-Ge;break;case"top-left":case"bottom-left":Ae=Ge;break;case"left":Ae=fe;break;case"right":Ae=-fe}return[Ae,Re]}(P,V[0])}function O1(P){switch(P){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var kh=32640;function _w(P,V,J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,$t,hn){var Mn=function(er,sr,hr,Or,Tr,Nr,Zr,fi){for(var Jr=Or.layout.get("text-rotate").evaluate(Nr,{})*Math.PI/180,ci=[],ri=0,Kr=sr.positionedLines;rikh&&O(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Nn.kind==="composite"&&((Bn=[Kc*$t.compositeTextSizes[0].evaluate(Ge,{},hn),Kc*$t.compositeTextSizes[1].evaluate(Ge,{},hn)])[0]>kh||Bn[1]>kh)&&O(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),P.addSymbols(P.text,Mn,Bn,it,Re,Ge,Ct,V,pt.lineStartIndex,pt.lineLength,Zt,hn);for(var qn=0,Zn=Dt;qn=0;Ge--)if(fe.dist(Re[Ge])0)&&(Re.value.kind!=="constant"||Re.value.value.length>0),Ct=it.value.kind!=="constant"||!!it.value.value||Object.keys(it.parameters).length>0,Dt=Ae.get("symbol-sort-key");if(this.features=[],pt||Ct){for(var Gt=V.iconDependencies,Zt=V.glyphDependencies,$t=V.availableImages,hn=new qi(this.zoom),Mn=0,Nn=P;Mn=0;for(var pi=0,va=Tr.sections;pi=0;it--)Re[it]={x:V[it].x,y:V[it].y,tileUnitDistanceFromAnchor:Ae},it>0&&(Ae+=V[it-1].dist(V[it]));for(var pt=0;pt0},fa.prototype.hasIconData=function(){return this.icon.segments.get().length>0},fa.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},fa.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},fa.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},fa.prototype.addIndicesForPlacedSymbol=function(P,V){for(var J=P.placedSymbolArray.get(V),fe=J.vertexStartIndex+4*J.numGlyphs,Ae=J.vertexStartIndex;Ae1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(P),this.sortedAngle=P,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var J=0,fe=this.symbolInstanceIndexes;J=0&&pt.indexOf(Ge)===it&&V.addIndicesForPlacedSymbol(V.text,Ge)}),Re.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,Re.verticalPlacedTextSymbolIndex),Re.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Re.placedIconSymbolIndex),Re.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Re.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Dr("SymbolBucket",fa,{omit:["layers","collisionBoxArray","features","compareText"]}),fa.MAX_GLYPHS=65535,fa.addDynamicAttributes=P1;var RC=new xo({"symbol-placement":new Hr(Oe.layout_symbol["symbol-placement"]),"symbol-spacing":new Hr(Oe.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Hr(Oe.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new ni(Oe.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Hr(Oe.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Hr(Oe.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Hr(Oe.layout_symbol["icon-ignore-placement"]),"icon-optional":new Hr(Oe.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Hr(Oe.layout_symbol["icon-rotation-alignment"]),"icon-size":new ni(Oe.layout_symbol["icon-size"]),"icon-text-fit":new Hr(Oe.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Hr(Oe.layout_symbol["icon-text-fit-padding"]),"icon-image":new ni(Oe.layout_symbol["icon-image"]),"icon-rotate":new ni(Oe.layout_symbol["icon-rotate"]),"icon-padding":new Hr(Oe.layout_symbol["icon-padding"]),"icon-keep-upright":new Hr(Oe.layout_symbol["icon-keep-upright"]),"icon-offset":new ni(Oe.layout_symbol["icon-offset"]),"icon-anchor":new ni(Oe.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Hr(Oe.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Hr(Oe.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Hr(Oe.layout_symbol["text-rotation-alignment"]),"text-field":new ni(Oe.layout_symbol["text-field"]),"text-font":new ni(Oe.layout_symbol["text-font"]),"text-size":new ni(Oe.layout_symbol["text-size"]),"text-max-width":new ni(Oe.layout_symbol["text-max-width"]),"text-line-height":new Hr(Oe.layout_symbol["text-line-height"]),"text-letter-spacing":new ni(Oe.layout_symbol["text-letter-spacing"]),"text-justify":new ni(Oe.layout_symbol["text-justify"]),"text-radial-offset":new ni(Oe.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Hr(Oe.layout_symbol["text-variable-anchor"]),"text-anchor":new ni(Oe.layout_symbol["text-anchor"]),"text-max-angle":new Hr(Oe.layout_symbol["text-max-angle"]),"text-writing-mode":new Hr(Oe.layout_symbol["text-writing-mode"]),"text-rotate":new ni(Oe.layout_symbol["text-rotate"]),"text-padding":new Hr(Oe.layout_symbol["text-padding"]),"text-keep-upright":new Hr(Oe.layout_symbol["text-keep-upright"]),"text-transform":new ni(Oe.layout_symbol["text-transform"]),"text-offset":new ni(Oe.layout_symbol["text-offset"]),"text-allow-overlap":new Hr(Oe.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Hr(Oe.layout_symbol["text-ignore-placement"]),"text-optional":new Hr(Oe.layout_symbol["text-optional"])}),R1={paint:new xo({"icon-opacity":new ni(Oe.paint_symbol["icon-opacity"]),"icon-color":new ni(Oe.paint_symbol["icon-color"]),"icon-halo-color":new ni(Oe.paint_symbol["icon-halo-color"]),"icon-halo-width":new ni(Oe.paint_symbol["icon-halo-width"]),"icon-halo-blur":new ni(Oe.paint_symbol["icon-halo-blur"]),"icon-translate":new Hr(Oe.paint_symbol["icon-translate"]),"icon-translate-anchor":new Hr(Oe.paint_symbol["icon-translate-anchor"]),"text-opacity":new ni(Oe.paint_symbol["text-opacity"]),"text-color":new ni(Oe.paint_symbol["text-color"],{runtimeType:Nt,getOverride:function(P){return P.textColor},hasOverride:function(P){return!!P.textColor}}),"text-halo-color":new ni(Oe.paint_symbol["text-halo-color"]),"text-halo-width":new ni(Oe.paint_symbol["text-halo-width"]),"text-halo-blur":new ni(Oe.paint_symbol["text-halo-blur"]),"text-translate":new Hr(Oe.paint_symbol["text-translate"]),"text-translate-anchor":new Hr(Oe.paint_symbol["text-translate-anchor"])}),layout:RC},mp=function(P){this.type=P.property.overrides?P.property.overrides.runtimeType:yt,this.defaultValue=P};mp.prototype.evaluate=function(P){if(P.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(P.formattedSection))return V.getOverride(P.formattedSection)}return P.feature&&P.featureState?this.defaultValue.evaluate(P.feature,P.featureState):this.defaultValue.property.specification.default},mp.prototype.eachChild=function(P){this.defaultValue.isConstant()||P(this.defaultValue.value._styleExpression.expression)},mp.prototype.outputDefined=function(){return!1},mp.prototype.serialize=function(){return null},Dr("FormatSectionOverride",mp,{omit:["defaultValue"]});var DC=function(P){function V(J){P.call(this,J,R1)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.recalculate=function(J,fe){if(P.prototype.recalculate.call(this,J,fe),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ae=this.layout.get("text-writing-mode");if(Ae){for(var Re=[],Ge=0,it=Ae;Ge",targetMapId:fe,sourceMapId:Re.mapId})}}},gp.prototype.receive=function(P){var V=P.data,J=V.id;if(J&&(!V.targetMapId||this.mapId===V.targetMapId))if(V.type===""){delete this.tasks[J];var fe=this.cancelCallbacks[J];delete this.cancelCallbacks[J],fe&&fe()}else D()||V.mustQueue?(this.tasks[J]=V,this.taskQueue.push(J),this.invoker.trigger()):this.processTask(J,V)},gp.prototype.process=function(){if(this.taskQueue.length){var P=this.taskQueue.shift(),V=this.tasks[P];delete this.tasks[P],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(P,V)}},gp.prototype.processTask=function(P,V){var J=this;if(V.type===""){var fe=this.callbacks[P];delete this.callbacks[P],fe&&(V.error?fe(Fu(V.error)):fe(null,Fu(V.data)))}else{var Ae=!1,Re=N(this.globalScope)?void 0:[],Ge=V.hasCallback?function(Dt,Gt){Ae=!0,delete J.cancelCallbacks[P],J.target.postMessage({id:P,type:"",sourceMapId:J.mapId,error:Dt?zu(Dt):null,data:zu(Gt,Re)},Re)}:function(Dt){Ae=!0},it=null,pt=Fu(V.data);if(this.parent[V.type])it=this.parent[V.type](V.sourceMapId,pt,Ge);else if(this.parent.getWorkerSource){var Ct=V.type.split(".");it=this.parent.getWorkerSource(V.sourceMapId,Ct[0],pt.source)[Ct[1]](pt,Ge)}else Ge(new Error("Could not find function "+V.type));!Ae&&it&&it.cancel&&(this.cancelCallbacks[P]=it.cancel)}},gp.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var To=function(P,V){P&&(V?this.setSouthWest(P).setNorthEast(V):P.length===4?this.setSouthWest([P[0],P[1]]).setNorthEast([P[2],P[3]]):this.setSouthWest(P[0]).setNorthEast(P[1]))};To.prototype.setNorthEast=function(P){return this._ne=P instanceof Oa?new Oa(P.lng,P.lat):Oa.convert(P),this},To.prototype.setSouthWest=function(P){return this._sw=P instanceof Oa?new Oa(P.lng,P.lat):Oa.convert(P),this},To.prototype.extend=function(P){var V,J,fe=this._sw,Ae=this._ne;if(P instanceof Oa)V=P,J=P;else{if(!(P instanceof To)){if(Array.isArray(P)){if(P.length===4||P.every(Array.isArray)){var Re=P;return this.extend(To.convert(Re))}var Ge=P;return this.extend(Oa.convert(Ge))}return this}if(V=P._sw,J=P._ne,!V||!J)return this}return fe||Ae?(fe.lng=Math.min(V.lng,fe.lng),fe.lat=Math.min(V.lat,fe.lat),Ae.lng=Math.max(J.lng,Ae.lng),Ae.lat=Math.max(J.lat,Ae.lat)):(this._sw=new Oa(V.lng,V.lat),this._ne=new Oa(J.lng,J.lat)),this},To.prototype.getCenter=function(){return new Oa((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},To.prototype.getSouthWest=function(){return this._sw},To.prototype.getNorthEast=function(){return this._ne},To.prototype.getNorthWest=function(){return new Oa(this.getWest(),this.getNorth())},To.prototype.getSouthEast=function(){return new Oa(this.getEast(),this.getSouth())},To.prototype.getWest=function(){return this._sw.lng},To.prototype.getSouth=function(){return this._sw.lat},To.prototype.getEast=function(){return this._ne.lng},To.prototype.getNorth=function(){return this._ne.lat},To.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},To.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},To.prototype.isEmpty=function(){return!(this._sw&&this._ne)},To.prototype.contains=function(P){var V=Oa.convert(P),J=V.lng,fe=V.lat,Ae=this._sw.lat<=fe&&fe<=this._ne.lat,Re=this._sw.lng<=J&&J<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Re=this._sw.lng>=J&&J>=this._ne.lng),Ae&&Re},To.convert=function(P){return!P||P instanceof To?P:new To(P)};var Cw=63710088e-1,Oa=function(P,V){if(isNaN(P)||isNaN(V))throw new Error("Invalid LngLat object: ("+P+", "+V+")");if(this.lng=+P,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Oa.prototype.wrap=function(){return new Oa(c(this.lng,-180,180),this.lat)},Oa.prototype.toArray=function(){return[this.lng,this.lat]},Oa.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Oa.prototype.distanceTo=function(P){var V=Math.PI/180,J=this.lat*V,fe=P.lat*V,Ae=Math.sin(J)*Math.sin(fe)+Math.cos(J)*Math.cos(fe)*Math.cos((P.lng-this.lng)*V);return Cw*Math.acos(Math.min(Ae,1))},Oa.prototype.toBounds=function(P){P===void 0&&(P=0);var V=360*P/40075017,J=V/Math.cos(Math.PI/180*this.lat);return new To(new Oa(this.lng-J,this.lat-V),new Oa(this.lng+J,this.lat+V))},Oa.convert=function(P){if(P instanceof Oa)return P;if(Array.isArray(P)&&(P.length===2||P.length===3))return new Oa(Number(P[0]),Number(P[1]));if(!Array.isArray(P)&&typeof P=="object"&&P!==null)return new Oa(Number("lng"in P?P.lng:P.lon),Number(P.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var Ew=2*Math.PI*Cw;function Lw(P){return Ew*Math.cos(P*Math.PI/180)}function Iw(P){return(180+P)/360}function Ow(P){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+P*Math.PI/360)))/360}function Pw(P,V){return P/Lw(V)}function z1(P){var V=180-360*P;return 360/Math.PI*Math.atan(Math.exp(V*Math.PI/180))-90}var ud=function(P,V,J){J===void 0&&(J=0),this.x=+P,this.y=+V,this.z=+J};ud.fromLngLat=function(P,V){V===void 0&&(V=0);var J=Oa.convert(P);return new ud(Iw(J.lng),Ow(J.lat),Pw(V,J.lat))},ud.prototype.toLngLat=function(){return new Oa(360*this.x-180,z1(this.y))},ud.prototype.toAltitude=function(){return P=this.z,V=this.y,P*Lw(z1(V));var P,V},ud.prototype.meterInMercatorCoordinateUnits=function(){return 1/Ew*(P=z1(this.y),1/Math.cos(P*Math.PI/180));var P};var cd=function(P,V,J){this.z=P,this.x=V,this.y=J,this.key=j0(0,P,P,V,J)};cd.prototype.equals=function(P){return this.z===P.z&&this.x===P.x&&this.y===P.y},cd.prototype.url=function(P,V){var J,fe,Ae,Re,Ge,it=(J=this.x,fe=this.y,Ae=this.z,Re=Sw(256*J,256*(fe=Math.pow(2,Ae)-fe-1),Ae),Ge=Sw(256*(J+1),256*(fe+1),Ae),Re[0]+","+Re[1]+","+Ge[0]+","+Ge[1]),pt=function(Ct,Dt,Gt){for(var Zt,$t="",hn=Ct;hn>0;hn--)$t+=(Dt&(Zt=1<this.canonical.z?new ko(P,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ko(P,this.wrap,P,this.canonical.x>>V,this.canonical.y>>V)},ko.prototype.calculateScaledKey=function(P,V){var J=this.canonical.z-P;return P>this.canonical.z?j0(this.wrap*+V,P,this.canonical.z,this.canonical.x,this.canonical.y):j0(this.wrap*+V,P,P,this.canonical.x>>J,this.canonical.y>>J)},ko.prototype.isChildOf=function(P){if(P.wrap!==this.wrap)return!1;var V=this.canonical.z-P.canonical.z;return P.overscaledZ===0||P.overscaledZ>V&&P.canonical.y===this.canonical.y>>V},ko.prototype.children=function(P){if(this.overscaledZ>=P)return[new ko(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,J=2*this.canonical.x,fe=2*this.canonical.y;return[new ko(V,this.wrap,V,J,fe),new ko(V,this.wrap,V,J+1,fe),new ko(V,this.wrap,V,J,fe+1),new ko(V,this.wrap,V,J+1,fe+1)]},ko.prototype.isLessThan=function(P){return this.wrapP.wrap)&&(this.overscaledZP.overscaledZ)&&(this.canonical.xP.canonical.x)&&this.canonical.y=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(P+1)},Nf.prototype._unpackMapbox=function(P,V,J){return(256*P*256+256*V+J)/10-1e4},Nf.prototype._unpackTerrarium=function(P,V,J){return 256*P+V+J/256-32768},Nf.prototype.getPixels=function(){return new qs({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Nf.prototype.backfillBorder=function(P,V,J){if(this.dim!==P.dim)throw new Error("dem dimension mismatch");var fe=V*this.dim,Ae=V*this.dim+this.dim,Re=J*this.dim,Ge=J*this.dim+this.dim;switch(V){case-1:fe=Ae-1;break;case 1:Ae=fe+1}switch(J){case-1:Re=Ge-1;break;case 1:Ge=Re+1}for(var it=-V*this.dim,pt=-J*this.dim,Ct=Re;Ct=0&&Dt[3]>=0&&it.insert(Ge,Dt[0],Dt[1],Dt[2],Dt[3])}},Vf.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new sp.VectorTile(new _g(this.rawTileData)).layers,this.sourceLayerCoder=new Pg(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Vf.prototype.query=function(P,V,J,fe){var Ae=this;this.loadVTLayers();for(var Re=P.params||{},Ge=ui/P.tileSize/P.scale,it=bc(Re.filter),pt=P.queryGeometry,Ct=P.queryPadding*Ge,Dt=zw(pt),Gt=this.grid.query(Dt.minX-Ct,Dt.minY-Ct,Dt.maxX+Ct,Dt.maxY+Ct),Zt=zw(P.cameraQueryGeometry),$t=0,hn=this.grid3D.query(Zt.minX-Ct,Zt.minY-Ct,Zt.maxX+Ct,Zt.maxY+Ct,function(er,sr,hr,Or){return function(Tr,Nr,Zr,fi,Jr){for(var ci=0,ri=Tr;ci=Kr.x&&Jr>=Kr.y)return!0}var Di=[new a(Nr,Zr),new a(Nr,Jr),new a(fi,Jr),new a(fi,Zr)];if(Tr.length>2){for(var pi=0,va=Di;pi=0)return!0;return!1}(Re,Gt)){var Zt=this.sourceLayerCoder.decode(J),$t=this.vtLayers[Zt].feature(fe);if(Ae.filter(new qi(this.tileID.overscaledZ),$t))for(var hn=this.getId($t,Zt),Mn=0;Mnfe)Ae=!1;else if(V)if(this.expirationTimege&&(P.getActor().send("enforceCacheSizeLimit",je),st=0)},i.clamp=f,i.clearTileCache=function(P){var V=self.caches.delete(ze);P&&V.catch(P).then(function(){return P()})},i.clipLine=vw,i.clone=function(P){var V=new Fl(16);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V[3]=P[3],V[4]=P[4],V[5]=P[5],V[6]=P[6],V[7]=P[7],V[8]=P[8],V[9]=P[9],V[10]=P[10],V[11]=P[11],V[12]=P[12],V[13]=P[13],V[14]=P[14],V[15]=P[15],V},i.clone$1=L,i.clone$2=function(P){var V=new Fl(3);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V},i.collisionCircleLayout=lC,i.config=Z,i.create=function(){var P=new Fl(16);return Fl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[11]=0,P[12]=0,P[13]=0,P[14]=0),P[0]=1,P[5]=1,P[10]=1,P[15]=1,P},i.create$1=function(){var P=new Fl(9);return Fl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[5]=0,P[6]=0,P[7]=0),P[0]=1,P[4]=1,P[8]=1,P},i.create$2=function(){var P=new Fl(4);return Fl!=Float32Array&&(P[1]=0,P[2]=0),P[0]=1,P[3]=1,P},i.createCommonjsModule=M,i.createExpression=dc,i.createLayout=la,i.createStyleLayer=function(P){return P.type==="custom"?new VC(P):new jC[P.type](P)},i.cross=function(P,V,J){var fe=V[0],Ae=V[1],Re=V[2],Ge=J[0],it=J[1],pt=J[2];return P[0]=Ae*pt-Re*it,P[1]=Re*Ge-fe*pt,P[2]=fe*it-Ae*Ge,P},i.deepEqual=function P(V,J){if(Array.isArray(V)){if(!Array.isArray(J)||V.length!==J.length)return!1;for(var fe=0;fe0&&(Re=1/Math.sqrt(Re)),P[0]=V[0]*Re,P[1]=V[1]*Re,P[2]=V[2]*Re,P},i.number=zr,i.offscreenCanvasSupported=ot,i.ortho=function(P,V,J,fe,Ae,Re,Ge){var it=1/(V-J),pt=1/(fe-Ae),Ct=1/(Re-Ge);return P[0]=-2*it,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=-2*pt,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=2*Ct,P[11]=0,P[12]=(V+J)*it,P[13]=(Ae+fe)*pt,P[14]=(Ge+Re)*Ct,P[15]=1,P},i.parseGlyphPBF=function(P){return new _g(P).readFields(bC,[])},i.pbf=_g,i.performSymbolLayout=function(P,V,J,fe,Ae,Re,Ge){P.createArrays();var it=512*P.overscaling;P.tilePixelRatio=ui/it,P.compareText={},P.iconsNeedLinear=!1;var pt=P.layers[0].layout,Ct=P.layers[0]._unevaluatedLayout._values,Dt={};if(P.textSizeData.kind==="composite"){var Gt=P.textSizeData,Zt=Gt.minZoom,$t=Gt.maxZoom;Dt.compositeTextSizes=[Ct["text-size"].possiblyEvaluate(new qi(Zt),Ge),Ct["text-size"].possiblyEvaluate(new qi($t),Ge)]}if(P.iconSizeData.kind==="composite"){var hn=P.iconSizeData,Mn=hn.minZoom,Nn=hn.maxZoom;Dt.compositeIconSizes=[Ct["icon-size"].possiblyEvaluate(new qi(Mn),Ge),Ct["icon-size"].possiblyEvaluate(new qi(Nn),Ge)]}Dt.layoutTextSize=Ct["text-size"].possiblyEvaluate(new qi(P.zoom+1),Ge),Dt.layoutIconSize=Ct["icon-size"].possiblyEvaluate(new qi(P.zoom+1),Ge),Dt.textMaxSize=Ct["text-size"].possiblyEvaluate(new qi(18));for(var Bn=pt.get("text-line-height")*ss,qn=pt.get("text-rotation-alignment")==="map"&&pt.get("symbol-placement")!=="point",Zn=pt.get("text-keep-upright"),er=pt.get("text-size"),sr=function(){var Tr=Or[hr],Nr=pt.get("text-font").evaluate(Tr,{},Ge).join(","),Zr=er.evaluate(Tr,{},Ge),fi=Dt.layoutTextSize.evaluate(Tr,{},Ge),Jr=Dt.layoutIconSize.evaluate(Tr,{},Ge),ci={horizontal:{},vertical:void 0},ri=Tr.text,Kr=[0,0];if(ri){var Di=ri.toString(),pi=pt.get("text-letter-spacing").evaluate(Tr,{},Ge)*ss,va=function(mi){for(var Gi=0,Ka=mi;Gi=ui||X0.y<0||X0.y>=ui||function(ro,Ac,GC,Ah,W1,Uw,Gg,Jc,Wg,K0,qg,Yg,q1,Hw,J0,Gw,Ww,qw,Yw,$w,Nl,$g,Zw,Qc,WC){var Xw,gd,_p,wp,Tp,kp=ro.addToLineVertexArray(Ac,GC),Kw=0,Jw=0,Qw=0,e3=0,Y1=-1,$1=-1,Uf={},t3=Fn(""),Z1=0,X1=0;if(Jc._unevaluatedLayout.getValue("text-radial-offset")===void 0?(Z1=(Xw=Jc.layout.get("text-offset").evaluate(Nl,{},Qc).map(function(em){return em*ss}))[0],X1=Xw[1]):(Z1=Jc.layout.get("text-radial-offset").evaluate(Nl,{},Qc)*ss,X1=I1),ro.allowVerticalPlacement&&Ah.vertical){var n3=Jc.layout.get("text-rotate").evaluate(Nl,{},Qc)+90,qC=Ah.vertical;wp=new Lg(Wg,Ac,K0,qg,Yg,qC,q1,Hw,J0,n3),Gg&&(Tp=new Lg(Wg,Ac,K0,qg,Yg,Gg,Ww,qw,J0,n3))}if(W1){var K1=Jc.layout.get("icon-rotate").evaluate(Nl,{}),r3=Jc.layout.get("icon-text-fit")!=="none",i3=yw(W1,K1,Zw,r3),J1=Gg?yw(Gg,K1,Zw,r3):void 0;_p=new Lg(Wg,Ac,K0,qg,Yg,W1,Ww,qw,!1,K1),Kw=4*i3.length;var a3=ro.iconSizeData,Q0=null;a3.kind==="source"?(Q0=[Kc*Jc.layout.get("icon-size").evaluate(Nl,{})])[0]>kh&&O(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):a3.kind==="composite"&&((Q0=[Kc*$g.compositeIconSizes[0].evaluate(Nl,{},Qc),Kc*$g.compositeIconSizes[1].evaluate(Nl,{},Qc)])[0]>kh||Q0[1]>kh)&&O(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),ro.addSymbols(ro.icon,i3,Q0,$w,Yw,Nl,!1,Ac,kp.lineStartIndex,kp.lineLength,-1,Qc),Y1=ro.icon.placedSymbolArray.length-1,J1&&(Jw=4*J1.length,ro.addSymbols(ro.icon,J1,Q0,$w,Yw,Nl,Bl.vertical,Ac,kp.lineStartIndex,kp.lineLength,-1,Qc),$1=ro.icon.placedSymbolArray.length-1)}for(var o3 in Ah.horizontal){var Zg=Ah.horizontal[o3];if(!gd){t3=Fn(Zg.text);var YC=Jc.layout.get("text-rotate").evaluate(Nl,{},Qc);gd=new Lg(Wg,Ac,K0,qg,Yg,Zg,q1,Hw,J0,YC)}var s3=Zg.positionedLines.length===1;if(Qw+=_w(ro,Ac,Zg,Uw,Jc,J0,Nl,Gw,kp,Ah.vertical?Bl.horizontal:Bl.horizontalOnly,s3?Object.keys(Ah.horizontal):[o3],Uf,Y1,$g,Qc),s3)break}Ah.vertical&&(e3+=_w(ro,Ac,Ah.vertical,Uw,Jc,J0,Nl,Gw,kp,Bl.vertical,["vertical"],Uf,$1,$g,Qc));var $C=gd?gd.boxStartIndex:ro.collisionBoxArray.length,ZC=gd?gd.boxEndIndex:ro.collisionBoxArray.length,XC=wp?wp.boxStartIndex:ro.collisionBoxArray.length,KC=wp?wp.boxEndIndex:ro.collisionBoxArray.length,JC=_p?_p.boxStartIndex:ro.collisionBoxArray.length,QC=_p?_p.boxEndIndex:ro.collisionBoxArray.length,e8=Tp?Tp.boxStartIndex:ro.collisionBoxArray.length,t8=Tp?Tp.boxEndIndex:ro.collisionBoxArray.length,ef=-1,Xg=function(em,u3){return em&&em.circleDiameter?Math.max(em.circleDiameter,u3):u3};ef=Xg(gd,ef),ef=Xg(wp,ef),ef=Xg(_p,ef);var l3=(ef=Xg(Tp,ef))>-1?1:0;l3&&(ef*=WC/ss),ro.glyphOffsetArray.length>=fa.MAX_GLYPHS&&O("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Nl.sortKey!==void 0&&ro.addToSortKeyRanges(ro.symbolInstances.length,Nl.sortKey),ro.symbolInstances.emplaceBack(Ac.x,Ac.y,Uf.right>=0?Uf.right:-1,Uf.center>=0?Uf.center:-1,Uf.left>=0?Uf.left:-1,Uf.vertical||-1,Y1,$1,t3,$C,ZC,XC,KC,JC,QC,e8,t8,K0,Qw,e3,Kw,Jw,l3,0,q1,Z1,X1,ef)}(mi,X0,HC,Ka,ma,Ga,jf,mi.layers[0],mi.collisionBoxArray,Gi.index,Gi.sourceLayerIndex,mi.index,Dg,B1,Bg,Ds,zg,Fg,Ng,Mc,Gi,Ra,pl,ks,$i)};if(H0==="line")for(var bp=0,Vg=vw(Gi.geometry,0,0,ui,ui);bp1){var Y0=MC(pd,yp,Ka.vertical||Uu,ma,Hu,hd);Y0&&dd(pd,Y0)}}else if(Gi.type==="Polygon")for(var md=0,$0=w1(Gi.geometry,0);md<$0.length;md+=1){var Z0=$0[md],Bw=CC(Z0,16);dd(Z0[0],new fp(Bw.x,Bw.y,0))}else if(Gi.type==="LineString")for(var V1=0,Nw=Gi.geometry;V1=An.maxzoom||An.visibility!=="none"&&(u(un,this.zoom,We),(Lt[An.id]=An.createBucket({index:Qe.bucketLayerIDs.length,layers:un,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Nt,sourceID:this.source})).populate(Yt,yt,this.tileID.canonical),Qe.bucketLayerIDs.push(un.map(function(dn){return dn.id})))}}}var Yn=i.mapObject(yt.glyphDependencies,function(dn){return Object.keys(dn).map(Number)});Object.keys(Yn).length?nt.send("getGlyphs",{uid:this.uid,stacks:Yn},function(dn,pn){ut||(ut=dn,dt=pn,Tn.call(Oe))}):dt={};var kn=Object.keys(yt.iconDependencies);kn.length?nt.send("getImages",{icons:kn,source:this.source,tileID:this.tileID,type:"icons"},function(dn,pn){ut||(ut=dn,_t=pn,Tn.call(Oe))}):_t={};var sn=Object.keys(yt.patternDependencies);function Tn(){if(ut)return ht(ut);if(dt&&_t&&It){var dn=new l(dt),pn=new i.ImageAtlas(_t,It);for(var Dn in Lt){var In=Lt[Dn];In instanceof i.SymbolBucket?(u(In.layers,this.zoom,We),i.performSymbolLayout(In,dt,dn.positions,_t,pn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):In.hasPattern&&(In instanceof i.LineBucket||In instanceof i.FillBucket||In instanceof i.FillExtrusionBucket)&&(u(In.layers,this.zoom,We),In.addFeatures(yt,this.tileID.canonical,pn.patternPositions))}this.status="done",ht(null,{buckets:i.values(Lt).filter(function(jn){return!jn.isEmpty()}),featureIndex:Qe,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:dn.image,imageAtlas:pn,glyphMap:this.returnDependencies?dt:null,iconMap:this.returnDependencies?_t:null,glyphPositions:this.returnDependencies?dn.positions:null})}}sn.length?nt.send("getImages",{icons:sn,source:this.source,tileID:this.tileID,type:"patterns"},function(dn,pn){ut||(ut=dn,It=pn,Tn.call(Oe))}):It={},Tn.call(this)};var s=function(Ke,Je,We,nt){this.actor=Ke,this.layerIndex=Je,this.availableImages=We,this.loadVectorData=nt||o,this.loading={},this.loaded={}};s.prototype.loadTile=function(Ke,Je){var We=this,nt=Ke.uid;this.loading||(this.loading={});var ht=!!(Ke&&Ke.request&&Ke.request.collectResourceTiming)&&new i.RequestPerformance(Ke.request),Oe=this.loading[nt]=new a(Ke);Oe.abort=this.loadVectorData(Ke,function(Ne,Qe){if(delete We.loading[nt],Ne||!Qe)return Oe.status="done",We.loaded[nt]=Oe,Je(Ne);var ut=Qe.rawData,dt={};Qe.expires&&(dt.expires=Qe.expires),Qe.cacheControl&&(dt.cacheControl=Qe.cacheControl);var _t={};if(ht){var It=ht.finish();It&&(_t.resourceTiming=JSON.parse(JSON.stringify(It)))}Oe.vectorTile=Qe.vectorTile,Oe.parse(Qe.vectorTile,We.layerIndex,We.availableImages,We.actor,function(Lt,yt){if(Lt||!yt)return Je(Lt);Je(null,i.extend({rawTileData:ut.slice(0)},yt,dt,_t))}),We.loaded=We.loaded||{},We.loaded[nt]=Oe})},s.prototype.reloadTile=function(Ke,Je){var We=this,nt=this.loaded,ht=Ke.uid,Oe=this;if(nt&&nt[ht]){var Ne=nt[ht];Ne.showCollisionBoxes=Ke.showCollisionBoxes;var Qe=function(ut,dt){var _t=Ne.reloadCallback;_t&&(delete Ne.reloadCallback,Ne.parse(Ne.vectorTile,Oe.layerIndex,We.availableImages,Oe.actor,_t)),Je(ut,dt)};Ne.status==="parsing"?Ne.reloadCallback=Qe:Ne.status==="done"&&(Ne.vectorTile?Ne.parse(Ne.vectorTile,this.layerIndex,this.availableImages,this.actor,Qe):Qe())}},s.prototype.abortTile=function(Ke,Je){var We=this.loading,nt=Ke.uid;We&&We[nt]&&We[nt].abort&&(We[nt].abort(),delete We[nt]),Je()},s.prototype.removeTile=function(Ke,Je){var We=this.loaded,nt=Ke.uid;We&&We[nt]&&delete We[nt],Je()};var f=i.window.ImageBitmap,c=function(){this.loaded={}};c.prototype.loadTile=function(Ke,Je){var We=Ke.uid,nt=Ke.encoding,ht=Ke.rawImageData,Oe=f&&ht instanceof f?this.getImageData(ht):ht,Ne=new i.DEMData(We,Oe,nt);this.loaded=this.loaded||{},this.loaded[We]=Ne,Je(null,Ne)},c.prototype.getImageData=function(Ke){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(Ke.width,Ke.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ke.width,this.offscreenCanvas.height=Ke.height,this.offscreenCanvasContext.drawImage(Ke,0,0,Ke.width,Ke.height);var Je=this.offscreenCanvasContext.getImageData(-1,-1,Ke.width+2,Ke.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Je.width,height:Je.height},Je.data)},c.prototype.removeTile=function(Ke){var Je=this.loaded,We=Ke.uid;Je&&Je[We]&&delete Je[We]};var p=function Ke(Je,We){var nt,ht=Je&&Je.type;if(ht==="FeatureCollection")for(nt=0;nt=0!=!!Je&&Ke.reverse()}var S=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,x=function(Ke){this._feature=Ke,this.extent=i.EXTENT,this.type=Ke.type,this.properties=Ke.tags,"id"in Ke&&!isNaN(Ke.id)&&(this.id=parseInt(Ke.id,10))};x.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ke=[],Je=0,We=this._feature.geometry;Je>31}function $(Ke,Je){for(var We=Ke.loadGeometry(),nt=Ke.type,ht=0,Oe=0,Ne=We.length,Qe=0;Qe>1;W(Ke,Je,Ne,nt,ht,Oe%2),G(Ke,Je,We,nt,Ne-1,Oe+1),G(Ke,Je,We,Ne+1,ht,Oe+1)}}function W(Ke,Je,We,nt,ht,Oe){for(;ht>nt;){if(ht-nt>600){var Ne=ht-nt+1,Qe=We-nt+1,ut=Math.log(Ne),dt=.5*Math.exp(2*ut/3),_t=.5*Math.sqrt(ut*dt*(Ne-dt)/Ne)*(Qe-Ne/2<0?-1:1);W(Ke,Je,We,Math.max(nt,Math.floor(We-Qe*dt/Ne+_t)),Math.min(ht,Math.floor(We+(Ne-Qe)*dt/Ne+_t)),Oe)}var It=Je[2*We+Oe],Lt=nt,yt=ht;for(H(Ke,Je,nt,We),Je[2*ht+Oe]>It&&H(Ke,Je,nt,ht);LtIt;)yt--}Je[2*nt+Oe]===It?H(Ke,Je,nt,yt):H(Ke,Je,++yt,ht),yt<=We&&(nt=yt+1),We<=yt&&(ht=yt-1)}}function H(Ke,Je,We,nt){ne(Ke,We,nt),ne(Je,2*We,2*nt),ne(Je,2*We+1,2*nt+1)}function ne(Ke,Je,We){var nt=Ke[Je];Ke[Je]=Ke[We],Ke[We]=nt}function te(Ke,Je,We,nt){var ht=Ke-We,Oe=Je-nt;return ht*ht+Oe*Oe}b.fromVectorTileJs=O,b.fromGeojsonVt=I,b.GeoJSONWrapper=R;var Z=function(Ke){return Ke[0]},X=function(Ke){return Ke[1]},Q=function(Ke,Je,We,nt,ht){Je===void 0&&(Je=Z),We===void 0&&(We=X),nt===void 0&&(nt=64),ht===void 0&&(ht=Float64Array),this.nodeSize=nt,this.points=Ke;for(var Oe=Ke.length<65536?Uint16Array:Uint32Array,Ne=this.ids=new Oe(Ke.length),Qe=this.coords=new ht(2*Ke.length),ut=0;ut=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ht[Yt]);else{var qt=Math.floor((Nt+Ot)/2);It=Oe[2*qt],Lt=Oe[2*qt+1],It>=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ht[qt]);var Xt=(wt+1)%2;(wt===0?Ne<=It:Qe<=Lt)&&(yt.push(Nt),yt.push(qt-1),yt.push(Xt)),(wt===0?ut>=It:dt>=Lt)&&(yt.push(qt+1),yt.push(Ot),yt.push(Xt))}}return Pt}(this.ids,this.coords,Ke,Je,We,nt,this.nodeSize)},Q.prototype.within=function(Ke,Je,We){return function(nt,ht,Oe,Ne,Qe,ut){for(var dt=[0,nt.length-1,0],_t=[],It=Qe*Qe;dt.length;){var Lt=dt.pop(),yt=dt.pop(),Pt=dt.pop();if(yt-Pt<=ut)for(var wt=Pt;wt<=yt;wt++)te(ht[2*wt],ht[2*wt+1],Oe,Ne)<=It&&_t.push(nt[wt]);else{var Ot=Math.floor((Pt+yt)/2),Nt=ht[2*Ot],Yt=ht[2*Ot+1];te(Nt,Yt,Oe,Ne)<=It&&_t.push(nt[Ot]);var qt=(Lt+1)%2;(Lt===0?Oe-Qe<=Nt:Ne-Qe<=Yt)&&(dt.push(Pt),dt.push(Ot-1),dt.push(qt)),(Lt===0?Oe+Qe>=Nt:Ne+Qe>=Yt)&&(dt.push(Ot+1),dt.push(yt),dt.push(qt))}}return _t}(this.ids,this.coords,Ke,Je,We,this.nodeSize)};var re={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(Ke){return Ke}},ie=function(Ke){this.options=pe(Object.create(re),Ke),this.trees=new Array(this.options.maxZoom+1)};function oe(Ke,Je,We,nt,ht){return{x:Ke,y:Je,zoom:1/0,id:We,parentId:-1,numPoints:nt,properties:ht}}function ue(Ke,Je){var We=Ke.geometry.coordinates,nt=We[0],ht=We[1];return{x:de(nt),y:me(ht),zoom:1/0,index:Je,parentId:-1}}function ce(Ke){return{type:"Feature",id:Ke.id,properties:ye(Ke),geometry:{type:"Point",coordinates:[(nt=Ke.x,360*(nt-.5)),(Je=Ke.y,We=(180-360*Je)*Math.PI/180,360*Math.atan(Math.exp(We))/Math.PI-90)]}};var Je,We,nt}function ye(Ke){var Je=Ke.numPoints,We=Je>=1e4?Math.round(Je/1e3)+"k":Je>=1e3?Math.round(Je/100)/10+"k":Je;return pe(pe({},Ke.properties),{cluster:!0,cluster_id:Ke.id,point_count:Je,point_count_abbreviated:We})}function de(Ke){return Ke/360+.5}function me(Ke){var Je=Math.sin(Ke*Math.PI/180),We=.5-.25*Math.log((1+Je)/(1-Je))/Math.PI;return We<0?0:We>1?1:We}function pe(Ke,Je){for(var We in Je)Ke[We]=Je[We];return Ke}function xe(Ke){return Ke.x}function Pe(Ke){return Ke.y}function _e(Ke,Je,We,nt){for(var ht,Oe=nt,Ne=We-Je>>1,Qe=We-Je,ut=Ke[Je],dt=Ke[Je+1],_t=Ke[We],It=Ke[We+1],Lt=Je+3;LtOe)ht=Lt,Oe=yt;else if(yt===Oe){var Pt=Math.abs(Lt-Ne);Ptnt&&(ht-Je>3&&_e(Ke,Je,ht,nt),Ke[ht+2]=Oe,We-ht>3&&_e(Ke,ht,We,nt))}function Me(Ke,Je,We,nt,ht,Oe){var Ne=ht-We,Qe=Oe-nt;if(Ne!==0||Qe!==0){var ut=((Ke-We)*Ne+(Je-nt)*Qe)/(Ne*Ne+Qe*Qe);ut>1?(We=ht,nt=Oe):ut>0&&(We+=Ne*ut,nt+=Qe*ut)}return(Ne=Ke-We)*Ne+(Qe=Je-nt)*Qe}function Se(Ke,Je,We,nt){var ht={id:Ke===void 0?null:Ke,type:Je,geometry:We,tags:nt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Oe){var Ne=Oe.geometry,Qe=Oe.type;if(Qe==="Point"||Qe==="MultiPoint"||Qe==="LineString")Ce(Oe,Ne);else if(Qe==="Polygon"||Qe==="MultiLineString")for(var ut=0;ut0&&(Ne+=nt?(ht*dt-ut*Oe)/2:Math.sqrt(Math.pow(ut-ht,2)+Math.pow(dt-Oe,2))),ht=ut,Oe=dt}var _t=Je.length-3;Je[2]=1,_e(Je,0,_t,We),Je[_t+2]=1,Je.size=Math.abs(Ne),Je.start=0,Je.end=Je.size}function ke(Ke,Je,We,nt){for(var ht=0;ht1?1:We}function ze(Ke,Je,We,nt,ht,Oe,Ne,Qe){if(nt/=Je,Oe>=(We/=Je)&&Ne=nt)return null;for(var ut=[],dt=0;dt=We&&Pt=nt)){var wt=[];if(Lt==="Point"||Lt==="MultiPoint")je(It,wt,We,nt,ht);else if(Lt==="LineString")ge(It,wt,We,nt,ht,!1,Qe.lineMetrics);else if(Lt==="MultiLineString")Ee(It,wt,We,nt,ht,!1);else if(Lt==="Polygon")Ee(It,wt,We,nt,ht,!0);else if(Lt==="MultiPolygon")for(var Ot=0;Ot=We&&Ne<=nt&&(Je.push(Ke[Oe]),Je.push(Ke[Oe+1]),Je.push(Ke[Oe+2]))}}function ge(Ke,Je,We,nt,ht,Oe,Ne){for(var Qe,ut,dt=we(Ke),_t=ht===0?$e:Ye,It=Ke.start,Lt=0;LtWe&&(ut=_t(dt,yt,Pt,Ot,Nt,We),Ne&&(dt.start=It+Qe*ut)):Yt>nt?qt=We&&(ut=_t(dt,yt,Pt,Ot,Nt,We),Xt=!0),qt>nt&&Yt<=nt&&(ut=_t(dt,yt,Pt,Ot,Nt,nt),Xt=!0),!Oe&&Xt&&(Ne&&(dt.end=It+Qe*ut),Je.push(dt),dt=we(Ke)),Ne&&(It+=Qe)}var Qt=Ke.length-3;yt=Ke[Qt],Pt=Ke[Qt+1],wt=Ke[Qt+2],(Yt=ht===0?yt:Pt)>=We&&Yt<=nt&&Ve(dt,yt,Pt,wt),Qt=dt.length-3,Oe&&Qt>=3&&(dt[Qt]!==dt[0]||dt[Qt+1]!==dt[1])&&Ve(dt,dt[0],dt[1],dt[2]),dt.length&&Je.push(dt)}function we(Ke){var Je=[];return Je.size=Ke.size,Je.start=Ke.start,Je.end=Ke.end,Je}function Ee(Ke,Je,We,nt,ht,Oe){for(var Ne=0;NeNe.maxX&&(Ne.maxX=_t),It>Ne.maxY&&(Ne.maxY=It)}return Ne}function kt(Ke,Je,We,nt){var ht=Je.geometry,Oe=Je.type,Ne=[];if(Oe==="Point"||Oe==="MultiPoint")for(var Qe=0;Qe0&&Je.size<(ht?Ne:nt))We.numPoints+=Je.length/3;else{for(var Qe=[],ut=0;utNe)&&(We.numSimplified++,Qe.push(Je[ut]),Qe.push(Je[ut+1])),We.numPoints++;ht&&function(dt,_t){for(var It=0,Lt=0,yt=dt.length,Pt=yt-2;Lt0===_t)for(Lt=0,yt=dt.length;Lt24)throw new Error("maxZoom should be in the 0-24 range");if(Je.promoteId&&Je.generateId)throw new Error("promoteId and generateId cannot be used together.");var nt=function(ht,Oe){var Ne=[];if(ht.type==="FeatureCollection")for(var Qe=0;Qe=nt;dt--){var _t=+Date.now();Qe=this._cluster(Qe,dt),this.trees[dt]=new Q(Qe,xe,Pe,Oe,Float32Array),We&&console.log("z%d: %d clusters in %dms",dt,Qe.length,+Date.now()-_t)}return We&&console.timeEnd("total time"),this},ie.prototype.getClusters=function(Ke,Je){var We=((Ke[0]+180)%360+360)%360-180,nt=Math.max(-90,Math.min(90,Ke[1])),ht=Ke[2]===180?180:((Ke[2]+180)%360+360)%360-180,Oe=Math.max(-90,Math.min(90,Ke[3]));if(Ke[2]-Ke[0]>=360)We=-180,ht=180;else if(We>ht){var Ne=this.getClusters([We,nt,180,Oe],Je),Qe=this.getClusters([-180,nt,ht,Oe],Je);return Ne.concat(Qe)}for(var ut=this.trees[this._limitZoom(Je)],dt=[],_t=0,It=ut.range(de(We),me(Oe),de(ht),me(nt));_t1?this._map(dt,!0):null,Ot=(ut<<5)+(Je+1)+this.points.length,Nt=0,Yt=It;Nt>5},ie.prototype._getOriginZoom=function(Ke){return(Ke-this.points.length)%32},ie.prototype._map=function(Ke,Je){if(Ke.numPoints)return Je?pe({},Ke.properties):Ke.properties;var We=this.points[Ke.index].properties,nt=this.options.map(We);return Je&&nt===We?pe({},nt):nt},Ft.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ft.prototype.splitTile=function(Ke,Je,We,nt,ht,Oe,Ne){for(var Qe=[Ke,Je,We,nt],ut=this.options,dt=ut.debug;Qe.length;){nt=Qe.pop(),We=Qe.pop(),Je=Qe.pop(),Ke=Qe.pop();var _t=1<1&&console.time("creation"),Lt=this.tiles[It]=Et(Ke,Je,We,nt,ut),this.tileCoords.push({z:Je,x:We,y:nt}),dt)){dt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Je,We,nt,Lt.numFeatures,Lt.numPoints,Lt.numSimplified),console.timeEnd("creation"));var yt="z"+Je;this.stats[yt]=(this.stats[yt]||0)+1,this.total++}if(Lt.source=Ke,ht){if(Je===ut.maxZoom||Je===ht)continue;var Pt=1<1&&console.time("clipping");var wt,Ot,Nt,Yt,qt,Xt,Qt=.5*ut.buffer/ut.extent,rn=.5-Qt,xn=.5+Qt,un=1+Qt;wt=Ot=Nt=Yt=null,qt=ze(Ke,_t,We-Qt,We+xn,0,Lt.minX,Lt.maxX,ut),Xt=ze(Ke,_t,We+rn,We+un,0,Lt.minX,Lt.maxX,ut),Ke=null,qt&&(wt=ze(qt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Ot=ze(qt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),qt=null),Xt&&(Nt=ze(Xt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Yt=ze(Xt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Xt=null),dt>1&&console.timeEnd("clipping"),Qe.push(wt||[],Je+1,2*We,2*nt),Qe.push(Ot||[],Je+1,2*We,2*nt+1),Qe.push(Nt||[],Je+1,2*We+1,2*nt),Qe.push(Yt||[],Je+1,2*We+1,2*nt+1)}}},Ft.prototype.getTile=function(Ke,Je,We){var nt=this.options,ht=nt.extent,Oe=nt.debug;if(Ke<0||Ke>24)return null;var Ne=1<1&&console.log("drilling down to z%d-%d-%d",Ke,Je,We);for(var ut,dt=Ke,_t=Je,It=We;!ut&&dt>0;)dt--,_t=Math.floor(_t/2),It=Math.floor(It/2),ut=this.tiles[Rt(dt,_t,It)];return ut&&ut.source?(Oe>1&&console.log("found parent tile z%d-%d-%d",dt,_t,It),Oe>1&&console.time("drilling down"),this.splitTile(ut.source,dt,_t,It,Ke,Je,We),Oe>1&&console.timeEnd("drilling down"),this.tiles[Qe]?ft(this.tiles[Qe],ht):null):null};var Wt=function(Ke){function Je(We,nt,ht,Oe){Ke.call(this,We,nt,ht,Bt),Oe&&(this.loadGeoJSON=Oe)}return Ke&&(Je.__proto__=Ke),Je.prototype=Object.create(Ke&&Ke.prototype),Je.prototype.constructor=Je,Je.prototype.loadData=function(We,nt){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=nt,this._pendingLoadDataParams=We,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},Je.prototype._loadData=function(){var We=this;if(this._pendingCallback&&this._pendingLoadDataParams){var nt=this._pendingCallback,ht=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Oe=!!(ht&&ht.request&&ht.request.collectResourceTiming)&&new i.RequestPerformance(ht.request);this.loadGeoJSON(ht,function(Ne,Qe){if(Ne||!Qe)return nt(Ne);if(typeof Qe!="object")return nt(new Error("Input data given to '"+ht.source+"' is not a valid GeoJSON object."));p(Qe,!0);try{We._geoJSONIndex=ht.cluster?new ie(function(_t){var It=_t.superclusterOptions,Lt=_t.clusterProperties;if(!Lt||!It)return It;for(var yt={},Pt={},wt={accumulated:null,zoom:0},Ot={properties:null},Nt=Object.keys(Lt),Yt=0,qt=Nt;Yt=0?0:Y.button},g.remove=function(Y){Y.parentNode&&Y.parentNode.removeChild(Y)};var w=function(Y){function ee(){Y.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.isLoaded=function(){return this.loaded},ee.prototype.setLoaded=function(K){if(this.loaded!==K&&(this.loaded=K,K)){for(var le=0,Te=this.requestors;le=0?1.2:1))}function C(Y,ee,K,le,Te,De,He){for(var Ze=0;Ze65535)Tt(new Error("glyphs > 65535 not supported"));else if(ve.ranges[Fe])Tt(null,{stack:At,id:se,glyph:Ie});else{var Ue=ve.requests[Fe];Ue||(Ue=ve.requests[Fe]=[],A.loadGlyphRange(At,Fe,K.url,K.requestManager,function(qe,Xe){if(Xe){for(var tt in Xe)K._doesCharSupportLocalGlyph(+tt)||(ve.glyphs[+tt]=Xe[+tt]);ve.ranges[Fe]=!0}for(var lt=0,mt=Ue;lt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=void 0,Fe=Te/K*(le+1);if(at.isDash){var Ue=le-Math.abs(Fe);Ie=Math.sqrt(ve*ve+Ue*Ue)}else Ie=le-Math.sqrt(ve*ve+Fe*Fe);this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},R.prototype.addRegularDash=function(Y){for(var ee=Y.length-1;ee>=0;--ee){var K=Y[ee],le=Y[ee+1];K.zeroLength?Y.splice(ee,1):le&&le.isDash===K.isDash&&(le.left=K.left,Y.splice(ee,1))}var Te=Y[0],De=Y[Y.length-1];Te.isDash===De.isDash&&(Te.left=De.left-this.width,De.right=Te.right+this.width);for(var He=this.width*this.nextRow,Ze=0,at=Y[Ze],Tt=0;Tt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=at.isDash?ve:-ve;this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},R.prototype.addDash=function(Y,ee){var K=ee?7:0,le=2*K+1;if(this.nextRow+le>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Te=0,De=0;De=K&&Y.x=le&&Y.y0&&(Tt[new i.OverscaledTileID(K.overscaledZ,He,le.z,De,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,K.wrap,le.z,le.x,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,at,le.z,Ze,le.y-1).key]={backfilled:!1}),le.y+10&&(Te.resourceTiming=K._resourceTiming,K._resourceTiming=[]),K.fire(new i.Event("data",Te))}})},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setData=function(K){var le=this;return this._data=K,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Te){if(Te)le.fire(new i.ErrorEvent(Te));else{var De={dataType:"source",sourceDataType:"content"};le._collectResourceTiming&&le._resourceTiming&&le._resourceTiming.length>0&&(De.resourceTiming=le._resourceTiming,le._resourceTiming=[]),le.fire(new i.Event("data",De))}}),this},ee.prototype.getClusterExpansionZoom=function(K,le){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterChildren=function(K,le){return this.actor.send("geojson.getClusterChildren",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterLeaves=function(K,le,Te,De){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:K,limit:le,offset:Te},De),this},ee.prototype._updateWorkerData=function(K){var le=this;this._loaded=!1;var Te=i.extend({},this.workerOptions),De=this._data;typeof De=="string"?(Te.request=this.map._requestManager.transformRequest(i.browser.resolveURL(De),i.ResourceType.Source),Te.request.collectResourceTiming=this._collectResourceTiming):Te.data=JSON.stringify(De),this.actor.send(this.type+".loadData",Te,function(He,Ze){le._removed||Ze&&Ze.abandoned||(le._loaded=!0,Ze&&Ze.resourceTiming&&Ze.resourceTiming[le.id]&&(le._resourceTiming=Ze.resourceTiming[le.id].slice(0)),le.actor.send(le.type+".coalesce",{source:Te.source},null),K(He))})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.loadTile=function(K,le){var Te=this,De=K.actor?"reloadTile":"loadTile";K.actor=this.actor;var He={type:this.type,uid:K.uid,tileID:K.tileID,zoom:K.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};K.request=this.actor.send(De,He,function(Ze,at){return delete K.request,K.unloadVectorData(),K.aborted?le(null):Ze?le(Ze):(K.loadVectorData(at,Te.map.painter,De==="reloadTile"),le(null))})},ee.prototype.abortTile=function(K){K.request&&(K.request.cancel(),delete K.request),K.aborted=!0},ee.prototype.unloadTile=function(K){K.unloadVectorData(),this.actor.send("removeTile",{uid:K.uid,type:this.type,source:this.id})},ee.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ee.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ee.prototype.hasTransition=function(){return!1},ee}(i.Evented),U=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),G=function(Y){function ee(K,le,Te,De){Y.call(this),this.id=K,this.dispatcher=Te,this.coordinates=le.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(De),this.options=le}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(K,le){var Te=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(De,He){Te._loaded=!0,De?Te.fire(new i.ErrorEvent(De)):He&&(Te.image=He,K&&(Te.coordinates=K),le&&le(),Te._finishLoading())})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.updateImage=function(K){var le=this;return this.image&&K.url?(this.options.url=K.url,this.load(K.coordinates,function(){le.texture=null}),this):this},ee.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setCoordinates=function(K){var le=this;this.coordinates=K;var Te=K.map(i.MercatorCoordinate.fromLngLat);this.tileID=function(He){for(var Ze=1/0,at=1/0,Tt=-1/0,At=-1/0,se=0,ve=He;sele.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+le.start(0)+" and "+le.end(0)+"-second mark."))):this.video.currentTime=K}},ee.prototype.getVideo=function(){return this.video},ee.prototype.onAdd=function(K){this.map||(this.map=K,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ee.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var K=this.map.painter.context,le=K.gl;for(var Te in this.boundsBuffer||(this.boundsBuffer=K.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE),le.texSubImage2D(le.TEXTURE_2D,0,0,0,le.RGBA,le.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(K,this.video,le.RGBA),this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE)),this.tiles){var De=this.tiles[Te];De.state!=="loaded"&&(De.state="loaded",De.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this.video&&!this.video.paused},ee}(G),H=function(Y){function ee(K,le,Te,De){Y.call(this,K,le,Te,De),le.coordinates?Array.isArray(le.coordinates)&&le.coordinates.length===4&&!le.coordinates.some(function(He){return!Array.isArray(He)||He.length!==2||He.some(function(Ze){return typeof Ze!="number"})})||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "coordinates"'))),le.animate&&typeof le.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'optional "animate" property must be a boolean value'))),le.canvas?typeof le.canvas=="string"||le.canvas instanceof i.window.HTMLCanvasElement||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "canvas"'))),this.options=le,this.animate=le.animate===void 0||le.animate}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new i.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},ee.prototype.getCanvas=function(){return this.canvas},ee.prototype.onAdd=function(K){this.map=K,this.load(),this.canvas&&this.animate&&this.play()},ee.prototype.onRemove=function(){this.pause()},ee.prototype.prepare=function(){var K=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,K=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,K=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var le=this.map.painter.context,Te=le.gl;for(var De in this.boundsBuffer||(this.boundsBuffer=le.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(K||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(le,this.canvas,Te.RGBA,{premultiply:!0}),this.tiles){var He=this.tiles[De];He.state!=="loaded"&&(He.state="loaded",He.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this._playing},ee.prototype._hasInvalidDimensions=function(){for(var K=0,le=[this.canvas.width,this.canvas.height];Kthis.max){var He=this._getAndRemoveByKey(this.order[0]);He&&this.onRemove(He)}return this},Q.prototype.has=function(Y){return Y.wrapped().key in this.data},Q.prototype.getAndRemove=function(Y){return this.has(Y)?this._getAndRemoveByKey(Y.wrapped().key):null},Q.prototype._getAndRemoveByKey=function(Y){var ee=this.data[Y].shift();return ee.timeout&&clearTimeout(ee.timeout),this.data[Y].length===0&&delete this.data[Y],this.order.splice(this.order.indexOf(Y),1),ee.value},Q.prototype.getByKey=function(Y){var ee=this.data[Y];return ee?ee[0].value:null},Q.prototype.get=function(Y){return this.has(Y)?this.data[Y.wrapped().key][0].value:null},Q.prototype.remove=function(Y,ee){if(!this.has(Y))return this;var K=Y.wrapped().key,le=ee===void 0?0:this.data[K].indexOf(ee),Te=this.data[K][le];return this.data[K].splice(le,1),Te.timeout&&clearTimeout(Te.timeout),this.data[K].length===0&&delete this.data[K],this.onRemove(Te.value),this.order.splice(this.order.indexOf(K),1),this},Q.prototype.setMaxSize=function(Y){for(this.max=Y;this.order.length>this.max;){var ee=this._getAndRemoveByKey(this.order[0]);ee&&this.onRemove(ee)}return this},Q.prototype.filter=function(Y){var ee=[];for(var K in this.data)for(var le=0,Te=this.data[K];le1||(Math.abs(At)>1&&(Math.abs(At+ve)===1?At+=ve:Math.abs(At-ve)===1&&(At-=ve)),Tt.dem&&at.dem&&(at.dem.backfillBorder(Tt.dem,At,se),at.neighboringTiles&&at.neighboringTiles[Ie]&&(at.neighboringTiles[Ie].backfilled=!0)))}},ee.prototype.getTile=function(K){return this.getTileByID(K.key)},ee.prototype.getTileByID=function(K){return this._tiles[K]},ee.prototype._retainLoadedChildren=function(K,le,Te,De){for(var He in this._tiles){var Ze=this._tiles[He];if(!(De[He]||!Ze.hasData()||Ze.tileID.overscaledZ<=le||Ze.tileID.overscaledZ>Te)){for(var at=Ze.tileID;Ze&&Ze.tileID.overscaledZ>le+1;){var Tt=Ze.tileID.scaledTo(Ze.tileID.overscaledZ-1);(Ze=this._tiles[Tt.key])&&Ze.hasData()&&(at=Tt)}for(var At=at;At.overscaledZ>le;)if(K[(At=At.scaledTo(At.overscaledZ-1)).key]){De[at.key]=at;break}}}},ee.prototype.findLoadedParent=function(K,le){if(K.key in this._loadedParentTiles){var Te=this._loadedParentTiles[K.key];return Te&&Te.tileID.overscaledZ>=le?Te:null}for(var De=K.overscaledZ-1;De>=le;De--){var He=K.scaledTo(De),Ze=this._getLoadedTile(He);if(Ze)return Ze}},ee.prototype._getLoadedTile=function(K){var le=this._tiles[K.key];return le&&le.hasData()?le:this._cache.getByKey(K.wrapped().key)},ee.prototype.updateCacheSize=function(K){var le=(Math.ceil(K.width/this._source.tileSize)+1)*(Math.ceil(K.height/this._source.tileSize)+1),Te=Math.floor(5*le),De=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Te):Te;this._cache.setMaxSize(De)},ee.prototype.handleWrapJump=function(K){var le=(K-(this._prevLng===void 0?K:this._prevLng))/360,Te=Math.round(le);if(this._prevLng=K,Te){var De={};for(var He in this._tiles){var Ze=this._tiles[He];Ze.tileID=Ze.tileID.unwrapTo(Ze.tileID.wrap+Te),De[Ze.tileID.key]=Ze}for(var at in this._tiles=De,this._timers)clearTimeout(this._timers[at]),delete this._timers[at];for(var Tt in this._tiles){var At=this._tiles[Tt];this._setTileReloadTimer(Tt,At)}}},ee.prototype.update=function(K){var le=this;if(this.transform=K,this._sourceLoaded&&!this._paused){var Te;this.updateCacheSize(K),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?Te=K.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ht){return new i.OverscaledTileID(Ht.canonical.z,Ht.wrap,Ht.canonical.z,Ht.canonical.x,Ht.canonical.y)}):(Te=K.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Te=Te.filter(function(Ht){return le._source.hasTile(Ht)}))):Te=[];var De=K.coveringZoomLevel(this._source),He=Math.max(De-ee.maxOverzooming,this._source.minzoom),Ze=Math.max(De+ee.maxUnderzooming,this._source.minzoom),at=this._updateRetainedTiles(Te,De);if(Ne(this._source.type)){for(var Tt={},At={},se=0,ve=Object.keys(at);sethis._source.maxzoom){var Xe=Ue.children(this._source.maxzoom)[0],tt=this.getTile(Xe);if(tt&&tt.hasData()){Te[Xe.key]=Xe;continue}}else{var lt=Ue.children(this._source.maxzoom);if(Te[lt[0].key]&&Te[lt[1].key]&&Te[lt[2].key]&&Te[lt[3].key])continue}for(var mt=qe.wasRequested(),zt=Ue.overscaledZ-1;zt>=He;--zt){var Ut=Ue.scaledTo(zt);if(De[Ut.key]||(De[Ut.key]=!0,!(qe=this.getTile(Ut))&&mt&&(qe=this._addTile(Ut)),qe&&(Te[Ut.key]=Ut,mt=qe.wasRequested(),qe.hasData())))break}}}return Te},ee.prototype._updateLoadedParentTileCache=function(){for(var K in this._loadedParentTiles={},this._tiles){for(var le=[],Te=void 0,De=this._tiles[K].tileID;De.overscaledZ>0;){if(De.key in this._loadedParentTiles){Te=this._loadedParentTiles[De.key];break}le.push(De.key);var He=De.scaledTo(De.overscaledZ-1);if(Te=this._getLoadedTile(He))break;De=He}for(var Ze=0,at=le;Ze0||(le.hasData()&&le.state!=="reloading"?this._cache.add(le.tileID,le,le.getExpiryTimeout()):(le.aborted=!0,this._abortTile(le),this._unloadTile(le))))},ee.prototype.clearTiles=function(){for(var K in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(K);this._cache.reset()},ee.prototype.tilesIn=function(K,le,Te){var De=this,He=[],Ze=this.transform;if(!Ze)return He;for(var at=Te?Ze.getCameraQueryGeometry(K):K,Tt=K.map(function(zt){return Ze.pointCoordinate(zt)}),At=at.map(function(zt){return Ze.pointCoordinate(zt)}),se=this.getIds(),ve=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,qe=0,Xe=At;qe=0&&tn[1].y+vn>=0){var ln=Tt.map(function(Cn){return Ht.getTilePoint(Cn)}),an=At.map(function(Cn){return Ht.getTilePoint(Cn)});He.push({tile:Ut,tileID:Ht,queryGeometry:ln,cameraQueryGeometry:an,scale:en})}}},mt=0;mt=i.browser.now())return!0}return!1},ee.prototype.setFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.updateState(K,le,Te)},ee.prototype.removeFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.removeFeatureState(K,le,Te)},ee.prototype.getFeatureState=function(K,le){return K=K||"_geojsonTileLayer",this._state.getState(K,le)},ee.prototype.setDependencies=function(K,le,Te){var De=this._tiles[K];De&&De.setDependencies(le,Te)},ee.prototype.reloadTilesForDependencies=function(K,le){for(var Te in this._tiles)this._tiles[Te].hasDependency(K,le)&&this._reloadTile(Te,"reloading");this._cache.filter(function(De){return!De.hasDependency(K,le)})},ee}(i.Evented);function Oe(Y,ee){var K=Math.abs(2*Y.wrap)-+(Y.wrap<0),le=Math.abs(2*ee.wrap)-+(ee.wrap<0);return Y.overscaledZ-ee.overscaledZ||le-K||ee.canonical.y-Y.canonical.y||ee.canonical.x-Y.canonical.x}function Ne(Y){return Y==="raster"||Y==="image"||Y==="video"}function Qe(){return new i.window.Worker(Mt.workerUrl)}ht.maxOverzooming=10,ht.maxUnderzooming=3;var ut="mapboxgl_preloaded_worker_pool",dt=function(){this.active={}};dt.prototype.acquire=function(Y){if(!this.workers)for(this.workers=[];this.workers.length0?(le-De)/He:0;return this.points[Te].mult(1-Ze).add(this.points[ee].mult(Ze))};var An=function(Y,ee,K){var le=this.boxCells=[],Te=this.circleCells=[];this.xCellCount=Math.ceil(Y/K),this.yCellCount=Math.ceil(ee/K);for(var De=0;De=-ee[0]&&K<=ee[0]&&le>=-ee[1]&&le<=ee[1]}function pn(Y,ee,K,le,Te,De,He,Ze){var at=le?Y.textSizeData:Y.iconSizeData,Tt=i.evaluateSizeForZoom(at,K.transform.zoom),At=[256/K.width*2+1,256/K.height*2+1],se=le?Y.text.dynamicLayoutVertexArray:Y.icon.dynamicLayoutVertexArray;se.clear();for(var ve=Y.lineVertexArray,Ie=le?Y.text.placedSymbolArray:Y.icon.placedSymbolArray,Fe=K.transform.width/K.transform.height,Ue=!1,qe=0;qeMath.abs(K.x-ee.x)*le?{useVertical:!0}:(Y===i.WritingMode.vertical?ee.yK.x)?{needsFlipping:!0}:null}function jn(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie){var Fe,Ue=ee/24,qe=Y.lineOffsetX*Ue,Xe=Y.lineOffsetY*Ue;if(Y.numGlyphs>1){var tt=Y.glyphStartIndex+Y.numGlyphs,lt=Y.lineStartIndex,mt=Y.lineStartIndex+Y.lineLength,zt=Dn(Ue,Ze,qe,Xe,K,At,se,Y,at,De,ve);if(!zt)return{notEnoughRoom:!0};var Ut=sn(zt.first.point,He).point,Ht=sn(zt.last.point,He).point;if(le&&!K){var en=In(Y.writingMode,Ut,Ht,Ie);if(en)return en}Fe=[zt.first];for(var vn=Y.glyphStartIndex+1;vn0?Cn.point:Gn(se,an,tn,1,Te),on=In(Y.writingMode,tn,_n,Ie);if(on)return on}var Fn=Wn(Ue*Ze.getoffsetX(Y.glyphStartIndex),qe,Xe,K,At,se,Y.segment,Y.lineStartIndex,Y.lineStartIndex+Y.lineLength,at,De,ve);if(!Fn)return{notEnoughRoom:!0};Fe=[Fn]}for(var Hn=0,ir=Fe;Hn0?1:-1,Fe=0;le&&(Ie*=-1,Fe=Math.PI),Ie<0&&(Fe+=Math.PI);for(var Ue=Ie>0?Ze+He:Ze+He+1,qe=Te,Xe=Te,tt=0,lt=0,mt=Math.abs(ve),zt=[];tt+lt<=mt;){if((Ue+=Ie)=at)return null;if(Xe=qe,zt.push(qe),(qe=se[Ue])===void 0){var Ut=new i.Point(Tt.getx(Ue),Tt.gety(Ue)),Ht=sn(Ut,At);if(Ht.signedDistanceFromCamera>0)qe=se[Ue]=Ht.point;else{var en=Ue-Ie;qe=Gn(tt===0?De:new i.Point(Tt.getx(en),Tt.gety(en)),Ut,Xe,mt-tt+1,At)}}tt+=lt,lt=Xe.dist(qe)}var vn=(mt-tt)/lt,tn=qe.sub(Xe),ln=tn.mult(vn)._add(Xe);ln._add(tn._unit()._perp()._mult(K*Ie));var an=Fe+Math.atan2(qe.y-Xe.y,qe.x-Xe.x);return zt.push(ln),{point:ln,angle:an,path:zt}}An.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},An.prototype.insert=function(Y,ee,K,le,Te){this._forEachCell(ee,K,le,Te,this._insertBoxCell,this.boxUid++),this.boxKeys.push(Y),this.bboxes.push(ee),this.bboxes.push(K),this.bboxes.push(le),this.bboxes.push(Te)},An.prototype.insertCircle=function(Y,ee,K,le){this._forEachCell(ee-le,K-le,ee+le,K+le,this._insertCircleCell,this.circleUid++),this.circleKeys.push(Y),this.circles.push(ee),this.circles.push(K),this.circles.push(le)},An.prototype._insertBoxCell=function(Y,ee,K,le,Te,De){this.boxCells[Te].push(De)},An.prototype._insertCircleCell=function(Y,ee,K,le,Te,De){this.circleCells[Te].push(De)},An.prototype._query=function(Y,ee,K,le,Te,De){if(K<0||Y>this.width||le<0||ee>this.height)return!Te&&[];var He=[];if(Y<=0&&ee<=0&&this.width<=K&&this.height<=le){if(Te)return!0;for(var Ze=0;Ze0:He},An.prototype._queryCircle=function(Y,ee,K,le,Te){var De=Y-K,He=Y+K,Ze=ee-K,at=ee+K;if(He<0||De>this.width||at<0||Ze>this.height)return!le&&[];var Tt=[],At={hitTest:le,circle:{x:Y,y:ee,radius:K},seenUids:{box:{},circle:{}}};return this._forEachCell(De,Ze,He,at,this._queryCellCircle,Tt,At,Te),le?Tt.length>0:Tt},An.prototype.query=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!1,Te)},An.prototype.hitTest=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!0,Te)},An.prototype.hitTestCircle=function(Y,ee,K,le){return this._queryCircle(Y,ee,K,!0,le)},An.prototype._queryCell=function(Y,ee,K,le,Te,De,He,Ze){var at=He.seenUids,Tt=this.boxCells[Te];if(Tt!==null)for(var At=this.bboxes,se=0,ve=Tt;se=At[Fe+0]&&le>=At[Fe+1]&&(!Ze||Ze(this.boxKeys[Ie]))){if(He.hitTest)return De.push(!0),!0;De.push({key:this.boxKeys[Ie],x1:At[Fe],y1:At[Fe+1],x2:At[Fe+2],y2:At[Fe+3]})}}}var Ue=this.circleCells[Te];if(Ue!==null)for(var qe=this.circles,Xe=0,tt=Ue;XeHe*He+Ze*Ze},An.prototype._circleAndRectCollide=function(Y,ee,K,le,Te,De,He){var Ze=(De-le)/2,at=Math.abs(Y-(le+Ze));if(at>Ze+K)return!1;var Tt=(He-Te)/2,At=Math.abs(ee-(Te+Tt));if(At>Tt+K)return!1;if(at<=Ze||At<=Tt)return!0;var se=at-Ze,ve=At-Tt;return se*se+ve*ve<=K*K};var lr=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function rr(Y,ee){for(var K=0;K=1;_n--)Cn.push(ln.path[_n]);for(var on=1;on0){for(var ar=Cn[0].clone(),Mr=Cn[0].clone(),Er=1;Er=en.x&&Mr.x<=vn.x&&ar.y>=en.y&&Mr.y<=vn.y?[Cn]:Mr.xvn.x||Mr.yvn.y?[]:i.clipLine([Cn],en.x,en.y,vn.x,vn.y)}for(var xr=0,kr=ir;xr=this.screenRightBoundary||lethis.screenBottomBoundary},or.prototype.isInsideGrid=function(Y,ee,K,le){return K>=0&&Y=0&&ee0?(this.prevPlacement&&this.prevPlacement.variableOffsets[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID].text&&(Ue=this.prevPlacement.variableOffsets[se.crossTileID].anchor),this.variableOffsets[se.crossTileID]={textOffset:qe,width:K,height:le,anchor:Y,textBoxScale:Te,prevAnchor:Ue},this.markUsedJustification(ve,Y,se,Ie),ve.allowVerticalPlacement&&(this.markUsedOrientation(ve,Ie,se),this.placedOrientations[se.crossTileID]=Ie),{shift:Xe,placedGlyphBoxes:tt}):void 0},tr.prototype.placeLayerBucketPart=function(Y,ee,K){var le=this,Te=Y.parameters,De=Te.bucket,He=Te.layout,Ze=Te.posMatrix,at=Te.textLabelPlaneMatrix,Tt=Te.labelToScreenMatrix,At=Te.textPixelRatio,se=Te.holdingForFade,ve=Te.collisionBoxArray,Ie=Te.partiallyEvaluatedTextSize,Fe=Te.collisionGroup,Ue=He.get("text-optional"),qe=He.get("icon-optional"),Xe=He.get("text-allow-overlap"),tt=He.get("icon-allow-overlap"),lt=He.get("text-rotation-alignment")==="map",mt=He.get("text-pitch-alignment")==="map",zt=He.get("icon-text-fit")!=="none",Ut=He.get("symbol-z-order")==="viewport-y",Ht=Xe&&(tt||!De.hasIconData()||qe),en=tt&&(Xe||!De.hasTextData()||Ue);!De.collisionArrays&&ve&&De.deserializeCollisionBoxes(ve);var vn=function(on,Fn){if(!ee[on.crossTileID])if(se)le.placements[on.crossTileID]=new bn(!1,!1,!1);else{var Hn,ir=!1,ar=!1,Mr=!0,Er=null,xr={box:null,offscreen:null},kr={box:null,offscreen:null},jr=null,hi=null,di=0,wr=0,Ur=0;Fn.textFeatureIndex?di=Fn.textFeatureIndex:on.useRuntimeCollisionCircles&&(di=on.featureIndex),Fn.verticalTextFeatureIndex&&(wr=Fn.verticalTextFeatureIndex);var oi=Fn.textBox;if(oi){var ai=function(Oi){var Xa=i.WritingMode.horizontal;if(De.allowVerticalPlacement&&!Oi&&le.prevPlacement){var jo=le.prevPlacement.placedOrientations[on.crossTileID];jo&&(le.placedOrientations[on.crossTileID]=jo,Xa=jo,le.markUsedOrientation(De,Xa,on))}return Xa},Ii=function(Oi,Xa){if(De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Fn.verticalTextBox)for(var jo=0,Xc=De.writingModes;jo0&&(vi=vi.filter(function(Oi){return Oi!==Ni.anchor})).unshift(Ni.anchor)}var na=function(Oi,Xa,jo){for(var Xc=Oi.x2-Oi.x1,h1=Oi.y2-Oi.y1,L0=on.textBoxScale,d1=zt&&!tt?Xa:null,_h={box:[],offscreen:!1},hg=Xe?2*vi.length:vi.length,od=0;od=vi.length,Ff=le.attemptAnchorPlacement(wh,Oi,Xc,h1,L0,lt,mt,At,Ze,Fe,p1,on,De,jo,d1);if(Ff&&(_h=Ff.placedGlyphBoxes)&&_h.box&&_h.box.length){ir=!0,Er=Ff.shift;break}}return _h};Ii(function(){return na(oi,Fn.iconBox,i.WritingMode.horizontal)},function(){var Oi=Fn.verticalTextBox,Xa=xr&&xr.box&&xr.box.length;return De.allowVerticalPlacement&&!Xa&&on.numVerticalGlyphVertices>0&&Oi?na(Oi,Fn.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}}),xr&&(ir=xr.box,Mr=xr.offscreen);var pa=ai(xr&&xr.box);if(!ir&&le.prevPlacement){var ua=le.prevPlacement.variableOffsets[on.crossTileID];ua&&(le.variableOffsets[on.crossTileID]=ua,le.markUsedJustification(De,ua.anchor,on,pa))}}else{var Qi=function(Oi,Xa){var jo=le.collisionIndex.placeCollisionBox(Oi,Xe,At,Ze,Fe.predicate);return jo&&jo.box&&jo.box.length&&(le.markUsedOrientation(De,Xa,on),le.placedOrientations[on.crossTileID]=Xa),jo};Ii(function(){return Qi(oi,i.WritingMode.horizontal)},function(){var Oi=Fn.verticalTextBox;return De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Oi?Qi(Oi,i.WritingMode.vertical):{box:null,offscreen:null}}),ai(xr&&xr.box&&xr.box.length)}}if(ir=(Hn=xr)&&Hn.box&&Hn.box.length>0,Mr=Hn&&Hn.offscreen,on.useRuntimeCollisionCircles){var ra=De.text.placedSymbolArray.get(on.centerJustifiedTextSymbolIndex),ca=i.evaluateSizeForFeature(De.textSizeData,Ie,ra),Ia=He.get("text-padding"),zl=on.collisionCircleDiameter;jr=le.collisionIndex.placeCollisionCircles(Xe,ra,De.lineVertexArray,De.glyphOffsetArray,ca,Ze,at,Tt,K,mt,Fe.predicate,zl,Ia),ir=Xe||jr.circles.length>0&&!jr.collisionDetected,Mr=Mr&&jr.offscreen}if(Fn.iconFeatureIndex&&(Ur=Fn.iconFeatureIndex),Fn.iconBox){var Za=function(Oi){var Xa=zt&&Er?$n(Oi,Er.x,Er.y,lt,mt,le.transform.angle):Oi;return le.collisionIndex.placeCollisionBox(Xa,tt,At,Ze,Fe.predicate)};ar=kr&&kr.box&&kr.box.length&&Fn.verticalIconBox?(hi=Za(Fn.verticalIconBox)).box.length>0:(hi=Za(Fn.iconBox)).box.length>0,Mr=Mr&&hi.offscreen}var ui=Ue||on.numHorizontalGlyphVertices===0&&on.numVerticalGlyphVertices===0,fo=qe||on.numIconVertices===0;if(ui||fo?fo?ui||(ar=ar&&ir):ir=ar&&ir:ar=ir=ar&&ir,ir&&Hn&&Hn.box&&(kr&&kr.box&&wr?le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,wr,Fe.ID):le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID)),ar&&hi&&le.collisionIndex.insertCollisionBox(hi.box,He.get("icon-ignore-placement"),De.bucketInstanceId,Ur,Fe.ID),jr&&(ir&&le.collisionIndex.insertCollisionCircles(jr.circles,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID),K)){var _o=De.bucketInstanceId,Aa=le.collisionCircleArrays[_o];Aa===void 0&&(Aa=le.collisionCircleArrays[_o]=new On);for(var Ps=0;Ps=0;--ln){var an=tn[ln];vn(De.symbolInstances.get(an),De.collisionArrays[an])}else for(var Cn=Y.symbolInstanceStart;Cn=0&&(Y.text.placedSymbolArray.get(at).crossTileID=Te>=0&&at!==Te?0:K.crossTileID)}},tr.prototype.markUsedOrientation=function(Y,ee,K){for(var le=ee===i.WritingMode.horizontal||ee===i.WritingMode.horizontalOnly?ee:0,Te=ee===i.WritingMode.vertical?ee:0,De=0,He=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex];De0||mt>0,vn=tt.numIconVertices>0,tn=le.placedOrientations[tt.crossTileID],ln=tn===i.WritingMode.vertical,an=tn===i.WritingMode.horizontal||tn===i.WritingMode.horizontalOnly;if(en){var Cn=En(Ht.text),_n=ln?mn:Cn;Ie(Y.text,lt,_n);var on=an?mn:Cn;Ie(Y.text,mt,on);var Fn=Ht.text.isHidden();[tt.rightJustifiedTextSymbolIndex,tt.centerJustifiedTextSymbolIndex,tt.leftJustifiedTextSymbolIndex].forEach(function(Ur){Ur>=0&&(Y.text.placedSymbolArray.get(Ur).hidden=Fn||ln?1:0)}),tt.verticalPlacedTextSymbolIndex>=0&&(Y.text.placedSymbolArray.get(tt.verticalPlacedTextSymbolIndex).hidden=Fn||an?1:0);var Hn=le.variableOffsets[tt.crossTileID];Hn&&le.markUsedJustification(Y,Hn.anchor,tt,tn);var ir=le.placedOrientations[tt.crossTileID];ir&&(le.markUsedJustification(Y,"left",tt,ir),le.markUsedOrientation(Y,ir,tt))}if(vn){var ar=En(Ht.icon),Mr=!(se&&tt.verticalPlacedIconSymbolIndex&&ln);if(tt.placedIconSymbolIndex>=0){var Er=Mr?ar:mn;Ie(Y.icon,tt.numIconVertices,Er),Y.icon.placedSymbolArray.get(tt.placedIconSymbolIndex).hidden=Ht.icon.isHidden()}if(tt.verticalPlacedIconSymbolIndex>=0){var xr=Mr?mn:ar;Ie(Y.icon,tt.numVerticalIconVertices,xr),Y.icon.placedSymbolArray.get(tt.verticalPlacedIconSymbolIndex).hidden=Ht.icon.isHidden()}}if(Y.hasIconCollisionBoxData()||Y.hasTextCollisionBoxData()){var kr=Y.collisionArrays[Xe];if(kr){var jr=new i.Point(0,0);if(kr.textBox||kr.verticalTextBox){var hi=!0;if(at){var di=le.variableOffsets[zt];di?(jr=Kn(di.anchor,di.width,di.height,di.textOffset,di.textBoxScale),Tt&&jr._rotate(At?le.transform.angle:-le.transform.angle)):hi=!1}kr.textBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!hi||ln,jr.x,jr.y),kr.verticalTextBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!hi||an,jr.x,jr.y)}var wr=!!(!an&&kr.verticalIconBox);kr.iconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,wr,se?jr.x:0,se?jr.y:0),kr.verticalIconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,!wr,se?jr.x:0,se?jr.y:0)}}},Ue=0;UeY},tr.prototype.setStale=function(){this.stale=!0};var nn=Math.pow(2,25),Pn=Math.pow(2,24),jt=Math.pow(2,17),Jt=Math.pow(2,16),fn=Math.pow(2,9),zn=Math.pow(2,8),Rn=Math.pow(2,1);function En(Y){if(Y.opacity===0&&!Y.placed)return 0;if(Y.opacity===1&&Y.placed)return 4294967295;var ee=Y.placed?1:0,K=Math.floor(127*Y.opacity);return K*nn+ee*Pn+K*jt+ee*Jt+K*fn+ee*zn+K*Rn+ee}var mn=0,wn=function(Y){this._sortAcrossTiles=Y.layout.get("symbol-z-order")!=="viewport-y"&&Y.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};wn.prototype.continuePlacement=function(Y,ee,K,le,Te){for(var De=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var He=ee[Y[this._currentPlacementIndex]],Ze=this.placement.collisionIndex.transform.zoom;if(He.type==="symbol"&&(!He.minzoom||He.minzoom<=Ze)&&(!He.maxzoom||He.maxzoom>Ze)){if(this._inProgressLayer||(this._inProgressLayer=new wn(He)),this._inProgressLayer.continuePlacement(K[He.source],this.placement,this._showCollisionBoxes,He,De))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},gn.prototype.commit=function(Y){return this.placement.commit(Y),this.placement};var yn=512/i.EXTENT/2,Sn=function(Y,ee,K){this.tileID=Y,this.indexedSymbolInstances={},this.bucketInstanceId=K;for(var le=0;leY.overscaledZ)for(var Ze in He){var at=He[Ze];at.tileID.isChildOf(Y)&&at.findMatches(ee.symbolInstances,Y,Te)}else{var Tt=He[Y.scaledTo(Number(De)).key];Tt&&Tt.findMatches(ee.symbolInstances,Y,Te)}}for(var At=0;At1?"@2x":"",se=i.getJSON(De.transformRequest(De.normalizeSpriteURL(Te,At,".json"),i.ResourceType.SpriteJSON),function(Fe,Ue){se=null,Tt||(Tt=Fe,Ze=Ue,Ie())}),ve=i.getImage(De.transformRequest(De.normalizeSpriteURL(Te,At,".png"),i.ResourceType.SpriteImage),function(Fe,Ue){ve=null,Tt||(Tt=Fe,at=Ue,Ie())});function Ie(){if(Tt)He(Tt);else if(Ze&&at){var Fe=i.browser.getImageData(at),Ue={};for(var qe in Ze){var Xe=Ze[qe],tt=Xe.width,lt=Xe.height,mt=Xe.x,zt=Xe.y,Ut=Xe.sdf,Ht=Xe.pixelRatio,en=Xe.stretchX,vn=Xe.stretchY,tn=Xe.content,ln=new i.RGBAImage({width:tt,height:lt});i.RGBAImage.copy(Fe,ln,{x:mt,y:zt},{x:0,y:0},{width:tt,height:lt}),Ue[qe]={data:ln,pixelRatio:Ht,sdf:Ut,stretchX:en,stretchY:vn,content:tn}}He(null,Ue)}}return{cancel:function(){se&&(se.cancel(),se=null),ve&&(ve.cancel(),ve=null)}}}(K,this.map._requestManager,function(Te,De){if(le._spriteRequest=null,Te)le.fire(new i.ErrorEvent(Te));else if(De)for(var He in De)le.imageManager.addImage(He,De[He]);le.imageManager.setLoaded(!0),le._availableImages=le.imageManager.listImages(),le.dispatcher.broadcast("setImages",le._availableImages),le.fire(new i.Event("data",{dataType:"style"}))})},ee.prototype._validateLayer=function(K){var le=this.sourceCaches[K.source];if(le){var Te=K.sourceLayer;if(Te){var De=le.getSource();(De.type==="geojson"||De.vectorLayerIds&&De.vectorLayerIds.indexOf(Te)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Te+'" does not exist on source "'+De.id+'" as specified by style layer "'+K.id+'"')))}}},ee.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var K in this.sourceCaches)if(!this.sourceCaches[K].loaded())return!1;return!!this.imageManager.isLoaded()},ee.prototype._serializeLayers=function(K){for(var le=[],Te=0,De=K;Te0)throw new Error("Unimplemented: "+De.map(function(He){return He.command}).join(", ")+".");return Te.forEach(function(He){He.command!=="setTransition"&&le[He.command].apply(le,He.args)}),this.stylesheet=K,!0},ee.prototype.addImage=function(K,le){if(this.getImage(K))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(K,le),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.updateImage=function(K,le){this.imageManager.updateImage(K,le)},ee.prototype.getImage=function(K){return this.imageManager.getImage(K)},ee.prototype.removeImage=function(K){if(!this.getImage(K))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(K),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ee.prototype.addSource=function(K,le,Te){var De=this;if(Te===void 0&&(Te={}),this._checkLoaded(),this.sourceCaches[K]!==void 0)throw new Error("There is already a source with this ID");if(!le.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(le).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(le.type)>=0&&this._validate(i.validateStyle.source,"sources."+K,le,null,Te))){this.map&&this.map._collectResourceTiming&&(le.collectResourceTiming=!0);var He=this.sourceCaches[K]=new ht(K,le,this.dispatcher);He.style=this,He.setEventedParent(this,function(){return{isSourceLoaded:De.loaded(),source:He.serialize(),sourceId:K}}),He.onAdd(this.map),this._changed=!0}},ee.prototype.removeSource=function(K){if(this._checkLoaded(),this.sourceCaches[K]===void 0)throw new Error("There is no source with this ID");for(var le in this._layers)if(this._layers[le].source===K)return this.fire(new i.ErrorEvent(new Error('Source "'+K+'" cannot be removed while layer "'+le+'" is using it.')));var Te=this.sourceCaches[K];delete this.sourceCaches[K],delete this._updatedSources[K],Te.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:K})),Te.setEventedParent(null),Te.clearTiles(),Te.onRemove&&Te.onRemove(this.map),this._changed=!0},ee.prototype.setGeoJSONSourceData=function(K,le){this._checkLoaded(),this.sourceCaches[K].getSource().setData(le),this._changed=!0},ee.prototype.getSource=function(K){return this.sourceCaches[K]&&this.sourceCaches[K].getSource()},ee.prototype.addLayer=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=K.id;if(this.getLayer(De))this.fire(new i.ErrorEvent(new Error('Layer with id "'+De+'" already exists on this map')));else{var He;if(K.type==="custom"){if(Qn(this,i.validateCustomStyleLayer(K)))return;He=i.createStyleLayer(K)}else{if(typeof K.source=="object"&&(this.addSource(De,K.source),K=i.clone$1(K),K=i.extend(K,{source:De})),this._validate(i.validateStyle.layer,"layers."+De,K,{arrayIndex:-1},Te))return;He=i.createStyleLayer(K),this._validateLayer(He),He.setEventedParent(this,{layer:{id:De}}),this._serializedLayers[He.id]=He.serialize()}var Ze=le?this._order.indexOf(le):this._order.length;if(le&&Ze===-1)this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.')));else{if(this._order.splice(Ze,0,De),this._layerOrderChanged=!0,this._layers[De]=He,this._removedLayers[De]&&He.source&&He.type!=="custom"){var at=this._removedLayers[De];delete this._removedLayers[De],at.type!==He.type?this._updatedSources[He.source]="clear":(this._updatedSources[He.source]="reload",this.sourceCaches[He.source].pause())}this._updateLayer(He),He.onAdd&&He.onAdd(this.map)}}},ee.prototype.moveLayer=function(K,le){if(this._checkLoaded(),this._changed=!0,this._layers[K]){if(K!==le){var Te=this._order.indexOf(K);this._order.splice(Te,1);var De=le?this._order.indexOf(le):this._order.length;le&&De===-1?this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.'))):(this._order.splice(De,0,K),this._layerOrderChanged=!0)}}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be moved.")))},ee.prototype.removeLayer=function(K){this._checkLoaded();var le=this._layers[K];if(le){le.setEventedParent(null);var Te=this._order.indexOf(K);this._order.splice(Te,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[K]=le,delete this._layers[K],delete this._serializedLayers[K],delete this._updatedLayers[K],delete this._updatedPaintProps[K],le.onRemove&&le.onRemove(this.map)}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be removed.")))},ee.prototype.getLayer=function(K){return this._layers[K]},ee.prototype.hasLayer=function(K){return K in this._layers},ee.prototype.setLayerZoomRange=function(K,le,Te){this._checkLoaded();var De=this.getLayer(K);De?De.minzoom===le&&De.maxzoom===Te||(le!=null&&(De.minzoom=le),Te!=null&&(De.maxzoom=Te),this._updateLayer(De)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot have zoom extent.")))},ee.prototype.setFilter=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=this.getLayer(K);if(De){if(!i.deepEqual(De.filter,le))return le==null?(De.filter=void 0,void this._updateLayer(De)):void(this._validate(i.validateStyle.filter,"layers."+De.id+".filter",le,null,Te)||(De.filter=i.clone$1(le),this._updateLayer(De)))}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be filtered.")))},ee.prototype.getFilter=function(K){return i.clone$1(this.getLayer(K).filter)},ee.prototype.setLayoutProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getLayoutProperty(le),Te)||(He.setLayoutProperty(le,Te,De),this._updateLayer(He)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getLayoutProperty=function(K,le){var Te=this.getLayer(K);if(Te)return Te.getLayoutProperty(le);this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style.")))},ee.prototype.setPaintProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getPaintProperty(le),Te)||(He.setPaintProperty(le,Te,De)&&this._updateLayer(He),this._changed=!0,this._updatedPaintProps[K]=!0):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getPaintProperty=function(K,le){return this.getLayer(K).getPaintProperty(le)},ee.prototype.setFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=K.sourceLayer,He=this.sourceCaches[Te];if(He!==void 0){var Ze=He.getSource().type;Ze==="geojson"&&De?this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):Ze!=="vector"||De?(K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),He.setFeatureState(De,K.id,le)):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.removeFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=this.sourceCaches[Te];if(De!==void 0){var He=De.getSource().type,Ze=He==="vector"?K.sourceLayer:void 0;He!=="vector"||Ze?le&&typeof K.id!="string"&&typeof K.id!="number"?this.fire(new i.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):De.removeFeatureState(Ze,K.id,le):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.getFeatureState=function(K){this._checkLoaded();var le=K.source,Te=K.sourceLayer,De=this.sourceCaches[le];if(De!==void 0){if(De.getSource().type!=="vector"||Te)return K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),De.getFeatureState(Te,K.id);this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+le+"' does not exist in the map's style.")))},ee.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ee.prototype.serialize=function(){return i.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:i.mapObject(this.sourceCaches,function(K){return K.serialize()}),layers:this._serializeLayers(this._order)},function(K){return K!==void 0})},ee.prototype._updateLayer=function(K){this._updatedLayers[K.id]=!0,K.source&&!this._updatedSources[K.source]&&this.sourceCaches[K.source].getSource().type!=="raster"&&(this._updatedSources[K.source]="reload",this.sourceCaches[K.source].pause()),this._changed=!0},ee.prototype._flattenAndSortRenderedFeatures=function(K){for(var le=this,Te=function(tn){return le._layers[tn].type==="fill-extrusion"},De={},He=[],Ze=this._order.length-1;Ze>=0;Ze--){var at=this._order[Ze];if(Te(at)){De[at]=Ze;for(var Tt=0,At=K;Tt=0;qe--){var Xe=this._order[qe];if(Te(Xe))for(var tt=He.length-1;tt>=0;tt--){var lt=He[tt].feature;if(De[lt.layer.id]2){for(var R=Array(.5*A.position.length),D=0;D2){for(var B=!A.position[0].length,N=a.mallocFloat(2*this.count),W=0,j=0;W1?L.align[he]:L.align[0]:L.align;if(typeof be=="number")return be;switch(be){case"right":case"end":return-ae;case"center":case"centre":case"middle":return .5*-ae}return 0})),this.baseline==null&&A.baseline==null&&(A.baseline=0),A.baseline!=null&&(this.baseline=A.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ae,he){var be=(L.font[he]||L.font[0]).metrics,ke=0;return ke+=.5*be.bottom,-1*(ke+=typeof ae=="number"?ae-be.baseline:-be[ae])})),A.color!=null)if(A.color||(A.color="transparent"),typeof A.color!="string"&&isNaN(A.color)){var me;if(typeof A.color[0]=="number"&&A.color.length>this.counts.length){var pe=A.color.length;me=a.mallocUint8(pe);for(var xe=(A.color.subarray||A.color.slice).bind(A.color),Oe=0;Oe4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Se=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Se);for(var Ce=0;Ce1?this.counts[Ce]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Ce]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Ce,4*Ce+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Ce]:this.opacity,baseline:this.baselineOffset[Ce]!=null?this.baselineOffset[Ce]:this.baselineOffset[0],align:this.align?this.alignOffset[Ce]!=null?this.alignOffset[Ce]:this.alignOffset[0]:0,atlas:this.fontAtlas[Ce]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Ce,2*Ce+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},_.prototype.destroy=function(){},_.prototype.kerning=!0,_.prototype.position={constant:new Float32Array(2)},_.prototype.translate=null,_.prototype.scale=null,_.prototype.font=null,_.prototype.text="",_.prototype.positionOffset=[0,0],_.prototype.opacity=1,_.prototype.color=new Uint8Array([0,0,0,255]),_.prototype.alignOffset=[0,0],_.maxAtlasSize=1024,_.atlasCanvas=document.createElement("canvas"),_.atlasContext=_.atlasCanvas.getContext("2d",{alpha:!1}),_.baseFontSize=64,_.fonts={},k.exports=_},12018:function(k,m,t){var d=t(71299);function y(g){if(g.container)if(g.container==document.body)document.body.style.width||(g.canvas.width=g.width||g.pixelRatio*t.g.innerWidth),document.body.style.height||(g.canvas.height=g.height||g.pixelRatio*t.g.innerHeight);else{var h=g.container.getBoundingClientRect();g.canvas.width=g.width||h.right-h.left,g.canvas.height=g.height||h.bottom-h.top}}function i(g){return typeof g.getContext=="function"&&"width"in g&&"height"in g}function M(){var g=document.createElement("canvas");return g.style.position="absolute",g.style.top=0,g.style.left=0,g}k.exports=function(g){var h;if(g?typeof g=="string"&&(g={container:g}):g={},(g=i(g)||typeof(h=g).nodeName=="string"&&typeof h.appendChild=="function"&&typeof h.getBoundingClientRect=="function"?{container:g}:function(a){return typeof a.drawArrays=="function"||typeof a.drawElements=="function"}(g)?{gl:g}:d(g,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0)).pixelRatio||(g.pixelRatio=t.g.pixelRatio||1),g.gl)return g.gl;if(g.canvas&&(g.container=g.canvas.parentNode),g.container){if(typeof g.container=="string"){var l=document.querySelector(g.container);if(!l)throw Error("Element "+g.container+" is not found");g.container=l}i(g.container)?(g.canvas=g.container,g.container=g.canvas.parentNode):g.canvas||(g.canvas=M(),g.container.appendChild(g.canvas),y(g))}else if(!g.canvas){if(typeof document>"u")throw Error("Not DOM environment. Use headless-gl.");g.container=document.body||document.documentElement,g.canvas=M(),g.container.appendChild(g.canvas),y(g)}return g.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(a){try{g.gl=g.canvas.getContext(a,g.attrs)}catch{}return g.gl}),g.gl}},56068:function(k){k.exports=function(m){typeof m=="string"&&(m=[m]);for(var t=[].slice.call(arguments,1),d=[],y=0;y>1,o=-7,s=y?M-1:0,c=y?-1:1,f=t[d+s];for(s+=c,g=f&(1<<-o)-1,f>>=-o,o+=l;o>0;g=256*g+t[d+s],s+=c,o-=8);for(h=g&(1<<-o)-1,g>>=-o,o+=i;o>0;h=256*h+t[d+s],s+=c,o-=8);if(g===0)g=1-u;else{if(g===a)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,i),g-=u}return(f?-1:1)*h*Math.pow(2,g-i)},m.write=function(t,d,y,i,M,g){var h,l,a,u=8*g-M-1,o=(1<>1,c=M===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:g-1,p=i?1:-1,w=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(l=isNaN(d)?1:0,h=o):(h=Math.floor(Math.log(d)/Math.LN2),d*(a=Math.pow(2,-h))<1&&(h--,a*=2),(d+=h+s>=1?c/a:c*Math.pow(2,1-s))*a>=2&&(h++,a/=2),h+s>=o?(l=0,h=o):h+s>=1?(l=(d*a-1)*Math.pow(2,M),h+=s):(l=d*Math.pow(2,s-1)*Math.pow(2,M),h=0));M>=8;t[y+f]=255&l,f+=p,l/=256,M-=8);for(h=h<0;t[y+f]=255&h,f+=p,h/=256,u-=8);t[y+f-p]|=128*w}},42018:function(k){typeof Object.create=="function"?k.exports=function(m,t){t&&(m.super_=t,m.prototype=Object.create(t.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}))}:k.exports=function(m,t){if(t){m.super_=t;var d=function(){};d.prototype=t.prototype,m.prototype=new d,m.prototype.constructor=m}}},47216:function(k,m,t){var d=t(84543)(),y=t(6614)("Object.prototype.toString"),i=function(h){return!(d&&h&&typeof h=="object"&&Symbol.toStringTag in h)&&y(h)==="[object Arguments]"},M=function(h){return!!i(h)||h!==null&&typeof h=="object"&&typeof h.length=="number"&&h.length>=0&&y(h)!=="[object Array]"&&y(h.callee)==="[object Function]"},g=function(){return i(arguments)}();i.isLegacyArguments=M,k.exports=g?i:M},54404:function(k){k.exports=!0},85395:function(k){var m,t,d=Function.prototype.toString,y=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof y=="function"&&typeof Object.defineProperty=="function")try{m=Object.defineProperty({},"length",{get:function(){throw t}}),t={},y(function(){throw 42},null,m)}catch(s){s!==t&&(y=null)}else y=null;var i=/^\s*class\b/,M=function(s){try{var c=d.call(s);return i.test(c)}catch{return!1}},g=function(s){try{return!M(s)&&(d.call(s),!0)}catch{return!1}},h=Object.prototype.toString,l=typeof Symbol=="function"&&!!Symbol.toStringTag,a=!(0 in[,]),u=function(){return!1};if(typeof document=="object"){var o=document.all;h.call(o)===h.call(document.all)&&(u=function(s){if((a||!s)&&(s===void 0||typeof s=="object"))try{var c=h.call(s);return(c==="[object HTMLAllCollection]"||c==="[object HTML document.all class]"||c==="[object HTMLCollection]"||c==="[object Object]")&&s("")==null}catch{}return!1})}k.exports=y?function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;try{y(s,null,m)}catch(c){if(c!==t)return!1}return!M(s)&&g(s)}:function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;if(l)return g(s);if(M(s))return!1;var c=h.call(s);return!(c!=="[object Function]"&&c!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(c))&&g(s)}},65481:function(k,m,t){var d,y=Object.prototype.toString,i=Function.prototype.toString,M=/^\s*(?:function)?\*/,g=t(84543)(),h=Object.getPrototypeOf;k.exports=function(l){if(typeof l!="function")return!1;if(M.test(i.call(l)))return!0;if(!g)return y.call(l)==="[object GeneratorFunction]";if(!h)return!1;if(d===void 0){var a=function(){if(!g)return!1;try{return Function("return function*() {}")()}catch{}}();d=!!a&&h(a)}return h(l)===d}},62683:function(k){k.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(k){k.exports=function(m){return m!=m}},15567:function(k,m,t){var d=t(68222),y=t(17045),i=t(64274),M=t(14922),g=t(22442),h=d(M(),Number);y(h,{getPolyfill:M,implementation:i,shim:g}),k.exports=h},14922:function(k,m,t){var d=t(64274);k.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d}},22442:function(k,m,t){var d=t(17045),y=t(14922);k.exports=function(){var i=y();return d(Number,{isNaN:i},{isNaN:function(){return Number.isNaN!==i}}),i}},64941:function(k){k.exports=function(m){var t=typeof m;return m!==null&&(t==="object"||t==="function")}},10973:function(k){var m=Object.prototype.toString;k.exports=function(t){var d;return m.call(t)==="[object Object]"&&((d=Object.getPrototypeOf(t))===null||d===Object.getPrototypeOf({}))}},18546:function(k){k.exports=function(m){for(var t,d=m.length,y=0;y13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},89546:function(k){k.exports=function(m){return typeof m=="string"&&(m=m.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(m)&&/[\dz]$/i.test(m)&&m.length>4))}},9187:function(k,m,t){var d=t(31353),y=t(72077),i=t(6614),M=i("Object.prototype.toString"),g=t(84543)(),h=t(40383),l=typeof globalThis>"u"?t.g:globalThis,a=y(),u=i("Array.prototype.indexOf",!0)||function(f,p){for(var w=0;w-1}return!!h&&function(w){var v=!1;return d(s,function(S,x){if(!v)try{v=S.call(w)===x}catch{}}),v}(f)}},44517:function(k){k.exports=function(){var m,t,d;function y(i,M){if(m)if(t){var g="var sharedChunk = {}; ("+m+")(sharedChunk); ("+t+")(sharedChunk);",h={};m(h),(d=M(h)).workerUrl=window.URL.createObjectURL(new Blob([g],{type:"text/javascript"}))}else t=M;else m=M}return y(0,function(i){function M(O,V){return O(V={exports:{}},V.exports),V.exports}var g="1.10.1",h=l;function l(O,V,J,fe){this.cx=3*O,this.bx=3*(J-O)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*V,this.by=3*(fe-V)-this.cy,this.ay=1-this.cy-this.by,this.p1x=O,this.p1y=fe,this.p2x=J,this.p2y=fe}l.prototype.sampleCurveX=function(O){return((this.ax*O+this.bx)*O+this.cx)*O},l.prototype.sampleCurveY=function(O){return((this.ay*O+this.by)*O+this.cy)*O},l.prototype.sampleCurveDerivativeX=function(O){return(3*this.ax*O+2*this.bx)*O+this.cx},l.prototype.solveCurveX=function(O,V){var J,fe,Ae,Re,Ge;for(V===void 0&&(V=1e-6),Ae=O,Ge=0;Ge<8;Ge++){if(Re=this.sampleCurveX(Ae)-O,Math.abs(Re)(fe=1))return fe;for(;JRe?J=Ae:fe=Ae,Ae=.5*(fe-J)+J}return Ae},l.prototype.solve=function(O,V){return this.sampleCurveY(this.solveCurveX(O,V))};var a=u;function u(O,V){this.x=O,this.y=V}function o(O,V,J,fe){var Ae=new h(O,V,J,fe);return function(Re){return Ae.solve(Re)}}u.prototype={clone:function(){return new u(this.x,this.y)},add:function(O){return this.clone()._add(O)},sub:function(O){return this.clone()._sub(O)},multByPoint:function(O){return this.clone()._multByPoint(O)},divByPoint:function(O){return this.clone()._divByPoint(O)},mult:function(O){return this.clone()._mult(O)},div:function(O){return this.clone()._div(O)},rotate:function(O){return this.clone()._rotate(O)},rotateAround:function(O,V){return this.clone()._rotateAround(O,V)},matMult:function(O){return this.clone()._matMult(O)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(O){return this.x===O.x&&this.y===O.y},dist:function(O){return Math.sqrt(this.distSqr(O))},distSqr:function(O){var V=O.x-this.x,J=O.y-this.y;return V*V+J*J},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(O){return Math.atan2(this.y-O.y,this.x-O.x)},angleWith:function(O){return this.angleWithSep(O.x,O.y)},angleWithSep:function(O,V){return Math.atan2(this.x*V-this.y*O,this.x*O+this.y*V)},_matMult:function(O){var V=O[0]*this.x+O[1]*this.y,J=O[2]*this.x+O[3]*this.y;return this.x=V,this.y=J,this},_add:function(O){return this.x+=O.x,this.y+=O.y,this},_sub:function(O){return this.x-=O.x,this.y-=O.y,this},_mult:function(O){return this.x*=O,this.y*=O,this},_div:function(O){return this.x/=O,this.y/=O,this},_multByPoint:function(O){return this.x*=O.x,this.y*=O.y,this},_divByPoint:function(O){return this.x/=O.x,this.y/=O.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var O=this.y;return this.y=this.x,this.x=-O,this},_rotate:function(O){var V=Math.cos(O),J=Math.sin(O),fe=V*this.x-J*this.y,Ae=J*this.x+V*this.y;return this.x=fe,this.y=Ae,this},_rotateAround:function(O,V){var J=Math.cos(O),fe=Math.sin(O),Ae=V.x+J*(this.x-V.x)-fe*(this.y-V.y),Re=V.y+fe*(this.x-V.x)+J*(this.y-V.y);return this.x=Ae,this.y=Re,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},u.convert=function(O){return O instanceof u?O:Array.isArray(O)?new u(O[0],O[1]):O};var s=o(.25,.1,.25,1);function c(O,V,J){return Math.min(J,Math.max(V,O))}function f(O,V,J){var fe=J-V,Ae=((O-V)%fe+fe)%fe+V;return Ae===V?J:Ae}function p(O){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var fe=0,Ae=V;fe>V/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,O)}()}function x(O){return!!O&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(O)}function T(O,V){O.forEach(function(J){V[J]&&(V[J]=V[J].bind(V))})}function C(O,V){return O.indexOf(V,O.length-V.length)!==-1}function _(O,V,J){var fe={};for(var Ae in O)fe[Ae]=V.call(J||this,O[Ae],Ae,O);return fe}function A(O,V,J){var fe={};for(var Ae in O)V.call(J||this,O[Ae],Ae,O)&&(fe[Ae]=O[Ae]);return fe}function L(O){return Array.isArray(O)?O.map(L):typeof O=="object"&&O?_(O,L):O}var b={};function P(O){b[O]||(typeof console<"u"&&console.warn(O),b[O]=!0)}function I(O,V,J){return(J.y-O.y)*(V.x-O.x)>(V.y-O.y)*(J.x-O.x)}function R(O){for(var V=0,J=0,fe=O.length,Ae=fe-1,Re=void 0,Ge=void 0;J@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(fe,Ae,Re,Ge){var it=Re||Ge;return V[Ae]=!it||it.toLowerCase(),""}),V["max-age"]){var J=parseInt(V["max-age"],10);isNaN(J)?delete V["max-age"]:V["max-age"]=J}return V}var B=null;function N(O){if(B==null){var V=O.navigator?O.navigator.userAgent:null;B=!!O.safari||!(!V||!(/\b(iPad|iPhone|iPod)\b/.test(V)||V.match("Safari")&&!V.match("Chrome")))}return B}function W(O){try{var V=self[O];return V.setItem("_mapbox_test_",1),V.removeItem("_mapbox_test_"),!0}catch{return!1}}var j,Y,U,G,q=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),H=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,ne=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,te={now:q,frame:function(O){var V=H(O);return{cancel:function(){return ne(V)}}},getImageData:function(O,V){V===void 0&&(V=0);var J=self.document.createElement("canvas"),fe=J.getContext("2d");if(!fe)throw new Error("failed to create canvas 2d context");return J.width=O.width,J.height=O.height,fe.drawImage(O,0,0,O.width,O.height),fe.getImageData(-V,-V,O.width+2*V,O.height+2*V)},resolveURL:function(O){return j||(j=self.document.createElement("a")),j.href=O,j.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&(Y==null&&(Y=self.matchMedia("(prefers-reduced-motion: reduce)")),Y.matches)}},Z={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},X={supported:!1,testSupport:function(O){!Q&&G&&(re?ie(O):U=O)}},Q=!1,re=!1;function ie(O){var V=O.createTexture();O.bindTexture(O.TEXTURE_2D,V);try{if(O.texImage2D(O.TEXTURE_2D,0,O.RGBA,O.RGBA,O.UNSIGNED_BYTE,G),O.isContextLost())return;X.supported=!0}catch{}O.deleteTexture(V),Q=!0}self.document&&((G=self.document.createElement("img")).onload=function(){U&&ie(U),U=null,re=!0},G.onerror=function(){Q=!0,U=null},G.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var oe="01",ue=function(O,V){this._transformRequestFn=O,this._customAccessToken=V,this._createSkuToken()};function ce(O){return O.indexOf("mapbox:")===0}ue.prototype._createSkuToken=function(){var O=function(){for(var V="",J=0;J<10;J++)V+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",oe,V].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=O.token,this._skuTokenExpiresAt=O.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(O,V){return this._transformRequestFn&&this._transformRequestFn(O,V)||{url:O}},ue.prototype.normalizeStyleURL=function(O,V){if(!ce(O))return O;var J=pe(O);return J.path="/styles/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(O,V){if(!ce(O))return O;var J=pe(O);return J.path="/fonts/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(O,V){if(!ce(O))return O;var J=pe(O);return J.path="/v4/"+J.authority+".json",J.params.push("secure"),this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(O,V,J,fe){var Ae=pe(O);return ce(O)?(Ae.path="/styles/v1"+Ae.path+"/sprite"+V+J,this._makeAPIURL(Ae,this._customAccessToken||fe)):(Ae.path+=""+V+J,xe(Ae))},ue.prototype.normalizeTileURL=function(O,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),O&&!ce(O))return O;var J=pe(O),fe=te.devicePixelRatio>=2||V===512?"@2x":"",Ae=X.supported?".webp":"$1";J.path=J.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+fe+Ae),J.path=J.path.replace(/^.+\/v4\//,"/"),J.path="/v4"+J.path;var Re=this._customAccessToken||function(Ge){for(var it=0,pt=Ge;it=1&&self.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{P("Unable to write to LocalStorage")}},Me.prototype.processRequests=function(O){},Me.prototype.postEvent=function(O,V,J,fe){var Ae=this;if(Z.EVENTS_URL){var Re=pe(Z.EVENTS_URL);Re.params.push("access_token="+(fe||Z.ACCESS_TOKEN||""));var Ge={event:this.type,created:new Date(O).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:g,skuId:oe,userId:this.anonId},it=V?p(Ge,V):Ge,pt={url:xe(Re),headers:{"Content-Type":"text/plain"},body:JSON.stringify([it])};this.pendingRequest=Rt(pt,function(Ct){Ae.pendingRequest=null,J(Ct),Ae.saveEventData(),Ae.processRequests(fe)})}},Me.prototype.queueRequest=function(O,V){this.queue.push(O),this.processRequests(V)};var Se,Ce,ae=function(O){function V(){O.call(this,"map.load"),this.success={},this.skuToken=""}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.postMapLoadEvent=function(J,fe,Ae,Re){this.skuToken=Ae,(Z.EVENTS_URL&&Re||Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ge){return ce(Ge)||de(Ge)}))&&this.queueRequest({id:fe,timestamp:Date.now()},Re)},V.prototype.processRequests=function(J){var fe=this;if(!this.pendingRequest&&this.queue.length!==0){var Ae=this.queue.shift(),Re=Ae.id,Ge=Ae.timestamp;Re&&this.success[Re]||(this.anonId||this.fetchEventData(),x(this.anonId)||(this.anonId=S()),this.postEvent(Ge,{skuToken:this.skuToken},function(it){it||Re&&(fe.success[Re]=!0)},J))}},V}(Me),he=function(O){function V(J){O.call(this,"appUserTurnstile"),this._customAccessToken=J}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.postTurnstileEvent=function(J,fe){Z.EVENTS_URL&&Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ae){return ce(Ae)||de(Ae)})&&this.queueRequest(Date.now(),fe)},V.prototype.processRequests=function(J){var fe=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var Ae=_e(Z.ACCESS_TOKEN),Re=Ae?Ae.u:Z.ACCESS_TOKEN,Ge=Re!==this.eventData.tokenU;x(this.anonId)||(this.anonId=S(),Ge=!0);var it=this.queue.shift();if(this.eventData.lastSuccess){var pt=new Date(this.eventData.lastSuccess),Ct=new Date(it),Dt=(it-this.eventData.lastSuccess)/864e5;Ge=Ge||Dt>=1||Dt<-1||pt.getDate()!==Ct.getDate()}else Ge=!0;if(!Ge)return this.processRequests();this.postEvent(it,{"enabled.telemetry":!1},function(Gt){Gt||(fe.eventData.lastSuccess=it,fe.eventData.tokenU=Re)},J)}},V}(Me),be=new he,ke=be.postTurnstileEvent.bind(be),Le=new ae,Be=Le.postMapLoadEvent.bind(Le),ze="mapbox-tiles",je=500,ge=50;function we(){self.caches&&!Se&&(Se=self.caches.open(ze))}function Ee(O,V,J){if(we(),Se){var fe={status:V.status,statusText:V.statusText,headers:new self.Headers};V.headers.forEach(function(Re,Ge){return fe.headers.set(Ge,Re)});var Ae=F(V.headers.get("Cache-Control")||"");Ae["no-store"]||(Ae["max-age"]&&fe.headers.set("Expires",new Date(J+1e3*Ae["max-age"]).toUTCString()),new Date(fe.headers.get("Expires")).getTime()-J<42e4||function(Re,Ge){if(Ce===void 0)try{new Response(new ReadableStream),Ce=!0}catch{Ce=!1}Ce?Ge(Re.body):Re.blob().then(Ge)}(V,function(Re){var Ge=new self.Response(Re,fe);we(),Se&&Se.then(function(it){return it.put(Ve(O.url),Ge)}).catch(function(it){return P(it.message)})}))}}function Ve(O){var V=O.indexOf("?");return V<0?O:O.slice(0,V)}function Ye(O,V){if(we(),!Se)return V(null);var J=Ve(O.url);Se.then(function(fe){fe.match(J).then(function(Ae){var Re=function(Ge){if(!Ge)return!1;var it=new Date(Ge.headers.get("Expires")||0),pt=F(Ge.headers.get("Cache-Control")||"");return it>Date.now()&&!pt["no-cache"]}(Ae);fe.delete(J),Re&&fe.put(J,Ae.clone()),V(null,Ae,Re)}).catch(V)}).catch(V)}var $e,st=1/0;function ot(){return $e==null&&($e=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),$e}var ft={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(ft);var bt=function(O){function V(J,fe,Ae){fe===401&&de(Ae)&&(J+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),O.call(this,J),this.status=fe,this.url=Ae,this.name=this.constructor.name,this.message=J}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},V}(Error),Et=D()?function(){return self.worker&&self.worker.referrer}:function(){return(self.location.protocol==="blob:"?self.parent:self).location.href};function kt(O,V){var J,fe=new self.AbortController,Ae=new self.Request(O.url,{method:O.method||"GET",body:O.body,credentials:O.credentials,headers:O.headers,referrer:Et(),signal:fe.signal}),Re=!1,Ge=!1,it=(J=Ae.url).indexOf("sku=")>0&&de(J);O.type==="json"&&Ae.headers.set("Accept","application/json");var pt=function(Dt,Gt,Zt){if(!Ge){if(Dt&&Dt.message!=="SecurityError"&&P(Dt),Gt&&Zt)return Ct(Gt);var Yt=Date.now();self.fetch(Ae).then(function(hn){if(hn.ok){var Mn=it?hn.clone():null;return Ct(hn,Mn,Yt)}return V(new bt(hn.statusText,hn.status,O.url))}).catch(function(hn){hn.code!==20&&V(new Error(hn.message))})}},Ct=function(Dt,Gt,Zt){(O.type==="arrayBuffer"?Dt.arrayBuffer():O.type==="json"?Dt.json():Dt.text()).then(function(Yt){Ge||(Gt&&Zt&&Ee(Ae,Gt,Zt),Re=!0,V(null,Yt,Dt.headers.get("Cache-Control"),Dt.headers.get("Expires")))}).catch(function(Yt){Ge||V(new Error(Yt.message))})};return it?Ye(Ae,pt):pt(null,null),{cancel:function(){Ge=!0,Re||fe.abort()}}}var xt=function(O,V){if(J=O.url,!(/^file:/.test(J)||/^file:/.test(Et())&&!/^\w+:/.test(J))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kt(O,V);if(D()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",O,V,void 0,!0)}var J;return function(fe,Ae){var Re=new self.XMLHttpRequest;for(var Ge in Re.open(fe.method||"GET",fe.url,!0),fe.type==="arrayBuffer"&&(Re.responseType="arraybuffer"),fe.headers)Re.setRequestHeader(Ge,fe.headers[Ge]);return fe.type==="json"&&(Re.responseType="text",Re.setRequestHeader("Accept","application/json")),Re.withCredentials=fe.credentials==="include",Re.onerror=function(){Ae(new Error(Re.statusText))},Re.onload=function(){if((Re.status>=200&&Re.status<300||Re.status===0)&&Re.response!==null){var it=Re.response;if(fe.type==="json")try{it=JSON.parse(Re.response)}catch(pt){return Ae(pt)}Ae(null,it,Re.getResponseHeader("Cache-Control"),Re.getResponseHeader("Expires"))}else Ae(new bt(Re.statusText,Re.status,fe.url))},Re.send(fe.body),{cancel:function(){return Re.abort()}}}(O,V)},Ft=function(O,V){return xt(p(O,{type:"arrayBuffer"}),V)},Rt=function(O,V){return xt(p(O,{method:"POST"}),V)},Bt,qt;Bt=[],qt=0;var Vt=function(O,V){if(X.supported&&(O.headers||(O.headers={}),O.headers.accept="image/webp,*/*"),qt>=Z.MAX_PARALLEL_IMAGE_REQUESTS){var J={requestParameters:O,callback:V,cancelled:!1,cancel:function(){this.cancelled=!0}};return Bt.push(J),J}qt++;var fe=!1,Ae=function(){if(!fe)for(fe=!0,qt--;Bt.length&&qt0||this._oneTimeListeners&&this._oneTimeListeners[O]&&this._oneTimeListeners[O].length>0||this._eventedParent&&this._eventedParent.listens(O)},ht.prototype.setEventedParent=function(O,V){return this._eventedParent=O,this._eventedParentData=V,this};var Pe={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ne=function(O,V,J,fe){this.message=(O?O+": ":"")+J,fe&&(this.identifier=fe),V!=null&&V.__line__&&(this.line=V.__line__)};function Qe(O){var V=O.key,J=O.value;return J?[new Ne(V,J,"constants have been deprecated as of v8")]:[]}function ut(O){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var fe=0,Ae=V;fe":O.itemType.kind==="value"?"array":"array<"+V+">"}return O.kind}var An=[yt,Ot,wt,Pt,Nt,Qt,$t,xn(Wt),rn];function $n(O,V){if(V.kind==="error")return null;if(O.kind==="array"){if(V.kind==="array"&&(V.N===0&&V.itemType.kind==="value"||!$n(O.itemType,V.itemType))&&(typeof O.N!="number"||O.N===V.N))return null}else{if(O.kind===V.kind)return null;if(O.kind==="value"){for(var J=0,fe=An;J255?255:pt}function Ae(pt){return pt<0?0:pt>1?1:pt}function Re(pt){return pt[pt.length-1]==="%"?fe(parseFloat(pt)/100*255):fe(parseInt(pt))}function Ge(pt){return pt[pt.length-1]==="%"?Ae(parseFloat(pt)/100):Ae(parseFloat(pt))}function it(pt,Ct,Dt){return Dt<0?Dt+=1:Dt>1&&(Dt-=1),6*Dt<1?pt+(Ct-pt)*Dt*6:2*Dt<1?Ct:3*Dt<2?pt+(Ct-pt)*(2/3-Dt)*6:pt}try{V.parseCSSColor=function(pt){var Ct,Dt=pt.replace(/ /g,"").toLowerCase();if(Dt in J)return J[Dt].slice();if(Dt[0]==="#")return Dt.length===4?(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=4095?[(3840&Ct)>>4|(3840&Ct)>>8,240&Ct|(240&Ct)>>4,15&Ct|(15&Ct)<<4,1]:null:Dt.length===7&&(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=16777215?[(16711680&Ct)>>16,(65280&Ct)>>8,255&Ct,1]:null;var Gt=Dt.indexOf("("),Zt=Dt.indexOf(")");if(Gt!==-1&&Zt+1===Dt.length){var Yt=Dt.substr(0,Gt),hn=Dt.substr(Gt+1,Zt-(Gt+1)).split(","),Mn=1;switch(Yt){case"rgba":if(hn.length!==4)return null;Mn=Ge(hn.pop());case"rgb":return hn.length!==3?null:[Re(hn[0]),Re(hn[1]),Re(hn[2]),Mn];case"hsla":if(hn.length!==4)return null;Mn=Ge(hn.pop());case"hsl":if(hn.length!==3)return null;var Nn=(parseFloat(hn[0])%360+360)%360/360,Bn=Ge(hn[1]),Wn=Ge(hn[2]),Zn=Wn<=.5?Wn*(Bn+1):Wn+Bn-Wn*Bn,er=2*Wn-Zn;return[fe(255*it(er,Zn,Nn+1/3)),fe(255*it(er,Zn,Nn)),fe(255*it(er,Zn,Nn-1/3)),Mn];default:return null}}return null}}catch{}}),dn=Tn.parseCSSColor,pn=function(O,V,J,fe){fe===void 0&&(fe=1),this.r=O,this.g=V,this.b=J,this.a=fe};pn.parse=function(O){if(O){if(O instanceof pn)return O;if(typeof O=="string"){var V=dn(O);if(V)return new pn(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},pn.prototype.toString=function(){var O=this.toArray(),V=O[0],J=O[1],fe=O[2],Ae=O[3];return"rgba("+Math.round(V)+","+Math.round(J)+","+Math.round(fe)+","+Ae+")"},pn.prototype.toArray=function(){var O=this,V=O.r,J=O.g,fe=O.b,Ae=O.a;return Ae===0?[0,0,0,0]:[255*V/Ae,255*J/Ae,255*fe/Ae,Ae]},pn.black=new pn(0,0,0,1),pn.white=new pn(1,1,1,1),pn.transparent=new pn(0,0,0,0),pn.red=new pn(1,0,0,1);var Dn=function(O,V,J){this.sensitivity=O?V?"variant":"case":V?"accent":"base",this.locale=J,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Dn.prototype.compare=function(O,V){return this.collator.compare(O,V)},Dn.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var In=function(O,V,J,fe,Ae){this.text=O,this.image=V,this.scale=J,this.fontStack=fe,this.textColor=Ae},jn=function(O){this.sections=O};jn.fromString=function(O){return new jn([new In(O,null,null,null,null)])},jn.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(O){return O.text.length!==0||O.image&&O.image.name.length!==0})},jn.factory=function(O){return O instanceof jn?O:jn.fromString(O)},jn.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(O){return O.text}).join("")},jn.prototype.serialize=function(){for(var O=["format"],V=0,J=this.sections;V=0&&O<=255&&typeof V=="number"&&V>=0&&V<=255&&typeof J=="number"&&J>=0&&J<=255?fe===void 0||typeof fe=="number"&&fe>=0&&fe<=1?null:"Invalid rgba value ["+[O,V,J,fe].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof fe=="number"?[O,V,J,fe]:[O,V,J]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function lr(O){if(O===null||typeof O=="string"||typeof O=="boolean"||typeof O=="number"||O instanceof pn||O instanceof Dn||O instanceof jn||O instanceof Gn)return!0;if(Array.isArray(O)){for(var V=0,J=O;V2){var it=O[1];if(typeof it!="string"||!(it in vr)||it==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);Re=vr[it],fe++}else Re=Wt;if(O.length>3){if(O[2]!==null&&(typeof O[2]!="number"||O[2]<0||O[2]!==Math.floor(O[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Ge=O[2],fe++}J=xn(Re,Ge)}else J=vr[Ae];for(var pt=[];fe1)&&V.push(fe)}}return V.concat(this.args.map(function(Ae){return Ae.serialize()}))};var Kt=function(O){this.type=Qt,this.sections=O};Kt.parse=function(O,V){if(O.length<2)return V.error("Expected at least one argument.");var J=O[1];if(!Array.isArray(J)&&typeof J=="object")return V.error("First argument must be an image or text section.");for(var fe=[],Ae=!1,Re=1;Re<=O.length-1;++Re){var Ge=O[Re];if(Ae&&typeof Ge=="object"&&!Array.isArray(Ge)){Ae=!1;var it=null;if(Ge["font-scale"]&&!(it=V.parse(Ge["font-scale"],1,Ot)))return null;var pt=null;if(Ge["text-font"]&&!(pt=V.parse(Ge["text-font"],1,xn(wt))))return null;var Ct=null;if(Ge["text-color"]&&!(Ct=V.parse(Ge["text-color"],1,Nt)))return null;var Dt=fe[fe.length-1];Dt.scale=it,Dt.font=pt,Dt.textColor=Ct}else{var Gt=V.parse(O[Re],1,Wt);if(!Gt)return null;var Zt=Gt.type.kind;if(Zt!=="string"&&Zt!=="value"&&Zt!=="null"&&Zt!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ae=!0,fe.push({content:Gt,scale:null,font:null,textColor:null})}}return new Kt(fe)},Kt.prototype.evaluate=function(O){return new jn(this.sections.map(function(V){var J=V.content.evaluate(O);return rr(J)===rn?new In("",J,null,null,null):new In(Sr(J),null,V.scale?V.scale.evaluate(O):null,V.font?V.font.evaluate(O).join(","):null,V.textColor?V.textColor.evaluate(O):null)}))},Kt.prototype.eachChild=function(O){for(var V=0,J=this.sections;V-1),J},bn.prototype.eachChild=function(O){O(this.input)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){return["image",this.input.serialize()]};var Pn={"to-boolean":Pt,"to-color":Nt,"to-number":Ot,"to-string":wt},Ln=function(O,V){this.type=O,this.args=V};Ln.parse=function(O,V){if(O.length<2)return V.error("Expected at least one argument.");var J=O[0];if((J==="to-boolean"||J==="to-string")&&O.length!==2)return V.error("Expected one argument.");for(var fe=Pn[J],Ae=[],Re=1;Re4?"Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":qn(V[0],V[1],V[2],V[3])))return new pn(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new or(J||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}if(this.type.kind==="number"){for(var Ge=null,it=0,pt=this.args;it=V[2]||O[1]<=V[1]||O[3]>=V[3])}function jt(O,V){var J,fe=(180+O[0])/360,Ae=(J=O[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+J*Math.PI/360)))/360),Re=Math.pow(2,V.z);return[Math.round(fe*Re*mr),Math.round(Ae*Re*mr)]}function Jt(O,V,J){return V[1]>O[1]!=J[1]>O[1]&&O[0]<(J[0]-V[0])*(O[1]-V[1])/(J[1]-V[1])+V[0]}function fn(O,V){for(var J=!1,fe=0,Ae=V.length;fe0&&Gt<0||Dt<0&&Gt>0}function En(O,V,J){for(var fe=0,Ae=J;feJ[2]){var Ae=.5*fe,Re=O[0]-J[0]>Ae?-fe:J[0]-O[0]>Ae?fe:0;Re===0&&(Re=O[0]-J[2]>Ae?-fe:J[2]-O[0]>Ae?fe:0),O[0]+=Re}nn(V,O)}function Vn(O,V,J,fe){for(var Ae=Math.pow(2,fe.z)*mr,Re=[fe.x*mr,fe.y*mr],Ge=[],it=0,pt=O;it=0)return!1;var J=!0;return O.eachChild(function(fe){J&&!cr(fe,V)&&(J=!1)}),J}nr.parse=function(O,V){if(O.length!==2)return V.error("'within' expression requires exactly one argument, but found "+(O.length-1)+" instead.");if(lr(O[1])){var J=O[1];if(J.type==="FeatureCollection")for(var fe=0;feV))throw new or("Input is not a number.");Ge=it-1}return 0}dr.prototype.parse=function(O,V,J,fe,Ae){return Ae===void 0&&(Ae={}),V?this.concat(V,J,fe)._parse(O,Ae):this._parse(O,Ae)},dr.prototype._parse=function(O,V){function J(Ct,Dt,Gt){return Gt==="assert"?new _r(Dt,[Ct]):Gt==="coerce"?new Ln(Dt,[Ct]):Ct}if(O!==null&&typeof O!="string"&&typeof O!="boolean"&&typeof O!="number"||(O=["literal",O]),Array.isArray(O)){if(O.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var fe=O[0];if(typeof fe!="string")return this.error("Expression name must be a string, but found "+typeof fe+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ae=this.registry[fe];if(Ae){var Re=Ae.parse(O,this);if(!Re)return null;if(this.expectedType){var Ge=this.expectedType,it=Re.type;if(Ge.kind!=="string"&&Ge.kind!=="number"&&Ge.kind!=="boolean"&&Ge.kind!=="object"&&Ge.kind!=="array"||it.kind!=="value")if(Ge.kind!=="color"&&Ge.kind!=="formatted"&&Ge.kind!=="resolvedImage"||it.kind!=="value"&&it.kind!=="string"){if(this.checkSubtype(Ge,it))return null}else Re=J(Re,Ge,V.typeAnnotation||"coerce");else Re=J(Re,Ge,V.typeAnnotation||"assert")}if(!(Re instanceof yr)&&Re.type.kind!=="resolvedImage"&&br(Re)){var pt=new Kn;try{Re=new yr(Re.type,Re.evaluate(pt))}catch(Ct){return this.error(Ct.message),null}}return Re}return this.error('Unknown expression "'+fe+'". If you wanted a literal array, use ["literal", [...]].',0)}return O===void 0?this.error("'undefined' value invalid. Use null instead."):typeof O=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof O+" instead.")},dr.prototype.concat=function(O,V,J){var fe=typeof O=="number"?this.path.concat(O):this.path,Ae=J?this.scope.concat(J):this.scope;return new dr(this.registry,fe,V||null,Ae,this.errors)},dr.prototype.error=function(O){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];var fe=""+this.key+V.map(function(Ae){return"["+Ae+"]"}).join("");this.errors.push(new It(fe,O))},dr.prototype.checkSubtype=function(O,V){var J=$n(O,V);return J&&this.error(J),J};var Lr=function(O,V,J){this.type=O,this.input=V,this.labels=[],this.outputs=[];for(var fe=0,Ae=J;fe=Ge)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',pt);var Dt=V.parse(it,Ct,Ae);if(!Dt)return null;Ae=Ae||Dt.type,fe.push([Ge,Dt])}return new Lr(Ae,J,fe)},Lr.prototype.evaluate=function(O){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(O);var fe=this.input.evaluate(O);if(fe<=V[0])return J[0].evaluate(O);var Ae=V.length;return fe>=V[Ae-1]?J[Ae-1].evaluate(O):J[Pr(V,fe)].evaluate(O)},Lr.prototype.eachChild=function(O){O(this.input);for(var V=0,J=this.outputs;V0&&O.push(this.labels[V]),O.push(this.outputs[V].serialize());return O};var gr=Object.freeze({__proto__:null,number:zr,color:function(O,V,J){return new pn(zr(O.r,V.r,J),zr(O.g,V.g,J),zr(O.b,V.b,J),zr(O.a,V.a,J))},array:function(O,V,J){return O.map(function(fe,Ae){return zr(fe,V[Ae],J)})}}),Fr=.95047,ii=1.08883,ji=4/29,ta=6/29,sa=3*ta*ta,uo=Math.PI/180,La=180/Math.PI;function Xi(O){return O>.008856451679035631?Math.pow(O,.3333333333333333):O/sa+ji}function Do(O){return O>ta?O*O*O:sa*(O-ji)}function as(O){return 255*(O<=.0031308?12.92*O:1.055*Math.pow(O,.4166666666666667)-.055)}function tl(O){return(O/=255)<=.04045?O/12.92:Math.pow((O+.055)/1.055,2.4)}function Cu(O){var V=tl(O.r),J=tl(O.g),fe=tl(O.b),Ae=Xi((.4124564*V+.3575761*J+.1804375*fe)/Fr),Re=Xi((.2126729*V+.7151522*J+.072175*fe)/1);return{l:116*Re-16,a:500*(Ae-Re),b:200*(Re-Xi((.0193339*V+.119192*J+.9503041*fe)/ii)),alpha:O.a}}function gh(O){var V=(O.l+16)/116,J=isNaN(O.a)?V:V+O.a/500,fe=isNaN(O.b)?V:V-O.b/200;return V=1*Do(V),J=Fr*Do(J),fe=ii*Do(fe),new pn(as(3.2404542*J-1.5371385*V-.4985314*fe),as(-.969266*J+1.8760108*V+.041556*fe),as(.0556434*J-.2040259*V+1.0572252*fe),O.alpha)}function Af(O,V,J){var fe=V-O;return O+J*(fe>180||fe<-180?fe-360*Math.round(fe/360):fe)}var Eu={forward:Cu,reverse:gh,interpolate:function(O,V,J){return{l:zr(O.l,V.l,J),a:zr(O.a,V.a,J),b:zr(O.b,V.b,J),alpha:zr(O.alpha,V.alpha,J)}}},os={forward:function(O){var V=Cu(O),J=V.l,fe=V.a,Ae=V.b,Re=Math.atan2(Ae,fe)*La;return{h:Re<0?Re+360:Re,c:Math.sqrt(fe*fe+Ae*Ae),l:J,alpha:O.a}},reverse:function(O){var V=O.h*uo,J=O.c;return gh({l:O.l,a:Math.cos(V)*J,b:Math.sin(V)*J,alpha:O.alpha})},interpolate:function(O,V,J){return{h:Af(O.h,V.h,J),c:zr(O.c,V.c,J),l:zr(O.l,V.l,J),alpha:zr(O.alpha,V.alpha,J)}}},Sf=Object.freeze({__proto__:null,lab:Eu,hcl:os}),$a=function(O,V,J,fe,Ae){this.type=O,this.operator=V,this.interpolation=J,this.input=fe,this.labels=[],this.outputs=[];for(var Re=0,Ge=Ae;Re1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);fe={name:"cubic-bezier",controlPoints:it}}if(O.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(O.length-1)+".");if((O.length-1)%2!=0)return V.error("Expected an even number of arguments.");if(!(Ae=V.parse(Ae,2,Ot)))return null;var pt=[],Ct=null;J==="interpolate-hcl"||J==="interpolate-lab"?Ct=Nt:V.expectedType&&V.expectedType.kind!=="value"&&(Ct=V.expectedType);for(var Dt=0;Dt=Gt)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',Yt);var Mn=V.parse(Zt,hn,Ct);if(!Mn)return null;Ct=Ct||Mn.type,pt.push([Gt,Mn])}return Ct.kind==="number"||Ct.kind==="color"||Ct.kind==="array"&&Ct.itemType.kind==="number"&&typeof Ct.N=="number"?new $a(Ct,J,fe,Ae,pt):V.error("Type "+un(Ct)+" is not interpolatable.")},$a.prototype.evaluate=function(O){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(O);var fe=this.input.evaluate(O);if(fe<=V[0])return J[0].evaluate(O);var Ae=V.length;if(fe>=V[Ae-1])return J[Ae-1].evaluate(O);var Re=Pr(V,fe),Ge=V[Re],it=V[Re+1],pt=$a.interpolationFactor(this.interpolation,fe,Ge,it),Ct=J[Re].evaluate(O),Dt=J[Re+1].evaluate(O);return this.operator==="interpolate"?gr[this.type.kind.toLowerCase()](Ct,Dt,pt):this.operator==="interpolate-hcl"?os.reverse(os.interpolate(os.forward(Ct),os.forward(Dt),pt)):Eu.reverse(Eu.interpolate(Eu.forward(Ct),Eu.forward(Dt),pt))},$a.prototype.eachChild=function(O){O(this.input);for(var V=0,J=this.outputs;V=J.length)throw new or("Array index out of bounds: "+V+" > "+(J.length-1)+".");if(V!==Math.floor(V))throw new or("Array index must be an integer, but found "+V+" instead.");return J[V]},Al.prototype.eachChild=function(O){O(this.index),O(this.input)},Al.prototype.outputDefined=function(){return!1},Al.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ui=function(O,V){this.type=Pt,this.needle=O,this.haystack=V};Ui.parse=function(O,V){if(O.length!==3)return V.error("Expected 2 arguments, but found "+(O.length-1)+" instead.");var J=V.parse(O[1],1,Wt),fe=V.parse(O[2],2,Wt);return J&&fe?kn(J.type,[Pt,wt,Ot,yt,Wt])?new Ui(J,fe):V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead"):null},Ui.prototype.evaluate=function(O){var V=this.needle.evaluate(O),J=this.haystack.evaluate(O);if(!J)return!1;if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");return J.indexOf(V)>=0},Ui.prototype.eachChild=function(O){O(this.needle),O(this.haystack)},Ui.prototype.outputDefined=function(){return!0},Ui.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Sl=function(O,V,J){this.type=Ot,this.needle=O,this.haystack=V,this.fromIndex=J};Sl.parse=function(O,V){if(O.length<=2||O.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(O.length-1)+" instead.");var J=V.parse(O[1],1,Wt),fe=V.parse(O[2],2,Wt);if(!J||!fe)return null;if(!kn(J.type,[Pt,wt,Ot,yt,Wt]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead");if(O.length===4){var Ae=V.parse(O[3],3,Ot);return Ae?new Sl(J,fe,Ae):null}return new Sl(J,fe)},Sl.prototype.evaluate=function(O){var V=this.needle.evaluate(O),J=this.haystack.evaluate(O);if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");if(this.fromIndex){var fe=this.fromIndex.evaluate(O);return J.indexOf(V,fe)}return J.indexOf(V)},Sl.prototype.eachChild=function(O){O(this.needle),O(this.haystack),this.fromIndex&&O(this.fromIndex)},Sl.prototype.outputDefined=function(){return!1},Sl.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var O=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),O]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var ms=function(O,V,J,fe,Ae,Re){this.inputType=O,this.type=V,this.input=J,this.cases=fe,this.outputs=Ae,this.otherwise=Re};ms.parse=function(O,V){if(O.length<5)return V.error("Expected at least 4 arguments, but found only "+(O.length-1)+".");if(O.length%2!=1)return V.error("Expected an even number of arguments.");var J,fe;V.expectedType&&V.expectedType.kind!=="value"&&(fe=V.expectedType);for(var Ae={},Re=[],Ge=2;GeNumber.MAX_SAFE_INTEGER)return Ct.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Zt=="number"&&Math.floor(Zt)!==Zt)return Ct.error("Numeric branch labels must be integer values.");if(J){if(Ct.checkSubtype(J,rr(Zt)))return null}else J=rr(Zt);if(Ae[String(Zt)]!==void 0)return Ct.error("Branch labels must be unique.");Ae[String(Zt)]=Re.length}var Yt=V.parse(pt,Ge,fe);if(!Yt)return null;fe=fe||Yt.type,Re.push(Yt)}var hn=V.parse(O[1],1,Wt);if(!hn)return null;var Mn=V.parse(O[O.length-1],O.length-1,fe);return Mn?hn.type.kind!=="value"&&V.concat(1).checkSubtype(J,hn.type)?null:new ms(J,fe,hn,Ae,Re,Mn):null},ms.prototype.evaluate=function(O){var V=this.input.evaluate(O);return(rr(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise).evaluate(O)},ms.prototype.eachChild=function(O){O(this.input),this.outputs.forEach(O),O(this.otherwise)},ms.prototype.outputDefined=function(){return this.outputs.every(function(O){return O.outputDefined()})&&this.otherwise.outputDefined()},ms.prototype.serialize=function(){for(var O=this,V=["match",this.input.serialize()],J=[],fe={},Ae=0,Re=Object.keys(this.cases).sort();Ae=5)return V.error("Expected 3 or 4 arguments, but found "+(O.length-1)+" instead.");var J=V.parse(O[1],1,Wt),fe=V.parse(O[2],2,Ot);if(!J||!fe)return null;if(!kn(J.type,[xn(Wt),wt,Wt]))return V.error("Expected first argument to be of type array or string, but found "+un(J.type)+" instead");if(O.length===4){var Ae=V.parse(O[3],3,Ot);return Ae?new js(J.type,J,fe,Ae):null}return new js(J.type,J,fe)},js.prototype.evaluate=function(O){var V=this.input.evaluate(O),J=this.beginIndex.evaluate(O);if(!sn(V,["string","array"]))throw new or("Expected first argument to be of type array or string, but found "+un(rr(V))+" instead.");if(this.endIndex){var fe=this.endIndex.evaluate(O);return V.slice(J,fe)}return V.slice(J)},js.prototype.eachChild=function(O){O(this.input),O(this.beginIndex),this.endIndex&&O(this.endIndex)},js.prototype.outputDefined=function(){return!1},js.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var O=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),O]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var yh=nl("==",function(O,V,J){return V===J},vh),bh=nl("!=",function(O,V,J){return V!==J},function(O,V,J,fe){return!vh(0,V,J,fe)}),id=nl("<",function(O,V,J){return V",function(O,V,J){return V>J},function(O,V,J,fe){return fe.compare(V,J)>0}),xh=nl("<=",function(O,V,J){return V<=J},function(O,V,J,fe){return fe.compare(V,J)<=0}),Ef=nl(">=",function(O,V,J){return V>=J},function(O,V,J,fe){return fe.compare(V,J)>=0}),rl=function(O,V,J,fe,Ae){this.type=wt,this.number=O,this.locale=V,this.currency=J,this.minFractionDigits=fe,this.maxFractionDigits=Ae};rl.parse=function(O,V){if(O.length!==3)return V.error("Expected two arguments.");var J=V.parse(O[1],1,Ot);if(!J)return null;var fe=O[2];if(typeof fe!="object"||Array.isArray(fe))return V.error("NumberFormat options argument must be an object.");var Ae=null;if(fe.locale&&!(Ae=V.parse(fe.locale,1,wt)))return null;var Re=null;if(fe.currency&&!(Re=V.parse(fe.currency,1,wt)))return null;var Ge=null;if(fe["min-fraction-digits"]&&!(Ge=V.parse(fe["min-fraction-digits"],1,Ot)))return null;var it=null;return fe["max-fraction-digits"]&&!(it=V.parse(fe["max-fraction-digits"],1,Ot))?null:new rl(J,Ae,Re,Ge,it)},rl.prototype.evaluate=function(O){return new Intl.NumberFormat(this.locale?this.locale.evaluate(O):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(O):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(O):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(O):void 0}).format(this.number.evaluate(O))},rl.prototype.eachChild=function(O){O(this.number),this.locale&&O(this.locale),this.currency&&O(this.currency),this.minFractionDigits&&O(this.minFractionDigits),this.maxFractionDigits&&O(this.maxFractionDigits)},rl.prototype.outputDefined=function(){return!1},rl.prototype.serialize=function(){var O={};return this.locale&&(O.locale=this.locale.serialize()),this.currency&&(O.currency=this.currency.serialize()),this.minFractionDigits&&(O["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(O["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),O]};var il=function(O){this.type=Ot,this.input=O};il.parse=function(O,V){if(O.length!==2)return V.error("Expected 1 argument, but found "+(O.length-1)+" instead.");var J=V.parse(O[1],1);return J?J.type.kind!=="array"&&J.type.kind!=="string"&&J.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+un(J.type)+" instead."):new il(J):null},il.prototype.evaluate=function(O){var V=this.input.evaluate(O);if(typeof V=="string"||Array.isArray(V))return V.length;throw new or("Expected value to be of type string or array, but found "+un(rr(V))+" instead.")},il.prototype.eachChild=function(O){O(this.input)},il.prototype.outputDefined=function(){return!1},il.prototype.serialize=function(){var O=["length"];return this.eachChild(function(V){O.push(V.serialize())}),O};var Lu={"==":yh,"!=":bh,">":Cf,"<":id,">=":Ef,"<=":xh,array:_r,at:Al,boolean:_r,case:Is,coalesce:Yo,collator:tr,format:Kt,image:bn,in:Ui,"index-of":Sl,interpolate:$a,"interpolate-hcl":$a,"interpolate-lab":$a,length:il,let:ss,literal:yr,match:ms,number:_r,"number-format":rl,object:_r,slice:js,step:Lr,string:_r,"to-boolean":Ln,"to-color":Ln,"to-number":Ln,"to-string":Ln,var:pr,within:nr};function al(O,V){var J=V[0],fe=V[1],Ae=V[2],Re=V[3];J=J.evaluate(O),fe=fe.evaluate(O),Ae=Ae.evaluate(O);var Ge=Re?Re.evaluate(O):1,it=qn(J,fe,Ae,Ge);if(it)throw new or(it);return new pn(J/255*Ge,fe/255*Ge,Ae/255*Ge,Ge)}function Lf(O,V){return O in V}function If(O,V){var J=V[O];return J===void 0?null:J}function Jl(O){return{type:O}}function Vc(O){return{result:"success",value:O}}function Cl(O){return{result:"error",value:O}}function Iu(O){return O["property-type"]==="data-driven"||O["property-type"]==="cross-faded-data-driven"}function Ql(O){return!!O.expression&&O.expression.parameters.indexOf("zoom")>-1}function ol(O){return!!O.expression&&O.expression.interpolated}function Hi(O){return O instanceof Number?"number":O instanceof String?"string":O instanceof Boolean?"boolean":Array.isArray(O)?"array":O===null?"null":typeof O}function El(O){return typeof O=="object"&&O!==null&&!Array.isArray(O)}function ad(O){return O}function jc(O,V){var J,fe,Ae,Re=V.type==="color",Ge=O.stops&&typeof O.stops[0][0]=="object",it=Ge||O.property!==void 0,pt=Ge||!it,Ct=O.type||(ol(V)?"exponential":"interval");if(Re&&((O=ut({},O)).stops&&(O.stops=O.stops.map(function(Tr){return[Tr[0],pn.parse(Tr[1])]})),O.default?O.default=pn.parse(O.default):O.default=pn.parse(V.default)),O.colorSpace&&O.colorSpace!=="rgb"&&!Sf[O.colorSpace])throw new Error("Unknown color space: "+O.colorSpace);if(Ct==="exponential")J=gs;else if(Ct==="interval")J=Pu;else if(Ct==="categorical"){J=eu,fe=Object.create(null);for(var Dt=0,Gt=O.stops;Dt=O.stops[fe-1][0])return O.stops[fe-1][1];var Ae=Pr(O.stops.map(function(Re){return Re[0]}),J);return O.stops[Ae][1]}function gs(O,V,J){var fe=O.base!==void 0?O.base:1;if(Hi(J)!=="number")return fc(O.default,V.default);var Ae=O.stops.length;if(Ae===1||J<=O.stops[0][0])return O.stops[0][1];if(J>=O.stops[Ae-1][0])return O.stops[Ae-1][1];var Re=Pr(O.stops.map(function(Gt){return Gt[0]}),J),Ge=function(Gt,Zt,Yt,hn){var Mn=hn-Yt,Nn=Gt-Yt;return Mn===0?0:Zt===1?Nn/Mn:(Math.pow(Zt,Nn)-1)/(Math.pow(Zt,Mn)-1)}(J,fe,O.stops[Re][0],O.stops[Re+1][0]),it=O.stops[Re][1],pt=O.stops[Re+1][1],Ct=gr[V.type]||ad;if(O.colorSpace&&O.colorSpace!=="rgb"){var Dt=Sf[O.colorSpace];Ct=function(Gt,Zt){return Dt.reverse(Dt.interpolate(Dt.forward(Gt),Dt.forward(Zt),Ge))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var Gt=[],Zt=arguments.length;Zt--;)Gt[Zt]=arguments[Zt];var Yt=it.evaluate.apply(void 0,Gt),hn=pt.evaluate.apply(void 0,Gt);if(Yt!==void 0&&hn!==void 0)return Ct(Yt,hn,Ge)}}:Ct(it,pt,Ge)}function Pf(O,V,J){return V.type==="color"?J=pn.parse(J):V.type==="formatted"?J=jn.fromString(J.toString()):V.type==="resolvedImage"?J=Gn.fromString(J.toString()):Hi(J)===V.type||V.type==="enum"&&V.values[J]||(J=void 0),fc(J,O.default,V.default)}Yn.register(Lu,{error:[{kind:"error"},[wt],function(O,V){var J=V[0];throw new or(J.evaluate(O))}],typeof:[wt,[Wt],function(O,V){return un(rr(V[0].evaluate(O)))}],"to-rgba":[xn(Ot,4),[Nt],function(O,V){return V[0].evaluate(O).toArray()}],rgb:[Nt,[Ot,Ot,Ot],al],rgba:[Nt,[Ot,Ot,Ot,Ot],al],has:{type:Pt,overloads:[[[wt],function(O,V){return Lf(V[0].evaluate(O),O.properties())}],[[wt,$t],function(O,V){var J=V[0],fe=V[1];return Lf(J.evaluate(O),fe.evaluate(O))}]]},get:{type:Wt,overloads:[[[wt],function(O,V){return If(V[0].evaluate(O),O.properties())}],[[wt,$t],function(O,V){var J=V[0],fe=V[1];return If(J.evaluate(O),fe.evaluate(O))}]]},"feature-state":[Wt,[wt],function(O,V){return If(V[0].evaluate(O),O.featureState||{})}],properties:[$t,[],function(O){return O.properties()}],"geometry-type":[wt,[],function(O){return O.geometryType()}],id:[Wt,[],function(O){return O.id()}],zoom:[Ot,[],function(O){return O.globals.zoom}],"heatmap-density":[Ot,[],function(O){return O.globals.heatmapDensity||0}],"line-progress":[Ot,[],function(O){return O.globals.lineProgress||0}],accumulated:[Wt,[],function(O){return O.globals.accumulated===void 0?null:O.globals.accumulated}],"+":[Ot,Jl(Ot),function(O,V){for(var J=0,fe=0,Ae=V;fe":[Pt,[wt,Wt],function(O,V){var J=V[0],fe=V[1],Ae=O.properties()[J.value],Re=fe.value;return typeof Ae==typeof Re&&Ae>Re}],"filter-id->":[Pt,[Wt],function(O,V){var J=V[0],fe=O.id(),Ae=J.value;return typeof fe==typeof Ae&&fe>Ae}],"filter-<=":[Pt,[wt,Wt],function(O,V){var J=V[0],fe=V[1],Ae=O.properties()[J.value],Re=fe.value;return typeof Ae==typeof Re&&Ae<=Re}],"filter-id-<=":[Pt,[Wt],function(O,V){var J=V[0],fe=O.id(),Ae=J.value;return typeof fe==typeof Ae&&fe<=Ae}],"filter->=":[Pt,[wt,Wt],function(O,V){var J=V[0],fe=V[1],Ae=O.properties()[J.value],Re=fe.value;return typeof Ae==typeof Re&&Ae>=Re}],"filter-id->=":[Pt,[Wt],function(O,V){var J=V[0],fe=O.id(),Ae=J.value;return typeof fe==typeof Ae&&fe>=Ae}],"filter-has":[Pt,[Wt],function(O,V){return V[0].value in O.properties()}],"filter-has-id":[Pt,[],function(O){return O.id()!==null&&O.id()!==void 0}],"filter-type-in":[Pt,[xn(wt)],function(O,V){return V[0].value.indexOf(O.geometryType())>=0}],"filter-id-in":[Pt,[xn(Wt)],function(O,V){return V[0].value.indexOf(O.id())>=0}],"filter-in-small":[Pt,[wt,xn(Wt)],function(O,V){var J=V[0];return V[1].value.indexOf(O.properties()[J.value])>=0}],"filter-in-large":[Pt,[wt,xn(Wt)],function(O,V){var J=V[0],fe=V[1];return function(Ae,Re,Ge,it){for(;Ge<=it;){var pt=Ge+it>>1;if(Re[pt]===Ae)return!0;Re[pt]>Ae?it=pt-1:Ge=pt+1}return!1}(O.properties()[J.value],fe.value,0,fe.value.length-1)}],all:{type:Pt,overloads:[[[Pt,Pt],function(O,V){var J=V[0],fe=V[1];return J.evaluate(O)&&fe.evaluate(O)}],[Jl(Pt),function(O,V){for(var J=0,fe=V;J0&&typeof O[0]=="string"&&O[0]in Lu}function dc(O,V){var J=new dr(Lu,[],V?function(Ae){var Re={color:Nt,string:wt,number:Ot,enum:wt,boolean:Pt,formatted:Qt,resolvedImage:rn};return Ae.type==="array"?xn(Re[Ae.value]||Wt,Ae.length):Re[Ae.type]}(V):void 0),fe=J.parse(O,void 0,void 0,void 0,V&&V.type==="string"?{typeAnnotation:"coerce"}:void 0);return fe?Vc(new hc(fe,V)):Cl(J.errors)}hc.prototype.evaluateWithoutErrorHandling=function(O,V,J,fe,Ae,Re){return this._evaluator.globals=O,this._evaluator.feature=V,this._evaluator.featureState=J,this._evaluator.canonical=fe,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Re,this.expression.evaluate(this._evaluator)},hc.prototype.evaluate=function(O,V,J,fe,Ae,Re){this._evaluator.globals=O,this._evaluator.feature=V||null,this._evaluator.featureState=J||null,this._evaluator.canonical=fe,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Re||null;try{var Ge=this.expression.evaluate(this._evaluator);if(Ge==null||typeof Ge=="number"&&Ge!=Ge)return this._defaultValue;if(this._enumValues&&!(Ge in this._enumValues))throw new or("Expected value to be one of "+Object.keys(this._enumValues).map(function(it){return JSON.stringify(it)}).join(", ")+", but found "+JSON.stringify(Ge)+" instead.");return Ge}catch(it){return this._warningHistory[it.message]||(this._warningHistory[it.message]=!0,typeof console<"u"&&console.warn(it.message)),this._defaultValue}};var tu=function(O,V){this.kind=O,this._styleExpression=V,this.isStateDependent=O!=="constant"&&!fr(V.expression)};tu.prototype.evaluateWithoutErrorHandling=function(O,V,J,fe,Ae,Re){return this._styleExpression.evaluateWithoutErrorHandling(O,V,J,fe,Ae,Re)},tu.prototype.evaluate=function(O,V,J,fe,Ae,Re){return this._styleExpression.evaluate(O,V,J,fe,Ae,Re)};var nu=function(O,V,J,fe){this.kind=O,this.zoomStops=J,this._styleExpression=V,this.isStateDependent=O!=="camera"&&!fr(V.expression),this.interpolationType=fe};function Ru(O,V){if((O=dc(O,V)).result==="error")return O;var J=O.value.expression,fe=Qn(J);if(!fe&&!Iu(V))return Cl([new It("","data expressions not supported")]);var Ae=cr(J,["zoom"]);if(!Ae&&!Ql(V))return Cl([new It("","zoom expressions not supported")]);var Re=mc(J);if(!Re&&!Ae)return Cl([new It("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Re instanceof It)return Cl([Re]);if(Re instanceof $a&&!ol(V))return Cl([new It("",'"interpolate" expressions cannot be used with this property')]);if(!Re)return Vc(new tu(fe?"constant":"source",O.value));var Ge=Re instanceof $a?Re.interpolation:void 0;return Vc(new nu(fe?"camera":"composite",O.value,Re.labels,Ge))}nu.prototype.evaluateWithoutErrorHandling=function(O,V,J,fe,Ae,Re){return this._styleExpression.evaluateWithoutErrorHandling(O,V,J,fe,Ae,Re)},nu.prototype.evaluate=function(O,V,J,fe,Ae,Re){return this._styleExpression.evaluate(O,V,J,fe,Ae,Re)},nu.prototype.interpolationFactor=function(O,V,J){return this.interpolationType?$a.interpolationFactor(this.interpolationType,O,V,J):0};var pc=function(O,V){this._parameters=O,this._specification=V,ut(this,jc(this._parameters,this._specification))};function mc(O){var V=null;if(O instanceof ss)V=mc(O.result);else if(O instanceof Yo)for(var J=0,fe=O.args;Jfe.maximum?[new Ne(V,J,J+" is greater than the maximum value "+fe.maximum)]:[]}function Of(O){var V,J,fe,Ae=O.valueSpec,Re=dt(O.value.type),Ge={},it=Re!=="categorical"&&O.value.property===void 0,pt=!it,Ct=Hi(O.value.stops)==="array"&&Hi(O.value.stops[0])==="array"&&Hi(O.value.stops[0][0])==="object",Dt=vs({key:O.key,value:O.value,valueSpec:O.styleSpec.function,style:O.style,styleSpec:O.styleSpec,objectElementValidators:{stops:function(Yt){if(Re==="identity")return[new Ne(Yt.key,Yt.value,'identity function may not have a "stops" property')];var hn=[],Mn=Yt.value;return hn=hn.concat(gc({key:Yt.key,value:Mn,valueSpec:Yt.valueSpec,style:Yt.style,styleSpec:Yt.styleSpec,arrayElementValidator:Gt})),Hi(Mn)==="array"&&Mn.length===0&&hn.push(new Ne(Yt.key,Mn,"array must have at least one stop")),hn},default:function(Yt){return da({key:Yt.key,value:Yt.value,valueSpec:Ae,style:Yt.style,styleSpec:Yt.styleSpec})}}});return Re==="identity"&&it&&Dt.push(new Ne(O.key,O.value,'missing required property "property"')),Re==="identity"||O.value.stops||Dt.push(new Ne(O.key,O.value,'missing required property "stops"')),Re==="exponential"&&O.valueSpec.expression&&!ol(O.valueSpec)&&Dt.push(new Ne(O.key,O.value,"exponential functions not supported")),O.styleSpec.$version>=8&&(pt&&!Iu(O.valueSpec)?Dt.push(new Ne(O.key,O.value,"property functions not supported")):it&&!Ql(O.valueSpec)&&Dt.push(new Ne(O.key,O.value,"zoom functions not supported"))),Re!=="categorical"&&!Ct||O.value.property!==void 0||Dt.push(new Ne(O.key,O.value,'"property" property is required')),Dt;function Gt(Yt){var hn=[],Mn=Yt.value,Nn=Yt.key;if(Hi(Mn)!=="array")return[new Ne(Nn,Mn,"array expected, "+Hi(Mn)+" found")];if(Mn.length!==2)return[new Ne(Nn,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ct){if(Hi(Mn[0])!=="object")return[new Ne(Nn,Mn,"object expected, "+Hi(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new Ne(Nn,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new Ne(Nn,Mn,"object stop key must have value")];if(fe&&fe>dt(Mn[0].zoom))return[new Ne(Nn,Mn[0].zoom,"stop zoom values must appear in ascending order")];dt(Mn[0].zoom)!==fe&&(fe=dt(Mn[0].zoom),J=void 0,Ge={}),hn=hn.concat(vs({key:Nn+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:Yt.style,styleSpec:Yt.styleSpec,objectElementValidators:{zoom:vc,value:Zt}}))}else hn=hn.concat(Zt({key:Nn+"[0]",value:Mn[0],valueSpec:{},style:Yt.style,styleSpec:Yt.styleSpec},Mn));return Ou(_t(Mn[1]))?hn.concat([new Ne(Nn+"[1]",Mn[1],"expressions are not allowed in function stops.")]):hn.concat(da({key:Nn+"[1]",value:Mn[1],valueSpec:Ae,style:Yt.style,styleSpec:Yt.styleSpec}))}function Zt(Yt,hn){var Mn=Hi(Yt.value),Nn=dt(Yt.value),Bn=Yt.value!==null?Yt.value:hn;if(V){if(Mn!==V)return[new Ne(Yt.key,Bn,Mn+" stop domain type must match previous stop domain type "+V)]}else V=Mn;if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new Ne(Yt.key,Bn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&Re!=="categorical"){var Wn="number expected, "+Mn+" found";return Iu(Ae)&&Re===void 0&&(Wn+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ne(Yt.key,Bn,Wn)]}return Re!=="categorical"||Mn!=="number"||isFinite(Nn)&&Math.floor(Nn)===Nn?Re!=="categorical"&&Mn==="number"&&J!==void 0&&Nn=2&&O[1]!=="$id"&&O[1]!=="$type";case"in":return O.length>=3&&(typeof O[1]!="string"||Array.isArray(O[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return O.length!==3||Array.isArray(O[1])||Array.isArray(O[2]);case"any":case"all":for(var V=0,J=O.slice(1);VV?1:0}function ru(O){if(!Array.isArray(O))return!1;if(O[0]==="within")return!0;for(var V=1;V"||J==="<="||J===">="?Ki(O[1],O[2],J):J==="any"?(V=O.slice(1),["any"].concat(V.map(iu))):J==="all"?["all"].concat(O.slice(1).map(iu)):J==="none"?["all"].concat(O.slice(1).map(iu).map(po)):J==="in"?Il(O[1],O.slice(2)):J==="!in"?po(Il(O[1],O.slice(2))):J==="has"?Pl(O[1]):J==="!has"?po(Pl(O[1])):J!=="within"||O}function Ki(O,V,J){switch(O){case"$type":return["filter-type-"+J,V];case"$id":return["filter-id-"+J,V];default:return["filter-"+J,O,V]}}function Il(O,V){if(V.length===0)return!1;switch(O){case"$type":return["filter-type-in",["literal",V]];case"$id":return["filter-id-in",["literal",V]];default:return V.length>200&&!V.some(function(J){return typeof J!=typeof V[0]})?["filter-in-large",O,["literal",V.sort(Du)]]:["filter-in-small",O,["literal",V]]}}function Pl(O){switch(O){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",O]}}function po(O){return["!",O]}function Ri(O){return yc(_t(O.value))?Ll(ut({},O,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Bi(O)}function Bi(O){var V=O.value,J=O.key;if(Hi(V)!=="array")return[new Ne(J,V,"array expected, "+Hi(V)+" found")];var fe,Ae=O.styleSpec,Re=[];if(V.length<1)return[new Ne(J,V,"filter array must have at least 1 element")];switch(Re=Re.concat(Uc({key:J+"[0]",value:V[0],valueSpec:Ae.filter_operator,style:O.style,styleSpec:O.styleSpec})),dt(V[0])){case"<":case"<=":case">":case">=":V.length>=2&&dt(V[1])==="$type"&&Re.push(new Ne(J,V,'"$type" cannot be use with operator "'+V[0]+'"'));case"==":case"!=":V.length!==3&&Re.push(new Ne(J,V,'filter array for operator "'+V[0]+'" must have 3 elements'));case"in":case"!in":V.length>=2&&(fe=Hi(V[1]))!=="string"&&Re.push(new Ne(J+"[1]",V[1],"string expected, "+fe+" found"));for(var Ge=2;Ge=Dt[Yt+0]&&fe>=Dt[Yt+1])?(Ge[Zt]=!0,Re.push(Ct[Zt])):Ge[Zt]=!1}}},Zo.prototype._forEachCell=function(O,V,J,fe,Ae,Re,Ge,it){for(var pt=this._convertToCellCoord(O),Ct=this._convertToCellCoord(V),Dt=this._convertToCellCoord(J),Gt=this._convertToCellCoord(fe),Zt=pt;Zt<=Dt;Zt++)for(var Yt=Ct;Yt<=Gt;Yt++){var hn=this.d*Yt+Zt;if((!it||it(this._convertFromCellCoord(Zt),this._convertFromCellCoord(Yt),this._convertFromCellCoord(Zt+1),this._convertFromCellCoord(Yt+1)))&&Ae.call(this,O,V,J,fe,hn,Re,Ge,it))return}},Zo.prototype._convertFromCellCoord=function(O){return(O-this.padding)/this.scale},Zo.prototype._convertToCellCoord=function(O){return Math.max(0,Math.min(this.d-1,Math.floor(O*this.scale)+this.padding))},Zo.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var O=this.cells,V=3+this.cells.length+1+1,J=0,fe=0;fe=0)){var Gt=O[Dt];Ct[Dt]=Lo[pt].shallow.indexOf(Dt)>=0?Gt:zu(Gt,V)}O instanceof Error&&(Ct.message=O.message)}if(Ct.$name)throw new Error("$name property is reserved for worker serialization logic.");return pt!=="Object"&&(Ct.$name=pt),Ct}throw new Error("can't serialize object of type "+typeof O)}function Fu(O){if(O==null||typeof O=="boolean"||typeof O=="number"||typeof O=="string"||O instanceof Boolean||O instanceof Number||O instanceof String||O instanceof Date||O instanceof RegExp||Fo(O)||Wc(O)||ArrayBuffer.isView(O)||O instanceof Gc)return O;if(Array.isArray(O))return O.map(Fu);if(typeof O=="object"){var V=O.$name||"Object",J=Lo[V].klass;if(!J)throw new Error("can't deserialize unregistered class "+V);if(J.deserialize)return J.deserialize(O);for(var fe=Object.create(J.prototype),Ae=0,Re=Object.keys(O);Ae=0?it:Fu(it)}}return fe}throw new Error("can't deserialize object of type "+typeof O)}var Bu=function(){this.first=!0};Bu.prototype.update=function(O,V){var J=Math.floor(O);return this.first?(this.first=!1,this.lastIntegerZoom=J,this.lastIntegerZoomTime=0,this.lastZoom=O,this.lastFloorZoom=J,!0):(this.lastFloorZoom>J?(this.lastIntegerZoom=J+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&O<=255},Arabic:function(O){return O>=1536&&O<=1791},"Arabic Supplement":function(O){return O>=1872&&O<=1919},"Arabic Extended-A":function(O){return O>=2208&&O<=2303},"Hangul Jamo":function(O){return O>=4352&&O<=4607},"Unified Canadian Aboriginal Syllabics":function(O){return O>=5120&&O<=5759},Khmer:function(O){return O>=6016&&O<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(O){return O>=6320&&O<=6399},"General Punctuation":function(O){return O>=8192&&O<=8303},"Letterlike Symbols":function(O){return O>=8448&&O<=8527},"Number Forms":function(O){return O>=8528&&O<=8591},"Miscellaneous Technical":function(O){return O>=8960&&O<=9215},"Control Pictures":function(O){return O>=9216&&O<=9279},"Optical Character Recognition":function(O){return O>=9280&&O<=9311},"Enclosed Alphanumerics":function(O){return O>=9312&&O<=9471},"Geometric Shapes":function(O){return O>=9632&&O<=9727},"Miscellaneous Symbols":function(O){return O>=9728&&O<=9983},"Miscellaneous Symbols and Arrows":function(O){return O>=11008&&O<=11263},"CJK Radicals Supplement":function(O){return O>=11904&&O<=12031},"Kangxi Radicals":function(O){return O>=12032&&O<=12255},"Ideographic Description Characters":function(O){return O>=12272&&O<=12287},"CJK Symbols and Punctuation":function(O){return O>=12288&&O<=12351},Hiragana:function(O){return O>=12352&&O<=12447},Katakana:function(O){return O>=12448&&O<=12543},Bopomofo:function(O){return O>=12544&&O<=12591},"Hangul Compatibility Jamo":function(O){return O>=12592&&O<=12687},Kanbun:function(O){return O>=12688&&O<=12703},"Bopomofo Extended":function(O){return O>=12704&&O<=12735},"CJK Strokes":function(O){return O>=12736&&O<=12783},"Katakana Phonetic Extensions":function(O){return O>=12784&&O<=12799},"Enclosed CJK Letters and Months":function(O){return O>=12800&&O<=13055},"CJK Compatibility":function(O){return O>=13056&&O<=13311},"CJK Unified Ideographs Extension A":function(O){return O>=13312&&O<=19903},"Yijing Hexagram Symbols":function(O){return O>=19904&&O<=19967},"CJK Unified Ideographs":function(O){return O>=19968&&O<=40959},"Yi Syllables":function(O){return O>=40960&&O<=42127},"Yi Radicals":function(O){return O>=42128&&O<=42191},"Hangul Jamo Extended-A":function(O){return O>=43360&&O<=43391},"Hangul Syllables":function(O){return O>=44032&&O<=55215},"Hangul Jamo Extended-B":function(O){return O>=55216&&O<=55295},"Private Use Area":function(O){return O>=57344&&O<=63743},"CJK Compatibility Ideographs":function(O){return O>=63744&&O<=64255},"Arabic Presentation Forms-A":function(O){return O>=64336&&O<=65023},"Vertical Forms":function(O){return O>=65040&&O<=65055},"CJK Compatibility Forms":function(O){return O>=65072&&O<=65103},"Small Form Variants":function(O){return O>=65104&&O<=65135},"Arabic Presentation Forms-B":function(O){return O>=65136&&O<=65279},"Halfwidth and Fullwidth Forms":function(O){return O>=65280&&O<=65519}};function Nu(O){for(var V=0,J=O;V=65097&&O<=65103)||Br["CJK Compatibility Ideographs"](O)||Br["CJK Compatibility"](O)||Br["CJK Radicals Supplement"](O)||Br["CJK Strokes"](O)||!(!Br["CJK Symbols and Punctuation"](O)||O>=12296&&O<=12305||O>=12308&&O<=12319||O===12336)||Br["CJK Unified Ideographs Extension A"](O)||Br["CJK Unified Ideographs"](O)||Br["Enclosed CJK Letters and Months"](O)||Br["Hangul Compatibility Jamo"](O)||Br["Hangul Jamo Extended-A"](O)||Br["Hangul Jamo Extended-B"](O)||Br["Hangul Jamo"](O)||Br["Hangul Syllables"](O)||Br.Hiragana(O)||Br["Ideographic Description Characters"](O)||Br.Kanbun(O)||Br["Kangxi Radicals"](O)||Br["Katakana Phonetic Extensions"](O)||Br.Katakana(O)&&O!==12540||!(!Br["Halfwidth and Fullwidth Forms"](O)||O===65288||O===65289||O===65293||O>=65306&&O<=65310||O===65339||O===65341||O===65343||O>=65371&&O<=65503||O===65507||O>=65512&&O<=65519)||!(!Br["Small Form Variants"](O)||O>=65112&&O<=65118||O>=65123&&O<=65126)||Br["Unified Canadian Aboriginal Syllabics"](O)||Br["Unified Canadian Aboriginal Syllabics Extended"](O)||Br["Vertical Forms"](O)||Br["Yijing Hexagram Symbols"](O)||Br["Yi Syllables"](O)||Br["Yi Radicals"](O))))}function $c(O){return!(bs(O)||function(V){return!!(Br["Latin-1 Supplement"](V)&&(V===167||V===169||V===174||V===177||V===188||V===189||V===190||V===215||V===247)||Br["General Punctuation"](V)&&(V===8214||V===8224||V===8225||V===8240||V===8241||V===8251||V===8252||V===8258||V===8263||V===8264||V===8265||V===8273)||Br["Letterlike Symbols"](V)||Br["Number Forms"](V)||Br["Miscellaneous Technical"](V)&&(V>=8960&&V<=8967||V>=8972&&V<=8991||V>=8996&&V<=9e3||V===9003||V>=9085&&V<=9114||V>=9150&&V<=9165||V===9167||V>=9169&&V<=9179||V>=9186&&V<=9215)||Br["Control Pictures"](V)&&V!==9251||Br["Optical Character Recognition"](V)||Br["Enclosed Alphanumerics"](V)||Br["Geometric Shapes"](V)||Br["Miscellaneous Symbols"](V)&&!(V>=9754&&V<=9759)||Br["Miscellaneous Symbols and Arrows"](V)&&(V>=11026&&V<=11055||V>=11088&&V<=11097||V>=11192&&V<=11243)||Br["CJK Symbols and Punctuation"](V)||Br.Katakana(V)||Br["Private Use Area"](V)||Br["CJK Compatibility Forms"](V)||Br["Small Form Variants"](V)||Br["Halfwidth and Fullwidth Forms"](V)||V===8734||V===8756||V===8757||V>=9984&&V<=10087||V>=10102&&V<=10131||V===65532||V===65533)}(O))}function xc(O){return Br.Arabic(O)||Br["Arabic Supplement"](O)||Br["Arabic Extended-A"](O)||Br["Arabic Presentation Forms-A"](O)||Br["Arabic Presentation Forms-B"](O)}function vo(O){return O>=1424&&O<=2303||Br["Arabic Presentation Forms-A"](O)||Br["Arabic Presentation Forms-B"](O)}function cu(O,V){return!(!V&&vo(O)||O>=2304&&O<=3583||O>=3840&&O<=4255||Br.Khmer(O))}function ul(O){for(var V=0,J=O;V-1&&(yo=xs),fu&&fu(O)};function _c(){ls.fire(new qe("pluginStateChange",{pluginStatus:yo,pluginURL:_s}))}var ls=new ht,ws=function(){return yo},Gs=function(){if(yo!==Xo||!_s)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");yo=Rl,_c(),_s&&Ft({url:_s},function(O){O?$i(O):(yo=Ps,_c())})},Bo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return yo===Ps||Bo.applyArabicShaping!=null},isLoading:function(){return yo===Rl},setState:function(O){yo=O.pluginStatus,_s=O.pluginURL},isParsed:function(){return Bo.applyArabicShaping!=null&&Bo.processBidirectionalText!=null&&Bo.processStyledBidirectionalText!=null},getPluginURL:function(){return _s}},Wi=function(O,V){this.zoom=O,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Bu,this.transition={})};Wi.prototype.isSupportedScript=function(O){return function(V,J){for(var fe=0,Ae=V;fethis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*J}:{fromScale:.5,toScale:1,t:1-(1-J)*V}};var no=function(O,V){this.property=O,this.value=V,this.expression=function(J,fe){if(El(J))return new pc(J,fe);if(Ou(J)){var Ae=Ru(J,fe);if(Ae.result==="error")throw new Error(Ae.value.map(function(Ge){return Ge.key+": "+Ge.message}).join(", "));return Ae.value}var Re=J;return typeof J=="string"&&fe.type==="color"&&(Re=pn.parse(J)),{kind:"constant",evaluate:function(){return Re}}}(V===void 0?O.specification.default:V,O.specification)};no.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},no.prototype.possiblyEvaluate=function(O,V,J){return this.property.possiblyEvaluate(this,O,V,J)};var Os=function(O){this.property=O,this.value=new no(O,void 0)};Os.prototype.transitioned=function(O,V){return new qs(this.property,this.value,V,p({},O.transition,this.transition),O.now)},Os.prototype.untransitioned=function(){return new qs(this.property,this.value,null,{},0)};var No=function(O){this._properties=O,this._values=Object.create(O.defaultTransitionablePropertyValues)};No.prototype.getValue=function(O){return L(this._values[O].value.value)},No.prototype.setValue=function(O,V){this._values.hasOwnProperty(O)||(this._values[O]=new Os(this._values[O].property)),this._values[O].value=new no(this._values[O].property,V===null?void 0:L(V))},No.prototype.getTransition=function(O){return L(this._values[O].transition)},No.prototype.setTransition=function(O,V){this._values.hasOwnProperty(O)||(this._values[O]=new Os(this._values[O].property)),this._values[O].transition=L(V)||void 0},No.prototype.serialize=function(){for(var O={},V=0,J=Object.keys(this._values);Vthis.end)return this.prior=null,Ae;if(this.value.isDataDriven())return this.prior=null,Ae;if(fe=1)return 1;var pt=it*it,Ct=pt*it;return 4*(it<.5?Ct:3*(it-pt)+Ct-.75)}(Ge))}return Ae};var Dl=function(O){this._properties=O,this._values=Object.create(O.defaultTransitioningPropertyValues)};Dl.prototype.possiblyEvaluate=function(O,V,J){for(var fe=new Ts(this._properties),Ae=0,Re=Object.keys(this._values);AeRe.zoomHistory.lastIntegerZoom?{from:J,to:fe}:{from:Ae,to:fe}},V.prototype.interpolate=function(J){return J},V}(ni),fl=function(O){this.specification=O};fl.prototype.possiblyEvaluate=function(O,V,J,fe){if(O.value!==void 0){if(O.expression.kind==="constant"){var Ae=O.expression.evaluate(V,null,{},J,fe);return this._calculate(Ae,Ae,Ae,V)}return this._calculate(O.expression.evaluate(new Wi(Math.floor(V.zoom-1),V)),O.expression.evaluate(new Wi(Math.floor(V.zoom),V)),O.expression.evaluate(new Wi(Math.floor(V.zoom+1),V)),V)}},fl.prototype._calculate=function(O,V,J,fe){return fe.zoom>fe.zoomHistory.lastIntegerZoom?{from:O,to:V}:{from:J,to:V}},fl.prototype.interpolate=function(O){return O};var Rs=function(O){this.specification=O};Rs.prototype.possiblyEvaluate=function(O,V,J,fe){return!!O.expression.evaluate(V,null,{},J,fe)},Rs.prototype.interpolate=function(){return!1};var xo=function(O){for(var V in this.properties=O,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],O){var J=O[V];J.specification.overridable&&this.overridableProperties.push(V);var fe=this.defaultPropertyValues[V]=new no(J,void 0),Ae=this.defaultTransitionablePropertyValues[V]=new Os(J);this.defaultTransitioningPropertyValues[V]=Ae.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=fe.possiblyEvaluate({})}};Dr("DataDrivenProperty",ni),Dr("DataConstantProperty",Gr),Dr("CrossFadedDataDrivenProperty",Vu),Dr("CrossFadedProperty",fl),Dr("ColorRampProperty",Rs);var Yc="-transition",Vo=function(O){function V(J,fe){if(O.call(this),this.id=J.id,this.type=J.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},J.type!=="custom"&&(this.metadata=J.metadata,this.minzoom=J.minzoom,this.maxzoom=J.maxzoom,J.type!=="background"&&(this.source=J.source,this.sourceLayer=J["source-layer"],this.filter=J.filter),fe.layout&&(this._unevaluatedLayout=new cl(fe.layout)),fe.paint)){for(var Ae in this._transitionablePaint=new No(fe.paint),J.paint)this.setPaintProperty(Ae,J.paint[Ae],{validate:!1});for(var Re in J.layout)this.setLayoutProperty(Re,J.layout[Re],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new Ts(fe.paint)}}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},V.prototype.getLayoutProperty=function(J){return J==="visibility"?this.visibility:this._unevaluatedLayout.getValue(J)},V.prototype.setLayoutProperty=function(J,fe,Ae){if(Ae===void 0&&(Ae={}),fe!=null){var Re="layers."+this.id+".layout."+J;if(this._validate(Ol,Re,J,fe,Ae))return}J!=="visibility"?this._unevaluatedLayout.setValue(J,fe):this.visibility=fe},V.prototype.getPaintProperty=function(J){return C(J,Yc)?this._transitionablePaint.getTransition(J.slice(0,-Yc.length)):this._transitionablePaint.getValue(J)},V.prototype.setPaintProperty=function(J,fe,Ae){if(Ae===void 0&&(Ae={}),fe!=null){var Re="layers."+this.id+".paint."+J;if(this._validate(zo,Re,J,fe,Ae))return!1}if(C(J,Yc))return this._transitionablePaint.setTransition(J.slice(0,-Yc.length),fe||void 0),!1;var Ge=this._transitionablePaint._values[J],it=Ge.property.specification["property-type"]==="cross-faded-data-driven",pt=Ge.value.isDataDriven(),Ct=Ge.value;this._transitionablePaint.setValue(J,fe),this._handleSpecialPaintPropertyUpdate(J);var Dt=this._transitionablePaint._values[J].value;return Dt.isDataDriven()||pt||it||this._handleOverridablePaintPropertyUpdate(J,Ct,Dt)},V.prototype._handleSpecialPaintPropertyUpdate=function(J){},V.prototype._handleOverridablePaintPropertyUpdate=function(J,fe,Ae){return!1},V.prototype.isHidden=function(J){return!!(this.minzoom&&J=this.maxzoom)||this.visibility==="none"},V.prototype.updateTransitions=function(J){this._transitioningPaint=this._transitionablePaint.transitioned(J,this._transitioningPaint)},V.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},V.prototype.recalculate=function(J,fe){J.getCrossfadeParameters&&(this._crossfadeParameters=J.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(J,void 0,fe)),this.paint=this._transitioningPaint.possiblyEvaluate(J,void 0,fe)},V.prototype.serialize=function(){var J={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(J.layout=J.layout||{},J.layout.visibility=this.visibility),A(J,function(fe,Ae){return!(fe===void 0||Ae==="layout"&&!Object.keys(fe).length||Ae==="paint"&&!Object.keys(fe).length)})},V.prototype._validate=function(J,fe,Ae,Re,Ge){return Ge===void 0&&(Ge={}),(!Ge||Ge.validate!==!1)&&ys(this,J.call(go,{key:fe,layerType:this.type,objectKey:Ae,value:Re,styleSpec:Pe,style:{glyphs:!0,sprite:!0}}))},V.prototype.is3D=function(){return!1},V.prototype.isTileClipped=function(){return!1},V.prototype.hasOffscreenPass=function(){return!1},V.prototype.resize=function(){},V.prototype.isStateDependent=function(){for(var J in this.paint._values){var fe=this.paint.get(J);if(fe instanceof bo&&Iu(fe.property.specification)&&(fe.value.kind==="source"||fe.value.kind==="composite")&&fe.value.isStateDependent)return!0}return!1},V}(ht),ju={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},hl=function(O,V){this._structArray=O,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Ji=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function la(O,V){V===void 0&&(V=1);var J=0,fe=0;return{members:O.map(function(Ae){var Re,Ge=(Re=Ae.type,ju[Re].BYTES_PER_ELEMENT),it=J=Zc(J,Math.max(V,Ge)),pt=Ae.components||1;return fe=Math.max(fe,Ge),J+=Ge*pt,{name:Ae.name,type:Ae.type,components:pt,offset:it}}),size:Zc(J,Math.max(fe,V)),alignment:V}}function Zc(O,V){return Math.ceil(O/V)*V}Ji.serialize=function(O,V){return O._trim(),V&&(O.isTransferred=!0,V.push(O.arrayBuffer)),{length:O.length,arrayBuffer:O.arrayBuffer}},Ji.deserialize=function(O){var V=Object.create(this.prototype);return V.arrayBuffer=O.arrayBuffer,V.length=O.length,V.capacity=O.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Ji.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Ji.prototype.clear=function(){this.length=0},Ji.prototype.resize=function(O){this.reserve(O),this.length=O},Ji.prototype.reserve=function(O){if(O>this.capacity){this.capacity=Math.max(O,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Ji.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var et=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var Re=2*J;return this.int16[Re+0]=fe,this.int16[Re+1]=Ae,J},V}(Ji);et.prototype.bytesPerElement=4,Dr("StructArrayLayout2i4",et);var rt=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,Re)},V.prototype.emplace=function(J,fe,Ae,Re,Ge){var it=4*J;return this.int16[it+0]=fe,this.int16[it+1]=Ae,this.int16[it+2]=Re,this.int16[it+3]=Ge,J},V}(Ji);rt.prototype.bytesPerElement=8,Dr("StructArrayLayout4i8",rt);var ct=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,fe,Ae,Re,Ge,it)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Re,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);ct.prototype.bytesPerElement=12,Dr("StructArrayLayout2i4i12",ct);var vt=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,fe,Ae,Re,Ge,it)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt){var Ct=4*J,Dt=8*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.uint8[Dt+4]=Re,this.uint8[Dt+5]=Ge,this.uint8[Dt+6]=it,this.uint8[Dt+7]=pt,J},V}(Ji);vt.prototype.bytesPerElement=8,Dr("StructArrayLayout2i4ub8",vt);var St=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt){var Zt=this.length;return this.resize(Zt+1),this.emplace(Zt,J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt){var Yt=9*J,hn=18*J;return this.uint16[Yt+0]=fe,this.uint16[Yt+1]=Ae,this.uint16[Yt+2]=Re,this.uint16[Yt+3]=Ge,this.uint16[Yt+4]=it,this.uint16[Yt+5]=pt,this.uint16[Yt+6]=Ct,this.uint16[Yt+7]=Dt,this.uint8[hn+16]=Gt,this.uint8[hn+17]=Zt,J},V}(Ji);St.prototype.bytesPerElement=18,Dr("StructArrayLayout8ui2ub18",St);var Mt=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,Yt){var hn=this.length;return this.resize(hn+1),this.emplace(hn,J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,Yt)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn){var Mn=12*J;return this.int16[Mn+0]=fe,this.int16[Mn+1]=Ae,this.int16[Mn+2]=Re,this.int16[Mn+3]=Ge,this.uint16[Mn+4]=it,this.uint16[Mn+5]=pt,this.uint16[Mn+6]=Ct,this.uint16[Mn+7]=Dt,this.int16[Mn+8]=Gt,this.int16[Mn+9]=Zt,this.int16[Mn+10]=Yt,this.int16[Mn+11]=hn,J},V}(Ji);Mt.prototype.bytesPerElement=24,Dr("StructArrayLayout4i4ui4i24",Mt);var $=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var Re=this.length;return this.resize(Re+1),this.emplace(Re,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,Re){var Ge=3*J;return this.float32[Ge+0]=fe,this.float32[Ge+1]=Ae,this.float32[Ge+2]=Re,J},V}(Ji);$.prototype.bytesPerElement=12,Dr("StructArrayLayout3f12",$);var ee=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.uint32[Ae+0]=fe,J},V}(Ji);ee.prototype.bytesPerElement=4,Dr("StructArrayLayout1ul4",ee);var K=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt){var Gt=this.length;return this.resize(Gt+1),this.emplace(Gt,J,fe,Ae,Re,Ge,it,pt,Ct,Dt)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt){var Zt=10*J,Yt=5*J;return this.int16[Zt+0]=fe,this.int16[Zt+1]=Ae,this.int16[Zt+2]=Re,this.int16[Zt+3]=Ge,this.int16[Zt+4]=it,this.int16[Zt+5]=pt,this.uint32[Yt+3]=Ct,this.uint16[Zt+8]=Dt,this.uint16[Zt+9]=Gt,J},V}(Ji);K.prototype.bytesPerElement=20,Dr("StructArrayLayout6i1ul2ui20",K);var le=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,fe,Ae,Re,Ge,it)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Re,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);le.prototype.bytesPerElement=12,Dr("StructArrayLayout2i2i2i12",le);var Te=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge){var it=this.length;return this.resize(it+1),this.emplace(it,J,fe,Ae,Re,Ge)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it){var pt=4*J,Ct=8*J;return this.float32[pt+0]=fe,this.float32[pt+1]=Ae,this.float32[pt+2]=Re,this.int16[Ct+6]=Ge,this.int16[Ct+7]=it,J},V}(Ji);Te.prototype.bytesPerElement=16,Dr("StructArrayLayout2f1f2i16",Te);var De=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,Re)},V.prototype.emplace=function(J,fe,Ae,Re,Ge){var it=12*J,pt=3*J;return this.uint8[it+0]=fe,this.uint8[it+1]=Ae,this.float32[pt+1]=Re,this.float32[pt+2]=Ge,J},V}(Ji);De.prototype.bytesPerElement=12,Dr("StructArrayLayout2ub2f12",De);var He=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var Re=this.length;return this.resize(Re+1),this.emplace(Re,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,Re){var Ge=3*J;return this.uint16[Ge+0]=fe,this.uint16[Ge+1]=Ae,this.uint16[Ge+2]=Re,J},V}(Ji);He.prototype.bytesPerElement=6,Dr("StructArrayLayout3ui6",He);var Ze=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn,Mn,Nn,Bn,Wn){var Zn=this.length;return this.resize(Zn+1),this.emplace(Zn,J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn,Mn,Nn,Bn,Wn)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn,Mn,Nn,Bn,Wn,Zn){var er=24*J,sr=12*J,hr=48*J;return this.int16[er+0]=fe,this.int16[er+1]=Ae,this.uint16[er+2]=Re,this.uint16[er+3]=Ge,this.uint32[sr+2]=it,this.uint32[sr+3]=pt,this.uint32[sr+4]=Ct,this.uint16[er+10]=Dt,this.uint16[er+11]=Gt,this.uint16[er+12]=Zt,this.float32[sr+7]=Yt,this.float32[sr+8]=hn,this.uint8[hr+36]=Mn,this.uint8[hr+37]=Nn,this.uint8[hr+38]=Bn,this.uint32[sr+10]=Wn,this.int16[er+22]=Zn,J},V}(Ji);Ze.prototype.bytesPerElement=48,Dr("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ze);var at=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn,Mn,Nn,Bn,Wn,Zn,er,sr,hr,Or,Tr,Nr,Zr,fi,Jr,ci){var ri=this.length;return this.resize(ri+1),this.emplace(ri,J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn,Mn,Nn,Bn,Wn,Zn,er,sr,hr,Or,Tr,Nr,Zr,fi,Jr,ci)},V.prototype.emplace=function(J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn,Mn,Nn,Bn,Wn,Zn,er,sr,hr,Or,Tr,Nr,Zr,fi,Jr,ci,ri){var Kr=34*J,Di=17*J;return this.int16[Kr+0]=fe,this.int16[Kr+1]=Ae,this.int16[Kr+2]=Re,this.int16[Kr+3]=Ge,this.int16[Kr+4]=it,this.int16[Kr+5]=pt,this.int16[Kr+6]=Ct,this.int16[Kr+7]=Dt,this.uint16[Kr+8]=Gt,this.uint16[Kr+9]=Zt,this.uint16[Kr+10]=Yt,this.uint16[Kr+11]=hn,this.uint16[Kr+12]=Mn,this.uint16[Kr+13]=Nn,this.uint16[Kr+14]=Bn,this.uint16[Kr+15]=Wn,this.uint16[Kr+16]=Zn,this.uint16[Kr+17]=er,this.uint16[Kr+18]=sr,this.uint16[Kr+19]=hr,this.uint16[Kr+20]=Or,this.uint16[Kr+21]=Tr,this.uint16[Kr+22]=Nr,this.uint32[Di+12]=Zr,this.float32[Di+13]=fi,this.float32[Di+14]=Jr,this.float32[Di+15]=ci,this.float32[Di+16]=ri,J},V}(Ji);at.prototype.bytesPerElement=68,Dr("StructArrayLayout8i15ui1ul4f68",at);var Tt=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.float32[Ae+0]=fe,J},V}(Ji);Tt.prototype.bytesPerElement=4,Dr("StructArrayLayout1f4",Tt);var At=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var Re=this.length;return this.resize(Re+1),this.emplace(Re,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,Re){var Ge=3*J;return this.int16[Ge+0]=fe,this.int16[Ge+1]=Ae,this.int16[Ge+2]=Re,J},V}(Ji);At.prototype.bytesPerElement=6,Dr("StructArrayLayout3i6",At);var se=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var Re=this.length;return this.resize(Re+1),this.emplace(Re,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,Re){var Ge=2*J,it=4*J;return this.uint32[Ge+0]=fe,this.uint16[it+2]=Ae,this.uint16[it+3]=Re,J},V}(Ji);se.prototype.bytesPerElement=8,Dr("StructArrayLayout1ul2ui8",se);var ve=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var Re=2*J;return this.uint16[Re+0]=fe,this.uint16[Re+1]=Ae,J},V}(Ji);ve.prototype.bytesPerElement=4,Dr("StructArrayLayout2ui4",ve);var Ie=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.uint16[Ae+0]=fe,J},V}(Ji);Ie.prototype.bytesPerElement=2,Dr("StructArrayLayout1ui2",Ie);var Fe=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var Re=2*J;return this.float32[Re+0]=fe,this.float32[Re+1]=Ae,J},V}(Ji);Fe.prototype.bytesPerElement=8,Dr("StructArrayLayout2f8",Fe);var Ue=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Re){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,Re)},V.prototype.emplace=function(J,fe,Ae,Re,Ge){var it=4*J;return this.float32[it+0]=fe,this.float32[it+1]=Ae,this.float32[it+2]=Re,this.float32[it+3]=Ge,J},V}(Ji);Ue.prototype.bytesPerElement=16,Dr("StructArrayLayout4f16",Ue);var We=function(O){function V(){O.apply(this,arguments)}O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V;var J={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return J.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},J.x1.get=function(){return this._structArray.int16[this._pos2+2]},J.y1.get=function(){return this._structArray.int16[this._pos2+3]},J.x2.get=function(){return this._structArray.int16[this._pos2+4]},J.y2.get=function(){return this._structArray.int16[this._pos2+5]},J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.anchorPoint.get=function(){return new a(this.anchorPointX,this.anchorPointY)},Object.defineProperties(V.prototype,J),V}(hl);We.prototype.size=20;var Xe=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new We(this,J)},V}(K);Dr("CollisionBoxArray",Xe);var tt=function(O){function V(){O.apply(this,arguments)}O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},J.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},J.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},J.segment.get=function(){return this._structArray.uint16[this._pos2+10]},J.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},J.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},J.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},J.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},J.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},J.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},J.placedOrientation.set=function(fe){this._structArray.uint8[this._pos1+37]=fe},J.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},J.hidden.set=function(fe){this._structArray.uint8[this._pos1+38]=fe},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},J.crossTileID.set=function(fe){this._structArray.uint32[this._pos4+10]=fe},J.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(V.prototype,J),V}(hl);tt.prototype.size=48;var lt=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new tt(this,J)},V}(Ze);Dr("PlacedSymbolArray",lt);var mt=function(O){function V(){O.apply(this,arguments)}O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},J.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},J.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},J.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},J.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},J.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},J.key.get=function(){return this._structArray.uint16[this._pos2+8]},J.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},J.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},J.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},J.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},J.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},J.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},J.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},J.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},J.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},J.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},J.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},J.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},J.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},J.crossTileID.set=function(fe){this._structArray.uint32[this._pos4+12]=fe},J.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},J.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},J.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},J.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(V.prototype,J),V}(hl);mt.prototype.size=68;var zt=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new mt(this,J)},V}(at);Dr("SymbolInstanceArray",zt);var Ut=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.getoffsetX=function(J){return this.float32[1*J+0]},V}(Tt);Dr("GlyphOffsetArray",Ut);var Ht=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.getx=function(J){return this.int16[3*J+0]},V.prototype.gety=function(J){return this.int16[3*J+1]},V.prototype.gettileUnitDistanceFromAnchor=function(J){return this.int16[3*J+2]},V}(At);Dr("SymbolLineVertexArray",Ht);var en=function(O){function V(){O.apply(this,arguments)}O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V;var J={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(V.prototype,J),V}(hl);en.prototype.size=8;var vn=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new en(this,J)},V}(se);Dr("FeatureIndexArray",vn);var tn=la([{name:"a_pos",components:2,type:"Int16"}],4).members,ln=function(O){O===void 0&&(O=[]),this.segments=O};function an(O,V){return 256*(O=c(Math.floor(O),0,255))+c(Math.floor(V),0,255)}ln.prototype.prepareSegment=function(O,V,J,fe){var Ae=this.segments[this.segments.length-1];return O>ln.MAX_VERTEX_ARRAY_LENGTH&&P("Max vertices per segment is "+ln.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+O),(!Ae||Ae.vertexLength+O>ln.MAX_VERTEX_ARRAY_LENGTH||Ae.sortKey!==fe)&&(Ae={vertexOffset:V.length,primitiveOffset:J.length,vertexLength:0,primitiveLength:0},fe!==void 0&&(Ae.sortKey=fe),this.segments.push(Ae)),Ae},ln.prototype.get=function(){return this.segments},ln.prototype.destroy=function(){for(var O=0,V=this.segments;O>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295)<<13|Re>>>19))+((5*(Re>>>16)&65535)<<16)&4294967295))+((58964+(Ge>>>16)&65535)<<16);switch(Ct=0,fe){case 3:Ct^=(255&V.charCodeAt(Dt+2))<<16;case 2:Ct^=(255&V.charCodeAt(Dt+1))<<8;case 1:Re^=Ct=(65535&(Ct=(Ct=(65535&(Ct^=255&V.charCodeAt(Dt)))*it+(((Ct>>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295}return Re^=V.length,Re=2246822507*(65535&(Re^=Re>>>16))+((2246822507*(Re>>>16)&65535)<<16)&4294967295,Re=3266489909*(65535&(Re^=Re>>>13))+((3266489909*(Re>>>16)&65535)<<16)&4294967295,(Re^=Re>>>16)>>>0}}),on=M(function(O){O.exports=function(V,J){for(var fe,Ae=V.length,Re=J^Ae,Ge=0;Ae>=4;)fe=1540483477*(65535&(fe=255&V.charCodeAt(Ge)|(255&V.charCodeAt(++Ge))<<8|(255&V.charCodeAt(++Ge))<<16|(255&V.charCodeAt(++Ge))<<24))+((1540483477*(fe>>>16)&65535)<<16),Re=1540483477*(65535&Re)+((1540483477*(Re>>>16)&65535)<<16)^(fe=1540483477*(65535&(fe^=fe>>>24))+((1540483477*(fe>>>16)&65535)<<16)),Ae-=4,++Ge;switch(Ae){case 3:Re^=(255&V.charCodeAt(Ge+2))<<16;case 2:Re^=(255&V.charCodeAt(Ge+1))<<8;case 1:Re=1540483477*(65535&(Re^=255&V.charCodeAt(Ge)))+((1540483477*(Re>>>16)&65535)<<16)}return Re=1540483477*(65535&(Re^=Re>>>13))+((1540483477*(Re>>>16)&65535)<<16),(Re^=Re>>>15)>>>0}}),Fn=_n,Hn=_n,ir=on;Fn.murmur3=Hn,Fn.murmur2=ir;var ar=function(){this.ids=[],this.positions=[],this.indexed=!1};ar.prototype.add=function(O,V,J,fe){this.ids.push(Er(O)),this.positions.push(V,J,fe)},ar.prototype.getPositions=function(O){for(var V=Er(O),J=0,fe=this.ids.length-1;J>1;this.ids[Ae]>=V?fe=Ae:J=Ae+1}for(var Re=[];this.ids[J]===V;){var Ge=this.positions[3*J],it=this.positions[3*J+1],pt=this.positions[3*J+2];Re.push({index:Ge,start:it,end:pt}),J++}return Re},ar.serialize=function(O,V){var J=new Float64Array(O.ids),fe=new Uint32Array(O.positions);return xr(J,fe,0,J.length-1),V&&V.push(J.buffer,fe.buffer),{ids:J,positions:fe}},ar.deserialize=function(O){var V=new ar;return V.ids=O.ids,V.positions=O.positions,V.indexed=!0,V};var Mr=Math.pow(2,53)-1;function Er(O){var V=+O;return!isNaN(V)&&V<=Mr?V:Fn(String(O))}function xr(O,V,J,fe){for(;J>1],Re=J-1,Ge=fe+1;;){do Re++;while(O[Re]Ae);if(Re>=Ge)break;kr(O,Re,Ge),kr(V,3*Re,3*Ge),kr(V,3*Re+1,3*Ge+1),kr(V,3*Re+2,3*Ge+2)}Ge-J_o.max||Ge.y<_o.min||Ge.y>_o.max)&&(P("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Ge.x=c(Ge.x,_o.min,_o.max),Ge.y=c(Ge.y,_o.min,_o.max))}return J}function Ds(O,V,J,fe,Ae){O.emplaceBack(2*V+(fe+1)/2,2*J+(Ae+1)/2)}var Pi=function(O){this.zoom=O.zoom,this.overscaling=O.overscaling,this.layers=O.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=O.index,this.hasPattern=!1,this.layoutVertexArray=new et,this.indexArray=new He,this.segments=new ln,this.programConfigurations=new Ia(tn,O.layers,O.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function Xa(O,V){for(var J=0;J1){if(L0(O,V))return!0;for(var fe=0;fe1?O.distSqr(J):O.distSqr(J.sub(V)._mult(Ae)._add(V))}function od(O,V){for(var J,fe,Ae,Re=!1,Ge=0;GeV.y!=Ae.y>V.y&&V.x<(Ae.x-fe.x)*(V.y-fe.y)/(Ae.y-fe.y)+fe.x&&(Re=!Re);return Re}function wh(O,V){for(var J=!1,fe=0,Ae=O.length-1;feV.y!=Ge.y>V.y&&V.x<(Ge.x-Re.x)*(V.y-Re.y)/(Ge.y-Re.y)+Re.x&&(J=!J)}return J}function p1(O,V,J){var fe=J[0],Ae=J[2];if(O.xAe.x&&V.x>Ae.x||O.yAe.y&&V.y>Ae.y)return!1;var Re=I(O,V,J[0]);return Re!==I(O,V,J[1])||Re!==I(O,V,J[2])||Re!==I(O,V,J[3])}function Ff(O,V,J){var fe=V.paint.get(O).value;return fe.kind==="constant"?fe.value:J.programConfigurations.get(V.id).getMaxValue(O)}function dg(O){return Math.sqrt(O[0]*O[0]+O[1]*O[1])}function pg(O,V,J,fe,Ae){if(!V[0]&&!V[1])return O;var Re=a.convert(V)._mult(Ae);J==="viewport"&&Re._rotate(-fe);for(var Ge=[],it=0;it=ui||Dt<0||Dt>=ui)){var Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,O.sortKey),Zt=Gt.vertexLength;Ds(this.layoutVertexArray,Ct,Dt,-1,-1),Ds(this.layoutVertexArray,Ct,Dt,1,-1),Ds(this.layoutVertexArray,Ct,Dt,1,1),Ds(this.layoutVertexArray,Ct,Dt,-1,1),this.indexArray.emplaceBack(Zt,Zt+1,Zt+2),this.indexArray.emplaceBack(Zt,Zt+3,Zt+2),Gt.vertexLength+=4,Gt.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,O,J,{},fe)},Dr("CircleBucket",Pi,{omit:["layers"]});var _S=new xo({"circle-sort-key":new ni(Pe.layout_circle["circle-sort-key"])}),wS={paint:new xo({"circle-radius":new ni(Pe.paint_circle["circle-radius"]),"circle-color":new ni(Pe.paint_circle["circle-color"]),"circle-blur":new ni(Pe.paint_circle["circle-blur"]),"circle-opacity":new ni(Pe.paint_circle["circle-opacity"]),"circle-translate":new Gr(Pe.paint_circle["circle-translate"]),"circle-translate-anchor":new Gr(Pe.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Gr(Pe.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Gr(Pe.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new ni(Pe.paint_circle["circle-stroke-width"]),"circle-stroke-color":new ni(Pe.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new ni(Pe.paint_circle["circle-stroke-opacity"])}),layout:_S},Fl=typeof Float32Array<"u"?Float32Array:Array;function m1(O){return O[0]=1,O[1]=0,O[2]=0,O[3]=0,O[4]=0,O[5]=1,O[6]=0,O[7]=0,O[8]=0,O[9]=0,O[10]=1,O[11]=0,O[12]=0,O[13]=0,O[14]=0,O[15]=1,O}function L_(O,V,J){var fe=V[0],Ae=V[1],Re=V[2],Ge=V[3],it=V[4],pt=V[5],Ct=V[6],Dt=V[7],Gt=V[8],Zt=V[9],Yt=V[10],hn=V[11],Mn=V[12],Nn=V[13],Bn=V[14],Wn=V[15],Zn=J[0],er=J[1],sr=J[2],hr=J[3];return O[0]=Zn*fe+er*it+sr*Gt+hr*Mn,O[1]=Zn*Ae+er*pt+sr*Zt+hr*Nn,O[2]=Zn*Re+er*Ct+sr*Yt+hr*Bn,O[3]=Zn*Ge+er*Dt+sr*hn+hr*Wn,Zn=J[4],er=J[5],sr=J[6],hr=J[7],O[4]=Zn*fe+er*it+sr*Gt+hr*Mn,O[5]=Zn*Ae+er*pt+sr*Zt+hr*Nn,O[6]=Zn*Re+er*Ct+sr*Yt+hr*Bn,O[7]=Zn*Ge+er*Dt+sr*hn+hr*Wn,Zn=J[8],er=J[9],sr=J[10],hr=J[11],O[8]=Zn*fe+er*it+sr*Gt+hr*Mn,O[9]=Zn*Ae+er*pt+sr*Zt+hr*Nn,O[10]=Zn*Re+er*Ct+sr*Yt+hr*Bn,O[11]=Zn*Ge+er*Dt+sr*hn+hr*Wn,Zn=J[12],er=J[13],sr=J[14],hr=J[15],O[12]=Zn*fe+er*it+sr*Gt+hr*Mn,O[13]=Zn*Ae+er*pt+sr*Zt+hr*Nn,O[14]=Zn*Re+er*Ct+sr*Yt+hr*Bn,O[15]=Zn*Ge+er*Dt+sr*hn+hr*Wn,O}Math.hypot||(Math.hypot=function(){for(var O=arguments,V=0,J=arguments.length;J--;)V+=O[J]*O[J];return Math.sqrt(V)});var TS=L_,mg,kS=function(O,V,J){return O[0]=V[0]-J[0],O[1]=V[1]-J[1],O[2]=V[2]-J[2],O};function gg(O,V,J){var fe=V[0],Ae=V[1],Re=V[2],Ge=V[3];return O[0]=J[0]*fe+J[4]*Ae+J[8]*Re+J[12]*Ge,O[1]=J[1]*fe+J[5]*Ae+J[9]*Re+J[13]*Ge,O[2]=J[2]*fe+J[6]*Ae+J[10]*Re+J[14]*Ge,O[3]=J[3]*fe+J[7]*Ae+J[11]*Re+J[15]*Ge,O}mg=new Fl(3),Fl!=Float32Array&&(mg[0]=0,mg[1]=0,mg[2]=0),function(){var O=new Fl(4);Fl!=Float32Array&&(O[0]=0,O[1]=0,O[2]=0,O[3]=0)}();var MS=function(O){var V=O[0],J=O[1];return V*V+J*J},AS=(function(){var O=new Fl(2);Fl!=Float32Array&&(O[0]=0,O[1]=0)}(),function(O){function V(J){O.call(this,J,wS)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.createBucket=function(J){return new Pi(J)},V.prototype.queryRadius=function(J){var fe=J;return Ff("circle-radius",this,fe)+Ff("circle-stroke-width",this,fe)+dg(this.paint.get("circle-translate"))},V.prototype.queryIntersectsFeature=function(J,fe,Ae,Re,Ge,it,pt,Ct){for(var Dt=pg(J,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),it.angle,pt),Gt=this.paint.get("circle-radius").evaluate(fe,Ae)+this.paint.get("circle-stroke-width").evaluate(fe,Ae),Zt=this.paint.get("circle-pitch-alignment")==="map",Yt=Zt?Dt:function(Or,Tr){return Or.map(function(Nr){return I_(Nr,Tr)})}(Dt,Ct),hn=Zt?Gt*pt:Gt,Mn=0,Nn=Re;MnO.width||Ae.height>O.height||J.x>O.width-Ae.width||J.y>O.height-Ae.height)throw new RangeError("out of range source coordinates for image copy");if(Ae.width>V.width||Ae.height>V.height||fe.x>V.width-Ae.width||fe.y>V.height-Ae.height)throw new RangeError("out of range destination coordinates for image copy");for(var Ge=O.data,it=V.data,pt=0;pt80*J){fe=Re=O[0],Ae=Ge=O[1];for(var hn=J;hnRe&&(Re=it),pt>Ge&&(Ge=pt);Ct=(Ct=Math.max(Re-fe,Ge-Ae))!==0?1/Ct:0}return I0(Zt,Yt,J,fe,Ae,Ct),Yt}function z_(O,V,J,fe,Ae){var Re,Ge;if(Ae===_1(O,V,J,fe)>0)for(Re=V;Re=V;Re-=fe)Ge=N_(Re,O[Re],O[Re+1],Ge);return Ge&&yg(Ge,Ge.next)&&(O0(Ge),Ge=Ge.next),Ge}function Th(O,V){if(!O)return O;V||(V=O);var J,fe=O;do if(J=!1,fe.steiner||!yg(fe,fe.next)&&wo(fe.prev,fe,fe.next)!==0)fe=fe.next;else{if(O0(fe),(fe=V=fe.prev)===fe.next)break;J=!0}while(J||fe!==V);return V}function I0(O,V,J,fe,Ae,Re,Ge){if(O){!Ge&&Re&&function(Dt,Gt,Zt,Yt){var hn=Dt;do hn.z===null&&(hn.z=b1(hn.x,hn.y,Gt,Zt,Yt)),hn.prevZ=hn.prev,hn.nextZ=hn.next,hn=hn.next;while(hn!==Dt);hn.prevZ.nextZ=null,hn.prevZ=null,function(Mn){var Nn,Bn,Wn,Zn,er,sr,hr,Or,Tr=1;do{for(Bn=Mn,Mn=null,er=null,sr=0;Bn;){for(sr++,Wn=Bn,hr=0,Nn=0;Nn0||Or>0&&Wn;)hr!==0&&(Or===0||!Wn||Bn.z<=Wn.z)?(Zn=Bn,Bn=Bn.nextZ,hr--):(Zn=Wn,Wn=Wn.nextZ,Or--),er?er.nextZ=Zn:Mn=Zn,Zn.prevZ=er,er=Zn;Bn=Wn}er.nextZ=null,Tr*=2}while(sr>1)}(hn)}(O,fe,Ae,Re);for(var it,pt,Ct=O;O.prev!==O.next;)if(it=O.prev,pt=O.next,Re?OS(O,fe,Ae,Re):PS(O))V.push(it.i/J),V.push(O.i/J),V.push(pt.i/J),O0(O),O=pt.next,Ct=pt.next;else if((O=pt)===Ct){Ge?Ge===1?I0(O=RS(Th(O),V,J),V,J,fe,Ae,Re,2):Ge===2&&DS(O,V,J,fe,Ae,Re):I0(Th(O),V,J,fe,Ae,Re,1);break}}}function PS(O){var V=O.prev,J=O,fe=O.next;if(wo(V,J,fe)>=0)return!1;for(var Ae=O.next.next;Ae!==O.prev;){if(ap(V.x,V.y,J.x,J.y,fe.x,fe.y,Ae.x,Ae.y)&&wo(Ae.prev,Ae,Ae.next)>=0)return!1;Ae=Ae.next}return!0}function OS(O,V,J,fe){var Ae=O.prev,Re=O,Ge=O.next;if(wo(Ae,Re,Ge)>=0)return!1;for(var it=Ae.xRe.x?Ae.x>Ge.x?Ae.x:Ge.x:Re.x>Ge.x?Re.x:Ge.x,Dt=Ae.y>Re.y?Ae.y>Ge.y?Ae.y:Ge.y:Re.y>Ge.y?Re.y:Ge.y,Gt=b1(it,pt,V,J,fe),Zt=b1(Ct,Dt,V,J,fe),Yt=O.prevZ,hn=O.nextZ;Yt&&Yt.z>=Gt&&hn&&hn.z<=Zt;){if(Yt!==O.prev&&Yt!==O.next&&ap(Ae.x,Ae.y,Re.x,Re.y,Ge.x,Ge.y,Yt.x,Yt.y)&&wo(Yt.prev,Yt,Yt.next)>=0||(Yt=Yt.prevZ,hn!==O.prev&&hn!==O.next&&ap(Ae.x,Ae.y,Re.x,Re.y,Ge.x,Ge.y,hn.x,hn.y)&&wo(hn.prev,hn,hn.next)>=0))return!1;hn=hn.nextZ}for(;Yt&&Yt.z>=Gt;){if(Yt!==O.prev&&Yt!==O.next&&ap(Ae.x,Ae.y,Re.x,Re.y,Ge.x,Ge.y,Yt.x,Yt.y)&&wo(Yt.prev,Yt,Yt.next)>=0)return!1;Yt=Yt.prevZ}for(;hn&&hn.z<=Zt;){if(hn!==O.prev&&hn!==O.next&&ap(Ae.x,Ae.y,Re.x,Re.y,Ge.x,Ge.y,hn.x,hn.y)&&wo(hn.prev,hn,hn.next)>=0)return!1;hn=hn.nextZ}return!0}function RS(O,V,J){var fe=O;do{var Ae=fe.prev,Re=fe.next.next;!yg(Ae,Re)&&F_(Ae,fe,fe.next,Re)&&P0(Ae,Re)&&P0(Re,Ae)&&(V.push(Ae.i/J),V.push(fe.i/J),V.push(Re.i/J),O0(fe),O0(fe.next),fe=O=Re),fe=fe.next}while(fe!==O);return Th(fe)}function DS(O,V,J,fe,Ae,Re){var Ge=O;do{for(var it=Ge.next.next;it!==Ge.prev;){if(Ge.i!==it.i&&VS(Ge,it)){var pt=B_(Ge,it);return Ge=Th(Ge,Ge.next),pt=Th(pt,pt.next),I0(Ge,V,J,fe,Ae,Re),void I0(pt,V,J,fe,Ae,Re)}it=it.next}Ge=Ge.next}while(Ge!==O)}function zS(O,V){return O.x-V.x}function FS(O,V){if(V=function(fe,Ae){var Re,Ge=Ae,it=fe.x,pt=fe.y,Ct=-1/0;do{if(pt<=Ge.y&&pt>=Ge.next.y&&Ge.next.y!==Ge.y){var Dt=Ge.x+(pt-Ge.y)*(Ge.next.x-Ge.x)/(Ge.next.y-Ge.y);if(Dt<=it&&Dt>Ct){if(Ct=Dt,Dt===it){if(pt===Ge.y)return Ge;if(pt===Ge.next.y)return Ge.next}Re=Ge.x=Ge.x&&Ge.x>=Yt&&it!==Ge.x&&ap(ptRe.x||Ge.x===Re.x&&BS(Re,Ge)))&&(Re=Ge,Mn=Gt)),Ge=Ge.next;while(Ge!==Zt);return Re}(O,V)){var J=B_(V,O);Th(V,V.next),Th(J,J.next)}}function BS(O,V){return wo(O.prev,O,V.prev)<0&&wo(V.next,O,O.next)<0}function b1(O,V,J,fe,Ae){return(O=1431655765&((O=858993459&((O=252645135&((O=16711935&((O=32767*(O-J)*Ae)|O<<8))|O<<4))|O<<2))|O<<1))|(V=1431655765&((V=858993459&((V=252645135&((V=16711935&((V=32767*(V-fe)*Ae)|V<<8))|V<<4))|V<<2))|V<<1))<<1}function NS(O){var V=O,J=O;do(V.x=0&&(O-Ge)*(fe-it)-(J-Ge)*(V-it)>=0&&(J-Ge)*(Re-it)-(Ae-Ge)*(fe-it)>=0}function VS(O,V){return O.next.i!==V.i&&O.prev.i!==V.i&&!function(J,fe){var Ae=J;do{if(Ae.i!==J.i&&Ae.next.i!==J.i&&Ae.i!==fe.i&&Ae.next.i!==fe.i&&F_(Ae,Ae.next,J,fe))return!0;Ae=Ae.next}while(Ae!==J);return!1}(O,V)&&(P0(O,V)&&P0(V,O)&&function(J,fe){var Ae=J,Re=!1,Ge=(J.x+fe.x)/2,it=(J.y+fe.y)/2;do Ae.y>it!=Ae.next.y>it&&Ae.next.y!==Ae.y&&Ge<(Ae.next.x-Ae.x)*(it-Ae.y)/(Ae.next.y-Ae.y)+Ae.x&&(Re=!Re),Ae=Ae.next;while(Ae!==J);return Re}(O,V)&&(wo(O.prev,O,V.prev)||wo(O,V.prev,V))||yg(O,V)&&wo(O.prev,O,O.next)>0&&wo(V.prev,V,V.next)>0)}function wo(O,V,J){return(V.y-O.y)*(J.x-V.x)-(V.x-O.x)*(J.y-V.y)}function yg(O,V){return O.x===V.x&&O.y===V.y}function F_(O,V,J,fe){var Ae=xg(wo(O,V,J)),Re=xg(wo(O,V,fe)),Ge=xg(wo(J,fe,O)),it=xg(wo(J,fe,V));return Ae!==Re&&Ge!==it||!(Ae!==0||!bg(O,J,V))||!(Re!==0||!bg(O,fe,V))||!(Ge!==0||!bg(J,O,fe))||!(it!==0||!bg(J,V,fe))}function bg(O,V,J){return V.x<=Math.max(O.x,J.x)&&V.x>=Math.min(O.x,J.x)&&V.y<=Math.max(O.y,J.y)&&V.y>=Math.min(O.y,J.y)}function xg(O){return O>0?1:O<0?-1:0}function P0(O,V){return wo(O.prev,O,O.next)<0?wo(O,V,O.next)>=0&&wo(O,O.prev,V)>=0:wo(O,V,O.prev)<0||wo(O,O.next,V)<0}function B_(O,V){var J=new x1(O.i,O.x,O.y),fe=new x1(V.i,V.x,V.y),Ae=O.next,Re=V.prev;return O.next=V,V.prev=O,J.next=Ae,Ae.prev=J,fe.next=J,J.prev=fe,Re.next=fe,fe.prev=Re,fe}function N_(O,V,J,fe){var Ae=new x1(O,V,J);return fe?(Ae.next=fe.next,Ae.prev=fe,fe.next.prev=Ae,fe.next=Ae):(Ae.prev=Ae,Ae.next=Ae),Ae}function O0(O){O.next.prev=O.prev,O.prev.next=O.next,O.prevZ&&(O.prevZ.nextZ=O.nextZ),O.nextZ&&(O.nextZ.prevZ=O.prevZ)}function x1(O,V,J){this.i=O,this.x=V,this.y=J,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function _1(O,V,J,fe){for(var Ae=0,Re=V,Ge=J-fe;ReJ;){if(fe-J>600){var Re=fe-J+1,Ge=V-J+1,it=Math.log(Re),pt=.5*Math.exp(2*it/3),Ct=.5*Math.sqrt(it*pt*(Re-pt)/Re)*(Ge-Re/2<0?-1:1);V_(O,V,Math.max(J,Math.floor(V-Ge*pt/Re+Ct)),Math.min(fe,Math.floor(V+(Re-Ge)*pt/Re+Ct)),Ae)}var Dt=O[V],Gt=J,Zt=fe;for(R0(O,J,V),Ae(O[fe],Dt)>0&&R0(O,J,fe);Gt0;)Zt--}Ae(O[J],Dt)===0?R0(O,J,Zt):R0(O,++Zt,fe),Zt<=V&&(J=Zt+1),V<=Zt&&(fe=Zt-1)}}function R0(O,V,J){var fe=O[V];O[V]=O[J],O[J]=fe}function US(O,V){return OV?1:0}function w1(O,V){var J=O.length;if(J<=1)return[O];for(var fe,Ae,Re=[],Ge=0;Ge1)for(var pt=0;pt0&&(fe+=O[Ae-1].length,J.holes.push(fe))}return J},y1.default=IS;var wc=function(O){this.zoom=O.zoom,this.overscaling=O.overscaling,this.layers=O.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=O.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new et,this.indexArray=new He,this.indexArray2=new ve,this.programConfigurations=new Ia(D_,O.layers,O.zoom),this.segments=new ln,this.segments2=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};wc.prototype.populate=function(O,V,J){this.hasPattern=T1("fill",this.layers,V);for(var fe=this.layers[0].layout.get("fill-sort-key"),Ae=[],Re=0,Ge=O;Re>3}if(Ae--,fe===1||fe===2)Re+=O.readSVarint(),Ge+=O.readSVarint(),fe===1&&(V&&it.push(V),V=[]),V.push(new a(Re,Ge));else{if(fe!==7)throw new Error("unknown command "+fe);V&&V.push(V[0].clone())}}return V&&it.push(V),it},op.prototype.bbox=function(){var O=this._pbf;O.pos=this._geometry;for(var V=O.readVarint()+O.pos,J=1,fe=0,Ae=0,Re=0,Ge=1/0,it=-1/0,pt=1/0,Ct=-1/0;O.pos>3}if(fe--,J===1||J===2)(Ae+=O.readSVarint())it&&(it=Ae),(Re+=O.readSVarint())Ct&&(Ct=Re);else if(J!==7)throw new Error("unknown command "+J)}return[Ge,pt,it,Ct]},op.prototype.toGeoJSON=function(O,V,J){var fe,Ae,Re=this.extent*Math.pow(2,J),Ge=this.extent*O,it=this.extent*V,pt=this.loadGeometry(),Ct=op.types[this.type];function Dt(Yt){for(var hn=0;hn>3;Ae=Ge===1?fe.readString():Ge===2?fe.readFloat():Ge===3?fe.readDouble():Ge===4?fe.readVarint64():Ge===5?fe.readVarint():Ge===6?fe.readSVarint():Ge===7?fe.readBoolean():null}return Ae}(J))}function XS(O,V,J){if(O===3){var fe=new H_(J,J.readVarint()+J.pos);fe.length&&(V[fe.name]=fe)}}G_.prototype.feature=function(O){if(O<0||O>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[O];var V=this._pbf.readVarint()+this._pbf.pos;return new U_(this._pbf,V,this.extent,this._keys,this._values)};var sp={VectorTile:function(O,V){this.layers=O.readFields(XS,{},V)},VectorTileFeature:U_,VectorTileLayer:H_},KS=sp.VectorTileFeature.types,M1=Math.pow(2,13);function D0(O,V,J,fe,Ae,Re,Ge,it){O.emplaceBack(V,J,2*Math.floor(fe*M1)+Ge,Ae*M1*2,Re*M1*2,Math.round(it))}var Tc=function(O){this.zoom=O.zoom,this.overscaling=O.overscaling,this.layers=O.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=O.index,this.hasPattern=!1,this.layoutVertexArray=new ct,this.indexArray=new He,this.programConfigurations=new Ia(j_,O.layers,O.zoom),this.segments=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function JS(O,V){return O.x===V.x&&(O.x<0||O.x>ui)||O.y===V.y&&(O.y<0||O.y>ui)}Tc.prototype.populate=function(O,V,J){this.features=[],this.hasPattern=T1("fill-extrusion",this.layers,V);for(var fe=0,Ae=O;feui})||Di.every(function(pi){return pi.y<0})||Di.every(function(pi){return pi.y>ui})))for(var Mn=0,Nn=0;Nn=1){var Wn=hn[Nn-1];if(!JS(Bn,Wn)){Gt.vertexLength+4>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Zn=Bn.sub(Wn)._perp()._unit(),er=Wn.dist(Bn);Mn+er>32768&&(Mn=0),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,1,Mn),Mn+=er,D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,1,Mn);var sr=Gt.vertexLength;this.indexArray.emplaceBack(sr,sr+2,sr+1),this.indexArray.emplaceBack(sr+1,sr+2,sr+3),Gt.vertexLength+=4,Gt.primitiveLength+=2}}}}if(Gt.vertexLength+pt>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(pt,this.layoutVertexArray,this.indexArray)),KS[O.type]==="Polygon"){for(var hr=[],Or=[],Tr=Gt.vertexLength,Nr=0,Zr=it;Nr=2&&O[pt-1].equals(O[pt-2]);)pt--;for(var Ct=0;Ct0;if(Or&&Bn>Ct){var Nr=Dt.dist(Yt);if(Nr>2*Gt){var Zr=Dt.sub(Dt.sub(Yt)._mult(Gt/Nr)._round());this.updateDistance(Yt,Zr),this.addCurrentVertex(Zr,Mn,0,0,Zt),Yt=Zr}}var fi=Yt&&hn,Jr=fi?J:it?"butt":fe;if(fi&&Jr==="round"&&(srAe&&(Jr="bevel"),Jr==="bevel"&&(sr>2&&(Jr="flipbevel"),sr100)Wn=Nn.mult(-1);else{var ci=sr*Mn.add(Nn).mag()/Mn.sub(Nn).mag();Wn._perp()._mult(ci*(Tr?-1:1))}this.addCurrentVertex(Dt,Wn,0,0,Zt),this.addCurrentVertex(Dt,Wn.mult(-1),0,0,Zt)}else if(Jr==="bevel"||Jr==="fakeround"){var ri=-Math.sqrt(sr*sr-1),Kr=Tr?ri:0,Di=Tr?0:ri;if(Yt&&this.addCurrentVertex(Dt,Mn,Kr,Di,Zt),Jr==="fakeround")for(var pi=Math.round(180*hr/Math.PI/20),va=1;va2*Gt){var ya=Dt.add(hn.sub(Dt)._mult(Gt/Oa)._round());this.updateDistance(Dt,ya),this.addCurrentVertex(ya,Nn,0,0,Zt),Dt=ya}}}}},$s.prototype.addCurrentVertex=function(O,V,J,fe,Ae,Re){Re===void 0&&(Re=!1);var Ge=V.x+V.y*J,it=V.y-V.x*J,pt=-V.x+V.y*fe,Ct=-V.y-V.x*fe;this.addHalfVertex(O,Ge,it,Re,!1,J,Ae),this.addHalfVertex(O,pt,Ct,Re,!0,-fe,Ae),this.distance>$_/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(O,V,J,fe,Ae,Re))},$s.prototype.addHalfVertex=function(O,V,J,fe,Ae,Re,Ge){var it=O.x,pt=O.y,Ct=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((it<<1)+(fe?1:0),(pt<<1)+(Ae?1:0),Math.round(63*V)+128,Math.round(63*J)+128,1+(Re===0?0:Re<0?-1:1)|(63&Ct)<<2,Ct>>6);var Dt=Ge.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,Dt),Ge.primitiveLength++),Ae?this.e2=Dt:this.e1=Dt},$s.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*($_-1):this.distance},$s.prototype.updateDistance=function(O,V){this.distance+=O.dist(V),this.updateScaledDistance()},Dr("LineBucket",$s,{omit:["layers","patternFeatures"]});var rC=new xo({"line-cap":new Gr(Pe.layout_line["line-cap"]),"line-join":new ni(Pe.layout_line["line-join"]),"line-miter-limit":new Gr(Pe.layout_line["line-miter-limit"]),"line-round-limit":new Gr(Pe.layout_line["line-round-limit"]),"line-sort-key":new ni(Pe.layout_line["line-sort-key"])}),Y_={paint:new xo({"line-opacity":new ni(Pe.paint_line["line-opacity"]),"line-color":new ni(Pe.paint_line["line-color"]),"line-translate":new Gr(Pe.paint_line["line-translate"]),"line-translate-anchor":new Gr(Pe.paint_line["line-translate-anchor"]),"line-width":new ni(Pe.paint_line["line-width"]),"line-gap-width":new ni(Pe.paint_line["line-gap-width"]),"line-offset":new ni(Pe.paint_line["line-offset"]),"line-blur":new ni(Pe.paint_line["line-blur"]),"line-dasharray":new fl(Pe.paint_line["line-dasharray"]),"line-pattern":new Vu(Pe.paint_line["line-pattern"]),"line-gradient":new Rs(Pe.paint_line["line-gradient"])}),layout:rC},iC=function(O){function V(){O.apply(this,arguments)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.possiblyEvaluate=function(J,fe){return fe=new Wi(Math.floor(fe.zoom),{now:fe.now,fadeDuration:fe.fadeDuration,zoomHistory:fe.zoomHistory,transition:fe.transition}),O.prototype.possiblyEvaluate.call(this,J,fe)},V.prototype.evaluate=function(J,fe,Ae,Re){return fe=p({},fe,{zoom:Math.floor(fe.zoom)}),O.prototype.evaluate.call(this,J,fe,Ae,Re)},V}(ni),Z_=new iC(Y_.paint.properties["line-width"].specification);Z_.useIntegerZoom=!0;var aC=function(O){function V(J){O.call(this,J,Y_)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype._handleSpecialPaintPropertyUpdate=function(J){J==="line-gradient"&&this._updateGradient()},V.prototype._updateGradient=function(){var J=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=R_(J,"lineProgress"),this.gradientTexture=null},V.prototype.recalculate=function(J,fe){O.prototype.recalculate.call(this,J,fe),this.paint._values["line-floorwidth"]=Z_.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,J)},V.prototype.createBucket=function(J){return new $s(J)},V.prototype.queryRadius=function(J){var fe=J,Ae=X_(Ff("line-width",this,fe),Ff("line-gap-width",this,fe)),Re=Ff("line-offset",this,fe);return Ae/2+Math.abs(Re)+dg(this.paint.get("line-translate"))},V.prototype.queryIntersectsFeature=function(J,fe,Ae,Re,Ge,it,pt){var Ct=pg(J,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),it.angle,pt),Dt=pt/2*X_(this.paint.get("line-width").evaluate(fe,Ae),this.paint.get("line-gap-width").evaluate(fe,Ae)),Gt=this.paint.get("line-offset").evaluate(fe,Ae);return Gt&&(Re=function(Zt,Yt){for(var hn=[],Mn=new a(0,0),Nn=0;Nn=3){for(var Bn=0;Bn0?V+2*O:O}var A1=la([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),oC=la([{name:"a_projected_pos",components:3,type:"Float32"}],4),sC=(la([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),la([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),K_=(la([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),la([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),lC=la([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function uC(O,V,J){return O.sections.forEach(function(fe){fe.text=function(Ae,Re,Ge){var it=Re.layout.get("text-transform").evaluate(Ge,{});return it==="uppercase"?Ae=Ae.toLocaleUpperCase():it==="lowercase"&&(Ae=Ae.toLocaleLowerCase()),Bo.applyArabicShaping&&(Ae=Bo.applyArabicShaping(Ae)),Ae}(fe.text,V,J)}),O}la([{name:"triangle",components:3,type:"Uint16"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),la([{type:"Float32",name:"offsetX"}]),la([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var F0={"!":"๏ธ•","#":"๏ผƒ",$:"๏ผ„","%":"๏ผ…","&":"๏ผ†","(":"๏ธต",")":"๏ธถ","*":"๏ผŠ","+":"๏ผ‹",",":"๏ธ","-":"๏ธฒ",".":"ใƒป","/":"๏ผ",":":"๏ธ“",";":"๏ธ”","<":"๏ธฟ","=":"๏ผ",">":"๏น€","?":"๏ธ–","@":"๏ผ ","[":"๏น‡","\\":"๏ผผ","]":"๏นˆ","^":"๏ผพ",_:"๏ธณ","`":"๏ฝ€","{":"๏ธท","|":"โ€•","}":"๏ธธ","~":"๏ฝž","ยข":"๏ฟ ","ยฃ":"๏ฟก","ยฅ":"๏ฟฅ","ยฆ":"๏ฟค","ยฌ":"๏ฟข","ยฏ":"๏ฟฃ","โ€“":"๏ธฒ","โ€”":"๏ธฑ","โ€˜":"๏นƒ","โ€™":"๏น„","โ€œ":"๏น","โ€":"๏น‚","โ€ฆ":"๏ธ™","โ€ง":"ใƒป","โ‚ฉ":"๏ฟฆ","ใ€":"๏ธ‘","ใ€‚":"๏ธ’","ใ€ˆ":"๏ธฟ","ใ€‰":"๏น€","ใ€Š":"๏ธฝ","ใ€‹":"๏ธพ","ใ€Œ":"๏น","ใ€":"๏น‚","ใ€Ž":"๏นƒ","ใ€":"๏น„","ใ€":"๏ธป","ใ€‘":"๏ธผ","ใ€”":"๏ธน","ใ€•":"๏ธบ","ใ€–":"๏ธ—","ใ€—":"๏ธ˜","๏ผ":"๏ธ•","๏ผˆ":"๏ธต","๏ผ‰":"๏ธถ","๏ผŒ":"๏ธ","๏ผ":"๏ธฒ","๏ผŽ":"ใƒป","๏ผš":"๏ธ“","๏ผ›":"๏ธ”","๏ผœ":"๏ธฟ","๏ผž":"๏น€","๏ผŸ":"๏ธ–","๏ผป":"๏น‡","๏ผฝ":"๏นˆ","๏ผฟ":"๏ธณ","๏ฝ›":"๏ธท","๏ฝœ":"โ€•","๏ฝ":"๏ธธ","๏ฝŸ":"๏ธต","๏ฝ ":"๏ธถ","๏ฝก":"๏ธ’","๏ฝข":"๏น","๏ฝฃ":"๏น‚"},us=24,J_=function(O,V,J,fe,Ae){var Re,Ge,it=8*Ae-fe-1,pt=(1<>1,Dt=-7,Gt=J?Ae-1:0,Zt=J?-1:1,Yt=O[V+Gt];for(Gt+=Zt,Re=Yt&(1<<-Dt)-1,Yt>>=-Dt,Dt+=it;Dt>0;Re=256*Re+O[V+Gt],Gt+=Zt,Dt-=8);for(Ge=Re&(1<<-Dt)-1,Re>>=-Dt,Dt+=fe;Dt>0;Ge=256*Ge+O[V+Gt],Gt+=Zt,Dt-=8);if(Re===0)Re=1-Ct;else{if(Re===pt)return Ge?NaN:1/0*(Yt?-1:1);Ge+=Math.pow(2,fe),Re-=Ct}return(Yt?-1:1)*Ge*Math.pow(2,Re-fe)},Q_=function(O,V,J,fe,Ae,Re){var Ge,it,pt,Ct=8*Re-Ae-1,Dt=(1<>1,Zt=Ae===23?Math.pow(2,-24)-Math.pow(2,-77):0,Yt=fe?0:Re-1,hn=fe?1:-1,Mn=V<0||V===0&&1/V<0?1:0;for(V=Math.abs(V),isNaN(V)||V===1/0?(it=isNaN(V)?1:0,Ge=Dt):(Ge=Math.floor(Math.log(V)/Math.LN2),V*(pt=Math.pow(2,-Ge))<1&&(Ge--,pt*=2),(V+=Ge+Gt>=1?Zt/pt:Zt*Math.pow(2,1-Gt))*pt>=2&&(Ge++,pt/=2),Ge+Gt>=Dt?(it=0,Ge=Dt):Ge+Gt>=1?(it=(V*pt-1)*Math.pow(2,Ae),Ge+=Gt):(it=V*Math.pow(2,Gt-1)*Math.pow(2,Ae),Ge=0));Ae>=8;O[J+Yt]=255&it,Yt+=hn,it/=256,Ae-=8);for(Ge=Ge<0;O[J+Yt]=255&Ge,Yt+=hn,Ge/=256,Ct-=8);O[J+Yt-hn]|=128*Mn},_g=ba;function ba(O){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(O)?O:new Uint8Array(O||0),this.pos=0,this.type=0,this.length=this.buf.length}ba.Varint=0,ba.Fixed64=1,ba.Bytes=2,ba.Fixed32=5;var S1=4294967296,ew=1/S1,tw=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Bf(O){return O.type===ba.Bytes?O.readVarint()+O.pos:O.pos+1}function lp(O,V,J){return J?4294967296*V+(O>>>0):4294967296*(V>>>0)+(O>>>0)}function nw(O,V,J){var fe=V<=16383?1:V<=2097151?2:V<=268435455?3:Math.floor(Math.log(V)/(7*Math.LN2));J.realloc(fe);for(var Ae=J.pos-1;Ae>=O;Ae--)J.buf[Ae+fe]=J.buf[Ae]}function cC(O,V){for(var J=0;J>>8,O[J+2]=V>>>16,O[J+3]=V>>>24}function rw(O,V){return(O[V]|O[V+1]<<8|O[V+2]<<16)+(O[V+3]<<24)}ba.prototype={destroy:function(){this.buf=null},readFields:function(O,V,J){for(J=J||this.length;this.pos>3,Re=this.pos;this.type=7&fe,O(Ae,V,this),this.pos===Re&&this.skip(fe)}return V},readMessage:function(O,V){return this.readFields(O,V,this.readVarint()+this.pos)},readFixed32:function(){var O=wg(this.buf,this.pos);return this.pos+=4,O},readSFixed32:function(){var O=rw(this.buf,this.pos);return this.pos+=4,O},readFixed64:function(){var O=wg(this.buf,this.pos)+wg(this.buf,this.pos+4)*S1;return this.pos+=8,O},readSFixed64:function(){var O=wg(this.buf,this.pos)+rw(this.buf,this.pos+4)*S1;return this.pos+=8,O},readFloat:function(){var O=J_(this.buf,this.pos,!0,23,4);return this.pos+=4,O},readDouble:function(){var O=J_(this.buf,this.pos,!0,52,8);return this.pos+=8,O},readVarint:function(O){var V,J,fe=this.buf;return V=127&(J=fe[this.pos++]),J<128?V:(V|=(127&(J=fe[this.pos++]))<<7,J<128?V:(V|=(127&(J=fe[this.pos++]))<<14,J<128?V:(V|=(127&(J=fe[this.pos++]))<<21,J<128?V:function(Ae,Re,Ge){var it,pt,Ct=Ge.buf;if(it=(112&(pt=Ct[Ge.pos++]))>>4,pt<128||(it|=(127&(pt=Ct[Ge.pos++]))<<3,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<10,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<17,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<24,pt<128)||(it|=(1&(pt=Ct[Ge.pos++]))<<31,pt<128))return lp(Ae,it,Re);throw new Error("Expected varint not more than 10 bytes")}(V|=(15&(J=fe[this.pos]))<<28,O,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var O=this.readVarint();return O%2==1?(O+1)/-2:O/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var O=this.readVarint()+this.pos,V=this.pos;return this.pos=O,O-V>=12&&tw?function(J,fe,Ae){return tw.decode(J.subarray(fe,Ae))}(this.buf,V,O):function(J,fe,Ae){for(var Re="",Ge=fe;Ge239?4:Dt>223?3:Dt>191?2:1;if(Ge+Zt>Ae)break;Zt===1?Dt<128&&(Gt=Dt):Zt===2?(192&(it=J[Ge+1]))==128&&(Gt=(31&Dt)<<6|63&it)<=127&&(Gt=null):Zt===3?(it=J[Ge+1],pt=J[Ge+2],(192&it)==128&&(192&pt)==128&&((Gt=(15&Dt)<<12|(63&it)<<6|63&pt)<=2047||Gt>=55296&&Gt<=57343)&&(Gt=null)):Zt===4&&(it=J[Ge+1],pt=J[Ge+2],Ct=J[Ge+3],(192&it)==128&&(192&pt)==128&&(192&Ct)==128&&((Gt=(15&Dt)<<18|(63&it)<<12|(63&pt)<<6|63&Ct)<=65535||Gt>=1114112)&&(Gt=null)),Gt===null?(Gt=65533,Zt=1):Gt>65535&&(Gt-=65536,Re+=String.fromCharCode(Gt>>>10&1023|55296),Gt=56320|1023&Gt),Re+=String.fromCharCode(Gt),Ge+=Zt}return Re}(this.buf,V,O)},readBytes:function(){var O=this.readVarint()+this.pos,V=this.buf.subarray(this.pos,O);return this.pos=O,V},readPackedVarint:function(O,V){if(this.type!==ba.Bytes)return O.push(this.readVarint(V));var J=Bf(this);for(O=O||[];this.pos127;);else if(V===ba.Bytes)this.pos=this.readVarint()+this.pos;else if(V===ba.Fixed32)this.pos+=4;else{if(V!==ba.Fixed64)throw new Error("Unimplemented type: "+V);this.pos+=8}},writeTag:function(O,V){this.writeVarint(O<<3|V)},realloc:function(O){for(var V=this.length||16;V268435455||O<0?function(V,J){var fe,Ae;if(V>=0?(fe=V%4294967296|0,Ae=V/4294967296|0):(Ae=~(-V/4294967296),4294967295^(fe=~(-V%4294967296))?fe=fe+1|0:(fe=0,Ae=Ae+1|0)),V>=18446744073709552e3||V<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");J.realloc(10),function(Re,Ge,it){it.buf[it.pos++]=127&Re|128,Re>>>=7,it.buf[it.pos++]=127&Re|128,Re>>>=7,it.buf[it.pos++]=127&Re|128,Re>>>=7,it.buf[it.pos++]=127&Re|128,Re>>>=7,it.buf[it.pos]=127&Re}(fe,0,J),function(Re,Ge){var it=(7&Re)<<4;Ge.buf[Ge.pos++]|=it|((Re>>>=3)?128:0),Re&&(Ge.buf[Ge.pos++]=127&Re|((Re>>>=7)?128:0),Re&&(Ge.buf[Ge.pos++]=127&Re|((Re>>>=7)?128:0),Re&&(Ge.buf[Ge.pos++]=127&Re|((Re>>>=7)?128:0),Re&&(Ge.buf[Ge.pos++]=127&Re|((Re>>>=7)?128:0),Re&&(Ge.buf[Ge.pos++]=127&Re)))))}(Ae,J)}(O,this):(this.realloc(4),this.buf[this.pos++]=127&O|(O>127?128:0),O<=127||(this.buf[this.pos++]=127&(O>>>=7)|(O>127?128:0),O<=127||(this.buf[this.pos++]=127&(O>>>=7)|(O>127?128:0),O<=127||(this.buf[this.pos++]=O>>>7&127))))},writeSVarint:function(O){this.writeVarint(O<0?2*-O-1:2*O)},writeBoolean:function(O){this.writeVarint(!!O)},writeString:function(O){O=String(O),this.realloc(4*O.length),this.pos++;var V=this.pos;this.pos=function(fe,Ae,Re){for(var Ge,it,pt=0;pt55295&&Ge<57344){if(!it){Ge>56319||pt+1===Ae.length?(fe[Re++]=239,fe[Re++]=191,fe[Re++]=189):it=Ge;continue}if(Ge<56320){fe[Re++]=239,fe[Re++]=191,fe[Re++]=189,it=Ge;continue}Ge=it-55296<<10|Ge-56320|65536,it=null}else it&&(fe[Re++]=239,fe[Re++]=191,fe[Re++]=189,it=null);Ge<128?fe[Re++]=Ge:(Ge<2048?fe[Re++]=Ge>>6|192:(Ge<65536?fe[Re++]=Ge>>12|224:(fe[Re++]=Ge>>18|240,fe[Re++]=Ge>>12&63|128),fe[Re++]=Ge>>6&63|128),fe[Re++]=63&Ge|128)}return Re}(this.buf,O,this.pos);var J=this.pos-V;J>=128&&nw(V,J,this),this.pos=V-1,this.writeVarint(J),this.pos+=J},writeFloat:function(O){this.realloc(4),Q_(this.buf,O,this.pos,!0,23,4),this.pos+=4},writeDouble:function(O){this.realloc(8),Q_(this.buf,O,this.pos,!0,52,8),this.pos+=8},writeBytes:function(O){var V=O.length;this.writeVarint(V),this.realloc(V);for(var J=0;J=128&&nw(J,fe,this),this.pos=J-1,this.writeVarint(fe),this.pos+=fe},writeMessage:function(O,V,J){this.writeTag(O,ba.Bytes),this.writeRawMessage(V,J)},writePackedVarint:function(O,V){V.length&&this.writeMessage(O,cC,V)},writePackedSVarint:function(O,V){V.length&&this.writeMessage(O,fC,V)},writePackedBoolean:function(O,V){V.length&&this.writeMessage(O,pC,V)},writePackedFloat:function(O,V){V.length&&this.writeMessage(O,hC,V)},writePackedDouble:function(O,V){V.length&&this.writeMessage(O,dC,V)},writePackedFixed32:function(O,V){V.length&&this.writeMessage(O,mC,V)},writePackedSFixed32:function(O,V){V.length&&this.writeMessage(O,gC,V)},writePackedFixed64:function(O,V){V.length&&this.writeMessage(O,vC,V)},writePackedSFixed64:function(O,V){V.length&&this.writeMessage(O,yC,V)},writeBytesField:function(O,V){this.writeTag(O,ba.Bytes),this.writeBytes(V)},writeFixed32Field:function(O,V){this.writeTag(O,ba.Fixed32),this.writeFixed32(V)},writeSFixed32Field:function(O,V){this.writeTag(O,ba.Fixed32),this.writeSFixed32(V)},writeFixed64Field:function(O,V){this.writeTag(O,ba.Fixed64),this.writeFixed64(V)},writeSFixed64Field:function(O,V){this.writeTag(O,ba.Fixed64),this.writeSFixed64(V)},writeVarintField:function(O,V){this.writeTag(O,ba.Varint),this.writeVarint(V)},writeSVarintField:function(O,V){this.writeTag(O,ba.Varint),this.writeSVarint(V)},writeStringField:function(O,V){this.writeTag(O,ba.Bytes),this.writeString(V)},writeFloatField:function(O,V){this.writeTag(O,ba.Fixed32),this.writeFloat(V)},writeDoubleField:function(O,V){this.writeTag(O,ba.Fixed64),this.writeDouble(V)},writeBooleanField:function(O,V){this.writeVarintField(O,!!V)}};function bC(O,V,J){O===1&&J.readMessage(xC,V)}function xC(O,V,J){if(O===3){var fe=J.readMessage(_C,{}),Ae=fe.id,Re=fe.bitmap,Ge=fe.width,it=fe.height,pt=fe.left,Ct=fe.top,Dt=fe.advance;V.push({id:Ae,bitmap:new sd({width:Ge+6,height:it+6},Re),metrics:{width:Ge,height:it,left:pt,top:Ct,advance:Dt}})}}function _C(O,V,J){O===1?V.id=J.readVarint():O===2?V.bitmap=J.readBytes():O===3?V.width=J.readVarint():O===4?V.height=J.readVarint():O===5?V.left=J.readSVarint():O===6?V.top=J.readSVarint():O===7&&(V.advance=J.readVarint())}function iw(O){for(var V=0,J=0,fe=0,Ae=O;fe=0;Zt--){var Yt=Ge[Zt];if(!(Gt.w>Yt.w||Gt.h>Yt.h)){if(Gt.x=Yt.x,Gt.y=Yt.y,pt=Math.max(pt,Gt.y+Gt.h),it=Math.max(it,Gt.x+Gt.w),Gt.w===Yt.w&&Gt.h===Yt.h){var hn=Ge.pop();Zt0&&fd>Ga&&(Ga=fd)}else{var Dg=pi[Yi.fontStack],hd=Dg&&Dg[Fs];if(hd&&hd.rect)kc=hd.rect,Ms=hd.metrics;else{var zg=Di[Yi.fontStack],U0=zg&&zg[Fs];if(!U0)continue;Ms=U0.metrics}pl=(mi-Yi.scale)*us}Mc?(Kr.verticalizable=!0,ma.push({glyph:Fs,imageName:jf,x:Ho,y:cs+pl,vertical:Mc,scale:Yi.scale,fontStack:Yi.fontStack,sectionIndex:Ja,metrics:Ms,rect:kc}),Ho+=qo*Yi.scale+ya):(ma.push({glyph:Fs,imageName:jf,x:Ho,y:cs+pl,vertical:Mc,scale:Yi.scale,fontStack:Yi.fontStack,sectionIndex:Ja,metrics:Ms,rect:kc}),Ho+=Ms.advance*Yi.scale+ya)}if(ma.length!==0){var B1=Ho-ya;Ko=Math.max(B1,Ko),TC(ma,0,ma.length-1,Jo,Ga)}Ho=0;var Fg=ha*mi+Ga;Ka.lineOffset=Math.max(Ga,Gi),cs+=Fg,zs=Math.max(Fg,zs),++Io}else cs+=ha,++Io}var yp=cs-kg,Bg=E1(xa),Ng=Bg.horizontalAlign,H0=Bg.verticalAlign;(function(N1,G0,dd,bp,Vg,jg,xp,Ug,Hg){var q0=(G0-dd)*Vg,W0=0;W0=jg!==xp?-Ug*bp-kg:(-bp*Hg+.5)*xp;for(var pd=0,$0=N1;pd<$0.length;pd+=1)for(var md=0,Y0=$0[pd].positionedGlyphs;md=0&&fe>=O&&Ag[this.text.charCodeAt(fe)];fe--)J--;this.text=this.text.substring(O,J),this.sectionIndex=this.sectionIndex.slice(O,J)},ks.prototype.substring=function(O,V){var J=new ks;return J.text=this.text.substring(O,V),J.sectionIndex=this.sectionIndex.slice(O,V),J.sections=this.sections,J},ks.prototype.toString=function(){return this.text},ks.prototype.getMaxScale=function(){var O=this;return this.sectionIndex.reduce(function(V,J){return Math.max(V,O.sections[J].scale)},0)},ks.prototype.addTextSection=function(O,V){this.text+=O.text,this.sections.push(cp.forText(O.scale,O.fontStack||V));for(var J=this.sections.length-1,fe=0;fe=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Ag={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},dl={};function aw(O,V,J,fe,Ae,Re){if(V.imageName){var Ge=fe[V.imageName];return Ge?Ge.displaySize[0]*V.scale*us/Re+Ae:0}var it=J[V.fontStack],pt=it&&it[O];return pt?pt.metrics.advance*V.scale+Ae:0}function ow(O,V,J,fe){var Ae=Math.pow(O-V,2);return fe?O=0,Dt=0,Gt=0;Gt-J/2;){if(--Ge<0)return!1;it-=O[Ge].dist(Re),Re=O[Ge]}it+=O[Ge].dist(O[Ge+1]),Ge++;for(var pt=[],Ct=0;itfe;)Ct-=pt.shift().angleDelta;if(Ct>Ae)return!1;Ge++,it+=Gt.dist(Zt)}return!0}function dw(O){for(var V=0,J=0;JCt){var hn=(Ct-pt)/Yt,Mn=zr(Gt.x,Zt.x,hn),Nn=zr(Gt.y,Zt.y,hn),Bn=new fp(Mn,Nn,Zt.angleTo(Gt),Dt);return Bn._round(),!Ge||hw(O,Bn,it,Ge,V)?Bn:void 0}pt+=Yt}}function AC(O,V,J,fe,Ae,Re,Ge,it,pt){var Ct=pw(fe,Re,Ge),Dt=mw(fe,Ae),Gt=Dt*Ge,Zt=O[0].x===0||O[0].x===pt||O[0].y===0||O[0].y===pt;return V-Gt=0&&er=0&&sr=0&&Zt+Ct<=Dt){var hr=new fp(er,sr,Wn,hn);hr._round(),fe&&!hw(O,hr,Re,fe,Ae)||Yt.push(hr)}}Gt+=Bn}return it||Yt.length||Ge||(Yt=gw(O,Gt/2,J,fe,Ae,Re,Ge,!0,pt)),Yt}function vw(O,V,J,fe,Ae){for(var Re=[],Ge=0;Ge=fe&&Gt.x>=fe||(Dt.x>=fe?Dt=new a(fe,Dt.y+(Gt.y-Dt.y)*((fe-Dt.x)/(Gt.x-Dt.x)))._round():Gt.x>=fe&&(Gt=new a(fe,Dt.y+(Gt.y-Dt.y)*((fe-Dt.x)/(Gt.x-Dt.x)))._round()),Dt.y>=Ae&&Gt.y>=Ae||(Dt.y>=Ae?Dt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round():Gt.y>=Ae&&(Gt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round()),pt&&Dt.equals(pt[pt.length-1])||(pt=[Dt],Re.push(pt)),pt.push(Gt)))))}return Re}function yw(O,V,J,fe){var Ae=[],Re=O.image,Ge=Re.pixelRatio,it=Re.paddedRect.w-2,pt=Re.paddedRect.h-2,Ct=O.right-O.left,Dt=O.bottom-O.top,Gt=Re.stretchX||[[0,it]],Zt=Re.stretchY||[[0,pt]],Yt=function(ha,xa){return ha+xa[1]-xa[0]},hn=Gt.reduce(Yt,0),Mn=Zt.reduce(Yt,0),Nn=it-hn,Bn=pt-Mn,Wn=0,Zn=hn,er=0,sr=Mn,hr=0,Or=Nn,Tr=0,Nr=Bn;if(Re.content&&fe){var Zr=Re.content;Wn=Sg(Gt,0,Zr[0]),er=Sg(Zt,0,Zr[1]),Zn=Sg(Gt,Zr[0],Zr[2]),sr=Sg(Zt,Zr[1],Zr[3]),hr=Zr[0]-Wn,Tr=Zr[1]-er,Or=Zr[2]-Zr[0]-Zn,Nr=Zr[3]-Zr[1]-sr}var fi=function(ha,xa,Sa,Oa){var ya=Cg(ha.stretch-Wn,Zn,Ct,O.left),Mo=Eg(ha.fixed-hr,Or,ha.stretch,hn),Va=Cg(xa.stretch-er,sr,Dt,O.top),Ho=Eg(xa.fixed-Tr,Nr,xa.stretch,Mn),cs=Cg(Sa.stretch-Wn,Zn,Ct,O.left),Ko=Eg(Sa.fixed-hr,Or,Sa.stretch,hn),zs=Cg(Oa.stretch-er,sr,Dt,O.top),Jo=Eg(Oa.fixed-Tr,Nr,Oa.stretch,Mn),Io=new a(ya,Va),Qo=new a(cs,Va),Go=new a(cs,zs),Po=new a(ya,zs),mi=new a(Mo/Ge,Ho/Ge),Gi=new a(Ko/Ge,Jo/Ge),Ka=V*Math.PI/180;if(Ka){var ma=Math.sin(Ka),Ga=Math.cos(Ka),Ra=[Ga,-ma,ma,Ga];Io._matMult(Ra),Qo._matMult(Ra),Po._matMult(Ra),Go._matMult(Ra)}var Yi=ha.stretch+ha.fixed,Ja=Sa.stretch+Sa.fixed,Fs=xa.stretch+xa.fixed,pl=Oa.stretch+Oa.fixed;return{tl:Io,tr:Qo,bl:Po,br:Go,tex:{x:Re.paddedRect.x+1+Yi,y:Re.paddedRect.y+1+Fs,w:Ja-Yi,h:pl-Fs},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:mi,pixelOffsetBR:Gi,minFontScaleX:Or/Ge/Ct,minFontScaleY:Nr/Ge/Dt,isSDF:J}};if(fe&&(Re.stretchX||Re.stretchY))for(var Jr=bw(Gt,Nn,hn),ci=bw(Zt,Bn,Mn),ri=0;ri0&&(Yt=Math.max(10,Yt),this.circleDiameter=Yt)}else{var hn=Re.top*Ge-it,Mn=Re.bottom*Ge+it,Nn=Re.left*Ge-it,Bn=Re.right*Ge+it,Wn=Re.collisionPadding;if(Wn&&(Nn-=Wn[0]*Ge,hn-=Wn[1]*Ge,Bn+=Wn[2]*Ge,Mn+=Wn[3]*Ge),Ct){var Zn=new a(Nn,hn),er=new a(Bn,hn),sr=new a(Nn,Mn),hr=new a(Bn,Mn),Or=Ct*Math.PI/180;Zn._rotate(Or),er._rotate(Or),sr._rotate(Or),hr._rotate(Or),Nn=Math.min(Zn.x,er.x,sr.x,hr.x),Bn=Math.max(Zn.x,er.x,sr.x,hr.x),hn=Math.min(Zn.y,er.y,sr.y,hr.y),Mn=Math.max(Zn.y,er.y,sr.y,hr.y)}O.emplaceBack(V.x,V.y,Nn,hn,Bn,Mn,J,fe,Ae)}this.boxEndIndex=O.length},hp=function(O,V){if(O===void 0&&(O=[]),V===void 0&&(V=SC),this.data=O,this.length=this.data.length,this.compare=V,this.length>0)for(var J=(this.length>>1)-1;J>=0;J--)this._down(J)};function SC(O,V){return OV?1:0}function CC(O,V,J){V===void 0&&(V=1),J===void 0&&(J=!1);for(var fe=1/0,Ae=1/0,Re=-1/0,Ge=-1/0,it=O[0],pt=0;ptRe)&&(Re=Ct.x),(!pt||Ct.y>Ge)&&(Ge=Ct.y)}var Dt=Re-fe,Gt=Ge-Ae,Zt=Math.min(Dt,Gt),Yt=Zt/2,hn=new hp([],EC);if(Zt===0)return new a(fe,Ae);for(var Mn=fe;MnBn.d||!Bn.d)&&(Bn=Zn,J&&console.log("found best %d after %d probes",Math.round(1e4*Zn.d)/1e4,Wn)),Zn.max-Bn.d<=V||(Yt=Zn.h/2,hn.push(new dp(Zn.p.x-Yt,Zn.p.y-Yt,Yt,O)),hn.push(new dp(Zn.p.x+Yt,Zn.p.y-Yt,Yt,O)),hn.push(new dp(Zn.p.x-Yt,Zn.p.y+Yt,Yt,O)),hn.push(new dp(Zn.p.x+Yt,Zn.p.y+Yt,Yt,O)),Wn+=4)}return J&&(console.log("num probes: "+Wn),console.log("best distance: "+Bn.d)),Bn.p}function EC(O,V){return V.max-O.max}function dp(O,V,J,fe){this.p=new a(O,V),this.h=J,this.d=function(Ae,Re){for(var Ge=!1,it=1/0,pt=0;ptAe.y!=hn.y>Ae.y&&Ae.x<(hn.x-Yt.x)*(Ae.y-Yt.y)/(hn.y-Yt.y)+Yt.x&&(Ge=!Ge),it=Math.min(it,hg(Ae,Yt,hn))}return(Ge?1:-1)*Math.sqrt(it)}(this.p,fe),this.max=this.d+this.h*Math.SQRT2}hp.prototype.push=function(O){this.data.push(O),this.length++,this._up(this.length-1)},hp.prototype.pop=function(){if(this.length!==0){var O=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),O}},hp.prototype.peek=function(){return this.data[0]},hp.prototype._up=function(O){for(var V=this.data,J=this.compare,fe=V[O];O>0;){var Ae=O-1>>1,Re=V[Ae];if(J(fe,Re)>=0)break;V[O]=Re,O=Ae}V[O]=fe},hp.prototype._down=function(O){for(var V=this.data,J=this.compare,fe=this.length>>1,Ae=V[O];O=0)break;V[O]=Ge,O=Re}V[O]=Ae};var I1=Number.POSITIVE_INFINITY;function xw(O,V){return V[1]!==I1?function(J,fe,Ae){var Re=0,Ge=0;switch(fe=Math.abs(fe),Ae=Math.abs(Ae),J){case"top-right":case"top-left":case"top":Ge=Ae-7;break;case"bottom-right":case"bottom-left":case"bottom":Ge=7-Ae}switch(J){case"top-right":case"bottom-right":case"right":Re=-fe;break;case"top-left":case"bottom-left":case"left":Re=fe}return[Re,Ge]}(O,V[0],V[1]):function(J,fe){var Ae=0,Re=0;fe<0&&(fe=0);var Ge=fe/Math.sqrt(2);switch(J){case"top-right":case"top-left":Re=Ge-7;break;case"bottom-right":case"bottom-left":Re=7-Ge;break;case"bottom":Re=7-fe;break;case"top":Re=fe-7}switch(J){case"top-right":case"bottom-right":Ae=-Ge;break;case"top-left":case"bottom-left":Ae=Ge;break;case"left":Ae=fe;break;case"right":Ae=-fe}return[Ae,Re]}(O,V[0])}function P1(O){switch(O){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var kh=32640;function _w(O,V,J,fe,Ae,Re,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn){var Mn=function(er,sr,hr,Or,Tr,Nr,Zr,fi){for(var Jr=Or.layout.get("text-rotate").evaluate(Nr,{})*Math.PI/180,ci=[],ri=0,Kr=sr.positionedLines;rikh&&P(O.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Nn.kind==="composite"&&((Bn=[Kc*Yt.compositeTextSizes[0].evaluate(Ge,{},hn),Kc*Yt.compositeTextSizes[1].evaluate(Ge,{},hn)])[0]>kh||Bn[1]>kh)&&P(O.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),O.addSymbols(O.text,Mn,Bn,it,Re,Ge,Ct,V,pt.lineStartIndex,pt.lineLength,Zt,hn);for(var Wn=0,Zn=Dt;Wn=0;Ge--)if(fe.dist(Re[Ge])0)&&(Re.value.kind!=="constant"||Re.value.value.length>0),Ct=it.value.kind!=="constant"||!!it.value.value||Object.keys(it.parameters).length>0,Dt=Ae.get("symbol-sort-key");if(this.features=[],pt||Ct){for(var Gt=V.iconDependencies,Zt=V.glyphDependencies,Yt=V.availableImages,hn=new Wi(this.zoom),Mn=0,Nn=O;Mn=0;for(var pi=0,va=Tr.sections;pi=0;it--)Re[it]={x:V[it].x,y:V[it].y,tileUnitDistanceFromAnchor:Ae},it>0&&(Ae+=V[it-1].dist(V[it]));for(var pt=0;pt0},fa.prototype.hasIconData=function(){return this.icon.segments.get().length>0},fa.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},fa.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},fa.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},fa.prototype.addIndicesForPlacedSymbol=function(O,V){for(var J=O.placedSymbolArray.get(V),fe=J.vertexStartIndex+4*J.numGlyphs,Ae=J.vertexStartIndex;Ae1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(O),this.sortedAngle=O,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var J=0,fe=this.symbolInstanceIndexes;J=0&&pt.indexOf(Ge)===it&&V.addIndicesForPlacedSymbol(V.text,Ge)}),Re.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,Re.verticalPlacedTextSymbolIndex),Re.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Re.placedIconSymbolIndex),Re.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Re.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Dr("SymbolBucket",fa,{omit:["layers","collisionBoxArray","features","compareText"]}),fa.MAX_GLYPHS=65535,fa.addDynamicAttributes=O1;var RC=new xo({"symbol-placement":new Gr(Pe.layout_symbol["symbol-placement"]),"symbol-spacing":new Gr(Pe.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Gr(Pe.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new ni(Pe.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Gr(Pe.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Gr(Pe.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Gr(Pe.layout_symbol["icon-ignore-placement"]),"icon-optional":new Gr(Pe.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Gr(Pe.layout_symbol["icon-rotation-alignment"]),"icon-size":new ni(Pe.layout_symbol["icon-size"]),"icon-text-fit":new Gr(Pe.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Gr(Pe.layout_symbol["icon-text-fit-padding"]),"icon-image":new ni(Pe.layout_symbol["icon-image"]),"icon-rotate":new ni(Pe.layout_symbol["icon-rotate"]),"icon-padding":new Gr(Pe.layout_symbol["icon-padding"]),"icon-keep-upright":new Gr(Pe.layout_symbol["icon-keep-upright"]),"icon-offset":new ni(Pe.layout_symbol["icon-offset"]),"icon-anchor":new ni(Pe.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Gr(Pe.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Gr(Pe.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Gr(Pe.layout_symbol["text-rotation-alignment"]),"text-field":new ni(Pe.layout_symbol["text-field"]),"text-font":new ni(Pe.layout_symbol["text-font"]),"text-size":new ni(Pe.layout_symbol["text-size"]),"text-max-width":new ni(Pe.layout_symbol["text-max-width"]),"text-line-height":new Gr(Pe.layout_symbol["text-line-height"]),"text-letter-spacing":new ni(Pe.layout_symbol["text-letter-spacing"]),"text-justify":new ni(Pe.layout_symbol["text-justify"]),"text-radial-offset":new ni(Pe.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Gr(Pe.layout_symbol["text-variable-anchor"]),"text-anchor":new ni(Pe.layout_symbol["text-anchor"]),"text-max-angle":new Gr(Pe.layout_symbol["text-max-angle"]),"text-writing-mode":new Gr(Pe.layout_symbol["text-writing-mode"]),"text-rotate":new ni(Pe.layout_symbol["text-rotate"]),"text-padding":new Gr(Pe.layout_symbol["text-padding"]),"text-keep-upright":new Gr(Pe.layout_symbol["text-keep-upright"]),"text-transform":new ni(Pe.layout_symbol["text-transform"]),"text-offset":new ni(Pe.layout_symbol["text-offset"]),"text-allow-overlap":new Gr(Pe.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Gr(Pe.layout_symbol["text-ignore-placement"]),"text-optional":new Gr(Pe.layout_symbol["text-optional"])}),R1={paint:new xo({"icon-opacity":new ni(Pe.paint_symbol["icon-opacity"]),"icon-color":new ni(Pe.paint_symbol["icon-color"]),"icon-halo-color":new ni(Pe.paint_symbol["icon-halo-color"]),"icon-halo-width":new ni(Pe.paint_symbol["icon-halo-width"]),"icon-halo-blur":new ni(Pe.paint_symbol["icon-halo-blur"]),"icon-translate":new Gr(Pe.paint_symbol["icon-translate"]),"icon-translate-anchor":new Gr(Pe.paint_symbol["icon-translate-anchor"]),"text-opacity":new ni(Pe.paint_symbol["text-opacity"]),"text-color":new ni(Pe.paint_symbol["text-color"],{runtimeType:Nt,getOverride:function(O){return O.textColor},hasOverride:function(O){return!!O.textColor}}),"text-halo-color":new ni(Pe.paint_symbol["text-halo-color"]),"text-halo-width":new ni(Pe.paint_symbol["text-halo-width"]),"text-halo-blur":new ni(Pe.paint_symbol["text-halo-blur"]),"text-translate":new Gr(Pe.paint_symbol["text-translate"]),"text-translate-anchor":new Gr(Pe.paint_symbol["text-translate-anchor"])}),layout:RC},mp=function(O){this.type=O.property.overrides?O.property.overrides.runtimeType:yt,this.defaultValue=O};mp.prototype.evaluate=function(O){if(O.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(O.formattedSection))return V.getOverride(O.formattedSection)}return O.feature&&O.featureState?this.defaultValue.evaluate(O.feature,O.featureState):this.defaultValue.property.specification.default},mp.prototype.eachChild=function(O){this.defaultValue.isConstant()||O(this.defaultValue.value._styleExpression.expression)},mp.prototype.outputDefined=function(){return!1},mp.prototype.serialize=function(){return null},Dr("FormatSectionOverride",mp,{omit:["defaultValue"]});var DC=function(O){function V(J){O.call(this,J,R1)}return O&&(V.__proto__=O),V.prototype=Object.create(O&&O.prototype),V.prototype.constructor=V,V.prototype.recalculate=function(J,fe){if(O.prototype.recalculate.call(this,J,fe),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ae=this.layout.get("text-writing-mode");if(Ae){for(var Re=[],Ge=0,it=Ae;Ge",targetMapId:fe,sourceMapId:Re.mapId})}}},gp.prototype.receive=function(O){var V=O.data,J=V.id;if(J&&(!V.targetMapId||this.mapId===V.targetMapId))if(V.type===""){delete this.tasks[J];var fe=this.cancelCallbacks[J];delete this.cancelCallbacks[J],fe&&fe()}else D()||V.mustQueue?(this.tasks[J]=V,this.taskQueue.push(J),this.invoker.trigger()):this.processTask(J,V)},gp.prototype.process=function(){if(this.taskQueue.length){var O=this.taskQueue.shift(),V=this.tasks[O];delete this.tasks[O],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(O,V)}},gp.prototype.processTask=function(O,V){var J=this;if(V.type===""){var fe=this.callbacks[O];delete this.callbacks[O],fe&&(V.error?fe(Fu(V.error)):fe(null,Fu(V.data)))}else{var Ae=!1,Re=N(this.globalScope)?void 0:[],Ge=V.hasCallback?function(Dt,Gt){Ae=!0,delete J.cancelCallbacks[O],J.target.postMessage({id:O,type:"",sourceMapId:J.mapId,error:Dt?zu(Dt):null,data:zu(Gt,Re)},Re)}:function(Dt){Ae=!0},it=null,pt=Fu(V.data);if(this.parent[V.type])it=this.parent[V.type](V.sourceMapId,pt,Ge);else if(this.parent.getWorkerSource){var Ct=V.type.split(".");it=this.parent.getWorkerSource(V.sourceMapId,Ct[0],pt.source)[Ct[1]](pt,Ge)}else Ge(new Error("Could not find function "+V.type));!Ae&&it&&it.cancel&&(this.cancelCallbacks[O]=it.cancel)}},gp.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var To=function(O,V){O&&(V?this.setSouthWest(O).setNorthEast(V):O.length===4?this.setSouthWest([O[0],O[1]]).setNorthEast([O[2],O[3]]):this.setSouthWest(O[0]).setNorthEast(O[1]))};To.prototype.setNorthEast=function(O){return this._ne=O instanceof Pa?new Pa(O.lng,O.lat):Pa.convert(O),this},To.prototype.setSouthWest=function(O){return this._sw=O instanceof Pa?new Pa(O.lng,O.lat):Pa.convert(O),this},To.prototype.extend=function(O){var V,J,fe=this._sw,Ae=this._ne;if(O instanceof Pa)V=O,J=O;else{if(!(O instanceof To)){if(Array.isArray(O)){if(O.length===4||O.every(Array.isArray)){var Re=O;return this.extend(To.convert(Re))}var Ge=O;return this.extend(Pa.convert(Ge))}return this}if(V=O._sw,J=O._ne,!V||!J)return this}return fe||Ae?(fe.lng=Math.min(V.lng,fe.lng),fe.lat=Math.min(V.lat,fe.lat),Ae.lng=Math.max(J.lng,Ae.lng),Ae.lat=Math.max(J.lat,Ae.lat)):(this._sw=new Pa(V.lng,V.lat),this._ne=new Pa(J.lng,J.lat)),this},To.prototype.getCenter=function(){return new Pa((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},To.prototype.getSouthWest=function(){return this._sw},To.prototype.getNorthEast=function(){return this._ne},To.prototype.getNorthWest=function(){return new Pa(this.getWest(),this.getNorth())},To.prototype.getSouthEast=function(){return new Pa(this.getEast(),this.getSouth())},To.prototype.getWest=function(){return this._sw.lng},To.prototype.getSouth=function(){return this._sw.lat},To.prototype.getEast=function(){return this._ne.lng},To.prototype.getNorth=function(){return this._ne.lat},To.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},To.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},To.prototype.isEmpty=function(){return!(this._sw&&this._ne)},To.prototype.contains=function(O){var V=Pa.convert(O),J=V.lng,fe=V.lat,Ae=this._sw.lat<=fe&&fe<=this._ne.lat,Re=this._sw.lng<=J&&J<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Re=this._sw.lng>=J&&J>=this._ne.lng),Ae&&Re},To.convert=function(O){return!O||O instanceof To?O:new To(O)};var Cw=63710088e-1,Pa=function(O,V){if(isNaN(O)||isNaN(V))throw new Error("Invalid LngLat object: ("+O+", "+V+")");if(this.lng=+O,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Pa.prototype.wrap=function(){return new Pa(f(this.lng,-180,180),this.lat)},Pa.prototype.toArray=function(){return[this.lng,this.lat]},Pa.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Pa.prototype.distanceTo=function(O){var V=Math.PI/180,J=this.lat*V,fe=O.lat*V,Ae=Math.sin(J)*Math.sin(fe)+Math.cos(J)*Math.cos(fe)*Math.cos((O.lng-this.lng)*V);return Cw*Math.acos(Math.min(Ae,1))},Pa.prototype.toBounds=function(O){O===void 0&&(O=0);var V=360*O/40075017,J=V/Math.cos(Math.PI/180*this.lat);return new To(new Pa(this.lng-J,this.lat-V),new Pa(this.lng+J,this.lat+V))},Pa.convert=function(O){if(O instanceof Pa)return O;if(Array.isArray(O)&&(O.length===2||O.length===3))return new Pa(Number(O[0]),Number(O[1]));if(!Array.isArray(O)&&typeof O=="object"&&O!==null)return new Pa(Number("lng"in O?O.lng:O.lon),Number(O.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var Ew=2*Math.PI*Cw;function Lw(O){return Ew*Math.cos(O*Math.PI/180)}function Iw(O){return(180+O)/360}function Pw(O){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+O*Math.PI/360)))/360}function Ow(O,V){return O/Lw(V)}function z1(O){var V=180-360*O;return 360/Math.PI*Math.atan(Math.exp(V*Math.PI/180))-90}var ud=function(O,V,J){J===void 0&&(J=0),this.x=+O,this.y=+V,this.z=+J};ud.fromLngLat=function(O,V){V===void 0&&(V=0);var J=Pa.convert(O);return new ud(Iw(J.lng),Pw(J.lat),Ow(V,J.lat))},ud.prototype.toLngLat=function(){return new Pa(360*this.x-180,z1(this.y))},ud.prototype.toAltitude=function(){return O=this.z,V=this.y,O*Lw(z1(V));var O,V},ud.prototype.meterInMercatorCoordinateUnits=function(){return 1/Ew*(O=z1(this.y),1/Math.cos(O*Math.PI/180));var O};var cd=function(O,V,J){this.z=O,this.x=V,this.y=J,this.key=j0(0,O,O,V,J)};cd.prototype.equals=function(O){return this.z===O.z&&this.x===O.x&&this.y===O.y},cd.prototype.url=function(O,V){var J,fe,Ae,Re,Ge,it=(J=this.x,fe=this.y,Ae=this.z,Re=Sw(256*J,256*(fe=Math.pow(2,Ae)-fe-1),Ae),Ge=Sw(256*(J+1),256*(fe+1),Ae),Re[0]+","+Re[1]+","+Ge[0]+","+Ge[1]),pt=function(Ct,Dt,Gt){for(var Zt,Yt="",hn=Ct;hn>0;hn--)Yt+=(Dt&(Zt=1<this.canonical.z?new ko(O,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ko(O,this.wrap,O,this.canonical.x>>V,this.canonical.y>>V)},ko.prototype.calculateScaledKey=function(O,V){var J=this.canonical.z-O;return O>this.canonical.z?j0(this.wrap*+V,O,this.canonical.z,this.canonical.x,this.canonical.y):j0(this.wrap*+V,O,O,this.canonical.x>>J,this.canonical.y>>J)},ko.prototype.isChildOf=function(O){if(O.wrap!==this.wrap)return!1;var V=this.canonical.z-O.canonical.z;return O.overscaledZ===0||O.overscaledZ>V&&O.canonical.y===this.canonical.y>>V},ko.prototype.children=function(O){if(this.overscaledZ>=O)return[new ko(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,J=2*this.canonical.x,fe=2*this.canonical.y;return[new ko(V,this.wrap,V,J,fe),new ko(V,this.wrap,V,J+1,fe),new ko(V,this.wrap,V,J,fe+1),new ko(V,this.wrap,V,J+1,fe+1)]},ko.prototype.isLessThan=function(O){return this.wrapO.wrap)&&(this.overscaledZO.overscaledZ)&&(this.canonical.xO.canonical.x)&&this.canonical.y=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(O+1)},Nf.prototype._unpackMapbox=function(O,V,J){return(256*O*256+256*V+J)/10-1e4},Nf.prototype._unpackTerrarium=function(O,V,J){return 256*O+V+J/256-32768},Nf.prototype.getPixels=function(){return new Ws({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Nf.prototype.backfillBorder=function(O,V,J){if(this.dim!==O.dim)throw new Error("dem dimension mismatch");var fe=V*this.dim,Ae=V*this.dim+this.dim,Re=J*this.dim,Ge=J*this.dim+this.dim;switch(V){case-1:fe=Ae-1;break;case 1:Ae=fe+1}switch(J){case-1:Re=Ge-1;break;case 1:Ge=Re+1}for(var it=-V*this.dim,pt=-J*this.dim,Ct=Re;Ct=0&&Dt[3]>=0&&it.insert(Ge,Dt[0],Dt[1],Dt[2],Dt[3])}},Vf.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new sp.VectorTile(new _g(this.rawTileData)).layers,this.sourceLayerCoder=new Og(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Vf.prototype.query=function(O,V,J,fe){var Ae=this;this.loadVTLayers();for(var Re=O.params||{},Ge=ui/O.tileSize/O.scale,it=bc(Re.filter),pt=O.queryGeometry,Ct=O.queryPadding*Ge,Dt=zw(pt),Gt=this.grid.query(Dt.minX-Ct,Dt.minY-Ct,Dt.maxX+Ct,Dt.maxY+Ct),Zt=zw(O.cameraQueryGeometry),Yt=0,hn=this.grid3D.query(Zt.minX-Ct,Zt.minY-Ct,Zt.maxX+Ct,Zt.maxY+Ct,function(er,sr,hr,Or){return function(Tr,Nr,Zr,fi,Jr){for(var ci=0,ri=Tr;ci=Kr.x&&Jr>=Kr.y)return!0}var Di=[new a(Nr,Zr),new a(Nr,Jr),new a(fi,Jr),new a(fi,Zr)];if(Tr.length>2){for(var pi=0,va=Di;pi=0)return!0;return!1}(Re,Gt)){var Zt=this.sourceLayerCoder.decode(J),Yt=this.vtLayers[Zt].feature(fe);if(Ae.filter(new Wi(this.tileID.overscaledZ),Yt))for(var hn=this.getId(Yt,Zt),Mn=0;Mnfe)Ae=!1;else if(V)if(this.expirationTimege&&(O.getActor().send("enforceCacheSizeLimit",je),st=0)},i.clamp=c,i.clearTileCache=function(O){var V=self.caches.delete(ze);O&&V.catch(O).then(function(){return O()})},i.clipLine=vw,i.clone=function(O){var V=new Fl(16);return V[0]=O[0],V[1]=O[1],V[2]=O[2],V[3]=O[3],V[4]=O[4],V[5]=O[5],V[6]=O[6],V[7]=O[7],V[8]=O[8],V[9]=O[9],V[10]=O[10],V[11]=O[11],V[12]=O[12],V[13]=O[13],V[14]=O[14],V[15]=O[15],V},i.clone$1=L,i.clone$2=function(O){var V=new Fl(3);return V[0]=O[0],V[1]=O[1],V[2]=O[2],V},i.collisionCircleLayout=lC,i.config=Z,i.create=function(){var O=new Fl(16);return Fl!=Float32Array&&(O[1]=0,O[2]=0,O[3]=0,O[4]=0,O[6]=0,O[7]=0,O[8]=0,O[9]=0,O[11]=0,O[12]=0,O[13]=0,O[14]=0),O[0]=1,O[5]=1,O[10]=1,O[15]=1,O},i.create$1=function(){var O=new Fl(9);return Fl!=Float32Array&&(O[1]=0,O[2]=0,O[3]=0,O[5]=0,O[6]=0,O[7]=0),O[0]=1,O[4]=1,O[8]=1,O},i.create$2=function(){var O=new Fl(4);return Fl!=Float32Array&&(O[1]=0,O[2]=0),O[0]=1,O[3]=1,O},i.createCommonjsModule=M,i.createExpression=dc,i.createLayout=la,i.createStyleLayer=function(O){return O.type==="custom"?new VC(O):new jC[O.type](O)},i.cross=function(O,V,J){var fe=V[0],Ae=V[1],Re=V[2],Ge=J[0],it=J[1],pt=J[2];return O[0]=Ae*pt-Re*it,O[1]=Re*Ge-fe*pt,O[2]=fe*it-Ae*Ge,O},i.deepEqual=function O(V,J){if(Array.isArray(V)){if(!Array.isArray(J)||V.length!==J.length)return!1;for(var fe=0;fe0&&(Re=1/Math.sqrt(Re)),O[0]=V[0]*Re,O[1]=V[1]*Re,O[2]=V[2]*Re,O},i.number=zr,i.offscreenCanvasSupported=ot,i.ortho=function(O,V,J,fe,Ae,Re,Ge){var it=1/(V-J),pt=1/(fe-Ae),Ct=1/(Re-Ge);return O[0]=-2*it,O[1]=0,O[2]=0,O[3]=0,O[4]=0,O[5]=-2*pt,O[6]=0,O[7]=0,O[8]=0,O[9]=0,O[10]=2*Ct,O[11]=0,O[12]=(V+J)*it,O[13]=(Ae+fe)*pt,O[14]=(Ge+Re)*Ct,O[15]=1,O},i.parseGlyphPBF=function(O){return new _g(O).readFields(bC,[])},i.pbf=_g,i.performSymbolLayout=function(O,V,J,fe,Ae,Re,Ge){O.createArrays();var it=512*O.overscaling;O.tilePixelRatio=ui/it,O.compareText={},O.iconsNeedLinear=!1;var pt=O.layers[0].layout,Ct=O.layers[0]._unevaluatedLayout._values,Dt={};if(O.textSizeData.kind==="composite"){var Gt=O.textSizeData,Zt=Gt.minZoom,Yt=Gt.maxZoom;Dt.compositeTextSizes=[Ct["text-size"].possiblyEvaluate(new Wi(Zt),Ge),Ct["text-size"].possiblyEvaluate(new Wi(Yt),Ge)]}if(O.iconSizeData.kind==="composite"){var hn=O.iconSizeData,Mn=hn.minZoom,Nn=hn.maxZoom;Dt.compositeIconSizes=[Ct["icon-size"].possiblyEvaluate(new Wi(Mn),Ge),Ct["icon-size"].possiblyEvaluate(new Wi(Nn),Ge)]}Dt.layoutTextSize=Ct["text-size"].possiblyEvaluate(new Wi(O.zoom+1),Ge),Dt.layoutIconSize=Ct["icon-size"].possiblyEvaluate(new Wi(O.zoom+1),Ge),Dt.textMaxSize=Ct["text-size"].possiblyEvaluate(new Wi(18));for(var Bn=pt.get("text-line-height")*us,Wn=pt.get("text-rotation-alignment")==="map"&&pt.get("symbol-placement")!=="point",Zn=pt.get("text-keep-upright"),er=pt.get("text-size"),sr=function(){var Tr=Or[hr],Nr=pt.get("text-font").evaluate(Tr,{},Ge).join(","),Zr=er.evaluate(Tr,{},Ge),fi=Dt.layoutTextSize.evaluate(Tr,{},Ge),Jr=Dt.layoutIconSize.evaluate(Tr,{},Ge),ci={horizontal:{},vertical:void 0},ri=Tr.text,Kr=[0,0];if(ri){var Di=ri.toString(),pi=pt.get("text-letter-spacing").evaluate(Tr,{},Ge)*us,va=function(mi){for(var Gi=0,Ka=mi;Gi=ui||X0.y<0||X0.y>=ui||function(ro,Ac,GC,Ah,q1,Uw,Gg,Jc,qg,K0,Wg,$g,W1,Hw,J0,Gw,qw,Ww,$w,Yw,Nl,Yg,Zw,Qc,qC){var Xw,gd,_p,wp,Tp,kp=ro.addToLineVertexArray(Ac,GC),Kw=0,Jw=0,Qw=0,e3=0,$1=-1,Y1=-1,Uf={},t3=Fn(""),Z1=0,X1=0;if(Jc._unevaluatedLayout.getValue("text-radial-offset")===void 0?(Z1=(Xw=Jc.layout.get("text-offset").evaluate(Nl,{},Qc).map(function(em){return em*us}))[0],X1=Xw[1]):(Z1=Jc.layout.get("text-radial-offset").evaluate(Nl,{},Qc)*us,X1=I1),ro.allowVerticalPlacement&&Ah.vertical){var n3=Jc.layout.get("text-rotate").evaluate(Nl,{},Qc)+90,WC=Ah.vertical;wp=new Lg(qg,Ac,K0,Wg,$g,WC,W1,Hw,J0,n3),Gg&&(Tp=new Lg(qg,Ac,K0,Wg,$g,Gg,qw,Ww,J0,n3))}if(q1){var K1=Jc.layout.get("icon-rotate").evaluate(Nl,{}),r3=Jc.layout.get("icon-text-fit")!=="none",i3=yw(q1,K1,Zw,r3),J1=Gg?yw(Gg,K1,Zw,r3):void 0;_p=new Lg(qg,Ac,K0,Wg,$g,q1,qw,Ww,!1,K1),Kw=4*i3.length;var a3=ro.iconSizeData,Q0=null;a3.kind==="source"?(Q0=[Kc*Jc.layout.get("icon-size").evaluate(Nl,{})])[0]>kh&&P(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):a3.kind==="composite"&&((Q0=[Kc*Yg.compositeIconSizes[0].evaluate(Nl,{},Qc),Kc*Yg.compositeIconSizes[1].evaluate(Nl,{},Qc)])[0]>kh||Q0[1]>kh)&&P(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),ro.addSymbols(ro.icon,i3,Q0,Yw,$w,Nl,!1,Ac,kp.lineStartIndex,kp.lineLength,-1,Qc),$1=ro.icon.placedSymbolArray.length-1,J1&&(Jw=4*J1.length,ro.addSymbols(ro.icon,J1,Q0,Yw,$w,Nl,Bl.vertical,Ac,kp.lineStartIndex,kp.lineLength,-1,Qc),Y1=ro.icon.placedSymbolArray.length-1)}for(var o3 in Ah.horizontal){var Zg=Ah.horizontal[o3];if(!gd){t3=Fn(Zg.text);var $C=Jc.layout.get("text-rotate").evaluate(Nl,{},Qc);gd=new Lg(qg,Ac,K0,Wg,$g,Zg,W1,Hw,J0,$C)}var s3=Zg.positionedLines.length===1;if(Qw+=_w(ro,Ac,Zg,Uw,Jc,J0,Nl,Gw,kp,Ah.vertical?Bl.horizontal:Bl.horizontalOnly,s3?Object.keys(Ah.horizontal):[o3],Uf,$1,Yg,Qc),s3)break}Ah.vertical&&(e3+=_w(ro,Ac,Ah.vertical,Uw,Jc,J0,Nl,Gw,kp,Bl.vertical,["vertical"],Uf,Y1,Yg,Qc));var YC=gd?gd.boxStartIndex:ro.collisionBoxArray.length,ZC=gd?gd.boxEndIndex:ro.collisionBoxArray.length,XC=wp?wp.boxStartIndex:ro.collisionBoxArray.length,KC=wp?wp.boxEndIndex:ro.collisionBoxArray.length,JC=_p?_p.boxStartIndex:ro.collisionBoxArray.length,QC=_p?_p.boxEndIndex:ro.collisionBoxArray.length,e8=Tp?Tp.boxStartIndex:ro.collisionBoxArray.length,t8=Tp?Tp.boxEndIndex:ro.collisionBoxArray.length,ef=-1,Xg=function(em,u3){return em&&em.circleDiameter?Math.max(em.circleDiameter,u3):u3};ef=Xg(gd,ef),ef=Xg(wp,ef),ef=Xg(_p,ef);var l3=(ef=Xg(Tp,ef))>-1?1:0;l3&&(ef*=qC/us),ro.glyphOffsetArray.length>=fa.MAX_GLYPHS&&P("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Nl.sortKey!==void 0&&ro.addToSortKeyRanges(ro.symbolInstances.length,Nl.sortKey),ro.symbolInstances.emplaceBack(Ac.x,Ac.y,Uf.right>=0?Uf.right:-1,Uf.center>=0?Uf.center:-1,Uf.left>=0?Uf.left:-1,Uf.vertical||-1,$1,Y1,t3,YC,ZC,XC,KC,JC,QC,e8,t8,K0,Qw,e3,Kw,Jw,l3,0,W1,Z1,X1,ef)}(mi,X0,HC,Ka,ma,Ga,jf,mi.layers[0],mi.collisionBoxArray,Gi.index,Gi.sourceLayerIndex,mi.index,Dg,B1,Bg,Fs,zg,Fg,Ng,Mc,Gi,Ra,pl,Ms,Yi)};if(H0==="line")for(var bp=0,Vg=vw(Gi.geometry,0,0,ui,ui);bp1){var $0=MC(pd,yp,Ka.vertical||Uu,ma,Hu,hd);$0&&dd(pd,$0)}}else if(Gi.type==="Polygon")for(var md=0,Y0=w1(Gi.geometry,0);md=An.maxzoom||An.visibility!=="none"&&(u(un,this.zoom,qe),(Lt[An.id]=An.createBucket({index:Qe.bucketLayerIDs.length,layers:un,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Nt,sourceID:this.source})).populate($t,yt,this.tileID.canonical),Qe.bucketLayerIDs.push(un.map(function(dn){return dn.id})))}}}var $n=i.mapObject(yt.glyphDependencies,function(dn){return Object.keys(dn).map(Number)});Object.keys($n).length?nt.send("getGlyphs",{uid:this.uid,stacks:$n},function(dn,pn){ut||(ut=dn,dt=pn,Tn.call(Pe))}):dt={};var kn=Object.keys(yt.iconDependencies);kn.length?nt.send("getImages",{icons:kn,source:this.source,tileID:this.tileID,type:"icons"},function(dn,pn){ut||(ut=dn,_t=pn,Tn.call(Pe))}):_t={};var sn=Object.keys(yt.patternDependencies);function Tn(){if(ut)return ht(ut);if(dt&&_t&&It){var dn=new l(dt),pn=new i.ImageAtlas(_t,It);for(var Dn in Lt){var In=Lt[Dn];In instanceof i.SymbolBucket?(u(In.layers,this.zoom,qe),i.performSymbolLayout(In,dt,dn.positions,_t,pn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):In.hasPattern&&(In instanceof i.LineBucket||In instanceof i.FillBucket||In instanceof i.FillExtrusionBucket)&&(u(In.layers,this.zoom,qe),In.addFeatures(yt,this.tileID.canonical,pn.patternPositions))}this.status="done",ht(null,{buckets:i.values(Lt).filter(function(jn){return!jn.isEmpty()}),featureIndex:Qe,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:dn.image,imageAtlas:pn,glyphMap:this.returnDependencies?dt:null,iconMap:this.returnDependencies?_t:null,glyphPositions:this.returnDependencies?dn.positions:null})}}sn.length?nt.send("getImages",{icons:sn,source:this.source,tileID:this.tileID,type:"patterns"},function(dn,pn){ut||(ut=dn,It=pn,Tn.call(Pe))}):It={},Tn.call(this)};var s=function(Ke,Je,qe,nt){this.actor=Ke,this.layerIndex=Je,this.availableImages=qe,this.loadVectorData=nt||o,this.loading={},this.loaded={}};s.prototype.loadTile=function(Ke,Je){var qe=this,nt=Ke.uid;this.loading||(this.loading={});var ht=!!(Ke&&Ke.request&&Ke.request.collectResourceTiming)&&new i.RequestPerformance(Ke.request),Pe=this.loading[nt]=new a(Ke);Pe.abort=this.loadVectorData(Ke,function(Ne,Qe){if(delete qe.loading[nt],Ne||!Qe)return Pe.status="done",qe.loaded[nt]=Pe,Je(Ne);var ut=Qe.rawData,dt={};Qe.expires&&(dt.expires=Qe.expires),Qe.cacheControl&&(dt.cacheControl=Qe.cacheControl);var _t={};if(ht){var It=ht.finish();It&&(_t.resourceTiming=JSON.parse(JSON.stringify(It)))}Pe.vectorTile=Qe.vectorTile,Pe.parse(Qe.vectorTile,qe.layerIndex,qe.availableImages,qe.actor,function(Lt,yt){if(Lt||!yt)return Je(Lt);Je(null,i.extend({rawTileData:ut.slice(0)},yt,dt,_t))}),qe.loaded=qe.loaded||{},qe.loaded[nt]=Pe})},s.prototype.reloadTile=function(Ke,Je){var qe=this,nt=this.loaded,ht=Ke.uid,Pe=this;if(nt&&nt[ht]){var Ne=nt[ht];Ne.showCollisionBoxes=Ke.showCollisionBoxes;var Qe=function(ut,dt){var _t=Ne.reloadCallback;_t&&(delete Ne.reloadCallback,Ne.parse(Ne.vectorTile,Pe.layerIndex,qe.availableImages,Pe.actor,_t)),Je(ut,dt)};Ne.status==="parsing"?Ne.reloadCallback=Qe:Ne.status==="done"&&(Ne.vectorTile?Ne.parse(Ne.vectorTile,this.layerIndex,this.availableImages,this.actor,Qe):Qe())}},s.prototype.abortTile=function(Ke,Je){var qe=this.loading,nt=Ke.uid;qe&&qe[nt]&&qe[nt].abort&&(qe[nt].abort(),delete qe[nt]),Je()},s.prototype.removeTile=function(Ke,Je){var qe=this.loaded,nt=Ke.uid;qe&&qe[nt]&&delete qe[nt],Je()};var c=i.window.ImageBitmap,f=function(){this.loaded={}};f.prototype.loadTile=function(Ke,Je){var qe=Ke.uid,nt=Ke.encoding,ht=Ke.rawImageData,Pe=c&&ht instanceof c?this.getImageData(ht):ht,Ne=new i.DEMData(qe,Pe,nt);this.loaded=this.loaded||{},this.loaded[qe]=Ne,Je(null,Ne)},f.prototype.getImageData=function(Ke){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(Ke.width,Ke.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ke.width,this.offscreenCanvas.height=Ke.height,this.offscreenCanvasContext.drawImage(Ke,0,0,Ke.width,Ke.height);var Je=this.offscreenCanvasContext.getImageData(-1,-1,Ke.width+2,Ke.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Je.width,height:Je.height},Je.data)},f.prototype.removeTile=function(Ke){var Je=this.loaded,qe=Ke.uid;Je&&Je[qe]&&delete Je[qe]};var p=function Ke(Je,qe){var nt,ht=Je&&Je.type;if(ht==="FeatureCollection")for(nt=0;nt=0!=!!Je&&Ke.reverse()}var S=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,x=function(Ke){this._feature=Ke,this.extent=i.EXTENT,this.type=Ke.type,this.properties=Ke.tags,"id"in Ke&&!isNaN(Ke.id)&&(this.id=parseInt(Ke.id,10))};x.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ke=[],Je=0,qe=this._feature.geometry;Je>31}function Y(Ke,Je){for(var qe=Ke.loadGeometry(),nt=Ke.type,ht=0,Pe=0,Ne=qe.length,Qe=0;Qe>1;q(Ke,Je,Ne,nt,ht,Pe%2),G(Ke,Je,qe,nt,Ne-1,Pe+1),G(Ke,Je,qe,Ne+1,ht,Pe+1)}}function q(Ke,Je,qe,nt,ht,Pe){for(;ht>nt;){if(ht-nt>600){var Ne=ht-nt+1,Qe=qe-nt+1,ut=Math.log(Ne),dt=.5*Math.exp(2*ut/3),_t=.5*Math.sqrt(ut*dt*(Ne-dt)/Ne)*(Qe-Ne/2<0?-1:1);q(Ke,Je,qe,Math.max(nt,Math.floor(qe-Qe*dt/Ne+_t)),Math.min(ht,Math.floor(qe+(Ne-Qe)*dt/Ne+_t)),Pe)}var It=Je[2*qe+Pe],Lt=nt,yt=ht;for(H(Ke,Je,nt,qe),Je[2*ht+Pe]>It&&H(Ke,Je,nt,ht);LtIt;)yt--}Je[2*nt+Pe]===It?H(Ke,Je,nt,yt):H(Ke,Je,++yt,ht),yt<=qe&&(nt=yt+1),qe<=yt&&(ht=yt-1)}}function H(Ke,Je,qe,nt){ne(Ke,qe,nt),ne(Je,2*qe,2*nt),ne(Je,2*qe+1,2*nt+1)}function ne(Ke,Je,qe){var nt=Ke[Je];Ke[Je]=Ke[qe],Ke[qe]=nt}function te(Ke,Je,qe,nt){var ht=Ke-qe,Pe=Je-nt;return ht*ht+Pe*Pe}b.fromVectorTileJs=P,b.fromGeojsonVt=I,b.GeoJSONWrapper=R;var Z=function(Ke){return Ke[0]},X=function(Ke){return Ke[1]},Q=function(Ke,Je,qe,nt,ht){Je===void 0&&(Je=Z),qe===void 0&&(qe=X),nt===void 0&&(nt=64),ht===void 0&&(ht=Float64Array),this.nodeSize=nt,this.points=Ke;for(var Pe=Ke.length<65536?Uint16Array:Uint32Array,Ne=this.ids=new Pe(Ke.length),Qe=this.coords=new ht(2*Ke.length),ut=0;ut=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Ot.push(ht[$t]);else{var Wt=Math.floor((Nt+Pt)/2);It=Pe[2*Wt],Lt=Pe[2*Wt+1],It>=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Ot.push(ht[Wt]);var Xt=(wt+1)%2;(wt===0?Ne<=It:Qe<=Lt)&&(yt.push(Nt),yt.push(Wt-1),yt.push(Xt)),(wt===0?ut>=It:dt>=Lt)&&(yt.push(Wt+1),yt.push(Pt),yt.push(Xt))}}return Ot}(this.ids,this.coords,Ke,Je,qe,nt,this.nodeSize)},Q.prototype.within=function(Ke,Je,qe){return function(nt,ht,Pe,Ne,Qe,ut){for(var dt=[0,nt.length-1,0],_t=[],It=Qe*Qe;dt.length;){var Lt=dt.pop(),yt=dt.pop(),Ot=dt.pop();if(yt-Ot<=ut)for(var wt=Ot;wt<=yt;wt++)te(ht[2*wt],ht[2*wt+1],Pe,Ne)<=It&&_t.push(nt[wt]);else{var Pt=Math.floor((Ot+yt)/2),Nt=ht[2*Pt],$t=ht[2*Pt+1];te(Nt,$t,Pe,Ne)<=It&&_t.push(nt[Pt]);var Wt=(Lt+1)%2;(Lt===0?Pe-Qe<=Nt:Ne-Qe<=$t)&&(dt.push(Ot),dt.push(Pt-1),dt.push(Wt)),(Lt===0?Pe+Qe>=Nt:Ne+Qe>=$t)&&(dt.push(Pt+1),dt.push(yt),dt.push(Wt))}}return _t}(this.ids,this.coords,Ke,Je,qe,this.nodeSize)};var re={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(Ke){return Ke}},ie=function(Ke){this.options=pe(Object.create(re),Ke),this.trees=new Array(this.options.maxZoom+1)};function oe(Ke,Je,qe,nt,ht){return{x:Ke,y:Je,zoom:1/0,id:qe,parentId:-1,numPoints:nt,properties:ht}}function ue(Ke,Je){var qe=Ke.geometry.coordinates,nt=qe[0],ht=qe[1];return{x:de(nt),y:me(ht),zoom:1/0,index:Je,parentId:-1}}function ce(Ke){return{type:"Feature",id:Ke.id,properties:ye(Ke),geometry:{type:"Point",coordinates:[(nt=Ke.x,360*(nt-.5)),(Je=Ke.y,qe=(180-360*Je)*Math.PI/180,360*Math.atan(Math.exp(qe))/Math.PI-90)]}};var Je,qe,nt}function ye(Ke){var Je=Ke.numPoints,qe=Je>=1e4?Math.round(Je/1e3)+"k":Je>=1e3?Math.round(Je/100)/10+"k":Je;return pe(pe({},Ke.properties),{cluster:!0,cluster_id:Ke.id,point_count:Je,point_count_abbreviated:qe})}function de(Ke){return Ke/360+.5}function me(Ke){var Je=Math.sin(Ke*Math.PI/180),qe=.5-.25*Math.log((1+Je)/(1-Je))/Math.PI;return qe<0?0:qe>1?1:qe}function pe(Ke,Je){for(var qe in Je)Ke[qe]=Je[qe];return Ke}function xe(Ke){return Ke.x}function Oe(Ke){return Ke.y}function _e(Ke,Je,qe,nt){for(var ht,Pe=nt,Ne=qe-Je>>1,Qe=qe-Je,ut=Ke[Je],dt=Ke[Je+1],_t=Ke[qe],It=Ke[qe+1],Lt=Je+3;LtPe)ht=Lt,Pe=yt;else if(yt===Pe){var Ot=Math.abs(Lt-Ne);Otnt&&(ht-Je>3&&_e(Ke,Je,ht,nt),Ke[ht+2]=Pe,qe-ht>3&&_e(Ke,ht,qe,nt))}function Me(Ke,Je,qe,nt,ht,Pe){var Ne=ht-qe,Qe=Pe-nt;if(Ne!==0||Qe!==0){var ut=((Ke-qe)*Ne+(Je-nt)*Qe)/(Ne*Ne+Qe*Qe);ut>1?(qe=ht,nt=Pe):ut>0&&(qe+=Ne*ut,nt+=Qe*ut)}return(Ne=Ke-qe)*Ne+(Qe=Je-nt)*Qe}function Se(Ke,Je,qe,nt){var ht={id:Ke===void 0?null:Ke,type:Je,geometry:qe,tags:nt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Pe){var Ne=Pe.geometry,Qe=Pe.type;if(Qe==="Point"||Qe==="MultiPoint"||Qe==="LineString")Ce(Pe,Ne);else if(Qe==="Polygon"||Qe==="MultiLineString")for(var ut=0;ut0&&(Ne+=nt?(ht*dt-ut*Pe)/2:Math.sqrt(Math.pow(ut-ht,2)+Math.pow(dt-Pe,2))),ht=ut,Pe=dt}var _t=Je.length-3;Je[2]=1,_e(Je,0,_t,qe),Je[_t+2]=1,Je.size=Math.abs(Ne),Je.start=0,Je.end=Je.size}function ke(Ke,Je,qe,nt){for(var ht=0;ht1?1:qe}function ze(Ke,Je,qe,nt,ht,Pe,Ne,Qe){if(nt/=Je,Pe>=(qe/=Je)&&Ne=nt)return null;for(var ut=[],dt=0;dt=qe&&Ot=nt)){var wt=[];if(Lt==="Point"||Lt==="MultiPoint")je(It,wt,qe,nt,ht);else if(Lt==="LineString")ge(It,wt,qe,nt,ht,!1,Qe.lineMetrics);else if(Lt==="MultiLineString")Ee(It,wt,qe,nt,ht,!1);else if(Lt==="Polygon")Ee(It,wt,qe,nt,ht,!0);else if(Lt==="MultiPolygon")for(var Pt=0;Pt=qe&&Ne<=nt&&(Je.push(Ke[Pe]),Je.push(Ke[Pe+1]),Je.push(Ke[Pe+2]))}}function ge(Ke,Je,qe,nt,ht,Pe,Ne){for(var Qe,ut,dt=we(Ke),_t=ht===0?Ye:$e,It=Ke.start,Lt=0;Ltqe&&(ut=_t(dt,yt,Ot,Pt,Nt,qe),Ne&&(dt.start=It+Qe*ut)):$t>nt?Wt=qe&&(ut=_t(dt,yt,Ot,Pt,Nt,qe),Xt=!0),Wt>nt&&$t<=nt&&(ut=_t(dt,yt,Ot,Pt,Nt,nt),Xt=!0),!Pe&&Xt&&(Ne&&(dt.end=It+Qe*ut),Je.push(dt),dt=we(Ke)),Ne&&(It+=Qe)}var Qt=Ke.length-3;yt=Ke[Qt],Ot=Ke[Qt+1],wt=Ke[Qt+2],($t=ht===0?yt:Ot)>=qe&&$t<=nt&&Ve(dt,yt,Ot,wt),Qt=dt.length-3,Pe&&Qt>=3&&(dt[Qt]!==dt[0]||dt[Qt+1]!==dt[1])&&Ve(dt,dt[0],dt[1],dt[2]),dt.length&&Je.push(dt)}function we(Ke){var Je=[];return Je.size=Ke.size,Je.start=Ke.start,Je.end=Ke.end,Je}function Ee(Ke,Je,qe,nt,ht,Pe){for(var Ne=0;NeNe.maxX&&(Ne.maxX=_t),It>Ne.maxY&&(Ne.maxY=It)}return Ne}function kt(Ke,Je,qe,nt){var ht=Je.geometry,Pe=Je.type,Ne=[];if(Pe==="Point"||Pe==="MultiPoint")for(var Qe=0;Qe0&&Je.size<(ht?Ne:nt))qe.numPoints+=Je.length/3;else{for(var Qe=[],ut=0;utNe)&&(qe.numSimplified++,Qe.push(Je[ut]),Qe.push(Je[ut+1])),qe.numPoints++;ht&&function(dt,_t){for(var It=0,Lt=0,yt=dt.length,Ot=yt-2;Lt0===_t)for(Lt=0,yt=dt.length;Lt24)throw new Error("maxZoom should be in the 0-24 range");if(Je.promoteId&&Je.generateId)throw new Error("promoteId and generateId cannot be used together.");var nt=function(ht,Pe){var Ne=[];if(ht.type==="FeatureCollection")for(var Qe=0;Qe=nt;dt--){var _t=+Date.now();Qe=this._cluster(Qe,dt),this.trees[dt]=new Q(Qe,xe,Oe,Pe,Float32Array),qe&&console.log("z%d: %d clusters in %dms",dt,Qe.length,+Date.now()-_t)}return qe&&console.timeEnd("total time"),this},ie.prototype.getClusters=function(Ke,Je){var qe=((Ke[0]+180)%360+360)%360-180,nt=Math.max(-90,Math.min(90,Ke[1])),ht=Ke[2]===180?180:((Ke[2]+180)%360+360)%360-180,Pe=Math.max(-90,Math.min(90,Ke[3]));if(Ke[2]-Ke[0]>=360)qe=-180,ht=180;else if(qe>ht){var Ne=this.getClusters([qe,nt,180,Pe],Je),Qe=this.getClusters([-180,nt,ht,Pe],Je);return Ne.concat(Qe)}for(var ut=this.trees[this._limitZoom(Je)],dt=[],_t=0,It=ut.range(de(qe),me(Pe),de(ht),me(nt));_t1?this._map(dt,!0):null,Pt=(ut<<5)+(Je+1)+this.points.length,Nt=0,$t=It;Nt<$t.length;Nt+=1){var Wt=$t[Nt],Xt=_t.points[Wt];if(!(Xt.zoom<=Je)){Xt.zoom=Je;var Qt=Xt.numPoints||1;yt+=Xt.x*Qt,Ot+=Xt.y*Qt,Lt+=Qt,Xt.parentId=Pt,Ne&&(wt||(wt=this._map(dt,!0)),Ne(wt,this._map(Xt)))}}Lt===1?qe.push(dt):(dt.parentId=Pt,qe.push(oe(yt/Lt,Ot/Lt,Pt,Lt,wt)))}}return qe},ie.prototype._getOriginId=function(Ke){return Ke-this.points.length>>5},ie.prototype._getOriginZoom=function(Ke){return(Ke-this.points.length)%32},ie.prototype._map=function(Ke,Je){if(Ke.numPoints)return Je?pe({},Ke.properties):Ke.properties;var qe=this.points[Ke.index].properties,nt=this.options.map(qe);return Je&&nt===qe?pe({},nt):nt},Ft.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ft.prototype.splitTile=function(Ke,Je,qe,nt,ht,Pe,Ne){for(var Qe=[Ke,Je,qe,nt],ut=this.options,dt=ut.debug;Qe.length;){nt=Qe.pop(),qe=Qe.pop(),Je=Qe.pop(),Ke=Qe.pop();var _t=1<1&&console.time("creation"),Lt=this.tiles[It]=Et(Ke,Je,qe,nt,ut),this.tileCoords.push({z:Je,x:qe,y:nt}),dt)){dt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Je,qe,nt,Lt.numFeatures,Lt.numPoints,Lt.numSimplified),console.timeEnd("creation"));var yt="z"+Je;this.stats[yt]=(this.stats[yt]||0)+1,this.total++}if(Lt.source=Ke,ht){if(Je===ut.maxZoom||Je===ht)continue;var Ot=1<1&&console.time("clipping");var wt,Pt,Nt,$t,Wt,Xt,Qt=.5*ut.buffer/ut.extent,rn=.5-Qt,xn=.5+Qt,un=1+Qt;wt=Pt=Nt=$t=null,Wt=ze(Ke,_t,qe-Qt,qe+xn,0,Lt.minX,Lt.maxX,ut),Xt=ze(Ke,_t,qe+rn,qe+un,0,Lt.minX,Lt.maxX,ut),Ke=null,Wt&&(wt=ze(Wt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Pt=ze(Wt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Wt=null),Xt&&(Nt=ze(Xt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),$t=ze(Xt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Xt=null),dt>1&&console.timeEnd("clipping"),Qe.push(wt||[],Je+1,2*qe,2*nt),Qe.push(Pt||[],Je+1,2*qe,2*nt+1),Qe.push(Nt||[],Je+1,2*qe+1,2*nt),Qe.push($t||[],Je+1,2*qe+1,2*nt+1)}}},Ft.prototype.getTile=function(Ke,Je,qe){var nt=this.options,ht=nt.extent,Pe=nt.debug;if(Ke<0||Ke>24)return null;var Ne=1<1&&console.log("drilling down to z%d-%d-%d",Ke,Je,qe);for(var ut,dt=Ke,_t=Je,It=qe;!ut&&dt>0;)dt--,_t=Math.floor(_t/2),It=Math.floor(It/2),ut=this.tiles[Rt(dt,_t,It)];return ut&&ut.source?(Pe>1&&console.log("found parent tile z%d-%d-%d",dt,_t,It),Pe>1&&console.time("drilling down"),this.splitTile(ut.source,dt,_t,It,Ke,Je,qe),Pe>1&&console.timeEnd("drilling down"),this.tiles[Qe]?ft(this.tiles[Qe],ht):null):null};var qt=function(Ke){function Je(qe,nt,ht,Pe){Ke.call(this,qe,nt,ht,Bt),Pe&&(this.loadGeoJSON=Pe)}return Ke&&(Je.__proto__=Ke),Je.prototype=Object.create(Ke&&Ke.prototype),Je.prototype.constructor=Je,Je.prototype.loadData=function(qe,nt){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=nt,this._pendingLoadDataParams=qe,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},Je.prototype._loadData=function(){var qe=this;if(this._pendingCallback&&this._pendingLoadDataParams){var nt=this._pendingCallback,ht=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Pe=!!(ht&&ht.request&&ht.request.collectResourceTiming)&&new i.RequestPerformance(ht.request);this.loadGeoJSON(ht,function(Ne,Qe){if(Ne||!Qe)return nt(Ne);if(typeof Qe!="object")return nt(new Error("Input data given to '"+ht.source+"' is not a valid GeoJSON object."));p(Qe,!0);try{qe._geoJSONIndex=ht.cluster?new ie(function(_t){var It=_t.superclusterOptions,Lt=_t.clusterProperties;if(!Lt||!It)return It;for(var yt={},Ot={},wt={accumulated:null,zoom:0},Pt={properties:null},Nt=Object.keys(Lt),$t=0,Wt=Nt;$t=0?0:$.button},g.remove=function($){$.parentNode&&$.parentNode.removeChild($)};var w=function($){function ee(){$.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.isLoaded=function(){return this.loaded},ee.prototype.setLoaded=function(K){if(this.loaded!==K&&(this.loaded=K,K)){for(var le=0,Te=this.requestors;le=0?1.2:1))}function C($,ee,K,le,Te,De,He){for(var Ze=0;Ze65535)Tt(new Error("glyphs > 65535 not supported"));else if(ve.ranges[Fe])Tt(null,{stack:At,id:se,glyph:Ie});else{var Ue=ve.requests[Fe];Ue||(Ue=ve.requests[Fe]=[],A.loadGlyphRange(At,Fe,K.url,K.requestManager,function(We,Xe){if(Xe){for(var tt in Xe)K._doesCharSupportLocalGlyph(+tt)||(ve.glyphs[+tt]=Xe[+tt]);ve.ranges[Fe]=!0}for(var lt=0,mt=Ue;lt1&&(at=$[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=void 0,Fe=Te/K*(le+1);if(at.isDash){var Ue=le-Math.abs(Fe);Ie=Math.sqrt(ve*ve+Ue*Ue)}else Ie=le-Math.sqrt(ve*ve+Fe*Fe);this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},R.prototype.addRegularDash=function($){for(var ee=$.length-1;ee>=0;--ee){var K=$[ee],le=$[ee+1];K.zeroLength?$.splice(ee,1):le&&le.isDash===K.isDash&&(le.left=K.left,$.splice(ee,1))}var Te=$[0],De=$[$.length-1];Te.isDash===De.isDash&&(Te.left=De.left-this.width,De.right=Te.right+this.width);for(var He=this.width*this.nextRow,Ze=0,at=$[Ze],Tt=0;Tt1&&(at=$[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=at.isDash?ve:-ve;this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},R.prototype.addDash=function($,ee){var K=ee?7:0,le=2*K+1;if(this.nextRow+le>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Te=0,De=0;De<$.length;De++)Te+=$[De];if(Te!==0){var He=this.width/Te,Ze=this.getDashRanges($,this.width,He);ee?this.addRoundDash(Ze,He,K):this.addRegularDash(Ze)}var at={y:(this.nextRow+K+.5)/this.height,height:2*K/this.height,width:Te};return this.nextRow+=le,this.dirty=!0,at},R.prototype.bind=function($){var ee=$.gl;this.texture?(ee.bindTexture(ee.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,ee.texSubImage2D(ee.TEXTURE_2D,0,0,0,this.width,this.height,ee.ALPHA,ee.UNSIGNED_BYTE,this.data))):(this.texture=ee.createTexture(),ee.bindTexture(ee.TEXTURE_2D,this.texture),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_WRAP_S,ee.REPEAT),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_WRAP_T,ee.REPEAT),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_MIN_FILTER,ee.LINEAR),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_MAG_FILTER,ee.LINEAR),ee.texImage2D(ee.TEXTURE_2D,0,ee.ALPHA,this.width,this.height,0,ee.ALPHA,ee.UNSIGNED_BYTE,this.data))};var D=function $(ee,K){this.workerPool=ee,this.actors=[],this.currentActor=0,this.id=i.uniqueId();for(var le=this.workerPool.acquire(this.id),Te=0;Te=K&&$.x=le&&$.y0&&(Tt[new i.OverscaledTileID(K.overscaledZ,He,le.z,De,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,K.wrap,le.z,le.x,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,at,le.z,Ze,le.y-1).key]={backfilled:!1}),le.y+10&&(Te.resourceTiming=K._resourceTiming,K._resourceTiming=[]),K.fire(new i.Event("data",Te))}})},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setData=function(K){var le=this;return this._data=K,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Te){if(Te)le.fire(new i.ErrorEvent(Te));else{var De={dataType:"source",sourceDataType:"content"};le._collectResourceTiming&&le._resourceTiming&&le._resourceTiming.length>0&&(De.resourceTiming=le._resourceTiming,le._resourceTiming=[]),le.fire(new i.Event("data",De))}}),this},ee.prototype.getClusterExpansionZoom=function(K,le){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterChildren=function(K,le){return this.actor.send("geojson.getClusterChildren",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterLeaves=function(K,le,Te,De){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:K,limit:le,offset:Te},De),this},ee.prototype._updateWorkerData=function(K){var le=this;this._loaded=!1;var Te=i.extend({},this.workerOptions),De=this._data;typeof De=="string"?(Te.request=this.map._requestManager.transformRequest(i.browser.resolveURL(De),i.ResourceType.Source),Te.request.collectResourceTiming=this._collectResourceTiming):Te.data=JSON.stringify(De),this.actor.send(this.type+".loadData",Te,function(He,Ze){le._removed||Ze&&Ze.abandoned||(le._loaded=!0,Ze&&Ze.resourceTiming&&Ze.resourceTiming[le.id]&&(le._resourceTiming=Ze.resourceTiming[le.id].slice(0)),le.actor.send(le.type+".coalesce",{source:Te.source},null),K(He))})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.loadTile=function(K,le){var Te=this,De=K.actor?"reloadTile":"loadTile";K.actor=this.actor;var He={type:this.type,uid:K.uid,tileID:K.tileID,zoom:K.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};K.request=this.actor.send(De,He,function(Ze,at){return delete K.request,K.unloadVectorData(),K.aborted?le(null):Ze?le(Ze):(K.loadVectorData(at,Te.map.painter,De==="reloadTile"),le(null))})},ee.prototype.abortTile=function(K){K.request&&(K.request.cancel(),delete K.request),K.aborted=!0},ee.prototype.unloadTile=function(K){K.unloadVectorData(),this.actor.send("removeTile",{uid:K.uid,type:this.type,source:this.id})},ee.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ee.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ee.prototype.hasTransition=function(){return!1},ee}(i.Evented),U=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),G=function($){function ee(K,le,Te,De){$.call(this),this.id=K,this.dispatcher=Te,this.coordinates=le.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(De),this.options=le}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(K,le){var Te=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(De,He){Te._loaded=!0,De?Te.fire(new i.ErrorEvent(De)):He&&(Te.image=He,K&&(Te.coordinates=K),le&&le(),Te._finishLoading())})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.updateImage=function(K){var le=this;return this.image&&K.url?(this.options.url=K.url,this.load(K.coordinates,function(){le.texture=null}),this):this},ee.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setCoordinates=function(K){var le=this;this.coordinates=K;var Te=K.map(i.MercatorCoordinate.fromLngLat);this.tileID=function(He){for(var Ze=1/0,at=1/0,Tt=-1/0,At=-1/0,se=0,ve=He;sele.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+le.start(0)+" and "+le.end(0)+"-second mark."))):this.video.currentTime=K}},ee.prototype.getVideo=function(){return this.video},ee.prototype.onAdd=function(K){this.map||(this.map=K,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ee.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var K=this.map.painter.context,le=K.gl;for(var Te in this.boundsBuffer||(this.boundsBuffer=K.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE),le.texSubImage2D(le.TEXTURE_2D,0,0,0,le.RGBA,le.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(K,this.video,le.RGBA),this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE)),this.tiles){var De=this.tiles[Te];De.state!=="loaded"&&(De.state="loaded",De.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this.video&&!this.video.paused},ee}(G),H=function($){function ee(K,le,Te,De){$.call(this,K,le,Te,De),le.coordinates?Array.isArray(le.coordinates)&&le.coordinates.length===4&&!le.coordinates.some(function(He){return!Array.isArray(He)||He.length!==2||He.some(function(Ze){return typeof Ze!="number"})})||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "coordinates"'))),le.animate&&typeof le.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'optional "animate" property must be a boolean value'))),le.canvas?typeof le.canvas=="string"||le.canvas instanceof i.window.HTMLCanvasElement||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "canvas"'))),this.options=le,this.animate=le.animate===void 0||le.animate}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new i.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},ee.prototype.getCanvas=function(){return this.canvas},ee.prototype.onAdd=function(K){this.map=K,this.load(),this.canvas&&this.animate&&this.play()},ee.prototype.onRemove=function(){this.pause()},ee.prototype.prepare=function(){var K=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,K=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,K=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var le=this.map.painter.context,Te=le.gl;for(var De in this.boundsBuffer||(this.boundsBuffer=le.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(K||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(le,this.canvas,Te.RGBA,{premultiply:!0}),this.tiles){var He=this.tiles[De];He.state!=="loaded"&&(He.state="loaded",He.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this._playing},ee.prototype._hasInvalidDimensions=function(){for(var K=0,le=[this.canvas.width,this.canvas.height];Kthis.max){var He=this._getAndRemoveByKey(this.order[0]);He&&this.onRemove(He)}return this},Q.prototype.has=function($){return $.wrapped().key in this.data},Q.prototype.getAndRemove=function($){return this.has($)?this._getAndRemoveByKey($.wrapped().key):null},Q.prototype._getAndRemoveByKey=function($){var ee=this.data[$].shift();return ee.timeout&&clearTimeout(ee.timeout),this.data[$].length===0&&delete this.data[$],this.order.splice(this.order.indexOf($),1),ee.value},Q.prototype.getByKey=function($){var ee=this.data[$];return ee?ee[0].value:null},Q.prototype.get=function($){return this.has($)?this.data[$.wrapped().key][0].value:null},Q.prototype.remove=function($,ee){if(!this.has($))return this;var K=$.wrapped().key,le=ee===void 0?0:this.data[K].indexOf(ee),Te=this.data[K][le];return this.data[K].splice(le,1),Te.timeout&&clearTimeout(Te.timeout),this.data[K].length===0&&delete this.data[K],this.onRemove(Te.value),this.order.splice(this.order.indexOf(K),1),this},Q.prototype.setMaxSize=function($){for(this.max=$;this.order.length>this.max;){var ee=this._getAndRemoveByKey(this.order[0]);ee&&this.onRemove(ee)}return this},Q.prototype.filter=function($){var ee=[];for(var K in this.data)for(var le=0,Te=this.data[K];le1||(Math.abs(At)>1&&(Math.abs(At+ve)===1?At+=ve:Math.abs(At-ve)===1&&(At-=ve)),Tt.dem&&at.dem&&(at.dem.backfillBorder(Tt.dem,At,se),at.neighboringTiles&&at.neighboringTiles[Ie]&&(at.neighboringTiles[Ie].backfilled=!0)))}},ee.prototype.getTile=function(K){return this.getTileByID(K.key)},ee.prototype.getTileByID=function(K){return this._tiles[K]},ee.prototype._retainLoadedChildren=function(K,le,Te,De){for(var He in this._tiles){var Ze=this._tiles[He];if(!(De[He]||!Ze.hasData()||Ze.tileID.overscaledZ<=le||Ze.tileID.overscaledZ>Te)){for(var at=Ze.tileID;Ze&&Ze.tileID.overscaledZ>le+1;){var Tt=Ze.tileID.scaledTo(Ze.tileID.overscaledZ-1);(Ze=this._tiles[Tt.key])&&Ze.hasData()&&(at=Tt)}for(var At=at;At.overscaledZ>le;)if(K[(At=At.scaledTo(At.overscaledZ-1)).key]){De[at.key]=at;break}}}},ee.prototype.findLoadedParent=function(K,le){if(K.key in this._loadedParentTiles){var Te=this._loadedParentTiles[K.key];return Te&&Te.tileID.overscaledZ>=le?Te:null}for(var De=K.overscaledZ-1;De>=le;De--){var He=K.scaledTo(De),Ze=this._getLoadedTile(He);if(Ze)return Ze}},ee.prototype._getLoadedTile=function(K){var le=this._tiles[K.key];return le&&le.hasData()?le:this._cache.getByKey(K.wrapped().key)},ee.prototype.updateCacheSize=function(K){var le=(Math.ceil(K.width/this._source.tileSize)+1)*(Math.ceil(K.height/this._source.tileSize)+1),Te=Math.floor(5*le),De=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Te):Te;this._cache.setMaxSize(De)},ee.prototype.handleWrapJump=function(K){var le=(K-(this._prevLng===void 0?K:this._prevLng))/360,Te=Math.round(le);if(this._prevLng=K,Te){var De={};for(var He in this._tiles){var Ze=this._tiles[He];Ze.tileID=Ze.tileID.unwrapTo(Ze.tileID.wrap+Te),De[Ze.tileID.key]=Ze}for(var at in this._tiles=De,this._timers)clearTimeout(this._timers[at]),delete this._timers[at];for(var Tt in this._tiles){var At=this._tiles[Tt];this._setTileReloadTimer(Tt,At)}}},ee.prototype.update=function(K){var le=this;if(this.transform=K,this._sourceLoaded&&!this._paused){var Te;this.updateCacheSize(K),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?Te=K.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ht){return new i.OverscaledTileID(Ht.canonical.z,Ht.wrap,Ht.canonical.z,Ht.canonical.x,Ht.canonical.y)}):(Te=K.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Te=Te.filter(function(Ht){return le._source.hasTile(Ht)}))):Te=[];var De=K.coveringZoomLevel(this._source),He=Math.max(De-ee.maxOverzooming,this._source.minzoom),Ze=Math.max(De+ee.maxUnderzooming,this._source.minzoom),at=this._updateRetainedTiles(Te,De);if(Ne(this._source.type)){for(var Tt={},At={},se=0,ve=Object.keys(at);sethis._source.maxzoom){var Xe=Ue.children(this._source.maxzoom)[0],tt=this.getTile(Xe);if(tt&&tt.hasData()){Te[Xe.key]=Xe;continue}}else{var lt=Ue.children(this._source.maxzoom);if(Te[lt[0].key]&&Te[lt[1].key]&&Te[lt[2].key]&&Te[lt[3].key])continue}for(var mt=We.wasRequested(),zt=Ue.overscaledZ-1;zt>=He;--zt){var Ut=Ue.scaledTo(zt);if(De[Ut.key]||(De[Ut.key]=!0,!(We=this.getTile(Ut))&&mt&&(We=this._addTile(Ut)),We&&(Te[Ut.key]=Ut,mt=We.wasRequested(),We.hasData())))break}}}return Te},ee.prototype._updateLoadedParentTileCache=function(){for(var K in this._loadedParentTiles={},this._tiles){for(var le=[],Te=void 0,De=this._tiles[K].tileID;De.overscaledZ>0;){if(De.key in this._loadedParentTiles){Te=this._loadedParentTiles[De.key];break}le.push(De.key);var He=De.scaledTo(De.overscaledZ-1);if(Te=this._getLoadedTile(He))break;De=He}for(var Ze=0,at=le;Ze0||(le.hasData()&&le.state!=="reloading"?this._cache.add(le.tileID,le,le.getExpiryTimeout()):(le.aborted=!0,this._abortTile(le),this._unloadTile(le))))},ee.prototype.clearTiles=function(){for(var K in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(K);this._cache.reset()},ee.prototype.tilesIn=function(K,le,Te){var De=this,He=[],Ze=this.transform;if(!Ze)return He;for(var at=Te?Ze.getCameraQueryGeometry(K):K,Tt=K.map(function(zt){return Ze.pointCoordinate(zt)}),At=at.map(function(zt){return Ze.pointCoordinate(zt)}),se=this.getIds(),ve=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,We=0,Xe=At;We=0&&tn[1].y+vn>=0){var ln=Tt.map(function(Cn){return Ht.getTilePoint(Cn)}),an=At.map(function(Cn){return Ht.getTilePoint(Cn)});He.push({tile:Ut,tileID:Ht,queryGeometry:ln,cameraQueryGeometry:an,scale:en})}}},mt=0;mt=i.browser.now())return!0}return!1},ee.prototype.setFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.updateState(K,le,Te)},ee.prototype.removeFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.removeFeatureState(K,le,Te)},ee.prototype.getFeatureState=function(K,le){return K=K||"_geojsonTileLayer",this._state.getState(K,le)},ee.prototype.setDependencies=function(K,le,Te){var De=this._tiles[K];De&&De.setDependencies(le,Te)},ee.prototype.reloadTilesForDependencies=function(K,le){for(var Te in this._tiles)this._tiles[Te].hasDependency(K,le)&&this._reloadTile(Te,"reloading");this._cache.filter(function(De){return!De.hasDependency(K,le)})},ee}(i.Evented);function Pe($,ee){var K=Math.abs(2*$.wrap)-+($.wrap<0),le=Math.abs(2*ee.wrap)-+(ee.wrap<0);return $.overscaledZ-ee.overscaledZ||le-K||ee.canonical.y-$.canonical.y||ee.canonical.x-$.canonical.x}function Ne($){return $==="raster"||$==="image"||$==="video"}function Qe(){return new i.window.Worker(Mt.workerUrl)}ht.maxOverzooming=10,ht.maxUnderzooming=3;var ut="mapboxgl_preloaded_worker_pool",dt=function(){this.active={}};dt.prototype.acquire=function($){if(!this.workers)for(this.workers=[];this.workers.length0?(le-De)/He:0;return this.points[Te].mult(1-Ze).add(this.points[ee].mult(Ze))};var An=function($,ee,K){var le=this.boxCells=[],Te=this.circleCells=[];this.xCellCount=Math.ceil($/K),this.yCellCount=Math.ceil(ee/K);for(var De=0;De=-ee[0]&&K<=ee[0]&&le>=-ee[1]&&le<=ee[1]}function pn($,ee,K,le,Te,De,He,Ze){var at=le?$.textSizeData:$.iconSizeData,Tt=i.evaluateSizeForZoom(at,K.transform.zoom),At=[256/K.width*2+1,256/K.height*2+1],se=le?$.text.dynamicLayoutVertexArray:$.icon.dynamicLayoutVertexArray;se.clear();for(var ve=$.lineVertexArray,Ie=le?$.text.placedSymbolArray:$.icon.placedSymbolArray,Fe=K.transform.width/K.transform.height,Ue=!1,We=0;WeMath.abs(K.x-ee.x)*le?{useVertical:!0}:($===i.WritingMode.vertical?ee.yK.x)?{needsFlipping:!0}:null}function jn($,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie){var Fe,Ue=ee/24,We=$.lineOffsetX*Ue,Xe=$.lineOffsetY*Ue;if($.numGlyphs>1){var tt=$.glyphStartIndex+$.numGlyphs,lt=$.lineStartIndex,mt=$.lineStartIndex+$.lineLength,zt=Dn(Ue,Ze,We,Xe,K,At,se,$,at,De,ve);if(!zt)return{notEnoughRoom:!0};var Ut=sn(zt.first.point,He).point,Ht=sn(zt.last.point,He).point;if(le&&!K){var en=In($.writingMode,Ut,Ht,Ie);if(en)return en}Fe=[zt.first];for(var vn=$.glyphStartIndex+1;vn0?Cn.point:Gn(se,an,tn,1,Te),on=In($.writingMode,tn,_n,Ie);if(on)return on}var Fn=qn(Ue*Ze.getoffsetX($.glyphStartIndex),We,Xe,K,At,se,$.segment,$.lineStartIndex,$.lineStartIndex+$.lineLength,at,De,ve);if(!Fn)return{notEnoughRoom:!0};Fe=[Fn]}for(var Hn=0,ir=Fe;Hn0?1:-1,Fe=0;le&&(Ie*=-1,Fe=Math.PI),Ie<0&&(Fe+=Math.PI);for(var Ue=Ie>0?Ze+He:Ze+He+1,We=Te,Xe=Te,tt=0,lt=0,mt=Math.abs(ve),zt=[];tt+lt<=mt;){if((Ue+=Ie)=at)return null;if(Xe=We,zt.push(We),(We=se[Ue])===void 0){var Ut=new i.Point(Tt.getx(Ue),Tt.gety(Ue)),Ht=sn(Ut,At);if(Ht.signedDistanceFromCamera>0)We=se[Ue]=Ht.point;else{var en=Ue-Ie;We=Gn(tt===0?De:new i.Point(Tt.getx(en),Tt.gety(en)),Ut,Xe,mt-tt+1,At)}}tt+=lt,lt=Xe.dist(We)}var vn=(mt-tt)/lt,tn=We.sub(Xe),ln=tn.mult(vn)._add(Xe);ln._add(tn._unit()._perp()._mult(K*Ie));var an=Fe+Math.atan2(We.y-Xe.y,We.x-Xe.x);return zt.push(ln),{point:ln,angle:an,path:zt}}An.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},An.prototype.insert=function($,ee,K,le,Te){this._forEachCell(ee,K,le,Te,this._insertBoxCell,this.boxUid++),this.boxKeys.push($),this.bboxes.push(ee),this.bboxes.push(K),this.bboxes.push(le),this.bboxes.push(Te)},An.prototype.insertCircle=function($,ee,K,le){this._forEachCell(ee-le,K-le,ee+le,K+le,this._insertCircleCell,this.circleUid++),this.circleKeys.push($),this.circles.push(ee),this.circles.push(K),this.circles.push(le)},An.prototype._insertBoxCell=function($,ee,K,le,Te,De){this.boxCells[Te].push(De)},An.prototype._insertCircleCell=function($,ee,K,le,Te,De){this.circleCells[Te].push(De)},An.prototype._query=function($,ee,K,le,Te,De){if(K<0||$>this.width||le<0||ee>this.height)return!Te&&[];var He=[];if($<=0&&ee<=0&&this.width<=K&&this.height<=le){if(Te)return!0;for(var Ze=0;Ze0:He},An.prototype._queryCircle=function($,ee,K,le,Te){var De=$-K,He=$+K,Ze=ee-K,at=ee+K;if(He<0||De>this.width||at<0||Ze>this.height)return!le&&[];var Tt=[],At={hitTest:le,circle:{x:$,y:ee,radius:K},seenUids:{box:{},circle:{}}};return this._forEachCell(De,Ze,He,at,this._queryCellCircle,Tt,At,Te),le?Tt.length>0:Tt},An.prototype.query=function($,ee,K,le,Te){return this._query($,ee,K,le,!1,Te)},An.prototype.hitTest=function($,ee,K,le,Te){return this._query($,ee,K,le,!0,Te)},An.prototype.hitTestCircle=function($,ee,K,le){return this._queryCircle($,ee,K,!0,le)},An.prototype._queryCell=function($,ee,K,le,Te,De,He,Ze){var at=He.seenUids,Tt=this.boxCells[Te];if(Tt!==null)for(var At=this.bboxes,se=0,ve=Tt;se=At[Fe+0]&&le>=At[Fe+1]&&(!Ze||Ze(this.boxKeys[Ie]))){if(He.hitTest)return De.push(!0),!0;De.push({key:this.boxKeys[Ie],x1:At[Fe],y1:At[Fe+1],x2:At[Fe+2],y2:At[Fe+3]})}}}var Ue=this.circleCells[Te];if(Ue!==null)for(var We=this.circles,Xe=0,tt=Ue;XeHe*He+Ze*Ze},An.prototype._circleAndRectCollide=function($,ee,K,le,Te,De,He){var Ze=(De-le)/2,at=Math.abs($-(le+Ze));if(at>Ze+K)return!1;var Tt=(He-Te)/2,At=Math.abs(ee-(Te+Tt));if(At>Tt+K)return!1;if(at<=Ze||At<=Tt)return!0;var se=at-Ze,ve=At-Tt;return se*se+ve*ve<=K*K};var lr=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function rr($,ee){for(var K=0;K<$;K++){var le=ee.length;ee.resize(le+4),ee.float32.set(lr,3*le)}}function Sr($,ee,K){var le=ee[0],Te=ee[1];return $[0]=K[0]*le+K[4]*Te+K[12],$[1]=K[1]*le+K[5]*Te+K[13],$[3]=K[3]*le+K[7]*Te+K[15],$}var yr=100,or=function($,ee,K){ee===void 0&&(ee=new An($.width+200,$.height+200,25)),K===void 0&&(K=new An($.width+200,$.height+200,25)),this.transform=$,this.grid=ee,this.ignoredGrid=K,this.pitchfactor=Math.cos($._pitch)*$.cameraToCenterDistance,this.screenRightBoundary=$.width+yr,this.screenBottomBoundary=$.height+yr,this.gridRightBoundary=$.width+200,this.gridBottomBoundary=$.height+200};function vr($,ee,K){return ee*(i.EXTENT/($.tileSize*Math.pow(2,K-$.tileID.overscaledZ)))}or.prototype.placeCollisionBox=function($,ee,K,le,Te){var De=this.projectAndGetPerspectiveRatio(le,$.anchorPointX,$.anchorPointY),He=K*De.perspectiveRatio,Ze=$.x1*He+De.point.x,at=$.y1*He+De.point.y,Tt=$.x2*He+De.point.x,At=$.y2*He+De.point.y;return!this.isInsideGrid(Ze,at,Tt,At)||!ee&&this.grid.hitTest(Ze,at,Tt,At,Te)?{box:[],offscreen:!1}:{box:[Ze,at,Tt,At],offscreen:this.isOffscreen(Ze,at,Tt,At)}},or.prototype.placeCollisionCircles=function($,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve){var Ie=[],Fe=new i.Point(ee.anchorX,ee.anchorY),Ue=sn(Fe,De),We=Tn(this.transform.cameraToCenterDistance,Ue.signedDistanceFromCamera),Xe=(Tt?Te/We:Te*We)/i.ONE_EM,tt=sn(Fe,He).point,lt=Dn(Xe,le,ee.lineOffsetX*Xe,ee.lineOffsetY*Xe,!1,tt,Fe,ee,K,He,{}),mt=!1,zt=!1,Ut=!0;if(lt){for(var Ht=.5*se*We+ve,en=new i.Point(-100,-100),vn=new i.Point(this.screenRightBoundary,this.screenBottomBoundary),tn=new un,ln=lt.first,an=lt.last,Cn=[],_n=ln.path.length-1;_n>=1;_n--)Cn.push(ln.path[_n]);for(var on=1;on0){for(var ar=Cn[0].clone(),Mr=Cn[0].clone(),Er=1;Er=en.x&&Mr.x<=vn.x&&ar.y>=en.y&&Mr.y<=vn.y?[Cn]:Mr.xvn.x||Mr.yvn.y?[]:i.clipLine([Cn],en.x,en.y,vn.x,vn.y)}for(var xr=0,kr=ir;xr=this.screenRightBoundary||lethis.screenBottomBoundary},or.prototype.isInsideGrid=function($,ee,K,le){return K>=0&&$=0&&ee0?(this.prevPlacement&&this.prevPlacement.variableOffsets[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID].text&&(Ue=this.prevPlacement.variableOffsets[se.crossTileID].anchor),this.variableOffsets[se.crossTileID]={textOffset:We,width:K,height:le,anchor:$,textBoxScale:Te,prevAnchor:Ue},this.markUsedJustification(ve,$,se,Ie),ve.allowVerticalPlacement&&(this.markUsedOrientation(ve,Ie,se),this.placedOrientations[se.crossTileID]=Ie),{shift:Xe,placedGlyphBoxes:tt}):void 0},tr.prototype.placeLayerBucketPart=function($,ee,K){var le=this,Te=$.parameters,De=Te.bucket,He=Te.layout,Ze=Te.posMatrix,at=Te.textLabelPlaneMatrix,Tt=Te.labelToScreenMatrix,At=Te.textPixelRatio,se=Te.holdingForFade,ve=Te.collisionBoxArray,Ie=Te.partiallyEvaluatedTextSize,Fe=Te.collisionGroup,Ue=He.get("text-optional"),We=He.get("icon-optional"),Xe=He.get("text-allow-overlap"),tt=He.get("icon-allow-overlap"),lt=He.get("text-rotation-alignment")==="map",mt=He.get("text-pitch-alignment")==="map",zt=He.get("icon-text-fit")!=="none",Ut=He.get("symbol-z-order")==="viewport-y",Ht=Xe&&(tt||!De.hasIconData()||We),en=tt&&(Xe||!De.hasTextData()||Ue);!De.collisionArrays&&ve&&De.deserializeCollisionBoxes(ve);var vn=function(on,Fn){if(!ee[on.crossTileID])if(se)le.placements[on.crossTileID]=new bn(!1,!1,!1);else{var Hn,ir=!1,ar=!1,Mr=!0,Er=null,xr={box:null,offscreen:null},kr={box:null,offscreen:null},jr=null,hi=null,di=0,wr=0,Ur=0;Fn.textFeatureIndex?di=Fn.textFeatureIndex:on.useRuntimeCollisionCircles&&(di=on.featureIndex),Fn.verticalTextFeatureIndex&&(wr=Fn.verticalTextFeatureIndex);var oi=Fn.textBox;if(oi){var ai=function(Pi){var Xa=i.WritingMode.horizontal;if(De.allowVerticalPlacement&&!Pi&&le.prevPlacement){var jo=le.prevPlacement.placedOrientations[on.crossTileID];jo&&(le.placedOrientations[on.crossTileID]=jo,Xa=jo,le.markUsedOrientation(De,Xa,on))}return Xa},Ii=function(Pi,Xa){if(De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Fn.verticalTextBox)for(var jo=0,Xc=De.writingModes;jo0&&(vi=vi.filter(function(Pi){return Pi!==Ni.anchor})).unshift(Ni.anchor)}var na=function(Pi,Xa,jo){for(var Xc=Pi.x2-Pi.x1,h1=Pi.y2-Pi.y1,L0=on.textBoxScale,d1=zt&&!tt?Xa:null,_h={box:[],offscreen:!1},hg=Xe?2*vi.length:vi.length,od=0;od=vi.length,Ff=le.attemptAnchorPlacement(wh,Pi,Xc,h1,L0,lt,mt,At,Ze,Fe,p1,on,De,jo,d1);if(Ff&&(_h=Ff.placedGlyphBoxes)&&_h.box&&_h.box.length){ir=!0,Er=Ff.shift;break}}return _h};Ii(function(){return na(oi,Fn.iconBox,i.WritingMode.horizontal)},function(){var Pi=Fn.verticalTextBox,Xa=xr&&xr.box&&xr.box.length;return De.allowVerticalPlacement&&!Xa&&on.numVerticalGlyphVertices>0&&Pi?na(Pi,Fn.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}}),xr&&(ir=xr.box,Mr=xr.offscreen);var pa=ai(xr&&xr.box);if(!ir&&le.prevPlacement){var ua=le.prevPlacement.variableOffsets[on.crossTileID];ua&&(le.variableOffsets[on.crossTileID]=ua,le.markUsedJustification(De,ua.anchor,on,pa))}}else{var Qi=function(Pi,Xa){var jo=le.collisionIndex.placeCollisionBox(Pi,Xe,At,Ze,Fe.predicate);return jo&&jo.box&&jo.box.length&&(le.markUsedOrientation(De,Xa,on),le.placedOrientations[on.crossTileID]=Xa),jo};Ii(function(){return Qi(oi,i.WritingMode.horizontal)},function(){var Pi=Fn.verticalTextBox;return De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Pi?Qi(Pi,i.WritingMode.vertical):{box:null,offscreen:null}}),ai(xr&&xr.box&&xr.box.length)}}if(ir=(Hn=xr)&&Hn.box&&Hn.box.length>0,Mr=Hn&&Hn.offscreen,on.useRuntimeCollisionCircles){var ra=De.text.placedSymbolArray.get(on.centerJustifiedTextSymbolIndex),ca=i.evaluateSizeForFeature(De.textSizeData,Ie,ra),Ia=He.get("text-padding"),zl=on.collisionCircleDiameter;jr=le.collisionIndex.placeCollisionCircles(Xe,ra,De.lineVertexArray,De.glyphOffsetArray,ca,Ze,at,Tt,K,mt,Fe.predicate,zl,Ia),ir=Xe||jr.circles.length>0&&!jr.collisionDetected,Mr=Mr&&jr.offscreen}if(Fn.iconFeatureIndex&&(Ur=Fn.iconFeatureIndex),Fn.iconBox){var Za=function(Pi){var Xa=zt&&Er?Yn(Pi,Er.x,Er.y,lt,mt,le.transform.angle):Pi;return le.collisionIndex.placeCollisionBox(Xa,tt,At,Ze,Fe.predicate)};ar=kr&&kr.box&&kr.box.length&&Fn.verticalIconBox?(hi=Za(Fn.verticalIconBox)).box.length>0:(hi=Za(Fn.iconBox)).box.length>0,Mr=Mr&&hi.offscreen}var ui=Ue||on.numHorizontalGlyphVertices===0&&on.numVerticalGlyphVertices===0,fo=We||on.numIconVertices===0;if(ui||fo?fo?ui||(ar=ar&&ir):ir=ar&&ir:ar=ir=ar&&ir,ir&&Hn&&Hn.box&&(kr&&kr.box&&wr?le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,wr,Fe.ID):le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID)),ar&&hi&&le.collisionIndex.insertCollisionBox(hi.box,He.get("icon-ignore-placement"),De.bucketInstanceId,Ur,Fe.ID),jr&&(ir&&le.collisionIndex.insertCollisionCircles(jr.circles,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID),K)){var _o=De.bucketInstanceId,Aa=le.collisionCircleArrays[_o];Aa===void 0&&(Aa=le.collisionCircleArrays[_o]=new Pn);for(var Ds=0;Ds=0;--ln){var an=tn[ln];vn(De.symbolInstances.get(an),De.collisionArrays[an])}else for(var Cn=$.symbolInstanceStart;Cn<$.symbolInstanceEnd;Cn++)vn(De.symbolInstances.get(Cn),De.collisionArrays[Cn]);if(K&&De.bucketInstanceId in this.collisionCircleArrays){var _n=this.collisionCircleArrays[De.bucketInstanceId];i.invert(_n.invProjMatrix,Ze),_n.viewportMatrix=this.collisionIndex.getViewportMatrix()}De.justReloaded=!1},tr.prototype.markUsedJustification=function($,ee,K,le){var Te,De={left:K.leftJustifiedTextSymbolIndex,center:K.centerJustifiedTextSymbolIndex,right:K.rightJustifiedTextSymbolIndex};Te=le===i.WritingMode.vertical?K.verticalPlacedTextSymbolIndex:De[i.getAnchorJustification(ee)];for(var He=0,Ze=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex,K.verticalPlacedTextSymbolIndex];He=0&&($.text.placedSymbolArray.get(at).crossTileID=Te>=0&&at!==Te?0:K.crossTileID)}},tr.prototype.markUsedOrientation=function($,ee,K){for(var le=ee===i.WritingMode.horizontal||ee===i.WritingMode.horizontalOnly?ee:0,Te=ee===i.WritingMode.vertical?ee:0,De=0,He=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex];De0||mt>0,vn=tt.numIconVertices>0,tn=le.placedOrientations[tt.crossTileID],ln=tn===i.WritingMode.vertical,an=tn===i.WritingMode.horizontal||tn===i.WritingMode.horizontalOnly;if(en){var Cn=En(Ht.text),_n=ln?mn:Cn;Ie($.text,lt,_n);var on=an?mn:Cn;Ie($.text,mt,on);var Fn=Ht.text.isHidden();[tt.rightJustifiedTextSymbolIndex,tt.centerJustifiedTextSymbolIndex,tt.leftJustifiedTextSymbolIndex].forEach(function(Ur){Ur>=0&&($.text.placedSymbolArray.get(Ur).hidden=Fn||ln?1:0)}),tt.verticalPlacedTextSymbolIndex>=0&&($.text.placedSymbolArray.get(tt.verticalPlacedTextSymbolIndex).hidden=Fn||an?1:0);var Hn=le.variableOffsets[tt.crossTileID];Hn&&le.markUsedJustification($,Hn.anchor,tt,tn);var ir=le.placedOrientations[tt.crossTileID];ir&&(le.markUsedJustification($,"left",tt,ir),le.markUsedOrientation($,ir,tt))}if(vn){var ar=En(Ht.icon),Mr=!(se&&tt.verticalPlacedIconSymbolIndex&&ln);if(tt.placedIconSymbolIndex>=0){var Er=Mr?ar:mn;Ie($.icon,tt.numIconVertices,Er),$.icon.placedSymbolArray.get(tt.placedIconSymbolIndex).hidden=Ht.icon.isHidden()}if(tt.verticalPlacedIconSymbolIndex>=0){var xr=Mr?mn:ar;Ie($.icon,tt.numVerticalIconVertices,xr),$.icon.placedSymbolArray.get(tt.verticalPlacedIconSymbolIndex).hidden=Ht.icon.isHidden()}}if($.hasIconCollisionBoxData()||$.hasTextCollisionBoxData()){var kr=$.collisionArrays[Xe];if(kr){var jr=new i.Point(0,0);if(kr.textBox||kr.verticalTextBox){var hi=!0;if(at){var di=le.variableOffsets[zt];di?(jr=Kn(di.anchor,di.width,di.height,di.textOffset,di.textBoxScale),Tt&&jr._rotate(At?le.transform.angle:-le.transform.angle)):hi=!1}kr.textBox&&mr($.textCollisionBox.collisionVertexArray,Ht.text.placed,!hi||ln,jr.x,jr.y),kr.verticalTextBox&&mr($.textCollisionBox.collisionVertexArray,Ht.text.placed,!hi||an,jr.x,jr.y)}var wr=!!(!an&&kr.verticalIconBox);kr.iconBox&&mr($.iconCollisionBox.collisionVertexArray,Ht.icon.placed,wr,se?jr.x:0,se?jr.y:0),kr.verticalIconBox&&mr($.iconCollisionBox.collisionVertexArray,Ht.icon.placed,!wr,se?jr.x:0,se?jr.y:0)}}},Ue=0;Ue<$.symbolInstances.length;Ue++)Fe(Ue);if($.sortFeatures(this.transform.angle),this.retainedQueryData[$.bucketInstanceId]&&(this.retainedQueryData[$.bucketInstanceId].featureSortOrder=$.featureSortOrder),$.hasTextData()&&$.text.opacityVertexBuffer&&$.text.opacityVertexBuffer.updateData($.text.opacityVertexArray),$.hasIconData()&&$.icon.opacityVertexBuffer&&$.icon.opacityVertexBuffer.updateData($.icon.opacityVertexArray),$.hasIconCollisionBoxData()&&$.iconCollisionBox.collisionVertexBuffer&&$.iconCollisionBox.collisionVertexBuffer.updateData($.iconCollisionBox.collisionVertexArray),$.hasTextCollisionBoxData()&&$.textCollisionBox.collisionVertexBuffer&&$.textCollisionBox.collisionVertexBuffer.updateData($.textCollisionBox.collisionVertexArray),$.bucketInstanceId in this.collisionCircleArrays){var We=this.collisionCircleArrays[$.bucketInstanceId];$.placementInvProjMatrix=We.invProjMatrix,$.placementViewportMatrix=We.viewportMatrix,$.collisionCircleArray=We.circles,delete this.collisionCircleArrays[$.bucketInstanceId]}},tr.prototype.symbolFadeChange=function($){return this.fadeDuration===0?1:($-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},tr.prototype.zoomAdjustment=function($){return Math.max(0,(this.transform.zoom-$)/1.5)},tr.prototype.hasTransitions=function($){return this.stale||$-this.lastPlacementChangeTime$},tr.prototype.setStale=function(){this.stale=!0};var nn=Math.pow(2,25),On=Math.pow(2,24),jt=Math.pow(2,17),Jt=Math.pow(2,16),fn=Math.pow(2,9),zn=Math.pow(2,8),Rn=Math.pow(2,1);function En($){if($.opacity===0&&!$.placed)return 0;if($.opacity===1&&$.placed)return 4294967295;var ee=$.placed?1:0,K=Math.floor(127*$.opacity);return K*nn+ee*On+K*jt+ee*Jt+K*fn+ee*zn+K*Rn+ee}var mn=0,wn=function($){this._sortAcrossTiles=$.layout.get("symbol-z-order")!=="viewport-y"&&$.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};wn.prototype.continuePlacement=function($,ee,K,le,Te){for(var De=this._bucketParts;this._currentTileIndex<$.length;){var He=$[this._currentTileIndex];if(ee.getBucketParts(De,le,He,this._sortAcrossTiles),this._currentTileIndex++,Te())return!0}for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,De.sort(function(at,Tt){return at.sortKey-Tt.sortKey}));this._currentPartIndex2};this._currentPlacementIndex>=0;){var He=ee[$[this._currentPlacementIndex]],Ze=this.placement.collisionIndex.transform.zoom;if(He.type==="symbol"&&(!He.minzoom||He.minzoom<=Ze)&&(!He.maxzoom||He.maxzoom>Ze)){if(this._inProgressLayer||(this._inProgressLayer=new wn(He)),this._inProgressLayer.continuePlacement(K[He.source],this.placement,this._showCollisionBoxes,He,De))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},gn.prototype.commit=function($){return this.placement.commit($),this.placement};var yn=512/i.EXTENT/2,Sn=function($,ee,K){this.tileID=$,this.indexedSymbolInstances={},this.bucketInstanceId=K;for(var le=0;le$.overscaledZ)for(var Ze in He){var at=He[Ze];at.tileID.isChildOf($)&&at.findMatches(ee.symbolInstances,$,Te)}else{var Tt=He[$.scaledTo(Number(De)).key];Tt&&Tt.findMatches(ee.symbolInstances,$,Te)}}for(var At=0;At1?"@2x":"",se=i.getJSON(De.transformRequest(De.normalizeSpriteURL(Te,At,".json"),i.ResourceType.SpriteJSON),function(Fe,Ue){se=null,Tt||(Tt=Fe,Ze=Ue,Ie())}),ve=i.getImage(De.transformRequest(De.normalizeSpriteURL(Te,At,".png"),i.ResourceType.SpriteImage),function(Fe,Ue){ve=null,Tt||(Tt=Fe,at=Ue,Ie())});function Ie(){if(Tt)He(Tt);else if(Ze&&at){var Fe=i.browser.getImageData(at),Ue={};for(var We in Ze){var Xe=Ze[We],tt=Xe.width,lt=Xe.height,mt=Xe.x,zt=Xe.y,Ut=Xe.sdf,Ht=Xe.pixelRatio,en=Xe.stretchX,vn=Xe.stretchY,tn=Xe.content,ln=new i.RGBAImage({width:tt,height:lt});i.RGBAImage.copy(Fe,ln,{x:mt,y:zt},{x:0,y:0},{width:tt,height:lt}),Ue[We]={data:ln,pixelRatio:Ht,sdf:Ut,stretchX:en,stretchY:vn,content:tn}}He(null,Ue)}}return{cancel:function(){se&&(se.cancel(),se=null),ve&&(ve.cancel(),ve=null)}}}(K,this.map._requestManager,function(Te,De){if(le._spriteRequest=null,Te)le.fire(new i.ErrorEvent(Te));else if(De)for(var He in De)le.imageManager.addImage(He,De[He]);le.imageManager.setLoaded(!0),le._availableImages=le.imageManager.listImages(),le.dispatcher.broadcast("setImages",le._availableImages),le.fire(new i.Event("data",{dataType:"style"}))})},ee.prototype._validateLayer=function(K){var le=this.sourceCaches[K.source];if(le){var Te=K.sourceLayer;if(Te){var De=le.getSource();(De.type==="geojson"||De.vectorLayerIds&&De.vectorLayerIds.indexOf(Te)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Te+'" does not exist on source "'+De.id+'" as specified by style layer "'+K.id+'"')))}}},ee.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var K in this.sourceCaches)if(!this.sourceCaches[K].loaded())return!1;return!!this.imageManager.isLoaded()},ee.prototype._serializeLayers=function(K){for(var le=[],Te=0,De=K;Te0)throw new Error("Unimplemented: "+De.map(function(He){return He.command}).join(", ")+".");return Te.forEach(function(He){He.command!=="setTransition"&&le[He.command].apply(le,He.args)}),this.stylesheet=K,!0},ee.prototype.addImage=function(K,le){if(this.getImage(K))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(K,le),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.updateImage=function(K,le){this.imageManager.updateImage(K,le)},ee.prototype.getImage=function(K){return this.imageManager.getImage(K)},ee.prototype.removeImage=function(K){if(!this.getImage(K))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(K),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ee.prototype.addSource=function(K,le,Te){var De=this;if(Te===void 0&&(Te={}),this._checkLoaded(),this.sourceCaches[K]!==void 0)throw new Error("There is already a source with this ID");if(!le.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(le).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(le.type)>=0&&this._validate(i.validateStyle.source,"sources."+K,le,null,Te))){this.map&&this.map._collectResourceTiming&&(le.collectResourceTiming=!0);var He=this.sourceCaches[K]=new ht(K,le,this.dispatcher);He.style=this,He.setEventedParent(this,function(){return{isSourceLoaded:De.loaded(),source:He.serialize(),sourceId:K}}),He.onAdd(this.map),this._changed=!0}},ee.prototype.removeSource=function(K){if(this._checkLoaded(),this.sourceCaches[K]===void 0)throw new Error("There is no source with this ID");for(var le in this._layers)if(this._layers[le].source===K)return this.fire(new i.ErrorEvent(new Error('Source "'+K+'" cannot be removed while layer "'+le+'" is using it.')));var Te=this.sourceCaches[K];delete this.sourceCaches[K],delete this._updatedSources[K],Te.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:K})),Te.setEventedParent(null),Te.clearTiles(),Te.onRemove&&Te.onRemove(this.map),this._changed=!0},ee.prototype.setGeoJSONSourceData=function(K,le){this._checkLoaded(),this.sourceCaches[K].getSource().setData(le),this._changed=!0},ee.prototype.getSource=function(K){return this.sourceCaches[K]&&this.sourceCaches[K].getSource()},ee.prototype.addLayer=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=K.id;if(this.getLayer(De))this.fire(new i.ErrorEvent(new Error('Layer with id "'+De+'" already exists on this map')));else{var He;if(K.type==="custom"){if(Qn(this,i.validateCustomStyleLayer(K)))return;He=i.createStyleLayer(K)}else{if(typeof K.source=="object"&&(this.addSource(De,K.source),K=i.clone$1(K),K=i.extend(K,{source:De})),this._validate(i.validateStyle.layer,"layers."+De,K,{arrayIndex:-1},Te))return;He=i.createStyleLayer(K),this._validateLayer(He),He.setEventedParent(this,{layer:{id:De}}),this._serializedLayers[He.id]=He.serialize()}var Ze=le?this._order.indexOf(le):this._order.length;if(le&&Ze===-1)this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.')));else{if(this._order.splice(Ze,0,De),this._layerOrderChanged=!0,this._layers[De]=He,this._removedLayers[De]&&He.source&&He.type!=="custom"){var at=this._removedLayers[De];delete this._removedLayers[De],at.type!==He.type?this._updatedSources[He.source]="clear":(this._updatedSources[He.source]="reload",this.sourceCaches[He.source].pause())}this._updateLayer(He),He.onAdd&&He.onAdd(this.map)}}},ee.prototype.moveLayer=function(K,le){if(this._checkLoaded(),this._changed=!0,this._layers[K]){if(K!==le){var Te=this._order.indexOf(K);this._order.splice(Te,1);var De=le?this._order.indexOf(le):this._order.length;le&&De===-1?this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.'))):(this._order.splice(De,0,K),this._layerOrderChanged=!0)}}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be moved.")))},ee.prototype.removeLayer=function(K){this._checkLoaded();var le=this._layers[K];if(le){le.setEventedParent(null);var Te=this._order.indexOf(K);this._order.splice(Te,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[K]=le,delete this._layers[K],delete this._serializedLayers[K],delete this._updatedLayers[K],delete this._updatedPaintProps[K],le.onRemove&&le.onRemove(this.map)}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be removed.")))},ee.prototype.getLayer=function(K){return this._layers[K]},ee.prototype.hasLayer=function(K){return K in this._layers},ee.prototype.setLayerZoomRange=function(K,le,Te){this._checkLoaded();var De=this.getLayer(K);De?De.minzoom===le&&De.maxzoom===Te||(le!=null&&(De.minzoom=le),Te!=null&&(De.maxzoom=Te),this._updateLayer(De)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot have zoom extent.")))},ee.prototype.setFilter=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=this.getLayer(K);if(De){if(!i.deepEqual(De.filter,le))return le==null?(De.filter=void 0,void this._updateLayer(De)):void(this._validate(i.validateStyle.filter,"layers."+De.id+".filter",le,null,Te)||(De.filter=i.clone$1(le),this._updateLayer(De)))}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be filtered.")))},ee.prototype.getFilter=function(K){return i.clone$1(this.getLayer(K).filter)},ee.prototype.setLayoutProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getLayoutProperty(le),Te)||(He.setLayoutProperty(le,Te,De),this._updateLayer(He)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getLayoutProperty=function(K,le){var Te=this.getLayer(K);if(Te)return Te.getLayoutProperty(le);this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style.")))},ee.prototype.setPaintProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getPaintProperty(le),Te)||(He.setPaintProperty(le,Te,De)&&this._updateLayer(He),this._changed=!0,this._updatedPaintProps[K]=!0):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getPaintProperty=function(K,le){return this.getLayer(K).getPaintProperty(le)},ee.prototype.setFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=K.sourceLayer,He=this.sourceCaches[Te];if(He!==void 0){var Ze=He.getSource().type;Ze==="geojson"&&De?this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):Ze!=="vector"||De?(K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),He.setFeatureState(De,K.id,le)):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.removeFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=this.sourceCaches[Te];if(De!==void 0){var He=De.getSource().type,Ze=He==="vector"?K.sourceLayer:void 0;He!=="vector"||Ze?le&&typeof K.id!="string"&&typeof K.id!="number"?this.fire(new i.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):De.removeFeatureState(Ze,K.id,le):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.getFeatureState=function(K){this._checkLoaded();var le=K.source,Te=K.sourceLayer,De=this.sourceCaches[le];if(De!==void 0){if(De.getSource().type!=="vector"||Te)return K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),De.getFeatureState(Te,K.id);this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+le+"' does not exist in the map's style.")))},ee.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ee.prototype.serialize=function(){return i.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:i.mapObject(this.sourceCaches,function(K){return K.serialize()}),layers:this._serializeLayers(this._order)},function(K){return K!==void 0})},ee.prototype._updateLayer=function(K){this._updatedLayers[K.id]=!0,K.source&&!this._updatedSources[K.source]&&this.sourceCaches[K.source].getSource().type!=="raster"&&(this._updatedSources[K.source]="reload",this.sourceCaches[K.source].pause()),this._changed=!0},ee.prototype._flattenAndSortRenderedFeatures=function(K){for(var le=this,Te=function(tn){return le._layers[tn].type==="fill-extrusion"},De={},He=[],Ze=this._order.length-1;Ze>=0;Ze--){var at=this._order[Ze];if(Te(at)){De[at]=Ze;for(var Tt=0,At=K;Tt=0;We--){var Xe=this._order[We];if(Te(Xe))for(var tt=He.length-1;tt>=0;tt--){var lt=He[tt].feature;if(De[lt.layer.id] 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`),is=Ui(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress; +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`),os=Ui(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress; #pragma mapbox: define lowp float blur #pragma mapbox: define lowp float opacity void main() { @@ -2800,7 +2800,7 @@ void main() { #pragma mapbox: initialize mediump vec4 pattern_to #pragma mapbox: initialize lowp float pixel_ratio_from #pragma mapbox: initialize lowp float pixel_ratio_to -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`),Ya=Ui(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`),$a=Ui(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; #pragma mapbox: define highp vec4 color #pragma mapbox: define lowp float blur #pragma mapbox: define lowp float opacity @@ -2853,7 +2853,7 @@ void main() { #pragma mapbox: initialize lowp float opacity vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}`),as=Ui(`#define SDF_PX 8.0 +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}`),ss=Ui(`#define SDF_PX 8.0 uniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1; #pragma mapbox: define highp vec4 fill_color #pragma mapbox: define highp vec4 halo_color @@ -2921,7 +2921,7 @@ void main() { #pragma mapbox: initialize lowp float halo_blur vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`);function Ui(Y,ee){var K=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,le={};return{fragmentSource:Y=Y.replace(K,function(Te,De,He,Ze,at){return le[at]=!0,De==="define"?` +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`);function Ui($,ee){var K=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,le={};return{fragmentSource:$=$.replace(K,function(Te,De,He,Ze,at){return le[at]=!0,De==="define"?` #ifndef HAS_UNIFORM_u_`+at+` varying `+He+" "+Ze+" "+at+`; #else @@ -2970,11 +2970,11 @@ uniform `+He+" "+Ze+" u_"+at+`; #else `+He+" "+Ze+" "+at+" = u_"+at+`; #endif -`})}}var Sl=Object.freeze({__proto__:null,prelude:Ir,background:Lr,backgroundPattern:zr,circle:gr,clippingMask:Fr,heatmap:ii,heatmapTexture:ji,collisionBox:ta,collisionCircle:sa,debug:uo,fill:La,fillOutline:Xi,fillOutlinePattern:Do,fillPattern:rs,fillExtrusion:tl,fillExtrusionPattern:Cu,hillshadePrepare:gh,hillshade:Af,line:Eu,lineGradient:is,linePattern:Sf,lineSDF:Ya,raster:uc,symbolIcon:Yo,symbolSDF:as,symbolTextAndIcon:Al}),ps=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};ps.prototype.bind=function(Y,ee,K,le,Te,De,He,Ze){this.context=Y;for(var at=this.boundPaintVertexBuffers.length!==le.length,Tt=0;!at&&Tt>16,Ze>>16],u_pixel_coord_lower:[65535&He,65535&Ze]}}Es.prototype.draw=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie,Fe,Ue){var qe,Xe=Y.gl;if(!this.failedToCreate){for(var tt in Y.program.set(this.program),Y.setDepthMode(K),Y.setStencilMode(le),Y.setColorMode(Te),Y.setCullFace(De),this.fixedUniforms)this.fixedUniforms[tt].set(He[tt]);Ie&&Ie.setUniforms(Y,this.binderUniforms,se,{zoom:ve});for(var lt=(qe={},qe[Xe.LINES]=2,qe[Xe.TRIANGLES]=3,qe[Xe.LINE_STRIP]=1,qe)[ee],mt=0,zt=At.get();mt0?1-1/(1.001-He):-He),u_contrast_factor:(De=Te.paint.get("raster-contrast"),De>0?1/(1-De):1+De),u_spin_weights:Ql(Te.paint.get("raster-hue-rotate"))};var De,He};function Ql(Y){Y*=Math.PI/180;var ee=Math.sin(Y),K=Math.cos(Y);return[(2*K+1)/3,(-Math.sqrt(3)*ee-K+1)/3,(Math.sqrt(3)*ee-K+1)/3]}var ol,Hi=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){var At=Te.transform;return{u_is_size_zoom_constant:+(Y==="constant"||Y==="source"),u_is_size_feature_constant:+(Y==="constant"||Y==="camera"),u_size_t:ee?ee.uSizeT:0,u_size:ee?ee.uSize:0,u_camera_to_center_distance:At.cameraToCenterDistance,u_pitch:At.pitch/360*2*Math.PI,u_rotate_symbol:+K,u_aspect_ratio:At.width/At.height,u_fade_change:Te.options.fadeDuration?Te.symbolFadeChange:1,u_matrix:De,u_label_plane_matrix:He,u_coord_matrix:Ze,u_is_text:+at,u_pitch_with_map:+le,u_texsize:Tt,u_texture:0}},El=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At){var se=Te.transform;return i.extend(Hi(Y,ee,K,le,Te,De,He,Ze,at,Tt),{u_gamma_scale:le?Math.cos(se._pitch)*se.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+At})},ad=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){return i.extend(El(Y,ee,K,le,Te,De,He,Ze,!0,at,!0),{u_texsize_icon:Tt,u_texture_icon:1})},jc=function(Y,ee,K){return{u_matrix:Y,u_opacity:ee,u_color:K}},fc=function(Y,ee,K,le,Te,De){return i.extend(function(He,Ze,at,Tt){var At=at.imageManager.getPattern(He.from.toString()),se=at.imageManager.getPattern(He.to.toString()),ve=at.imageManager.getPixelSize(),Ie=ve.width,Fe=ve.height,Ue=Math.pow(2,Tt.tileID.overscaledZ),qe=Tt.tileSize*Math.pow(2,at.transform.tileZoom)/Ue,Xe=qe*(Tt.tileID.canonical.x+Tt.tileID.wrap*Ue),tt=qe*Tt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:At.tl,u_pattern_br_a:At.br,u_pattern_tl_b:se.tl,u_pattern_br_b:se.br,u_texsize:[Ie,Fe],u_mix:Ze.t,u_pattern_size_a:At.displaySize,u_pattern_size_b:se.displaySize,u_scale_a:Ze.fromScale,u_scale_b:Ze.toScale,u_tile_units_to_pixels:1/vr(Tt,1,at.transform.tileZoom),u_pixel_coord_upper:[Xe>>16,tt>>16],u_pixel_coord_lower:[65535&Xe,65535&tt]}}(le,De,K,Te),{u_matrix:Y,u_opacity:ee})},eu={fillExtrusion:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fillExtrusionPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_height_factor:new i.Uniform1f(Y,ee.u_height_factor),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fill:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},fillPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},fillOutline:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world)}},fillOutlinePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},circle:function(Y,ee){return{u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i(Y,ee.u_scale_with_map),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},collisionBox:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f(Y,ee.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_overscale_factor:new i.Uniform1f(Y,ee.u_overscale_factor)}},collisionCircle:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_inv_matrix:new i.UniformMatrix4f(Y,ee.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f(Y,ee.u_viewport_size)}},debug:function(Y,ee){return{u_color:new i.UniformColor(Y,ee.u_color),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_overlay:new i.Uniform1i(Y,ee.u_overlay),u_overlay_scale:new i.Uniform1f(Y,ee.u_overlay_scale)}},clippingMask:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmap:function(Y,ee){return{u_extrude_scale:new i.Uniform1f(Y,ee.u_extrude_scale),u_intensity:new i.Uniform1f(Y,ee.u_intensity),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmapTexture:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_color_ramp:new i.Uniform1i(Y,ee.u_color_ramp),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},hillshade:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_latrange:new i.Uniform2f(Y,ee.u_latrange),u_light:new i.Uniform2f(Y,ee.u_light),u_shadow:new i.UniformColor(Y,ee.u_shadow),u_highlight:new i.UniformColor(Y,ee.u_highlight),u_accent:new i.UniformColor(Y,ee.u_accent)}},hillshadePrepare:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_dimension:new i.Uniform2f(Y,ee.u_dimension),u_zoom:new i.Uniform1f(Y,ee.u_zoom),u_maxzoom:new i.Uniform1f(Y,ee.u_maxzoom),u_unpack:new i.Uniform4f(Y,ee.u_unpack)}},line:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels)}},lineGradient:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_image:new i.Uniform1i(Y,ee.u_image)}},linePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_image:new i.Uniform1i(Y,ee.u_image),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},lineSDF:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_patternscale_a:new i.Uniform2f(Y,ee.u_patternscale_a),u_patternscale_b:new i.Uniform2f(Y,ee.u_patternscale_b),u_sdfgamma:new i.Uniform1f(Y,ee.u_sdfgamma),u_image:new i.Uniform1i(Y,ee.u_image),u_tex_y_a:new i.Uniform1f(Y,ee.u_tex_y_a),u_tex_y_b:new i.Uniform1f(Y,ee.u_tex_y_b),u_mix:new i.Uniform1f(Y,ee.u_mix)}},raster:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_tl_parent:new i.Uniform2f(Y,ee.u_tl_parent),u_scale_parent:new i.Uniform1f(Y,ee.u_scale_parent),u_buffer_scale:new i.Uniform1f(Y,ee.u_buffer_scale),u_fade_t:new i.Uniform1f(Y,ee.u_fade_t),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image0:new i.Uniform1i(Y,ee.u_image0),u_image1:new i.Uniform1i(Y,ee.u_image1),u_brightness_low:new i.Uniform1f(Y,ee.u_brightness_low),u_brightness_high:new i.Uniform1f(Y,ee.u_brightness_high),u_saturation_factor:new i.Uniform1f(Y,ee.u_saturation_factor),u_contrast_factor:new i.Uniform1f(Y,ee.u_contrast_factor),u_spin_weights:new i.Uniform3f(Y,ee.u_spin_weights)}},symbolIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture)}},symbolSDF:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},symbolTextAndIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texsize_icon:new i.Uniform2f(Y,ee.u_texsize_icon),u_texture:new i.Uniform1i(Y,ee.u_texture),u_texture_icon:new i.Uniform1i(Y,ee.u_texture_icon),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},background:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_color:new i.UniformColor(Y,ee.u_color)}},backgroundPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image:new i.Uniform1i(Y,ee.u_image),u_pattern_tl_a:new i.Uniform2f(Y,ee.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f(Y,ee.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f(Y,ee.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f(Y,ee.u_pattern_br_b),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_mix:new i.Uniform1f(Y,ee.u_mix),u_pattern_size_a:new i.Uniform2f(Y,ee.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f(Y,ee.u_pattern_size_b),u_scale_a:new i.Uniform1f(Y,ee.u_scale_a),u_scale_b:new i.Uniform1f(Y,ee.u_scale_b),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f(Y,ee.u_tile_units_to_pixels)}}};function Ou(Y,ee,K,le,Te,De,He){for(var Ze=Y.context,at=Ze.gl,Tt=Y.useProgram("collisionBox"),At=[],se=0,ve=0,Ie=0;Ie0){var mt=i.create(),zt=Xe;i.mul(mt,qe.placementInvProjMatrix,Y.transform.glCoordMatrix),i.mul(mt,mt,qe.placementViewportMatrix),At.push({circleArray:lt,circleOffset:ve,transform:zt,invTransform:mt}),ve=se+=lt.length/4}tt&&Tt.draw(Ze,at.LINES,Wt.disabled,Ke.disabled,Y.colorModeForRenderPass(),We.disabled,xh(Xe,Y.transform,Ue),K.id,tt.layoutVertexBuffer,tt.indexBuffer,tt.segments,null,Y.transform.zoom,null,null,tt.collisionVertexBuffer)}}if(He&&At.length){var Ut=Y.useProgram("collisionCircle"),Ht=new i.StructArrayLayout2f1f2i16;Ht.resize(4*se),Ht._trim();for(var en=0,vn=0,tn=At;vn=0&&(Fe[qe.associatedIconIndex]={shiftedAnchor:tn,angle:ln})}else rr(qe.numGlyphs,ve)}if(At){Ie.clear();for(var Cn=Y.icon.placedSymbolArray,_n=0;_n0){var He=i.browser.now(),Ze=(He-Y.timeAdded)/De,at=ee?(He-ee.timeAdded)/De:-1,Tt=K.getSource(),At=Te.coveringZoomLevel({tileSize:Tt.tileSize,roundZoom:Tt.roundZoom}),se=!ee||Math.abs(ee.tileID.overscaledZ-At)>Math.abs(Y.tileID.overscaledZ-At),ve=se&&Y.refreshedUponExpiration?1:i.clamp(se?Ze:1-at,0,1);return Y.refreshedUponExpiration&&Ze>=1&&(Y.refreshedUponExpiration=!1),ee?{opacity:1,mix:1-ve}:{opacity:ve,mix:0}}return{opacity:1,mix:0}}var gc=new i.Color(1,0,0,1),vc=new i.Color(0,1,0,1),Pf=new i.Color(0,0,1,1),Ll=new i.Color(1,0,1,1),Uc=new i.Color(0,1,1,1);function yc(Y){var ee=Y.transform.padding;Rf(Y,Y.transform.height-(ee.top||0),3,gc),Rf(Y,ee.bottom||0,3,vc),bc(Y,ee.left||0,3,Pf),bc(Y,Y.transform.width-(ee.right||0),3,Ll);var K=Y.transform.centerPoint;(function(le,Te,De,He){var Ze=20,at=2;Du(le,Te-at/2,De-Ze/2,at,Ze,He),Du(le,Te-Ze/2,De-at/2,Ze,at,He)})(Y,K.x,Y.transform.height-K.y,Uc)}function Rf(Y,ee,K,le){Du(Y,0,ee+K/2,Y.transform.width,K,le)}function bc(Y,ee,K,le){Du(Y,ee-K/2,0,K,Y.transform.height,le)}function Du(Y,ee,K,le,Te,De){var He=Y.context,Ze=He.gl;Ze.enable(Ze.SCISSOR_TEST),Ze.scissor(ee*i.browser.devicePixelRatio,K*i.browser.devicePixelRatio,le*i.browser.devicePixelRatio,Te*i.browser.devicePixelRatio),He.clear({color:De}),Ze.disable(Ze.SCISSOR_TEST)}function ru(Y,ee,K){var le=Y.context,Te=le.gl,De=K.posMatrix,He=Y.useProgram("debug"),Ze=Wt.disabled,at=Ke.disabled,Tt=Y.colorModeForRenderPass(),At="$debug";le.activeTexture.set(Te.TEXTURE0),Y.emptyTexture.bind(Te.LINEAR,Te.CLAMP_TO_EDGE),He.draw(le,Te.LINE_STRIP,Ze,at,Tt,We.disabled,rl(De,i.Color.red),At,Y.debugBuffer,Y.tileBorderIndexBuffer,Y.debugSegments);var se=ee.getTileByID(K.key).latestRawTileData,ve=se&&se.byteLength||0,Ie=Math.floor(ve/1024),Fe=ee.getTile(K).tileSize,Ue=512/Math.min(Fe,512)*(K.overscaledZ/Y.transform.zoom)*.5,qe=K.canonical.toString();K.overscaledZ!==K.canonical.z&&(qe+=" => "+K.overscaledZ),function(Xe,tt){Xe.initDebugOverlayCanvas();var lt=Xe.debugOverlayCanvas,mt=Xe.context.gl,zt=Xe.debugOverlayCanvas.getContext("2d");zt.clearRect(0,0,lt.width,lt.height),zt.shadowColor="white",zt.shadowBlur=2,zt.lineWidth=1.5,zt.strokeStyle="white",zt.textBaseline="top",zt.font="bold 36px Open Sans, sans-serif",zt.fillText(tt,5,5),zt.strokeText(tt,5,5),Xe.debugOverlayTexture.update(lt),Xe.debugOverlayTexture.bind(mt.LINEAR,mt.CLAMP_TO_EDGE)}(Y,qe+" "+Ie+"kb"),He.draw(le,Te.TRIANGLES,Ze,at,Je.alphaBlended,We.disabled,rl(De,i.Color.transparent,Ue),At,Y.debugBuffer,Y.quadTriangleIndexBuffer,Y.debugSegments)}var iu={symbol:function(Y,ee,K,le,Te){if(Y.renderPass==="translucent"){var De=Ke.disabled,He=Y.colorModeForRenderPass();K.layout.get("text-variable-anchor")&&function(Ze,at,Tt,At,se,ve,Ie){for(var Fe=at.transform,Ue=se==="map",qe=ve==="map",Xe=0,tt=Ze;Xe256&&this.clearStencil(),K.setColorMode(Je.disabled),K.setDepthMode(Wt.disabled);var Te=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var De=0,He=ee;De256&&this.clearStencil();var Y=this.nextStencilID++,ee=this.context.gl;return new Ke({func:ee.NOTEQUAL,mask:255},Y,255,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilModeForClipping=function(Y){var ee=this.context.gl;return new Ke({func:ee.EQUAL,mask:255},this._tileClippingMaskIDs[Y.key],0,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilConfigForOverlap=function(Y){var ee,K=this.context.gl,le=Y.sort(function(at,Tt){return Tt.overscaledZ-at.overscaledZ}),Te=le[le.length-1].overscaledZ,De=le[0].overscaledZ-Te+1;if(De>1){this.currentStencilSource=void 0,this.nextStencilID+De>256&&this.clearStencil();for(var He={},Ze=0;Ze=0;this.currentLayer--){var zt=this.style._layers[le[this.currentLayer]],Ut=Te[zt.source],Ht=Tt[zt.source];this._renderTileClippingMasks(zt,Ht),this.renderLayer(this,Ut,zt,Ht)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?ee.pop():null},Ki.prototype.isPatternMissing=function(Y){if(!Y)return!1;if(!Y.from||!Y.to)return!0;var ee=this.imageManager.getPattern(Y.from.toString()),K=this.imageManager.getPattern(Y.to.toString());return!ee||!K},Ki.prototype.useProgram=function(Y,ee){this.cache=this.cache||{};var K=""+Y+(ee?ee.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[K]||(this.cache[K]=new Es(this.context,Sl[Y],ee,eu[Y],this._showOverdrawInspector)),this.cache[K]},Ki.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},Ki.prototype.setBaseState=function(){var Y=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(Y.FUNC_ADD)},Ki.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var Y=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,Y.RGBA)}},Ki.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Il=function(Y,ee){this.points=Y,this.planes=ee};Il.fromInvProjectionMatrix=function(Y,ee,K){var le=Math.pow(2,K),Te=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(function(He){return i.transformMat4([],He,Y)}).map(function(He){return i.scale$1([],He,1/He[3]/ee*le)}),De=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(He){var Ze=i.sub([],Te[He[0]],Te[He[1]]),at=i.sub([],Te[He[2]],Te[He[1]]),Tt=i.normalize([],i.cross([],Ze,at)),At=-i.dot(Tt,Te[He[1]]);return Tt.concat(At)});return new Il(Te,De)};var Ol=function(Y,ee){this.min=Y,this.max=ee,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Ol.prototype.quadrant=function(Y){for(var ee=[Y%2==0,Y<2],K=i.clone$2(this.min),le=i.clone$2(this.max),Te=0;Te=0;if(De===0)return 0;De!==ee.length&&(K=!1)}if(K)return 2;for(var Ze=0;Ze<3;Ze++){for(var at=Number.MAX_VALUE,Tt=-Number.MAX_VALUE,At=0;Atthis.max[Ze]-this.min[Ze])return 0}return 1};var po=function(Y,ee,K,le){if(Y===void 0&&(Y=0),ee===void 0&&(ee=0),K===void 0&&(K=0),le===void 0&&(le=0),isNaN(Y)||Y<0||isNaN(ee)||ee<0||isNaN(K)||K<0||isNaN(le)||le<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=Y,this.bottom=ee,this.left=K,this.right=le};po.prototype.interpolate=function(Y,ee,K){return ee.top!=null&&Y.top!=null&&(this.top=i.number(Y.top,ee.top,K)),ee.bottom!=null&&Y.bottom!=null&&(this.bottom=i.number(Y.bottom,ee.bottom,K)),ee.left!=null&&Y.left!=null&&(this.left=i.number(Y.left,ee.left,K)),ee.right!=null&&Y.right!=null&&(this.right=i.number(Y.right,ee.right,K)),this},po.prototype.getCenter=function(Y,ee){var K=i.clamp((this.left+Y-this.right)/2,0,Y),le=i.clamp((this.top+ee-this.bottom)/2,0,ee);return new i.Point(K,le)},po.prototype.equals=function(Y){return this.top===Y.top&&this.bottom===Y.bottom&&this.left===Y.left&&this.right===Y.right},po.prototype.clone=function(){return new po(this.top,this.bottom,this.left,this.right)},po.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Ri=function(Y,ee,K,le,Te){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Te===void 0||Te,this._minZoom=Y||0,this._maxZoom=ee||22,this._minPitch=K??0,this._maxPitch=le??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new po,this._posMatrixCache={},this._alignedPosMatrixCache={}},Bi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};Ri.prototype.clone=function(){var Y=new Ri(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return Y.tileSize=this.tileSize,Y.latRange=this.latRange,Y.width=this.width,Y.height=this.height,Y._center=this._center,Y.zoom=this.zoom,Y.angle=this.angle,Y._fov=this._fov,Y._pitch=this._pitch,Y._unmodified=this._unmodified,Y._edgeInsets=this._edgeInsets.clone(),Y._calcMatrices(),Y},Bi.minZoom.get=function(){return this._minZoom},Bi.minZoom.set=function(Y){this._minZoom!==Y&&(this._minZoom=Y,this.zoom=Math.max(this.zoom,Y))},Bi.maxZoom.get=function(){return this._maxZoom},Bi.maxZoom.set=function(Y){this._maxZoom!==Y&&(this._maxZoom=Y,this.zoom=Math.min(this.zoom,Y))},Bi.minPitch.get=function(){return this._minPitch},Bi.minPitch.set=function(Y){this._minPitch!==Y&&(this._minPitch=Y,this.pitch=Math.max(this.pitch,Y))},Bi.maxPitch.get=function(){return this._maxPitch},Bi.maxPitch.set=function(Y){this._maxPitch!==Y&&(this._maxPitch=Y,this.pitch=Math.min(this.pitch,Y))},Bi.renderWorldCopies.get=function(){return this._renderWorldCopies},Bi.renderWorldCopies.set=function(Y){Y===void 0?Y=!0:Y===null&&(Y=!1),this._renderWorldCopies=Y},Bi.worldSize.get=function(){return this.tileSize*this.scale},Bi.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Bi.size.get=function(){return new i.Point(this.width,this.height)},Bi.bearing.get=function(){return-this.angle/Math.PI*180},Bi.bearing.set=function(Y){var ee=-i.wrap(Y,-180,180)*Math.PI/180;this.angle!==ee&&(this._unmodified=!1,this.angle=ee,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Bi.pitch.get=function(){return this._pitch/Math.PI*180},Bi.pitch.set=function(Y){var ee=i.clamp(Y,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ee&&(this._unmodified=!1,this._pitch=ee,this._calcMatrices())},Bi.fov.get=function(){return this._fov/Math.PI*180},Bi.fov.set=function(Y){Y=Math.max(.01,Math.min(60,Y)),this._fov!==Y&&(this._unmodified=!1,this._fov=Y/180*Math.PI,this._calcMatrices())},Bi.zoom.get=function(){return this._zoom},Bi.zoom.set=function(Y){var ee=Math.min(Math.max(Y,this.minZoom),this.maxZoom);this._zoom!==ee&&(this._unmodified=!1,this._zoom=ee,this.scale=this.zoomScale(ee),this.tileZoom=Math.floor(ee),this.zoomFraction=ee-this.tileZoom,this._constrain(),this._calcMatrices())},Bi.center.get=function(){return this._center},Bi.center.set=function(Y){Y.lat===this._center.lat&&Y.lng===this._center.lng||(this._unmodified=!1,this._center=Y,this._constrain(),this._calcMatrices())},Bi.padding.get=function(){return this._edgeInsets.toJSON()},Bi.padding.set=function(Y){this._edgeInsets.equals(Y)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,Y,1),this._calcMatrices())},Bi.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Ri.prototype.isPaddingEqual=function(Y){return this._edgeInsets.equals(Y)},Ri.prototype.interpolatePadding=function(Y,ee,K){this._unmodified=!1,this._edgeInsets.interpolate(Y,ee,K),this._constrain(),this._calcMatrices()},Ri.prototype.coveringZoomLevel=function(Y){var ee=(Y.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/Y.tileSize));return Math.max(0,ee)},Ri.prototype.getVisibleUnwrappedCoordinates=function(Y){var ee=[new i.UnwrappedTileID(0,Y)];if(this._renderWorldCopies)for(var K=this.pointCoordinate(new i.Point(0,0)),le=this.pointCoordinate(new i.Point(this.width,0)),Te=this.pointCoordinate(new i.Point(this.width,this.height)),De=this.pointCoordinate(new i.Point(0,this.height)),He=Math.floor(Math.min(K.x,le.x,Te.x,De.x)),Ze=Math.floor(Math.max(K.x,le.x,Te.x,De.x)),at=He-1;at<=Ze+1;at++)at!==0&&ee.push(new i.UnwrappedTileID(at,Y));return ee},Ri.prototype.coveringTiles=function(Y){var ee=this.coveringZoomLevel(Y),K=ee;if(Y.minzoom!==void 0&&eeY.maxzoom&&(ee=Y.maxzoom);var le=i.MercatorCoordinate.fromLngLat(this.center),Te=Math.pow(2,ee),De=[Te*le.x,Te*le.y,0],He=Il.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ee),Ze=Y.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ze=ee);var at=function(tn){return{aabb:new Ol([tn*Te,0,0],[(tn+1)*Te,Te,0]),zoom:0,x:0,y:0,wrap:tn,fullyVisible:!1}},Tt=[],At=[],se=ee,ve=Y.reparseOverscaled?K:ee;if(this._renderWorldCopies)for(var Ie=1;Ie<=3;Ie++)Tt.push(at(-Ie)),Tt.push(at(Ie));for(Tt.push(at(0));Tt.length>0;){var Fe=Tt.pop(),Ue=Fe.x,qe=Fe.y,Xe=Fe.fullyVisible;if(!Xe){var tt=Fe.aabb.intersects(He);if(tt===0)continue;Xe=tt===2}var lt=Fe.aabb.distanceX(De),mt=Fe.aabb.distanceY(De),zt=Math.max(Math.abs(lt),Math.abs(mt)),Ut=3+(1<Ut&&Fe.zoom>=Ze)At.push({tileID:new i.OverscaledTileID(Fe.zoom===se?ve:Fe.zoom,Fe.wrap,Fe.zoom,Ue,qe),distanceSq:i.sqrLen([De[0]-.5-Ue,De[1]-.5-qe])});else for(var Ht=0;Ht<4;Ht++){var en=(Ue<<1)+Ht%2,vn=(qe<<1)+(Ht>>1);Tt.push({aabb:Fe.aabb.quadrant(Ht),zoom:Fe.zoom+1,x:en,y:vn,wrap:Fe.wrap,fullyVisible:Xe})}}return At.sort(function(tn,ln){return tn.distanceSq-ln.distanceSq}).map(function(tn){return tn.tileID})},Ri.prototype.resize=function(Y,ee){this.width=Y,this.height=ee,this.pixelsToGLUnits=[2/Y,-2/ee],this._constrain(),this._calcMatrices()},Bi.unmodified.get=function(){return this._unmodified},Ri.prototype.zoomScale=function(Y){return Math.pow(2,Y)},Ri.prototype.scaleZoom=function(Y){return Math.log(Y)/Math.LN2},Ri.prototype.project=function(Y){var ee=i.clamp(Y.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng(Y.lng)*this.worldSize,i.mercatorYfromLat(ee)*this.worldSize)},Ri.prototype.unproject=function(Y){return new i.MercatorCoordinate(Y.x/this.worldSize,Y.y/this.worldSize).toLngLat()},Bi.point.get=function(){return this.project(this.center)},Ri.prototype.setLocationAtPoint=function(Y,ee){var K=this.pointCoordinate(ee),le=this.pointCoordinate(this.centerPoint),Te=this.locationCoordinate(Y),De=new i.MercatorCoordinate(Te.x-(K.x-le.x),Te.y-(K.y-le.y));this.center=this.coordinateLocation(De),this._renderWorldCopies&&(this.center=this.center.wrap())},Ri.prototype.locationPoint=function(Y){return this.coordinatePoint(this.locationCoordinate(Y))},Ri.prototype.pointLocation=function(Y){return this.coordinateLocation(this.pointCoordinate(Y))},Ri.prototype.locationCoordinate=function(Y){return i.MercatorCoordinate.fromLngLat(Y)},Ri.prototype.coordinateLocation=function(Y){return Y.toLngLat()},Ri.prototype.pointCoordinate=function(Y){var ee=[Y.x,Y.y,0,1],K=[Y.x,Y.y,1,1];i.transformMat4(ee,ee,this.pixelMatrixInverse),i.transformMat4(K,K,this.pixelMatrixInverse);var le=ee[3],Te=K[3],De=ee[0]/le,He=K[0]/Te,Ze=ee[1]/le,at=K[1]/Te,Tt=ee[2]/le,At=K[2]/Te,se=Tt===At?0:(0-Tt)/(At-Tt);return new i.MercatorCoordinate(i.number(De,He,se)/this.worldSize,i.number(Ze,at,se)/this.worldSize)},Ri.prototype.coordinatePoint=function(Y){var ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix),new i.Point(ee[0]/ee[3],ee[1]/ee[3])},Ri.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},Ri.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Ri.prototype.setMaxBounds=function(Y){Y?(this.lngRange=[Y.getWest(),Y.getEast()],this.latRange=[Y.getSouth(),Y.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Ri.prototype.calculatePosMatrix=function(Y,ee){ee===void 0&&(ee=!1);var K=Y.key,le=ee?this._alignedPosMatrixCache:this._posMatrixCache;if(le[K])return le[K];var Te=Y.canonical,De=this.worldSize/this.zoomScale(Te.z),He=Te.x+Math.pow(2,Te.z)*Y.wrap,Ze=i.identity(new Float64Array(16));return i.translate(Ze,Ze,[He*De,Te.y*De,0]),i.scale(Ze,Ze,[De/i.EXTENT,De/i.EXTENT,1]),i.multiply(Ze,ee?this.alignedProjMatrix:this.projMatrix,Ze),le[K]=new Float32Array(Ze),le[K]},Ri.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Ri.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var Y,ee,K,le,Te=-90,De=90,He=-180,Ze=180,at=this.size,Tt=this._unmodified;if(this.latRange){var At=this.latRange;Te=i.mercatorYfromLat(At[1])*this.worldSize,Y=(De=i.mercatorYfromLat(At[0])*this.worldSize)-TeDe&&(le=De-Ue)}if(this.lngRange){var qe=ve.x,Xe=at.x/2;qe-XeZe&&(K=Ze-Xe)}K===void 0&&le===void 0||(this.center=this.unproject(new i.Point(K!==void 0?K:ve.x,le!==void 0?le:ve.y))),this._unmodified=Tt,this._constraining=!1}},Ri.prototype._calcMatrices=function(){if(this.height){var Y=this._fov/2,ee=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(Y)*this.height;var K=Math.PI/2+this._pitch,le=this._fov*(.5+ee.y/this.height),Te=Math.sin(le)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-K-le,.01,Math.PI-.01)),De=this.point,He=De.x,Ze=De.y,at=1.01*(Math.cos(Math.PI/2-this._pitch)*Te+this.cameraToCenterDistance),Tt=this.height/50,At=new Float64Array(16);i.perspective(At,this._fov,this.width/this.height,Tt,at),At[8]=2*-ee.x/this.width,At[9]=2*ee.y/this.height,i.scale(At,At,[1,-1,1]),i.translate(At,At,[0,0,-this.cameraToCenterDistance]),i.rotateX(At,At,this._pitch),i.rotateZ(At,At,this.angle),i.translate(At,At,[-He,-Ze,0]),this.mercatorMatrix=i.scale([],At,[this.worldSize,this.worldSize,this.worldSize]),i.scale(At,At,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=At,this.invProjMatrix=i.invert([],this.projMatrix);var se=this.width%2/2,ve=this.height%2/2,Ie=Math.cos(this.angle),Fe=Math.sin(this.angle),Ue=He-Math.round(He)+Ie*se+Fe*ve,qe=Ze-Math.round(Ze)+Ie*ve+Fe*se,Xe=new Float64Array(At);if(i.translate(Xe,Xe,[Ue>.5?Ue-1:Ue,qe>.5?qe-1:qe,0]),this.alignedProjMatrix=Xe,At=i.create(),i.scale(At,At,[this.width/2,-this.height/2,1]),i.translate(At,At,[1,-1,0]),this.labelPlaneMatrix=At,At=i.create(),i.scale(At,At,[1,-1,1]),i.translate(At,At,[-1,-1,0]),i.scale(At,At,[2/this.width,2/this.height,1]),this.glCoordMatrix=At,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(At=i.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=At,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Ri.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var Y=this.pointCoordinate(new i.Point(0,0)),ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix)[3]/this.cameraToCenterDistance},Ri.prototype.getCameraPoint=function(){var Y=this._pitch,ee=Math.tan(Y)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ee))},Ri.prototype.getCameraQueryGeometry=function(Y){var ee=this.getCameraPoint();if(Y.length===1)return[Y[0],ee];for(var K=ee.x,le=ee.y,Te=ee.x,De=ee.y,He=0,Ze=Y;He=3&&!Y.some(function(K){return isNaN(K)})){var ee=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(Y[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+Y[2],+Y[1]],zoom:+Y[0],bearing:ee,pitch:+(Y[4]||0)}),!0}return!1},sl.prototype._updateHashUnthrottled=function(){var Y=this.getHashString();try{i.window.history.replaceState(i.window.history.state,"",Y)}catch{}};var Us={linearity:.3,easing:i.bezier(0,0,.3,1)},Hc=i.extend({deceleration:2500,maxSpeed:1400},Us),Df=i.extend({deceleration:20,maxSpeed:1400},Us),au=i.extend({deceleration:1e3,maxSpeed:360},Us),zf=i.extend({deceleration:1e3,maxSpeed:90},Us),ou=function(Y){this._map=Y,this.clear()};function ll(Y,ee){(!Y.duration||Y.duration0&&ee-Y[0].time>160;)Y.shift()},ou.prototype._onMoveEnd=function(Y){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ee={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},K=0,le=this._inertiaBuffer;K=this._clickTolerance||this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.dblclick=function(Y){return this._firePreventable(new da(Y.type,this._map,Y))},Ha.prototype.mouseover=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.mouseout=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.touchstart=function(Y){return this._firePreventable(new Hs(Y.type,this._map,Y))},Ha.prototype.touchmove=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchend=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchcancel=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype._firePreventable=function(Y){if(this._map.fire(Y),Y.defaultPrevented)return{}},Ha.prototype.isEnabled=function(){return!0},Ha.prototype.isActive=function(){return!1},Ha.prototype.enable=function(){},Ha.prototype.disable=function(){};var mo=function(Y){this._map=Y};mo.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},mo.prototype.mousemove=function(Y){this._map.fire(new da(Y.type,this._map,Y))},mo.prototype.mousedown=function(){this._delayContextMenu=!0},mo.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new da("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},mo.prototype.contextmenu=function(Y){this._delayContextMenu?this._contextMenuEvent=Y:this._map.fire(new da(Y.type,this._map,Y)),this._map.listens("contextmenu")&&Y.preventDefault()},mo.prototype.isEnabled=function(){return!0},mo.prototype.isActive=function(){return!1},mo.prototype.enable=function(){},mo.prototype.disable=function(){};var go=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._container=Y.getContainer(),this._clickTolerance=ee.clickTolerance||1};function co(Y,ee){for(var K={},le=0;lethis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=Y.timeStamp),K.length===this.numTouches&&(this.centroid=function(le){for(var Te=new i.Point(0,0),De=0,He=le;De30)&&(this.aborted=!0)}}},zo.prototype.touchend=function(Y,ee,K){if((!this.centroid||Y.timeStamp-this.startTime>500)&&(this.aborted=!0),K.length===0){var le=!this.aborted&&this.centroid;if(this.reset(),le)return le}};var Pl=function(Y){this.singleTap=new zo(Y),this.numTaps=Y.numTaps,this.reset()};Pl.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Pl.prototype.touchstart=function(Y,ee,K){this.singleTap.touchstart(Y,ee,K)},Pl.prototype.touchmove=function(Y,ee,K){this.singleTap.touchmove(Y,ee,K)},Pl.prototype.touchend=function(Y,ee,K){var le=this.singleTap.touchend(Y,ee,K);if(le){var Te=Y.timeStamp-this.lastTime<500,De=!this.lastTap||this.lastTap.dist(le)<30;if(Te&&De||this.reset(),this.count++,this.lastTime=Y.timeStamp,this.lastTap=le,this.count===this.numTaps)return this.reset(),le}};var vs=function(){this._zoomIn=new Pl({numTouches:1,numTaps:2}),this._zoomOut=new Pl({numTouches:2,numTaps:1}),this.reset()};vs.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},vs.prototype.touchstart=function(Y,ee,K){this._zoomIn.touchstart(Y,ee,K),this._zoomOut.touchstart(Y,ee,K)},vs.prototype.touchmove=function(Y,ee,K){this._zoomIn.touchmove(Y,ee,K),this._zoomOut.touchmove(Y,ee,K)},vs.prototype.touchend=function(Y,ee,K){var le=this,Te=this._zoomIn.touchend(Y,ee,K),De=this._zoomOut.touchend(Y,ee,K);return Te?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()+1,around:He.unproject(Te)},{originalEvent:Y})}}):De?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()-1,around:He.unproject(De)},{originalEvent:Y})}}):void 0},vs.prototype.touchcancel=function(){this.reset()},vs.prototype.enable=function(){this._enabled=!0},vs.prototype.disable=function(){this._enabled=!1,this.reset()},vs.prototype.isEnabled=function(){return this._enabled},vs.prototype.isActive=function(){return this._active};var $a=function(Y){this.reset(),this._clickTolerance=Y.clickTolerance||1};$a.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},$a.prototype._correctButton=function(Y,ee){return!1},$a.prototype._move=function(Y,ee){return{}},$a.prototype.mousedown=function(Y,ee){if(!this._lastPoint){var K=g.mouseButton(Y);this._correctButton(Y,K)&&(this._lastPoint=ee,this._eventButton=K)}},$a.prototype.mousemoveWindow=function(Y,ee){var K=this._lastPoint;if(K&&(Y.preventDefault(),this._moved||!(ee.dist(K)0&&(this._active=!0);var le=co(K,ee),Te=new i.Point(0,0),De=new i.Point(0,0),He=0;for(var Ze in le){var at=le[Ze],Tt=this._touches[Ze];Tt&&(Te._add(at),De._add(at.sub(Tt)),He++,le[Ze]=at)}if(this._touches=le,!(HeMath.abs(Y.x)}var Br=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.reset=function(){Y.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ee.prototype._start=function(K){this._lastPoints=K,Bu(K[0].sub(K[1]))&&(this._valid=!1)},ee.prototype._move=function(K,le,Te){var De=K[0].sub(this._lastPoints[0]),He=K[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(De,He,Te.timeStamp),this._valid)return this._lastPoints=K,this._active=!0,{pitchDelta:(De.y+He.y)/2*-.5}},ee.prototype.gestureBeginsVertically=function(K,le,Te){if(this._valid!==void 0)return this._valid;var De=K.mag()>=2,He=le.mag()>=2;if(De||He){if(!De||!He)return this._firstMove===void 0&&(this._firstMove=Te),Te-this._firstMove<100&&void 0;var Ze=K.y>0==le.y>0;return Bu(K)&&Bu(le)&&Ze}},ee}(Dr),Nu={panStep:100,bearingStep:15,pitchStep:10},ys=function(){var Y=Nu;this._panStep=Y.panStep,this._bearingStep=Y.bearingStep,this._pitchStep=Y.pitchStep};function Yc(Y){return Y*(2-Y)}ys.prototype.reset=function(){this._active=!1},ys.prototype.keydown=function(Y){var ee=this;if(!(Y.altKey||Y.ctrlKey||Y.metaKey)){var K=0,le=0,Te=0,De=0,He=0;switch(Y.keyCode){case 61:case 107:case 171:case 187:K=1;break;case 189:case 109:case 173:K=-1;break;case 37:Y.shiftKey?le=-1:(Y.preventDefault(),De=-1);break;case 39:Y.shiftKey?le=1:(Y.preventDefault(),De=1);break;case 38:Y.shiftKey?Te=1:(Y.preventDefault(),He=-1);break;case 40:Y.shiftKey?Te=-1:(Y.preventDefault(),He=1);break;default:return}return{cameraAnimation:function(Ze){var at=Ze.getZoom();Ze.easeTo({duration:300,easeId:"keyboardHandler",easing:Yc,zoom:K?Math.round(at)+K*(Y.shiftKey?2:1):at,bearing:Ze.getBearing()+le*ee._bearingStep,pitch:Ze.getPitch()+Te*ee._pitchStep,offset:[-De*ee._panStep,-He*ee._panStep],center:Ze.getCenter()},{originalEvent:Y})}}}},ys.prototype.enable=function(){this._enabled=!0},ys.prototype.disable=function(){this._enabled=!1,this.reset()},ys.prototype.isEnabled=function(){return this._enabled},ys.prototype.isActive=function(){return this._active};var xc=4.000244140625,vo=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._handler=ee,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,i.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};vo.prototype.setZoomRate=function(Y){this._defaultZoomRate=Y},vo.prototype.setWheelZoomRate=function(Y){this._wheelZoomRate=Y},vo.prototype.isEnabled=function(){return!!this._enabled},vo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},vo.prototype.isZooming=function(){return!!this._zooming},vo.prototype.enable=function(Y){this.isEnabled()||(this._enabled=!0,this._aroundCenter=Y&&Y.around==="center")},vo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},vo.prototype.wheel=function(Y){if(this.isEnabled()){var ee=Y.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?40*Y.deltaY:Y.deltaY,K=i.browser.now(),le=K-(this._lastWheelEventTime||0);this._lastWheelEventTime=K,ee!==0&&ee%xc==0?this._type="wheel":ee!==0&&Math.abs(ee)<4?this._type="trackpad":le>400?(this._type=null,this._lastValue=ee,this._timeout=setTimeout(this._onTimeout,40,Y)):this._type||(this._type=Math.abs(le*ee)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ee+=this._lastValue)),Y.shiftKey&&ee&&(ee/=4),this._type&&(this._lastWheelEvent=Y,this._delta-=ee,this._active||this._start(Y)),Y.preventDefault()}},vo.prototype._onTimeout=function(Y){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(Y)},vo.prototype._start=function(Y){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var ee=g.mousePos(this._el,Y);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ee)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},vo.prototype.renderFrame=function(){return this._onScrollFrame()},vo.prototype._onScrollFrame=function(){var Y=this;if(this._frameId&&(this._frameId=null,this.isActive())){var ee=this._map.transform;if(this._delta!==0){var K=this._type==="wheel"&&Math.abs(this._delta)>xc?this._wheelZoomRate:this._defaultZoomRate,le=2/(1+Math.exp(-Math.abs(this._delta*K)));this._delta<0&&le!==0&&(le=1/le);var Te=typeof this._targetZoom=="number"?ee.zoomScale(this._targetZoom):ee.scale;this._targetZoom=Math.min(ee.maxZoom,Math.max(ee.minZoom,ee.scaleZoom(Te*le))),this._type==="wheel"&&(this._startZoom=ee.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var De,He=typeof this._targetZoom=="number"?this._targetZoom:ee.zoom,Ze=this._startZoom,at=this._easing,Tt=!1;if(this._type==="wheel"&&Ze&&at){var At=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),se=at(At);De=i.number(Ze,He,se),At<1?this._frameId||(this._frameId=!0):Tt=!0}else De=He,Tt=!0;return this._active=!0,Tt&&(this._active=!1,this._finishTimeout=setTimeout(function(){Y._zooming=!1,Y._handler._triggerRenderFrame(),delete Y._targetZoom,delete Y._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Tt,zoomDelta:De-ee.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},vo.prototype._smoothOutEasing=function(Y){var ee=i.ease;if(this._prevEase){var K=this._prevEase,le=(i.browser.now()-K.start)/K.duration,Te=K.easing(le+.01)-K.easing(le),De=.27/Math.sqrt(Te*Te+1e-4)*.01,He=Math.sqrt(.0729-De*De);ee=i.bezier(De,He,.25,1)}return this._prevEase={start:i.browser.now(),duration:Y,easing:ee},ee},vo.prototype.reset=function(){this._active=!1};var cu=function(Y,ee){this._clickZoom=Y,this._tapZoom=ee};cu.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cu.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cu.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cu.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var ul=function(){this.reset()};ul.prototype.reset=function(){this._active=!1},ul.prototype.dblclick=function(Y,ee){return Y.preventDefault(),{cameraAnimation:function(K){K.easeTo({duration:300,zoom:K.getZoom()+(Y.shiftKey?-1:1),around:K.unproject(ee)},{originalEvent:Y})}}},ul.prototype.enable=function(){this._enabled=!0},ul.prototype.disable=function(){this._enabled=!1,this.reset()},ul.prototype.isEnabled=function(){return this._enabled},ul.prototype.isActive=function(){return this._active};var Zo=function(){this._tap=new Pl({numTouches:1,numTaps:1}),this.reset()};Zo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Zo.prototype.touchstart=function(Y,ee,K){this._swipePoint||(this._tapTime&&Y.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?K.length>0&&(this._swipePoint=ee[0],this._swipeTouch=K[0].identifier):this._tap.touchstart(Y,ee,K))},Zo.prototype.touchmove=function(Y,ee,K){if(this._tapTime){if(this._swipePoint){if(K[0].identifier!==this._swipeTouch)return;var le=ee[0],Te=le.y-this._swipePoint.y;return this._swipePoint=le,Y.preventDefault(),this._active=!0,{zoomDelta:Te/128}}}else this._tap.touchmove(Y,ee,K)},Zo.prototype.touchend=function(Y,ee,K){this._tapTime?this._swipePoint&&K.length===0&&this.reset():this._tap.touchend(Y,ee,K)&&(this._tapTime=Y.timeStamp)},Zo.prototype.touchcancel=function(){this.reset()},Zo.prototype.enable=function(){this._enabled=!0},Zo.prototype.disable=function(){this._enabled=!1,this.reset()},Zo.prototype.isEnabled=function(){return this._enabled},Zo.prototype.isActive=function(){return this._active};var Rl=function(Y,ee,K){this._el=Y,this._mousePan=ee,this._touchPan=K};Rl.prototype.enable=function(Y){this._inertiaOptions=Y||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Rl.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Rl.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Rl.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Ls=function(Y,ee,K){this._pitchWithRotate=Y.pitchWithRotate,this._mouseRotate=ee,this._mousePitch=K};Ls.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Ls.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Ls.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Ls.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var bs=function(Y,ee,K,le){this._el=Y,this._touchZoom=ee,this._touchRotate=K,this._tapDragZoom=le,this._rotationDisabled=!1,this._enabled=!0};bs.prototype.enable=function(Y){this._touchZoom.enable(Y),this._rotationDisabled||this._touchRotate.enable(Y),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},bs.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},bs.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},bs.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},bs.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},bs.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var fu=function(Y){return Y.zoom||Y.drag||Y.pitch||Y.rotate},yo=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee}(i.Event);function xs(Y){return Y.panDelta&&Y.panDelta.mag()||Y.zoomDelta||Y.bearingDelta||Y.pitchDelta}var Yi=function(Y,ee){this._map=Y,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ou(Y),this._bearingSnap=ee.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ee),i.bindAll(["handleEvent","handleWindowEvent"],this);var K=this._el;this._listeners=[[K,"touchstart",{passive:!1}],[K,"touchmove",{passive:!1}],[K,"touchend",void 0],[K,"touchcancel",void 0],[K,"mousedown",void 0],[K,"mousemove",void 0],[K,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[K,"mouseover",void 0],[K,"mouseout",void 0],[K,"dblclick",void 0],[K,"click",void 0],[K,"keydown",{capture:!1}],[K,"keyup",void 0],[K,"wheel",{passive:!1}],[K,"contextmenu",void 0],[i.window,"blur",void 0]];for(var le=0,Te=this._listeners;leHe?Math.min(2,Ut):Math.max(.5,Ut),ln=Math.pow(tn,1-en),an=De.unproject(mt.add(zt.mult(en*ln)).mult(vn));De.setLocationAtPoint(De.renderWorldCopies?an.wrap():an,Ue)}Te._fireMoveEvents(le)},function(en){Te._afterEase(le,en)},K),this},ee.prototype._prepareEase=function(K,le,Te){Te===void 0&&(Te={}),this._moving=!0,le||Te.moving||this.fire(new i.Event("movestart",K)),this._zooming&&!Te.zooming&&this.fire(new i.Event("zoomstart",K)),this._rotating&&!Te.rotating&&this.fire(new i.Event("rotatestart",K)),this._pitching&&!Te.pitching&&this.fire(new i.Event("pitchstart",K))},ee.prototype._fireMoveEvents=function(K){this.fire(new i.Event("move",K)),this._zooming&&this.fire(new i.Event("zoom",K)),this._rotating&&this.fire(new i.Event("rotate",K)),this._pitching&&this.fire(new i.Event("pitch",K))},ee.prototype._afterEase=function(K,le){if(!this._easeId||!le||this._easeId!==le){delete this._easeId;var Te=this._zooming,De=this._rotating,He=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Te&&this.fire(new i.Event("zoomend",K)),De&&this.fire(new i.Event("rotateend",K)),He&&this.fire(new i.Event("pitchend",K)),this.fire(new i.Event("moveend",K))}},ee.prototype.flyTo=function(K,le){var Te=this;if(!K.essential&&i.browser.prefersReducedMotion){var De=i.pick(K,["center","zoom","bearing","pitch","around"]);return this.jumpTo(De,le)}this.stop(),K=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},K);var He=this.transform,Ze=this.getZoom(),at=this.getBearing(),Tt=this.getPitch(),At=this.getPadding(),se="zoom"in K?i.clamp(+K.zoom,He.minZoom,He.maxZoom):Ze,ve="bearing"in K?this._normalizeBearing(K.bearing,at):at,Ie="pitch"in K?+K.pitch:Tt,Fe="padding"in K?K.padding:He.padding,Ue=He.zoomScale(se-Ze),qe=i.Point.convert(K.offset),Xe=He.centerPoint.add(qe),tt=He.pointLocation(Xe),lt=i.LngLat.convert(K.center||tt);this._normalizeCenter(lt);var mt=He.project(tt),zt=He.project(lt).sub(mt),Ut=K.curve,Ht=Math.max(He.width,He.height),en=Ht/Ue,vn=zt.mag();if("minZoom"in K){var tn=i.clamp(Math.min(K.minZoom,Ze,se),He.minZoom,He.maxZoom),ln=Ht/He.zoomScale(tn-Ze);Ut=Math.sqrt(ln/vn*2)}var an=Ut*Ut;function Cn(xr){var kr=(en*en-Ht*Ht+(xr?-1:1)*an*an*vn*vn)/(2*(xr?en:Ht)*an*vn);return Math.log(Math.sqrt(kr*kr+1)-kr)}function _n(xr){return(Math.exp(xr)-Math.exp(-xr))/2}function on(xr){return(Math.exp(xr)+Math.exp(-xr))/2}var Fn=Cn(0),Hn=function(xr){return on(Fn)/on(Fn+Ut*xr)},ir=function(xr){return Ht*((on(Fn)*(_n(kr=Fn+Ut*xr)/on(kr))-_n(Fn))/an)/vn;var kr},ar=(Cn(1)-Fn)/Ut;if(Math.abs(vn)<1e-6||!isFinite(ar)){if(Math.abs(Ht-en)<1e-6)return this.easeTo(K,le);var Mr=enK.maxDuration&&(K.duration=0),this._zooming=!0,this._rotating=at!==ve,this._pitching=Ie!==Tt,this._padding=!He.isPaddingEqual(Fe),this._prepareEase(le,!1),this._ease(function(xr){var kr=xr*ar,jr=1/Hn(kr);He.zoom=xr===1?se:Ze+He.scaleZoom(jr),Te._rotating&&(He.bearing=i.number(at,ve,xr)),Te._pitching&&(He.pitch=i.number(Tt,Ie,xr)),Te._padding&&(He.interpolatePadding(At,Fe,xr),Xe=He.centerPoint.add(qe));var hi=xr===1?lt:He.unproject(mt.add(zt.mult(ir(kr))).mult(jr));He.setLocationAtPoint(He.renderWorldCopies?hi.wrap():hi,Xe),Te._fireMoveEvents(le)},function(){return Te._afterEase(le)},K),this},ee.prototype.isEasing=function(){return!!this._easeFrameId},ee.prototype.stop=function(){return this._stop()},ee.prototype._stop=function(K,le){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Te=this._onEaseEnd;delete this._onEaseEnd,Te.call(this,le)}if(!K){var De=this.handlers;De&&De.stop()}return this},ee.prototype._ease=function(K,le,Te){Te.animate===!1||Te.duration===0?(K(1),le()):(this._easeStart=i.browser.now(),this._easeOptions=Te,this._onEaseFrame=K,this._onEaseEnd=le,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ee.prototype._renderFrameCallback=function(){var K=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(K)),K<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ee.prototype._normalizeBearing=function(K,le){K=i.wrap(K,-180,180);var Te=Math.abs(K-le);return Math.abs(K-360-le)180?-360:Te<-180?360:0}},ee}(i.Evented),os=function(Y){Y===void 0&&(Y={}),this.options=Y,i.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};os.prototype.getDefaultPosition=function(){return"bottom-right"},os.prototype.onAdd=function(Y){var ee=this.options&&this.options.compact;return this._map=Y,this._container=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=g.create("div","mapboxgl-ctrl-attrib-inner",this._container),ee&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),ee===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},os.prototype.onRemove=function(){g.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},os.prototype._updateEditLink=function(){var Y=this._editLink;Y||(Y=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ee=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if(Y){var K=ee.reduce(function(le,Te,De){return Te.value&&(le+=Te.key+"="+Te.value+(De=0)return!1;return!0})).join(" | ");He!==this._attribHTML&&(this._attribHTML=He,Y.length?(this._innerContainer.innerHTML=He,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},os.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var _s=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};_s.prototype.onAdd=function(Y){this._map=Y,this._container=g.create("div","mapboxgl-ctrl");var ee=g.create("a","mapboxgl-ctrl-logo");return ee.target="_blank",ee.rel="noopener nofollow",ee.href="https://www.mapbox.com/",ee.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ee.setAttribute("rel","noopener nofollow"),this._container.appendChild(ee),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},_s.prototype.onRemove=function(){g.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},_s.prototype.getDefaultPosition=function(){return"bottom-left"},_s.prototype._updateLogo=function(Y){Y&&Y.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},_s.prototype._logoRequired=function(){if(this._map.style){var Y=this._map.style.sourceCaches;for(var ee in Y)if(Y[ee].getSource().mapbox_logo)return!0;return!1}},_s.prototype._updateCompact=function(){var Y=this._container.children;if(Y.length){var ee=Y[0];this._map.getCanvasContainer().offsetWidth<250?ee.classList.add("mapboxgl-compact"):ee.classList.remove("mapboxgl-compact")}};var Gs=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Gs.prototype.add=function(Y){var ee=++this._id;return this._queue.push({callback:Y,id:ee,cancelled:!1}),ee},Gs.prototype.remove=function(Y){for(var ee=this._currentlyRunning,K=0,le=ee?this._queue.concat(ee):this._queue;Kle.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(le.minPitch!=null&&le.maxPitch!=null&&le.minPitch>le.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(le.minPitch!=null&&le.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(le.maxPitch!=null&&le.maxPitch>No)throw new Error("maxPitch must be less than or equal to 60");var De=new Ri(le.minZoom,le.maxZoom,le.minPitch,le.maxPitch,le.renderWorldCopies);if(Y.call(this,De,le),this._interactive=le.interactive,this._maxTileCacheSize=le.maxTileCacheSize,this._failIfMajorPerformanceCaveat=le.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=le.preserveDrawingBuffer,this._antialias=le.antialias,this._trackResize=le.trackResize,this._bearingSnap=le.bearingSnap,this._refreshExpiredTiles=le.refreshExpiredTiles,this._fadeDuration=le.fadeDuration,this._crossSourceCollisions=le.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=le.collectResourceTiming,this._renderTaskQueue=new Gs,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},Bo,le.locale),this._requestManager=new i.RequestManager(le.transformRequest,le.accessToken),typeof le.container=="string"){if(this._container=i.window.document.getElementById(le.container),!this._container)throw new Error("Container '"+le.container+"' not found.")}else{if(!(le.container instanceof no))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=le.container}if(le.maxBounds&&this.setMaxBounds(le.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return Te._update(!1)}),this.on("moveend",function(){return Te._update(!1)}),this.on("zoom",function(){return Te._update(!0)}),i.window!==void 0&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new Yi(this,le);var He=typeof le.hash=="string"&&le.hash||void 0;this._hash=le.hash&&new sl(He).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:le.center,zoom:le.zoom,bearing:le.bearing,pitch:le.pitch}),le.bounds&&(this.resize(),this.fitBounds(le.bounds,i.extend({},le.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=le.localIdeographFontFamily,le.style&&this.setStyle(le.style,{localIdeographFontFamily:le.localIdeographFontFamily}),le.attributionControl&&this.addControl(new os({customAttribution:le.customAttribution})),this.addControl(new _s,le.logoPosition),this.on("style.load",function(){Te.transform.unmodified&&Te.jumpTo(Te.style.stylesheet)}),this.on("data",function(Ze){Te._update(Ze.dataType==="style"),Te.fire(new i.Event(Ze.dataType+"data",Ze))}),this.on("dataloading",function(Ze){Te.fire(new i.Event(Ze.dataType+"dataloading",Ze))})}Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee;var K={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ee.prototype._getMapId=function(){return this._mapId},ee.prototype.addControl=function(le,Te){if(Te===void 0&&le.getDefaultPosition&&(Te=le.getDefaultPosition()),Te===void 0&&(Te="top-right"),!le||!le.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var De=le.onAdd(this);this._controls.push(le);var He=this._controlPositions[Te];return Te.indexOf("bottom")!==-1?He.insertBefore(De,He.firstChild):He.appendChild(De),this},ee.prototype.removeControl=function(le){if(!le||!le.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Te=this._controls.indexOf(le);return Te>-1&&this._controls.splice(Te,1),le.onRemove(this),this},ee.prototype.resize=function(le){var Te=this._containerDimensions(),De=Te[0],He=Te[1];this._resizeCanvas(De,He),this.transform.resize(De,He),this.painter.resize(De,He);var Ze=!this._moving;return Ze&&(this.stop(),this.fire(new i.Event("movestart",le)).fire(new i.Event("move",le))),this.fire(new i.Event("resize",le)),Ze&&this.fire(new i.Event("moveend",le)),this},ee.prototype.getBounds=function(){return this.transform.getBounds()},ee.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ee.prototype.setMaxBounds=function(le){return this.transform.setMaxBounds(i.LngLatBounds.convert(le)),this._update()},ee.prototype.setMinZoom=function(le){if((le=le??-2)>=-2&&le<=this.transform.maxZoom)return this.transform.minZoom=le,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=le,this._update(),this.getZoom()>le&&this.setZoom(le),this;throw new Error("maxZoom must be greater than the current minZoom")},ee.prototype.getMaxZoom=function(){return this.transform.maxZoom},ee.prototype.setMinPitch=function(le){if((le=le??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(le>=0&&le<=this.transform.maxPitch)return this.transform.minPitch=le,this._update(),this.getPitch()No)throw new Error("maxPitch must be less than or equal to 60");if(le>=this.transform.minPitch)return this.transform.maxPitch=le,this._update(),this.getPitch()>le&&this.setPitch(le),this;throw new Error("maxPitch must be greater than the current minPitch")},ee.prototype.getMaxPitch=function(){return this.transform.maxPitch},ee.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ee.prototype.setRenderWorldCopies=function(le){return this.transform.renderWorldCopies=le,this._update()},ee.prototype.project=function(le){return this.transform.locationPoint(i.LngLat.convert(le))},ee.prototype.unproject=function(le){return this.transform.pointLocation(i.Point.convert(le))},ee.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ee.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ee.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ee.prototype._createDelegatedListener=function(le,Te,De){var He,Ze=this;if(le==="mouseenter"||le==="mouseover"){var at=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length?at||(at=!0,De.call(Ze,new da(le,Ze,At.originalEvent,{features:se}))):at=!1},mouseout:function(){at=!1}}}}if(le==="mouseleave"||le==="mouseout"){var Tt=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){(Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[]).length?Tt=!0:Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))},mouseout:function(At){Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))}}}}return{layer:Te,listener:De,delegates:(He={},He[le]=function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length&&(At.features=se,De.call(Ze,At),delete At.features)},He)}},ee.prototype.on=function(le,Te,De){if(De===void 0)return Y.prototype.on.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[le]=this._delegatedListeners[le]||[],this._delegatedListeners[le].push(He),He.delegates)this.on(Ze,He.delegates[Ze]);return this},ee.prototype.once=function(le,Te,De){if(De===void 0)return Y.prototype.once.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in He.delegates)this.once(Ze,He.delegates[Ze]);return this},ee.prototype.off=function(le,Te,De){var He=this;return De===void 0?Y.prototype.off.call(this,le,Te):(this._delegatedListeners&&this._delegatedListeners[le]&&function(Ze){for(var at=Ze[le],Tt=0;Tt180;){var He=K.locationPoint(Y);if(He.x>=0&&He.y>=0&&He.x<=K.width&&He.y<=K.height)break;Y.lng>K.center.lng?Y.lng-=360:Y.lng+=360}return Y}Hr.prototype.down=function(Y,ee){this.mouseRotate.mousedown(Y,ee),this.mousePitch&&this.mousePitch.mousedown(Y,ee),g.disableDrag()},Hr.prototype.move=function(Y,ee){var K=this.map,le=this.mouseRotate.mousemoveWindow(Y,ee);if(le&&le.bearingDelta&&K.setBearing(K.getBearing()+le.bearingDelta),this.mousePitch){var Te=this.mousePitch.mousemoveWindow(Y,ee);Te&&Te.pitchDelta&&K.setPitch(K.getPitch()+Te.pitchDelta)}},Hr.prototype.off=function(){var Y=this.element;g.removeEventListener(Y,"mousedown",this.mousedown),g.removeEventListener(Y,"touchstart",this.touchstart,{passive:!1}),g.removeEventListener(Y,"touchmove",this.touchmove),g.removeEventListener(Y,"touchend",this.touchend),g.removeEventListener(Y,"touchcancel",this.reset),this.offTemp()},Hr.prototype.offTemp=function(){g.enableDrag(),g.removeEventListener(i.window,"mousemove",this.mousemove),g.removeEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousedown=function(Y){this.down(i.extend({},Y,{ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}}),g.mousePos(this.element,Y)),g.addEventListener(i.window,"mousemove",this.mousemove),g.addEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousemove=function(Y){this.move(Y,g.mousePos(this.element,Y))},Hr.prototype.mouseup=function(Y){this.mouseRotate.mouseupWindow(Y),this.mousePitch&&this.mousePitch.mouseupWindow(Y),this.offTemp()},Hr.prototype.touchstart=function(Y){Y.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=g.touchPos(this.element,Y.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}},this._startPos))},Hr.prototype.touchmove=function(Y){Y.targetTouches.length!==1?this.reset():(this._lastPos=g.touchPos(this.element,Y.targetTouches)[0],this.move({preventDefault:function(){return Y.preventDefault()}},this._lastPos))},Hr.prototype.touchend=function(Y){Y.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)le.getEast()||Te.latitudele.getNorth())},ee.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},ee.prototype._onSuccess=function(K){if(this._map){if(this._isOutOfMapMaxBounds(K))return this._setErrorState(),this.fire(new i.Event("outofmaxbounds",K)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=K,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(K),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(K),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",K)),this._finish()}},ee.prototype._updateCamera=function(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude),Te=K.coords.accuracy,De=this._map.getBearing(),He=i.extend({bearing:De},this.options.fitBoundsOptions);this._map.fitBounds(le.toBounds(Te),He,{geolocateSource:!0})},ee.prototype._updateMarker=function(K){if(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude);this._accuracyCircleMarker.setLngLat(le).addTo(this._map),this._userLocationDotMarker.setLngLat(le).addTo(this._map),this._accuracy=K.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ee.prototype._updateCircleRadius=function(){var K=this._map._container.clientHeight/2,le=this._map.unproject([0,K]),Te=this._map.unproject([1,K]),De=le.distanceTo(Te),He=Math.ceil(2*this._accuracy/De);this._circleElement.style.width=He+"px",this._circleElement.style.height=He+"px"},ee.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ee.prototype._onError=function(K){if(this._map){if(this.options.trackUserLocation)if(K.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var le=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=le,this._geolocateButton.setAttribute("aria-label",le),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(K.code===3&&ju)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",K)),this._finish()}},ee.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ee.prototype._setupUI=function(K){var le=this;if(this._container.addEventListener("contextmenu",function(He){return He.preventDefault()}),this._geolocateButton=g.create("button","mapboxgl-ctrl-geolocate",this._container),g.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",K===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Te=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Te,this._geolocateButton.setAttribute("aria-label",Te)}else{var De=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=De,this._geolocateButton.setAttribute("aria-label",De)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=g.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new xo(this._dotElement),this._circleElement=g.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xo({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(He){var Ze=He.originalEvent&&He.originalEvent.type==="resize";He.geolocateSource||le._watchState!=="ACTIVE_LOCK"||Ze||(le._watchState="BACKGROUND",le._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),le._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),le.fire(new i.Event("trackuserlocationend")))})},ee.prototype.trigger=function(){if(!this._setup)return i.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Vo--,ju=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new i.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new i.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var K;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Vo>1?(K={maximumAge:6e5,timeout:0},ju=!0):(K=this.options.positionOptions,ju=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,K)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ee.prototype._clearWatch=function(){i.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},ee}(i.Evented),Ji={maxWidth:100,unit:"metric"},la=function(Y){this.options=i.extend({},Ji,Y),i.bindAll(["_onMove","setUnit"],this)};function Zc(Y,ee,K){var le=K&&K.maxWidth||100,Te=Y._container.clientHeight/2,De=Y.unproject([0,Te]),He=Y.unproject([le,Te]),Ze=De.distanceTo(He);if(K&&K.unit==="imperial"){var at=3.2808*Ze;at>5280?et(ee,le,at/5280,Y._getUIString("ScaleControl.Miles")):et(ee,le,at,Y._getUIString("ScaleControl.Feet"))}else K&&K.unit==="nautical"?et(ee,le,Ze/1852,Y._getUIString("ScaleControl.NauticalMiles")):Ze>=1e3?et(ee,le,Ze/1e3,Y._getUIString("ScaleControl.Kilometers")):et(ee,le,Ze,Y._getUIString("ScaleControl.Meters"))}function et(Y,ee,K,le){var Te,De,He,Ze=(Te=K,(De=Math.pow(10,(""+Math.floor(Te)).length-1))*((He=Te/De)>=10?10:He>=5?5:He>=3?3:He>=2?2:He>=1?1:function(Tt){var At=Math.pow(10,Math.ceil(-Math.log(Tt)/Math.LN10));return Math.round(Tt*At)/At}(He))),at=Ze/K;Y.style.width=ee*at+"px",Y.innerHTML=Ze+" "+le}la.prototype.getDefaultPosition=function(){return"bottom-left"},la.prototype._onMove=function(){Zc(this._map,this._container,this.options)},la.prototype.onAdd=function(Y){return this._map=Y,this._container=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",Y.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},la.prototype.onRemove=function(){g.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},la.prototype.setUnit=function(Y){this.options.unit=Y,Zc(this._map,this._container,this.options)};var rt=function(Y){this._fullscreen=!1,Y&&Y.container&&(Y.container instanceof i.window.HTMLElement?this._container=Y.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};rt.prototype.onAdd=function(Y){return this._map=Y,this._container||(this._container=this._map.getContainer()),this._controlContainer=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},rt.prototype.onRemove=function(){g.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},rt.prototype._setupUI=function(){var Y=this._fullscreenButton=g.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);g.create("span","mapboxgl-ctrl-icon",Y).setAttribute("aria-hidden",!0),Y.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._updateTitle=function(){var Y=this._getTitle();this._fullscreenButton.setAttribute("aria-label",Y),this._fullscreenButton.title=Y},rt.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},rt.prototype._isFullscreen=function(){return this._fullscreen},rt.prototype._changeIcon=function(){(i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},rt.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var ct={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},vt=function(Y){function ee(K){Y.call(this),this.options=i.extend(Object.create(ct),K),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.addTo=function(K){return this._map&&this.remove(),this._map=K,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new i.Event("open")),this},ee.prototype.isOpen=function(){return!!this._map},ee.prototype.remove=function(){return this._content&&g.remove(this._content),this._container&&(g.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new i.Event("close")),this},ee.prototype.getLngLat=function(){return this._lngLat},ee.prototype.setLngLat=function(K){return this._lngLat=i.LngLat.convert(K),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},ee.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},ee.prototype.getElement=function(){return this._container},ee.prototype.setText=function(K){return this.setDOMContent(i.window.document.createTextNode(K))},ee.prototype.setHTML=function(K){var le,Te=i.window.document.createDocumentFragment(),De=i.window.document.createElement("body");for(De.innerHTML=K;le=De.firstChild;)Te.appendChild(le);return this.setDOMContent(Te)},ee.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ee.prototype.setMaxWidth=function(K){return this.options.maxWidth=K,this._update(),this},ee.prototype.setDOMContent=function(K){return this._createContent(),this._content.appendChild(K),this._update(),this},ee.prototype.addClassName=function(K){this._container&&this._container.classList.add(K)},ee.prototype.removeClassName=function(K){this._container&&this._container.classList.remove(K)},ee.prototype.toggleClassName=function(K){if(this._container)return this._container.classList.toggle(K)},ee.prototype._createContent=function(){this._content&&g.remove(this._content),this._content=g.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=g.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},ee.prototype._onMouseUp=function(K){this._update(K.point)},ee.prototype._onMouseMove=function(K){this._update(K.point)},ee.prototype._onDrag=function(K){this._update(K.point)},ee.prototype._update=function(K){var le=this,Te=this._lngLat||this._trackPointer;if(this._map&&Te&&this._content&&(this._container||(this._container=g.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=g.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(ve){return le._container.classList.add(ve)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ni(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||K)){var De=this._pos=this._trackPointer&&K?K:this._map.project(this._lngLat),He=this.options.anchor,Ze=St(this.options.offset);if(!He){var at,Tt=this._container.offsetWidth,At=this._container.offsetHeight;at=De.y+Ze.bottom.ythis._map.transform.height-At?["bottom"]:[],De.xthis._map.transform.width-Tt/2&&at.push("right"),He=at.length===0?"bottom":at.join("-")}var se=De.add(Ze[He]).round();g.setTransform(this._container,Vu[He]+" translate("+se.x+"px,"+se.y+"px)"),fl(this._container,He,"popup")}},ee.prototype._onClose=function(){this.remove()},ee}(i.Evented);function St(Y){if(Y){if(typeof Y=="number"){var ee=Math.round(Math.sqrt(.5*Math.pow(Y,2)));return{center:new i.Point(0,0),top:new i.Point(0,Y),"top-left":new i.Point(ee,ee),"top-right":new i.Point(-ee,ee),bottom:new i.Point(0,-Y),"bottom-left":new i.Point(ee,-ee),"bottom-right":new i.Point(-ee,-ee),left:new i.Point(Y,0),right:new i.Point(-Y,0)}}if(Y instanceof i.Point||Array.isArray(Y)){var K=i.Point.convert(Y);return{center:K,top:K,"top-left":K,"top-right":K,bottom:K,"bottom-left":K,"bottom-right":K,left:K,right:K}}return{center:i.Point.convert(Y.center||[0,0]),top:i.Point.convert(Y.top||[0,0]),"top-left":i.Point.convert(Y["top-left"]||[0,0]),"top-right":i.Point.convert(Y["top-right"]||[0,0]),bottom:i.Point.convert(Y.bottom||[0,0]),"bottom-left":i.Point.convert(Y["bottom-left"]||[0,0]),"bottom-right":i.Point.convert(Y["bottom-right"]||[0,0]),left:i.Point.convert(Y.left||[0,0]),right:i.Point.convert(Y.right||[0,0])}}return St(new i.Point(0,0))}var Mt={version:i.version,supported:M,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:Dl,NavigationControl:ws,GeolocateControl:hl,AttributionControl:os,ScaleControl:la,FullscreenControl:rt,Popup:vt,Marker:xo,Style:dr,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:function(){Lt().acquire(ut)},clearPrewarmedResources:function(){var Y=_t;Y&&(Y.isPreloaded()&&Y.numActive()===1?(Y.release(ut),_t=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return i.config.ACCESS_TOKEN},set accessToken(Y){i.config.ACCESS_TOKEN=Y},get baseApiUrl(){return i.config.API_URL},set baseApiUrl(Y){i.config.API_URL=Y},get workerCount(){return dt.workerCount},set workerCount(Y){dt.workerCount=Y},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(Y){i.config.MAX_PARALLEL_IMAGE_REQUESTS=Y},clearStorage:function(Y){i.clearTileCache(Y)},workerUrl:""};return Mt}),d}()},27084:function(k){k.exports=Math.log2||function(m){return Math.log(m)*Math.LOG2E}},16825:function(k,m,t){k.exports=function(y,i){i||(i=y,y=window);var M=0,g=0,h=0,l={shift:!1,alt:!1,control:!1,meta:!1},a=!1;function u(T){var C=!1;return"altKey"in T&&(C=C||T.altKey!==l.alt,l.alt=!!T.altKey),"shiftKey"in T&&(C=C||T.shiftKey!==l.shift,l.shift=!!T.shiftKey),"ctrlKey"in T&&(C=C||T.ctrlKey!==l.control,l.control=!!T.ctrlKey),"metaKey"in T&&(C=C||T.metaKey!==l.meta,l.meta=!!T.metaKey),C}function o(T,C){var _=d.x(C),A=d.y(C);"buttons"in C&&(T=0|C.buttons),(T!==M||_!==g||A!==h||u(C))&&(M=0|T,g=_||0,h=A||0,i&&i(M,g,h,l))}function s(T){o(0,T)}function f(){(M||g||h||l.shift||l.alt||l.meta||l.control)&&(g=h=0,M=0,l.shift=l.alt=l.control=l.meta=!1,i&&i(0,0,0,l))}function c(T){u(T)&&i&&i(M,g,h,l)}function p(T){d.buttons(T)===0?o(0,T):o(M,T)}function w(T){o(M|d.buttons(T),T)}function v(T){o(M&~d.buttons(T),T)}function S(){a||(a=!0,y.addEventListener("mousemove",p),y.addEventListener("mousedown",w),y.addEventListener("mouseup",v),y.addEventListener("mouseleave",s),y.addEventListener("mouseenter",s),y.addEventListener("mouseout",s),y.addEventListener("mouseover",s),y.addEventListener("blur",f),y.addEventListener("keyup",c),y.addEventListener("keydown",c),y.addEventListener("keypress",c),y!==window&&(window.addEventListener("blur",f),window.addEventListener("keyup",c),window.addEventListener("keydown",c),window.addEventListener("keypress",c)))}S();var x={element:y};return Object.defineProperties(x,{enabled:{get:function(){return a},set:function(T){T?S():a&&(a=!1,y.removeEventListener("mousemove",p),y.removeEventListener("mousedown",w),y.removeEventListener("mouseup",v),y.removeEventListener("mouseleave",s),y.removeEventListener("mouseenter",s),y.removeEventListener("mouseout",s),y.removeEventListener("mouseover",s),y.removeEventListener("blur",f),y.removeEventListener("keyup",c),y.removeEventListener("keydown",c),y.removeEventListener("keypress",c),y!==window&&(window.removeEventListener("blur",f),window.removeEventListener("keyup",c),window.removeEventListener("keydown",c),window.removeEventListener("keypress",c)))},enumerable:!0},buttons:{get:function(){return M},enumerable:!0},x:{get:function(){return g},enumerable:!0},y:{get:function(){return h},enumerable:!0},mods:{get:function(){return l},enumerable:!0}}),x};var d=t(74311)},48956:function(k){var m={left:0,top:0};k.exports=function(t,d,y){d=d||t.currentTarget||t.srcElement,Array.isArray(y)||(y=[0,0]);var i,M=t.clientX||0,g=t.clientY||0,h=(i=d)===window||i===document||i===document.body?m:i.getBoundingClientRect();return y[0]=M-h.left,y[1]=g-h.top,y}},74311:function(k,m){function t(d){return d.target||d.srcElement||window}m.buttons=function(d){if(typeof d=="object"){if("buttons"in d)return d.buttons;if("which"in d){if((y=d.which)===2)return 4;if(y===3)return 2;if(y>0)return 1<=0)return 1<0&&o(f,L))}catch(b){w.call(new S(L),b)}}}function w(_){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=_,A.state=2,A.chain.length>0&&o(f,A))}function v(_,A,L,b){for(var O=0;O1&&(a*=T=Math.sqrt(T),u*=T);var C=a*a,_=u*u,A=(s==f?-1:1)*Math.sqrt(Math.abs((C*_-C*x*x-_*S*S)/(C*x*x+_*S*S)));A==1/0&&(A=1);var L=A*a*x/u+(h+c)/2,b=A*-u*S/a+(l+p)/2,O=Math.asin(((l-b)/u).toFixed(9)),I=Math.asin(((p-b)/u).toFixed(9));(O=hI&&(O-=2*m),!f&&I>O&&(I-=2*m)}if(Math.abs(I-O)>t){var R=I,D=c,F=p;I=O+t*(f&&I>O?1:-1);var B=i(c=L+a*Math.cos(I),p=b+u*Math.sin(I),a,u,o,0,f,D,F,[I,R,L,b])}var N=Math.tan((I-O)/4),q=4/3*a*N,j=4/3*u*N,$=[2*h-(h+q*Math.sin(O)),2*l-(l-j*Math.cos(O)),c+q*Math.sin(I),p-j*Math.cos(I),c,p];if(w)return $;B&&($=$.concat(B));for(var U=0;U<$.length;){var G=M($[U],$[U+1],o);$[U++]=G.x,$[U++]=G.y}return $}function M(h,l,a){return{x:h*Math.cos(a)-l*Math.sin(a),y:h*Math.sin(a)+l*Math.cos(a)}}function g(h){return h*(m/180)}k.exports=function(h){for(var l,a=[],u=0,o=0,s=0,f=0,c=null,p=null,w=0,v=0,S=0,x=h.length;S7&&(a.push(T.splice(0,7)),T.unshift("C"));break;case"S":var _=w,A=v;l!="C"&&l!="S"||(_+=_-u,A+=A-o),T=["C",_,A,T[1],T[2],T[3],T[4]];break;case"T":l=="Q"||l=="T"?(c=2*w-c,p=2*v-p):(c=w,p=v),T=y(w,v,c,p,T[1],T[2]);break;case"Q":c=T[1],p=T[2],T=y(w,v,T[1],T[2],T[3],T[4]);break;case"L":T=d(w,v,T[1],T[2]);break;case"H":T=d(w,v,T[1],v);break;case"V":T=d(w,v,w,T[1]);break;case"Z":T=d(w,v,s,f)}l=C,w=T[T.length-2],v=T[T.length-1],T.length>4?(u=T[T.length-4],o=T[T.length-3]):(u=w,o=v),a.push(T)}return a}},56131:function(k){var m=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function y(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}k.exports=function(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var M={},g=0;g<10;g++)M["_"+String.fromCharCode(g)]=g;if(Object.getOwnPropertyNames(M).map(function(l){return M[l]}).join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(l){h[l]=l}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(i,M){for(var g,h,l=y(i),a=1;a"u")return!1;for(var f in window)try{if(!o["$"+f]&&y.call(window,f)&&window[f]!==null&&typeof window[f]=="object")try{u(window[f])}catch{return!0}}catch{return!0}return!1}();d=function(f){var c=f!==null&&typeof f=="object",p=i.call(f)==="[object Function]",w=M(f),v=c&&i.call(f)==="[object String]",S=[];if(!c&&!p&&!w)throw new TypeError("Object.keys called on a non-object");var x=l&&p;if(v&&f.length>0&&!y.call(f,0))for(var T=0;T0)for(var C=0;C"u"||!s)return u(b);try{return u(b)}catch{return!1}}(f),L=0;L=0&&m.call(t.callee)==="[object Function]"),y}},88641:function(k){function m(y,i){if(typeof y!="string")return[y];var M=[y];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var g=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],h=i.escape||"___",l=!!i.flat;g.forEach(function(u){var o=new RegExp(["\\",u[0],"[^\\",u[0],"\\",u[1],"]*\\",u[1]].join("")),s=[];function f(c,p,w){var v=M.push(c.slice(u[0].length,-u[1].length))-1;return s.push(v),h+v+h}M.forEach(function(c,p){for(var w,v=0;c!=w;)if(w=c,c=c.replace(o,f),v++>1e4)throw Error("References have circular dependency. Please, check them.");M[p]=c}),s=s.reverse(),M=M.map(function(c){return s.forEach(function(p){c=c.replace(new RegExp("(\\"+h+p+"\\"+h+")","g"),u[0]+"$1"+u[1])}),c})});var a=new RegExp("\\"+h+"([0-9]+)\\"+h);return l?M:function u(o,s,f){for(var c,p=[],w=0;c=a.exec(o);){if(w++>1e4)throw Error("Circular references in parenthesis");p.push(o.slice(0,c.index)),p.push(u(s[c[1]],s)),o=o.slice(c.index+c[0].length)}return p.push(o),p}(M[0],M)}function t(y,i){if(i&&i.flat){var M,g=i&&i.escape||"___",h=y[0];if(!h)return"";for(var l=new RegExp("\\"+g+"([0-9]+)\\"+g),a=0;h!=M;){if(a++>1e4)throw Error("Circular references in "+y);M=h,h=h.replace(l,u)}return h}return y.reduce(function o(s,f){return Array.isArray(f)&&(f=f.reduce(o,"")),s+f},"");function u(o,s){if(y[s]==null)throw Error("Reference "+s+"is undefined");return y[s]}}function d(y,i){return Array.isArray(y)?t(y,i):m(y,i)}d.parse=m,d.stringify=t,k.exports=d},18863:function(k,m,t){var d=t(71299);k.exports=function(y){var i;return arguments.length>1&&(y=arguments),typeof y=="string"?y=y.split(/\s/).map(parseFloat):typeof y=="number"&&(y=[y]),y.length&&typeof y[0]=="number"?i=y.length===1?{width:y[0],height:y[0],x:0,y:0}:y.length===2?{width:y[0],height:y[1],x:0,y:0}:{x:y[0],y:y[1],width:y[2]-y[0]||0,height:y[3]-y[1]||0}:y&&(i={x:(y=d(y,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"})).left||0,y:y.top||0},y.width==null?y.right?i.width=y.right-i.x:i.width=0:i.width=y.width,y.height==null?y.bottom?i.height=y.bottom-i.y:i.height=0:i.height=y.height),i}},95616:function(k){k.exports=function(y){var i=[];return y.replace(t,function(M,g,h){var l=g.toLowerCase();for(h=function(a){var u=a.match(d);return u?u.map(Number):[]}(h),l=="m"&&h.length>2&&(i.push([g].concat(h.splice(0,2))),l="l",g=g=="m"?"l":"L");;){if(h.length==m[l])return h.unshift(g),i.push(h);if(h.lengthM!=f>M&&i<(s-u)*(M-o)/(f-o)+u&&(g=!g)}return g}},52142:function(k,m,t){var d,y=t(69444),i=t(29023),M=t(87263),g=t(11328),h=t(55968),l=t(10670),a=!1,u=i();function o(s,f,c){var p=d.segments(s),w=d.segments(f),v=c(d.combine(p,w));return d.polygon(v)}d={buildLog:function(s){return s===!0?a=y():s===!1&&(a=!1),a!==!1&&a.list},epsilon:function(s){return u.epsilon(s)},segments:function(s){var f=M(!0,u,a);return s.regions.forEach(f.addRegion),{segments:f.calculate(s.inverted),inverted:s.inverted}},combine:function(s,f){return{combined:M(!1,u,a).calculate(s.segments,s.inverted,f.segments,f.inverted),inverted1:s.inverted,inverted2:f.inverted}},selectUnion:function(s){return{segments:h.union(s.combined,a),inverted:s.inverted1||s.inverted2}},selectIntersect:function(s){return{segments:h.intersect(s.combined,a),inverted:s.inverted1&&s.inverted2}},selectDifference:function(s){return{segments:h.difference(s.combined,a),inverted:s.inverted1&&!s.inverted2}},selectDifferenceRev:function(s){return{segments:h.differenceRev(s.combined,a),inverted:!s.inverted1&&s.inverted2}},selectXor:function(s){return{segments:h.xor(s.combined,a),inverted:s.inverted1!==s.inverted2}},polygon:function(s){return{regions:g(s.segments,u,a),inverted:s.inverted}},polygonFromGeoJSON:function(s){return l.toPolygon(d,s)},polygonToGeoJSON:function(s){return l.fromPolygon(d,u,s)},union:function(s,f){return o(s,f,d.selectUnion)},intersect:function(s,f){return o(s,f,d.selectIntersect)},difference:function(s,f){return o(s,f,d.selectDifference)},differenceRev:function(s,f){return o(s,f,d.selectDifferenceRev)},xor:function(s,f){return o(s,f,d.selectXor)}},typeof window=="object"&&(window.PolyBool=d),k.exports=d},69444:function(k){k.exports=function(){var m,t=0,d=!1;function y(i,M){return m.list.push({type:i,data:M?JSON.parse(JSON.stringify(M)):void 0}),m}return m={list:[],segmentId:function(){return t++},checkIntersection:function(i,M){return y("check",{seg1:i,seg2:M})},segmentChop:function(i,M){return y("div_seg",{seg:i,pt:M}),y("chop",{seg:i,pt:M})},statusRemove:function(i){return y("pop_seg",{seg:i})},segmentUpdate:function(i){return y("seg_update",{seg:i})},segmentNew:function(i,M){return y("new_seg",{seg:i,primary:M})},segmentRemove:function(i){return y("rem_seg",{seg:i})},tempStatus:function(i,M,g){return y("temp_status",{seg:i,above:M,below:g})},rewind:function(i){return y("rewind",{seg:i})},status:function(i,M,g){return y("status",{seg:i,above:M,below:g})},vert:function(i){return i===d?m:(d=i,y("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),y("log",{txt:i})},reset:function(){return y("reset")},selected:function(i){return y("selected",{segs:i})},chainStart:function(i){return y("chain_start",{seg:i})},chainRemoveHead:function(i,M){return y("chain_rem_head",{index:i,pt:M})},chainRemoveTail:function(i,M){return y("chain_rem_tail",{index:i,pt:M})},chainNew:function(i,M){return y("chain_new",{pt1:i,pt2:M})},chainMatch:function(i){return y("chain_match",{index:i})},chainClose:function(i){return y("chain_close",{index:i})},chainAddHead:function(i,M){return y("chain_add_head",{index:i,pt:M})},chainAddTail:function(i,M){return y("chain_add_tail",{index:i,pt:M})},chainConnect:function(i,M){return y("chain_con",{index1:i,index2:M})},chainReverse:function(i){return y("chain_rev",{index:i})},chainJoin:function(i,M){return y("chain_join",{index1:i,index2:M})},done:function(){return y("done")}}}},29023:function(k){k.exports=function(m){typeof m!="number"&&(m=1e-10);var t={epsilon:function(d){return typeof d=="number"&&(m=d),m},pointAboveOrOnLine:function(d,y,i){var M=y[0],g=y[1],h=i[0],l=i[1],a=d[0];return(h-M)*(d[1]-g)-(l-g)*(a-M)>=-m},pointBetween:function(d,y,i){var M=d[1]-y[1],g=i[0]-y[0],h=d[0]-y[0],l=i[1]-y[1],a=h*g+M*l;return!(a-m)},pointsSameX:function(d,y){return Math.abs(d[0]-y[0])m!=h-M>m&&(g-u)*(M-o)/(h-o)+u-i>m&&(l=!l),g=u,h=o}return l}};return t}},10670:function(k){var m={toPolygon:function(t,d){function y(g){if(g.length<=0)return t.segments({inverted:!1,regions:[]});function h(u){var o=u.slice(0,u.length-1);return t.segments({inverted:!1,regions:[o]})}for(var l=h(g[0]),a=1;a0})}function w(R,D){var F=R.seg,B=D.seg,N=F.start,q=F.end,j=B.start,$=B.end;M&&M.checkIntersection(F,B);var U=i.linesIntersect(N,q,j,$);if(U===!1){if(!i.pointsCollinear(N,q,j)||i.pointsSame(N,$)||i.pointsSame(q,j))return!1;var G=i.pointsSame(N,j),W=i.pointsSame(q,$);if(G&&W)return D;var H=!G&&i.pointBetween(N,j,$),ne=!W&&i.pointBetween(q,j,$);if(G)return ne?u(D,q):u(R,$),D;H&&(W||(ne?u(D,q):u(R,$)),u(D,N))}else U.alongA===0&&(U.alongB===-1?u(R,j):U.alongB===0?u(R,U.pt):U.alongB===1&&u(R,$)),U.alongB===0&&(U.alongA===-1?u(D,N):U.alongA===0?u(D,U.pt):U.alongA===1&&u(D,q));return!1}for(var v=[];!h.isEmpty();){var S=h.getHead();if(M&&M.vert(S.pt[0]),S.isStart){let R=function(){if(T){var D=w(S,T);if(D)return D}return!!C&&w(S,C)};var I=R;M&&M.segmentNew(S.seg,S.primary);var x=p(S),T=x.before?x.before.ev:null,C=x.after?x.after.ev:null;M&&M.tempStatus(S.seg,!!T&&T.seg,!!C&&C.seg);var _,A,L=R();if(L&&(y?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below)&&(L.seg.myFill.above=!L.seg.myFill.above):L.seg.otherFill=S.seg.myFill,M&&M.segmentUpdate(L.seg),S.other.remove(),S.remove()),h.getHead()!==S){M&&M.rewind(S.seg);continue}y?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below,S.seg.myFill.below=C?C.seg.myFill.above:s,S.seg.myFill.above=A?!S.seg.myFill.below:S.seg.myFill.below):S.seg.otherFill===null&&(_=C?S.primary===C.primary?C.seg.otherFill.above:C.seg.myFill.above:S.primary?f:s,S.seg.otherFill={above:_,below:_}),M&&M.status(S.seg,!!T&&T.seg,!!C&&C.seg),S.other.status=x.insert(d.node({ev:S}))}else{var b=S.status;if(b===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(c.exists(b.prev)&&c.exists(b.next)&&w(b.prev.ev,b.next.ev),M&&M.statusRemove(b.ev.seg),b.remove(),!S.primary){var O=S.seg.myFill;S.seg.myFill=S.seg.otherFill,S.seg.otherFill=O}v.push(S.seg)}h.getHead().remove()}return M&&M.done(),v}return y?{addRegion:function(s){for(var f,c,p,w=s[s.length-1],v=0;v0&&!this.aborted;){var M=this.ifds_to_read.shift();M.offset&&this.scan_ifd(M.id,M.offset,y)}},d.prototype.read_uint16=function(y){var i=this.input;if(y+2>i.length)throw m("unexpected EOF","EBADDATA");return this.big_endian?256*i[y]+i[y+1]:i[y]+256*i[y+1]},d.prototype.read_uint32=function(y){var i=this.input;if(y+4>i.length)throw m("unexpected EOF","EBADDATA");return this.big_endian?16777216*i[y]+65536*i[y+1]+256*i[y+2]+i[y+3]:i[y]+256*i[y+1]+65536*i[y+2]+16777216*i[y+3]},d.prototype.is_subifd_link=function(y,i){return y===0&&i===34665||y===0&&i===34853||y===34665&&i===40965},d.prototype.exif_format_length=function(y){switch(y){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},d.prototype.exif_format_read=function(y,i){var M;switch(y){case 1:case 2:return this.input[i];case 6:return(M=this.input[i])|33554430*(128&M);case 3:return this.read_uint16(i);case 8:return(M=this.read_uint16(i))|131070*(32768&M);case 4:return this.read_uint32(i);case 9:return 0|this.read_uint32(i);default:return null}},d.prototype.scan_ifd=function(y,i,M){var g=this.read_uint16(i);i+=2;for(var h=0;hthis.input.length)throw m("unexpected EOF","EBADDATA");for(var p=[],w=f,v=0;v0&&(this.ifds_to_read.push({id:l,offset:p[0]}),c=!0),M({is_big_endian:this.big_endian,ifd:y,tag:l,format:a,count:u,entry_offset:i+this.start,data_length:s,data_offset:f+this.start,value:p,is_subifd_link:c})===!1)return void(this.aborted=!0);i+=12}y===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},k.exports.ExifParser=d,k.exports.get_orientation=function(y){var i=0;try{return new d(y,0,y.length).each(function(M){if(M.ifd===0&&M.tag===274&&Array.isArray(M.value))return i=M.value[0],!1}),i}catch{return-1}}},76767:function(k,m,t){var d=t(14847).n8,y=t(14847).Ag;function i(u,o){if(u.length<4+o)return null;var s=y(u,o);return u.length>4&15,f=15&u[4],c=u[5]>>4&15,p=d(u,6),w=8,v=0;vx.width||S.width===x.width&&S.height>x.height?S:x}),c=s.reduce(function(S,x){return S.height>x.height||S.height===x.height&&S.width>x.width?S:x}),f.width>c.height||f.width===c.height&&f.height>c.width?f:c),w=1;o.transforms.forEach(function(S){var x={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},T={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(S.type==="imir"&&(w=S.value===0?T[w]:x[w=x[w=T[w]]]),S.type==="irot")for(var C=0;C1&&(p.variants=c.variants),c.orientation&&(p.orientation=c.orientation),c.exif_location&&c.exif_location.offset+c.exif_location.length<=l.length){var w=i(l,c.exif_location.offset),v=l.slice(c.exif_location.offset+w+4,c.exif_location.offset+c.exif_location.length),S=g.get_orientation(v);S>0&&(p.orientation=S)}return p}}}}}}},2504:function(k,m,t){var d=t(14847).eG,y=t(14847).OF,i=t(14847).mP,M=d("BM");k.exports=function(g){if(!(g.length<26)&&y(g,0,M))return{width:i(g,18),height:i(g,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(k,m,t){var d=t(14847).eG,y=t(14847).OF,i=t(14847).mP,M=d("GIF87a"),g=d("GIF89a");k.exports=function(h){if(!(h.length<10)&&(y(h,0,M)||y(h,0,g)))return{width:i(h,6),height:i(h,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(k,m,t){var d=t(14847).mP;k.exports=function(y){var i=d(y,0),M=d(y,2),g=d(y,4);if(i===0&&M===1&&g){for(var h=[],l={width:0,height:0},a=0;al.width||o>l.height)&&(l=s)}return{width:l.width,height:l.height,variants:h,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(k,m,t){var d=t(14847).n8,y=t(14847).eG,i=t(14847).OF,M=t(71371),g=y("Exif\0\0");k.exports=function(h){if(!(h.length<2)&&h[0]===255&&h[1]===216&&h[2]===255)for(var l=2;;){for(;;){if(h.length-l<2)return;if(h[l++]===255)break}for(var a,u,o=h[l++];o===255;)o=h[l++];if(208<=o&&o<=217||o===1)a=0;else{if(!(192<=o&&o<=254)||h.length-l<2)return;a=d(h,l)-2,l+=2}if(o===217||o===218)return;if(o===225&&a>=10&&i(h,l,g)&&(u=M.get_orientation(h.slice(l+6,l+a))),a>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(h.length-l0&&(s.orientation=u),s}l+=a}}},6303:function(k,m,t){var d=t(14847).eG,y=t(14847).OF,i=t(14847).Ag,M=d(`ย‰PNG\r +`})}}var Sl=Object.freeze({__proto__:null,prelude:Pr,background:Lr,backgroundPattern:zr,circle:gr,clippingMask:Fr,heatmap:ii,heatmapTexture:ji,collisionBox:ta,collisionCircle:sa,debug:uo,fill:La,fillOutline:Xi,fillOutlinePattern:Do,fillPattern:as,fillExtrusion:tl,fillExtrusionPattern:Cu,hillshadePrepare:gh,hillshade:Af,line:Eu,lineGradient:os,linePattern:Sf,lineSDF:$a,raster:uc,symbolIcon:Yo,symbolSDF:ss,symbolTextAndIcon:Al}),ms=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};ms.prototype.bind=function($,ee,K,le,Te,De,He,Ze){this.context=$;for(var at=this.boundPaintVertexBuffers.length!==le.length,Tt=0;!at&&Tt>16,Ze>>16],u_pixel_coord_lower:[65535&He,65535&Ze]}}Is.prototype.draw=function($,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie,Fe,Ue){var We,Xe=$.gl;if(!this.failedToCreate){for(var tt in $.program.set(this.program),$.setDepthMode(K),$.setStencilMode(le),$.setColorMode(Te),$.setCullFace(De),this.fixedUniforms)this.fixedUniforms[tt].set(He[tt]);Ie&&Ie.setUniforms($,this.binderUniforms,se,{zoom:ve});for(var lt=(We={},We[Xe.LINES]=2,We[Xe.TRIANGLES]=3,We[Xe.LINE_STRIP]=1,We)[ee],mt=0,zt=At.get();mt0?1-1/(1.001-He):-He),u_contrast_factor:(De=Te.paint.get("raster-contrast"),De>0?1/(1-De):1+De),u_spin_weights:Ql(Te.paint.get("raster-hue-rotate"))};var De,He};function Ql($){$*=Math.PI/180;var ee=Math.sin($),K=Math.cos($);return[(2*K+1)/3,(-Math.sqrt(3)*ee-K+1)/3,(Math.sqrt(3)*ee-K+1)/3]}var ol,Hi=function($,ee,K,le,Te,De,He,Ze,at,Tt){var At=Te.transform;return{u_is_size_zoom_constant:+($==="constant"||$==="source"),u_is_size_feature_constant:+($==="constant"||$==="camera"),u_size_t:ee?ee.uSizeT:0,u_size:ee?ee.uSize:0,u_camera_to_center_distance:At.cameraToCenterDistance,u_pitch:At.pitch/360*2*Math.PI,u_rotate_symbol:+K,u_aspect_ratio:At.width/At.height,u_fade_change:Te.options.fadeDuration?Te.symbolFadeChange:1,u_matrix:De,u_label_plane_matrix:He,u_coord_matrix:Ze,u_is_text:+at,u_pitch_with_map:+le,u_texsize:Tt,u_texture:0}},El=function($,ee,K,le,Te,De,He,Ze,at,Tt,At){var se=Te.transform;return i.extend(Hi($,ee,K,le,Te,De,He,Ze,at,Tt),{u_gamma_scale:le?Math.cos(se._pitch)*se.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+At})},ad=function($,ee,K,le,Te,De,He,Ze,at,Tt){return i.extend(El($,ee,K,le,Te,De,He,Ze,!0,at,!0),{u_texsize_icon:Tt,u_texture_icon:1})},jc=function($,ee,K){return{u_matrix:$,u_opacity:ee,u_color:K}},fc=function($,ee,K,le,Te,De){return i.extend(function(He,Ze,at,Tt){var At=at.imageManager.getPattern(He.from.toString()),se=at.imageManager.getPattern(He.to.toString()),ve=at.imageManager.getPixelSize(),Ie=ve.width,Fe=ve.height,Ue=Math.pow(2,Tt.tileID.overscaledZ),We=Tt.tileSize*Math.pow(2,at.transform.tileZoom)/Ue,Xe=We*(Tt.tileID.canonical.x+Tt.tileID.wrap*Ue),tt=We*Tt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:At.tl,u_pattern_br_a:At.br,u_pattern_tl_b:se.tl,u_pattern_br_b:se.br,u_texsize:[Ie,Fe],u_mix:Ze.t,u_pattern_size_a:At.displaySize,u_pattern_size_b:se.displaySize,u_scale_a:Ze.fromScale,u_scale_b:Ze.toScale,u_tile_units_to_pixels:1/vr(Tt,1,at.transform.tileZoom),u_pixel_coord_upper:[Xe>>16,tt>>16],u_pixel_coord_lower:[65535&Xe,65535&tt]}}(le,De,K,Te),{u_matrix:$,u_opacity:ee})},eu={fillExtrusion:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_lightpos:new i.Uniform3f($,ee.u_lightpos),u_lightintensity:new i.Uniform1f($,ee.u_lightintensity),u_lightcolor:new i.Uniform3f($,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f($,ee.u_vertical_gradient),u_opacity:new i.Uniform1f($,ee.u_opacity)}},fillExtrusionPattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_lightpos:new i.Uniform3f($,ee.u_lightpos),u_lightintensity:new i.Uniform1f($,ee.u_lightintensity),u_lightcolor:new i.Uniform3f($,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f($,ee.u_vertical_gradient),u_height_factor:new i.Uniform1f($,ee.u_height_factor),u_image:new i.Uniform1i($,ee.u_image),u_texsize:new i.Uniform2f($,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade),u_opacity:new i.Uniform1f($,ee.u_opacity)}},fill:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},fillPattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_image:new i.Uniform1i($,ee.u_image),u_texsize:new i.Uniform2f($,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade)}},fillOutline:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_world:new i.Uniform2f($,ee.u_world)}},fillOutlinePattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_world:new i.Uniform2f($,ee.u_world),u_image:new i.Uniform1i($,ee.u_image),u_texsize:new i.Uniform2f($,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade)}},circle:function($,ee){return{u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i($,ee.u_scale_with_map),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_extrude_scale:new i.Uniform2f($,ee.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},collisionBox:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f($,ee.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f($,ee.u_extrude_scale),u_overscale_factor:new i.Uniform1f($,ee.u_overscale_factor)}},collisionCircle:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_inv_matrix:new i.UniformMatrix4f($,ee.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f($,ee.u_viewport_size)}},debug:function($,ee){return{u_color:new i.UniformColor($,ee.u_color),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_overlay:new i.Uniform1i($,ee.u_overlay),u_overlay_scale:new i.Uniform1f($,ee.u_overlay_scale)}},clippingMask:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},heatmap:function($,ee){return{u_extrude_scale:new i.Uniform1f($,ee.u_extrude_scale),u_intensity:new i.Uniform1f($,ee.u_intensity),u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},heatmapTexture:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_world:new i.Uniform2f($,ee.u_world),u_image:new i.Uniform1i($,ee.u_image),u_color_ramp:new i.Uniform1i($,ee.u_color_ramp),u_opacity:new i.Uniform1f($,ee.u_opacity)}},hillshade:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_image:new i.Uniform1i($,ee.u_image),u_latrange:new i.Uniform2f($,ee.u_latrange),u_light:new i.Uniform2f($,ee.u_light),u_shadow:new i.UniformColor($,ee.u_shadow),u_highlight:new i.UniformColor($,ee.u_highlight),u_accent:new i.UniformColor($,ee.u_accent)}},hillshadePrepare:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_image:new i.Uniform1i($,ee.u_image),u_dimension:new i.Uniform2f($,ee.u_dimension),u_zoom:new i.Uniform1f($,ee.u_zoom),u_maxzoom:new i.Uniform1f($,ee.u_maxzoom),u_unpack:new i.Uniform4f($,ee.u_unpack)}},line:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels)}},lineGradient:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels),u_image:new i.Uniform1i($,ee.u_image)}},linePattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_texsize:new i.Uniform2f($,ee.u_texsize),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_image:new i.Uniform1i($,ee.u_image),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade)}},lineSDF:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels),u_patternscale_a:new i.Uniform2f($,ee.u_patternscale_a),u_patternscale_b:new i.Uniform2f($,ee.u_patternscale_b),u_sdfgamma:new i.Uniform1f($,ee.u_sdfgamma),u_image:new i.Uniform1i($,ee.u_image),u_tex_y_a:new i.Uniform1f($,ee.u_tex_y_a),u_tex_y_b:new i.Uniform1f($,ee.u_tex_y_b),u_mix:new i.Uniform1f($,ee.u_mix)}},raster:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_tl_parent:new i.Uniform2f($,ee.u_tl_parent),u_scale_parent:new i.Uniform1f($,ee.u_scale_parent),u_buffer_scale:new i.Uniform1f($,ee.u_buffer_scale),u_fade_t:new i.Uniform1f($,ee.u_fade_t),u_opacity:new i.Uniform1f($,ee.u_opacity),u_image0:new i.Uniform1i($,ee.u_image0),u_image1:new i.Uniform1i($,ee.u_image1),u_brightness_low:new i.Uniform1f($,ee.u_brightness_low),u_brightness_high:new i.Uniform1f($,ee.u_brightness_high),u_saturation_factor:new i.Uniform1f($,ee.u_saturation_factor),u_contrast_factor:new i.Uniform1f($,ee.u_contrast_factor),u_spin_weights:new i.Uniform3f($,ee.u_spin_weights)}},symbolIcon:function($,ee){return{u_is_size_zoom_constant:new i.Uniform1i($,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i($,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f($,ee.u_size_t),u_size:new i.Uniform1f($,ee.u_size),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f($,ee.u_pitch),u_rotate_symbol:new i.Uniform1i($,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f($,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f($,ee.u_fade_change),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f($,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f($,ee.u_coord_matrix),u_is_text:new i.Uniform1i($,ee.u_is_text),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_texsize:new i.Uniform2f($,ee.u_texsize),u_texture:new i.Uniform1i($,ee.u_texture)}},symbolSDF:function($,ee){return{u_is_size_zoom_constant:new i.Uniform1i($,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i($,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f($,ee.u_size_t),u_size:new i.Uniform1f($,ee.u_size),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f($,ee.u_pitch),u_rotate_symbol:new i.Uniform1i($,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f($,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f($,ee.u_fade_change),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f($,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f($,ee.u_coord_matrix),u_is_text:new i.Uniform1i($,ee.u_is_text),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_texsize:new i.Uniform2f($,ee.u_texsize),u_texture:new i.Uniform1i($,ee.u_texture),u_gamma_scale:new i.Uniform1f($,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i($,ee.u_is_halo)}},symbolTextAndIcon:function($,ee){return{u_is_size_zoom_constant:new i.Uniform1i($,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i($,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f($,ee.u_size_t),u_size:new i.Uniform1f($,ee.u_size),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f($,ee.u_pitch),u_rotate_symbol:new i.Uniform1i($,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f($,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f($,ee.u_fade_change),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f($,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f($,ee.u_coord_matrix),u_is_text:new i.Uniform1i($,ee.u_is_text),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_texsize:new i.Uniform2f($,ee.u_texsize),u_texsize_icon:new i.Uniform2f($,ee.u_texsize_icon),u_texture:new i.Uniform1i($,ee.u_texture),u_texture_icon:new i.Uniform1i($,ee.u_texture_icon),u_gamma_scale:new i.Uniform1f($,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i($,ee.u_is_halo)}},background:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_opacity:new i.Uniform1f($,ee.u_opacity),u_color:new i.UniformColor($,ee.u_color)}},backgroundPattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_opacity:new i.Uniform1f($,ee.u_opacity),u_image:new i.Uniform1i($,ee.u_image),u_pattern_tl_a:new i.Uniform2f($,ee.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f($,ee.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f($,ee.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f($,ee.u_pattern_br_b),u_texsize:new i.Uniform2f($,ee.u_texsize),u_mix:new i.Uniform1f($,ee.u_mix),u_pattern_size_a:new i.Uniform2f($,ee.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f($,ee.u_pattern_size_b),u_scale_a:new i.Uniform1f($,ee.u_scale_a),u_scale_b:new i.Uniform1f($,ee.u_scale_b),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f($,ee.u_tile_units_to_pixels)}}};function Pu($,ee,K,le,Te,De,He){for(var Ze=$.context,at=Ze.gl,Tt=$.useProgram("collisionBox"),At=[],se=0,ve=0,Ie=0;Ie0){var mt=i.create(),zt=Xe;i.mul(mt,We.placementInvProjMatrix,$.transform.glCoordMatrix),i.mul(mt,mt,We.placementViewportMatrix),At.push({circleArray:lt,circleOffset:ve,transform:zt,invTransform:mt}),ve=se+=lt.length/4}tt&&Tt.draw(Ze,at.LINES,qt.disabled,Ke.disabled,$.colorModeForRenderPass(),qe.disabled,xh(Xe,$.transform,Ue),K.id,tt.layoutVertexBuffer,tt.indexBuffer,tt.segments,null,$.transform.zoom,null,null,tt.collisionVertexBuffer)}}if(He&&At.length){var Ut=$.useProgram("collisionCircle"),Ht=new i.StructArrayLayout2f1f2i16;Ht.resize(4*se),Ht._trim();for(var en=0,vn=0,tn=At;vn=0&&(Fe[We.associatedIconIndex]={shiftedAnchor:tn,angle:ln})}else rr(We.numGlyphs,ve)}if(At){Ie.clear();for(var Cn=$.icon.placedSymbolArray,_n=0;_n0){var He=i.browser.now(),Ze=(He-$.timeAdded)/De,at=ee?(He-ee.timeAdded)/De:-1,Tt=K.getSource(),At=Te.coveringZoomLevel({tileSize:Tt.tileSize,roundZoom:Tt.roundZoom}),se=!ee||Math.abs(ee.tileID.overscaledZ-At)>Math.abs($.tileID.overscaledZ-At),ve=se&&$.refreshedUponExpiration?1:i.clamp(se?Ze:1-at,0,1);return $.refreshedUponExpiration&&Ze>=1&&($.refreshedUponExpiration=!1),ee?{opacity:1,mix:1-ve}:{opacity:ve,mix:0}}return{opacity:1,mix:0}}var gc=new i.Color(1,0,0,1),vc=new i.Color(0,1,0,1),Of=new i.Color(0,0,1,1),Ll=new i.Color(1,0,1,1),Uc=new i.Color(0,1,1,1);function yc($){var ee=$.transform.padding;Rf($,$.transform.height-(ee.top||0),3,gc),Rf($,ee.bottom||0,3,vc),bc($,ee.left||0,3,Of),bc($,$.transform.width-(ee.right||0),3,Ll);var K=$.transform.centerPoint;(function(le,Te,De,He){var Ze=20,at=2;Du(le,Te-at/2,De-Ze/2,at,Ze,He),Du(le,Te-Ze/2,De-at/2,Ze,at,He)})($,K.x,$.transform.height-K.y,Uc)}function Rf($,ee,K,le){Du($,0,ee+K/2,$.transform.width,K,le)}function bc($,ee,K,le){Du($,ee-K/2,0,K,$.transform.height,le)}function Du($,ee,K,le,Te,De){var He=$.context,Ze=He.gl;Ze.enable(Ze.SCISSOR_TEST),Ze.scissor(ee*i.browser.devicePixelRatio,K*i.browser.devicePixelRatio,le*i.browser.devicePixelRatio,Te*i.browser.devicePixelRatio),He.clear({color:De}),Ze.disable(Ze.SCISSOR_TEST)}function ru($,ee,K){var le=$.context,Te=le.gl,De=K.posMatrix,He=$.useProgram("debug"),Ze=qt.disabled,at=Ke.disabled,Tt=$.colorModeForRenderPass(),At="$debug";le.activeTexture.set(Te.TEXTURE0),$.emptyTexture.bind(Te.LINEAR,Te.CLAMP_TO_EDGE),He.draw(le,Te.LINE_STRIP,Ze,at,Tt,qe.disabled,rl(De,i.Color.red),At,$.debugBuffer,$.tileBorderIndexBuffer,$.debugSegments);var se=ee.getTileByID(K.key).latestRawTileData,ve=se&&se.byteLength||0,Ie=Math.floor(ve/1024),Fe=ee.getTile(K).tileSize,Ue=512/Math.min(Fe,512)*(K.overscaledZ/$.transform.zoom)*.5,We=K.canonical.toString();K.overscaledZ!==K.canonical.z&&(We+=" => "+K.overscaledZ),function(Xe,tt){Xe.initDebugOverlayCanvas();var lt=Xe.debugOverlayCanvas,mt=Xe.context.gl,zt=Xe.debugOverlayCanvas.getContext("2d");zt.clearRect(0,0,lt.width,lt.height),zt.shadowColor="white",zt.shadowBlur=2,zt.lineWidth=1.5,zt.strokeStyle="white",zt.textBaseline="top",zt.font="bold 36px Open Sans, sans-serif",zt.fillText(tt,5,5),zt.strokeText(tt,5,5),Xe.debugOverlayTexture.update(lt),Xe.debugOverlayTexture.bind(mt.LINEAR,mt.CLAMP_TO_EDGE)}($,We+" "+Ie+"kb"),He.draw(le,Te.TRIANGLES,Ze,at,Je.alphaBlended,qe.disabled,rl(De,i.Color.transparent,Ue),At,$.debugBuffer,$.quadTriangleIndexBuffer,$.debugSegments)}var iu={symbol:function($,ee,K,le,Te){if($.renderPass==="translucent"){var De=Ke.disabled,He=$.colorModeForRenderPass();K.layout.get("text-variable-anchor")&&function(Ze,at,Tt,At,se,ve,Ie){for(var Fe=at.transform,Ue=se==="map",We=ve==="map",Xe=0,tt=Ze;Xe256&&this.clearStencil(),K.setColorMode(Je.disabled),K.setDepthMode(qt.disabled);var Te=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var De=0,He=ee;De256&&this.clearStencil();var $=this.nextStencilID++,ee=this.context.gl;return new Ke({func:ee.NOTEQUAL,mask:255},$,255,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilModeForClipping=function($){var ee=this.context.gl;return new Ke({func:ee.EQUAL,mask:255},this._tileClippingMaskIDs[$.key],0,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilConfigForOverlap=function($){var ee,K=this.context.gl,le=$.sort(function(at,Tt){return Tt.overscaledZ-at.overscaledZ}),Te=le[le.length-1].overscaledZ,De=le[0].overscaledZ-Te+1;if(De>1){this.currentStencilSource=void 0,this.nextStencilID+De>256&&this.clearStencil();for(var He={},Ze=0;Ze=0;this.currentLayer--){var zt=this.style._layers[le[this.currentLayer]],Ut=Te[zt.source],Ht=Tt[zt.source];this._renderTileClippingMasks(zt,Ht),this.renderLayer(this,Ut,zt,Ht)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?ee.pop():null},Ki.prototype.isPatternMissing=function($){if(!$)return!1;if(!$.from||!$.to)return!0;var ee=this.imageManager.getPattern($.from.toString()),K=this.imageManager.getPattern($.to.toString());return!ee||!K},Ki.prototype.useProgram=function($,ee){this.cache=this.cache||{};var K=""+$+(ee?ee.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[K]||(this.cache[K]=new Is(this.context,Sl[$],ee,eu[$],this._showOverdrawInspector)),this.cache[K]},Ki.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},Ki.prototype.setBaseState=function(){var $=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set($.FUNC_ADD)},Ki.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var $=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,$.RGBA)}},Ki.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Il=function($,ee){this.points=$,this.planes=ee};Il.fromInvProjectionMatrix=function($,ee,K){var le=Math.pow(2,K),Te=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(function(He){return i.transformMat4([],He,$)}).map(function(He){return i.scale$1([],He,1/He[3]/ee*le)}),De=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(He){var Ze=i.sub([],Te[He[0]],Te[He[1]]),at=i.sub([],Te[He[2]],Te[He[1]]),Tt=i.normalize([],i.cross([],Ze,at)),At=-i.dot(Tt,Te[He[1]]);return Tt.concat(At)});return new Il(Te,De)};var Pl=function($,ee){this.min=$,this.max=ee,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Pl.prototype.quadrant=function($){for(var ee=[$%2==0,$<2],K=i.clone$2(this.min),le=i.clone$2(this.max),Te=0;Te=0;if(De===0)return 0;De!==ee.length&&(K=!1)}if(K)return 2;for(var Ze=0;Ze<3;Ze++){for(var at=Number.MAX_VALUE,Tt=-Number.MAX_VALUE,At=0;At<$.points.length;At++){var se=$.points[At][Ze]-this.min[Ze];at=Math.min(at,se),Tt=Math.max(Tt,se)}if(Tt<0||at>this.max[Ze]-this.min[Ze])return 0}return 1};var po=function($,ee,K,le){if($===void 0&&($=0),ee===void 0&&(ee=0),K===void 0&&(K=0),le===void 0&&(le=0),isNaN($)||$<0||isNaN(ee)||ee<0||isNaN(K)||K<0||isNaN(le)||le<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=$,this.bottom=ee,this.left=K,this.right=le};po.prototype.interpolate=function($,ee,K){return ee.top!=null&&$.top!=null&&(this.top=i.number($.top,ee.top,K)),ee.bottom!=null&&$.bottom!=null&&(this.bottom=i.number($.bottom,ee.bottom,K)),ee.left!=null&&$.left!=null&&(this.left=i.number($.left,ee.left,K)),ee.right!=null&&$.right!=null&&(this.right=i.number($.right,ee.right,K)),this},po.prototype.getCenter=function($,ee){var K=i.clamp((this.left+$-this.right)/2,0,$),le=i.clamp((this.top+ee-this.bottom)/2,0,ee);return new i.Point(K,le)},po.prototype.equals=function($){return this.top===$.top&&this.bottom===$.bottom&&this.left===$.left&&this.right===$.right},po.prototype.clone=function(){return new po(this.top,this.bottom,this.left,this.right)},po.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Ri=function($,ee,K,le,Te){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Te===void 0||Te,this._minZoom=$||0,this._maxZoom=ee||22,this._minPitch=K??0,this._maxPitch=le??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new po,this._posMatrixCache={},this._alignedPosMatrixCache={}},Bi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};Ri.prototype.clone=function(){var $=new Ri(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return $.tileSize=this.tileSize,$.latRange=this.latRange,$.width=this.width,$.height=this.height,$._center=this._center,$.zoom=this.zoom,$.angle=this.angle,$._fov=this._fov,$._pitch=this._pitch,$._unmodified=this._unmodified,$._edgeInsets=this._edgeInsets.clone(),$._calcMatrices(),$},Bi.minZoom.get=function(){return this._minZoom},Bi.minZoom.set=function($){this._minZoom!==$&&(this._minZoom=$,this.zoom=Math.max(this.zoom,$))},Bi.maxZoom.get=function(){return this._maxZoom},Bi.maxZoom.set=function($){this._maxZoom!==$&&(this._maxZoom=$,this.zoom=Math.min(this.zoom,$))},Bi.minPitch.get=function(){return this._minPitch},Bi.minPitch.set=function($){this._minPitch!==$&&(this._minPitch=$,this.pitch=Math.max(this.pitch,$))},Bi.maxPitch.get=function(){return this._maxPitch},Bi.maxPitch.set=function($){this._maxPitch!==$&&(this._maxPitch=$,this.pitch=Math.min(this.pitch,$))},Bi.renderWorldCopies.get=function(){return this._renderWorldCopies},Bi.renderWorldCopies.set=function($){$===void 0?$=!0:$===null&&($=!1),this._renderWorldCopies=$},Bi.worldSize.get=function(){return this.tileSize*this.scale},Bi.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Bi.size.get=function(){return new i.Point(this.width,this.height)},Bi.bearing.get=function(){return-this.angle/Math.PI*180},Bi.bearing.set=function($){var ee=-i.wrap($,-180,180)*Math.PI/180;this.angle!==ee&&(this._unmodified=!1,this.angle=ee,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Bi.pitch.get=function(){return this._pitch/Math.PI*180},Bi.pitch.set=function($){var ee=i.clamp($,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ee&&(this._unmodified=!1,this._pitch=ee,this._calcMatrices())},Bi.fov.get=function(){return this._fov/Math.PI*180},Bi.fov.set=function($){$=Math.max(.01,Math.min(60,$)),this._fov!==$&&(this._unmodified=!1,this._fov=$/180*Math.PI,this._calcMatrices())},Bi.zoom.get=function(){return this._zoom},Bi.zoom.set=function($){var ee=Math.min(Math.max($,this.minZoom),this.maxZoom);this._zoom!==ee&&(this._unmodified=!1,this._zoom=ee,this.scale=this.zoomScale(ee),this.tileZoom=Math.floor(ee),this.zoomFraction=ee-this.tileZoom,this._constrain(),this._calcMatrices())},Bi.center.get=function(){return this._center},Bi.center.set=function($){$.lat===this._center.lat&&$.lng===this._center.lng||(this._unmodified=!1,this._center=$,this._constrain(),this._calcMatrices())},Bi.padding.get=function(){return this._edgeInsets.toJSON()},Bi.padding.set=function($){this._edgeInsets.equals($)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,$,1),this._calcMatrices())},Bi.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Ri.prototype.isPaddingEqual=function($){return this._edgeInsets.equals($)},Ri.prototype.interpolatePadding=function($,ee,K){this._unmodified=!1,this._edgeInsets.interpolate($,ee,K),this._constrain(),this._calcMatrices()},Ri.prototype.coveringZoomLevel=function($){var ee=($.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/$.tileSize));return Math.max(0,ee)},Ri.prototype.getVisibleUnwrappedCoordinates=function($){var ee=[new i.UnwrappedTileID(0,$)];if(this._renderWorldCopies)for(var K=this.pointCoordinate(new i.Point(0,0)),le=this.pointCoordinate(new i.Point(this.width,0)),Te=this.pointCoordinate(new i.Point(this.width,this.height)),De=this.pointCoordinate(new i.Point(0,this.height)),He=Math.floor(Math.min(K.x,le.x,Te.x,De.x)),Ze=Math.floor(Math.max(K.x,le.x,Te.x,De.x)),at=He-1;at<=Ze+1;at++)at!==0&&ee.push(new i.UnwrappedTileID(at,$));return ee},Ri.prototype.coveringTiles=function($){var ee=this.coveringZoomLevel($),K=ee;if($.minzoom!==void 0&&ee<$.minzoom)return[];$.maxzoom!==void 0&&ee>$.maxzoom&&(ee=$.maxzoom);var le=i.MercatorCoordinate.fromLngLat(this.center),Te=Math.pow(2,ee),De=[Te*le.x,Te*le.y,0],He=Il.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ee),Ze=$.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ze=ee);var at=function(tn){return{aabb:new Pl([tn*Te,0,0],[(tn+1)*Te,Te,0]),zoom:0,x:0,y:0,wrap:tn,fullyVisible:!1}},Tt=[],At=[],se=ee,ve=$.reparseOverscaled?K:ee;if(this._renderWorldCopies)for(var Ie=1;Ie<=3;Ie++)Tt.push(at(-Ie)),Tt.push(at(Ie));for(Tt.push(at(0));Tt.length>0;){var Fe=Tt.pop(),Ue=Fe.x,We=Fe.y,Xe=Fe.fullyVisible;if(!Xe){var tt=Fe.aabb.intersects(He);if(tt===0)continue;Xe=tt===2}var lt=Fe.aabb.distanceX(De),mt=Fe.aabb.distanceY(De),zt=Math.max(Math.abs(lt),Math.abs(mt)),Ut=3+(1<Ut&&Fe.zoom>=Ze)At.push({tileID:new i.OverscaledTileID(Fe.zoom===se?ve:Fe.zoom,Fe.wrap,Fe.zoom,Ue,We),distanceSq:i.sqrLen([De[0]-.5-Ue,De[1]-.5-We])});else for(var Ht=0;Ht<4;Ht++){var en=(Ue<<1)+Ht%2,vn=(We<<1)+(Ht>>1);Tt.push({aabb:Fe.aabb.quadrant(Ht),zoom:Fe.zoom+1,x:en,y:vn,wrap:Fe.wrap,fullyVisible:Xe})}}return At.sort(function(tn,ln){return tn.distanceSq-ln.distanceSq}).map(function(tn){return tn.tileID})},Ri.prototype.resize=function($,ee){this.width=$,this.height=ee,this.pixelsToGLUnits=[2/$,-2/ee],this._constrain(),this._calcMatrices()},Bi.unmodified.get=function(){return this._unmodified},Ri.prototype.zoomScale=function($){return Math.pow(2,$)},Ri.prototype.scaleZoom=function($){return Math.log($)/Math.LN2},Ri.prototype.project=function($){var ee=i.clamp($.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng($.lng)*this.worldSize,i.mercatorYfromLat(ee)*this.worldSize)},Ri.prototype.unproject=function($){return new i.MercatorCoordinate($.x/this.worldSize,$.y/this.worldSize).toLngLat()},Bi.point.get=function(){return this.project(this.center)},Ri.prototype.setLocationAtPoint=function($,ee){var K=this.pointCoordinate(ee),le=this.pointCoordinate(this.centerPoint),Te=this.locationCoordinate($),De=new i.MercatorCoordinate(Te.x-(K.x-le.x),Te.y-(K.y-le.y));this.center=this.coordinateLocation(De),this._renderWorldCopies&&(this.center=this.center.wrap())},Ri.prototype.locationPoint=function($){return this.coordinatePoint(this.locationCoordinate($))},Ri.prototype.pointLocation=function($){return this.coordinateLocation(this.pointCoordinate($))},Ri.prototype.locationCoordinate=function($){return i.MercatorCoordinate.fromLngLat($)},Ri.prototype.coordinateLocation=function($){return $.toLngLat()},Ri.prototype.pointCoordinate=function($){var ee=[$.x,$.y,0,1],K=[$.x,$.y,1,1];i.transformMat4(ee,ee,this.pixelMatrixInverse),i.transformMat4(K,K,this.pixelMatrixInverse);var le=ee[3],Te=K[3],De=ee[0]/le,He=K[0]/Te,Ze=ee[1]/le,at=K[1]/Te,Tt=ee[2]/le,At=K[2]/Te,se=Tt===At?0:(0-Tt)/(At-Tt);return new i.MercatorCoordinate(i.number(De,He,se)/this.worldSize,i.number(Ze,at,se)/this.worldSize)},Ri.prototype.coordinatePoint=function($){var ee=[$.x*this.worldSize,$.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix),new i.Point(ee[0]/ee[3],ee[1]/ee[3])},Ri.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},Ri.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Ri.prototype.setMaxBounds=function($){$?(this.lngRange=[$.getWest(),$.getEast()],this.latRange=[$.getSouth(),$.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Ri.prototype.calculatePosMatrix=function($,ee){ee===void 0&&(ee=!1);var K=$.key,le=ee?this._alignedPosMatrixCache:this._posMatrixCache;if(le[K])return le[K];var Te=$.canonical,De=this.worldSize/this.zoomScale(Te.z),He=Te.x+Math.pow(2,Te.z)*$.wrap,Ze=i.identity(new Float64Array(16));return i.translate(Ze,Ze,[He*De,Te.y*De,0]),i.scale(Ze,Ze,[De/i.EXTENT,De/i.EXTENT,1]),i.multiply(Ze,ee?this.alignedProjMatrix:this.projMatrix,Ze),le[K]=new Float32Array(Ze),le[K]},Ri.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Ri.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var $,ee,K,le,Te=-90,De=90,He=-180,Ze=180,at=this.size,Tt=this._unmodified;if(this.latRange){var At=this.latRange;Te=i.mercatorYfromLat(At[1])*this.worldSize,$=(De=i.mercatorYfromLat(At[0])*this.worldSize)-TeDe&&(le=De-Ue)}if(this.lngRange){var We=ve.x,Xe=at.x/2;We-XeZe&&(K=Ze-Xe)}K===void 0&&le===void 0||(this.center=this.unproject(new i.Point(K!==void 0?K:ve.x,le!==void 0?le:ve.y))),this._unmodified=Tt,this._constraining=!1}},Ri.prototype._calcMatrices=function(){if(this.height){var $=this._fov/2,ee=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan($)*this.height;var K=Math.PI/2+this._pitch,le=this._fov*(.5+ee.y/this.height),Te=Math.sin(le)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-K-le,.01,Math.PI-.01)),De=this.point,He=De.x,Ze=De.y,at=1.01*(Math.cos(Math.PI/2-this._pitch)*Te+this.cameraToCenterDistance),Tt=this.height/50,At=new Float64Array(16);i.perspective(At,this._fov,this.width/this.height,Tt,at),At[8]=2*-ee.x/this.width,At[9]=2*ee.y/this.height,i.scale(At,At,[1,-1,1]),i.translate(At,At,[0,0,-this.cameraToCenterDistance]),i.rotateX(At,At,this._pitch),i.rotateZ(At,At,this.angle),i.translate(At,At,[-He,-Ze,0]),this.mercatorMatrix=i.scale([],At,[this.worldSize,this.worldSize,this.worldSize]),i.scale(At,At,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=At,this.invProjMatrix=i.invert([],this.projMatrix);var se=this.width%2/2,ve=this.height%2/2,Ie=Math.cos(this.angle),Fe=Math.sin(this.angle),Ue=He-Math.round(He)+Ie*se+Fe*ve,We=Ze-Math.round(Ze)+Ie*ve+Fe*se,Xe=new Float64Array(At);if(i.translate(Xe,Xe,[Ue>.5?Ue-1:Ue,We>.5?We-1:We,0]),this.alignedProjMatrix=Xe,At=i.create(),i.scale(At,At,[this.width/2,-this.height/2,1]),i.translate(At,At,[1,-1,0]),this.labelPlaneMatrix=At,At=i.create(),i.scale(At,At,[1,-1,1]),i.translate(At,At,[-1,-1,0]),i.scale(At,At,[2/this.width,2/this.height,1]),this.glCoordMatrix=At,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(At=i.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=At,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Ri.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var $=this.pointCoordinate(new i.Point(0,0)),ee=[$.x*this.worldSize,$.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix)[3]/this.cameraToCenterDistance},Ri.prototype.getCameraPoint=function(){var $=this._pitch,ee=Math.tan($)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ee))},Ri.prototype.getCameraQueryGeometry=function($){var ee=this.getCameraPoint();if($.length===1)return[$[0],ee];for(var K=ee.x,le=ee.y,Te=ee.x,De=ee.y,He=0,Ze=$;He=3&&!$.some(function(K){return isNaN(K)})){var ee=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+($[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+$[2],+$[1]],zoom:+$[0],bearing:ee,pitch:+($[4]||0)}),!0}return!1},sl.prototype._updateHashUnthrottled=function(){var $=this.getHashString();try{i.window.history.replaceState(i.window.history.state,"",$)}catch{}};var Us={linearity:.3,easing:i.bezier(0,0,.3,1)},Hc=i.extend({deceleration:2500,maxSpeed:1400},Us),Df=i.extend({deceleration:20,maxSpeed:1400},Us),au=i.extend({deceleration:1e3,maxSpeed:360},Us),zf=i.extend({deceleration:1e3,maxSpeed:90},Us),ou=function($){this._map=$,this.clear()};function ll($,ee){(!$.duration||$.duration0&&ee-$[0].time>160;)$.shift()},ou.prototype._onMoveEnd=function($){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ee={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},K=0,le=this._inertiaBuffer;K=this._clickTolerance||this._map.fire(new da($.type,this._map,$))},Ha.prototype.dblclick=function($){return this._firePreventable(new da($.type,this._map,$))},Ha.prototype.mouseover=function($){this._map.fire(new da($.type,this._map,$))},Ha.prototype.mouseout=function($){this._map.fire(new da($.type,this._map,$))},Ha.prototype.touchstart=function($){return this._firePreventable(new Hs($.type,this._map,$))},Ha.prototype.touchmove=function($){this._map.fire(new Hs($.type,this._map,$))},Ha.prototype.touchend=function($){this._map.fire(new Hs($.type,this._map,$))},Ha.prototype.touchcancel=function($){this._map.fire(new Hs($.type,this._map,$))},Ha.prototype._firePreventable=function($){if(this._map.fire($),$.defaultPrevented)return{}},Ha.prototype.isEnabled=function(){return!0},Ha.prototype.isActive=function(){return!1},Ha.prototype.enable=function(){},Ha.prototype.disable=function(){};var mo=function($){this._map=$};mo.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},mo.prototype.mousemove=function($){this._map.fire(new da($.type,this._map,$))},mo.prototype.mousedown=function(){this._delayContextMenu=!0},mo.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new da("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},mo.prototype.contextmenu=function($){this._delayContextMenu?this._contextMenuEvent=$:this._map.fire(new da($.type,this._map,$)),this._map.listens("contextmenu")&&$.preventDefault()},mo.prototype.isEnabled=function(){return!0},mo.prototype.isActive=function(){return!1},mo.prototype.enable=function(){},mo.prototype.disable=function(){};var go=function($,ee){this._map=$,this._el=$.getCanvasContainer(),this._container=$.getContainer(),this._clickTolerance=ee.clickTolerance||1};function co($,ee){for(var K={},le=0;le<$.length;le++)K[$[le].identifier]=ee[le];return K}go.prototype.isEnabled=function(){return!!this._enabled},go.prototype.isActive=function(){return!!this._active},go.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},go.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},go.prototype.mousedown=function($,ee){this.isEnabled()&&$.shiftKey&&$.button===0&&(g.disableDrag(),this._startPos=this._lastPos=ee,this._active=!0)},go.prototype.mousemoveWindow=function($,ee){if(this._active){var K=ee;if(!(this._lastPos.equals(K)||!this._box&&K.dist(this._startPos)this.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=$.timeStamp),K.length===this.numTouches&&(this.centroid=function(le){for(var Te=new i.Point(0,0),De=0,He=le;De30)&&(this.aborted=!0)}}},zo.prototype.touchend=function($,ee,K){if((!this.centroid||$.timeStamp-this.startTime>500)&&(this.aborted=!0),K.length===0){var le=!this.aborted&&this.centroid;if(this.reset(),le)return le}};var Ol=function($){this.singleTap=new zo($),this.numTaps=$.numTaps,this.reset()};Ol.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Ol.prototype.touchstart=function($,ee,K){this.singleTap.touchstart($,ee,K)},Ol.prototype.touchmove=function($,ee,K){this.singleTap.touchmove($,ee,K)},Ol.prototype.touchend=function($,ee,K){var le=this.singleTap.touchend($,ee,K);if(le){var Te=$.timeStamp-this.lastTime<500,De=!this.lastTap||this.lastTap.dist(le)<30;if(Te&&De||this.reset(),this.count++,this.lastTime=$.timeStamp,this.lastTap=le,this.count===this.numTaps)return this.reset(),le}};var ys=function(){this._zoomIn=new Ol({numTouches:1,numTaps:2}),this._zoomOut=new Ol({numTouches:2,numTaps:1}),this.reset()};ys.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},ys.prototype.touchstart=function($,ee,K){this._zoomIn.touchstart($,ee,K),this._zoomOut.touchstart($,ee,K)},ys.prototype.touchmove=function($,ee,K){this._zoomIn.touchmove($,ee,K),this._zoomOut.touchmove($,ee,K)},ys.prototype.touchend=function($,ee,K){var le=this,Te=this._zoomIn.touchend($,ee,K),De=this._zoomOut.touchend($,ee,K);return Te?(this._active=!0,$.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()+1,around:He.unproject(Te)},{originalEvent:$})}}):De?(this._active=!0,$.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()-1,around:He.unproject(De)},{originalEvent:$})}}):void 0},ys.prototype.touchcancel=function(){this.reset()},ys.prototype.enable=function(){this._enabled=!0},ys.prototype.disable=function(){this._enabled=!1,this.reset()},ys.prototype.isEnabled=function(){return this._enabled},ys.prototype.isActive=function(){return this._active};var Ya=function($){this.reset(),this._clickTolerance=$.clickTolerance||1};Ya.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},Ya.prototype._correctButton=function($,ee){return!1},Ya.prototype._move=function($,ee){return{}},Ya.prototype.mousedown=function($,ee){if(!this._lastPoint){var K=g.mouseButton($);this._correctButton($,K)&&(this._lastPoint=ee,this._eventButton=K)}},Ya.prototype.mousemoveWindow=function($,ee){var K=this._lastPoint;if(K&&($.preventDefault(),this._moved||!(ee.dist(K)0&&(this._active=!0);var le=co(K,ee),Te=new i.Point(0,0),De=new i.Point(0,0),He=0;for(var Ze in le){var at=le[Ze],Tt=this._touches[Ze];Tt&&(Te._add(at),De._add(at.sub(Tt)),He++,le[Ze]=at)}if(this._touches=le,!(HeMath.abs($.x)}var Br=function($){function ee(){$.apply(this,arguments)}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.reset=function(){$.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ee.prototype._start=function(K){this._lastPoints=K,Bu(K[0].sub(K[1]))&&(this._valid=!1)},ee.prototype._move=function(K,le,Te){var De=K[0].sub(this._lastPoints[0]),He=K[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(De,He,Te.timeStamp),this._valid)return this._lastPoints=K,this._active=!0,{pitchDelta:(De.y+He.y)/2*-.5}},ee.prototype.gestureBeginsVertically=function(K,le,Te){if(this._valid!==void 0)return this._valid;var De=K.mag()>=2,He=le.mag()>=2;if(De||He){if(!De||!He)return this._firstMove===void 0&&(this._firstMove=Te),Te-this._firstMove<100&&void 0;var Ze=K.y>0==le.y>0;return Bu(K)&&Bu(le)&&Ze}},ee}(Dr),Nu={panStep:100,bearingStep:15,pitchStep:10},bs=function(){var $=Nu;this._panStep=$.panStep,this._bearingStep=$.bearingStep,this._pitchStep=$.pitchStep};function $c($){return $*(2-$)}bs.prototype.reset=function(){this._active=!1},bs.prototype.keydown=function($){var ee=this;if(!($.altKey||$.ctrlKey||$.metaKey)){var K=0,le=0,Te=0,De=0,He=0;switch($.keyCode){case 61:case 107:case 171:case 187:K=1;break;case 189:case 109:case 173:K=-1;break;case 37:$.shiftKey?le=-1:($.preventDefault(),De=-1);break;case 39:$.shiftKey?le=1:($.preventDefault(),De=1);break;case 38:$.shiftKey?Te=1:($.preventDefault(),He=-1);break;case 40:$.shiftKey?Te=-1:($.preventDefault(),He=1);break;default:return}return{cameraAnimation:function(Ze){var at=Ze.getZoom();Ze.easeTo({duration:300,easeId:"keyboardHandler",easing:$c,zoom:K?Math.round(at)+K*($.shiftKey?2:1):at,bearing:Ze.getBearing()+le*ee._bearingStep,pitch:Ze.getPitch()+Te*ee._pitchStep,offset:[-De*ee._panStep,-He*ee._panStep],center:Ze.getCenter()},{originalEvent:$})}}}},bs.prototype.enable=function(){this._enabled=!0},bs.prototype.disable=function(){this._enabled=!1,this.reset()},bs.prototype.isEnabled=function(){return this._enabled},bs.prototype.isActive=function(){return this._active};var xc=4.000244140625,vo=function($,ee){this._map=$,this._el=$.getCanvasContainer(),this._handler=ee,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,i.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};vo.prototype.setZoomRate=function($){this._defaultZoomRate=$},vo.prototype.setWheelZoomRate=function($){this._wheelZoomRate=$},vo.prototype.isEnabled=function(){return!!this._enabled},vo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},vo.prototype.isZooming=function(){return!!this._zooming},vo.prototype.enable=function($){this.isEnabled()||(this._enabled=!0,this._aroundCenter=$&&$.around==="center")},vo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},vo.prototype.wheel=function($){if(this.isEnabled()){var ee=$.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?40*$.deltaY:$.deltaY,K=i.browser.now(),le=K-(this._lastWheelEventTime||0);this._lastWheelEventTime=K,ee!==0&&ee%xc==0?this._type="wheel":ee!==0&&Math.abs(ee)<4?this._type="trackpad":le>400?(this._type=null,this._lastValue=ee,this._timeout=setTimeout(this._onTimeout,40,$)):this._type||(this._type=Math.abs(le*ee)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ee+=this._lastValue)),$.shiftKey&&ee&&(ee/=4),this._type&&(this._lastWheelEvent=$,this._delta-=ee,this._active||this._start($)),$.preventDefault()}},vo.prototype._onTimeout=function($){this._type="wheel",this._delta-=this._lastValue,this._active||this._start($)},vo.prototype._start=function($){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var ee=g.mousePos(this._el,$);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ee)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},vo.prototype.renderFrame=function(){return this._onScrollFrame()},vo.prototype._onScrollFrame=function(){var $=this;if(this._frameId&&(this._frameId=null,this.isActive())){var ee=this._map.transform;if(this._delta!==0){var K=this._type==="wheel"&&Math.abs(this._delta)>xc?this._wheelZoomRate:this._defaultZoomRate,le=2/(1+Math.exp(-Math.abs(this._delta*K)));this._delta<0&&le!==0&&(le=1/le);var Te=typeof this._targetZoom=="number"?ee.zoomScale(this._targetZoom):ee.scale;this._targetZoom=Math.min(ee.maxZoom,Math.max(ee.minZoom,ee.scaleZoom(Te*le))),this._type==="wheel"&&(this._startZoom=ee.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var De,He=typeof this._targetZoom=="number"?this._targetZoom:ee.zoom,Ze=this._startZoom,at=this._easing,Tt=!1;if(this._type==="wheel"&&Ze&&at){var At=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),se=at(At);De=i.number(Ze,He,se),At<1?this._frameId||(this._frameId=!0):Tt=!0}else De=He,Tt=!0;return this._active=!0,Tt&&(this._active=!1,this._finishTimeout=setTimeout(function(){$._zooming=!1,$._handler._triggerRenderFrame(),delete $._targetZoom,delete $._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Tt,zoomDelta:De-ee.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},vo.prototype._smoothOutEasing=function($){var ee=i.ease;if(this._prevEase){var K=this._prevEase,le=(i.browser.now()-K.start)/K.duration,Te=K.easing(le+.01)-K.easing(le),De=.27/Math.sqrt(Te*Te+1e-4)*.01,He=Math.sqrt(.0729-De*De);ee=i.bezier(De,He,.25,1)}return this._prevEase={start:i.browser.now(),duration:$,easing:ee},ee},vo.prototype.reset=function(){this._active=!1};var cu=function($,ee){this._clickZoom=$,this._tapZoom=ee};cu.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cu.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cu.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cu.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var ul=function(){this.reset()};ul.prototype.reset=function(){this._active=!1},ul.prototype.dblclick=function($,ee){return $.preventDefault(),{cameraAnimation:function(K){K.easeTo({duration:300,zoom:K.getZoom()+($.shiftKey?-1:1),around:K.unproject(ee)},{originalEvent:$})}}},ul.prototype.enable=function(){this._enabled=!0},ul.prototype.disable=function(){this._enabled=!1,this.reset()},ul.prototype.isEnabled=function(){return this._enabled},ul.prototype.isActive=function(){return this._active};var Xo=function(){this._tap=new Ol({numTouches:1,numTaps:1}),this.reset()};Xo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Xo.prototype.touchstart=function($,ee,K){this._swipePoint||(this._tapTime&&$.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?K.length>0&&(this._swipePoint=ee[0],this._swipeTouch=K[0].identifier):this._tap.touchstart($,ee,K))},Xo.prototype.touchmove=function($,ee,K){if(this._tapTime){if(this._swipePoint){if(K[0].identifier!==this._swipeTouch)return;var le=ee[0],Te=le.y-this._swipePoint.y;return this._swipePoint=le,$.preventDefault(),this._active=!0,{zoomDelta:Te/128}}}else this._tap.touchmove($,ee,K)},Xo.prototype.touchend=function($,ee,K){this._tapTime?this._swipePoint&&K.length===0&&this.reset():this._tap.touchend($,ee,K)&&(this._tapTime=$.timeStamp)},Xo.prototype.touchcancel=function(){this.reset()},Xo.prototype.enable=function(){this._enabled=!0},Xo.prototype.disable=function(){this._enabled=!1,this.reset()},Xo.prototype.isEnabled=function(){return this._enabled},Xo.prototype.isActive=function(){return this._active};var Rl=function($,ee,K){this._el=$,this._mousePan=ee,this._touchPan=K};Rl.prototype.enable=function($){this._inertiaOptions=$||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Rl.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Rl.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Rl.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Ps=function($,ee,K){this._pitchWithRotate=$.pitchWithRotate,this._mouseRotate=ee,this._mousePitch=K};Ps.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Ps.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Ps.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Ps.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var xs=function($,ee,K,le){this._el=$,this._touchZoom=ee,this._touchRotate=K,this._tapDragZoom=le,this._rotationDisabled=!1,this._enabled=!0};xs.prototype.enable=function($){this._touchZoom.enable($),this._rotationDisabled||this._touchRotate.enable($),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},xs.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},xs.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},xs.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},xs.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},xs.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var fu=function($){return $.zoom||$.drag||$.pitch||$.rotate},yo=function($){function ee(){$.apply(this,arguments)}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee}(i.Event);function _s($){return $.panDelta&&$.panDelta.mag()||$.zoomDelta||$.bearingDelta||$.pitchDelta}var $i=function($,ee){this._map=$,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ou($),this._bearingSnap=ee.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ee),i.bindAll(["handleEvent","handleWindowEvent"],this);var K=this._el;this._listeners=[[K,"touchstart",{passive:!1}],[K,"touchmove",{passive:!1}],[K,"touchend",void 0],[K,"touchcancel",void 0],[K,"mousedown",void 0],[K,"mousemove",void 0],[K,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[K,"mouseover",void 0],[K,"mouseout",void 0],[K,"dblclick",void 0],[K,"click",void 0],[K,"keydown",{capture:!1}],[K,"keyup",void 0],[K,"wheel",{passive:!1}],[K,"contextmenu",void 0],[i.window,"blur",void 0]];for(var le=0,Te=this._listeners;leHe?Math.min(2,Ut):Math.max(.5,Ut),ln=Math.pow(tn,1-en),an=De.unproject(mt.add(zt.mult(en*ln)).mult(vn));De.setLocationAtPoint(De.renderWorldCopies?an.wrap():an,Ue)}Te._fireMoveEvents(le)},function(en){Te._afterEase(le,en)},K),this},ee.prototype._prepareEase=function(K,le,Te){Te===void 0&&(Te={}),this._moving=!0,le||Te.moving||this.fire(new i.Event("movestart",K)),this._zooming&&!Te.zooming&&this.fire(new i.Event("zoomstart",K)),this._rotating&&!Te.rotating&&this.fire(new i.Event("rotatestart",K)),this._pitching&&!Te.pitching&&this.fire(new i.Event("pitchstart",K))},ee.prototype._fireMoveEvents=function(K){this.fire(new i.Event("move",K)),this._zooming&&this.fire(new i.Event("zoom",K)),this._rotating&&this.fire(new i.Event("rotate",K)),this._pitching&&this.fire(new i.Event("pitch",K))},ee.prototype._afterEase=function(K,le){if(!this._easeId||!le||this._easeId!==le){delete this._easeId;var Te=this._zooming,De=this._rotating,He=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Te&&this.fire(new i.Event("zoomend",K)),De&&this.fire(new i.Event("rotateend",K)),He&&this.fire(new i.Event("pitchend",K)),this.fire(new i.Event("moveend",K))}},ee.prototype.flyTo=function(K,le){var Te=this;if(!K.essential&&i.browser.prefersReducedMotion){var De=i.pick(K,["center","zoom","bearing","pitch","around"]);return this.jumpTo(De,le)}this.stop(),K=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},K);var He=this.transform,Ze=this.getZoom(),at=this.getBearing(),Tt=this.getPitch(),At=this.getPadding(),se="zoom"in K?i.clamp(+K.zoom,He.minZoom,He.maxZoom):Ze,ve="bearing"in K?this._normalizeBearing(K.bearing,at):at,Ie="pitch"in K?+K.pitch:Tt,Fe="padding"in K?K.padding:He.padding,Ue=He.zoomScale(se-Ze),We=i.Point.convert(K.offset),Xe=He.centerPoint.add(We),tt=He.pointLocation(Xe),lt=i.LngLat.convert(K.center||tt);this._normalizeCenter(lt);var mt=He.project(tt),zt=He.project(lt).sub(mt),Ut=K.curve,Ht=Math.max(He.width,He.height),en=Ht/Ue,vn=zt.mag();if("minZoom"in K){var tn=i.clamp(Math.min(K.minZoom,Ze,se),He.minZoom,He.maxZoom),ln=Ht/He.zoomScale(tn-Ze);Ut=Math.sqrt(ln/vn*2)}var an=Ut*Ut;function Cn(xr){var kr=(en*en-Ht*Ht+(xr?-1:1)*an*an*vn*vn)/(2*(xr?en:Ht)*an*vn);return Math.log(Math.sqrt(kr*kr+1)-kr)}function _n(xr){return(Math.exp(xr)-Math.exp(-xr))/2}function on(xr){return(Math.exp(xr)+Math.exp(-xr))/2}var Fn=Cn(0),Hn=function(xr){return on(Fn)/on(Fn+Ut*xr)},ir=function(xr){return Ht*((on(Fn)*(_n(kr=Fn+Ut*xr)/on(kr))-_n(Fn))/an)/vn;var kr},ar=(Cn(1)-Fn)/Ut;if(Math.abs(vn)<1e-6||!isFinite(ar)){if(Math.abs(Ht-en)<1e-6)return this.easeTo(K,le);var Mr=enK.maxDuration&&(K.duration=0),this._zooming=!0,this._rotating=at!==ve,this._pitching=Ie!==Tt,this._padding=!He.isPaddingEqual(Fe),this._prepareEase(le,!1),this._ease(function(xr){var kr=xr*ar,jr=1/Hn(kr);He.zoom=xr===1?se:Ze+He.scaleZoom(jr),Te._rotating&&(He.bearing=i.number(at,ve,xr)),Te._pitching&&(He.pitch=i.number(Tt,Ie,xr)),Te._padding&&(He.interpolatePadding(At,Fe,xr),Xe=He.centerPoint.add(We));var hi=xr===1?lt:He.unproject(mt.add(zt.mult(ir(kr))).mult(jr));He.setLocationAtPoint(He.renderWorldCopies?hi.wrap():hi,Xe),Te._fireMoveEvents(le)},function(){return Te._afterEase(le)},K),this},ee.prototype.isEasing=function(){return!!this._easeFrameId},ee.prototype.stop=function(){return this._stop()},ee.prototype._stop=function(K,le){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Te=this._onEaseEnd;delete this._onEaseEnd,Te.call(this,le)}if(!K){var De=this.handlers;De&&De.stop()}return this},ee.prototype._ease=function(K,le,Te){Te.animate===!1||Te.duration===0?(K(1),le()):(this._easeStart=i.browser.now(),this._easeOptions=Te,this._onEaseFrame=K,this._onEaseEnd=le,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ee.prototype._renderFrameCallback=function(){var K=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(K)),K<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ee.prototype._normalizeBearing=function(K,le){K=i.wrap(K,-180,180);var Te=Math.abs(K-le);return Math.abs(K-360-le)180?-360:Te<-180?360:0}},ee}(i.Evented),ls=function($){$===void 0&&($={}),this.options=$,i.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};ls.prototype.getDefaultPosition=function(){return"bottom-right"},ls.prototype.onAdd=function($){var ee=this.options&&this.options.compact;return this._map=$,this._container=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=g.create("div","mapboxgl-ctrl-attrib-inner",this._container),ee&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),ee===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},ls.prototype.onRemove=function(){g.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},ls.prototype._updateEditLink=function(){var $=this._editLink;$||($=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ee=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if($){var K=ee.reduce(function(le,Te,De){return Te.value&&(le+=Te.key+"="+Te.value+(De=0)return!1;return!0})).join(" | ");He!==this._attribHTML&&(this._attribHTML=He,$.length?(this._innerContainer.innerHTML=He,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},ls.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var ws=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};ws.prototype.onAdd=function($){this._map=$,this._container=g.create("div","mapboxgl-ctrl");var ee=g.create("a","mapboxgl-ctrl-logo");return ee.target="_blank",ee.rel="noopener nofollow",ee.href="https://www.mapbox.com/",ee.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ee.setAttribute("rel","noopener nofollow"),this._container.appendChild(ee),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},ws.prototype.onRemove=function(){g.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},ws.prototype.getDefaultPosition=function(){return"bottom-left"},ws.prototype._updateLogo=function($){$&&$.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},ws.prototype._logoRequired=function(){if(this._map.style){var $=this._map.style.sourceCaches;for(var ee in $)if($[ee].getSource().mapbox_logo)return!0;return!1}},ws.prototype._updateCompact=function(){var $=this._container.children;if($.length){var ee=$[0];this._map.getCanvasContainer().offsetWidth<250?ee.classList.add("mapboxgl-compact"):ee.classList.remove("mapboxgl-compact")}};var Gs=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Gs.prototype.add=function($){var ee=++this._id;return this._queue.push({callback:$,id:ee,cancelled:!1}),ee},Gs.prototype.remove=function($){for(var ee=this._currentlyRunning,K=0,le=ee?this._queue.concat(ee):this._queue;Kle.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(le.minPitch!=null&&le.maxPitch!=null&&le.minPitch>le.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(le.minPitch!=null&&le.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(le.maxPitch!=null&&le.maxPitch>No)throw new Error("maxPitch must be less than or equal to 60");var De=new Ri(le.minZoom,le.maxZoom,le.minPitch,le.maxPitch,le.renderWorldCopies);if($.call(this,De,le),this._interactive=le.interactive,this._maxTileCacheSize=le.maxTileCacheSize,this._failIfMajorPerformanceCaveat=le.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=le.preserveDrawingBuffer,this._antialias=le.antialias,this._trackResize=le.trackResize,this._bearingSnap=le.bearingSnap,this._refreshExpiredTiles=le.refreshExpiredTiles,this._fadeDuration=le.fadeDuration,this._crossSourceCollisions=le.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=le.collectResourceTiming,this._renderTaskQueue=new Gs,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},Bo,le.locale),this._requestManager=new i.RequestManager(le.transformRequest,le.accessToken),typeof le.container=="string"){if(this._container=i.window.document.getElementById(le.container),!this._container)throw new Error("Container '"+le.container+"' not found.")}else{if(!(le.container instanceof no))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=le.container}if(le.maxBounds&&this.setMaxBounds(le.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return Te._update(!1)}),this.on("moveend",function(){return Te._update(!1)}),this.on("zoom",function(){return Te._update(!0)}),i.window!==void 0&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new $i(this,le);var He=typeof le.hash=="string"&&le.hash||void 0;this._hash=le.hash&&new sl(He).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:le.center,zoom:le.zoom,bearing:le.bearing,pitch:le.pitch}),le.bounds&&(this.resize(),this.fitBounds(le.bounds,i.extend({},le.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=le.localIdeographFontFamily,le.style&&this.setStyle(le.style,{localIdeographFontFamily:le.localIdeographFontFamily}),le.attributionControl&&this.addControl(new ls({customAttribution:le.customAttribution})),this.addControl(new ws,le.logoPosition),this.on("style.load",function(){Te.transform.unmodified&&Te.jumpTo(Te.style.stylesheet)}),this.on("data",function(Ze){Te._update(Ze.dataType==="style"),Te.fire(new i.Event(Ze.dataType+"data",Ze))}),this.on("dataloading",function(Ze){Te.fire(new i.Event(Ze.dataType+"dataloading",Ze))})}$&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee;var K={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ee.prototype._getMapId=function(){return this._mapId},ee.prototype.addControl=function(le,Te){if(Te===void 0&&le.getDefaultPosition&&(Te=le.getDefaultPosition()),Te===void 0&&(Te="top-right"),!le||!le.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var De=le.onAdd(this);this._controls.push(le);var He=this._controlPositions[Te];return Te.indexOf("bottom")!==-1?He.insertBefore(De,He.firstChild):He.appendChild(De),this},ee.prototype.removeControl=function(le){if(!le||!le.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Te=this._controls.indexOf(le);return Te>-1&&this._controls.splice(Te,1),le.onRemove(this),this},ee.prototype.resize=function(le){var Te=this._containerDimensions(),De=Te[0],He=Te[1];this._resizeCanvas(De,He),this.transform.resize(De,He),this.painter.resize(De,He);var Ze=!this._moving;return Ze&&(this.stop(),this.fire(new i.Event("movestart",le)).fire(new i.Event("move",le))),this.fire(new i.Event("resize",le)),Ze&&this.fire(new i.Event("moveend",le)),this},ee.prototype.getBounds=function(){return this.transform.getBounds()},ee.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ee.prototype.setMaxBounds=function(le){return this.transform.setMaxBounds(i.LngLatBounds.convert(le)),this._update()},ee.prototype.setMinZoom=function(le){if((le=le??-2)>=-2&&le<=this.transform.maxZoom)return this.transform.minZoom=le,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=le,this._update(),this.getZoom()>le&&this.setZoom(le),this;throw new Error("maxZoom must be greater than the current minZoom")},ee.prototype.getMaxZoom=function(){return this.transform.maxZoom},ee.prototype.setMinPitch=function(le){if((le=le??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(le>=0&&le<=this.transform.maxPitch)return this.transform.minPitch=le,this._update(),this.getPitch()No)throw new Error("maxPitch must be less than or equal to 60");if(le>=this.transform.minPitch)return this.transform.maxPitch=le,this._update(),this.getPitch()>le&&this.setPitch(le),this;throw new Error("maxPitch must be greater than the current minPitch")},ee.prototype.getMaxPitch=function(){return this.transform.maxPitch},ee.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ee.prototype.setRenderWorldCopies=function(le){return this.transform.renderWorldCopies=le,this._update()},ee.prototype.project=function(le){return this.transform.locationPoint(i.LngLat.convert(le))},ee.prototype.unproject=function(le){return this.transform.pointLocation(i.Point.convert(le))},ee.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ee.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ee.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ee.prototype._createDelegatedListener=function(le,Te,De){var He,Ze=this;if(le==="mouseenter"||le==="mouseover"){var at=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length?at||(at=!0,De.call(Ze,new da(le,Ze,At.originalEvent,{features:se}))):at=!1},mouseout:function(){at=!1}}}}if(le==="mouseleave"||le==="mouseout"){var Tt=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){(Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[]).length?Tt=!0:Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))},mouseout:function(At){Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))}}}}return{layer:Te,listener:De,delegates:(He={},He[le]=function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length&&(At.features=se,De.call(Ze,At),delete At.features)},He)}},ee.prototype.on=function(le,Te,De){if(De===void 0)return $.prototype.on.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[le]=this._delegatedListeners[le]||[],this._delegatedListeners[le].push(He),He.delegates)this.on(Ze,He.delegates[Ze]);return this},ee.prototype.once=function(le,Te,De){if(De===void 0)return $.prototype.once.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in He.delegates)this.once(Ze,He.delegates[Ze]);return this},ee.prototype.off=function(le,Te,De){var He=this;return De===void 0?$.prototype.off.call(this,le,Te):(this._delegatedListeners&&this._delegatedListeners[le]&&function(Ze){for(var at=Ze[le],Tt=0;Tt180;){var He=K.locationPoint($);if(He.x>=0&&He.y>=0&&He.x<=K.width&&He.y<=K.height)break;$.lng>K.center.lng?$.lng-=360:$.lng+=360}return $}Gr.prototype.down=function($,ee){this.mouseRotate.mousedown($,ee),this.mousePitch&&this.mousePitch.mousedown($,ee),g.disableDrag()},Gr.prototype.move=function($,ee){var K=this.map,le=this.mouseRotate.mousemoveWindow($,ee);if(le&&le.bearingDelta&&K.setBearing(K.getBearing()+le.bearingDelta),this.mousePitch){var Te=this.mousePitch.mousemoveWindow($,ee);Te&&Te.pitchDelta&&K.setPitch(K.getPitch()+Te.pitchDelta)}},Gr.prototype.off=function(){var $=this.element;g.removeEventListener($,"mousedown",this.mousedown),g.removeEventListener($,"touchstart",this.touchstart,{passive:!1}),g.removeEventListener($,"touchmove",this.touchmove),g.removeEventListener($,"touchend",this.touchend),g.removeEventListener($,"touchcancel",this.reset),this.offTemp()},Gr.prototype.offTemp=function(){g.enableDrag(),g.removeEventListener(i.window,"mousemove",this.mousemove),g.removeEventListener(i.window,"mouseup",this.mouseup)},Gr.prototype.mousedown=function($){this.down(i.extend({},$,{ctrlKey:!0,preventDefault:function(){return $.preventDefault()}}),g.mousePos(this.element,$)),g.addEventListener(i.window,"mousemove",this.mousemove),g.addEventListener(i.window,"mouseup",this.mouseup)},Gr.prototype.mousemove=function($){this.move($,g.mousePos(this.element,$))},Gr.prototype.mouseup=function($){this.mouseRotate.mouseupWindow($),this.mousePitch&&this.mousePitch.mouseupWindow($),this.offTemp()},Gr.prototype.touchstart=function($){$.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=g.touchPos(this.element,$.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return $.preventDefault()}},this._startPos))},Gr.prototype.touchmove=function($){$.targetTouches.length!==1?this.reset():(this._lastPos=g.touchPos(this.element,$.targetTouches)[0],this.move({preventDefault:function(){return $.preventDefault()}},this._lastPos))},Gr.prototype.touchend=function($){$.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)le.getEast()||Te.latitudele.getNorth())},ee.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},ee.prototype._onSuccess=function(K){if(this._map){if(this._isOutOfMapMaxBounds(K))return this._setErrorState(),this.fire(new i.Event("outofmaxbounds",K)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=K,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(K),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(K),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",K)),this._finish()}},ee.prototype._updateCamera=function(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude),Te=K.coords.accuracy,De=this._map.getBearing(),He=i.extend({bearing:De},this.options.fitBoundsOptions);this._map.fitBounds(le.toBounds(Te),He,{geolocateSource:!0})},ee.prototype._updateMarker=function(K){if(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude);this._accuracyCircleMarker.setLngLat(le).addTo(this._map),this._userLocationDotMarker.setLngLat(le).addTo(this._map),this._accuracy=K.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ee.prototype._updateCircleRadius=function(){var K=this._map._container.clientHeight/2,le=this._map.unproject([0,K]),Te=this._map.unproject([1,K]),De=le.distanceTo(Te),He=Math.ceil(2*this._accuracy/De);this._circleElement.style.width=He+"px",this._circleElement.style.height=He+"px"},ee.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ee.prototype._onError=function(K){if(this._map){if(this.options.trackUserLocation)if(K.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var le=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=le,this._geolocateButton.setAttribute("aria-label",le),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(K.code===3&&ju)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",K)),this._finish()}},ee.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ee.prototype._setupUI=function(K){var le=this;if(this._container.addEventListener("contextmenu",function(He){return He.preventDefault()}),this._geolocateButton=g.create("button","mapboxgl-ctrl-geolocate",this._container),g.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",K===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Te=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Te,this._geolocateButton.setAttribute("aria-label",Te)}else{var De=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=De,this._geolocateButton.setAttribute("aria-label",De)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=g.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new xo(this._dotElement),this._circleElement=g.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xo({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(He){var Ze=He.originalEvent&&He.originalEvent.type==="resize";He.geolocateSource||le._watchState!=="ACTIVE_LOCK"||Ze||(le._watchState="BACKGROUND",le._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),le._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),le.fire(new i.Event("trackuserlocationend")))})},ee.prototype.trigger=function(){if(!this._setup)return i.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Vo--,ju=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new i.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new i.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var K;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Vo>1?(K={maximumAge:6e5,timeout:0},ju=!0):(K=this.options.positionOptions,ju=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,K)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ee.prototype._clearWatch=function(){i.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},ee}(i.Evented),Ji={maxWidth:100,unit:"metric"},la=function($){this.options=i.extend({},Ji,$),i.bindAll(["_onMove","setUnit"],this)};function Zc($,ee,K){var le=K&&K.maxWidth||100,Te=$._container.clientHeight/2,De=$.unproject([0,Te]),He=$.unproject([le,Te]),Ze=De.distanceTo(He);if(K&&K.unit==="imperial"){var at=3.2808*Ze;at>5280?et(ee,le,at/5280,$._getUIString("ScaleControl.Miles")):et(ee,le,at,$._getUIString("ScaleControl.Feet"))}else K&&K.unit==="nautical"?et(ee,le,Ze/1852,$._getUIString("ScaleControl.NauticalMiles")):Ze>=1e3?et(ee,le,Ze/1e3,$._getUIString("ScaleControl.Kilometers")):et(ee,le,Ze,$._getUIString("ScaleControl.Meters"))}function et($,ee,K,le){var Te,De,He,Ze=(Te=K,(De=Math.pow(10,(""+Math.floor(Te)).length-1))*((He=Te/De)>=10?10:He>=5?5:He>=3?3:He>=2?2:He>=1?1:function(Tt){var At=Math.pow(10,Math.ceil(-Math.log(Tt)/Math.LN10));return Math.round(Tt*At)/At}(He))),at=Ze/K;$.style.width=ee*at+"px",$.innerHTML=Ze+" "+le}la.prototype.getDefaultPosition=function(){return"bottom-left"},la.prototype._onMove=function(){Zc(this._map,this._container,this.options)},la.prototype.onAdd=function($){return this._map=$,this._container=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",$.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},la.prototype.onRemove=function(){g.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},la.prototype.setUnit=function($){this.options.unit=$,Zc(this._map,this._container,this.options)};var rt=function($){this._fullscreen=!1,$&&$.container&&($.container instanceof i.window.HTMLElement?this._container=$.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};rt.prototype.onAdd=function($){return this._map=$,this._container||(this._container=this._map.getContainer()),this._controlContainer=g.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},rt.prototype.onRemove=function(){g.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},rt.prototype._setupUI=function(){var $=this._fullscreenButton=g.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);g.create("span","mapboxgl-ctrl-icon",$).setAttribute("aria-hidden",!0),$.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._updateTitle=function(){var $=this._getTitle();this._fullscreenButton.setAttribute("aria-label",$),this._fullscreenButton.title=$},rt.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},rt.prototype._isFullscreen=function(){return this._fullscreen},rt.prototype._changeIcon=function(){(i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},rt.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var ct={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},vt=function($){function ee(K){$.call(this),this.options=i.extend(Object.create(ct),K),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.addTo=function(K){return this._map&&this.remove(),this._map=K,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new i.Event("open")),this},ee.prototype.isOpen=function(){return!!this._map},ee.prototype.remove=function(){return this._content&&g.remove(this._content),this._container&&(g.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new i.Event("close")),this},ee.prototype.getLngLat=function(){return this._lngLat},ee.prototype.setLngLat=function(K){return this._lngLat=i.LngLat.convert(K),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},ee.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},ee.prototype.getElement=function(){return this._container},ee.prototype.setText=function(K){return this.setDOMContent(i.window.document.createTextNode(K))},ee.prototype.setHTML=function(K){var le,Te=i.window.document.createDocumentFragment(),De=i.window.document.createElement("body");for(De.innerHTML=K;le=De.firstChild;)Te.appendChild(le);return this.setDOMContent(Te)},ee.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ee.prototype.setMaxWidth=function(K){return this.options.maxWidth=K,this._update(),this},ee.prototype.setDOMContent=function(K){return this._createContent(),this._content.appendChild(K),this._update(),this},ee.prototype.addClassName=function(K){this._container&&this._container.classList.add(K)},ee.prototype.removeClassName=function(K){this._container&&this._container.classList.remove(K)},ee.prototype.toggleClassName=function(K){if(this._container)return this._container.classList.toggle(K)},ee.prototype._createContent=function(){this._content&&g.remove(this._content),this._content=g.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=g.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},ee.prototype._onMouseUp=function(K){this._update(K.point)},ee.prototype._onMouseMove=function(K){this._update(K.point)},ee.prototype._onDrag=function(K){this._update(K.point)},ee.prototype._update=function(K){var le=this,Te=this._lngLat||this._trackPointer;if(this._map&&Te&&this._content&&(this._container||(this._container=g.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=g.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(ve){return le._container.classList.add(ve)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ni(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||K)){var De=this._pos=this._trackPointer&&K?K:this._map.project(this._lngLat),He=this.options.anchor,Ze=St(this.options.offset);if(!He){var at,Tt=this._container.offsetWidth,At=this._container.offsetHeight;at=De.y+Ze.bottom.ythis._map.transform.height-At?["bottom"]:[],De.xthis._map.transform.width-Tt/2&&at.push("right"),He=at.length===0?"bottom":at.join("-")}var se=De.add(Ze[He]).round();g.setTransform(this._container,Vu[He]+" translate("+se.x+"px,"+se.y+"px)"),fl(this._container,He,"popup")}},ee.prototype._onClose=function(){this.remove()},ee}(i.Evented);function St($){if($){if(typeof $=="number"){var ee=Math.round(Math.sqrt(.5*Math.pow($,2)));return{center:new i.Point(0,0),top:new i.Point(0,$),"top-left":new i.Point(ee,ee),"top-right":new i.Point(-ee,ee),bottom:new i.Point(0,-$),"bottom-left":new i.Point(ee,-ee),"bottom-right":new i.Point(-ee,-ee),left:new i.Point($,0),right:new i.Point(-$,0)}}if($ instanceof i.Point||Array.isArray($)){var K=i.Point.convert($);return{center:K,top:K,"top-left":K,"top-right":K,bottom:K,"bottom-left":K,"bottom-right":K,left:K,right:K}}return{center:i.Point.convert($.center||[0,0]),top:i.Point.convert($.top||[0,0]),"top-left":i.Point.convert($["top-left"]||[0,0]),"top-right":i.Point.convert($["top-right"]||[0,0]),bottom:i.Point.convert($.bottom||[0,0]),"bottom-left":i.Point.convert($["bottom-left"]||[0,0]),"bottom-right":i.Point.convert($["bottom-right"]||[0,0]),left:i.Point.convert($.left||[0,0]),right:i.Point.convert($.right||[0,0])}}return St(new i.Point(0,0))}var Mt={version:i.version,supported:M,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:Dl,NavigationControl:Ts,GeolocateControl:hl,AttributionControl:ls,ScaleControl:la,FullscreenControl:rt,Popup:vt,Marker:xo,Style:dr,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:function(){Lt().acquire(ut)},clearPrewarmedResources:function(){var $=_t;$&&($.isPreloaded()&&$.numActive()===1?($.release(ut),_t=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return i.config.ACCESS_TOKEN},set accessToken($){i.config.ACCESS_TOKEN=$},get baseApiUrl(){return i.config.API_URL},set baseApiUrl($){i.config.API_URL=$},get workerCount(){return dt.workerCount},set workerCount($){dt.workerCount=$},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests($){i.config.MAX_PARALLEL_IMAGE_REQUESTS=$},clearStorage:function($){i.clearTileCache($)},workerUrl:""};return Mt}),d}()},27084:function(k){k.exports=Math.log2||function(m){return Math.log(m)*Math.LOG2E}},16825:function(k,m,t){k.exports=function(y,i){i||(i=y,y=window);var M=0,g=0,h=0,l={shift:!1,alt:!1,control:!1,meta:!1},a=!1;function u(T){var C=!1;return"altKey"in T&&(C=C||T.altKey!==l.alt,l.alt=!!T.altKey),"shiftKey"in T&&(C=C||T.shiftKey!==l.shift,l.shift=!!T.shiftKey),"ctrlKey"in T&&(C=C||T.ctrlKey!==l.control,l.control=!!T.ctrlKey),"metaKey"in T&&(C=C||T.metaKey!==l.meta,l.meta=!!T.metaKey),C}function o(T,C){var _=d.x(C),A=d.y(C);"buttons"in C&&(T=0|C.buttons),(T!==M||_!==g||A!==h||u(C))&&(M=0|T,g=_||0,h=A||0,i&&i(M,g,h,l))}function s(T){o(0,T)}function c(){(M||g||h||l.shift||l.alt||l.meta||l.control)&&(g=h=0,M=0,l.shift=l.alt=l.control=l.meta=!1,i&&i(0,0,0,l))}function f(T){u(T)&&i&&i(M,g,h,l)}function p(T){d.buttons(T)===0?o(0,T):o(M,T)}function w(T){o(M|d.buttons(T),T)}function v(T){o(M&~d.buttons(T),T)}function S(){a||(a=!0,y.addEventListener("mousemove",p),y.addEventListener("mousedown",w),y.addEventListener("mouseup",v),y.addEventListener("mouseleave",s),y.addEventListener("mouseenter",s),y.addEventListener("mouseout",s),y.addEventListener("mouseover",s),y.addEventListener("blur",c),y.addEventListener("keyup",f),y.addEventListener("keydown",f),y.addEventListener("keypress",f),y!==window&&(window.addEventListener("blur",c),window.addEventListener("keyup",f),window.addEventListener("keydown",f),window.addEventListener("keypress",f)))}S();var x={element:y};return Object.defineProperties(x,{enabled:{get:function(){return a},set:function(T){T?S():a&&(a=!1,y.removeEventListener("mousemove",p),y.removeEventListener("mousedown",w),y.removeEventListener("mouseup",v),y.removeEventListener("mouseleave",s),y.removeEventListener("mouseenter",s),y.removeEventListener("mouseout",s),y.removeEventListener("mouseover",s),y.removeEventListener("blur",c),y.removeEventListener("keyup",f),y.removeEventListener("keydown",f),y.removeEventListener("keypress",f),y!==window&&(window.removeEventListener("blur",c),window.removeEventListener("keyup",f),window.removeEventListener("keydown",f),window.removeEventListener("keypress",f)))},enumerable:!0},buttons:{get:function(){return M},enumerable:!0},x:{get:function(){return g},enumerable:!0},y:{get:function(){return h},enumerable:!0},mods:{get:function(){return l},enumerable:!0}}),x};var d=t(74311)},48956:function(k){var m={left:0,top:0};k.exports=function(t,d,y){d=d||t.currentTarget||t.srcElement,Array.isArray(y)||(y=[0,0]);var i,M=t.clientX||0,g=t.clientY||0,h=(i=d)===window||i===document||i===document.body?m:i.getBoundingClientRect();return y[0]=M-h.left,y[1]=g-h.top,y}},74311:function(k,m){function t(d){return d.target||d.srcElement||window}m.buttons=function(d){if(typeof d=="object"){if("buttons"in d)return d.buttons;if("which"in d){if((y=d.which)===2)return 4;if(y===3)return 2;if(y>0)return 1<=0)return 1<0&&o(c,L))}catch(b){w.call(new S(L),b)}}}function w(_){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=_,A.state=2,A.chain.length>0&&o(c,A))}function v(_,A,L,b){for(var P=0;P1&&(a*=T=Math.sqrt(T),u*=T);var C=a*a,_=u*u,A=(s==c?-1:1)*Math.sqrt(Math.abs((C*_-C*x*x-_*S*S)/(C*x*x+_*S*S)));A==1/0&&(A=1);var L=A*a*x/u+(h+f)/2,b=A*-u*S/a+(l+p)/2,P=Math.asin(((l-b)/u).toFixed(9)),I=Math.asin(((p-b)/u).toFixed(9));(P=hI&&(P-=2*m),!c&&I>P&&(I-=2*m)}if(Math.abs(I-P)>t){var R=I,D=f,F=p;I=P+t*(c&&I>P?1:-1);var B=i(f=L+a*Math.cos(I),p=b+u*Math.sin(I),a,u,o,0,c,D,F,[I,R,L,b])}var N=Math.tan((I-P)/4),W=4/3*a*N,j=4/3*u*N,Y=[2*h-(h+W*Math.sin(P)),2*l-(l-j*Math.cos(P)),f+W*Math.sin(I),p-j*Math.cos(I),f,p];if(w)return Y;B&&(Y=Y.concat(B));for(var U=0;U7&&(a.push(T.splice(0,7)),T.unshift("C"));break;case"S":var _=w,A=v;l!="C"&&l!="S"||(_+=_-u,A+=A-o),T=["C",_,A,T[1],T[2],T[3],T[4]];break;case"T":l=="Q"||l=="T"?(f=2*w-f,p=2*v-p):(f=w,p=v),T=y(w,v,f,p,T[1],T[2]);break;case"Q":f=T[1],p=T[2],T=y(w,v,T[1],T[2],T[3],T[4]);break;case"L":T=d(w,v,T[1],T[2]);break;case"H":T=d(w,v,T[1],v);break;case"V":T=d(w,v,w,T[1]);break;case"Z":T=d(w,v,s,c)}l=C,w=T[T.length-2],v=T[T.length-1],T.length>4?(u=T[T.length-4],o=T[T.length-3]):(u=w,o=v),a.push(T)}return a}},56131:function(k){var m=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function y(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}k.exports=function(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var M={},g=0;g<10;g++)M["_"+String.fromCharCode(g)]=g;if(Object.getOwnPropertyNames(M).map(function(l){return M[l]}).join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(l){h[l]=l}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(i,M){for(var g,h,l=y(i),a=1;a"u")return!1;for(var c in window)try{if(!o["$"+c]&&y.call(window,c)&&window[c]!==null&&typeof window[c]=="object")try{u(window[c])}catch{return!0}}catch{return!0}return!1}();d=function(c){var f=c!==null&&typeof c=="object",p=i.call(c)==="[object Function]",w=M(c),v=f&&i.call(c)==="[object String]",S=[];if(!f&&!p&&!w)throw new TypeError("Object.keys called on a non-object");var x=l&&p;if(v&&c.length>0&&!y.call(c,0))for(var T=0;T0)for(var C=0;C"u"||!s)return u(b);try{return u(b)}catch{return!1}}(c),L=0;L=0&&m.call(t.callee)==="[object Function]"),y}},88641:function(k){function m(y,i){if(typeof y!="string")return[y];var M=[y];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var g=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],h=i.escape||"___",l=!!i.flat;g.forEach(function(u){var o=new RegExp(["\\",u[0],"[^\\",u[0],"\\",u[1],"]*\\",u[1]].join("")),s=[];function c(f,p,w){var v=M.push(f.slice(u[0].length,-u[1].length))-1;return s.push(v),h+v+h}M.forEach(function(f,p){for(var w,v=0;f!=w;)if(w=f,f=f.replace(o,c),v++>1e4)throw Error("References have circular dependency. Please, check them.");M[p]=f}),s=s.reverse(),M=M.map(function(f){return s.forEach(function(p){f=f.replace(new RegExp("(\\"+h+p+"\\"+h+")","g"),u[0]+"$1"+u[1])}),f})});var a=new RegExp("\\"+h+"([0-9]+)\\"+h);return l?M:function u(o,s,c){for(var f,p=[],w=0;f=a.exec(o);){if(w++>1e4)throw Error("Circular references in parenthesis");p.push(o.slice(0,f.index)),p.push(u(s[f[1]],s)),o=o.slice(f.index+f[0].length)}return p.push(o),p}(M[0],M)}function t(y,i){if(i&&i.flat){var M,g=i&&i.escape||"___",h=y[0];if(!h)return"";for(var l=new RegExp("\\"+g+"([0-9]+)\\"+g),a=0;h!=M;){if(a++>1e4)throw Error("Circular references in "+y);M=h,h=h.replace(l,u)}return h}return y.reduce(function o(s,c){return Array.isArray(c)&&(c=c.reduce(o,"")),s+c},"");function u(o,s){if(y[s]==null)throw Error("Reference "+s+"is undefined");return y[s]}}function d(y,i){return Array.isArray(y)?t(y,i):m(y,i)}d.parse=m,d.stringify=t,k.exports=d},18863:function(k,m,t){var d=t(71299);k.exports=function(y){var i;return arguments.length>1&&(y=arguments),typeof y=="string"?y=y.split(/\s/).map(parseFloat):typeof y=="number"&&(y=[y]),y.length&&typeof y[0]=="number"?i=y.length===1?{width:y[0],height:y[0],x:0,y:0}:y.length===2?{width:y[0],height:y[1],x:0,y:0}:{x:y[0],y:y[1],width:y[2]-y[0]||0,height:y[3]-y[1]||0}:y&&(i={x:(y=d(y,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"})).left||0,y:y.top||0},y.width==null?y.right?i.width=y.right-i.x:i.width=0:i.width=y.width,y.height==null?y.bottom?i.height=y.bottom-i.y:i.height=0:i.height=y.height),i}},95616:function(k){k.exports=function(y){var i=[];return y.replace(t,function(M,g,h){var l=g.toLowerCase();for(h=function(a){var u=a.match(d);return u?u.map(Number):[]}(h),l=="m"&&h.length>2&&(i.push([g].concat(h.splice(0,2))),l="l",g=g=="m"?"l":"L");;){if(h.length==m[l])return h.unshift(g),i.push(h);if(h.lengthM!=c>M&&i<(s-u)*(M-o)/(c-o)+u&&(g=!g)}return g}},52142:function(k,m,t){var d,y=t(69444),i=t(29023),M=t(87263),g=t(11328),h=t(55968),l=t(10670),a=!1,u=i();function o(s,c,f){var p=d.segments(s),w=d.segments(c),v=f(d.combine(p,w));return d.polygon(v)}d={buildLog:function(s){return s===!0?a=y():s===!1&&(a=!1),a!==!1&&a.list},epsilon:function(s){return u.epsilon(s)},segments:function(s){var c=M(!0,u,a);return s.regions.forEach(c.addRegion),{segments:c.calculate(s.inverted),inverted:s.inverted}},combine:function(s,c){return{combined:M(!1,u,a).calculate(s.segments,s.inverted,c.segments,c.inverted),inverted1:s.inverted,inverted2:c.inverted}},selectUnion:function(s){return{segments:h.union(s.combined,a),inverted:s.inverted1||s.inverted2}},selectIntersect:function(s){return{segments:h.intersect(s.combined,a),inverted:s.inverted1&&s.inverted2}},selectDifference:function(s){return{segments:h.difference(s.combined,a),inverted:s.inverted1&&!s.inverted2}},selectDifferenceRev:function(s){return{segments:h.differenceRev(s.combined,a),inverted:!s.inverted1&&s.inverted2}},selectXor:function(s){return{segments:h.xor(s.combined,a),inverted:s.inverted1!==s.inverted2}},polygon:function(s){return{regions:g(s.segments,u,a),inverted:s.inverted}},polygonFromGeoJSON:function(s){return l.toPolygon(d,s)},polygonToGeoJSON:function(s){return l.fromPolygon(d,u,s)},union:function(s,c){return o(s,c,d.selectUnion)},intersect:function(s,c){return o(s,c,d.selectIntersect)},difference:function(s,c){return o(s,c,d.selectDifference)},differenceRev:function(s,c){return o(s,c,d.selectDifferenceRev)},xor:function(s,c){return o(s,c,d.selectXor)}},typeof window=="object"&&(window.PolyBool=d),k.exports=d},69444:function(k){k.exports=function(){var m,t=0,d=!1;function y(i,M){return m.list.push({type:i,data:M?JSON.parse(JSON.stringify(M)):void 0}),m}return m={list:[],segmentId:function(){return t++},checkIntersection:function(i,M){return y("check",{seg1:i,seg2:M})},segmentChop:function(i,M){return y("div_seg",{seg:i,pt:M}),y("chop",{seg:i,pt:M})},statusRemove:function(i){return y("pop_seg",{seg:i})},segmentUpdate:function(i){return y("seg_update",{seg:i})},segmentNew:function(i,M){return y("new_seg",{seg:i,primary:M})},segmentRemove:function(i){return y("rem_seg",{seg:i})},tempStatus:function(i,M,g){return y("temp_status",{seg:i,above:M,below:g})},rewind:function(i){return y("rewind",{seg:i})},status:function(i,M,g){return y("status",{seg:i,above:M,below:g})},vert:function(i){return i===d?m:(d=i,y("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),y("log",{txt:i})},reset:function(){return y("reset")},selected:function(i){return y("selected",{segs:i})},chainStart:function(i){return y("chain_start",{seg:i})},chainRemoveHead:function(i,M){return y("chain_rem_head",{index:i,pt:M})},chainRemoveTail:function(i,M){return y("chain_rem_tail",{index:i,pt:M})},chainNew:function(i,M){return y("chain_new",{pt1:i,pt2:M})},chainMatch:function(i){return y("chain_match",{index:i})},chainClose:function(i){return y("chain_close",{index:i})},chainAddHead:function(i,M){return y("chain_add_head",{index:i,pt:M})},chainAddTail:function(i,M){return y("chain_add_tail",{index:i,pt:M})},chainConnect:function(i,M){return y("chain_con",{index1:i,index2:M})},chainReverse:function(i){return y("chain_rev",{index:i})},chainJoin:function(i,M){return y("chain_join",{index1:i,index2:M})},done:function(){return y("done")}}}},29023:function(k){k.exports=function(m){typeof m!="number"&&(m=1e-10);var t={epsilon:function(d){return typeof d=="number"&&(m=d),m},pointAboveOrOnLine:function(d,y,i){var M=y[0],g=y[1],h=i[0],l=i[1],a=d[0];return(h-M)*(d[1]-g)-(l-g)*(a-M)>=-m},pointBetween:function(d,y,i){var M=d[1]-y[1],g=i[0]-y[0],h=d[0]-y[0],l=i[1]-y[1],a=h*g+M*l;return!(a-m)},pointsSameX:function(d,y){return Math.abs(d[0]-y[0])m!=h-M>m&&(g-u)*(M-o)/(h-o)+u-i>m&&(l=!l),g=u,h=o}return l}};return t}},10670:function(k){var m={toPolygon:function(t,d){function y(g){if(g.length<=0)return t.segments({inverted:!1,regions:[]});function h(u){var o=u.slice(0,u.length-1);return t.segments({inverted:!1,regions:[o]})}for(var l=h(g[0]),a=1;a0})}function w(R,D){var F=R.seg,B=D.seg,N=F.start,W=F.end,j=B.start,Y=B.end;M&&M.checkIntersection(F,B);var U=i.linesIntersect(N,W,j,Y);if(U===!1){if(!i.pointsCollinear(N,W,j)||i.pointsSame(N,Y)||i.pointsSame(W,j))return!1;var G=i.pointsSame(N,j),q=i.pointsSame(W,Y);if(G&&q)return D;var H=!G&&i.pointBetween(N,j,Y),ne=!q&&i.pointBetween(W,j,Y);if(G)return ne?u(D,W):u(R,Y),D;H&&(q||(ne?u(D,W):u(R,Y)),u(D,N))}else U.alongA===0&&(U.alongB===-1?u(R,j):U.alongB===0?u(R,U.pt):U.alongB===1&&u(R,Y)),U.alongB===0&&(U.alongA===-1?u(D,N):U.alongA===0?u(D,U.pt):U.alongA===1&&u(D,W));return!1}for(var v=[];!h.isEmpty();){var S=h.getHead();if(M&&M.vert(S.pt[0]),S.isStart){let R=function(){if(T){var D=w(S,T);if(D)return D}return!!C&&w(S,C)};var I=R;M&&M.segmentNew(S.seg,S.primary);var x=p(S),T=x.before?x.before.ev:null,C=x.after?x.after.ev:null;M&&M.tempStatus(S.seg,!!T&&T.seg,!!C&&C.seg);var _,A,L=R();if(L&&(y?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below)&&(L.seg.myFill.above=!L.seg.myFill.above):L.seg.otherFill=S.seg.myFill,M&&M.segmentUpdate(L.seg),S.other.remove(),S.remove()),h.getHead()!==S){M&&M.rewind(S.seg);continue}y?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below,S.seg.myFill.below=C?C.seg.myFill.above:s,S.seg.myFill.above=A?!S.seg.myFill.below:S.seg.myFill.below):S.seg.otherFill===null&&(_=C?S.primary===C.primary?C.seg.otherFill.above:C.seg.myFill.above:S.primary?c:s,S.seg.otherFill={above:_,below:_}),M&&M.status(S.seg,!!T&&T.seg,!!C&&C.seg),S.other.status=x.insert(d.node({ev:S}))}else{var b=S.status;if(b===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(f.exists(b.prev)&&f.exists(b.next)&&w(b.prev.ev,b.next.ev),M&&M.statusRemove(b.ev.seg),b.remove(),!S.primary){var P=S.seg.myFill;S.seg.myFill=S.seg.otherFill,S.seg.otherFill=P}v.push(S.seg)}h.getHead().remove()}return M&&M.done(),v}return y?{addRegion:function(s){for(var c,f,p,w=s[s.length-1],v=0;v0&&!this.aborted;){var M=this.ifds_to_read.shift();M.offset&&this.scan_ifd(M.id,M.offset,y)}},d.prototype.read_uint16=function(y){var i=this.input;if(y+2>i.length)throw m("unexpected EOF","EBADDATA");return this.big_endian?256*i[y]+i[y+1]:i[y]+256*i[y+1]},d.prototype.read_uint32=function(y){var i=this.input;if(y+4>i.length)throw m("unexpected EOF","EBADDATA");return this.big_endian?16777216*i[y]+65536*i[y+1]+256*i[y+2]+i[y+3]:i[y]+256*i[y+1]+65536*i[y+2]+16777216*i[y+3]},d.prototype.is_subifd_link=function(y,i){return y===0&&i===34665||y===0&&i===34853||y===34665&&i===40965},d.prototype.exif_format_length=function(y){switch(y){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},d.prototype.exif_format_read=function(y,i){var M;switch(y){case 1:case 2:return this.input[i];case 6:return(M=this.input[i])|33554430*(128&M);case 3:return this.read_uint16(i);case 8:return(M=this.read_uint16(i))|131070*(32768&M);case 4:return this.read_uint32(i);case 9:return 0|this.read_uint32(i);default:return null}},d.prototype.scan_ifd=function(y,i,M){var g=this.read_uint16(i);i+=2;for(var h=0;hthis.input.length)throw m("unexpected EOF","EBADDATA");for(var p=[],w=c,v=0;v0&&(this.ifds_to_read.push({id:l,offset:p[0]}),f=!0),M({is_big_endian:this.big_endian,ifd:y,tag:l,format:a,count:u,entry_offset:i+this.start,data_length:s,data_offset:c+this.start,value:p,is_subifd_link:f})===!1)return void(this.aborted=!0);i+=12}y===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},k.exports.ExifParser=d,k.exports.get_orientation=function(y){var i=0;try{return new d(y,0,y.length).each(function(M){if(M.ifd===0&&M.tag===274&&Array.isArray(M.value))return i=M.value[0],!1}),i}catch{return-1}}},76767:function(k,m,t){var d=t(14847).n8,y=t(14847).Ag;function i(u,o){if(u.length<4+o)return null;var s=y(u,o);return u.length>4&15,c=15&u[4],f=u[5]>>4&15,p=d(u,6),w=8,v=0;vx.width||S.width===x.width&&S.height>x.height?S:x}),f=s.reduce(function(S,x){return S.height>x.height||S.height===x.height&&S.width>x.width?S:x}),c.width>f.height||c.width===f.height&&c.height>f.width?c:f),w=1;o.transforms.forEach(function(S){var x={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},T={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(S.type==="imir"&&(w=S.value===0?T[w]:x[w=x[w=T[w]]]),S.type==="irot")for(var C=0;C1&&(p.variants=f.variants),f.orientation&&(p.orientation=f.orientation),f.exif_location&&f.exif_location.offset+f.exif_location.length<=l.length){var w=i(l,f.exif_location.offset),v=l.slice(f.exif_location.offset+w+4,f.exif_location.offset+f.exif_location.length),S=g.get_orientation(v);S>0&&(p.orientation=S)}return p}}}}}}},2504:function(k,m,t){var d=t(14847).eG,y=t(14847).OF,i=t(14847).mP,M=d("BM");k.exports=function(g){if(!(g.length<26)&&y(g,0,M))return{width:i(g,18),height:i(g,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(k,m,t){var d=t(14847).eG,y=t(14847).OF,i=t(14847).mP,M=d("GIF87a"),g=d("GIF89a");k.exports=function(h){if(!(h.length<10)&&(y(h,0,M)||y(h,0,g)))return{width:i(h,6),height:i(h,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(k,m,t){var d=t(14847).mP;k.exports=function(y){var i=d(y,0),M=d(y,2),g=d(y,4);if(i===0&&M===1&&g){for(var h=[],l={width:0,height:0},a=0;al.width||o>l.height)&&(l=s)}return{width:l.width,height:l.height,variants:h,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(k,m,t){var d=t(14847).n8,y=t(14847).eG,i=t(14847).OF,M=t(71371),g=y("Exif\0\0");k.exports=function(h){if(!(h.length<2)&&h[0]===255&&h[1]===216&&h[2]===255)for(var l=2;;){for(;;){if(h.length-l<2)return;if(h[l++]===255)break}for(var a,u,o=h[l++];o===255;)o=h[l++];if(208<=o&&o<=217||o===1)a=0;else{if(!(192<=o&&o<=254)||h.length-l<2)return;a=d(h,l)-2,l+=2}if(o===217||o===218)return;if(o===225&&a>=10&&i(h,l,g)&&(u=M.get_orientation(h.slice(l+6,l+a))),a>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(h.length-l0&&(s.orientation=u),s}l+=a}}},6303:function(k,m,t){var d=t(14847).eG,y=t(14847).OF,i=t(14847).Ag,M=d(`ย‰PNG\r  -`),g=d("IHDR");k.exports=function(h){if(!(h.length<24)&&y(h,0,M)&&y(h,12,g))return{width:i(h,16),height:i(h,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},38689:function(k,m,t){var d=t(14847).eG,y=t(14847).OF,i=t(14847).Ag,M=d("8BPS\0");k.exports=function(g){if(!(g.length<22)&&y(g,0,M))return{width:i(g,18),height:i(g,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},6881:function(k){function m(l){return typeof l=="number"&&isFinite(l)&&l>0}var t=/<[-_.:a-zA-Z0-9][^>]*>/,d=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,y=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,i=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,M=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,g=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function h(l){return g.test(l)?l.match(g)[0]:"px"}k.exports=function(l){if(function(T){var C,_=0,A=T.length;for(T[0]===239&&T[1]===187&&T[2]===191&&(_=3);_>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function o(s,f){return{width:1+(s[f+6]<<16|s[f+5]<<8|s[f+4]),height:1+(s[f+9]<s.length)){for(;f+8=10?c=c||a(s,f+8):v==="VP8L"&&S>=9?c=c||u(s,f+8):v==="VP8X"&&S>=10?c=c||o(s,f+8):v==="EXIF"&&(p=g.get_orientation(s.slice(f+8,f+8+S)),f=1/0),f+=8+S}else f++;if(c)return p>0&&(c.orientation=p),c}}}},91497:function(k,m,t){k.exports={avif:t(24461),bmp:t(2504),gif:t(47342),ico:t(31355),jpeg:t(54261),png:t(6303),psd:t(38689),svg:t(6881),tiff:t(66278),webp:t(90784)}},33575:function(k,m,t){var d=t(91497);k.exports=function(y){return function(i){for(var M=Object.keys(d),g=0;g1)for(var w=1;w"u"?t.g:window,i=["moz","webkit"],M="AnimationFrame",g=y["request"+M],h=y["cancel"+M]||y["cancelRequest"+M],l=0;!g&&l0}var t=/<[-_.:a-zA-Z0-9][^>]*>/,d=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,y=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,i=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,M=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,g=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function h(l){return g.test(l)?l.match(g)[0]:"px"}k.exports=function(l){if(function(T){var C,_=0,A=T.length;for(T[0]===239&&T[1]===187&&T[2]===191&&(_=3);_>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function o(s,c){return{width:1+(s[c+6]<<16|s[c+5]<<8|s[c+4]),height:1+(s[c+9]<s.length)){for(;c+8=10?f=f||a(s,c+8):v==="VP8L"&&S>=9?f=f||u(s,c+8):v==="VP8X"&&S>=10?f=f||o(s,c+8):v==="EXIF"&&(p=g.get_orientation(s.slice(c+8,c+8+S)),c=1/0),c+=8+S}else c++;if(f)return p>0&&(f.orientation=p),f}}}},91497:function(k,m,t){k.exports={avif:t(24461),bmp:t(2504),gif:t(47342),ico:t(31355),jpeg:t(54261),png:t(6303),psd:t(38689),svg:t(6881),tiff:t(66278),webp:t(90784)}},33575:function(k,m,t){var d=t(91497);k.exports=function(y){return function(i){for(var M=Object.keys(d),g=0;g1)for(var w=1;w"u"?t.g:window,i=["moz","webkit"],M="AnimationFrame",g=y["request"+M],h=y["cancel"+M]||y["cancelRequest"+M],l=0;!g&&l1&&(R.scaleRatio=[R.scale[0]*R.viewport.width,R.scale[1]*R.viewport.height],c(R),R.after&&R.after(R))}function O(R){if(R){R.length!=null?typeof R[0]=="number"&&(R=[{positions:R}]):Array.isArray(R)||(R=[R]);var D=0,F=0;if(A.groups=_=R.map(function(G,W){var H=_[W];return G&&(typeof G=="function"?G={after:G}:typeof G[0]=="number"&&(G={positions:G}),G=M(G,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),H||(_[W]=H={id:W,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},G=g({},C,G)),i(H,G,[{lineWidth:function(ne){return .5*+ne},capSize:function(ne){return .5*+ne},opacity:parseFloat,errors:function(ne){return ne=h(ne),F+=ne.length,ne},positions:function(ne,te){return ne=h(ne,"float64"),te.count=Math.floor(ne.length/2),te.bounds=d(ne,2),te.offset=D,D+=te.count,ne}},{color:function(ne,te){var Z=te.count;if(ne||(ne="transparent"),!Array.isArray(ne)||typeof ne[0]=="number"){var X=ne;ne=Array(Z);for(var Q=0;Q1&&(R.scaleRatio=[R.scale[0]*R.viewport.width,R.scale[1]*R.viewport.height],f(R),R.after&&R.after(R))}function P(R){if(R){R.length!=null?typeof R[0]=="number"&&(R=[{positions:R}]):Array.isArray(R)||(R=[R]);var D=0,F=0;if(A.groups=_=R.map(function(G,q){var H=_[q];return G&&(typeof G=="function"?G={after:G}:typeof G[0]=="number"&&(G={positions:G}),G=M(G,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),H||(_[q]=H={id:q,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},G=g({},C,G)),i(H,G,[{lineWidth:function(ne){return .5*+ne},capSize:function(ne){return .5*+ne},opacity:parseFloat,errors:function(ne){return ne=h(ne),F+=ne.length,ne},positions:function(ne,te){return ne=h(ne,"float64"),te.count=Math.floor(ne.length/2),te.bounds=d(ne,2),te.offset=D,D+=te.count,ne}},{color:function(ne,te){var Z=te.count;if(ne||(ne="transparent"),!Array.isArray(ne)||typeof ne[0]=="number"){var X=ne;ne=Array(Z);for(var Q=0;Q1&&T.opacity&&(v.regl._refresh(),T.fill&&T.triangles&&T.triangles.length>2&&v.shaders.fill(T),T.thickness&&(T.scale[0]*T.viewport.width>w.precisionThreshold||T.scale[1]*T.viewport.height>w.precisionThreshold||T.join==="rect"||!T.join&&(T.thickness<=2||T.count>=w.maxPoints)?v.shaders.rect(T):v.shaders.miter(T)))}),this},w.prototype.update=function(v){var S=this;if(v){v.length!=null?typeof v[0]=="number"&&(v=[{positions:v}]):Array.isArray(v)||(v=[v]);var x=this.regl,T=this.gl;if(v.forEach(function(b,O){var I=S.passes[O];if(b!==void 0)if(b!==null){if(typeof b[0]=="number"&&(b={positions:b}),b=g(b,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),I||(S.passes[O]=I={id:O,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:x.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:x.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:x.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:x.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=i({},w.defaults,b)),b.thickness!=null&&(I.thickness=parseFloat(b.thickness)),b.opacity!=null&&(I.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(I.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(I.overlay=!!b.overlay,O=re});(Z=Z.slice(0,ie)).push(re)}for(var oe=function(kt){var xt=j.slice(2*Q,2*Z[kt]).concat(re?j.slice(2*re):[]),Ft=(I.hole||[]).map(function(Bt){return Bt-re+(Z[kt]-Q)}),Rt=l(xt,Ft);Rt=Rt.map(function(Bt){return Bt+Q+(Bt+QT.length)&&(C=T.length);for(var _=0,A=new Array(C);_1&&T.opacity&&(v.regl._refresh(),T.fill&&T.triangles&&T.triangles.length>2&&v.shaders.fill(T),T.thickness&&(T.scale[0]*T.viewport.width>w.precisionThreshold||T.scale[1]*T.viewport.height>w.precisionThreshold||T.join==="rect"||!T.join&&(T.thickness<=2||T.count>=w.maxPoints)?v.shaders.rect(T):v.shaders.miter(T)))}),this},w.prototype.update=function(v){var S=this;if(v){v.length!=null?typeof v[0]=="number"&&(v=[{positions:v}]):Array.isArray(v)||(v=[v]);var x=this.regl,T=this.gl;if(v.forEach(function(b,P){var I=S.passes[P];if(b!==void 0)if(b!==null){if(typeof b[0]=="number"&&(b={positions:b}),b=g(b,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),I||(S.passes[P]=I={id:P,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:x.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:x.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:x.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:x.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=i({},w.defaults,b)),b.thickness!=null&&(I.thickness=parseFloat(b.thickness)),b.opacity!=null&&(I.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(I.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(I.overlay=!!b.overlay,P=re});(Z=Z.slice(0,ie)).push(re)}for(var oe=function(kt){var xt=j.slice(2*Q,2*Z[kt]).concat(re?j.slice(2*re):[]),Ft=(I.hole||[]).map(function(Bt){return Bt-re+(Z[kt]-Q)}),Rt=l(xt,Ft);Rt=Rt.map(function(Bt){return Bt+Q+(Bt+QT.length)&&(C=T.length);for(var _=0,A=new Array(C);_Pe)?pe.tree=l(me,{bounds:ae}):Pe&&Pe.length&&(pe.tree=Pe),pe.tree){var he={primitive:"points",usage:"static",data:pe.tree,type:"uint32"};pe.elements?pe.elements(he):pe.elements=O.elements(he)}var be=p.float32(me);return _e({data:be,usage:"dynamic"}),Me({data:p.fract32(me,be),usage:"dynamic"}),Se({data:new Uint8Array(Ce),type:"uint8",usage:"stream"}),me}},{marker:function(me,pe,xe){var Pe=pe.activation;if(Pe.forEach(function(be){return be&&be.destroy&&be.destroy()}),Pe.length=0,me&&typeof me[0]!="number"){for(var _e=[],Me=0,Se=Math.min(me.length,pe.count);Me=0)return b;if(T instanceof Uint8Array||T instanceof Uint8ClampedArray)C=T;else{C=new Uint8Array(T.length);for(var O=0,I=T.length;O4*A&&(this.tooManyColors=!0),this.updatePalette(_),L.length===1?L[0]:L},S.prototype.updatePalette=function(T){if(!this.tooManyColors){var C=this.maxColors,_=this.paletteTexture,A=Math.ceil(.25*T.length/C);if(A>1)for(var L=.25*(T=T.slice()).length%C;L2?(T[0],T[2],w=T[1],v=T[3]):T.length?(w=T[0],v=T[1]):(T.x,w=T.y,T.x,T.width,v=T.y+T.height),C.length>2?(S=C[0],x=C[2],C[1],C[3]):C.length?(S=C[0],x=C[1]):(S=C.x,C.y,x=C.x+C.width,C.y,C.height),[S,w,x,v]}function s(f){if(typeof f=="number")return[f,f,f,f];if(f.length===2)return[f[0],f[1],f[0],f[1]];var c=h(f);return[c.x,c.y,c.x+c.width,c.y+c.height]}k.exports=a,a.prototype.render=function(){for(var f,c=this,p=[],w=arguments.length;w--;)p[w]=arguments[w];return p.length&&(f=this).update.apply(f,p),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=M(function(){c.draw(),c.dirty=!0,c.planned=null})):(this.draw(),this.dirty=!0,M(function(){c.dirty=!1})),this)},a.prototype.update=function(){for(var f,c=[],p=arguments.length;p--;)c[p]=arguments[p];if(c.length){for(var w=0;wF))&&(S.lower||!(D"u"?1:window.devicePixelRatio,It=!1,Lt={},yt=function(wt){},Pt=function(){};if(typeof Qe=="string"?nt=document.querySelector(Qe):typeof Qe=="object"&&(typeof Qe.nodeName=="string"&&typeof Qe.appendChild=="function"&&typeof Qe.getBoundingClientRect=="function"?nt=Qe:typeof Qe.drawArrays=="function"||typeof Qe.drawElements=="function"?Oe=(Ne=Qe).canvas:("gl"in Qe?Ne=Qe.gl:"canvas"in Qe?Oe=i(Qe.canvas):"container"in Qe&&(ht=i(Qe.container)),"attributes"in Qe&&(We=Qe.attributes),"extensions"in Qe&&(ut=y(Qe.extensions)),"optionalExtensions"in Qe&&(dt=y(Qe.optionalExtensions)),"onDone"in Qe&&(yt=Qe.onDone),"profile"in Qe&&(It=!!Qe.profile),"pixelRatio"in Qe&&(_t=+Qe.pixelRatio),"cachedCode"in Qe&&(Lt=Qe.cachedCode))),nt&&(nt.nodeName.toLowerCase()==="canvas"?Oe=nt:ht=nt),!Ne){if(!Oe){if(!(nt=function(wt,Ot,Nt){function Yt(){var Qt=window.innerWidth,rn=window.innerHeight;wt!==document.body&&(Qt=(rn=Xt.getBoundingClientRect()).right-rn.left,rn=rn.bottom-rn.top),Xt.width=Nt*Qt,Xt.height=Nt*rn}var qt,Xt=document.createElement("canvas");return re(Xt.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),wt.appendChild(Xt),wt===document.body&&(Xt.style.position="absolute",re(wt.style,{margin:0,padding:0})),wt!==document.body&&typeof ResizeObserver=="function"?(qt=new ResizeObserver(function(){setTimeout(Yt)})).observe(wt):window.addEventListener("resize",Yt,!1),Yt(),{canvas:Xt,onDestroy:function(){qt?qt.disconnect():window.removeEventListener("resize",Yt),wt.removeChild(Xt)}}}(ht||document.body,0,_t)))return null;Oe=nt.canvas,Pt=nt.onDestroy}We.premultipliedAlpha===void 0&&(We.premultipliedAlpha=!0),Ne=function(wt,Ot){function Nt(Yt){try{return wt.getContext(Yt,Ot)}catch{return null}}return Nt("webgl")||Nt("experimental-webgl")||Nt("webgl-experimental")}(Oe,We)}return Ne?{gl:Ne,canvas:Oe,container:ht,extensions:ut,optionalExtensions:dt,pixelRatio:_t,profile:It,cachedCode:Lt,onDone:yt,onDestroy:Pt}:(Pt(),yt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function g(We,nt){for(var ht=Array(We),Oe=0;Oe>>=nt))<<3,(nt|=ht=(15<(We>>>=ht))<<2)|(ht=(3<(We>>>=ht))<<1)|We>>>ht>>1}function l(){function We(Oe){e:{for(var Ne=16;268435456>=Ne;Ne*=16)if(Oe<=Ne){Oe=Ne;break e}Oe=0}return 0<(Ne=ht[h(Oe)>>2]).length?Ne.pop():new ArrayBuffer(Oe)}function nt(Oe){ht[h(Oe.byteLength)>>2].push(Oe)}var ht=g(8,function(){return[]});return{alloc:We,free:nt,allocType:function(Oe,Ne){var Qe=null;switch(Oe){case 5120:Qe=new Int8Array(We(Ne),0,Ne);break;case 5121:Qe=new Uint8Array(We(Ne),0,Ne);break;case 5122:Qe=new Int16Array(We(2*Ne),0,Ne);break;case 5123:Qe=new Uint16Array(We(2*Ne),0,Ne);break;case 5124:Qe=new Int32Array(We(4*Ne),0,Ne);break;case 5125:Qe=new Uint32Array(We(4*Ne),0,Ne);break;case 5126:Qe=new Float32Array(We(4*Ne),0,Ne);break;default:return null}return Qe.length!==Ne?Qe.subarray(0,Ne):Qe},freeType:function(Oe){nt(Oe.buffer)}}}function a(We){return!!We&&typeof We=="object"&&Array.isArray(We.shape)&&Array.isArray(We.stride)&&typeof We.offset=="number"&&We.shape.length===We.stride.length&&(Array.isArray(We.data)||me(We.data))}function u(We,nt,ht,Oe,Ne,Qe){for(var ut=0;ut(Pt=Nt)&&(Pt=yt.buffer.byteLength,Xt===5123?Pt>>=1:Xt===5125&&(Pt>>=2)),yt.vertCount=Pt,Pt=Ot,0>Ot&&(Pt=4,(Ot=yt.buffer.dimension)===1&&(Pt=0),Ot===2&&(Pt=1),Ot===3&&(Pt=4)),yt.primType=Pt}function ut(yt){Oe.elementsCount--,delete dt[yt.id],yt.buffer.destroy(),yt.buffer=null}var dt={},_t=0,It={uint8:5121,uint16:5123};nt.oes_element_index_uint&&(It.uint32=5125),Ne.prototype.bind=function(){this.buffer.bind()};var Lt=[];return{create:function(yt,Pt){function wt(Yt){if(Yt)if(typeof Yt=="number")Ot(Yt),Nt.primType=4,Nt.vertCount=0|Yt,Nt.type=5121;else{var qt=null,Xt=35044,Qt=-1,rn=-1,xn=0,un=0;Array.isArray(Yt)||me(Yt)||a(Yt)?qt=Yt:("data"in Yt&&(qt=Yt.data),"usage"in Yt&&(Xt=Me[Yt.usage]),"primitive"in Yt&&(Qt=he[Yt.primitive]),"count"in Yt&&(rn=0|Yt.count),"type"in Yt&&(un=It[Yt.type]),"length"in Yt?xn=0|Yt.length:(xn=rn,un===5123||un===5122?xn*=2:un!==5125&&un!==5124||(xn*=4))),Qe(Nt,qt,Xt,Qt,rn,xn,un)}else Ot(),Nt.primType=4,Nt.vertCount=0,Nt.type=5121;return wt}var Ot=ht.create(null,34963,!0),Nt=new Ne(Ot._buffer);return Oe.elementsCount++,wt(yt),wt._reglType="elements",wt._elements=Nt,wt.subdata=function(Yt,qt){return Ot.subdata(Yt,qt),wt},wt.destroy=function(){ut(Nt)},wt},createStream:function(yt){var Pt=Lt.pop();return Pt||(Pt=new Ne(ht.create(null,34963,!0,!1)._buffer)),Qe(Pt,yt,35040,-1,-1,0,0),Pt},destroyStream:function(yt){Lt.push(yt)},getElements:function(yt){return typeof yt=="function"&&yt._elements instanceof Ne?yt._elements:null},clear:function(){pe(dt).forEach(ut)}}}function v(We){for(var nt=ye.allocType(5123,We.length),ht=0;ht>>31<<15,Ne=(Qe<<1>>>24)-127,Qe=Qe>>13&1023;nt[ht]=-24>Ne?Oe:-14>Ne?Oe+(Qe+1024>>-14-Ne):15>=fn,jt.height>>=fn,Pt(jt,Jt[fn]),nn.mipmask|=1<Pn;++Pn)nn.images[Pn]=null;return nn}function xn(nn){for(var Pn=nn.images,jt=0;jtnn){for(var Pn=0;Pn=--this.refCount&&dn(this)}}),ut.profile&&(Qe.getTotalTextureSize=function(){var nn=0;return Object.keys($n).forEach(function(Pn){nn+=$n[Pn].stats.size}),nn}),{create2D:function(nn,Pn){function jt(fn,zn){var Rn=Jt.texInfo;un.call(Rn);var En=rn();return typeof fn=="number"?qt(En,0|fn,typeof zn=="number"?0|zn:0|fn):fn?(An(Rn,fn),Xt(En,fn)):qt(En,1,1),Rn.genMipmaps&&(En.mipmask=(En.width<<1)-1),Jt.mipmask=En.mipmask,_t(Jt,En),Jt.internalformat=En.internalformat,jt.width=En.width,jt.height=En.height,sn(Jt),Qt(En,3553),Yn(Rn,3553),Tn(),xn(En),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,En.width,En.height,Rn.genMipmaps,!1)),jt.format=or[Jt.internalformat],jt.type=vr[Jt.type],jt.mag=_r[Rn.magFilter],jt.min=Kt[Rn.minFilter],jt.wrapS=bn[Rn.wrapS],jt.wrapT=bn[Rn.wrapT],jt}var Jt=new kn(3553);return $n[Jt.id]=Jt,Qe.textureCount++,jt(nn,Pn),jt.subimage=function(fn,zn,Rn,En){zn|=0,Rn|=0,En|=0;var mn=Ot();return _t(mn,Jt),mn.width=0,mn.height=0,Pt(mn,fn),mn.width=mn.width||(Jt.width>>En)-zn,mn.height=mn.height||(Jt.height>>En)-Rn,sn(Jt),wt(mn,3553,zn,Rn,En),Tn(),Nt(mn),jt},jt.resize=function(fn,zn){var Rn=0|fn,En=0|zn||Rn;if(Rn===Jt.width&&En===Jt.height)return jt;jt.width=Jt.width=Rn,jt.height=Jt.height=En,sn(Jt);for(var mn=0;Jt.mipmask>>mn;++mn){var wn=Rn>>mn,gn=En>>mn;if(!wn||!gn)break;We.texImage2D(3553,mn,Jt.format,wn,gn,0,Jt.format,Jt.type,null)}return Tn(),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,Rn,En,!1,!1)),jt},jt._reglType="texture2d",jt._texture=Jt,ut.profile&&(jt.stats=Jt.stats),jt.destroy=function(){Jt.decRef()},jt},createCube:function(nn,Pn,jt,Jt,fn,zn){function Rn(wn,gn,yn,Sn,Vn,Xn){var nr,Qn=En.texInfo;for(un.call(Qn),nr=0;6>nr;++nr)mn[nr]=rn();if(typeof wn!="number"&&wn){if(typeof wn=="object")if(gn)Xt(mn[0],wn),Xt(mn[1],gn),Xt(mn[2],yn),Xt(mn[3],Sn),Xt(mn[4],Vn),Xt(mn[5],Xn);else if(An(Qn,wn),It(En,wn),"faces"in wn)for(wn=wn.faces,nr=0;6>nr;++nr)_t(mn[nr],En),Xt(mn[nr],wn[nr]);else for(nr=0;6>nr;++nr)Xt(mn[nr],wn)}else for(wn=0|wn||1,nr=0;6>nr;++nr)qt(mn[nr],wn,wn);for(_t(En,mn[0]),En.mipmask=Qn.genMipmaps?(mn[0].width<<1)-1:mn[0].mipmask,En.internalformat=mn[0].internalformat,Rn.width=mn[0].width,Rn.height=mn[0].height,sn(En),nr=0;6>nr;++nr)Qt(mn[nr],34069+nr);for(Yn(Qn,34067),Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,Rn.width,Rn.height,Qn.genMipmaps,!0)),Rn.format=or[En.internalformat],Rn.type=vr[En.type],Rn.mag=_r[Qn.magFilter],Rn.min=Kt[Qn.minFilter],Rn.wrapS=bn[Qn.wrapS],Rn.wrapT=bn[Qn.wrapT],nr=0;6>nr;++nr)xn(mn[nr]);return Rn}var En=new kn(34067);$n[En.id]=En,Qe.cubeCount++;var mn=Array(6);return Rn(nn,Pn,jt,Jt,fn,zn),Rn.subimage=function(wn,gn,yn,Sn,Vn){yn|=0,Sn|=0,Vn|=0;var Xn=Ot();return _t(Xn,En),Xn.width=0,Xn.height=0,Pt(Xn,gn),Xn.width=Xn.width||(En.width>>Vn)-yn,Xn.height=Xn.height||(En.height>>Vn)-Sn,sn(En),wt(Xn,34069+wn,yn,Sn,Vn),Tn(),Nt(Xn),Rn},Rn.resize=function(wn){if((wn|=0)!==En.width){Rn.width=En.width=wn,Rn.height=En.height=wn,sn(En);for(var gn=0;6>gn;++gn)for(var yn=0;En.mipmask>>yn;++yn)We.texImage2D(34069+gn,yn,En.format,wn>>yn,wn>>yn,0,En.format,En.type,null);return Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,Rn.width,Rn.height,!1,!0)),Rn}},Rn._reglType="textureCube",Rn._texture=En,ut.profile&&(Rn.stats=En.stats),Rn.destroy=function(){En.decRef()},Rn},clear:function(){for(var nn=0;nnJt;++Jt)if(jt.mipmask&1<>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);else for(var fn=0;6>fn;++fn)We.texImage2D(34069+fn,Jt,jt.internalformat,jt.width>>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);Yn(jt.texInfo,jt.target)})},refresh:function(){for(var nn=0;nnpn;++pn){for(Wn=0;Wndn;++dn)Tn[dn].resize(pn);return sn.width=sn.height=pn,sn},_reglType:"framebufferCube",destroy:function(){Tn.forEach(function(dn){dn.destroy()})}})},clear:function(){pe(Yn).forEach(Yt)},restore:function(){Qt.cur=null,Qt.next=null,Qt.dirty=!0,pe(Yn).forEach(function(kn){kn.framebuffer=We.createFramebuffer(),qt(kn)})}})}function R(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function D(We,nt,ht,Oe,Ne,Qe,ut){function dt(){this.id=++Lt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var wt=nt.oes_vertex_array_object;this.vao=wt?wt.createVertexArrayOES():null,yt[this.id]=this,this.buffers=[]}var _t=ht.maxAttributes,It=Array(_t);for(ht=0;ht<_t;++ht)It[ht]=new R;var Lt=0,yt={},Pt={Record:R,scope:{},state:It,currentVAO:null,targetVAO:null,restore:nt.oes_vertex_array_object?function(){nt.oes_vertex_array_object&&pe(yt).forEach(function(wt){wt.refresh()})}:function(){},createVAO:function(wt){function Ot(Yt){var qt;Array.isArray(Yt)?(qt=Yt,Nt.elements&&Nt.ownsElements&&Nt.elements.destroy(),Nt.elements=null,Nt.ownsElements=!1,Nt.offset=0,Nt.count=0,Nt.instances=-1,Nt.primitive=4):(Yt.elements?(qt=Yt.elements,Nt.ownsElements?(typeof qt=="function"&&qt._reglType==="elements"?Nt.elements.destroy():Nt.elements(qt),Nt.ownsElements=!1):Qe.getElements(Yt.elements)?(Nt.elements=Yt.elements,Nt.ownsElements=!1):(Nt.elements=Qe.create(Yt.elements),Nt.ownsElements=!0)):(Nt.elements=null,Nt.ownsElements=!1),qt=Yt.attributes,Nt.offset=0,Nt.count=-1,Nt.instances=-1,Nt.primitive=4,Nt.elements&&(Nt.count=Nt.elements._elements.vertCount,Nt.primitive=Nt.elements._elements.primType),"offset"in Yt&&(Nt.offset=0|Yt.offset),"count"in Yt&&(Nt.count=0|Yt.count),"instances"in Yt&&(Nt.instances=0|Yt.instances),"primitive"in Yt&&(Nt.primitive=he[Yt.primitive])),Yt={};var Xt=Nt.attributes;Xt.length=qt.length;for(var Qt=0;Qt=An.byteLength?rn.subdata(An):(rn.destroy(),Nt.buffers[Qt]=null)),Nt.buffers[Qt]||(rn=Nt.buffers[Qt]=Ne.create(xn,34962,!1,!0)),un.buffer=Ne.getBuffer(rn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1,Yt[Qt]=1):Ne.getBuffer(xn)?(un.buffer=Ne.getBuffer(xn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1):Ne.getBuffer(xn.buffer)?(un.buffer=Ne.getBuffer(xn.buffer),un.size=0|(+xn.size||un.buffer.dimension),un.normalized=!!xn.normalized||!1,un.type="type"in xn?_e[xn.type]:un.buffer.dtype,un.offset=0|(xn.offset||0),un.stride=0|(xn.stride||0),un.divisor=0|(xn.divisor||0),un.state=1):"x"in xn&&(un.x=+xn.x||0,un.y=+xn.y||0,un.z=+xn.z||0,un.w=+xn.w||0,un.state=2)}for(rn=0;rnOt&&(Ot=Nt.stats.uniformsCount)}),Ot},ht.getMaxAttributesCount=function(){var Ot=0;return Pt.forEach(function(Nt){Nt.stats.attributesCount>Ot&&(Ot=Nt.stats.attributesCount)}),Ot}),{clear:function(){var Ot=We.deleteShader.bind(We);pe(It).forEach(Ot),It={},pe(Lt).forEach(Ot),Lt={},Pt.forEach(function(Nt){We.deleteProgram(Nt.program)}),Pt.length=0,yt={},ht.shaderCount=0},program:function(Ot,Nt,Yt,qt){var Xt=yt[Nt];Xt||(Xt=yt[Nt]={});var Qt=Xt[Ot];if(Qt&&(Qt.refCount++,!qt))return Qt;var rn=new dt(Nt,Ot);return ht.shaderCount++,_t(rn,Yt,qt),Qt||(Xt[Ot]=rn),Pt.push(rn),re(rn,{destroy:function(){if(rn.refCount--,0>=rn.refCount){We.deleteProgram(rn.program);var xn=Pt.indexOf(rn);Pt.splice(xn,1),ht.shaderCount--}0>=Xt[rn.vertId].refCount&&(We.deleteShader(Lt[rn.vertId]),delete Lt[rn.vertId],delete yt[rn.fragId][rn.vertId]),Object.keys(yt[rn.fragId]).length||(We.deleteShader(It[rn.fragId]),delete It[rn.fragId],delete yt[rn.fragId])}})},restore:function(){It={},Lt={};for(var Ot=0;Ot>>nt|We<<32-nt}function q(We,nt){var ht=(65535&We)+(65535&nt);return(We>>16)+(nt>>16)+(ht>>16)<<16|65535&ht}function j(We){return Array.prototype.slice.call(We)}function $(We){return j(We).join("")}function U(We){function nt(){var Lt=[],yt=[];return re(function(){Lt.push.apply(Lt,j(arguments))},{def:function(){var Pt="v"+Ne++;return yt.push(Pt),0Oe)?pe.tree=l(me,{bounds:ae}):Oe&&Oe.length&&(pe.tree=Oe),pe.tree){var he={primitive:"points",usage:"static",data:pe.tree,type:"uint32"};pe.elements?pe.elements(he):pe.elements=P.elements(he)}var be=p.float32(me);return _e({data:be,usage:"dynamic"}),Me({data:p.fract32(me,be),usage:"dynamic"}),Se({data:new Uint8Array(Ce),type:"uint8",usage:"stream"}),me}},{marker:function(me,pe,xe){var Oe=pe.activation;if(Oe.forEach(function(be){return be&&be.destroy&&be.destroy()}),Oe.length=0,me&&typeof me[0]!="number"){for(var _e=[],Me=0,Se=Math.min(me.length,pe.count);Me=0)return b;if(T instanceof Uint8Array||T instanceof Uint8ClampedArray)C=T;else{C=new Uint8Array(T.length);for(var P=0,I=T.length;P4*A&&(this.tooManyColors=!0),this.updatePalette(_),L.length===1?L[0]:L},S.prototype.updatePalette=function(T){if(!this.tooManyColors){var C=this.maxColors,_=this.paletteTexture,A=Math.ceil(.25*T.length/C);if(A>1)for(var L=.25*(T=T.slice()).length%C;L2?(T[0],T[2],w=T[1],v=T[3]):T.length?(w=T[0],v=T[1]):(T.x,w=T.y,T.x,T.width,v=T.y+T.height),C.length>2?(S=C[0],x=C[2],C[1],C[3]):C.length?(S=C[0],x=C[1]):(S=C.x,C.y,x=C.x+C.width,C.y,C.height),[S,w,x,v]}function s(c){if(typeof c=="number")return[c,c,c,c];if(c.length===2)return[c[0],c[1],c[0],c[1]];var f=h(c);return[f.x,f.y,f.x+f.width,f.y+f.height]}k.exports=a,a.prototype.render=function(){for(var c,f=this,p=[],w=arguments.length;w--;)p[w]=arguments[w];return p.length&&(c=this).update.apply(c,p),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=M(function(){f.draw(),f.dirty=!0,f.planned=null})):(this.draw(),this.dirty=!0,M(function(){f.dirty=!1})),this)},a.prototype.update=function(){for(var c,f=[],p=arguments.length;p--;)f[p]=arguments[p];if(f.length){for(var w=0;wF))&&(S.lower||!(D"u"?1:window.devicePixelRatio,It=!1,Lt={},yt=function(wt){},Ot=function(){};if(typeof Qe=="string"?nt=document.querySelector(Qe):typeof Qe=="object"&&(typeof Qe.nodeName=="string"&&typeof Qe.appendChild=="function"&&typeof Qe.getBoundingClientRect=="function"?nt=Qe:typeof Qe.drawArrays=="function"||typeof Qe.drawElements=="function"?Pe=(Ne=Qe).canvas:("gl"in Qe?Ne=Qe.gl:"canvas"in Qe?Pe=i(Qe.canvas):"container"in Qe&&(ht=i(Qe.container)),"attributes"in Qe&&(qe=Qe.attributes),"extensions"in Qe&&(ut=y(Qe.extensions)),"optionalExtensions"in Qe&&(dt=y(Qe.optionalExtensions)),"onDone"in Qe&&(yt=Qe.onDone),"profile"in Qe&&(It=!!Qe.profile),"pixelRatio"in Qe&&(_t=+Qe.pixelRatio),"cachedCode"in Qe&&(Lt=Qe.cachedCode))),nt&&(nt.nodeName.toLowerCase()==="canvas"?Pe=nt:ht=nt),!Ne){if(!Pe){if(!(nt=function(wt,Pt,Nt){function $t(){var Qt=window.innerWidth,rn=window.innerHeight;wt!==document.body&&(Qt=(rn=Xt.getBoundingClientRect()).right-rn.left,rn=rn.bottom-rn.top),Xt.width=Nt*Qt,Xt.height=Nt*rn}var Wt,Xt=document.createElement("canvas");return re(Xt.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),wt.appendChild(Xt),wt===document.body&&(Xt.style.position="absolute",re(wt.style,{margin:0,padding:0})),wt!==document.body&&typeof ResizeObserver=="function"?(Wt=new ResizeObserver(function(){setTimeout($t)})).observe(wt):window.addEventListener("resize",$t,!1),$t(),{canvas:Xt,onDestroy:function(){Wt?Wt.disconnect():window.removeEventListener("resize",$t),wt.removeChild(Xt)}}}(ht||document.body,0,_t)))return null;Pe=nt.canvas,Ot=nt.onDestroy}qe.premultipliedAlpha===void 0&&(qe.premultipliedAlpha=!0),Ne=function(wt,Pt){function Nt($t){try{return wt.getContext($t,Pt)}catch{return null}}return Nt("webgl")||Nt("experimental-webgl")||Nt("webgl-experimental")}(Pe,qe)}return Ne?{gl:Ne,canvas:Pe,container:ht,extensions:ut,optionalExtensions:dt,pixelRatio:_t,profile:It,cachedCode:Lt,onDone:yt,onDestroy:Ot}:(Ot(),yt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function g(qe,nt){for(var ht=Array(qe),Pe=0;Pe>>=nt))<<3,(nt|=ht=(15<(qe>>>=ht))<<2)|(ht=(3<(qe>>>=ht))<<1)|qe>>>ht>>1}function l(){function qe(Pe){e:{for(var Ne=16;268435456>=Ne;Ne*=16)if(Pe<=Ne){Pe=Ne;break e}Pe=0}return 0<(Ne=ht[h(Pe)>>2]).length?Ne.pop():new ArrayBuffer(Pe)}function nt(Pe){ht[h(Pe.byteLength)>>2].push(Pe)}var ht=g(8,function(){return[]});return{alloc:qe,free:nt,allocType:function(Pe,Ne){var Qe=null;switch(Pe){case 5120:Qe=new Int8Array(qe(Ne),0,Ne);break;case 5121:Qe=new Uint8Array(qe(Ne),0,Ne);break;case 5122:Qe=new Int16Array(qe(2*Ne),0,Ne);break;case 5123:Qe=new Uint16Array(qe(2*Ne),0,Ne);break;case 5124:Qe=new Int32Array(qe(4*Ne),0,Ne);break;case 5125:Qe=new Uint32Array(qe(4*Ne),0,Ne);break;case 5126:Qe=new Float32Array(qe(4*Ne),0,Ne);break;default:return null}return Qe.length!==Ne?Qe.subarray(0,Ne):Qe},freeType:function(Pe){nt(Pe.buffer)}}}function a(qe){return!!qe&&typeof qe=="object"&&Array.isArray(qe.shape)&&Array.isArray(qe.stride)&&typeof qe.offset=="number"&&qe.shape.length===qe.stride.length&&(Array.isArray(qe.data)||me(qe.data))}function u(qe,nt,ht,Pe,Ne,Qe){for(var ut=0;ut(Ot=Nt)&&(Ot=yt.buffer.byteLength,Xt===5123?Ot>>=1:Xt===5125&&(Ot>>=2)),yt.vertCount=Ot,Ot=Pt,0>Pt&&(Ot=4,(Pt=yt.buffer.dimension)===1&&(Ot=0),Pt===2&&(Ot=1),Pt===3&&(Ot=4)),yt.primType=Ot}function ut(yt){Pe.elementsCount--,delete dt[yt.id],yt.buffer.destroy(),yt.buffer=null}var dt={},_t=0,It={uint8:5121,uint16:5123};nt.oes_element_index_uint&&(It.uint32=5125),Ne.prototype.bind=function(){this.buffer.bind()};var Lt=[];return{create:function(yt,Ot){function wt($t){if($t)if(typeof $t=="number")Pt($t),Nt.primType=4,Nt.vertCount=0|$t,Nt.type=5121;else{var Wt=null,Xt=35044,Qt=-1,rn=-1,xn=0,un=0;Array.isArray($t)||me($t)||a($t)?Wt=$t:("data"in $t&&(Wt=$t.data),"usage"in $t&&(Xt=Me[$t.usage]),"primitive"in $t&&(Qt=he[$t.primitive]),"count"in $t&&(rn=0|$t.count),"type"in $t&&(un=It[$t.type]),"length"in $t?xn=0|$t.length:(xn=rn,un===5123||un===5122?xn*=2:un!==5125&&un!==5124||(xn*=4))),Qe(Nt,Wt,Xt,Qt,rn,xn,un)}else Pt(),Nt.primType=4,Nt.vertCount=0,Nt.type=5121;return wt}var Pt=ht.create(null,34963,!0),Nt=new Ne(Pt._buffer);return Pe.elementsCount++,wt(yt),wt._reglType="elements",wt._elements=Nt,wt.subdata=function($t,Wt){return Pt.subdata($t,Wt),wt},wt.destroy=function(){ut(Nt)},wt},createStream:function(yt){var Ot=Lt.pop();return Ot||(Ot=new Ne(ht.create(null,34963,!0,!1)._buffer)),Qe(Ot,yt,35040,-1,-1,0,0),Ot},destroyStream:function(yt){Lt.push(yt)},getElements:function(yt){return typeof yt=="function"&&yt._elements instanceof Ne?yt._elements:null},clear:function(){pe(dt).forEach(ut)}}}function v(qe){for(var nt=ye.allocType(5123,qe.length),ht=0;ht>>31<<15,Ne=(Qe<<1>>>24)-127,Qe=Qe>>13&1023;nt[ht]=-24>Ne?Pe:-14>Ne?Pe+(Qe+1024>>-14-Ne):15>=fn,jt.height>>=fn,Ot(jt,Jt[fn]),nn.mipmask|=1<On;++On)nn.images[On]=null;return nn}function xn(nn){for(var On=nn.images,jt=0;jtnn){for(var On=0;On=--this.refCount&&dn(this)}}),ut.profile&&(Qe.getTotalTextureSize=function(){var nn=0;return Object.keys(Yn).forEach(function(On){nn+=Yn[On].stats.size}),nn}),{create2D:function(nn,On){function jt(fn,zn){var Rn=Jt.texInfo;un.call(Rn);var En=rn();return typeof fn=="number"?Wt(En,0|fn,typeof zn=="number"?0|zn:0|fn):fn?(An(Rn,fn),Xt(En,fn)):Wt(En,1,1),Rn.genMipmaps&&(En.mipmask=(En.width<<1)-1),Jt.mipmask=En.mipmask,_t(Jt,En),Jt.internalformat=En.internalformat,jt.width=En.width,jt.height=En.height,sn(Jt),Qt(En,3553),$n(Rn,3553),Tn(),xn(En),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,En.width,En.height,Rn.genMipmaps,!1)),jt.format=or[Jt.internalformat],jt.type=vr[Jt.type],jt.mag=_r[Rn.magFilter],jt.min=Kt[Rn.minFilter],jt.wrapS=bn[Rn.wrapS],jt.wrapT=bn[Rn.wrapT],jt}var Jt=new kn(3553);return Yn[Jt.id]=Jt,Qe.textureCount++,jt(nn,On),jt.subimage=function(fn,zn,Rn,En){zn|=0,Rn|=0,En|=0;var mn=Pt();return _t(mn,Jt),mn.width=0,mn.height=0,Ot(mn,fn),mn.width=mn.width||(Jt.width>>En)-zn,mn.height=mn.height||(Jt.height>>En)-Rn,sn(Jt),wt(mn,3553,zn,Rn,En),Tn(),Nt(mn),jt},jt.resize=function(fn,zn){var Rn=0|fn,En=0|zn||Rn;if(Rn===Jt.width&&En===Jt.height)return jt;jt.width=Jt.width=Rn,jt.height=Jt.height=En,sn(Jt);for(var mn=0;Jt.mipmask>>mn;++mn){var wn=Rn>>mn,gn=En>>mn;if(!wn||!gn)break;qe.texImage2D(3553,mn,Jt.format,wn,gn,0,Jt.format,Jt.type,null)}return Tn(),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,Rn,En,!1,!1)),jt},jt._reglType="texture2d",jt._texture=Jt,ut.profile&&(jt.stats=Jt.stats),jt.destroy=function(){Jt.decRef()},jt},createCube:function(nn,On,jt,Jt,fn,zn){function Rn(wn,gn,yn,Sn,Vn,Xn){var nr,Qn=En.texInfo;for(un.call(Qn),nr=0;6>nr;++nr)mn[nr]=rn();if(typeof wn!="number"&&wn){if(typeof wn=="object")if(gn)Xt(mn[0],wn),Xt(mn[1],gn),Xt(mn[2],yn),Xt(mn[3],Sn),Xt(mn[4],Vn),Xt(mn[5],Xn);else if(An(Qn,wn),It(En,wn),"faces"in wn)for(wn=wn.faces,nr=0;6>nr;++nr)_t(mn[nr],En),Xt(mn[nr],wn[nr]);else for(nr=0;6>nr;++nr)Xt(mn[nr],wn)}else for(wn=0|wn||1,nr=0;6>nr;++nr)Wt(mn[nr],wn,wn);for(_t(En,mn[0]),En.mipmask=Qn.genMipmaps?(mn[0].width<<1)-1:mn[0].mipmask,En.internalformat=mn[0].internalformat,Rn.width=mn[0].width,Rn.height=mn[0].height,sn(En),nr=0;6>nr;++nr)Qt(mn[nr],34069+nr);for($n(Qn,34067),Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,Rn.width,Rn.height,Qn.genMipmaps,!0)),Rn.format=or[En.internalformat],Rn.type=vr[En.type],Rn.mag=_r[Qn.magFilter],Rn.min=Kt[Qn.minFilter],Rn.wrapS=bn[Qn.wrapS],Rn.wrapT=bn[Qn.wrapT],nr=0;6>nr;++nr)xn(mn[nr]);return Rn}var En=new kn(34067);Yn[En.id]=En,Qe.cubeCount++;var mn=Array(6);return Rn(nn,On,jt,Jt,fn,zn),Rn.subimage=function(wn,gn,yn,Sn,Vn){yn|=0,Sn|=0,Vn|=0;var Xn=Pt();return _t(Xn,En),Xn.width=0,Xn.height=0,Ot(Xn,gn),Xn.width=Xn.width||(En.width>>Vn)-yn,Xn.height=Xn.height||(En.height>>Vn)-Sn,sn(En),wt(Xn,34069+wn,yn,Sn,Vn),Tn(),Nt(Xn),Rn},Rn.resize=function(wn){if((wn|=0)!==En.width){Rn.width=En.width=wn,Rn.height=En.height=wn,sn(En);for(var gn=0;6>gn;++gn)for(var yn=0;En.mipmask>>yn;++yn)qe.texImage2D(34069+gn,yn,En.format,wn>>yn,wn>>yn,0,En.format,En.type,null);return Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,Rn.width,Rn.height,!1,!0)),Rn}},Rn._reglType="textureCube",Rn._texture=En,ut.profile&&(Rn.stats=En.stats),Rn.destroy=function(){En.decRef()},Rn},clear:function(){for(var nn=0;nnJt;++Jt)if(jt.mipmask&1<>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);else for(var fn=0;6>fn;++fn)qe.texImage2D(34069+fn,Jt,jt.internalformat,jt.width>>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);$n(jt.texInfo,jt.target)})},refresh:function(){for(var nn=0;nnpn;++pn){for(qn=0;qndn;++dn)Tn[dn].resize(pn);return sn.width=sn.height=pn,sn},_reglType:"framebufferCube",destroy:function(){Tn.forEach(function(dn){dn.destroy()})}})},clear:function(){pe($n).forEach($t)},restore:function(){Qt.cur=null,Qt.next=null,Qt.dirty=!0,pe($n).forEach(function(kn){kn.framebuffer=qe.createFramebuffer(),Wt(kn)})}})}function R(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function D(qe,nt,ht,Pe,Ne,Qe,ut){function dt(){this.id=++Lt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var wt=nt.oes_vertex_array_object;this.vao=wt?wt.createVertexArrayOES():null,yt[this.id]=this,this.buffers=[]}var _t=ht.maxAttributes,It=Array(_t);for(ht=0;ht<_t;++ht)It[ht]=new R;var Lt=0,yt={},Ot={Record:R,scope:{},state:It,currentVAO:null,targetVAO:null,restore:nt.oes_vertex_array_object?function(){nt.oes_vertex_array_object&&pe(yt).forEach(function(wt){wt.refresh()})}:function(){},createVAO:function(wt){function Pt($t){var Wt;Array.isArray($t)?(Wt=$t,Nt.elements&&Nt.ownsElements&&Nt.elements.destroy(),Nt.elements=null,Nt.ownsElements=!1,Nt.offset=0,Nt.count=0,Nt.instances=-1,Nt.primitive=4):($t.elements?(Wt=$t.elements,Nt.ownsElements?(typeof Wt=="function"&&Wt._reglType==="elements"?Nt.elements.destroy():Nt.elements(Wt),Nt.ownsElements=!1):Qe.getElements($t.elements)?(Nt.elements=$t.elements,Nt.ownsElements=!1):(Nt.elements=Qe.create($t.elements),Nt.ownsElements=!0)):(Nt.elements=null,Nt.ownsElements=!1),Wt=$t.attributes,Nt.offset=0,Nt.count=-1,Nt.instances=-1,Nt.primitive=4,Nt.elements&&(Nt.count=Nt.elements._elements.vertCount,Nt.primitive=Nt.elements._elements.primType),"offset"in $t&&(Nt.offset=0|$t.offset),"count"in $t&&(Nt.count=0|$t.count),"instances"in $t&&(Nt.instances=0|$t.instances),"primitive"in $t&&(Nt.primitive=he[$t.primitive])),$t={};var Xt=Nt.attributes;Xt.length=Wt.length;for(var Qt=0;Qt=An.byteLength?rn.subdata(An):(rn.destroy(),Nt.buffers[Qt]=null)),Nt.buffers[Qt]||(rn=Nt.buffers[Qt]=Ne.create(xn,34962,!1,!0)),un.buffer=Ne.getBuffer(rn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1,$t[Qt]=1):Ne.getBuffer(xn)?(un.buffer=Ne.getBuffer(xn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1):Ne.getBuffer(xn.buffer)?(un.buffer=Ne.getBuffer(xn.buffer),un.size=0|(+xn.size||un.buffer.dimension),un.normalized=!!xn.normalized||!1,un.type="type"in xn?_e[xn.type]:un.buffer.dtype,un.offset=0|(xn.offset||0),un.stride=0|(xn.stride||0),un.divisor=0|(xn.divisor||0),un.state=1):"x"in xn&&(un.x=+xn.x||0,un.y=+xn.y||0,un.z=+xn.z||0,un.w=+xn.w||0,un.state=2)}for(rn=0;rnPt&&(Pt=Nt.stats.uniformsCount)}),Pt},ht.getMaxAttributesCount=function(){var Pt=0;return Ot.forEach(function(Nt){Nt.stats.attributesCount>Pt&&(Pt=Nt.stats.attributesCount)}),Pt}),{clear:function(){var Pt=qe.deleteShader.bind(qe);pe(It).forEach(Pt),It={},pe(Lt).forEach(Pt),Lt={},Ot.forEach(function(Nt){qe.deleteProgram(Nt.program)}),Ot.length=0,yt={},ht.shaderCount=0},program:function(Pt,Nt,$t,Wt){var Xt=yt[Nt];Xt||(Xt=yt[Nt]={});var Qt=Xt[Pt];if(Qt&&(Qt.refCount++,!Wt))return Qt;var rn=new dt(Nt,Pt);return ht.shaderCount++,_t(rn,$t,Wt),Qt||(Xt[Pt]=rn),Ot.push(rn),re(rn,{destroy:function(){if(rn.refCount--,0>=rn.refCount){qe.deleteProgram(rn.program);var xn=Ot.indexOf(rn);Ot.splice(xn,1),ht.shaderCount--}0>=Xt[rn.vertId].refCount&&(qe.deleteShader(Lt[rn.vertId]),delete Lt[rn.vertId],delete yt[rn.fragId][rn.vertId]),Object.keys(yt[rn.fragId]).length||(qe.deleteShader(It[rn.fragId]),delete It[rn.fragId],delete yt[rn.fragId])}})},restore:function(){It={},Lt={};for(var Pt=0;Pt>>nt|qe<<32-nt}function W(qe,nt){var ht=(65535&qe)+(65535&nt);return(qe>>16)+(nt>>16)+(ht>>16)<<16|65535&ht}function j(qe){return Array.prototype.slice.call(qe)}function Y(qe){return j(qe).join("")}function U(qe){function nt(){var Lt=[],yt=[];return re(function(){Lt.push.apply(Lt,j(arguments))},{def:function(){var Ot="v"+Ne++;return yt.push(Ot),0>>4&15)+"0123456789abcdef".charAt(15&Ot);return Nt}(function(wt){for(var Ot=Array(wt.length>>2),Nt=0;Nt>5]|=(255&wt.charCodeAt(Nt/8))<<24-Nt%32;var Yt,qt,Xt,Qt,rn,xn,un,An,Yn,kn,sn,Tn=8*wt.length;for(wt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Nt=Array(64),Ot[Tn>>5]|=128<<24-Tn%32,Ot[15+(Tn+64>>9<<4)]=Tn,An=0;AnYn;Yn++){var dn;16>Yn?Nt[Yn]=Ot[Yn+An]:(kn=Yn,sn=q(sn=N(sn=Nt[Yn-2],17)^N(sn,19)^sn>>>10,Nt[Yn-7]),dn=N(dn=Nt[Yn-15],7)^N(dn,18)^dn>>>3,Nt[kn]=q(q(sn,dn),Nt[Yn-16])),kn=q(q(q(q(un,kn=N(kn=Qt,6)^N(kn,11)^N(kn,25)),Qt&rn^~Qt&xn),xt[Yn]),Nt[Yn]),sn=q(un=N(un=Tn,2)^N(un,13)^N(un,22),Tn&Yt^Tn&qt^Yt&qt),un=xn,xn=rn,rn=Qt,Qt=q(Xt,kn),Xt=qt,qt=Yt,Yt=Tn,Tn=q(kn,sn)}wt[0]=q(Tn,wt[0]),wt[1]=q(Yt,wt[1]),wt[2]=q(qt,wt[2]),wt[3]=q(Xt,wt[3]),wt[4]=q(Qt,wt[4]),wt[5]=q(rn,wt[5]),wt[6]=q(xn,wt[6]),wt[7]=q(un,wt[7])}for(Ot="",Nt=0;Nt<32*wt.length;Nt+=8)Ot+=String.fromCharCode(wt[Nt>>5]>>>24-Nt%32&255);return Ot}(function(wt){for(var Ot,Nt,Yt="",qt=-1;++qt=Ot&&56320<=Nt&&57343>=Nt&&(Ot=65536+((1023&Ot)<<10)+(1023&Nt),qt++),127>=Ot?Yt+=String.fromCharCode(Ot):2047>=Ot?Yt+=String.fromCharCode(192|Ot>>>6&31,128|63&Ot):65535>=Ot?Yt+=String.fromCharCode(224|Ot>>>12&15,128|Ot>>>6&63,128|63&Ot):2097151>=Ot&&(Yt+=String.fromCharCode(240|Ot>>>18&7,128|Ot>>>12&63,128|Ot>>>6&63,128|63&Ot));return Yt}(Pt))),Oe[yt])?Oe[yt].apply(null,ut):(Pt=Function.apply(null,Qe.concat(Pt)),Oe&&(Oe[yt]=Pt),Pt.apply(null,ut))}}}function G(We){return Array.isArray(We)||me(We)||a(We)}function W(We){return We.sort(function(nt,ht){return nt==="viewport"?-1:ht==="viewport"?1:nt"+br+"?"+Sn+".constant["+br+"]:0;"}).join(""),"}}else{","if(",nr,"(",Sn,".buffer)){",cr,"=",Vn,".createStream(",34962,",",Sn,".buffer);","}else{",cr,"=",Vn,".getBuffer(",Sn,".buffer);","}",pr,'="type" in ',Sn,"?",Xn.glTypes,"[",Sn,".type]:",cr,".dtype;",Qn.normalized,"=!!",Sn,".normalized;"),yn("size"),yn("offset"),yn("stride"),yn("divisor"),gn("}}"),gn.exit("if(",Qn.isStream,"){",Vn,".destroyStream(",cr,");","}"),Qn})}),Rn}function Yn(jt,Jt,fn,zn,Rn){function En(fr){var cr=wn[fr];cr&&(yn[fr]=cr)}var mn=function(fr,cr){if(typeof(pr=fr.static).frag=="string"&&typeof pr.vert=="string"){if(0"u"?"Date.now()":"performance.now()"}function mn(fr){fr(yn=Jt.def(),"=",En(),";"),typeof Rn=="string"?fr(Xn,".count+=",Rn,";"):fr(Xn,".count++;"),wt&&(zn?fr(Sn=Jt.def(),"=",Qn,".getNumPendingQueries();"):fr(Qn,".beginQuery(",Xn,");"))}function wn(fr){fr(Xn,".cpuTime+=",En(),"-",yn,";"),wt&&(zn?fr(Qn,".pushScopeStats(",Sn,",",Qn,".getNumPendingQueries(),",Xn,");"):fr(Qn,".endQuery();"))}function gn(fr){var cr=Jt.def(nr,".profile");Jt(nr,".profile=",fr,";"),Jt.exit(nr,".profile=",cr,";")}var yn,Sn,Vn=jt.shared,Xn=jt.stats,nr=Vn.current,Qn=Vn.timer;if(fn=fn.profile){if(ne(fn))return void(fn.enable?(mn(Jt),wn(Jt.exit),gn("true")):gn("false"));gn(fn=fn.append(jt,Jt))}else fn=Jt.def(nr,".profile");mn(Vn=jt.block()),Jt("if(",fn,"){",Vn,"}"),wn(jt=jt.block()),Jt.exit("if(",fn,"){",jt,"}")}function In(jt,Jt,fn,zn,Rn){function En(wn,gn,yn){function Sn(){Jt("if(!",Qn,".buffer){",Xn,".enableVertexAttribArray(",nr,");}");var dr,br=yn.type;dr=yn.size?Jt.def(yn.size,"||",gn):gn,Jt("if(",Qn,".type!==",br,"||",Qn,".size!==",dr,"||",pr.map(function(Ir){return Qn+"."+Ir+"!=="+yn[Ir]}).join("||"),"){",Xn,".bindBuffer(",34962,",",fr,".buffer);",Xn,".vertexAttribPointer(",[nr,dr,br,yn.normalized,yn.stride,yn.offset],");",Qn,".type=",br,";",Qn,".size=",dr,";",pr.map(function(Ir){return Qn+"."+Ir+"="+yn[Ir]+";"}).join(""),"}"),Kt&&(br=yn.divisor,Jt("if(",Qn,".divisor!==",br,"){",jt.instancing,".vertexAttribDivisorANGLE(",[nr,br],");",Qn,".divisor=",br,";}"))}function Vn(){Jt("if(",Qn,".buffer){",Xn,".disableVertexAttribArray(",nr,");",Qn,".buffer=null;","}if(",Ft.map(function(dr,br){return Qn+"."+dr+"!=="+cr[br]}).join("||"),"){",Xn,".vertexAttrib4f(",nr,",",cr,");",Ft.map(function(dr,br){return Qn+"."+dr+"="+cr[br]+";"}).join(""),"}")}var Xn=mn.gl,nr=Jt.def(wn,".location"),Qn=Jt.def(mn.attributes,"[",nr,"]");wn=yn.state;var fr=yn.buffer,cr=[yn.x,yn.y,yn.z,yn.w],pr=["buffer","normalized","offset","stride"];wn===1?Sn():wn===2?Vn():(Jt("if(",wn,"===",1,"){"),Sn(),Jt("}else{"),Vn(),Jt("}"))}var mn=jt.shared;zn.forEach(function(wn){var gn,yn=wn.name,Sn=fn.attributes[yn];if(Sn){if(!Rn(Sn))return;gn=Sn.append(jt,Jt)}else{if(!Rn(Je))return;var Vn=jt.scopeAttrib(yn);gn={},Object.keys(new vr).forEach(function(Xn){gn[Xn]=Jt.def(Vn,".",Xn)})}En(jt.link(wn),function(Xn){switch(Xn){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(wn.info.type),gn)})}function jn(jt,Jt,fn,zn,Rn,En){for(var mn,wn=jt.shared,gn=wn.gl,yn=0;yn>1)",wn],");")}function Ir(){fn(gn,".drawArraysInstancedANGLE(",[Qn,fr,cr,wn],");")}nr&&nr!=="null"?dr?br():(fn("if(",nr,"){"),br(),fn("}else{"),Ir(),fn("}")):Ir()}function mn(){function br(){fn(Sn+".drawElements("+[Qn,cr,pr,fr+"<<(("+pr+"-5121)>>1)"]+");")}function Ir(){fn(Sn+".drawArrays("+[Qn,fr,cr]+");")}nr&&nr!=="null"?dr?br():(fn("if(",nr,"){"),br(),fn("}else{"),Ir(),fn("}")):Ir()}var wn,gn,yn=jt.shared,Sn=yn.gl,Vn=yn.draw,Xn=zn.draw,nr=function(){var br=Xn.elements,Ir=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Ir=fn),br=br.append(jt,Ir),Xn.elementsActive&&Ir("if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);")):(br=Ir.def(),Ir(br,"=",Vn,".","elements",";","if(",br,"){",Sn,".bindBuffer(",34963,",",br,".buffer.buffer);}","else if(",yn.vao,".currentVAO){",br,"=",jt.shared.elements+".getElements("+yn.vao,".currentVAO.elements);",On?"":"if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);","}")),br}(),Qn=Rn("primitive"),fr=Rn("offset"),cr=function(){var br=Xn.count,Ir=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Ir=fn),br=br.append(jt,Ir)):br=Ir.def(Vn,".","count"),br}();if(typeof cr=="number"){if(cr===0)return}else fn("if(",cr,"){"),fn.exit("}");Kt&&(wn=Rn("instances"),gn=jt.instancing);var pr=nr+".type",dr=Xn.elements&&ne(Xn.elements)&&!Xn.vaoActive;Kt&&(typeof wn!="number"||0<=wn)?typeof wn=="string"?(fn("if(",wn,">0){"),En(),fn("}else if(",wn,"<0){"),mn(),fn("}")):En():mn()}function Wn(jt,Jt,fn,zn,Rn){return Rn=(Jt=Qt()).proc("body",Rn),Kt&&(Jt.instancing=Rn.def(Jt.shared.extensions,".angle_instanced_arrays")),jt(Jt,Rn,fn,zn),Jt.compile().body}function lr(jt,Jt,fn,zn){pn(jt,Jt),fn.useVAO?fn.drawVAO?Jt(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,Jt),");"):Jt(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(Jt(jt.shared.vao,".setVAO(null);"),In(jt,Jt,fn,zn.attributes,function(){return!0})),jn(jt,Jt,fn,zn.uniforms,function(){return!0},!1),Gn(jt,Jt,Jt,fn)}function rr(jt,Jt,fn,zn){function Rn(){return!0}jt.batchId="a1",pn(jt,Jt),In(jt,Jt,fn,zn.attributes,Rn),jn(jt,Jt,fn,zn.uniforms,Rn,!1),Gn(jt,Jt,Jt,fn)}function Sr(jt,Jt,fn,zn){function Rn(Vn){return Vn.contextDep&&mn||Vn.propDep}function En(Vn){return!Rn(Vn)}pn(jt,Jt);var mn=fn.contextDep,wn=Jt.def(),gn=Jt.def();jt.shared.props=gn,jt.batchId=wn;var yn=jt.scope(),Sn=jt.scope();Jt(yn.entry,"for(",wn,"=0;",wn,"<","a1",";++",wn,"){",gn,"=","a0","[",wn,"];",Sn,"}",yn.exit),fn.needsContext&&kn(jt,Sn,fn.context),fn.needsFramebuffer&&sn(jt,Sn,fn.framebuffer),dn(jt,Sn,fn.state,Rn),fn.profile&&Rn(fn.profile)&&Dn(jt,Sn,fn,!1,!0),zn?(fn.useVAO?fn.drawVAO?Rn(fn.drawVAO)?Sn(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,Sn),");"):yn(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,yn),");"):yn(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(yn(jt.shared.vao,".setVAO(null);"),In(jt,yn,fn,zn.attributes,En),In(jt,Sn,fn,zn.attributes,Rn)),jn(jt,yn,fn,zn.uniforms,En,!1),jn(jt,Sn,fn,zn.uniforms,Rn,!0),Gn(jt,yn,Sn,fn)):(Jt=jt.global.def("{}"),zn=fn.shader.progVar.append(jt,Sn),gn=Sn.def(zn,".id"),yn=Sn.def(Jt,"[",gn,"]"),Sn(jt.shared.gl,".useProgram(",zn,".program);","if(!",yn,"){",yn,"=",Jt,"[",gn,"]=",jt.link(function(Vn){return Wn(rr,jt,fn,Vn,2)}),"(",zn,");}",yn,".call(this,a0[",wn,"],",wn,");"))}function yr(jt,Jt){function fn(wn){var gn=Jt.shader[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(Rn.shader,"."+wn,gn):zn.set(Rn.shader,"."+wn,jt.link(gn,{stable:!0})))}var zn=jt.proc("scope",3);jt.batchId="a2";var Rn=jt.shared,En=Rn.current;if(kn(jt,zn,Jt.context),Jt.framebuffer&&Jt.framebuffer.append(jt,zn),W(Object.keys(Jt.state)).forEach(function(wn){var gn=Jt.state[wn],yn=gn.append(jt,zn);S(yn)?yn.forEach(function(Sn,Vn){isNaN(Sn)?zn.set(jt.next[wn],"["+Vn+"]",Sn):zn.set(jt.next[wn],"["+Vn+"]",jt.link(Sn,{stable:!0}))}):ne(gn)?zn.set(Rn.next,"."+wn,jt.link(yn,{stable:!0})):zn.set(Rn.next,"."+wn,yn)}),Dn(jt,zn,Jt,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(wn){var gn=Jt.draw[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(Rn.draw,"."+wn,gn):zn.set(Rn.draw,"."+wn,jt.link(gn),{stable:!0}))}),Object.keys(Jt.uniforms).forEach(function(wn){var gn=Jt.uniforms[wn].append(jt,zn);Array.isArray(gn)&&(gn="["+gn.map(function(yn){return isNaN(yn)?yn:jt.link(yn,{stable:!0})})+"]"),zn.set(Rn.uniforms,"["+jt.link(nt.id(wn),{stable:!0})+"]",gn)}),Object.keys(Jt.attributes).forEach(function(wn){var gn=Jt.attributes[wn].append(jt,zn),yn=jt.scopeAttrib(wn);Object.keys(new vr).forEach(function(Sn){zn.set(yn,"."+Sn,gn[Sn])})}),Jt.scopeVAO){var mn=Jt.scopeVAO.append(jt,zn);isNaN(mn)?zn.set(Rn.vao,".targetVAO",mn):zn.set(Rn.vao,".targetVAO",jt.link(mn,{stable:!0}))}fn("vert"),fn("frag"),0=--this.refCount&&ut(this)},Ne.profile&&(Oe.getTotalRenderbufferSize=function(){var yt=0;return Object.keys(Lt).forEach(function(Pt){yt+=Lt[Pt].stats.size}),yt}),{create:function(yt,Pt){function wt(Nt,Yt){var qt=0,Xt=0,Qt=32854;if(typeof Nt=="object"&&Nt?("shape"in Nt?(qt=0|(Xt=Nt.shape)[0],Xt=0|Xt[1]):("radius"in Nt&&(qt=Xt=0|Nt.radius),"width"in Nt&&(qt=0|Nt.width),"height"in Nt&&(Xt=0|Nt.height)),"format"in Nt&&(Qt=dt[Nt.format])):typeof Nt=="number"?(qt=0|Nt,Xt=typeof Yt=="number"?0|Yt:qt):Nt||(qt=Xt=1),qt!==Ot.width||Xt!==Ot.height||Qt!==Ot.format)return wt.width=Ot.width=qt,wt.height=Ot.height=Xt,Ot.format=Qt,We.bindRenderbuffer(36161,Ot.renderbuffer),We.renderbufferStorage(36161,Qt,qt,Xt),Ne.profile&&(Ot.stats.size=ft[Ot.format]*Ot.width*Ot.height),wt.format=_t[Ot.format],wt}var Ot=new Qe(We.createRenderbuffer());return Lt[Ot.id]=Ot,Oe.renderbufferCount++,wt(yt,Pt),wt.resize=function(Nt,Yt){var qt=0|Nt,Xt=0|Yt||qt;return qt===Ot.width&&Xt===Ot.height||(wt.width=Ot.width=qt,wt.height=Ot.height=Xt,We.bindRenderbuffer(36161,Ot.renderbuffer),We.renderbufferStorage(36161,Ot.format,qt,Xt),Ne.profile&&(Ot.stats.size=ft[Ot.format]*Ot.width*Ot.height)),wt},wt._reglType="renderbuffer",wt._renderbuffer=Ot,Ne.profile&&(wt.stats=Ot.stats),wt.destroy=function(){Ot.decRef()},wt},clear:function(){pe(Lt).forEach(ut)},restore:function(){pe(Lt).forEach(function(yt){yt.renderbuffer=We.createRenderbuffer(),We.bindRenderbuffer(36161,yt.renderbuffer),We.renderbufferStorage(36161,yt.format,yt.width,yt.height)}),We.bindRenderbuffer(36161,null)}}},Et=[];Et[6408]=4,Et[6407]=3;var kt=[];kt[5121]=1,kt[5126]=4,kt[36193]=2;var xt=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ft=["x","y","z","w"],Rt="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Bt={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},Wt={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Vt={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ke={cw:2304,ccw:2305},Je=new H(!1,!1,!1,function(){});return function(We){function nt(){if(rr.length===0)rn&&rn.update(),vr=null;else{vr=ue.next(nt),Lt();for(var Kt=rr.length-1;0<=Kt;--Kt){var bn=rr[Kt];bn&&bn(Yn,null,0)}wt.flush(),rn&&rn.update()}}function ht(){!vr&&0=rr.length&&Oe()}}}}function It(){var Kt=Wn.viewport,bn=Wn.scissor_box;Kt[0]=Kt[1]=bn[0]=bn[1]=0,Yn.viewportWidth=Yn.framebufferWidth=Yn.drawingBufferWidth=Kt[2]=bn[2]=wt.drawingBufferWidth,Yn.viewportHeight=Yn.framebufferHeight=Yn.drawingBufferHeight=Kt[3]=bn[3]=wt.drawingBufferHeight}function Lt(){Yn.tick+=1,Yn.time=Pt(),It(),Gn.procs.poll()}function yt(){Dn.refresh(),It(),Gn.procs.refresh(),rn&&rn.update()}function Pt(){return(ce()-xn)/1e3}if(!(We=M(We)))return null;var wt=We.gl,Ot=wt.getContextAttributes();wt.isContextLost();var Nt=function(Kt,bn){function On($n){var tr;$n=$n.toLowerCase();try{tr=Ln[$n]=Kt.getExtension($n)}catch{}return!!tr}for(var Ln={},Un=0;Unbn;++bn)_r(re({framebuffer:Kt.framebuffer.faces[bn]},Kt),dt);else _r(Kt,dt);else dt(0,Kt)},prop:oe.define.bind(null,1),context:oe.define.bind(null,2),this:oe.define.bind(null,3),draw:ut({}),buffer:function(Kt){return sn.create(Kt,34962,!1,!1)},elements:function(Kt){return Tn.create(Kt,!1)},texture:Dn.create2D,cube:Dn.createCube,renderbuffer:In.create,framebuffer:jn.create,framebufferCube:jn.createCube,vao:dn.createVAO,attributes:Ot,frame:_t,on:function(Kt,bn){var On;switch(Kt){case"frame":return _t(bn);case"lost":On=Sr;break;case"restore":On=yr;break;case"destroy":On=or}return On.push(bn),{cancel:function(){for(var Ln=0;Ln2?"one of ".concat(i," ").concat(y.slice(0,M-1).join(", "),", or ")+y[M-1]:M===2?"one of ".concat(i," ").concat(y[0]," or ").concat(y[1]):"of ".concat(i," ").concat(y[0])}return"of ".concat(i," ").concat(String(y))}t("ERR_INVALID_OPT_VALUE",function(y,i){return'The value "'+i+'" is invalid for option "'+y+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(y,i,M){var g,h,l,a,u;if(typeof i=="string"&&(h="not ",i.substr(0,h.length)===h)?(g="must not be",i=i.replace(/^not /,"")):g="must be",function(s,f,c){return(c===void 0||c>s.length)&&(c=s.length),s.substring(c-f.length,c)===f}(y," argument"))l="The ".concat(y," ").concat(g," ").concat(d(i,"type"));else{var o=(typeof u!="number"&&(u=0),u+1>(a=y).length||a.indexOf(".",u)===-1?"argument":"property");l='The "'.concat(y,'" ').concat(o," ").concat(g," ").concat(d(i,"type"))}return l+". Received type ".concat(typeof M)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(y){return"The "+y+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(y){return"Cannot call "+y+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(y){return"Unknown encoding: "+y},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),k.exports.q=m},37865:function(k,m,t){var d=t(90386),y=Object.keys||function(s){var f=[];for(var c in s)f.push(c);return f};k.exports=a;var i=t(40410),M=t(37493);t(42018)(a,i);for(var g=y(M.prototype),h=0;h0)if(typeof Z=="string"||oe.objectMode||Object.getPrototypeOf(Z)===h.prototype||(Z=function(ue){return h.from(ue)}(Z)),Q)oe.endEmitted?C(te,new T):O(te,oe,Z,!0);else if(oe.ended)C(te,new S);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!X?(Z=oe.decoder.write(Z),oe.objectMode||Z.length!==0?O(te,oe,Z,!1):B(te,oe)):O(te,oe,Z,!1)}else Q||(oe.reading=!1,B(te,oe));return!oe.ended&&(oe.lengthZ.highWaterMark&&(Z.highWaterMark=function(X){return X>=I?X=I:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++),X}(te)),te<=Z.length?te:Z.ended?Z.length:(Z.needReadable=!0,0))}function D(te){var Z=te._readableState;i("emitReadable",Z.needReadable,Z.emittedReadable),Z.needReadable=!1,Z.emittedReadable||(i("emitReadable",Z.flowing),Z.emittedReadable=!0,y.nextTick(F,te))}function F(te){var Z=te._readableState;i("emitReadable_",Z.destroyed,Z.length,Z.ended),Z.destroyed||!Z.length&&!Z.ended||(te.emit("readable"),Z.emittedReadable=!1),Z.needReadable=!Z.flowing&&!Z.ended&&Z.length<=Z.highWaterMark,U(te)}function B(te,Z){Z.readingMore||(Z.readingMore=!0,y.nextTick(N,te,Z))}function N(te,Z){for(;!Z.reading&&!Z.ended&&(Z.length0,Z.resumeScheduled&&!Z.paused?Z.flowing=!0:te.listenerCount("data")>0&&te.resume()}function j(te){i("readable nexttick read 0"),te.read(0)}function $(te,Z){i("resume",Z.reading),Z.reading||te.read(0),Z.resumeScheduled=!1,te.emit("resume"),U(te),Z.flowing&&!Z.reading&&te.read(0)}function U(te){var Z=te._readableState;for(i("flow",Z.flowing);Z.flowing&&te.read()!==null;);}function G(te,Z){return Z.length===0?null:(Z.objectMode?X=Z.buffer.shift():!te||te>=Z.length?(X=Z.decoder?Z.buffer.join(""):Z.buffer.length===1?Z.buffer.first():Z.buffer.concat(Z.length),Z.buffer.clear()):X=Z.buffer.consume(te,Z.decoder),X);var X}function W(te){var Z=te._readableState;i("endReadable",Z.endEmitted),Z.endEmitted||(Z.ended=!0,y.nextTick(H,Z,te))}function H(te,Z){if(i("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,Z.readable=!1,Z.emit("end"),te.autoDestroy)){var X=Z._writableState;(!X||X.autoDestroy&&X.finished)&&Z.destroy()}}function ne(te,Z){for(var X=0,Q=te.length;X=Z.highWaterMark:Z.length>0)||Z.ended))return i("read: emitReadable",Z.length,Z.ended),Z.length===0&&Z.ended?W(this):D(this),null;if((te=R(te,Z))===0&&Z.ended)return Z.length===0&&W(this),null;var Q,re=Z.needReadable;return i("need readable",re),(Z.length===0||Z.length-te0?G(te,Z):null)===null?(Z.needReadable=Z.length<=Z.highWaterMark,te=0):(Z.length-=te,Z.awaitDrain=0),Z.length===0&&(Z.ended||(Z.needReadable=!0),X!==te&&Z.ended&&W(this)),Q!==null&&this.emit("data",Q),Q},L.prototype._read=function(te){C(this,new x("_read()"))},L.prototype.pipe=function(te,Z){var X=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=te;break;case 1:Q.pipes=[Q.pipes,te];break;default:Q.pipes.push(te)}Q.pipesCount+=1,i("pipe count=%d opts=%j",Q.pipesCount,Z);var re=Z&&Z.end===!1||te===y.stdout||te===y.stderr?pe:ie;function ie(){i("onend"),te.end()}Q.endEmitted?y.nextTick(re):X.once("end",re),te.on("unpipe",function xe(Pe,_e){i("onunpipe"),Pe===X&&_e&&_e.hasUnpiped===!1&&(_e.hasUnpiped=!0,i("cleanup"),te.removeListener("close",de),te.removeListener("finish",me),te.removeListener("drain",oe),te.removeListener("error",ye),te.removeListener("unpipe",xe),X.removeListener("end",ie),X.removeListener("end",pe),X.removeListener("data",ce),ue=!0,!Q.awaitDrain||te._writableState&&!te._writableState.needDrain||oe())});var oe=function(xe){return function(){var Pe=xe._readableState;i("pipeOnDrain",Pe.awaitDrain),Pe.awaitDrain&&Pe.awaitDrain--,Pe.awaitDrain===0&&M(xe,"data")&&(Pe.flowing=!0,U(xe))}}(X);te.on("drain",oe);var ue=!1;function ce(xe){i("ondata");var Pe=te.write(xe);i("dest.write",Pe),Pe===!1&&((Q.pipesCount===1&&Q.pipes===te||Q.pipesCount>1&&ne(Q.pipes,te)!==-1)&&!ue&&(i("false write response, pause",Q.awaitDrain),Q.awaitDrain++),X.pause())}function ye(xe){i("onerror",xe),pe(),te.removeListener("error",ye),M(te,"error")===0&&C(te,xe)}function de(){te.removeListener("finish",me),pe()}function me(){i("onfinish"),te.removeListener("close",de),pe()}function pe(){i("unpipe"),X.unpipe(te)}return X.on("data",ce),function(xe,Pe,_e){if(typeof xe.prependListener=="function")return xe.prependListener(Pe,_e);xe._events&&xe._events.error?Array.isArray(xe._events.error)?xe._events.error.unshift(_e):xe._events.error=[_e,xe._events.error]:xe.on(Pe,_e)}(te,"error",ye),te.once("close",de),te.once("finish",me),te.emit("pipe",X),Q.flowing||(i("pipe resume"),X.resume()),te},L.prototype.unpipe=function(te){var Z=this._readableState,X={hasUnpiped:!1};if(Z.pipesCount===0)return this;if(Z.pipesCount===1)return te&&te!==Z.pipes||(te||(te=Z.pipes),Z.pipes=null,Z.pipesCount=0,Z.flowing=!1,te&&te.emit("unpipe",this,X)),this;if(!te){var Q=Z.pipes,re=Z.pipesCount;Z.pipes=null,Z.pipesCount=0,Z.flowing=!1;for(var ie=0;ie0,Q.flowing!==!1&&this.resume()):te==="readable"&&(Q.endEmitted||Q.readableListening||(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,i("on readable",Q.length,Q.reading),Q.length?D(this):Q.reading||y.nextTick(j,this))),X},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(te,Z){var X=g.prototype.removeListener.call(this,te,Z);return te==="readable"&&y.nextTick(q,this),X},L.prototype.removeAllListeners=function(te){var Z=g.prototype.removeAllListeners.apply(this,arguments);return te!=="readable"&&te!==void 0||y.nextTick(q,this),Z},L.prototype.resume=function(){var te=this._readableState;return te.flowing||(i("resume"),te.flowing=!te.readableListening,function(Z,X){X.resumeScheduled||(X.resumeScheduled=!0,y.nextTick($,Z,X))}(this,te)),te.paused=!1,this},L.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},L.prototype.wrap=function(te){var Z=this,X=this._readableState,Q=!1;for(var re in te.on("end",function(){if(i("wrapped end"),X.decoder&&!X.ended){var oe=X.decoder.end();oe&&oe.length&&Z.push(oe)}Z.push(null)}),te.on("data",function(oe){i("wrapped data"),X.decoder&&(oe=X.decoder.write(oe)),X.objectMode&&oe==null||(X.objectMode||oe&&oe.length)&&(Z.push(oe)||(Q=!0,te.pause()))}),te)this[re]===void 0&&typeof te[re]=="function"&&(this[re]=function(oe){return function(){return te[oe].apply(te,arguments)}}(re));for(var ie=0;ie<_.length;ie++)te.on(_[ie],this.emit.bind(this,_[ie]));return this._read=function(oe){i("wrapped _read",oe),Q&&(Q=!1,te.resume())},this},typeof Symbol=="function"&&(L.prototype[Symbol.asyncIterator]=function(){return o===void 0&&(o=t(68221)),o(this)}),Object.defineProperty(L.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(L.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(L.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(te){this._readableState&&(this._readableState.flowing=te)}}),L._fromList=G,Object.defineProperty(L.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(L.from=function(te,Z){return s===void 0&&(s=t(31748)),s(L,te,Z)})},74308:function(k,m,t){k.exports=a;var d=t(74322).q,y=d.ERR_METHOD_NOT_IMPLEMENTED,i=d.ERR_MULTIPLE_CALLBACK,M=d.ERR_TRANSFORM_ALREADY_TRANSFORMING,g=d.ERR_TRANSFORM_WITH_LENGTH_0,h=t(37865);function l(s,f){var c=this._transformState;c.transforming=!1;var p=c.writecb;if(p===null)return this.emit("error",new i);c.writechunk=null,c.writecb=null,f!=null&&this.push(f),p(s);var w=this._readableState;w.reading=!1,(w.needReadable||w.length-1))throw new T(B);return this._writableState.defaultEncoding=B,this},Object.defineProperty(L.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(L.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),L.prototype._write=function(B,N,q){q(new c("_write()"))},L.prototype._writev=null,L.prototype.end=function(B,N,q){var j=this._writableState;return typeof B=="function"?(q=B,B=null,N=null):typeof N=="function"&&(q=N,N=null),B!=null&&this.write(B,N),j.corked&&(j.corked=1,this.uncork()),j.ending||function($,U,G){U.ending=!0,F($,U),G&&(U.finished?y.nextTick(G):$.once("finish",G)),U.ended=!0,$.writable=!1}(this,j,q),this},Object.defineProperty(L.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(B){this._writableState&&(this._writableState.destroyed=B)}}),L.prototype.destroy=u.destroy,L.prototype._undestroy=u.undestroy,L.prototype._destroy=function(B,N){N(B)}},68221:function(k,m,t){var d,y=t(90386);function i(S,x,T){return x in S?Object.defineProperty(S,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):S[x]=T,S}var M=t(12726),g=Symbol("lastResolve"),h=Symbol("lastReject"),l=Symbol("error"),a=Symbol("ended"),u=Symbol("lastPromise"),o=Symbol("handlePromise"),s=Symbol("stream");function f(S,x){return{value:S,done:x}}function c(S){var x=S[g];if(x!==null){var T=S[s].read();T!==null&&(S[u]=null,S[g]=null,S[h]=null,x(f(T,!1)))}}function p(S){y.nextTick(c,S)}var w=Object.getPrototypeOf(function(){}),v=Object.setPrototypeOf((i(d={get stream(){return this[s]},next:function(){var S=this,x=this[l];if(x!==null)return Promise.reject(x);if(this[a])return Promise.resolve(f(void 0,!0));if(this[s].destroyed)return new Promise(function(A,L){y.nextTick(function(){S[l]?L(S[l]):A(f(void 0,!0))})});var T,C=this[u];if(C)T=new Promise(function(A,L){return function(b,O){A.then(function(){L[a]?b(f(void 0,!0)):L[o](b,O)},O)}}(C,this));else{var _=this[s].read();if(_!==null)return Promise.resolve(f(_,!1));T=new Promise(this[o])}return this[u]=T,T}},Symbol.asyncIterator,function(){return this}),i(d,"return",function(){var S=this;return new Promise(function(x,T){S[s].destroy(null,function(C){C?T(C):x(f(void 0,!0))})})}),d),w);k.exports=function(S){var x,T=Object.create(v,(i(x={},s,{value:S,writable:!0}),i(x,g,{value:null,writable:!0}),i(x,h,{value:null,writable:!0}),i(x,l,{value:null,writable:!0}),i(x,a,{value:S._readableState.endEmitted,writable:!0}),i(x,o,{value:function(C,_){var A=T[s].read();A?(T[u]=null,T[g]=null,T[h]=null,C(f(A,!1))):(T[g]=C,T[h]=_)},writable:!0}),x));return T[u]=null,M(S,function(C){if(C&&C.code!=="ERR_STREAM_PREMATURE_CLOSE"){var _=T[h];return _!==null&&(T[u]=null,T[g]=null,T[h]=null,_(C)),void(T[l]=C)}var A=T[g];A!==null&&(T[u]=null,T[g]=null,T[h]=null,A(f(void 0,!0))),T[a]=!0}),S.on("readable",p.bind(null,T)),T}},31125:function(k,m,t){function d(l,a){var u=Object.keys(l);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(l);a&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(l,s).enumerable})),u.push.apply(u,o)}return u}function y(l,a,u){return a in l?Object.defineProperty(l,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[a]=u,l}function i(l,a){for(var u=0;u0?this.tail.next=s:this.head=s,this.tail=s,++this.length}},{key:"unshift",value:function(o){var s={data:o,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length}},{key:"shift",value:function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(o){if(this.length===0)return"";for(var s=this.head,f=""+s.data;s=s.next;)f+=o+s.data;return f}},{key:"concat",value:function(o){if(this.length===0)return M.alloc(0);for(var s,f,c,p=M.allocUnsafe(o>>>0),w=this.head,v=0;w;)s=w.data,f=p,c=v,M.prototype.copy.call(s,f,c),v+=w.data.length,w=w.next;return p}},{key:"consume",value:function(o,s){var f;return op.length?p.length:o;if(w===p.length?c+=p:c+=p.slice(0,o),(o-=w)==0){w===p.length?(++f,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=p.slice(w));break}++f}return this.length-=f,c}},{key:"_getBuffer",value:function(o){var s=M.allocUnsafe(o),f=this.head,c=1;for(f.data.copy(s),o-=f.data.length;f=f.next;){var p=f.data,w=o>p.length?p.length:o;if(p.copy(s,s.length-o,0,w),(o-=w)==0){w===p.length?(++c,f.next?this.head=f.next:this.head=this.tail=null):(this.head=f,f.data=p.slice(w));break}++c}return this.length-=c,s}},{key:h,value:function(o,s){return g(this,function(f){for(var c=1;c0,function(T){c||(c=T),T&&w.forEach(l),x||(w.forEach(l),p(c))})});return s.reduce(a)}},56306:function(k,m,t){var d=t(74322).q.ERR_INVALID_OPT_VALUE;k.exports={getHighWaterMark:function(y,i,M,g){var h=function(l,a,u){return l.highWaterMark!=null?l.highWaterMark:a?l[u]:null}(i,g,M);if(h!=null){if(!isFinite(h)||Math.floor(h)!==h||h<0)throw new d(g?M:"highWaterMark",h);return Math.floor(h)}return y.objectMode?16:16384}}},71405:function(k,m,t){k.exports=t(15398).EventEmitter},68019:function(k,m,t){var d=t(71665).Buffer,y=d.isEncoding||function(f){switch((f=""+f)&&f.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(f){var c;switch(this.encoding=function(p){var w=function(v){if(!v)return"utf8";for(var S;;)switch(v){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return v;default:if(S)return;v=(""+v).toLowerCase(),S=!0}}(p);if(typeof w!="string"&&(d.isEncoding===y||!y(p)))throw new Error("Unknown encoding: "+p);return w||p}(f),this.encoding){case"utf16le":this.text=h,this.end=l,c=4;break;case"utf8":this.fillLast=g,c=4;break;case"base64":this.text=a,this.end=u,c=3;break;default:return this.write=o,void(this.end=s)}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(c)}function M(f){return f<=127?0:f>>5==6?2:f>>4==14?3:f>>3==30?4:f>>6==2?-1:-2}function g(f){var c=this.lastTotal-this.lastNeed,p=function(w,v,S){if((192&v[0])!=128)return w.lastNeed=0,"๏ฟฝ";if(w.lastNeed>1&&v.length>1){if((192&v[1])!=128)return w.lastNeed=1,"๏ฟฝ";if(w.lastNeed>2&&v.length>2&&(192&v[2])!=128)return w.lastNeed=2,"๏ฟฝ"}}(this,f);return p!==void 0?p:this.lastNeed<=f.length?(f.copy(this.lastChar,c,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(f.copy(this.lastChar,c,0,f.length),void(this.lastNeed-=f.length))}function h(f,c){if((f.length-c)%2==0){var p=f.toString("utf16le",c);if(p){var w=p.charCodeAt(p.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",c,f.length-1)}function l(f){var c=f&&f.length?this.write(f):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return c+this.lastChar.toString("utf16le",0,p)}return c}function a(f,c){var p=(f.length-c)%3;return p===0?f.toString("base64",c):(this.lastNeed=3-p,this.lastTotal=3,p===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",c,f.length-p))}function u(f){var c=f&&f.length?this.write(f):"";return this.lastNeed?c+this.lastChar.toString("base64",0,3-this.lastNeed):c}function o(f){return f.toString(this.encoding)}function s(f){return f&&f.length?this.write(f):""}m.s=i,i.prototype.write=function(f){if(f.length===0)return"";var c,p;if(this.lastNeed){if((c=this.fillLast(f))===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;return p=0?(C>0&&(v.lastNeed=C-1),C):--T=0?(C>0&&(v.lastNeed=C-2),C):--T=0?(C>0&&(C===2?C=0:v.lastNeed=C-3),C):0}(this,f,c);if(!this.lastNeed)return f.toString("utf8",c);this.lastTotal=p;var w=f.length-(p-this.lastNeed);return f.copy(this.lastChar,0,w),f.toString("utf8",c,w)},i.prototype.fillLast=function(f){if(this.lastNeed<=f.length)return f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,f.length),this.lastNeed-=f.length}},90715:function(k,m,t){var d=t(32791),y=t(41633)("stream-parser");function i(f){y("initializing parser stream"),f._parserBytesLeft=0,f._parserBuffers=[],f._parserBuffered=0,f._parserState=-1,f._parserCallback=null,typeof f.push=="function"&&(f._parserOutput=f.push.bind(f)),f._parserInit=!0}function M(f,c){d(!this._parserCallback,'there is already a "callback" set!'),d(isFinite(f)&&f>0,'can only buffer a finite number of bytes > 0, got "'+f+'"'),this._parserInit||i(this),y("buffering %o bytes",f),this._parserBytesLeft=f,this._parserCallback=c,this._parserState=0}function g(f,c){d(!this._parserCallback,'there is already a "callback" set!'),d(f>0,'can only skip > 0 bytes, got "'+f+'"'),this._parserInit||i(this),y("skipping %o bytes",f),this._parserBytesLeft=f,this._parserCallback=c,this._parserState=1}function h(f,c){d(!this._parserCallback,'There is already a "callback" set!'),d(f>0,'can only pass through > 0 bytes, got "'+f+'"'),this._parserInit||i(this),y("passing through %o bytes",f),this._parserBytesLeft=f,this._parserCallback=c,this._parserState=2}function l(f,c,p){this._parserInit||i(this),y("write(%o bytes)",f.length),typeof c=="function"&&(p=c),o(this,f,null,p)}function a(f,c,p){this._parserInit||i(this),y("transform(%o bytes)",f.length),typeof c!="function"&&(c=this._parserOutput),o(this,f,c,p)}function u(f,c,p,w){if(f._parserBytesLeft-=c.length,y("%o bytes left for stream piece",f._parserBytesLeft),f._parserState===0?(f._parserBuffers.push(c),f._parserBuffered+=c.length):f._parserState===2&&p(c),f._parserBytesLeft!==0)return w;var v=f._parserCallback;if(v&&f._parserState===0&&f._parserBuffers.length>1&&(c=Buffer.concat(f._parserBuffers,f._parserBuffered)),f._parserState!==0&&(c=null),f._parserCallback=null,f._parserBuffered=0,f._parserState=-1,f._parserBuffers.splice(0),v){var S=[];c&&S.push(c),p&&S.push(p);var x=v.length>S.length;x&&S.push(s(w));var T=v.apply(f,S);if(!x||w===T)return w}}k.exports=function(f){var c=f&&typeof f._transform=="function",p=f&&typeof f._write=="function";if(!c&&!p)throw new Error("must pass a Writable or Transform stream in");y("extending Parser into stream"),f._bytes=M,f._skipBytes=g,c&&(f._passthrough=h),c?f._transform=a:f._write=l};var o=s(function f(c,p,w,v){return c._parserBytesLeft<=0?v(new Error("got data but not currently parsing anything")):p.length<=c._parserBytesLeft?function(){return u(c,p,w,v)}:function(){var S=p.slice(0,c._parserBytesLeft);return u(c,S,w,function(x){return x?v(x):p.length>S.length?function(){return f(c,p.slice(S.length),w,v)}:void 0})}});function s(f){return function(){for(var c=f.apply(this,arguments);typeof c=="function";)c=c();return c}}},41633:function(k,m,t){var d=t(90386);function y(){var i;try{i=m.storage.debug}catch{}return!i&&d!==void 0&&"env"in d&&(i=d.env.DEBUG),i}(m=k.exports=t(74469)).log=function(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},m.formatArgs=function(i){var M=this.useColors;if(i[0]=(M?"%c":"")+this.namespace+(M?" %c":" ")+i[0]+(M?"%c ":" ")+"+"+m.humanize(this.diff),M){var g="color: "+this.color;i.splice(1,0,g,"color: inherit");var h=0,l=0;i[0].replace(/%[a-zA-Z%]/g,function(a){a!=="%%"&&(h++,a==="%c"&&(l=h))}),i.splice(l,0,g)}},m.save=function(i){try{i==null?m.storage.removeItem("debug"):m.storage.debug=i}catch{}},m.load=y,m.useColors=function(){return!(typeof window>"u"||!window.process||window.process.type!=="renderer")||typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},m.storage=typeof chrome<"u"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch{}}(),m.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],m.formatters.j=function(i){try{return JSON.stringify(i)}catch(M){return"[UnexpectedJSONParseError]: "+M.message}},m.enable(y())},74469:function(k,m,t){var d;function y(i){function M(){if(M.enabled){var g=M,h=+new Date,l=h-(d||h);g.diff=l,g.prev=d,g.curr=h,d=h;for(var a=new Array(arguments.length),u=0;u0)return function(a){if(!((a=String(a)).length>100)){var u=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(u){var o=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*y;case"hours":case"hour":case"hrs":case"hr":case"h":return o*d;case"minutes":case"minute":case"mins":case"min":case"m":return o*t;case"seconds":case"second":case"secs":case"sec":case"s":return o*m;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(M);if(l==="number"&&isNaN(M)===!1)return g.long?i(h=M,y,"day")||i(h,d,"hour")||i(h,t,"minute")||i(h,m,"second")||h+" ms":function(a){return a>=y?Math.round(a/y)+"d":a>=d?Math.round(a/d)+"h":a>=t?Math.round(a/t)+"m":a>=m?Math.round(a/m)+"s":a+"ms"}(M);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(M))}},99011:function(k,m,t){var d=t(88641);k.exports=function(y,i,M){if(y==null)throw Error("First argument should be a string");if(i==null)throw Error("Separator should be a string or a RegExp");M?(typeof M=="string"||Array.isArray(M))&&(M={ignore:M}):M={},M.escape==null&&(M.escape=!0),M.ignore==null?M.ignore=["[]","()","{}","<>",'""',"''","``","โ€œโ€","ยซยป"]:(typeof M.ignore=="string"&&(M.ignore=[M.ignore]),M.ignore=M.ignore.map(function(s){return s.length===1&&(s+=s),s}));var g=d.parse(y,{flat:!0,brackets:M.ignore}),h=g[0].split(i);if(M.escape){for(var l=[],a=0;a0;){w=S[S.length-1];var x=m[w];if(M[w]=0&&h[w].push(g[C])}M[w]=T}else{if(y[w]===d[w]){var _=[],A=[],L=0;for(T=v.length-1;T>=0;--T){var b=v[T];if(i[b]=!1,_.push(b),A.push(h[b]),L+=h[b].length,g[b]=o.length,b===w){v.length=T;break}}o.push(_);var O=new Array(L);for(T=0;T1&&(u=1),u<-1&&(u=-1),(g*a-h*l<0?-1:1)*Math.acos(u)};m.default=function(g){var h=g.px,l=g.py,a=g.cx,u=g.cy,o=g.rx,s=g.ry,f=g.xAxisRotation,c=f===void 0?0:f,p=g.largeArcFlag,w=p===void 0?0:p,v=g.sweepFlag,S=v===void 0?0:v,x=[];if(o===0||s===0)return[];var T=Math.sin(c*d/360),C=Math.cos(c*d/360),_=C*(h-a)/2+T*(l-u)/2,A=-T*(h-a)/2+C*(l-u)/2;if(_===0&&A===0)return[];o=Math.abs(o),s=Math.abs(s);var L=Math.pow(_,2)/Math.pow(o,2)+Math.pow(A,2)/Math.pow(s,2);L>1&&(o*=Math.sqrt(L),s*=Math.sqrt(L));var b=function(j,$,U,G,W,H,ne,te,Z,X,Q,re){var ie=Math.pow(W,2),oe=Math.pow(H,2),ue=Math.pow(Q,2),ce=Math.pow(re,2),ye=ie*oe-ie*ce-oe*ue;ye<0&&(ye=0),ye/=ie*ce+oe*ue;var de=(ye=Math.sqrt(ye)*(ne===te?-1:1))*W/H*re,me=ye*-H/W*Q,pe=X*de-Z*me+(j+U)/2,xe=Z*de+X*me+($+G)/2,Pe=(Q-de)/W,_e=(re-me)/H,Me=(-Q-de)/W,Se=(-re-me)/H,Ce=M(1,0,Pe,_e),ae=M(Pe,_e,Me,Se);return te===0&&ae>0&&(ae-=d),te===1&&ae<0&&(ae+=d),[pe,xe,Ce,ae]}(h,l,a,u,o,s,w,S,T,C,_,A),O=function(j,$){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(U,G){var W=[],H=!0,ne=!1,te=void 0;try{for(var Z,X=U[Symbol.iterator]();!(H=(Z=X.next()).done)&&(W.push(Z.value),!G||W.length!==G);H=!0);}catch(Q){ne=!0,te=Q}finally{try{!H&&X.return&&X.return()}finally{if(ne)throw te}}return W}(j,$);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(b,4),I=O[0],R=O[1],D=O[2],F=O[3],B=Math.abs(F)/(d/4);Math.abs(1-B)<1e-7&&(B=1);var N=Math.max(Math.ceil(B),1);F/=N;for(var q=0;ql[2]&&(l[2]=o[s+0]),o[s+1]>l[3]&&(l[3]=o[s+1]);return l}},29988:function(k,m,t){k.exports=function(M){for(var g,h=[],l=0,a=0,u=0,o=0,s=null,f=null,c=0,p=0,w=0,v=M.length;w4?(l=S[S.length-4],a=S[S.length-3]):(l=c,a=p),h.push(S)}return h};var d=t(7095);function y(M,g,h,l){return["C",M,g,h,l,h,l]}function i(M,g,h,l,a,u){return["C",M/3+.6666666666666666*h,g/3+.6666666666666666*l,a/3+.6666666666666666*h,u/3+.6666666666666666*l,a,u]}},82019:function(k,m,t){var d,y=t(1750),i=t(95616),M=t(31457),g=t(89546),h=t(44781),l=document.createElement("canvas"),a=l.getContext("2d");k.exports=function(u,o){if(!g(u))throw Error("Argument should be valid svg path string");var s,f;o||(o={}),o.shape?(s=o.shape[0],f=o.shape[1]):(s=l.width=o.w||o.width||200,f=l.height=o.h||o.height||200);var c=Math.min(s,f),p=o.stroke||0,w=o.viewbox||o.viewBox||y(u),v=[s/(w[2]-w[0]),f/(w[3]-w[1])],S=Math.min(v[0]||0,v[1]||0)/2;if(a.fillStyle="black",a.fillRect(0,0,s,f),a.fillStyle="white",p&&(typeof p!="number"&&(p=1),a.strokeStyle=p>0?"white":"black",a.lineWidth=Math.abs(p)),a.translate(.5*s,.5*f),a.scale(S,S),function(){if(d!=null)return d;var C=document.createElement("canvas").getContext("2d");if(C.canvas.width=C.canvas.height=1,!window.Path2D)return d=!1;var _=new Path2D("M0,0h1v1h-1v-1Z");C.fillStyle="black",C.fill(_);var A=C.getImageData(0,0,1,1);return d=A&&A.data&&A.data[3]===255}()){var x=new Path2D(u);a.fill(x),p&&a.stroke(x)}else{var T=i(u);M(a,T),a.fill(),p&&a.stroke()}return a.setTransform(1,0,0,1,0,0),h(a,{cutoff:o.cutoff!=null?o.cutoff:.5,radius:o.radius!=null?o.radius:.5*c})}},84267:function(k,m,t){var d;(function(y){var i=/^\s+/,M=/\s+$/,g=0,h=y.round,l=y.min,a=y.max,u=y.random;function o(Q,re){if(re=re||{},(Q=Q||"")instanceof o)return Q;if(!(this instanceof o))return new o(Q,re);var ie=function(oe){var ue,ce,ye,de={r:0,g:0,b:0},me=1,pe=null,xe=null,Pe=null,_e=!1,Me=!1;return typeof oe=="string"&&(oe=function(Se){Se=Se.replace(i,"").replace(M,"").toLowerCase();var Ce,ae=!1;if(D[Se])Se=D[Se],ae=!0;else if(Se=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(Ce=Z.rgb.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3]}:(Ce=Z.rgba.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3],a:Ce[4]}:(Ce=Z.hsl.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3]}:(Ce=Z.hsla.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3],a:Ce[4]}:(Ce=Z.hsv.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3]}:(Ce=Z.hsva.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3],a:Ce[4]}:(Ce=Z.hex8.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),a:W(Ce[4]),format:ae?"name":"hex8"}:(Ce=Z.hex6.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),format:ae?"name":"hex"}:(Ce=Z.hex4.exec(Se))?{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),a:W(Ce[4]+""+Ce[4]),format:ae?"name":"hex8"}:!!(Ce=Z.hex3.exec(Se))&&{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),format:ae?"name":"hex"}}(oe)),typeof oe=="object"&&(X(oe.r)&&X(oe.g)&&X(oe.b)?(ue=oe.r,ce=oe.g,ye=oe.b,de={r:255*N(ue,255),g:255*N(ce,255),b:255*N(ye,255)},_e=!0,Me=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):X(oe.h)&&X(oe.s)&&X(oe.v)?(pe=U(oe.s),xe=U(oe.v),de=function(Se,Ce,ae){Se=6*N(Se,360),Ce=N(Ce,100),ae=N(ae,100);var he=y.floor(Se),be=Se-he,ke=ae*(1-Ce),Le=ae*(1-be*Ce),Be=ae*(1-(1-be)*Ce),ze=he%6;return{r:255*[ae,Le,ke,ke,Be,ae][ze],g:255*[Be,ae,ae,Le,ke,ke][ze],b:255*[ke,ke,Be,ae,ae,Le][ze]}}(oe.h,pe,xe),_e=!0,Me="hsv"):X(oe.h)&&X(oe.s)&&X(oe.l)&&(pe=U(oe.s),Pe=U(oe.l),de=function(Se,Ce,ae){var he,be,ke;function Le(je,ge,we){return we<0&&(we+=1),we>1&&(we-=1),we<1/6?je+6*(ge-je)*we:we<.5?ge:we<2/3?je+(ge-je)*(2/3-we)*6:je}if(Se=N(Se,360),Ce=N(Ce,100),ae=N(ae,100),Ce===0)he=be=ke=ae;else{var Be=ae<.5?ae*(1+Ce):ae+Ce-ae*Ce,ze=2*ae-Be;he=Le(ze,Be,Se+1/3),be=Le(ze,Be,Se),ke=Le(ze,Be,Se-1/3)}return{r:255*he,g:255*be,b:255*ke}}(oe.h,pe,Pe),_e=!0,Me="hsl"),oe.hasOwnProperty("a")&&(me=oe.a)),me=B(me),{ok:_e,format:oe.format||Me,r:l(255,a(de.r,0)),g:l(255,a(de.g,0)),b:l(255,a(de.b,0)),a:me}}(Q);this._originalInput=Q,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=h(100*this._a)/100,this._format=re.format||ie.format,this._gradientType=re.gradientType,this._r<1&&(this._r=h(this._r)),this._g<1&&(this._g=h(this._g)),this._b<1&&(this._b=h(this._b)),this._ok=ie.ok,this._tc_id=g++}function s(Q,re,ie){Q=N(Q,255),re=N(re,255),ie=N(ie,255);var oe,ue,ce=a(Q,re,ie),ye=l(Q,re,ie),de=(ce+ye)/2;if(ce==ye)oe=ue=0;else{var me=ce-ye;switch(ue=de>.5?me/(2-ce-ye):me/(ce+ye),ce){case Q:oe=(re-ie)/me+(re>1)+720)%360;--re;)oe.h=(oe.h+ue)%360,ce.push(o(oe));return ce}function R(Q,re){re=re||6;for(var ie=o(Q).toHsv(),oe=ie.h,ue=ie.s,ce=ie.v,ye=[],de=1/re;re--;)ye.push(o({h:oe,s:ue,v:ce})),ce=(ce+de)%1;return ye}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Q=this.toRgb();return(299*Q.r+587*Q.g+114*Q.b)/1e3},getLuminance:function(){var Q,re,ie,oe=this.toRgb();return Q=oe.r/255,re=oe.g/255,ie=oe.b/255,.2126*(Q<=.03928?Q/12.92:y.pow((Q+.055)/1.055,2.4))+.7152*(re<=.03928?re/12.92:y.pow((re+.055)/1.055,2.4))+.0722*(ie<=.03928?ie/12.92:y.pow((ie+.055)/1.055,2.4))},setAlpha:function(Q){return this._a=B(Q),this._roundA=h(100*this._a)/100,this},toHsv:function(){var Q=f(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,v:Q.v,a:this._a}},toHsvString:function(){var Q=f(this._r,this._g,this._b),re=h(360*Q.h),ie=h(100*Q.s),oe=h(100*Q.v);return this._a==1?"hsv("+re+", "+ie+"%, "+oe+"%)":"hsva("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHsl:function(){var Q=s(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,l:Q.l,a:this._a}},toHslString:function(){var Q=s(this._r,this._g,this._b),re=h(360*Q.h),ie=h(100*Q.s),oe=h(100*Q.l);return this._a==1?"hsl("+re+", "+ie+"%, "+oe+"%)":"hsla("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHex:function(Q){return c(this._r,this._g,this._b,Q)},toHexString:function(Q){return"#"+this.toHex(Q)},toHex8:function(Q){return function(re,ie,oe,ue,ce){var ye=[$(h(re).toString(16)),$(h(ie).toString(16)),$(h(oe).toString(16)),$(G(ue))];return ce&&ye[0].charAt(0)==ye[0].charAt(1)&&ye[1].charAt(0)==ye[1].charAt(1)&&ye[2].charAt(0)==ye[2].charAt(1)&&ye[3].charAt(0)==ye[3].charAt(1)?ye[0].charAt(0)+ye[1].charAt(0)+ye[2].charAt(0)+ye[3].charAt(0):ye.join("")}(this._r,this._g,this._b,this._a,Q)},toHex8String:function(Q){return"#"+this.toHex8(Q)},toRgb:function(){return{r:h(this._r),g:h(this._g),b:h(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+h(this._r)+", "+h(this._g)+", "+h(this._b)+")":"rgba("+h(this._r)+", "+h(this._g)+", "+h(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:h(100*N(this._r,255))+"%",g:h(100*N(this._g,255))+"%",b:h(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+h(100*N(this._r,255))+"%, "+h(100*N(this._g,255))+"%, "+h(100*N(this._b,255))+"%)":"rgba("+h(100*N(this._r,255))+"%, "+h(100*N(this._g,255))+"%, "+h(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(F[c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(Q){var re="#"+p(this._r,this._g,this._b,this._a),ie=re,oe=this._gradientType?"GradientType = 1, ":"";if(Q){var ue=o(Q);ie="#"+p(ue._r,ue._g,ue._b,ue._a)}return"progid:DXImageTransform.Microsoft.gradient("+oe+"startColorstr="+re+",endColorstr="+ie+")"},toString:function(Q){var re=!!Q;Q=Q||this._format;var ie=!1,oe=this._a<1&&this._a>=0;return re||!oe||Q!=="hex"&&Q!=="hex6"&&Q!=="hex3"&&Q!=="hex4"&&Q!=="hex8"&&Q!=="name"?(Q==="rgb"&&(ie=this.toRgbString()),Q==="prgb"&&(ie=this.toPercentageRgbString()),Q!=="hex"&&Q!=="hex6"||(ie=this.toHexString()),Q==="hex3"&&(ie=this.toHexString(!0)),Q==="hex4"&&(ie=this.toHex8String(!0)),Q==="hex8"&&(ie=this.toHex8String()),Q==="name"&&(ie=this.toName()),Q==="hsl"&&(ie=this.toHslString()),Q==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString()):Q==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return o(this.toString())},_applyModification:function(Q,re){var ie=Q.apply(null,[this].concat([].slice.call(re)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(T,arguments)},darken:function(){return this._applyModification(C,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(Q,re){return Q.apply(null,[this].concat([].slice.call(re)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(R,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},o.fromRatio=function(Q,re){if(typeof Q=="object"){var ie={};for(var oe in Q)Q.hasOwnProperty(oe)&&(ie[oe]=oe==="a"?Q[oe]:U(Q[oe]));Q=ie}return o(Q,re)},o.equals=function(Q,re){return!(!Q||!re)&&o(Q).toRgbString()==o(re).toRgbString()},o.random=function(){return o.fromRatio({r:u(),g:u(),b:u()})},o.mix=function(Q,re,ie){ie=ie===0?0:ie||50;var oe=o(Q).toRgb(),ue=o(re).toRgb(),ce=ie/100;return o({r:(ue.r-oe.r)*ce+oe.r,g:(ue.g-oe.g)*ce+oe.g,b:(ue.b-oe.b)*ce+oe.b,a:(ue.a-oe.a)*ce+oe.a})},o.readability=function(Q,re){var ie=o(Q),oe=o(re);return(y.max(ie.getLuminance(),oe.getLuminance())+.05)/(y.min(ie.getLuminance(),oe.getLuminance())+.05)},o.isReadable=function(Q,re,ie){var oe,ue,ce,ye,de,me=o.readability(Q,re);switch(ue=!1,(ce=ie,(ye=((ce=ce||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&ye!=="AAA"&&(ye="AA"),(de=(ce.size||"small").toLowerCase())!=="small"&&de!=="large"&&(de="small"),oe={level:ye,size:de}).level+oe.size){case"AAsmall":case"AAAlarge":ue=me>=4.5;break;case"AAlarge":ue=me>=3;break;case"AAAsmall":ue=me>=7}return ue},o.mostReadable=function(Q,re,ie){var oe,ue,ce,ye,de=null,me=0;ue=(ie=ie||{}).includeFallbackColors,ce=ie.level,ye=ie.size;for(var pe=0;peme&&(me=oe,de=o(re[pe]));return o.isReadable(Q,de,{level:ce,size:ye})||!ue?de:(ie.includeFallbackColors=!1,o.mostReadable(Q,["#fff","#000"],ie))};var D=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=o.hexNames=function(Q){var re={};for(var ie in Q)Q.hasOwnProperty(ie)&&(re[Q[ie]]=ie);return re}(D);function B(Q){return Q=parseFloat(Q),(isNaN(Q)||Q<0||Q>1)&&(Q=1),Q}function N(Q,re){(function(oe){return typeof oe=="string"&&oe.indexOf(".")!=-1&&parseFloat(oe)===1})(Q)&&(Q="100%");var ie=function(oe){return typeof oe=="string"&&oe.indexOf("%")!=-1}(Q);return Q=l(re,a(0,parseFloat(Q))),ie&&(Q=parseInt(Q*re,10)/100),y.abs(Q-re)<1e-6?1:Q%re/parseFloat(re)}function q(Q){return l(1,a(0,Q))}function j(Q){return parseInt(Q,16)}function $(Q){return Q.length==1?"0"+Q:""+Q}function U(Q){return Q<=1&&(Q=100*Q+"%"),Q}function G(Q){return y.round(255*parseFloat(Q)).toString(16)}function W(Q){return j(Q)/255}var H,ne,te,Z=(ne="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",te="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+ne),rgba:new RegExp("rgba"+te),hsl:new RegExp("hsl"+ne),hsla:new RegExp("hsla"+te),hsv:new RegExp("hsv"+ne),hsva:new RegExp("hsva"+te),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function X(Q){return!!Z.CSS_UNIT.exec(Q)}k.exports?k.exports=o:(d=(function(){return o}).call(m,t,m,k))===void 0||(k.exports=d)})(Math)},57060:function(k){k.exports=t,k.exports.float32=k.exports.float=t,k.exports.fract32=k.exports.fract=function(d,y){if(d.length){if(d instanceof Float32Array)return new Float32Array(d.length);y instanceof Float32Array||(y=t(d));for(var i=0,M=y.length;i":(M.length>100&&(M=M.slice(0,99)+"โ€ฆ"),M=M.replace(y,function(g){switch(g){case` -`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}))}},47403:function(k,m,t){var d=t(24582),y={object:!0,function:!0,undefined:!0};k.exports=function(i){return!!d(i)&&hasOwnProperty.call(y,typeof i)}},82527:function(k,m,t){var d=t(69190),y=t(84985);k.exports=function(i){return y(i)?i:d(i,"%v is not a plain function",arguments[1])}},84985:function(k,m,t){var d=t(73116),y=/^\s*class[\s{/}]/,i=Function.prototype.toString;k.exports=function(M){return!!d(M)&&!y.test(i.call(M))}},24511:function(k,m,t){var d=t(47403);k.exports=function(y){if(!d(y))return!1;try{return!!y.constructor&&y.constructor.prototype===y}catch{return!1}}},9234:function(k,m,t){var d=t(24582),y=t(47403),i=Object.prototype.toString;k.exports=function(M){if(!d(M))return null;if(y(M)){var g=M.toString;if(typeof g!="function"||g===i)return null}try{return""+M}catch{return null}}},10424:function(k,m,t){var d=t(69190),y=t(24582);k.exports=function(i){return y(i)?i:d(i,"Cannot use %v",arguments[1])}},24582:function(k){k.exports=function(m){return m!=null}},58404:function(k,m,t){var d=t(13547),y=t(12129),i=t(12856).Buffer;t.g.__TYPEDARRAY_POOL||(t.g.__TYPEDARRAY_POOL={UINT8:y([32,0]),UINT16:y([32,0]),UINT32:y([32,0]),BIGUINT64:y([32,0]),INT8:y([32,0]),INT16:y([32,0]),INT32:y([32,0]),BIGINT64:y([32,0]),FLOAT:y([32,0]),DOUBLE:y([32,0]),DATA:y([32,0]),UINT8C:y([32,0]),BUFFER:y([32,0])});var M=typeof Uint8ClampedArray<"u",g=typeof BigUint64Array<"u",h=typeof BigInt64Array<"u",l=t.g.__TYPEDARRAY_POOL;l.UINT8C||(l.UINT8C=y([32,0])),l.BIGUINT64||(l.BIGUINT64=y([32,0])),l.BIGINT64||(l.BIGINT64=y([32,0])),l.BUFFER||(l.BUFFER=y([32,0]));var a=l.DATA,u=l.BUFFER;function o(O){if(O){var I=O.length||O.byteLength,R=d.log2(I);a[R].push(O)}}function s(O){O=d.nextPow2(O);var I=d.log2(O),R=a[I];return R.length>0?R.pop():new ArrayBuffer(O)}function f(O){return new Uint8Array(s(O),0,O)}function c(O){return new Uint16Array(s(2*O),0,O)}function p(O){return new Uint32Array(s(4*O),0,O)}function w(O){return new Int8Array(s(O),0,O)}function v(O){return new Int16Array(s(2*O),0,O)}function S(O){return new Int32Array(s(4*O),0,O)}function x(O){return new Float32Array(s(4*O),0,O)}function T(O){return new Float64Array(s(8*O),0,O)}function C(O){return M?new Uint8ClampedArray(s(O),0,O):f(O)}function _(O){return g?new BigUint64Array(s(8*O),0,O):null}function A(O){return h?new BigInt64Array(s(8*O),0,O):null}function L(O){return new DataView(s(O),0,O)}function b(O){O=d.nextPow2(O);var I=d.log2(O),R=u[I];return R.length>0?R.pop():new i(O)}m.free=function(O){if(i.isBuffer(O))u[d.log2(O.length)].push(O);else{if(Object.prototype.toString.call(O)!=="[object ArrayBuffer]"&&(O=O.buffer),!O)return;var I=O.length||O.byteLength,R=0|d.log2(I);a[R].push(O)}},m.freeUint8=m.freeUint16=m.freeUint32=m.freeBigUint64=m.freeInt8=m.freeInt16=m.freeInt32=m.freeBigInt64=m.freeFloat32=m.freeFloat=m.freeFloat64=m.freeDouble=m.freeUint8Clamped=m.freeDataView=function(O){o(O.buffer)},m.freeArrayBuffer=o,m.freeBuffer=function(O){u[d.log2(O.length)].push(O)},m.malloc=function(O,I){if(I===void 0||I==="arraybuffer")return s(O);switch(I){case"uint8":return f(O);case"uint16":return c(O);case"uint32":return p(O);case"int8":return w(O);case"int16":return v(O);case"int32":return S(O);case"float":case"float32":return x(O);case"double":case"float64":return T(O);case"uint8_clamped":return C(O);case"bigint64":return A(O);case"biguint64":return _(O);case"buffer":return b(O);case"data":case"dataview":return L(O);default:return null}return null},m.mallocArrayBuffer=s,m.mallocUint8=f,m.mallocUint16=c,m.mallocUint32=p,m.mallocInt8=w,m.mallocInt16=v,m.mallocInt32=S,m.mallocFloat32=m.mallocFloat=x,m.mallocFloat64=m.mallocDouble=T,m.mallocUint8Clamped=C,m.mallocBigUint64=_,m.mallocBigInt64=A,m.mallocDataView=L,m.mallocBuffer=b,m.clearCache=function(){for(var O=0;O<32;++O)l.UINT8[O].length=0,l.UINT16[O].length=0,l.UINT32[O].length=0,l.INT8[O].length=0,l.INT16[O].length=0,l.INT32[O].length=0,l.FLOAT[O].length=0,l.DOUBLE[O].length=0,l.BIGUINT64[O].length=0,l.BIGINT64[O].length=0,l.UINT8C[O].length=0,a[O].length=0,u[O].length=0}},90448:function(k){var m=/[\'\"]/;k.exports=function(t){return t?(m.test(t.charAt(0))&&(t=t.substr(1)),m.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},93447:function(k){k.exports=function(m,t,d){Array.isArray(d)||(d=[].slice.call(arguments,2));for(var y=0,i=d.length;y=U)return H;switch(H){case"%s":return String($[j++]);case"%d":return Number($[j++]);case"%j":try{return JSON.stringify($[j++])}catch{return"[Circular]"}default:return H}}),W=$[j];j=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),p(q)?j.showHidden=q:q&&m._extend(j,q),x(j.showHidden)&&(j.showHidden=!1),x(j.depth)&&(j.depth=2),x(j.colors)&&(j.colors=!1),x(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=a),o(j,N,j.depth)}function a(N,q){var j=l.styles[q];return j?"\x1B["+l.colors[j][0]+"m"+N+"\x1B["+l.colors[j][1]+"m":N}function u(N,q){return N}function o(N,q,j){if(N.customInspect&&q&&L(q.inspect)&&q.inspect!==m.inspect&&(!q.constructor||q.constructor.prototype!==q)){var $=q.inspect(j,N);return S($)||($=o(N,$,j)),$}var U=function(Q,re){if(x(re))return Q.stylize("undefined","undefined");if(S(re)){var ie="'"+JSON.stringify(re).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ie,"string")}return v(re)?Q.stylize(""+re,"number"):p(re)?Q.stylize(""+re,"boolean"):w(re)?Q.stylize("null","null"):void 0}(N,q);if(U)return U;var G=Object.keys(q),W=function(Q){var re={};return Q.forEach(function(ie,oe){re[ie]=!0}),re}(G);if(N.showHidden&&(G=Object.getOwnPropertyNames(q)),A(q)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return s(q);if(G.length===0){if(L(q)){var H=q.name?": "+q.name:"";return N.stylize("[Function"+H+"]","special")}if(T(q))return N.stylize(RegExp.prototype.toString.call(q),"regexp");if(_(q))return N.stylize(Date.prototype.toString.call(q),"date");if(A(q))return s(q)}var ne,te="",Z=!1,X=["{","}"];return c(q)&&(Z=!0,X=["[","]"]),L(q)&&(te=" [Function"+(q.name?": "+q.name:"")+"]"),T(q)&&(te=" "+RegExp.prototype.toString.call(q)),_(q)&&(te=" "+Date.prototype.toUTCString.call(q)),A(q)&&(te=" "+s(q)),G.length!==0||Z&&q.length!=0?j<0?T(q)?N.stylize(RegExp.prototype.toString.call(q),"regexp"):N.stylize("[Object]","special"):(N.seen.push(q),ne=Z?function(Q,re,ie,oe,ue){for(var ce=[],ye=0,de=re.length;ye>>4&15)+"0123456789abcdef".charAt(15&Pt);return Nt}(function(wt){for(var Pt=Array(wt.length>>2),Nt=0;Nt>5]|=(255&wt.charCodeAt(Nt/8))<<24-Nt%32;var $t,Wt,Xt,Qt,rn,xn,un,An,$n,kn,sn,Tn=8*wt.length;for(wt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Nt=Array(64),Pt[Tn>>5]|=128<<24-Tn%32,Pt[15+(Tn+64>>9<<4)]=Tn,An=0;An$n;$n++){var dn;16>$n?Nt[$n]=Pt[$n+An]:(kn=$n,sn=W(sn=N(sn=Nt[$n-2],17)^N(sn,19)^sn>>>10,Nt[$n-7]),dn=N(dn=Nt[$n-15],7)^N(dn,18)^dn>>>3,Nt[kn]=W(W(sn,dn),Nt[$n-16])),kn=W(W(W(W(un,kn=N(kn=Qt,6)^N(kn,11)^N(kn,25)),Qt&rn^~Qt&xn),xt[$n]),Nt[$n]),sn=W(un=N(un=Tn,2)^N(un,13)^N(un,22),Tn&$t^Tn&Wt^$t&Wt),un=xn,xn=rn,rn=Qt,Qt=W(Xt,kn),Xt=Wt,Wt=$t,$t=Tn,Tn=W(kn,sn)}wt[0]=W(Tn,wt[0]),wt[1]=W($t,wt[1]),wt[2]=W(Wt,wt[2]),wt[3]=W(Xt,wt[3]),wt[4]=W(Qt,wt[4]),wt[5]=W(rn,wt[5]),wt[6]=W(xn,wt[6]),wt[7]=W(un,wt[7])}for(Pt="",Nt=0;Nt<32*wt.length;Nt+=8)Pt+=String.fromCharCode(wt[Nt>>5]>>>24-Nt%32&255);return Pt}(function(wt){for(var Pt,Nt,$t="",Wt=-1;++Wt=Pt&&56320<=Nt&&57343>=Nt&&(Pt=65536+((1023&Pt)<<10)+(1023&Nt),Wt++),127>=Pt?$t+=String.fromCharCode(Pt):2047>=Pt?$t+=String.fromCharCode(192|Pt>>>6&31,128|63&Pt):65535>=Pt?$t+=String.fromCharCode(224|Pt>>>12&15,128|Pt>>>6&63,128|63&Pt):2097151>=Pt&&($t+=String.fromCharCode(240|Pt>>>18&7,128|Pt>>>12&63,128|Pt>>>6&63,128|63&Pt));return $t}(Ot))),Pe[yt])?Pe[yt].apply(null,ut):(Ot=Function.apply(null,Qe.concat(Ot)),Pe&&(Pe[yt]=Ot),Ot.apply(null,ut))}}}function G(qe){return Array.isArray(qe)||me(qe)||a(qe)}function q(qe){return qe.sort(function(nt,ht){return nt==="viewport"?-1:ht==="viewport"?1:nt"+br+"?"+Sn+".constant["+br+"]:0;"}).join(""),"}}else{","if(",nr,"(",Sn,".buffer)){",cr,"=",Vn,".createStream(",34962,",",Sn,".buffer);","}else{",cr,"=",Vn,".getBuffer(",Sn,".buffer);","}",pr,'="type" in ',Sn,"?",Xn.glTypes,"[",Sn,".type]:",cr,".dtype;",Qn.normalized,"=!!",Sn,".normalized;"),yn("size"),yn("offset"),yn("stride"),yn("divisor"),gn("}}"),gn.exit("if(",Qn.isStream,"){",Vn,".destroyStream(",cr,");","}"),Qn})}),Rn}function $n(jt,Jt,fn,zn,Rn){function En(fr){var cr=wn[fr];cr&&(yn[fr]=cr)}var mn=function(fr,cr){if(typeof(pr=fr.static).frag=="string"&&typeof pr.vert=="string"){if(0"u"?"Date.now()":"performance.now()"}function mn(fr){fr(yn=Jt.def(),"=",En(),";"),typeof Rn=="string"?fr(Xn,".count+=",Rn,";"):fr(Xn,".count++;"),wt&&(zn?fr(Sn=Jt.def(),"=",Qn,".getNumPendingQueries();"):fr(Qn,".beginQuery(",Xn,");"))}function wn(fr){fr(Xn,".cpuTime+=",En(),"-",yn,";"),wt&&(zn?fr(Qn,".pushScopeStats(",Sn,",",Qn,".getNumPendingQueries(),",Xn,");"):fr(Qn,".endQuery();"))}function gn(fr){var cr=Jt.def(nr,".profile");Jt(nr,".profile=",fr,";"),Jt.exit(nr,".profile=",cr,";")}var yn,Sn,Vn=jt.shared,Xn=jt.stats,nr=Vn.current,Qn=Vn.timer;if(fn=fn.profile){if(ne(fn))return void(fn.enable?(mn(Jt),wn(Jt.exit),gn("true")):gn("false"));gn(fn=fn.append(jt,Jt))}else fn=Jt.def(nr,".profile");mn(Vn=jt.block()),Jt("if(",fn,"){",Vn,"}"),wn(jt=jt.block()),Jt.exit("if(",fn,"){",jt,"}")}function In(jt,Jt,fn,zn,Rn){function En(wn,gn,yn){function Sn(){Jt("if(!",Qn,".buffer){",Xn,".enableVertexAttribArray(",nr,");}");var dr,br=yn.type;dr=yn.size?Jt.def(yn.size,"||",gn):gn,Jt("if(",Qn,".type!==",br,"||",Qn,".size!==",dr,"||",pr.map(function(Pr){return Qn+"."+Pr+"!=="+yn[Pr]}).join("||"),"){",Xn,".bindBuffer(",34962,",",fr,".buffer);",Xn,".vertexAttribPointer(",[nr,dr,br,yn.normalized,yn.stride,yn.offset],");",Qn,".type=",br,";",Qn,".size=",dr,";",pr.map(function(Pr){return Qn+"."+Pr+"="+yn[Pr]+";"}).join(""),"}"),Kt&&(br=yn.divisor,Jt("if(",Qn,".divisor!==",br,"){",jt.instancing,".vertexAttribDivisorANGLE(",[nr,br],");",Qn,".divisor=",br,";}"))}function Vn(){Jt("if(",Qn,".buffer){",Xn,".disableVertexAttribArray(",nr,");",Qn,".buffer=null;","}if(",Ft.map(function(dr,br){return Qn+"."+dr+"!=="+cr[br]}).join("||"),"){",Xn,".vertexAttrib4f(",nr,",",cr,");",Ft.map(function(dr,br){return Qn+"."+dr+"="+cr[br]+";"}).join(""),"}")}var Xn=mn.gl,nr=Jt.def(wn,".location"),Qn=Jt.def(mn.attributes,"[",nr,"]");wn=yn.state;var fr=yn.buffer,cr=[yn.x,yn.y,yn.z,yn.w],pr=["buffer","normalized","offset","stride"];wn===1?Sn():wn===2?Vn():(Jt("if(",wn,"===",1,"){"),Sn(),Jt("}else{"),Vn(),Jt("}"))}var mn=jt.shared;zn.forEach(function(wn){var gn,yn=wn.name,Sn=fn.attributes[yn];if(Sn){if(!Rn(Sn))return;gn=Sn.append(jt,Jt)}else{if(!Rn(Je))return;var Vn=jt.scopeAttrib(yn);gn={},Object.keys(new vr).forEach(function(Xn){gn[Xn]=Jt.def(Vn,".",Xn)})}En(jt.link(wn),function(Xn){switch(Xn){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(wn.info.type),gn)})}function jn(jt,Jt,fn,zn,Rn,En){for(var mn,wn=jt.shared,gn=wn.gl,yn=0;yn>1)",wn],");")}function Pr(){fn(gn,".drawArraysInstancedANGLE(",[Qn,fr,cr,wn],");")}nr&&nr!=="null"?dr?br():(fn("if(",nr,"){"),br(),fn("}else{"),Pr(),fn("}")):Pr()}function mn(){function br(){fn(Sn+".drawElements("+[Qn,cr,pr,fr+"<<(("+pr+"-5121)>>1)"]+");")}function Pr(){fn(Sn+".drawArrays("+[Qn,fr,cr]+");")}nr&&nr!=="null"?dr?br():(fn("if(",nr,"){"),br(),fn("}else{"),Pr(),fn("}")):Pr()}var wn,gn,yn=jt.shared,Sn=yn.gl,Vn=yn.draw,Xn=zn.draw,nr=function(){var br=Xn.elements,Pr=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Pr=fn),br=br.append(jt,Pr),Xn.elementsActive&&Pr("if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);")):(br=Pr.def(),Pr(br,"=",Vn,".","elements",";","if(",br,"){",Sn,".bindBuffer(",34963,",",br,".buffer.buffer);}","else if(",yn.vao,".currentVAO){",br,"=",jt.shared.elements+".getElements("+yn.vao,".currentVAO.elements);",Pn?"":"if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);","}")),br}(),Qn=Rn("primitive"),fr=Rn("offset"),cr=function(){var br=Xn.count,Pr=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Pr=fn),br=br.append(jt,Pr)):br=Pr.def(Vn,".","count"),br}();if(typeof cr=="number"){if(cr===0)return}else fn("if(",cr,"){"),fn.exit("}");Kt&&(wn=Rn("instances"),gn=jt.instancing);var pr=nr+".type",dr=Xn.elements&&ne(Xn.elements)&&!Xn.vaoActive;Kt&&(typeof wn!="number"||0<=wn)?typeof wn=="string"?(fn("if(",wn,">0){"),En(),fn("}else if(",wn,"<0){"),mn(),fn("}")):En():mn()}function qn(jt,Jt,fn,zn,Rn){return Rn=(Jt=Qt()).proc("body",Rn),Kt&&(Jt.instancing=Rn.def(Jt.shared.extensions,".angle_instanced_arrays")),jt(Jt,Rn,fn,zn),Jt.compile().body}function lr(jt,Jt,fn,zn){pn(jt,Jt),fn.useVAO?fn.drawVAO?Jt(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,Jt),");"):Jt(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(Jt(jt.shared.vao,".setVAO(null);"),In(jt,Jt,fn,zn.attributes,function(){return!0})),jn(jt,Jt,fn,zn.uniforms,function(){return!0},!1),Gn(jt,Jt,Jt,fn)}function rr(jt,Jt,fn,zn){function Rn(){return!0}jt.batchId="a1",pn(jt,Jt),In(jt,Jt,fn,zn.attributes,Rn),jn(jt,Jt,fn,zn.uniforms,Rn,!1),Gn(jt,Jt,Jt,fn)}function Sr(jt,Jt,fn,zn){function Rn(Vn){return Vn.contextDep&&mn||Vn.propDep}function En(Vn){return!Rn(Vn)}pn(jt,Jt);var mn=fn.contextDep,wn=Jt.def(),gn=Jt.def();jt.shared.props=gn,jt.batchId=wn;var yn=jt.scope(),Sn=jt.scope();Jt(yn.entry,"for(",wn,"=0;",wn,"<","a1",";++",wn,"){",gn,"=","a0","[",wn,"];",Sn,"}",yn.exit),fn.needsContext&&kn(jt,Sn,fn.context),fn.needsFramebuffer&&sn(jt,Sn,fn.framebuffer),dn(jt,Sn,fn.state,Rn),fn.profile&&Rn(fn.profile)&&Dn(jt,Sn,fn,!1,!0),zn?(fn.useVAO?fn.drawVAO?Rn(fn.drawVAO)?Sn(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,Sn),");"):yn(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,yn),");"):yn(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(yn(jt.shared.vao,".setVAO(null);"),In(jt,yn,fn,zn.attributes,En),In(jt,Sn,fn,zn.attributes,Rn)),jn(jt,yn,fn,zn.uniforms,En,!1),jn(jt,Sn,fn,zn.uniforms,Rn,!0),Gn(jt,yn,Sn,fn)):(Jt=jt.global.def("{}"),zn=fn.shader.progVar.append(jt,Sn),gn=Sn.def(zn,".id"),yn=Sn.def(Jt,"[",gn,"]"),Sn(jt.shared.gl,".useProgram(",zn,".program);","if(!",yn,"){",yn,"=",Jt,"[",gn,"]=",jt.link(function(Vn){return qn(rr,jt,fn,Vn,2)}),"(",zn,");}",yn,".call(this,a0[",wn,"],",wn,");"))}function yr(jt,Jt){function fn(wn){var gn=Jt.shader[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(Rn.shader,"."+wn,gn):zn.set(Rn.shader,"."+wn,jt.link(gn,{stable:!0})))}var zn=jt.proc("scope",3);jt.batchId="a2";var Rn=jt.shared,En=Rn.current;if(kn(jt,zn,Jt.context),Jt.framebuffer&&Jt.framebuffer.append(jt,zn),q(Object.keys(Jt.state)).forEach(function(wn){var gn=Jt.state[wn],yn=gn.append(jt,zn);S(yn)?yn.forEach(function(Sn,Vn){isNaN(Sn)?zn.set(jt.next[wn],"["+Vn+"]",Sn):zn.set(jt.next[wn],"["+Vn+"]",jt.link(Sn,{stable:!0}))}):ne(gn)?zn.set(Rn.next,"."+wn,jt.link(yn,{stable:!0})):zn.set(Rn.next,"."+wn,yn)}),Dn(jt,zn,Jt,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(wn){var gn=Jt.draw[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(Rn.draw,"."+wn,gn):zn.set(Rn.draw,"."+wn,jt.link(gn),{stable:!0}))}),Object.keys(Jt.uniforms).forEach(function(wn){var gn=Jt.uniforms[wn].append(jt,zn);Array.isArray(gn)&&(gn="["+gn.map(function(yn){return isNaN(yn)?yn:jt.link(yn,{stable:!0})})+"]"),zn.set(Rn.uniforms,"["+jt.link(nt.id(wn),{stable:!0})+"]",gn)}),Object.keys(Jt.attributes).forEach(function(wn){var gn=Jt.attributes[wn].append(jt,zn),yn=jt.scopeAttrib(wn);Object.keys(new vr).forEach(function(Sn){zn.set(yn,"."+Sn,gn[Sn])})}),Jt.scopeVAO){var mn=Jt.scopeVAO.append(jt,zn);isNaN(mn)?zn.set(Rn.vao,".targetVAO",mn):zn.set(Rn.vao,".targetVAO",jt.link(mn,{stable:!0}))}fn("vert"),fn("frag"),0=--this.refCount&&ut(this)},Ne.profile&&(Pe.getTotalRenderbufferSize=function(){var yt=0;return Object.keys(Lt).forEach(function(Ot){yt+=Lt[Ot].stats.size}),yt}),{create:function(yt,Ot){function wt(Nt,$t){var Wt=0,Xt=0,Qt=32854;if(typeof Nt=="object"&&Nt?("shape"in Nt?(Wt=0|(Xt=Nt.shape)[0],Xt=0|Xt[1]):("radius"in Nt&&(Wt=Xt=0|Nt.radius),"width"in Nt&&(Wt=0|Nt.width),"height"in Nt&&(Xt=0|Nt.height)),"format"in Nt&&(Qt=dt[Nt.format])):typeof Nt=="number"?(Wt=0|Nt,Xt=typeof $t=="number"?0|$t:Wt):Nt||(Wt=Xt=1),Wt!==Pt.width||Xt!==Pt.height||Qt!==Pt.format)return wt.width=Pt.width=Wt,wt.height=Pt.height=Xt,Pt.format=Qt,qe.bindRenderbuffer(36161,Pt.renderbuffer),qe.renderbufferStorage(36161,Qt,Wt,Xt),Ne.profile&&(Pt.stats.size=ft[Pt.format]*Pt.width*Pt.height),wt.format=_t[Pt.format],wt}var Pt=new Qe(qe.createRenderbuffer());return Lt[Pt.id]=Pt,Pe.renderbufferCount++,wt(yt,Ot),wt.resize=function(Nt,$t){var Wt=0|Nt,Xt=0|$t||Wt;return Wt===Pt.width&&Xt===Pt.height||(wt.width=Pt.width=Wt,wt.height=Pt.height=Xt,qe.bindRenderbuffer(36161,Pt.renderbuffer),qe.renderbufferStorage(36161,Pt.format,Wt,Xt),Ne.profile&&(Pt.stats.size=ft[Pt.format]*Pt.width*Pt.height)),wt},wt._reglType="renderbuffer",wt._renderbuffer=Pt,Ne.profile&&(wt.stats=Pt.stats),wt.destroy=function(){Pt.decRef()},wt},clear:function(){pe(Lt).forEach(ut)},restore:function(){pe(Lt).forEach(function(yt){yt.renderbuffer=qe.createRenderbuffer(),qe.bindRenderbuffer(36161,yt.renderbuffer),qe.renderbufferStorage(36161,yt.format,yt.width,yt.height)}),qe.bindRenderbuffer(36161,null)}}},Et=[];Et[6408]=4,Et[6407]=3;var kt=[];kt[5121]=1,kt[5126]=4,kt[36193]=2;var xt=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ft=["x","y","z","w"],Rt="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Bt={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},qt={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Vt={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ke={cw:2304,ccw:2305},Je=new H(!1,!1,!1,function(){});return function(qe){function nt(){if(rr.length===0)rn&&rn.update(),vr=null;else{vr=ue.next(nt),Lt();for(var Kt=rr.length-1;0<=Kt;--Kt){var bn=rr[Kt];bn&&bn($n,null,0)}wt.flush(),rn&&rn.update()}}function ht(){!vr&&0=rr.length&&Pe()}}}}function It(){var Kt=qn.viewport,bn=qn.scissor_box;Kt[0]=Kt[1]=bn[0]=bn[1]=0,$n.viewportWidth=$n.framebufferWidth=$n.drawingBufferWidth=Kt[2]=bn[2]=wt.drawingBufferWidth,$n.viewportHeight=$n.framebufferHeight=$n.drawingBufferHeight=Kt[3]=bn[3]=wt.drawingBufferHeight}function Lt(){$n.tick+=1,$n.time=Ot(),It(),Gn.procs.poll()}function yt(){Dn.refresh(),It(),Gn.procs.refresh(),rn&&rn.update()}function Ot(){return(ce()-xn)/1e3}if(!(qe=M(qe)))return null;var wt=qe.gl,Pt=wt.getContextAttributes();wt.isContextLost();var Nt=function(Kt,bn){function Pn(Yn){var tr;Yn=Yn.toLowerCase();try{tr=Ln[Yn]=Kt.getExtension(Yn)}catch{}return!!tr}for(var Ln={},Un=0;Unbn;++bn)_r(re({framebuffer:Kt.framebuffer.faces[bn]},Kt),dt);else _r(Kt,dt);else dt(0,Kt)},prop:oe.define.bind(null,1),context:oe.define.bind(null,2),this:oe.define.bind(null,3),draw:ut({}),buffer:function(Kt){return sn.create(Kt,34962,!1,!1)},elements:function(Kt){return Tn.create(Kt,!1)},texture:Dn.create2D,cube:Dn.createCube,renderbuffer:In.create,framebuffer:jn.create,framebufferCube:jn.createCube,vao:dn.createVAO,attributes:Pt,frame:_t,on:function(Kt,bn){var Pn;switch(Kt){case"frame":return _t(bn);case"lost":Pn=Sr;break;case"restore":Pn=yr;break;case"destroy":Pn=or}return Pn.push(bn),{cancel:function(){for(var Ln=0;Ln2?"one of ".concat(i," ").concat(y.slice(0,M-1).join(", "),", or ")+y[M-1]:M===2?"one of ".concat(i," ").concat(y[0]," or ").concat(y[1]):"of ".concat(i," ").concat(y[0])}return"of ".concat(i," ").concat(String(y))}t("ERR_INVALID_OPT_VALUE",function(y,i){return'The value "'+i+'" is invalid for option "'+y+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(y,i,M){var g,h,l,a,u;if(typeof i=="string"&&(h="not ",i.substr(0,h.length)===h)?(g="must not be",i=i.replace(/^not /,"")):g="must be",function(s,c,f){return(f===void 0||f>s.length)&&(f=s.length),s.substring(f-c.length,f)===c}(y," argument"))l="The ".concat(y," ").concat(g," ").concat(d(i,"type"));else{var o=(typeof u!="number"&&(u=0),u+1>(a=y).length||a.indexOf(".",u)===-1?"argument":"property");l='The "'.concat(y,'" ').concat(o," ").concat(g," ").concat(d(i,"type"))}return l+". Received type ".concat(typeof M)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(y){return"The "+y+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(y){return"Cannot call "+y+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(y){return"Unknown encoding: "+y},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),k.exports.q=m},37865:function(k,m,t){var d=t(90386),y=Object.keys||function(s){var c=[];for(var f in s)c.push(f);return c};k.exports=a;var i=t(40410),M=t(37493);t(42018)(a,i);for(var g=y(M.prototype),h=0;h0)if(typeof Z=="string"||oe.objectMode||Object.getPrototypeOf(Z)===h.prototype||(Z=function(ue){return h.from(ue)}(Z)),Q)oe.endEmitted?C(te,new T):P(te,oe,Z,!0);else if(oe.ended)C(te,new S);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!X?(Z=oe.decoder.write(Z),oe.objectMode||Z.length!==0?P(te,oe,Z,!1):B(te,oe)):P(te,oe,Z,!1)}else Q||(oe.reading=!1,B(te,oe));return!oe.ended&&(oe.lengthZ.highWaterMark&&(Z.highWaterMark=function(X){return X>=I?X=I:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++),X}(te)),te<=Z.length?te:Z.ended?Z.length:(Z.needReadable=!0,0))}function D(te){var Z=te._readableState;i("emitReadable",Z.needReadable,Z.emittedReadable),Z.needReadable=!1,Z.emittedReadable||(i("emitReadable",Z.flowing),Z.emittedReadable=!0,y.nextTick(F,te))}function F(te){var Z=te._readableState;i("emitReadable_",Z.destroyed,Z.length,Z.ended),Z.destroyed||!Z.length&&!Z.ended||(te.emit("readable"),Z.emittedReadable=!1),Z.needReadable=!Z.flowing&&!Z.ended&&Z.length<=Z.highWaterMark,U(te)}function B(te,Z){Z.readingMore||(Z.readingMore=!0,y.nextTick(N,te,Z))}function N(te,Z){for(;!Z.reading&&!Z.ended&&(Z.length0,Z.resumeScheduled&&!Z.paused?Z.flowing=!0:te.listenerCount("data")>0&&te.resume()}function j(te){i("readable nexttick read 0"),te.read(0)}function Y(te,Z){i("resume",Z.reading),Z.reading||te.read(0),Z.resumeScheduled=!1,te.emit("resume"),U(te),Z.flowing&&!Z.reading&&te.read(0)}function U(te){var Z=te._readableState;for(i("flow",Z.flowing);Z.flowing&&te.read()!==null;);}function G(te,Z){return Z.length===0?null:(Z.objectMode?X=Z.buffer.shift():!te||te>=Z.length?(X=Z.decoder?Z.buffer.join(""):Z.buffer.length===1?Z.buffer.first():Z.buffer.concat(Z.length),Z.buffer.clear()):X=Z.buffer.consume(te,Z.decoder),X);var X}function q(te){var Z=te._readableState;i("endReadable",Z.endEmitted),Z.endEmitted||(Z.ended=!0,y.nextTick(H,Z,te))}function H(te,Z){if(i("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,Z.readable=!1,Z.emit("end"),te.autoDestroy)){var X=Z._writableState;(!X||X.autoDestroy&&X.finished)&&Z.destroy()}}function ne(te,Z){for(var X=0,Q=te.length;X=Z.highWaterMark:Z.length>0)||Z.ended))return i("read: emitReadable",Z.length,Z.ended),Z.length===0&&Z.ended?q(this):D(this),null;if((te=R(te,Z))===0&&Z.ended)return Z.length===0&&q(this),null;var Q,re=Z.needReadable;return i("need readable",re),(Z.length===0||Z.length-te0?G(te,Z):null)===null?(Z.needReadable=Z.length<=Z.highWaterMark,te=0):(Z.length-=te,Z.awaitDrain=0),Z.length===0&&(Z.ended||(Z.needReadable=!0),X!==te&&Z.ended&&q(this)),Q!==null&&this.emit("data",Q),Q},L.prototype._read=function(te){C(this,new x("_read()"))},L.prototype.pipe=function(te,Z){var X=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=te;break;case 1:Q.pipes=[Q.pipes,te];break;default:Q.pipes.push(te)}Q.pipesCount+=1,i("pipe count=%d opts=%j",Q.pipesCount,Z);var re=Z&&Z.end===!1||te===y.stdout||te===y.stderr?pe:ie;function ie(){i("onend"),te.end()}Q.endEmitted?y.nextTick(re):X.once("end",re),te.on("unpipe",function xe(Oe,_e){i("onunpipe"),Oe===X&&_e&&_e.hasUnpiped===!1&&(_e.hasUnpiped=!0,i("cleanup"),te.removeListener("close",de),te.removeListener("finish",me),te.removeListener("drain",oe),te.removeListener("error",ye),te.removeListener("unpipe",xe),X.removeListener("end",ie),X.removeListener("end",pe),X.removeListener("data",ce),ue=!0,!Q.awaitDrain||te._writableState&&!te._writableState.needDrain||oe())});var oe=function(xe){return function(){var Oe=xe._readableState;i("pipeOnDrain",Oe.awaitDrain),Oe.awaitDrain&&Oe.awaitDrain--,Oe.awaitDrain===0&&M(xe,"data")&&(Oe.flowing=!0,U(xe))}}(X);te.on("drain",oe);var ue=!1;function ce(xe){i("ondata");var Oe=te.write(xe);i("dest.write",Oe),Oe===!1&&((Q.pipesCount===1&&Q.pipes===te||Q.pipesCount>1&&ne(Q.pipes,te)!==-1)&&!ue&&(i("false write response, pause",Q.awaitDrain),Q.awaitDrain++),X.pause())}function ye(xe){i("onerror",xe),pe(),te.removeListener("error",ye),M(te,"error")===0&&C(te,xe)}function de(){te.removeListener("finish",me),pe()}function me(){i("onfinish"),te.removeListener("close",de),pe()}function pe(){i("unpipe"),X.unpipe(te)}return X.on("data",ce),function(xe,Oe,_e){if(typeof xe.prependListener=="function")return xe.prependListener(Oe,_e);xe._events&&xe._events.error?Array.isArray(xe._events.error)?xe._events.error.unshift(_e):xe._events.error=[_e,xe._events.error]:xe.on(Oe,_e)}(te,"error",ye),te.once("close",de),te.once("finish",me),te.emit("pipe",X),Q.flowing||(i("pipe resume"),X.resume()),te},L.prototype.unpipe=function(te){var Z=this._readableState,X={hasUnpiped:!1};if(Z.pipesCount===0)return this;if(Z.pipesCount===1)return te&&te!==Z.pipes||(te||(te=Z.pipes),Z.pipes=null,Z.pipesCount=0,Z.flowing=!1,te&&te.emit("unpipe",this,X)),this;if(!te){var Q=Z.pipes,re=Z.pipesCount;Z.pipes=null,Z.pipesCount=0,Z.flowing=!1;for(var ie=0;ie0,Q.flowing!==!1&&this.resume()):te==="readable"&&(Q.endEmitted||Q.readableListening||(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,i("on readable",Q.length,Q.reading),Q.length?D(this):Q.reading||y.nextTick(j,this))),X},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(te,Z){var X=g.prototype.removeListener.call(this,te,Z);return te==="readable"&&y.nextTick(W,this),X},L.prototype.removeAllListeners=function(te){var Z=g.prototype.removeAllListeners.apply(this,arguments);return te!=="readable"&&te!==void 0||y.nextTick(W,this),Z},L.prototype.resume=function(){var te=this._readableState;return te.flowing||(i("resume"),te.flowing=!te.readableListening,function(Z,X){X.resumeScheduled||(X.resumeScheduled=!0,y.nextTick(Y,Z,X))}(this,te)),te.paused=!1,this},L.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},L.prototype.wrap=function(te){var Z=this,X=this._readableState,Q=!1;for(var re in te.on("end",function(){if(i("wrapped end"),X.decoder&&!X.ended){var oe=X.decoder.end();oe&&oe.length&&Z.push(oe)}Z.push(null)}),te.on("data",function(oe){i("wrapped data"),X.decoder&&(oe=X.decoder.write(oe)),X.objectMode&&oe==null||(X.objectMode||oe&&oe.length)&&(Z.push(oe)||(Q=!0,te.pause()))}),te)this[re]===void 0&&typeof te[re]=="function"&&(this[re]=function(oe){return function(){return te[oe].apply(te,arguments)}}(re));for(var ie=0;ie<_.length;ie++)te.on(_[ie],this.emit.bind(this,_[ie]));return this._read=function(oe){i("wrapped _read",oe),Q&&(Q=!1,te.resume())},this},typeof Symbol=="function"&&(L.prototype[Symbol.asyncIterator]=function(){return o===void 0&&(o=t(68221)),o(this)}),Object.defineProperty(L.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(L.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(L.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(te){this._readableState&&(this._readableState.flowing=te)}}),L._fromList=G,Object.defineProperty(L.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(L.from=function(te,Z){return s===void 0&&(s=t(31748)),s(L,te,Z)})},74308:function(k,m,t){k.exports=a;var d=t(74322).q,y=d.ERR_METHOD_NOT_IMPLEMENTED,i=d.ERR_MULTIPLE_CALLBACK,M=d.ERR_TRANSFORM_ALREADY_TRANSFORMING,g=d.ERR_TRANSFORM_WITH_LENGTH_0,h=t(37865);function l(s,c){var f=this._transformState;f.transforming=!1;var p=f.writecb;if(p===null)return this.emit("error",new i);f.writechunk=null,f.writecb=null,c!=null&&this.push(c),p(s);var w=this._readableState;w.reading=!1,(w.needReadable||w.length-1))throw new T(B);return this._writableState.defaultEncoding=B,this},Object.defineProperty(L.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(L.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),L.prototype._write=function(B,N,W){W(new f("_write()"))},L.prototype._writev=null,L.prototype.end=function(B,N,W){var j=this._writableState;return typeof B=="function"?(W=B,B=null,N=null):typeof N=="function"&&(W=N,N=null),B!=null&&this.write(B,N),j.corked&&(j.corked=1,this.uncork()),j.ending||function(Y,U,G){U.ending=!0,F(Y,U),G&&(U.finished?y.nextTick(G):Y.once("finish",G)),U.ended=!0,Y.writable=!1}(this,j,W),this},Object.defineProperty(L.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(B){this._writableState&&(this._writableState.destroyed=B)}}),L.prototype.destroy=u.destroy,L.prototype._undestroy=u.undestroy,L.prototype._destroy=function(B,N){N(B)}},68221:function(k,m,t){var d,y=t(90386);function i(S,x,T){return x in S?Object.defineProperty(S,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):S[x]=T,S}var M=t(12726),g=Symbol("lastResolve"),h=Symbol("lastReject"),l=Symbol("error"),a=Symbol("ended"),u=Symbol("lastPromise"),o=Symbol("handlePromise"),s=Symbol("stream");function c(S,x){return{value:S,done:x}}function f(S){var x=S[g];if(x!==null){var T=S[s].read();T!==null&&(S[u]=null,S[g]=null,S[h]=null,x(c(T,!1)))}}function p(S){y.nextTick(f,S)}var w=Object.getPrototypeOf(function(){}),v=Object.setPrototypeOf((i(d={get stream(){return this[s]},next:function(){var S=this,x=this[l];if(x!==null)return Promise.reject(x);if(this[a])return Promise.resolve(c(void 0,!0));if(this[s].destroyed)return new Promise(function(A,L){y.nextTick(function(){S[l]?L(S[l]):A(c(void 0,!0))})});var T,C=this[u];if(C)T=new Promise(function(A,L){return function(b,P){A.then(function(){L[a]?b(c(void 0,!0)):L[o](b,P)},P)}}(C,this));else{var _=this[s].read();if(_!==null)return Promise.resolve(c(_,!1));T=new Promise(this[o])}return this[u]=T,T}},Symbol.asyncIterator,function(){return this}),i(d,"return",function(){var S=this;return new Promise(function(x,T){S[s].destroy(null,function(C){C?T(C):x(c(void 0,!0))})})}),d),w);k.exports=function(S){var x,T=Object.create(v,(i(x={},s,{value:S,writable:!0}),i(x,g,{value:null,writable:!0}),i(x,h,{value:null,writable:!0}),i(x,l,{value:null,writable:!0}),i(x,a,{value:S._readableState.endEmitted,writable:!0}),i(x,o,{value:function(C,_){var A=T[s].read();A?(T[u]=null,T[g]=null,T[h]=null,C(c(A,!1))):(T[g]=C,T[h]=_)},writable:!0}),x));return T[u]=null,M(S,function(C){if(C&&C.code!=="ERR_STREAM_PREMATURE_CLOSE"){var _=T[h];return _!==null&&(T[u]=null,T[g]=null,T[h]=null,_(C)),void(T[l]=C)}var A=T[g];A!==null&&(T[u]=null,T[g]=null,T[h]=null,A(c(void 0,!0))),T[a]=!0}),S.on("readable",p.bind(null,T)),T}},31125:function(k,m,t){function d(l,a){var u=Object.keys(l);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(l);a&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(l,s).enumerable})),u.push.apply(u,o)}return u}function y(l,a,u){return a in l?Object.defineProperty(l,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[a]=u,l}function i(l,a){for(var u=0;u0?this.tail.next=s:this.head=s,this.tail=s,++this.length}},{key:"unshift",value:function(o){var s={data:o,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length}},{key:"shift",value:function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(o){if(this.length===0)return"";for(var s=this.head,c=""+s.data;s=s.next;)c+=o+s.data;return c}},{key:"concat",value:function(o){if(this.length===0)return M.alloc(0);for(var s,c,f,p=M.allocUnsafe(o>>>0),w=this.head,v=0;w;)s=w.data,c=p,f=v,M.prototype.copy.call(s,c,f),v+=w.data.length,w=w.next;return p}},{key:"consume",value:function(o,s){var c;return op.length?p.length:o;if(w===p.length?f+=p:f+=p.slice(0,o),(o-=w)==0){w===p.length?(++c,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=p.slice(w));break}++c}return this.length-=c,f}},{key:"_getBuffer",value:function(o){var s=M.allocUnsafe(o),c=this.head,f=1;for(c.data.copy(s),o-=c.data.length;c=c.next;){var p=c.data,w=o>p.length?p.length:o;if(p.copy(s,s.length-o,0,w),(o-=w)==0){w===p.length?(++f,c.next?this.head=c.next:this.head=this.tail=null):(this.head=c,c.data=p.slice(w));break}++f}return this.length-=f,s}},{key:h,value:function(o,s){return g(this,function(c){for(var f=1;f0,function(T){f||(f=T),T&&w.forEach(l),x||(w.forEach(l),p(f))})});return s.reduce(a)}},56306:function(k,m,t){var d=t(74322).q.ERR_INVALID_OPT_VALUE;k.exports={getHighWaterMark:function(y,i,M,g){var h=function(l,a,u){return l.highWaterMark!=null?l.highWaterMark:a?l[u]:null}(i,g,M);if(h!=null){if(!isFinite(h)||Math.floor(h)!==h||h<0)throw new d(g?M:"highWaterMark",h);return Math.floor(h)}return y.objectMode?16:16384}}},71405:function(k,m,t){k.exports=t(15398).EventEmitter},68019:function(k,m,t){var d=t(71665).Buffer,y=d.isEncoding||function(c){switch((c=""+c)&&c.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(c){var f;switch(this.encoding=function(p){var w=function(v){if(!v)return"utf8";for(var S;;)switch(v){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return v;default:if(S)return;v=(""+v).toLowerCase(),S=!0}}(p);if(typeof w!="string"&&(d.isEncoding===y||!y(p)))throw new Error("Unknown encoding: "+p);return w||p}(c),this.encoding){case"utf16le":this.text=h,this.end=l,f=4;break;case"utf8":this.fillLast=g,f=4;break;case"base64":this.text=a,this.end=u,f=3;break;default:return this.write=o,void(this.end=s)}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(f)}function M(c){return c<=127?0:c>>5==6?2:c>>4==14?3:c>>3==30?4:c>>6==2?-1:-2}function g(c){var f=this.lastTotal-this.lastNeed,p=function(w,v,S){if((192&v[0])!=128)return w.lastNeed=0,"๏ฟฝ";if(w.lastNeed>1&&v.length>1){if((192&v[1])!=128)return w.lastNeed=1,"๏ฟฝ";if(w.lastNeed>2&&v.length>2&&(192&v[2])!=128)return w.lastNeed=2,"๏ฟฝ"}}(this,c);return p!==void 0?p:this.lastNeed<=c.length?(c.copy(this.lastChar,f,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(c.copy(this.lastChar,f,0,c.length),void(this.lastNeed-=c.length))}function h(c,f){if((c.length-f)%2==0){var p=c.toString("utf16le",f);if(p){var w=p.charCodeAt(p.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=c[c.length-1],c.toString("utf16le",f,c.length-1)}function l(c){var f=c&&c.length?this.write(c):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return f+this.lastChar.toString("utf16le",0,p)}return f}function a(c,f){var p=(c.length-f)%3;return p===0?c.toString("base64",f):(this.lastNeed=3-p,this.lastTotal=3,p===1?this.lastChar[0]=c[c.length-1]:(this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1]),c.toString("base64",f,c.length-p))}function u(c){var f=c&&c.length?this.write(c):"";return this.lastNeed?f+this.lastChar.toString("base64",0,3-this.lastNeed):f}function o(c){return c.toString(this.encoding)}function s(c){return c&&c.length?this.write(c):""}m.s=i,i.prototype.write=function(c){if(c.length===0)return"";var f,p;if(this.lastNeed){if((f=this.fillLast(c))===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;return p=0?(C>0&&(v.lastNeed=C-1),C):--T=0?(C>0&&(v.lastNeed=C-2),C):--T=0?(C>0&&(C===2?C=0:v.lastNeed=C-3),C):0}(this,c,f);if(!this.lastNeed)return c.toString("utf8",f);this.lastTotal=p;var w=c.length-(p-this.lastNeed);return c.copy(this.lastChar,0,w),c.toString("utf8",f,w)},i.prototype.fillLast=function(c){if(this.lastNeed<=c.length)return c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,c.length),this.lastNeed-=c.length}},90715:function(k,m,t){var d=t(32791),y=t(41633)("stream-parser");function i(c){y("initializing parser stream"),c._parserBytesLeft=0,c._parserBuffers=[],c._parserBuffered=0,c._parserState=-1,c._parserCallback=null,typeof c.push=="function"&&(c._parserOutput=c.push.bind(c)),c._parserInit=!0}function M(c,f){d(!this._parserCallback,'there is already a "callback" set!'),d(isFinite(c)&&c>0,'can only buffer a finite number of bytes > 0, got "'+c+'"'),this._parserInit||i(this),y("buffering %o bytes",c),this._parserBytesLeft=c,this._parserCallback=f,this._parserState=0}function g(c,f){d(!this._parserCallback,'there is already a "callback" set!'),d(c>0,'can only skip > 0 bytes, got "'+c+'"'),this._parserInit||i(this),y("skipping %o bytes",c),this._parserBytesLeft=c,this._parserCallback=f,this._parserState=1}function h(c,f){d(!this._parserCallback,'There is already a "callback" set!'),d(c>0,'can only pass through > 0 bytes, got "'+c+'"'),this._parserInit||i(this),y("passing through %o bytes",c),this._parserBytesLeft=c,this._parserCallback=f,this._parserState=2}function l(c,f,p){this._parserInit||i(this),y("write(%o bytes)",c.length),typeof f=="function"&&(p=f),o(this,c,null,p)}function a(c,f,p){this._parserInit||i(this),y("transform(%o bytes)",c.length),typeof f!="function"&&(f=this._parserOutput),o(this,c,f,p)}function u(c,f,p,w){if(c._parserBytesLeft-=f.length,y("%o bytes left for stream piece",c._parserBytesLeft),c._parserState===0?(c._parserBuffers.push(f),c._parserBuffered+=f.length):c._parserState===2&&p(f),c._parserBytesLeft!==0)return w;var v=c._parserCallback;if(v&&c._parserState===0&&c._parserBuffers.length>1&&(f=Buffer.concat(c._parserBuffers,c._parserBuffered)),c._parserState!==0&&(f=null),c._parserCallback=null,c._parserBuffered=0,c._parserState=-1,c._parserBuffers.splice(0),v){var S=[];f&&S.push(f),p&&S.push(p);var x=v.length>S.length;x&&S.push(s(w));var T=v.apply(c,S);if(!x||w===T)return w}}k.exports=function(c){var f=c&&typeof c._transform=="function",p=c&&typeof c._write=="function";if(!f&&!p)throw new Error("must pass a Writable or Transform stream in");y("extending Parser into stream"),c._bytes=M,c._skipBytes=g,f&&(c._passthrough=h),f?c._transform=a:c._write=l};var o=s(function c(f,p,w,v){return f._parserBytesLeft<=0?v(new Error("got data but not currently parsing anything")):p.length<=f._parserBytesLeft?function(){return u(f,p,w,v)}:function(){var S=p.slice(0,f._parserBytesLeft);return u(f,S,w,function(x){return x?v(x):p.length>S.length?function(){return c(f,p.slice(S.length),w,v)}:void 0})}});function s(c){return function(){for(var f=c.apply(this,arguments);typeof f=="function";)f=f();return f}}},41633:function(k,m,t){var d=t(90386);function y(){var i;try{i=m.storage.debug}catch{}return!i&&d!==void 0&&"env"in d&&(i=d.env.DEBUG),i}(m=k.exports=t(74469)).log=function(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},m.formatArgs=function(i){var M=this.useColors;if(i[0]=(M?"%c":"")+this.namespace+(M?" %c":" ")+i[0]+(M?"%c ":" ")+"+"+m.humanize(this.diff),M){var g="color: "+this.color;i.splice(1,0,g,"color: inherit");var h=0,l=0;i[0].replace(/%[a-zA-Z%]/g,function(a){a!=="%%"&&(h++,a==="%c"&&(l=h))}),i.splice(l,0,g)}},m.save=function(i){try{i==null?m.storage.removeItem("debug"):m.storage.debug=i}catch{}},m.load=y,m.useColors=function(){return!(typeof window>"u"||!window.process||window.process.type!=="renderer")||typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},m.storage=typeof chrome<"u"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch{}}(),m.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],m.formatters.j=function(i){try{return JSON.stringify(i)}catch(M){return"[UnexpectedJSONParseError]: "+M.message}},m.enable(y())},74469:function(k,m,t){var d;function y(i){function M(){if(M.enabled){var g=M,h=+new Date,l=h-(d||h);g.diff=l,g.prev=d,g.curr=h,d=h;for(var a=new Array(arguments.length),u=0;u0)return function(a){if(!((a=String(a)).length>100)){var u=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(u){var o=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*y;case"hours":case"hour":case"hrs":case"hr":case"h":return o*d;case"minutes":case"minute":case"mins":case"min":case"m":return o*t;case"seconds":case"second":case"secs":case"sec":case"s":return o*m;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(M);if(l==="number"&&isNaN(M)===!1)return g.long?i(h=M,y,"day")||i(h,d,"hour")||i(h,t,"minute")||i(h,m,"second")||h+" ms":function(a){return a>=y?Math.round(a/y)+"d":a>=d?Math.round(a/d)+"h":a>=t?Math.round(a/t)+"m":a>=m?Math.round(a/m)+"s":a+"ms"}(M);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(M))}},99011:function(k,m,t){var d=t(88641);k.exports=function(y,i,M){if(y==null)throw Error("First argument should be a string");if(i==null)throw Error("Separator should be a string or a RegExp");M?(typeof M=="string"||Array.isArray(M))&&(M={ignore:M}):M={},M.escape==null&&(M.escape=!0),M.ignore==null?M.ignore=["[]","()","{}","<>",'""',"''","``","โ€œโ€","ยซยป"]:(typeof M.ignore=="string"&&(M.ignore=[M.ignore]),M.ignore=M.ignore.map(function(s){return s.length===1&&(s+=s),s}));var g=d.parse(y,{flat:!0,brackets:M.ignore}),h=g[0].split(i);if(M.escape){for(var l=[],a=0;a0;){w=S[S.length-1];var x=m[w];if(M[w]=0&&h[w].push(g[C])}M[w]=T}else{if(y[w]===d[w]){var _=[],A=[],L=0;for(T=v.length-1;T>=0;--T){var b=v[T];if(i[b]=!1,_.push(b),A.push(h[b]),L+=h[b].length,g[b]=o.length,b===w){v.length=T;break}}o.push(_);var P=new Array(L);for(T=0;T1&&(u=1),u<-1&&(u=-1),(g*a-h*l<0?-1:1)*Math.acos(u)};m.default=function(g){var h=g.px,l=g.py,a=g.cx,u=g.cy,o=g.rx,s=g.ry,c=g.xAxisRotation,f=c===void 0?0:c,p=g.largeArcFlag,w=p===void 0?0:p,v=g.sweepFlag,S=v===void 0?0:v,x=[];if(o===0||s===0)return[];var T=Math.sin(f*d/360),C=Math.cos(f*d/360),_=C*(h-a)/2+T*(l-u)/2,A=-T*(h-a)/2+C*(l-u)/2;if(_===0&&A===0)return[];o=Math.abs(o),s=Math.abs(s);var L=Math.pow(_,2)/Math.pow(o,2)+Math.pow(A,2)/Math.pow(s,2);L>1&&(o*=Math.sqrt(L),s*=Math.sqrt(L));var b=function(j,Y,U,G,q,H,ne,te,Z,X,Q,re){var ie=Math.pow(q,2),oe=Math.pow(H,2),ue=Math.pow(Q,2),ce=Math.pow(re,2),ye=ie*oe-ie*ce-oe*ue;ye<0&&(ye=0),ye/=ie*ce+oe*ue;var de=(ye=Math.sqrt(ye)*(ne===te?-1:1))*q/H*re,me=ye*-H/q*Q,pe=X*de-Z*me+(j+U)/2,xe=Z*de+X*me+(Y+G)/2,Oe=(Q-de)/q,_e=(re-me)/H,Me=(-Q-de)/q,Se=(-re-me)/H,Ce=M(1,0,Oe,_e),ae=M(Oe,_e,Me,Se);return te===0&&ae>0&&(ae-=d),te===1&&ae<0&&(ae+=d),[pe,xe,Ce,ae]}(h,l,a,u,o,s,w,S,T,C,_,A),P=function(j,Y){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(U,G){var q=[],H=!0,ne=!1,te=void 0;try{for(var Z,X=U[Symbol.iterator]();!(H=(Z=X.next()).done)&&(q.push(Z.value),!G||q.length!==G);H=!0);}catch(Q){ne=!0,te=Q}finally{try{!H&&X.return&&X.return()}finally{if(ne)throw te}}return q}(j,Y);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(b,4),I=P[0],R=P[1],D=P[2],F=P[3],B=Math.abs(F)/(d/4);Math.abs(1-B)<1e-7&&(B=1);var N=Math.max(Math.ceil(B),1);F/=N;for(var W=0;Wl[2]&&(l[2]=o[s+0]),o[s+1]>l[3]&&(l[3]=o[s+1]);return l}},29988:function(k,m,t){k.exports=function(M){for(var g,h=[],l=0,a=0,u=0,o=0,s=null,c=null,f=0,p=0,w=0,v=M.length;w4?(l=S[S.length-4],a=S[S.length-3]):(l=f,a=p),h.push(S)}return h};var d=t(7095);function y(M,g,h,l){return["C",M,g,h,l,h,l]}function i(M,g,h,l,a,u){return["C",M/3+.6666666666666666*h,g/3+.6666666666666666*l,a/3+.6666666666666666*h,u/3+.6666666666666666*l,a,u]}},82019:function(k,m,t){var d,y=t(1750),i=t(95616),M=t(31457),g=t(89546),h=t(44781),l=document.createElement("canvas"),a=l.getContext("2d");k.exports=function(u,o){if(!g(u))throw Error("Argument should be valid svg path string");var s,c;o||(o={}),o.shape?(s=o.shape[0],c=o.shape[1]):(s=l.width=o.w||o.width||200,c=l.height=o.h||o.height||200);var f=Math.min(s,c),p=o.stroke||0,w=o.viewbox||o.viewBox||y(u),v=[s/(w[2]-w[0]),c/(w[3]-w[1])],S=Math.min(v[0]||0,v[1]||0)/2;if(a.fillStyle="black",a.fillRect(0,0,s,c),a.fillStyle="white",p&&(typeof p!="number"&&(p=1),a.strokeStyle=p>0?"white":"black",a.lineWidth=Math.abs(p)),a.translate(.5*s,.5*c),a.scale(S,S),function(){if(d!=null)return d;var C=document.createElement("canvas").getContext("2d");if(C.canvas.width=C.canvas.height=1,!window.Path2D)return d=!1;var _=new Path2D("M0,0h1v1h-1v-1Z");C.fillStyle="black",C.fill(_);var A=C.getImageData(0,0,1,1);return d=A&&A.data&&A.data[3]===255}()){var x=new Path2D(u);a.fill(x),p&&a.stroke(x)}else{var T=i(u);M(a,T),a.fill(),p&&a.stroke()}return a.setTransform(1,0,0,1,0,0),h(a,{cutoff:o.cutoff!=null?o.cutoff:.5,radius:o.radius!=null?o.radius:.5*f})}},84267:function(k,m,t){var d;(function(y){var i=/^\s+/,M=/\s+$/,g=0,h=y.round,l=y.min,a=y.max,u=y.random;function o(Q,re){if(re=re||{},(Q=Q||"")instanceof o)return Q;if(!(this instanceof o))return new o(Q,re);var ie=function(oe){var ue,ce,ye,de={r:0,g:0,b:0},me=1,pe=null,xe=null,Oe=null,_e=!1,Me=!1;return typeof oe=="string"&&(oe=function(Se){Se=Se.replace(i,"").replace(M,"").toLowerCase();var Ce,ae=!1;if(D[Se])Se=D[Se],ae=!0;else if(Se=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(Ce=Z.rgb.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3]}:(Ce=Z.rgba.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3],a:Ce[4]}:(Ce=Z.hsl.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3]}:(Ce=Z.hsla.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3],a:Ce[4]}:(Ce=Z.hsv.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3]}:(Ce=Z.hsva.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3],a:Ce[4]}:(Ce=Z.hex8.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),a:q(Ce[4]),format:ae?"name":"hex8"}:(Ce=Z.hex6.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),format:ae?"name":"hex"}:(Ce=Z.hex4.exec(Se))?{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),a:q(Ce[4]+""+Ce[4]),format:ae?"name":"hex8"}:!!(Ce=Z.hex3.exec(Se))&&{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),format:ae?"name":"hex"}}(oe)),typeof oe=="object"&&(X(oe.r)&&X(oe.g)&&X(oe.b)?(ue=oe.r,ce=oe.g,ye=oe.b,de={r:255*N(ue,255),g:255*N(ce,255),b:255*N(ye,255)},_e=!0,Me=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):X(oe.h)&&X(oe.s)&&X(oe.v)?(pe=U(oe.s),xe=U(oe.v),de=function(Se,Ce,ae){Se=6*N(Se,360),Ce=N(Ce,100),ae=N(ae,100);var he=y.floor(Se),be=Se-he,ke=ae*(1-Ce),Le=ae*(1-be*Ce),Be=ae*(1-(1-be)*Ce),ze=he%6;return{r:255*[ae,Le,ke,ke,Be,ae][ze],g:255*[Be,ae,ae,Le,ke,ke][ze],b:255*[ke,ke,Be,ae,ae,Le][ze]}}(oe.h,pe,xe),_e=!0,Me="hsv"):X(oe.h)&&X(oe.s)&&X(oe.l)&&(pe=U(oe.s),Oe=U(oe.l),de=function(Se,Ce,ae){var he,be,ke;function Le(je,ge,we){return we<0&&(we+=1),we>1&&(we-=1),we<1/6?je+6*(ge-je)*we:we<.5?ge:we<2/3?je+(ge-je)*(2/3-we)*6:je}if(Se=N(Se,360),Ce=N(Ce,100),ae=N(ae,100),Ce===0)he=be=ke=ae;else{var Be=ae<.5?ae*(1+Ce):ae+Ce-ae*Ce,ze=2*ae-Be;he=Le(ze,Be,Se+1/3),be=Le(ze,Be,Se),ke=Le(ze,Be,Se-1/3)}return{r:255*he,g:255*be,b:255*ke}}(oe.h,pe,Oe),_e=!0,Me="hsl"),oe.hasOwnProperty("a")&&(me=oe.a)),me=B(me),{ok:_e,format:oe.format||Me,r:l(255,a(de.r,0)),g:l(255,a(de.g,0)),b:l(255,a(de.b,0)),a:me}}(Q);this._originalInput=Q,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=h(100*this._a)/100,this._format=re.format||ie.format,this._gradientType=re.gradientType,this._r<1&&(this._r=h(this._r)),this._g<1&&(this._g=h(this._g)),this._b<1&&(this._b=h(this._b)),this._ok=ie.ok,this._tc_id=g++}function s(Q,re,ie){Q=N(Q,255),re=N(re,255),ie=N(ie,255);var oe,ue,ce=a(Q,re,ie),ye=l(Q,re,ie),de=(ce+ye)/2;if(ce==ye)oe=ue=0;else{var me=ce-ye;switch(ue=de>.5?me/(2-ce-ye):me/(ce+ye),ce){case Q:oe=(re-ie)/me+(re>1)+720)%360;--re;)oe.h=(oe.h+ue)%360,ce.push(o(oe));return ce}function R(Q,re){re=re||6;for(var ie=o(Q).toHsv(),oe=ie.h,ue=ie.s,ce=ie.v,ye=[],de=1/re;re--;)ye.push(o({h:oe,s:ue,v:ce})),ce=(ce+de)%1;return ye}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Q=this.toRgb();return(299*Q.r+587*Q.g+114*Q.b)/1e3},getLuminance:function(){var Q,re,ie,oe=this.toRgb();return Q=oe.r/255,re=oe.g/255,ie=oe.b/255,.2126*(Q<=.03928?Q/12.92:y.pow((Q+.055)/1.055,2.4))+.7152*(re<=.03928?re/12.92:y.pow((re+.055)/1.055,2.4))+.0722*(ie<=.03928?ie/12.92:y.pow((ie+.055)/1.055,2.4))},setAlpha:function(Q){return this._a=B(Q),this._roundA=h(100*this._a)/100,this},toHsv:function(){var Q=c(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,v:Q.v,a:this._a}},toHsvString:function(){var Q=c(this._r,this._g,this._b),re=h(360*Q.h),ie=h(100*Q.s),oe=h(100*Q.v);return this._a==1?"hsv("+re+", "+ie+"%, "+oe+"%)":"hsva("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHsl:function(){var Q=s(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,l:Q.l,a:this._a}},toHslString:function(){var Q=s(this._r,this._g,this._b),re=h(360*Q.h),ie=h(100*Q.s),oe=h(100*Q.l);return this._a==1?"hsl("+re+", "+ie+"%, "+oe+"%)":"hsla("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHex:function(Q){return f(this._r,this._g,this._b,Q)},toHexString:function(Q){return"#"+this.toHex(Q)},toHex8:function(Q){return function(re,ie,oe,ue,ce){var ye=[Y(h(re).toString(16)),Y(h(ie).toString(16)),Y(h(oe).toString(16)),Y(G(ue))];return ce&&ye[0].charAt(0)==ye[0].charAt(1)&&ye[1].charAt(0)==ye[1].charAt(1)&&ye[2].charAt(0)==ye[2].charAt(1)&&ye[3].charAt(0)==ye[3].charAt(1)?ye[0].charAt(0)+ye[1].charAt(0)+ye[2].charAt(0)+ye[3].charAt(0):ye.join("")}(this._r,this._g,this._b,this._a,Q)},toHex8String:function(Q){return"#"+this.toHex8(Q)},toRgb:function(){return{r:h(this._r),g:h(this._g),b:h(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+h(this._r)+", "+h(this._g)+", "+h(this._b)+")":"rgba("+h(this._r)+", "+h(this._g)+", "+h(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:h(100*N(this._r,255))+"%",g:h(100*N(this._g,255))+"%",b:h(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+h(100*N(this._r,255))+"%, "+h(100*N(this._g,255))+"%, "+h(100*N(this._b,255))+"%)":"rgba("+h(100*N(this._r,255))+"%, "+h(100*N(this._g,255))+"%, "+h(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(F[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(Q){var re="#"+p(this._r,this._g,this._b,this._a),ie=re,oe=this._gradientType?"GradientType = 1, ":"";if(Q){var ue=o(Q);ie="#"+p(ue._r,ue._g,ue._b,ue._a)}return"progid:DXImageTransform.Microsoft.gradient("+oe+"startColorstr="+re+",endColorstr="+ie+")"},toString:function(Q){var re=!!Q;Q=Q||this._format;var ie=!1,oe=this._a<1&&this._a>=0;return re||!oe||Q!=="hex"&&Q!=="hex6"&&Q!=="hex3"&&Q!=="hex4"&&Q!=="hex8"&&Q!=="name"?(Q==="rgb"&&(ie=this.toRgbString()),Q==="prgb"&&(ie=this.toPercentageRgbString()),Q!=="hex"&&Q!=="hex6"||(ie=this.toHexString()),Q==="hex3"&&(ie=this.toHexString(!0)),Q==="hex4"&&(ie=this.toHex8String(!0)),Q==="hex8"&&(ie=this.toHex8String()),Q==="name"&&(ie=this.toName()),Q==="hsl"&&(ie=this.toHslString()),Q==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString()):Q==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return o(this.toString())},_applyModification:function(Q,re){var ie=Q.apply(null,[this].concat([].slice.call(re)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(T,arguments)},darken:function(){return this._applyModification(C,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(Q,re){return Q.apply(null,[this].concat([].slice.call(re)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(R,arguments)},splitcomplement:function(){return this._applyCombination(P,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},o.fromRatio=function(Q,re){if(typeof Q=="object"){var ie={};for(var oe in Q)Q.hasOwnProperty(oe)&&(ie[oe]=oe==="a"?Q[oe]:U(Q[oe]));Q=ie}return o(Q,re)},o.equals=function(Q,re){return!(!Q||!re)&&o(Q).toRgbString()==o(re).toRgbString()},o.random=function(){return o.fromRatio({r:u(),g:u(),b:u()})},o.mix=function(Q,re,ie){ie=ie===0?0:ie||50;var oe=o(Q).toRgb(),ue=o(re).toRgb(),ce=ie/100;return o({r:(ue.r-oe.r)*ce+oe.r,g:(ue.g-oe.g)*ce+oe.g,b:(ue.b-oe.b)*ce+oe.b,a:(ue.a-oe.a)*ce+oe.a})},o.readability=function(Q,re){var ie=o(Q),oe=o(re);return(y.max(ie.getLuminance(),oe.getLuminance())+.05)/(y.min(ie.getLuminance(),oe.getLuminance())+.05)},o.isReadable=function(Q,re,ie){var oe,ue,ce,ye,de,me=o.readability(Q,re);switch(ue=!1,(ce=ie,(ye=((ce=ce||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&ye!=="AAA"&&(ye="AA"),(de=(ce.size||"small").toLowerCase())!=="small"&&de!=="large"&&(de="small"),oe={level:ye,size:de}).level+oe.size){case"AAsmall":case"AAAlarge":ue=me>=4.5;break;case"AAlarge":ue=me>=3;break;case"AAAsmall":ue=me>=7}return ue},o.mostReadable=function(Q,re,ie){var oe,ue,ce,ye,de=null,me=0;ue=(ie=ie||{}).includeFallbackColors,ce=ie.level,ye=ie.size;for(var pe=0;peme&&(me=oe,de=o(re[pe]));return o.isReadable(Q,de,{level:ce,size:ye})||!ue?de:(ie.includeFallbackColors=!1,o.mostReadable(Q,["#fff","#000"],ie))};var D=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=o.hexNames=function(Q){var re={};for(var ie in Q)Q.hasOwnProperty(ie)&&(re[Q[ie]]=ie);return re}(D);function B(Q){return Q=parseFloat(Q),(isNaN(Q)||Q<0||Q>1)&&(Q=1),Q}function N(Q,re){(function(oe){return typeof oe=="string"&&oe.indexOf(".")!=-1&&parseFloat(oe)===1})(Q)&&(Q="100%");var ie=function(oe){return typeof oe=="string"&&oe.indexOf("%")!=-1}(Q);return Q=l(re,a(0,parseFloat(Q))),ie&&(Q=parseInt(Q*re,10)/100),y.abs(Q-re)<1e-6?1:Q%re/parseFloat(re)}function W(Q){return l(1,a(0,Q))}function j(Q){return parseInt(Q,16)}function Y(Q){return Q.length==1?"0"+Q:""+Q}function U(Q){return Q<=1&&(Q=100*Q+"%"),Q}function G(Q){return y.round(255*parseFloat(Q)).toString(16)}function q(Q){return j(Q)/255}var H,ne,te,Z=(ne="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",te="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+ne),rgba:new RegExp("rgba"+te),hsl:new RegExp("hsl"+ne),hsla:new RegExp("hsla"+te),hsv:new RegExp("hsv"+ne),hsva:new RegExp("hsva"+te),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function X(Q){return!!Z.CSS_UNIT.exec(Q)}k.exports?k.exports=o:(d=(function(){return o}).call(m,t,m,k))===void 0||(k.exports=d)})(Math)},57060:function(k){k.exports=t,k.exports.float32=k.exports.float=t,k.exports.fract32=k.exports.fract=function(d,y){if(d.length){if(d instanceof Float32Array)return new Float32Array(d.length);y instanceof Float32Array||(y=t(d));for(var i=0,M=y.length;i":(M.length>100&&(M=M.slice(0,99)+"โ€ฆ"),M=M.replace(y,function(g){switch(g){case` +`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}))}},47403:function(k,m,t){var d=t(24582),y={object:!0,function:!0,undefined:!0};k.exports=function(i){return!!d(i)&&hasOwnProperty.call(y,typeof i)}},82527:function(k,m,t){var d=t(69190),y=t(84985);k.exports=function(i){return y(i)?i:d(i,"%v is not a plain function",arguments[1])}},84985:function(k,m,t){var d=t(73116),y=/^\s*class[\s{/}]/,i=Function.prototype.toString;k.exports=function(M){return!!d(M)&&!y.test(i.call(M))}},24511:function(k,m,t){var d=t(47403);k.exports=function(y){if(!d(y))return!1;try{return!!y.constructor&&y.constructor.prototype===y}catch{return!1}}},9234:function(k,m,t){var d=t(24582),y=t(47403),i=Object.prototype.toString;k.exports=function(M){if(!d(M))return null;if(y(M)){var g=M.toString;if(typeof g!="function"||g===i)return null}try{return""+M}catch{return null}}},10424:function(k,m,t){var d=t(69190),y=t(24582);k.exports=function(i){return y(i)?i:d(i,"Cannot use %v",arguments[1])}},24582:function(k){k.exports=function(m){return m!=null}},58404:function(k,m,t){var d=t(13547),y=t(12129),i=t(12856).Buffer;t.g.__TYPEDARRAY_POOL||(t.g.__TYPEDARRAY_POOL={UINT8:y([32,0]),UINT16:y([32,0]),UINT32:y([32,0]),BIGUINT64:y([32,0]),INT8:y([32,0]),INT16:y([32,0]),INT32:y([32,0]),BIGINT64:y([32,0]),FLOAT:y([32,0]),DOUBLE:y([32,0]),DATA:y([32,0]),UINT8C:y([32,0]),BUFFER:y([32,0])});var M=typeof Uint8ClampedArray<"u",g=typeof BigUint64Array<"u",h=typeof BigInt64Array<"u",l=t.g.__TYPEDARRAY_POOL;l.UINT8C||(l.UINT8C=y([32,0])),l.BIGUINT64||(l.BIGUINT64=y([32,0])),l.BIGINT64||(l.BIGINT64=y([32,0])),l.BUFFER||(l.BUFFER=y([32,0]));var a=l.DATA,u=l.BUFFER;function o(P){if(P){var I=P.length||P.byteLength,R=d.log2(I);a[R].push(P)}}function s(P){P=d.nextPow2(P);var I=d.log2(P),R=a[I];return R.length>0?R.pop():new ArrayBuffer(P)}function c(P){return new Uint8Array(s(P),0,P)}function f(P){return new Uint16Array(s(2*P),0,P)}function p(P){return new Uint32Array(s(4*P),0,P)}function w(P){return new Int8Array(s(P),0,P)}function v(P){return new Int16Array(s(2*P),0,P)}function S(P){return new Int32Array(s(4*P),0,P)}function x(P){return new Float32Array(s(4*P),0,P)}function T(P){return new Float64Array(s(8*P),0,P)}function C(P){return M?new Uint8ClampedArray(s(P),0,P):c(P)}function _(P){return g?new BigUint64Array(s(8*P),0,P):null}function A(P){return h?new BigInt64Array(s(8*P),0,P):null}function L(P){return new DataView(s(P),0,P)}function b(P){P=d.nextPow2(P);var I=d.log2(P),R=u[I];return R.length>0?R.pop():new i(P)}m.free=function(P){if(i.isBuffer(P))u[d.log2(P.length)].push(P);else{if(Object.prototype.toString.call(P)!=="[object ArrayBuffer]"&&(P=P.buffer),!P)return;var I=P.length||P.byteLength,R=0|d.log2(I);a[R].push(P)}},m.freeUint8=m.freeUint16=m.freeUint32=m.freeBigUint64=m.freeInt8=m.freeInt16=m.freeInt32=m.freeBigInt64=m.freeFloat32=m.freeFloat=m.freeFloat64=m.freeDouble=m.freeUint8Clamped=m.freeDataView=function(P){o(P.buffer)},m.freeArrayBuffer=o,m.freeBuffer=function(P){u[d.log2(P.length)].push(P)},m.malloc=function(P,I){if(I===void 0||I==="arraybuffer")return s(P);switch(I){case"uint8":return c(P);case"uint16":return f(P);case"uint32":return p(P);case"int8":return w(P);case"int16":return v(P);case"int32":return S(P);case"float":case"float32":return x(P);case"double":case"float64":return T(P);case"uint8_clamped":return C(P);case"bigint64":return A(P);case"biguint64":return _(P);case"buffer":return b(P);case"data":case"dataview":return L(P);default:return null}return null},m.mallocArrayBuffer=s,m.mallocUint8=c,m.mallocUint16=f,m.mallocUint32=p,m.mallocInt8=w,m.mallocInt16=v,m.mallocInt32=S,m.mallocFloat32=m.mallocFloat=x,m.mallocFloat64=m.mallocDouble=T,m.mallocUint8Clamped=C,m.mallocBigUint64=_,m.mallocBigInt64=A,m.mallocDataView=L,m.mallocBuffer=b,m.clearCache=function(){for(var P=0;P<32;++P)l.UINT8[P].length=0,l.UINT16[P].length=0,l.UINT32[P].length=0,l.INT8[P].length=0,l.INT16[P].length=0,l.INT32[P].length=0,l.FLOAT[P].length=0,l.DOUBLE[P].length=0,l.BIGUINT64[P].length=0,l.BIGINT64[P].length=0,l.UINT8C[P].length=0,a[P].length=0,u[P].length=0}},90448:function(k){var m=/[\'\"]/;k.exports=function(t){return t?(m.test(t.charAt(0))&&(t=t.substr(1)),m.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},93447:function(k){k.exports=function(m,t,d){Array.isArray(d)||(d=[].slice.call(arguments,2));for(var y=0,i=d.length;y=U)return H;switch(H){case"%s":return String(Y[j++]);case"%d":return Number(Y[j++]);case"%j":try{return JSON.stringify(Y[j++])}catch{return"[Circular]"}default:return H}}),q=Y[j];j=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),p(W)?j.showHidden=W:W&&m._extend(j,W),x(j.showHidden)&&(j.showHidden=!1),x(j.depth)&&(j.depth=2),x(j.colors)&&(j.colors=!1),x(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=a),o(j,N,j.depth)}function a(N,W){var j=l.styles[W];return j?"\x1B["+l.colors[j][0]+"m"+N+"\x1B["+l.colors[j][1]+"m":N}function u(N,W){return N}function o(N,W,j){if(N.customInspect&&W&&L(W.inspect)&&W.inspect!==m.inspect&&(!W.constructor||W.constructor.prototype!==W)){var Y=W.inspect(j,N);return S(Y)||(Y=o(N,Y,j)),Y}var U=function(Q,re){if(x(re))return Q.stylize("undefined","undefined");if(S(re)){var ie="'"+JSON.stringify(re).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ie,"string")}return v(re)?Q.stylize(""+re,"number"):p(re)?Q.stylize(""+re,"boolean"):w(re)?Q.stylize("null","null"):void 0}(N,W);if(U)return U;var G=Object.keys(W),q=function(Q){var re={};return Q.forEach(function(ie,oe){re[ie]=!0}),re}(G);if(N.showHidden&&(G=Object.getOwnPropertyNames(W)),A(W)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return s(W);if(G.length===0){if(L(W)){var H=W.name?": "+W.name:"";return N.stylize("[Function"+H+"]","special")}if(T(W))return N.stylize(RegExp.prototype.toString.call(W),"regexp");if(_(W))return N.stylize(Date.prototype.toString.call(W),"date");if(A(W))return s(W)}var ne,te="",Z=!1,X=["{","}"];return f(W)&&(Z=!0,X=["[","]"]),L(W)&&(te=" [Function"+(W.name?": "+W.name:"")+"]"),T(W)&&(te=" "+RegExp.prototype.toString.call(W)),_(W)&&(te=" "+Date.prototype.toUTCString.call(W)),A(W)&&(te=" "+s(W)),G.length!==0||Z&&W.length!=0?j<0?T(W)?N.stylize(RegExp.prototype.toString.call(W),"regexp"):N.stylize("[Object]","special"):(N.seen.push(W),ne=Z?function(Q,re,ie,oe,ue){for(var ce=[],ye=0,de=re.length;ye60?ie[0]+(re===""?"":re+` `)+" "+Q.join(`, - `)+" "+ie[1]:ie[0]+re+" "+Q.join(", ")+" "+ie[1]}(ne,te,X)):X[0]+te+X[1]}function s(N){return"["+Error.prototype.toString.call(N)+"]"}function f(N,q,j,$,U,G){var W,H,ne;if((ne=Object.getOwnPropertyDescriptor(q,U)||{value:q[U]}).get?H=ne.set?N.stylize("[Getter/Setter]","special"):N.stylize("[Getter]","special"):ne.set&&(H=N.stylize("[Setter]","special")),D($,U)||(W="["+U+"]"),H||(N.seen.indexOf(ne.value)<0?(H=w(j)?o(N,ne.value,null):o(N,ne.value,j-1)).indexOf(` + `)+" "+ie[1]:ie[0]+re+" "+Q.join(", ")+" "+ie[1]}(ne,te,X)):X[0]+te+X[1]}function s(N){return"["+Error.prototype.toString.call(N)+"]"}function c(N,W,j,Y,U,G){var q,H,ne;if((ne=Object.getOwnPropertyDescriptor(W,U)||{value:W[U]}).get?H=ne.set?N.stylize("[Getter/Setter]","special"):N.stylize("[Getter]","special"):ne.set&&(H=N.stylize("[Setter]","special")),D(Y,U)||(q="["+U+"]"),H||(N.seen.indexOf(ne.value)<0?(H=w(j)?o(N,ne.value,null):o(N,ne.value,j-1)).indexOf(` `)>-1&&(H=G?H.split(` `).map(function(te){return" "+te}).join(` `).slice(2):` `+H.split(` `).map(function(te){return" "+te}).join(` -`)):H=N.stylize("[Circular]","special")),x(W)){if(G&&U.match(/^\d+$/))return H;(W=JSON.stringify(""+U)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(W=W.slice(1,-1),W=N.stylize(W,"name")):(W=W.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),W=N.stylize(W,"string"))}return W+": "+H}function c(N){return Array.isArray(N)}function p(N){return typeof N=="boolean"}function w(N){return N===null}function v(N){return typeof N=="number"}function S(N){return typeof N=="string"}function x(N){return N===void 0}function T(N){return C(N)&&b(N)==="[object RegExp]"}function C(N){return typeof N=="object"&&N!==null}function _(N){return C(N)&&b(N)==="[object Date]"}function A(N){return C(N)&&(b(N)==="[object Error]"||N instanceof Error)}function L(N){return typeof N=="function"}function b(N){return Object.prototype.toString.call(N)}function O(N){return N<10?"0"+N.toString(10):N.toString(10)}m.debuglog=function(N){if(N=N.toUpperCase(),!M[N])if(g.test(N)){var q=d.pid;M[N]=function(){var j=m.format.apply(m,arguments);console.error("%s %d: %s",N,q,j)}}else M[N]=function(){};return M[N]},m.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},m.types=t(4936),m.isArray=c,m.isBoolean=p,m.isNull=w,m.isNullOrUndefined=function(N){return N==null},m.isNumber=v,m.isString=S,m.isSymbol=function(N){return typeof N=="symbol"},m.isUndefined=x,m.isRegExp=T,m.types.isRegExp=T,m.isObject=C,m.isDate=_,m.types.isDate=_,m.isError=A,m.types.isNativeError=A,m.isFunction=L,m.isPrimitive=function(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||N===void 0},m.isBuffer=t(45920);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(){var N=new Date,q=[O(N.getHours()),O(N.getMinutes()),O(N.getSeconds())].join(":");return[N.getDate(),I[N.getMonth()],q].join(" ")}function D(N,q){return Object.prototype.hasOwnProperty.call(N,q)}m.log=function(){console.log("%s - %s",R(),m.format.apply(m,arguments))},m.inherits=t(42018),m._extend=function(N,q){if(!q||!C(q))return N;for(var j=Object.keys(q),$=j.length;$--;)N[j[$]]=q[j[$]];return N};var F=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(N,q){if(!N){var j=new Error("Promise was rejected with a falsy value");j.reason=N,N=j}return q(N)}m.promisify=function(N){if(typeof N!="function")throw new TypeError('The "original" argument must be of type Function');if(F&&N[F]){var q;if(typeof(q=N[F])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(q,F,{value:q,enumerable:!1,writable:!1,configurable:!0}),q}function q(){for(var j,$,U=new Promise(function(H,ne){j=H,$=ne}),G=[],W=0;W"u"?t.g:globalThis,a=y(),u=i("String.prototype.slice"),o={},s=Object.getPrototypeOf;h&&M&&s&&d(a,function(c){if(typeof l[c]=="function"){var p=new l[c];if(Symbol.toStringTag in p){var w=s(p),v=M(w,Symbol.toStringTag);if(!v){var S=s(w);v=M(S,Symbol.toStringTag)}o[c]=v.get}}});var f=t(9187);k.exports=function(c){return!!f(c)&&(h&&Symbol.toStringTag in c?function(p){var w=!1;return d(o,function(v,S){if(!w)try{var x=v.call(p);x===S&&(w=x)}catch{}}),w}(c):u(g(c),8,-1))}},3961:function(k,m,t){var d=t(63489),y=t(56131),i=d.instance();function M(s){this.local=this.regionalOptions[s||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,y(M.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(s,f){if(typeof s=="string"){var c=s.match(h);return c?c[0]:""}var p=this._validateYear(s),w=s.month(),v=""+this.toChineseMonth(p,w);return f&&v.length<2&&(v="0"+v),this.isIntercalaryMonth(p,w)&&(v+="i"),v},monthNames:function(s){if(typeof s=="string"){var f=s.match(l);return f?f[0]:""}var c=this._validateYear(s),p=s.month(),w=["ไธ€ๆœˆ","ไบŒๆœˆ","ไธ‰ๆœˆ","ๅ››ๆœˆ","ไบ”ๆœˆ","ๅ…ญๆœˆ","ไธƒๆœˆ","ๅ…ซๆœˆ","ไนๆœˆ","ๅๆœˆ","ๅไธ€ๆœˆ","ๅไบŒๆœˆ"][this.toChineseMonth(c,p)-1];return this.isIntercalaryMonth(c,p)&&(w="้—ฐ"+w),w},monthNamesShort:function(s){if(typeof s=="string"){var f=s.match(a);return f?f[0]:""}var c=this._validateYear(s),p=s.month(),w=["ไธ€","ไบŒ","ไธ‰","ๅ››","ไบ”","ๅ…ญ","ไธƒ","ๅ…ซ","ไน","ๅ","ๅไธ€","ๅไบŒ"][this.toChineseMonth(c,p)-1];return this.isIntercalaryMonth(c,p)&&(w="้—ฐ"+w),w},parseMonth:function(s,f){s=this._validateYear(s);var c,p=parseInt(f);if(isNaN(p))f[0]==="้—ฐ"&&(c=!0,f=f.substring(1)),f[f.length-1]==="ๆœˆ"&&(f=f.substring(0,f.length-1)),p=1+["ไธ€","ไบŒ","ไธ‰","ๅ››","ไบ”","ๅ…ญ","ไธƒ","ๅ…ซ","ไน","ๅ","ๅไธ€","ๅไบŒ"].indexOf(f);else{var w=f[f.length-1];c=w==="i"||w==="I"}return this.toMonthIndex(s,p,c)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(s,f){if(s.year&&(s=s.year()),typeof s!="number"||s<1888||s>2111)throw f.replace(/\{0\}/,this.local.name);return s},toMonthIndex:function(s,f,c){var p=this.intercalaryMonth(s);if(c&&f!==p||f<1||f>12)throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return p?!c&&f<=p?f-1:f:f-1},toChineseMonth:function(s,f){s.year&&(f=(s=s.year()).month());var c=this.intercalaryMonth(s);if(f<0||f>(c?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return c?f>13},isIntercalaryMonth:function(s,f){s.year&&(f=(s=s.year()).month());var c=this.intercalaryMonth(s);return!!c&&c===f},leapYear:function(s){return this.intercalaryMonth(s)!==0},weekOfYear:function(s,f,c){var p,w=this._validateYear(s,d.local.invalidyear),v=o[w-o[0]],S=v>>9&4095,x=v>>5&15,T=31&v;(p=i.newDate(S,x,T)).add(4-(p.dayOfWeek()||7),"d");var C=this.toJD(s,f,c)-p.toJD();return 1+Math.floor(C/7)},monthsInYear:function(s){return this.leapYear(s)?13:12},daysInMonth:function(s,f){s.year&&(f=s.month(),s=s.year()),s=this._validateYear(s);var c=u[s-u[0]];if(f>(c>>13?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return c&1<<12-f?30:29},weekDay:function(s,f,c){return(this.dayOfWeek(s,f,c)||7)<6},toJD:function(s,f,c){var p=this._validate(s,v,c,d.local.invalidDate);s=this._validateYear(p.year()),f=p.month(),c=p.day();var w=this.isIntercalaryMonth(s,f),v=this.toChineseMonth(s,f),S=function(x,T,C,_,A){var L,b,O;if(typeof x=="object")b=x,L=T||{};else{var I;if(!(typeof x=="number"&&x>=1888&&x<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof T=="number"&&T>=1&&T<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof C=="number"&&C>=1&&C<=30))throw new Error("Lunar day outside range 1 - 30");typeof _=="object"?(I=!1,L=_):(I=!!_,L={}),b={year:x,month:T,day:C,isIntercalary:I}}O=b.day-1;var R,D=u[b.year-u[0]],F=D>>13;R=F&&(b.month>F||b.isIntercalary)?b.month:b.month-1;for(var B=0;B>9&4095,(N>>5&15)-1,(31&N)+O);return L.year=q.getFullYear(),L.month=1+q.getMonth(),L.day=q.getDate(),L}(s,v,c,w);return i.toJD(S.year,S.month,S.day)},fromJD:function(s){var f=i.fromJD(s),c=function(w,v,S,x){var T,C;if(typeof w=="object")T=w,C=v||{};else{if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof v=="number"&&v>=1&&v<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof S=="number"&&S>=1&&S<=31))throw new Error("Solar day outside range 1 - 31");T={year:w,month:v,day:S},C={}}var _=o[T.year-o[0]],A=T.year<<9|T.month<<5|T.day;C.year=A>=_?T.year:T.year-1,_=o[C.year-o[0]];var L,b=new Date(_>>9&4095,(_>>5&15)-1,31&_),O=new Date(T.year,T.month-1,T.day);L=Math.round((O-b)/864e5);var I,R=u[C.year-u[0]];for(I=0;I<13;I++){var D=R&1<<12-I?30:29;if(L>13;return!F||I=2&&a<=6},extraInfo:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);return{century:M[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);return g=a.year()+(a.year()<0?1:0),h=a.month(),(l=a.day())+(h>1?16:0)+(h>2?32*(h-2):0)+400*(g-1)+this.jdEpoch-1},fromJD:function(g){g=Math.floor(g+.5)-Math.floor(this.jdEpoch)-1;var h=Math.floor(g/400)+1;g-=400*(h-1),g+=g>15?16:0;var l=Math.floor(g/32)+1,a=g-32*(l-1)+1;return this.newDate(h<=0?h-1:h,l,a)}});var M={20:"Fruitbat",21:"Anchovy"};d.calendars.discworld=i},37715:function(k,m,t){var d=t(63489),y=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var g=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=g.year()+(g.year()<0?1:0))%4==3||M%4==-1},monthsInYear:function(M){return this._validate(M,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear),13},weekOfYear:function(M,g,h){var l=this.newDate(M,g,h);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,g){var h=this._validate(M,g,this.minDay,d.local.invalidMonth);return this.daysPerMonth[h.month()-1]+(h.month()===13&&this.leapYear(h.year())?1:0)},weekDay:function(M,g,h){return(this.dayOfWeek(M,g,h)||7)<6},toJD:function(M,g,h){var l=this._validate(M,g,h,d.local.invalidDate);return(M=l.year())<0&&M++,l.day()+30*(l.month()-1)+365*(M-1)+Math.floor(M/4)+this.jdEpoch-1},fromJD:function(M){var g=Math.floor(M)+.5-this.jdEpoch,h=Math.floor((g-Math.floor((g+366)/1461))/365)+1;h<=0&&h--,g=Math.floor(M)+.5-this.newDate(h,1,1).toJD();var l=Math.floor(g/30)+1,a=g-30*(l-1)+1;return this.newDate(h,l,a)}}),d.calendars.ethiopian=i},99384:function(k,m,t){var d=t(63489),y=t(56131);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}function M(g,h){return g-h*Math.floor(g/h)}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(g){var h=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return this._leapYear(h.year())},_leapYear:function(g){return M(7*(g=g<0?g+1:g)+1,19)<7},monthsInYear:function(g){return this._validate(g,this.minMonth,this.minDay,d.local.invalidYear),this._leapYear(g.year?g.year():g)?13:12},weekOfYear:function(g,h,l){var a=this.newDate(g,h,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(g){return g=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear).year(),this.toJD(g===-1?1:g+1,7,1)-this.toJD(g,7,1)},daysInMonth:function(g,h){return g.year&&(h=g.month(),g=g.year()),this._validate(g,h,this.minDay,d.local.invalidMonth),h===12&&this.leapYear(g)||h===8&&M(this.daysInYear(g),10)===5?30:h===9&&M(this.daysInYear(g),10)===3?29:this.daysPerMonth[h-1]},weekDay:function(g,h,l){return this.dayOfWeek(g,h,l)!==6},extraInfo:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);g=a.year(),h=a.month(),l=a.day();var u=g<=0?g+1:g,o=this.jdEpoch+this._delay1(u)+this._delay2(u)+l+1;if(h<7){for(var s=7;s<=this.monthsInYear(g);s++)o+=this.daysInMonth(g,s);for(s=1;s=this.toJD(h===-1?1:h+1,7,1);)h++;for(var l=gthis.toJD(h,l,this.daysInMonth(h,l));)l++;var a=g-this.toJD(h,l,1)+1;return this.newDate(h,l,a)}}),d.calendars.hebrew=i},43805:function(k,m,t){var d=t(63489),y=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamฤซs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(M){return(11*this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year()+14)%30<11},weekOfYear:function(M,g,h){var l=this.newDate(M,g,h);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){return this.leapYear(M)?355:354},daysInMonth:function(M,g){var h=this._validate(M,g,this.minDay,d.local.invalidMonth);return this.daysPerMonth[h.month()-1]+(h.month()===12&&this.leapYear(h.year())?1:0)},weekDay:function(M,g,h){return this.dayOfWeek(M,g,h)!==5},toJD:function(M,g,h){var l=this._validate(M,g,h,d.local.invalidDate);return M=l.year(),g=l.month(),M=M<=0?M+1:M,(h=l.day())+Math.ceil(29.5*(g-1))+354*(M-1)+Math.floor((3+11*M)/30)+this.jdEpoch-1},fromJD:function(M){M=Math.floor(M)+.5;var g=Math.floor((30*(M-this.jdEpoch)+10646)/10631);g=g<=0?g-1:g;var h=Math.min(12,Math.ceil((M-29-this.toJD(g,1,1))/29.5)+1),l=M-this.toJD(g,h,1)+1;return this.newDate(g,h,l)}}),d.calendars.islamic=i},88874:function(k,m,t){var d=t(63489),y=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var g=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=g.year()<0?g.year()+1:g.year())%4==0},weekOfYear:function(M,g,h){var l=this.newDate(M,g,h);return l.add(4-(l.dayOfWeek()||7),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,g){var h=this._validate(M,g,this.minDay,d.local.invalidMonth);return this.daysPerMonth[h.month()-1]+(h.month()===2&&this.leapYear(h.year())?1:0)},weekDay:function(M,g,h){return(this.dayOfWeek(M,g,h)||7)<6},toJD:function(M,g,h){var l=this._validate(M,g,h,d.local.invalidDate);return M=l.year(),g=l.month(),h=l.day(),M<0&&M++,g<=2&&(M--,g+=12),Math.floor(365.25*(M+4716))+Math.floor(30.6001*(g+1))+h-1524.5},fromJD:function(M){var g=Math.floor(M+.5)+1524,h=Math.floor((g-122.1)/365.25),l=Math.floor(365.25*h),a=Math.floor((g-l)/30.6001),u=a-Math.floor(a<14?1:13),o=h-Math.floor(u>2?4716:4715),s=g-l-Math.floor(30.6001*a);return o<=0&&o--,this.newDate(o,u,s)}}),d.calendars.julian=i},83290:function(k,m,t){var d=t(63489),y=t(56131);function i(h){this.local=this.regionalOptions[h||""]||this.regionalOptions[""]}function M(h,l){return h-l*Math.floor(h/l)}function g(h,l){return M(h-1,l)+1}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(h){return this._validate(h,this.minMonth,this.minDay,d.local.invalidYear),!1},formatYear:function(h){h=this._validate(h,this.minMonth,this.minDay,d.local.invalidYear).year();var l=Math.floor(h/400);return h%=400,h+=h<0?400:0,l+"."+Math.floor(h/20)+"."+h%20},forYear:function(h){if((h=h.split(".")).length<3)throw"Invalid Mayan year";for(var l=0,a=0;a19||a>0&&u<0)throw"Invalid Mayan year";l=20*l+u}return l},monthsInYear:function(h){return this._validate(h,this.minMonth,this.minDay,d.local.invalidYear),18},weekOfYear:function(h,l,a){return this._validate(h,l,a,d.local.invalidDate),0},daysInYear:function(h){return this._validate(h,this.minMonth,this.minDay,d.local.invalidYear),360},daysInMonth:function(h,l){return this._validate(h,l,this.minDay,d.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(h,l,a){return this._validate(h,l,a,d.local.invalidDate).day()},weekDay:function(h,l,a){return this._validate(h,l,a,d.local.invalidDate),!0},extraInfo:function(h,l,a){var u=this._validate(h,l,a,d.local.invalidDate).toJD(),o=this._toHaab(u),s=this._toTzolkin(u);return{haabMonthName:this.local.haabMonths[o[0]-1],haabMonth:o[0],haabDay:o[1],tzolkinDayName:this.local.tzolkinMonths[s[0]-1],tzolkinDay:s[0],tzolkinTrecena:s[1]}},_toHaab:function(h){var l=M(8+(h-=this.jdEpoch)+340,365);return[Math.floor(l/20)+1,M(l,20)]},_toTzolkin:function(h){return[g(20+(h-=this.jdEpoch),20),g(h+4,13)]},toJD:function(h,l,a){var u=this._validate(h,l,a,d.local.invalidDate);return u.day()+20*u.month()+360*u.year()+this.jdEpoch},fromJD:function(h){h=Math.floor(h)+.5-this.jdEpoch;var l=Math.floor(h/360);h%=360,h+=h<0?360:0;var a=Math.floor(h/20),u=h%20;return this.newDate(l,a,u)}}),d.calendars.mayan=i},29108:function(k,m,t){var d=t(63489),y=t(56131);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar;var M=d.instance("gregorian");y(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(g){var h=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear);return M.leapYear(h.year()+(h.year()<1?1:0)+1469)},weekOfYear:function(g,h,l){var a=this.newDate(g,h,l);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(g,h){var l=this._validate(g,h,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(g,h,l){return(this.dayOfWeek(g,h,l)||7)<6},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidMonth);(g=a.year())<0&&g++;for(var u=a.day(),o=1;o=this.toJD(h+1,1,1);)h++;for(var l=g-Math.floor(this.toJD(h,1,1)+.5)+1,a=1;l>this.daysInMonth(h,a);)l-=this.daysInMonth(h,a),a++;return this.newDate(h,a,l)}}),d.calendars.nanakshahi=i},55422:function(k,m,t){var d=t(63489),y=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(M){return this.daysInYear(M)!==this.daysPerYear},weekOfYear:function(M,g,h){var l=this.newDate(M,g,h);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){if(M=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[M]===void 0)return this.daysPerYear;for(var g=0,h=this.minMonth;h<=12;h++)g+=this.NEPALI_CALENDAR_DATA[M][h];return g},daysInMonth:function(M,g){return M.year&&(g=M.month(),M=M.year()),this._validate(M,g,this.minDay,d.local.invalidMonth),this.NEPALI_CALENDAR_DATA[M]===void 0?this.daysPerMonth[g-1]:this.NEPALI_CALENDAR_DATA[M][g]},weekDay:function(M,g,h){return this.dayOfWeek(M,g,h)!==6},toJD:function(M,g,h){var l=this._validate(M,g,h,d.local.invalidDate);M=l.year(),g=l.month(),h=l.day();var a=d.instance(),u=0,o=g,s=M;this._createMissingCalendarData(M);var f=M-(o>9||o===9&&h>=this.NEPALI_CALENDAR_DATA[s][0]?56:57);for(g!==9&&(u=h,o--);o!==9;)o<=0&&(o=12,s--),u+=this.NEPALI_CALENDAR_DATA[s][o],o--;return g===9?(u+=h-this.NEPALI_CALENDAR_DATA[s][0])<0&&(u+=a.daysInYear(f)):u+=this.NEPALI_CALENDAR_DATA[s][9]-this.NEPALI_CALENDAR_DATA[s][0],a.newDate(f,1,1).add(u,"d").toJD()},fromJD:function(M){var g=d.instance().fromJD(M),h=g.year(),l=g.dayOfYear(),a=h+56;this._createMissingCalendarData(a);for(var u=9,o=this.NEPALI_CALENDAR_DATA[a][0],s=this.NEPALI_CALENDAR_DATA[a][u]-o+1;l>s;)++u>12&&(u=1,a++),s+=this.NEPALI_CALENDAR_DATA[a][u];var f=this.NEPALI_CALENDAR_DATA[a][u]-(s-l);return this.newDate(a,u,f)},_createMissingCalendarData:function(M){var g=this.daysPerMonth.slice(0);g.unshift(17);for(var h=M-1;h0?474:473))%2820+474+38)%2816<682},weekOfYear:function(g,h,l){var a=this.newDate(g,h,l);return a.add(-(a.dayOfWeek()+1)%7,"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(g,h){var l=this._validate(g,h,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(g,h,l){return this.dayOfWeek(g,h,l)!==5},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);g=a.year(),h=a.month(),l=a.day();var u=g-(g>=0?474:473),o=474+M(u,2820);return l+(h<=7?31*(h-1):30*(h-1)+6)+Math.floor((682*o-110)/2816)+365*(o-1)+1029983*Math.floor(u/2820)+this.jdEpoch-1},fromJD:function(g){var h=(g=Math.floor(g)+.5)-this.toJD(475,1,1),l=Math.floor(h/1029983),a=M(h,1029983),u=2820;if(a!==1029982){var o=Math.floor(a/366),s=M(a,366);u=Math.floor((2134*o+2816*s+2815)/1028522)+o+1}var f=u+2820*l+474;f=f<=0?f-1:f;var c=g-this.toJD(f,1,1)+1,p=c<=186?Math.ceil(c/31):Math.ceil((c-6)/30),w=g-this.toJD(f,p,1)+1;return this.newDate(f,p,w)}}),d.calendars.persian=i,d.calendars.jalali=i},31320:function(k,m,t){var d=t(63489),y=t(56131),i=d.instance();function M(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,y(M.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(g){var h=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return g=this._t2gYear(h.year()),i.leapYear(g)},weekOfYear:function(g,h,l){var a=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return g=this._t2gYear(a.year()),i.weekOfYear(g,a.month(),a.day())},daysInMonth:function(g,h){var l=this._validate(g,h,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(g,h,l){return(this.dayOfWeek(g,h,l)||7)<6},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);return g=this._t2gYear(a.year()),i.toJD(g,a.month(),a.day())},fromJD:function(g){var h=i.fromJD(g),l=this._g2tYear(h.year());return this.newDate(l,h.month(),h.day())},_t2gYear:function(g){return g+this.yearsOffset+(g>=-this.yearsOffset&&g<=-1?1:0)},_g2tYear:function(g){return g-this.yearsOffset-(g>=1&&g<=this.yearsOffset?1:0)}}),d.calendars.taiwan=M},51367:function(k,m,t){var d=t(63489),y=t(56131),i=d.instance();function M(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,y(M.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(g){var h=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return g=this._t2gYear(h.year()),i.leapYear(g)},weekOfYear:function(g,h,l){var a=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return g=this._t2gYear(a.year()),i.weekOfYear(g,a.month(),a.day())},daysInMonth:function(g,h){var l=this._validate(g,h,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(g,h,l){return(this.dayOfWeek(g,h,l)||7)<6},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);return g=this._t2gYear(a.year()),i.toJD(g,a.month(),a.day())},fromJD:function(g){var h=i.fromJD(g),l=this._g2tYear(h.year());return this.newDate(l,h.month(),h.day())},_t2gYear:function(g){return g-this.yearsOffset-(g>=1&&g<=this.yearsOffset?1:0)},_g2tYear:function(g){return g+this.yearsOffset+(g>=-this.yearsOffset&&g<=-1?1:0)}}),d.calendars.thai=M},21457:function(k,m,t){var d=t(63489),y=t(56131);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalฤthฤโ€™","Yawm al-Arbaโ€˜ฤโ€™","Yawm al-Khamฤซs","Yawm al-Jumโ€˜a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(g){var h=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return this.daysInYear(h.year())===355},weekOfYear:function(g,h,l){var a=this.newDate(g,h,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(g){for(var h=0,l=1;l<=12;l++)h+=this.daysInMonth(g,l);return h},daysInMonth:function(g,h){for(var l=this._validate(g,h,this.minDay,d.local.invalidMonth).toJD()-24e5+.5,a=0,u=0;ul)return M[a]-M[a-1];a++}return 30},weekDay:function(g,h,l){return this.dayOfWeek(g,h,l)!==5},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate),u=12*(a.year()-1)+a.month()-15292;return a.day()+M[u-1]-1+24e5-.5},fromJD:function(g){for(var h=g-24e5+.5,l=0,a=0;ah);a++)l++;var u=l+15292,o=Math.floor((u-1)/12),s=o+1,f=u-12*o,c=h-M[l-1]+1;return this.newDate(s,f,c)},isValid:function(g,h,l){var a=d.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(g=g.year!=null?g.year:g)>=1276&&g<=1500),a},_validate:function(g,h,l,a){var u=d.baseCalendar.prototype._validate.apply(this,arguments);if(u.year<1276||u.year>1500)throw a.replace(/\{0\}/,this.local.name);return u}}),d.calendars.ummalqura=i;var M=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},63489:function(k,m,t){var d=t(56131);function y(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function i(a,u,o,s){if(this._calendar=a,this._year=u,this._month=o,this._day=s,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function M(a,u){return"000000".substring(0,u-(a=""+a).length)+a}function g(){this.shortYearCutoff="+10"}function h(a){this.local=this.regionalOptions[a]||this.regionalOptions[""]}d(y.prototype,{instance:function(a,u){a=(a||"gregorian").toLowerCase(),u=u||"";var o=this._localCals[a+"-"+u];if(!o&&this.calendars[a]&&(o=new this.calendars[a](u),this._localCals[a+"-"+u]=o),!o)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return o},newDate:function(a,u,o,s,f){return(s=(a!=null&&a.year?a.calendar():typeof s=="string"?this.instance(s,f):s)||this.instance()).newDate(a,u,o)},substituteDigits:function(a){return function(u){return(u+"").replace(/[0-9]/g,function(o){return a[o]})}},substituteChineseDigits:function(a,u){return function(o){for(var s="",f=0;o>0;){var c=o%10;s=(c===0?"":a[c]+u[f])+s,f++,o=Math.floor(o/10)}return s.indexOf(a[1]+u[1])===0&&(s=s.substr(1)),s||a[0]}}}),d(i.prototype,{newDate:function(a,u,o){return this._calendar.newDate(a??this,u,o)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,u,o){if(!this._calendar.isValid(a,u,o))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=u,this._day=o,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,u){return this._calendar.add(this,a,u)},set:function(a,u){return this._calendar.set(this,a,u)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(l.local.differentCalendars||l.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var u=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return u===0?0:u<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+M(Math.abs(this.year()),4)+"-"+M(this.month(),2)+"-"+M(this.day(),2)}}),d(g.prototype,{_validateLevel:0,newDate:function(a,u,o){return a==null?this.today():(a.year&&(this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),o=a.day(),u=a.month(),a=a.year()),new i(this,a,u,o))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return(u.year()<0?"-":"")+M(Math.abs(u.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear),12},monthOfYear:function(a,u){var o=this._validate(a,u,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth);return(o.month()+this.monthsInYear(o)-this.firstMonth)%this.monthsInYear(o)+this.minMonth},fromMonthOfYear:function(a,u){var o=(u+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,o,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth),o},daysInYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return this.leapYear(u)?366:365},dayOfYear:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return s.toJD()-this.newDate(s.year(),this.fromMonthOfYear(s.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(s))+2)%this.daysInWeek()},extraInfo:function(a,u,o){return this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),{}},add:function(a,u,o){return this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,u,o),u,o)},_add:function(a,u,o){if(this._validateLevel++,o==="d"||o==="w"){var s=a.toJD()+u*(o==="w"?this.daysInWeek():1),f=a.calendar().fromJD(s);return this._validateLevel--,[f.year(),f.month(),f.day()]}try{var c=a.year()+(o==="y"?u:0),p=a.monthOfYear()+(o==="m"?u:0);f=a.day(),o==="y"?(a.month()!==this.fromMonthOfYear(c,p)&&(p=this.newDate(c,a.month(),this.minDay).monthOfYear()),p=Math.min(p,this.monthsInYear(c)),f=Math.min(f,this.daysInMonth(c,this.fromMonthOfYear(c,p)))):o==="m"&&(function(v){for(;pS-1+v.minMonth;)c++,p-=S,S=v.monthsInYear(c)}(this),f=Math.min(f,this.daysInMonth(c,this.fromMonthOfYear(c,p))));var w=[c,this.fromMonthOfYear(c,p),f];return this._validateLevel--,w}catch(v){throw this._validateLevel--,v}},_correctAdd:function(a,u,o,s){if(!(this.hasYearZero||s!=="y"&&s!=="m"||u[0]!==0&&a.year()>0==u[0]>0)){var f={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[s],c=o<0?-1:1;u=this._add(a,o*f[0]+c*f[1],f[2])}return a.date(u[0],u[1],u[2])},set:function(a,u,o){this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate);var s=o==="y"?u:a.year(),f=o==="m"?u:a.month(),c=o==="d"?u:a.day();return o!=="y"&&o!=="m"||(c=Math.min(c,this.daysInMonth(s,f))),a.date(s,f,c)},isValid:function(a,u,o){this._validateLevel++;var s=this.hasYearZero||a!==0;if(s){var f=this.newDate(a,u,this.minDay);s=u>=this.minMonth&&u-this.minMonth=this.minDay&&o-this.minDay13.5?13:1),S=f-(v>2.5?4716:4715);return S<=0&&S--,this.newDate(S,v,w)},toJSDate:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),f=new Date(s.year(),s.month()-1,s.day());return f.setHours(0),f.setMinutes(0),f.setSeconds(0),f.setMilliseconds(0),f.setHours(f.getHours()>12?f.getHours()+2:0),f},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var l=k.exports=new y;l.cdate=i,l.baseCalendar=g,l.calendars.gregorian=h},94338:function(k,m,t){var d=t(56131),y=t(63489);d(y.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),y.local=y.regionalOptions[""],d(y.cdate.prototype,{formatDate:function(i,M){return typeof i!="string"&&(M=i,i=""),this._calendar.formatDate(i||"",this,M)}}),d(y.baseCalendar.prototype,{UNIX_EPOCH:y.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:y.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,M,g){if(typeof i!="string"&&(g=M,M=i,i=""),!M)return"";if(M.calendar()!==this)throw y.local.invalidFormat||y.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var h,l,a,u=(g=g||{}).dayNamesShort||this.local.dayNamesShort,o=g.dayNames||this.local.dayNames,s=g.monthNumbers||this.local.monthNumbers,f=g.monthNamesShort||this.local.monthNamesShort,c=g.monthNames||this.local.monthNames,p=(g.calculateWeek||this.local.calculateWeek,function(b,O){for(var I=1;L+I1}),w=function(b,O,I,R){var D=""+O;if(p(b,R))for(;D.length1},_=function(N,q){var j=C(N,q),$=[2,3,j?4:2,j?4:2,10,11,20]["oyYJ@!".indexOf(N)+1],U=new RegExp("^-?\\d{1,"+$+"}"),G=M.substring(R).match(U);if(!G)throw(y.local.missingNumberAt||y.regionalOptions[""].missingNumberAt).replace(/\{0\}/,R);return R+=G[0].length,parseInt(G[0],10)},A=this,L=function(){if(typeof o=="function"){C("m");var N=o.call(A,M.substring(R));return R+=N.length,N}return _("m")},b=function(N,q,j,$){for(var U=C(N,$)?j:q,G=0;G-1){w=1,v=S;for(var B=this.daysInMonth(p,w);v>B;B=this.daysInMonth(p,w))w++,v-=B}return c>-1?this.fromJD(c):this.newDate(p,w,v)},determineDate:function(i,M,g,h,l){g&&typeof g!="object"&&(l=h,h=g,g=null),typeof h!="string"&&(l=h,h="");var a=this;return M=M?M.newDate():null,i==null?M:typeof i=="string"?function(u){try{return a.parseDate(h,u,l)}catch{}for(var o=((u=u.toLowerCase()).match(/^c/)&&g?g.newDate():null)||a.today(),s=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,f=s.exec(u);f;)o.add(parseInt(f[1],10),f[2]||"d"),f=s.exec(u);return o}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?M:a.today().add(i,"d"):a.newDate(i)}})},69862:function(){},40964:function(){},72077:function(k,m,t){var d=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],y=typeof globalThis>"u"?t.g:globalThis;k.exports=function(){for(var i=[],M=0;M>8&15|me>>4&240,me>>4&15|240&me,(15&me)<<4|15&me,1):pe===8?_(me>>24&255,me>>16&255,me>>8&255,(255&me)/255):pe===4?_(me>>12&15|me>>8&240,me>>8&15|me>>4&240,me>>4&15|240&me,((15&me)<<4|15&me)/255):null):(me=o.exec(de))?new b(me[1],me[2],me[3],1):(me=s.exec(de))?new b(255*me[1]/100,255*me[2]/100,255*me[3]/100,1):(me=f.exec(de))?_(me[1],me[2],me[3],me[4]):(me=c.exec(de))?_(255*me[1]/100,255*me[2]/100,255*me[3]/100,me[4]):(me=p.exec(de))?B(me[1],me[2]/100,me[3]/100,1):(me=w.exec(de))?B(me[1],me[2]/100,me[3]/100,me[4]):v.hasOwnProperty(de)?C(v[de]):de==="transparent"?new b(NaN,NaN,NaN,0):null}function C(de){return new b(de>>16&255,de>>8&255,255&de,1)}function _(de,me,pe,xe){return xe<=0&&(de=me=pe=NaN),new b(de,me,pe,xe)}function A(de){return de instanceof i||(de=T(de)),de?new b((de=de.rgb()).r,de.g,de.b,de.opacity):new b}function L(de,me,pe,xe){return arguments.length===1?A(de):new b(de,me,pe,xe??1)}function b(de,me,pe,xe){this.r=+de,this.g=+me,this.b=+pe,this.opacity=+xe}function O(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b))}function I(){var de=R(this.opacity);return"".concat(de===1?"rgb(":"rgba(").concat(D(this.r),", ").concat(D(this.g),", ").concat(D(this.b)).concat(de===1?")":", ".concat(de,")"))}function R(de){return isNaN(de)?1:Math.max(0,Math.min(1,de))}function D(de){return Math.max(0,Math.min(255,Math.round(de)||0))}function F(de){return((de=D(de))<16?"0":"")+de.toString(16)}function B(de,me,pe,xe){return xe<=0?de=me=pe=NaN:pe<=0||pe>=1?de=me=NaN:me<=0&&(de=NaN),new q(de,me,pe,xe)}function N(de){if(de instanceof q)return new q(de.h,de.s,de.l,de.opacity);if(de instanceof i||(de=T(de)),!de)return new q;if(de instanceof q)return de;var me=(de=de.rgb()).r/255,pe=de.g/255,xe=de.b/255,Pe=Math.min(me,pe,xe),_e=Math.max(me,pe,xe),Me=NaN,Se=_e-Pe,Ce=(_e+Pe)/2;return Se?(Me=me===_e?(pe-xe)/Se+6*(pe0&&Ce<1?0:Me,new q(Me,Se,Ce,de.opacity)}function q(de,me,pe,xe){this.h=+de,this.s=+me,this.l=+pe,this.opacity=+xe}function j(de){return(de=(de||0)%360)<0?de+360:de}function $(de){return Math.max(0,Math.min(1,de||0))}function U(de,me,pe){return 255*(de<60?me+(pe-me)*de/60:de<180?pe:de<240?me+(pe-me)*(240-de)/60:me)}d(i,T,{copy:function(de){return Object.assign(new this.constructor,this,de)},displayable:function(){return this.rgb().displayable()},hex:S,formatHex:S,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return N(this).formatHsl()},formatRgb:x,toString:x}),d(b,L,y(i,{brighter:function(de){return de=de==null?g:Math.pow(g,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},rgb:function(){return this},clamp:function(){return new b(D(this.r),D(this.g),D(this.b),R(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:O,formatHex:O,formatHex8:function(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b)).concat(F(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I,toString:I})),d(q,function(de,me,pe,xe){return arguments.length===1?N(de):new q(de,me,pe,xe??1)},y(i,{brighter:function(de){return de=de==null?g:Math.pow(g,de),new q(this.h,this.s,this.l*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new q(this.h,this.s,this.l*de,this.opacity)},rgb:function(){var de=this.h%360+360*(this.h<0),me=isNaN(de)||isNaN(this.s)?0:this.s,pe=this.l,xe=pe+(pe<.5?pe:1-pe)*me,Pe=2*pe-xe;return new b(U(de>=240?de-240:de+120,Pe,xe),U(de,Pe,xe),U(de<120?de+240:de-120,Pe,xe),this.opacity)},clamp:function(){return new q(j(this.h),$(this.s),$(this.l),R(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var de=R(this.opacity);return"".concat(de===1?"hsl(":"hsla(").concat(j(this.h),", ").concat(100*$(this.s),"%, ").concat(100*$(this.l),"%").concat(de===1?")":", ".concat(de,")"))}}));var G=function(de){return function(){return de}};function W(de,me){var pe=me-de;return pe?function(xe,Pe){return function(_e){return xe+_e*Pe}}(de,pe):G(isNaN(de)?me:de)}var H=function de(me){var pe=function(Pe){return(Pe=+Pe)==1?W:function(_e,Me){return Me-_e?function(Se,Ce,ae){return Se=Math.pow(Se,ae),Ce=Math.pow(Ce,ae)-Se,ae=1/ae,function(he){return Math.pow(Se+he*Ce,ae)}}(_e,Me,Pe):G(isNaN(_e)?Me:_e)}}(me);function xe(Pe,_e){var Me=pe((Pe=L(Pe)).r,(_e=L(_e)).r),Se=pe(Pe.g,_e.g),Ce=pe(Pe.b,_e.b),ae=W(Pe.opacity,_e.opacity);return function(he){return Pe.r=Me(he),Pe.g=Se(he),Pe.b=Ce(he),Pe.opacity=ae(he),Pe+""}}return xe.gamma=de,xe}(1);function ne(de,me){var pe,xe=me?me.length:0,Pe=de?Math.min(xe,de.length):0,_e=new Array(Pe),Me=new Array(xe);for(pe=0;pe_e&&(Pe=me.slice(_e,Pe),Se[Me]?Se[Me]+=Pe:Se[++Me]=Pe),(pe=pe[0])===(xe=xe[0])?Se[Me]?Se[Me]+=xe:Se[++Me]=xe:(Se[++Me]=null,Ce.push({i:Me,x:Z(pe,xe)})),_e=ie.lastIndex;return _en.rt)},yValues(){return this.dataForHeatmapDrawing.map(n=>n.mass)},markerColorValues(){return this.dataForHeatmapDrawing.map(n=>n.intensity)},data(){return[{type:"scattergl",name:"raw peaks",x:this.xValues,y:this.yValues,mode:"markers",marker:{color:this.markerColorValues,colorscale:"Portland",showscale:!0},hovertext:this.markerColorValues.map(n=>Math.round(n).toString())}]},layout(){var n,e,r,E;return{title:`${this.args.title}`,showlegend:this.args.showLegend,xaxis:{title:"Retention Time"},yaxis:{title:this.yAxisLabel},paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(E=this.theme)==null?void 0:E.font}}}},watch:{renderData(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await zs.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:zs.Icons.camera,click:n=>{zs.downloadImage(n,{filename:"FLASHViewer-heatmap",height:400,width:1200,format:"svg"})}}]})}}}),fs=(n,e)=>{const r=n.__vccOpts||n;for(const[E,z]of e)r[E]=z;return r},iO=["id"];function aO(n,e,r,E,z,k){return Pr(),ei("div",{id:n.id,style:{width:"100%"}},null,8,iO)}const oO=fs(rO,[["render",aO]]),Mf=i2("selection",{state:()=>({scanIndex:void 0,massIndex:void 0,proteinIndex:void 0,tagIndex:void 0,selectedObservedMass:void 0,AApos:void 0,tagData:void 0}),getters:{selectedScanIndex:n=>n.scanIndex,selectedMassIndex:n=>n.massIndex,selectedProteinIndex:n=>n.proteinIndex,selectedTagIndex:n=>n.tagIndex,selectedAApos:n=>n.AApos,selectedTag:n=>n.tagData,selectedObservedMassFromFragmentTable:n=>n.selectedObservedMass},actions:{updateSelectedScan(n){this.scanIndex=n},updateSelectedMass(n){this.massIndex=n},updateSelectedProtein(n){this.proteinIndex=n},updateSelectedTag(n){this.tagIndex=n},selectedAminoAcid(n){this.selectedObservedMass=n},updateSelectedAA(n){this.AApos=n},updateTagData(n){this.tagData=n}}});class Ml{constructor(e){this.table=e}reloadData(e,r,E){return this.table.dataLoader.load(e,void 0,void 0,void 0,r,E)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,r){return typeof r<"u"&&(this.table.options[e]=r),this.table.options[e]}deprecationCheck(e,r,E){return this.table.deprecationAdvisor.check(e,r,E)}deprecationCheckMsg(e,r){return this.table.deprecationAdvisor.checkMsg(e,r)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class oo{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var r=e.getBoundingClientRect();return{top:r.top+window.pageYOffset-document.documentElement.clientTop,left:r.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,r,E){var z=e?r.split(e):[r],k=z.length,m;for(let t=0;ti.subject===t),d>-1?r[m]=E[d].copy:(y=Object.assign(Array.isArray(t)?[]:{},t),E.unshift({subject:t,copy:y}),r[m]=this.deepClone(t,y,E)))}return r}}class H2 extends Ml{constructor(e,r,E){super(e),this.element=r,this.container=this._lookupContainer(),this.parent=E,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,r=this.table.element){return e===r?!0:r.parentNode?this._checkContainerIsParent(e,r.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var r=!(e instanceof MouseEvent),E=r?e.touches[0].pageX:e.pageX,z=r?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let k=oo.elOffset(this.container);E-=k.left,z-=k.top}return{x:E,y:z}}elementPositionCoords(e,r="right"){var E=oo.elOffset(e),z,k,m;switch(this.container!==document.body&&(z=oo.elOffset(this.container),E.left-=z.left,E.top-=z.top),r){case"right":k=E.left+e.offsetWidth,m=E.top-1;break;case"bottom":k=E.left,m=E.top+e.offsetHeight;break;case"left":k=E.left,m=E.top-1;break;case"top":k=E.left,m=E.top;break;case"center":k=E.left+e.offsetWidth/2,m=E.top+e.offsetHeight/2;break}return{x:k,y:m,offset:E}}show(e,r){var E,z,k,m,t;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(k=e,t=this.elementPositionCoords(e,r),m=t.offset,E=t.x,z=t.y):typeof e=="number"?(m={top:0,left:0},E=e,z=r):(t=this.containerEventCoords(e),E=t.x,z=t.y,this.reversedX=!1),this.element.style.top=z+"px",this.element.style.left=E+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(E,z,k,m,r),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",d=>{d.stopPropagation()}),this)}_fitToScreen(e,r,E,z,k){var m=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;if((e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",E?this.element.style.right=this.container.offsetWidth-z.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0),r+this.element.offsetHeight>Math.max(this.container.offsetHeight,m?this.container.scrollHeight:0))if(E)switch(k){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-E.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+E.offsetHeight+1+"px"}else this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new H2(this.table,e,this),this.childPopup}}class Wi extends Ml{constructor(e,r){super(e),this._handler=null}initialize(){}registerTableOption(e,r){this.table.optionsList.register(e,r)}registerColumnOption(e,r){this.table.columnManager.optionsList.register(e,r)}registerTableFunction(e,r){typeof this.table[e]>"u"?this.table[e]=(...E)=>(this.table.initGuard(e),r(...E)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,r,E){return this.table.componentFunctionBinder.bind(e,r,E)}registerDataHandler(e,r){this.table.rowManager.registerDataPipelineHandler(e,r),this._handler=e}registerDisplayHandler(e,r){this.table.rowManager.registerDisplayPipelineHandler(e,r),this._handler=e}displayRows(e){var r=this.table.rowManager.displayRows.length-1,E;if(this._handler&&(E=this.table.rowManager.displayPipeline.findIndex(z=>z.handler===this._handler),E>-1&&(r=E)),e&&(r=r+e),this._handler)return r>-1?this.table.rowManager.getDisplayRows(r):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,r){r||(r=this._handler),r&&this.table.rowManager.refreshActiveData(r,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,r){return new H2(this.table,e,r)}alert(e,r){return this.table.alertManager.alert(e,r)}clearAlert(){return this.table.alertManager.clear()}}var sO={};class i0 extends Wi{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var r=!1,E={};this.allowedTypes.forEach(z=>{var k="accessor"+(z.charAt(0).toUpperCase()+z.slice(1)),m;e.definition[k]&&(m=this.lookupAccessor(e.definition[k]),m&&(r=!0,E[k]={accessor:m,params:e.definition[k+"Params"]||{}}))}),r&&(e.modules.accessor=E)}lookupAccessor(e){var r=!1;switch(typeof e){case"string":i0.accessors[e]?r=i0.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r){var E="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),z=e.getComponent(),k=oo.deepClone(e.data||{});return this.table.columnManager.traverse(function(m){var t,d,y,i;m.modules.accessor&&(d=m.modules.accessor[E]||m.modules.accessor.accessor||!1,d&&(t=m.getFieldValue(k),t!="undefined"&&(i=m.getComponent(),y=typeof d.params=="function"?d.params(t,k,r,i,z):d.params,m.setFieldValue(k,d.accessor(t,k,r,y,i,z)))))}),k}}i0.moduleName="accessor";i0.accessors=sO;var lO={method:"GET"};function nx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((z,k)=>{r=r.concat(nx(z,e?e+"["+k+"]":k))});else if(typeof n=="object")for(var E in n)r=r.concat(nx(n[E],e?e+"["+E+"]":E));else r.push({key:e,value:n});return r}function uO(n){var e=nx(n),r=[];return e.forEach(function(E){r.push(encodeURIComponent(E.key)+"="+encodeURIComponent(E.value))}),r.join("&")}function EM(n,e,r){return n&&r&&Object.keys(r).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+uO(r)),n}function cO(n,e,r){var E;return new Promise((z,k)=>{if(n=this.urlGenerator.call(this.table,n,e,r),e.method.toUpperCase()!="GET")if(E=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],E){for(var m in E.headers)e.headers||(e.headers={}),typeof e.headers[m]>"u"&&(e.headers[m]=E.headers[m]);e.body=E.body.call(this,n,e,r)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(t=>{t.ok?t.json().then(d=>{z(d)}).catch(d=>{k(d),console.warn("Ajax Load Error - Invalid JSON returned",d)}):(console.error("Ajax Load Error - Connection Error: "+t.status,t.statusText),k(t))}).catch(t=>{console.error("Ajax Load Error - Connection Error: ",t),k(t)})):(console.warn("Ajax Load Error - No URL Set"),z([]))})}function rx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((z,k)=>{r=r.concat(rx(z,e?e+"["+k+"]":k))});else if(typeof n=="object")for(var E in n)r=r.concat(rx(n[E],e?e+"["+E+"]":E));else r.push({key:e,value:n});return r}var fO={json:{headers:{"Content-Type":"application/json"},body:function(n,e,r){return JSON.stringify(r)}},form:{headers:{},body:function(n,e,r){var E=rx(r),z=new FormData;return E.forEach(function(k){z.append(k.key,k.value)}),z}}};class Ic extends Wi{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Ic.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Ic.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Ic.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,r,E,z){var k=this.table.options.ajaxParams;return k&&(typeof k=="function"&&(k=k.call(this.table)),z=Object.assign(Object.assign({},k),z)),z}requestDataCheck(e,r,E,z){return!!(!e&&this.url||typeof e=="string")}requestData(e,r,E,z,k){var m;return!k&&this.requestDataCheck(e)?(e&&this.setUrl(e),m=this.generateConfig(E),this.sendRequest(this.url,r,m)):k}setDefaultConfig(e={}){this.config=Object.assign({},Ic.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var r=Object.assign({},this.config);return typeof e=="string"?r.method=e:Object.assign(r,e),r}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,r,E){return this.table.options.ajaxRequesting.call(this.table,e,r)!==!1?this.loaderPromise(e,E,r).then(z=>(this.table.options.ajaxResponse&&(z=this.table.options.ajaxResponse.call(this.table,e,r,z)),z)):Promise.reject()}}Ic.moduleName="ajax";Ic.defaultConfig=lO;Ic.defaultURLGenerator=EM;Ic.defaultLoaderPromise=cO;Ic.contentTypeFormatters=fO;var hO={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)},range:function(n){var e=[],r=this.table.modules.selectRange.activeRange,E=!1,z,k,m,t,d;return d=n.length,r&&(z=r.getBounds(),k=z.start,z.start===z.end&&(E=!0),k&&(e=this.table.rowManager.activeRows.slice(),m=e.indexOf(k.row),E?t=n.length:t=e.indexOf(z.end.row)-m+1,m>-1&&(this.table.blockRedraw(),e=e.slice(m,m+t),e.forEach((y,i)=>{y.updateData(n[i%d])}),this.table.restoreRedraw()))),e}},dO={table:function(n){var e=[],r=!0,E=this.table.columnManager.columns,z=[],k=[];return n=n.split(` +`)):H=N.stylize("[Circular]","special")),x(q)){if(G&&U.match(/^\d+$/))return H;(q=JSON.stringify(""+U)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(q=q.slice(1,-1),q=N.stylize(q,"name")):(q=q.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),q=N.stylize(q,"string"))}return q+": "+H}function f(N){return Array.isArray(N)}function p(N){return typeof N=="boolean"}function w(N){return N===null}function v(N){return typeof N=="number"}function S(N){return typeof N=="string"}function x(N){return N===void 0}function T(N){return C(N)&&b(N)==="[object RegExp]"}function C(N){return typeof N=="object"&&N!==null}function _(N){return C(N)&&b(N)==="[object Date]"}function A(N){return C(N)&&(b(N)==="[object Error]"||N instanceof Error)}function L(N){return typeof N=="function"}function b(N){return Object.prototype.toString.call(N)}function P(N){return N<10?"0"+N.toString(10):N.toString(10)}m.debuglog=function(N){if(N=N.toUpperCase(),!M[N])if(g.test(N)){var W=d.pid;M[N]=function(){var j=m.format.apply(m,arguments);console.error("%s %d: %s",N,W,j)}}else M[N]=function(){};return M[N]},m.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},m.types=t(4936),m.isArray=f,m.isBoolean=p,m.isNull=w,m.isNullOrUndefined=function(N){return N==null},m.isNumber=v,m.isString=S,m.isSymbol=function(N){return typeof N=="symbol"},m.isUndefined=x,m.isRegExp=T,m.types.isRegExp=T,m.isObject=C,m.isDate=_,m.types.isDate=_,m.isError=A,m.types.isNativeError=A,m.isFunction=L,m.isPrimitive=function(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||N===void 0},m.isBuffer=t(45920);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(){var N=new Date,W=[P(N.getHours()),P(N.getMinutes()),P(N.getSeconds())].join(":");return[N.getDate(),I[N.getMonth()],W].join(" ")}function D(N,W){return Object.prototype.hasOwnProperty.call(N,W)}m.log=function(){console.log("%s - %s",R(),m.format.apply(m,arguments))},m.inherits=t(42018),m._extend=function(N,W){if(!W||!C(W))return N;for(var j=Object.keys(W),Y=j.length;Y--;)N[j[Y]]=W[j[Y]];return N};var F=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(N,W){if(!N){var j=new Error("Promise was rejected with a falsy value");j.reason=N,N=j}return W(N)}m.promisify=function(N){if(typeof N!="function")throw new TypeError('The "original" argument must be of type Function');if(F&&N[F]){var W;if(typeof(W=N[F])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(W,F,{value:W,enumerable:!1,writable:!1,configurable:!0}),W}function W(){for(var j,Y,U=new Promise(function(H,ne){j=H,Y=ne}),G=[],q=0;q"u"?t.g:globalThis,a=y(),u=i("String.prototype.slice"),o={},s=Object.getPrototypeOf;h&&M&&s&&d(a,function(f){if(typeof l[f]=="function"){var p=new l[f];if(Symbol.toStringTag in p){var w=s(p),v=M(w,Symbol.toStringTag);if(!v){var S=s(w);v=M(S,Symbol.toStringTag)}o[f]=v.get}}});var c=t(9187);k.exports=function(f){return!!c(f)&&(h&&Symbol.toStringTag in f?function(p){var w=!1;return d(o,function(v,S){if(!w)try{var x=v.call(p);x===S&&(w=x)}catch{}}),w}(f):u(g(f),8,-1))}},3961:function(k,m,t){var d=t(63489),y=t(56131),i=d.instance();function M(s){this.local=this.regionalOptions[s||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,y(M.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(s,c){if(typeof s=="string"){var f=s.match(h);return f?f[0]:""}var p=this._validateYear(s),w=s.month(),v=""+this.toChineseMonth(p,w);return c&&v.length<2&&(v="0"+v),this.isIntercalaryMonth(p,w)&&(v+="i"),v},monthNames:function(s){if(typeof s=="string"){var c=s.match(l);return c?c[0]:""}var f=this._validateYear(s),p=s.month(),w=["ไธ€ๆœˆ","ไบŒๆœˆ","ไธ‰ๆœˆ","ๅ››ๆœˆ","ไบ”ๆœˆ","ๅ…ญๆœˆ","ไธƒๆœˆ","ๅ…ซๆœˆ","ไนๆœˆ","ๅๆœˆ","ๅไธ€ๆœˆ","ๅไบŒๆœˆ"][this.toChineseMonth(f,p)-1];return this.isIntercalaryMonth(f,p)&&(w="้—ฐ"+w),w},monthNamesShort:function(s){if(typeof s=="string"){var c=s.match(a);return c?c[0]:""}var f=this._validateYear(s),p=s.month(),w=["ไธ€","ไบŒ","ไธ‰","ๅ››","ไบ”","ๅ…ญ","ไธƒ","ๅ…ซ","ไน","ๅ","ๅไธ€","ๅไบŒ"][this.toChineseMonth(f,p)-1];return this.isIntercalaryMonth(f,p)&&(w="้—ฐ"+w),w},parseMonth:function(s,c){s=this._validateYear(s);var f,p=parseInt(c);if(isNaN(p))c[0]==="้—ฐ"&&(f=!0,c=c.substring(1)),c[c.length-1]==="ๆœˆ"&&(c=c.substring(0,c.length-1)),p=1+["ไธ€","ไบŒ","ไธ‰","ๅ››","ไบ”","ๅ…ญ","ไธƒ","ๅ…ซ","ไน","ๅ","ๅไธ€","ๅไบŒ"].indexOf(c);else{var w=c[c.length-1];f=w==="i"||w==="I"}return this.toMonthIndex(s,p,f)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(s,c){if(s.year&&(s=s.year()),typeof s!="number"||s<1888||s>2111)throw c.replace(/\{0\}/,this.local.name);return s},toMonthIndex:function(s,c,f){var p=this.intercalaryMonth(s);if(f&&c!==p||c<1||c>12)throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return p?!f&&c<=p?c-1:c:c-1},toChineseMonth:function(s,c){s.year&&(c=(s=s.year()).month());var f=this.intercalaryMonth(s);if(c<0||c>(f?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return f?c>13},isIntercalaryMonth:function(s,c){s.year&&(c=(s=s.year()).month());var f=this.intercalaryMonth(s);return!!f&&f===c},leapYear:function(s){return this.intercalaryMonth(s)!==0},weekOfYear:function(s,c,f){var p,w=this._validateYear(s,d.local.invalidyear),v=o[w-o[0]],S=v>>9&4095,x=v>>5&15,T=31&v;(p=i.newDate(S,x,T)).add(4-(p.dayOfWeek()||7),"d");var C=this.toJD(s,c,f)-p.toJD();return 1+Math.floor(C/7)},monthsInYear:function(s){return this.leapYear(s)?13:12},daysInMonth:function(s,c){s.year&&(c=s.month(),s=s.year()),s=this._validateYear(s);var f=u[s-u[0]];if(c>(f>>13?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return f&1<<12-c?30:29},weekDay:function(s,c,f){return(this.dayOfWeek(s,c,f)||7)<6},toJD:function(s,c,f){var p=this._validate(s,v,f,d.local.invalidDate);s=this._validateYear(p.year()),c=p.month(),f=p.day();var w=this.isIntercalaryMonth(s,c),v=this.toChineseMonth(s,c),S=function(x,T,C,_,A){var L,b,P;if(typeof x=="object")b=x,L=T||{};else{var I;if(!(typeof x=="number"&&x>=1888&&x<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof T=="number"&&T>=1&&T<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof C=="number"&&C>=1&&C<=30))throw new Error("Lunar day outside range 1 - 30");typeof _=="object"?(I=!1,L=_):(I=!!_,L={}),b={year:x,month:T,day:C,isIntercalary:I}}P=b.day-1;var R,D=u[b.year-u[0]],F=D>>13;R=F&&(b.month>F||b.isIntercalary)?b.month:b.month-1;for(var B=0;B>9&4095,(N>>5&15)-1,(31&N)+P);return L.year=W.getFullYear(),L.month=1+W.getMonth(),L.day=W.getDate(),L}(s,v,f,w);return i.toJD(S.year,S.month,S.day)},fromJD:function(s){var c=i.fromJD(s),f=function(w,v,S,x){var T,C;if(typeof w=="object")T=w,C=v||{};else{if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof v=="number"&&v>=1&&v<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof S=="number"&&S>=1&&S<=31))throw new Error("Solar day outside range 1 - 31");T={year:w,month:v,day:S},C={}}var _=o[T.year-o[0]],A=T.year<<9|T.month<<5|T.day;C.year=A>=_?T.year:T.year-1,_=o[C.year-o[0]];var L,b=new Date(_>>9&4095,(_>>5&15)-1,31&_),P=new Date(T.year,T.month-1,T.day);L=Math.round((P-b)/864e5);var I,R=u[C.year-u[0]];for(I=0;I<13;I++){var D=R&1<<12-I?30:29;if(L>13;return!F||I=2&&a<=6},extraInfo:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);return{century:M[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);return g=a.year()+(a.year()<0?1:0),h=a.month(),(l=a.day())+(h>1?16:0)+(h>2?32*(h-2):0)+400*(g-1)+this.jdEpoch-1},fromJD:function(g){g=Math.floor(g+.5)-Math.floor(this.jdEpoch)-1;var h=Math.floor(g/400)+1;g-=400*(h-1),g+=g>15?16:0;var l=Math.floor(g/32)+1,a=g-32*(l-1)+1;return this.newDate(h<=0?h-1:h,l,a)}});var M={20:"Fruitbat",21:"Anchovy"};d.calendars.discworld=i},37715:function(k,m,t){var d=t(63489),y=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var g=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=g.year()+(g.year()<0?1:0))%4==3||M%4==-1},monthsInYear:function(M){return this._validate(M,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear),13},weekOfYear:function(M,g,h){var l=this.newDate(M,g,h);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,g){var h=this._validate(M,g,this.minDay,d.local.invalidMonth);return this.daysPerMonth[h.month()-1]+(h.month()===13&&this.leapYear(h.year())?1:0)},weekDay:function(M,g,h){return(this.dayOfWeek(M,g,h)||7)<6},toJD:function(M,g,h){var l=this._validate(M,g,h,d.local.invalidDate);return(M=l.year())<0&&M++,l.day()+30*(l.month()-1)+365*(M-1)+Math.floor(M/4)+this.jdEpoch-1},fromJD:function(M){var g=Math.floor(M)+.5-this.jdEpoch,h=Math.floor((g-Math.floor((g+366)/1461))/365)+1;h<=0&&h--,g=Math.floor(M)+.5-this.newDate(h,1,1).toJD();var l=Math.floor(g/30)+1,a=g-30*(l-1)+1;return this.newDate(h,l,a)}}),d.calendars.ethiopian=i},99384:function(k,m,t){var d=t(63489),y=t(56131);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}function M(g,h){return g-h*Math.floor(g/h)}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(g){var h=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return this._leapYear(h.year())},_leapYear:function(g){return M(7*(g=g<0?g+1:g)+1,19)<7},monthsInYear:function(g){return this._validate(g,this.minMonth,this.minDay,d.local.invalidYear),this._leapYear(g.year?g.year():g)?13:12},weekOfYear:function(g,h,l){var a=this.newDate(g,h,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(g){return g=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear).year(),this.toJD(g===-1?1:g+1,7,1)-this.toJD(g,7,1)},daysInMonth:function(g,h){return g.year&&(h=g.month(),g=g.year()),this._validate(g,h,this.minDay,d.local.invalidMonth),h===12&&this.leapYear(g)||h===8&&M(this.daysInYear(g),10)===5?30:h===9&&M(this.daysInYear(g),10)===3?29:this.daysPerMonth[h-1]},weekDay:function(g,h,l){return this.dayOfWeek(g,h,l)!==6},extraInfo:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);g=a.year(),h=a.month(),l=a.day();var u=g<=0?g+1:g,o=this.jdEpoch+this._delay1(u)+this._delay2(u)+l+1;if(h<7){for(var s=7;s<=this.monthsInYear(g);s++)o+=this.daysInMonth(g,s);for(s=1;s=this.toJD(h===-1?1:h+1,7,1);)h++;for(var l=gthis.toJD(h,l,this.daysInMonth(h,l));)l++;var a=g-this.toJD(h,l,1)+1;return this.newDate(h,l,a)}}),d.calendars.hebrew=i},43805:function(k,m,t){var d=t(63489),y=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamฤซs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(M){return(11*this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year()+14)%30<11},weekOfYear:function(M,g,h){var l=this.newDate(M,g,h);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){return this.leapYear(M)?355:354},daysInMonth:function(M,g){var h=this._validate(M,g,this.minDay,d.local.invalidMonth);return this.daysPerMonth[h.month()-1]+(h.month()===12&&this.leapYear(h.year())?1:0)},weekDay:function(M,g,h){return this.dayOfWeek(M,g,h)!==5},toJD:function(M,g,h){var l=this._validate(M,g,h,d.local.invalidDate);return M=l.year(),g=l.month(),M=M<=0?M+1:M,(h=l.day())+Math.ceil(29.5*(g-1))+354*(M-1)+Math.floor((3+11*M)/30)+this.jdEpoch-1},fromJD:function(M){M=Math.floor(M)+.5;var g=Math.floor((30*(M-this.jdEpoch)+10646)/10631);g=g<=0?g-1:g;var h=Math.min(12,Math.ceil((M-29-this.toJD(g,1,1))/29.5)+1),l=M-this.toJD(g,h,1)+1;return this.newDate(g,h,l)}}),d.calendars.islamic=i},88874:function(k,m,t){var d=t(63489),y=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var g=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=g.year()<0?g.year()+1:g.year())%4==0},weekOfYear:function(M,g,h){var l=this.newDate(M,g,h);return l.add(4-(l.dayOfWeek()||7),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,g){var h=this._validate(M,g,this.minDay,d.local.invalidMonth);return this.daysPerMonth[h.month()-1]+(h.month()===2&&this.leapYear(h.year())?1:0)},weekDay:function(M,g,h){return(this.dayOfWeek(M,g,h)||7)<6},toJD:function(M,g,h){var l=this._validate(M,g,h,d.local.invalidDate);return M=l.year(),g=l.month(),h=l.day(),M<0&&M++,g<=2&&(M--,g+=12),Math.floor(365.25*(M+4716))+Math.floor(30.6001*(g+1))+h-1524.5},fromJD:function(M){var g=Math.floor(M+.5)+1524,h=Math.floor((g-122.1)/365.25),l=Math.floor(365.25*h),a=Math.floor((g-l)/30.6001),u=a-Math.floor(a<14?1:13),o=h-Math.floor(u>2?4716:4715),s=g-l-Math.floor(30.6001*a);return o<=0&&o--,this.newDate(o,u,s)}}),d.calendars.julian=i},83290:function(k,m,t){var d=t(63489),y=t(56131);function i(h){this.local=this.regionalOptions[h||""]||this.regionalOptions[""]}function M(h,l){return h-l*Math.floor(h/l)}function g(h,l){return M(h-1,l)+1}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(h){return this._validate(h,this.minMonth,this.minDay,d.local.invalidYear),!1},formatYear:function(h){h=this._validate(h,this.minMonth,this.minDay,d.local.invalidYear).year();var l=Math.floor(h/400);return h%=400,h+=h<0?400:0,l+"."+Math.floor(h/20)+"."+h%20},forYear:function(h){if((h=h.split(".")).length<3)throw"Invalid Mayan year";for(var l=0,a=0;a19||a>0&&u<0)throw"Invalid Mayan year";l=20*l+u}return l},monthsInYear:function(h){return this._validate(h,this.minMonth,this.minDay,d.local.invalidYear),18},weekOfYear:function(h,l,a){return this._validate(h,l,a,d.local.invalidDate),0},daysInYear:function(h){return this._validate(h,this.minMonth,this.minDay,d.local.invalidYear),360},daysInMonth:function(h,l){return this._validate(h,l,this.minDay,d.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(h,l,a){return this._validate(h,l,a,d.local.invalidDate).day()},weekDay:function(h,l,a){return this._validate(h,l,a,d.local.invalidDate),!0},extraInfo:function(h,l,a){var u=this._validate(h,l,a,d.local.invalidDate).toJD(),o=this._toHaab(u),s=this._toTzolkin(u);return{haabMonthName:this.local.haabMonths[o[0]-1],haabMonth:o[0],haabDay:o[1],tzolkinDayName:this.local.tzolkinMonths[s[0]-1],tzolkinDay:s[0],tzolkinTrecena:s[1]}},_toHaab:function(h){var l=M(8+(h-=this.jdEpoch)+340,365);return[Math.floor(l/20)+1,M(l,20)]},_toTzolkin:function(h){return[g(20+(h-=this.jdEpoch),20),g(h+4,13)]},toJD:function(h,l,a){var u=this._validate(h,l,a,d.local.invalidDate);return u.day()+20*u.month()+360*u.year()+this.jdEpoch},fromJD:function(h){h=Math.floor(h)+.5-this.jdEpoch;var l=Math.floor(h/360);h%=360,h+=h<0?360:0;var a=Math.floor(h/20),u=h%20;return this.newDate(l,a,u)}}),d.calendars.mayan=i},29108:function(k,m,t){var d=t(63489),y=t(56131);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar;var M=d.instance("gregorian");y(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(g){var h=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear);return M.leapYear(h.year()+(h.year()<1?1:0)+1469)},weekOfYear:function(g,h,l){var a=this.newDate(g,h,l);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(g,h){var l=this._validate(g,h,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(g,h,l){return(this.dayOfWeek(g,h,l)||7)<6},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidMonth);(g=a.year())<0&&g++;for(var u=a.day(),o=1;o=this.toJD(h+1,1,1);)h++;for(var l=g-Math.floor(this.toJD(h,1,1)+.5)+1,a=1;l>this.daysInMonth(h,a);)l-=this.daysInMonth(h,a),a++;return this.newDate(h,a,l)}}),d.calendars.nanakshahi=i},55422:function(k,m,t){var d=t(63489),y=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(M){return this.daysInYear(M)!==this.daysPerYear},weekOfYear:function(M,g,h){var l=this.newDate(M,g,h);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){if(M=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[M]===void 0)return this.daysPerYear;for(var g=0,h=this.minMonth;h<=12;h++)g+=this.NEPALI_CALENDAR_DATA[M][h];return g},daysInMonth:function(M,g){return M.year&&(g=M.month(),M=M.year()),this._validate(M,g,this.minDay,d.local.invalidMonth),this.NEPALI_CALENDAR_DATA[M]===void 0?this.daysPerMonth[g-1]:this.NEPALI_CALENDAR_DATA[M][g]},weekDay:function(M,g,h){return this.dayOfWeek(M,g,h)!==6},toJD:function(M,g,h){var l=this._validate(M,g,h,d.local.invalidDate);M=l.year(),g=l.month(),h=l.day();var a=d.instance(),u=0,o=g,s=M;this._createMissingCalendarData(M);var c=M-(o>9||o===9&&h>=this.NEPALI_CALENDAR_DATA[s][0]?56:57);for(g!==9&&(u=h,o--);o!==9;)o<=0&&(o=12,s--),u+=this.NEPALI_CALENDAR_DATA[s][o],o--;return g===9?(u+=h-this.NEPALI_CALENDAR_DATA[s][0])<0&&(u+=a.daysInYear(c)):u+=this.NEPALI_CALENDAR_DATA[s][9]-this.NEPALI_CALENDAR_DATA[s][0],a.newDate(c,1,1).add(u,"d").toJD()},fromJD:function(M){var g=d.instance().fromJD(M),h=g.year(),l=g.dayOfYear(),a=h+56;this._createMissingCalendarData(a);for(var u=9,o=this.NEPALI_CALENDAR_DATA[a][0],s=this.NEPALI_CALENDAR_DATA[a][u]-o+1;l>s;)++u>12&&(u=1,a++),s+=this.NEPALI_CALENDAR_DATA[a][u];var c=this.NEPALI_CALENDAR_DATA[a][u]-(s-l);return this.newDate(a,u,c)},_createMissingCalendarData:function(M){var g=this.daysPerMonth.slice(0);g.unshift(17);for(var h=M-1;h0?474:473))%2820+474+38)%2816<682},weekOfYear:function(g,h,l){var a=this.newDate(g,h,l);return a.add(-(a.dayOfWeek()+1)%7,"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(g,h){var l=this._validate(g,h,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(g,h,l){return this.dayOfWeek(g,h,l)!==5},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);g=a.year(),h=a.month(),l=a.day();var u=g-(g>=0?474:473),o=474+M(u,2820);return l+(h<=7?31*(h-1):30*(h-1)+6)+Math.floor((682*o-110)/2816)+365*(o-1)+1029983*Math.floor(u/2820)+this.jdEpoch-1},fromJD:function(g){var h=(g=Math.floor(g)+.5)-this.toJD(475,1,1),l=Math.floor(h/1029983),a=M(h,1029983),u=2820;if(a!==1029982){var o=Math.floor(a/366),s=M(a,366);u=Math.floor((2134*o+2816*s+2815)/1028522)+o+1}var c=u+2820*l+474;c=c<=0?c-1:c;var f=g-this.toJD(c,1,1)+1,p=f<=186?Math.ceil(f/31):Math.ceil((f-6)/30),w=g-this.toJD(c,p,1)+1;return this.newDate(c,p,w)}}),d.calendars.persian=i,d.calendars.jalali=i},31320:function(k,m,t){var d=t(63489),y=t(56131),i=d.instance();function M(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,y(M.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(g){var h=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return g=this._t2gYear(h.year()),i.leapYear(g)},weekOfYear:function(g,h,l){var a=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return g=this._t2gYear(a.year()),i.weekOfYear(g,a.month(),a.day())},daysInMonth:function(g,h){var l=this._validate(g,h,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(g,h,l){return(this.dayOfWeek(g,h,l)||7)<6},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);return g=this._t2gYear(a.year()),i.toJD(g,a.month(),a.day())},fromJD:function(g){var h=i.fromJD(g),l=this._g2tYear(h.year());return this.newDate(l,h.month(),h.day())},_t2gYear:function(g){return g+this.yearsOffset+(g>=-this.yearsOffset&&g<=-1?1:0)},_g2tYear:function(g){return g-this.yearsOffset-(g>=1&&g<=this.yearsOffset?1:0)}}),d.calendars.taiwan=M},51367:function(k,m,t){var d=t(63489),y=t(56131),i=d.instance();function M(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,y(M.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(g){var h=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return g=this._t2gYear(h.year()),i.leapYear(g)},weekOfYear:function(g,h,l){var a=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return g=this._t2gYear(a.year()),i.weekOfYear(g,a.month(),a.day())},daysInMonth:function(g,h){var l=this._validate(g,h,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(g,h,l){return(this.dayOfWeek(g,h,l)||7)<6},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate);return g=this._t2gYear(a.year()),i.toJD(g,a.month(),a.day())},fromJD:function(g){var h=i.fromJD(g),l=this._g2tYear(h.year());return this.newDate(l,h.month(),h.day())},_t2gYear:function(g){return g-this.yearsOffset-(g>=1&&g<=this.yearsOffset?1:0)},_g2tYear:function(g){return g+this.yearsOffset+(g>=-this.yearsOffset&&g<=-1?1:0)}}),d.calendars.thai=M},21457:function(k,m,t){var d=t(63489),y=t(56131);function i(g){this.local=this.regionalOptions[g||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalฤthฤโ€™","Yawm al-Arbaโ€˜ฤโ€™","Yawm al-Khamฤซs","Yawm al-Jumโ€˜a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(g){var h=this._validate(g,this.minMonth,this.minDay,d.local.invalidYear);return this.daysInYear(h.year())===355},weekOfYear:function(g,h,l){var a=this.newDate(g,h,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(g){for(var h=0,l=1;l<=12;l++)h+=this.daysInMonth(g,l);return h},daysInMonth:function(g,h){for(var l=this._validate(g,h,this.minDay,d.local.invalidMonth).toJD()-24e5+.5,a=0,u=0;ul)return M[a]-M[a-1];a++}return 30},weekDay:function(g,h,l){return this.dayOfWeek(g,h,l)!==5},toJD:function(g,h,l){var a=this._validate(g,h,l,d.local.invalidDate),u=12*(a.year()-1)+a.month()-15292;return a.day()+M[u-1]-1+24e5-.5},fromJD:function(g){for(var h=g-24e5+.5,l=0,a=0;ah);a++)l++;var u=l+15292,o=Math.floor((u-1)/12),s=o+1,c=u-12*o,f=h-M[l-1]+1;return this.newDate(s,c,f)},isValid:function(g,h,l){var a=d.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(g=g.year!=null?g.year:g)>=1276&&g<=1500),a},_validate:function(g,h,l,a){var u=d.baseCalendar.prototype._validate.apply(this,arguments);if(u.year<1276||u.year>1500)throw a.replace(/\{0\}/,this.local.name);return u}}),d.calendars.ummalqura=i;var M=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},63489:function(k,m,t){var d=t(56131);function y(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function i(a,u,o,s){if(this._calendar=a,this._year=u,this._month=o,this._day=s,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function M(a,u){return"000000".substring(0,u-(a=""+a).length)+a}function g(){this.shortYearCutoff="+10"}function h(a){this.local=this.regionalOptions[a]||this.regionalOptions[""]}d(y.prototype,{instance:function(a,u){a=(a||"gregorian").toLowerCase(),u=u||"";var o=this._localCals[a+"-"+u];if(!o&&this.calendars[a]&&(o=new this.calendars[a](u),this._localCals[a+"-"+u]=o),!o)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return o},newDate:function(a,u,o,s,c){return(s=(a!=null&&a.year?a.calendar():typeof s=="string"?this.instance(s,c):s)||this.instance()).newDate(a,u,o)},substituteDigits:function(a){return function(u){return(u+"").replace(/[0-9]/g,function(o){return a[o]})}},substituteChineseDigits:function(a,u){return function(o){for(var s="",c=0;o>0;){var f=o%10;s=(f===0?"":a[f]+u[c])+s,c++,o=Math.floor(o/10)}return s.indexOf(a[1]+u[1])===0&&(s=s.substr(1)),s||a[0]}}}),d(i.prototype,{newDate:function(a,u,o){return this._calendar.newDate(a??this,u,o)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,u,o){if(!this._calendar.isValid(a,u,o))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=u,this._day=o,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,u){return this._calendar.add(this,a,u)},set:function(a,u){return this._calendar.set(this,a,u)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(l.local.differentCalendars||l.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var u=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return u===0?0:u<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+M(Math.abs(this.year()),4)+"-"+M(this.month(),2)+"-"+M(this.day(),2)}}),d(g.prototype,{_validateLevel:0,newDate:function(a,u,o){return a==null?this.today():(a.year&&(this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),o=a.day(),u=a.month(),a=a.year()),new i(this,a,u,o))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return(u.year()<0?"-":"")+M(Math.abs(u.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear),12},monthOfYear:function(a,u){var o=this._validate(a,u,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth);return(o.month()+this.monthsInYear(o)-this.firstMonth)%this.monthsInYear(o)+this.minMonth},fromMonthOfYear:function(a,u){var o=(u+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,o,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth),o},daysInYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return this.leapYear(u)?366:365},dayOfYear:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return s.toJD()-this.newDate(s.year(),this.fromMonthOfYear(s.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(s))+2)%this.daysInWeek()},extraInfo:function(a,u,o){return this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),{}},add:function(a,u,o){return this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,u,o),u,o)},_add:function(a,u,o){if(this._validateLevel++,o==="d"||o==="w"){var s=a.toJD()+u*(o==="w"?this.daysInWeek():1),c=a.calendar().fromJD(s);return this._validateLevel--,[c.year(),c.month(),c.day()]}try{var f=a.year()+(o==="y"?u:0),p=a.monthOfYear()+(o==="m"?u:0);c=a.day(),o==="y"?(a.month()!==this.fromMonthOfYear(f,p)&&(p=this.newDate(f,a.month(),this.minDay).monthOfYear()),p=Math.min(p,this.monthsInYear(f)),c=Math.min(c,this.daysInMonth(f,this.fromMonthOfYear(f,p)))):o==="m"&&(function(v){for(;pS-1+v.minMonth;)f++,p-=S,S=v.monthsInYear(f)}(this),c=Math.min(c,this.daysInMonth(f,this.fromMonthOfYear(f,p))));var w=[f,this.fromMonthOfYear(f,p),c];return this._validateLevel--,w}catch(v){throw this._validateLevel--,v}},_correctAdd:function(a,u,o,s){if(!(this.hasYearZero||s!=="y"&&s!=="m"||u[0]!==0&&a.year()>0==u[0]>0)){var c={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[s],f=o<0?-1:1;u=this._add(a,o*c[0]+f*c[1],c[2])}return a.date(u[0],u[1],u[2])},set:function(a,u,o){this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate);var s=o==="y"?u:a.year(),c=o==="m"?u:a.month(),f=o==="d"?u:a.day();return o!=="y"&&o!=="m"||(f=Math.min(f,this.daysInMonth(s,c))),a.date(s,c,f)},isValid:function(a,u,o){this._validateLevel++;var s=this.hasYearZero||a!==0;if(s){var c=this.newDate(a,u,this.minDay);s=u>=this.minMonth&&u-this.minMonth=this.minDay&&o-this.minDay13.5?13:1),S=c-(v>2.5?4716:4715);return S<=0&&S--,this.newDate(S,v,w)},toJSDate:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),c=new Date(s.year(),s.month()-1,s.day());return c.setHours(0),c.setMinutes(0),c.setSeconds(0),c.setMilliseconds(0),c.setHours(c.getHours()>12?c.getHours()+2:0),c},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var l=k.exports=new y;l.cdate=i,l.baseCalendar=g,l.calendars.gregorian=h},94338:function(k,m,t){var d=t(56131),y=t(63489);d(y.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),y.local=y.regionalOptions[""],d(y.cdate.prototype,{formatDate:function(i,M){return typeof i!="string"&&(M=i,i=""),this._calendar.formatDate(i||"",this,M)}}),d(y.baseCalendar.prototype,{UNIX_EPOCH:y.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:y.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,M,g){if(typeof i!="string"&&(g=M,M=i,i=""),!M)return"";if(M.calendar()!==this)throw y.local.invalidFormat||y.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var h,l,a,u=(g=g||{}).dayNamesShort||this.local.dayNamesShort,o=g.dayNames||this.local.dayNames,s=g.monthNumbers||this.local.monthNumbers,c=g.monthNamesShort||this.local.monthNamesShort,f=g.monthNames||this.local.monthNames,p=(g.calculateWeek||this.local.calculateWeek,function(b,P){for(var I=1;L+I1}),w=function(b,P,I,R){var D=""+P;if(p(b,R))for(;D.length1},_=function(N,W){var j=C(N,W),Y=[2,3,j?4:2,j?4:2,10,11,20]["oyYJ@!".indexOf(N)+1],U=new RegExp("^-?\\d{1,"+Y+"}"),G=M.substring(R).match(U);if(!G)throw(y.local.missingNumberAt||y.regionalOptions[""].missingNumberAt).replace(/\{0\}/,R);return R+=G[0].length,parseInt(G[0],10)},A=this,L=function(){if(typeof o=="function"){C("m");var N=o.call(A,M.substring(R));return R+=N.length,N}return _("m")},b=function(N,W,j,Y){for(var U=C(N,Y)?j:W,G=0;G-1){w=1,v=S;for(var B=this.daysInMonth(p,w);v>B;B=this.daysInMonth(p,w))w++,v-=B}return f>-1?this.fromJD(f):this.newDate(p,w,v)},determineDate:function(i,M,g,h,l){g&&typeof g!="object"&&(l=h,h=g,g=null),typeof h!="string"&&(l=h,h="");var a=this;return M=M?M.newDate():null,i==null?M:typeof i=="string"?function(u){try{return a.parseDate(h,u,l)}catch{}for(var o=((u=u.toLowerCase()).match(/^c/)&&g?g.newDate():null)||a.today(),s=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,c=s.exec(u);c;)o.add(parseInt(c[1],10),c[2]||"d"),c=s.exec(u);return o}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?M:a.today().add(i,"d"):a.newDate(i)}})},69862:function(){},40964:function(){},72077:function(k,m,t){var d=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],y=typeof globalThis>"u"?t.g:globalThis;k.exports=function(){for(var i=[],M=0;M>8&15|me>>4&240,me>>4&15|240&me,(15&me)<<4|15&me,1):pe===8?_(me>>24&255,me>>16&255,me>>8&255,(255&me)/255):pe===4?_(me>>12&15|me>>8&240,me>>8&15|me>>4&240,me>>4&15|240&me,((15&me)<<4|15&me)/255):null):(me=o.exec(de))?new b(me[1],me[2],me[3],1):(me=s.exec(de))?new b(255*me[1]/100,255*me[2]/100,255*me[3]/100,1):(me=c.exec(de))?_(me[1],me[2],me[3],me[4]):(me=f.exec(de))?_(255*me[1]/100,255*me[2]/100,255*me[3]/100,me[4]):(me=p.exec(de))?B(me[1],me[2]/100,me[3]/100,1):(me=w.exec(de))?B(me[1],me[2]/100,me[3]/100,me[4]):v.hasOwnProperty(de)?C(v[de]):de==="transparent"?new b(NaN,NaN,NaN,0):null}function C(de){return new b(de>>16&255,de>>8&255,255&de,1)}function _(de,me,pe,xe){return xe<=0&&(de=me=pe=NaN),new b(de,me,pe,xe)}function A(de){return de instanceof i||(de=T(de)),de?new b((de=de.rgb()).r,de.g,de.b,de.opacity):new b}function L(de,me,pe,xe){return arguments.length===1?A(de):new b(de,me,pe,xe??1)}function b(de,me,pe,xe){this.r=+de,this.g=+me,this.b=+pe,this.opacity=+xe}function P(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b))}function I(){var de=R(this.opacity);return"".concat(de===1?"rgb(":"rgba(").concat(D(this.r),", ").concat(D(this.g),", ").concat(D(this.b)).concat(de===1?")":", ".concat(de,")"))}function R(de){return isNaN(de)?1:Math.max(0,Math.min(1,de))}function D(de){return Math.max(0,Math.min(255,Math.round(de)||0))}function F(de){return((de=D(de))<16?"0":"")+de.toString(16)}function B(de,me,pe,xe){return xe<=0?de=me=pe=NaN:pe<=0||pe>=1?de=me=NaN:me<=0&&(de=NaN),new W(de,me,pe,xe)}function N(de){if(de instanceof W)return new W(de.h,de.s,de.l,de.opacity);if(de instanceof i||(de=T(de)),!de)return new W;if(de instanceof W)return de;var me=(de=de.rgb()).r/255,pe=de.g/255,xe=de.b/255,Oe=Math.min(me,pe,xe),_e=Math.max(me,pe,xe),Me=NaN,Se=_e-Oe,Ce=(_e+Oe)/2;return Se?(Me=me===_e?(pe-xe)/Se+6*(pe0&&Ce<1?0:Me,new W(Me,Se,Ce,de.opacity)}function W(de,me,pe,xe){this.h=+de,this.s=+me,this.l=+pe,this.opacity=+xe}function j(de){return(de=(de||0)%360)<0?de+360:de}function Y(de){return Math.max(0,Math.min(1,de||0))}function U(de,me,pe){return 255*(de<60?me+(pe-me)*de/60:de<180?pe:de<240?me+(pe-me)*(240-de)/60:me)}d(i,T,{copy:function(de){return Object.assign(new this.constructor,this,de)},displayable:function(){return this.rgb().displayable()},hex:S,formatHex:S,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return N(this).formatHsl()},formatRgb:x,toString:x}),d(b,L,y(i,{brighter:function(de){return de=de==null?g:Math.pow(g,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},rgb:function(){return this},clamp:function(){return new b(D(this.r),D(this.g),D(this.b),R(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:P,formatHex:P,formatHex8:function(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b)).concat(F(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I,toString:I})),d(W,function(de,me,pe,xe){return arguments.length===1?N(de):new W(de,me,pe,xe??1)},y(i,{brighter:function(de){return de=de==null?g:Math.pow(g,de),new W(this.h,this.s,this.l*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new W(this.h,this.s,this.l*de,this.opacity)},rgb:function(){var de=this.h%360+360*(this.h<0),me=isNaN(de)||isNaN(this.s)?0:this.s,pe=this.l,xe=pe+(pe<.5?pe:1-pe)*me,Oe=2*pe-xe;return new b(U(de>=240?de-240:de+120,Oe,xe),U(de,Oe,xe),U(de<120?de+240:de-120,Oe,xe),this.opacity)},clamp:function(){return new W(j(this.h),Y(this.s),Y(this.l),R(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var de=R(this.opacity);return"".concat(de===1?"hsl(":"hsla(").concat(j(this.h),", ").concat(100*Y(this.s),"%, ").concat(100*Y(this.l),"%").concat(de===1?")":", ".concat(de,")"))}}));var G=function(de){return function(){return de}};function q(de,me){var pe=me-de;return pe?function(xe,Oe){return function(_e){return xe+_e*Oe}}(de,pe):G(isNaN(de)?me:de)}var H=function de(me){var pe=function(Oe){return(Oe=+Oe)==1?q:function(_e,Me){return Me-_e?function(Se,Ce,ae){return Se=Math.pow(Se,ae),Ce=Math.pow(Ce,ae)-Se,ae=1/ae,function(he){return Math.pow(Se+he*Ce,ae)}}(_e,Me,Oe):G(isNaN(_e)?Me:_e)}}(me);function xe(Oe,_e){var Me=pe((Oe=L(Oe)).r,(_e=L(_e)).r),Se=pe(Oe.g,_e.g),Ce=pe(Oe.b,_e.b),ae=q(Oe.opacity,_e.opacity);return function(he){return Oe.r=Me(he),Oe.g=Se(he),Oe.b=Ce(he),Oe.opacity=ae(he),Oe+""}}return xe.gamma=de,xe}(1);function ne(de,me){var pe,xe=me?me.length:0,Oe=de?Math.min(xe,de.length):0,_e=new Array(Oe),Me=new Array(xe);for(pe=0;pe_e&&(Oe=me.slice(_e,Oe),Se[Me]?Se[Me]+=Oe:Se[++Me]=Oe),(pe=pe[0])===(xe=xe[0])?Se[Me]?Se[Me]+=xe:Se[++Me]=xe:(Se[++Me]=null,Ce.push({i:Me,x:Z(pe,xe)})),_e=ie.lastIndex;return _en.rt)},yValues(){return this.dataForHeatmapDrawing.map(n=>n.mass)},markerColorValues(){return this.dataForHeatmapDrawing.map(n=>n.intensity)},data(){return[{type:"scattergl",name:"raw peaks",x:this.xValues,y:this.yValues,mode:"markers",marker:{color:this.markerColorValues,colorscale:"Portland",showscale:!0},hovertext:this.markerColorValues.map(n=>Math.round(n).toString())}]},layout(){var n,e,r,E;return{title:`${this.args.title}`,showlegend:this.args.showLegend,xaxis:{title:"Retention Time"},yaxis:{title:this.yAxisLabel},paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(E=this.theme)==null?void 0:E.font}}}},watch:{renderData(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await es.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:es.Icons.camera,click:n=>{es.downloadImage(n,{filename:"FLASHViewer-heatmap",height:400,width:1200,format:"svg"})}}]})}}}),is=(n,e)=>{const r=n.__vccOpts||n;for(const[E,z]of e)r[E]=z;return r},iP=["id"];function aP(n,e,r,E,z,k){return Ir(),ei("div",{id:n.id,style:{width:"100%"}},null,8,iP)}const oP=is(rP,[["render",aP]]),Mf=i2("selection",{state:()=>({scanIndex:void 0,massIndex:void 0,proteinIndex:void 0,tagIndex:void 0,selectedObservedMass:void 0,AApos:void 0,tagData:void 0}),getters:{selectedScanIndex:n=>n.scanIndex,selectedMassIndex:n=>n.massIndex,selectedProteinIndex:n=>n.proteinIndex,selectedTagIndex:n=>n.tagIndex,selectedAApos:n=>n.AApos,selectedTag:n=>n.tagData,selectedObservedMassFromFragmentTable:n=>n.selectedObservedMass},actions:{updateSelectedScan(n){this.scanIndex=n},updateSelectedMass(n){this.massIndex=n},updateSelectedProtein(n){this.proteinIndex=n},updateSelectedTag(n){this.tagIndex=n},selectedAminoAcid(n){this.selectedObservedMass=n},updateSelectedAA(n){this.AApos=n},updateTagData(n){this.tagData=n}}});class Ml{constructor(e){this.table=e}reloadData(e,r,E){return this.table.dataLoader.load(e,void 0,void 0,void 0,r,E)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,r){return typeof r<"u"&&(this.table.options[e]=r),this.table.options[e]}deprecationCheck(e,r,E){return this.table.deprecationAdvisor.check(e,r,E)}deprecationCheckMsg(e,r){return this.table.deprecationAdvisor.checkMsg(e,r)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class oo{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var r=e.getBoundingClientRect();return{top:r.top+window.pageYOffset-document.documentElement.clientTop,left:r.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,r,E){var z=e?r.split(e):[r],k=z.length,m;for(let t=0;ti.subject===t),d>-1?r[m]=E[d].copy:(y=Object.assign(Array.isArray(t)?[]:{},t),E.unshift({subject:t,copy:y}),r[m]=this.deepClone(t,y,E)))}return r}}class H2 extends Ml{constructor(e,r,E){super(e),this.element=r,this.container=this._lookupContainer(),this.parent=E,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,r=this.table.element){return e===r?!0:r.parentNode?this._checkContainerIsParent(e,r.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var r=!(e instanceof MouseEvent),E=r?e.touches[0].pageX:e.pageX,z=r?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let k=oo.elOffset(this.container);E-=k.left,z-=k.top}return{x:E,y:z}}elementPositionCoords(e,r="right"){var E=oo.elOffset(e),z,k,m;switch(this.container!==document.body&&(z=oo.elOffset(this.container),E.left-=z.left,E.top-=z.top),r){case"right":k=E.left+e.offsetWidth,m=E.top-1;break;case"bottom":k=E.left,m=E.top+e.offsetHeight;break;case"left":k=E.left,m=E.top-1;break;case"top":k=E.left,m=E.top;break;case"center":k=E.left+e.offsetWidth/2,m=E.top+e.offsetHeight/2;break}return{x:k,y:m,offset:E}}show(e,r){var E,z,k,m,t;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(k=e,t=this.elementPositionCoords(e,r),m=t.offset,E=t.x,z=t.y):typeof e=="number"?(m={top:0,left:0},E=e,z=r):(t=this.containerEventCoords(e),E=t.x,z=t.y,this.reversedX=!1),this.element.style.top=z+"px",this.element.style.left=E+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(E,z,k,m,r),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",d=>{d.stopPropagation()}),this)}_fitToScreen(e,r,E,z,k){var m=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;if((e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",E?this.element.style.right=this.container.offsetWidth-z.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0),r+this.element.offsetHeight>Math.max(this.container.offsetHeight,m?this.container.scrollHeight:0))if(E)switch(k){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-E.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+E.offsetHeight+1+"px"}else this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new H2(this.table,e,this),this.childPopup}}class qi extends Ml{constructor(e,r){super(e),this._handler=null}initialize(){}registerTableOption(e,r){this.table.optionsList.register(e,r)}registerColumnOption(e,r){this.table.columnManager.optionsList.register(e,r)}registerTableFunction(e,r){typeof this.table[e]>"u"?this.table[e]=(...E)=>(this.table.initGuard(e),r(...E)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,r,E){return this.table.componentFunctionBinder.bind(e,r,E)}registerDataHandler(e,r){this.table.rowManager.registerDataPipelineHandler(e,r),this._handler=e}registerDisplayHandler(e,r){this.table.rowManager.registerDisplayPipelineHandler(e,r),this._handler=e}displayRows(e){var r=this.table.rowManager.displayRows.length-1,E;if(this._handler&&(E=this.table.rowManager.displayPipeline.findIndex(z=>z.handler===this._handler),E>-1&&(r=E)),e&&(r=r+e),this._handler)return r>-1?this.table.rowManager.getDisplayRows(r):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,r){r||(r=this._handler),r&&this.table.rowManager.refreshActiveData(r,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,r){return new H2(this.table,e,r)}alert(e,r){return this.table.alertManager.alert(e,r)}clearAlert(){return this.table.alertManager.clear()}}var sP={};class i0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var r=!1,E={};this.allowedTypes.forEach(z=>{var k="accessor"+(z.charAt(0).toUpperCase()+z.slice(1)),m;e.definition[k]&&(m=this.lookupAccessor(e.definition[k]),m&&(r=!0,E[k]={accessor:m,params:e.definition[k+"Params"]||{}}))}),r&&(e.modules.accessor=E)}lookupAccessor(e){var r=!1;switch(typeof e){case"string":i0.accessors[e]?r=i0.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r){var E="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),z=e.getComponent(),k=oo.deepClone(e.data||{});return this.table.columnManager.traverse(function(m){var t,d,y,i;m.modules.accessor&&(d=m.modules.accessor[E]||m.modules.accessor.accessor||!1,d&&(t=m.getFieldValue(k),t!="undefined"&&(i=m.getComponent(),y=typeof d.params=="function"?d.params(t,k,r,i,z):d.params,m.setFieldValue(k,d.accessor(t,k,r,y,i,z)))))}),k}}i0.moduleName="accessor";i0.accessors=sP;var lP={method:"GET"};function nx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((z,k)=>{r=r.concat(nx(z,e?e+"["+k+"]":k))});else if(typeof n=="object")for(var E in n)r=r.concat(nx(n[E],e?e+"["+E+"]":E));else r.push({key:e,value:n});return r}function uP(n){var e=nx(n),r=[];return e.forEach(function(E){r.push(encodeURIComponent(E.key)+"="+encodeURIComponent(E.value))}),r.join("&")}function EM(n,e,r){return n&&r&&Object.keys(r).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+uP(r)),n}function cP(n,e,r){var E;return new Promise((z,k)=>{if(n=this.urlGenerator.call(this.table,n,e,r),e.method.toUpperCase()!="GET")if(E=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],E){for(var m in E.headers)e.headers||(e.headers={}),typeof e.headers[m]>"u"&&(e.headers[m]=E.headers[m]);e.body=E.body.call(this,n,e,r)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(t=>{t.ok?t.json().then(d=>{z(d)}).catch(d=>{k(d),console.warn("Ajax Load Error - Invalid JSON returned",d)}):(console.error("Ajax Load Error - Connection Error: "+t.status,t.statusText),k(t))}).catch(t=>{console.error("Ajax Load Error - Connection Error: ",t),k(t)})):(console.warn("Ajax Load Error - No URL Set"),z([]))})}function rx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((z,k)=>{r=r.concat(rx(z,e?e+"["+k+"]":k))});else if(typeof n=="object")for(var E in n)r=r.concat(rx(n[E],e?e+"["+E+"]":E));else r.push({key:e,value:n});return r}var fP={json:{headers:{"Content-Type":"application/json"},body:function(n,e,r){return JSON.stringify(r)}},form:{headers:{},body:function(n,e,r){var E=rx(r),z=new FormData;return E.forEach(function(k){z.append(k.key,k.value)}),z}}};class Ic extends qi{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Ic.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Ic.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Ic.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,r,E,z){var k=this.table.options.ajaxParams;return k&&(typeof k=="function"&&(k=k.call(this.table)),z=Object.assign(Object.assign({},k),z)),z}requestDataCheck(e,r,E,z){return!!(!e&&this.url||typeof e=="string")}requestData(e,r,E,z,k){var m;return!k&&this.requestDataCheck(e)?(e&&this.setUrl(e),m=this.generateConfig(E),this.sendRequest(this.url,r,m)):k}setDefaultConfig(e={}){this.config=Object.assign({},Ic.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var r=Object.assign({},this.config);return typeof e=="string"?r.method=e:Object.assign(r,e),r}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,r,E){return this.table.options.ajaxRequesting.call(this.table,e,r)!==!1?this.loaderPromise(e,E,r).then(z=>(this.table.options.ajaxResponse&&(z=this.table.options.ajaxResponse.call(this.table,e,r,z)),z)):Promise.reject()}}Ic.moduleName="ajax";Ic.defaultConfig=lP;Ic.defaultURLGenerator=EM;Ic.defaultLoaderPromise=cP;Ic.contentTypeFormatters=fP;var hP={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)},range:function(n){var e=[],r=this.table.modules.selectRange.activeRange,E=!1,z,k,m,t,d;return d=n.length,r&&(z=r.getBounds(),k=z.start,z.start===z.end&&(E=!0),k&&(e=this.table.rowManager.activeRows.slice(),m=e.indexOf(k.row),E?t=n.length:t=e.indexOf(z.end.row)-m+1,m>-1&&(this.table.blockRedraw(),e=e.slice(m,m+t),e.forEach((y,i)=>{y.updateData(n[i%d])}),this.table.restoreRedraw()))),e}},dP={table:function(n){var e=[],r=!0,E=this.table.columnManager.columns,z=[],k=[];return n=n.split(` `),n.forEach(function(m){e.push(m.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(m){var t=E.find(function(d){return m&&d.definition.title&&m.trim()&&d.definition.title.trim()===m.trim()});t?z.push(t):r=!1}),r||(r=!0,z=[],e[0].forEach(function(m){var t=E.find(function(d){return m&&d.field&&m.trim()&&d.field.trim()===m.trim()});t?z.push(t):r=!1}),r||(z=this.table.columnManager.columnsByIndex)),r&&e.shift(),e.forEach(function(m){var t={};m.forEach(function(d,y){z[y]&&(t[z[y].field]=d)}),k.push(t)}),k):!1},range:function(n){var e=[],r=[],E=this.table.modules.selectRange.activeRange,z=!1,k,m,t,d,y;return E&&(k=E.getBounds(),m=k.start,k.start===k.end&&(z=!0),m&&(n=n.split(` -`),n.forEach(function(i){e.push(i.split(" "))}),e.length&&(d=this.table.columnManager.getVisibleColumnsByIndex(),y=d.indexOf(m.column),y>-1)))?(z?t=e[0].length:t=d.indexOf(k.end.column)-y+1,d=d.slice(y,y+t),e.forEach(i=>{var M={},g=i.length;d.forEach(function(h,l){M[h.field]=i[l%g]}),r.push(M)}),r):!1}};class Wd extends Wi{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var r,E,z;this.blocked||(e.preventDefault(),this.customSelection?(r=this.customSelection,this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r))):(z=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),E=this.table.modules.export.generateHTMLTable(z),r=E?this.generatePlainContent(z):"",this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r),E=this.table.options.clipboardCopyFormatter("html",E))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",r):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",r),E&&e.clipboardData.setData("text/html",E)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",r),E&&e.originalEvent.clipboardData.setData("text/html",E)),this.dispatchExternal("clipboardCopied",r,E),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var r=[];return e.forEach(E=>{var z=[];E.columns.forEach(k=>{var m="";if(k)if(E.type==="group"&&(k.value=k.component.getKey()),k.value===null)m="";else switch(typeof k.value){case"object":m=JSON.stringify(k.value);break;case"undefined":m="";break;default:m=k.value}z.push(m)}),r.push(z.join(" "))}),r.join(` -`)}copy(e,r){var E,z;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),E=window.getSelection(),E.toString()&&r&&(this.customSelection=E.toString()),E.removeAllRanges(),E.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(z=document.body.createTextRange(),z.moveToElementText(this.table.element),z.select()),document.execCommand("copy"),E&&E.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=Wd.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=Wd.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var r,E,z;this.checkPasteOrigin(e)&&(r=this.getPasteData(e),E=this.pasteParser.call(this,r),E?(e.preventDefault(),this.table.modExists("mutator")&&(E=this.mutateData(E)),z=this.pasteAction.call(this,E),this.dispatchExternal("clipboardPasted",r,E,z)):this.dispatchExternal("clipboardPasteError",r))}mutateData(e){var r=[];return Array.isArray(e)?e.forEach(E=>{r.push(this.table.modules.mutator.transformRow(E,"clipboard"))}):r=e,r}checkPasteOrigin(e){var r=!0,E=this.confirm("clipboard-paste",[e]);return(E||!["DIV","SPAN"].includes(e.target.tagName))&&(r=!1),r}getPasteData(e){var r;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(r=e.originalEvent.clipboardData.getData("text/plain")),r}}Wd.moduleName="clipboard";Wd.pasteActions=hO;Wd.pasteParsers=dO;class pO{constructor(e){return this._row=e,new Proxy(this,{get:function(r,E,z){return typeof r[E]<"u"?r[E]:r._row.table.componentFunctionBinder.handle("row",r._row,E)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}_getSelf(){return this._row}}class LM{constructor(e){return this._cell=e,new Proxy(this,{get:function(r,E,z){return typeof r[E]<"u"?r[E]:r._cell.table.componentFunctionBinder.handle("cell",r._cell,E)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,r){typeof r>"u"&&(r=!0),this._cell.setValue(e,r)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class eg extends Ml{constructor(e,r){super(e.table),this.table=e.table,this.column=e,this.row=r,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell")}_configureCell(){var e=this.element,r=this.column.getField(),E={top:"flex-start",bottom:"flex-end",middle:"center"},z={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=E[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=z[this.column.hozAlign]||"")),r&&e.setAttribute("tabulator-field",r),this.column.definition.cssClass){var k=this.column.definition.cssClass.split(" ");k.forEach(m=>{e.classList.add(m)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,r,E){var z=this.setValueProcessData(e,r,E);z&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,r,E){var z=!1;return(this.value!==e||E)&&(z=!0,r&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),z&&this.dispatch("cell-value-changed",this),z}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new LM(this)),this.component}}class IM{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(r,E,z){return typeof r[E]<"u"?r[E]:r._column.table.componentFunctionBinder.handle("column",r._column,E)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(r){e.push(r.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(r){e.push(r.getComponent())}),e}getParentColumn(){return this._column.parent instanceof vf?this._column.parent.getComponent():!1}_getSelf(){return this._column}scrollTo(e,r){return this._column.table.columnManager.scrollToColumn(this._column,e,r)}getTable(){return this._column.table}move(e,r){var E=this._column.table.columnManager.findColumn(e);E?this._column.table.columnManager.moveColumn(this._column,E,r):console.warn("Move Error - No matching column found:",E)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var r;return e===!0?r=this._column.reinitializeWidth(!0):r=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),r}}var OM={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class vf extends Ml{constructor(e,r){super(r.table),this.definition=e,this.parent=r,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((E,z)=>{var k=new vf(E,this);this.attachColumn(k)}),this.checkColumnVisibility()):r.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let r in e)typeof this.definition[r]>"u"&&(this.definition[r]=e[r]);this.definition=this.table.columnManager.optionsList.generate(vf.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{vf.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var r=e.cssClass.split(" ");r.forEach(E=>{this.element.classList.add(E)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,r=document.createElement("div");if(r.classList.add("tabulator-col-title"),e.headerWordWrap&&r.classList.add("tabulator-col-title-wrap"),e.editableTitle){var E=document.createElement("input");E.classList.add("tabulator-title-editor"),E.addEventListener("click",z=>{z.stopPropagation(),E.focus()}),E.addEventListener("mousedown",z=>{z.stopPropagation()}),E.addEventListener("change",()=>{e.title=E.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),r.appendChild(E),e.field?this.langBind("columns|"+e.field,z=>{E.value=z||e.title||" "}):E.value=e.title||" "}else e.field?this.langBind("columns|"+e.field,z=>{this._formatColumnHeaderTitle(r,z||e.title||" ")}):this._formatColumnHeaderTitle(r,e.title||" ");return r}_formatColumnHeaderTitle(e,r){var E=this.chain("column-format",[this,r,e],null,()=>r);switch(typeof E){case"object":E instanceof Node?e.appendChild(E):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",E));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=E}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(r=>{this.element.classList.add(r)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var r=e,E=this.fieldStructure,z=E.length,k;for(let m=0;m{r.push(E),r=r.concat(E.getColumns(!0))}):r=this.columns,r}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var r=[];return this.isGroup&&e&&(this.columns.forEach(function(E){r.push(E.getDefinition(!0))}),this.definition.columns=r),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(r){r.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,r){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(E){E.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,r){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(E){E.hide()}),this.dispatch("column-hide",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var r=this.columns.indexOf(e);r>-1&&this.columns.splice(r,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(r){r.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this)}checkCellHeights(){var e=[];this.cells.forEach(function(r){r.row.heightInitialized&&(r.row.getElement().offsetParent!==null?(e.push(r.row),r.row.clearCellHeight()):r.row.heightInitialized=!1)}),e.forEach(function(r){r.calcHeight()}),e.forEach(function(r){r.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(r){r.setMinWidth()})}setMaxWidth(e){this.minWidth&&e{this.isGroup&&this.columns.forEach(function(z){z.delete()}),this.dispatch("column-delete",this);var E=this.cells.length;for(let z=0;z-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(z=>{z.clearWidth()}));var r=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(z=>{var k=z.getWidth();k>r&&(r=k)}),r)){var E=r+1;this.maxInitialWidth&&!e&&(E=Math.min(E,this.maxInitialWidth)),this.setWidthActual(E)}}}updateDefinition(e){var r;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},this.getDefinition()),r=Object.assign(r,e),this.table.columnManager.addColumn(r,!1,this).then(E=>(r.field==this.field&&(this.field=!1),this.delete().then(()=>E.getComponent()))))}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}getComponent(){return this.component||(this.component=new IM(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}}vf.defaultOptionList=OM;class qy{constructor(e){return this._row=e,new Proxy(this,{get:function(r,E,z){return typeof r[E]<"u"?r[E]:r._row.table.componentFunctionBinder.handle("row",r._row,E)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,r){return this._row.table.rowManager.scrollToRow(this._row,e,r)}move(e,r){this._row.moveToRow(e,r)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class yl extends Ml{constructor(e,r,E="row"){super(r.table),this.parent=r,this.data={},this.type=E,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,r){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,r),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,r)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var r=0,E;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(E=this.table.options.resizableRows?this.element.clientHeight:0,this.cells.forEach(function(z){var k=z.getHeight();k>r&&(r=k)}),e?this.height=Math.max(r,E):this.height=this.manualHeight?this.height:Math.max(r,E)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,r){(this.height!=e||r)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var r=this.element&&oo.elVisible(this.element),E={},z;return new Promise((k,m)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(E=Object.assign(E,this.data),E=Object.assign(E,e)),z=this.chain("row-data-changing",[this,E,e],null,e);for(let t in z)this.data[t]=z[t];this.dispatch("row-data-save-after",this);for(let t in e)this.table.columnManager.getColumnsByFieldRoot(t).forEach(y=>{let i=this.getCell(y.getField());if(i){let M=y.getFieldValue(z);i.getValue()!==M&&(i.setValueProcessData(M),r&&i.cellRendered())}});r?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,r,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),k()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var r=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),r=this.cells.find(function(E){return E.column===e}),r}getCellIndex(e){return this.cells.findIndex(function(r){return r===e})}findCell(e){return this.cells.find(r=>r.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,r){var E=this.table.rowManager.findRow(e);E?(this.table.rowManager.moveRowActual(this,E,!r),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let r=0;r{r(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new qy(this)),this.component}}var mO={avg:function(n,e,r){var E=0,z=typeof r.precision<"u"?r.precision:2;return n.length&&(E=n.reduce(function(k,m){return Number(k)+Number(m)}),E=E/n.length,E=z!==!1?E.toFixed(z):E),parseFloat(E).toString()},max:function(n,e,r){var E=null,z=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(k){k=Number(k),(k>E||E===null)&&(E=k)}),E!==null?z!==!1?E.toFixed(z):E:""},min:function(n,e,r){var E=null,z=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(k){k=Number(k),(k(n||z===0)&&n.indexOf(z)===k);return E.length}};class zh extends Wi{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new vf({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,r){return this.topRow&&r.unshift(this.topRow),this.botRow&&r.push(this.botRow),r}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var r=e.definition,E={topCalcParams:r.topCalcParams||{},botCalcParams:r.bottomCalcParams||{}};if(r.topCalc){switch(typeof r.topCalc){case"string":zh.calculations[r.topCalc]?E.topCalc=zh.calculations[r.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.topCalc);break;case"function":E.topCalc=r.topCalc;break}E.topCalc&&(e.modules.columnCalcs=E,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(r.bottomCalc){switch(typeof r.bottomCalc){case"string":zh.calculations[r.bottomCalc]?E.botCalc=zh.calculations[r.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.bottomCalc);break;case"function":E.botCalc=r.bottomCalc;break}E.botCalc&&(e.modules.columnCalcs=E,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var r,E;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(r=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),E=this.generateRow("top",r),this.topRow=E;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(E.getElement()),E.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),E=this.generateRow("bottom",r),this.botRow=E;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(E.getElement()),E.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(r=>{this.recalcGroup(r)})}}recalcGroup(e){var r,E;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(r=this.rowsToData(e.rows),E=this.generateRowData("bottom",r),e.calcs.bottom.updateData(E),e.calcs.bottom.reinitialize()),e.calcs.top&&(r=this.rowsToData(e.rows),E=this.generateRowData("top",r),e.calcs.top.updateData(E),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var r=[];return e.forEach(E=>{if(r.push(E.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&E.modules.dataTree&&E.modules.dataTree.open){var z=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(E));r=r.concat(z)}}),r}generateRow(e,r){var E=this.generateRowData(e,r),z;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),z=new yl(E,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),z.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),z.component=!1,z.getComponent=()=>(z.component||(z.component=new pO(z)),z.component),z.generateCells=()=>{var k=[];this.table.columnManager.columnsByIndex.forEach(m=>{this.genColumn.setField(m.getField()),this.genColumn.hozAlign=m.hozAlign,m.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(m.definition[e+"CalcFormatter"]),params:m.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=m.definition.cssClass;var t=new eg(this.genColumn,z);t.getElement(),t.column=m,t.setWidth(),m.cells.push(t),k.push(t),m.visible||t.hide()}),z.cells=k},z}generateRowData(e,r){var E={},z=e=="top"?this.topCalcs:this.botCalcs,k=e=="top"?"topCalc":"botCalc",m,t;return z.forEach(function(d){var y=[];d.modules.columnCalcs&&d.modules.columnCalcs[k]&&(r.forEach(function(i){y.push(d.getFieldValue(i))}),t=k+"Params",m=typeof d.modules.columnCalcs[t]=="function"?d.modules.columnCalcs[t](y,r):d.modules.columnCalcs[t],d.setFieldValue(E,d.modules.columnCalcs[k](y,r,m)))}),E}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},r;return this.table.options.groupBy&&this.table.modExists("groupRows")?(r=this.table.modules.groupRows.getGroups(!0),r.forEach(E=>{e[E.getKey()]=this.getGroupResults(E)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var r=e._getSelf(),E=e.getSubGroups(),z={},k={};return E.forEach(m=>{z[m.getKey()]=this.getGroupResults(m)}),k={top:r.calcs.top?r.calcs.top.getData():{},bottom:r.calcs.bottom?r.calcs.bottom.getData():{},groups:z},k}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}zh.moduleName="columnCalcs";zh.calculations=mO;class PM extends Wi{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,r=this.table.options;switch(this.field=r.dataTreeChildField,this.indent=r.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),r.dataTreeBranchElement?r.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof r.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=r.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),r.dataTreeCollapseElement?typeof r.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=r.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="
"),r.dataTreeExpandElement?typeof r.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=r.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),typeof r.dataTreeStartExpanded){case"boolean":this.startOpen=function(E,z){return r.dataTreeStartExpanded};break;case"function":this.startOpen=r.dataTreeStartExpanded;break;default:this.startOpen=function(E,z){return r.dataTreeStartExpanded[z]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var r;e&&(r=this.table.rowManager.getRows(),r.forEach(E=>{this.reinitializeRowChildren(E)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(r=>{e=e.concat(this.getTreeChildren(r,!1,!0))}),e}rowDataChanged(e,r,E){this.redrawNeeded(E)&&(this.initializeRow(e),r&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var r=e.column.getField();r===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var r=e.getData()[this.field],E=Array.isArray(r),z=E||!E&&typeof r=="object"&&r!==null;!z&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!z&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:z?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&z?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&z?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:z}}reinitializeRowChildren(e){var r=this.getTreeChildren(e,!1,!0);r.forEach(function(E){E.reinitialize(!0)})}layoutRow(e){var r=this.elementField?e.getCell(this.elementField):e.getCells()[0],E=r.getElement(),z=e.modules.dataTree;z.branchEl&&(z.branchEl.parentNode&&z.branchEl.parentNode.removeChild(z.branchEl),z.branchEl=!1),z.controlEl&&(z.controlEl.parentNode&&z.controlEl.parentNode.removeChild(z.controlEl),z.controlEl=!1),this.generateControlElement(e,E),e.getElement().classList.add("tabulator-tree-level-"+z.index),z.index&&(this.branchEl?(z.branchEl=this.branchEl.cloneNode(!0),E.insertBefore(z.branchEl,E.firstChild),this.table.rtl?z.branchEl.style.marginRight=(z.branchEl.offsetWidth+z.branchEl.style.marginLeft)*(z.index-1)+z.index*this.indent+"px":z.branchEl.style.marginLeft=(z.branchEl.offsetWidth+z.branchEl.style.marginRight)*(z.index-1)+z.index*this.indent+"px"):this.table.rtl?E.style.paddingRight=parseInt(window.getComputedStyle(E,null).getPropertyValue("padding-right"))+z.index*this.indent+"px":E.style.paddingLeft=parseInt(window.getComputedStyle(E,null).getPropertyValue("padding-left"))+z.index*this.indent+"px")}generateControlElement(e,r){var E=e.modules.dataTree,z=E.controlEl;r=r||e.getCells()[0].getElement(),E.children!==!1&&(E.open?(E.controlEl=this.collapseEl.cloneNode(!0),E.controlEl.addEventListener("click",k=>{k.stopPropagation(),this.collapseRow(e)})):(E.controlEl=this.expandEl.cloneNode(!0),E.controlEl.addEventListener("click",k=>{k.stopPropagation(),this.expandRow(e)})),E.controlEl.addEventListener("mousedown",k=>{k.stopPropagation()}),z&&z.parentNode===r?z.parentNode.replaceChild(E.controlEl,z):r.insertBefore(E.controlEl,r.firstChild))}getRows(e){var r=[];return e.forEach((E,z)=>{var k,m;r.push(E),E instanceof yl&&(E.create(),k=E.modules.dataTree,!k.index&&k.children!==!1&&(m=this.getChildren(E),m.forEach(t=>{t.create(),r.push(t)})))}),r}getChildren(e,r){var E=e.modules.dataTree,z=[],k=[];return E.children!==!1&&(E.open||r)&&(Array.isArray(E.children)||(E.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?z=this.table.modules.filter.filter(E.children):z=E.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(z),z.forEach(m=>{k.push(m);var t=this.getChildren(m);t.forEach(d=>{k.push(d)})})),k}generateChildren(e){var r=[],E=e.getData()[this.field];return Array.isArray(E)||(E=[E]),E.forEach(z=>{var k=new yl(z||{},this.table.rowManager);k.create(),k.modules.dataTree.index=e.modules.dataTree.index+1,k.modules.dataTree.parent=e,k.modules.dataTree.children&&(k.modules.dataTree.open=this.startOpen(k.getComponent(),k.modules.dataTree.index)),r.push(k)}),r}expandRow(e,r){var E=e.modules.dataTree;E.children!==!1&&(E.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var r=e.modules.dataTree,E=[],z;return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?z=this.table.modules.filter.filter(r.children):z=r.children,z.forEach(k=>{k instanceof yl&&E.push(k)})),E}rowDelete(e){var r=e.modules.dataTree.parent,E;r&&(E=this.findChildIndex(e,r),E!==!1&&r.data[this.field].splice(E,1),r.data[this.field].length||delete r.data[this.field],this.initializeRow(r),this.layoutRow(r)),this.refreshData(!0)}addTreeChildRow(e,r,E,z){var k=!1;typeof r=="string"&&(r=JSON.parse(r)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof z<"u"&&(k=this.findChildIndex(z,e),k!==!1&&e.data[this.field].splice(E?k:k+1,0,r)),k===!1&&(E?e.data[this.field].unshift(r):e.data[this.field].push(r)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,r){var E=!1;return typeof e=="object"?e instanceof yl?E=e.data:e instanceof qy?E=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?r.modules.dataTree&&(E=r.modules.dataTree.children.find(z=>z instanceof yl?z.element===e:!1),E&&(E=E.data)):e===null&&(E=!1):typeof e>"u"?E=!1:E=r.data[this.field].find(z=>z.data[this.table.options.index]==e),E&&(Array.isArray(r.data[this.field])&&(E=r.data[this.field].indexOf(E)),E==-1&&(E=!1)),E}getTreeChildren(e,r,E){var z=e.modules.dataTree,k=[];return z&&z.children&&(Array.isArray(z.children)||(z.children=this.generateChildren(e)),z.children.forEach(m=>{m instanceof yl&&(k.push(r?m.getComponent():m),E&&(k=k.concat(this.getTreeChildren(m,r,E))))})),k}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}PM.moduleName="dataTree";function gO(n,e={},r){var E=e.delimiter?e.delimiter:",",z=[],k=[];n.forEach(m=>{var t=[];switch(m.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":m.columns.forEach((d,y)=>{d&&d.depth===1&&(k[y]=typeof d.value>"u"||d.value===null?"":'"'+String(d.value).split('"').join('""')+'"')});break;case"row":m.columns.forEach(d=>{if(d){switch(typeof d.value){case"object":d.value=d.value!==null?JSON.stringify(d.value):"";break;case"undefined":d.value="";break}t.push('"'+String(d.value).split('"').join('""')+'"')}}),z.push(t.join(E));break}}),k.length&&z.unshift(k.join(E)),z=z.join(` -`),e.bom&&(z="\uFEFF"+z),r(z,"text/csv")}function vO(n,e,r){var E=[];n.forEach(z=>{var k={};switch(z.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":z.columns.forEach(m=>{m&&(k[m.component.getTitleDownload()||m.component.getField()]=m.value)}),E.push(k);break}}),E=JSON.stringify(E,null," "),r(E,"application/json")}function yO(n,e={},r){var E=[],z=[],k={},m=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},t=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},d=e.jsPDF||{},y=e.title?e.title:"";d.orientation||(d.orientation=e.orientation||"landscape"),d.unit||(d.unit="pt"),n.forEach(g=>{switch(g.type){case"header":E.push(i(g));break;case"group":z.push(i(g,m));break;case"calc":z.push(i(g,t));break;case"row":z.push(i(g));break}});function i(g,h){var l=[];return g.columns.forEach(a=>{var u;if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}u={content:a.value,colSpan:a.width,rowSpan:a.height},h&&(u.styles=h),l.push(u)}}),l}var M=new jspdf.jsPDF(d);e.autoTable&&(typeof e.autoTable=="function"?k=e.autoTable(M)||{}:k=e.autoTable),y&&(k.didDrawPage=function(g){M.text(y,40,30)}),k.head=E,k.body=z,M.autoTable(k),e.documentProcessing&&e.documentProcessing(M),r(M.output("arraybuffer"),"application/pdf")}function bO(n,e,r){var E=this,z=e.sheetName||"Sheet1",k=XLSX.utils.book_new(),m=new Ml(this),t="compress"in e?e.compress:!0,d=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:t},y;d.type="binary",k.SheetNames=[],k.Sheets={};function i(){var h=[],l=[],a={},u={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((o,s)=>o+(s&&s.width?s.width:1),0):0,r:n.length}};return n.forEach((o,s)=>{var f=[];o.columns.forEach(function(c,p){c?(f.push(!(c.value instanceof Date)&&typeof c.value=="object"?JSON.stringify(c.value):c.value),(c.width>1||c.height>-1)&&(c.height>1||c.width>1)&&l.push({s:{r:s,c:p},e:{r:s+c.height-1,c:p+c.width-1}})):f.push("")}),h.push(f)}),XLSX.utils.sheet_add_aoa(a,h),a["!ref"]=XLSX.utils.encode_range(u),l.length&&(a["!merges"]=l),a}if(e.sheetOnly){r(i());return}if(e.sheets)for(var M in e.sheets)e.sheets[M]===!0?(k.SheetNames.push(M),k.Sheets[M]=i()):(k.SheetNames.push(M),m.commsSend(e.sheets[M],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:E.active,intercept:function(h){k.Sheets[M]=h}}));else k.SheetNames.push(z),k.Sheets[z]=i();e.documentProcessing&&(k=e.documentProcessing(k));function g(h){for(var l=new ArrayBuffer(h.length),a=new Uint8Array(l),u=0;u!=h.length;++u)a[u]=h.charCodeAt(u)&255;return l}y=XLSX.write(k,d),r(g(y),"application/octet-stream")}function xO(n,e,r){this.modExists("export",!0)&&r(this.modules.export.generateHTMLTable(n),"text/html")}function _O(n,e,r){const E=[];n.forEach(z=>{const k={};switch(z.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":z.columns.forEach(m=>{m&&(k[m.component.getTitleDownload()||m.component.getField()]=m.value)}),E.push(JSON.stringify(k));break}}),r(E.join(` -`),"application/x-ndjson")}var wO={csv:gO,json:vO,jsonLines:_O,pdf:yO,xlsx:bO,html:xO};class a0 extends Wi{constructor(e){super(e),this.registerTableOption("downloadEncoder",function(r,E){return new Blob([r],{type:E})}),this.registerTableOption("downloadReady",void 0),this.registerTableOption("downloadConfig",{}),this.registerTableOption("downloadRowRange","active"),this.registerColumnOption("download"),this.registerColumnOption("titleDownload")}initialize(){this.deprecatedOptionsCheck(),this.registerTableFunction("download",this.download.bind(this)),this.registerTableFunction("downloadToTab",this.downloadToTab.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("downloadReady","downloadEncoder")}downloadToTab(e,r,E,z){this.download(e,r,E,z,!0)}download(e,r,E,z,k){var m=!1;function t(y,i){k?k===!0?this.triggerDownload(y,i,e,r,!0):k(y):this.triggerDownload(y,i,e,r)}if(typeof e=="function"?m=e:a0.downloaders[e]?m=a0.downloaders[e]:console.warn("Download Error - No such download type found: ",e),m){var d=this.generateExportList(z);m.call(this.table,d,E||{},t.bind(this))}}generateExportList(e){var r=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),E=this.table.options.groupHeaderDownload;return E&&!Array.isArray(E)&&(E=[E]),r.forEach(z=>{var k;z.type==="group"&&(k=z.columns[0],E&&E[z.indent]&&(k.value=E[z.indent](k.value,z.component._group.getRowCount(),z.component._group.getData(),z.component)))}),r}triggerDownload(e,r,E,z,k){var m=document.createElement("a"),t=this.table.options.downloadEncoder(e,r);t&&(k?window.open(window.URL.createObjectURL(t)):(z=z||"Tabulator."+(typeof E=="function"?"txt":E),navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,z):(m.setAttribute("href",window.URL.createObjectURL(t)),m.setAttribute("download",z),m.style.display="none",document.body.appendChild(m),m.click(),document.body.removeChild(m))),this.dispatchExternal("downloadComplete"))}commsReceived(e,r,E){switch(r){case"intercept":this.download(E.type,"",E.options,E.active,E.intercept);break}}}a0.moduleName="download";a0.downloaders=wO;function Yy(n,e){var r=e.mask,E=typeof e.maskLetterChar<"u"?e.maskLetterChar:"A",z=typeof e.maskNumberChar<"u"?e.maskNumberChar:"9",k=typeof e.maskWildcardChar<"u"?e.maskWildcardChar:"*";function m(t){var d=r[t];typeof d<"u"&&d!==k&&d!==E&&d!==z&&(n.value=n.value+""+d,m(t+1))}n.addEventListener("keydown",t=>{var d=n.value.length,y=t.key;if(t.keyCode>46&&!t.ctrlKey&&!t.metaKey){if(d>=r.length)return t.preventDefault(),t.stopPropagation(),!1;switch(r[d]){case E:if(y.toUpperCase()==y.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1;break;case z:if(isNaN(y))return t.preventDefault(),t.stopPropagation(),!1;break;case k:break;default:if(y!==r[d])return t.preventDefault(),t.stopPropagation(),!1}}}),n.addEventListener("keyup",t=>{t.keyCode>46&&e.maskAutoFill&&m(n.value.length)}),n.placeholder||(n.placeholder=r),e.maskAutoFill&&m(n.value.length)}function TO(n,e,r,E,z){var k=n.getValue(),m=document.createElement("input");if(m.setAttribute("type",z.search?"search":"text"),m.style.padding="4px",m.style.width="100%",m.style.boxSizing="border-box",z.elementAttributes&&typeof z.elementAttributes=="object")for(let d in z.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),m.setAttribute(d,m.getAttribute(d)+z.elementAttributes["+"+d])):m.setAttribute(d,z.elementAttributes[d]);m.value=typeof k<"u"?k:"",e(function(){n.getType()==="cell"&&(m.focus({preventScroll:!0}),m.style.height="100%",z.selectContents&&m.select())});function t(d){(k===null||typeof k>"u")&&m.value!==""||m.value!==k?r(m.value)&&(k=m.value):E()}return m.addEventListener("change",t),m.addEventListener("blur",t),m.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:E();break;case 35:case 36:d.stopPropagation();break}}),z.mask&&Yy(m,z),m}function kO(n,e,r,E,z){var k=n.getValue(),m=z.verticalNavigation||"hybrid",t=String(k!==null&&typeof k<"u"?k:""),d=document.createElement("textarea"),y=0;if(d.style.display="block",d.style.padding="2px",d.style.height="100%",d.style.width="100%",d.style.boxSizing="border-box",d.style.whiteSpace="pre-wrap",d.style.resize="none",z.elementAttributes&&typeof z.elementAttributes=="object")for(let M in z.elementAttributes)M.charAt(0)=="+"?(M=M.slice(1),d.setAttribute(M,d.getAttribute(M)+z.elementAttributes["+"+M])):d.setAttribute(M,z.elementAttributes[M]);d.value=t,e(function(){n.getType()==="cell"&&(d.focus({preventScroll:!0}),d.style.height="100%",d.scrollHeight,d.style.height=d.scrollHeight+"px",n.getRow().normalizeHeight(),z.selectContents&&d.select())});function i(M){(k===null||typeof k>"u")&&d.value!==""||d.value!==k?(r(d.value)&&(k=d.value),setTimeout(function(){n.getRow().normalizeHeight()},300)):E()}return d.addEventListener("change",i),d.addEventListener("blur",i),d.addEventListener("keyup",function(){d.style.height="";var M=d.scrollHeight;d.style.height=M+"px",M!=y&&(y=M,n.getRow().normalizeHeight())}),d.addEventListener("keydown",function(M){switch(M.keyCode){case 13:M.shiftKey&&z.shiftEnterSubmit&&i();break;case 27:E();break;case 38:(m=="editor"||m=="hybrid"&&d.selectionStart)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 40:(m=="editor"||m=="hybrid"&&d.selectionStart!==d.value.length)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 35:case 36:M.stopPropagation();break}}),z.mask&&Yy(d,z),d}function MO(n,e,r,E,z){var k=n.getValue(),m=z.verticalNavigation||"editor",t=document.createElement("input");if(t.setAttribute("type","number"),typeof z.max<"u"&&t.setAttribute("max",z.max),typeof z.min<"u"&&t.setAttribute("min",z.min),typeof z.step<"u"&&t.setAttribute("step",z.step),t.style.padding="4px",t.style.width="100%",t.style.boxSizing="border-box",z.elementAttributes&&typeof z.elementAttributes=="object")for(let i in z.elementAttributes)i.charAt(0)=="+"?(i=i.slice(1),t.setAttribute(i,t.getAttribute(i)+z.elementAttributes["+"+i])):t.setAttribute(i,z.elementAttributes[i]);t.value=k;var d=function(i){y()};e(function(){n.getType()==="cell"&&(t.removeEventListener("blur",d),t.focus({preventScroll:!0}),t.style.height="100%",t.addEventListener("blur",d),z.selectContents&&t.select())});function y(){var i=t.value;!isNaN(i)&&i!==""&&(i=Number(i)),i!==k?r(i)&&(k=i):E()}return t.addEventListener("keydown",function(i){switch(i.keyCode){case 13:y();break;case 27:E();break;case 38:case 40:m=="editor"&&(i.stopImmediatePropagation(),i.stopPropagation());break;case 35:case 36:i.stopPropagation();break}}),z.mask&&Yy(t,z),t}function AO(n,e,r,E,z){var k=n.getValue(),m=document.createElement("input");if(m.setAttribute("type","range"),typeof z.max<"u"&&m.setAttribute("max",z.max),typeof z.min<"u"&&m.setAttribute("min",z.min),typeof z.step<"u"&&m.setAttribute("step",z.step),m.style.padding="4px",m.style.width="100%",m.style.boxSizing="border-box",z.elementAttributes&&typeof z.elementAttributes=="object")for(let d in z.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),m.setAttribute(d,m.getAttribute(d)+z.elementAttributes["+"+d])):m.setAttribute(d,z.elementAttributes[d]);m.value=k,e(function(){n.getType()==="cell"&&(m.focus({preventScroll:!0}),m.style.height="100%")});function t(){var d=m.value;!isNaN(d)&&d!==""&&(d=Number(d)),d!=k?r(d)&&(k=d):E()}return m.addEventListener("blur",function(d){t()}),m.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:E();break}}),m}function SO(n,e,r,E,z){var k=z.format,m=z.verticalNavigation||"editor",t=k?window.DateTime||luxon.DateTime:null,d=n.getValue(),y=document.createElement("input");function i(g){var h;return t.isDateTime(g)?h=g:k==="iso"?h=t.fromISO(String(g)):h=t.fromFormat(String(g),k),h.toFormat("yyyy-MM-dd")}if(y.type="date",y.style.padding="4px",y.style.width="100%",y.style.boxSizing="border-box",z.max&&y.setAttribute("max",k?i(z.max):z.max),z.min&&y.setAttribute("min",k?i(z.min):z.min),z.elementAttributes&&typeof z.elementAttributes=="object")for(let g in z.elementAttributes)g.charAt(0)=="+"?(g=g.slice(1),y.setAttribute(g,y.getAttribute(g)+z.elementAttributes["+"+g])):y.setAttribute(g,z.elementAttributes[g]);d=typeof d<"u"?d:"",k&&(t?d=i(d):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),y.value=d,e(function(){n.getType()==="cell"&&(y.focus({preventScroll:!0}),y.style.height="100%",z.selectContents&&y.select())});function M(){var g=y.value,h;if((d===null||typeof d>"u")&&g!==""||g!==d){if(g&&k)switch(h=t.fromFormat(String(g),"yyyy-MM-dd"),k){case!0:g=h;break;case"iso":g=h.toISO();break;default:g=h.toFormat(k)}r(g)&&(d=y.value)}else E()}return y.addEventListener("blur",function(g){(g.relatedTarget||g.rangeParent||g.explicitOriginalTarget!==y)&&M()}),y.addEventListener("keydown",function(g){switch(g.keyCode){case 13:M();break;case 27:E();break;case 35:case 36:g.stopPropagation();break;case 38:case 40:m=="editor"&&(g.stopImmediatePropagation(),g.stopPropagation());break}}),y}function CO(n,e,r,E,z){var k=z.format,m=z.verticalNavigation||"editor",t=k?window.DateTime||luxon.DateTime:null,d,y=n.getValue(),i=document.createElement("input");if(i.type="time",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",z.elementAttributes&&typeof z.elementAttributes=="object")for(let g in z.elementAttributes)g.charAt(0)=="+"?(g=g.slice(1),i.setAttribute(g,i.getAttribute(g)+z.elementAttributes["+"+g])):i.setAttribute(g,z.elementAttributes[g]);y=typeof y<"u"?y:"",k&&(t?(t.isDateTime(y)?d=y:k==="iso"?d=t.fromISO(String(y)):d=t.fromFormat(String(y),k),y=d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),console.log("val",y),i.value=y,e(function(){n.getType()=="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",z.selectContents&&i.select())});function M(){var g=i.value,h;if((y===null||typeof y>"u")&&g!==""||g!==y){if(g&&k)switch(h=t.fromFormat(String(g),"hh:mm"),k){case!0:g=h;break;case"iso":g=h.toISO();break;default:g=h.toFormat(k)}r(g)&&(y=i.value)}else E()}return i.addEventListener("blur",function(g){(g.relatedTarget||g.rangeParent||g.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(g){switch(g.keyCode){case 13:M();break;case 27:E();break;case 35:case 36:g.stopPropagation();break;case 38:case 40:m=="editor"&&(g.stopImmediatePropagation(),g.stopPropagation());break}}),i}function EO(n,e,r,E,z){var k=z.format,m=z.verticalNavigation||"editor",t=k?window.DateTime||luxon.DateTime:null,d,y=n.getValue(),i=document.createElement("input");if(i.type="datetime-local",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",z.elementAttributes&&typeof z.elementAttributes=="object")for(let g in z.elementAttributes)g.charAt(0)=="+"?(g=g.slice(1),i.setAttribute(g,i.getAttribute(g)+z.elementAttributes["+"+g])):i.setAttribute(g,z.elementAttributes[g]);y=typeof y<"u"?y:"",k&&(t?(t.isDateTime(y)?d=y:k==="iso"?d=t.fromISO(String(y)):d=t.fromFormat(String(y),k),y=d.toFormat("yyyy-MM-dd")+"T"+d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=y,e(function(){n.getType()==="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",z.selectContents&&i.select())});function M(){var g=i.value,h;if((y===null||typeof y>"u")&&g!==""||g!==y){if(g&&k)switch(h=t.fromISO(String(g)),k){case!0:g=h;break;case"iso":g=h.toISO();break;default:g=h.toFormat(k)}r(g)&&(y=i.value)}else E()}return i.addEventListener("blur",function(g){(g.relatedTarget||g.rangeParent||g.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(g){switch(g.keyCode){case 13:M();break;case 27:E();break;case 35:case 36:g.stopPropagation();break;case 38:case 40:m=="editor"&&(g.stopImmediatePropagation(),g.stopPropagation());break}}),i}class G2{constructor(e,r,E,z,k,m){this.edit=e,this.table=e.table,this.cell=r,this.params=this._initializeParams(m),this.data=[],this.displayItems=[],this.currentItems=[],this.focusedItem=null,this.input=this._createInputElement(),this.listEl=this._createListElement(),this.initialValues=null,this.isFilter=r.getType()==="header",this.filterTimeout=null,this.filtered=!1,this.typing=!1,this.values=[],this.popup=null,this.listIteration=0,this.lastAction="",this.filterTerm="",this.blurable=!0,this.actions={success:z,cancel:k},this._deprecatedOptionsCheck(),this._initializeValue(),E(this._onRendered.bind(this))}_deprecatedOptionsCheck(){this.params.listItemFormatter&&this.cell.getTable().deprecationAdvisor.msg("The listItemFormatter editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.sortValuesList&&this.cell.getTable().deprecationAdvisor.msg("The sortValuesList editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchFunc&&this.cell.getTable().deprecationAdvisor.msg("The searchFunc editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchingPlaceholder&&this.cell.getTable().deprecationAdvisor.msg("The searchingPlaceholder editor param has been deprecated, please see the latest editor documentation for updated options")}_initializeValue(){var e=this.cell.getValue();typeof e>"u"&&typeof this.params.defaultValue<"u"&&(e=this.params.defaultValue),this.initialValues=this.params.multiselect?e:[e],this.isFilter&&(this.input.value=this.initialValues?this.initialValues.join(","):"",this.headerFilterInitialListGen())}_onRendered(){var e=this.cell.getElement();function r(E){E.stopPropagation()}this.isFilter||(this.input.style.height="100%",this.input.focus({preventScroll:!0})),e.addEventListener("click",r),setTimeout(()=>{e.removeEventListener("click",r)},1e3),this.input.addEventListener("mousedown",this._preventPopupBlur.bind(this))}_createListElement(){var e=document.createElement("div");return e.classList.add("tabulator-edit-list"),e.addEventListener("mousedown",this._preventBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e}_setListWidth(){var e=this.isFilter?this.input:this.cell.getElement();this.listEl.style.minWidth=e.offsetWidth+"px",this.params.maxWidth&&(this.params.maxWidth===!0?this.listEl.style.maxWidth=e.offsetWidth+"px":typeof this.params.maxWidth=="number"?this.listEl.style.maxWidth=this.params.maxWidth+"px":this.listEl.style.maxWidth=this.params.maxWidth)}_createInputElement(){var e=this.params.elementAttributes,r=document.createElement("input");if(r.setAttribute("type",this.params.clearable?"search":"text"),r.style.padding="4px",r.style.width="100%",r.style.boxSizing="border-box",this.params.autocomplete||(r.style.cursor="default",r.style.caretColor="transparent"),e&&typeof e=="object")for(let E in e)E.charAt(0)=="+"?(E=E.slice(1),r.setAttribute(E,r.getAttribute(E)+e["+"+E])):r.setAttribute(E,e[E]);return this.params.mask&&Yy(r,this.params),this._bindInputEvents(r),r}_initializeParams(e){var r=["values","valuesURL","valuesLookup"],E;return e=Object.assign({},e),e.verticalNavigation=e.verticalNavigation||"editor",e.placeholderLoading=typeof e.placeholderLoading>"u"?"Searching ...":e.placeholderLoading,e.placeholderEmpty=typeof e.placeholderEmpty>"u"?"No Results Found":e.placeholderEmpty,e.filterDelay=typeof e.filterDelay>"u"?300:e.filterDelay,e.emptyValue=Object.keys(e).includes("emptyValue")?e.emptyValue:"",E=Object.keys(e).filter(z=>r.includes(z)).length,E?E>1&&console.warn("list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"):console.warn("list editor config error - either the values, valuesURL, or valuesLookup option must be set"),e.autocomplete?e.multiselect&&(e.multiselect=!1,console.warn("list editor config error - multiselect option is not available when autocomplete is enabled")):(e.freetext&&(e.freetext=!1,console.warn("list editor config error - freetext option is only available when autocomplete is enabled")),e.filterFunc&&(e.filterFunc=!1,console.warn("list editor config error - filterFunc option is only available when autocomplete is enabled")),e.filterRemote&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option is only available when autocomplete is enabled")),e.mask&&(e.mask=!1,console.warn("list editor config error - mask option is only available when autocomplete is enabled")),e.allowEmpty&&(e.allowEmpty=!1,console.warn("list editor config error - allowEmpty option is only available when autocomplete is enabled")),e.listOnEmpty&&(e.listOnEmpty=!1,console.warn("list editor config error - listOnEmpty option is only available when autocomplete is enabled"))),e.filterRemote&&!(typeof e.valuesLookup=="function"||e.valuesURL)&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option should only be used when values list is populated from a remote source")),e}_bindInputEvents(e){e.addEventListener("focus",this._inputFocus.bind(this)),e.addEventListener("click",this._inputClick.bind(this)),e.addEventListener("blur",this._inputBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e.addEventListener("search",this._inputSearch.bind(this)),this.params.autocomplete&&e.addEventListener("keyup",this._inputKeyUp.bind(this))}_inputFocus(e){this.rebuildOptionsList()}_filter(){this.params.filterRemote?(clearTimeout(this.filterTimeout),this.filterTimeout=setTimeout(()=>{this.rebuildOptionsList()},this.params.filterDelay)):this._filterList()}_inputClick(e){e.stopPropagation()}_inputBlur(e){this.blurable&&(this.popup?this.popup.hide():this._resolveValue(!0))}_inputSearch(){this._clearChoices()}_inputKeyDown(e){switch(e.keyCode){case 38:this._keyUp(e);break;case 40:this._keyDown(e);break;case 37:case 39:this._keySide(e);break;case 13:this._keyEnter();break;case 27:this._keyEsc();break;case 36:case 35:this._keyHomeEnd(e);break;case 9:this._keyTab(e);break;default:this._keySelectLetter(e)}}_inputKeyUp(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:this._keyAutoCompLetter(e)}}_preventPopupBlur(){this.popup&&this.popup.blockHide(),setTimeout(()=>{this.popup&&this.popup.restoreHide()},10)}_preventBlur(){this.blurable=!1,setTimeout(()=>{this.blurable=!0},10)}_keyTab(e){this.params.autocomplete&&this.lastAction==="typing"?this._resolveValue(!0):this.focusedItem&&this._chooseItem(this.focusedItem,!0)}_keyUp(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),r>0&&this._focusItem(this.displayItems[r-1]))}_keyDown(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r=38&&e.keyCode<=90&&this._scrollToValue(e.keyCode))}_keyAutoCompLetter(e){this._filter(),this.lastAction="typing",this.typing=!0}_scrollToValue(e){clearTimeout(this.filterTimeout);var r=String.fromCharCode(e).toLowerCase();this.filterTerm+=r.toLowerCase();var E=this.displayItems.find(z=>typeof z.label<"u"&&z.label.toLowerCase().startsWith(this.filterTerm));E&&this._focusItem(E),this.filterTimeout=setTimeout(()=>{this.filterTerm=""},800)}_focusItem(e){this.lastAction="focus",this.focusedItem&&this.focusedItem.element&&this.focusedItem.element.classList.remove("focused"),this.focusedItem=e,e&&e.element&&(e.element.classList.add("focused"),e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}))}headerFilterInitialListGen(){this._generateOptions(!0)}rebuildOptionsList(){this._generateOptions().then(this._sortOptions.bind(this)).then(this._buildList.bind(this)).then(this._showList.bind(this)).catch(e=>{Number.isInteger(e)||console.error("List generation error",e)})}_filterList(){this._buildList(this._filterOptions()),this._showList()}_generateOptions(e){var r=[],E=++this.listIteration;return this.filtered=!1,this.params.values?r=this.params.values:this.params.valuesURL?r=this._ajaxRequest(this.params.valuesURL,this.input.value):typeof this.params.valuesLookup=="function"?r=this.params.valuesLookup(this.cell,this.input.value):this.params.valuesLookup&&(r=this._uniqueColumnValues(this.params.valuesLookupField)),r instanceof Promise?(e||this._addPlaceholder(this.params.placeholderLoading),r.then().then(z=>this.listIteration===E?this._parseList(z):Promise.reject(E))):Promise.resolve(this._parseList(r))}_addPlaceholder(e){var r=document.createElement("div");typeof e=="function"&&(e=e(this.cell.getComponent(),this.listEl)),e&&(this._clearList(),e instanceof HTMLElement?r=e:(r.classList.add("tabulator-edit-list-placeholder"),r.innerHTML=e),this.listEl.appendChild(r),this._showList())}_ajaxRequest(e,r){var E=this.params.filterRemote?{term:r}:{};return e=EM(e,{},E),fetch(e).then(z=>z.ok?z.json().catch(k=>(console.warn("List Ajax Load Error - Invalid JSON returned",k),Promise.reject(k))):(console.error("List Ajax Load Error - Connection Error: "+z.status,z.statusText),Promise.reject(z))).catch(z=>(console.error("List Ajax Load Error - Connection Error: ",z),Promise.reject(z)))}_uniqueColumnValues(e){var r={},E=this.table.getData(this.params.valuesLookup),z;return e?z=this.table.columnManager.getColumnByField(e):z=this.cell.getColumn()._getSelf(),z?E.forEach(k=>{var m=z.getFieldValue(k);m!==null&&typeof m<"u"&&m!==""&&(r[m]=!0)}):(console.warn("unable to find matching column to create select lookup list:",e),r=[]),Object.keys(r)}_parseList(e){var r=[];return Array.isArray(e)||(e=Object.entries(e).map(([E,z])=>({label:z,value:E}))),e.forEach(E=>{typeof E!="object"&&(E={label:E,value:E}),this._parseListItem(E,r,0)}),!this.currentItems.length&&this.params.freetext&&(this.input.value=this.initialValues,this.typing=!0,this.lastAction="typing"),this.data=r,r}_parseListItem(e,r,E){var z={};e.options?z=this._parseListGroup(e,E+1):(z={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,selected:!1,visible:!0,level:E,original:e},this.initialValues&&this.initialValues.indexOf(e.value)>-1&&this._chooseItem(z,!0)),r.push(z)}_parseListGroup(e,r){var E={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,visible:!0,level:r,options:[],original:e};return e.options.forEach(z=>{this._parseListItem(z,E.options,r)}),E}_sortOptions(e){var r;return this.params.sort&&(r=typeof this.params.sort=="function"?this.params.sort:this._defaultSortFunction.bind(this),this._sortGroup(r,e)),e}_sortGroup(e,r){r.sort((E,z)=>e(E.label,z.label,E.value,z.value,E.original,z.original)),r.forEach(E=>{E.group&&this._sortGroup(e,E.options)})}_defaultSortFunction(e,r){var E,z,k,m,t=0,d,y=/(\d+)|(\D+)/g,i=/\d/,M=0;if(this.params.sort==="desc"&&([e,r]=[r,e]),!e&&e!==0)M=!r&&r!==0?0:-1;else if(!r&&r!==0)M=1;else{if(isFinite(e)&&isFinite(r))return e-r;if(E=String(e).toLowerCase(),z=String(r).toLowerCase(),E===z)return 0;if(!(i.test(E)&&i.test(z)))return E>z?1:-1;for(E=E.match(y),z=z.match(y),d=E.length>z.length?z.length:E.length;tm?1:-1;return E.length>z.length}return M}_filterOptions(){var e=this.params.filterFunc||this._defaultFilterFunc,r=this.input.value;return r?(this.filtered=!0,this.data.forEach(E=>{this._filterItem(e,r,E)})):this.filtered=!1,this.data}_filterItem(e,r,E){var z=!1;return E.group?(E.options.forEach(k=>{this._filterItem(e,r,k)&&(z=!0)}),E.visible=z):E.visible=e(r,E.label,E.value,E.original),E.visible}_defaultFilterFunc(e,r,E,z){return e=String(e).toLowerCase(),r!==null&&typeof r<"u"&&(String(r).toLowerCase().indexOf(e)>-1||String(E).toLowerCase().indexOf(e)>-1)}_clearList(){for(;this.listEl.firstChild;)this.listEl.removeChild(this.listEl.firstChild);this.displayItems=[]}_buildList(e){this._clearList(),e.forEach(r=>{this._buildItem(r)}),this.displayItems.length||this._addPlaceholder(this.params.placeholderEmpty)}_buildItem(e){var r=e.element,E;if(!this.filtered||e.visible){if(!r){if(r=document.createElement("div"),r.tabIndex=0,E=this.params.itemFormatter?this.params.itemFormatter(e.label,e.value,e.original,r):e.label,E instanceof HTMLElement?r.appendChild(E):r.innerHTML=E,e.group?r.classList.add("tabulator-edit-list-group"):r.classList.add("tabulator-edit-list-item"),r.classList.add("tabulator-edit-list-group-level-"+e.level),e.elementAttributes&&typeof e.elementAttributes=="object")for(let z in e.elementAttributes)z.charAt(0)=="+"?(z=z.slice(1),r.setAttribute(z,this.input.getAttribute(z)+e.elementAttributes["+"+z])):r.setAttribute(z,e.elementAttributes[z]);e.group?r.addEventListener("click",this._groupClick.bind(this,e)):r.addEventListener("click",this._itemClick.bind(this,e)),r.addEventListener("mousedown",this._preventBlur.bind(this)),e.element=r}this._styleItem(e),this.listEl.appendChild(r),e.group?e.options.forEach(z=>{this._buildItem(z)}):this.displayItems.push(e)}}_showList(){var e=this.popup&&this.popup.isVisible();if(this.input.parentNode){if(this.params.autocomplete&&this.input.value===""&&!this.params.listOnEmpty){this.popup&&this.popup.hide(!0);return}this._setListWidth(),this.popup||(this.popup=this.edit.popup(this.listEl)),this.popup.show(this.cell.getElement(),"bottom"),e||setTimeout(()=>{this.popup.hideOnBlur(this._resolveValue.bind(this,!0))},10)}}_styleItem(e){e&&e.element&&(e.selected?e.element.classList.add("active"):e.element.classList.remove("active"))}_itemClick(e,r){r.stopPropagation(),this._chooseItem(e)}_groupClick(e,r){r.stopPropagation()}_cancel(){this.popup.hide(!0),this.actions.cancel()}_clearChoices(){this.typing=!0,this.currentItems.forEach(e=>{e.selected=!1,this._styleItem(e)}),this.currentItems=[],this.focusedItem=null}_chooseItem(e,r){var E;this.typing=!1,this.params.multiselect?(E=this.currentItems.indexOf(e),E>-1?(this.currentItems.splice(E,1),e.selected=!1):(this.currentItems.push(e),e.selected=!0),this.input.value=this.currentItems.map(z=>z.label).join(","),this._styleItem(e)):(this.currentItems=[e],e.selected=!0,this.input.value=e.label,this._styleItem(e),r||this._resolveValue()),this._focusItem(e)}_resolveValue(e){var r,E;if(this.popup&&this.popup.hide(!0),this.params.multiselect)r=this.currentItems.map(z=>z.value);else if(e&&this.params.autocomplete&&this.typing)if(this.params.freetext||this.params.allowEmpty&&this.input.value==="")r=this.input.value;else{this.actions.cancel();return}else this.currentItems[0]?r=this.currentItems[0].value:(E=Array.isArray(this.initialValues)?this.initialValues[0]:this.initialValues,E===null||typeof E>"u"||E===""?r=E:r=this.params.emptyValue);r===""&&(r=this.params.emptyValue),this.actions.success(r),this.isFilter&&(this.initialValues=r&&!Array.isArray(r)?[r]:r,this.currentItems=[])}}function LO(n,e,r,E,z){this.deprecationMsg("The select editor has been deprecated, please use the new list editor");var k=new G2(this,n,e,r,E,z);return k.input}function IO(n,e,r,E,z){var k=new G2(this,n,e,r,E,z);return k.input}function OO(n,e,r,E,z){this.deprecationMsg("The autocomplete editor has been deprecated, please use the new list editor with the 'autocomplete' editorParam"),z.autocomplete=!0;var k=new G2(this,n,e,r,E,z);return k.input}function PO(n,e,r,E,z){var k=this,m=n.getElement(),t=n.getValue(),d=m.getElementsByTagName("svg").length||5,y=m.getElementsByTagName("svg")[0]?m.getElementsByTagName("svg")[0].getAttribute("width"):14,i=[],M=document.createElement("div"),g=document.createElementNS("http://www.w3.org/2000/svg","svg");function h(o){i.forEach(function(s,f){f'):(k.table.browser=="ie"?s.setAttribute("class","tabulator-star-inactive"):s.classList.replace("tabulator-star-active","tabulator-star-inactive"),s.innerHTML='')})}function l(o){var s=document.createElement("span"),f=g.cloneNode(!0);i.push(f),s.addEventListener("mouseenter",function(c){c.stopPropagation(),c.stopImmediatePropagation(),h(o)}),s.addEventListener("mousemove",function(c){c.stopPropagation(),c.stopImmediatePropagation()}),s.addEventListener("click",function(c){c.stopPropagation(),c.stopImmediatePropagation(),r(o),m.blur()}),s.appendChild(f),M.appendChild(s)}function a(o){t=o,h(o)}if(m.style.whiteSpace="nowrap",m.style.overflow="hidden",m.style.textOverflow="ellipsis",M.style.verticalAlign="middle",M.style.display="inline-block",M.style.padding="4px",g.setAttribute("width",y),g.setAttribute("height",y),g.setAttribute("viewBox","0 0 512 512"),g.setAttribute("xml:space","preserve"),g.style.padding="0 1px",z.elementAttributes&&typeof z.elementAttributes=="object")for(let o in z.elementAttributes)o.charAt(0)=="+"?(o=o.slice(1),M.setAttribute(o,M.getAttribute(o)+z.elementAttributes["+"+o])):M.setAttribute(o,z.elementAttributes[o]);for(var u=1;u<=d;u++)l(u);return t=Math.min(parseInt(t),d),h(t),M.addEventListener("mousemove",function(o){h(0)}),M.addEventListener("click",function(o){r(0)}),m.addEventListener("blur",function(o){E()}),m.addEventListener("keydown",function(o){switch(o.keyCode){case 39:a(t+1);break;case 37:a(t-1);break;case 13:r(t);break;case 27:E();break}}),M}function RO(n,e,r,E,z){var k=n.getElement(),m=typeof z.max>"u"?k.getElementsByTagName("div")[0]&&k.getElementsByTagName("div")[0].getAttribute("max")||100:z.max,t=typeof z.min>"u"?k.getElementsByTagName("div")[0]&&k.getElementsByTagName("div")[0].getAttribute("min")||0:z.min,d=(m-t)/100,y=n.getValue()||0,i=document.createElement("div"),M=document.createElement("div"),g,h;function l(){var a=window.getComputedStyle(k,null),u=d*Math.round(M.offsetWidth/((k.clientWidth-parseInt(a.getPropertyValue("padding-left"))-parseInt(a.getPropertyValue("padding-right")))/100))+t;r(u),k.setAttribute("aria-valuenow",u),k.setAttribute("aria-label",y)}if(i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.width="5px",i.classList.add("tabulator-progress-handle"),M.style.display="inline-block",M.style.position="relative",M.style.height="100%",M.style.backgroundColor="#488CE9",M.style.maxWidth="100%",M.style.minWidth="0%",z.elementAttributes&&typeof z.elementAttributes=="object")for(let a in z.elementAttributes)a.charAt(0)=="+"?(a=a.slice(1),M.setAttribute(a,M.getAttribute(a)+z.elementAttributes["+"+a])):M.setAttribute(a,z.elementAttributes[a]);return k.style.padding="4px 4px",y=Math.min(parseFloat(y),m),y=Math.max(parseFloat(y),t),y=Math.round((y-t)/d),M.style.width=y+"%",k.setAttribute("aria-valuemin",t),k.setAttribute("aria-valuemax",m),M.appendChild(i),i.addEventListener("mousedown",function(a){g=a.screenX,h=M.offsetWidth}),i.addEventListener("mouseover",function(){i.style.cursor="ew-resize"}),k.addEventListener("mousemove",function(a){g&&(M.style.width=h+a.screenX-g+"px")}),k.addEventListener("mouseup",function(a){g&&(a.stopPropagation(),a.stopImmediatePropagation(),g=!1,h=!1,l())}),k.addEventListener("keydown",function(a){switch(a.keyCode){case 39:a.preventDefault(),M.style.width=M.clientWidth+k.clientWidth/100+"px";break;case 37:a.preventDefault(),M.style.width=M.clientWidth-k.clientWidth/100+"px";break;case 9:case 13:l();break;case 27:E();break}}),k.addEventListener("blur",function(){E()}),M}function DO(n,e,r,E,z){var k=n.getValue(),m=document.createElement("input"),t=z.tristate,d=typeof z.indeterminateValue>"u"?null:z.indeterminateValue,y=!1,i=Object.keys(z).includes("trueValue"),M=Object.keys(z).includes("falseValue");if(m.setAttribute("type","checkbox"),m.style.marginTop="5px",m.style.boxSizing="border-box",z.elementAttributes&&typeof z.elementAttributes=="object")for(let h in z.elementAttributes)h.charAt(0)=="+"?(h=h.slice(1),m.setAttribute(h,m.getAttribute(h)+z.elementAttributes["+"+h])):m.setAttribute(h,z.elementAttributes[h]);m.value=k,t&&(typeof k>"u"||k===d||k==="")&&(y=!0,m.indeterminate=!0),this.table.browser!="firefox"&&this.table.browser!="safari"&&e(function(){n.getType()==="cell"&&m.focus({preventScroll:!0})}),m.checked=i?k===z.trueValue:k===!0||k==="true"||k==="True"||k===1;function g(h){var l=m.checked;return i&&l?l=z.trueValue:M&&!l&&(l=z.falseValue),t?h?y?d:l:m.checked&&!y?(m.checked=!1,m.indeterminate=!0,y=!0,d):(y=!1,l):l}return m.addEventListener("change",function(h){r(g())}),m.addEventListener("blur",function(h){r(g(!0))}),m.addEventListener("keydown",function(h){h.keyCode==13&&r(g()),h.keyCode==27&&E()}),m}var zO={input:TO,textarea:kO,number:MO,range:AO,date:SO,time:CO,datetime:EO,select:LO,list:IO,autocomplete:OO,star:PO,progress:RO,tickCross:DO};class tg extends Wi{constructor(e){super(e),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=tg.editors,this.registerColumnOption("editable"),this.registerColumnOption("editor"),this.registerColumnOption("editorParams"),this.registerColumnOption("cellEditing"),this.registerColumnOption("cellEdited"),this.registerColumnOption("cellEditCancelled"),this.registerTableOption("editTriggerEvent","focus"),this.registerTableFunction("getEditedCells",this.getEditedCells.bind(this)),this.registerTableFunction("clearCellEdited",this.clearCellEdited.bind(this)),this.registerTableFunction("navigatePrev",this.navigatePrev.bind(this)),this.registerTableFunction("navigateNext",this.navigateNext.bind(this)),this.registerTableFunction("navigateLeft",this.navigateLeft.bind(this)),this.registerTableFunction("navigateRight",this.navigateRight.bind(this)),this.registerTableFunction("navigateUp",this.navigateUp.bind(this)),this.registerTableFunction("navigateDown",this.navigateDown.bind(this)),this.registerComponentFunction("cell","isEdited",this.cellIsEdited.bind(this)),this.registerComponentFunction("cell","clearEdited",this.clearEdited.bind(this)),this.registerComponentFunction("cell","edit",this.editCell.bind(this)),this.registerComponentFunction("cell","cancelEdit",this.cellCancelEdit.bind(this)),this.registerComponentFunction("cell","navigatePrev",this.navigatePrev.bind(this)),this.registerComponentFunction("cell","navigateNext",this.navigateNext.bind(this)),this.registerComponentFunction("cell","navigateLeft",this.navigateLeft.bind(this)),this.registerComponentFunction("cell","navigateRight",this.navigateRight.bind(this)),this.registerComponentFunction("cell","navigateUp",this.navigateUp.bind(this)),this.registerComponentFunction("cell","navigateDown",this.navigateDown.bind(this))}initialize(){this.subscribe("cell-init",this.bindEditor.bind(this)),this.subscribe("cell-delete",this.clearEdited.bind(this)),this.subscribe("cell-value-changed",this.updateCellClass.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("column-delete",this.columnDeleteCheck.bind(this)),this.subscribe("row-deleting",this.rowDeleteCheck.bind(this)),this.subscribe("row-layout",this.rowEditableCheck.bind(this)),this.subscribe("data-refreshing",this.cancelEdit.bind(this)),this.subscribe("clipboard-paste",this.pasteBlocker.bind(this)),this.subscribe("keybinding-nav-prev",this.navigatePrev.bind(this,void 0)),this.subscribe("keybinding-nav-next",this.keybindingNavigateNext.bind(this)),this.subscribe("keybinding-nav-up",this.navigateUp.bind(this,void 0)),this.subscribe("keybinding-nav-down",this.navigateDown.bind(this,void 0))}pasteBlocker(e){if(this.currentCell)return!0}keybindingNavigateNext(e){var r=this.currentCell,E=this.options("tabEndNewRow");r&&(this.navigateNext(r,e)||E&&(r.getElement().firstChild.blur(),this.invalidEdit||(E===!0?E=this.table.addRow({}):typeof E=="function"?E=this.table.addRow(E(r.row.getComponent())):E=this.table.addRow(Object.assign({},E)),E.then(()=>{setTimeout(()=>{r.getComponent().navigateNext()})}))))}cellIsEdited(e){return!!e.modules.edit&&e.modules.edit.edited}cellCancelEdit(e){e===this.currentCell?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}updateCellClass(e){this.allowEdit(e)?e.getElement().classList.add("tabulator-editable"):e.getElement().classList.remove("tabulator-editable")}clearCellEdited(e){e||(e=this.table.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.table.modules.edit.clearEdited(r._getSelf())})}navigatePrev(e=this.currentCell,r){var E,z;if(e){if(r&&r.preventDefault(),E=this.navigateLeft(),E)return!0;if(z=this.table.rowManager.prevDisplayRow(e.row,!0),z&&(E=this.findPrevEditableCell(z,z.cells.length),E))return E.getComponent().edit(),!0}return!1}navigateNext(e=this.currentCell,r){var E,z;if(e){if(r&&r.preventDefault(),E=this.navigateRight(),E)return!0;if(z=this.table.rowManager.nextDisplayRow(e.row,!0),z&&(E=this.findNextEditableCell(z,-1),E))return E.getComponent().edit(),!0}return!1}navigateLeft(e=this.currentCell,r){var E,z;return e&&(r&&r.preventDefault(),E=e.getIndex(),z=this.findPrevEditableCell(e.row,E),z)?(z.getComponent().edit(),!0):!1}navigateRight(e=this.currentCell,r){var E,z;return e&&(r&&r.preventDefault(),E=e.getIndex(),z=this.findNextEditableCell(e.row,E),z)?(z.getComponent().edit(),!0):!1}navigateUp(e=this.currentCell,r){var E,z;return e&&(r&&r.preventDefault(),E=e.getIndex(),z=this.table.rowManager.prevDisplayRow(e.row,!0),z)?(z.cells[E].getComponent().edit(),!0):!1}navigateDown(e=this.currentCell,r){var E,z;return e&&(r&&r.preventDefault(),E=e.getIndex(),z=this.table.rowManager.nextDisplayRow(e.row,!0),z)?(z.cells[E].getComponent().edit(),!0):!1}findNextEditableCell(e,r){var E=!1;if(r0)for(var z=r-1;z>=0;z--){let k=e.cells[z];if(k.column.modules.edit&&oo.elVisible(k.getElement())&&this.allowEdit(k)){E=k;break}}return E}initializeColumnCheck(e){typeof e.definition.editor<"u"&&this.initializeColumn(e)}columnDeleteCheck(e){this.currentCell&&this.currentCell.column===e&&this.cancelEdit()}rowDeleteCheck(e){this.currentCell&&this.currentCell.row===e&&this.cancelEdit()}rowEditableCheck(e){e.getCells().forEach(r=>{r.column.modules.edit&&typeof r.column.modules.edit.check=="function"&&this.updateCellClass(r)})}initializeColumn(e){var r={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(typeof e.definition.editor){case"string":this.editors[e.definition.editor]?r.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":r.editor=e.definition.editor;break;case"boolean":e.definition.editor===!0&&(typeof e.definition.formatter!="function"?this.editors[e.definition.formatter]?r.editor=this.editors[e.definition.formatter]:r.editor=this.editors.input:console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}r.editor&&(e.modules.edit=r)}getCurrentCell(){return this.currentCell?this.currentCell.getComponent():!1}clearEditor(e){var r=this.currentCell,E;if(this.invalidEdit=!1,r){for(this.currentCell=!1,E=r.getElement(),this.dispatch("edit-editor-clear",r,e),E.classList.remove("tabulator-editing");E.firstChild;)E.removeChild(E.firstChild);r.row.getElement().classList.remove("tabulator-editing"),r.table.element.classList.remove("tabulator-editing")}}cancelEdit(){if(this.currentCell){var e=this.currentCell,r=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),(e.column.definition.editor=="textarea"||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.definition.cellEditCancelled&&e.column.definition.cellEditCancelled.call(this.table,r),this.dispatch("edit-cancelled",e),this.dispatchExternal("cellEditCancelled",r)}}bindEditor(e){if(e.column.modules.edit){var r=this,E=e.getElement(!0);this.updateCellClass(e),E.setAttribute("tabindex",0),E.addEventListener("mousedown",function(z){z.button===2?z.preventDefault():r.mouseClick=!0}),this.options("editTriggerEvent")==="dblclick"&&E.addEventListener("dblclick",function(z){E.classList.contains("tabulator-editing")||(E.focus({preventScroll:!0}),r.edit(e,z,!1))}),(this.options("editTriggerEvent")==="focus"||this.options("editTriggerEvent")==="click")&&E.addEventListener("click",function(z){E.classList.contains("tabulator-editing")||(E.focus({preventScroll:!0}),r.edit(e,z,!1))}),this.options("editTriggerEvent")==="focus"&&E.addEventListener("focus",function(z){r.recursionBlock||r.edit(e,z,!1)})}}focusCellNoEvent(e,r){this.recursionBlock=!0,r&&this.table.browser==="ie"||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(e,r){this.focusCellNoEvent(e),this.edit(e,!1,r)}focusScrollAdjust(e){if(this.table.rowManager.getRenderMode()=="virtual"){var r=this.table.rowManager.element.scrollTop,E=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,z=e.row.getElement();z.offsetTopE&&(this.table.rowManager.element.scrollTop+=z.offsetTop+z.offsetHeight-E);var k=this.table.rowManager.element.scrollLeft,m=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,t=e.getElement();this.table.modExists("frozenColumns")&&(k+=parseInt(this.table.modules.frozenColumns.leftMargin||0),m-=parseInt(this.table.modules.frozenColumns.rightMargin||0)),this.table.options.renderHorizontal==="virtual"&&(k-=parseInt(this.table.columnManager.renderer.vDomPadLeft),m-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),t.offsetLeftm&&(this.table.rowManager.element.scrollLeft+=t.offsetLeft+t.offsetWidth-m)}}allowEdit(e){var r=!!e.column.modules.edit;if(e.column.modules.edit)switch(typeof e.column.modules.edit.check){case"function":e.row.initialized&&(r=e.column.modules.edit.check(e.getComponent()));break;case"string":r=!!e.row.data[e.column.modules.edit.check];break;case"boolean":r=e.column.modules.edit.check;break}return r}edit(e,r,E){var z=this,k=!0,m=function(){},t=e.getElement(),d=!1,y,i,M;if(this.currentCell){!this.invalidEdit&&this.currentCell!==e&&this.cancelEdit();return}function g(o){if(z.currentCell===e&&!d){var s=z.chain("edit-success",[e,o],!0,!0);return s===!0||z.table.options.validationMode==="highlight"?(d=!0,z.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,z.editedCells.indexOf(e)==-1&&z.editedCells.push(e),e.setValue(o,!0),s===!0):(d=!0,z.invalidEdit=!0,z.focusCellNoEvent(e,!0),m(),setTimeout(()=>{d=!1},10),!1)}}function h(){z.currentCell===e&&!d&&z.cancelEdit()}function l(o){m=o}if(e.column.modules.edit.blocked)return this.mouseClick=!1,this.blur(t),!1;if(r&&r.stopPropagation(),k=this.allowEdit(e),k||E){if(z.cancelEdit(),z.currentCell=e,this.focusScrollAdjust(e),i=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.definition.cellClick&&e.column.definition.cellClick.call(this.table,r,i)),e.column.definition.cellEditing&&e.column.definition.cellEditing.call(this.table,i),this.dispatch("cell-editing",e),this.dispatchExternal("cellEditing",i),M=typeof e.column.modules.edit.params=="function"?e.column.modules.edit.params(i):e.column.modules.edit.params,y=e.column.modules.edit.editor.call(z,i,l,g,h,M),this.currentCell&&y!==!1)if(y instanceof Node){for(t.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-editing"),e.table.element.classList.add("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(y),m();for(var a=t.children,u=0;u{e.push(r.getComponent())}),e}clearEdited(e){var r;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,this.dispatch("edit-edited-clear",e)),r=this.editedCells.indexOf(e),r>-1&&this.editedCells.splice(r,1)}}tg.moduleName="edit";tg.editors=zO;class g5{constructor(e,r,E,z){this.type=e,this.columns=r,this.component=E||!1,this.indent=z||0}}class mb{constructor(e,r,E,z,k){this.value=e,this.component=r||!1,this.width=E,this.height=z,this.depth=k}}class RM extends Wi{constructor(e){super(e),this.config={},this.cloneTableStyle=!0,this.colVisProp="",this.registerTableOption("htmlOutputConfig",!1),this.registerColumnOption("htmlOutput"),this.registerColumnOption("titleHtmlOutput")}initialize(){this.registerTableFunction("getHtml",this.getHtml.bind(this))}generateExportList(e,r,E,z){this.cloneTableStyle=r,this.config=e||{},this.colVisProp=z;var k,m;if(E==="range"){var t=this.table.modules.selectRange.selectedColumns();k=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders(t)):[],m=this.bodyToExportRows(this.rowLookup(E),this.table.modules.selectRange.selectedColumns(!0))}else k=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders()):[],m=this.bodyToExportRows(this.rowLookup(E));return k.concat(m)}generateTable(e,r,E,z){var k=this.generateExportList(e,r,E,z);return this.generateTableElement(k)}rowLookup(e){var r=[];if(typeof e=="function")e.call(this.table).forEach(E=>{E=this.table.rowManager.findRow(E),E&&r.push(E)});else switch(e){case!0:case"visible":r=this.table.rowManager.getVisibleRows(!1,!0);break;case"all":r=this.table.rowManager.rows;break;case"selected":r=this.table.modules.selectRow.selectedRows;break;case"range":r=this.table.modules.selectRange.selectedRows();break;case"active":default:this.table.options.pagination?r=this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):r=this.table.rowManager.getDisplayRows()}return Object.assign([],r)}generateColumnGroupHeaders(e){var r=[];return e||(e=this.config.columnGroups!==!1?this.table.columnManager.columns:this.table.columnManager.columnsByIndex),e.forEach(E=>{var z=this.processColumnGroup(E);z&&r.push(z)}),r}processColumnGroup(e){var r=e.columns,E=0,z=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,k={title:z,column:e,depth:1};if(r.length){if(k.subGroups=[],k.width=0,r.forEach(m=>{var t=this.processColumnGroup(m);t&&(k.width+=t.width,k.subGroups.push(t),t.depth>E&&(E=t.depth))}),k.depth+=E,!k.width)return!1}else if(this.columnVisCheck(e))k.width=1;else return!1;return k}columnVisCheck(e){var r=e.definition[this.colVisProp];return typeof r=="function"&&(r=r.call(this.table,e.getComponent())),r!==!1&&(e.visible||!e.visible&&r)}headersToExportRows(e){var r=[],E=0,z=[];function k(m,t){var d=E-t;if(typeof r[t]>"u"&&(r[t]=[]),m.height=m.subGroups?1:d-m.depth+1,r[t].push(m),m.height>1)for(let y=1;y"u"&&(r[t+y]=[]),r[t+y].push(!1);if(m.width>1)for(let y=1;yE&&(E=m.depth)}),e.forEach(function(m){k(m,0)}),r.forEach(m=>{var t=[];m.forEach(d=>{if(d){let y=typeof d.title>"u"?"":d.title;t.push(new mb(y,d.column.getComponent(),d.width,d.height,d.depth))}else t.push(null)}),z.push(new g5("header",t))}),z}bodyToExportRows(e,r=[]){var E=[];return r.length===0&&this.table.columnManager.columnsByIndex.forEach(z=>{this.columnVisCheck(z)&&r.push(z.getComponent())}),this.config.columnCalcs!==!1&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(z=>{switch(z.type){case"group":return this.config.rowGroups!==!1;case"calc":return this.config.columnCalcs!==!1;case"row":return!(this.table.options.dataTree&&this.config.dataTree===!1&&z.modules.dataTree.parent)}return!0}),e.forEach((z,k)=>{var m=z.getData(this.colVisProp),t=[],d=0;switch(z.type){case"group":d=z.level,t.push(new mb(z.key,z.getComponent(),r.length,1));break;case"calc":case"row":r.forEach(y=>{t.push(new mb(y._column.getFieldValue(m),y,1,1))}),this.table.options.dataTree&&this.config.dataTree!==!1&&(d=z.modules.dataTree.index);break}E.push(new g5(z.type,t,z.getComponent(),d))}),E}generateTableElement(e){var r=document.createElement("table"),E=document.createElement("thead"),z=document.createElement("tbody"),k=this.lookupTableStyles(),m=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t={};return t.rowFormatter=m!==null?m:this.table.options.rowFormatter,this.table.options.dataTree&&this.config.dataTree!==!1&&this.table.modExists("columnCalcs")&&(t.treeElementField=this.table.modules.dataTree.elementField),t.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t.groupHeader&&!Array.isArray(t.groupHeader)&&(t.groupHeader=[t.groupHeader]),r.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),E,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((d,y)=>{let i;switch(d.type){case"header":E.appendChild(this.generateHeaderElement(d,t,k));break;case"group":z.appendChild(this.generateGroupElement(d,t,k));break;case"calc":z.appendChild(this.generateCalcElement(d,t,k));break;case"row":i=this.generateRowElement(d,t,k),this.mapElementStyles(y%2&&k.evenRow?k.evenRow:k.oddRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),z.appendChild(i);break}}),E.innerHTML&&r.appendChild(E),r.appendChild(z),this.mapElementStyles(this.table.element,r,["border-top","border-left","border-right","border-bottom"]),r}lookupTableStyles(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e}generateHeaderElement(e,r,E){var z=document.createElement("tr");return e.columns.forEach(k=>{if(k){var m=document.createElement("th"),t=k.component._column.definition.cssClass?k.component._column.definition.cssClass.split(" "):[];m.colSpan=k.width,m.rowSpan=k.height,m.innerHTML=k.value,this.cloneTableStyle&&(m.style.boxSizing="border-box"),t.forEach(function(d){m.classList.add(d)}),this.mapElementStyles(k.component.getElement(),m,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),this.mapElementStyles(k.component._column.contentElement,m,["padding-top","padding-left","padding-right","padding-bottom"]),k.component._column.visible?this.mapElementStyles(k.component.getElement(),m,["width"]):k.component._column.definition.width&&(m.style.width=k.component._column.definition.width+"px"),k.component._column.parent&&this.mapElementStyles(k.component._column.parent.groupElement,m,["border-top"]),z.appendChild(m)}}),z}generateGroupElement(e,r,E){var z=document.createElement("tr"),k=document.createElement("td"),m=e.columns[0];return z.classList.add("tabulator-print-table-row"),r.groupHeader&&r.groupHeader[e.indent]?m.value=r.groupHeader[e.indent](m.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):r.groupHeader!==!1&&(m.value=e.component._group.generator(m.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)),k.colSpan=m.width,k.innerHTML=m.value,z.classList.add("tabulator-print-table-group"),z.classList.add("tabulator-group-level-"+e.indent),m.component.isVisible()&&z.classList.add("tabulator-group-visible"),this.mapElementStyles(E.firstGroup,z,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(E.firstGroup,k,["padding-top","padding-left","padding-right","padding-bottom"]),z.appendChild(k),z}generateCalcElement(e,r,E){var z=this.generateRowElement(e,r,E);return z.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(E.calcRow,z,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),z}generateRowElement(e,r,E){var z=document.createElement("tr");if(z.classList.add("tabulator-print-table-row"),e.columns.forEach((k,m)=>{if(k){var t=document.createElement("td"),d=k.component._column,y=this.table,i=y.columnManager.findColumnIndex(d),M=k.value,g,h={modules:{},getValue:function(){return M},getField:function(){return d.definition.field},getElement:function(){return t},getType:function(){return"cell"},getColumn:function(){return d.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getTable:function(){return y},getComponent:function(){return h},column:d},l=d.definition.cssClass?d.definition.cssClass.split(" "):[];if(l.forEach(function(a){t.classList.add(a)}),this.table.modExists("format")&&this.config.formatCells!==!1)M=this.table.modules.format.formatExportValue(h,this.colVisProp);else switch(typeof M){case"object":M=M!==null?JSON.stringify(M):"";break;case"undefined":M="";break}M instanceof Node?t.appendChild(M):t.innerHTML=M,g=E.styleCells&&E.styleCells[i]?E.styleCells[i]:E.firstCell,g&&(this.mapElementStyles(g,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),d.definition.align&&(t.style.textAlign=d.definition.align)),this.table.options.dataTree&&this.config.dataTree!==!1&&(r.treeElementField&&r.treeElementField==d.field||!r.treeElementField&&m==0)&&(e.component._row.modules.dataTree.controlEl&&t.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),t.firstChild),e.component._row.modules.dataTree.branchEl&&t.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),t.firstChild)),z.appendChild(t),h.modules.format&&h.modules.format.renderedCallback&&h.modules.format.renderedCallback()}}),r.rowFormatter&&e.type==="row"&&this.config.formatCells!==!1){let k=Object.assign(e.component);k.getElement=function(){return z},r.rowFormatter(e.component)}return z}generateHTMLTable(e){var r=document.createElement("div");return r.appendChild(this.generateTableElement(e)),r.innerHTML}getHtml(e,r,E,z){var k=this.generateExportList(E||this.table.options.htmlOutputConfig,r,e,z||"htmlOutput");return this.generateHTMLTable(k)}mapElementStyles(e,r,E){if(this.cloneTableStyle&&e&&r){var z={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var k=window.getComputedStyle(e);E.forEach(function(m){r.style[z[m]]||(r.style[z[m]]=k.getPropertyValue(m))})}}}}RM.moduleName="export";var FO={"=":function(n,e,r,E){return e==n},"<":function(n,e,r,E){return e":function(n,e,r,E){return e>n},">=":function(n,e,r,E){return e>=n},"!=":function(n,e,r,E){return e!=n},regex:function(n,e,r,E){return typeof n=="string"&&(n=new RegExp(n)),n.test(e)},like:function(n,e,r,E){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().indexOf(n.toLowerCase())>-1:!1},keywords:function(n,e,r,E){var z=n.toLowerCase().split(typeof E.separator>"u"?" ":E.separator),k=String(e===null||typeof e>"u"?"":e).toLowerCase(),m=[];return z.forEach(t=>{k.includes(t)&&m.push(!0)}),E.matchAll?m.length===z.length:!!m.length},starts:function(n,e,r,E){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().startsWith(n.toLowerCase()):!1},ends:function(n,e,r,E){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().endsWith(n.toLowerCase()):!1},in:function(n,e,r,E){return Array.isArray(n)?n.length?n.indexOf(e)>-1:!0:(console.warn("Filter Error - filter value is not an array:",n),!1)}};class Kf extends Wi{constructor(e){super(e),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1,this.tableInitialized=!1,this.registerTableOption("filterMode","local"),this.registerTableOption("initialFilter",!1),this.registerTableOption("initialHeaderFilter",!1),this.registerTableOption("headerFilterLiveFilterDelay",300),this.registerTableOption("placeholderHeaderFilter",!1),this.registerColumnOption("headerFilter"),this.registerColumnOption("headerFilterPlaceholder"),this.registerColumnOption("headerFilterParams"),this.registerColumnOption("headerFilterEmptyCheck"),this.registerColumnOption("headerFilterFunc"),this.registerColumnOption("headerFilterFuncParams"),this.registerColumnOption("headerFilterLiveFilter"),this.registerTableFunction("searchRows",this.searchRows.bind(this)),this.registerTableFunction("searchData",this.searchData.bind(this)),this.registerTableFunction("setFilter",this.userSetFilter.bind(this)),this.registerTableFunction("refreshFilter",this.userRefreshFilter.bind(this)),this.registerTableFunction("addFilter",this.userAddFilter.bind(this)),this.registerTableFunction("getFilters",this.getFilters.bind(this)),this.registerTableFunction("setHeaderFilterFocus",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction("getHeaderFilterValue",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction("setHeaderFilterValue",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction("getHeaderFilters",this.getHeaderFilters.bind(this)),this.registerTableFunction("removeFilter",this.userRemoveFilter.bind(this)),this.registerTableFunction("clearFilter",this.userClearFilter.bind(this)),this.registerTableFunction("clearHeaderFilter",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction("column","headerFilterFocus",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction("column","reloadHeaderFilter",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction("column","getHeaderFilterValue",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction("column","setHeaderFilterValue",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe("column-init",this.initializeColumnHeaderFilter.bind(this)),this.subscribe("column-width-fit-before",this.hideHeaderFilterElements.bind(this)),this.subscribe("column-width-fit-after",this.showHeaderFilterElements.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.subscribe("placeholder",this.generatePlaceholder.bind(this)),this.table.options.filterMode==="remote"&&this.subscribe("data-params",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach(e=>{var r=this.table.columnManager.findColumn(e.field);if(r)this.setHeaderFilterValue(r,e.value);else return console.warn("Column Filter Error - No matching column found:",e.field),!1}),this.tableInitialized=!0}remoteFilterParams(e,r,E,z){return z.filter=this.getFilters(!0,!0),z}generatePlaceholder(e){if(this.table.options.placeholderHeaderFilter&&Object.keys(this.headerFilters).length)return this.table.options.placeholderHeaderFilter}userSetFilter(e,r,E,z){this.setFilter(e,r,E,z),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(e,r,E,z){this.addFilter(e,r,E,z),this.refreshFilter()}userSetHeaderFilterFocus(e){var r=this.table.columnManager.findColumn(e);if(r)this.setHeaderFilterFocus(r);else return console.warn("Column Filter Focus Error - No matching column found:",e),!1}userGetHeaderFilterValue(e){var r=this.table.columnManager.findColumn(e);if(r)return this.getHeaderFilterValue(r);console.warn("Column Filter Error - No matching column found:",e)}userSetHeaderFilterValue(e,r){var E=this.table.columnManager.findColumn(e);if(E)this.setHeaderFilterValue(E,r);else return console.warn("Column Filter Error - No matching column found:",e),!1}userRemoveFilter(e,r,E){this.removeFilter(e,r,E),this.refreshFilter()}userClearFilter(e){this.clearFilter(e),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(e,r,E){return this.search("rows",e,r,E)}searchData(e,r,E){return this.search("data",e,r,E)}initializeColumnHeaderFilter(e){var r=e.definition;r.headerFilter&&this.initializeColumn(e)}initializeColumn(e,r){var E=this,z=e.getField();function k(m){var t=e.modules.filter.tagType=="input"&&e.modules.filter.attrType=="text"||e.modules.filter.tagType=="textarea"?"partial":"match",d="",y="",i;if(typeof e.modules.filter.prevSuccess>"u"||e.modules.filter.prevSuccess!==m){if(e.modules.filter.prevSuccess=m,e.modules.filter.emptyFunc(m))delete E.headerFilters[z];else{switch(e.modules.filter.value=m,typeof e.definition.headerFilterFunc){case"string":Kf.filters[e.definition.headerFilterFunc]?(d=e.definition.headerFilterFunc,i=function(M){var g=e.definition.headerFilterFuncParams||{},h=e.getFieldValue(M);return g=typeof g=="function"?g(m,h,M):g,Kf.filters[e.definition.headerFilterFunc](m,h,M,g)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":i=function(M){var g=e.definition.headerFilterFuncParams||{},h=e.getFieldValue(M);return g=typeof g=="function"?g(m,h,M):g,e.definition.headerFilterFunc(m,h,M,g)},d=i;break}if(!i)switch(t){case"partial":i=function(M){var g=e.getFieldValue(M);return typeof g<"u"&&g!==null?String(g).toLowerCase().indexOf(String(m).toLowerCase())>-1:!1},d="like";break;default:i=function(M){return e.getFieldValue(M)==m},d="="}E.headerFilters[z]={value:m,func:i,type:d}}e.modules.filter.value=m,y=JSON.stringify(E.headerFilters),E.prevHeaderFilterChangeCheck!==y&&(E.prevHeaderFilterChangeCheck=y,E.trackChanges(),E.refreshFilter())}return!0}e.modules.filter={success:k,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)}generateHeaderFilterElement(e,r,E){var z=this,k=e.modules.filter.success,m=e.getField(),t,d,y,i,M,g,h,l;e.modules.filter.value=r;function a(){}function u(o){l=o}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),m){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(o){return!o&&o!==0},t=document.createElement("div"),t.classList.add("tabulator-header-filter"),typeof e.definition.headerFilter){case"string":z.table.modules.edit.editors[e.definition.headerFilter]?(d=z.table.modules.edit.editors[e.definition.headerFilter],(e.definition.headerFilter==="tick"||e.definition.headerFilter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":d=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?d=e.modules.edit.editor:e.definition.formatter&&z.table.modules.edit.editors[e.definition.formatter]?(d=z.table.modules.edit.editors[e.definition.formatter],(e.definition.formatter==="tick"||e.definition.formatter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):d=z.table.modules.edit.editors.input;break}if(d){if(i={getValue:function(){return typeof r<"u"?r:""},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getTable:()=>this.table,getType:()=>"header",getRow:function(){return{normalizeHeight:function(){}}}},h=e.definition.headerFilterParams||{},h=typeof h=="function"?h.call(z.table,i):h,y=d.call(this.table.modules.edit,i,u,k,a,h),!y){console.warn("Filter Error - Cannot add filter to "+m+" column, editor returned a value of false");return}if(!(y instanceof Node)){console.warn("Filter Error - Cannot add filter to "+m+" column, editor should return an instance of Node, the editor returned:",y);return}z.langBind("headerFilters|columns|"+e.definition.field,function(o){y.setAttribute("placeholder",typeof o<"u"&&o?o:e.definition.headerFilterPlaceholder||z.langText("headerFilters|default"))}),y.addEventListener("click",function(o){o.stopPropagation(),y.focus()}),y.addEventListener("focus",o=>{var s=this.table.columnManager.contentsElement.scrollLeft,f=this.table.rowManager.element.scrollLeft;s!==f&&(this.table.rowManager.scrollHorizontal(s),this.table.columnManager.scrollHorizontal(s))}),M=!1,g=function(o){M&&clearTimeout(M),M=setTimeout(function(){k(y.value)},z.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=y,e.modules.filter.attrType=y.hasAttribute("type")?y.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=y.tagName.toLowerCase(),e.definition.headerFilterLiveFilter!==!1&&(e.definition.headerFilter==="autocomplete"||e.definition.headerFilter==="tickCross"||(e.definition.editor==="autocomplete"||e.definition.editor==="tickCross")&&e.definition.headerFilter===!0||(y.addEventListener("keyup",g),y.addEventListener("search",g),e.modules.filter.attrType=="number"&&y.addEventListener("change",function(o){k(y.value)}),e.modules.filter.attrType=="text"&&this.table.browser!=="ie"&&y.setAttribute("type","search")),(e.modules.filter.tagType=="input"||e.modules.filter.tagType=="select"||e.modules.filter.tagType=="textarea")&&y.addEventListener("mousedown",function(o){o.stopPropagation()})),t.appendChild(y),e.contentElement.appendChild(t),E||z.headerFilterColumns.push(e),l&&l()}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})}showHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})}setHeaderFilterFocus(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())}getHeaderFilterValue(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())}setHeaderFilterValue(e,r){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,r,!0),e.modules.filter.success(r)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}reloadHeaderFilter(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}refreshFilter(){this.tableInitialized&&(this.table.options.filterMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0))}trackChanges(){this.changed=!0,this.dispatch("filter-changed")}hasChanged(){var e=this.changed;return this.changed=!1,e}setFilter(e,r,E,z){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:r,value:E,params:z}]),this.addFilter(e)}addFilter(e,r,E,z){var k=!1;Array.isArray(e)||(e=[{field:e,type:r,value:E,params:z}]),e.forEach(m=>{m=this.findFilter(m),m&&(this.filterList.push(m),k=!0)}),k&&this.trackChanges()}findFilter(e){var r;if(Array.isArray(e))return this.findSubFilters(e);var E=!1;return typeof e.field=="function"?E=function(z){return e.field(z,e.type||{})}:Kf.filters[e.type]?(r=this.table.columnManager.getColumnByField(e.field),r?E=function(z){return Kf.filters[e.type](e.value,r.getFieldValue(z),z,e.params||{})}:E=function(z){return Kf.filters[e.type](e.value,z[e.field],z,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=E,e.func?e:!1}findSubFilters(e){var r=[];return e.forEach(E=>{E=this.findFilter(E),E&&r.push(E)}),r.length?r:!1}getFilters(e,r){var E=[];return e&&(E=this.getHeaderFilters()),r&&E.forEach(function(z){typeof z.type=="function"&&(z.type="function")}),E=E.concat(this.filtersToArray(this.filterList,r)),E}filtersToArray(e,r){var E=[];return e.forEach(z=>{var k;Array.isArray(z)?E.push(this.filtersToArray(z,r)):(k={field:z.field,type:z.type,value:z.value},r&&typeof k.type=="function"&&(k.type="function"),E.push(k))}),E}getHeaderFilters(){var e=[];for(var r in this.headerFilters)e.push({field:r,type:this.headerFilters[r].type,value:this.headerFilters[r].value});return e}removeFilter(e,r,E){Array.isArray(e)||(e=[{field:e,type:r,value:E}]),e.forEach(z=>{var k=-1;typeof z.field=="object"?k=this.filterList.findIndex(m=>z===m):k=this.filterList.findIndex(m=>z.field===m.field&&z.type===m.type&&z.value===m.value),k>-1?this.filterList.splice(k,1):console.warn("Filter Error - No matching filter type found, ignoring: ",z.type)}),this.trackChanges()}clearFilter(e){this.filterList=[],e&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(e=>{typeof e.modules.filter.value<"u"&&delete e.modules.filter.value,e.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(e)}),this.trackChanges()}search(e,r,E,z){var k=[],m=[];return Array.isArray(r)||(r=[{field:r,type:E,value:z}]),r.forEach(t=>{t=this.findFilter(t),t&&m.push(t)}),this.table.rowManager.rows.forEach(t=>{var d=!0;m.forEach(y=>{this.filterRecurse(y,t.getData())||(d=!1)}),d&&k.push(e==="data"?t.getData("data"):t.getComponent())}),k}filter(e,r){var E=[],z=[];return this.subscribedExternal("dataFiltering")&&this.dispatchExternal("dataFiltering",this.getFilters(!0)),this.table.options.filterMode!=="remote"&&(this.filterList.length||Object.keys(this.headerFilters).length)?e.forEach(k=>{this.filterRow(k)&&E.push(k)}):E=e.slice(0),this.subscribedExternal("dataFiltered")&&(E.forEach(k=>{z.push(k.getComponent())}),this.dispatchExternal("dataFiltered",this.getFilters(!0),z)),E}filterRow(e,r){var E=!0,z=e.getData();this.filterList.forEach(m=>{this.filterRecurse(m,z)||(E=!1)});for(var k in this.headerFilters)this.headerFilters[k].func(z)||(E=!1);return E}filterRecurse(e,r){var E=!1;return Array.isArray(e)?e.forEach(z=>{this.filterRecurse(z,r)&&(E=!0)}):E=e.func(r),E}}Kf.moduleName="filter";Kf.filters=FO;function BO(n,e,r){return this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function NO(n,e,r){return n.getValue()}function VO(n,e,r){return n.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function jO(n,e,r){var E=parseFloat(n.getValue()),z="",k,m,t,d,y,i=e.decimal||".",M=e.thousand||",",g=e.negativeSign||"-",h=e.symbol||"",l=!!e.symbolAfter,a=typeof e.precision<"u"?e.precision:2;if(isNaN(E))return this.emptyToSpace(this.sanitizeHTML(n.getValue()));if(E<0&&(E=Math.abs(E),z=g),k=a!==!1?E.toFixed(a):E,k=String(k).split("."),m=k[0],t=k.length>1?i+k[1]:"",e.thousand!==!1)for(d=/(\d+)(\d{3})/;d.test(m);)m=m.replace(d,"$1"+M+"$2");return y=m+t,z===!0?(y="("+y+")",l?y+h:h+y):l?z+y+h:z+h+y}function UO(n,e,r){var E=n.getValue(),z=e.urlPrefix||"",k=e.download,m=E,t=document.createElement("a"),d;function y(i,M){var g=i.shift(),h=M[g];return i.length&&typeof h=="object"?y(i,h):h}if(e.labelField&&(d=n.getData(),m=y(e.labelField.split(this.table.options.nestedFieldSeparator),d)),e.label)switch(typeof e.label){case"string":m=e.label;break;case"function":m=e.label(n);break}if(m){if(e.urlField&&(d=n.getData(),E=oo.retrieveNestedData(this.table.options.nestedFieldSeparator,e.urlField,d)),e.url)switch(typeof e.url){case"string":E=e.url;break;case"function":E=e.url(n);break}return t.setAttribute("href",z+E),e.target&&t.setAttribute("target",e.target),e.download&&(typeof k=="function"?k=k(n):k=k===!0?"":k,t.setAttribute("download",k)),t.innerHTML=this.emptyToSpace(this.sanitizeHTML(m)),t}else return" "}function HO(n,e,r){var E=document.createElement("img"),z=n.getValue();switch(e.urlPrefix&&(z=e.urlPrefix+n.getValue()),e.urlSuffix&&(z=z+e.urlSuffix),E.setAttribute("src",z),typeof e.height){case"number":E.style.height=e.height+"px";break;case"string":E.style.height=e.height;break}switch(typeof e.width){case"number":E.style.width=e.width+"px";break;case"string":E.style.width=e.width;break}return E.addEventListener("load",function(){n.getRow().normalizeHeight()}),E}function GO(n,e,r){var E=n.getValue(),z=n.getElement(),k=e.allowEmpty,m=e.allowTruthy,t=Object.keys(e).includes("trueValue"),d=typeof e.tickElement<"u"?e.tickElement:'',y=typeof e.crossElement<"u"?e.crossElement:'';return t&&E===e.trueValue||!t&&(m&&E||E===!0||E==="true"||E==="True"||E===1||E==="1")?(z.setAttribute("aria-checked",!0),d||""):k&&(E==="null"||E===""||E===null||typeof E>"u")?(z.setAttribute("aria-checked","mixed"),""):(z.setAttribute("aria-checked",!1),y||"")}function WO(n,e,r){var E=window.DateTime||luxon.DateTime,z=e.inputFormat||"yyyy-MM-dd HH:mm:ss",k=e.outputFormat||"dd/MM/yyyy HH:mm:ss",m=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",t=n.getValue();if(typeof E<"u"){var d;return E.isDateTime(t)?d=t:z==="iso"?d=E.fromISO(String(t)):d=E.fromFormat(String(t),z),d.isValid?(e.timezone&&(d=d.setZone(e.timezone)),d.toFormat(k)):m===!0||!t?t:typeof m=="function"?m(t):m}else console.error("Format Error - 'datetime' formatter is dependant on luxon.js")}function qO(n,e,r){var E=window.DateTime||luxon.DateTime,z=e.inputFormat||"yyyy-MM-dd HH:mm:ss",k=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",m=typeof e.suffix<"u"?e.suffix:!1,t=typeof e.unit<"u"?e.unit:"days",d=typeof e.humanize<"u"?e.humanize:!1,y=typeof e.date<"u"?e.date:E.now(),i=n.getValue();if(typeof E<"u"){var M;return E.isDateTime(i)?M=i:z==="iso"?M=E.fromISO(String(i)):M=E.fromFormat(String(i),z),M.isValid?d?M.diff(y,t).toHuman()+(m?" "+m:""):parseInt(M.diff(y,t)[t])+(m?" "+m:""):k===!0?i:typeof k=="function"?k(i):k}else console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js")}function YO(n,e,r){var E=n.getValue();return typeof e[E]>"u"?(console.warn("Missing display value for "+E),E):e[E]}function $O(n,e,r){var E=n.getValue(),z=n.getElement(),k=e&&e.stars?e.stars:5,m=document.createElement("span"),t=document.createElementNS("http://www.w3.org/2000/svg","svg"),d='',y='';m.style.verticalAlign="middle",t.setAttribute("width","14"),t.setAttribute("height","14"),t.setAttribute("viewBox","0 0 512 512"),t.setAttribute("xml:space","preserve"),t.style.padding="0 1px",E=E&&!isNaN(E)?parseInt(E):0,E=Math.max(0,Math.min(E,k));for(var i=1;i<=k;i++){var M=t.cloneNode(!0);M.innerHTML=i<=E?d:y,m.appendChild(M)}return z.style.whiteSpace="nowrap",z.style.overflow="hidden",z.style.textOverflow="ellipsis",z.setAttribute("aria-label",E),m}function ZO(n,e,r){var E=this.sanitizeHTML(n.getValue())||0,z=document.createElement("span"),k=e&&e.max?e.max:100,m=e&&e.min?e.min:0,t=e&&typeof e.color<"u"?e.color:["red","orange","green"],d="#666666",y,i;if(!(isNaN(E)||typeof n.getValue()>"u")){switch(z.classList.add("tabulator-traffic-light"),i=parseFloat(E)<=k?parseFloat(E):k,i=parseFloat(i)>=m?parseFloat(i):m,y=(k-m)/100,i=Math.round((i-m)/y),typeof t){case"string":d=t;break;case"function":d=t(E);break;case"object":if(Array.isArray(t)){var M=100/t.length,g=Math.floor(i/M);g=Math.min(g,t.length-1),g=Math.max(g,0),d=t[g];break}}return z.style.backgroundColor=d,z}}function XO(n,e={},r){var E=this.sanitizeHTML(n.getValue())||0,z=n.getElement(),k=e.max?e.max:100,m=e.min?e.min:0,t=e.legendAlign?e.legendAlign:"center",d,y,i,M,g;switch(y=parseFloat(E)<=k?parseFloat(E):k,y=parseFloat(y)>=m?parseFloat(y):m,d=(k-m)/100,y=Math.round((y-m)/d),typeof e.color){case"string":i=e.color;break;case"function":i=e.color(E);break;case"object":if(Array.isArray(e.color)){let u=100/e.color.length,o=Math.floor(y/u);o=Math.min(o,e.color.length-1),o=Math.max(o,0),i=e.color[o];break}default:i="#2DC214"}switch(typeof e.legend){case"string":M=e.legend;break;case"function":M=e.legend(E);break;case"boolean":M=E;break;default:M=!1}switch(typeof e.legendColor){case"string":g=e.legendColor;break;case"function":g=e.legendColor(E);break;case"object":if(Array.isArray(e.legendColor)){let u=100/e.legendColor.length,o=Math.floor(y/u);o=Math.min(o,e.legendColor.length-1),o=Math.max(o,0),g=e.legendColor[o]}break;default:g="#000"}z.style.minWidth="30px",z.style.position="relative",z.setAttribute("aria-label",y);var h=document.createElement("div");h.style.display="inline-block",h.style.width=y+"%",h.style.backgroundColor=i,h.style.height="100%",h.setAttribute("data-max",k),h.setAttribute("data-min",m);var l=document.createElement("div");if(l.style.position="relative",l.style.width="100%",l.style.height="100%",M){var a=document.createElement("div");a.style.position="absolute",a.style.top=0,a.style.left=0,a.style.textAlign=t,a.style.width="100%",a.style.color=g,a.innerHTML=M}return r(function(){if(!(n instanceof LM)){var u=document.createElement("div");u.style.position="absolute",u.style.top="4px",u.style.bottom="4px",u.style.left="4px",u.style.right="4px",z.appendChild(u),z=u}z.appendChild(l),l.appendChild(h),M&&l.appendChild(a)}),""}function KO(n,e,r){return n.getElement().style.backgroundColor=this.sanitizeHTML(n.getValue()),""}function JO(n,e,r){return''}function QO(n,e,r){return''}function eP(n,e,r){var E=document.createElement("span"),z=n.getRow(),k=n.getTable();return z.watchPosition(m=>{e.relativeToPage&&(m+=k.modules.page.getPageSize()*(k.modules.page.getPage()-1)),E.innerText=m}),E}function tP(n,e,r){return n.getElement().classList.add("tabulator-row-handle"),"
"}function nP(n,e,r){var E=document.createElement("div"),z=n.getRow()._row.modules.responsiveLayout;E.classList.add("tabulator-responsive-collapse-toggle"),E.innerHTML=` +`),n.forEach(function(i){e.push(i.split(" "))}),e.length&&(d=this.table.columnManager.getVisibleColumnsByIndex(),y=d.indexOf(m.column),y>-1)))?(z?t=e[0].length:t=d.indexOf(k.end.column)-y+1,d=d.slice(y,y+t),e.forEach(i=>{var M={},g=i.length;d.forEach(function(h,l){M[h.field]=i[l%g]}),r.push(M)}),r):!1}};class qd extends qi{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var r,E,z;this.blocked||(e.preventDefault(),this.customSelection?(r=this.customSelection,this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r))):(z=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),E=this.table.modules.export.generateHTMLTable(z),r=E?this.generatePlainContent(z):"",this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r),E=this.table.options.clipboardCopyFormatter("html",E))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",r):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",r),E&&e.clipboardData.setData("text/html",E)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",r),E&&e.originalEvent.clipboardData.setData("text/html",E)),this.dispatchExternal("clipboardCopied",r,E),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var r=[];return e.forEach(E=>{var z=[];E.columns.forEach(k=>{var m="";if(k)if(E.type==="group"&&(k.value=k.component.getKey()),k.value===null)m="";else switch(typeof k.value){case"object":m=JSON.stringify(k.value);break;case"undefined":m="";break;default:m=k.value}z.push(m)}),r.push(z.join(" "))}),r.join(` +`)}copy(e,r){var E,z;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),E=window.getSelection(),E.toString()&&r&&(this.customSelection=E.toString()),E.removeAllRanges(),E.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(z=document.body.createTextRange(),z.moveToElementText(this.table.element),z.select()),document.execCommand("copy"),E&&E.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=qd.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=qd.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var r,E,z;this.checkPasteOrigin(e)&&(r=this.getPasteData(e),E=this.pasteParser.call(this,r),E?(e.preventDefault(),this.table.modExists("mutator")&&(E=this.mutateData(E)),z=this.pasteAction.call(this,E),this.dispatchExternal("clipboardPasted",r,E,z)):this.dispatchExternal("clipboardPasteError",r))}mutateData(e){var r=[];return Array.isArray(e)?e.forEach(E=>{r.push(this.table.modules.mutator.transformRow(E,"clipboard"))}):r=e,r}checkPasteOrigin(e){var r=!0,E=this.confirm("clipboard-paste",[e]);return(E||!["DIV","SPAN"].includes(e.target.tagName))&&(r=!1),r}getPasteData(e){var r;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(r=e.originalEvent.clipboardData.getData("text/plain")),r}}qd.moduleName="clipboard";qd.pasteActions=hP;qd.pasteParsers=dP;class pP{constructor(e){return this._row=e,new Proxy(this,{get:function(r,E,z){return typeof r[E]<"u"?r[E]:r._row.table.componentFunctionBinder.handle("row",r._row,E)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}_getSelf(){return this._row}}class LM{constructor(e){return this._cell=e,new Proxy(this,{get:function(r,E,z){return typeof r[E]<"u"?r[E]:r._cell.table.componentFunctionBinder.handle("cell",r._cell,E)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,r){typeof r>"u"&&(r=!0),this._cell.setValue(e,r)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class eg extends Ml{constructor(e,r){super(e.table),this.table=e.table,this.column=e,this.row=r,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell")}_configureCell(){var e=this.element,r=this.column.getField(),E={top:"flex-start",bottom:"flex-end",middle:"center"},z={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=E[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=z[this.column.hozAlign]||"")),r&&e.setAttribute("tabulator-field",r),this.column.definition.cssClass){var k=this.column.definition.cssClass.split(" ");k.forEach(m=>{e.classList.add(m)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,r,E){var z=this.setValueProcessData(e,r,E);z&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,r,E){var z=!1;return(this.value!==e||E)&&(z=!0,r&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),z&&this.dispatch("cell-value-changed",this),z}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new LM(this)),this.component}}class IM{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(r,E,z){return typeof r[E]<"u"?r[E]:r._column.table.componentFunctionBinder.handle("column",r._column,E)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(r){e.push(r.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(r){e.push(r.getComponent())}),e}getParentColumn(){return this._column.parent instanceof vf?this._column.parent.getComponent():!1}_getSelf(){return this._column}scrollTo(e,r){return this._column.table.columnManager.scrollToColumn(this._column,e,r)}getTable(){return this._column.table}move(e,r){var E=this._column.table.columnManager.findColumn(e);E?this._column.table.columnManager.moveColumn(this._column,E,r):console.warn("Move Error - No matching column found:",E)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var r;return e===!0?r=this._column.reinitializeWidth(!0):r=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),r}}var PM={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class vf extends Ml{constructor(e,r){super(r.table),this.definition=e,this.parent=r,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((E,z)=>{var k=new vf(E,this);this.attachColumn(k)}),this.checkColumnVisibility()):r.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let r in e)typeof this.definition[r]>"u"&&(this.definition[r]=e[r]);this.definition=this.table.columnManager.optionsList.generate(vf.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{vf.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var r=e.cssClass.split(" ");r.forEach(E=>{this.element.classList.add(E)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,r=document.createElement("div");if(r.classList.add("tabulator-col-title"),e.headerWordWrap&&r.classList.add("tabulator-col-title-wrap"),e.editableTitle){var E=document.createElement("input");E.classList.add("tabulator-title-editor"),E.addEventListener("click",z=>{z.stopPropagation(),E.focus()}),E.addEventListener("mousedown",z=>{z.stopPropagation()}),E.addEventListener("change",()=>{e.title=E.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),r.appendChild(E),e.field?this.langBind("columns|"+e.field,z=>{E.value=z||e.title||" "}):E.value=e.title||" "}else e.field?this.langBind("columns|"+e.field,z=>{this._formatColumnHeaderTitle(r,z||e.title||" ")}):this._formatColumnHeaderTitle(r,e.title||" ");return r}_formatColumnHeaderTitle(e,r){var E=this.chain("column-format",[this,r,e],null,()=>r);switch(typeof E){case"object":E instanceof Node?e.appendChild(E):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",E));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=E}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(r=>{this.element.classList.add(r)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var r=e,E=this.fieldStructure,z=E.length,k;for(let m=0;m{r.push(E),r=r.concat(E.getColumns(!0))}):r=this.columns,r}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var r=[];return this.isGroup&&e&&(this.columns.forEach(function(E){r.push(E.getDefinition(!0))}),this.definition.columns=r),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(r){r.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,r){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(E){E.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,r){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(E){E.hide()}),this.dispatch("column-hide",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var r=this.columns.indexOf(e);r>-1&&this.columns.splice(r,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(r){r.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this)}checkCellHeights(){var e=[];this.cells.forEach(function(r){r.row.heightInitialized&&(r.row.getElement().offsetParent!==null?(e.push(r.row),r.row.clearCellHeight()):r.row.heightInitialized=!1)}),e.forEach(function(r){r.calcHeight()}),e.forEach(function(r){r.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(r){r.setMinWidth()})}setMaxWidth(e){this.minWidth&&e{this.isGroup&&this.columns.forEach(function(z){z.delete()}),this.dispatch("column-delete",this);var E=this.cells.length;for(let z=0;z-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(z=>{z.clearWidth()}));var r=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(z=>{var k=z.getWidth();k>r&&(r=k)}),r)){var E=r+1;this.maxInitialWidth&&!e&&(E=Math.min(E,this.maxInitialWidth)),this.setWidthActual(E)}}}updateDefinition(e){var r;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},this.getDefinition()),r=Object.assign(r,e),this.table.columnManager.addColumn(r,!1,this).then(E=>(r.field==this.field&&(this.field=!1),this.delete().then(()=>E.getComponent()))))}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}getComponent(){return this.component||(this.component=new IM(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}}vf.defaultOptionList=PM;class Wy{constructor(e){return this._row=e,new Proxy(this,{get:function(r,E,z){return typeof r[E]<"u"?r[E]:r._row.table.componentFunctionBinder.handle("row",r._row,E)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,r){return this._row.table.rowManager.scrollToRow(this._row,e,r)}move(e,r){this._row.moveToRow(e,r)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class yl extends Ml{constructor(e,r,E="row"){super(r.table),this.parent=r,this.data={},this.type=E,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,r){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,r),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,r)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var r=0,E;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(E=this.table.options.resizableRows?this.element.clientHeight:0,this.cells.forEach(function(z){var k=z.getHeight();k>r&&(r=k)}),e?this.height=Math.max(r,E):this.height=this.manualHeight?this.height:Math.max(r,E)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,r){(this.height!=e||r)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var r=this.element&&oo.elVisible(this.element),E={},z;return new Promise((k,m)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(E=Object.assign(E,this.data),E=Object.assign(E,e)),z=this.chain("row-data-changing",[this,E,e],null,e);for(let t in z)this.data[t]=z[t];this.dispatch("row-data-save-after",this);for(let t in e)this.table.columnManager.getColumnsByFieldRoot(t).forEach(y=>{let i=this.getCell(y.getField());if(i){let M=y.getFieldValue(z);i.getValue()!==M&&(i.setValueProcessData(M),r&&i.cellRendered())}});r?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,r,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),k()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var r=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),r=this.cells.find(function(E){return E.column===e}),r}getCellIndex(e){return this.cells.findIndex(function(r){return r===e})}findCell(e){return this.cells.find(r=>r.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,r){var E=this.table.rowManager.findRow(e);E?(this.table.rowManager.moveRowActual(this,E,!r),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let r=0;r{r(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new Wy(this)),this.component}}var mP={avg:function(n,e,r){var E=0,z=typeof r.precision<"u"?r.precision:2;return n.length&&(E=n.reduce(function(k,m){return Number(k)+Number(m)}),E=E/n.length,E=z!==!1?E.toFixed(z):E),parseFloat(E).toString()},max:function(n,e,r){var E=null,z=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(k){k=Number(k),(k>E||E===null)&&(E=k)}),E!==null?z!==!1?E.toFixed(z):E:""},min:function(n,e,r){var E=null,z=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(k){k=Number(k),(k(n||z===0)&&n.indexOf(z)===k);return E.length}};class zh extends qi{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new vf({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,r){return this.topRow&&r.unshift(this.topRow),this.botRow&&r.push(this.botRow),r}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var r=e.definition,E={topCalcParams:r.topCalcParams||{},botCalcParams:r.bottomCalcParams||{}};if(r.topCalc){switch(typeof r.topCalc){case"string":zh.calculations[r.topCalc]?E.topCalc=zh.calculations[r.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.topCalc);break;case"function":E.topCalc=r.topCalc;break}E.topCalc&&(e.modules.columnCalcs=E,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(r.bottomCalc){switch(typeof r.bottomCalc){case"string":zh.calculations[r.bottomCalc]?E.botCalc=zh.calculations[r.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.bottomCalc);break;case"function":E.botCalc=r.bottomCalc;break}E.botCalc&&(e.modules.columnCalcs=E,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var r,E;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(r=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),E=this.generateRow("top",r),this.topRow=E;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(E.getElement()),E.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),E=this.generateRow("bottom",r),this.botRow=E;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(E.getElement()),E.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(r=>{this.recalcGroup(r)})}}recalcGroup(e){var r,E;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(r=this.rowsToData(e.rows),E=this.generateRowData("bottom",r),e.calcs.bottom.updateData(E),e.calcs.bottom.reinitialize()),e.calcs.top&&(r=this.rowsToData(e.rows),E=this.generateRowData("top",r),e.calcs.top.updateData(E),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var r=[];return e.forEach(E=>{if(r.push(E.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&E.modules.dataTree&&E.modules.dataTree.open){var z=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(E));r=r.concat(z)}}),r}generateRow(e,r){var E=this.generateRowData(e,r),z;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),z=new yl(E,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),z.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),z.component=!1,z.getComponent=()=>(z.component||(z.component=new pP(z)),z.component),z.generateCells=()=>{var k=[];this.table.columnManager.columnsByIndex.forEach(m=>{this.genColumn.setField(m.getField()),this.genColumn.hozAlign=m.hozAlign,m.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(m.definition[e+"CalcFormatter"]),params:m.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=m.definition.cssClass;var t=new eg(this.genColumn,z);t.getElement(),t.column=m,t.setWidth(),m.cells.push(t),k.push(t),m.visible||t.hide()}),z.cells=k},z}generateRowData(e,r){var E={},z=e=="top"?this.topCalcs:this.botCalcs,k=e=="top"?"topCalc":"botCalc",m,t;return z.forEach(function(d){var y=[];d.modules.columnCalcs&&d.modules.columnCalcs[k]&&(r.forEach(function(i){y.push(d.getFieldValue(i))}),t=k+"Params",m=typeof d.modules.columnCalcs[t]=="function"?d.modules.columnCalcs[t](y,r):d.modules.columnCalcs[t],d.setFieldValue(E,d.modules.columnCalcs[k](y,r,m)))}),E}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},r;return this.table.options.groupBy&&this.table.modExists("groupRows")?(r=this.table.modules.groupRows.getGroups(!0),r.forEach(E=>{e[E.getKey()]=this.getGroupResults(E)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var r=e._getSelf(),E=e.getSubGroups(),z={},k={};return E.forEach(m=>{z[m.getKey()]=this.getGroupResults(m)}),k={top:r.calcs.top?r.calcs.top.getData():{},bottom:r.calcs.bottom?r.calcs.bottom.getData():{},groups:z},k}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}zh.moduleName="columnCalcs";zh.calculations=mP;class OM extends qi{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,r=this.table.options;switch(this.field=r.dataTreeChildField,this.indent=r.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),r.dataTreeBranchElement?r.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof r.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=r.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),r.dataTreeCollapseElement?typeof r.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=r.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="
"),r.dataTreeExpandElement?typeof r.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=r.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),typeof r.dataTreeStartExpanded){case"boolean":this.startOpen=function(E,z){return r.dataTreeStartExpanded};break;case"function":this.startOpen=r.dataTreeStartExpanded;break;default:this.startOpen=function(E,z){return r.dataTreeStartExpanded[z]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var r;e&&(r=this.table.rowManager.getRows(),r.forEach(E=>{this.reinitializeRowChildren(E)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(r=>{e=e.concat(this.getTreeChildren(r,!1,!0))}),e}rowDataChanged(e,r,E){this.redrawNeeded(E)&&(this.initializeRow(e),r&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var r=e.column.getField();r===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var r=e.getData()[this.field],E=Array.isArray(r),z=E||!E&&typeof r=="object"&&r!==null;!z&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!z&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:z?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&z?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&z?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:z}}reinitializeRowChildren(e){var r=this.getTreeChildren(e,!1,!0);r.forEach(function(E){E.reinitialize(!0)})}layoutRow(e){var r=this.elementField?e.getCell(this.elementField):e.getCells()[0],E=r.getElement(),z=e.modules.dataTree;z.branchEl&&(z.branchEl.parentNode&&z.branchEl.parentNode.removeChild(z.branchEl),z.branchEl=!1),z.controlEl&&(z.controlEl.parentNode&&z.controlEl.parentNode.removeChild(z.controlEl),z.controlEl=!1),this.generateControlElement(e,E),e.getElement().classList.add("tabulator-tree-level-"+z.index),z.index&&(this.branchEl?(z.branchEl=this.branchEl.cloneNode(!0),E.insertBefore(z.branchEl,E.firstChild),this.table.rtl?z.branchEl.style.marginRight=(z.branchEl.offsetWidth+z.branchEl.style.marginLeft)*(z.index-1)+z.index*this.indent+"px":z.branchEl.style.marginLeft=(z.branchEl.offsetWidth+z.branchEl.style.marginRight)*(z.index-1)+z.index*this.indent+"px"):this.table.rtl?E.style.paddingRight=parseInt(window.getComputedStyle(E,null).getPropertyValue("padding-right"))+z.index*this.indent+"px":E.style.paddingLeft=parseInt(window.getComputedStyle(E,null).getPropertyValue("padding-left"))+z.index*this.indent+"px")}generateControlElement(e,r){var E=e.modules.dataTree,z=E.controlEl;r=r||e.getCells()[0].getElement(),E.children!==!1&&(E.open?(E.controlEl=this.collapseEl.cloneNode(!0),E.controlEl.addEventListener("click",k=>{k.stopPropagation(),this.collapseRow(e)})):(E.controlEl=this.expandEl.cloneNode(!0),E.controlEl.addEventListener("click",k=>{k.stopPropagation(),this.expandRow(e)})),E.controlEl.addEventListener("mousedown",k=>{k.stopPropagation()}),z&&z.parentNode===r?z.parentNode.replaceChild(E.controlEl,z):r.insertBefore(E.controlEl,r.firstChild))}getRows(e){var r=[];return e.forEach((E,z)=>{var k,m;r.push(E),E instanceof yl&&(E.create(),k=E.modules.dataTree,!k.index&&k.children!==!1&&(m=this.getChildren(E),m.forEach(t=>{t.create(),r.push(t)})))}),r}getChildren(e,r){var E=e.modules.dataTree,z=[],k=[];return E.children!==!1&&(E.open||r)&&(Array.isArray(E.children)||(E.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?z=this.table.modules.filter.filter(E.children):z=E.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(z),z.forEach(m=>{k.push(m);var t=this.getChildren(m);t.forEach(d=>{k.push(d)})})),k}generateChildren(e){var r=[],E=e.getData()[this.field];return Array.isArray(E)||(E=[E]),E.forEach(z=>{var k=new yl(z||{},this.table.rowManager);k.create(),k.modules.dataTree.index=e.modules.dataTree.index+1,k.modules.dataTree.parent=e,k.modules.dataTree.children&&(k.modules.dataTree.open=this.startOpen(k.getComponent(),k.modules.dataTree.index)),r.push(k)}),r}expandRow(e,r){var E=e.modules.dataTree;E.children!==!1&&(E.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var r=e.modules.dataTree,E=[],z;return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?z=this.table.modules.filter.filter(r.children):z=r.children,z.forEach(k=>{k instanceof yl&&E.push(k)})),E}rowDelete(e){var r=e.modules.dataTree.parent,E;r&&(E=this.findChildIndex(e,r),E!==!1&&r.data[this.field].splice(E,1),r.data[this.field].length||delete r.data[this.field],this.initializeRow(r),this.layoutRow(r)),this.refreshData(!0)}addTreeChildRow(e,r,E,z){var k=!1;typeof r=="string"&&(r=JSON.parse(r)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof z<"u"&&(k=this.findChildIndex(z,e),k!==!1&&e.data[this.field].splice(E?k:k+1,0,r)),k===!1&&(E?e.data[this.field].unshift(r):e.data[this.field].push(r)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,r){var E=!1;return typeof e=="object"?e instanceof yl?E=e.data:e instanceof Wy?E=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?r.modules.dataTree&&(E=r.modules.dataTree.children.find(z=>z instanceof yl?z.element===e:!1),E&&(E=E.data)):e===null&&(E=!1):typeof e>"u"?E=!1:E=r.data[this.field].find(z=>z.data[this.table.options.index]==e),E&&(Array.isArray(r.data[this.field])&&(E=r.data[this.field].indexOf(E)),E==-1&&(E=!1)),E}getTreeChildren(e,r,E){var z=e.modules.dataTree,k=[];return z&&z.children&&(Array.isArray(z.children)||(z.children=this.generateChildren(e)),z.children.forEach(m=>{m instanceof yl&&(k.push(r?m.getComponent():m),E&&(k=k.concat(this.getTreeChildren(m,r,E))))})),k}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}OM.moduleName="dataTree";function gP(n,e={},r){var E=e.delimiter?e.delimiter:",",z=[],k=[];n.forEach(m=>{var t=[];switch(m.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":m.columns.forEach((d,y)=>{d&&d.depth===1&&(k[y]=typeof d.value>"u"||d.value===null?"":'"'+String(d.value).split('"').join('""')+'"')});break;case"row":m.columns.forEach(d=>{if(d){switch(typeof d.value){case"object":d.value=d.value!==null?JSON.stringify(d.value):"";break;case"undefined":d.value="";break}t.push('"'+String(d.value).split('"').join('""')+'"')}}),z.push(t.join(E));break}}),k.length&&z.unshift(k.join(E)),z=z.join(` +`),e.bom&&(z="\uFEFF"+z),r(z,"text/csv")}function vP(n,e,r){var E=[];n.forEach(z=>{var k={};switch(z.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":z.columns.forEach(m=>{m&&(k[m.component.getTitleDownload()||m.component.getField()]=m.value)}),E.push(k);break}}),E=JSON.stringify(E,null," "),r(E,"application/json")}function yP(n,e={},r){var E=[],z=[],k={},m=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},t=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},d=e.jsPDF||{},y=e.title?e.title:"";d.orientation||(d.orientation=e.orientation||"landscape"),d.unit||(d.unit="pt"),n.forEach(g=>{switch(g.type){case"header":E.push(i(g));break;case"group":z.push(i(g,m));break;case"calc":z.push(i(g,t));break;case"row":z.push(i(g));break}});function i(g,h){var l=[];return g.columns.forEach(a=>{var u;if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}u={content:a.value,colSpan:a.width,rowSpan:a.height},h&&(u.styles=h),l.push(u)}}),l}var M=new jspdf.jsPDF(d);e.autoTable&&(typeof e.autoTable=="function"?k=e.autoTable(M)||{}:k=e.autoTable),y&&(k.didDrawPage=function(g){M.text(y,40,30)}),k.head=E,k.body=z,M.autoTable(k),e.documentProcessing&&e.documentProcessing(M),r(M.output("arraybuffer"),"application/pdf")}function bP(n,e,r){var E=this,z=e.sheetName||"Sheet1",k=XLSX.utils.book_new(),m=new Ml(this),t="compress"in e?e.compress:!0,d=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:t},y;d.type="binary",k.SheetNames=[],k.Sheets={};function i(){var h=[],l=[],a={},u={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((o,s)=>o+(s&&s.width?s.width:1),0):0,r:n.length}};return n.forEach((o,s)=>{var c=[];o.columns.forEach(function(f,p){f?(c.push(!(f.value instanceof Date)&&typeof f.value=="object"?JSON.stringify(f.value):f.value),(f.width>1||f.height>-1)&&(f.height>1||f.width>1)&&l.push({s:{r:s,c:p},e:{r:s+f.height-1,c:p+f.width-1}})):c.push("")}),h.push(c)}),XLSX.utils.sheet_add_aoa(a,h),a["!ref"]=XLSX.utils.encode_range(u),l.length&&(a["!merges"]=l),a}if(e.sheetOnly){r(i());return}if(e.sheets)for(var M in e.sheets)e.sheets[M]===!0?(k.SheetNames.push(M),k.Sheets[M]=i()):(k.SheetNames.push(M),m.commsSend(e.sheets[M],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:E.active,intercept:function(h){k.Sheets[M]=h}}));else k.SheetNames.push(z),k.Sheets[z]=i();e.documentProcessing&&(k=e.documentProcessing(k));function g(h){for(var l=new ArrayBuffer(h.length),a=new Uint8Array(l),u=0;u!=h.length;++u)a[u]=h.charCodeAt(u)&255;return l}y=XLSX.write(k,d),r(g(y),"application/octet-stream")}function xP(n,e,r){this.modExists("export",!0)&&r(this.modules.export.generateHTMLTable(n),"text/html")}function _P(n,e,r){const E=[];n.forEach(z=>{const k={};switch(z.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":z.columns.forEach(m=>{m&&(k[m.component.getTitleDownload()||m.component.getField()]=m.value)}),E.push(JSON.stringify(k));break}}),r(E.join(` +`),"application/x-ndjson")}var wP={csv:gP,json:vP,jsonLines:_P,pdf:yP,xlsx:bP,html:xP};class a0 extends qi{constructor(e){super(e),this.registerTableOption("downloadEncoder",function(r,E){return new Blob([r],{type:E})}),this.registerTableOption("downloadReady",void 0),this.registerTableOption("downloadConfig",{}),this.registerTableOption("downloadRowRange","active"),this.registerColumnOption("download"),this.registerColumnOption("titleDownload")}initialize(){this.deprecatedOptionsCheck(),this.registerTableFunction("download",this.download.bind(this)),this.registerTableFunction("downloadToTab",this.downloadToTab.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("downloadReady","downloadEncoder")}downloadToTab(e,r,E,z){this.download(e,r,E,z,!0)}download(e,r,E,z,k){var m=!1;function t(y,i){k?k===!0?this.triggerDownload(y,i,e,r,!0):k(y):this.triggerDownload(y,i,e,r)}if(typeof e=="function"?m=e:a0.downloaders[e]?m=a0.downloaders[e]:console.warn("Download Error - No such download type found: ",e),m){var d=this.generateExportList(z);m.call(this.table,d,E||{},t.bind(this))}}generateExportList(e){var r=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),E=this.table.options.groupHeaderDownload;return E&&!Array.isArray(E)&&(E=[E]),r.forEach(z=>{var k;z.type==="group"&&(k=z.columns[0],E&&E[z.indent]&&(k.value=E[z.indent](k.value,z.component._group.getRowCount(),z.component._group.getData(),z.component)))}),r}triggerDownload(e,r,E,z,k){var m=document.createElement("a"),t=this.table.options.downloadEncoder(e,r);t&&(k?window.open(window.URL.createObjectURL(t)):(z=z||"Tabulator."+(typeof E=="function"?"txt":E),navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,z):(m.setAttribute("href",window.URL.createObjectURL(t)),m.setAttribute("download",z),m.style.display="none",document.body.appendChild(m),m.click(),document.body.removeChild(m))),this.dispatchExternal("downloadComplete"))}commsReceived(e,r,E){switch(r){case"intercept":this.download(E.type,"",E.options,E.active,E.intercept);break}}}a0.moduleName="download";a0.downloaders=wP;function $y(n,e){var r=e.mask,E=typeof e.maskLetterChar<"u"?e.maskLetterChar:"A",z=typeof e.maskNumberChar<"u"?e.maskNumberChar:"9",k=typeof e.maskWildcardChar<"u"?e.maskWildcardChar:"*";function m(t){var d=r[t];typeof d<"u"&&d!==k&&d!==E&&d!==z&&(n.value=n.value+""+d,m(t+1))}n.addEventListener("keydown",t=>{var d=n.value.length,y=t.key;if(t.keyCode>46&&!t.ctrlKey&&!t.metaKey){if(d>=r.length)return t.preventDefault(),t.stopPropagation(),!1;switch(r[d]){case E:if(y.toUpperCase()==y.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1;break;case z:if(isNaN(y))return t.preventDefault(),t.stopPropagation(),!1;break;case k:break;default:if(y!==r[d])return t.preventDefault(),t.stopPropagation(),!1}}}),n.addEventListener("keyup",t=>{t.keyCode>46&&e.maskAutoFill&&m(n.value.length)}),n.placeholder||(n.placeholder=r),e.maskAutoFill&&m(n.value.length)}function TP(n,e,r,E,z){var k=n.getValue(),m=document.createElement("input");if(m.setAttribute("type",z.search?"search":"text"),m.style.padding="4px",m.style.width="100%",m.style.boxSizing="border-box",z.elementAttributes&&typeof z.elementAttributes=="object")for(let d in z.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),m.setAttribute(d,m.getAttribute(d)+z.elementAttributes["+"+d])):m.setAttribute(d,z.elementAttributes[d]);m.value=typeof k<"u"?k:"",e(function(){n.getType()==="cell"&&(m.focus({preventScroll:!0}),m.style.height="100%",z.selectContents&&m.select())});function t(d){(k===null||typeof k>"u")&&m.value!==""||m.value!==k?r(m.value)&&(k=m.value):E()}return m.addEventListener("change",t),m.addEventListener("blur",t),m.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:E();break;case 35:case 36:d.stopPropagation();break}}),z.mask&&$y(m,z),m}function kP(n,e,r,E,z){var k=n.getValue(),m=z.verticalNavigation||"hybrid",t=String(k!==null&&typeof k<"u"?k:""),d=document.createElement("textarea"),y=0;if(d.style.display="block",d.style.padding="2px",d.style.height="100%",d.style.width="100%",d.style.boxSizing="border-box",d.style.whiteSpace="pre-wrap",d.style.resize="none",z.elementAttributes&&typeof z.elementAttributes=="object")for(let M in z.elementAttributes)M.charAt(0)=="+"?(M=M.slice(1),d.setAttribute(M,d.getAttribute(M)+z.elementAttributes["+"+M])):d.setAttribute(M,z.elementAttributes[M]);d.value=t,e(function(){n.getType()==="cell"&&(d.focus({preventScroll:!0}),d.style.height="100%",d.scrollHeight,d.style.height=d.scrollHeight+"px",n.getRow().normalizeHeight(),z.selectContents&&d.select())});function i(M){(k===null||typeof k>"u")&&d.value!==""||d.value!==k?(r(d.value)&&(k=d.value),setTimeout(function(){n.getRow().normalizeHeight()},300)):E()}return d.addEventListener("change",i),d.addEventListener("blur",i),d.addEventListener("keyup",function(){d.style.height="";var M=d.scrollHeight;d.style.height=M+"px",M!=y&&(y=M,n.getRow().normalizeHeight())}),d.addEventListener("keydown",function(M){switch(M.keyCode){case 13:M.shiftKey&&z.shiftEnterSubmit&&i();break;case 27:E();break;case 38:(m=="editor"||m=="hybrid"&&d.selectionStart)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 40:(m=="editor"||m=="hybrid"&&d.selectionStart!==d.value.length)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 35:case 36:M.stopPropagation();break}}),z.mask&&$y(d,z),d}function MP(n,e,r,E,z){var k=n.getValue(),m=z.verticalNavigation||"editor",t=document.createElement("input");if(t.setAttribute("type","number"),typeof z.max<"u"&&t.setAttribute("max",z.max),typeof z.min<"u"&&t.setAttribute("min",z.min),typeof z.step<"u"&&t.setAttribute("step",z.step),t.style.padding="4px",t.style.width="100%",t.style.boxSizing="border-box",z.elementAttributes&&typeof z.elementAttributes=="object")for(let i in z.elementAttributes)i.charAt(0)=="+"?(i=i.slice(1),t.setAttribute(i,t.getAttribute(i)+z.elementAttributes["+"+i])):t.setAttribute(i,z.elementAttributes[i]);t.value=k;var d=function(i){y()};e(function(){n.getType()==="cell"&&(t.removeEventListener("blur",d),t.focus({preventScroll:!0}),t.style.height="100%",t.addEventListener("blur",d),z.selectContents&&t.select())});function y(){var i=t.value;!isNaN(i)&&i!==""&&(i=Number(i)),i!==k?r(i)&&(k=i):E()}return t.addEventListener("keydown",function(i){switch(i.keyCode){case 13:y();break;case 27:E();break;case 38:case 40:m=="editor"&&(i.stopImmediatePropagation(),i.stopPropagation());break;case 35:case 36:i.stopPropagation();break}}),z.mask&&$y(t,z),t}function AP(n,e,r,E,z){var k=n.getValue(),m=document.createElement("input");if(m.setAttribute("type","range"),typeof z.max<"u"&&m.setAttribute("max",z.max),typeof z.min<"u"&&m.setAttribute("min",z.min),typeof z.step<"u"&&m.setAttribute("step",z.step),m.style.padding="4px",m.style.width="100%",m.style.boxSizing="border-box",z.elementAttributes&&typeof z.elementAttributes=="object")for(let d in z.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),m.setAttribute(d,m.getAttribute(d)+z.elementAttributes["+"+d])):m.setAttribute(d,z.elementAttributes[d]);m.value=k,e(function(){n.getType()==="cell"&&(m.focus({preventScroll:!0}),m.style.height="100%")});function t(){var d=m.value;!isNaN(d)&&d!==""&&(d=Number(d)),d!=k?r(d)&&(k=d):E()}return m.addEventListener("blur",function(d){t()}),m.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:E();break}}),m}function SP(n,e,r,E,z){var k=z.format,m=z.verticalNavigation||"editor",t=k?window.DateTime||luxon.DateTime:null,d=n.getValue(),y=document.createElement("input");function i(g){var h;return t.isDateTime(g)?h=g:k==="iso"?h=t.fromISO(String(g)):h=t.fromFormat(String(g),k),h.toFormat("yyyy-MM-dd")}if(y.type="date",y.style.padding="4px",y.style.width="100%",y.style.boxSizing="border-box",z.max&&y.setAttribute("max",k?i(z.max):z.max),z.min&&y.setAttribute("min",k?i(z.min):z.min),z.elementAttributes&&typeof z.elementAttributes=="object")for(let g in z.elementAttributes)g.charAt(0)=="+"?(g=g.slice(1),y.setAttribute(g,y.getAttribute(g)+z.elementAttributes["+"+g])):y.setAttribute(g,z.elementAttributes[g]);d=typeof d<"u"?d:"",k&&(t?d=i(d):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),y.value=d,e(function(){n.getType()==="cell"&&(y.focus({preventScroll:!0}),y.style.height="100%",z.selectContents&&y.select())});function M(){var g=y.value,h;if((d===null||typeof d>"u")&&g!==""||g!==d){if(g&&k)switch(h=t.fromFormat(String(g),"yyyy-MM-dd"),k){case!0:g=h;break;case"iso":g=h.toISO();break;default:g=h.toFormat(k)}r(g)&&(d=y.value)}else E()}return y.addEventListener("blur",function(g){(g.relatedTarget||g.rangeParent||g.explicitOriginalTarget!==y)&&M()}),y.addEventListener("keydown",function(g){switch(g.keyCode){case 13:M();break;case 27:E();break;case 35:case 36:g.stopPropagation();break;case 38:case 40:m=="editor"&&(g.stopImmediatePropagation(),g.stopPropagation());break}}),y}function CP(n,e,r,E,z){var k=z.format,m=z.verticalNavigation||"editor",t=k?window.DateTime||luxon.DateTime:null,d,y=n.getValue(),i=document.createElement("input");if(i.type="time",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",z.elementAttributes&&typeof z.elementAttributes=="object")for(let g in z.elementAttributes)g.charAt(0)=="+"?(g=g.slice(1),i.setAttribute(g,i.getAttribute(g)+z.elementAttributes["+"+g])):i.setAttribute(g,z.elementAttributes[g]);y=typeof y<"u"?y:"",k&&(t?(t.isDateTime(y)?d=y:k==="iso"?d=t.fromISO(String(y)):d=t.fromFormat(String(y),k),y=d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),console.log("val",y),i.value=y,e(function(){n.getType()=="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",z.selectContents&&i.select())});function M(){var g=i.value,h;if((y===null||typeof y>"u")&&g!==""||g!==y){if(g&&k)switch(h=t.fromFormat(String(g),"hh:mm"),k){case!0:g=h;break;case"iso":g=h.toISO();break;default:g=h.toFormat(k)}r(g)&&(y=i.value)}else E()}return i.addEventListener("blur",function(g){(g.relatedTarget||g.rangeParent||g.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(g){switch(g.keyCode){case 13:M();break;case 27:E();break;case 35:case 36:g.stopPropagation();break;case 38:case 40:m=="editor"&&(g.stopImmediatePropagation(),g.stopPropagation());break}}),i}function EP(n,e,r,E,z){var k=z.format,m=z.verticalNavigation||"editor",t=k?window.DateTime||luxon.DateTime:null,d,y=n.getValue(),i=document.createElement("input");if(i.type="datetime-local",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",z.elementAttributes&&typeof z.elementAttributes=="object")for(let g in z.elementAttributes)g.charAt(0)=="+"?(g=g.slice(1),i.setAttribute(g,i.getAttribute(g)+z.elementAttributes["+"+g])):i.setAttribute(g,z.elementAttributes[g]);y=typeof y<"u"?y:"",k&&(t?(t.isDateTime(y)?d=y:k==="iso"?d=t.fromISO(String(y)):d=t.fromFormat(String(y),k),y=d.toFormat("yyyy-MM-dd")+"T"+d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=y,e(function(){n.getType()==="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",z.selectContents&&i.select())});function M(){var g=i.value,h;if((y===null||typeof y>"u")&&g!==""||g!==y){if(g&&k)switch(h=t.fromISO(String(g)),k){case!0:g=h;break;case"iso":g=h.toISO();break;default:g=h.toFormat(k)}r(g)&&(y=i.value)}else E()}return i.addEventListener("blur",function(g){(g.relatedTarget||g.rangeParent||g.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(g){switch(g.keyCode){case 13:M();break;case 27:E();break;case 35:case 36:g.stopPropagation();break;case 38:case 40:m=="editor"&&(g.stopImmediatePropagation(),g.stopPropagation());break}}),i}class G2{constructor(e,r,E,z,k,m){this.edit=e,this.table=e.table,this.cell=r,this.params=this._initializeParams(m),this.data=[],this.displayItems=[],this.currentItems=[],this.focusedItem=null,this.input=this._createInputElement(),this.listEl=this._createListElement(),this.initialValues=null,this.isFilter=r.getType()==="header",this.filterTimeout=null,this.filtered=!1,this.typing=!1,this.values=[],this.popup=null,this.listIteration=0,this.lastAction="",this.filterTerm="",this.blurable=!0,this.actions={success:z,cancel:k},this._deprecatedOptionsCheck(),this._initializeValue(),E(this._onRendered.bind(this))}_deprecatedOptionsCheck(){this.params.listItemFormatter&&this.cell.getTable().deprecationAdvisor.msg("The listItemFormatter editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.sortValuesList&&this.cell.getTable().deprecationAdvisor.msg("The sortValuesList editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchFunc&&this.cell.getTable().deprecationAdvisor.msg("The searchFunc editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchingPlaceholder&&this.cell.getTable().deprecationAdvisor.msg("The searchingPlaceholder editor param has been deprecated, please see the latest editor documentation for updated options")}_initializeValue(){var e=this.cell.getValue();typeof e>"u"&&typeof this.params.defaultValue<"u"&&(e=this.params.defaultValue),this.initialValues=this.params.multiselect?e:[e],this.isFilter&&(this.input.value=this.initialValues?this.initialValues.join(","):"",this.headerFilterInitialListGen())}_onRendered(){var e=this.cell.getElement();function r(E){E.stopPropagation()}this.isFilter||(this.input.style.height="100%",this.input.focus({preventScroll:!0})),e.addEventListener("click",r),setTimeout(()=>{e.removeEventListener("click",r)},1e3),this.input.addEventListener("mousedown",this._preventPopupBlur.bind(this))}_createListElement(){var e=document.createElement("div");return e.classList.add("tabulator-edit-list"),e.addEventListener("mousedown",this._preventBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e}_setListWidth(){var e=this.isFilter?this.input:this.cell.getElement();this.listEl.style.minWidth=e.offsetWidth+"px",this.params.maxWidth&&(this.params.maxWidth===!0?this.listEl.style.maxWidth=e.offsetWidth+"px":typeof this.params.maxWidth=="number"?this.listEl.style.maxWidth=this.params.maxWidth+"px":this.listEl.style.maxWidth=this.params.maxWidth)}_createInputElement(){var e=this.params.elementAttributes,r=document.createElement("input");if(r.setAttribute("type",this.params.clearable?"search":"text"),r.style.padding="4px",r.style.width="100%",r.style.boxSizing="border-box",this.params.autocomplete||(r.style.cursor="default",r.style.caretColor="transparent"),e&&typeof e=="object")for(let E in e)E.charAt(0)=="+"?(E=E.slice(1),r.setAttribute(E,r.getAttribute(E)+e["+"+E])):r.setAttribute(E,e[E]);return this.params.mask&&$y(r,this.params),this._bindInputEvents(r),r}_initializeParams(e){var r=["values","valuesURL","valuesLookup"],E;return e=Object.assign({},e),e.verticalNavigation=e.verticalNavigation||"editor",e.placeholderLoading=typeof e.placeholderLoading>"u"?"Searching ...":e.placeholderLoading,e.placeholderEmpty=typeof e.placeholderEmpty>"u"?"No Results Found":e.placeholderEmpty,e.filterDelay=typeof e.filterDelay>"u"?300:e.filterDelay,e.emptyValue=Object.keys(e).includes("emptyValue")?e.emptyValue:"",E=Object.keys(e).filter(z=>r.includes(z)).length,E?E>1&&console.warn("list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"):console.warn("list editor config error - either the values, valuesURL, or valuesLookup option must be set"),e.autocomplete?e.multiselect&&(e.multiselect=!1,console.warn("list editor config error - multiselect option is not available when autocomplete is enabled")):(e.freetext&&(e.freetext=!1,console.warn("list editor config error - freetext option is only available when autocomplete is enabled")),e.filterFunc&&(e.filterFunc=!1,console.warn("list editor config error - filterFunc option is only available when autocomplete is enabled")),e.filterRemote&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option is only available when autocomplete is enabled")),e.mask&&(e.mask=!1,console.warn("list editor config error - mask option is only available when autocomplete is enabled")),e.allowEmpty&&(e.allowEmpty=!1,console.warn("list editor config error - allowEmpty option is only available when autocomplete is enabled")),e.listOnEmpty&&(e.listOnEmpty=!1,console.warn("list editor config error - listOnEmpty option is only available when autocomplete is enabled"))),e.filterRemote&&!(typeof e.valuesLookup=="function"||e.valuesURL)&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option should only be used when values list is populated from a remote source")),e}_bindInputEvents(e){e.addEventListener("focus",this._inputFocus.bind(this)),e.addEventListener("click",this._inputClick.bind(this)),e.addEventListener("blur",this._inputBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e.addEventListener("search",this._inputSearch.bind(this)),this.params.autocomplete&&e.addEventListener("keyup",this._inputKeyUp.bind(this))}_inputFocus(e){this.rebuildOptionsList()}_filter(){this.params.filterRemote?(clearTimeout(this.filterTimeout),this.filterTimeout=setTimeout(()=>{this.rebuildOptionsList()},this.params.filterDelay)):this._filterList()}_inputClick(e){e.stopPropagation()}_inputBlur(e){this.blurable&&(this.popup?this.popup.hide():this._resolveValue(!0))}_inputSearch(){this._clearChoices()}_inputKeyDown(e){switch(e.keyCode){case 38:this._keyUp(e);break;case 40:this._keyDown(e);break;case 37:case 39:this._keySide(e);break;case 13:this._keyEnter();break;case 27:this._keyEsc();break;case 36:case 35:this._keyHomeEnd(e);break;case 9:this._keyTab(e);break;default:this._keySelectLetter(e)}}_inputKeyUp(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:this._keyAutoCompLetter(e)}}_preventPopupBlur(){this.popup&&this.popup.blockHide(),setTimeout(()=>{this.popup&&this.popup.restoreHide()},10)}_preventBlur(){this.blurable=!1,setTimeout(()=>{this.blurable=!0},10)}_keyTab(e){this.params.autocomplete&&this.lastAction==="typing"?this._resolveValue(!0):this.focusedItem&&this._chooseItem(this.focusedItem,!0)}_keyUp(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),r>0&&this._focusItem(this.displayItems[r-1]))}_keyDown(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r=38&&e.keyCode<=90&&this._scrollToValue(e.keyCode))}_keyAutoCompLetter(e){this._filter(),this.lastAction="typing",this.typing=!0}_scrollToValue(e){clearTimeout(this.filterTimeout);var r=String.fromCharCode(e).toLowerCase();this.filterTerm+=r.toLowerCase();var E=this.displayItems.find(z=>typeof z.label<"u"&&z.label.toLowerCase().startsWith(this.filterTerm));E&&this._focusItem(E),this.filterTimeout=setTimeout(()=>{this.filterTerm=""},800)}_focusItem(e){this.lastAction="focus",this.focusedItem&&this.focusedItem.element&&this.focusedItem.element.classList.remove("focused"),this.focusedItem=e,e&&e.element&&(e.element.classList.add("focused"),e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}))}headerFilterInitialListGen(){this._generateOptions(!0)}rebuildOptionsList(){this._generateOptions().then(this._sortOptions.bind(this)).then(this._buildList.bind(this)).then(this._showList.bind(this)).catch(e=>{Number.isInteger(e)||console.error("List generation error",e)})}_filterList(){this._buildList(this._filterOptions()),this._showList()}_generateOptions(e){var r=[],E=++this.listIteration;return this.filtered=!1,this.params.values?r=this.params.values:this.params.valuesURL?r=this._ajaxRequest(this.params.valuesURL,this.input.value):typeof this.params.valuesLookup=="function"?r=this.params.valuesLookup(this.cell,this.input.value):this.params.valuesLookup&&(r=this._uniqueColumnValues(this.params.valuesLookupField)),r instanceof Promise?(e||this._addPlaceholder(this.params.placeholderLoading),r.then().then(z=>this.listIteration===E?this._parseList(z):Promise.reject(E))):Promise.resolve(this._parseList(r))}_addPlaceholder(e){var r=document.createElement("div");typeof e=="function"&&(e=e(this.cell.getComponent(),this.listEl)),e&&(this._clearList(),e instanceof HTMLElement?r=e:(r.classList.add("tabulator-edit-list-placeholder"),r.innerHTML=e),this.listEl.appendChild(r),this._showList())}_ajaxRequest(e,r){var E=this.params.filterRemote?{term:r}:{};return e=EM(e,{},E),fetch(e).then(z=>z.ok?z.json().catch(k=>(console.warn("List Ajax Load Error - Invalid JSON returned",k),Promise.reject(k))):(console.error("List Ajax Load Error - Connection Error: "+z.status,z.statusText),Promise.reject(z))).catch(z=>(console.error("List Ajax Load Error - Connection Error: ",z),Promise.reject(z)))}_uniqueColumnValues(e){var r={},E=this.table.getData(this.params.valuesLookup),z;return e?z=this.table.columnManager.getColumnByField(e):z=this.cell.getColumn()._getSelf(),z?E.forEach(k=>{var m=z.getFieldValue(k);m!==null&&typeof m<"u"&&m!==""&&(r[m]=!0)}):(console.warn("unable to find matching column to create select lookup list:",e),r=[]),Object.keys(r)}_parseList(e){var r=[];return Array.isArray(e)||(e=Object.entries(e).map(([E,z])=>({label:z,value:E}))),e.forEach(E=>{typeof E!="object"&&(E={label:E,value:E}),this._parseListItem(E,r,0)}),!this.currentItems.length&&this.params.freetext&&(this.input.value=this.initialValues,this.typing=!0,this.lastAction="typing"),this.data=r,r}_parseListItem(e,r,E){var z={};e.options?z=this._parseListGroup(e,E+1):(z={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,selected:!1,visible:!0,level:E,original:e},this.initialValues&&this.initialValues.indexOf(e.value)>-1&&this._chooseItem(z,!0)),r.push(z)}_parseListGroup(e,r){var E={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,visible:!0,level:r,options:[],original:e};return e.options.forEach(z=>{this._parseListItem(z,E.options,r)}),E}_sortOptions(e){var r;return this.params.sort&&(r=typeof this.params.sort=="function"?this.params.sort:this._defaultSortFunction.bind(this),this._sortGroup(r,e)),e}_sortGroup(e,r){r.sort((E,z)=>e(E.label,z.label,E.value,z.value,E.original,z.original)),r.forEach(E=>{E.group&&this._sortGroup(e,E.options)})}_defaultSortFunction(e,r){var E,z,k,m,t=0,d,y=/(\d+)|(\D+)/g,i=/\d/,M=0;if(this.params.sort==="desc"&&([e,r]=[r,e]),!e&&e!==0)M=!r&&r!==0?0:-1;else if(!r&&r!==0)M=1;else{if(isFinite(e)&&isFinite(r))return e-r;if(E=String(e).toLowerCase(),z=String(r).toLowerCase(),E===z)return 0;if(!(i.test(E)&&i.test(z)))return E>z?1:-1;for(E=E.match(y),z=z.match(y),d=E.length>z.length?z.length:E.length;tm?1:-1;return E.length>z.length}return M}_filterOptions(){var e=this.params.filterFunc||this._defaultFilterFunc,r=this.input.value;return r?(this.filtered=!0,this.data.forEach(E=>{this._filterItem(e,r,E)})):this.filtered=!1,this.data}_filterItem(e,r,E){var z=!1;return E.group?(E.options.forEach(k=>{this._filterItem(e,r,k)&&(z=!0)}),E.visible=z):E.visible=e(r,E.label,E.value,E.original),E.visible}_defaultFilterFunc(e,r,E,z){return e=String(e).toLowerCase(),r!==null&&typeof r<"u"&&(String(r).toLowerCase().indexOf(e)>-1||String(E).toLowerCase().indexOf(e)>-1)}_clearList(){for(;this.listEl.firstChild;)this.listEl.removeChild(this.listEl.firstChild);this.displayItems=[]}_buildList(e){this._clearList(),e.forEach(r=>{this._buildItem(r)}),this.displayItems.length||this._addPlaceholder(this.params.placeholderEmpty)}_buildItem(e){var r=e.element,E;if(!this.filtered||e.visible){if(!r){if(r=document.createElement("div"),r.tabIndex=0,E=this.params.itemFormatter?this.params.itemFormatter(e.label,e.value,e.original,r):e.label,E instanceof HTMLElement?r.appendChild(E):r.innerHTML=E,e.group?r.classList.add("tabulator-edit-list-group"):r.classList.add("tabulator-edit-list-item"),r.classList.add("tabulator-edit-list-group-level-"+e.level),e.elementAttributes&&typeof e.elementAttributes=="object")for(let z in e.elementAttributes)z.charAt(0)=="+"?(z=z.slice(1),r.setAttribute(z,this.input.getAttribute(z)+e.elementAttributes["+"+z])):r.setAttribute(z,e.elementAttributes[z]);e.group?r.addEventListener("click",this._groupClick.bind(this,e)):r.addEventListener("click",this._itemClick.bind(this,e)),r.addEventListener("mousedown",this._preventBlur.bind(this)),e.element=r}this._styleItem(e),this.listEl.appendChild(r),e.group?e.options.forEach(z=>{this._buildItem(z)}):this.displayItems.push(e)}}_showList(){var e=this.popup&&this.popup.isVisible();if(this.input.parentNode){if(this.params.autocomplete&&this.input.value===""&&!this.params.listOnEmpty){this.popup&&this.popup.hide(!0);return}this._setListWidth(),this.popup||(this.popup=this.edit.popup(this.listEl)),this.popup.show(this.cell.getElement(),"bottom"),e||setTimeout(()=>{this.popup.hideOnBlur(this._resolveValue.bind(this,!0))},10)}}_styleItem(e){e&&e.element&&(e.selected?e.element.classList.add("active"):e.element.classList.remove("active"))}_itemClick(e,r){r.stopPropagation(),this._chooseItem(e)}_groupClick(e,r){r.stopPropagation()}_cancel(){this.popup.hide(!0),this.actions.cancel()}_clearChoices(){this.typing=!0,this.currentItems.forEach(e=>{e.selected=!1,this._styleItem(e)}),this.currentItems=[],this.focusedItem=null}_chooseItem(e,r){var E;this.typing=!1,this.params.multiselect?(E=this.currentItems.indexOf(e),E>-1?(this.currentItems.splice(E,1),e.selected=!1):(this.currentItems.push(e),e.selected=!0),this.input.value=this.currentItems.map(z=>z.label).join(","),this._styleItem(e)):(this.currentItems=[e],e.selected=!0,this.input.value=e.label,this._styleItem(e),r||this._resolveValue()),this._focusItem(e)}_resolveValue(e){var r,E;if(this.popup&&this.popup.hide(!0),this.params.multiselect)r=this.currentItems.map(z=>z.value);else if(e&&this.params.autocomplete&&this.typing)if(this.params.freetext||this.params.allowEmpty&&this.input.value==="")r=this.input.value;else{this.actions.cancel();return}else this.currentItems[0]?r=this.currentItems[0].value:(E=Array.isArray(this.initialValues)?this.initialValues[0]:this.initialValues,E===null||typeof E>"u"||E===""?r=E:r=this.params.emptyValue);r===""&&(r=this.params.emptyValue),this.actions.success(r),this.isFilter&&(this.initialValues=r&&!Array.isArray(r)?[r]:r,this.currentItems=[])}}function LP(n,e,r,E,z){this.deprecationMsg("The select editor has been deprecated, please use the new list editor");var k=new G2(this,n,e,r,E,z);return k.input}function IP(n,e,r,E,z){var k=new G2(this,n,e,r,E,z);return k.input}function PP(n,e,r,E,z){this.deprecationMsg("The autocomplete editor has been deprecated, please use the new list editor with the 'autocomplete' editorParam"),z.autocomplete=!0;var k=new G2(this,n,e,r,E,z);return k.input}function OP(n,e,r,E,z){var k=this,m=n.getElement(),t=n.getValue(),d=m.getElementsByTagName("svg").length||5,y=m.getElementsByTagName("svg")[0]?m.getElementsByTagName("svg")[0].getAttribute("width"):14,i=[],M=document.createElement("div"),g=document.createElementNS("http://www.w3.org/2000/svg","svg");function h(o){i.forEach(function(s,c){c'):(k.table.browser=="ie"?s.setAttribute("class","tabulator-star-inactive"):s.classList.replace("tabulator-star-active","tabulator-star-inactive"),s.innerHTML='')})}function l(o){var s=document.createElement("span"),c=g.cloneNode(!0);i.push(c),s.addEventListener("mouseenter",function(f){f.stopPropagation(),f.stopImmediatePropagation(),h(o)}),s.addEventListener("mousemove",function(f){f.stopPropagation(),f.stopImmediatePropagation()}),s.addEventListener("click",function(f){f.stopPropagation(),f.stopImmediatePropagation(),r(o),m.blur()}),s.appendChild(c),M.appendChild(s)}function a(o){t=o,h(o)}if(m.style.whiteSpace="nowrap",m.style.overflow="hidden",m.style.textOverflow="ellipsis",M.style.verticalAlign="middle",M.style.display="inline-block",M.style.padding="4px",g.setAttribute("width",y),g.setAttribute("height",y),g.setAttribute("viewBox","0 0 512 512"),g.setAttribute("xml:space","preserve"),g.style.padding="0 1px",z.elementAttributes&&typeof z.elementAttributes=="object")for(let o in z.elementAttributes)o.charAt(0)=="+"?(o=o.slice(1),M.setAttribute(o,M.getAttribute(o)+z.elementAttributes["+"+o])):M.setAttribute(o,z.elementAttributes[o]);for(var u=1;u<=d;u++)l(u);return t=Math.min(parseInt(t),d),h(t),M.addEventListener("mousemove",function(o){h(0)}),M.addEventListener("click",function(o){r(0)}),m.addEventListener("blur",function(o){E()}),m.addEventListener("keydown",function(o){switch(o.keyCode){case 39:a(t+1);break;case 37:a(t-1);break;case 13:r(t);break;case 27:E();break}}),M}function RP(n,e,r,E,z){var k=n.getElement(),m=typeof z.max>"u"?k.getElementsByTagName("div")[0]&&k.getElementsByTagName("div")[0].getAttribute("max")||100:z.max,t=typeof z.min>"u"?k.getElementsByTagName("div")[0]&&k.getElementsByTagName("div")[0].getAttribute("min")||0:z.min,d=(m-t)/100,y=n.getValue()||0,i=document.createElement("div"),M=document.createElement("div"),g,h;function l(){var a=window.getComputedStyle(k,null),u=d*Math.round(M.offsetWidth/((k.clientWidth-parseInt(a.getPropertyValue("padding-left"))-parseInt(a.getPropertyValue("padding-right")))/100))+t;r(u),k.setAttribute("aria-valuenow",u),k.setAttribute("aria-label",y)}if(i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.width="5px",i.classList.add("tabulator-progress-handle"),M.style.display="inline-block",M.style.position="relative",M.style.height="100%",M.style.backgroundColor="#488CE9",M.style.maxWidth="100%",M.style.minWidth="0%",z.elementAttributes&&typeof z.elementAttributes=="object")for(let a in z.elementAttributes)a.charAt(0)=="+"?(a=a.slice(1),M.setAttribute(a,M.getAttribute(a)+z.elementAttributes["+"+a])):M.setAttribute(a,z.elementAttributes[a]);return k.style.padding="4px 4px",y=Math.min(parseFloat(y),m),y=Math.max(parseFloat(y),t),y=Math.round((y-t)/d),M.style.width=y+"%",k.setAttribute("aria-valuemin",t),k.setAttribute("aria-valuemax",m),M.appendChild(i),i.addEventListener("mousedown",function(a){g=a.screenX,h=M.offsetWidth}),i.addEventListener("mouseover",function(){i.style.cursor="ew-resize"}),k.addEventListener("mousemove",function(a){g&&(M.style.width=h+a.screenX-g+"px")}),k.addEventListener("mouseup",function(a){g&&(a.stopPropagation(),a.stopImmediatePropagation(),g=!1,h=!1,l())}),k.addEventListener("keydown",function(a){switch(a.keyCode){case 39:a.preventDefault(),M.style.width=M.clientWidth+k.clientWidth/100+"px";break;case 37:a.preventDefault(),M.style.width=M.clientWidth-k.clientWidth/100+"px";break;case 9:case 13:l();break;case 27:E();break}}),k.addEventListener("blur",function(){E()}),M}function DP(n,e,r,E,z){var k=n.getValue(),m=document.createElement("input"),t=z.tristate,d=typeof z.indeterminateValue>"u"?null:z.indeterminateValue,y=!1,i=Object.keys(z).includes("trueValue"),M=Object.keys(z).includes("falseValue");if(m.setAttribute("type","checkbox"),m.style.marginTop="5px",m.style.boxSizing="border-box",z.elementAttributes&&typeof z.elementAttributes=="object")for(let h in z.elementAttributes)h.charAt(0)=="+"?(h=h.slice(1),m.setAttribute(h,m.getAttribute(h)+z.elementAttributes["+"+h])):m.setAttribute(h,z.elementAttributes[h]);m.value=k,t&&(typeof k>"u"||k===d||k==="")&&(y=!0,m.indeterminate=!0),this.table.browser!="firefox"&&this.table.browser!="safari"&&e(function(){n.getType()==="cell"&&m.focus({preventScroll:!0})}),m.checked=i?k===z.trueValue:k===!0||k==="true"||k==="True"||k===1;function g(h){var l=m.checked;return i&&l?l=z.trueValue:M&&!l&&(l=z.falseValue),t?h?y?d:l:m.checked&&!y?(m.checked=!1,m.indeterminate=!0,y=!0,d):(y=!1,l):l}return m.addEventListener("change",function(h){r(g())}),m.addEventListener("blur",function(h){r(g(!0))}),m.addEventListener("keydown",function(h){h.keyCode==13&&r(g()),h.keyCode==27&&E()}),m}var zP={input:TP,textarea:kP,number:MP,range:AP,date:SP,time:CP,datetime:EP,select:LP,list:IP,autocomplete:PP,star:OP,progress:RP,tickCross:DP};class tg extends qi{constructor(e){super(e),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=tg.editors,this.registerColumnOption("editable"),this.registerColumnOption("editor"),this.registerColumnOption("editorParams"),this.registerColumnOption("cellEditing"),this.registerColumnOption("cellEdited"),this.registerColumnOption("cellEditCancelled"),this.registerTableOption("editTriggerEvent","focus"),this.registerTableFunction("getEditedCells",this.getEditedCells.bind(this)),this.registerTableFunction("clearCellEdited",this.clearCellEdited.bind(this)),this.registerTableFunction("navigatePrev",this.navigatePrev.bind(this)),this.registerTableFunction("navigateNext",this.navigateNext.bind(this)),this.registerTableFunction("navigateLeft",this.navigateLeft.bind(this)),this.registerTableFunction("navigateRight",this.navigateRight.bind(this)),this.registerTableFunction("navigateUp",this.navigateUp.bind(this)),this.registerTableFunction("navigateDown",this.navigateDown.bind(this)),this.registerComponentFunction("cell","isEdited",this.cellIsEdited.bind(this)),this.registerComponentFunction("cell","clearEdited",this.clearEdited.bind(this)),this.registerComponentFunction("cell","edit",this.editCell.bind(this)),this.registerComponentFunction("cell","cancelEdit",this.cellCancelEdit.bind(this)),this.registerComponentFunction("cell","navigatePrev",this.navigatePrev.bind(this)),this.registerComponentFunction("cell","navigateNext",this.navigateNext.bind(this)),this.registerComponentFunction("cell","navigateLeft",this.navigateLeft.bind(this)),this.registerComponentFunction("cell","navigateRight",this.navigateRight.bind(this)),this.registerComponentFunction("cell","navigateUp",this.navigateUp.bind(this)),this.registerComponentFunction("cell","navigateDown",this.navigateDown.bind(this))}initialize(){this.subscribe("cell-init",this.bindEditor.bind(this)),this.subscribe("cell-delete",this.clearEdited.bind(this)),this.subscribe("cell-value-changed",this.updateCellClass.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("column-delete",this.columnDeleteCheck.bind(this)),this.subscribe("row-deleting",this.rowDeleteCheck.bind(this)),this.subscribe("row-layout",this.rowEditableCheck.bind(this)),this.subscribe("data-refreshing",this.cancelEdit.bind(this)),this.subscribe("clipboard-paste",this.pasteBlocker.bind(this)),this.subscribe("keybinding-nav-prev",this.navigatePrev.bind(this,void 0)),this.subscribe("keybinding-nav-next",this.keybindingNavigateNext.bind(this)),this.subscribe("keybinding-nav-up",this.navigateUp.bind(this,void 0)),this.subscribe("keybinding-nav-down",this.navigateDown.bind(this,void 0))}pasteBlocker(e){if(this.currentCell)return!0}keybindingNavigateNext(e){var r=this.currentCell,E=this.options("tabEndNewRow");r&&(this.navigateNext(r,e)||E&&(r.getElement().firstChild.blur(),this.invalidEdit||(E===!0?E=this.table.addRow({}):typeof E=="function"?E=this.table.addRow(E(r.row.getComponent())):E=this.table.addRow(Object.assign({},E)),E.then(()=>{setTimeout(()=>{r.getComponent().navigateNext()})}))))}cellIsEdited(e){return!!e.modules.edit&&e.modules.edit.edited}cellCancelEdit(e){e===this.currentCell?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}updateCellClass(e){this.allowEdit(e)?e.getElement().classList.add("tabulator-editable"):e.getElement().classList.remove("tabulator-editable")}clearCellEdited(e){e||(e=this.table.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.table.modules.edit.clearEdited(r._getSelf())})}navigatePrev(e=this.currentCell,r){var E,z;if(e){if(r&&r.preventDefault(),E=this.navigateLeft(),E)return!0;if(z=this.table.rowManager.prevDisplayRow(e.row,!0),z&&(E=this.findPrevEditableCell(z,z.cells.length),E))return E.getComponent().edit(),!0}return!1}navigateNext(e=this.currentCell,r){var E,z;if(e){if(r&&r.preventDefault(),E=this.navigateRight(),E)return!0;if(z=this.table.rowManager.nextDisplayRow(e.row,!0),z&&(E=this.findNextEditableCell(z,-1),E))return E.getComponent().edit(),!0}return!1}navigateLeft(e=this.currentCell,r){var E,z;return e&&(r&&r.preventDefault(),E=e.getIndex(),z=this.findPrevEditableCell(e.row,E),z)?(z.getComponent().edit(),!0):!1}navigateRight(e=this.currentCell,r){var E,z;return e&&(r&&r.preventDefault(),E=e.getIndex(),z=this.findNextEditableCell(e.row,E),z)?(z.getComponent().edit(),!0):!1}navigateUp(e=this.currentCell,r){var E,z;return e&&(r&&r.preventDefault(),E=e.getIndex(),z=this.table.rowManager.prevDisplayRow(e.row,!0),z)?(z.cells[E].getComponent().edit(),!0):!1}navigateDown(e=this.currentCell,r){var E,z;return e&&(r&&r.preventDefault(),E=e.getIndex(),z=this.table.rowManager.nextDisplayRow(e.row,!0),z)?(z.cells[E].getComponent().edit(),!0):!1}findNextEditableCell(e,r){var E=!1;if(r0)for(var z=r-1;z>=0;z--){let k=e.cells[z];if(k.column.modules.edit&&oo.elVisible(k.getElement())&&this.allowEdit(k)){E=k;break}}return E}initializeColumnCheck(e){typeof e.definition.editor<"u"&&this.initializeColumn(e)}columnDeleteCheck(e){this.currentCell&&this.currentCell.column===e&&this.cancelEdit()}rowDeleteCheck(e){this.currentCell&&this.currentCell.row===e&&this.cancelEdit()}rowEditableCheck(e){e.getCells().forEach(r=>{r.column.modules.edit&&typeof r.column.modules.edit.check=="function"&&this.updateCellClass(r)})}initializeColumn(e){var r={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(typeof e.definition.editor){case"string":this.editors[e.definition.editor]?r.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":r.editor=e.definition.editor;break;case"boolean":e.definition.editor===!0&&(typeof e.definition.formatter!="function"?this.editors[e.definition.formatter]?r.editor=this.editors[e.definition.formatter]:r.editor=this.editors.input:console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}r.editor&&(e.modules.edit=r)}getCurrentCell(){return this.currentCell?this.currentCell.getComponent():!1}clearEditor(e){var r=this.currentCell,E;if(this.invalidEdit=!1,r){for(this.currentCell=!1,E=r.getElement(),this.dispatch("edit-editor-clear",r,e),E.classList.remove("tabulator-editing");E.firstChild;)E.removeChild(E.firstChild);r.row.getElement().classList.remove("tabulator-editing"),r.table.element.classList.remove("tabulator-editing")}}cancelEdit(){if(this.currentCell){var e=this.currentCell,r=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),(e.column.definition.editor=="textarea"||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.definition.cellEditCancelled&&e.column.definition.cellEditCancelled.call(this.table,r),this.dispatch("edit-cancelled",e),this.dispatchExternal("cellEditCancelled",r)}}bindEditor(e){if(e.column.modules.edit){var r=this,E=e.getElement(!0);this.updateCellClass(e),E.setAttribute("tabindex",0),E.addEventListener("mousedown",function(z){z.button===2?z.preventDefault():r.mouseClick=!0}),this.options("editTriggerEvent")==="dblclick"&&E.addEventListener("dblclick",function(z){E.classList.contains("tabulator-editing")||(E.focus({preventScroll:!0}),r.edit(e,z,!1))}),(this.options("editTriggerEvent")==="focus"||this.options("editTriggerEvent")==="click")&&E.addEventListener("click",function(z){E.classList.contains("tabulator-editing")||(E.focus({preventScroll:!0}),r.edit(e,z,!1))}),this.options("editTriggerEvent")==="focus"&&E.addEventListener("focus",function(z){r.recursionBlock||r.edit(e,z,!1)})}}focusCellNoEvent(e,r){this.recursionBlock=!0,r&&this.table.browser==="ie"||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(e,r){this.focusCellNoEvent(e),this.edit(e,!1,r)}focusScrollAdjust(e){if(this.table.rowManager.getRenderMode()=="virtual"){var r=this.table.rowManager.element.scrollTop,E=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,z=e.row.getElement();z.offsetTopE&&(this.table.rowManager.element.scrollTop+=z.offsetTop+z.offsetHeight-E);var k=this.table.rowManager.element.scrollLeft,m=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,t=e.getElement();this.table.modExists("frozenColumns")&&(k+=parseInt(this.table.modules.frozenColumns.leftMargin||0),m-=parseInt(this.table.modules.frozenColumns.rightMargin||0)),this.table.options.renderHorizontal==="virtual"&&(k-=parseInt(this.table.columnManager.renderer.vDomPadLeft),m-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),t.offsetLeftm&&(this.table.rowManager.element.scrollLeft+=t.offsetLeft+t.offsetWidth-m)}}allowEdit(e){var r=!!e.column.modules.edit;if(e.column.modules.edit)switch(typeof e.column.modules.edit.check){case"function":e.row.initialized&&(r=e.column.modules.edit.check(e.getComponent()));break;case"string":r=!!e.row.data[e.column.modules.edit.check];break;case"boolean":r=e.column.modules.edit.check;break}return r}edit(e,r,E){var z=this,k=!0,m=function(){},t=e.getElement(),d=!1,y,i,M;if(this.currentCell){!this.invalidEdit&&this.currentCell!==e&&this.cancelEdit();return}function g(o){if(z.currentCell===e&&!d){var s=z.chain("edit-success",[e,o],!0,!0);return s===!0||z.table.options.validationMode==="highlight"?(d=!0,z.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,z.editedCells.indexOf(e)==-1&&z.editedCells.push(e),e.setValue(o,!0),s===!0):(d=!0,z.invalidEdit=!0,z.focusCellNoEvent(e,!0),m(),setTimeout(()=>{d=!1},10),!1)}}function h(){z.currentCell===e&&!d&&z.cancelEdit()}function l(o){m=o}if(e.column.modules.edit.blocked)return this.mouseClick=!1,this.blur(t),!1;if(r&&r.stopPropagation(),k=this.allowEdit(e),k||E){if(z.cancelEdit(),z.currentCell=e,this.focusScrollAdjust(e),i=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.definition.cellClick&&e.column.definition.cellClick.call(this.table,r,i)),e.column.definition.cellEditing&&e.column.definition.cellEditing.call(this.table,i),this.dispatch("cell-editing",e),this.dispatchExternal("cellEditing",i),M=typeof e.column.modules.edit.params=="function"?e.column.modules.edit.params(i):e.column.modules.edit.params,y=e.column.modules.edit.editor.call(z,i,l,g,h,M),this.currentCell&&y!==!1)if(y instanceof Node){for(t.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-editing"),e.table.element.classList.add("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(y),m();for(var a=t.children,u=0;u{e.push(r.getComponent())}),e}clearEdited(e){var r;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,this.dispatch("edit-edited-clear",e)),r=this.editedCells.indexOf(e),r>-1&&this.editedCells.splice(r,1)}}tg.moduleName="edit";tg.editors=zP;class g5{constructor(e,r,E,z){this.type=e,this.columns=r,this.component=E||!1,this.indent=z||0}}class mb{constructor(e,r,E,z,k){this.value=e,this.component=r||!1,this.width=E,this.height=z,this.depth=k}}class RM extends qi{constructor(e){super(e),this.config={},this.cloneTableStyle=!0,this.colVisProp="",this.registerTableOption("htmlOutputConfig",!1),this.registerColumnOption("htmlOutput"),this.registerColumnOption("titleHtmlOutput")}initialize(){this.registerTableFunction("getHtml",this.getHtml.bind(this))}generateExportList(e,r,E,z){this.cloneTableStyle=r,this.config=e||{},this.colVisProp=z;var k,m;if(E==="range"){var t=this.table.modules.selectRange.selectedColumns();k=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders(t)):[],m=this.bodyToExportRows(this.rowLookup(E),this.table.modules.selectRange.selectedColumns(!0))}else k=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders()):[],m=this.bodyToExportRows(this.rowLookup(E));return k.concat(m)}generateTable(e,r,E,z){var k=this.generateExportList(e,r,E,z);return this.generateTableElement(k)}rowLookup(e){var r=[];if(typeof e=="function")e.call(this.table).forEach(E=>{E=this.table.rowManager.findRow(E),E&&r.push(E)});else switch(e){case!0:case"visible":r=this.table.rowManager.getVisibleRows(!1,!0);break;case"all":r=this.table.rowManager.rows;break;case"selected":r=this.table.modules.selectRow.selectedRows;break;case"range":r=this.table.modules.selectRange.selectedRows();break;case"active":default:this.table.options.pagination?r=this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):r=this.table.rowManager.getDisplayRows()}return Object.assign([],r)}generateColumnGroupHeaders(e){var r=[];return e||(e=this.config.columnGroups!==!1?this.table.columnManager.columns:this.table.columnManager.columnsByIndex),e.forEach(E=>{var z=this.processColumnGroup(E);z&&r.push(z)}),r}processColumnGroup(e){var r=e.columns,E=0,z=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,k={title:z,column:e,depth:1};if(r.length){if(k.subGroups=[],k.width=0,r.forEach(m=>{var t=this.processColumnGroup(m);t&&(k.width+=t.width,k.subGroups.push(t),t.depth>E&&(E=t.depth))}),k.depth+=E,!k.width)return!1}else if(this.columnVisCheck(e))k.width=1;else return!1;return k}columnVisCheck(e){var r=e.definition[this.colVisProp];return typeof r=="function"&&(r=r.call(this.table,e.getComponent())),r!==!1&&(e.visible||!e.visible&&r)}headersToExportRows(e){var r=[],E=0,z=[];function k(m,t){var d=E-t;if(typeof r[t]>"u"&&(r[t]=[]),m.height=m.subGroups?1:d-m.depth+1,r[t].push(m),m.height>1)for(let y=1;y"u"&&(r[t+y]=[]),r[t+y].push(!1);if(m.width>1)for(let y=1;yE&&(E=m.depth)}),e.forEach(function(m){k(m,0)}),r.forEach(m=>{var t=[];m.forEach(d=>{if(d){let y=typeof d.title>"u"?"":d.title;t.push(new mb(y,d.column.getComponent(),d.width,d.height,d.depth))}else t.push(null)}),z.push(new g5("header",t))}),z}bodyToExportRows(e,r=[]){var E=[];return r.length===0&&this.table.columnManager.columnsByIndex.forEach(z=>{this.columnVisCheck(z)&&r.push(z.getComponent())}),this.config.columnCalcs!==!1&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(z=>{switch(z.type){case"group":return this.config.rowGroups!==!1;case"calc":return this.config.columnCalcs!==!1;case"row":return!(this.table.options.dataTree&&this.config.dataTree===!1&&z.modules.dataTree.parent)}return!0}),e.forEach((z,k)=>{var m=z.getData(this.colVisProp),t=[],d=0;switch(z.type){case"group":d=z.level,t.push(new mb(z.key,z.getComponent(),r.length,1));break;case"calc":case"row":r.forEach(y=>{t.push(new mb(y._column.getFieldValue(m),y,1,1))}),this.table.options.dataTree&&this.config.dataTree!==!1&&(d=z.modules.dataTree.index);break}E.push(new g5(z.type,t,z.getComponent(),d))}),E}generateTableElement(e){var r=document.createElement("table"),E=document.createElement("thead"),z=document.createElement("tbody"),k=this.lookupTableStyles(),m=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t={};return t.rowFormatter=m!==null?m:this.table.options.rowFormatter,this.table.options.dataTree&&this.config.dataTree!==!1&&this.table.modExists("columnCalcs")&&(t.treeElementField=this.table.modules.dataTree.elementField),t.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t.groupHeader&&!Array.isArray(t.groupHeader)&&(t.groupHeader=[t.groupHeader]),r.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),E,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((d,y)=>{let i;switch(d.type){case"header":E.appendChild(this.generateHeaderElement(d,t,k));break;case"group":z.appendChild(this.generateGroupElement(d,t,k));break;case"calc":z.appendChild(this.generateCalcElement(d,t,k));break;case"row":i=this.generateRowElement(d,t,k),this.mapElementStyles(y%2&&k.evenRow?k.evenRow:k.oddRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),z.appendChild(i);break}}),E.innerHTML&&r.appendChild(E),r.appendChild(z),this.mapElementStyles(this.table.element,r,["border-top","border-left","border-right","border-bottom"]),r}lookupTableStyles(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e}generateHeaderElement(e,r,E){var z=document.createElement("tr");return e.columns.forEach(k=>{if(k){var m=document.createElement("th"),t=k.component._column.definition.cssClass?k.component._column.definition.cssClass.split(" "):[];m.colSpan=k.width,m.rowSpan=k.height,m.innerHTML=k.value,this.cloneTableStyle&&(m.style.boxSizing="border-box"),t.forEach(function(d){m.classList.add(d)}),this.mapElementStyles(k.component.getElement(),m,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),this.mapElementStyles(k.component._column.contentElement,m,["padding-top","padding-left","padding-right","padding-bottom"]),k.component._column.visible?this.mapElementStyles(k.component.getElement(),m,["width"]):k.component._column.definition.width&&(m.style.width=k.component._column.definition.width+"px"),k.component._column.parent&&this.mapElementStyles(k.component._column.parent.groupElement,m,["border-top"]),z.appendChild(m)}}),z}generateGroupElement(e,r,E){var z=document.createElement("tr"),k=document.createElement("td"),m=e.columns[0];return z.classList.add("tabulator-print-table-row"),r.groupHeader&&r.groupHeader[e.indent]?m.value=r.groupHeader[e.indent](m.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):r.groupHeader!==!1&&(m.value=e.component._group.generator(m.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)),k.colSpan=m.width,k.innerHTML=m.value,z.classList.add("tabulator-print-table-group"),z.classList.add("tabulator-group-level-"+e.indent),m.component.isVisible()&&z.classList.add("tabulator-group-visible"),this.mapElementStyles(E.firstGroup,z,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(E.firstGroup,k,["padding-top","padding-left","padding-right","padding-bottom"]),z.appendChild(k),z}generateCalcElement(e,r,E){var z=this.generateRowElement(e,r,E);return z.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(E.calcRow,z,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),z}generateRowElement(e,r,E){var z=document.createElement("tr");if(z.classList.add("tabulator-print-table-row"),e.columns.forEach((k,m)=>{if(k){var t=document.createElement("td"),d=k.component._column,y=this.table,i=y.columnManager.findColumnIndex(d),M=k.value,g,h={modules:{},getValue:function(){return M},getField:function(){return d.definition.field},getElement:function(){return t},getType:function(){return"cell"},getColumn:function(){return d.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getTable:function(){return y},getComponent:function(){return h},column:d},l=d.definition.cssClass?d.definition.cssClass.split(" "):[];if(l.forEach(function(a){t.classList.add(a)}),this.table.modExists("format")&&this.config.formatCells!==!1)M=this.table.modules.format.formatExportValue(h,this.colVisProp);else switch(typeof M){case"object":M=M!==null?JSON.stringify(M):"";break;case"undefined":M="";break}M instanceof Node?t.appendChild(M):t.innerHTML=M,g=E.styleCells&&E.styleCells[i]?E.styleCells[i]:E.firstCell,g&&(this.mapElementStyles(g,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),d.definition.align&&(t.style.textAlign=d.definition.align)),this.table.options.dataTree&&this.config.dataTree!==!1&&(r.treeElementField&&r.treeElementField==d.field||!r.treeElementField&&m==0)&&(e.component._row.modules.dataTree.controlEl&&t.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),t.firstChild),e.component._row.modules.dataTree.branchEl&&t.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),t.firstChild)),z.appendChild(t),h.modules.format&&h.modules.format.renderedCallback&&h.modules.format.renderedCallback()}}),r.rowFormatter&&e.type==="row"&&this.config.formatCells!==!1){let k=Object.assign(e.component);k.getElement=function(){return z},r.rowFormatter(e.component)}return z}generateHTMLTable(e){var r=document.createElement("div");return r.appendChild(this.generateTableElement(e)),r.innerHTML}getHtml(e,r,E,z){var k=this.generateExportList(E||this.table.options.htmlOutputConfig,r,e,z||"htmlOutput");return this.generateHTMLTable(k)}mapElementStyles(e,r,E){if(this.cloneTableStyle&&e&&r){var z={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var k=window.getComputedStyle(e);E.forEach(function(m){r.style[z[m]]||(r.style[z[m]]=k.getPropertyValue(m))})}}}}RM.moduleName="export";var FP={"=":function(n,e,r,E){return e==n},"<":function(n,e,r,E){return e":function(n,e,r,E){return e>n},">=":function(n,e,r,E){return e>=n},"!=":function(n,e,r,E){return e!=n},regex:function(n,e,r,E){return typeof n=="string"&&(n=new RegExp(n)),n.test(e)},like:function(n,e,r,E){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().indexOf(n.toLowerCase())>-1:!1},keywords:function(n,e,r,E){var z=n.toLowerCase().split(typeof E.separator>"u"?" ":E.separator),k=String(e===null||typeof e>"u"?"":e).toLowerCase(),m=[];return z.forEach(t=>{k.includes(t)&&m.push(!0)}),E.matchAll?m.length===z.length:!!m.length},starts:function(n,e,r,E){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().startsWith(n.toLowerCase()):!1},ends:function(n,e,r,E){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().endsWith(n.toLowerCase()):!1},in:function(n,e,r,E){return Array.isArray(n)?n.length?n.indexOf(e)>-1:!0:(console.warn("Filter Error - filter value is not an array:",n),!1)}};class Kf extends qi{constructor(e){super(e),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1,this.tableInitialized=!1,this.registerTableOption("filterMode","local"),this.registerTableOption("initialFilter",!1),this.registerTableOption("initialHeaderFilter",!1),this.registerTableOption("headerFilterLiveFilterDelay",300),this.registerTableOption("placeholderHeaderFilter",!1),this.registerColumnOption("headerFilter"),this.registerColumnOption("headerFilterPlaceholder"),this.registerColumnOption("headerFilterParams"),this.registerColumnOption("headerFilterEmptyCheck"),this.registerColumnOption("headerFilterFunc"),this.registerColumnOption("headerFilterFuncParams"),this.registerColumnOption("headerFilterLiveFilter"),this.registerTableFunction("searchRows",this.searchRows.bind(this)),this.registerTableFunction("searchData",this.searchData.bind(this)),this.registerTableFunction("setFilter",this.userSetFilter.bind(this)),this.registerTableFunction("refreshFilter",this.userRefreshFilter.bind(this)),this.registerTableFunction("addFilter",this.userAddFilter.bind(this)),this.registerTableFunction("getFilters",this.getFilters.bind(this)),this.registerTableFunction("setHeaderFilterFocus",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction("getHeaderFilterValue",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction("setHeaderFilterValue",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction("getHeaderFilters",this.getHeaderFilters.bind(this)),this.registerTableFunction("removeFilter",this.userRemoveFilter.bind(this)),this.registerTableFunction("clearFilter",this.userClearFilter.bind(this)),this.registerTableFunction("clearHeaderFilter",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction("column","headerFilterFocus",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction("column","reloadHeaderFilter",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction("column","getHeaderFilterValue",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction("column","setHeaderFilterValue",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe("column-init",this.initializeColumnHeaderFilter.bind(this)),this.subscribe("column-width-fit-before",this.hideHeaderFilterElements.bind(this)),this.subscribe("column-width-fit-after",this.showHeaderFilterElements.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.subscribe("placeholder",this.generatePlaceholder.bind(this)),this.table.options.filterMode==="remote"&&this.subscribe("data-params",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach(e=>{var r=this.table.columnManager.findColumn(e.field);if(r)this.setHeaderFilterValue(r,e.value);else return console.warn("Column Filter Error - No matching column found:",e.field),!1}),this.tableInitialized=!0}remoteFilterParams(e,r,E,z){return z.filter=this.getFilters(!0,!0),z}generatePlaceholder(e){if(this.table.options.placeholderHeaderFilter&&Object.keys(this.headerFilters).length)return this.table.options.placeholderHeaderFilter}userSetFilter(e,r,E,z){this.setFilter(e,r,E,z),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(e,r,E,z){this.addFilter(e,r,E,z),this.refreshFilter()}userSetHeaderFilterFocus(e){var r=this.table.columnManager.findColumn(e);if(r)this.setHeaderFilterFocus(r);else return console.warn("Column Filter Focus Error - No matching column found:",e),!1}userGetHeaderFilterValue(e){var r=this.table.columnManager.findColumn(e);if(r)return this.getHeaderFilterValue(r);console.warn("Column Filter Error - No matching column found:",e)}userSetHeaderFilterValue(e,r){var E=this.table.columnManager.findColumn(e);if(E)this.setHeaderFilterValue(E,r);else return console.warn("Column Filter Error - No matching column found:",e),!1}userRemoveFilter(e,r,E){this.removeFilter(e,r,E),this.refreshFilter()}userClearFilter(e){this.clearFilter(e),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(e,r,E){return this.search("rows",e,r,E)}searchData(e,r,E){return this.search("data",e,r,E)}initializeColumnHeaderFilter(e){var r=e.definition;r.headerFilter&&this.initializeColumn(e)}initializeColumn(e,r){var E=this,z=e.getField();function k(m){var t=e.modules.filter.tagType=="input"&&e.modules.filter.attrType=="text"||e.modules.filter.tagType=="textarea"?"partial":"match",d="",y="",i;if(typeof e.modules.filter.prevSuccess>"u"||e.modules.filter.prevSuccess!==m){if(e.modules.filter.prevSuccess=m,e.modules.filter.emptyFunc(m))delete E.headerFilters[z];else{switch(e.modules.filter.value=m,typeof e.definition.headerFilterFunc){case"string":Kf.filters[e.definition.headerFilterFunc]?(d=e.definition.headerFilterFunc,i=function(M){var g=e.definition.headerFilterFuncParams||{},h=e.getFieldValue(M);return g=typeof g=="function"?g(m,h,M):g,Kf.filters[e.definition.headerFilterFunc](m,h,M,g)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":i=function(M){var g=e.definition.headerFilterFuncParams||{},h=e.getFieldValue(M);return g=typeof g=="function"?g(m,h,M):g,e.definition.headerFilterFunc(m,h,M,g)},d=i;break}if(!i)switch(t){case"partial":i=function(M){var g=e.getFieldValue(M);return typeof g<"u"&&g!==null?String(g).toLowerCase().indexOf(String(m).toLowerCase())>-1:!1},d="like";break;default:i=function(M){return e.getFieldValue(M)==m},d="="}E.headerFilters[z]={value:m,func:i,type:d}}e.modules.filter.value=m,y=JSON.stringify(E.headerFilters),E.prevHeaderFilterChangeCheck!==y&&(E.prevHeaderFilterChangeCheck=y,E.trackChanges(),E.refreshFilter())}return!0}e.modules.filter={success:k,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)}generateHeaderFilterElement(e,r,E){var z=this,k=e.modules.filter.success,m=e.getField(),t,d,y,i,M,g,h,l;e.modules.filter.value=r;function a(){}function u(o){l=o}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),m){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(o){return!o&&o!==0},t=document.createElement("div"),t.classList.add("tabulator-header-filter"),typeof e.definition.headerFilter){case"string":z.table.modules.edit.editors[e.definition.headerFilter]?(d=z.table.modules.edit.editors[e.definition.headerFilter],(e.definition.headerFilter==="tick"||e.definition.headerFilter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":d=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?d=e.modules.edit.editor:e.definition.formatter&&z.table.modules.edit.editors[e.definition.formatter]?(d=z.table.modules.edit.editors[e.definition.formatter],(e.definition.formatter==="tick"||e.definition.formatter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):d=z.table.modules.edit.editors.input;break}if(d){if(i={getValue:function(){return typeof r<"u"?r:""},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getTable:()=>this.table,getType:()=>"header",getRow:function(){return{normalizeHeight:function(){}}}},h=e.definition.headerFilterParams||{},h=typeof h=="function"?h.call(z.table,i):h,y=d.call(this.table.modules.edit,i,u,k,a,h),!y){console.warn("Filter Error - Cannot add filter to "+m+" column, editor returned a value of false");return}if(!(y instanceof Node)){console.warn("Filter Error - Cannot add filter to "+m+" column, editor should return an instance of Node, the editor returned:",y);return}z.langBind("headerFilters|columns|"+e.definition.field,function(o){y.setAttribute("placeholder",typeof o<"u"&&o?o:e.definition.headerFilterPlaceholder||z.langText("headerFilters|default"))}),y.addEventListener("click",function(o){o.stopPropagation(),y.focus()}),y.addEventListener("focus",o=>{var s=this.table.columnManager.contentsElement.scrollLeft,c=this.table.rowManager.element.scrollLeft;s!==c&&(this.table.rowManager.scrollHorizontal(s),this.table.columnManager.scrollHorizontal(s))}),M=!1,g=function(o){M&&clearTimeout(M),M=setTimeout(function(){k(y.value)},z.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=y,e.modules.filter.attrType=y.hasAttribute("type")?y.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=y.tagName.toLowerCase(),e.definition.headerFilterLiveFilter!==!1&&(e.definition.headerFilter==="autocomplete"||e.definition.headerFilter==="tickCross"||(e.definition.editor==="autocomplete"||e.definition.editor==="tickCross")&&e.definition.headerFilter===!0||(y.addEventListener("keyup",g),y.addEventListener("search",g),e.modules.filter.attrType=="number"&&y.addEventListener("change",function(o){k(y.value)}),e.modules.filter.attrType=="text"&&this.table.browser!=="ie"&&y.setAttribute("type","search")),(e.modules.filter.tagType=="input"||e.modules.filter.tagType=="select"||e.modules.filter.tagType=="textarea")&&y.addEventListener("mousedown",function(o){o.stopPropagation()})),t.appendChild(y),e.contentElement.appendChild(t),E||z.headerFilterColumns.push(e),l&&l()}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})}showHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})}setHeaderFilterFocus(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())}getHeaderFilterValue(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())}setHeaderFilterValue(e,r){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,r,!0),e.modules.filter.success(r)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}reloadHeaderFilter(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}refreshFilter(){this.tableInitialized&&(this.table.options.filterMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0))}trackChanges(){this.changed=!0,this.dispatch("filter-changed")}hasChanged(){var e=this.changed;return this.changed=!1,e}setFilter(e,r,E,z){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:r,value:E,params:z}]),this.addFilter(e)}addFilter(e,r,E,z){var k=!1;Array.isArray(e)||(e=[{field:e,type:r,value:E,params:z}]),e.forEach(m=>{m=this.findFilter(m),m&&(this.filterList.push(m),k=!0)}),k&&this.trackChanges()}findFilter(e){var r;if(Array.isArray(e))return this.findSubFilters(e);var E=!1;return typeof e.field=="function"?E=function(z){return e.field(z,e.type||{})}:Kf.filters[e.type]?(r=this.table.columnManager.getColumnByField(e.field),r?E=function(z){return Kf.filters[e.type](e.value,r.getFieldValue(z),z,e.params||{})}:E=function(z){return Kf.filters[e.type](e.value,z[e.field],z,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=E,e.func?e:!1}findSubFilters(e){var r=[];return e.forEach(E=>{E=this.findFilter(E),E&&r.push(E)}),r.length?r:!1}getFilters(e,r){var E=[];return e&&(E=this.getHeaderFilters()),r&&E.forEach(function(z){typeof z.type=="function"&&(z.type="function")}),E=E.concat(this.filtersToArray(this.filterList,r)),E}filtersToArray(e,r){var E=[];return e.forEach(z=>{var k;Array.isArray(z)?E.push(this.filtersToArray(z,r)):(k={field:z.field,type:z.type,value:z.value},r&&typeof k.type=="function"&&(k.type="function"),E.push(k))}),E}getHeaderFilters(){var e=[];for(var r in this.headerFilters)e.push({field:r,type:this.headerFilters[r].type,value:this.headerFilters[r].value});return e}removeFilter(e,r,E){Array.isArray(e)||(e=[{field:e,type:r,value:E}]),e.forEach(z=>{var k=-1;typeof z.field=="object"?k=this.filterList.findIndex(m=>z===m):k=this.filterList.findIndex(m=>z.field===m.field&&z.type===m.type&&z.value===m.value),k>-1?this.filterList.splice(k,1):console.warn("Filter Error - No matching filter type found, ignoring: ",z.type)}),this.trackChanges()}clearFilter(e){this.filterList=[],e&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(e=>{typeof e.modules.filter.value<"u"&&delete e.modules.filter.value,e.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(e)}),this.trackChanges()}search(e,r,E,z){var k=[],m=[];return Array.isArray(r)||(r=[{field:r,type:E,value:z}]),r.forEach(t=>{t=this.findFilter(t),t&&m.push(t)}),this.table.rowManager.rows.forEach(t=>{var d=!0;m.forEach(y=>{this.filterRecurse(y,t.getData())||(d=!1)}),d&&k.push(e==="data"?t.getData("data"):t.getComponent())}),k}filter(e,r){var E=[],z=[];return this.subscribedExternal("dataFiltering")&&this.dispatchExternal("dataFiltering",this.getFilters(!0)),this.table.options.filterMode!=="remote"&&(this.filterList.length||Object.keys(this.headerFilters).length)?e.forEach(k=>{this.filterRow(k)&&E.push(k)}):E=e.slice(0),this.subscribedExternal("dataFiltered")&&(E.forEach(k=>{z.push(k.getComponent())}),this.dispatchExternal("dataFiltered",this.getFilters(!0),z)),E}filterRow(e,r){var E=!0,z=e.getData();this.filterList.forEach(m=>{this.filterRecurse(m,z)||(E=!1)});for(var k in this.headerFilters)this.headerFilters[k].func(z)||(E=!1);return E}filterRecurse(e,r){var E=!1;return Array.isArray(e)?e.forEach(z=>{this.filterRecurse(z,r)&&(E=!0)}):E=e.func(r),E}}Kf.moduleName="filter";Kf.filters=FP;function BP(n,e,r){return this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function NP(n,e,r){return n.getValue()}function VP(n,e,r){return n.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function jP(n,e,r){var E=parseFloat(n.getValue()),z="",k,m,t,d,y,i=e.decimal||".",M=e.thousand||",",g=e.negativeSign||"-",h=e.symbol||"",l=!!e.symbolAfter,a=typeof e.precision<"u"?e.precision:2;if(isNaN(E))return this.emptyToSpace(this.sanitizeHTML(n.getValue()));if(E<0&&(E=Math.abs(E),z=g),k=a!==!1?E.toFixed(a):E,k=String(k).split("."),m=k[0],t=k.length>1?i+k[1]:"",e.thousand!==!1)for(d=/(\d+)(\d{3})/;d.test(m);)m=m.replace(d,"$1"+M+"$2");return y=m+t,z===!0?(y="("+y+")",l?y+h:h+y):l?z+y+h:z+h+y}function UP(n,e,r){var E=n.getValue(),z=e.urlPrefix||"",k=e.download,m=E,t=document.createElement("a"),d;function y(i,M){var g=i.shift(),h=M[g];return i.length&&typeof h=="object"?y(i,h):h}if(e.labelField&&(d=n.getData(),m=y(e.labelField.split(this.table.options.nestedFieldSeparator),d)),e.label)switch(typeof e.label){case"string":m=e.label;break;case"function":m=e.label(n);break}if(m){if(e.urlField&&(d=n.getData(),E=oo.retrieveNestedData(this.table.options.nestedFieldSeparator,e.urlField,d)),e.url)switch(typeof e.url){case"string":E=e.url;break;case"function":E=e.url(n);break}return t.setAttribute("href",z+E),e.target&&t.setAttribute("target",e.target),e.download&&(typeof k=="function"?k=k(n):k=k===!0?"":k,t.setAttribute("download",k)),t.innerHTML=this.emptyToSpace(this.sanitizeHTML(m)),t}else return" "}function HP(n,e,r){var E=document.createElement("img"),z=n.getValue();switch(e.urlPrefix&&(z=e.urlPrefix+n.getValue()),e.urlSuffix&&(z=z+e.urlSuffix),E.setAttribute("src",z),typeof e.height){case"number":E.style.height=e.height+"px";break;case"string":E.style.height=e.height;break}switch(typeof e.width){case"number":E.style.width=e.width+"px";break;case"string":E.style.width=e.width;break}return E.addEventListener("load",function(){n.getRow().normalizeHeight()}),E}function GP(n,e,r){var E=n.getValue(),z=n.getElement(),k=e.allowEmpty,m=e.allowTruthy,t=Object.keys(e).includes("trueValue"),d=typeof e.tickElement<"u"?e.tickElement:'',y=typeof e.crossElement<"u"?e.crossElement:'';return t&&E===e.trueValue||!t&&(m&&E||E===!0||E==="true"||E==="True"||E===1||E==="1")?(z.setAttribute("aria-checked",!0),d||""):k&&(E==="null"||E===""||E===null||typeof E>"u")?(z.setAttribute("aria-checked","mixed"),""):(z.setAttribute("aria-checked",!1),y||"")}function qP(n,e,r){var E=window.DateTime||luxon.DateTime,z=e.inputFormat||"yyyy-MM-dd HH:mm:ss",k=e.outputFormat||"dd/MM/yyyy HH:mm:ss",m=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",t=n.getValue();if(typeof E<"u"){var d;return E.isDateTime(t)?d=t:z==="iso"?d=E.fromISO(String(t)):d=E.fromFormat(String(t),z),d.isValid?(e.timezone&&(d=d.setZone(e.timezone)),d.toFormat(k)):m===!0||!t?t:typeof m=="function"?m(t):m}else console.error("Format Error - 'datetime' formatter is dependant on luxon.js")}function WP(n,e,r){var E=window.DateTime||luxon.DateTime,z=e.inputFormat||"yyyy-MM-dd HH:mm:ss",k=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",m=typeof e.suffix<"u"?e.suffix:!1,t=typeof e.unit<"u"?e.unit:"days",d=typeof e.humanize<"u"?e.humanize:!1,y=typeof e.date<"u"?e.date:E.now(),i=n.getValue();if(typeof E<"u"){var M;return E.isDateTime(i)?M=i:z==="iso"?M=E.fromISO(String(i)):M=E.fromFormat(String(i),z),M.isValid?d?M.diff(y,t).toHuman()+(m?" "+m:""):parseInt(M.diff(y,t)[t])+(m?" "+m:""):k===!0?i:typeof k=="function"?k(i):k}else console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js")}function $P(n,e,r){var E=n.getValue();return typeof e[E]>"u"?(console.warn("Missing display value for "+E),E):e[E]}function YP(n,e,r){var E=n.getValue(),z=n.getElement(),k=e&&e.stars?e.stars:5,m=document.createElement("span"),t=document.createElementNS("http://www.w3.org/2000/svg","svg"),d='',y='';m.style.verticalAlign="middle",t.setAttribute("width","14"),t.setAttribute("height","14"),t.setAttribute("viewBox","0 0 512 512"),t.setAttribute("xml:space","preserve"),t.style.padding="0 1px",E=E&&!isNaN(E)?parseInt(E):0,E=Math.max(0,Math.min(E,k));for(var i=1;i<=k;i++){var M=t.cloneNode(!0);M.innerHTML=i<=E?d:y,m.appendChild(M)}return z.style.whiteSpace="nowrap",z.style.overflow="hidden",z.style.textOverflow="ellipsis",z.setAttribute("aria-label",E),m}function ZP(n,e,r){var E=this.sanitizeHTML(n.getValue())||0,z=document.createElement("span"),k=e&&e.max?e.max:100,m=e&&e.min?e.min:0,t=e&&typeof e.color<"u"?e.color:["red","orange","green"],d="#666666",y,i;if(!(isNaN(E)||typeof n.getValue()>"u")){switch(z.classList.add("tabulator-traffic-light"),i=parseFloat(E)<=k?parseFloat(E):k,i=parseFloat(i)>=m?parseFloat(i):m,y=(k-m)/100,i=Math.round((i-m)/y),typeof t){case"string":d=t;break;case"function":d=t(E);break;case"object":if(Array.isArray(t)){var M=100/t.length,g=Math.floor(i/M);g=Math.min(g,t.length-1),g=Math.max(g,0),d=t[g];break}}return z.style.backgroundColor=d,z}}function XP(n,e={},r){var E=this.sanitizeHTML(n.getValue())||0,z=n.getElement(),k=e.max?e.max:100,m=e.min?e.min:0,t=e.legendAlign?e.legendAlign:"center",d,y,i,M,g;switch(y=parseFloat(E)<=k?parseFloat(E):k,y=parseFloat(y)>=m?parseFloat(y):m,d=(k-m)/100,y=Math.round((y-m)/d),typeof e.color){case"string":i=e.color;break;case"function":i=e.color(E);break;case"object":if(Array.isArray(e.color)){let u=100/e.color.length,o=Math.floor(y/u);o=Math.min(o,e.color.length-1),o=Math.max(o,0),i=e.color[o];break}default:i="#2DC214"}switch(typeof e.legend){case"string":M=e.legend;break;case"function":M=e.legend(E);break;case"boolean":M=E;break;default:M=!1}switch(typeof e.legendColor){case"string":g=e.legendColor;break;case"function":g=e.legendColor(E);break;case"object":if(Array.isArray(e.legendColor)){let u=100/e.legendColor.length,o=Math.floor(y/u);o=Math.min(o,e.legendColor.length-1),o=Math.max(o,0),g=e.legendColor[o]}break;default:g="#000"}z.style.minWidth="30px",z.style.position="relative",z.setAttribute("aria-label",y);var h=document.createElement("div");h.style.display="inline-block",h.style.width=y+"%",h.style.backgroundColor=i,h.style.height="100%",h.setAttribute("data-max",k),h.setAttribute("data-min",m);var l=document.createElement("div");if(l.style.position="relative",l.style.width="100%",l.style.height="100%",M){var a=document.createElement("div");a.style.position="absolute",a.style.top=0,a.style.left=0,a.style.textAlign=t,a.style.width="100%",a.style.color=g,a.innerHTML=M}return r(function(){if(!(n instanceof LM)){var u=document.createElement("div");u.style.position="absolute",u.style.top="4px",u.style.bottom="4px",u.style.left="4px",u.style.right="4px",z.appendChild(u),z=u}z.appendChild(l),l.appendChild(h),M&&l.appendChild(a)}),""}function KP(n,e,r){return n.getElement().style.backgroundColor=this.sanitizeHTML(n.getValue()),""}function JP(n,e,r){return''}function QP(n,e,r){return''}function eO(n,e,r){var E=document.createElement("span"),z=n.getRow(),k=n.getTable();return z.watchPosition(m=>{e.relativeToPage&&(m+=k.modules.page.getPageSize()*(k.modules.page.getPage()-1)),E.innerText=m}),E}function tO(n,e,r){return n.getElement().classList.add("tabulator-row-handle"),"
"}function nO(n,e,r){var E=document.createElement("div"),z=n.getRow()._row.modules.responsiveLayout;E.classList.add("tabulator-responsive-collapse-toggle"),E.innerHTML=` -`,n.getElement().classList.add("tabulator-row-handle");function k(m){var t=z.element;z.open=m,t&&(z.open?(E.classList.add("open"),t.style.display=""):(E.classList.remove("open"),t.style.display="none"))}return E.addEventListener("click",function(m){m.stopImmediatePropagation(),k(!z.open),n.getTable().rowManager.adjustTableSize()}),k(z.open),E}function rP(n,e,r){var E=document.createElement("input"),z=!1;if(E.type="checkbox",E.setAttribute("aria-label","Select Row"),this.table.modExists("selectRow",!0))if(E.addEventListener("click",m=>{m.stopPropagation()}),typeof n.getRow=="function"){var k=n.getRow();k instanceof qy?(E.addEventListener("change",m=>{this.table.options.selectableRowsRangeMode==="click"&&z?z=!1:k.toggleSelect()}),this.table.options.selectableRowsRangeMode==="click"&&E.addEventListener("click",m=>{z=!0,this.table.modules.selectRow.handleComplexRowClick(k._row,m)}),E.checked=k.isSelected&&k.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(k,E)):E=""}else E.addEventListener("change",m=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(E);return E}var iP={plaintext:BO,html:NO,textarea:VO,money:jO,link:UO,image:HO,tickCross:GO,datetime:WO,datetimediff:qO,lookup:YO,star:$O,traffic:ZO,progress:XO,color:KO,buttonTick:JO,buttonCross:QO,rownum:eP,handle:tP,responsiveCollapse:nP,rowSelection:rP};class qu extends Wi{constructor(e){super(e),this.registerColumnOption("formatter"),this.registerColumnOption("formatterParams"),this.registerColumnOption("formatterPrint"),this.registerColumnOption("formatterPrintParams"),this.registerColumnOption("formatterClipboard"),this.registerColumnOption("formatterClipboardParams"),this.registerColumnOption("formatterHtmlOutput"),this.registerColumnOption("formatterHtmlOutputParams"),this.registerColumnOption("titleFormatter"),this.registerColumnOption("titleFormatterParams")}initialize(){this.subscribe("cell-format",this.formatValue.bind(this)),this.subscribe("cell-rendered",this.cellRendered.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-format",this.formatHeader.bind(this))}initializeColumn(e){e.modules.format=this.lookupFormatter(e,""),typeof e.definition.formatterPrint<"u"&&(e.modules.format.print=this.lookupFormatter(e,"Print")),typeof e.definition.formatterClipboard<"u"&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),typeof e.definition.formatterHtmlOutput<"u"&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))}lookupFormatter(e,r){var E={params:e.definition["formatter"+r+"Params"]||{}},z=e.definition["formatter"+r];switch(typeof z){case"string":qu.formatters[z]?E.formatter=qu.formatters[z]:(console.warn("Formatter Error - No such formatter found: ",z),E.formatter=qu.formatters.plaintext);break;case"function":E.formatter=z;break;default:E.formatter=qu.formatters.plaintext;break}return E}cellRendered(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)}formatHeader(e,r,E){var z,k,m,t;return e.definition.titleFormatter?(z=this.getFormatter(e.definition.titleFormatter),m=d=>{e.titleFormatterRendered=d},t={getValue:function(){return r},getElement:function(){return E},getType:function(){return"header"},getColumn:function(){return e.getComponent()},getTable:()=>this.table},k=e.definition.titleFormatterParams||{},k=typeof k=="function"?k():k,z.call(this,t,k,m)):r}formatValue(e){var r=e.getComponent(),E=typeof e.column.modules.format.params=="function"?e.column.modules.format.params(r):e.column.modules.format.params;function z(k){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=k,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,r,E,z)}formatExportValue(e,r){var E=e.column.modules.format[r],z;if(E){let m=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};var k=m;return z=typeof E.params=="function"?E.params(e.getComponent()):E.params,E.formatter.call(this,e.getComponent(),z,m)}else return this.formatValue(e)}sanitizeHTML(e){if(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=/]/g,function(E){return r[E]})}else return e}emptyToSpace(e){return e===null||typeof e>"u"||e===""?" ":e}getFormatter(e){switch(typeof e){case"string":qu.formatters[e]?e=qu.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=qu.formatters.plaintext);break;case"function":break;default:e=qu.formatters.plaintext;break}return e}}qu.moduleName="format";qu.formatters=iP;class DM extends Wi{constructor(e){super(e),this.leftColumns=[],this.rightColumns=[],this.initializationMode="left",this.active=!1,this.blocked=!0,this.registerColumnOption("frozen")}reset(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.active=!1}initialize(){this.subscribe("cell-layout",this.layoutCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-width",this.layout.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("table-layout",this.layout.bind(this)),this.subscribe("columns-loading",this.reset.bind(this)),this.subscribe("column-add",this.reinitializeColumns.bind(this)),this.subscribe("column-deleted",this.reinitializeColumns.bind(this)),this.subscribe("column-hide",this.reinitializeColumns.bind(this)),this.subscribe("column-show",this.reinitializeColumns.bind(this)),this.subscribe("columns-loaded",this.reinitializeColumns.bind(this)),this.subscribe("table-redraw",this.layout.bind(this)),this.subscribe("layout-refreshing",this.blockLayout.bind(this)),this.subscribe("layout-refreshed",this.unblockLayout.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this))}blockLayout(){this.blocked=!0}unblockLayout(){this.blocked=!1}layoutCell(e){this.layoutElement(e.element,e.column)}reinitializeColumns(){this.reset(),this.table.columnManager.columnsByIndex.forEach(e=>{this.initializeColumn(e)}),this.layout()}initializeColumn(e){var r={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(r.position=this.initializationMode,this.initializationMode=="left"?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=r):this.initializationMode="right")}frozenCheck(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen}layoutCalcRows(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow),this.table.modExists("groupRows")&&this.layoutGroupCalcs(this.table.modules.groupRows.getGroups()))}layoutGroupCalcs(e){e.forEach(r=>{r.calcs.top&&this.layoutRow(r.calcs.top),r.calcs.bottom&&this.layoutRow(r.calcs.bottom),r.groupList&&r.groupList.length&&this.layoutGroupCalcs(r.groupList)})}layoutColumnPosition(e){var r=[],E=0,z=0;this.leftColumns.forEach((k,m)=>{if(k.modules.frozen.marginValue=E,k.modules.frozen.margin=k.modules.frozen.marginValue+"px",k.visible&&(E+=k.getWidth()),m==this.leftColumns.length-1?k.modules.frozen.edge=!0:k.modules.frozen.edge=!1,k.parent.isGroup){var t=this.getColGroupParentElement(k);r.includes(t)||(this.layoutElement(t,k),r.push(t)),t.classList.toggle("tabulator-frozen-left",k.modules.frozen.edge&&k.modules.frozen.position==="left"),t.classList.toggle("tabulator-frozen-right",k.modules.frozen.edge&&k.modules.frozen.position==="right")}else this.layoutElement(k.getElement(),k);e&&k.cells.forEach(d=>{this.layoutElement(d.getElement(!0),k)})}),this.rightColumns.forEach((k,m)=>{k.modules.frozen.marginValue=z,k.modules.frozen.margin=k.modules.frozen.marginValue+"px",k.visible&&(z+=k.getWidth()),m==this.rightColumns.length-1?k.modules.frozen.edge=!0:k.modules.frozen.edge=!1,k.parent.isGroup?this.layoutElement(this.getColGroupParentElement(k),k):this.layoutElement(k.getElement(),k),e&&k.cells.forEach(t=>{this.layoutElement(t.getElement(!0),k)})})}getColGroupParentElement(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()}layout(){this.active&&!this.blocked&&(this.layoutColumnPosition(),this.reinitializeRows(),this.layoutCalcRows())}reinitializeRows(){var e=this.table.rowManager.getVisibleRows(!0),r=this.table.rowManager.getRows().filter(E=>!e.includes(E));r.forEach(E=>{E.deinitialize()}),e.forEach(E=>{E.type==="row"&&this.layoutRow(E)})}layoutRow(e){this.table.options.layout==="fitDataFill"&&this.rightColumns.length&&(this.table.rowManager.getTableElement().style.minWidth="calc(100% - "+this.rightMargin+")"),this.leftColumns.forEach(r=>{var E=e.getCell(r);E&&this.layoutElement(E.getElement(!0),r)}),this.rightColumns.forEach(r=>{var E=e.getCell(r);E&&this.layoutElement(E.getElement(!0),r)})}layoutElement(e,r){var E;r.modules.frozen&&e&&(e.style.position="sticky",this.table.rtl?E=r.modules.frozen.position==="left"?"right":"left":E=r.modules.frozen.position,e.style[E]=r.modules.frozen.margin,e.classList.add("tabulator-frozen"),e.classList.toggle("tabulator-frozen-left",r.modules.frozen.edge&&r.modules.frozen.position==="left"),e.classList.toggle("tabulator-frozen-right",r.modules.frozen.edge&&r.modules.frozen.position==="right"))}adjustForScrollbar(e){this.rightColumns.length&&(this.table.columnManager.getContentsElement().style.width="calc(100% - "+e+"px)")}_calcSpace(e,r){var E=0;for(let z=0;z{this.initializeRow(e)})}initializeRow(e){var r=this.table.options.frozenRows,E=typeof r;E==="number"?e.getPosition()&&e.getPosition()+this.rows.length<=r&&this.freezeRow(e):E==="function"?r.call(this.table,e.getComponent())&&this.freezeRow(e):Array.isArray(r)&&r.includes(e.data[this.options("frozenRowsField")])&&this.freezeRow(e)}isRowFrozen(e){var r=this.rows.indexOf(e);return r>-1}isFrozen(){return!!this.rows.length}visibleRows(e,r){return this.rows.forEach(E=>{r.push(E)}),r}getRows(e){var r=e.slice(0);return this.rows.forEach(function(E){var z=r.indexOf(E);z>-1&&r.splice(z,1)}),r}freezeRow(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.rows.push(e),this.refreshData(!1,"display"),this.table.rowManager.adjustTableSize(),this.styleRows())}unfreezeRow(e){e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.refreshData(!1,"display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")}detachRow(e){var r=this.rows.indexOf(e);if(r>-1){var E=e.getElement();E.parentNode&&E.parentNode.removeChild(E),this.rows.splice(r,1)}}styleRows(e){this.rows.forEach((r,E)=>{this.table.rowManager.styleRow(r,E)})}}zM.moduleName="frozenRows";class aP{constructor(e){return this._group=e,this.type="GroupComponent",new Proxy(this,{get:function(r,E,z){return typeof r[E]<"u"?r[E]:r._group.groupManager.table.componentFunctionBinder.handle("group",r._group,E)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return this._group.parent?this._group.parent.getComponent():!1}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}scrollTo(e,r){return this._group.groupManager.table.rowManager.scrollToRow(this._group,e,r)}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class Fp{constructor(e,r,E,z,k,m,t){this.groupManager=e,this.parent=r,this.key=z,this.level=E,this.field=k,this.hasSubGroups=E{r.modules&&delete r.modules.group})),this.element=!1,this.arrowElement=!1,this.elementContents=!1}createElements(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),this.groupManager.table.options.movableRows!==!1&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var e=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]&&this.groupManager.allowedValues[e].forEach(r=>{this._createGroup(r,e)})}addBindings(){var e;this.groupManager.table.options.groupToggleElement&&(e=this.groupManager.table.options.groupToggleElement=="arrow"?this.arrowElement:this.element,e.addEventListener("click",r=>{this.groupManager.table.options.groupToggleElement==="arrow"&&(r.stopPropagation(),r.stopImmediatePropagation()),setTimeout(()=>{this.toggleVisibility()})}))}_createGroup(e,r){var E=r+"_"+e,z=new Fp(this.groupManager,this,r,e,this.groupManager.groupIDLookups[r].field,this.groupManager.headerGenerator[r]||this.groupManager.headerGenerator[0],this.old?this.old.groups[E]:!1);this.groups[E]=z,this.groupList.push(z)}_addRowToGroup(e){var r=this.level+1;if(this.hasSubGroups){var E=this.groupManager.groupIDLookups[r].func(e.getData()),z=r+"_"+E;this.groupManager.allowedValues&&this.groupManager.allowedValues[r]?this.groups[z]&&this.groups[z].addRow(e):(this.groups[z]||this._createGroup(E,r),this.groups[z].addRow(e))}}_addRow(e){this.rows.push(e),e.modules.group=this}insertRow(e,r,E){var z=this.conformRowData({});e.updateData(z);var k=this.rows.indexOf(r);k>-1?E?this.rows.splice(k+1,0,e):this.rows.splice(k,0,e):E?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(e){this.arrowElement&&(this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(r){r.scrollHeader(e)}))}getRowIndex(e){}conformRowData(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e}removeRow(e){var r=this.rows.indexOf(e),E=e.getElement();r>-1&&this.rows.splice(r,1),!this.groupManager.table.options.groupValues&&!this.rows.length?(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0)):(E.parentNode&&E.parentNode.removeChild(E),this.groupManager.blockRedraw||(this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)))}removeGroup(e){var r=e.level+"_"+e.key,E;this.groups[r]&&(delete this.groups[r],E=this.groupList.indexOf(e),E>-1&&this.groupList.splice(E,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(){var e=[];return e.push(this),this._visSet(),this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.visible?this.groupList.length?this.groupList.forEach(function(r){e=e.concat(r.getHeadersAndRows())}):(this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):!this.groupList.length&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&(this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))),e}getData(e,r){var E=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(z=>{E.push(z.getData(r||"data"))}),E}getRowCount(){var e=0;return this.groupList.length?this.groupList.forEach(r=>{e+=r.getRowCount()}):e=this.rows.length,e}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination?(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(e=>{var r=e.getHeadersAndRows();r.forEach(E=>{E.detachElement()})}):this.rows.forEach(e=>{var r=e.getElement();r.parentNode.removeChild(r)}),this.groupManager.updateGroupRows(!0)):this.groupManager.updateGroupRows(!0),this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!1)}show(){if(this.visible=!0,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination){this.element.classList.add("tabulator-group-visible");var e=this.generateElement();this.groupList.length?this.groupList.forEach(r=>{var E=r.getHeadersAndRows();E.forEach(z=>{var k=z.getElement();e.parentNode.insertBefore(k,e.nextSibling),z.initialize(),e=k})}):this.rows.forEach(r=>{var E=r.getElement();e.parentNode.insertBefore(E,e.nextSibling),r.initialize(),e=E}),this.groupManager.updateGroupRows(!0)}else this.groupManager.updateGroupRows(!0);this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!0)}_visSet(){var e=[];typeof this.visible=="function"&&(this.rows.forEach(function(r){e.push(r.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))}getRowGroup(e){var r=!1;return this.groupList.length?this.groupList.forEach(function(E){var z=E.getRowGroup(e);z&&(r=z)}):this.rows.find(function(E){return E===e})&&(r=this),r}getSubGroups(e){var r=[];return this.groupList.forEach(function(E){r.push(e?E.getComponent():E)}),r}getRows(e,r){var E=[];return r&&this.groupList.length?this.groupList.forEach(z=>{E=E.concat(z.getRows(e,r))}):this.rows.forEach(function(z){E.push(e?z.getComponent():z)}),E}generateGroupHeaderContents(){var e=[],r=this.getRows(!1,!0);for(r.forEach(function(E){e.push(E.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);typeof this.elementContents=="string"?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(e=[]){return e.unshift(this.key),this.parent&&this.parent.getPath(e),e}getElement(){return this.elementContents?this.element:this.generateElement()}generateElement(){this.addBindings=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;eE.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),this.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],this.langBind("groups|item",(k,m)=>{this.headerGenerator[0]=(t,d,y)=>(typeof t>"u"?"":t)+"("+d+" "+(d===1?k:m.groups.items)+")"}),this.groupIDLookups=[],e)this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="table"&&this.table.options.columnCalcs!="both"&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="group"){var z=this.table.columnManager.getRealColumns();z.forEach(k=>{k.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),k.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(e)||(e=[e]),e.forEach((k,m)=>{var t,d;typeof k=="function"?t=k:(d=this.table.columnManager.getColumnByField(k),d?t=function(y){return d.getFieldValue(y)}:t=function(y){return y[k]}),this.groupIDLookups.push({field:typeof k=="function"?!1:k,func:t,values:this.allowedValues?this.allowedValues[m]:!1})}),r&&(Array.isArray(r)||(r=[r]),r.forEach(k=>{}),this.startOpen=r),E&&(this.headerGenerator=Array.isArray(E)?E:[E])}else this.groupList=[],this.groups={}}rowSample(e,r){if(this.table.options.groupBy){var E=this.getGroups(!1)[0];r.push(E.getRows(!1)[0])}return r}virtualRenderFill(){var e=this.table.rowManager.tableElement,r=this.table.rowManager.getVisibleRows();if(this.table.options.groupBy)r=r.filter(E=>E.type!=="group"),e.style.minWidth=r.length?"":this.table.columnManager.getWidth()+"px";else return r}rowAddingIndex(e,r,E){if(this.table.options.groupBy){this.assignRowToGroup(e);var z=e.modules.group.rows;return z.length>1&&(!r||r&&z.indexOf(r)==-1?E?z[0]!==e&&(r=z[0],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!E)):z[z.length-1]!==e&&(r=z[z.length-1],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!E)):this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!E)),r}}trackChanges(){this.dispatch("group-changed")}setGroupBy(e){this.table.options.groupBy=e,this.initialized||this.initialize(),this.configureGroupSetup(),!e&&this.table.modExists("columnCalcs")&&this.table.options.columnCalcs===!0&&this.table.modules.columnCalcs.reinitializeCalcs(),this.refreshData(),this.trackChanges()}setGroupValues(e){this.table.options.groupValues=e,this.configureGroupSetup(),this.refreshData(),this.trackChanges()}setGroupStartOpen(e){this.table.options.groupStartOpen=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}setGroupHeader(e){this.table.options.groupHeader=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}userGetGroups(e){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(e){return e.modules.group?e.modules.group.getComponent():!1}rowMoving(e,r,E){if(this.table.options.groupBy){!E&&r instanceof Fp&&(r=this.table.rowManager.prevDisplayRow(e)||r);var z=r instanceof Fp?r:r.modules.group,k=e instanceof Fp?e:e.modules.group;z===k?this.table.rowManager.moveRowInArray(z.rows,e,r,E):(k&&k.removeRow(e),z.insertRow(e,r,E))}}rowDeleting(e){this.table.options.groupBy&&e.modules.group&&e.modules.group.removeRow(e)}rowsUpdated(e){this.table.options.groupBy&&this.updateGroupRows(!0)}cellUpdated(e){this.table.options.groupBy&&this.reassignRowToGroup(e.row)}getRows(e){return this.table.options.groupBy&&this.groupIDLookups.length?(this.dispatchExternal("dataGrouping"),this.generateGroups(e),this.subscribedExternal("dataGrouped")&&this.dispatchExternal("dataGrouped",this.getGroups(!0)),this.updateGroupRows()):e.slice(0)}getGroups(e){var r=[];return this.groupList.forEach(function(E){r.push(e?E.getComponent():E)}),r}getChildGroups(e){var r=[];return e||(e=this),e.groupList.forEach(E=>{E.groupList.length?r=r.concat(this.getChildGroups(E)):r.push(E)}),r}wipe(){this.table.options.groupBy&&(this.groupList.forEach(function(e){e.wipe()}),this.groupList=[],this.groups={})}pullGroupListData(e){var r=[];return e.forEach(E=>{var z={};z.level=0,z.rowCount=0,z.headerContent="";var k=[];E.hasSubGroups?(k=this.pullGroupListData(E.groupList),z.level=E.level,z.rowCount=k.length-E.groupList.length,z.headerContent=E.generator(E.key,z.rowCount,E.rows,E),r.push(z),r=r.concat(k)):(z.level=E.level,z.headerContent=E.generator(E.key,E.rows.length,E.rows,E),z.rowCount=E.getRows().length,r.push(z),E.getRows().forEach(m=>{r.push(m.getData("data"))}))}),r}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(e){var r=!1;return this.options("dataTree")&&(e=this.table.modules.dataTree.getTreeParentRoot(e)),this.groupList.forEach(E=>{var z=E.getRowGroup(e);z&&(r=z)}),r}countGroups(){return this.groupList.length}generateGroups(e){var r=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(E=>{this.createGroup(E,0,r)}),e.forEach(E=>{this.assignRowToExistingGroup(E,r)})):e.forEach(E=>{this.assignRowToGroup(E,r)}),Object.values(r).forEach(E=>{E.wipe(!0)})}createGroup(e,r,E){var z=r+"_"+e,k;E=E||[],k=new Fp(this,!1,r,e,this.groupIDLookups[0].field,this.headerGenerator[0],E[z]),this.groups[z]=k,this.groupList.push(k)}assignRowToExistingGroup(e,r){var E=this.groupIDLookups[0].func(e.getData()),z="0_"+E;this.groups[z]&&this.groups[z].addRow(e)}assignRowToGroup(e,r){var E=this.groupIDLookups[0].func(e.getData()),z=!this.groups["0_"+E];return z&&this.createGroup(E,0,r),this.groups["0_"+E].addRow(e),!z}reassignRowToGroup(e){if(e.type==="row"){var r=e.modules.group,E=r.getPath(),z=this.getExpectedPath(e),k;k=E.length==z.length&&E.every((m,t)=>m===z[t]),k||(r.removeRow(e),this.assignRowToGroup(e,this.groups),this.refreshData(!0))}}getExpectedPath(e){var r=[],E=e.getData();return this.groupIDLookups.forEach(z=>{r.push(z.func(E))}),r}updateGroupRows(e){var r=[];return this.blockRedraw||(this.groupList.forEach(E=>{r=r.concat(E.getHeadersAndRows())}),e&&this.refreshData(!0)),r}scrollHeaders(e){this.table.options.groupBy&&(this.table.options.renderHorizontal==="virtual"&&(e-=this.table.columnManager.renderer.vDomPadLeft),e=e+"px",this.groupList.forEach(r=>{r.scrollHeader(e)}))}removeGroup(e){var r=e.level+"_"+e.key,E;this.groups[r]&&(delete this.groups[r],E=this.groupList.indexOf(e),E>-1&&this.groupList.splice(E,1))}checkBasicModeGroupHeaderWidth(){var e=this.table.rowManager.tableElement,r=!0;this.table.rowManager.getDisplayRows().forEach((E,z)=>{this.table.rowManager.styleRow(E,z),e.appendChild(E.getElement()),E.initialize(!0),E.type!=="group"&&(r=!1)}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}}FM.moduleName="groupRows";var oP={cellEdit:function(n){n.component.setValueProcessData(n.data.oldValue),n.component.cellRendered()},rowAdd:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowMove:function(n){var e=n.data.posFrom-n.data.posTo>0;this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posFrom),e),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}},sP={cellEdit:function(n){n.component.setValueProcessData(n.data.newValue),n.component.cellRendered()},rowAdd:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowMove:function(n){this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posTo),n.data.after),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}};class qd extends Wi{constructor(e){super(e),this.history=[],this.index=-1,this.registerTableOption("history",!1)}initialize(){this.table.options.history&&(this.subscribe("cell-value-updated",this.cellUpdated.bind(this)),this.subscribe("cell-delete",this.clearComponentHistory.bind(this)),this.subscribe("row-delete",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clear.bind(this)),this.subscribe("row-added",this.rowAdded.bind(this)),this.subscribe("row-move",this.rowMoved.bind(this))),this.registerTableFunction("undo",this.undo.bind(this)),this.registerTableFunction("redo",this.redo.bind(this)),this.registerTableFunction("getHistoryUndoSize",this.getHistoryUndoSize.bind(this)),this.registerTableFunction("getHistoryRedoSize",this.getHistoryRedoSize.bind(this)),this.registerTableFunction("clearHistory",this.clear.bind(this))}rowMoved(e,r,E){this.action("rowMove",e,{posFrom:e.getPosition(),posTo:r.getPosition(),to:r,after:E})}rowAdded(e,r,E,z){this.action("rowAdd",e,{data:r,pos:E,index:z})}rowDeleted(e){var r,E;this.table.options.groupBy?(E=e.getComponent().getGroup()._getSelf().rows,r=E.indexOf(e),r&&(r=E[r-1])):(r=e.table.rowManager.getRowIndex(e),r&&(r=e.table.rowManager.rows[r-1])),this.action("rowDelete",e,{data:e.getData(),pos:!r,index:r})}cellUpdated(e){this.action("cellEdit",e,{oldValue:e.oldValue,newValue:e.value})}clear(){this.history=[],this.index=-1}action(e,r,E){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:r,data:E}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(e){var r=this.history.findIndex(function(E){return E.component===e});r>-1&&(this.history.splice(r,1),r<=this.index&&this.index--,this.clearComponentHistory(e))}undo(){if(this.index>-1){let e=this.history[this.index];return qd.undoers[e.type].call(this,e),this.index--,this.dispatchExternal("historyUndo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Undo Error - No more history to undo":"History module not enabled"),!1}redo(){if(this.history.length-1>this.index){this.index++;let e=this.history[this.index];return qd.redoers[e.type].call(this,e),this.dispatchExternal("historyRedo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Redo Error - No more history to redo":"History module not enabled"),!1}_rebindRow(e,r){this.history.forEach(function(E){if(E.component instanceof yl)E.component===e&&(E.component=r);else if(E.component instanceof eg&&E.component.row===e){var z=E.component.column.getField();z&&(E.component=r.getCell(z))}})}}qd.moduleName="history";qd.undoers=oP;qd.redoers=sP;class BM extends Wi{constructor(e){super(e),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.tableElementCheck()}tableElementCheck(){this.table.originalElement&&this.table.originalElement.tagName==="TABLE"&&(this.table.originalElement.childNodes.length?this.parseTable():console.warn("Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."))}parseTable(){var e=this.table.originalElement,r=this.table.options,E=e.getElementsByTagName("th"),z=e.getElementsByTagName("tbody")[0],k=[];this.hasIndex=!1,this.dispatchExternal("htmlImporting"),z=z?z.getElementsByTagName("tr"):[],this._extractOptions(e,r),E.length?this._extractHeaders(E,z):this._generateBlankHeaders(E,z);for(var m=0;m{m[i.toLowerCase()]=i});for(var t in z){var d=z[t],y;d&&typeof d=="object"&&d.name&&d.name.indexOf("tabulator-")===0&&(y=d.name.replace("tabulator-",""),typeof m[y]<"u"&&(r[m[y]]=this._attribValue(d.value)))}}_attribValue(e){return e==="true"?!0:e==="false"?!1:e}_findCol(e){var r=this.table.options.columns.find(E=>E.title===e);return r||!1}_extractHeaders(e,r){for(var E=0;E`,n.getElement().classList.add("tabulator-row-handle");function k(m){var t=z.element;z.open=m,t&&(z.open?(E.classList.add("open"),t.style.display=""):(E.classList.remove("open"),t.style.display="none"))}return E.addEventListener("click",function(m){m.stopImmediatePropagation(),k(!z.open),n.getTable().rowManager.adjustTableSize()}),k(z.open),E}function rO(n,e,r){var E=document.createElement("input"),z=!1;if(E.type="checkbox",E.setAttribute("aria-label","Select Row"),this.table.modExists("selectRow",!0))if(E.addEventListener("click",m=>{m.stopPropagation()}),typeof n.getRow=="function"){var k=n.getRow();k instanceof Wy?(E.addEventListener("change",m=>{this.table.options.selectableRowsRangeMode==="click"&&z?z=!1:k.toggleSelect()}),this.table.options.selectableRowsRangeMode==="click"&&E.addEventListener("click",m=>{z=!0,this.table.modules.selectRow.handleComplexRowClick(k._row,m)}),E.checked=k.isSelected&&k.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(k,E)):E=""}else E.addEventListener("change",m=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(E);return E}var iO={plaintext:BP,html:NP,textarea:VP,money:jP,link:UP,image:HP,tickCross:GP,datetime:qP,datetimediff:WP,lookup:$P,star:YP,traffic:ZP,progress:XP,color:KP,buttonTick:JP,buttonCross:QP,rownum:eO,handle:tO,responsiveCollapse:nO,rowSelection:rO};class Wu extends qi{constructor(e){super(e),this.registerColumnOption("formatter"),this.registerColumnOption("formatterParams"),this.registerColumnOption("formatterPrint"),this.registerColumnOption("formatterPrintParams"),this.registerColumnOption("formatterClipboard"),this.registerColumnOption("formatterClipboardParams"),this.registerColumnOption("formatterHtmlOutput"),this.registerColumnOption("formatterHtmlOutputParams"),this.registerColumnOption("titleFormatter"),this.registerColumnOption("titleFormatterParams")}initialize(){this.subscribe("cell-format",this.formatValue.bind(this)),this.subscribe("cell-rendered",this.cellRendered.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-format",this.formatHeader.bind(this))}initializeColumn(e){e.modules.format=this.lookupFormatter(e,""),typeof e.definition.formatterPrint<"u"&&(e.modules.format.print=this.lookupFormatter(e,"Print")),typeof e.definition.formatterClipboard<"u"&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),typeof e.definition.formatterHtmlOutput<"u"&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))}lookupFormatter(e,r){var E={params:e.definition["formatter"+r+"Params"]||{}},z=e.definition["formatter"+r];switch(typeof z){case"string":Wu.formatters[z]?E.formatter=Wu.formatters[z]:(console.warn("Formatter Error - No such formatter found: ",z),E.formatter=Wu.formatters.plaintext);break;case"function":E.formatter=z;break;default:E.formatter=Wu.formatters.plaintext;break}return E}cellRendered(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)}formatHeader(e,r,E){var z,k,m,t;return e.definition.titleFormatter?(z=this.getFormatter(e.definition.titleFormatter),m=d=>{e.titleFormatterRendered=d},t={getValue:function(){return r},getElement:function(){return E},getType:function(){return"header"},getColumn:function(){return e.getComponent()},getTable:()=>this.table},k=e.definition.titleFormatterParams||{},k=typeof k=="function"?k():k,z.call(this,t,k,m)):r}formatValue(e){var r=e.getComponent(),E=typeof e.column.modules.format.params=="function"?e.column.modules.format.params(r):e.column.modules.format.params;function z(k){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=k,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,r,E,z)}formatExportValue(e,r){var E=e.column.modules.format[r],z;if(E){let m=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};var k=m;return z=typeof E.params=="function"?E.params(e.getComponent()):E.params,E.formatter.call(this,e.getComponent(),z,m)}else return this.formatValue(e)}sanitizeHTML(e){if(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=/]/g,function(E){return r[E]})}else return e}emptyToSpace(e){return e===null||typeof e>"u"||e===""?" ":e}getFormatter(e){switch(typeof e){case"string":Wu.formatters[e]?e=Wu.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=Wu.formatters.plaintext);break;case"function":break;default:e=Wu.formatters.plaintext;break}return e}}Wu.moduleName="format";Wu.formatters=iO;class DM extends qi{constructor(e){super(e),this.leftColumns=[],this.rightColumns=[],this.initializationMode="left",this.active=!1,this.blocked=!0,this.registerColumnOption("frozen")}reset(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.active=!1}initialize(){this.subscribe("cell-layout",this.layoutCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-width",this.layout.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("table-layout",this.layout.bind(this)),this.subscribe("columns-loading",this.reset.bind(this)),this.subscribe("column-add",this.reinitializeColumns.bind(this)),this.subscribe("column-deleted",this.reinitializeColumns.bind(this)),this.subscribe("column-hide",this.reinitializeColumns.bind(this)),this.subscribe("column-show",this.reinitializeColumns.bind(this)),this.subscribe("columns-loaded",this.reinitializeColumns.bind(this)),this.subscribe("table-redraw",this.layout.bind(this)),this.subscribe("layout-refreshing",this.blockLayout.bind(this)),this.subscribe("layout-refreshed",this.unblockLayout.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this))}blockLayout(){this.blocked=!0}unblockLayout(){this.blocked=!1}layoutCell(e){this.layoutElement(e.element,e.column)}reinitializeColumns(){this.reset(),this.table.columnManager.columnsByIndex.forEach(e=>{this.initializeColumn(e)}),this.layout()}initializeColumn(e){var r={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(r.position=this.initializationMode,this.initializationMode=="left"?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=r):this.initializationMode="right")}frozenCheck(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen}layoutCalcRows(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow),this.table.modExists("groupRows")&&this.layoutGroupCalcs(this.table.modules.groupRows.getGroups()))}layoutGroupCalcs(e){e.forEach(r=>{r.calcs.top&&this.layoutRow(r.calcs.top),r.calcs.bottom&&this.layoutRow(r.calcs.bottom),r.groupList&&r.groupList.length&&this.layoutGroupCalcs(r.groupList)})}layoutColumnPosition(e){var r=[],E=0,z=0;this.leftColumns.forEach((k,m)=>{if(k.modules.frozen.marginValue=E,k.modules.frozen.margin=k.modules.frozen.marginValue+"px",k.visible&&(E+=k.getWidth()),m==this.leftColumns.length-1?k.modules.frozen.edge=!0:k.modules.frozen.edge=!1,k.parent.isGroup){var t=this.getColGroupParentElement(k);r.includes(t)||(this.layoutElement(t,k),r.push(t)),t.classList.toggle("tabulator-frozen-left",k.modules.frozen.edge&&k.modules.frozen.position==="left"),t.classList.toggle("tabulator-frozen-right",k.modules.frozen.edge&&k.modules.frozen.position==="right")}else this.layoutElement(k.getElement(),k);e&&k.cells.forEach(d=>{this.layoutElement(d.getElement(!0),k)})}),this.rightColumns.forEach((k,m)=>{k.modules.frozen.marginValue=z,k.modules.frozen.margin=k.modules.frozen.marginValue+"px",k.visible&&(z+=k.getWidth()),m==this.rightColumns.length-1?k.modules.frozen.edge=!0:k.modules.frozen.edge=!1,k.parent.isGroup?this.layoutElement(this.getColGroupParentElement(k),k):this.layoutElement(k.getElement(),k),e&&k.cells.forEach(t=>{this.layoutElement(t.getElement(!0),k)})})}getColGroupParentElement(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()}layout(){this.active&&!this.blocked&&(this.layoutColumnPosition(),this.reinitializeRows(),this.layoutCalcRows())}reinitializeRows(){var e=this.table.rowManager.getVisibleRows(!0),r=this.table.rowManager.getRows().filter(E=>!e.includes(E));r.forEach(E=>{E.deinitialize()}),e.forEach(E=>{E.type==="row"&&this.layoutRow(E)})}layoutRow(e){this.table.options.layout==="fitDataFill"&&this.rightColumns.length&&(this.table.rowManager.getTableElement().style.minWidth="calc(100% - "+this.rightMargin+")"),this.leftColumns.forEach(r=>{var E=e.getCell(r);E&&this.layoutElement(E.getElement(!0),r)}),this.rightColumns.forEach(r=>{var E=e.getCell(r);E&&this.layoutElement(E.getElement(!0),r)})}layoutElement(e,r){var E;r.modules.frozen&&e&&(e.style.position="sticky",this.table.rtl?E=r.modules.frozen.position==="left"?"right":"left":E=r.modules.frozen.position,e.style[E]=r.modules.frozen.margin,e.classList.add("tabulator-frozen"),e.classList.toggle("tabulator-frozen-left",r.modules.frozen.edge&&r.modules.frozen.position==="left"),e.classList.toggle("tabulator-frozen-right",r.modules.frozen.edge&&r.modules.frozen.position==="right"))}adjustForScrollbar(e){this.rightColumns.length&&(this.table.columnManager.getContentsElement().style.width="calc(100% - "+e+"px)")}_calcSpace(e,r){var E=0;for(let z=0;z{this.initializeRow(e)})}initializeRow(e){var r=this.table.options.frozenRows,E=typeof r;E==="number"?e.getPosition()&&e.getPosition()+this.rows.length<=r&&this.freezeRow(e):E==="function"?r.call(this.table,e.getComponent())&&this.freezeRow(e):Array.isArray(r)&&r.includes(e.data[this.options("frozenRowsField")])&&this.freezeRow(e)}isRowFrozen(e){var r=this.rows.indexOf(e);return r>-1}isFrozen(){return!!this.rows.length}visibleRows(e,r){return this.rows.forEach(E=>{r.push(E)}),r}getRows(e){var r=e.slice(0);return this.rows.forEach(function(E){var z=r.indexOf(E);z>-1&&r.splice(z,1)}),r}freezeRow(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.rows.push(e),this.refreshData(!1,"display"),this.table.rowManager.adjustTableSize(),this.styleRows())}unfreezeRow(e){e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.refreshData(!1,"display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")}detachRow(e){var r=this.rows.indexOf(e);if(r>-1){var E=e.getElement();E.parentNode&&E.parentNode.removeChild(E),this.rows.splice(r,1)}}styleRows(e){this.rows.forEach((r,E)=>{this.table.rowManager.styleRow(r,E)})}}zM.moduleName="frozenRows";class aO{constructor(e){return this._group=e,this.type="GroupComponent",new Proxy(this,{get:function(r,E,z){return typeof r[E]<"u"?r[E]:r._group.groupManager.table.componentFunctionBinder.handle("group",r._group,E)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return this._group.parent?this._group.parent.getComponent():!1}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}scrollTo(e,r){return this._group.groupManager.table.rowManager.scrollToRow(this._group,e,r)}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class Fp{constructor(e,r,E,z,k,m,t){this.groupManager=e,this.parent=r,this.key=z,this.level=E,this.field=k,this.hasSubGroups=E{r.modules&&delete r.modules.group})),this.element=!1,this.arrowElement=!1,this.elementContents=!1}createElements(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),this.groupManager.table.options.movableRows!==!1&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var e=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]&&this.groupManager.allowedValues[e].forEach(r=>{this._createGroup(r,e)})}addBindings(){var e;this.groupManager.table.options.groupToggleElement&&(e=this.groupManager.table.options.groupToggleElement=="arrow"?this.arrowElement:this.element,e.addEventListener("click",r=>{this.groupManager.table.options.groupToggleElement==="arrow"&&(r.stopPropagation(),r.stopImmediatePropagation()),setTimeout(()=>{this.toggleVisibility()})}))}_createGroup(e,r){var E=r+"_"+e,z=new Fp(this.groupManager,this,r,e,this.groupManager.groupIDLookups[r].field,this.groupManager.headerGenerator[r]||this.groupManager.headerGenerator[0],this.old?this.old.groups[E]:!1);this.groups[E]=z,this.groupList.push(z)}_addRowToGroup(e){var r=this.level+1;if(this.hasSubGroups){var E=this.groupManager.groupIDLookups[r].func(e.getData()),z=r+"_"+E;this.groupManager.allowedValues&&this.groupManager.allowedValues[r]?this.groups[z]&&this.groups[z].addRow(e):(this.groups[z]||this._createGroup(E,r),this.groups[z].addRow(e))}}_addRow(e){this.rows.push(e),e.modules.group=this}insertRow(e,r,E){var z=this.conformRowData({});e.updateData(z);var k=this.rows.indexOf(r);k>-1?E?this.rows.splice(k+1,0,e):this.rows.splice(k,0,e):E?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(e){this.arrowElement&&(this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(r){r.scrollHeader(e)}))}getRowIndex(e){}conformRowData(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e}removeRow(e){var r=this.rows.indexOf(e),E=e.getElement();r>-1&&this.rows.splice(r,1),!this.groupManager.table.options.groupValues&&!this.rows.length?(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0)):(E.parentNode&&E.parentNode.removeChild(E),this.groupManager.blockRedraw||(this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)))}removeGroup(e){var r=e.level+"_"+e.key,E;this.groups[r]&&(delete this.groups[r],E=this.groupList.indexOf(e),E>-1&&this.groupList.splice(E,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(){var e=[];return e.push(this),this._visSet(),this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.visible?this.groupList.length?this.groupList.forEach(function(r){e=e.concat(r.getHeadersAndRows())}):(this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):!this.groupList.length&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&(this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))),e}getData(e,r){var E=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(z=>{E.push(z.getData(r||"data"))}),E}getRowCount(){var e=0;return this.groupList.length?this.groupList.forEach(r=>{e+=r.getRowCount()}):e=this.rows.length,e}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination?(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(e=>{var r=e.getHeadersAndRows();r.forEach(E=>{E.detachElement()})}):this.rows.forEach(e=>{var r=e.getElement();r.parentNode.removeChild(r)}),this.groupManager.updateGroupRows(!0)):this.groupManager.updateGroupRows(!0),this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!1)}show(){if(this.visible=!0,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination){this.element.classList.add("tabulator-group-visible");var e=this.generateElement();this.groupList.length?this.groupList.forEach(r=>{var E=r.getHeadersAndRows();E.forEach(z=>{var k=z.getElement();e.parentNode.insertBefore(k,e.nextSibling),z.initialize(),e=k})}):this.rows.forEach(r=>{var E=r.getElement();e.parentNode.insertBefore(E,e.nextSibling),r.initialize(),e=E}),this.groupManager.updateGroupRows(!0)}else this.groupManager.updateGroupRows(!0);this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!0)}_visSet(){var e=[];typeof this.visible=="function"&&(this.rows.forEach(function(r){e.push(r.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))}getRowGroup(e){var r=!1;return this.groupList.length?this.groupList.forEach(function(E){var z=E.getRowGroup(e);z&&(r=z)}):this.rows.find(function(E){return E===e})&&(r=this),r}getSubGroups(e){var r=[];return this.groupList.forEach(function(E){r.push(e?E.getComponent():E)}),r}getRows(e,r){var E=[];return r&&this.groupList.length?this.groupList.forEach(z=>{E=E.concat(z.getRows(e,r))}):this.rows.forEach(function(z){E.push(e?z.getComponent():z)}),E}generateGroupHeaderContents(){var e=[],r=this.getRows(!1,!0);for(r.forEach(function(E){e.push(E.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);typeof this.elementContents=="string"?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(e=[]){return e.unshift(this.key),this.parent&&this.parent.getPath(e),e}getElement(){return this.elementContents?this.element:this.generateElement()}generateElement(){this.addBindings=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;eE.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),this.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],this.langBind("groups|item",(k,m)=>{this.headerGenerator[0]=(t,d,y)=>(typeof t>"u"?"":t)+"("+d+" "+(d===1?k:m.groups.items)+")"}),this.groupIDLookups=[],e)this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="table"&&this.table.options.columnCalcs!="both"&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="group"){var z=this.table.columnManager.getRealColumns();z.forEach(k=>{k.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),k.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(e)||(e=[e]),e.forEach((k,m)=>{var t,d;typeof k=="function"?t=k:(d=this.table.columnManager.getColumnByField(k),d?t=function(y){return d.getFieldValue(y)}:t=function(y){return y[k]}),this.groupIDLookups.push({field:typeof k=="function"?!1:k,func:t,values:this.allowedValues?this.allowedValues[m]:!1})}),r&&(Array.isArray(r)||(r=[r]),r.forEach(k=>{}),this.startOpen=r),E&&(this.headerGenerator=Array.isArray(E)?E:[E])}else this.groupList=[],this.groups={}}rowSample(e,r){if(this.table.options.groupBy){var E=this.getGroups(!1)[0];r.push(E.getRows(!1)[0])}return r}virtualRenderFill(){var e=this.table.rowManager.tableElement,r=this.table.rowManager.getVisibleRows();if(this.table.options.groupBy)r=r.filter(E=>E.type!=="group"),e.style.minWidth=r.length?"":this.table.columnManager.getWidth()+"px";else return r}rowAddingIndex(e,r,E){if(this.table.options.groupBy){this.assignRowToGroup(e);var z=e.modules.group.rows;return z.length>1&&(!r||r&&z.indexOf(r)==-1?E?z[0]!==e&&(r=z[0],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!E)):z[z.length-1]!==e&&(r=z[z.length-1],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!E)):this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!E)),r}}trackChanges(){this.dispatch("group-changed")}setGroupBy(e){this.table.options.groupBy=e,this.initialized||this.initialize(),this.configureGroupSetup(),!e&&this.table.modExists("columnCalcs")&&this.table.options.columnCalcs===!0&&this.table.modules.columnCalcs.reinitializeCalcs(),this.refreshData(),this.trackChanges()}setGroupValues(e){this.table.options.groupValues=e,this.configureGroupSetup(),this.refreshData(),this.trackChanges()}setGroupStartOpen(e){this.table.options.groupStartOpen=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}setGroupHeader(e){this.table.options.groupHeader=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}userGetGroups(e){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(e){return e.modules.group?e.modules.group.getComponent():!1}rowMoving(e,r,E){if(this.table.options.groupBy){!E&&r instanceof Fp&&(r=this.table.rowManager.prevDisplayRow(e)||r);var z=r instanceof Fp?r:r.modules.group,k=e instanceof Fp?e:e.modules.group;z===k?this.table.rowManager.moveRowInArray(z.rows,e,r,E):(k&&k.removeRow(e),z.insertRow(e,r,E))}}rowDeleting(e){this.table.options.groupBy&&e.modules.group&&e.modules.group.removeRow(e)}rowsUpdated(e){this.table.options.groupBy&&this.updateGroupRows(!0)}cellUpdated(e){this.table.options.groupBy&&this.reassignRowToGroup(e.row)}getRows(e){return this.table.options.groupBy&&this.groupIDLookups.length?(this.dispatchExternal("dataGrouping"),this.generateGroups(e),this.subscribedExternal("dataGrouped")&&this.dispatchExternal("dataGrouped",this.getGroups(!0)),this.updateGroupRows()):e.slice(0)}getGroups(e){var r=[];return this.groupList.forEach(function(E){r.push(e?E.getComponent():E)}),r}getChildGroups(e){var r=[];return e||(e=this),e.groupList.forEach(E=>{E.groupList.length?r=r.concat(this.getChildGroups(E)):r.push(E)}),r}wipe(){this.table.options.groupBy&&(this.groupList.forEach(function(e){e.wipe()}),this.groupList=[],this.groups={})}pullGroupListData(e){var r=[];return e.forEach(E=>{var z={};z.level=0,z.rowCount=0,z.headerContent="";var k=[];E.hasSubGroups?(k=this.pullGroupListData(E.groupList),z.level=E.level,z.rowCount=k.length-E.groupList.length,z.headerContent=E.generator(E.key,z.rowCount,E.rows,E),r.push(z),r=r.concat(k)):(z.level=E.level,z.headerContent=E.generator(E.key,E.rows.length,E.rows,E),z.rowCount=E.getRows().length,r.push(z),E.getRows().forEach(m=>{r.push(m.getData("data"))}))}),r}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(e){var r=!1;return this.options("dataTree")&&(e=this.table.modules.dataTree.getTreeParentRoot(e)),this.groupList.forEach(E=>{var z=E.getRowGroup(e);z&&(r=z)}),r}countGroups(){return this.groupList.length}generateGroups(e){var r=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(E=>{this.createGroup(E,0,r)}),e.forEach(E=>{this.assignRowToExistingGroup(E,r)})):e.forEach(E=>{this.assignRowToGroup(E,r)}),Object.values(r).forEach(E=>{E.wipe(!0)})}createGroup(e,r,E){var z=r+"_"+e,k;E=E||[],k=new Fp(this,!1,r,e,this.groupIDLookups[0].field,this.headerGenerator[0],E[z]),this.groups[z]=k,this.groupList.push(k)}assignRowToExistingGroup(e,r){var E=this.groupIDLookups[0].func(e.getData()),z="0_"+E;this.groups[z]&&this.groups[z].addRow(e)}assignRowToGroup(e,r){var E=this.groupIDLookups[0].func(e.getData()),z=!this.groups["0_"+E];return z&&this.createGroup(E,0,r),this.groups["0_"+E].addRow(e),!z}reassignRowToGroup(e){if(e.type==="row"){var r=e.modules.group,E=r.getPath(),z=this.getExpectedPath(e),k;k=E.length==z.length&&E.every((m,t)=>m===z[t]),k||(r.removeRow(e),this.assignRowToGroup(e,this.groups),this.refreshData(!0))}}getExpectedPath(e){var r=[],E=e.getData();return this.groupIDLookups.forEach(z=>{r.push(z.func(E))}),r}updateGroupRows(e){var r=[];return this.blockRedraw||(this.groupList.forEach(E=>{r=r.concat(E.getHeadersAndRows())}),e&&this.refreshData(!0)),r}scrollHeaders(e){this.table.options.groupBy&&(this.table.options.renderHorizontal==="virtual"&&(e-=this.table.columnManager.renderer.vDomPadLeft),e=e+"px",this.groupList.forEach(r=>{r.scrollHeader(e)}))}removeGroup(e){var r=e.level+"_"+e.key,E;this.groups[r]&&(delete this.groups[r],E=this.groupList.indexOf(e),E>-1&&this.groupList.splice(E,1))}checkBasicModeGroupHeaderWidth(){var e=this.table.rowManager.tableElement,r=!0;this.table.rowManager.getDisplayRows().forEach((E,z)=>{this.table.rowManager.styleRow(E,z),e.appendChild(E.getElement()),E.initialize(!0),E.type!=="group"&&(r=!1)}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}}FM.moduleName="groupRows";var oO={cellEdit:function(n){n.component.setValueProcessData(n.data.oldValue),n.component.cellRendered()},rowAdd:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowMove:function(n){var e=n.data.posFrom-n.data.posTo>0;this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posFrom),e),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}},sO={cellEdit:function(n){n.component.setValueProcessData(n.data.newValue),n.component.cellRendered()},rowAdd:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowMove:function(n){this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posTo),n.data.after),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}};class Wd extends qi{constructor(e){super(e),this.history=[],this.index=-1,this.registerTableOption("history",!1)}initialize(){this.table.options.history&&(this.subscribe("cell-value-updated",this.cellUpdated.bind(this)),this.subscribe("cell-delete",this.clearComponentHistory.bind(this)),this.subscribe("row-delete",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clear.bind(this)),this.subscribe("row-added",this.rowAdded.bind(this)),this.subscribe("row-move",this.rowMoved.bind(this))),this.registerTableFunction("undo",this.undo.bind(this)),this.registerTableFunction("redo",this.redo.bind(this)),this.registerTableFunction("getHistoryUndoSize",this.getHistoryUndoSize.bind(this)),this.registerTableFunction("getHistoryRedoSize",this.getHistoryRedoSize.bind(this)),this.registerTableFunction("clearHistory",this.clear.bind(this))}rowMoved(e,r,E){this.action("rowMove",e,{posFrom:e.getPosition(),posTo:r.getPosition(),to:r,after:E})}rowAdded(e,r,E,z){this.action("rowAdd",e,{data:r,pos:E,index:z})}rowDeleted(e){var r,E;this.table.options.groupBy?(E=e.getComponent().getGroup()._getSelf().rows,r=E.indexOf(e),r&&(r=E[r-1])):(r=e.table.rowManager.getRowIndex(e),r&&(r=e.table.rowManager.rows[r-1])),this.action("rowDelete",e,{data:e.getData(),pos:!r,index:r})}cellUpdated(e){this.action("cellEdit",e,{oldValue:e.oldValue,newValue:e.value})}clear(){this.history=[],this.index=-1}action(e,r,E){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:r,data:E}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(e){var r=this.history.findIndex(function(E){return E.component===e});r>-1&&(this.history.splice(r,1),r<=this.index&&this.index--,this.clearComponentHistory(e))}undo(){if(this.index>-1){let e=this.history[this.index];return Wd.undoers[e.type].call(this,e),this.index--,this.dispatchExternal("historyUndo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Undo Error - No more history to undo":"History module not enabled"),!1}redo(){if(this.history.length-1>this.index){this.index++;let e=this.history[this.index];return Wd.redoers[e.type].call(this,e),this.dispatchExternal("historyRedo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Redo Error - No more history to redo":"History module not enabled"),!1}_rebindRow(e,r){this.history.forEach(function(E){if(E.component instanceof yl)E.component===e&&(E.component=r);else if(E.component instanceof eg&&E.component.row===e){var z=E.component.column.getField();z&&(E.component=r.getCell(z))}})}}Wd.moduleName="history";Wd.undoers=oO;Wd.redoers=sO;class BM extends qi{constructor(e){super(e),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.tableElementCheck()}tableElementCheck(){this.table.originalElement&&this.table.originalElement.tagName==="TABLE"&&(this.table.originalElement.childNodes.length?this.parseTable():console.warn("Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."))}parseTable(){var e=this.table.originalElement,r=this.table.options,E=e.getElementsByTagName("th"),z=e.getElementsByTagName("tbody")[0],k=[];this.hasIndex=!1,this.dispatchExternal("htmlImporting"),z=z?z.getElementsByTagName("tr"):[],this._extractOptions(e,r),E.length?this._extractHeaders(E,z):this._generateBlankHeaders(E,z);for(var m=0;m{m[i.toLowerCase()]=i});for(var t in z){var d=z[t],y;d&&typeof d=="object"&&d.name&&d.name.indexOf("tabulator-")===0&&(y=d.name.replace("tabulator-",""),typeof m[y]<"u"&&(r[m[y]]=this._attribValue(d.value)))}}_attribValue(e){return e==="true"?!0:e==="false"?!1:e}_findCol(e){var r=this.table.options.columns.find(E=>E.title===e);return r||!1}_extractHeaders(e,r){for(var E=0;E(console.error("Import Error:",m||"Unable to import data"),Promise.reject(m)))}lookupImporter(e){var r;return e||(e=this.table.options.importFormat),typeof e=="string"?r=ng.importers[e]:r=e,r||console.error("Import Error - Importer not found:",e),r}importFromFile(e,r){var E=this.lookupImporter(e);if(E)return this.pickFile(r).then(this.importData.bind(this,E)).then(this.structureData.bind(this)).then(this.setData.bind(this)).catch(z=>(console.error("Import Error:",z||"Unable to import file"),Promise.reject(z)))}pickFile(e){return new Promise((r,E)=>{var z=document.createElement("input");z.type="file",z.accept=e,z.addEventListener("change",k=>{var m=z.files[0],t=new FileReader;switch(this.table.options.importReader){case"buffer":t.readAsArrayBuffer(m);break;case"binary":t.readAsBinaryString(m);break;case"url":t.readAsDataURL(m);break;case"text":default:t.readAsText(m)}t.onload=d=>{r(t.result)},t.onerror=d=>{console.warn("File Load Error - Unable to read file"),E()}}),z.click()})}importData(e,r){var E=e.call(this.table,r);return E instanceof Promise?E:E?Promise.resolve(E):Promise.reject()}structureData(e){var r=[];return Array.isArray(e)&&e.length&&Array.isArray(e[0])?(this.table.options.autoColumns?r=this.structureArrayToObject(e):r=this.structureArrayToColumns(e),r):e}structureArrayToObject(e){var r=e.shift(),E=e.map(z=>{var k={};return r.forEach((m,t)=>{k[m]=z[t]}),k});return E}structureArrayToColumns(e){var r=[],E=this.table.getColumns();return E[0]&&e[0][0]&&E[0].getDefinition().title===e[0][0]&&e.shift(),e.forEach(z=>{var k={};z.forEach((m,t)=>{var d=E[t];d&&(k[d.getField()]=m)}),r.push(k)}),r}setData(e){return this.table.setData(e)}}ng.moduleName="import";ng.importers=fP;class NM extends Wi{constructor(e){super(e),this.eventMap={rowClick:"row-click",rowDblClick:"row-dblclick",rowContext:"row-contextmenu",rowMouseEnter:"row-mouseenter",rowMouseLeave:"row-mouseleave",rowMouseOver:"row-mouseover",rowMouseOut:"row-mouseout",rowMouseMove:"row-mousemove",rowMouseDown:"row-mousedown",rowMouseUp:"row-mouseup",rowTap:"row",rowDblTap:"row",rowTapHold:"row",cellClick:"cell-click",cellDblClick:"cell-dblclick",cellContext:"cell-contextmenu",cellMouseEnter:"cell-mouseenter",cellMouseLeave:"cell-mouseleave",cellMouseOver:"cell-mouseover",cellMouseOut:"cell-mouseout",cellMouseMove:"cell-mousemove",cellMouseDown:"cell-mousedown",cellMouseUp:"cell-mouseup",cellTap:"cell",cellDblTap:"cell",cellTapHold:"cell",headerClick:"column-click",headerDblClick:"column-dblclick",headerContext:"column-contextmenu",headerMouseEnter:"column-mouseenter",headerMouseLeave:"column-mouseleave",headerMouseOver:"column-mouseover",headerMouseOut:"column-mouseout",headerMouseMove:"column-mousemove",headerMouseDown:"column-mousedown",headerMouseUp:"column-mouseup",headerTap:"column",headerDblTap:"column",headerTapHold:"column",groupClick:"group-click",groupDblClick:"group-dblclick",groupContext:"group-contextmenu",groupMouseEnter:"group-mouseenter",groupMouseLeave:"group-mouseleave",groupMouseOver:"group-mouseover",groupMouseOut:"group-mouseout",groupMouseMove:"group-mousemove",groupMouseDown:"group-mousedown",groupMouseUp:"group-mouseup",groupTap:"group",groupDblTap:"group",groupTapHold:"group"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null},group:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption("headerClick"),this.registerColumnOption("headerDblClick"),this.registerColumnOption("headerContext"),this.registerColumnOption("headerMouseEnter"),this.registerColumnOption("headerMouseLeave"),this.registerColumnOption("headerMouseOver"),this.registerColumnOption("headerMouseOut"),this.registerColumnOption("headerMouseMove"),this.registerColumnOption("headerMouseDown"),this.registerColumnOption("headerMouseUp"),this.registerColumnOption("headerTap"),this.registerColumnOption("headerDblTap"),this.registerColumnOption("headerTapHold"),this.registerColumnOption("cellClick"),this.registerColumnOption("cellDblClick"),this.registerColumnOption("cellContext"),this.registerColumnOption("cellMouseEnter"),this.registerColumnOption("cellMouseLeave"),this.registerColumnOption("cellMouseOver"),this.registerColumnOption("cellMouseOut"),this.registerColumnOption("cellMouseMove"),this.registerColumnOption("cellMouseDown"),this.registerColumnOption("cellMouseUp"),this.registerColumnOption("cellTap"),this.registerColumnOption("cellDblTap"),this.registerColumnOption("cellTapHold")}initialize(){this.initializeExternalEvents(),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("cell-dblclick",this.cellContentsSelectionFixer.bind(this)),this.subscribe("scroll-horizontal",this.clearTouchWatchers.bind(this)),this.subscribe("scroll-vertical",this.clearTouchWatchers.bind(this))}clearTouchWatchers(){var e=Object.values(this.touchWatchers);e.forEach(r=>{for(let E in r)r[E]=null})}cellContentsSelectionFixer(e,r){var E;if(!(this.table.modExists("edit")&&this.table.modules.edit.currentCell===r)){e.preventDefault();try{document.selection?(E=document.body.createTextRange(),E.moveToElementText(r.getElement()),E.select()):window.getSelection&&(E=document.createRange(),E.selectNode(r.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(E))}catch{}}}initializeExternalEvents(){for(let e in this.eventMap)this.subscriptionChangeExternal(e,this.subscriptionChanged.bind(this,e))}subscriptionChanged(e,r){r?this.subscribers[e]||(this.eventMap[e].includes("-")?(this.subscribers[e]=this.handle.bind(this,e),this.subscribe(this.eventMap[e],this.subscribers[e])):this.subscribeTouchEvents(e)):this.eventMap[e].includes("-")?this.subscribers[e]&&!this.columnSubscribers[e]&&!this.subscribedExternal(e)&&(this.unsubscribe(this.eventMap[e],this.subscribers[e]),delete this.subscribers[e]):this.unsubscribeTouchEvents(e)}subscribeTouchEvents(e){var r=this.eventMap[e];this.touchSubscribers[r+"-touchstart"]||(this.touchSubscribers[r+"-touchstart"]=this.handleTouch.bind(this,r,"start"),this.touchSubscribers[r+"-touchend"]=this.handleTouch.bind(this,r,"end"),this.subscribe(r+"-touchstart",this.touchSubscribers[r+"-touchstart"]),this.subscribe(r+"-touchend",this.touchSubscribers[r+"-touchend"])),this.subscribers[e]=!0}unsubscribeTouchEvents(e){var r=!0,E=this.eventMap[e];if(this.subscribers[e]&&!this.subscribedExternal(e)){delete this.subscribers[e];for(let z in this.eventMap)this.eventMap[z]===E&&this.subscribers[z]&&(r=!1);r&&(this.unsubscribe(E+"-touchstart",this.touchSubscribers[E+"-touchstart"]),this.unsubscribe(E+"-touchend",this.touchSubscribers[E+"-touchend"]),delete this.touchSubscribers[E+"-touchstart"],delete this.touchSubscribers[E+"-touchend"])}}initializeColumn(e){var r=e.definition;for(let E in this.eventMap)r[E]&&(this.subscriptionChanged(E,!0),this.columnSubscribers[E]||(this.columnSubscribers[E]=[]),this.columnSubscribers[E].push(e))}handle(e,r,E){this.dispatchEvent(e,r,E)}handleTouch(e,r,E,z){var k=this.touchWatchers[e];switch(e==="column"&&(e="header"),r){case"start":k.tap=!0,clearTimeout(k.tapHold),k.tapHold=setTimeout(()=>{clearTimeout(k.tapHold),k.tapHold=null,k.tap=null,clearTimeout(k.tapDbl),k.tapDbl=null,this.dispatchEvent(e+"TapHold",E,z)},1e3);break;case"end":k.tap&&(k.tap=null,this.dispatchEvent(e+"Tap",E,z)),k.tapDbl?(clearTimeout(k.tapDbl),k.tapDbl=null,this.dispatchEvent(e+"DblTap",E,z)):k.tapDbl=setTimeout(()=>{clearTimeout(k.tapDbl),k.tapDbl=null},300),clearTimeout(k.tapHold),k.tapHold=null;break}}dispatchEvent(e,r,E){var z=E.getComponent(),k;this.columnSubscribers[e]&&(E instanceof eg?k=E.column.definition[e]:E instanceof vf&&(k=E.definition[e]),k&&k(r,z)),this.dispatchExternal(e,r,z)}}NM.moduleName="interaction";var hP={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,navLeft:37,navRight:39,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:["ctrl + 90","meta + 90"],redo:["ctrl + 89","meta + 89"],copyToClipboard:["ctrl + 67","meta + 67"],rangeJumpUp:["ctrl + 38","meta + 38"],rangeJumpDown:["ctrl + 40","meta + 40"],rangeJumpLeft:["ctrl + 37","meta + 37"],rangeJumpRight:["ctrl + 39","meta + 39"],rangeExpandUp:"shift + 38",rangeExpandDown:"shift + 40",rangeExpandLeft:"shift + 37",rangeExpandRight:"shift + 39",rangeExpandJumpUp:["ctrl + shift + 38","meta + shift + 38"],rangeExpandJumpDown:["ctrl + shift + 40","meta + shift + 40"],rangeExpandJumpLeft:["ctrl + shift + 37","meta + shift + 37"],rangeExpandJumpRight:["ctrl + shift + 39","meta + shift + 39"]},dP={keyBlock:function(n){n.stopPropagation(),n.preventDefault()},scrollPageUp:function(n){var e=this.table.rowManager,r=e.scrollTop-e.element.clientHeight;n.preventDefault(),e.displayRowsCount&&(r>=0?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(n){var e=this.table.rowManager,r=e.scrollTop+e.element.clientHeight,E=e.element.scrollHeight;n.preventDefault(),e.displayRowsCount&&(r<=E?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(n){this.dispatch("keybinding-nav-prev",n)},navNext:function(n){this.dispatch("keybinding-nav-next",n)},navLeft:function(n){this.dispatch("keybinding-nav-left",n)},navRight:function(n){this.dispatch("keybinding-nav-right",n)},navUp:function(n){this.dispatch("keybinding-nav-up",n)},navDown:function(n){this.dispatch("keybinding-nav-down",n)},rangeJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!1)},rangeJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!1)},rangeJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!1)},rangeJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!1)},rangeExpandLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!1,!0)},rangeExpandRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!1,!0)},rangeExpandUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!1,!0)},rangeExpandDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!1,!0)},rangeExpandJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!0)},rangeExpandJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!0)},rangeExpandJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!0)},rangeExpandJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!0)},undo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.undo()))},redo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class Vh extends Wi{constructor(e){super(e),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption("keybindings",{}),this.registerTableOption("tabEndNewRow",!1)}initialize(){var e=this.table.options.keybindings,r={};this.watchKeys={},this.pressedKeys=[],e!==!1&&(Object.assign(r,Vh.bindings),Object.assign(r,e),this.mapBindings(r),this.bindEvents()),this.subscribe("table-destroy",this.clearBindings.bind(this))}mapBindings(e){for(let r in e)Vh.actions[r]?e[r]&&(typeof e[r]!="object"&&(e[r]=[e[r]]),e[r].forEach(E=>{var z=Array.isArray(E)?E:[E];z.forEach(k=>{this.mapBinding(r,k)})})):console.warn("Key Binding Error - no such action:",r)}mapBinding(e,r){var E={action:Vh.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1},z=r.toString().toLowerCase().split(" ").join("").split("+");z.forEach(k=>{switch(k){case"ctrl":E.ctrl=!0;break;case"shift":E.shift=!0;break;case"meta":E.meta=!0;break;default:k=isNaN(k)?k.toUpperCase().charCodeAt(0):parseInt(k),E.keys.push(k),this.watchKeys[k]||(this.watchKeys[k]=[]),this.watchKeys[k].push(E)}})}bindEvents(){var e=this;this.keyupBinding=function(r){var E=r.keyCode,z=e.watchKeys[E];z&&(e.pressedKeys.push(E),z.forEach(function(k){e.checkBinding(r,k)}))},this.keydownBinding=function(r){var E=r.keyCode,z=e.watchKeys[E];if(z){var k=e.pressedKeys.indexOf(E);k>-1&&e.pressedKeys.splice(k,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)}checkBinding(e,r){var E=!0;return e.ctrlKey==r.ctrl&&e.shiftKey==r.shift&&e.metaKey==r.meta?(r.keys.forEach(z=>{var k=this.pressedKeys.indexOf(z);k==-1&&(E=!1)}),E&&r.action.call(this,e),!0):!1}}Vh.moduleName="keybindings";Vh.bindings=hP;Vh.actions=dP;class VM extends Wi{constructor(e){super(e),this.menuContainer=null,this.nestedMenuBlock=!1,this.currentComponent=null,this.rootPopup=null,this.columnSubscribers={},this.registerTableOption("menuContainer",void 0),this.registerTableOption("rowContextMenu",!1),this.registerTableOption("rowClickMenu",!1),this.registerTableOption("rowDblClickMenu",!1),this.registerTableOption("groupContextMenu",!1),this.registerTableOption("groupClickMenu",!1),this.registerTableOption("groupDblClickMenu",!1),this.registerColumnOption("headerContextMenu"),this.registerColumnOption("headerClickMenu"),this.registerColumnOption("headerDblClickMenu"),this.registerColumnOption("headerMenu"),this.registerColumnOption("headerMenuIcon"),this.registerColumnOption("contextMenu"),this.registerColumnOption("clickMenu"),this.registerColumnOption("dblClickMenu")}initialize(){this.deprecatedOptionsCheck(),this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("menuContainer","popupContainer")||(this.table.options.popupContainer=this.table.options.menuContainer)}initializeRowWatchers(){this.table.options.rowContextMenu&&(this.subscribe("row-contextmenu",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu)),this.table.on("rowTapHold",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu))),this.table.options.rowClickMenu&&this.subscribe("row-click",this.loadMenuEvent.bind(this,this.table.options.rowClickMenu)),this.table.options.rowDblClickMenu&&this.subscribe("row-dblclick",this.loadMenuEvent.bind(this,this.table.options.rowDblClickMenu))}initializeGroupWatchers(){this.table.options.groupContextMenu&&(this.subscribe("group-contextmenu",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu)),this.table.on("groupTapHold",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu))),this.table.options.groupClickMenu&&this.subscribe("group-click",this.loadMenuEvent.bind(this,this.table.options.groupClickMenu)),this.table.options.groupDblClickMenu&&this.subscribe("group-dblclick",this.loadMenuEvent.bind(this,this.table.options.groupDblClickMenu))}initializeColumn(e){var r=e.definition;r.headerContextMenu&&!this.columnSubscribers.headerContextMenu&&(this.columnSubscribers.headerContextMenu=this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextMenu),this.table.on("headerTapHold",this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"))),r.headerClickMenu&&!this.columnSubscribers.headerClickMenu&&(this.columnSubscribers.headerClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerClickMenu"),this.subscribe("column-click",this.columnSubscribers.headerClickMenu)),r.headerDblClickMenu&&!this.columnSubscribers.headerDblClickMenu&&(this.columnSubscribers.headerDblClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerDblClickMenu"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickMenu)),r.headerMenu&&this.initializeColumnHeaderMenu(e),r.contextMenu&&!this.columnSubscribers.contextMenu&&(this.columnSubscribers.contextMenu=this.loadMenuTableCellEvent.bind(this,"contextMenu"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextMenu),this.table.on("cellTapHold",this.loadMenuTableCellEvent.bind(this,"contextMenu"))),r.clickMenu&&!this.columnSubscribers.clickMenu&&(this.columnSubscribers.clickMenu=this.loadMenuTableCellEvent.bind(this,"clickMenu"),this.subscribe("cell-click",this.columnSubscribers.clickMenu)),r.dblClickMenu&&!this.columnSubscribers.dblClickMenu&&(this.columnSubscribers.dblClickMenu=this.loadMenuTableCellEvent.bind(this,"dblClickMenu"),this.subscribe("cell-dblclick",this.columnSubscribers.dblClickMenu))}initializeColumnHeaderMenu(e){var r=e.definition.headerMenuIcon,E;E=document.createElement("span"),E.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?E.appendChild(r):E.innerHTML=r):E.innerHTML="⋮",E.addEventListener("click",z=>{z.stopPropagation(),z.preventDefault(),this.loadMenuEvent(e.definition.headerMenu,z,e)}),e.titleElement.insertBefore(E,e.titleElement.firstChild)}loadMenuTableCellEvent(e,r,E){E._cell&&(E=E._cell),E.column.definition[e]&&this.loadMenuEvent(E.column.definition[e],r,E)}loadMenuTableColumnEvent(e,r,E){E._column&&(E=E._column),E.definition[e]&&this.loadMenuEvent(E.definition[e],r,E)}loadMenuEvent(e,r,E){E._group?E=E._group:E._row&&(E=E._row),e=typeof e=="function"?e.call(this.table,r,E.getComponent()):e,this.loadMenu(r,E,e)}loadMenu(e,r,E,z,k){var m=!(e instanceof MouseEvent),t=document.createElement("div"),d;if(t.classList.add("tabulator-menu"),m||e.preventDefault(),!(!E||!E.length)){if(z)d=k.child(t);else{if(this.nestedMenuBlock){if(this.rootPopup)return}else this.nestedMenuBlock=setTimeout(()=>{this.nestedMenuBlock=!1},100);this.rootPopup&&this.rootPopup.hide(),this.rootPopup=d=this.popup(t)}E.forEach(y=>{var i=document.createElement("div"),M=y.label,g=y.disabled;y.separator?i.classList.add("tabulator-menu-separator"):(i.classList.add("tabulator-menu-item"),typeof M=="function"&&(M=M.call(this.table,r.getComponent())),M instanceof Node?i.appendChild(M):i.innerHTML=M,typeof g=="function"&&(g=g.call(this.table,r.getComponent())),g?(i.classList.add("tabulator-menu-item-disabled"),i.addEventListener("click",h=>{h.stopPropagation()})):y.menu&&y.menu.length?i.addEventListener("click",h=>{h.stopPropagation(),this.loadMenu(h,r,y.menu,i,d)}):y.action&&i.addEventListener("click",h=>{y.action(h,r.getComponent())}),y.menu&&y.menu.length&&i.classList.add("tabulator-menu-item-submenu")),t.appendChild(i)}),t.addEventListener("click",y=>{this.rootPopup&&this.rootPopup.hide()}),d.show(z||e),d===this.rootPopup&&(this.rootPopup.hideOnBlur(()=>{this.rootPopup=null,this.currentComponent&&(this.dispatch("menu-closed",E,d),this.dispatchExternal("menuClosed",this.currentComponent.getComponent()),this.currentComponent=null)}),this.currentComponent=r,this.dispatch("menu-opened",E,d),this.dispatchExternal("menuOpened",r.getComponent()))}}}VM.moduleName="menu";class jM extends Wi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption("movableColumns",!1)}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e}initialize(){this.table.options.movableColumns&&(this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("alert-show",this.abortMove.bind(this)))}abortMove(){clearTimeout(this.checkTimeout)}initializeColumn(e){var r=this,E={},z;!e.modules.frozen&&!e.isGroup&&(z=e.getElement(),E.mousemove=(function(k){e.parent===r.moving.parent&&((r.touchMove?k.touches[0].pageX:k.pageX)-oo.elOffset(z).left+r.table.columnManager.contentsElement.scrollLeft>e.getWidth()/2?(r.toCol!==e||!r.toColAfter)&&(z.parentNode.insertBefore(r.placeholderElement,z.nextSibling),r.moveColumn(e,!0)):(r.toCol!==e||r.toColAfter)&&(z.parentNode.insertBefore(r.placeholderElement,z),r.moveColumn(e,!1)))}).bind(r),z.addEventListener("mousedown",function(k){r.touchMove=!1,k.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(k,e)},r.checkPeriod))}),z.addEventListener("mouseup",function(k){k.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),r.bindTouchEvents(e)),e.modules.moveColumn=E}bindTouchEvents(e){var r=e.getElement(),E=!1,z,k,m,t,d,y;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,z=e.nextColumn(),m=z?z.getWidth()/2:0,k=e.prevColumn(),t=k?k.getWidth()/2:0,d=0,y=0,E=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),r.addEventListener("touchmove",i=>{var M,g;this.moving&&(this.moveHover(i),E||(E=i.touches[0].pageX),M=i.touches[0].pageX-E,M>0?z&&M-d>m&&(g=z,g!==e&&(E=i.touches[0].pageX,g.getElement().parentNode.insertBefore(this.placeholderElement,g.getElement().nextSibling),this.moveColumn(g,!0))):k&&-M-y>t&&(g=k,g!==e&&(E=i.touches[0].pageX,g.getElement().parentNode.insertBefore(this.placeholderElement,g.getElement()),this.moveColumn(g,!1))),g&&(z=g.nextColumn(),d=m,m=z?z.getWidth()/2:0,k=g.prevColumn(),y=t,t=k?k.getWidth()/2:0))},{passive:!0}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(i)})}startMove(e,r){var E=r.getElement(),z=this.table.columnManager.getContentsElement(),k=this.table.columnManager.getHeadersElement();this.moving=r,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(E).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",E.parentNode.insertBefore(this.placeholderElement,E),E.parentNode.removeChild(E),this.hoverElement=E.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),z.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom=z.clientHeight-k.offsetHeight+"px",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})}moveColumn(e,r){var E=this.moving.getCells();this.toCol=e,this.toColAfter=r,r?e.getCells().forEach(function(z,k){var m=z.getElement(!0);m.parentNode&&E[k]&&m.parentNode.insertBefore(E[k].getElement(),m.nextSibling)}):e.getCells().forEach(function(z,k){var m=z.getElement(!0);m.parentNode&&E[k]&&m.parentNode.insertBefore(E[k].getElement(),m)})}endMove(e){(e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))}moveHover(e){var r=this.table.columnManager.getContentsElement(),E=r.scrollLeft,z=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(r).left+E,k;this.hoverElement.style.left=z-this.startX+"px",z-E{k=Math.max(0,E-5),this.table.rowManager.getElement().scrollLeft=k,this.autoScrollTimeout=!1},1))),E+r.clientWidth-z{k=Math.min(r.clientWidth,E+5),this.table.rowManager.getElement().scrollLeft=k,this.autoScrollTimeout=!1},1)))}}jM.moduleName="moveColumn";class $y extends Wi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption("movableRows",!1),this.registerTableOption("movableRowsConnectedTables",!1),this.registerTableOption("movableRowsConnectedElements",!1),this.registerTableOption("movableRowsSender",!1),this.registerTableOption("movableRowsReceiver","insert"),this.registerColumnOption("rowHandle")}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe("cell-init",this.initializeCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)))}initializeGroupHeader(e){var r=this,E={};E.mouseup=(function(z){r.tableRowDrop(z,e)}).bind(r),E.mousemove=(function(z){var k;z.pageY-oo.elOffset(e.element).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(k=e.getElement(),k.parentNode.insertBefore(r.placeholderElement,k.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(k=e.getElement(),k.previousSibling&&(k.parentNode.insertBefore(r.placeholderElement,k),r.moveRow(e,!1)))}).bind(r),e.modules.moveRow=E}initializeRow(e){var r=this,E={},z;E.mouseup=(function(k){r.tableRowDrop(k,e)}).bind(r),E.mousemove=(function(k){var m=e.getElement();k.pageY-oo.elOffset(m).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(m.parentNode.insertBefore(r.placeholderElement,m.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(m.parentNode.insertBefore(r.placeholderElement,m),r.moveRow(e,!1))}).bind(r),this.hasHandle||(z=e.getElement(),z.addEventListener("mousedown",function(k){k.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(k,e)},r.checkPeriod))}),z.addEventListener("mouseup",function(k){k.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=E}initializeColumn(e){e.definition.rowHandle&&this.table.options.movableRows!==!1&&(this.hasHandle=!0)}initializeCell(e){if(e.column.definition.rowHandle&&this.table.options.movableRows!==!1){var r=this,E=e.getElement(!0);E.addEventListener("mousedown",function(z){z.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(z,e.row)},r.checkPeriod))}),E.addEventListener("mouseup",function(z){z.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e.row,E)}}bindTouchEvents(e,r){var E=!1,z,k,m,t,d,y;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,z=e.nextRow(),m=z?z.getHeight()/2:0,k=e.prevRow(),t=k?k.getHeight()/2:0,d=0,y=0,E=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,r.addEventListener("touchmove",i=>{var M,g;this.moving&&(i.preventDefault(),this.moveHover(i),E||(E=i.touches[0].pageY),M=i.touches[0].pageY-E,M>0?z&&M-d>m&&(g=z,g!==e&&(E=i.touches[0].pageY,g.getElement().parentNode.insertBefore(this.placeholderElement,g.getElement().nextSibling),this.moveRow(g,!0))):k&&-M-y>t&&(g=k,g!==e&&(E=i.touches[0].pageY,g.getElement().parentNode.insertBefore(this.placeholderElement,g.getElement()),this.moveRow(g,!1))),g&&(z=g.nextRow(),d=m,m=z?z.getHeight()/2:0,k=g.prevRow(),y=t,t=k?k.getHeight()/2:0))}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(i),this.touchMove=!1)})}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})}startMove(e,r){var E=r.getElement();this.setStartPosition(e,r),this.moving=r,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(r)):(E.parentNode.insertBefore(this.placeholderElement,E),E.parentNode.removeChild(E)),this.hoverElement=E.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.dispatchExternal("rowMoving",r.getComponent()),this.moveHover(e)}setStartPosition(e,r){var E=this.touchMove?e.touches[0].pageX:e.pageX,z=this.touchMove?e.touches[0].pageY:e.pageY,k,m;k=r.getElement(),this.connection?(m=k.getBoundingClientRect(),this.startX=m.left-E+window.pageXOffset,this.startY=m.top-z+window.pageYOffset):this.startY=z-k.getBoundingClientRect().top}endMove(e){(!e||e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow?this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter):this.dispatchExternal("rowMoveCancelled",this.moving.getComponent()),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))}moveRow(e,r){this.toRow=e,this.toRowAfter=r}moveHover(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)}moveHoverTable(e){var r=this.table.rowManager.getElement(),E=r.scrollTop,z=(this.touchMove?e.touches[0].pageY:e.pageY)-r.getBoundingClientRect().top+E;this.hoverElement.style.top=Math.min(z-this.startY,this.table.rowManager.element.scrollHeight-this.hoverElement.offsetHeight)+"px"}moveHoverConnections(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"}elementRowDrop(e,r,E){this.dispatchExternal("movableRowsElementDrop",e,r,E?E.getComponent():!1)}connectToTables(e){var r;this.connectionSelectorsTables&&(r=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStart",r),this.commsSend(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(E=>{typeof E=="string"?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(E))):this.connectionElements.push(E)}),this.connectionElements.forEach(E=>{var z=k=>{this.elementRowDrop(k,E,this.moving)};E.addEventListener("mouseup",z),E.tabulatorElementDropEvent=z,E.classList.add("tabulator-movingrow-receiving")}))}disconnectFromTables(){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStop",e),this.commsSend(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(r=>{r.classList.remove("tabulator-movingrow-receiving"),r.removeEventListener("mouseup",r.tabulatorElementDropEvent),delete r.tabulatorElementDropEvent})}connect(e,r){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=r,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(E=>{E.type==="row"&&E.modules.moveRow&&E.modules.moveRow.mouseup&&E.getElement().addEventListener("mouseup",E.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStart",r,e),!0)}disconnect(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(r=>{r.type==="row"&&r.modules.moveRow&&r.modules.moveRow.mouseup&&r.getElement().removeEventListener("mouseup",r.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStop",e)):console.warn("Move Row Error - trying to disconnect from non connected table")}dropComplete(e,r,E){var z=!1;if(E){switch(typeof this.table.options.movableRowsSender){case"string":z=this.senders[this.table.options.movableRowsSender];break;case"function":z=this.table.options.movableRowsSender;break}z?z.call(this,this.moving?this.moving.getComponent():void 0,r?r.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.dispatchExternal("movableRowsSent",this.moving.getComponent(),r?r.getComponent():void 0,e)}else this.dispatchExternal("movableRowsSentFailed",this.moving.getComponent(),r?r.getComponent():void 0,e);this.endMove()}tableRowDrop(e,r){var E=!1,z=!1;switch(e.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case"string":E=this.receivers[this.table.options.movableRowsReceiver];break;case"function":E=this.table.options.movableRowsReceiver;break}E?z=E.call(this,this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),z?this.dispatchExternal("movableRowsReceived",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):this.dispatchExternal("movableRowsReceivedFailed",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,"moveRow","dropcomplete",{row:r,success:z})}commsReceived(e,r,E){switch(r){case"connect":return this.connect(e,E.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,E.row,E.success)}}}$y.prototype.receivers={insert:function(n,e,r){return this.table.addRow(n.getData(),void 0,e),!0},add:function(n,e,r){return this.table.addRow(n.getData()),!0},update:function(n,e,r){return e?(e.update(n.getData()),!0):!1},replace:function(n,e,r){return e?(this.table.addRow(n.getData(),void 0,e),e.delete(),!0):!1}};$y.prototype.senders={delete:function(n,e,r){n.delete()}};$y.moduleName="moveRow";var pP={};class o0 extends Wi{constructor(e){super(e),this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0,this.registerColumnOption("mutator"),this.registerColumnOption("mutatorParams"),this.registerColumnOption("mutatorData"),this.registerColumnOption("mutatorDataParams"),this.registerColumnOption("mutatorEdit"),this.registerColumnOption("mutatorEditParams"),this.registerColumnOption("mutatorClipboard"),this.registerColumnOption("mutatorClipboardParams"),this.registerColumnOption("mutateLink")}initialize(){this.subscribe("cell-value-changing",this.transformCell.bind(this)),this.subscribe("cell-value-changed",this.mutateLink.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-init-before",this.rowDataChanged.bind(this)),this.subscribe("row-data-changing",this.rowDataChanged.bind(this))}rowDataChanged(e,r,E){return this.transformRow(r,"data",E)}initializeColumn(e){var r=!1,E={};this.allowedTypes.forEach(z=>{var k="mutator"+(z.charAt(0).toUpperCase()+z.slice(1)),m;e.definition[k]&&(m=this.lookupMutator(e.definition[k]),m&&(r=!0,E[k]={mutator:m,params:e.definition[k+"Params"]||{}}))}),r&&(e.modules.mutate=E)}lookupMutator(e){var r=!1;switch(typeof e){case"string":o0.mutators[e]?r=o0.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r,E){var z="mutator"+(r.charAt(0).toUpperCase()+r.slice(1)),k;return this.enabled&&this.table.columnManager.traverse(m=>{var t,d,y;m.modules.mutate&&(t=m.modules.mutate[z]||m.modules.mutate.mutator||!1,t&&(k=m.getFieldValue(typeof E<"u"?E:e),(r=="data"&&!E||typeof k<"u")&&(y=m.getComponent(),d=typeof t.params=="function"?t.params(k,e,r,y):t.params,m.setFieldValue(e,t.mutator(k,e,r,d,y)))))}),e}transformCell(e,r){if(e.column.modules.mutate){var E=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,z={};if(E)return z=Object.assign(z,e.row.getData()),e.column.setFieldValue(z,r),E.mutator(r,z,"edit",E.params,e.getComponent())}return r}mutateLink(e){var r=e.column.definition.mutateLink;r&&(Array.isArray(r)||(r=[r]),r.forEach(E=>{var z=e.row.getCell(E);z&&z.setValue(z.getValue(),!0,!0)}))}enable(){this.enabled=!0}disable(){this.enabled=!1}}o0.moduleName="mutator";o0.mutators=pP;function mP(n,e,r,E,z){var k=document.createElement("span"),m=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),y=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{m.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|rows",M=>{i.innerHTML=M}),E?(t.innerHTML=" "+e+"-"+Math.min(e+n-1,E)+" ",y.innerHTML=" "+E+" ",k.appendChild(m),k.appendChild(t),k.appendChild(d),k.appendChild(y),k.appendChild(i)):(t.innerHTML=" 0 ",k.appendChild(m),k.appendChild(t),k.appendChild(i)),k}function gP(n,e,r,E,z){var k=document.createElement("span"),m=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),y=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{m.innerHTML=M}),t.innerHTML=" "+r+" ",this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),y.innerHTML=" "+z+" ",this.table.modules.localize.langBind("pagination|counter|pages",M=>{i.innerHTML=M}),k.appendChild(m),k.appendChild(t),k.appendChild(d),k.appendChild(y),k.appendChild(i),k}var vP={rows:mP,pages:gP};class rg extends Wi{constructor(e){super(e),this.mode="local",this.progressiveLoad=!1,this.element=null,this.pageCounterElement=null,this.pageCounter=null,this.size=0,this.page=1,this.count=5,this.max=1,this.remoteRowCountEstimate=null,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.registerTableOption("pagination",!1),this.registerTableOption("paginationMode","local"),this.registerTableOption("paginationSize",!1),this.registerTableOption("paginationInitialPage",1),this.registerTableOption("paginationCounter",!1),this.registerTableOption("paginationCounterElement",!1),this.registerTableOption("paginationButtonCount",5),this.registerTableOption("paginationSizeSelector",!1),this.registerTableOption("paginationElement",!1),this.registerTableOption("paginationAddRow","page"),this.registerTableOption("progressiveLoad",!1),this.registerTableOption("progressiveLoadDelay",0),this.registerTableOption("progressiveLoadScrollMargin",0),this.registerTableFunction("setMaxPage",this.setMaxPage.bind(this)),this.registerTableFunction("setPage",this.setPage.bind(this)),this.registerTableFunction("setPageToRow",this.userSetPageToRow.bind(this)),this.registerTableFunction("setPageSize",this.userSetPageSize.bind(this)),this.registerTableFunction("getPageSize",this.getPageSize.bind(this)),this.registerTableFunction("previousPage",this.previousPage.bind(this)),this.registerTableFunction("nextPage",this.nextPage.bind(this)),this.registerTableFunction("getPage",this.getPage.bind(this)),this.registerTableFunction("getPageMax",this.getPageMax.bind(this)),this.registerComponentFunction("row","pageTo",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("footer-redraw",this.footerRedraw.bind(this)),this.table.options.paginationAddRow=="page"&&this.subscribe("row-adding-position",this.rowAddingPosition.bind(this)),this.table.options.paginationMode==="remote"&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePageCounter(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),this.table.options.progressiveLoad==="scroll"&&this.subscribe("scroll-vertical",this.scrollVertical.bind(this)))}rowAddingPosition(e,r){var E=this.table.rowManager,z=E.getDisplayRows(),k;return r?z.length?k=z[0]:E.activeRows.length&&(k=E.activeRows[E.activeRows.length-1],r=!1):z.length&&(k=z[z.length-1],r=!(z.length{}))}restOnRenderBefore(e,r){return r||this.mode==="local"&&this.reset(),e}rowsUpdated(){this.refreshData(!0,"all")}createElements(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))}generatePageSizeSelectList(){var e=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))e=this.table.options.paginationSizeSelector,this.pageSizes=e,this.pageSizes.indexOf(this.size)==-1&&e.unshift(this.size);else if(this.pageSizes.indexOf(this.size)==-1){e=[];for(let r=1;r<5;r++)e.push(this.size*r);this.pageSizes=e}else e=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);e.forEach(r=>{var E=document.createElement("option");E.value=r,r===!0?this.langBind("pagination|all",function(z){E.innerHTML=z}):E.innerHTML=r,this.pageSizeSelect.appendChild(E)}),this.pageSizeSelect.value=this.size}}initializePageCounter(){var e=this.table.options.paginationCounter,r=null;e&&(typeof e=="function"?r=e:r=rg.pageCounters[e],r?(this.pageCounter=r,this.pageCounterElement=document.createElement("span"),this.pageCounterElement.classList.add("tabulator-page-counter")):console.warn("Pagination Error - No such page counter found: ",e))}initializePaginator(e){var r,E;e||(this.langBind("pagination|first",z=>{this.firstBut.innerHTML=z}),this.langBind("pagination|first_title",z=>{this.firstBut.setAttribute("aria-label",z),this.firstBut.setAttribute("title",z)}),this.langBind("pagination|prev",z=>{this.prevBut.innerHTML=z}),this.langBind("pagination|prev_title",z=>{this.prevBut.setAttribute("aria-label",z),this.prevBut.setAttribute("title",z)}),this.langBind("pagination|next",z=>{this.nextBut.innerHTML=z}),this.langBind("pagination|next_title",z=>{this.nextBut.setAttribute("aria-label",z),this.nextBut.setAttribute("title",z)}),this.langBind("pagination|last",z=>{this.lastBut.innerHTML=z}),this.langBind("pagination|last_title",z=>{this.lastBut.setAttribute("aria-label",z),this.lastBut.setAttribute("title",z)}),this.firstBut.addEventListener("click",()=>{this.setPage(1)}),this.prevBut.addEventListener("click",()=>{this.previousPage()}),this.nextBut.addEventListener("click",()=>{this.nextPage()}),this.lastBut.addEventListener("click",()=>{this.setPage(this.max)}),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(r=document.createElement("label"),this.langBind("pagination|page_size",z=>{this.pageSizeSelect.setAttribute("aria-label",z),this.pageSizeSelect.setAttribute("title",z),r.innerHTML=z}),this.element.appendChild(r),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener("change",z=>{this.setPageSize(this.pageSizeSelect.value=="true"?!0:this.pageSizeSelect.value),this.setPage(1)})),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||(this.table.options.paginationCounter&&(this.table.options.paginationCounterElement?this.table.options.paginationCounterElement instanceof HTMLElement?this.table.options.paginationCounterElement.appendChild(this.pageCounterElement):typeof this.table.options.paginationCounterElement=="string"&&(E=document.querySelector(this.table.options.paginationCounterElement),E?E.appendChild(this.pageCounterElement):console.warn("Pagination Error - Unable to find element matching paginationCounterElement selector:",this.table.options.paginationCounterElement)):this.footerAppend(this.pageCounterElement)),this.footerAppend(this.element)),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount),this.mode=this.table.options.paginationMode}initializeProgressive(e){this.initializePaginator(!0),this.mode="progressive_"+e,this.progressiveLoad=!0}trackChanges(){this.dispatch("page-changed")}setMaxRows(e){e?this.max=this.size===!0?1:Math.ceil(e/this.size):this.max=1,this.page>this.max&&(this.page=this.max)}reset(e){this.initialLoad||(this.mode=="local"||e)&&(this.page=1,this.trackChanges())}setMaxPage(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(e){switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return e=parseInt(e),e>0&&e<=this.max||this.mode!=="local"?(this.page=e,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Requested page is out of range of 1 - "+this.max+":",e),Promise.reject())}setPageToRow(e){var r=this.displayRows(-1),E=r.indexOf(e);if(E>-1){var z=this.size===!0?1:Math.ceil((E+1)/this.size);return this.setPage(z)}else return console.warn("Pagination Error - Requested row is not visible"),Promise.reject()}setPageSize(e){e!==!0&&(e=parseInt(e)),e>0&&(this.size=e,this.dispatchExternal("pageSizeChanged",e)),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageCounter(e,r,E){var z;if(this.pageCounter)switch(this.mode==="remote"&&(r=this.size,E=(this.page-1)*this.size+1,e=this.remoteRowCountEstimate),z=this.pageCounter.call(this,r,E,this.page,e,this.max),typeof z){case"object":if(z instanceof Node){for(;this.pageCounterElement.firstChild;)this.pageCounterElement.removeChild(this.pageCounterElement.firstChild);this.pageCounterElement.appendChild(z)}else this.pageCounterElement.innerHTML="",z!=null&&console.warn("Page Counter Error - Page Counter has returned a type of object, the only valid page counter object return is an instance of Node, the page counter returned:",z);break;case"undefined":this.pageCounterElement.innerHTML="";break;default:this.pageCounterElement.innerHTML=z}}_setPageButtons(){let e=Math.floor((this.count-1)/2),r=Math.ceil((this.count-1)/2),E=this.max-this.page+e+10&&k<=this.max&&this.pagesElement.appendChild(this._generatePageButton(k));this.footerRedraw()}_generatePageButton(e){var r=document.createElement("button");return r.classList.add("tabulator-page"),e==this.page&&r.classList.add("active"),r.setAttribute("type","button"),r.setAttribute("role","button"),this.langBind("pagination|page_title",E=>{r.setAttribute("aria-label",E+" "+e),r.setAttribute("title",E+" "+e)}),r.setAttribute("data-page",e),r.textContent=e,r.addEventListener("click",E=>{this.setPage(e)}),r}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Previous page would be less than page 1:",0),Promise.reject())}nextPage(){return this.paged.type==="row");if(this.mode=="local"){E=[],this.setMaxRows(e.length),this.size===!0?(z=0,k=e.length):(z=this.size*(this.page-1),k=z+parseInt(this.size)),this._setPageButtons();for(let d=z;d{this.dataChanging=!1});case"progressive_load":case"progressive_scroll":return this.reloadData(null,!0);default:return console.warn("Pagination Error - no such pagination mode:",this.mode),Promise.reject()}}_parseRemoteData(e){var r;if(typeof e.last_page>"u"&&console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").last_page||"last_page")+"' property"),e.data)if(this.max=parseInt(e.last_page)||1,this.remoteRowCountEstimate=typeof e.last_row<"u"?e.last_row:e.last_page*this.size-(this.page==e.last_page?this.size-e.data.length:0),this.progressiveLoad){switch(this.mode){case"progressive_load":this.page==1?this.table.rowManager.setData(e.data,!1,this.page==1):this.table.rowManager.addRows(e.data),this.page{this.nextPage()},this.table.options.progressiveLoadDelay);break;case"progressive_scroll":e=this.page===1?e.data:this.table.rowManager.getData().concat(e.data),this.table.rowManager.setData(e,this.page!==1,this.page==1),r=this.table.options.progressiveLoadScrollMargin||this.table.rowManager.element.clientHeight*2,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+r&&this.page{this.nextPage()});break}return!1}else this.dispatchExternal("pageLoaded",this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").data||"data")+"' property");return e.data}footerRedraw(){var e=this.table.footerManager.containerElement;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))}}rg.moduleName="page";rg.pageCounters=vP;var yP={local:function(n,e){var r=localStorage.getItem(n+"-"+e);return r?JSON.parse(r):!1},cookie:function(n,e){var r=document.cookie,E=n+"-"+e,z=r.indexOf(E+"="),k,m;return z>-1&&(r=r.slice(z),k=r.indexOf(";"),k>-1&&(r=r.slice(0,k)),m=r.replace(E+"=","")),m?JSON.parse(m):!1}},bP={local:function(n,e,r){localStorage.setItem(n+"-"+e,JSON.stringify(r))},cookie:function(n,e,r){var E=new Date;E.setDate(E.getDate()+1e4),document.cookie=n+"-"+e+"="+JSON.stringify(r)+"; expires="+E.toUTCString()}};class Ul extends Wi{constructor(e){super(e),this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption("persistence",!1),this.registerTableOption("persistenceID",""),this.registerTableOption("persistenceMode",!0),this.registerTableOption("persistenceReaderFunc",!1),this.registerTableOption("persistenceWriterFunc",!1)}localStorageTest(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}initialize(){if(this.table.options.persistence){var e=this.table.options.persistenceMode,r=this.table.options.persistenceID,E;this.mode=e!==!0?e:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?typeof this.table.options.persistenceReaderFunc=="function"?this.readFunc=this.table.options.persistenceReaderFunc:Ul.readers[this.table.options.persistenceReaderFunc]?this.readFunc=Ul.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):Ul.readers[this.mode]?this.readFunc=Ul.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?typeof this.table.options.persistenceWriterFunc=="function"?this.writeFunc=this.table.options.persistenceWriterFunc:Ul.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=Ul.writers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):Ul.writers[this.mode]?this.writeFunc=Ul.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(r||this.table.element.getAttribute("id")||""),this.config={sort:this.table.options.persistence===!0||this.table.options.persistence.sort,filter:this.table.options.persistence===!0||this.table.options.persistence.filter,headerFilter:this.table.options.persistence===!0||this.table.options.persistence.headerFilter,group:this.table.options.persistence===!0||this.table.options.persistence.group,page:this.table.options.persistence===!0||this.table.options.persistence.page,columns:this.table.options.persistence===!0?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(E=this.retrieveData("page"),E&&(typeof E.paginationSize<"u"&&(this.config.page===!0||this.config.page.size)&&(this.table.options.paginationSize=E.paginationSize),typeof E.paginationInitialPage<"u"&&(this.config.page===!0||this.config.page.page)&&(this.table.options.paginationInitialPage=E.paginationInitialPage))),this.config.group&&(E=this.retrieveData("group"),E&&(typeof E.groupBy<"u"&&(this.config.group===!0||this.config.group.groupBy)&&(this.table.options.groupBy=E.groupBy),typeof E.groupStartOpen<"u"&&(this.config.group===!0||this.config.group.groupStartOpen)&&(this.table.options.groupStartOpen=E.groupStartOpen),typeof E.groupHeader<"u"&&(this.config.group===!0||this.config.group.groupHeader)&&(this.table.options.groupHeader=E.groupHeader))),this.config.columns&&(this.table.options.columns=this.load("columns",this.table.options.columns),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-show",this.save.bind(this,"columns")),this.subscribe("column-hide",this.save.bind(this,"columns")),this.subscribe("column-moved",this.save.bind(this,"columns"))),this.subscribe("table-built",this.tableBuilt.bind(this),0),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("filter-changed",this.eventSave.bind(this,"filter")),this.subscribe("filter-changed",this.eventSave.bind(this,"headerFilter")),this.subscribe("sort-changed",this.eventSave.bind(this,"sort")),this.subscribe("group-changed",this.eventSave.bind(this,"group")),this.subscribe("page-changed",this.eventSave.bind(this,"page")),this.subscribe("column-resized",this.eventSave.bind(this,"columns")),this.subscribe("column-width",this.eventSave.bind(this,"columns")),this.subscribe("layout-refreshed",this.eventSave.bind(this,"columns"))}this.registerTableFunction("getColumnLayout",this.getColumnLayout.bind(this)),this.registerTableFunction("setColumnLayout",this.setColumnLayout.bind(this))}eventSave(e){this.config[e]&&this.save(e)}tableBuilt(){var e,r,E;this.config.sort&&(e=this.load("sort"),e&&(this.table.options.initialSort=e)),this.config.filter&&(r=this.load("filter"),r&&(this.table.options.initialFilter=r)),this.config.headerFilter&&(E=this.load("headerFilter"),E&&(this.table.options.initialHeaderFilter=E))}tableRedraw(e){e&&this.config.columns&&this.save("columns")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(e){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,e,!0)),!0}initializeColumn(e){var r,E;this.config.columns&&(this.defWatcherBlock=!0,r=e.getDefinition(),E=this.config.columns===!0?Object.keys(r):this.config.columns,E.forEach(z=>{var k=Object.getOwnPropertyDescriptor(r,z),m=r[z];k&&Object.defineProperty(r,z,{set:t=>{m=t,this.defWatcherBlock||this.save("columns"),k.set&&k.set(t)},get:()=>(k.get&&k.get(),m)})}),this.defWatcherBlock=!1)}load(e,r){var E=this.retrieveData(e);return r&&(E=E?this.mergeDefinition(r,E):r),E}retrieveData(e){return this.readFunc?this.readFunc(this.id,e):!1}mergeDefinition(e,r,E){var z=[];return r=r||[],r.forEach((k,m)=>{var t=this._findColumn(e,k),d;t&&(E?d=Object.keys(k):this.config.columns===!0||this.config.columns==null?(d=Object.keys(t),d.push("width")):d=this.config.columns,d.forEach(y=>{y!=="columns"&&typeof k[y]<"u"&&(t[y]=k[y])}),t.columns&&(t.columns=this.mergeDefinition(t.columns,k.columns)),z.push(t))}),e.forEach((k,m)=>{var t=this._findColumn(r,k);t||(z.length>m?z.splice(m,0,k):z.push(k))}),z}_findColumn(e,r){var E=r.columns?"group":r.field?"field":"object";return e.find(function(z){switch(E){case"group":return z.title===r.title&&z.columns.length===r.columns.length;case"field":return z.field===r.field;case"object":return z===r}})}save(e){var r={};switch(e){case"columns":r=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":r=this.table.modules.filter.getFilters();break;case"headerFilter":r=this.table.modules.filter.getHeaderFilters();break;case"sort":r=this.validateSorters(this.table.modules.sort.getSort());break;case"group":r=this.getGroupConfig();break;case"page":r=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,r)}validateSorters(e){return e.forEach(function(r){r.column=r.field,delete r.field}),e}getGroupConfig(){var e={};return this.config.group&&((this.config.group===!0||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(this.config.group===!0||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(this.config.group===!0||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e}getPageConfig(){var e={};return this.config.page&&((this.config.page===!0||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(this.config.page===!0||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e}parseColumns(e){var r=[],E=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(z=>{var k={},m=z.getDefinition(),t;z.isGroup?(k.title=m.title,k.columns=this.parseColumns(z.getColumns())):(k.field=z.getField(),this.config.columns===!0||this.config.columns==null?(t=Object.keys(m),t.push("width"),t.push("visible")):t=this.config.columns,t.forEach(d=>{switch(d){case"width":k.width=z.getWidth();break;case"visible":k.visible=z.visible;break;default:typeof m[d]!="function"&&E.indexOf(d)===-1&&(k[d]=m[d])}})),r.push(k)}),r}}Ul.moduleName="persistence";Ul.moduleInitOrder=-10;Ul.readers=yP;Ul.writers=bP;class UM extends Wi{constructor(e){super(e),this.columnSubscribers={},this.registerTableOption("rowContextPopup",!1),this.registerTableOption("rowClickPopup",!1),this.registerTableOption("rowDblClickPopup",!1),this.registerTableOption("groupContextPopup",!1),this.registerTableOption("groupClickPopup",!1),this.registerTableOption("groupDblClickPopup",!1),this.registerColumnOption("headerContextPopup"),this.registerColumnOption("headerClickPopup"),this.registerColumnOption("headerDblClickPopup"),this.registerColumnOption("headerPopup"),this.registerColumnOption("headerPopupIcon"),this.registerColumnOption("contextPopup"),this.registerColumnOption("clickPopup"),this.registerColumnOption("dblClickPopup"),this.registerComponentFunction("cell","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("column","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("row","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("group","popup",this._componentPopupCall.bind(this))}initialize(){this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}_componentPopupCall(e,r,E){this.loadPopupEvent(r,null,e,E)}initializeRowWatchers(){this.table.options.rowContextPopup&&(this.subscribe("row-contextmenu",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup)),this.table.on("rowTapHold",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup))),this.table.options.rowClickPopup&&this.subscribe("row-click",this.loadPopupEvent.bind(this,this.table.options.rowClickPopup)),this.table.options.rowDblClickPopup&&this.subscribe("row-dblclick",this.loadPopupEvent.bind(this,this.table.options.rowDblClickPopup))}initializeGroupWatchers(){this.table.options.groupContextPopup&&(this.subscribe("group-contextmenu",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup)),this.table.on("groupTapHold",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup))),this.table.options.groupClickPopup&&this.subscribe("group-click",this.loadPopupEvent.bind(this,this.table.options.groupClickPopup)),this.table.options.groupDblClickPopup&&this.subscribe("group-dblclick",this.loadPopupEvent.bind(this,this.table.options.groupDblClickPopup))}initializeColumn(e){var r=e.definition;r.headerContextPopup&&!this.columnSubscribers.headerContextPopup&&(this.columnSubscribers.headerContextPopup=this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextPopup),this.table.on("headerTapHold",this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"))),r.headerClickPopup&&!this.columnSubscribers.headerClickPopup&&(this.columnSubscribers.headerClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerClickPopup"),this.subscribe("column-click",this.columnSubscribers.headerClickPopup)),r.headerDblClickPopup&&!this.columnSubscribers.headerDblClickPopup&&(this.columnSubscribers.headerDblClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerDblClickPopup"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickPopup)),r.headerPopup&&this.initializeColumnHeaderPopup(e),r.contextPopup&&!this.columnSubscribers.contextPopup&&(this.columnSubscribers.contextPopup=this.loadPopupTableCellEvent.bind(this,"contextPopup"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextPopup),this.table.on("cellTapHold",this.loadPopupTableCellEvent.bind(this,"contextPopup"))),r.clickPopup&&!this.columnSubscribers.clickPopup&&(this.columnSubscribers.clickPopup=this.loadPopupTableCellEvent.bind(this,"clickPopup"),this.subscribe("cell-click",this.columnSubscribers.clickPopup)),r.dblClickPopup&&!this.columnSubscribers.dblClickPopup&&(this.columnSubscribers.dblClickPopup=this.loadPopupTableCellEvent.bind(this,"dblClickPopup"),this.subscribe("cell-click",this.columnSubscribers.dblClickPopup))}initializeColumnHeaderPopup(e){var r=e.definition.headerPopupIcon,E;E=document.createElement("span"),E.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?E.appendChild(r):E.innerHTML=r):E.innerHTML="⋮",E.addEventListener("click",z=>{z.stopPropagation(),z.preventDefault(),this.loadPopupEvent(e.definition.headerPopup,z,e)}),e.titleElement.insertBefore(E,e.titleElement.firstChild)}loadPopupTableCellEvent(e,r,E){E._cell&&(E=E._cell),E.column.definition[e]&&this.loadPopupEvent(E.column.definition[e],r,E)}loadPopupTableColumnEvent(e,r,E){E._column&&(E=E._column),E.definition[e]&&this.loadPopupEvent(E.definition[e],r,E)}loadPopupEvent(e,r,E,z){var k;function m(t){k=t}E._group?E=E._group:E._row&&(E=E._row),e=typeof e=="function"?e.call(this.table,r,E.getComponent(),m):e,this.loadPopup(r,E,e,k,z)}loadPopup(e,r,E,z,k){var m=!(e instanceof MouseEvent),t,d;E instanceof HTMLElement?t=E:(t=document.createElement("div"),t.innerHTML=E),t.classList.add("tabulator-popup"),t.addEventListener("click",y=>{y.stopPropagation()}),m||e.preventDefault(),d=this.popup(t),typeof z=="function"&&d.renderCallback(z),e?d.show(e):d.show(r.getElement(),k||"center"),d.hideOnBlur(()=>{this.dispatchExternal("popupClosed",r.getComponent())}),this.dispatchExternal("popupOpened",r.getComponent())}}UM.moduleName="popup";class HM extends Wi{constructor(e){super(e),this.element=!1,this.manualBlock=!1,this.beforeprintEventHandler=null,this.afterprintEventHandler=null,this.registerTableOption("printAsHtml",!1),this.registerTableOption("printFormatter",!1),this.registerTableOption("printHeader",!1),this.registerTableOption("printFooter",!1),this.registerTableOption("printStyled",!0),this.registerTableOption("printRowRange","visible"),this.registerTableOption("printConfig",{}),this.registerColumnOption("print"),this.registerColumnOption("titlePrint")}initialize(){this.table.options.printAsHtml&&(this.beforeprintEventHandler=this.replaceTable.bind(this),this.afterprintEventHandler=this.cleanup.bind(this),window.addEventListener("beforeprint",this.beforeprintEventHandler),window.addEventListener("afterprint",this.afterprintEventHandler),this.subscribe("table-destroy",this.destroy.bind(this))),this.registerTableFunction("print",this.printFullscreen.bind(this))}destroy(){this.table.options.printAsHtml&&(window.removeEventListener("beforeprint",this.beforeprintEventHandler),window.removeEventListener("afterprint",this.afterprintEventHandler))}replaceTable(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.generateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")}printFullscreen(e,r,E){var z=window.scrollX,k=window.scrollY,m=document.createElement("div"),t=document.createElement("div"),d=this.table.modules.export.generateTable(typeof E<"u"?E:this.table.options.printConfig,typeof r<"u"?r:this.table.options.printStyled,e||this.table.options.printRowRange,"print"),y,i;this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(m.classList.add("tabulator-print-header"),y=typeof this.table.options.printHeader=="function"?this.table.options.printHeader.call(this.table):this.table.options.printHeader,typeof y=="string"?m.innerHTML=y:m.appendChild(y),this.element.appendChild(m)),this.element.appendChild(d),this.table.options.printFooter&&(t.classList.add("tabulator-print-footer"),i=typeof this.table.options.printFooter=="function"?this.table.options.printFooter.call(this.table):this.table.options.printFooter,typeof i=="string"?t.innerHTML=i:t.appendChild(i),this.element.appendChild(t)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,d),window.print(),this.cleanup(),window.scrollTo(z,k),this.manualBlock=!1}}HM.moduleName="print";class GM extends Wi{constructor(e){super(e),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption("reactiveData",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe("cell-value-save-before",this.block.bind(this,"cellsave")),this.subscribe("cell-value-save-after",this.unblock.bind(this,"cellsave")),this.subscribe("row-data-save-before",this.block.bind(this,"rowsave")),this.subscribe("row-data-save-after",this.unblock.bind(this,"rowsave")),this.subscribe("row-data-init-after",this.watchRow.bind(this)),this.subscribe("data-processing",this.watchData.bind(this)),this.subscribe("table-destroy",this.unwatchData.bind(this)))}watchData(e){var r=this,E;this.currentVersion++,E=this.currentVersion,this.unwatchData(),this.data=e,this.origFuncs.push=e.push,Object.defineProperty(this.data,"push",{enumerable:!1,configurable:!0,value:function(){var z=Array.from(arguments),k;return!r.blocked&&E===r.currentVersion&&(r.block("data-push"),z.forEach(m=>{r.table.rowManager.addRowActual(m,!1)}),k=r.origFuncs.push.apply(e,arguments),r.unblock("data-push")),k}}),this.origFuncs.unshift=e.unshift,Object.defineProperty(this.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var z=Array.from(arguments),k;return!r.blocked&&E===r.currentVersion&&(r.block("data-unshift"),z.forEach(m=>{r.table.rowManager.addRowActual(m,!0)}),k=r.origFuncs.unshift.apply(e,arguments),r.unblock("data-unshift")),k}}),this.origFuncs.shift=e.shift,Object.defineProperty(this.data,"shift",{enumerable:!1,configurable:!0,value:function(){var z,k;return!r.blocked&&E===r.currentVersion&&(r.block("data-shift"),r.data.length&&(z=r.table.rowManager.getRowFromDataObject(r.data[0]),z&&z.deleteActual()),k=r.origFuncs.shift.call(e),r.unblock("data-shift")),k}}),this.origFuncs.pop=e.pop,Object.defineProperty(this.data,"pop",{enumerable:!1,configurable:!0,value:function(){var z,k;return!r.blocked&&E===r.currentVersion&&(r.block("data-pop"),r.data.length&&(z=r.table.rowManager.getRowFromDataObject(r.data[r.data.length-1]),z&&z.deleteActual()),k=r.origFuncs.pop.call(e),r.unblock("data-pop")),k}}),this.origFuncs.splice=e.splice,Object.defineProperty(this.data,"splice",{enumerable:!1,configurable:!0,value:function(){var z=Array.from(arguments),k=z[0]<0?e.length+z[0]:z[0],m=z[1],t=z[2]?z.slice(2):!1,d,y;if(!r.blocked&&E===r.currentVersion){if(r.block("data-splice"),t&&(d=e[k]?r.table.rowManager.getRowFromDataObject(e[k]):!1,d?t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,d,!0)}):(t=t.slice().reverse(),t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,!1,!0)}))),m!==0){var i=e.slice(k,typeof z[1]>"u"?z[1]:k+m);i.forEach((M,g)=>{var h=r.table.rowManager.getRowFromDataObject(M);h&&h.deleteActual(g!==i.length-1)})}(t||m!==0)&&r.table.rowManager.reRenderInPosition(),y=r.origFuncs.splice.apply(e,arguments),r.unblock("data-splice")}return y}})}unwatchData(){if(this.data!==!1)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(e){var r=e.getData();for(var E in r)this.watchKey(e,r,E);this.table.options.dataTree&&this.watchTreeChildren(e)}watchTreeChildren(e){var r=this,E=e.getData()[this.table.options.dataTreeChildField],z={};E&&(z.push=E.push,Object.defineProperty(E,"push",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-push");var k=z.push.apply(E,arguments);this.rebuildTree(e),r.unblock("tree-push")}return k}}),z.unshift=E.unshift,Object.defineProperty(E,"unshift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-unshift");var k=z.unshift.apply(E,arguments);this.rebuildTree(e),r.unblock("tree-unshift")}return k}}),z.shift=E.shift,Object.defineProperty(E,"shift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-shift");var k=z.shift.call(E);this.rebuildTree(e),r.unblock("tree-shift")}return k}}),z.pop=E.pop,Object.defineProperty(E,"pop",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-pop");var k=z.pop.call(E);this.rebuildTree(e),r.unblock("tree-pop")}return k}}),z.splice=E.splice,Object.defineProperty(E,"splice",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-splice");var k=z.splice.apply(E,arguments);this.rebuildTree(e),r.unblock("tree-splice")}return k}}))}rebuildTree(e){this.table.modules.dataTree.initializeRow(e),this.table.modules.dataTree.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)}watchKey(e,r,E){var z=this,k=Object.getOwnPropertyDescriptor(r,E),m=r[E],t=this.currentVersion;Object.defineProperty(r,E,{set:d=>{if(m=d,!z.blocked&&t===z.currentVersion){z.block("key");var y={};y[E]=d,e.updateData(y),z.unblock("key")}k.set&&k.set(d)},get:()=>(k.get&&k.get(),m)})}unwatchRow(e){var r=e.getData();for(var E in r)Object.defineProperty(r,E,{value:r[E]})}block(e){this.blocked||(this.blocked=e)}unblock(e){this.blocked===e&&(this.blocked=!1)}}GM.moduleName="reactiveData";class WM extends Wi{constructor(e){super(e),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.latestX=!1,this.handle=null,this.initialNextColumn=null,this.nextColumn=null,this.initialized=!1,this.registerColumnOption("resizable",!0),this.registerTableOption("resizableColumnFit",!1)}initialize(){this.subscribe("column-rendered",this.layoutColumnHeader.bind(this))}initializeEventWatchers(){this.initialized||(this.subscribe("cell-rendered",this.layoutCellHandles.bind(this)),this.subscribe("cell-delete",this.deInitializeComponent.bind(this)),this.subscribe("cell-height",this.resizeHandle.bind(this)),this.subscribe("column-moved",this.columnLayoutUpdated.bind(this)),this.subscribe("column-hide",this.deInitializeColumn.bind(this)),this.subscribe("column-show",this.columnLayoutUpdated.bind(this)),this.subscribe("column-width",this.columnWidthUpdated.bind(this)),this.subscribe("column-delete",this.deInitializeComponent.bind(this)),this.subscribe("column-height",this.resizeHandle.bind(this)),this.initialized=!0)}layoutCellHandles(e){e.row.type==="row"&&(this.deInitializeComponent(e),this.initializeColumn("cell",e,e.column,e.element))}layoutColumnHeader(e){e.definition.resizable&&(this.initializeEventWatchers(),this.deInitializeComponent(e),this.initializeColumn("header",e,e,e.element))}columnLayoutUpdated(e){var r=e.prevColumn();this.reinitializeColumn(e),r&&this.reinitializeColumn(r)}columnWidthUpdated(e){e.modules.frozen&&(this.table.modules.frozenColumns.leftColumns.includes(e)?this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.reinitializeColumn(r)}):this.table.modules.frozenColumns.rightColumns.includes(e)&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.reinitializeColumn(r)}))}frozenColumnOffset(e){var r=!1;return e.modules.frozen&&(r=e.modules.frozen.marginValue,e.modules.frozen.position==="left"?r+=e.getWidth()-3:r&&(r-=3)),r!==!1?r+"px":!1}reinitializeColumn(e){var r=this.frozenColumnOffset(e);e.cells.forEach(E=>{E.modules.resize&&E.modules.resize.handleEl&&(r&&(E.modules.resize.handleEl.style[e.modules.frozen.position]=r,E.modules.resize.handleEl.style["z-index"]=11),E.element.after(E.modules.resize.handleEl))}),e.modules.resize&&e.modules.resize.handleEl&&(r&&(e.modules.resize.handleEl.style[e.modules.frozen.position]=r),e.element.after(e.modules.resize.handleEl))}initializeColumn(e,r,E,z){var k=this,m=!1,t=E.definition.resizable,d={},y=E.getLastColumn();if(e==="header"&&(m=E.definition.formatter=="textarea"||E.definition.variableHeight,d={variableHeight:m}),(t===!0||t==e)&&this._checkResizability(y)){var i=document.createElement("span");i.className="tabulator-col-resize-handle",i.addEventListener("click",function(g){g.stopPropagation()});var M=function(g){k.startColumn=E,k.initialNextColumn=k.nextColumn=y.nextColumn(),k._mouseDown(g,y,i)};i.addEventListener("mousedown",M),i.addEventListener("touchstart",M,{passive:!0}),i.addEventListener("dblclick",g=>{var h=y.getWidth();g.stopPropagation(),y.reinitializeWidth(!0),h!==y.getWidth()&&(k.dispatch("column-resized",y),k.table.externalEvents.dispatch("columnResized",y.getComponent()))}),E.modules.frozen&&(i.style.position="sticky",i.style[E.modules.frozen.position]=this.frozenColumnOffset(E)),d.handleEl=i,z.parentNode&&E.visible&&z.after(i)}r.modules.resize=d}deInitializeColumn(e){this.deInitializeComponent(e),e.cells.forEach(r=>{this.deInitializeComponent(r)})}deInitializeComponent(e){var r;e.modules.resize&&(r=e.modules.resize.handleEl,r&&r.parentElement&&r.parentElement.removeChild(r))}resizeHandle(e,r){e.modules.resize&&e.modules.resize.handleEl&&(e.modules.resize.handleEl.style.height=r)}_checkResizability(e){return e.definition.resizable}_mouseDown(e,r,E){var z=this;z.table.element.classList.add("tabulator-block-select");function k(t){var d=typeof t.screenX>"u"?t.touches[0].screenX:t.screenX,y=d-z.startX,i=d-z.latestX,M,g;if(z.latestX=d,z.table.rtl&&(y=-y,i=-i),M=r.width==r.minWidth||r.width==r.maxWidth,r.setWidth(z.startWidth+y),g=r.width==r.minWidth||r.width==r.maxWidth,i<0&&(z.nextColumn=z.initialNextColumn),z.table.options.resizableColumnFit&&z.nextColumn&&!(M&&g)){let h=z.nextColumn.getWidth();i>0&&h<=z.nextColumn.minWidth&&(z.nextColumn=z.nextColumn.nextColumn()),z.nextColumn&&z.nextColumn.setWidth(z.nextColumn.getWidth()-i)}z.table.columnManager.rerenderColumns(!0),!z.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights()}function m(t){z.startColumn.modules.edit&&(z.startColumn.modules.edit.blocked=!1),z.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights(),document.body.removeEventListener("mouseup",m),document.body.removeEventListener("mousemove",k),E.removeEventListener("touchmove",k),E.removeEventListener("touchend",m),z.table.element.classList.remove("tabulator-block-select"),z.startWidth!==r.getWidth()&&(z.table.columnManager.verticalAlignHeaders(),z.dispatch("column-resized",r),z.table.externalEvents.dispatch("columnResized",r.getComponent()))}e.stopPropagation(),z.startColumn.modules.edit&&(z.startColumn.modules.edit.blocked=!0),z.startX=typeof e.screenX>"u"?e.touches[0].screenX:e.screenX,z.latestX=z.startX,z.startWidth=r.getWidth(),document.body.addEventListener("mousemove",k),document.body.addEventListener("mouseup",m),E.addEventListener("touchmove",k,{passive:!0}),E.addEventListener("touchend",m)}}WM.moduleName="resizeColumns";class qM extends Wi{constructor(e){super(e),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption("resizableRows",!1)}initialize(){this.table.options.resizableRows&&this.subscribe("row-layout-after",this.initializeRow.bind(this))}initializeRow(e){var r=this,E=e.getElement(),z=document.createElement("div");z.className="tabulator-row-resize-handle";var k=document.createElement("div");k.className="tabulator-row-resize-handle prev",z.addEventListener("click",function(d){d.stopPropagation()});var m=function(d){r.startRow=e,r._mouseDown(d,e,z)};z.addEventListener("mousedown",m),z.addEventListener("touchstart",m,{passive:!0}),k.addEventListener("click",function(d){d.stopPropagation()});var t=function(d){var y=r.table.rowManager.prevDisplayRow(e);y&&(r.startRow=y,r._mouseDown(d,y,k))};k.addEventListener("mousedown",t),k.addEventListener("touchstart",t,{passive:!0}),E.appendChild(z),E.appendChild(k)}_mouseDown(e,r,E){var z=this;z.table.element.classList.add("tabulator-block-select");function k(t){r.setHeight(z.startHeight+((typeof t.screenY>"u"?t.touches[0].screenY:t.screenY)-z.startY))}function m(t){document.body.removeEventListener("mouseup",k),document.body.removeEventListener("mousemove",k),E.removeEventListener("touchmove",k),E.removeEventListener("touchend",m),z.table.element.classList.remove("tabulator-block-select"),z.dispatchExternal("rowResized",r.getComponent())}e.stopPropagation(),z.startY=typeof e.screenY>"u"?e.touches[0].screenY:e.screenY,z.startHeight=r.getHeight(),document.body.addEventListener("mousemove",k),document.body.addEventListener("mouseup",m),E.addEventListener("touchmove",k,{passive:!0}),E.addEventListener("touchend",m)}}qM.moduleName="resizeRows";class YM extends Wi{constructor(e){super(e),this.binding=!1,this.visibilityObserver=!1,this.resizeObserver=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.visible=!1,this.initialized=!1,this.initialRedraw=!1,this.registerTableOption("autoResize",!0)}initialize(){if(this.table.options.autoResize){var e=this.table,r;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),typeof IntersectionObserver<"u"&&typeof ResizeObserver<"u"&&e.rowManager.getRenderMode()==="virtual"?(this.initializeVisibilityObserver(),this.autoResize=!0,this.resizeObserver=new ResizeObserver(E=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var z=Math.floor(E[0].contentRect.height),k=Math.floor(E[0].contentRect.width);(this.tableHeight!=z||this.tableWidth!=k)&&(this.tableHeight=z,this.tableWidth=k,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.redrawTable())}}),this.resizeObserver.observe(e.element),r=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(r.getPropertyValue("max-height")||r.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(E=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var z=Math.floor(E[0].contentRect.height),k=Math.floor(E[0].contentRect.width);(this.containerHeight!=z||this.containerWidth!=k)&&(this.containerHeight=z,this.containerWidth=k,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),this.redrawTable()}}),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe("table-resize",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell))&&(e.columnManager.rerenderColumns(!0),e.redraw())},window.addEventListener("resize",this.binding)),this.subscribe("table-destroy",this.clearBindings.bind(this))}}initializeVisibilityObserver(){this.visibilityObserver=new IntersectionObserver(e=>{this.visible=e[0].isIntersecting,this.initialized?this.visible&&(this.redrawTable(this.initialRedraw),this.initialRedraw=!1):(this.initialized=!0,this.initialRedraw=!this.visible)}),this.visibilityObserver.observe(this.table.element)}redrawTable(e){this.initialized&&this.visible&&(this.table.columnManager.rerenderColumns(!0),this.table.redraw(e))}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener("resize",this.binding),this.resizeObserver&&this.resizeObserver.unobserve(this.table.element),this.visibilityObserver&&this.visibilityObserver.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}YM.moduleName="resizeTable";class $M extends Wi{constructor(e){super(e),this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption("responsiveLayout",!1),this.registerTableOption("responsiveLayoutCollapseStartOpen",!0),this.registerTableOption("responsiveLayoutCollapseUseFormatters",!0),this.registerTableOption("responsiveLayoutCollapseFormatter",!1),this.registerColumnOption("responsive")}initialize(){this.table.options.responsiveLayout&&(this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-show",this.updateColumnVisibility.bind(this)),this.subscribe("column-hide",this.updateColumnVisibility.bind(this)),this.subscribe("columns-loaded",this.initializeResponsivity.bind(this)),this.subscribe("column-moved",this.initializeResponsivity.bind(this)),this.subscribe("column-add",this.initializeResponsivity.bind(this)),this.subscribe("column-delete",this.initializeResponsivity.bind(this)),this.subscribe("table-redrawing",this.tableRedraw.bind(this)),this.table.options.responsiveLayout==="collapse"&&(this.subscribe("row-data-changed",this.generateCollapsedRowContent.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout",this.layoutRow.bind(this))))}tableRedraw(e){["fitColumns","fitDataStretch"].indexOf(this.layoutMode())===-1&&(e||this.update())}initializeResponsivity(){var e=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((r,E)=>{r.modules.responsive&&r.modules.responsive.order&&r.modules.responsive.visible&&(r.modules.responsive.index=E,e.push(r),!r.visible&&this.mode==="collapse"&&this.hiddenColumns.push(r))}),e=e.reverse(),e=e.sort((r,E)=>{var z=E.modules.responsive.order-r.modules.responsive.order;return z||E.modules.responsive.index-r.modules.responsive.index}),this.columns=e,this.mode==="collapse"&&this.generateCollapsedContent();for(let r of this.table.columnManager.columnsByIndex)if(r.definition.formatter=="responsiveCollapse"){this.collapseHandleColumn=r;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(e){var r=e.getDefinition();e.modules.responsive={order:typeof r.responsive>"u"?1:r.responsive,visible:r.visible!==!1}}initializeRow(e){var r;e.type!=="calc"&&(r=document.createElement("div"),r.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:r,open:this.collapseStartOpen},this.collapseStartOpen||(r.style.display="none"))}layoutRow(e){var r=e.getElement();e.modules.responsiveLayout&&(r.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))}updateColumnVisibility(e,r){!r&&e.modules.responsive&&(e.modules.responsive.visible=e.visible,this.initializeResponsivity())}hideColumn(e){var r=this.hiddenColumns.length;e.hide(!1,!0),this.mode==="collapse"&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!r&&this.collapseHandleColumn.show())}showColumn(e){var r;e.show(!1,!0),e.setWidth(e.getWidth()),this.mode==="collapse"&&(r=this.hiddenColumns.indexOf(e),r>-1&&this.hiddenColumns.splice(r,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var e=!0;e;){let r=this.table.modules.layout.getMode()=="fitColumns"?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),E=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-r;if(E<0){let z=this.columns[this.index];z?(this.hideColumn(z),this.index++):e=!1}else{let z=this.columns[this.index-1];z&&E>0&&E>=z.getWidth()?(this.showColumn(z),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var e=this.table.rowManager.getDisplayRows();e.forEach(r=>{this.generateCollapsedRowContent(r)})}generateCollapsedRowContent(e){var r,E;if(e.modules.responsiveLayout){for(r=e.modules.responsiveLayout.element;r.firstChild;)r.removeChild(r.firstChild);E=this.collapseFormatter(this.generateCollapsedRowData(e)),E&&r.appendChild(E)}}generateCollapsedRowData(e){var r=e.getData(),E=[],z;return this.hiddenColumns.forEach(k=>{var m=k.getFieldValue(r);if(k.definition.title&&k.field)if(k.modules.format&&this.table.options.responsiveLayoutCollapseUseFormatters){let d=function(y){y()};var t=d;z={value:!1,data:{},getValue:function(){return m},getData:function(){return r},getType:function(){return"cell"},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return k.getComponent()},getTable:()=>this.table},E.push({field:k.field,title:k.definition.title,value:k.modules.format.formatter.call(this.table.modules.format,z,k.modules.format.params,d)})}else E.push({field:k.field,title:k.definition.title,value:m})}),E}formatCollapsedData(e){var r=document.createElement("table");return e.forEach(function(E){var z=document.createElement("tr"),k=document.createElement("td"),m=document.createElement("td"),t,d=document.createElement("strong");k.appendChild(d),this.langBind("columns|"+E.field,function(y){d.innerHTML=y||E.title}),E.value instanceof Node?(t=document.createElement("div"),t.appendChild(E.value),m.appendChild(t)):m.innerHTML=E.value,z.appendChild(k),z.appendChild(m),r.appendChild(z)},this),Object.keys(e).length?r:""}}$M.moduleName="responsiveLayout";class ZM extends Wi{constructor(e){super(e),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption("selectableRows","highlight"),this.registerTableOption("selectableRowsRangeMode","drag"),this.registerTableOption("selectableRowsRollingSelection",!0),this.registerTableOption("selectableRowsPersistence",!0),this.registerTableOption("selectableRowsCheck",function(r,E){return!0}),this.registerTableFunction("selectRow",this.selectRows.bind(this)),this.registerTableFunction("deselectRow",this.deselectRows.bind(this)),this.registerTableFunction("toggleSelectRow",this.toggleRow.bind(this)),this.registerTableFunction("getSelectedRows",this.getSelectedRows.bind(this)),this.registerTableFunction("getSelectedData",this.getSelectedData.bind(this)),this.registerComponentFunction("row","select",this.selectRows.bind(this)),this.registerComponentFunction("row","deselect",this.deselectRows.bind(this)),this.registerComponentFunction("row","toggleSelect",this.toggleRow.bind(this)),this.registerComponentFunction("row","isSelected",this.isRowSelected.bind(this))}initialize(){this.deprecatedOptionsCheck(),this.table.options.selectableRows==="highlight"&&this.table.options.selectableRange&&(this.table.options.selectableRows=!1),this.table.options.selectableRows!==!1&&(this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-deleting",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clearSelectionData.bind(this)),this.subscribe("rows-retrieve",this.rowRetrieve.bind(this)),this.table.options.selectableRows&&!this.table.options.selectableRowsPersistence&&this.subscribe("data-refreshing",this.deselectRows.bind(this)))}deprecatedOptionsCheck(){this.deprecationCheck("selectable","selectableRows",!0),this.deprecationCheck("selectableRollingSelection","selectableRowsRollingSelection",!0),this.deprecationCheck("selectableRangeMode","selectableRowsRangeMode",!0),this.deprecationCheck("selectablePersistence","selectableRowsPersistence",!0),this.deprecationCheck("selectableCheck","selectableRowsCheck",!0)}rowRetrieve(e,r){return e==="selected"?this.selectedRows:r}rowDeleted(e){this._deselectRow(e,!0)}clearSelectionData(e){var r=this.selectedRows.length;this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],r&&e!==!0&&this._rowSelectionChanged()}initializeRow(e){var r=this,E=r.checkRowSelectability(e),z=e.getElement(),k=function(){setTimeout(function(){r.selecting=!1},50),document.body.removeEventListener("mouseup",k)};e.modules.select={selected:!1},z.classList.toggle("tabulator-selectable",E),z.classList.toggle("tabulator-unselectable",!E),r.checkRowSelectability(e)&&r.table.options.selectableRows&&r.table.options.selectableRows!="highlight"&&(r.table.options.selectableRowsRangeMode==="click"?z.addEventListener("click",this.handleComplexRowClick.bind(this,e)):(z.addEventListener("click",function(m){(!r.table.modExists("edit")||!r.table.modules.edit.getCurrentCell())&&r.table._clearSelection(),r.selecting||r.toggleRow(e)}),z.addEventListener("mousedown",function(m){if(m.shiftKey)return r.table._clearSelection(),r.selecting=!0,r.selectPrev=[],document.body.addEventListener("mouseup",k),document.body.addEventListener("keyup",k),r.toggleRow(e),!1}),z.addEventListener("mouseenter",function(m){r.selecting&&(r.table._clearSelection(),r.toggleRow(e),r.selectPrev[1]==e&&r.toggleRow(r.selectPrev[0]))}),z.addEventListener("mouseout",function(m){r.selecting&&(r.table._clearSelection(),r.selectPrev.unshift(e))})))}handleComplexRowClick(e,r){if(r.shiftKey){this.table._clearSelection(),this.lastClickedRow=this.lastClickedRow||e;var E=this.table.rowManager.getDisplayRowIndex(this.lastClickedRow),z=this.table.rowManager.getDisplayRowIndex(e),k=E<=z?E:z,m=E>=z?E:z,t=this.table.rowManager.getDisplayRows().slice(0),d=t.splice(k,m-k+1);r.ctrlKey||r.metaKey?(d.forEach(y=>{y!==this.lastClickedRow&&(this.table.options.selectableRows!==!0&&!this.isRowSelected(e)?this.selectedRows.lengththis.table.options.selectableRows&&(d=d.slice(0,this.table.options.selectableRows)),this.selectRows(d)),this.table._clearSelection()}else r.ctrlKey||r.metaKey?(this.toggleRow(e),this.lastClickedRow=e):(this.deselectRows(void 0,!0),this.selectRows(e),this.lastClickedRow=e)}checkRowSelectability(e){return e&&e.type==="row"?this.table.options.selectableRowsCheck.call(this.table,e.getComponent()):!1}toggleRow(e){this.checkRowSelectability(e)&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))}selectRows(e){var r=[],E,z;switch(typeof e){case"undefined":E=this.table.rowManager.rows;break;case"number":E=this.table.rowManager.findRow(e);break;case"string":E=this.table.rowManager.findRow(e),E||(E=this.table.rowManager.getRows(e));break;default:E=e;break}Array.isArray(E)?E.length&&(E.forEach(k=>{z=this._selectRow(k,!0,!0),z&&r.push(z)}),this._rowSelectionChanged(!1,r)):E&&this._selectRow(E,!1,!0)}_selectRow(e,r,E){if(!isNaN(this.table.options.selectableRows)&&this.table.options.selectableRows!==!0&&!E&&this.selectedRows.length>=this.table.options.selectableRows)if(this.table.options.selectableRowsRollingSelection)this._deselectRow(this.selectedRows[0]);else return!1;var z=this.table.rowManager.findRow(e);if(z){if(this.selectedRows.indexOf(z)==-1)return z.getElement().classList.add("tabulator-selected"),z.modules.select||(z.modules.select={}),z.modules.select.selected=!0,z.modules.select.checkboxEl&&(z.modules.select.checkboxEl.checked=!0),this.selectedRows.push(z),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(z,!0),this.dispatchExternal("rowSelected",z.getComponent()),this._rowSelectionChanged(r,z),z}else r||console.warn("Selection Error - No such row found, ignoring selection:"+e)}isRowSelected(e){return this.selectedRows.indexOf(e)!==-1}deselectRows(e,r){var E=[],z,k;switch(typeof e){case"undefined":z=Object.assign([],this.selectedRows);break;case"number":z=this.table.rowManager.findRow(e);break;case"string":z=this.table.rowManager.findRow(e),z||(z=this.table.rowManager.getRows(e));break;default:z=e;break}Array.isArray(z)?z.length&&(z.forEach(m=>{k=this._deselectRow(m,!0,!0),k&&E.push(k)}),this._rowSelectionChanged(r,[],E)):z&&this._deselectRow(z,r,!0)}_deselectRow(e,r){var E=this,z=E.table.rowManager.findRow(e),k,m;if(z){if(k=E.selectedRows.findIndex(function(t){return t==z}),k>-1)return m=z.getElement(),m&&m.classList.remove("tabulator-selected"),z.modules.select||(z.modules.select={}),z.modules.select.selected=!1,z.modules.select.checkboxEl&&(z.modules.select.checkboxEl.checked=!1),E.selectedRows.splice(k,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(z,!1),this.dispatchExternal("rowDeselected",z.getComponent()),E._rowSelectionChanged(r,void 0,z),z}else r||console.warn("Deselection Error - No such row found, ignoring selection:"+e)}getSelectedData(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getData())}),e}getSelectedRows(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getComponent())}),e}_rowSelectionChanged(e,r=[],E=[]){this.headerCheckboxElement&&(this.selectedRows.length===0?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||(Array.isArray(r)||(r=[r]),r=r.map(z=>z.getComponent()),Array.isArray(E)||(E=[E]),E=E.map(z=>z.getComponent()),this.dispatchExternal("rowSelectionChanged",this.getSelectedData(),this.getSelectedRows(),r,E))}registerRowSelectCheckbox(e,r){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=r}registerHeaderSelectCheckbox(e){this.headerCheckboxElement=e}childRowSelection(e,r){var E=this.table.modules.dataTree.getChildren(e,!0);if(r)for(let z of E)this._selectRow(z,!0);else for(let z of E)this._deselectRow(z,!0)}}ZM.moduleName="selectRow";function xP(n,e,r,E,z,k,m){var t=m.alignEmptyValues,d=m.decimalSeparator,y=m.thousandSeparator,i=0;if(n=String(n),e=String(e),y&&(n=n.split(y).join(""),e=e.split(y).join("")),d&&(n=n.split(d).join("."),e=e.split(d).join(".")),n=parseFloat(n),e=parseFloat(e),isNaN(n))i=isNaN(e)?0:-1;else if(isNaN(e))i=1;else return n-e;return(t==="top"&&k==="desc"||t==="bottom"&&k==="asc")&&(i*=-1),i}function _P(n,e,r,E,z,k,m){var t=m.alignEmptyValues,d=0,y;if(!n)d=e?-1:0;else if(!e)d=1;else{switch(typeof m.locale){case"boolean":m.locale&&(y=this.langLocale());break;case"string":y=m.locale;break}return String(n).toLowerCase().localeCompare(String(e).toLowerCase(),y)}return(t==="top"&&k==="desc"||t==="bottom"&&k==="asc")&&(d*=-1),d}function W2(n,e,r,E,z,k,m){var t=window.DateTime||luxon.DateTime,d=m.format||"dd/MM/yyyy HH:mm:ss",y=m.alignEmptyValues,i=0;if(typeof t<"u"){if(t.isDateTime(n)||(d==="iso"?n=t.fromISO(String(n)):n=t.fromFormat(String(n),d)),t.isDateTime(e)||(d==="iso"?e=t.fromISO(String(e)):e=t.fromFormat(String(e),d)),!n.isValid)i=e.isValid?-1:0;else if(!e.isValid)i=1;else return n-e;return(y==="top"&&k==="desc"||y==="bottom"&&k==="asc")&&(i*=-1),i}else console.error("Sort Error - 'datetime' sorter is dependant on luxon.js")}function wP(n,e,r,E,z,k,m){return m.format||(m.format="dd/MM/yyyy"),W2.call(this,n,e,r,E,z,k,m)}function TP(n,e,r,E,z,k,m){return m.format||(m.format="HH:mm"),W2.call(this,n,e,r,E,z,k,m)}function kP(n,e,r,E,z,k,m){var t=n===!0||n==="true"||n==="True"||n===1?1:0,d=e===!0||e==="true"||e==="True"||e===1?1:0;return t-d}function MP(n,e,r,E,z,k,m){var t=m.type||"length",d=m.alignEmptyValues,y=0;function i(M){var g;switch(t){case"length":g=M.length;break;case"sum":g=M.reduce(function(h,l){return h+l});break;case"max":g=Math.max.apply(null,M);break;case"min":g=Math.min.apply(null,M);break;case"avg":g=M.reduce(function(h,l){return h+l})/M.length;break}return g}if(!Array.isArray(n))y=Array.isArray(e)?-1:0;else if(!Array.isArray(e))y=1;else return i(e)-i(n);return(d==="top"&&k==="desc"||d==="bottom"&&k==="asc")&&(y*=-1),y}function AP(n,e,r,E,z,k,m){var t=typeof n>"u"?0:1,d=typeof e>"u"?0:1;return t-d}function SP(n,e,r,E,z,k,m){var t,d,y,i,M=0,g,h=/(\d+)|(\D+)/g,l=/\d/,a=m.alignEmptyValues,u=0;if(!n&&n!==0)u=!e&&e!==0?0:-1;else if(!e&&e!==0)u=1;else{if(isFinite(n)&&isFinite(e))return n-e;if(t=String(n).toLowerCase(),d=String(e).toLowerCase(),t===d)return 0;if(!(l.test(t)&&l.test(d)))return t>d?1:-1;for(t=t.match(h),d=d.match(h),g=t.length>d.length?d.length:t.length;Mi?1:-1;return t.length>d.length}return(a==="top"&&k==="desc"||a==="bottom"&&k==="asc")&&(u*=-1),u}var CP={number:xP,string:_P,date:wP,time:TP,datetime:W2,boolean:kP,array:MP,exists:AP,alphanum:SP};class jd extends Wi{constructor(e){super(e),this.sortList=[],this.changed=!1,this.registerTableOption("sortMode","local"),this.registerTableOption("initialSort",!1),this.registerTableOption("columnHeaderSortMulti",!0),this.registerTableOption("sortOrderReverse",!1),this.registerTableOption("headerSortElement","
"),this.registerTableOption("headerSortClickElement","header"),this.registerColumnOption("sorter"),this.registerColumnOption("sorterParams"),this.registerColumnOption("headerSort",!0),this.registerColumnOption("headerSortStartingDir"),this.registerColumnOption("headerSortTristate")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction("setSort",this.userSetSort.bind(this)),this.registerTableFunction("getSorters",this.getSort.bind(this)),this.registerTableFunction("clearSort",this.clearSort.bind(this)),this.table.options.sortMode==="remote"&&this.subscribe("data-params",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(e,r,E,z){var k=this.getSort();return k.forEach(m=>{delete m.column}),z.sort=k,z}userSetSort(e,r){this.setSort(e,r),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(e){var r=!1,E,z;switch(typeof e.definition.sorter){case"string":jd.sorters[e.definition.sorter]?r=jd.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":r=e.definition.sorter;break}if(e.modules.sort={sorter:r,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},e.definition.headerSort!==!1){switch(E=e.getElement(),E.classList.add("tabulator-sortable"),z=document.createElement("div"),z.classList.add("tabulator-col-sorter"),this.table.options.headerSortClickElement){case"icon":z.classList.add("tabulator-col-sorter-element");break;case"header":E.classList.add("tabulator-col-sorter-element");break;default:E.classList.add("tabulator-col-sorter-element");break}switch(this.table.options.headerSortElement){case"function":break;case"object":z.appendChild(this.table.options.headerSortElement);break;default:z.innerHTML=this.table.options.headerSortElement}e.titleHolderElement.appendChild(z),e.modules.sort.element=z,this.setColumnHeaderSortIcon(e,"none"),this.table.options.headerSortClickElement==="icon"&&z.addEventListener("mousedown",k=>{k.stopPropagation()}),(this.table.options.headerSortClickElement==="icon"?z:E).addEventListener("click",k=>{var m="",t=[],d=!1;if(e.modules.sort){if(e.modules.sort.tristate)e.modules.sort.dir=="none"?m=e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?m=e.modules.sort.dir=="asc"?"desc":"asc":m="none";else switch(e.modules.sort.dir){case"asc":m="desc";break;case"desc":m="asc";break;default:m=e.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(k.shiftKey||k.ctrlKey)?(t=this.getSort(),d=t.findIndex(y=>y.field===e.getField()),d>-1?(t[d].dir=m,d=t.splice(d,1)[0],m!="none"&&t.push(d)):m!="none"&&t.push({column:e,dir:m}),this.setSort(t)):m=="none"?this.clear():this.setSort(e,m),this.refreshSort()}})}}refreshSort(){this.table.options.sortMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0)}hasChanged(){var e=this.changed;return this.changed=!1,e}getSort(){var e=this,r=[];return e.sortList.forEach(function(E){E.column&&r.push({column:E.column.getComponent(),field:E.column.getField(),dir:E.dir})}),r}setSort(e,r){var E=this,z=[];Array.isArray(e)||(e=[{column:e,dir:r}]),e.forEach(function(k){var m;m=E.table.columnManager.findColumn(k.column),m?(k.column=m,z.push(k),E.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",k.column)}),E.sortList=z,this.dispatch("sort-changed")}clear(){this.setSort([])}findSorter(e){var r=this.table.rowManager.activeRows[0],E="string",z,k;if(r&&(r=r.getData(),z=e.getField(),z))switch(k=e.getFieldValue(r),typeof k){case"undefined":E="string";break;case"boolean":E="boolean";break;default:!isNaN(k)&&k!==""?E="number":k.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(E="alphanum");break}return jd.sorters[E]}sort(e){var r=this,E=this.table.options.sortOrderReverse?r.sortList.slice().reverse():r.sortList,z=[],k=[];return this.subscribedExternal("dataSorting")&&this.dispatchExternal("dataSorting",r.getSort()),r.clearColumnHeaders(),this.table.options.sortMode!=="remote"?(E.forEach(function(m,t){var d;m.column&&(d=m.column.modules.sort,d&&(d.sorter||(d.sorter=r.findSorter(m.column)),m.params=typeof d.params=="function"?d.params(m.column.getComponent(),m.dir):d.params,z.push(m)),r.setColumnHeader(m.column,m.dir))}),z.length&&r._sortItems(e,z)):E.forEach(function(m,t){r.setColumnHeader(m.column,m.dir)}),this.subscribedExternal("dataSorted")&&(e.forEach(m=>{k.push(m.getComponent())}),this.dispatchExternal("dataSorted",r.getSort(),k)),e}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach(e=>{e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"),this.setColumnHeaderSortIcon(e,"none"))})}setColumnHeader(e,r){e.modules.sort.dir=r,e.getElement().setAttribute("aria-sort",r==="asc"?"ascending":"descending"),this.setColumnHeaderSortIcon(e,r)}setColumnHeaderSortIcon(e,r){var E=e.modules.sort.element,z;if(e.definition.headerSort&&typeof this.table.options.headerSortElement=="function"){for(;E.firstChild;)E.removeChild(E.firstChild);z=this.table.options.headerSortElement.call(this.table,e.getComponent(),r),typeof z=="object"?E.appendChild(z):E.innerHTML=z}}_sortItems(e,r){var E=r.length-1;e.sort((z,k)=>{for(var m,t=E;t>=0;t--){let d=r[t];if(m=this._sortRow(z,k,d.column,d.dir,d.params),m!==0)break}return m})}_sortRow(e,r,E,z,k){var m,t,d=z=="asc"?e:r,y=z=="asc"?r:e;return e=E.getFieldValue(d.getData()),r=E.getFieldValue(y.getData()),e=typeof e<"u"?e:"",r=typeof r<"u"?r:"",m=d.getComponent(),t=y.getComponent(),E.modules.sort.sorter.call(this,e,r,m,t,E.getComponent(),z,k)}}jd.moduleName="sort";jd.sorters=CP;class EP{constructor(e){return this._range=e,new Proxy(this,{get:function(r,E,z){return typeof r[E]<"u"?r[E]:r._range.table.componentFunctionBinder.handle("range",r._range,E)}})}getElement(){return this._range.element}getData(){return this._range.getData()}getCells(){return this._range.getCells(!0)}getStructuredCells(){return this._range.getStructuredCells()}getRows(){return this._range.getRows().map(e=>e.getComponent())}getColumns(){return this._range.getColumns().map(e=>e.getComponent())}getBounds(){return this._range.getBounds()}getTopEdge(){return this._range.top}getBottomEdge(){return this._range.bottom}getLeftEdge(){return this._range.left}getRightEdge(){return this._range.right}setBounds(e,r){this._range.destroyedGuard("setBounds")&&this._range.setBounds(e&&e._cell,r&&r._cell)}setStartBound(e){this._range.destroyedGuard("setStartBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}setEndBound(e){this._range.destroyedGuard("setEndBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}clearValues(){this._range.destroyedGuard("clearValues")&&this._range.clearValues()}remove(){this._range.destroyedGuard("remove")&&this._range.destroy(!0)}}class LP extends Ml{constructor(e,r,E,z){super(e),this.rangeManager=r,this.element=null,this.initialized=!1,this.initializing={start:!1,end:!1},this.destroyed=!1,this.top=0,this.bottom=0,this.left=0,this.right=0,this.table=e,this.start={row:0,col:0},this.end={row:0,col:0},this.rangeManager.rowHeader&&(this.left=1,this.right=1,this.start.col=1,this.end.col=1),this.initElement(),setTimeout(()=>{this.initBounds(E,z)})}initElement(){this.element=document.createElement("div"),this.element.classList.add("tabulator-range")}initBounds(e,r){this._updateMinMax(),e&&this.setBounds(e,r||e)}setStart(e,r){(this.start.row!==e||this.start.col!==r)&&(this.start.row=e,this.start.col=r,this.initializing.start=!0,this._updateMinMax())}setEnd(e,r){(this.end.row!==e||this.end.col!==r)&&(this.end.row=e,this.end.col=r,this.initializing.end=!0,this._updateMinMax())}setBounds(e,r,E){e&&this.setStartBound(e),this.setEndBound(r||e),this.rangeManager.layoutElement(E)}setStartBound(e){var r,E;e.type==="column"?this.rangeManager.columnSelection&&this.setStart(0,e.getPosition()-1):(r=e.row.position-1,E=e.column.getPosition()-1,e.column===this.rangeManager.rowHeader?this.setStart(r,1):this.setStart(r,E))}setEndBound(e){var r=this._getTableRows().length,E,z,k;e.type==="column"?this.rangeManager.columnSelection&&(this.rangeManager.selecting==="column"?this.setEnd(r-1,e.getPosition()-1):this.rangeManager.selecting==="cell"&&this.setEnd(0,e.getPosition()-1)):(E=e.row.position-1,z=e.column.getPosition()-1,k=e.column===this.rangeManager.rowHeader,this.rangeManager.selecting==="row"?this.setEnd(E,this._getTableColumns().length-1):this.rangeManager.selecting!=="row"&&k?this.setEnd(E,0):this.rangeManager.selecting==="column"?this.setEnd(r-1,z):this.setEnd(E,z))}_updateMinMax(){this.top=Math.min(this.start.row,this.end.row),this.bottom=Math.max(this.start.row,this.end.row),this.left=Math.min(this.start.col,this.end.col),this.right=Math.max(this.start.col,this.end.col),this.initialized?this.dispatchExternal("rangeChanged",this.getComponent()):this.initializing.start&&this.initializing.end&&(this.initialized=!0,this.dispatchExternal("rangeAdded",this.getComponent()))}_getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}_getTableRows(){return this.table.rowManager.getDisplayRows()}layout(){var e=this.table.rowManager.renderer.vDomTop,r=this.table.rowManager.renderer.vDomBottom,E=this.table.columnManager.renderer.leftCol,z=this.table.columnManager.renderer.rightCol,k,m,t,d,y,i;e==null&&(e=0),r==null&&(r=1/0),E==null&&(E=0),z==null&&(z=1/0),this.overlaps(E,e,z,r)&&(k=Math.max(this.top,e),m=Math.min(this.bottom,r),t=Math.max(this.left,E),d=Math.min(this.right,z),y=this.rangeManager.getCell(k,t),i=this.rangeManager.getCell(m,d),this.element.classList.add("tabulator-range-active"),this.element.style.left=y.row.getElement().offsetLeft+y.getElement().offsetLeft+"px",this.element.style.top=y.row.getElement().offsetTop+"px",this.element.style.width=i.getElement().offsetLeft+i.getElement().offsetWidth-y.getElement().offsetLeft+"px",this.element.style.height=i.row.getElement().offsetTop+i.row.getElement().offsetHeight-y.row.getElement().offsetTop+"px")}atTopLeft(e){return e.row.position-1===this.top&&e.column.getPosition()-1===this.left}atBottomRight(e){return e.row.position-1===this.bottom&&e.column.getPosition()-1===this.right}occupies(e){return this.occupiesRow(e.row)&&this.occupiesColumn(e.column)}occupiesRow(e){return this.top<=e.position-1&&e.position-1<=this.bottom}occupiesColumn(e){return this.left<=e.getPosition()-1&&e.getPosition()-1<=this.right}overlaps(e,r,E,z){return!(this.left>E||e>this.right||this.top>z||r>this.bottom)}getData(){var e=[],r=this.getRows(),E=this.getColumns();return r.forEach(z=>{var k=z.getData(),m={};E.forEach(t=>{m[t.field]=k[t.field]}),e.push(m)}),e}getCells(e,r){var E=[],z=this.getRows(),k=this.getColumns();return e?E=z.map(m=>{var t=[];return m.getCells().forEach(d=>{k.includes(d.column)&&t.push(r?d.getComponent():d)}),t}):z.forEach(m=>{m.getCells().forEach(t=>{k.includes(t.column)&&E.push(r?t.getComponent():t)})}),E}getStructuredCells(){return this.getCells(!0,!0)}getRows(){return this._getTableRows().slice(this.top,this.bottom+1)}getColumns(){return this._getTableColumns().slice(this.left,this.right+1)}clearValues(){var e=this.getCells(),r=this.table.options.selectableRangeClearCellsValue;this.table.blockRedraw(),e.forEach(E=>{E.setValue(r)}),this.table.restoreRedraw()}getBounds(e){var r=this.getCells(!1,e),E={start:null,end:null};return r.length?(E.start=r[0],E.end=r[r.length-1]):console.warn("No bounds defined on range"),E}getComponent(){return this.component||(this.component=new EP(this)),this.component}destroy(e){this.destroyed=!0,this.element.remove(),e&&this.rangeManager.rangeRemoved(this),this.initialized&&this.dispatchExternal("rangeRemoved",this.getComponent())}destroyedGuard(e){return this.destroyed&&console.warn("You cannot call the "+e+" function on a destroyed range"),!this.destroyed}}class XM extends Wi{constructor(e){super(e),this.selecting="cell",this.mousedown=!1,this.ranges=[],this.overlay=null,this.rowHeader=null,this.layoutChangeTimeout=null,this.columnSelection=!1,this.rowSelection=!1,this.maxRanges=0,this.activeRange=!1,this.blockKeydown=!1,this.keyDownEvent=this._handleKeyDown.bind(this),this.mouseUpEvent=this._handleMouseUp.bind(this),this.registerTableOption("selectableRange",!1),this.registerTableOption("selectableRangeColumns",!1),this.registerTableOption("selectableRangeRows",!1),this.registerTableOption("selectableRangeClearCells",!1),this.registerTableOption("selectableRangeClearCellsValue",void 0),this.registerTableFunction("getRangesData",this.getRangesData.bind(this)),this.registerTableFunction("getRanges",this.getRanges.bind(this)),this.registerTableFunction("addRange",this.addRangeFromComponent.bind(this)),this.registerComponentFunction("cell","getRanges",this.cellGetRanges.bind(this)),this.registerComponentFunction("row","getRanges",this.rowGetRanges.bind(this)),this.registerComponentFunction("column","getRanges",this.colGetRanges.bind(this))}initialize(){this.options("selectableRange")&&(this.options("selectableRows")?console.warn("SelectRange functionality cannot be used in conjunction with row selection"):(this.maxRanges=this.options("selectableRange"),this.initializeTable(),this.initializeWatchers()))}initializeTable(){this.overlay=document.createElement("div"),this.overlay.classList.add("tabulator-range-overlay"),this.rangeContainer=document.createElement("div"),this.rangeContainer.classList.add("tabulator-range-container"),this.activeRangeCellElement=document.createElement("div"),this.activeRangeCellElement.classList.add("tabulator-range-cell-active"),this.overlay.appendChild(this.rangeContainer),this.overlay.appendChild(this.activeRangeCellElement),this.table.rowManager.element.addEventListener("keydown",this.keyDownEvent),this.resetRanges(),this.table.rowManager.element.appendChild(this.overlay),this.table.columnManager.element.setAttribute("tabindex",0),this.table.element.classList.add("tabulator-ranges")}initializeWatchers(){this.columnSelection=this.options("selectableRangeColumns"),this.rowSelection=this.options("selectableRangeRows"),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-mousedown",this.handleColumnMouseDown.bind(this)),this.subscribe("column-mousemove",this.handleColumnMouseMove.bind(this)),this.subscribe("column-resized",this.handleColumnResized.bind(this)),this.subscribe("column-width",this.layoutChange.bind(this)),this.subscribe("column-height",this.layoutChange.bind(this)),this.subscribe("column-resized",this.layoutChange.bind(this)),this.subscribe("columns-loaded",this.updateHeaderColumn.bind(this)),this.subscribe("cell-height",this.layoutChange.bind(this)),this.subscribe("cell-rendered",this.renderCell.bind(this)),this.subscribe("cell-mousedown",this.handleCellMouseDown.bind(this)),this.subscribe("cell-mousemove",this.handleCellMouseMove.bind(this)),this.subscribe("cell-click",this.handleCellClick.bind(this)),this.subscribe("cell-editing",this.handleEditingCell.bind(this)),this.subscribe("page-changed",this.redraw.bind(this)),this.subscribe("scroll-vertical",this.layoutChange.bind(this)),this.subscribe("scroll-horizontal",this.layoutChange.bind(this)),this.subscribe("data-destroy",this.tableDestroyed.bind(this)),this.subscribe("data-processed",this.resetRanges.bind(this)),this.subscribe("table-layout",this.layoutElement.bind(this)),this.subscribe("table-redraw",this.redraw.bind(this)),this.subscribe("table-destroy",this.tableDestroyed.bind(this)),this.subscribe("edit-editor-clear",this.finishEditingCell.bind(this)),this.subscribe("edit-blur",this.restoreFocus.bind(this)),this.subscribe("keybinding-nav-prev",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-next",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-left",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-right",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-up",this.keyNavigate.bind(this,"up")),this.subscribe("keybinding-nav-down",this.keyNavigate.bind(this,"down")),this.subscribe("keybinding-nav-range",this.keyNavigateRange.bind(this))}initializeColumn(e){this.columnSelection&&e.definition.headerSort&&this.options("headerSortClickElement")!=="icon"&&console.warn("Using column headerSort with selectableRangeColumns option may result in unpredictable behavior. Consider using headerSortClickElement: 'icon'."),e.modules.edit}updateHeaderColumn(){this.rowSelection&&(this.rowHeader=this.table.columnManager.getVisibleColumnsByIndex()[0],this.rowHeader&&(this.rowHeader.definition.cssClass=this.rowHeader.definition.cssClass+" tabulator-range-row-header",this.rowHeader.definition.headerSort&&console.warn("Using column headerSort with selectableRangeRows option may result in unpredictable behavior"),this.rowHeader.definition.editor&&console.warn("Using column editor with selectableRangeRows option may result in unpredictable behavior")))}getRanges(){return this.ranges.map(e=>e.getComponent())}getRangesData(){return this.ranges.map(e=>e.getData())}addRangeFromComponent(e,r){return e=e?e._cell:null,r=r?r._cell:null,this.addRange(e,r)}cellGetRanges(e){var r=[];return e.column===this.rowHeader?r=this.ranges.filter(E=>E.occupiesRow(e.row)):r=this.ranges.filter(E=>E.occupies(e)),r.map(E=>E.getComponent())}rowGetRanges(e){var r=this.ranges.filter(E=>E.occupiesRow(e));return r.map(E=>E.getComponent())}colGetRanges(e){var r=this.ranges.filter(E=>E.occupiesColumn(e));return r.map(E=>E.getComponent())}_handleMouseUp(e){this.mousedown=!1,document.removeEventListener("mouseup",this.mouseUpEvent)}_handleKeyDown(e){if(!this.blockKeydown&&(!this.table.modules.edit||this.table.modules.edit&&!this.table.modules.edit.currentCell)){if(e.key==="Enter"){if(this.table.modules.edit&&this.table.modules.edit.currentCell)return;this.table.modules.edit.editCell(this.getActiveCell()),e.preventDefault()}(e.key==="Backspace"||e.key==="Delete")&&this.options("selectableRangeClearCells")&&this.activeRange&&this.activeRange.clearValues()}}initializeFocus(e){var r;try{document.selection?(r=document.body.createTextRange(),r.moveToElementText(e.getElement()),r.select()):window.getSelection&&(r=document.createRange(),r.selectNode(e.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(r))}catch{}}restoreFocus(e){return this.table.rowManager.element.focus(),!0}handleColumnResized(e){var r;this.selecting!=="column"&&this.selecting!=="all"||(r=this.ranges.some(E=>E.occupiesColumn(e)),r&&this.ranges.forEach(E=>{var z=E.getColumns(!0);z.forEach(k=>{k!==e&&k.setWidth(e.width)})}))}handleColumnMouseDown(e,r){e.button===2&&(this.selecting==="column"||this.selecting==="all")&&this.activeRange.occupiesColumn(r)||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleColumnMouseMove(e,r){r===this.rowHeader||!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}renderCell(e){var r=e.getElement(),E=this.ranges.findIndex(z=>z.occupies(e));r.classList.toggle("tabulator-range-selected",E!==-1),r.classList.toggle("tabulator-range-only-cell-selected",this.ranges.length===1&&this.ranges[0].atTopLeft(e)&&this.ranges[0].atBottomRight(e)),r.dataset.range=E}handleCellMouseDown(e,r){e.button===2&&(this.activeRange.occupies(r)||(this.selecting==="row"||this.selecting==="all")&&this.activeRange.occupiesRow(r.row))||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleCellMouseMove(e,r){!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}handleCellClick(e,r){this.initializeFocus(r)}handleEditingCell(e){this.activeRange&&this.activeRange.setBounds(e)}finishEditingCell(){this.blockKeydown=!0,this.table.rowManager.element.focus(),setTimeout(()=>{this.blockKeydown=!1},10)}keyNavigate(e,r){this.navigate(!1,!1,e)&&r.preventDefault()}keyNavigateRange(e,r,E,z){this.navigate(E,z,r)&&e.preventDefault()}navigate(e,r,E){var z=!1,k,m,t,d,y,i;if(this.table.modules.edit&&this.table.modules.edit.currentCell)return!1;if(this.ranges.length>1&&(this.ranges=this.ranges.filter(M=>M===this.activeRange?(M.setEnd(M.start.row,M.start.col),!0):(M.destroy(),!1))),k=this.activeRange,m=r?k.end:k.start,t=m.row,d=m.col,e)switch(E){case"left":d=this.findJumpCellLeft(k.start.row,m.col);break;case"right":d=this.findJumpCellRight(k.start.row,m.col);break;case"up":t=this.findJumpCellUp(m.row,k.start.col);break;case"down":t=this.findJumpCellDown(m.row,k.start.col);break}else{if(r&&(this.selecting==="row"&&(E==="left"||E==="right")||this.selecting==="column"&&(E==="up"||E==="down")))return;switch(E){case"left":d=Math.max(d-1,0);break;case"right":d=Math.min(d+1,this.getTableColumns().length-1);break;case"up":t=Math.max(t-1,0);break;case"down":t=Math.min(t+1,this.getTableRows().length-1);break}}if(z=d!==m.col||t!==m.row,r||k.setStart(t,d),k.setEnd(t,d),r||(this.selecting="cell"),z)return y=this.getRowByRangePos(k.end.row),i=this.getColumnByRangePos(k.end.col),(E==="left"||E==="right")&&i.getElement().parentNode===null?i.getComponent().scrollTo(void 0,!1):(E==="up"||E==="down")&&y.getElement().parentNode===null?y.getComponent().scrollTo(void 0,!1):this.autoScroll(k,y.getElement(),i.getElement()),this.layoutElement(),!0}rangeRemoved(e){this.ranges=this.ranges.filter(r=>r!==e),this.activeRange===e&&(this.ranges.length?this.activeRange=this.ranges[this.ranges.length-1]:this.addRange()),this.layoutElement()}findJumpCell(e,r,E,z){var k;r&&(e=e.reverse());for(let m of e){let t=m.getValue();if(E){if(k=m,t)break}else if(z){if(k=m,t)break}else if(t)k=m;else break}return k}findJumpCellLeft(e,r){var E=this.getRowByRangePos(e),z=E.cells.filter(i=>i.column.visible),k=!z[r].getValue(),m=z[r]?!z[r].getValue():!1,t=r,d=this.rowHeader?z.slice(1,r):z.slice(0,r),y=this.findJumpCell(d,!0,k,m);return y&&(t=y.column.getPosition()-1),t}findJumpCellRight(e,r){var E=this.getRowByRangePos(e),z=E.cells.filter(y=>y.column.visible),k=!z[r].getValue(),m=z[r+1]?!z[r+1].getValue():!1,t=r,d=this.findJumpCell(z.slice(r+1,z.length),!1,k,m);return d&&(t=d.column.getPosition()-1),t}findJumpCellUp(e,r){var E=this.getColumnByRangePos(r),z=E.cells.filter(y=>this.table.rowManager.activeRows.includes(y.row)),k=!z[e].getValue(),m=z[e-1]?!z[e-1].getValue():!1,t=e,d=this.findJumpCell(z.slice(0,t),!0,k,m);return d&&(t=d.row.position-1),t}findJumpCellDown(e,r){var E=this.getColumnByRangePos(r),z=E.cells.filter(y=>this.table.rowManager.activeRows.includes(y.row)),k=!z[e].getValue(),m=z[e+1]?!z[e+1].getValue():!1,t=e,d=this.findJumpCell(z.slice(t+1,z.length),!1,k,m);return d&&(t=d.row.position-1),t}newSelection(e,r){var E;if(r.type==="column"){if(!this.columnSelection)return;if(r===this.rowHeader){E=this.resetRanges(),this.selecting="all";var z,k=this.getCell(-1,-1);this.rowHeader?z=this.getCell(0,1):z=this.getCell(0,0),E.setBounds(z,k);return}else this.selecting="column"}else r.column===this.rowHeader?this.selecting="row":this.selecting="cell";e.shiftKey?this.activeRange.setBounds(!1,r):e.ctrlKey?this.addRange().setBounds(r):this.resetRanges().setBounds(r)}autoScroll(e,r,E){var z=this.table.rowManager.element,k,m,t,d,y;typeof r>"u"&&(r=this.getRowByRangePos(e.end.row).getElement()),typeof E>"u"&&(E=this.getColumnByRangePos(e.end.col).getElement()),this.rowHeader&&(k=this.rowHeader.getElement()),m={left:E.offsetLeft,right:E.offsetLeft+E.offsetWidth,top:r.offsetTop,bottom:r.offsetTop+r.offsetHeight},t={left:z.scrollLeft,right:Math.ceil(z.scrollLeft+z.clientWidth),top:z.scrollTop,bottom:z.scrollTop+z.offsetHeight-this.table.rowManager.scrollbarWidth},k&&(t.left+=k.offsetWidth),d=t.leftt.right&&(z.scrollLeft=m.right-z.clientWidth)),y||(m.topt.bottom&&(z.scrollTop=m.bottom-z.clientHeight))}layoutChange(){this.overlay.style.visibility="hidden",clearTimeout(this.layoutChangeTimeout),this.layoutChangeTimeout=setTimeout(this.layoutRanges.bind(this),200)}redraw(e){e&&(this.selecting="cell",this.resetRanges(),this.layoutElement())}layoutElement(e){var r;e?r=this.table.rowManager.getVisibleRows(!0):r=this.table.rowManager.getRows(),r.forEach(E=>{E.type==="row"&&(this.layoutRow(E),E.cells.forEach(z=>this.renderCell(z)))}),this.getTableColumns().forEach(E=>{this.layoutColumn(E)}),this.layoutRanges()}layoutRow(e){var r=e.getElement(),E=!1,z=this.ranges.some(k=>k.occupiesRow(e));this.selecting==="row"?E=z:this.selecting==="all"&&(E=!0),r.classList.toggle("tabulator-range-selected",E),r.classList.toggle("tabulator-range-highlight",z)}layoutColumn(e){var r=e.getElement(),E=!1,z=this.ranges.some(k=>k.occupiesColumn(e));this.selecting==="column"?E=z:this.selecting==="all"&&(E=!0),r.classList.toggle("tabulator-range-selected",E),r.classList.toggle("tabulator-range-highlight",z)}layoutRanges(){var e;this.table.initialized&&(e=this.getActiveCell(),e&&(this.activeRangeCellElement.style.left=e.row.getElement().offsetLeft+e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.top=e.row.getElement().offsetTop+"px",this.activeRangeCellElement.style.width=e.getElement().offsetLeft+e.getElement().offsetWidth-e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.height=e.row.getElement().offsetTop+e.row.getElement().offsetHeight-e.row.getElement().offsetTop+"px",this.ranges.forEach(r=>r.layout()),this.overlay.style.visibility="visible"))}getCell(e,r){var E;return r<0&&(r=this.getTableColumns().length+r,r<0)?null:(e<0&&(e=this.getTableRows().length+e),E=this.table.rowManager.getRowFromPosition(e+1),E?E.getCells(!1,!0).filter(z=>z.column.visible)[r]:null)}getActiveCell(){return this.getCell(this.activeRange.start.row,this.activeRange.start.col)}getRowByRangePos(e){return this.getTableRows()[e]}getColumnByRangePos(e){return this.getTableColumns()[e]}getTableRows(){return this.table.rowManager.getDisplayRows()}getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}addRange(e,r){var E;return this.maxRanges!==!0&&this.ranges.length>=this.maxRanges&&this.ranges.shift().destroy(),E=new LP(this.table,this,e,r),this.activeRange=E,this.ranges.push(E),this.rangeContainer.appendChild(E.element),E}resetRanges(){var e,r;return this.ranges.forEach(E=>E.destroy()),this.ranges=[],e=this.addRange(),this.table.rowManager.activeRows.length&&(r=this.table.rowManager.activeRows[0].cells[this.rowHeader?1:0],r&&(e.setBounds(r),this.initializeFocus(r))),e}tableDestroyed(){document.removeEventListener("mouseup",this.mouseUpEvent),this.table.rowManager.element.removeEventListener("keydown",this.keyDownEvent)}selectedRows(e){return e?this.activeRange.getRows().map(r=>r.getComponent()):this.activeRange.getRows()}selectedColumns(e){return e?this.activeRange.getColumns().map(r=>r.getComponent()):this.activeRange.getColumns()}}XM.moduleName="selectRange";class KM extends Wi{constructor(e){super(e),this.tooltipSubscriber=null,this.headerSubscriber=null,this.timeout=null,this.popupInstance=null,this.registerTableOption("tooltipGenerationMode",void 0),this.registerTableOption("tooltipDelay",300),this.registerColumnOption("tooltip"),this.registerColumnOption("headerTooltip")}initialize(){this.deprecatedOptionsCheck(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheckMsg("tooltipGenerationMode","This option is no longer needed as tooltips are always generated on hover now")}initializeColumn(e){e.definition.headerTooltip&&!this.headerSubscriber&&(this.headerSubscriber=!0,this.subscribe("column-mousemove",this.mousemoveCheck.bind(this,"headerTooltip")),this.subscribe("column-mouseout",this.mouseoutCheck.bind(this,"headerTooltip"))),e.definition.tooltip&&!this.tooltipSubscriber&&(this.tooltipSubscriber=!0,this.subscribe("cell-mousemove",this.mousemoveCheck.bind(this,"tooltip")),this.subscribe("cell-mouseout",this.mouseoutCheck.bind(this,"tooltip")))}mousemoveCheck(e,r,E){var z=e==="tooltip"?E.column.definition.tooltip:E.definition.headerTooltip;z&&(this.clearPopup(),this.timeout=setTimeout(this.loadTooltip.bind(this,r,E,z),this.table.options.tooltipDelay))}mouseoutCheck(e,r,E){this.popupInstance||this.clearPopup()}clearPopup(e,r,E){clearTimeout(this.timeout),this.timeout=null,this.popupInstance&&this.popupInstance.hide()}loadTooltip(e,r,E){var z,k,m;function t(d){k=d}typeof E=="function"&&(E=E(e,r.getComponent(),t)),E instanceof HTMLElement?z=E:(z=document.createElement("div"),E===!0&&(r instanceof eg?E=r.value:r.definition.field?this.langBind("columns|"+r.definition.field,d=>{z.innerHTML=E=d||r.definition.title}):E=r.definition.title),z.innerHTML=E),(E||E===0||E===!1)&&(z.classList.add("tabulator-tooltip"),z.addEventListener("mousemove",d=>d.preventDefault()),this.popupInstance=this.popup(z),typeof k=="function"&&this.popupInstance.renderCallback(k),m=this.popupInstance.containerEventCoords(e),this.popupInstance.show(m.x+15,m.y+15).hideOnBlur(()=>{this.dispatchExternal("TooltipClosed",r.getComponent()),this.popupInstance=null}),this.dispatchExternal("TooltipOpened",r.getComponent()))}}KM.moduleName="tooltip";var IP={integer:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&Math.floor(e)===e)},float:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&e%1!==0)},numeric:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:!isNaN(e)},string:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:isNaN(e)},alphanumeric:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var E=new RegExp(/^[a-z0-9]+$/i);return E.test(e)},max:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)<=r},min:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)>=r},starts:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().startsWith(String(r).toLowerCase())},ends:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().endsWith(String(r).toLowerCase())},minLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length>=r},maxLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length<=r},in:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(typeof r=="string"&&(r=r.split("|")),r.indexOf(e)>-1)},regex:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var E=new RegExp(r);return E.test(e)},unique:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var E=!0,z=n.getData(),k=n.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(m){var t=m.getData();t!==z&&e==k.getFieldValue(t)&&(E=!1)}),E},required:function(n,e,r){return e!==""&&e!==null&&typeof e<"u"}};class ig extends Wi{constructor(e){super(e),this.invalidCells=[],this.registerTableOption("validationMode","blocking"),this.registerColumnOption("validator"),this.registerTableFunction("getInvalidCells",this.getInvalidCells.bind(this)),this.registerTableFunction("clearCellValidation",this.userClearCellValidation.bind(this)),this.registerTableFunction("validate",this.userValidate.bind(this)),this.registerComponentFunction("cell","isValid",this.cellIsValid.bind(this)),this.registerComponentFunction("cell","clearValidation",this.clearValidation.bind(this)),this.registerComponentFunction("cell","validate",this.cellValidate.bind(this)),this.registerComponentFunction("column","validate",this.columnValidate.bind(this)),this.registerComponentFunction("row","validate",this.rowValidate.bind(this))}initialize(){this.subscribe("cell-delete",this.clearValidation.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("edit-success",this.editValidate.bind(this)),this.subscribe("edit-editor-clear",this.editorClear.bind(this)),this.subscribe("edit-edited-clear",this.editedClear.bind(this))}editValidate(e,r,E){var z=this.table.options.validationMode!=="manual"?this.validate(e.column.modules.validate,e,r):!0;return z!==!0&&setTimeout(()=>{e.getElement().classList.add("tabulator-validation-fail"),this.dispatchExternal("validationFailed",e.getComponent(),r,z)}),z}editorClear(e,r){r&&e.column.modules.validate&&this.cellValidate(e),e.getElement().classList.remove("tabulator-validation-fail")}editedClear(e){e.modules.validate&&(e.modules.validate.invalid=!1)}cellIsValid(e){return e.modules.validate&&e.modules.validate.invalid||!0}cellValidate(e){return this.validate(e.column.modules.validate,e,e.getValue())}columnValidate(e){var r=[];return e.cells.forEach(E=>{this.cellValidate(E)!==!0&&r.push(E.getComponent())}),r.length?r:!0}rowValidate(e){var r=[];return e.cells.forEach(E=>{this.cellValidate(E)!==!0&&r.push(E.getComponent())}),r.length?r:!0}userClearCellValidation(e){e||(e=this.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.clearValidation(r._getSelf())})}userValidate(e){var r=[];return this.table.rowManager.rows.forEach(E=>{E=E.getComponent();var z=E.validate();z!==!0&&(r=r.concat(z))}),r.length?r:!0}initializeColumnCheck(e){typeof e.definition.validator<"u"&&this.initializeColumn(e)}initializeColumn(e){var r=this,E=[],z;e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(k=>{z=r._extractValidator(k),z&&E.push(z)}):(z=this._extractValidator(e.definition.validator),z&&E.push(z)),e.modules.validate=E.length?E:!1)}_extractValidator(e){var r,E,z;switch(typeof e){case"string":return z=e.indexOf(":"),z>-1?(r=e.substring(0,z),E=e.substring(z+1)):r=e,this._buildValidator(r,E);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}}_buildValidator(e,r){var E=typeof e=="function"?e:ig.validators[e];return E?{type:typeof e=="function"?"function":e,func:E,params:r}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)}validate(e,r,E){var z=this,k=[],m=this.invalidCells.indexOf(r);return e&&e.forEach(t=>{t.func.call(z,r.getComponent(),E,t.params)||k.push({type:t.type,parameters:t.params})}),r.modules.validate||(r.modules.validate={}),k.length?(r.modules.validate.invalid=k,this.table.options.validationMode!=="manual"&&r.getElement().classList.add("tabulator-validation-fail"),m==-1&&this.invalidCells.push(r)):(r.modules.validate.invalid=!1,r.getElement().classList.remove("tabulator-validation-fail"),m>-1&&this.invalidCells.splice(m,1)),k.length?k:!0}getInvalidCells(){var e=[];return this.invalidCells.forEach(r=>{e.push(r.getComponent())}),e}clearValidation(e){var r;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,r=this.invalidCells.indexOf(e),r>-1&&this.invalidCells.splice(r,1))}}ig.moduleName="validate";ig.validators=IP;var OP=Object.freeze({__proto__:null,AccessorModule:i0,AjaxModule:Ic,ClipboardModule:Wd,ColumnCalcsModule:zh,DataTreeModule:PM,DownloadModule:a0,EditModule:tg,ExportModule:RM,FilterModule:Kf,FormatModule:qu,FrozenColumnsModule:DM,FrozenRowsModule:zM,GroupRowsModule:FM,HistoryModule:qd,HtmlTableImportModule:BM,ImportModule:ng,InteractionModule:NM,KeybindingsModule:Vh,MenuModule:VM,MoveColumnsModule:jM,MoveRowsModule:$y,MutatorModule:o0,PageModule:rg,PersistenceModule:Ul,PopupModule:UM,PrintModule:HM,ReactiveDataModule:GM,ResizeColumnsModule:WM,ResizeRowsModule:qM,ResizeTableModule:YM,ResponsiveLayoutModule:$M,SelectRowModule:ZM,SortModule:jd,SelectRangeModule:XM,TooltipModule:KM,ValidateModule:ig}),PP={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,debugInvalidComponentFuncs:!0,debugInitialization:!0,debugDeprecation:!0,height:!1,minHeight:!1,maxHeight:!1,columnHeaderVertAlign:"top",popupContainer:!1,columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:".",footerElement:!1,index:"id",textDirection:"auto",addRowPos:"bottom",headerVisible:!0,renderVertical:"virtual",renderHorizontal:"basic",renderVerticalBuffer:0,scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,rowHeight:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataLoaderErrorTimeout:3e3,dataSendParams:{},dataReceiveParams:{}};class JM{constructor(e,r,E={}){this.table=e,this.msgType=r,this.registeredDefaults=Object.assign({},E)}register(e,r){this.registeredDefaults[e]=r}generate(e,r={}){var E=Object.assign({},this.registeredDefaults),z=this.table.options.debugInvalidOptions||r.debugInvalidOptions===!0;Object.assign(E,e);for(let k in r)E.hasOwnProperty(k)||(z&&console.warn("Invalid "+this.msgType+" option:",k),E[k]=r.key);for(let k in E)k in r?E[k]=r[k]:Array.isArray(E[k])?E[k]=Object.assign([],E[k]):typeof E[k]=="object"&&E[k]!==null?E[k]=Object.assign({},E[k]):typeof E[k]>"u"&&delete E[k];return E}}class Zy extends Ml{constructor(e){super(e),this.elementVertical=e.rowManager.element,this.elementHorizontal=e.columnManager.element,this.tableElement=e.rowManager.tableElement,this.verticalFillMode="fit"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(e){}renderRows(){}renderColumns(){}rerenderRows(e){e&&e()}rerenderColumns(e,r){}renderRowCells(e){}rerenderRowCells(e,r){}scrollColumns(e,r){}scrollRows(e,r){}resize(){}scrollToRow(e){}scrollToRowNearestTop(e){}visibleRows(e){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(e,r){var E=e.getElement();r%2?(E.classList.add("tabulator-row-even"),E.classList.remove("tabulator-row-odd")):(E.classList.add("tabulator-row-odd"),E.classList.remove("tabulator-row-even"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(e){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(e,r,E){var z=this.rows().indexOf(e),k=e.getElement(),m=0;return new Promise((t,d)=>{if(z>-1){if(typeof E>"u"&&(E=this.table.options.scrollToRowIfVisible),!E&&oo.elVisible(k)&&(m=oo.elOffset(k).top-oo.elOffset(this.elementVertical).top,m>0&&m"u"&&(r=this.table.options.scrollToRowPosition),r==="nearest"&&(r=this.scrollToRowNearestTop(e)?"top":"bottom"),this.scrollToRow(e),r){case"middle":case"center":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(k.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-k.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case"bottom":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-k.offsetTop)+k.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+k.offsetHeight;break;case"top":this.elementVertical.scrollTop=k.offsetTop;break}t()}else console.warn("Scroll Error - Row not visible"),d("Scroll Error - Row not visible")})}}class RP extends Zy{constructor(e){super(e)}renderRowCells(e,r){const E=document.createDocumentFragment();e.cells.forEach(z=>{E.appendChild(z.getElement())}),e.element.appendChild(E),r||e.cells.forEach(z=>{z.cellRendered()})}reinitializeColumnWidths(e){e.forEach(function(r){r.reinitializeWidth()})}}class DP extends Zy{constructor(e){super(e),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.windowBuffer=200,this.visibleRows=null,this.initialized=!1,this.isFitData=!1,this.columns=[]}initialize(){this.compatibilityCheck(),this.layoutCheck(),this.vertScrollListen()}compatibilityCheck(){this.options("layout")=="fitDataTable"&&console.warn("Horizontal Virtual DOM is not compatible with fitDataTable layout mode"),this.options("responsiveLayout")&&console.warn("Horizontal Virtual DOM is not compatible with responsive columns"),this.options("rtl")&&console.warn("Horizontal Virtual DOM is not currently compatible with RTL text direction")}layoutCheck(){this.isFitData=this.options("layout").startsWith("fitData")}vertScrollListen(){this.subscribe("scroll-vertical",this.clearVisRowCache.bind(this)),this.subscribe("data-refreshed",this.clearVisRowCache.bind(this))}clearVisRowCache(){this.visibleRows=null}renderColumns(e,r){this.dataChange()}scrollColumns(e,r){this.scrollLeft!=e&&(this.scrollLeft=e,this.scroll(e-(this.vDomScrollPosLeft+this.windowBuffer)))}calcWindowBuffer(){var e=this.elementVertical.clientWidth;this.table.columnManager.columnsByIndex.forEach(r=>{if(r.visible){var E=r.getWidth();E>e&&(e=E)}}),this.windowBuffer=e*2}rerenderColumns(e,r){var E={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol},z=0;e&&!this.initialized||(this.clear(),this.calcWindowBuffer(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.windowBuffer,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,this.table.columnManager.columnsByIndex.forEach(k=>{var m={},t;k.visible&&(k.modules.frozen||(t=k.getWidth(),m.leftPos=z,m.rightPos=z+t,m.width=t,this.isFitData&&(m.fitDataCheck=k.modules.vdomHoz?k.modules.vdomHoz.fitDataCheck:!0),z+t>this.vDomScrollPosLeft&&z{r.appendChild(E.getElement())}),e.element.appendChild(r),e.cells.forEach(E=>{E.cellRendered()})}}rerenderRowCells(e,r){this.reinitializeRow(e,r)}reinitializeColumnWidths(e){for(let r=this.leftCol;r<=this.rightCol;r++)this.columns[r].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var e=!1,r,E;if(this.isFitData){if(this.table.columnManager.columnsByIndex.forEach(z=>{!z.definition.width&&z.visible&&(e=!0)}),e&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,r=this.chain("rows-sample",[1],[],()=>this.table.rowManager.getDisplayRows())[0],r)){E=r.getElement(),r.generateCells(),this.tableElement.appendChild(E);for(let z=0;z{E!==this.columns[z]&&(r=!1)}),!r)}reinitializeRows(){var e=this.getVisibleRows(),r=this.table.rowManager.getRows().filter(E=>!e.includes(E));e.forEach(E=>{this.reinitializeRow(E,!0)}),r.forEach(E=>{E.deinitialize()})}getVisibleRows(){return this.visibleRows||(this.visibleRows=this.table.rowManager.getVisibleRows()),this.visibleRows}scroll(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,Math.abs(e)>this.windowBuffer/2?this.rerenderColumns():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(e,r,E){for(let z=e;z{if(z.type!=="group"){var k=z.getCell(E);z.getElement().insertBefore(k.getElement(),z.getCell(this.columns[this.rightCol]).getElement().nextSibling),k.cellRendered()}}),this.fitDataColActualWidthCheck(E),this.rightCol++,this.getVisibleRows().forEach(z=>{z.type!=="group"&&(z.modules.vdomHoz.rightCol=this.rightCol)}),this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=E.getWidth()):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}addColLeft(){for(var e=!1,r=!0;r;){let E=this.columns[this.leftCol-1];if(E)if(E.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){e=!0,this.getVisibleRows().forEach(k=>{if(k.type!=="group"){var m=k.getCell(E);k.getElement().insertBefore(m.getElement(),k.getCell(this.columns[this.leftCol]).getElement()),m.cellRendered()}}),this.leftCol--,this.getVisibleRows().forEach(k=>{k.type!=="group"&&(k.modules.vdomHoz.leftCol=this.leftCol)}),this.leftCol<=0?this.vDomPadLeft=0:this.vDomPadLeft-=E.getWidth();let z=this.fitDataColActualWidthCheck(E);z&&(this.scrollLeft=this.elementVertical.scrollLeft=this.elementVertical.scrollLeft+z,this.vDomPadRight-=z)}else r=!1;else r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}removeColRight(){for(var e=!1,r=!0;r;){let E=this.columns[this.rightCol];E&&E.modules.vdomHoz.leftPos>this.vDomScrollPosRight?(e=!0,this.getVisibleRows().forEach(z=>{if(z.type!=="group"){var k=z.getCell(E);try{z.getElement().removeChild(k.getElement())}catch(m){console.warn("Could not removeColRight",m.message)}}}),this.vDomPadRight+=E.getWidth(),this.rightCol--,this.getVisibleRows().forEach(z=>{z.type!=="group"&&(z.modules.vdomHoz.rightCol=this.rightCol)})):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}removeColLeft(){for(var e=!1,r=!0;r;){let E=this.columns[this.leftCol];E&&E.modules.vdomHoz.rightPos{if(z.type!=="group"){var k=z.getCell(E);try{z.getElement().removeChild(k.getElement())}catch(m){console.warn("Could not removeColLeft",m.message)}}}),this.vDomPadLeft+=E.getWidth(),this.leftCol++,this.getVisibleRows().forEach(z=>{z.type!=="group"&&(z.modules.vdomHoz.leftCol=this.leftCol)})):r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}fitDataColActualWidthCheck(e){var r,E;return e.modules.vdomHoz.fitDataCheck&&(e.reinitializeWidth(),r=e.getWidth(),E=r-e.modules.vdomHoz.width,E&&(e.modules.vdomHoz.rightPos+=E,e.modules.vdomHoz.width=r,this.colPositionAdjust(this.columns.indexOf(e)+1,this.columns.length,E)),e.modules.vdomHoz.fitDataCheck=!1),E}initializeRow(e){if(e.type!=="group"){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol},this.table.modules.frozenColumns&&this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.appendCell(e,r)});for(let r=this.leftCol;r<=this.rightCol;r++)this.appendCell(e,this.columns[r]);this.table.modules.frozenColumns&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.appendCell(e,r)})}}appendCell(e,r){if(r&&r.visible){let E=e.getCell(r);e.getElement().appendChild(E.getElement()),E.cellRendered()}}reinitializeRow(e,r){if(e.type!=="group"&&(r||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(var E=e.getElement();E.firstChild;)E.removeChild(E.firstChild);this.initializeRow(e)}}}class zP extends Ml{constructor(e){super(e),this.blockHozScrollEvent=!1,this.headersElement=null,this.contentsElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new JM(this.table,"column definition",OM),this.redrawBlock=!1,this.redrawBlockUpdate=null,this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.contentsElement=this.createHeaderContentsElement(),this.element=this.createHeaderElement(),this.contentsElement.insertBefore(this.headersElement,this.contentsElement.firstChild),this.element.insertBefore(this.contentsElement,this.element.firstChild),this.initializeScrollWheelWatcher(),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("scrollbar-vertical",this.padVerticalScrollbar.bind(this))}padVerticalScrollbar(e){this.table.rtl?this.headersElement.style.marginLeft=e+"px":this.headersElement.style.marginRight=e+"px"}initializeRenderer(){var e,r={virtual:DP,basic:RP};typeof this.table.options.renderHorizontal=="string"?e=r[this.table.options.renderHorizontal]:e=this.table.options.renderHorizontal,e?(this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error("Unable to find matching renderer:",this.table.options.renderHorizontal)}createHeadersElement(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e.setAttribute("role","row"),e}createHeaderContentsElement(){var e=document.createElement("div");return e.classList.add("tabulator-header-contents"),e.setAttribute("role","rowgroup"),e}createHeaderElement(){var e=document.createElement("div");return e.classList.add("tabulator-header"),e.setAttribute("role","rowgroup"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e}getElement(){return this.element}getContentsElement(){return this.contentsElement}getHeadersElement(){return this.headersElement}scrollHorizontal(e){this.contentsElement.scrollLeft=e,this.scrollLeft=e,this.renderer.scrollColumns(e)}initializeScrollWheelWatcher(){this.contentsElement.addEventListener("wheel",e=>{var r;e.deltaX&&(r=this.contentsElement.scrollLeft+e.deltaX,this.table.rowManager.scrollHorizontal(r),this.table.columnManager.scrollHorizontal(r))})}generateColumnsFromRowData(e){var r=[],E=this.table.options.autoColumnsDefinitions,z,k;if(e&&e.length){z=e[0];for(var m in z){let t={field:m,title:m},d=z[m];switch(typeof d){case"undefined":k="string";break;case"boolean":k="boolean";break;case"object":Array.isArray(d)?k="array":k="string";break;default:!isNaN(d)&&d!==""?k="number":d.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?k="alphanum":k="string";break}t.sorter=k,r.push(t)}if(E)switch(typeof E){case"function":this.table.options.columns=E.call(this.table,r);break;case"object":Array.isArray(E)?r.forEach(t=>{var d=E.find(y=>y.field===t.field);d&&Object.assign(t,d)}):r.forEach(t=>{E[t.field]&&Object.assign(t,E[t.field])}),this.table.options.columns=r;break}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(e,r){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch("columns-loading"),e.forEach((E,z)=>{this._addColumn(E)}),this._reIndexColumns(),this.dispatch("columns-loaded"),this.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(e,r,E){var z=new vf(e,this),k=z.getElement(),m=E&&this.findColumnIndex(E);if(E&&m>-1){var t=E.getTopColumn(),d=this.columns.indexOf(t),y=t.getElement();r?(this.columns.splice(d,0,z),y.parentNode.insertBefore(k,y)):(this.columns.splice(d+1,0,z),y.parentNode.insertBefore(k,y.nextSibling))}else r?(this.columns.unshift(z),this.headersElement.insertBefore(z.getElement(),this.headersElement.firstChild)):(this.columns.push(z),this.headersElement.appendChild(z.getElement()));return z.columnRendered(),z}registerColumnField(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)}registerColumnPosition(e){this.columnsByIndex.push(e)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})}verticalAlignHeaders(){var e=0;this.redrawBlock||(this.headersElement.style.height="",this.columns.forEach(r=>{r.clearVerticalAlign()}),this.columns.forEach(r=>{var E=r.getHeight();E>e&&(e=E)}),this.headersElement.style.height=e+"px",this.columns.forEach(r=>{r.verticalAlign(this.table.options.columnHeaderVertAlign,e)}),this.table.rowManager.adjustTableSize())}findColumn(e){var r;if(typeof e=="object"){if(e instanceof vf)return e;if(e instanceof IM)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return r=[],this.columns.forEach(z=>{r.push(z),r=r.concat(z.getColumns(!0))}),r.find(z=>z.element===e)||!1}else return this.columnsByField[e]||!1;return!1}getColumnByField(e){return this.columnsByField[e]}getColumnsByFieldRoot(e){var r=[];return Object.keys(this.columnsByField).forEach(E=>{var z=this.table.options.nestedFieldSeparator?E.split(this.table.options.nestedFieldSeparator)[0]:E;z===e&&r.push(this.columnsByField[E])}),r}getColumnByIndex(e){return this.columnsByIndex[e]}getFirstVisibleColumn(){var e=this.columnsByIndex.findIndex(r=>r.visible);return e>-1?this.columnsByIndex[e]:!1}getVisibleColumnsByIndex(){return this.columnsByIndex.filter(e=>e.visible)}getColumns(){return this.columns}findColumnIndex(e){return this.columnsByIndex.findIndex(r=>e===r)}getRealColumns(){return this.columnsByIndex}traverse(e){this.columnsByIndex.forEach((r,E)=>{e(r,E)})}getDefinitions(e){var r=[];return this.columnsByIndex.forEach(E=>{(!e||e&&E.visible)&&r.push(E.getDefinition())}),r}getDefinitionTree(){var e=[];return this.columns.forEach(r=>{e.push(r.getDefinition(!0))}),e}getComponents(e){var r=[],E=e?this.columns:this.columnsByIndex;return E.forEach(z=>{r.push(z.getComponent())}),r}getWidth(){var e=0;return this.columnsByIndex.forEach(r=>{r.visible&&(e+=r.getWidth())}),e}moveColumn(e,r,E){r.element.parentNode.insertBefore(e.element,r.element),E&&r.element.parentNode.insertBefore(r.element,e.element),this.moveColumnActual(e,r,E),this.verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(e,r,E){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,r,E):this._moveColumnInArray(this.columns,e,r,E),this._moveColumnInArray(this.columnsByIndex,e,r,E,!0),this.rerenderColumns(!0),this.dispatch("column-moved",e,r,E),this.subscribedExternal("columnMoved")&&this.dispatchExternal("columnMoved",e.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(e,r,E,z,k){var m=e.indexOf(r),t,d=[];m>-1&&(e.splice(m,1),t=e.indexOf(E),t>-1?z&&(t=t+1):t=m,e.splice(t,0,r),k&&(d=this.chain("column-moving-rows",[r,E,z],null,[])||[],d=d.concat(this.table.rowManager.rows),d.forEach(function(y){if(y.cells.length){var i=y.cells.splice(m,1)[0];y.cells.splice(t,0,i)}})))}scrollToColumn(e,r,E){var z=0,k=e.getLeftOffset(),m=0,t=e.getElement();return new Promise((d,y)=>{if(typeof r>"u"&&(r=this.table.options.scrollToColumnPosition),typeof E>"u"&&(E=this.table.options.scrollToColumnIfVisible),e.visible){switch(r){case"middle":case"center":m=-this.element.clientWidth/2;break;case"right":m=t.clientWidth-this.headersElement.clientWidth;break}if(!E&&k>0&&k+t.offsetWidth{r.push(E.generateCell(e))}),r}getFlexBaseWidth(){var e=this.table.element.clientWidth,r=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(e-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(E){var z,k,m;E.visible&&(z=E.definition.width||0,k=parseInt(E.minWidth),typeof z=="string"?z.indexOf("%")>-1?m=e/100*parseInt(z):m=parseInt(z):m=z,r+=m>k?m:k)}),r}addColumn(e,r,E){return new Promise((z,k)=>{var m=this._addColumn(e,r,E);this._reIndexColumns(),this.dispatch("column-add",e,r,E),this.layoutMode()!="fitColumns"&&m.reinitializeWidth(),this.redraw(!0),this.table.rowManager.reinitialize(),this.rerenderColumns(),z(m)})}deregisterColumn(e){var r=e.getField(),E;r&&delete this.columnsByField[r],E=this.columnsByIndex.indexOf(e),E>-1&&this.columnsByIndex.splice(E,1),E=this.columns.indexOf(e),E>-1&&this.columns.splice(E,1),this.verticalAlignHeaders(),this.redraw()}rerenderColumns(e,r){this.redrawBlock?(e===!1||e===!0&&this.redrawBlockUpdate===null)&&(this.redrawBlockUpdate=e):this.renderer.rerenderColumns(e,r)}blockRedraw(){this.redrawBlock=!0,this.redrawBlockUpdate=null}restoreRedraw(){this.redrawBlock=!1,this.verticalAlignHeaders(),this.renderer.rerenderColumns(this.redrawBlockUpdate)}redraw(e){oo.elVisible(this.element)&&this.verticalAlignHeaders(),e&&(this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm("table-redrawing",e)||this.layoutRefresh(e),this.dispatch("table-redraw",e),this.table.footerManager.redraw()}}class FP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.scrollTop=0,e.scrollLeft=0,e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility=""}renderRows(){var e=this.tableElement,r=!0,E=document.createDocumentFragment(),z=this.rows();z.forEach((k,m)=>{this.styleRow(k,m),k.initialize(!1,!0),k.type!=="group"&&(r=!1),E.appendChild(k.getElement())}),e.appendChild(E),z.forEach(k=>{k.rendered(),k.heightInitialized||k.calcHeight(!0)}),z.forEach(k=>{k.heightInitialized||k.setCellHeight()}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}rerenderRows(e){this.clearRows(),e&&e(),this.renderRows(),this.rows().length||this.table.rowManager.tableEmpty()}scrollToRowNearestTop(e){var r=oo.elOffset(e.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-r)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-r))}scrollToRow(e){var r=e.getElement();this.elementVertical.scrollTop=oo.elOffset(r).top-oo.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(e){return this.rows()}}class BP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(e){for(var r=this.elementVertical.scrollTop,E=!1,z=!1,k=this.table.rowManager.scrollLeft,m=this.rows(),t=this.vDomTop;t<=this.vDomBottom;t++)if(m[t]){var d=r-m[t].getElement().offsetTop;if(z===!1||Math.abs(d){y.deinitializeHeight()}),e&&e(),this.rows().length?this._virtualRenderFill(E===!1?this.rows.length-1:E,!0,z||0):(this.clear(),this.table.rowManager.tableEmpty()),this.scrollColumns(k)}scrollColumns(e){this.table.rowManager.scrollHorizontal(e)}scrollRows(e,r){var E=e-this.vDomScrollPosTop,z=e-this.vDomScrollPosBottom,k=this.vDomWindowBuffer*2,m=this.rows();if(this.scrollTop=e,-E>k||z>k){var t=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*m.length)),this.scrollColumns(t)}else r?(E<0&&this._addTopRow(m,-E),z<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(m,-z):this.vDomScrollPosBottom=this.scrollTop)):(z>=0&&this._addBottomRow(m,z),E>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(m,E):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(e){var r=this.rows().indexOf(e);return!(Math.abs(this.vDomTop-r)>Math.abs(this.vDomBottom-r))}scrollToRow(e){var r=this.rows().indexOf(e);r>-1&&this._virtualRenderFill(r,!0)}visibleRows(e){var r=this.elementVertical.scrollTop,E=this.elementVertical.clientHeight+r,z=!1,k=0,m=0,t=this.rows();if(e)k=this.vDomTop,m=this.vDomBottom;else for(var d=this.vDomTop;d<=this.vDomBottom;d++)if(t[d])if(z)if(E-t[d].getElement().offsetTop>=0)m=d;else break;else if(r-t[d].getElement().offsetTop>=0)k=d;else if(z=!0,E-t[d].getElement().offsetTop>=0)m=d;else break;return t.slice(k,m+1)}_virtualRenderFill(e,r,E){var z=this.tableElement,k=this.elementVertical,m=0,t=0,d=0,y=0,i=0,M=0,g=this.rows(),h=g.length,l=0,a,u,o=[],s=0,f=0,c=this.table.rowManager.fixedHeight,p=this.elementVertical.clientHeight,w=this.table.options.rowHeight,v=!0;if(e=e||0,E=E||0,!e)this.clear();else{for(;z.firstChild;)z.removeChild(z.firstChild);y=(h-e+1)*this.vDomRowHeight,y{S.rendered(),S.heightInitialized||S.calcHeight(!0)}),o.forEach(S=>{S.heightInitialized||S.setCellHeight()}),o.forEach(S=>{d=S.getHeight(),sthis.vDomWindowBuffer&&(this.vDomWindowBuffer=d*2),s++}),v=this.table.rowManager.adjustTableSize(),p=this.elementVertical.clientHeight,v&&(c||this.table.options.maxHeight)&&(w=t/s,f=Math.max(this.vDomWindowMinTotalRows,Math.ceil(p/w+this.vDomWindowBuffer/w)))}e?(this.vDomTopPad=r?this.vDomRowHeight*this.vDomTop+E:this.scrollTop-i,this.vDomBottomPad=this.vDomBottom==h-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-t-i,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((t+i)/s),this.vDomBottomPad=this.vDomRowHeight*(h-this.vDomBottom-1),this.vDomScrollHeight=i+t+this.vDomBottomPad-p),z.style.paddingTop=this.vDomTopPad+"px",z.style.paddingBottom=this.vDomBottomPad+"px",r&&(this.scrollTop=this.vDomTopPad+i+E-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-p:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-p),this.elementVertical.scrollWidth>this.elementVertical.clientWidth&&r&&(this.scrollTop+=this.elementVertical.offsetHeight-p),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,k.scrollTop=this.scrollTop,this.dispatch("render-virtual-fill")}}_addTopRow(e,r){for(var E=this.tableElement,z=[],k=0,m=this.vDomTop-1,t=0,d=!0;d;)if(this.vDomTop){let y=e[m],i,M;y&&t=i?(this.styleRow(y,m),E.insertBefore(y.getElement(),E.firstChild),(!y.initialized||!y.heightInitialized)&&z.push(y),y.initialize(),M||(i=y.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,k+=i,this.vDomTop--,m--,t++):d=!1):d=!1}else d=!1;for(let y of z)y.clearCellHeight();this._quickNormalizeRowHeight(z),k&&(this.vDomTopPad-=k,this.vDomTopPad<0&&(this.vDomTopPad=m*this.vDomRowHeight),m<1&&(this.vDomTopPad=0),E.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=k)}_removeTopRow(e,r){for(var E=[],z=0,k=0,m=!0;m;){let t=e[this.vDomTop],d;t&&k=d?(this.vDomTop++,r-=d,z+=d,E.push(t),k++):m=!1):m=!1}for(let t of E){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}z&&(this.vDomTopPad+=z,this.tableElement.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?z:z+this.vDomWindowBuffer)}_addBottomRow(e,r){for(var E=this.tableElement,z=[],k=0,m=this.vDomBottom+1,t=0,d=!0;d;){let y=e[m],i,M;y&&t=i?(this.styleRow(y,m),E.appendChild(y.getElement()),(!y.initialized||!y.heightInitialized)&&z.push(y),y.initialize(),M||(i=y.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,k+=i,this.vDomBottom++,m++,t++):d=!1):d=!1}for(let y of z)y.clearCellHeight();this._quickNormalizeRowHeight(z),k&&(this.vDomBottomPad-=k,(this.vDomBottomPad<0||m==e.length-1)&&(this.vDomBottomPad=0),E.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=k)}_removeBottomRow(e,r){for(var E=[],z=0,k=0,m=!0;m;){let t=e[this.vDomBottom],d;t&&k=d?(this.vDomBottom--,r-=d,z+=d,E.push(t),k++):m=!1):m=!1}for(let t of E){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}z&&(this.vDomBottomPad+=z,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=z)}_quickNormalizeRowHeight(e){for(let r of e)r.calcHeight();for(let r of e)r.setCellHeight()}}class NP extends Ml{constructor(e){super(e),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.placeholder=null,this.placeholderContents=null,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRenderInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.scrollbarWidth=0,this.renderer=null}createHolderElement(){var e=document.createElement("div");return e.classList.add("tabulator-tableholder"),e.setAttribute("tabindex",0),e}createTableElement(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e.setAttribute("role","rowgroup"),e}initializePlaceholder(){var e=this.table.options.placeholder;if(typeof e=="function"&&(e=e.call(this.table)),e=this.chain("placeholder",[e],e,e)||e,e){let r=document.createElement("div");if(r.classList.add("tabulator-placeholder"),typeof e=="string"){let E=document.createElement("div");E.classList.add("tabulator-placeholder-contents"),E.innerHTML=e,r.appendChild(E),this.placeholderContents=E}else typeof HTMLElement<"u"&&e instanceof HTMLElement?(r.appendChild(e),this.placeholderContents=e):(console.warn("Invalid placeholder provided, must be string or HTML Element",e),this.el=null);this.placeholder=r}}getElement(){return this.element}getTableElement(){return this.tableElement}initialize(){this.initializePlaceholder(),this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener("scroll",()=>{var e=this.element.scrollLeft,r=this.scrollLeft>e,E=this.element.scrollTop,z=this.scrollTop>E;this.scrollLeft!=e&&(this.scrollLeft=e,this.dispatch("scroll-horizontal",e,r),this.dispatchExternal("scrollHorizontal",e,r),this._positionPlaceholder()),this.scrollTop!=E&&(this.scrollTop=E,this.renderer.scrollRows(E,z),this.dispatch("scroll-vertical",E,z),this.dispatchExternal("scrollVertical",E,z))})}findRow(e){if(typeof e=="object"){if(e instanceof yl)return e;if(e instanceof qy)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return this.rows.find(E=>E.getElement()===e)||!1;if(e===null)return!1}else return typeof e>"u"?!1:this.rows.find(E=>E.data[this.table.options.index]==e)||!1;return!1}getRowFromDataObject(e){var r=this.rows.find(E=>E.data===e);return r||!1}getRowFromPosition(e){return this.getDisplayRows().find(r=>r.getPosition()===e&&r.isDisplayed())}scrollToRow(e,r,E){return this.renderer.scrollToRowPosition(e,r,E)}setData(e,r,E){return new Promise((z,k)=>{r&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(e,!0):this.reRenderInPosition(()=>{this._setDataActual(e)}):(this.table.options.autoColumns&&E&&this.table.initialized&&this.table.columnManager.generateColumnsFromRowData(e),this.resetScroll(),this._setDataActual(e)),z()})}_setDataActual(e,r){this.dispatchExternal("dataProcessing",e),this._wipeElements(),Array.isArray(e)?(this.dispatch("data-processing",e),e.forEach((E,z)=>{if(E&&typeof E=="object"){var k=new yl(E,this);this.rows.push(k)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",E)}),this.refreshActiveData(!1,!1,r),this.dispatch("data-processed",e),this.dispatchExternal("dataProcessed",e)):console.error(`Data Loading Error - Unable to process data due to invalid data type +`)&&!z){E=0,r++;continue}e[r][E]+=m}return e}function uO(n){try{return JSON.parse(n)}catch(e){return console.warn("JSON Import Error - File contents is invalid JSON",e),Promise.reject()}}function cO(n){return n}var fO={csv:lO,json:uO,array:cO};class ng extends qi{constructor(e){super(e),this.registerTableOption("importFormat"),this.registerTableOption("importReader","text")}initialize(){this.registerTableFunction("import",this.importFromFile.bind(this)),this.table.options.importFormat&&(this.subscribe("data-loading",this.loadDataCheck.bind(this),10),this.subscribe("data-load",this.loadData.bind(this),10))}loadDataCheck(e){return this.table.options.importFormat&&(typeof e=="string"||Array.isArray(e)&&e.length&&Array.isArray(e))}loadData(e,r,E,z,k){return this.importData(this.lookupImporter(),e).then(this.structureData.bind(this)).catch(m=>(console.error("Import Error:",m||"Unable to import data"),Promise.reject(m)))}lookupImporter(e){var r;return e||(e=this.table.options.importFormat),typeof e=="string"?r=ng.importers[e]:r=e,r||console.error("Import Error - Importer not found:",e),r}importFromFile(e,r){var E=this.lookupImporter(e);if(E)return this.pickFile(r).then(this.importData.bind(this,E)).then(this.structureData.bind(this)).then(this.setData.bind(this)).catch(z=>(console.error("Import Error:",z||"Unable to import file"),Promise.reject(z)))}pickFile(e){return new Promise((r,E)=>{var z=document.createElement("input");z.type="file",z.accept=e,z.addEventListener("change",k=>{var m=z.files[0],t=new FileReader;switch(this.table.options.importReader){case"buffer":t.readAsArrayBuffer(m);break;case"binary":t.readAsBinaryString(m);break;case"url":t.readAsDataURL(m);break;case"text":default:t.readAsText(m)}t.onload=d=>{r(t.result)},t.onerror=d=>{console.warn("File Load Error - Unable to read file"),E()}}),z.click()})}importData(e,r){var E=e.call(this.table,r);return E instanceof Promise?E:E?Promise.resolve(E):Promise.reject()}structureData(e){var r=[];return Array.isArray(e)&&e.length&&Array.isArray(e[0])?(this.table.options.autoColumns?r=this.structureArrayToObject(e):r=this.structureArrayToColumns(e),r):e}structureArrayToObject(e){var r=e.shift(),E=e.map(z=>{var k={};return r.forEach((m,t)=>{k[m]=z[t]}),k});return E}structureArrayToColumns(e){var r=[],E=this.table.getColumns();return E[0]&&e[0][0]&&E[0].getDefinition().title===e[0][0]&&e.shift(),e.forEach(z=>{var k={};z.forEach((m,t)=>{var d=E[t];d&&(k[d.getField()]=m)}),r.push(k)}),r}setData(e){return this.table.setData(e)}}ng.moduleName="import";ng.importers=fO;class NM extends qi{constructor(e){super(e),this.eventMap={rowClick:"row-click",rowDblClick:"row-dblclick",rowContext:"row-contextmenu",rowMouseEnter:"row-mouseenter",rowMouseLeave:"row-mouseleave",rowMouseOver:"row-mouseover",rowMouseOut:"row-mouseout",rowMouseMove:"row-mousemove",rowMouseDown:"row-mousedown",rowMouseUp:"row-mouseup",rowTap:"row",rowDblTap:"row",rowTapHold:"row",cellClick:"cell-click",cellDblClick:"cell-dblclick",cellContext:"cell-contextmenu",cellMouseEnter:"cell-mouseenter",cellMouseLeave:"cell-mouseleave",cellMouseOver:"cell-mouseover",cellMouseOut:"cell-mouseout",cellMouseMove:"cell-mousemove",cellMouseDown:"cell-mousedown",cellMouseUp:"cell-mouseup",cellTap:"cell",cellDblTap:"cell",cellTapHold:"cell",headerClick:"column-click",headerDblClick:"column-dblclick",headerContext:"column-contextmenu",headerMouseEnter:"column-mouseenter",headerMouseLeave:"column-mouseleave",headerMouseOver:"column-mouseover",headerMouseOut:"column-mouseout",headerMouseMove:"column-mousemove",headerMouseDown:"column-mousedown",headerMouseUp:"column-mouseup",headerTap:"column",headerDblTap:"column",headerTapHold:"column",groupClick:"group-click",groupDblClick:"group-dblclick",groupContext:"group-contextmenu",groupMouseEnter:"group-mouseenter",groupMouseLeave:"group-mouseleave",groupMouseOver:"group-mouseover",groupMouseOut:"group-mouseout",groupMouseMove:"group-mousemove",groupMouseDown:"group-mousedown",groupMouseUp:"group-mouseup",groupTap:"group",groupDblTap:"group",groupTapHold:"group"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null},group:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption("headerClick"),this.registerColumnOption("headerDblClick"),this.registerColumnOption("headerContext"),this.registerColumnOption("headerMouseEnter"),this.registerColumnOption("headerMouseLeave"),this.registerColumnOption("headerMouseOver"),this.registerColumnOption("headerMouseOut"),this.registerColumnOption("headerMouseMove"),this.registerColumnOption("headerMouseDown"),this.registerColumnOption("headerMouseUp"),this.registerColumnOption("headerTap"),this.registerColumnOption("headerDblTap"),this.registerColumnOption("headerTapHold"),this.registerColumnOption("cellClick"),this.registerColumnOption("cellDblClick"),this.registerColumnOption("cellContext"),this.registerColumnOption("cellMouseEnter"),this.registerColumnOption("cellMouseLeave"),this.registerColumnOption("cellMouseOver"),this.registerColumnOption("cellMouseOut"),this.registerColumnOption("cellMouseMove"),this.registerColumnOption("cellMouseDown"),this.registerColumnOption("cellMouseUp"),this.registerColumnOption("cellTap"),this.registerColumnOption("cellDblTap"),this.registerColumnOption("cellTapHold")}initialize(){this.initializeExternalEvents(),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("cell-dblclick",this.cellContentsSelectionFixer.bind(this)),this.subscribe("scroll-horizontal",this.clearTouchWatchers.bind(this)),this.subscribe("scroll-vertical",this.clearTouchWatchers.bind(this))}clearTouchWatchers(){var e=Object.values(this.touchWatchers);e.forEach(r=>{for(let E in r)r[E]=null})}cellContentsSelectionFixer(e,r){var E;if(!(this.table.modExists("edit")&&this.table.modules.edit.currentCell===r)){e.preventDefault();try{document.selection?(E=document.body.createTextRange(),E.moveToElementText(r.getElement()),E.select()):window.getSelection&&(E=document.createRange(),E.selectNode(r.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(E))}catch{}}}initializeExternalEvents(){for(let e in this.eventMap)this.subscriptionChangeExternal(e,this.subscriptionChanged.bind(this,e))}subscriptionChanged(e,r){r?this.subscribers[e]||(this.eventMap[e].includes("-")?(this.subscribers[e]=this.handle.bind(this,e),this.subscribe(this.eventMap[e],this.subscribers[e])):this.subscribeTouchEvents(e)):this.eventMap[e].includes("-")?this.subscribers[e]&&!this.columnSubscribers[e]&&!this.subscribedExternal(e)&&(this.unsubscribe(this.eventMap[e],this.subscribers[e]),delete this.subscribers[e]):this.unsubscribeTouchEvents(e)}subscribeTouchEvents(e){var r=this.eventMap[e];this.touchSubscribers[r+"-touchstart"]||(this.touchSubscribers[r+"-touchstart"]=this.handleTouch.bind(this,r,"start"),this.touchSubscribers[r+"-touchend"]=this.handleTouch.bind(this,r,"end"),this.subscribe(r+"-touchstart",this.touchSubscribers[r+"-touchstart"]),this.subscribe(r+"-touchend",this.touchSubscribers[r+"-touchend"])),this.subscribers[e]=!0}unsubscribeTouchEvents(e){var r=!0,E=this.eventMap[e];if(this.subscribers[e]&&!this.subscribedExternal(e)){delete this.subscribers[e];for(let z in this.eventMap)this.eventMap[z]===E&&this.subscribers[z]&&(r=!1);r&&(this.unsubscribe(E+"-touchstart",this.touchSubscribers[E+"-touchstart"]),this.unsubscribe(E+"-touchend",this.touchSubscribers[E+"-touchend"]),delete this.touchSubscribers[E+"-touchstart"],delete this.touchSubscribers[E+"-touchend"])}}initializeColumn(e){var r=e.definition;for(let E in this.eventMap)r[E]&&(this.subscriptionChanged(E,!0),this.columnSubscribers[E]||(this.columnSubscribers[E]=[]),this.columnSubscribers[E].push(e))}handle(e,r,E){this.dispatchEvent(e,r,E)}handleTouch(e,r,E,z){var k=this.touchWatchers[e];switch(e==="column"&&(e="header"),r){case"start":k.tap=!0,clearTimeout(k.tapHold),k.tapHold=setTimeout(()=>{clearTimeout(k.tapHold),k.tapHold=null,k.tap=null,clearTimeout(k.tapDbl),k.tapDbl=null,this.dispatchEvent(e+"TapHold",E,z)},1e3);break;case"end":k.tap&&(k.tap=null,this.dispatchEvent(e+"Tap",E,z)),k.tapDbl?(clearTimeout(k.tapDbl),k.tapDbl=null,this.dispatchEvent(e+"DblTap",E,z)):k.tapDbl=setTimeout(()=>{clearTimeout(k.tapDbl),k.tapDbl=null},300),clearTimeout(k.tapHold),k.tapHold=null;break}}dispatchEvent(e,r,E){var z=E.getComponent(),k;this.columnSubscribers[e]&&(E instanceof eg?k=E.column.definition[e]:E instanceof vf&&(k=E.definition[e]),k&&k(r,z)),this.dispatchExternal(e,r,z)}}NM.moduleName="interaction";var hO={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,navLeft:37,navRight:39,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:["ctrl + 90","meta + 90"],redo:["ctrl + 89","meta + 89"],copyToClipboard:["ctrl + 67","meta + 67"],rangeJumpUp:["ctrl + 38","meta + 38"],rangeJumpDown:["ctrl + 40","meta + 40"],rangeJumpLeft:["ctrl + 37","meta + 37"],rangeJumpRight:["ctrl + 39","meta + 39"],rangeExpandUp:"shift + 38",rangeExpandDown:"shift + 40",rangeExpandLeft:"shift + 37",rangeExpandRight:"shift + 39",rangeExpandJumpUp:["ctrl + shift + 38","meta + shift + 38"],rangeExpandJumpDown:["ctrl + shift + 40","meta + shift + 40"],rangeExpandJumpLeft:["ctrl + shift + 37","meta + shift + 37"],rangeExpandJumpRight:["ctrl + shift + 39","meta + shift + 39"]},dO={keyBlock:function(n){n.stopPropagation(),n.preventDefault()},scrollPageUp:function(n){var e=this.table.rowManager,r=e.scrollTop-e.element.clientHeight;n.preventDefault(),e.displayRowsCount&&(r>=0?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(n){var e=this.table.rowManager,r=e.scrollTop+e.element.clientHeight,E=e.element.scrollHeight;n.preventDefault(),e.displayRowsCount&&(r<=E?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(n){this.dispatch("keybinding-nav-prev",n)},navNext:function(n){this.dispatch("keybinding-nav-next",n)},navLeft:function(n){this.dispatch("keybinding-nav-left",n)},navRight:function(n){this.dispatch("keybinding-nav-right",n)},navUp:function(n){this.dispatch("keybinding-nav-up",n)},navDown:function(n){this.dispatch("keybinding-nav-down",n)},rangeJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!1)},rangeJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!1)},rangeJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!1)},rangeJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!1)},rangeExpandLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!1,!0)},rangeExpandRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!1,!0)},rangeExpandUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!1,!0)},rangeExpandDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!1,!0)},rangeExpandJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!0)},rangeExpandJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!0)},rangeExpandJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!0)},rangeExpandJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!0)},undo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.undo()))},redo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class Vh extends qi{constructor(e){super(e),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption("keybindings",{}),this.registerTableOption("tabEndNewRow",!1)}initialize(){var e=this.table.options.keybindings,r={};this.watchKeys={},this.pressedKeys=[],e!==!1&&(Object.assign(r,Vh.bindings),Object.assign(r,e),this.mapBindings(r),this.bindEvents()),this.subscribe("table-destroy",this.clearBindings.bind(this))}mapBindings(e){for(let r in e)Vh.actions[r]?e[r]&&(typeof e[r]!="object"&&(e[r]=[e[r]]),e[r].forEach(E=>{var z=Array.isArray(E)?E:[E];z.forEach(k=>{this.mapBinding(r,k)})})):console.warn("Key Binding Error - no such action:",r)}mapBinding(e,r){var E={action:Vh.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1},z=r.toString().toLowerCase().split(" ").join("").split("+");z.forEach(k=>{switch(k){case"ctrl":E.ctrl=!0;break;case"shift":E.shift=!0;break;case"meta":E.meta=!0;break;default:k=isNaN(k)?k.toUpperCase().charCodeAt(0):parseInt(k),E.keys.push(k),this.watchKeys[k]||(this.watchKeys[k]=[]),this.watchKeys[k].push(E)}})}bindEvents(){var e=this;this.keyupBinding=function(r){var E=r.keyCode,z=e.watchKeys[E];z&&(e.pressedKeys.push(E),z.forEach(function(k){e.checkBinding(r,k)}))},this.keydownBinding=function(r){var E=r.keyCode,z=e.watchKeys[E];if(z){var k=e.pressedKeys.indexOf(E);k>-1&&e.pressedKeys.splice(k,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)}checkBinding(e,r){var E=!0;return e.ctrlKey==r.ctrl&&e.shiftKey==r.shift&&e.metaKey==r.meta?(r.keys.forEach(z=>{var k=this.pressedKeys.indexOf(z);k==-1&&(E=!1)}),E&&r.action.call(this,e),!0):!1}}Vh.moduleName="keybindings";Vh.bindings=hO;Vh.actions=dO;class VM extends qi{constructor(e){super(e),this.menuContainer=null,this.nestedMenuBlock=!1,this.currentComponent=null,this.rootPopup=null,this.columnSubscribers={},this.registerTableOption("menuContainer",void 0),this.registerTableOption("rowContextMenu",!1),this.registerTableOption("rowClickMenu",!1),this.registerTableOption("rowDblClickMenu",!1),this.registerTableOption("groupContextMenu",!1),this.registerTableOption("groupClickMenu",!1),this.registerTableOption("groupDblClickMenu",!1),this.registerColumnOption("headerContextMenu"),this.registerColumnOption("headerClickMenu"),this.registerColumnOption("headerDblClickMenu"),this.registerColumnOption("headerMenu"),this.registerColumnOption("headerMenuIcon"),this.registerColumnOption("contextMenu"),this.registerColumnOption("clickMenu"),this.registerColumnOption("dblClickMenu")}initialize(){this.deprecatedOptionsCheck(),this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("menuContainer","popupContainer")||(this.table.options.popupContainer=this.table.options.menuContainer)}initializeRowWatchers(){this.table.options.rowContextMenu&&(this.subscribe("row-contextmenu",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu)),this.table.on("rowTapHold",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu))),this.table.options.rowClickMenu&&this.subscribe("row-click",this.loadMenuEvent.bind(this,this.table.options.rowClickMenu)),this.table.options.rowDblClickMenu&&this.subscribe("row-dblclick",this.loadMenuEvent.bind(this,this.table.options.rowDblClickMenu))}initializeGroupWatchers(){this.table.options.groupContextMenu&&(this.subscribe("group-contextmenu",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu)),this.table.on("groupTapHold",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu))),this.table.options.groupClickMenu&&this.subscribe("group-click",this.loadMenuEvent.bind(this,this.table.options.groupClickMenu)),this.table.options.groupDblClickMenu&&this.subscribe("group-dblclick",this.loadMenuEvent.bind(this,this.table.options.groupDblClickMenu))}initializeColumn(e){var r=e.definition;r.headerContextMenu&&!this.columnSubscribers.headerContextMenu&&(this.columnSubscribers.headerContextMenu=this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextMenu),this.table.on("headerTapHold",this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"))),r.headerClickMenu&&!this.columnSubscribers.headerClickMenu&&(this.columnSubscribers.headerClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerClickMenu"),this.subscribe("column-click",this.columnSubscribers.headerClickMenu)),r.headerDblClickMenu&&!this.columnSubscribers.headerDblClickMenu&&(this.columnSubscribers.headerDblClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerDblClickMenu"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickMenu)),r.headerMenu&&this.initializeColumnHeaderMenu(e),r.contextMenu&&!this.columnSubscribers.contextMenu&&(this.columnSubscribers.contextMenu=this.loadMenuTableCellEvent.bind(this,"contextMenu"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextMenu),this.table.on("cellTapHold",this.loadMenuTableCellEvent.bind(this,"contextMenu"))),r.clickMenu&&!this.columnSubscribers.clickMenu&&(this.columnSubscribers.clickMenu=this.loadMenuTableCellEvent.bind(this,"clickMenu"),this.subscribe("cell-click",this.columnSubscribers.clickMenu)),r.dblClickMenu&&!this.columnSubscribers.dblClickMenu&&(this.columnSubscribers.dblClickMenu=this.loadMenuTableCellEvent.bind(this,"dblClickMenu"),this.subscribe("cell-dblclick",this.columnSubscribers.dblClickMenu))}initializeColumnHeaderMenu(e){var r=e.definition.headerMenuIcon,E;E=document.createElement("span"),E.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?E.appendChild(r):E.innerHTML=r):E.innerHTML="⋮",E.addEventListener("click",z=>{z.stopPropagation(),z.preventDefault(),this.loadMenuEvent(e.definition.headerMenu,z,e)}),e.titleElement.insertBefore(E,e.titleElement.firstChild)}loadMenuTableCellEvent(e,r,E){E._cell&&(E=E._cell),E.column.definition[e]&&this.loadMenuEvent(E.column.definition[e],r,E)}loadMenuTableColumnEvent(e,r,E){E._column&&(E=E._column),E.definition[e]&&this.loadMenuEvent(E.definition[e],r,E)}loadMenuEvent(e,r,E){E._group?E=E._group:E._row&&(E=E._row),e=typeof e=="function"?e.call(this.table,r,E.getComponent()):e,this.loadMenu(r,E,e)}loadMenu(e,r,E,z,k){var m=!(e instanceof MouseEvent),t=document.createElement("div"),d;if(t.classList.add("tabulator-menu"),m||e.preventDefault(),!(!E||!E.length)){if(z)d=k.child(t);else{if(this.nestedMenuBlock){if(this.rootPopup)return}else this.nestedMenuBlock=setTimeout(()=>{this.nestedMenuBlock=!1},100);this.rootPopup&&this.rootPopup.hide(),this.rootPopup=d=this.popup(t)}E.forEach(y=>{var i=document.createElement("div"),M=y.label,g=y.disabled;y.separator?i.classList.add("tabulator-menu-separator"):(i.classList.add("tabulator-menu-item"),typeof M=="function"&&(M=M.call(this.table,r.getComponent())),M instanceof Node?i.appendChild(M):i.innerHTML=M,typeof g=="function"&&(g=g.call(this.table,r.getComponent())),g?(i.classList.add("tabulator-menu-item-disabled"),i.addEventListener("click",h=>{h.stopPropagation()})):y.menu&&y.menu.length?i.addEventListener("click",h=>{h.stopPropagation(),this.loadMenu(h,r,y.menu,i,d)}):y.action&&i.addEventListener("click",h=>{y.action(h,r.getComponent())}),y.menu&&y.menu.length&&i.classList.add("tabulator-menu-item-submenu")),t.appendChild(i)}),t.addEventListener("click",y=>{this.rootPopup&&this.rootPopup.hide()}),d.show(z||e),d===this.rootPopup&&(this.rootPopup.hideOnBlur(()=>{this.rootPopup=null,this.currentComponent&&(this.dispatch("menu-closed",E,d),this.dispatchExternal("menuClosed",this.currentComponent.getComponent()),this.currentComponent=null)}),this.currentComponent=r,this.dispatch("menu-opened",E,d),this.dispatchExternal("menuOpened",r.getComponent()))}}}VM.moduleName="menu";class jM extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption("movableColumns",!1)}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e}initialize(){this.table.options.movableColumns&&(this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("alert-show",this.abortMove.bind(this)))}abortMove(){clearTimeout(this.checkTimeout)}initializeColumn(e){var r=this,E={},z;!e.modules.frozen&&!e.isGroup&&(z=e.getElement(),E.mousemove=(function(k){e.parent===r.moving.parent&&((r.touchMove?k.touches[0].pageX:k.pageX)-oo.elOffset(z).left+r.table.columnManager.contentsElement.scrollLeft>e.getWidth()/2?(r.toCol!==e||!r.toColAfter)&&(z.parentNode.insertBefore(r.placeholderElement,z.nextSibling),r.moveColumn(e,!0)):(r.toCol!==e||r.toColAfter)&&(z.parentNode.insertBefore(r.placeholderElement,z),r.moveColumn(e,!1)))}).bind(r),z.addEventListener("mousedown",function(k){r.touchMove=!1,k.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(k,e)},r.checkPeriod))}),z.addEventListener("mouseup",function(k){k.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),r.bindTouchEvents(e)),e.modules.moveColumn=E}bindTouchEvents(e){var r=e.getElement(),E=!1,z,k,m,t,d,y;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,z=e.nextColumn(),m=z?z.getWidth()/2:0,k=e.prevColumn(),t=k?k.getWidth()/2:0,d=0,y=0,E=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),r.addEventListener("touchmove",i=>{var M,g;this.moving&&(this.moveHover(i),E||(E=i.touches[0].pageX),M=i.touches[0].pageX-E,M>0?z&&M-d>m&&(g=z,g!==e&&(E=i.touches[0].pageX,g.getElement().parentNode.insertBefore(this.placeholderElement,g.getElement().nextSibling),this.moveColumn(g,!0))):k&&-M-y>t&&(g=k,g!==e&&(E=i.touches[0].pageX,g.getElement().parentNode.insertBefore(this.placeholderElement,g.getElement()),this.moveColumn(g,!1))),g&&(z=g.nextColumn(),d=m,m=z?z.getWidth()/2:0,k=g.prevColumn(),y=t,t=k?k.getWidth()/2:0))},{passive:!0}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(i)})}startMove(e,r){var E=r.getElement(),z=this.table.columnManager.getContentsElement(),k=this.table.columnManager.getHeadersElement();this.moving=r,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(E).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",E.parentNode.insertBefore(this.placeholderElement,E),E.parentNode.removeChild(E),this.hoverElement=E.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),z.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom=z.clientHeight-k.offsetHeight+"px",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})}moveColumn(e,r){var E=this.moving.getCells();this.toCol=e,this.toColAfter=r,r?e.getCells().forEach(function(z,k){var m=z.getElement(!0);m.parentNode&&E[k]&&m.parentNode.insertBefore(E[k].getElement(),m.nextSibling)}):e.getCells().forEach(function(z,k){var m=z.getElement(!0);m.parentNode&&E[k]&&m.parentNode.insertBefore(E[k].getElement(),m)})}endMove(e){(e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))}moveHover(e){var r=this.table.columnManager.getContentsElement(),E=r.scrollLeft,z=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(r).left+E,k;this.hoverElement.style.left=z-this.startX+"px",z-E{k=Math.max(0,E-5),this.table.rowManager.getElement().scrollLeft=k,this.autoScrollTimeout=!1},1))),E+r.clientWidth-z{k=Math.min(r.clientWidth,E+5),this.table.rowManager.getElement().scrollLeft=k,this.autoScrollTimeout=!1},1)))}}jM.moduleName="moveColumn";class Yy extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption("movableRows",!1),this.registerTableOption("movableRowsConnectedTables",!1),this.registerTableOption("movableRowsConnectedElements",!1),this.registerTableOption("movableRowsSender",!1),this.registerTableOption("movableRowsReceiver","insert"),this.registerColumnOption("rowHandle")}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe("cell-init",this.initializeCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)))}initializeGroupHeader(e){var r=this,E={};E.mouseup=(function(z){r.tableRowDrop(z,e)}).bind(r),E.mousemove=(function(z){var k;z.pageY-oo.elOffset(e.element).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(k=e.getElement(),k.parentNode.insertBefore(r.placeholderElement,k.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(k=e.getElement(),k.previousSibling&&(k.parentNode.insertBefore(r.placeholderElement,k),r.moveRow(e,!1)))}).bind(r),e.modules.moveRow=E}initializeRow(e){var r=this,E={},z;E.mouseup=(function(k){r.tableRowDrop(k,e)}).bind(r),E.mousemove=(function(k){var m=e.getElement();k.pageY-oo.elOffset(m).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(m.parentNode.insertBefore(r.placeholderElement,m.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(m.parentNode.insertBefore(r.placeholderElement,m),r.moveRow(e,!1))}).bind(r),this.hasHandle||(z=e.getElement(),z.addEventListener("mousedown",function(k){k.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(k,e)},r.checkPeriod))}),z.addEventListener("mouseup",function(k){k.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=E}initializeColumn(e){e.definition.rowHandle&&this.table.options.movableRows!==!1&&(this.hasHandle=!0)}initializeCell(e){if(e.column.definition.rowHandle&&this.table.options.movableRows!==!1){var r=this,E=e.getElement(!0);E.addEventListener("mousedown",function(z){z.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(z,e.row)},r.checkPeriod))}),E.addEventListener("mouseup",function(z){z.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e.row,E)}}bindTouchEvents(e,r){var E=!1,z,k,m,t,d,y;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,z=e.nextRow(),m=z?z.getHeight()/2:0,k=e.prevRow(),t=k?k.getHeight()/2:0,d=0,y=0,E=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,r.addEventListener("touchmove",i=>{var M,g;this.moving&&(i.preventDefault(),this.moveHover(i),E||(E=i.touches[0].pageY),M=i.touches[0].pageY-E,M>0?z&&M-d>m&&(g=z,g!==e&&(E=i.touches[0].pageY,g.getElement().parentNode.insertBefore(this.placeholderElement,g.getElement().nextSibling),this.moveRow(g,!0))):k&&-M-y>t&&(g=k,g!==e&&(E=i.touches[0].pageY,g.getElement().parentNode.insertBefore(this.placeholderElement,g.getElement()),this.moveRow(g,!1))),g&&(z=g.nextRow(),d=m,m=z?z.getHeight()/2:0,k=g.prevRow(),y=t,t=k?k.getHeight()/2:0))}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(i),this.touchMove=!1)})}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})}startMove(e,r){var E=r.getElement();this.setStartPosition(e,r),this.moving=r,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(r)):(E.parentNode.insertBefore(this.placeholderElement,E),E.parentNode.removeChild(E)),this.hoverElement=E.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.dispatchExternal("rowMoving",r.getComponent()),this.moveHover(e)}setStartPosition(e,r){var E=this.touchMove?e.touches[0].pageX:e.pageX,z=this.touchMove?e.touches[0].pageY:e.pageY,k,m;k=r.getElement(),this.connection?(m=k.getBoundingClientRect(),this.startX=m.left-E+window.pageXOffset,this.startY=m.top-z+window.pageYOffset):this.startY=z-k.getBoundingClientRect().top}endMove(e){(!e||e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow?this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter):this.dispatchExternal("rowMoveCancelled",this.moving.getComponent()),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))}moveRow(e,r){this.toRow=e,this.toRowAfter=r}moveHover(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)}moveHoverTable(e){var r=this.table.rowManager.getElement(),E=r.scrollTop,z=(this.touchMove?e.touches[0].pageY:e.pageY)-r.getBoundingClientRect().top+E;this.hoverElement.style.top=Math.min(z-this.startY,this.table.rowManager.element.scrollHeight-this.hoverElement.offsetHeight)+"px"}moveHoverConnections(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"}elementRowDrop(e,r,E){this.dispatchExternal("movableRowsElementDrop",e,r,E?E.getComponent():!1)}connectToTables(e){var r;this.connectionSelectorsTables&&(r=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStart",r),this.commsSend(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(E=>{typeof E=="string"?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(E))):this.connectionElements.push(E)}),this.connectionElements.forEach(E=>{var z=k=>{this.elementRowDrop(k,E,this.moving)};E.addEventListener("mouseup",z),E.tabulatorElementDropEvent=z,E.classList.add("tabulator-movingrow-receiving")}))}disconnectFromTables(){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStop",e),this.commsSend(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(r=>{r.classList.remove("tabulator-movingrow-receiving"),r.removeEventListener("mouseup",r.tabulatorElementDropEvent),delete r.tabulatorElementDropEvent})}connect(e,r){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=r,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(E=>{E.type==="row"&&E.modules.moveRow&&E.modules.moveRow.mouseup&&E.getElement().addEventListener("mouseup",E.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStart",r,e),!0)}disconnect(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(r=>{r.type==="row"&&r.modules.moveRow&&r.modules.moveRow.mouseup&&r.getElement().removeEventListener("mouseup",r.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStop",e)):console.warn("Move Row Error - trying to disconnect from non connected table")}dropComplete(e,r,E){var z=!1;if(E){switch(typeof this.table.options.movableRowsSender){case"string":z=this.senders[this.table.options.movableRowsSender];break;case"function":z=this.table.options.movableRowsSender;break}z?z.call(this,this.moving?this.moving.getComponent():void 0,r?r.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.dispatchExternal("movableRowsSent",this.moving.getComponent(),r?r.getComponent():void 0,e)}else this.dispatchExternal("movableRowsSentFailed",this.moving.getComponent(),r?r.getComponent():void 0,e);this.endMove()}tableRowDrop(e,r){var E=!1,z=!1;switch(e.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case"string":E=this.receivers[this.table.options.movableRowsReceiver];break;case"function":E=this.table.options.movableRowsReceiver;break}E?z=E.call(this,this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),z?this.dispatchExternal("movableRowsReceived",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):this.dispatchExternal("movableRowsReceivedFailed",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,"moveRow","dropcomplete",{row:r,success:z})}commsReceived(e,r,E){switch(r){case"connect":return this.connect(e,E.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,E.row,E.success)}}}Yy.prototype.receivers={insert:function(n,e,r){return this.table.addRow(n.getData(),void 0,e),!0},add:function(n,e,r){return this.table.addRow(n.getData()),!0},update:function(n,e,r){return e?(e.update(n.getData()),!0):!1},replace:function(n,e,r){return e?(this.table.addRow(n.getData(),void 0,e),e.delete(),!0):!1}};Yy.prototype.senders={delete:function(n,e,r){n.delete()}};Yy.moduleName="moveRow";var pO={};class o0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0,this.registerColumnOption("mutator"),this.registerColumnOption("mutatorParams"),this.registerColumnOption("mutatorData"),this.registerColumnOption("mutatorDataParams"),this.registerColumnOption("mutatorEdit"),this.registerColumnOption("mutatorEditParams"),this.registerColumnOption("mutatorClipboard"),this.registerColumnOption("mutatorClipboardParams"),this.registerColumnOption("mutateLink")}initialize(){this.subscribe("cell-value-changing",this.transformCell.bind(this)),this.subscribe("cell-value-changed",this.mutateLink.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-init-before",this.rowDataChanged.bind(this)),this.subscribe("row-data-changing",this.rowDataChanged.bind(this))}rowDataChanged(e,r,E){return this.transformRow(r,"data",E)}initializeColumn(e){var r=!1,E={};this.allowedTypes.forEach(z=>{var k="mutator"+(z.charAt(0).toUpperCase()+z.slice(1)),m;e.definition[k]&&(m=this.lookupMutator(e.definition[k]),m&&(r=!0,E[k]={mutator:m,params:e.definition[k+"Params"]||{}}))}),r&&(e.modules.mutate=E)}lookupMutator(e){var r=!1;switch(typeof e){case"string":o0.mutators[e]?r=o0.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r,E){var z="mutator"+(r.charAt(0).toUpperCase()+r.slice(1)),k;return this.enabled&&this.table.columnManager.traverse(m=>{var t,d,y;m.modules.mutate&&(t=m.modules.mutate[z]||m.modules.mutate.mutator||!1,t&&(k=m.getFieldValue(typeof E<"u"?E:e),(r=="data"&&!E||typeof k<"u")&&(y=m.getComponent(),d=typeof t.params=="function"?t.params(k,e,r,y):t.params,m.setFieldValue(e,t.mutator(k,e,r,d,y)))))}),e}transformCell(e,r){if(e.column.modules.mutate){var E=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,z={};if(E)return z=Object.assign(z,e.row.getData()),e.column.setFieldValue(z,r),E.mutator(r,z,"edit",E.params,e.getComponent())}return r}mutateLink(e){var r=e.column.definition.mutateLink;r&&(Array.isArray(r)||(r=[r]),r.forEach(E=>{var z=e.row.getCell(E);z&&z.setValue(z.getValue(),!0,!0)}))}enable(){this.enabled=!0}disable(){this.enabled=!1}}o0.moduleName="mutator";o0.mutators=pO;function mO(n,e,r,E,z){var k=document.createElement("span"),m=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),y=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{m.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|rows",M=>{i.innerHTML=M}),E?(t.innerHTML=" "+e+"-"+Math.min(e+n-1,E)+" ",y.innerHTML=" "+E+" ",k.appendChild(m),k.appendChild(t),k.appendChild(d),k.appendChild(y),k.appendChild(i)):(t.innerHTML=" 0 ",k.appendChild(m),k.appendChild(t),k.appendChild(i)),k}function gO(n,e,r,E,z){var k=document.createElement("span"),m=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),y=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{m.innerHTML=M}),t.innerHTML=" "+r+" ",this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),y.innerHTML=" "+z+" ",this.table.modules.localize.langBind("pagination|counter|pages",M=>{i.innerHTML=M}),k.appendChild(m),k.appendChild(t),k.appendChild(d),k.appendChild(y),k.appendChild(i),k}var vO={rows:mO,pages:gO};class rg extends qi{constructor(e){super(e),this.mode="local",this.progressiveLoad=!1,this.element=null,this.pageCounterElement=null,this.pageCounter=null,this.size=0,this.page=1,this.count=5,this.max=1,this.remoteRowCountEstimate=null,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.registerTableOption("pagination",!1),this.registerTableOption("paginationMode","local"),this.registerTableOption("paginationSize",!1),this.registerTableOption("paginationInitialPage",1),this.registerTableOption("paginationCounter",!1),this.registerTableOption("paginationCounterElement",!1),this.registerTableOption("paginationButtonCount",5),this.registerTableOption("paginationSizeSelector",!1),this.registerTableOption("paginationElement",!1),this.registerTableOption("paginationAddRow","page"),this.registerTableOption("progressiveLoad",!1),this.registerTableOption("progressiveLoadDelay",0),this.registerTableOption("progressiveLoadScrollMargin",0),this.registerTableFunction("setMaxPage",this.setMaxPage.bind(this)),this.registerTableFunction("setPage",this.setPage.bind(this)),this.registerTableFunction("setPageToRow",this.userSetPageToRow.bind(this)),this.registerTableFunction("setPageSize",this.userSetPageSize.bind(this)),this.registerTableFunction("getPageSize",this.getPageSize.bind(this)),this.registerTableFunction("previousPage",this.previousPage.bind(this)),this.registerTableFunction("nextPage",this.nextPage.bind(this)),this.registerTableFunction("getPage",this.getPage.bind(this)),this.registerTableFunction("getPageMax",this.getPageMax.bind(this)),this.registerComponentFunction("row","pageTo",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("footer-redraw",this.footerRedraw.bind(this)),this.table.options.paginationAddRow=="page"&&this.subscribe("row-adding-position",this.rowAddingPosition.bind(this)),this.table.options.paginationMode==="remote"&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePageCounter(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),this.table.options.progressiveLoad==="scroll"&&this.subscribe("scroll-vertical",this.scrollVertical.bind(this)))}rowAddingPosition(e,r){var E=this.table.rowManager,z=E.getDisplayRows(),k;return r?z.length?k=z[0]:E.activeRows.length&&(k=E.activeRows[E.activeRows.length-1],r=!1):z.length&&(k=z[z.length-1],r=!(z.length{}))}restOnRenderBefore(e,r){return r||this.mode==="local"&&this.reset(),e}rowsUpdated(){this.refreshData(!0,"all")}createElements(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))}generatePageSizeSelectList(){var e=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))e=this.table.options.paginationSizeSelector,this.pageSizes=e,this.pageSizes.indexOf(this.size)==-1&&e.unshift(this.size);else if(this.pageSizes.indexOf(this.size)==-1){e=[];for(let r=1;r<5;r++)e.push(this.size*r);this.pageSizes=e}else e=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);e.forEach(r=>{var E=document.createElement("option");E.value=r,r===!0?this.langBind("pagination|all",function(z){E.innerHTML=z}):E.innerHTML=r,this.pageSizeSelect.appendChild(E)}),this.pageSizeSelect.value=this.size}}initializePageCounter(){var e=this.table.options.paginationCounter,r=null;e&&(typeof e=="function"?r=e:r=rg.pageCounters[e],r?(this.pageCounter=r,this.pageCounterElement=document.createElement("span"),this.pageCounterElement.classList.add("tabulator-page-counter")):console.warn("Pagination Error - No such page counter found: ",e))}initializePaginator(e){var r,E;e||(this.langBind("pagination|first",z=>{this.firstBut.innerHTML=z}),this.langBind("pagination|first_title",z=>{this.firstBut.setAttribute("aria-label",z),this.firstBut.setAttribute("title",z)}),this.langBind("pagination|prev",z=>{this.prevBut.innerHTML=z}),this.langBind("pagination|prev_title",z=>{this.prevBut.setAttribute("aria-label",z),this.prevBut.setAttribute("title",z)}),this.langBind("pagination|next",z=>{this.nextBut.innerHTML=z}),this.langBind("pagination|next_title",z=>{this.nextBut.setAttribute("aria-label",z),this.nextBut.setAttribute("title",z)}),this.langBind("pagination|last",z=>{this.lastBut.innerHTML=z}),this.langBind("pagination|last_title",z=>{this.lastBut.setAttribute("aria-label",z),this.lastBut.setAttribute("title",z)}),this.firstBut.addEventListener("click",()=>{this.setPage(1)}),this.prevBut.addEventListener("click",()=>{this.previousPage()}),this.nextBut.addEventListener("click",()=>{this.nextPage()}),this.lastBut.addEventListener("click",()=>{this.setPage(this.max)}),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(r=document.createElement("label"),this.langBind("pagination|page_size",z=>{this.pageSizeSelect.setAttribute("aria-label",z),this.pageSizeSelect.setAttribute("title",z),r.innerHTML=z}),this.element.appendChild(r),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener("change",z=>{this.setPageSize(this.pageSizeSelect.value=="true"?!0:this.pageSizeSelect.value),this.setPage(1)})),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||(this.table.options.paginationCounter&&(this.table.options.paginationCounterElement?this.table.options.paginationCounterElement instanceof HTMLElement?this.table.options.paginationCounterElement.appendChild(this.pageCounterElement):typeof this.table.options.paginationCounterElement=="string"&&(E=document.querySelector(this.table.options.paginationCounterElement),E?E.appendChild(this.pageCounterElement):console.warn("Pagination Error - Unable to find element matching paginationCounterElement selector:",this.table.options.paginationCounterElement)):this.footerAppend(this.pageCounterElement)),this.footerAppend(this.element)),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount),this.mode=this.table.options.paginationMode}initializeProgressive(e){this.initializePaginator(!0),this.mode="progressive_"+e,this.progressiveLoad=!0}trackChanges(){this.dispatch("page-changed")}setMaxRows(e){e?this.max=this.size===!0?1:Math.ceil(e/this.size):this.max=1,this.page>this.max&&(this.page=this.max)}reset(e){this.initialLoad||(this.mode=="local"||e)&&(this.page=1,this.trackChanges())}setMaxPage(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(e){switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return e=parseInt(e),e>0&&e<=this.max||this.mode!=="local"?(this.page=e,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Requested page is out of range of 1 - "+this.max+":",e),Promise.reject())}setPageToRow(e){var r=this.displayRows(-1),E=r.indexOf(e);if(E>-1){var z=this.size===!0?1:Math.ceil((E+1)/this.size);return this.setPage(z)}else return console.warn("Pagination Error - Requested row is not visible"),Promise.reject()}setPageSize(e){e!==!0&&(e=parseInt(e)),e>0&&(this.size=e,this.dispatchExternal("pageSizeChanged",e)),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageCounter(e,r,E){var z;if(this.pageCounter)switch(this.mode==="remote"&&(r=this.size,E=(this.page-1)*this.size+1,e=this.remoteRowCountEstimate),z=this.pageCounter.call(this,r,E,this.page,e,this.max),typeof z){case"object":if(z instanceof Node){for(;this.pageCounterElement.firstChild;)this.pageCounterElement.removeChild(this.pageCounterElement.firstChild);this.pageCounterElement.appendChild(z)}else this.pageCounterElement.innerHTML="",z!=null&&console.warn("Page Counter Error - Page Counter has returned a type of object, the only valid page counter object return is an instance of Node, the page counter returned:",z);break;case"undefined":this.pageCounterElement.innerHTML="";break;default:this.pageCounterElement.innerHTML=z}}_setPageButtons(){let e=Math.floor((this.count-1)/2),r=Math.ceil((this.count-1)/2),E=this.max-this.page+e+10&&k<=this.max&&this.pagesElement.appendChild(this._generatePageButton(k));this.footerRedraw()}_generatePageButton(e){var r=document.createElement("button");return r.classList.add("tabulator-page"),e==this.page&&r.classList.add("active"),r.setAttribute("type","button"),r.setAttribute("role","button"),this.langBind("pagination|page_title",E=>{r.setAttribute("aria-label",E+" "+e),r.setAttribute("title",E+" "+e)}),r.setAttribute("data-page",e),r.textContent=e,r.addEventListener("click",E=>{this.setPage(e)}),r}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Previous page would be less than page 1:",0),Promise.reject())}nextPage(){return this.paged.type==="row");if(this.mode=="local"){E=[],this.setMaxRows(e.length),this.size===!0?(z=0,k=e.length):(z=this.size*(this.page-1),k=z+parseInt(this.size)),this._setPageButtons();for(let d=z;d{this.dataChanging=!1});case"progressive_load":case"progressive_scroll":return this.reloadData(null,!0);default:return console.warn("Pagination Error - no such pagination mode:",this.mode),Promise.reject()}}_parseRemoteData(e){var r;if(typeof e.last_page>"u"&&console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").last_page||"last_page")+"' property"),e.data)if(this.max=parseInt(e.last_page)||1,this.remoteRowCountEstimate=typeof e.last_row<"u"?e.last_row:e.last_page*this.size-(this.page==e.last_page?this.size-e.data.length:0),this.progressiveLoad){switch(this.mode){case"progressive_load":this.page==1?this.table.rowManager.setData(e.data,!1,this.page==1):this.table.rowManager.addRows(e.data),this.page{this.nextPage()},this.table.options.progressiveLoadDelay);break;case"progressive_scroll":e=this.page===1?e.data:this.table.rowManager.getData().concat(e.data),this.table.rowManager.setData(e,this.page!==1,this.page==1),r=this.table.options.progressiveLoadScrollMargin||this.table.rowManager.element.clientHeight*2,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+r&&this.page{this.nextPage()});break}return!1}else this.dispatchExternal("pageLoaded",this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").data||"data")+"' property");return e.data}footerRedraw(){var e=this.table.footerManager.containerElement;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))}}rg.moduleName="page";rg.pageCounters=vO;var yO={local:function(n,e){var r=localStorage.getItem(n+"-"+e);return r?JSON.parse(r):!1},cookie:function(n,e){var r=document.cookie,E=n+"-"+e,z=r.indexOf(E+"="),k,m;return z>-1&&(r=r.slice(z),k=r.indexOf(";"),k>-1&&(r=r.slice(0,k)),m=r.replace(E+"=","")),m?JSON.parse(m):!1}},bO={local:function(n,e,r){localStorage.setItem(n+"-"+e,JSON.stringify(r))},cookie:function(n,e,r){var E=new Date;E.setDate(E.getDate()+1e4),document.cookie=n+"-"+e+"="+JSON.stringify(r)+"; expires="+E.toUTCString()}};class Ul extends qi{constructor(e){super(e),this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption("persistence",!1),this.registerTableOption("persistenceID",""),this.registerTableOption("persistenceMode",!0),this.registerTableOption("persistenceReaderFunc",!1),this.registerTableOption("persistenceWriterFunc",!1)}localStorageTest(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}initialize(){if(this.table.options.persistence){var e=this.table.options.persistenceMode,r=this.table.options.persistenceID,E;this.mode=e!==!0?e:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?typeof this.table.options.persistenceReaderFunc=="function"?this.readFunc=this.table.options.persistenceReaderFunc:Ul.readers[this.table.options.persistenceReaderFunc]?this.readFunc=Ul.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):Ul.readers[this.mode]?this.readFunc=Ul.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?typeof this.table.options.persistenceWriterFunc=="function"?this.writeFunc=this.table.options.persistenceWriterFunc:Ul.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=Ul.writers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):Ul.writers[this.mode]?this.writeFunc=Ul.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(r||this.table.element.getAttribute("id")||""),this.config={sort:this.table.options.persistence===!0||this.table.options.persistence.sort,filter:this.table.options.persistence===!0||this.table.options.persistence.filter,headerFilter:this.table.options.persistence===!0||this.table.options.persistence.headerFilter,group:this.table.options.persistence===!0||this.table.options.persistence.group,page:this.table.options.persistence===!0||this.table.options.persistence.page,columns:this.table.options.persistence===!0?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(E=this.retrieveData("page"),E&&(typeof E.paginationSize<"u"&&(this.config.page===!0||this.config.page.size)&&(this.table.options.paginationSize=E.paginationSize),typeof E.paginationInitialPage<"u"&&(this.config.page===!0||this.config.page.page)&&(this.table.options.paginationInitialPage=E.paginationInitialPage))),this.config.group&&(E=this.retrieveData("group"),E&&(typeof E.groupBy<"u"&&(this.config.group===!0||this.config.group.groupBy)&&(this.table.options.groupBy=E.groupBy),typeof E.groupStartOpen<"u"&&(this.config.group===!0||this.config.group.groupStartOpen)&&(this.table.options.groupStartOpen=E.groupStartOpen),typeof E.groupHeader<"u"&&(this.config.group===!0||this.config.group.groupHeader)&&(this.table.options.groupHeader=E.groupHeader))),this.config.columns&&(this.table.options.columns=this.load("columns",this.table.options.columns),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-show",this.save.bind(this,"columns")),this.subscribe("column-hide",this.save.bind(this,"columns")),this.subscribe("column-moved",this.save.bind(this,"columns"))),this.subscribe("table-built",this.tableBuilt.bind(this),0),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("filter-changed",this.eventSave.bind(this,"filter")),this.subscribe("filter-changed",this.eventSave.bind(this,"headerFilter")),this.subscribe("sort-changed",this.eventSave.bind(this,"sort")),this.subscribe("group-changed",this.eventSave.bind(this,"group")),this.subscribe("page-changed",this.eventSave.bind(this,"page")),this.subscribe("column-resized",this.eventSave.bind(this,"columns")),this.subscribe("column-width",this.eventSave.bind(this,"columns")),this.subscribe("layout-refreshed",this.eventSave.bind(this,"columns"))}this.registerTableFunction("getColumnLayout",this.getColumnLayout.bind(this)),this.registerTableFunction("setColumnLayout",this.setColumnLayout.bind(this))}eventSave(e){this.config[e]&&this.save(e)}tableBuilt(){var e,r,E;this.config.sort&&(e=this.load("sort"),e&&(this.table.options.initialSort=e)),this.config.filter&&(r=this.load("filter"),r&&(this.table.options.initialFilter=r)),this.config.headerFilter&&(E=this.load("headerFilter"),E&&(this.table.options.initialHeaderFilter=E))}tableRedraw(e){e&&this.config.columns&&this.save("columns")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(e){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,e,!0)),!0}initializeColumn(e){var r,E;this.config.columns&&(this.defWatcherBlock=!0,r=e.getDefinition(),E=this.config.columns===!0?Object.keys(r):this.config.columns,E.forEach(z=>{var k=Object.getOwnPropertyDescriptor(r,z),m=r[z];k&&Object.defineProperty(r,z,{set:t=>{m=t,this.defWatcherBlock||this.save("columns"),k.set&&k.set(t)},get:()=>(k.get&&k.get(),m)})}),this.defWatcherBlock=!1)}load(e,r){var E=this.retrieveData(e);return r&&(E=E?this.mergeDefinition(r,E):r),E}retrieveData(e){return this.readFunc?this.readFunc(this.id,e):!1}mergeDefinition(e,r,E){var z=[];return r=r||[],r.forEach((k,m)=>{var t=this._findColumn(e,k),d;t&&(E?d=Object.keys(k):this.config.columns===!0||this.config.columns==null?(d=Object.keys(t),d.push("width")):d=this.config.columns,d.forEach(y=>{y!=="columns"&&typeof k[y]<"u"&&(t[y]=k[y])}),t.columns&&(t.columns=this.mergeDefinition(t.columns,k.columns)),z.push(t))}),e.forEach((k,m)=>{var t=this._findColumn(r,k);t||(z.length>m?z.splice(m,0,k):z.push(k))}),z}_findColumn(e,r){var E=r.columns?"group":r.field?"field":"object";return e.find(function(z){switch(E){case"group":return z.title===r.title&&z.columns.length===r.columns.length;case"field":return z.field===r.field;case"object":return z===r}})}save(e){var r={};switch(e){case"columns":r=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":r=this.table.modules.filter.getFilters();break;case"headerFilter":r=this.table.modules.filter.getHeaderFilters();break;case"sort":r=this.validateSorters(this.table.modules.sort.getSort());break;case"group":r=this.getGroupConfig();break;case"page":r=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,r)}validateSorters(e){return e.forEach(function(r){r.column=r.field,delete r.field}),e}getGroupConfig(){var e={};return this.config.group&&((this.config.group===!0||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(this.config.group===!0||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(this.config.group===!0||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e}getPageConfig(){var e={};return this.config.page&&((this.config.page===!0||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(this.config.page===!0||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e}parseColumns(e){var r=[],E=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(z=>{var k={},m=z.getDefinition(),t;z.isGroup?(k.title=m.title,k.columns=this.parseColumns(z.getColumns())):(k.field=z.getField(),this.config.columns===!0||this.config.columns==null?(t=Object.keys(m),t.push("width"),t.push("visible")):t=this.config.columns,t.forEach(d=>{switch(d){case"width":k.width=z.getWidth();break;case"visible":k.visible=z.visible;break;default:typeof m[d]!="function"&&E.indexOf(d)===-1&&(k[d]=m[d])}})),r.push(k)}),r}}Ul.moduleName="persistence";Ul.moduleInitOrder=-10;Ul.readers=yO;Ul.writers=bO;class UM extends qi{constructor(e){super(e),this.columnSubscribers={},this.registerTableOption("rowContextPopup",!1),this.registerTableOption("rowClickPopup",!1),this.registerTableOption("rowDblClickPopup",!1),this.registerTableOption("groupContextPopup",!1),this.registerTableOption("groupClickPopup",!1),this.registerTableOption("groupDblClickPopup",!1),this.registerColumnOption("headerContextPopup"),this.registerColumnOption("headerClickPopup"),this.registerColumnOption("headerDblClickPopup"),this.registerColumnOption("headerPopup"),this.registerColumnOption("headerPopupIcon"),this.registerColumnOption("contextPopup"),this.registerColumnOption("clickPopup"),this.registerColumnOption("dblClickPopup"),this.registerComponentFunction("cell","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("column","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("row","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("group","popup",this._componentPopupCall.bind(this))}initialize(){this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}_componentPopupCall(e,r,E){this.loadPopupEvent(r,null,e,E)}initializeRowWatchers(){this.table.options.rowContextPopup&&(this.subscribe("row-contextmenu",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup)),this.table.on("rowTapHold",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup))),this.table.options.rowClickPopup&&this.subscribe("row-click",this.loadPopupEvent.bind(this,this.table.options.rowClickPopup)),this.table.options.rowDblClickPopup&&this.subscribe("row-dblclick",this.loadPopupEvent.bind(this,this.table.options.rowDblClickPopup))}initializeGroupWatchers(){this.table.options.groupContextPopup&&(this.subscribe("group-contextmenu",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup)),this.table.on("groupTapHold",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup))),this.table.options.groupClickPopup&&this.subscribe("group-click",this.loadPopupEvent.bind(this,this.table.options.groupClickPopup)),this.table.options.groupDblClickPopup&&this.subscribe("group-dblclick",this.loadPopupEvent.bind(this,this.table.options.groupDblClickPopup))}initializeColumn(e){var r=e.definition;r.headerContextPopup&&!this.columnSubscribers.headerContextPopup&&(this.columnSubscribers.headerContextPopup=this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextPopup),this.table.on("headerTapHold",this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"))),r.headerClickPopup&&!this.columnSubscribers.headerClickPopup&&(this.columnSubscribers.headerClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerClickPopup"),this.subscribe("column-click",this.columnSubscribers.headerClickPopup)),r.headerDblClickPopup&&!this.columnSubscribers.headerDblClickPopup&&(this.columnSubscribers.headerDblClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerDblClickPopup"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickPopup)),r.headerPopup&&this.initializeColumnHeaderPopup(e),r.contextPopup&&!this.columnSubscribers.contextPopup&&(this.columnSubscribers.contextPopup=this.loadPopupTableCellEvent.bind(this,"contextPopup"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextPopup),this.table.on("cellTapHold",this.loadPopupTableCellEvent.bind(this,"contextPopup"))),r.clickPopup&&!this.columnSubscribers.clickPopup&&(this.columnSubscribers.clickPopup=this.loadPopupTableCellEvent.bind(this,"clickPopup"),this.subscribe("cell-click",this.columnSubscribers.clickPopup)),r.dblClickPopup&&!this.columnSubscribers.dblClickPopup&&(this.columnSubscribers.dblClickPopup=this.loadPopupTableCellEvent.bind(this,"dblClickPopup"),this.subscribe("cell-click",this.columnSubscribers.dblClickPopup))}initializeColumnHeaderPopup(e){var r=e.definition.headerPopupIcon,E;E=document.createElement("span"),E.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?E.appendChild(r):E.innerHTML=r):E.innerHTML="⋮",E.addEventListener("click",z=>{z.stopPropagation(),z.preventDefault(),this.loadPopupEvent(e.definition.headerPopup,z,e)}),e.titleElement.insertBefore(E,e.titleElement.firstChild)}loadPopupTableCellEvent(e,r,E){E._cell&&(E=E._cell),E.column.definition[e]&&this.loadPopupEvent(E.column.definition[e],r,E)}loadPopupTableColumnEvent(e,r,E){E._column&&(E=E._column),E.definition[e]&&this.loadPopupEvent(E.definition[e],r,E)}loadPopupEvent(e,r,E,z){var k;function m(t){k=t}E._group?E=E._group:E._row&&(E=E._row),e=typeof e=="function"?e.call(this.table,r,E.getComponent(),m):e,this.loadPopup(r,E,e,k,z)}loadPopup(e,r,E,z,k){var m=!(e instanceof MouseEvent),t,d;E instanceof HTMLElement?t=E:(t=document.createElement("div"),t.innerHTML=E),t.classList.add("tabulator-popup"),t.addEventListener("click",y=>{y.stopPropagation()}),m||e.preventDefault(),d=this.popup(t),typeof z=="function"&&d.renderCallback(z),e?d.show(e):d.show(r.getElement(),k||"center"),d.hideOnBlur(()=>{this.dispatchExternal("popupClosed",r.getComponent())}),this.dispatchExternal("popupOpened",r.getComponent())}}UM.moduleName="popup";class HM extends qi{constructor(e){super(e),this.element=!1,this.manualBlock=!1,this.beforeprintEventHandler=null,this.afterprintEventHandler=null,this.registerTableOption("printAsHtml",!1),this.registerTableOption("printFormatter",!1),this.registerTableOption("printHeader",!1),this.registerTableOption("printFooter",!1),this.registerTableOption("printStyled",!0),this.registerTableOption("printRowRange","visible"),this.registerTableOption("printConfig",{}),this.registerColumnOption("print"),this.registerColumnOption("titlePrint")}initialize(){this.table.options.printAsHtml&&(this.beforeprintEventHandler=this.replaceTable.bind(this),this.afterprintEventHandler=this.cleanup.bind(this),window.addEventListener("beforeprint",this.beforeprintEventHandler),window.addEventListener("afterprint",this.afterprintEventHandler),this.subscribe("table-destroy",this.destroy.bind(this))),this.registerTableFunction("print",this.printFullscreen.bind(this))}destroy(){this.table.options.printAsHtml&&(window.removeEventListener("beforeprint",this.beforeprintEventHandler),window.removeEventListener("afterprint",this.afterprintEventHandler))}replaceTable(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.generateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")}printFullscreen(e,r,E){var z=window.scrollX,k=window.scrollY,m=document.createElement("div"),t=document.createElement("div"),d=this.table.modules.export.generateTable(typeof E<"u"?E:this.table.options.printConfig,typeof r<"u"?r:this.table.options.printStyled,e||this.table.options.printRowRange,"print"),y,i;this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(m.classList.add("tabulator-print-header"),y=typeof this.table.options.printHeader=="function"?this.table.options.printHeader.call(this.table):this.table.options.printHeader,typeof y=="string"?m.innerHTML=y:m.appendChild(y),this.element.appendChild(m)),this.element.appendChild(d),this.table.options.printFooter&&(t.classList.add("tabulator-print-footer"),i=typeof this.table.options.printFooter=="function"?this.table.options.printFooter.call(this.table):this.table.options.printFooter,typeof i=="string"?t.innerHTML=i:t.appendChild(i),this.element.appendChild(t)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,d),window.print(),this.cleanup(),window.scrollTo(z,k),this.manualBlock=!1}}HM.moduleName="print";class GM extends qi{constructor(e){super(e),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption("reactiveData",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe("cell-value-save-before",this.block.bind(this,"cellsave")),this.subscribe("cell-value-save-after",this.unblock.bind(this,"cellsave")),this.subscribe("row-data-save-before",this.block.bind(this,"rowsave")),this.subscribe("row-data-save-after",this.unblock.bind(this,"rowsave")),this.subscribe("row-data-init-after",this.watchRow.bind(this)),this.subscribe("data-processing",this.watchData.bind(this)),this.subscribe("table-destroy",this.unwatchData.bind(this)))}watchData(e){var r=this,E;this.currentVersion++,E=this.currentVersion,this.unwatchData(),this.data=e,this.origFuncs.push=e.push,Object.defineProperty(this.data,"push",{enumerable:!1,configurable:!0,value:function(){var z=Array.from(arguments),k;return!r.blocked&&E===r.currentVersion&&(r.block("data-push"),z.forEach(m=>{r.table.rowManager.addRowActual(m,!1)}),k=r.origFuncs.push.apply(e,arguments),r.unblock("data-push")),k}}),this.origFuncs.unshift=e.unshift,Object.defineProperty(this.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var z=Array.from(arguments),k;return!r.blocked&&E===r.currentVersion&&(r.block("data-unshift"),z.forEach(m=>{r.table.rowManager.addRowActual(m,!0)}),k=r.origFuncs.unshift.apply(e,arguments),r.unblock("data-unshift")),k}}),this.origFuncs.shift=e.shift,Object.defineProperty(this.data,"shift",{enumerable:!1,configurable:!0,value:function(){var z,k;return!r.blocked&&E===r.currentVersion&&(r.block("data-shift"),r.data.length&&(z=r.table.rowManager.getRowFromDataObject(r.data[0]),z&&z.deleteActual()),k=r.origFuncs.shift.call(e),r.unblock("data-shift")),k}}),this.origFuncs.pop=e.pop,Object.defineProperty(this.data,"pop",{enumerable:!1,configurable:!0,value:function(){var z,k;return!r.blocked&&E===r.currentVersion&&(r.block("data-pop"),r.data.length&&(z=r.table.rowManager.getRowFromDataObject(r.data[r.data.length-1]),z&&z.deleteActual()),k=r.origFuncs.pop.call(e),r.unblock("data-pop")),k}}),this.origFuncs.splice=e.splice,Object.defineProperty(this.data,"splice",{enumerable:!1,configurable:!0,value:function(){var z=Array.from(arguments),k=z[0]<0?e.length+z[0]:z[0],m=z[1],t=z[2]?z.slice(2):!1,d,y;if(!r.blocked&&E===r.currentVersion){if(r.block("data-splice"),t&&(d=e[k]?r.table.rowManager.getRowFromDataObject(e[k]):!1,d?t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,d,!0)}):(t=t.slice().reverse(),t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,!1,!0)}))),m!==0){var i=e.slice(k,typeof z[1]>"u"?z[1]:k+m);i.forEach((M,g)=>{var h=r.table.rowManager.getRowFromDataObject(M);h&&h.deleteActual(g!==i.length-1)})}(t||m!==0)&&r.table.rowManager.reRenderInPosition(),y=r.origFuncs.splice.apply(e,arguments),r.unblock("data-splice")}return y}})}unwatchData(){if(this.data!==!1)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(e){var r=e.getData();for(var E in r)this.watchKey(e,r,E);this.table.options.dataTree&&this.watchTreeChildren(e)}watchTreeChildren(e){var r=this,E=e.getData()[this.table.options.dataTreeChildField],z={};E&&(z.push=E.push,Object.defineProperty(E,"push",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-push");var k=z.push.apply(E,arguments);this.rebuildTree(e),r.unblock("tree-push")}return k}}),z.unshift=E.unshift,Object.defineProperty(E,"unshift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-unshift");var k=z.unshift.apply(E,arguments);this.rebuildTree(e),r.unblock("tree-unshift")}return k}}),z.shift=E.shift,Object.defineProperty(E,"shift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-shift");var k=z.shift.call(E);this.rebuildTree(e),r.unblock("tree-shift")}return k}}),z.pop=E.pop,Object.defineProperty(E,"pop",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-pop");var k=z.pop.call(E);this.rebuildTree(e),r.unblock("tree-pop")}return k}}),z.splice=E.splice,Object.defineProperty(E,"splice",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-splice");var k=z.splice.apply(E,arguments);this.rebuildTree(e),r.unblock("tree-splice")}return k}}))}rebuildTree(e){this.table.modules.dataTree.initializeRow(e),this.table.modules.dataTree.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)}watchKey(e,r,E){var z=this,k=Object.getOwnPropertyDescriptor(r,E),m=r[E],t=this.currentVersion;Object.defineProperty(r,E,{set:d=>{if(m=d,!z.blocked&&t===z.currentVersion){z.block("key");var y={};y[E]=d,e.updateData(y),z.unblock("key")}k.set&&k.set(d)},get:()=>(k.get&&k.get(),m)})}unwatchRow(e){var r=e.getData();for(var E in r)Object.defineProperty(r,E,{value:r[E]})}block(e){this.blocked||(this.blocked=e)}unblock(e){this.blocked===e&&(this.blocked=!1)}}GM.moduleName="reactiveData";class qM extends qi{constructor(e){super(e),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.latestX=!1,this.handle=null,this.initialNextColumn=null,this.nextColumn=null,this.initialized=!1,this.registerColumnOption("resizable",!0),this.registerTableOption("resizableColumnFit",!1)}initialize(){this.subscribe("column-rendered",this.layoutColumnHeader.bind(this))}initializeEventWatchers(){this.initialized||(this.subscribe("cell-rendered",this.layoutCellHandles.bind(this)),this.subscribe("cell-delete",this.deInitializeComponent.bind(this)),this.subscribe("cell-height",this.resizeHandle.bind(this)),this.subscribe("column-moved",this.columnLayoutUpdated.bind(this)),this.subscribe("column-hide",this.deInitializeColumn.bind(this)),this.subscribe("column-show",this.columnLayoutUpdated.bind(this)),this.subscribe("column-width",this.columnWidthUpdated.bind(this)),this.subscribe("column-delete",this.deInitializeComponent.bind(this)),this.subscribe("column-height",this.resizeHandle.bind(this)),this.initialized=!0)}layoutCellHandles(e){e.row.type==="row"&&(this.deInitializeComponent(e),this.initializeColumn("cell",e,e.column,e.element))}layoutColumnHeader(e){e.definition.resizable&&(this.initializeEventWatchers(),this.deInitializeComponent(e),this.initializeColumn("header",e,e,e.element))}columnLayoutUpdated(e){var r=e.prevColumn();this.reinitializeColumn(e),r&&this.reinitializeColumn(r)}columnWidthUpdated(e){e.modules.frozen&&(this.table.modules.frozenColumns.leftColumns.includes(e)?this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.reinitializeColumn(r)}):this.table.modules.frozenColumns.rightColumns.includes(e)&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.reinitializeColumn(r)}))}frozenColumnOffset(e){var r=!1;return e.modules.frozen&&(r=e.modules.frozen.marginValue,e.modules.frozen.position==="left"?r+=e.getWidth()-3:r&&(r-=3)),r!==!1?r+"px":!1}reinitializeColumn(e){var r=this.frozenColumnOffset(e);e.cells.forEach(E=>{E.modules.resize&&E.modules.resize.handleEl&&(r&&(E.modules.resize.handleEl.style[e.modules.frozen.position]=r,E.modules.resize.handleEl.style["z-index"]=11),E.element.after(E.modules.resize.handleEl))}),e.modules.resize&&e.modules.resize.handleEl&&(r&&(e.modules.resize.handleEl.style[e.modules.frozen.position]=r),e.element.after(e.modules.resize.handleEl))}initializeColumn(e,r,E,z){var k=this,m=!1,t=E.definition.resizable,d={},y=E.getLastColumn();if(e==="header"&&(m=E.definition.formatter=="textarea"||E.definition.variableHeight,d={variableHeight:m}),(t===!0||t==e)&&this._checkResizability(y)){var i=document.createElement("span");i.className="tabulator-col-resize-handle",i.addEventListener("click",function(g){g.stopPropagation()});var M=function(g){k.startColumn=E,k.initialNextColumn=k.nextColumn=y.nextColumn(),k._mouseDown(g,y,i)};i.addEventListener("mousedown",M),i.addEventListener("touchstart",M,{passive:!0}),i.addEventListener("dblclick",g=>{var h=y.getWidth();g.stopPropagation(),y.reinitializeWidth(!0),h!==y.getWidth()&&(k.dispatch("column-resized",y),k.table.externalEvents.dispatch("columnResized",y.getComponent()))}),E.modules.frozen&&(i.style.position="sticky",i.style[E.modules.frozen.position]=this.frozenColumnOffset(E)),d.handleEl=i,z.parentNode&&E.visible&&z.after(i)}r.modules.resize=d}deInitializeColumn(e){this.deInitializeComponent(e),e.cells.forEach(r=>{this.deInitializeComponent(r)})}deInitializeComponent(e){var r;e.modules.resize&&(r=e.modules.resize.handleEl,r&&r.parentElement&&r.parentElement.removeChild(r))}resizeHandle(e,r){e.modules.resize&&e.modules.resize.handleEl&&(e.modules.resize.handleEl.style.height=r)}_checkResizability(e){return e.definition.resizable}_mouseDown(e,r,E){var z=this;z.table.element.classList.add("tabulator-block-select");function k(t){var d=typeof t.screenX>"u"?t.touches[0].screenX:t.screenX,y=d-z.startX,i=d-z.latestX,M,g;if(z.latestX=d,z.table.rtl&&(y=-y,i=-i),M=r.width==r.minWidth||r.width==r.maxWidth,r.setWidth(z.startWidth+y),g=r.width==r.minWidth||r.width==r.maxWidth,i<0&&(z.nextColumn=z.initialNextColumn),z.table.options.resizableColumnFit&&z.nextColumn&&!(M&&g)){let h=z.nextColumn.getWidth();i>0&&h<=z.nextColumn.minWidth&&(z.nextColumn=z.nextColumn.nextColumn()),z.nextColumn&&z.nextColumn.setWidth(z.nextColumn.getWidth()-i)}z.table.columnManager.rerenderColumns(!0),!z.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights()}function m(t){z.startColumn.modules.edit&&(z.startColumn.modules.edit.blocked=!1),z.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights(),document.body.removeEventListener("mouseup",m),document.body.removeEventListener("mousemove",k),E.removeEventListener("touchmove",k),E.removeEventListener("touchend",m),z.table.element.classList.remove("tabulator-block-select"),z.startWidth!==r.getWidth()&&(z.table.columnManager.verticalAlignHeaders(),z.dispatch("column-resized",r),z.table.externalEvents.dispatch("columnResized",r.getComponent()))}e.stopPropagation(),z.startColumn.modules.edit&&(z.startColumn.modules.edit.blocked=!0),z.startX=typeof e.screenX>"u"?e.touches[0].screenX:e.screenX,z.latestX=z.startX,z.startWidth=r.getWidth(),document.body.addEventListener("mousemove",k),document.body.addEventListener("mouseup",m),E.addEventListener("touchmove",k,{passive:!0}),E.addEventListener("touchend",m)}}qM.moduleName="resizeColumns";class WM extends qi{constructor(e){super(e),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption("resizableRows",!1)}initialize(){this.table.options.resizableRows&&this.subscribe("row-layout-after",this.initializeRow.bind(this))}initializeRow(e){var r=this,E=e.getElement(),z=document.createElement("div");z.className="tabulator-row-resize-handle";var k=document.createElement("div");k.className="tabulator-row-resize-handle prev",z.addEventListener("click",function(d){d.stopPropagation()});var m=function(d){r.startRow=e,r._mouseDown(d,e,z)};z.addEventListener("mousedown",m),z.addEventListener("touchstart",m,{passive:!0}),k.addEventListener("click",function(d){d.stopPropagation()});var t=function(d){var y=r.table.rowManager.prevDisplayRow(e);y&&(r.startRow=y,r._mouseDown(d,y,k))};k.addEventListener("mousedown",t),k.addEventListener("touchstart",t,{passive:!0}),E.appendChild(z),E.appendChild(k)}_mouseDown(e,r,E){var z=this;z.table.element.classList.add("tabulator-block-select");function k(t){r.setHeight(z.startHeight+((typeof t.screenY>"u"?t.touches[0].screenY:t.screenY)-z.startY))}function m(t){document.body.removeEventListener("mouseup",k),document.body.removeEventListener("mousemove",k),E.removeEventListener("touchmove",k),E.removeEventListener("touchend",m),z.table.element.classList.remove("tabulator-block-select"),z.dispatchExternal("rowResized",r.getComponent())}e.stopPropagation(),z.startY=typeof e.screenY>"u"?e.touches[0].screenY:e.screenY,z.startHeight=r.getHeight(),document.body.addEventListener("mousemove",k),document.body.addEventListener("mouseup",m),E.addEventListener("touchmove",k,{passive:!0}),E.addEventListener("touchend",m)}}WM.moduleName="resizeRows";class $M extends qi{constructor(e){super(e),this.binding=!1,this.visibilityObserver=!1,this.resizeObserver=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.visible=!1,this.initialized=!1,this.initialRedraw=!1,this.registerTableOption("autoResize",!0)}initialize(){if(this.table.options.autoResize){var e=this.table,r;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),typeof IntersectionObserver<"u"&&typeof ResizeObserver<"u"&&e.rowManager.getRenderMode()==="virtual"?(this.initializeVisibilityObserver(),this.autoResize=!0,this.resizeObserver=new ResizeObserver(E=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var z=Math.floor(E[0].contentRect.height),k=Math.floor(E[0].contentRect.width);(this.tableHeight!=z||this.tableWidth!=k)&&(this.tableHeight=z,this.tableWidth=k,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.redrawTable())}}),this.resizeObserver.observe(e.element),r=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(r.getPropertyValue("max-height")||r.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(E=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var z=Math.floor(E[0].contentRect.height),k=Math.floor(E[0].contentRect.width);(this.containerHeight!=z||this.containerWidth!=k)&&(this.containerHeight=z,this.containerWidth=k,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),this.redrawTable()}}),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe("table-resize",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell))&&(e.columnManager.rerenderColumns(!0),e.redraw())},window.addEventListener("resize",this.binding)),this.subscribe("table-destroy",this.clearBindings.bind(this))}}initializeVisibilityObserver(){this.visibilityObserver=new IntersectionObserver(e=>{this.visible=e[0].isIntersecting,this.initialized?this.visible&&(this.redrawTable(this.initialRedraw),this.initialRedraw=!1):(this.initialized=!0,this.initialRedraw=!this.visible)}),this.visibilityObserver.observe(this.table.element)}redrawTable(e){this.initialized&&this.visible&&(this.table.columnManager.rerenderColumns(!0),this.table.redraw(e))}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener("resize",this.binding),this.resizeObserver&&this.resizeObserver.unobserve(this.table.element),this.visibilityObserver&&this.visibilityObserver.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}$M.moduleName="resizeTable";class YM extends qi{constructor(e){super(e),this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption("responsiveLayout",!1),this.registerTableOption("responsiveLayoutCollapseStartOpen",!0),this.registerTableOption("responsiveLayoutCollapseUseFormatters",!0),this.registerTableOption("responsiveLayoutCollapseFormatter",!1),this.registerColumnOption("responsive")}initialize(){this.table.options.responsiveLayout&&(this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-show",this.updateColumnVisibility.bind(this)),this.subscribe("column-hide",this.updateColumnVisibility.bind(this)),this.subscribe("columns-loaded",this.initializeResponsivity.bind(this)),this.subscribe("column-moved",this.initializeResponsivity.bind(this)),this.subscribe("column-add",this.initializeResponsivity.bind(this)),this.subscribe("column-delete",this.initializeResponsivity.bind(this)),this.subscribe("table-redrawing",this.tableRedraw.bind(this)),this.table.options.responsiveLayout==="collapse"&&(this.subscribe("row-data-changed",this.generateCollapsedRowContent.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout",this.layoutRow.bind(this))))}tableRedraw(e){["fitColumns","fitDataStretch"].indexOf(this.layoutMode())===-1&&(e||this.update())}initializeResponsivity(){var e=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((r,E)=>{r.modules.responsive&&r.modules.responsive.order&&r.modules.responsive.visible&&(r.modules.responsive.index=E,e.push(r),!r.visible&&this.mode==="collapse"&&this.hiddenColumns.push(r))}),e=e.reverse(),e=e.sort((r,E)=>{var z=E.modules.responsive.order-r.modules.responsive.order;return z||E.modules.responsive.index-r.modules.responsive.index}),this.columns=e,this.mode==="collapse"&&this.generateCollapsedContent();for(let r of this.table.columnManager.columnsByIndex)if(r.definition.formatter=="responsiveCollapse"){this.collapseHandleColumn=r;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(e){var r=e.getDefinition();e.modules.responsive={order:typeof r.responsive>"u"?1:r.responsive,visible:r.visible!==!1}}initializeRow(e){var r;e.type!=="calc"&&(r=document.createElement("div"),r.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:r,open:this.collapseStartOpen},this.collapseStartOpen||(r.style.display="none"))}layoutRow(e){var r=e.getElement();e.modules.responsiveLayout&&(r.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))}updateColumnVisibility(e,r){!r&&e.modules.responsive&&(e.modules.responsive.visible=e.visible,this.initializeResponsivity())}hideColumn(e){var r=this.hiddenColumns.length;e.hide(!1,!0),this.mode==="collapse"&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!r&&this.collapseHandleColumn.show())}showColumn(e){var r;e.show(!1,!0),e.setWidth(e.getWidth()),this.mode==="collapse"&&(r=this.hiddenColumns.indexOf(e),r>-1&&this.hiddenColumns.splice(r,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var e=!0;e;){let r=this.table.modules.layout.getMode()=="fitColumns"?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),E=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-r;if(E<0){let z=this.columns[this.index];z?(this.hideColumn(z),this.index++):e=!1}else{let z=this.columns[this.index-1];z&&E>0&&E>=z.getWidth()?(this.showColumn(z),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var e=this.table.rowManager.getDisplayRows();e.forEach(r=>{this.generateCollapsedRowContent(r)})}generateCollapsedRowContent(e){var r,E;if(e.modules.responsiveLayout){for(r=e.modules.responsiveLayout.element;r.firstChild;)r.removeChild(r.firstChild);E=this.collapseFormatter(this.generateCollapsedRowData(e)),E&&r.appendChild(E)}}generateCollapsedRowData(e){var r=e.getData(),E=[],z;return this.hiddenColumns.forEach(k=>{var m=k.getFieldValue(r);if(k.definition.title&&k.field)if(k.modules.format&&this.table.options.responsiveLayoutCollapseUseFormatters){let d=function(y){y()};var t=d;z={value:!1,data:{},getValue:function(){return m},getData:function(){return r},getType:function(){return"cell"},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return k.getComponent()},getTable:()=>this.table},E.push({field:k.field,title:k.definition.title,value:k.modules.format.formatter.call(this.table.modules.format,z,k.modules.format.params,d)})}else E.push({field:k.field,title:k.definition.title,value:m})}),E}formatCollapsedData(e){var r=document.createElement("table");return e.forEach(function(E){var z=document.createElement("tr"),k=document.createElement("td"),m=document.createElement("td"),t,d=document.createElement("strong");k.appendChild(d),this.langBind("columns|"+E.field,function(y){d.innerHTML=y||E.title}),E.value instanceof Node?(t=document.createElement("div"),t.appendChild(E.value),m.appendChild(t)):m.innerHTML=E.value,z.appendChild(k),z.appendChild(m),r.appendChild(z)},this),Object.keys(e).length?r:""}}YM.moduleName="responsiveLayout";class ZM extends qi{constructor(e){super(e),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption("selectableRows","highlight"),this.registerTableOption("selectableRowsRangeMode","drag"),this.registerTableOption("selectableRowsRollingSelection",!0),this.registerTableOption("selectableRowsPersistence",!0),this.registerTableOption("selectableRowsCheck",function(r,E){return!0}),this.registerTableFunction("selectRow",this.selectRows.bind(this)),this.registerTableFunction("deselectRow",this.deselectRows.bind(this)),this.registerTableFunction("toggleSelectRow",this.toggleRow.bind(this)),this.registerTableFunction("getSelectedRows",this.getSelectedRows.bind(this)),this.registerTableFunction("getSelectedData",this.getSelectedData.bind(this)),this.registerComponentFunction("row","select",this.selectRows.bind(this)),this.registerComponentFunction("row","deselect",this.deselectRows.bind(this)),this.registerComponentFunction("row","toggleSelect",this.toggleRow.bind(this)),this.registerComponentFunction("row","isSelected",this.isRowSelected.bind(this))}initialize(){this.deprecatedOptionsCheck(),this.table.options.selectableRows==="highlight"&&this.table.options.selectableRange&&(this.table.options.selectableRows=!1),this.table.options.selectableRows!==!1&&(this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-deleting",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clearSelectionData.bind(this)),this.subscribe("rows-retrieve",this.rowRetrieve.bind(this)),this.table.options.selectableRows&&!this.table.options.selectableRowsPersistence&&this.subscribe("data-refreshing",this.deselectRows.bind(this)))}deprecatedOptionsCheck(){this.deprecationCheck("selectable","selectableRows",!0),this.deprecationCheck("selectableRollingSelection","selectableRowsRollingSelection",!0),this.deprecationCheck("selectableRangeMode","selectableRowsRangeMode",!0),this.deprecationCheck("selectablePersistence","selectableRowsPersistence",!0),this.deprecationCheck("selectableCheck","selectableRowsCheck",!0)}rowRetrieve(e,r){return e==="selected"?this.selectedRows:r}rowDeleted(e){this._deselectRow(e,!0)}clearSelectionData(e){var r=this.selectedRows.length;this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],r&&e!==!0&&this._rowSelectionChanged()}initializeRow(e){var r=this,E=r.checkRowSelectability(e),z=e.getElement(),k=function(){setTimeout(function(){r.selecting=!1},50),document.body.removeEventListener("mouseup",k)};e.modules.select={selected:!1},z.classList.toggle("tabulator-selectable",E),z.classList.toggle("tabulator-unselectable",!E),r.checkRowSelectability(e)&&r.table.options.selectableRows&&r.table.options.selectableRows!="highlight"&&(r.table.options.selectableRowsRangeMode==="click"?z.addEventListener("click",this.handleComplexRowClick.bind(this,e)):(z.addEventListener("click",function(m){(!r.table.modExists("edit")||!r.table.modules.edit.getCurrentCell())&&r.table._clearSelection(),r.selecting||r.toggleRow(e)}),z.addEventListener("mousedown",function(m){if(m.shiftKey)return r.table._clearSelection(),r.selecting=!0,r.selectPrev=[],document.body.addEventListener("mouseup",k),document.body.addEventListener("keyup",k),r.toggleRow(e),!1}),z.addEventListener("mouseenter",function(m){r.selecting&&(r.table._clearSelection(),r.toggleRow(e),r.selectPrev[1]==e&&r.toggleRow(r.selectPrev[0]))}),z.addEventListener("mouseout",function(m){r.selecting&&(r.table._clearSelection(),r.selectPrev.unshift(e))})))}handleComplexRowClick(e,r){if(r.shiftKey){this.table._clearSelection(),this.lastClickedRow=this.lastClickedRow||e;var E=this.table.rowManager.getDisplayRowIndex(this.lastClickedRow),z=this.table.rowManager.getDisplayRowIndex(e),k=E<=z?E:z,m=E>=z?E:z,t=this.table.rowManager.getDisplayRows().slice(0),d=t.splice(k,m-k+1);r.ctrlKey||r.metaKey?(d.forEach(y=>{y!==this.lastClickedRow&&(this.table.options.selectableRows!==!0&&!this.isRowSelected(e)?this.selectedRows.lengththis.table.options.selectableRows&&(d=d.slice(0,this.table.options.selectableRows)),this.selectRows(d)),this.table._clearSelection()}else r.ctrlKey||r.metaKey?(this.toggleRow(e),this.lastClickedRow=e):(this.deselectRows(void 0,!0),this.selectRows(e),this.lastClickedRow=e)}checkRowSelectability(e){return e&&e.type==="row"?this.table.options.selectableRowsCheck.call(this.table,e.getComponent()):!1}toggleRow(e){this.checkRowSelectability(e)&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))}selectRows(e){var r=[],E,z;switch(typeof e){case"undefined":E=this.table.rowManager.rows;break;case"number":E=this.table.rowManager.findRow(e);break;case"string":E=this.table.rowManager.findRow(e),E||(E=this.table.rowManager.getRows(e));break;default:E=e;break}Array.isArray(E)?E.length&&(E.forEach(k=>{z=this._selectRow(k,!0,!0),z&&r.push(z)}),this._rowSelectionChanged(!1,r)):E&&this._selectRow(E,!1,!0)}_selectRow(e,r,E){if(!isNaN(this.table.options.selectableRows)&&this.table.options.selectableRows!==!0&&!E&&this.selectedRows.length>=this.table.options.selectableRows)if(this.table.options.selectableRowsRollingSelection)this._deselectRow(this.selectedRows[0]);else return!1;var z=this.table.rowManager.findRow(e);if(z){if(this.selectedRows.indexOf(z)==-1)return z.getElement().classList.add("tabulator-selected"),z.modules.select||(z.modules.select={}),z.modules.select.selected=!0,z.modules.select.checkboxEl&&(z.modules.select.checkboxEl.checked=!0),this.selectedRows.push(z),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(z,!0),this.dispatchExternal("rowSelected",z.getComponent()),this._rowSelectionChanged(r,z),z}else r||console.warn("Selection Error - No such row found, ignoring selection:"+e)}isRowSelected(e){return this.selectedRows.indexOf(e)!==-1}deselectRows(e,r){var E=[],z,k;switch(typeof e){case"undefined":z=Object.assign([],this.selectedRows);break;case"number":z=this.table.rowManager.findRow(e);break;case"string":z=this.table.rowManager.findRow(e),z||(z=this.table.rowManager.getRows(e));break;default:z=e;break}Array.isArray(z)?z.length&&(z.forEach(m=>{k=this._deselectRow(m,!0,!0),k&&E.push(k)}),this._rowSelectionChanged(r,[],E)):z&&this._deselectRow(z,r,!0)}_deselectRow(e,r){var E=this,z=E.table.rowManager.findRow(e),k,m;if(z){if(k=E.selectedRows.findIndex(function(t){return t==z}),k>-1)return m=z.getElement(),m&&m.classList.remove("tabulator-selected"),z.modules.select||(z.modules.select={}),z.modules.select.selected=!1,z.modules.select.checkboxEl&&(z.modules.select.checkboxEl.checked=!1),E.selectedRows.splice(k,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(z,!1),this.dispatchExternal("rowDeselected",z.getComponent()),E._rowSelectionChanged(r,void 0,z),z}else r||console.warn("Deselection Error - No such row found, ignoring selection:"+e)}getSelectedData(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getData())}),e}getSelectedRows(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getComponent())}),e}_rowSelectionChanged(e,r=[],E=[]){this.headerCheckboxElement&&(this.selectedRows.length===0?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||(Array.isArray(r)||(r=[r]),r=r.map(z=>z.getComponent()),Array.isArray(E)||(E=[E]),E=E.map(z=>z.getComponent()),this.dispatchExternal("rowSelectionChanged",this.getSelectedData(),this.getSelectedRows(),r,E))}registerRowSelectCheckbox(e,r){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=r}registerHeaderSelectCheckbox(e){this.headerCheckboxElement=e}childRowSelection(e,r){var E=this.table.modules.dataTree.getChildren(e,!0);if(r)for(let z of E)this._selectRow(z,!0);else for(let z of E)this._deselectRow(z,!0)}}ZM.moduleName="selectRow";function xO(n,e,r,E,z,k,m){var t=m.alignEmptyValues,d=m.decimalSeparator,y=m.thousandSeparator,i=0;if(n=String(n),e=String(e),y&&(n=n.split(y).join(""),e=e.split(y).join("")),d&&(n=n.split(d).join("."),e=e.split(d).join(".")),n=parseFloat(n),e=parseFloat(e),isNaN(n))i=isNaN(e)?0:-1;else if(isNaN(e))i=1;else return n-e;return(t==="top"&&k==="desc"||t==="bottom"&&k==="asc")&&(i*=-1),i}function _O(n,e,r,E,z,k,m){var t=m.alignEmptyValues,d=0,y;if(!n)d=e?-1:0;else if(!e)d=1;else{switch(typeof m.locale){case"boolean":m.locale&&(y=this.langLocale());break;case"string":y=m.locale;break}return String(n).toLowerCase().localeCompare(String(e).toLowerCase(),y)}return(t==="top"&&k==="desc"||t==="bottom"&&k==="asc")&&(d*=-1),d}function q2(n,e,r,E,z,k,m){var t=window.DateTime||luxon.DateTime,d=m.format||"dd/MM/yyyy HH:mm:ss",y=m.alignEmptyValues,i=0;if(typeof t<"u"){if(t.isDateTime(n)||(d==="iso"?n=t.fromISO(String(n)):n=t.fromFormat(String(n),d)),t.isDateTime(e)||(d==="iso"?e=t.fromISO(String(e)):e=t.fromFormat(String(e),d)),!n.isValid)i=e.isValid?-1:0;else if(!e.isValid)i=1;else return n-e;return(y==="top"&&k==="desc"||y==="bottom"&&k==="asc")&&(i*=-1),i}else console.error("Sort Error - 'datetime' sorter is dependant on luxon.js")}function wO(n,e,r,E,z,k,m){return m.format||(m.format="dd/MM/yyyy"),q2.call(this,n,e,r,E,z,k,m)}function TO(n,e,r,E,z,k,m){return m.format||(m.format="HH:mm"),q2.call(this,n,e,r,E,z,k,m)}function kO(n,e,r,E,z,k,m){var t=n===!0||n==="true"||n==="True"||n===1?1:0,d=e===!0||e==="true"||e==="True"||e===1?1:0;return t-d}function MO(n,e,r,E,z,k,m){var t=m.type||"length",d=m.alignEmptyValues,y=0;function i(M){var g;switch(t){case"length":g=M.length;break;case"sum":g=M.reduce(function(h,l){return h+l});break;case"max":g=Math.max.apply(null,M);break;case"min":g=Math.min.apply(null,M);break;case"avg":g=M.reduce(function(h,l){return h+l})/M.length;break}return g}if(!Array.isArray(n))y=Array.isArray(e)?-1:0;else if(!Array.isArray(e))y=1;else return i(e)-i(n);return(d==="top"&&k==="desc"||d==="bottom"&&k==="asc")&&(y*=-1),y}function AO(n,e,r,E,z,k,m){var t=typeof n>"u"?0:1,d=typeof e>"u"?0:1;return t-d}function SO(n,e,r,E,z,k,m){var t,d,y,i,M=0,g,h=/(\d+)|(\D+)/g,l=/\d/,a=m.alignEmptyValues,u=0;if(!n&&n!==0)u=!e&&e!==0?0:-1;else if(!e&&e!==0)u=1;else{if(isFinite(n)&&isFinite(e))return n-e;if(t=String(n).toLowerCase(),d=String(e).toLowerCase(),t===d)return 0;if(!(l.test(t)&&l.test(d)))return t>d?1:-1;for(t=t.match(h),d=d.match(h),g=t.length>d.length?d.length:t.length;Mi?1:-1;return t.length>d.length}return(a==="top"&&k==="desc"||a==="bottom"&&k==="asc")&&(u*=-1),u}var CO={number:xO,string:_O,date:wO,time:TO,datetime:q2,boolean:kO,array:MO,exists:AO,alphanum:SO};class jd extends qi{constructor(e){super(e),this.sortList=[],this.changed=!1,this.registerTableOption("sortMode","local"),this.registerTableOption("initialSort",!1),this.registerTableOption("columnHeaderSortMulti",!0),this.registerTableOption("sortOrderReverse",!1),this.registerTableOption("headerSortElement","
"),this.registerTableOption("headerSortClickElement","header"),this.registerColumnOption("sorter"),this.registerColumnOption("sorterParams"),this.registerColumnOption("headerSort",!0),this.registerColumnOption("headerSortStartingDir"),this.registerColumnOption("headerSortTristate")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction("setSort",this.userSetSort.bind(this)),this.registerTableFunction("getSorters",this.getSort.bind(this)),this.registerTableFunction("clearSort",this.clearSort.bind(this)),this.table.options.sortMode==="remote"&&this.subscribe("data-params",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(e,r,E,z){var k=this.getSort();return k.forEach(m=>{delete m.column}),z.sort=k,z}userSetSort(e,r){this.setSort(e,r),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(e){var r=!1,E,z;switch(typeof e.definition.sorter){case"string":jd.sorters[e.definition.sorter]?r=jd.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":r=e.definition.sorter;break}if(e.modules.sort={sorter:r,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},e.definition.headerSort!==!1){switch(E=e.getElement(),E.classList.add("tabulator-sortable"),z=document.createElement("div"),z.classList.add("tabulator-col-sorter"),this.table.options.headerSortClickElement){case"icon":z.classList.add("tabulator-col-sorter-element");break;case"header":E.classList.add("tabulator-col-sorter-element");break;default:E.classList.add("tabulator-col-sorter-element");break}switch(this.table.options.headerSortElement){case"function":break;case"object":z.appendChild(this.table.options.headerSortElement);break;default:z.innerHTML=this.table.options.headerSortElement}e.titleHolderElement.appendChild(z),e.modules.sort.element=z,this.setColumnHeaderSortIcon(e,"none"),this.table.options.headerSortClickElement==="icon"&&z.addEventListener("mousedown",k=>{k.stopPropagation()}),(this.table.options.headerSortClickElement==="icon"?z:E).addEventListener("click",k=>{var m="",t=[],d=!1;if(e.modules.sort){if(e.modules.sort.tristate)e.modules.sort.dir=="none"?m=e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?m=e.modules.sort.dir=="asc"?"desc":"asc":m="none";else switch(e.modules.sort.dir){case"asc":m="desc";break;case"desc":m="asc";break;default:m=e.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(k.shiftKey||k.ctrlKey)?(t=this.getSort(),d=t.findIndex(y=>y.field===e.getField()),d>-1?(t[d].dir=m,d=t.splice(d,1)[0],m!="none"&&t.push(d)):m!="none"&&t.push({column:e,dir:m}),this.setSort(t)):m=="none"?this.clear():this.setSort(e,m),this.refreshSort()}})}}refreshSort(){this.table.options.sortMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0)}hasChanged(){var e=this.changed;return this.changed=!1,e}getSort(){var e=this,r=[];return e.sortList.forEach(function(E){E.column&&r.push({column:E.column.getComponent(),field:E.column.getField(),dir:E.dir})}),r}setSort(e,r){var E=this,z=[];Array.isArray(e)||(e=[{column:e,dir:r}]),e.forEach(function(k){var m;m=E.table.columnManager.findColumn(k.column),m?(k.column=m,z.push(k),E.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",k.column)}),E.sortList=z,this.dispatch("sort-changed")}clear(){this.setSort([])}findSorter(e){var r=this.table.rowManager.activeRows[0],E="string",z,k;if(r&&(r=r.getData(),z=e.getField(),z))switch(k=e.getFieldValue(r),typeof k){case"undefined":E="string";break;case"boolean":E="boolean";break;default:!isNaN(k)&&k!==""?E="number":k.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(E="alphanum");break}return jd.sorters[E]}sort(e){var r=this,E=this.table.options.sortOrderReverse?r.sortList.slice().reverse():r.sortList,z=[],k=[];return this.subscribedExternal("dataSorting")&&this.dispatchExternal("dataSorting",r.getSort()),r.clearColumnHeaders(),this.table.options.sortMode!=="remote"?(E.forEach(function(m,t){var d;m.column&&(d=m.column.modules.sort,d&&(d.sorter||(d.sorter=r.findSorter(m.column)),m.params=typeof d.params=="function"?d.params(m.column.getComponent(),m.dir):d.params,z.push(m)),r.setColumnHeader(m.column,m.dir))}),z.length&&r._sortItems(e,z)):E.forEach(function(m,t){r.setColumnHeader(m.column,m.dir)}),this.subscribedExternal("dataSorted")&&(e.forEach(m=>{k.push(m.getComponent())}),this.dispatchExternal("dataSorted",r.getSort(),k)),e}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach(e=>{e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"),this.setColumnHeaderSortIcon(e,"none"))})}setColumnHeader(e,r){e.modules.sort.dir=r,e.getElement().setAttribute("aria-sort",r==="asc"?"ascending":"descending"),this.setColumnHeaderSortIcon(e,r)}setColumnHeaderSortIcon(e,r){var E=e.modules.sort.element,z;if(e.definition.headerSort&&typeof this.table.options.headerSortElement=="function"){for(;E.firstChild;)E.removeChild(E.firstChild);z=this.table.options.headerSortElement.call(this.table,e.getComponent(),r),typeof z=="object"?E.appendChild(z):E.innerHTML=z}}_sortItems(e,r){var E=r.length-1;e.sort((z,k)=>{for(var m,t=E;t>=0;t--){let d=r[t];if(m=this._sortRow(z,k,d.column,d.dir,d.params),m!==0)break}return m})}_sortRow(e,r,E,z,k){var m,t,d=z=="asc"?e:r,y=z=="asc"?r:e;return e=E.getFieldValue(d.getData()),r=E.getFieldValue(y.getData()),e=typeof e<"u"?e:"",r=typeof r<"u"?r:"",m=d.getComponent(),t=y.getComponent(),E.modules.sort.sorter.call(this,e,r,m,t,E.getComponent(),z,k)}}jd.moduleName="sort";jd.sorters=CO;class EO{constructor(e){return this._range=e,new Proxy(this,{get:function(r,E,z){return typeof r[E]<"u"?r[E]:r._range.table.componentFunctionBinder.handle("range",r._range,E)}})}getElement(){return this._range.element}getData(){return this._range.getData()}getCells(){return this._range.getCells(!0)}getStructuredCells(){return this._range.getStructuredCells()}getRows(){return this._range.getRows().map(e=>e.getComponent())}getColumns(){return this._range.getColumns().map(e=>e.getComponent())}getBounds(){return this._range.getBounds()}getTopEdge(){return this._range.top}getBottomEdge(){return this._range.bottom}getLeftEdge(){return this._range.left}getRightEdge(){return this._range.right}setBounds(e,r){this._range.destroyedGuard("setBounds")&&this._range.setBounds(e&&e._cell,r&&r._cell)}setStartBound(e){this._range.destroyedGuard("setStartBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}setEndBound(e){this._range.destroyedGuard("setEndBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}clearValues(){this._range.destroyedGuard("clearValues")&&this._range.clearValues()}remove(){this._range.destroyedGuard("remove")&&this._range.destroy(!0)}}class LO extends Ml{constructor(e,r,E,z){super(e),this.rangeManager=r,this.element=null,this.initialized=!1,this.initializing={start:!1,end:!1},this.destroyed=!1,this.top=0,this.bottom=0,this.left=0,this.right=0,this.table=e,this.start={row:0,col:0},this.end={row:0,col:0},this.rangeManager.rowHeader&&(this.left=1,this.right=1,this.start.col=1,this.end.col=1),this.initElement(),setTimeout(()=>{this.initBounds(E,z)})}initElement(){this.element=document.createElement("div"),this.element.classList.add("tabulator-range")}initBounds(e,r){this._updateMinMax(),e&&this.setBounds(e,r||e)}setStart(e,r){(this.start.row!==e||this.start.col!==r)&&(this.start.row=e,this.start.col=r,this.initializing.start=!0,this._updateMinMax())}setEnd(e,r){(this.end.row!==e||this.end.col!==r)&&(this.end.row=e,this.end.col=r,this.initializing.end=!0,this._updateMinMax())}setBounds(e,r,E){e&&this.setStartBound(e),this.setEndBound(r||e),this.rangeManager.layoutElement(E)}setStartBound(e){var r,E;e.type==="column"?this.rangeManager.columnSelection&&this.setStart(0,e.getPosition()-1):(r=e.row.position-1,E=e.column.getPosition()-1,e.column===this.rangeManager.rowHeader?this.setStart(r,1):this.setStart(r,E))}setEndBound(e){var r=this._getTableRows().length,E,z,k;e.type==="column"?this.rangeManager.columnSelection&&(this.rangeManager.selecting==="column"?this.setEnd(r-1,e.getPosition()-1):this.rangeManager.selecting==="cell"&&this.setEnd(0,e.getPosition()-1)):(E=e.row.position-1,z=e.column.getPosition()-1,k=e.column===this.rangeManager.rowHeader,this.rangeManager.selecting==="row"?this.setEnd(E,this._getTableColumns().length-1):this.rangeManager.selecting!=="row"&&k?this.setEnd(E,0):this.rangeManager.selecting==="column"?this.setEnd(r-1,z):this.setEnd(E,z))}_updateMinMax(){this.top=Math.min(this.start.row,this.end.row),this.bottom=Math.max(this.start.row,this.end.row),this.left=Math.min(this.start.col,this.end.col),this.right=Math.max(this.start.col,this.end.col),this.initialized?this.dispatchExternal("rangeChanged",this.getComponent()):this.initializing.start&&this.initializing.end&&(this.initialized=!0,this.dispatchExternal("rangeAdded",this.getComponent()))}_getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}_getTableRows(){return this.table.rowManager.getDisplayRows()}layout(){var e=this.table.rowManager.renderer.vDomTop,r=this.table.rowManager.renderer.vDomBottom,E=this.table.columnManager.renderer.leftCol,z=this.table.columnManager.renderer.rightCol,k,m,t,d,y,i;e==null&&(e=0),r==null&&(r=1/0),E==null&&(E=0),z==null&&(z=1/0),this.overlaps(E,e,z,r)&&(k=Math.max(this.top,e),m=Math.min(this.bottom,r),t=Math.max(this.left,E),d=Math.min(this.right,z),y=this.rangeManager.getCell(k,t),i=this.rangeManager.getCell(m,d),this.element.classList.add("tabulator-range-active"),this.element.style.left=y.row.getElement().offsetLeft+y.getElement().offsetLeft+"px",this.element.style.top=y.row.getElement().offsetTop+"px",this.element.style.width=i.getElement().offsetLeft+i.getElement().offsetWidth-y.getElement().offsetLeft+"px",this.element.style.height=i.row.getElement().offsetTop+i.row.getElement().offsetHeight-y.row.getElement().offsetTop+"px")}atTopLeft(e){return e.row.position-1===this.top&&e.column.getPosition()-1===this.left}atBottomRight(e){return e.row.position-1===this.bottom&&e.column.getPosition()-1===this.right}occupies(e){return this.occupiesRow(e.row)&&this.occupiesColumn(e.column)}occupiesRow(e){return this.top<=e.position-1&&e.position-1<=this.bottom}occupiesColumn(e){return this.left<=e.getPosition()-1&&e.getPosition()-1<=this.right}overlaps(e,r,E,z){return!(this.left>E||e>this.right||this.top>z||r>this.bottom)}getData(){var e=[],r=this.getRows(),E=this.getColumns();return r.forEach(z=>{var k=z.getData(),m={};E.forEach(t=>{m[t.field]=k[t.field]}),e.push(m)}),e}getCells(e,r){var E=[],z=this.getRows(),k=this.getColumns();return e?E=z.map(m=>{var t=[];return m.getCells().forEach(d=>{k.includes(d.column)&&t.push(r?d.getComponent():d)}),t}):z.forEach(m=>{m.getCells().forEach(t=>{k.includes(t.column)&&E.push(r?t.getComponent():t)})}),E}getStructuredCells(){return this.getCells(!0,!0)}getRows(){return this._getTableRows().slice(this.top,this.bottom+1)}getColumns(){return this._getTableColumns().slice(this.left,this.right+1)}clearValues(){var e=this.getCells(),r=this.table.options.selectableRangeClearCellsValue;this.table.blockRedraw(),e.forEach(E=>{E.setValue(r)}),this.table.restoreRedraw()}getBounds(e){var r=this.getCells(!1,e),E={start:null,end:null};return r.length?(E.start=r[0],E.end=r[r.length-1]):console.warn("No bounds defined on range"),E}getComponent(){return this.component||(this.component=new EO(this)),this.component}destroy(e){this.destroyed=!0,this.element.remove(),e&&this.rangeManager.rangeRemoved(this),this.initialized&&this.dispatchExternal("rangeRemoved",this.getComponent())}destroyedGuard(e){return this.destroyed&&console.warn("You cannot call the "+e+" function on a destroyed range"),!this.destroyed}}class XM extends qi{constructor(e){super(e),this.selecting="cell",this.mousedown=!1,this.ranges=[],this.overlay=null,this.rowHeader=null,this.layoutChangeTimeout=null,this.columnSelection=!1,this.rowSelection=!1,this.maxRanges=0,this.activeRange=!1,this.blockKeydown=!1,this.keyDownEvent=this._handleKeyDown.bind(this),this.mouseUpEvent=this._handleMouseUp.bind(this),this.registerTableOption("selectableRange",!1),this.registerTableOption("selectableRangeColumns",!1),this.registerTableOption("selectableRangeRows",!1),this.registerTableOption("selectableRangeClearCells",!1),this.registerTableOption("selectableRangeClearCellsValue",void 0),this.registerTableFunction("getRangesData",this.getRangesData.bind(this)),this.registerTableFunction("getRanges",this.getRanges.bind(this)),this.registerTableFunction("addRange",this.addRangeFromComponent.bind(this)),this.registerComponentFunction("cell","getRanges",this.cellGetRanges.bind(this)),this.registerComponentFunction("row","getRanges",this.rowGetRanges.bind(this)),this.registerComponentFunction("column","getRanges",this.colGetRanges.bind(this))}initialize(){this.options("selectableRange")&&(this.options("selectableRows")?console.warn("SelectRange functionality cannot be used in conjunction with row selection"):(this.maxRanges=this.options("selectableRange"),this.initializeTable(),this.initializeWatchers()))}initializeTable(){this.overlay=document.createElement("div"),this.overlay.classList.add("tabulator-range-overlay"),this.rangeContainer=document.createElement("div"),this.rangeContainer.classList.add("tabulator-range-container"),this.activeRangeCellElement=document.createElement("div"),this.activeRangeCellElement.classList.add("tabulator-range-cell-active"),this.overlay.appendChild(this.rangeContainer),this.overlay.appendChild(this.activeRangeCellElement),this.table.rowManager.element.addEventListener("keydown",this.keyDownEvent),this.resetRanges(),this.table.rowManager.element.appendChild(this.overlay),this.table.columnManager.element.setAttribute("tabindex",0),this.table.element.classList.add("tabulator-ranges")}initializeWatchers(){this.columnSelection=this.options("selectableRangeColumns"),this.rowSelection=this.options("selectableRangeRows"),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-mousedown",this.handleColumnMouseDown.bind(this)),this.subscribe("column-mousemove",this.handleColumnMouseMove.bind(this)),this.subscribe("column-resized",this.handleColumnResized.bind(this)),this.subscribe("column-width",this.layoutChange.bind(this)),this.subscribe("column-height",this.layoutChange.bind(this)),this.subscribe("column-resized",this.layoutChange.bind(this)),this.subscribe("columns-loaded",this.updateHeaderColumn.bind(this)),this.subscribe("cell-height",this.layoutChange.bind(this)),this.subscribe("cell-rendered",this.renderCell.bind(this)),this.subscribe("cell-mousedown",this.handleCellMouseDown.bind(this)),this.subscribe("cell-mousemove",this.handleCellMouseMove.bind(this)),this.subscribe("cell-click",this.handleCellClick.bind(this)),this.subscribe("cell-editing",this.handleEditingCell.bind(this)),this.subscribe("page-changed",this.redraw.bind(this)),this.subscribe("scroll-vertical",this.layoutChange.bind(this)),this.subscribe("scroll-horizontal",this.layoutChange.bind(this)),this.subscribe("data-destroy",this.tableDestroyed.bind(this)),this.subscribe("data-processed",this.resetRanges.bind(this)),this.subscribe("table-layout",this.layoutElement.bind(this)),this.subscribe("table-redraw",this.redraw.bind(this)),this.subscribe("table-destroy",this.tableDestroyed.bind(this)),this.subscribe("edit-editor-clear",this.finishEditingCell.bind(this)),this.subscribe("edit-blur",this.restoreFocus.bind(this)),this.subscribe("keybinding-nav-prev",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-next",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-left",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-right",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-up",this.keyNavigate.bind(this,"up")),this.subscribe("keybinding-nav-down",this.keyNavigate.bind(this,"down")),this.subscribe("keybinding-nav-range",this.keyNavigateRange.bind(this))}initializeColumn(e){this.columnSelection&&e.definition.headerSort&&this.options("headerSortClickElement")!=="icon"&&console.warn("Using column headerSort with selectableRangeColumns option may result in unpredictable behavior. Consider using headerSortClickElement: 'icon'."),e.modules.edit}updateHeaderColumn(){this.rowSelection&&(this.rowHeader=this.table.columnManager.getVisibleColumnsByIndex()[0],this.rowHeader&&(this.rowHeader.definition.cssClass=this.rowHeader.definition.cssClass+" tabulator-range-row-header",this.rowHeader.definition.headerSort&&console.warn("Using column headerSort with selectableRangeRows option may result in unpredictable behavior"),this.rowHeader.definition.editor&&console.warn("Using column editor with selectableRangeRows option may result in unpredictable behavior")))}getRanges(){return this.ranges.map(e=>e.getComponent())}getRangesData(){return this.ranges.map(e=>e.getData())}addRangeFromComponent(e,r){return e=e?e._cell:null,r=r?r._cell:null,this.addRange(e,r)}cellGetRanges(e){var r=[];return e.column===this.rowHeader?r=this.ranges.filter(E=>E.occupiesRow(e.row)):r=this.ranges.filter(E=>E.occupies(e)),r.map(E=>E.getComponent())}rowGetRanges(e){var r=this.ranges.filter(E=>E.occupiesRow(e));return r.map(E=>E.getComponent())}colGetRanges(e){var r=this.ranges.filter(E=>E.occupiesColumn(e));return r.map(E=>E.getComponent())}_handleMouseUp(e){this.mousedown=!1,document.removeEventListener("mouseup",this.mouseUpEvent)}_handleKeyDown(e){if(!this.blockKeydown&&(!this.table.modules.edit||this.table.modules.edit&&!this.table.modules.edit.currentCell)){if(e.key==="Enter"){if(this.table.modules.edit&&this.table.modules.edit.currentCell)return;this.table.modules.edit.editCell(this.getActiveCell()),e.preventDefault()}(e.key==="Backspace"||e.key==="Delete")&&this.options("selectableRangeClearCells")&&this.activeRange&&this.activeRange.clearValues()}}initializeFocus(e){var r;try{document.selection?(r=document.body.createTextRange(),r.moveToElementText(e.getElement()),r.select()):window.getSelection&&(r=document.createRange(),r.selectNode(e.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(r))}catch{}}restoreFocus(e){return this.table.rowManager.element.focus(),!0}handleColumnResized(e){var r;this.selecting!=="column"&&this.selecting!=="all"||(r=this.ranges.some(E=>E.occupiesColumn(e)),r&&this.ranges.forEach(E=>{var z=E.getColumns(!0);z.forEach(k=>{k!==e&&k.setWidth(e.width)})}))}handleColumnMouseDown(e,r){e.button===2&&(this.selecting==="column"||this.selecting==="all")&&this.activeRange.occupiesColumn(r)||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleColumnMouseMove(e,r){r===this.rowHeader||!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}renderCell(e){var r=e.getElement(),E=this.ranges.findIndex(z=>z.occupies(e));r.classList.toggle("tabulator-range-selected",E!==-1),r.classList.toggle("tabulator-range-only-cell-selected",this.ranges.length===1&&this.ranges[0].atTopLeft(e)&&this.ranges[0].atBottomRight(e)),r.dataset.range=E}handleCellMouseDown(e,r){e.button===2&&(this.activeRange.occupies(r)||(this.selecting==="row"||this.selecting==="all")&&this.activeRange.occupiesRow(r.row))||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleCellMouseMove(e,r){!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}handleCellClick(e,r){this.initializeFocus(r)}handleEditingCell(e){this.activeRange&&this.activeRange.setBounds(e)}finishEditingCell(){this.blockKeydown=!0,this.table.rowManager.element.focus(),setTimeout(()=>{this.blockKeydown=!1},10)}keyNavigate(e,r){this.navigate(!1,!1,e)&&r.preventDefault()}keyNavigateRange(e,r,E,z){this.navigate(E,z,r)&&e.preventDefault()}navigate(e,r,E){var z=!1,k,m,t,d,y,i;if(this.table.modules.edit&&this.table.modules.edit.currentCell)return!1;if(this.ranges.length>1&&(this.ranges=this.ranges.filter(M=>M===this.activeRange?(M.setEnd(M.start.row,M.start.col),!0):(M.destroy(),!1))),k=this.activeRange,m=r?k.end:k.start,t=m.row,d=m.col,e)switch(E){case"left":d=this.findJumpCellLeft(k.start.row,m.col);break;case"right":d=this.findJumpCellRight(k.start.row,m.col);break;case"up":t=this.findJumpCellUp(m.row,k.start.col);break;case"down":t=this.findJumpCellDown(m.row,k.start.col);break}else{if(r&&(this.selecting==="row"&&(E==="left"||E==="right")||this.selecting==="column"&&(E==="up"||E==="down")))return;switch(E){case"left":d=Math.max(d-1,0);break;case"right":d=Math.min(d+1,this.getTableColumns().length-1);break;case"up":t=Math.max(t-1,0);break;case"down":t=Math.min(t+1,this.getTableRows().length-1);break}}if(z=d!==m.col||t!==m.row,r||k.setStart(t,d),k.setEnd(t,d),r||(this.selecting="cell"),z)return y=this.getRowByRangePos(k.end.row),i=this.getColumnByRangePos(k.end.col),(E==="left"||E==="right")&&i.getElement().parentNode===null?i.getComponent().scrollTo(void 0,!1):(E==="up"||E==="down")&&y.getElement().parentNode===null?y.getComponent().scrollTo(void 0,!1):this.autoScroll(k,y.getElement(),i.getElement()),this.layoutElement(),!0}rangeRemoved(e){this.ranges=this.ranges.filter(r=>r!==e),this.activeRange===e&&(this.ranges.length?this.activeRange=this.ranges[this.ranges.length-1]:this.addRange()),this.layoutElement()}findJumpCell(e,r,E,z){var k;r&&(e=e.reverse());for(let m of e){let t=m.getValue();if(E){if(k=m,t)break}else if(z){if(k=m,t)break}else if(t)k=m;else break}return k}findJumpCellLeft(e,r){var E=this.getRowByRangePos(e),z=E.cells.filter(i=>i.column.visible),k=!z[r].getValue(),m=z[r]?!z[r].getValue():!1,t=r,d=this.rowHeader?z.slice(1,r):z.slice(0,r),y=this.findJumpCell(d,!0,k,m);return y&&(t=y.column.getPosition()-1),t}findJumpCellRight(e,r){var E=this.getRowByRangePos(e),z=E.cells.filter(y=>y.column.visible),k=!z[r].getValue(),m=z[r+1]?!z[r+1].getValue():!1,t=r,d=this.findJumpCell(z.slice(r+1,z.length),!1,k,m);return d&&(t=d.column.getPosition()-1),t}findJumpCellUp(e,r){var E=this.getColumnByRangePos(r),z=E.cells.filter(y=>this.table.rowManager.activeRows.includes(y.row)),k=!z[e].getValue(),m=z[e-1]?!z[e-1].getValue():!1,t=e,d=this.findJumpCell(z.slice(0,t),!0,k,m);return d&&(t=d.row.position-1),t}findJumpCellDown(e,r){var E=this.getColumnByRangePos(r),z=E.cells.filter(y=>this.table.rowManager.activeRows.includes(y.row)),k=!z[e].getValue(),m=z[e+1]?!z[e+1].getValue():!1,t=e,d=this.findJumpCell(z.slice(t+1,z.length),!1,k,m);return d&&(t=d.row.position-1),t}newSelection(e,r){var E;if(r.type==="column"){if(!this.columnSelection)return;if(r===this.rowHeader){E=this.resetRanges(),this.selecting="all";var z,k=this.getCell(-1,-1);this.rowHeader?z=this.getCell(0,1):z=this.getCell(0,0),E.setBounds(z,k);return}else this.selecting="column"}else r.column===this.rowHeader?this.selecting="row":this.selecting="cell";e.shiftKey?this.activeRange.setBounds(!1,r):e.ctrlKey?this.addRange().setBounds(r):this.resetRanges().setBounds(r)}autoScroll(e,r,E){var z=this.table.rowManager.element,k,m,t,d,y;typeof r>"u"&&(r=this.getRowByRangePos(e.end.row).getElement()),typeof E>"u"&&(E=this.getColumnByRangePos(e.end.col).getElement()),this.rowHeader&&(k=this.rowHeader.getElement()),m={left:E.offsetLeft,right:E.offsetLeft+E.offsetWidth,top:r.offsetTop,bottom:r.offsetTop+r.offsetHeight},t={left:z.scrollLeft,right:Math.ceil(z.scrollLeft+z.clientWidth),top:z.scrollTop,bottom:z.scrollTop+z.offsetHeight-this.table.rowManager.scrollbarWidth},k&&(t.left+=k.offsetWidth),d=t.leftt.right&&(z.scrollLeft=m.right-z.clientWidth)),y||(m.topt.bottom&&(z.scrollTop=m.bottom-z.clientHeight))}layoutChange(){this.overlay.style.visibility="hidden",clearTimeout(this.layoutChangeTimeout),this.layoutChangeTimeout=setTimeout(this.layoutRanges.bind(this),200)}redraw(e){e&&(this.selecting="cell",this.resetRanges(),this.layoutElement())}layoutElement(e){var r;e?r=this.table.rowManager.getVisibleRows(!0):r=this.table.rowManager.getRows(),r.forEach(E=>{E.type==="row"&&(this.layoutRow(E),E.cells.forEach(z=>this.renderCell(z)))}),this.getTableColumns().forEach(E=>{this.layoutColumn(E)}),this.layoutRanges()}layoutRow(e){var r=e.getElement(),E=!1,z=this.ranges.some(k=>k.occupiesRow(e));this.selecting==="row"?E=z:this.selecting==="all"&&(E=!0),r.classList.toggle("tabulator-range-selected",E),r.classList.toggle("tabulator-range-highlight",z)}layoutColumn(e){var r=e.getElement(),E=!1,z=this.ranges.some(k=>k.occupiesColumn(e));this.selecting==="column"?E=z:this.selecting==="all"&&(E=!0),r.classList.toggle("tabulator-range-selected",E),r.classList.toggle("tabulator-range-highlight",z)}layoutRanges(){var e;this.table.initialized&&(e=this.getActiveCell(),e&&(this.activeRangeCellElement.style.left=e.row.getElement().offsetLeft+e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.top=e.row.getElement().offsetTop+"px",this.activeRangeCellElement.style.width=e.getElement().offsetLeft+e.getElement().offsetWidth-e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.height=e.row.getElement().offsetTop+e.row.getElement().offsetHeight-e.row.getElement().offsetTop+"px",this.ranges.forEach(r=>r.layout()),this.overlay.style.visibility="visible"))}getCell(e,r){var E;return r<0&&(r=this.getTableColumns().length+r,r<0)?null:(e<0&&(e=this.getTableRows().length+e),E=this.table.rowManager.getRowFromPosition(e+1),E?E.getCells(!1,!0).filter(z=>z.column.visible)[r]:null)}getActiveCell(){return this.getCell(this.activeRange.start.row,this.activeRange.start.col)}getRowByRangePos(e){return this.getTableRows()[e]}getColumnByRangePos(e){return this.getTableColumns()[e]}getTableRows(){return this.table.rowManager.getDisplayRows()}getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}addRange(e,r){var E;return this.maxRanges!==!0&&this.ranges.length>=this.maxRanges&&this.ranges.shift().destroy(),E=new LO(this.table,this,e,r),this.activeRange=E,this.ranges.push(E),this.rangeContainer.appendChild(E.element),E}resetRanges(){var e,r;return this.ranges.forEach(E=>E.destroy()),this.ranges=[],e=this.addRange(),this.table.rowManager.activeRows.length&&(r=this.table.rowManager.activeRows[0].cells[this.rowHeader?1:0],r&&(e.setBounds(r),this.initializeFocus(r))),e}tableDestroyed(){document.removeEventListener("mouseup",this.mouseUpEvent),this.table.rowManager.element.removeEventListener("keydown",this.keyDownEvent)}selectedRows(e){return e?this.activeRange.getRows().map(r=>r.getComponent()):this.activeRange.getRows()}selectedColumns(e){return e?this.activeRange.getColumns().map(r=>r.getComponent()):this.activeRange.getColumns()}}XM.moduleName="selectRange";class KM extends qi{constructor(e){super(e),this.tooltipSubscriber=null,this.headerSubscriber=null,this.timeout=null,this.popupInstance=null,this.registerTableOption("tooltipGenerationMode",void 0),this.registerTableOption("tooltipDelay",300),this.registerColumnOption("tooltip"),this.registerColumnOption("headerTooltip")}initialize(){this.deprecatedOptionsCheck(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheckMsg("tooltipGenerationMode","This option is no longer needed as tooltips are always generated on hover now")}initializeColumn(e){e.definition.headerTooltip&&!this.headerSubscriber&&(this.headerSubscriber=!0,this.subscribe("column-mousemove",this.mousemoveCheck.bind(this,"headerTooltip")),this.subscribe("column-mouseout",this.mouseoutCheck.bind(this,"headerTooltip"))),e.definition.tooltip&&!this.tooltipSubscriber&&(this.tooltipSubscriber=!0,this.subscribe("cell-mousemove",this.mousemoveCheck.bind(this,"tooltip")),this.subscribe("cell-mouseout",this.mouseoutCheck.bind(this,"tooltip")))}mousemoveCheck(e,r,E){var z=e==="tooltip"?E.column.definition.tooltip:E.definition.headerTooltip;z&&(this.clearPopup(),this.timeout=setTimeout(this.loadTooltip.bind(this,r,E,z),this.table.options.tooltipDelay))}mouseoutCheck(e,r,E){this.popupInstance||this.clearPopup()}clearPopup(e,r,E){clearTimeout(this.timeout),this.timeout=null,this.popupInstance&&this.popupInstance.hide()}loadTooltip(e,r,E){var z,k,m;function t(d){k=d}typeof E=="function"&&(E=E(e,r.getComponent(),t)),E instanceof HTMLElement?z=E:(z=document.createElement("div"),E===!0&&(r instanceof eg?E=r.value:r.definition.field?this.langBind("columns|"+r.definition.field,d=>{z.innerHTML=E=d||r.definition.title}):E=r.definition.title),z.innerHTML=E),(E||E===0||E===!1)&&(z.classList.add("tabulator-tooltip"),z.addEventListener("mousemove",d=>d.preventDefault()),this.popupInstance=this.popup(z),typeof k=="function"&&this.popupInstance.renderCallback(k),m=this.popupInstance.containerEventCoords(e),this.popupInstance.show(m.x+15,m.y+15).hideOnBlur(()=>{this.dispatchExternal("TooltipClosed",r.getComponent()),this.popupInstance=null}),this.dispatchExternal("TooltipOpened",r.getComponent()))}}KM.moduleName="tooltip";var IO={integer:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&Math.floor(e)===e)},float:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&e%1!==0)},numeric:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:!isNaN(e)},string:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:isNaN(e)},alphanumeric:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var E=new RegExp(/^[a-z0-9]+$/i);return E.test(e)},max:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)<=r},min:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)>=r},starts:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().startsWith(String(r).toLowerCase())},ends:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().endsWith(String(r).toLowerCase())},minLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length>=r},maxLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length<=r},in:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(typeof r=="string"&&(r=r.split("|")),r.indexOf(e)>-1)},regex:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var E=new RegExp(r);return E.test(e)},unique:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var E=!0,z=n.getData(),k=n.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(m){var t=m.getData();t!==z&&e==k.getFieldValue(t)&&(E=!1)}),E},required:function(n,e,r){return e!==""&&e!==null&&typeof e<"u"}};class ig extends qi{constructor(e){super(e),this.invalidCells=[],this.registerTableOption("validationMode","blocking"),this.registerColumnOption("validator"),this.registerTableFunction("getInvalidCells",this.getInvalidCells.bind(this)),this.registerTableFunction("clearCellValidation",this.userClearCellValidation.bind(this)),this.registerTableFunction("validate",this.userValidate.bind(this)),this.registerComponentFunction("cell","isValid",this.cellIsValid.bind(this)),this.registerComponentFunction("cell","clearValidation",this.clearValidation.bind(this)),this.registerComponentFunction("cell","validate",this.cellValidate.bind(this)),this.registerComponentFunction("column","validate",this.columnValidate.bind(this)),this.registerComponentFunction("row","validate",this.rowValidate.bind(this))}initialize(){this.subscribe("cell-delete",this.clearValidation.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("edit-success",this.editValidate.bind(this)),this.subscribe("edit-editor-clear",this.editorClear.bind(this)),this.subscribe("edit-edited-clear",this.editedClear.bind(this))}editValidate(e,r,E){var z=this.table.options.validationMode!=="manual"?this.validate(e.column.modules.validate,e,r):!0;return z!==!0&&setTimeout(()=>{e.getElement().classList.add("tabulator-validation-fail"),this.dispatchExternal("validationFailed",e.getComponent(),r,z)}),z}editorClear(e,r){r&&e.column.modules.validate&&this.cellValidate(e),e.getElement().classList.remove("tabulator-validation-fail")}editedClear(e){e.modules.validate&&(e.modules.validate.invalid=!1)}cellIsValid(e){return e.modules.validate&&e.modules.validate.invalid||!0}cellValidate(e){return this.validate(e.column.modules.validate,e,e.getValue())}columnValidate(e){var r=[];return e.cells.forEach(E=>{this.cellValidate(E)!==!0&&r.push(E.getComponent())}),r.length?r:!0}rowValidate(e){var r=[];return e.cells.forEach(E=>{this.cellValidate(E)!==!0&&r.push(E.getComponent())}),r.length?r:!0}userClearCellValidation(e){e||(e=this.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.clearValidation(r._getSelf())})}userValidate(e){var r=[];return this.table.rowManager.rows.forEach(E=>{E=E.getComponent();var z=E.validate();z!==!0&&(r=r.concat(z))}),r.length?r:!0}initializeColumnCheck(e){typeof e.definition.validator<"u"&&this.initializeColumn(e)}initializeColumn(e){var r=this,E=[],z;e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(k=>{z=r._extractValidator(k),z&&E.push(z)}):(z=this._extractValidator(e.definition.validator),z&&E.push(z)),e.modules.validate=E.length?E:!1)}_extractValidator(e){var r,E,z;switch(typeof e){case"string":return z=e.indexOf(":"),z>-1?(r=e.substring(0,z),E=e.substring(z+1)):r=e,this._buildValidator(r,E);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}}_buildValidator(e,r){var E=typeof e=="function"?e:ig.validators[e];return E?{type:typeof e=="function"?"function":e,func:E,params:r}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)}validate(e,r,E){var z=this,k=[],m=this.invalidCells.indexOf(r);return e&&e.forEach(t=>{t.func.call(z,r.getComponent(),E,t.params)||k.push({type:t.type,parameters:t.params})}),r.modules.validate||(r.modules.validate={}),k.length?(r.modules.validate.invalid=k,this.table.options.validationMode!=="manual"&&r.getElement().classList.add("tabulator-validation-fail"),m==-1&&this.invalidCells.push(r)):(r.modules.validate.invalid=!1,r.getElement().classList.remove("tabulator-validation-fail"),m>-1&&this.invalidCells.splice(m,1)),k.length?k:!0}getInvalidCells(){var e=[];return this.invalidCells.forEach(r=>{e.push(r.getComponent())}),e}clearValidation(e){var r;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,r=this.invalidCells.indexOf(e),r>-1&&this.invalidCells.splice(r,1))}}ig.moduleName="validate";ig.validators=IO;var PO=Object.freeze({__proto__:null,AccessorModule:i0,AjaxModule:Ic,ClipboardModule:qd,ColumnCalcsModule:zh,DataTreeModule:OM,DownloadModule:a0,EditModule:tg,ExportModule:RM,FilterModule:Kf,FormatModule:Wu,FrozenColumnsModule:DM,FrozenRowsModule:zM,GroupRowsModule:FM,HistoryModule:Wd,HtmlTableImportModule:BM,ImportModule:ng,InteractionModule:NM,KeybindingsModule:Vh,MenuModule:VM,MoveColumnsModule:jM,MoveRowsModule:Yy,MutatorModule:o0,PageModule:rg,PersistenceModule:Ul,PopupModule:UM,PrintModule:HM,ReactiveDataModule:GM,ResizeColumnsModule:qM,ResizeRowsModule:WM,ResizeTableModule:$M,ResponsiveLayoutModule:YM,SelectRowModule:ZM,SortModule:jd,SelectRangeModule:XM,TooltipModule:KM,ValidateModule:ig}),OO={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,debugInvalidComponentFuncs:!0,debugInitialization:!0,debugDeprecation:!0,height:!1,minHeight:!1,maxHeight:!1,columnHeaderVertAlign:"top",popupContainer:!1,columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:".",footerElement:!1,index:"id",textDirection:"auto",addRowPos:"bottom",headerVisible:!0,renderVertical:"virtual",renderHorizontal:"basic",renderVerticalBuffer:0,scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,rowHeight:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataLoaderErrorTimeout:3e3,dataSendParams:{},dataReceiveParams:{}};class JM{constructor(e,r,E={}){this.table=e,this.msgType=r,this.registeredDefaults=Object.assign({},E)}register(e,r){this.registeredDefaults[e]=r}generate(e,r={}){var E=Object.assign({},this.registeredDefaults),z=this.table.options.debugInvalidOptions||r.debugInvalidOptions===!0;Object.assign(E,e);for(let k in r)E.hasOwnProperty(k)||(z&&console.warn("Invalid "+this.msgType+" option:",k),E[k]=r.key);for(let k in E)k in r?E[k]=r[k]:Array.isArray(E[k])?E[k]=Object.assign([],E[k]):typeof E[k]=="object"&&E[k]!==null?E[k]=Object.assign({},E[k]):typeof E[k]>"u"&&delete E[k];return E}}class Zy extends Ml{constructor(e){super(e),this.elementVertical=e.rowManager.element,this.elementHorizontal=e.columnManager.element,this.tableElement=e.rowManager.tableElement,this.verticalFillMode="fit"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(e){}renderRows(){}renderColumns(){}rerenderRows(e){e&&e()}rerenderColumns(e,r){}renderRowCells(e){}rerenderRowCells(e,r){}scrollColumns(e,r){}scrollRows(e,r){}resize(){}scrollToRow(e){}scrollToRowNearestTop(e){}visibleRows(e){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(e,r){var E=e.getElement();r%2?(E.classList.add("tabulator-row-even"),E.classList.remove("tabulator-row-odd")):(E.classList.add("tabulator-row-odd"),E.classList.remove("tabulator-row-even"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(e){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(e,r,E){var z=this.rows().indexOf(e),k=e.getElement(),m=0;return new Promise((t,d)=>{if(z>-1){if(typeof E>"u"&&(E=this.table.options.scrollToRowIfVisible),!E&&oo.elVisible(k)&&(m=oo.elOffset(k).top-oo.elOffset(this.elementVertical).top,m>0&&m"u"&&(r=this.table.options.scrollToRowPosition),r==="nearest"&&(r=this.scrollToRowNearestTop(e)?"top":"bottom"),this.scrollToRow(e),r){case"middle":case"center":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(k.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-k.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case"bottom":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-k.offsetTop)+k.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+k.offsetHeight;break;case"top":this.elementVertical.scrollTop=k.offsetTop;break}t()}else console.warn("Scroll Error - Row not visible"),d("Scroll Error - Row not visible")})}}class RO extends Zy{constructor(e){super(e)}renderRowCells(e,r){const E=document.createDocumentFragment();e.cells.forEach(z=>{E.appendChild(z.getElement())}),e.element.appendChild(E),r||e.cells.forEach(z=>{z.cellRendered()})}reinitializeColumnWidths(e){e.forEach(function(r){r.reinitializeWidth()})}}class DO extends Zy{constructor(e){super(e),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.windowBuffer=200,this.visibleRows=null,this.initialized=!1,this.isFitData=!1,this.columns=[]}initialize(){this.compatibilityCheck(),this.layoutCheck(),this.vertScrollListen()}compatibilityCheck(){this.options("layout")=="fitDataTable"&&console.warn("Horizontal Virtual DOM is not compatible with fitDataTable layout mode"),this.options("responsiveLayout")&&console.warn("Horizontal Virtual DOM is not compatible with responsive columns"),this.options("rtl")&&console.warn("Horizontal Virtual DOM is not currently compatible with RTL text direction")}layoutCheck(){this.isFitData=this.options("layout").startsWith("fitData")}vertScrollListen(){this.subscribe("scroll-vertical",this.clearVisRowCache.bind(this)),this.subscribe("data-refreshed",this.clearVisRowCache.bind(this))}clearVisRowCache(){this.visibleRows=null}renderColumns(e,r){this.dataChange()}scrollColumns(e,r){this.scrollLeft!=e&&(this.scrollLeft=e,this.scroll(e-(this.vDomScrollPosLeft+this.windowBuffer)))}calcWindowBuffer(){var e=this.elementVertical.clientWidth;this.table.columnManager.columnsByIndex.forEach(r=>{if(r.visible){var E=r.getWidth();E>e&&(e=E)}}),this.windowBuffer=e*2}rerenderColumns(e,r){var E={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol},z=0;e&&!this.initialized||(this.clear(),this.calcWindowBuffer(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.windowBuffer,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,this.table.columnManager.columnsByIndex.forEach(k=>{var m={},t;k.visible&&(k.modules.frozen||(t=k.getWidth(),m.leftPos=z,m.rightPos=z+t,m.width=t,this.isFitData&&(m.fitDataCheck=k.modules.vdomHoz?k.modules.vdomHoz.fitDataCheck:!0),z+t>this.vDomScrollPosLeft&&z{r.appendChild(E.getElement())}),e.element.appendChild(r),e.cells.forEach(E=>{E.cellRendered()})}}rerenderRowCells(e,r){this.reinitializeRow(e,r)}reinitializeColumnWidths(e){for(let r=this.leftCol;r<=this.rightCol;r++)this.columns[r].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var e=!1,r,E;if(this.isFitData){if(this.table.columnManager.columnsByIndex.forEach(z=>{!z.definition.width&&z.visible&&(e=!0)}),e&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,r=this.chain("rows-sample",[1],[],()=>this.table.rowManager.getDisplayRows())[0],r)){E=r.getElement(),r.generateCells(),this.tableElement.appendChild(E);for(let z=0;z{E!==this.columns[z]&&(r=!1)}),!r)}reinitializeRows(){var e=this.getVisibleRows(),r=this.table.rowManager.getRows().filter(E=>!e.includes(E));e.forEach(E=>{this.reinitializeRow(E,!0)}),r.forEach(E=>{E.deinitialize()})}getVisibleRows(){return this.visibleRows||(this.visibleRows=this.table.rowManager.getVisibleRows()),this.visibleRows}scroll(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,Math.abs(e)>this.windowBuffer/2?this.rerenderColumns():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(e,r,E){for(let z=e;z{if(z.type!=="group"){var k=z.getCell(E);z.getElement().insertBefore(k.getElement(),z.getCell(this.columns[this.rightCol]).getElement().nextSibling),k.cellRendered()}}),this.fitDataColActualWidthCheck(E),this.rightCol++,this.getVisibleRows().forEach(z=>{z.type!=="group"&&(z.modules.vdomHoz.rightCol=this.rightCol)}),this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=E.getWidth()):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}addColLeft(){for(var e=!1,r=!0;r;){let E=this.columns[this.leftCol-1];if(E)if(E.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){e=!0,this.getVisibleRows().forEach(k=>{if(k.type!=="group"){var m=k.getCell(E);k.getElement().insertBefore(m.getElement(),k.getCell(this.columns[this.leftCol]).getElement()),m.cellRendered()}}),this.leftCol--,this.getVisibleRows().forEach(k=>{k.type!=="group"&&(k.modules.vdomHoz.leftCol=this.leftCol)}),this.leftCol<=0?this.vDomPadLeft=0:this.vDomPadLeft-=E.getWidth();let z=this.fitDataColActualWidthCheck(E);z&&(this.scrollLeft=this.elementVertical.scrollLeft=this.elementVertical.scrollLeft+z,this.vDomPadRight-=z)}else r=!1;else r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}removeColRight(){for(var e=!1,r=!0;r;){let E=this.columns[this.rightCol];E&&E.modules.vdomHoz.leftPos>this.vDomScrollPosRight?(e=!0,this.getVisibleRows().forEach(z=>{if(z.type!=="group"){var k=z.getCell(E);try{z.getElement().removeChild(k.getElement())}catch(m){console.warn("Could not removeColRight",m.message)}}}),this.vDomPadRight+=E.getWidth(),this.rightCol--,this.getVisibleRows().forEach(z=>{z.type!=="group"&&(z.modules.vdomHoz.rightCol=this.rightCol)})):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}removeColLeft(){for(var e=!1,r=!0;r;){let E=this.columns[this.leftCol];E&&E.modules.vdomHoz.rightPos{if(z.type!=="group"){var k=z.getCell(E);try{z.getElement().removeChild(k.getElement())}catch(m){console.warn("Could not removeColLeft",m.message)}}}),this.vDomPadLeft+=E.getWidth(),this.leftCol++,this.getVisibleRows().forEach(z=>{z.type!=="group"&&(z.modules.vdomHoz.leftCol=this.leftCol)})):r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}fitDataColActualWidthCheck(e){var r,E;return e.modules.vdomHoz.fitDataCheck&&(e.reinitializeWidth(),r=e.getWidth(),E=r-e.modules.vdomHoz.width,E&&(e.modules.vdomHoz.rightPos+=E,e.modules.vdomHoz.width=r,this.colPositionAdjust(this.columns.indexOf(e)+1,this.columns.length,E)),e.modules.vdomHoz.fitDataCheck=!1),E}initializeRow(e){if(e.type!=="group"){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol},this.table.modules.frozenColumns&&this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.appendCell(e,r)});for(let r=this.leftCol;r<=this.rightCol;r++)this.appendCell(e,this.columns[r]);this.table.modules.frozenColumns&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.appendCell(e,r)})}}appendCell(e,r){if(r&&r.visible){let E=e.getCell(r);e.getElement().appendChild(E.getElement()),E.cellRendered()}}reinitializeRow(e,r){if(e.type!=="group"&&(r||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(var E=e.getElement();E.firstChild;)E.removeChild(E.firstChild);this.initializeRow(e)}}}class zO extends Ml{constructor(e){super(e),this.blockHozScrollEvent=!1,this.headersElement=null,this.contentsElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new JM(this.table,"column definition",PM),this.redrawBlock=!1,this.redrawBlockUpdate=null,this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.contentsElement=this.createHeaderContentsElement(),this.element=this.createHeaderElement(),this.contentsElement.insertBefore(this.headersElement,this.contentsElement.firstChild),this.element.insertBefore(this.contentsElement,this.element.firstChild),this.initializeScrollWheelWatcher(),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("scrollbar-vertical",this.padVerticalScrollbar.bind(this))}padVerticalScrollbar(e){this.table.rtl?this.headersElement.style.marginLeft=e+"px":this.headersElement.style.marginRight=e+"px"}initializeRenderer(){var e,r={virtual:DO,basic:RO};typeof this.table.options.renderHorizontal=="string"?e=r[this.table.options.renderHorizontal]:e=this.table.options.renderHorizontal,e?(this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error("Unable to find matching renderer:",this.table.options.renderHorizontal)}createHeadersElement(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e.setAttribute("role","row"),e}createHeaderContentsElement(){var e=document.createElement("div");return e.classList.add("tabulator-header-contents"),e.setAttribute("role","rowgroup"),e}createHeaderElement(){var e=document.createElement("div");return e.classList.add("tabulator-header"),e.setAttribute("role","rowgroup"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e}getElement(){return this.element}getContentsElement(){return this.contentsElement}getHeadersElement(){return this.headersElement}scrollHorizontal(e){this.contentsElement.scrollLeft=e,this.scrollLeft=e,this.renderer.scrollColumns(e)}initializeScrollWheelWatcher(){this.contentsElement.addEventListener("wheel",e=>{var r;e.deltaX&&(r=this.contentsElement.scrollLeft+e.deltaX,this.table.rowManager.scrollHorizontal(r),this.table.columnManager.scrollHorizontal(r))})}generateColumnsFromRowData(e){var r=[],E=this.table.options.autoColumnsDefinitions,z,k;if(e&&e.length){z=e[0];for(var m in z){let t={field:m,title:m},d=z[m];switch(typeof d){case"undefined":k="string";break;case"boolean":k="boolean";break;case"object":Array.isArray(d)?k="array":k="string";break;default:!isNaN(d)&&d!==""?k="number":d.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?k="alphanum":k="string";break}t.sorter=k,r.push(t)}if(E)switch(typeof E){case"function":this.table.options.columns=E.call(this.table,r);break;case"object":Array.isArray(E)?r.forEach(t=>{var d=E.find(y=>y.field===t.field);d&&Object.assign(t,d)}):r.forEach(t=>{E[t.field]&&Object.assign(t,E[t.field])}),this.table.options.columns=r;break}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(e,r){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch("columns-loading"),e.forEach((E,z)=>{this._addColumn(E)}),this._reIndexColumns(),this.dispatch("columns-loaded"),this.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(e,r,E){var z=new vf(e,this),k=z.getElement(),m=E&&this.findColumnIndex(E);if(E&&m>-1){var t=E.getTopColumn(),d=this.columns.indexOf(t),y=t.getElement();r?(this.columns.splice(d,0,z),y.parentNode.insertBefore(k,y)):(this.columns.splice(d+1,0,z),y.parentNode.insertBefore(k,y.nextSibling))}else r?(this.columns.unshift(z),this.headersElement.insertBefore(z.getElement(),this.headersElement.firstChild)):(this.columns.push(z),this.headersElement.appendChild(z.getElement()));return z.columnRendered(),z}registerColumnField(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)}registerColumnPosition(e){this.columnsByIndex.push(e)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})}verticalAlignHeaders(){var e=0;this.redrawBlock||(this.headersElement.style.height="",this.columns.forEach(r=>{r.clearVerticalAlign()}),this.columns.forEach(r=>{var E=r.getHeight();E>e&&(e=E)}),this.headersElement.style.height=e+"px",this.columns.forEach(r=>{r.verticalAlign(this.table.options.columnHeaderVertAlign,e)}),this.table.rowManager.adjustTableSize())}findColumn(e){var r;if(typeof e=="object"){if(e instanceof vf)return e;if(e instanceof IM)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return r=[],this.columns.forEach(z=>{r.push(z),r=r.concat(z.getColumns(!0))}),r.find(z=>z.element===e)||!1}else return this.columnsByField[e]||!1;return!1}getColumnByField(e){return this.columnsByField[e]}getColumnsByFieldRoot(e){var r=[];return Object.keys(this.columnsByField).forEach(E=>{var z=this.table.options.nestedFieldSeparator?E.split(this.table.options.nestedFieldSeparator)[0]:E;z===e&&r.push(this.columnsByField[E])}),r}getColumnByIndex(e){return this.columnsByIndex[e]}getFirstVisibleColumn(){var e=this.columnsByIndex.findIndex(r=>r.visible);return e>-1?this.columnsByIndex[e]:!1}getVisibleColumnsByIndex(){return this.columnsByIndex.filter(e=>e.visible)}getColumns(){return this.columns}findColumnIndex(e){return this.columnsByIndex.findIndex(r=>e===r)}getRealColumns(){return this.columnsByIndex}traverse(e){this.columnsByIndex.forEach((r,E)=>{e(r,E)})}getDefinitions(e){var r=[];return this.columnsByIndex.forEach(E=>{(!e||e&&E.visible)&&r.push(E.getDefinition())}),r}getDefinitionTree(){var e=[];return this.columns.forEach(r=>{e.push(r.getDefinition(!0))}),e}getComponents(e){var r=[],E=e?this.columns:this.columnsByIndex;return E.forEach(z=>{r.push(z.getComponent())}),r}getWidth(){var e=0;return this.columnsByIndex.forEach(r=>{r.visible&&(e+=r.getWidth())}),e}moveColumn(e,r,E){r.element.parentNode.insertBefore(e.element,r.element),E&&r.element.parentNode.insertBefore(r.element,e.element),this.moveColumnActual(e,r,E),this.verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(e,r,E){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,r,E):this._moveColumnInArray(this.columns,e,r,E),this._moveColumnInArray(this.columnsByIndex,e,r,E,!0),this.rerenderColumns(!0),this.dispatch("column-moved",e,r,E),this.subscribedExternal("columnMoved")&&this.dispatchExternal("columnMoved",e.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(e,r,E,z,k){var m=e.indexOf(r),t,d=[];m>-1&&(e.splice(m,1),t=e.indexOf(E),t>-1?z&&(t=t+1):t=m,e.splice(t,0,r),k&&(d=this.chain("column-moving-rows",[r,E,z],null,[])||[],d=d.concat(this.table.rowManager.rows),d.forEach(function(y){if(y.cells.length){var i=y.cells.splice(m,1)[0];y.cells.splice(t,0,i)}})))}scrollToColumn(e,r,E){var z=0,k=e.getLeftOffset(),m=0,t=e.getElement();return new Promise((d,y)=>{if(typeof r>"u"&&(r=this.table.options.scrollToColumnPosition),typeof E>"u"&&(E=this.table.options.scrollToColumnIfVisible),e.visible){switch(r){case"middle":case"center":m=-this.element.clientWidth/2;break;case"right":m=t.clientWidth-this.headersElement.clientWidth;break}if(!E&&k>0&&k+t.offsetWidth{r.push(E.generateCell(e))}),r}getFlexBaseWidth(){var e=this.table.element.clientWidth,r=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(e-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(E){var z,k,m;E.visible&&(z=E.definition.width||0,k=parseInt(E.minWidth),typeof z=="string"?z.indexOf("%")>-1?m=e/100*parseInt(z):m=parseInt(z):m=z,r+=m>k?m:k)}),r}addColumn(e,r,E){return new Promise((z,k)=>{var m=this._addColumn(e,r,E);this._reIndexColumns(),this.dispatch("column-add",e,r,E),this.layoutMode()!="fitColumns"&&m.reinitializeWidth(),this.redraw(!0),this.table.rowManager.reinitialize(),this.rerenderColumns(),z(m)})}deregisterColumn(e){var r=e.getField(),E;r&&delete this.columnsByField[r],E=this.columnsByIndex.indexOf(e),E>-1&&this.columnsByIndex.splice(E,1),E=this.columns.indexOf(e),E>-1&&this.columns.splice(E,1),this.verticalAlignHeaders(),this.redraw()}rerenderColumns(e,r){this.redrawBlock?(e===!1||e===!0&&this.redrawBlockUpdate===null)&&(this.redrawBlockUpdate=e):this.renderer.rerenderColumns(e,r)}blockRedraw(){this.redrawBlock=!0,this.redrawBlockUpdate=null}restoreRedraw(){this.redrawBlock=!1,this.verticalAlignHeaders(),this.renderer.rerenderColumns(this.redrawBlockUpdate)}redraw(e){oo.elVisible(this.element)&&this.verticalAlignHeaders(),e&&(this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm("table-redrawing",e)||this.layoutRefresh(e),this.dispatch("table-redraw",e),this.table.footerManager.redraw()}}class FO extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.scrollTop=0,e.scrollLeft=0,e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility=""}renderRows(){var e=this.tableElement,r=!0,E=document.createDocumentFragment(),z=this.rows();z.forEach((k,m)=>{this.styleRow(k,m),k.initialize(!1,!0),k.type!=="group"&&(r=!1),E.appendChild(k.getElement())}),e.appendChild(E),z.forEach(k=>{k.rendered(),k.heightInitialized||k.calcHeight(!0)}),z.forEach(k=>{k.heightInitialized||k.setCellHeight()}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}rerenderRows(e){this.clearRows(),e&&e(),this.renderRows(),this.rows().length||this.table.rowManager.tableEmpty()}scrollToRowNearestTop(e){var r=oo.elOffset(e.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-r)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-r))}scrollToRow(e){var r=e.getElement();this.elementVertical.scrollTop=oo.elOffset(r).top-oo.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(e){return this.rows()}}class BO extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(e){for(var r=this.elementVertical.scrollTop,E=!1,z=!1,k=this.table.rowManager.scrollLeft,m=this.rows(),t=this.vDomTop;t<=this.vDomBottom;t++)if(m[t]){var d=r-m[t].getElement().offsetTop;if(z===!1||Math.abs(d){y.deinitializeHeight()}),e&&e(),this.rows().length?this._virtualRenderFill(E===!1?this.rows.length-1:E,!0,z||0):(this.clear(),this.table.rowManager.tableEmpty()),this.scrollColumns(k)}scrollColumns(e){this.table.rowManager.scrollHorizontal(e)}scrollRows(e,r){var E=e-this.vDomScrollPosTop,z=e-this.vDomScrollPosBottom,k=this.vDomWindowBuffer*2,m=this.rows();if(this.scrollTop=e,-E>k||z>k){var t=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*m.length)),this.scrollColumns(t)}else r?(E<0&&this._addTopRow(m,-E),z<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(m,-z):this.vDomScrollPosBottom=this.scrollTop)):(z>=0&&this._addBottomRow(m,z),E>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(m,E):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(e){var r=this.rows().indexOf(e);return!(Math.abs(this.vDomTop-r)>Math.abs(this.vDomBottom-r))}scrollToRow(e){var r=this.rows().indexOf(e);r>-1&&this._virtualRenderFill(r,!0)}visibleRows(e){var r=this.elementVertical.scrollTop,E=this.elementVertical.clientHeight+r,z=!1,k=0,m=0,t=this.rows();if(e)k=this.vDomTop,m=this.vDomBottom;else for(var d=this.vDomTop;d<=this.vDomBottom;d++)if(t[d])if(z)if(E-t[d].getElement().offsetTop>=0)m=d;else break;else if(r-t[d].getElement().offsetTop>=0)k=d;else if(z=!0,E-t[d].getElement().offsetTop>=0)m=d;else break;return t.slice(k,m+1)}_virtualRenderFill(e,r,E){var z=this.tableElement,k=this.elementVertical,m=0,t=0,d=0,y=0,i=0,M=0,g=this.rows(),h=g.length,l=0,a,u,o=[],s=0,c=0,f=this.table.rowManager.fixedHeight,p=this.elementVertical.clientHeight,w=this.table.options.rowHeight,v=!0;if(e=e||0,E=E||0,!e)this.clear();else{for(;z.firstChild;)z.removeChild(z.firstChild);y=(h-e+1)*this.vDomRowHeight,y{S.rendered(),S.heightInitialized||S.calcHeight(!0)}),o.forEach(S=>{S.heightInitialized||S.setCellHeight()}),o.forEach(S=>{d=S.getHeight(),sthis.vDomWindowBuffer&&(this.vDomWindowBuffer=d*2),s++}),v=this.table.rowManager.adjustTableSize(),p=this.elementVertical.clientHeight,v&&(f||this.table.options.maxHeight)&&(w=t/s,c=Math.max(this.vDomWindowMinTotalRows,Math.ceil(p/w+this.vDomWindowBuffer/w)))}e?(this.vDomTopPad=r?this.vDomRowHeight*this.vDomTop+E:this.scrollTop-i,this.vDomBottomPad=this.vDomBottom==h-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-t-i,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((t+i)/s),this.vDomBottomPad=this.vDomRowHeight*(h-this.vDomBottom-1),this.vDomScrollHeight=i+t+this.vDomBottomPad-p),z.style.paddingTop=this.vDomTopPad+"px",z.style.paddingBottom=this.vDomBottomPad+"px",r&&(this.scrollTop=this.vDomTopPad+i+E-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-p:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-p),this.elementVertical.scrollWidth>this.elementVertical.clientWidth&&r&&(this.scrollTop+=this.elementVertical.offsetHeight-p),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,k.scrollTop=this.scrollTop,this.dispatch("render-virtual-fill")}}_addTopRow(e,r){for(var E=this.tableElement,z=[],k=0,m=this.vDomTop-1,t=0,d=!0;d;)if(this.vDomTop){let y=e[m],i,M;y&&t=i?(this.styleRow(y,m),E.insertBefore(y.getElement(),E.firstChild),(!y.initialized||!y.heightInitialized)&&z.push(y),y.initialize(),M||(i=y.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,k+=i,this.vDomTop--,m--,t++):d=!1):d=!1}else d=!1;for(let y of z)y.clearCellHeight();this._quickNormalizeRowHeight(z),k&&(this.vDomTopPad-=k,this.vDomTopPad<0&&(this.vDomTopPad=m*this.vDomRowHeight),m<1&&(this.vDomTopPad=0),E.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=k)}_removeTopRow(e,r){for(var E=[],z=0,k=0,m=!0;m;){let t=e[this.vDomTop],d;t&&k=d?(this.vDomTop++,r-=d,z+=d,E.push(t),k++):m=!1):m=!1}for(let t of E){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}z&&(this.vDomTopPad+=z,this.tableElement.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?z:z+this.vDomWindowBuffer)}_addBottomRow(e,r){for(var E=this.tableElement,z=[],k=0,m=this.vDomBottom+1,t=0,d=!0;d;){let y=e[m],i,M;y&&t=i?(this.styleRow(y,m),E.appendChild(y.getElement()),(!y.initialized||!y.heightInitialized)&&z.push(y),y.initialize(),M||(i=y.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,k+=i,this.vDomBottom++,m++,t++):d=!1):d=!1}for(let y of z)y.clearCellHeight();this._quickNormalizeRowHeight(z),k&&(this.vDomBottomPad-=k,(this.vDomBottomPad<0||m==e.length-1)&&(this.vDomBottomPad=0),E.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=k)}_removeBottomRow(e,r){for(var E=[],z=0,k=0,m=!0;m;){let t=e[this.vDomBottom],d;t&&k=d?(this.vDomBottom--,r-=d,z+=d,E.push(t),k++):m=!1):m=!1}for(let t of E){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}z&&(this.vDomBottomPad+=z,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=z)}_quickNormalizeRowHeight(e){for(let r of e)r.calcHeight();for(let r of e)r.setCellHeight()}}class NO extends Ml{constructor(e){super(e),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.placeholder=null,this.placeholderContents=null,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRenderInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.scrollbarWidth=0,this.renderer=null}createHolderElement(){var e=document.createElement("div");return e.classList.add("tabulator-tableholder"),e.setAttribute("tabindex",0),e}createTableElement(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e.setAttribute("role","rowgroup"),e}initializePlaceholder(){var e=this.table.options.placeholder;if(typeof e=="function"&&(e=e.call(this.table)),e=this.chain("placeholder",[e],e,e)||e,e){let r=document.createElement("div");if(r.classList.add("tabulator-placeholder"),typeof e=="string"){let E=document.createElement("div");E.classList.add("tabulator-placeholder-contents"),E.innerHTML=e,r.appendChild(E),this.placeholderContents=E}else typeof HTMLElement<"u"&&e instanceof HTMLElement?(r.appendChild(e),this.placeholderContents=e):(console.warn("Invalid placeholder provided, must be string or HTML Element",e),this.el=null);this.placeholder=r}}getElement(){return this.element}getTableElement(){return this.tableElement}initialize(){this.initializePlaceholder(),this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener("scroll",()=>{var e=this.element.scrollLeft,r=this.scrollLeft>e,E=this.element.scrollTop,z=this.scrollTop>E;this.scrollLeft!=e&&(this.scrollLeft=e,this.dispatch("scroll-horizontal",e,r),this.dispatchExternal("scrollHorizontal",e,r),this._positionPlaceholder()),this.scrollTop!=E&&(this.scrollTop=E,this.renderer.scrollRows(E,z),this.dispatch("scroll-vertical",E,z),this.dispatchExternal("scrollVertical",E,z))})}findRow(e){if(typeof e=="object"){if(e instanceof yl)return e;if(e instanceof Wy)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return this.rows.find(E=>E.getElement()===e)||!1;if(e===null)return!1}else return typeof e>"u"?!1:this.rows.find(E=>E.data[this.table.options.index]==e)||!1;return!1}getRowFromDataObject(e){var r=this.rows.find(E=>E.data===e);return r||!1}getRowFromPosition(e){return this.getDisplayRows().find(r=>r.getPosition()===e&&r.isDisplayed())}scrollToRow(e,r,E){return this.renderer.scrollToRowPosition(e,r,E)}setData(e,r,E){return new Promise((z,k)=>{r&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(e,!0):this.reRenderInPosition(()=>{this._setDataActual(e)}):(this.table.options.autoColumns&&E&&this.table.initialized&&this.table.columnManager.generateColumnsFromRowData(e),this.resetScroll(),this._setDataActual(e)),z()})}_setDataActual(e,r){this.dispatchExternal("dataProcessing",e),this._wipeElements(),Array.isArray(e)?(this.dispatch("data-processing",e),e.forEach((E,z)=>{if(E&&typeof E=="object"){var k=new yl(E,this);this.rows.push(k)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",E)}),this.refreshActiveData(!1,!1,r),this.dispatch("data-processed",e),this.dispatchExternal("dataProcessed",e)):console.error(`Data Loading Error - Unable to process data due to invalid data type Expecting: array Received: `,typeof e,` -Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.adjustTableSize(),this.dispatch("rows-wiped")}destroy(){this.rows.forEach(e=>{e.wipe()}),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0}deleteRow(e,r){var E=this.rows.indexOf(e),z=this.activeRows.indexOf(e);z>-1&&this.activeRows.splice(z,1),E>-1&&this.rows.splice(E,1),this.setActiveRows(this.activeRows),this.displayRowIterator(k=>{var m=k.indexOf(e);m>-1&&k.splice(m,1)}),r||this.reRenderInPosition(),this.regenerateRowPositions(),this.dispatchExternal("rowDeleted",e.getComponent()),this.displayRowsCount||this.tableEmpty(),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.getData())}addRow(e,r,E,z){var k=this.addRowActual(e,r,E,z);return k}addRows(e,r,E,z){var k=[];return new Promise((m,t)=>{r=this.findAddRowPos(r),Array.isArray(e)||(e=[e]),(typeof E>"u"&&r||typeof E<"u"&&!r)&&e.reverse(),e.forEach((d,y)=>{var i=this.addRow(d,r,E,!0);k.push(i),this.dispatch("row-added",i,d,r,E)}),this.refreshActiveData(z?"displayPipeline":!1,!1,!0),this.regenerateRowPositions(),this.displayRowsCount&&this._clearPlaceholder(),m(k)})}findAddRowPos(e){return typeof e>"u"&&(e=this.table.options.addRowPos),e==="pos"&&(e=!0),e==="bottom"&&(e=!1),e}addRowActual(e,r,E,z){var k=e instanceof yl?e:new yl(e||{},this),m=this.findAddRowPos(r),t=-1,d,y;return E||(y=this.chain("row-adding-position",[k,m],null,{index:E,top:m}),E=y.index,m=y.top),typeof E<"u"&&(E=this.findRow(E)),E=this.chain("row-adding-index",[k,E,m],null,E),E&&(t=this.rows.indexOf(E)),E&&t>-1?(d=this.activeRows.indexOf(E),this.displayRowIterator(function(i){var M=i.indexOf(E);M>-1&&i.splice(m?M:M+1,0,k)}),d>-1&&this.activeRows.splice(m?d:d+1,0,k),this.rows.splice(m?t:t+1,0,k)):m?(this.displayRowIterator(function(i){i.unshift(k)}),this.activeRows.unshift(k),this.rows.unshift(k)):(this.displayRowIterator(function(i){i.push(k)}),this.activeRows.push(k),this.rows.push(k)),this.setActiveRows(this.activeRows),this.dispatchExternal("rowAdded",k.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),z||this.reRenderInPosition(),k}moveRow(e,r,E){this.dispatch("row-move",e,r,E),this.moveRowActual(e,r,E),this.regenerateRowPositions(),this.dispatch("row-moved",e,r,E),this.dispatchExternal("rowMoved",e.getComponent())}moveRowActual(e,r,E){this.moveRowInArray(this.rows,e,r,E),this.moveRowInArray(this.activeRows,e,r,E),this.displayRowIterator(z=>{this.moveRowInArray(z,e,r,E)}),this.dispatch("row-moving",e,r,E)}moveRowInArray(e,r,E,z){var k,m,t,d;if(r!==E&&(k=e.indexOf(r),k>-1&&(e.splice(k,1),m=e.indexOf(E),m>-1?z?e.splice(m+1,0,r):e.splice(m,0,r):e.splice(k,0,r)),e===this.getDisplayRows())){t=kk?m:k+1;for(let y=t;y<=d;y++)e[y]&&this.styleRow(e[y],y)}}clearData(){this.setData([])}getRowIndex(e){return this.findRowIndex(e,this.rows)}getDisplayRowIndex(e){var r=this.getDisplayRows().indexOf(e);return r>-1?r:!1}nextDisplayRow(e,r){var E=this.getDisplayRowIndex(e),z=!1;return E!==!1&&E-1)?E:!1}getData(e,r){var E=[],z=this.getRows(e);return z.forEach(function(k){k.type=="row"&&E.push(k.getData(r||"data"))}),E}getComponents(e){var r=[],E=this.getRows(e);return E.forEach(function(z){r.push(z.getComponent())}),r}getDataCount(e){var r=this.getRows(e);return r.length}scrollHorizontal(e){this.scrollLeft=e,this.element.scrollLeft=e,this.dispatch("scroll-horizontal",e)}registerDataPipelineHandler(e,r){typeof r<"u"?(this.dataPipeline.push({handler:e,priority:r}),this.dataPipeline.sort((E,z)=>E.priority-z.priority)):console.error("Data pipeline handlers must have a priority in order to be registered")}registerDisplayPipelineHandler(e,r){typeof r<"u"?(this.displayPipeline.push({handler:e,priority:r}),this.displayPipeline.sort((E,z)=>E.priority-z.priority)):console.error("Display pipeline handlers must have a priority in order to be registered")}refreshActiveData(e,r,E){var z=this.table,k="",m=0,t=["all","dataPipeline","display","displayPipeline","end"];if(!this.table.destroyed){if(typeof e=="function")if(m=this.dataPipeline.findIndex(d=>d.handler===e),m>-1)k="dataPipeline",r&&(m==this.dataPipeline.length-1?k="display":m++);else if(m=this.displayPipeline.findIndex(d=>d.handler===e),m>-1)k="displayPipeline",r&&(m==this.displayPipeline.length-1?k="end":m++);else{console.error("Unable to refresh data, invalid handler provided",e);return}else k=e||"all",m=0;if(this.redrawBlock){(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===k&&m{E.type==="row"&&(E.setPosition(r),r++)})}setActiveRows(e){this.activeRows=this.activeRows=Object.assign([],e),this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}setDisplayRows(e,r){this.displayRows[r]=e,r==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length)}getDisplayRows(e){return typeof e>"u"?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]}getVisibleRows(e,r){var E=Object.assign([],this.renderer.visibleRows(!r));return e&&(E=this.chain("rows-visible",[r],E,E)),E}displayRowIterator(e){this.activeRowsPipeline.forEach(e),this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(e){var r=[];switch(e){case"active":r=this.activeRows;break;case"display":r=this.table.rowManager.getDisplayRows();break;case"visible":r=this.getVisibleRows(!1,!0);break;default:r=this.chain("rows-retrieve",e,null,this.rows)||this.rows}return r}reRenderInPosition(e){this.redrawBlock?e?e():this.redrawBlockRenderInPosition=!0:(this.dispatchExternal("renderStarted"),this.renderer.rerenderRows(e),this.fixedHeight||this.adjustTableSize(),this.scrollBarCheck(),this.dispatchExternal("renderComplete"))}scrollBarCheck(){var e=0;this.element.scrollHeight>this.element.clientHeight&&(e=this.element.offsetWidth-this.element.clientWidth),e!==this.scrollbarWidth&&(this.scrollbarWidth=e,this.dispatch("scrollbar-vertical",e))}initializeRenderer(){var e,r={virtual:BP,basic:FP};typeof this.table.options.renderVertical=="string"?e=r[this.table.options.renderVertical]:e=this.table.options.renderVertical,e?(this.renderMode=this.table.options.renderVertical,this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize(),(this.table.element.clientHeight||this.table.options.height)&&!(this.table.options.minHeight&&this.table.options.maxHeight)?this.fixedHeight=!0:this.fixedHeight=!1):console.error("Unable to find matching renderer:",this.table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal("renderStarted"),this.element.scrollTop=0,this._clearTable(),this.displayRowsCount?(this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.fixedHeight||this.adjustTableSize(),this.layoutRefresh(!0))):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch("table-layout"),this.displayRowsCount||this._showPlaceholder(),this.scrollBarCheck(),this.dispatchExternal("renderComplete")}renderEmptyScroll(){this.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"}_clearTable(){this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}tableEmpty(){this.renderEmptyScroll(),this._showPlaceholder()}checkPlaceholder(){this.displayRowsCount?this._clearPlaceholder():this.tableEmpty()}_showPlaceholder(){this.placeholder&&(this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.initializePlaceholder(),this.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.placeholder),this._positionPlaceholder(),this.adjustTableSize())}_clearPlaceholder(){this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.tableElement.style.minWidth="",this.tableElement.style.display=""}_positionPlaceholder(){this.placeholder&&this.placeholder.parentNode&&(this.placeholder.style.width=this.table.columnManager.getWidth()+"px",this.placeholderContents.style.width=this.table.rowManager.element.clientWidth+"px",this.placeholderContents.style.marginLeft=this.scrollLeft+"px")}styleRow(e,r){var E=e.getElement();r%2?(E.classList.add("tabulator-row-even"),E.classList.remove("tabulator-row-odd")):(E.classList.add("tabulator-row-odd"),E.classList.remove("tabulator-row-even"))}normalizeHeight(){this.activeRows.forEach(function(e){e.normalizeHeight()})}adjustTableSize(){let e=this.element.clientHeight,r,E=!1;if(this.renderer.verticalFillMode==="fill"){let z=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));if(this.fixedHeight){r=isNaN(this.table.options.minHeight)?this.table.options.minHeight:this.table.options.minHeight+"px";const k="calc(100% - "+z+"px)";this.element.style.minHeight=r||"calc(100% - "+z+"px)",this.element.style.height=k,this.element.style.maxHeight=k}else this.element.style.height="",this.element.style.height=this.table.element.clientHeight-z+"px",this.element.scrollTop=this.scrollTop;this.renderer.resize(),!this.fixedHeight&&e!=this.element.clientHeight&&(E=!0,this.subscribed("table-resize")?this.dispatch("table-resize"):this.redraw()),this.scrollBarCheck()}return this._positionPlaceholder(),E}reinitialize(){this.rows.forEach(function(e){e.reinitialize(!0)})}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRenderInPosition&&this.reRenderInPosition(),this.redrawBlockRenderInPosition=!1}redraw(e){this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():(this.reRenderInPosition(),this.scrollHorizontal(this.scrollLeft))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,this.table.browser==="ie"){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))}}class VP extends Ml{constructor(e){super(e),this.active=!1,this.element=this.createElement(),this.containerElement=this.createContainerElement(),this.external=!1}initialize(){this.initializeElement()}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e}createContainerElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer-contents"),this.element.appendChild(e),e}initializeElement(){if(this.table.options.footerElement)switch(typeof this.table.options.footerElement){case"string":this.table.options.footerElement[0]==="<"?this.containerElement.innerHTML=this.table.options.footerElement:(this.external=!0,this.containerElement=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement;break}}getElement(){return this.element}append(e){this.activate(),this.containerElement.appendChild(e),this.table.rowManager.adjustTableSize()}prepend(e){this.activate(),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(e){e.parentNode.removeChild(e),this.deactivate()}deactivate(e){(!this.element.firstChild||e)&&(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=""))}redraw(){this.dispatch("footer-redraw")}}class jP extends Ml{constructor(e){super(e),this.el=null,this.abortClasses=["tabulator-headers","tabulator-table"],this.previousTargets={},this.listeners=["click","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","mouseup","mousedown","touchstart","touchend"],this.componentMap={"tabulator-cell":"cell","tabulator-row":"row","tabulator-group":"group","tabulator-col":"column"},this.pseudoTrackers={row:{subscriber:null,target:null},cell:{subscriber:null,target:null},group:{subscriber:null,target:null},column:{subscriber:null,target:null}},this.pseudoTracking=!1}initialize(){this.el=this.table.element,this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var e={};this.listeners.forEach(r=>{e[r]={handler:null,components:[]}}),this.listeners=e}bindPseudoEvents(){Object.keys(this.pseudoTrackers).forEach(e=>{this.pseudoTrackers[e].subscriber=this.pseudoMouseEnter.bind(this,e),this.subscribe(e+"-mouseover",this.pseudoTrackers[e].subscriber)}),this.pseudoTracking=!0}pseudoMouseEnter(e,r,E){this.pseudoTrackers[e].target!==E&&(this.pseudoTrackers[e].target&&this.dispatch(e+"-mouseleave",r,this.pseudoTrackers[e].target),this.pseudoMouseLeave(e,r),this.pseudoTrackers[e].target=E,this.dispatch(e+"-mouseenter",r,E))}pseudoMouseLeave(e,r){var E=Object.keys(this.pseudoTrackers),z={row:["cell"],cell:["row"]};E=E.filter(k=>{var m=z[e];return k!==e&&(!m||m&&!m.includes(k))}),E.forEach(k=>{var m=this.pseudoTrackers[k].target;this.pseudoTrackers[k].target&&(this.dispatch(k+"-mouseleave",r,m),this.pseudoTrackers[k].target=null)})}bindSubscriptionWatchers(){var e=Object.keys(this.listeners),r=Object.values(this.componentMap);for(let E of r)for(let z of e){let k=E+"-"+z;this.subscriptionChange(k,this.subscriptionChanged.bind(this,E,z))}this.subscribe("table-destroy",this.clearWatchers.bind(this))}subscriptionChanged(e,r,E){var z=this.listeners[r].components,k=z.indexOf(e),m=!1;E?k===-1&&(z.push(e),m=!0):this.subscribed(e+"-"+r)||k>-1&&(z.splice(k,1),m=!0),(r==="mouseenter"||r==="mouseleave")&&!this.pseudoTracking&&this.bindPseudoEvents(),m&&this.updateEventListeners()}updateEventListeners(){for(let e in this.listeners){let r=this.listeners[e];r.components.length?r.handler||(r.handler=this.track.bind(this,e),this.el.addEventListener(e,r.handler)):r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}track(e,r){var E=r.composedPath&&r.composedPath()||r.path,z=this.findTargets(E);z=this.bindComponents(e,z),this.triggerEvents(e,r,z),this.pseudoTracking&&(e=="mouseover"||e=="mouseleave")&&!Object.keys(z).length&&this.pseudoMouseLeave("none",r)}findTargets(e){var r={};let E=Object.keys(this.componentMap);for(let z of e){let k=z.classList?[...z.classList]:[];if(k.filter(d=>this.abortClasses.includes(d)).length)break;let t=k.filter(d=>E.includes(d));for(let d of t)r[this.componentMap[d]]||(r[this.componentMap[d]]=z)}return r.group&&r.group===r.row&&delete r.row,r}bindComponents(e,r){var E=Object.keys(r).reverse(),z=this.listeners[e],k={},m={};for(let t of E){let d,y=r[t],i=this.previousTargets[t];if(i&&i.target===y)d=i.component;else switch(t){case"row":case"group":(z.components.includes("row")||z.components.includes("cell")||z.components.includes("group"))&&(d=this.table.rowManager.getVisibleRows(!0).find(g=>g.getElement()===y),r.row&&r.row.parentNode&&r.row.parentNode.closest(".tabulator-row")&&(r[t]=!1));break;case"column":z.components.includes("column")&&(d=this.table.columnManager.findColumn(y));break;case"cell":z.components.includes("cell")&&(k.row instanceof yl?d=k.row.findCell(y):r.row&&console.warn("Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"));break}d&&(k[t]=d,m[t]={target:y,component:d})}return this.previousTargets=m,k}triggerEvents(e,r,E){var z=this.listeners[e];for(let k in E)E[k]&&z.components.includes(k)&&this.dispatch(k+"-"+e,r,E[k])}clearWatchers(){for(let e in this.listeners){let r=this.listeners[e];r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}}class UP{constructor(e){this.table=e,this.bindings={}}bind(e,r,E){this.bindings[e]||(this.bindings[e]={}),this.bindings[e][r]?console.warn("Unable to bind component handler, a matching function name is already bound",e,r,E):this.bindings[e][r]=E}handle(e,r,E){if(this.bindings[e]&&this.bindings[e][E]&&typeof this.bindings[e][E].bind=="function")return this.bindings[e][E].bind(null,r);E!=="then"&&typeof E=="string"&&!E.startsWith("_")&&this.table.options.debugInvalidComponentFuncs&&console.error("The "+e+" component does not have a "+E+" function, have you checked that you have the correct Tabulator module installed?")}}class HP extends Ml{constructor(e){super(e),this.requestOrder=0,this.loading=!1}initialize(){}load(e,r,E,z,k,m){var t=++this.requestOrder;if(this.table.destroyed)return Promise.resolve();if(this.dispatchExternal("dataLoading",e),e&&(e.indexOf("{")==0||e.indexOf("[")==0)&&(e=JSON.parse(e)),this.confirm("data-loading",[e,r,E,k])){this.loading=!0,k||this.alertLoader(),r=this.chain("data-params",[e,E,k],r||{},r||{}),r=this.mapParams(r,this.table.options.dataSendParams);var d=this.chain("data-load",[e,r,E,k],!1,Promise.resolve([]));return d.then(y=>{if(this.table.destroyed)console.warn("Data Load Response Blocked - Table has been destroyed");else{!Array.isArray(y)&&typeof y=="object"&&(y=this.mapParams(y,this.objectInvert(this.table.options.dataReceiveParams)));var i=this.chain("data-loaded",y,null,y);t==this.requestOrder?(this.clearAlert(),i!==!1&&(this.dispatchExternal("dataLoaded",i),this.table.rowManager.setData(i,z,typeof m>"u"?!z:m))):console.warn("Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made")}}).catch(y=>{console.error("Data Load Error: ",y),this.dispatchExternal("dataLoadError",y),k||this.alertError(),setTimeout(()=>{this.clearAlert()},this.table.options.dataLoaderErrorTimeout)}).finally(()=>{this.loading=!1})}else return this.dispatchExternal("dataLoaded",e),e||(e=[]),this.table.rowManager.setData(e,z,typeof m>"u"?!z:m),Promise.resolve()}mapParams(e,r){var E={};for(let z in e)E[r.hasOwnProperty(z)?r[z]:z]=e[z];return E}objectInvert(e){var r={};for(let E in e)r[e[E]]=E;return r}blockActiveLoad(){this.requestOrder++}alertLoader(){var e=typeof this.table.options.dataLoader=="function"?this.table.options.dataLoader():this.table.options.dataLoader;e&&this.table.alertManager.alert(this.table.options.dataLoaderLoading||this.langText("data|loading"))}alertError(){this.table.alertManager.alert(this.table.options.dataLoaderError||this.langText("data|error"),"error")}clearAlert(){this.table.alertManager.clear()}}class GP{constructor(e,r,E){this.table=e,this.events={},this.optionsList=r||{},this.subscriptionNotifiers={},this.dispatch=E?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=E}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r){this.events[e]||(this.events[e]=[]),this.events[e].push(r),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var E;if(this.events[e])if(r)if(E=this.events[e].findIndex(z=>z===r),E>-1)this.events[e].splice(E,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}else delete this.events[e];else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_notifySubscriptionChange(e,r){var E=this.subscriptionNotifiers[e];E&&E.forEach(z=>{z(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift(),E;return this.events[r]&&this.events[r].forEach((z,k)=>{let m=z.apply(this.table,e);k||(E=m)}),E}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="ExternalEvent:"+e[0],(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}}class WP{constructor(e){this.events={},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=e?this._debugChain.bind(this):this._chain.bind(this),this.confirm=e?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=e}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r,E=1e4){this.events[e]||(this.events[e]=[]),this.events[e].push({callback:r,priority:E}),this.events[e].sort((z,k)=>z.priority-k.priority),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var E;if(this.events[e]){if(r)if(E=this.events[e].findIndex(z=>z.callback===r),E>-1)this.events[e].splice(E,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}}else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_chain(e,r,E,z){var k=E;return Array.isArray(r)||(r=[r]),this.subscribed(e)?(this.events[e].forEach((m,t)=>{k=m.callback.apply(this,r.concat([k]))}),k):typeof z=="function"?z():z}_confirm(e,r){var E=!1;return Array.isArray(r)||(r=[r]),this.subscribed(e)&&this.events[e].forEach((z,k)=>{z.callback.apply(this,r)&&(E=!0)}),E}_notifySubscriptionChange(e,r){var E=this.subscriptionNotifiers[e];E&&E.forEach(z=>{z(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift();this.events[r]&&this.events[r].forEach(E=>{E.callback.apply(this,e)})}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}_debugChain(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._chain(...arguments)}_debugConfirm(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._confirm(...arguments)}}class qP extends Ml{constructor(e){super(e)}_warnUser(){this.options("debugDeprecation")&&console.warn(...arguments)}check(e,r,E){var z="";return typeof this.options(e)<"u"?(z="Deprecated Setup Option - Use of the %c"+e+"%c option is now deprecated",r?(z=z+", Please use the %c"+r+"%c option instead",this._warnUser(z,"font-weight: bold;","font-weight: normal;","font-weight: bold;","font-weight: normal;"),E&&(this.table.options[r]=this.table.options[e])):this._warnUser(z,"font-weight: bold;","font-weight: normal;"),!1):!0}checkMsg(e,r){return typeof this.options(e)<"u"?(this._warnUser("%cDeprecated Setup Option - Use of the %c"+e+" %c option is now deprecated, "+r,"font-weight: normal;","font-weight: bold;","font-weight: normal;"),!1):!0}msg(e){this._warnUser(e)}}class pu{static register(e){pu.tables.push(e)}static deregister(e){var r=pu.tables.indexOf(e);r>-1&&pu.tables.splice(r,1)}static lookupTable(e,r){var E=[],z,k;if(typeof e=="string"){if(z=document.querySelectorAll(e),z.length)for(var m=0;m{m.widthFixed||m.reinitializeWidth(),(this.table.options.responsiveLayout?m.modules.responsive.visible:m.visible)&&(k=m),m.visible&&(r+=m.getWidth())}),k?(z=E-r+k.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(k.setWidth(0),this.table.modules.responsiveLayout.update()),z>0?k.setWidth(z):k.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function ZP(n,e){var r=this.table.rowManager.element.getBoundingClientRect().width,E=0,z=0,k=0,m=0,t=[],d=[],y=0,i=0,M=0;function g(l){var a;return typeof l=="string"?l.indexOf("%")>-1?a=r/100*parseInt(l):a=parseInt(l):a=l,a}function h(l,a,u,o){var s=[],f=0,c=0,p=0,w=k,v=0,S=0,x=[];function T(_){return u*(_.column.definition.widthGrow||1)}function C(_){return g(_.width)-u*(_.column.definition.widthShrink||0)}return l.forEach(function(_,A){var L=o?C(_):T(_);_.column.minWidth>=L?s.push(_):_.column.maxWidth&&_.column.maxWidththis.table.rowManager.element.clientHeight&&(r-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),n.forEach(function(l){var a,u,o;l.visible&&(a=l.definition.width,u=parseInt(l.minWidth),a?(o=g(a),E+=o>u?o:u,l.definition.widthShrink&&(d.push({column:l,width:o>u?o:u}),y+=l.definition.widthShrink)):(t.push({column:l,width:0}),k+=l.definition.widthGrow||1))}),z=r-E,m=Math.floor(z/k),M=h(t,z,m,!1),t.length&&M>0&&(t[t.length-1].width+=M),t.forEach(function(l){z-=l.width}),i=Math.abs(M)+z,i>0&&y&&(M=h(d,i,Math.floor(i/y),!0)),M&&d.length&&(d[d.length-1].width-=M),t.forEach(function(l){l.column.setWidth(l.width)}),d.forEach(function(l){l.column.setWidth(l.width)})}var XP={fitData:YP,fitDataFill:v5,fitDataTable:v5,fitDataStretch:$P,fitColumns:ZP};class s0 extends Wi{constructor(e){super(e,"layout"),this.mode=null,this.registerTableOption("layout","fitData"),this.registerTableOption("layoutColumnsOnNewData",!1),this.registerColumnOption("widthGrow"),this.registerColumnOption("widthShrink")}initialize(){var e=this.table.options.layout;s0.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode),this.subscribe("column-init",this.initializeColumn.bind(this))}initializeColumn(e){e.definition.widthGrow&&(e.definition.widthGrow=Number(e.definition.widthGrow)),e.definition.widthShrink&&(e.definition.widthShrink=Number(e.definition.widthShrink))}getMode(){return this.mode}layout(e){this.dispatch("layout-refreshing"),s0.modes[this.mode].call(this,this.table.columnManager.columnsByIndex,e),this.dispatch("layout-refreshed")}}s0.moduleName="layout";s0.modes=XP;var KP={default:{groups:{item:"item",items:"items"},columns:{},data:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All",counter:{showing:"Showing",of:"of",rows:"rows",pages:"pages"}},headerFilters:{default:"filter column...",columns:{}}}};class ag extends Wi{constructor(e){super(e),this.locale="default",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption("locale",!1),this.registerTableOption("langs",{})}initialize(){this.langList=oo.deepClone(ag.langs),this.table.options.columnDefaults.headerFilterPlaceholder!==!1&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let e in this.table.options.langs)this.installLang(e,this.table.options.langs[e]);this.setLocale(this.table.options.locale),this.registerTableFunction("setLocale",this.setLocale.bind(this)),this.registerTableFunction("getLocale",this.getLocale.bind(this)),this.registerTableFunction("getLang",this.getLang.bind(this))}setHeaderFilterPlaceholder(e){this.langList.default.headerFilters.default=e}installLang(e,r){this.langList[e]?this._setLangProp(this.langList[e],r):this.langList[e]=r}_setLangProp(e,r){for(let E in r)e[E]&&typeof e[E]=="object"?this._setLangProp(e[E],r[E]):e[E]=r[E]}setLocale(e){e=e||"default";function r(E,z){for(var k in E)typeof E[k]=="object"?(z[k]||(z[k]={}),r(E[k],z[k])):z[k]=E[k]}if(e===!0&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){let E=e.split("-")[0];this.langList[E]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,E),e=E):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=oo.deepClone(this.langList.default||{}),e!="default"&&r(this.langList[e],this.lang),this.dispatchExternal("localized",this.locale,this.lang),this._executeBindings()}getLocale(e){return this.locale}getLang(e){return e?this.langList[e]:this.lang}getText(e,r){var E=r?e+"|"+r:e,z=E.split("|"),k=this._getLangElement(z,this.locale);return k||""}_getLangElement(e,r){var E=this.lang;return e.forEach(function(z){var k;E&&(k=E[z],typeof k<"u"?E=k:E=!1)}),E}bind(e,r){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(r),r(this.getText(e),this.lang)}_executeBindings(){for(let e in this.bindings)this.bindings[e].forEach(r=>{r(this.getText(e),this.lang)})}}ag.moduleName="localize";ag.langs=KP;class QM extends Wi{constructor(e){super(e)}initialize(){this.registerTableFunction("tableComms",this.receive.bind(this))}getConnections(e){var r=[],E;return E=pu.lookupTable(e),E.forEach(z=>{this.table!==z&&r.push(z)}),r}send(e,r,E,z){var k=this.getConnections(e);k.forEach(m=>{m.tableComms(this.table.element,r,E,z)}),!k.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)}receive(e,r,E,z){if(this.table.modExists(r))return this.table.modules[r].commsReceived(e,E,z);console.warn("Inter-table Comms Error - no such module:",r)}}QM.moduleName="comms";var JP=Object.freeze({__proto__:null,LayoutModule:s0,LocalizeModule:ag,CommsModule:QM});class e6{constructor(e,r){this.bindStaticFunctionality(e),this.bindModules(e,JP,!0),r&&this.bindModules(e,r)}bindStaticFunctionality(e){e.moduleBindings={},e.extendModule=function(r,E,z){if(e.moduleBindings[r]){var k=e.moduleBindings[r][E];if(k)if(typeof z=="object")for(let m in z)k[m]=z[m];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",E)}else console.warn("Module Error - module does not exist:",r)},e.registerModule=function(r){Array.isArray(r)||(r=[r]),r.forEach(E=>{e.registerModuleBinding(E)})},e.registerModuleBinding=function(r){e.moduleBindings[r.moduleName]=r},e.findTable=function(r){var E=pu.lookupTable(r,!0);return Array.isArray(E)&&!E.length?!1:E},e.prototype.bindModules=function(){var r=[],E=[],z=[];this.modules={};for(var k in e.moduleBindings){let m=e.moduleBindings[k],t=new m(this);this.modules[k]=t,m.prototype.moduleCore?this.modulesCore.push(t):m.moduleInitOrder?m.moduleInitOrder<0?r.push(t):E.push(t):z.push(t)}r.sort((m,t)=>m.moduleInitOrder>t.moduleInitOrder?1:-1),E.sort((m,t)=>m.moduleInitOrder>t.moduleInitOrder?1:-1),this.modulesRegular=r.concat(z.concat(E))}}bindModules(e,r,E){var z=Object.values(r);E&&z.forEach(k=>{k.prototype.moduleCore=!0}),e.registerModule(z)}}class QP extends Ml{constructor(e){super(e),this.element=this._createAlertElement(),this.msgElement=this._createMsgElement(),this.type=null,this.element.appendChild(this.msgElement)}_createAlertElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert"),e}_createMsgElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert-msg"),e.setAttribute("role","alert"),e}_typeClass(){return"tabulator-alert-state-"+this.type}alert(e,r="msg"){if(e){for(this.clear(),this.dispatch("alert-show",r),this.type=r;this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.add(this._typeClass()),typeof e=="function"&&(e=e()),e instanceof HTMLElement?this.msgElement.appendChild(e):this.msgElement.innerHTML=e,this.table.element.appendChild(this.element)}}clear(){this.dispatch("alert-hide",this.type),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.msgElement.classList.remove(this._typeClass())}}class Yd{constructor(e,r){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.alertManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.originalElement=null,this.componentFunctionBinder=new UP(this),this.dataLoader=!1,this.modules={},this.modulesCore=[],this.modulesRegular=[],this.deprecationAdvisor=new qP(this),this.optionsList=new JM(this,"table constructor"),this.initialized=!1,this.destroyed=!1,this.initializeElement(e)&&(this.initializeCoreSystems(r),setTimeout(()=>{this._create()})),pu.register(this)}initializeElement(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement?(this.element=e,!0):typeof e=="string"?(this.element=document.querySelector(e),this.element?!0:(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)}initializeCoreSystems(e){this.columnManager=new zP(this),this.rowManager=new NP(this),this.footerManager=new VP(this),this.dataLoader=new HP(this),this.alertManager=new QP(this),this.bindModules(),this.options=this.optionsList.generate(Yd.defaultOptions,e),this._clearObjectPointers(),this._mapDeprecatedFunctionality(),this.externalEvents=new GP(this,this.options,this.options.debugEventsExternal),this.eventBus=new WP(this.options.debugEventsInternal),this.interactionMonitor=new jP(this),this.dataLoader.initialize(),this.footerManager.initialize()}_mapDeprecatedFunctionality(){}_clearSelection(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")}_create(){this.externalEvents.dispatch("tableBuilding"),this.eventBus.dispatch("table-building"),this._rtlCheck(),this._buildElement(),this._initializeTable(),this._loadInitialData(),this.initialized=!0,this.externalEvents.dispatch("tableBuilt")}_rtlCheck(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if(e.direction!=="rtl")break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),Array.isArray(this.options.data)&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var e=this.element,r=this.options,E;if(e.tagName==="TABLE"){this.originalElement=this.element,E=document.createElement("div");var z=e.attributes;for(var k in z)typeof z[k]=="object"&&E.setAttribute(z[k].name,z[k].value);e.parentNode.replaceChild(E,e),this.element=e=E}for(e.classList.add("tabulator"),e.setAttribute("role","grid");e.firstChild;)e.removeChild(e.firstChild);r.height&&(r.height=isNaN(r.height)?r.height:r.height+"px",e.style.height=r.height),r.minHeight!==!1&&(r.minHeight=isNaN(r.minHeight)?r.minHeight:r.minHeight+"px",e.style.minHeight=r.minHeight),r.maxHeight!==!1&&(r.maxHeight=isNaN(r.maxHeight)?r.maxHeight:r.maxHeight+"px",e.style.maxHeight=r.maxHeight)}_initializeTable(){var e=this.element,r=this.options;this.interactionMonitor.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modulesCore.forEach(E=>{E.initialize()}),e.appendChild(this.columnManager.getElement()),e.appendChild(this.rowManager.getElement()),r.footerElement&&this.footerManager.activate(),r.autoColumns&&r.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modulesRegular.forEach(E=>{E.initialize()}),this.columnManager.setColumns(r.columns),this.eventBus.dispatch("table-built")}_loadInitialData(){this.dataLoader.load(this.options.data),this.columnManager.verticalAlignHeaders()}destroy(){var e=this.element;for(this.destroyed=!0,pu.deregister(this),this.eventBus.dispatch("table-destroy"),this.rowManager.destroy();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator"),this.externalEvents.dispatch("tableDestroyed")}_detectBrowser(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):e.indexOf("Mac OS")>-1?(this.browser="safari",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.slice(0,4))}initGuard(e,r){var E,z;return this.options.debugInitialization&&!this.initialized&&(e||(E=new Error().stack.split(` -`),z=E[0]=="Error"?E[2]:E[1],z[0]==" "?e=z.trim().split(" ")[1].split(".")[1]:e=z.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(r?" "+r:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,r,E){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,r,E,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,r,E){return this.initGuard(),this.dataLoader.load(e,r,E,!0,!0)}updateData(e){var r=0;return this.initGuard(),new Promise((E,z)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(k=>{var m=this.rowManager.findRow(k[this.options.index]);m?(r++,m.updateData(k).then(()=>{r--,r||E()}).catch(t=>{z("Update Error - Unable to update row",k,t)})):z("Update Error - Unable to find row",k)}):(console.warn("Update Error - No data provided"),z("Update Error - No data provided"))})}addData(e,r,E){return this.initGuard(),new Promise((z,k)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,r,E).then(m=>{var t=[];m.forEach(function(d){t.push(d.getComponent())}),z(t)}):(console.warn("Update Error - No data provided"),k("Update Error - No data provided"))})}updateOrAddData(e){var r=[],E=0;return this.initGuard(),new Promise((z,k)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(m=>{var t=this.rowManager.findRow(m[this.options.index]);E++,t?t.updateData(m).then(()=>{E--,r.push(t.getComponent()),E||z(r)}):this.rowManager.addRows(m).then(d=>{E--,r.push(d[0].getComponent()),E||z(r)})}):(console.warn("Update Error - No data provided"),k("Update Error - No data provided"))})}getRow(e){var r=this.rowManager.findRow(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var r=this.rowManager.getRowFromPosition(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var r=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let E of e){let z=this.rowManager.findRow(E,!0);if(z)r.push(z);else return console.error("Delete Error - No matching row found:",E),Promise.reject("Delete Error - No matching row found")}return r.sort((E,z)=>this.rowManager.rows.indexOf(E)>this.rowManager.rows.indexOf(z)?1:-1),r.forEach(E=>{E.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,r,E){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,r,E,!0).then(z=>z[0].getComponent())}updateOrAddRow(e,r){var E=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),E?E.updateData(r).then(()=>E.getComponent()):this.rowManager.addRows(r).then(z=>z[0].getComponent())}updateRow(e,r){var E=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),E?E.updateData(r).then(()=>Promise.resolve(E.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,r,E){var z=this.rowManager.findRow(e);return z?this.rowManager.scrollToRow(z,r,E):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,r,E){var z=this.rowManager.findRow(e);this.initGuard(),z?z.moveToRow(r,E):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var r=this.rowManager.findRow(e);return r?r.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var r=this.columnManager.findColumn(e);return r?r.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.visible?r.hide():r.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,r,E){var z=this.columnManager.findColumn(E);return this.initGuard(),this.columnManager.addColumn(e,r,z).then(k=>k.getComponent())}deleteColumn(e){var r=this.columnManager.findColumn(e);return this.initGuard(),r?r.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,r){var E=this.columnManager.findColumn(e);return this.initGuard(),E?E.updateDefinition(r):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,r,E){var z=this.columnManager.findColumn(e),k=this.columnManager.findColumn(r);this.initGuard(),z?k?this.columnManager.moveColumn(z,k,E):console.warn("Move Error - No matching column found:",k):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,r,E){return new Promise((z,k)=>{var m=this.columnManager.findColumn(e);return m?this.columnManager.scrollToColumn(m,r,E):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw(!0)}on(e,r){this.externalEvents.subscribe(e,r)}off(e,r){this.externalEvents.unsubscribe(e,r)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,r){this.initGuard(),this.alertManager.alert(e,r)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,r){return this.modules[e]?!0:(r&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var r=this.modules[e];return r||console.error("Tabulator module not installed: "+e),r}}Yd.defaultOptions=PP;new e6(Yd);class t6 extends Yd{}new e6(t6,OP);const eR=ns({name:"TabulatorTable",props:{tableIndexField:{type:String,required:!1,default:()=>"id"},tableData:{type:Object,required:!0},columnDefinitions:{type:Object,required:!0},title:{type:String,required:!1},index:{type:Number,required:!0},selectedRowIndexFromListening:{type:Number,required:!1,default:()=>{}},tableLayoutParam:{type:String,required:!1,default:()=>"fitDataFill"},defaultRow:{type:Number,required:!1,default:()=>0},initialSort:{type:Array,required:!1,default:()=>{}}},emits:["rowSelected"],setup(){return{streamlitDataStore:Ns()}},data(){return{tabulator:void 0,initialized:0}},computed:{id(){return`table-${this.index}`},containerStyles(){return{display:"flex","flex-direction":"column","align-items":"center"}},tableClasses(){var n,e;return{"table-dark":((n=this.streamlitDataStore.theme)==null?void 0:n.base)==="dark","table-light":((e=this.streamlitDataStore.theme)==null?void 0:e.base)==="light","table-striped":!1,"table-bordered":!0,"table-sm":!0}},preparedTableData(){const n=[...this.columnDefinitions.map(e=>e.field),"id"];if(this.tableData!==void 0&&this.tableData.length>0){const e=[];return this.tableData.forEach((r,E)=>{const z={};n.forEach(k=>{k!==void 0&&(z[k]=r[k])}),this.tableData[0][this.tableIndexField]===void 0?e.push({...z,[this.tableIndexField]:E}):e.push({...z})}),e}return this.tableData}},watch:{tableData(){this.drawTable()},selectedRowIndexFromListening(n){n!==void 0&&this.onSelectedRowListener(n)}},mounted(){this.drawTable()},methods:{drawTable(){this.tabulator=new t6(`#${this.id}`,{index:this.tableIndexField,data:this.preparedTableData,minHeight:50,maxHeight:this.title?320:310,responsiveLayout:"collapse",layout:this.tableLayoutParam,selectable:1,columnDefaults:{title:"",hozAlign:"right"},columns:this.columnDefinitions.map(n=>(n.headerTooltip=!0,n)),initialSort:this.initialSort}),this.tabulator.on("tableBuilt",()=>{this.initialized<3&&(this.initialized+=1,this.selectDefaultRow())})},selectDefaultRow(){var n;this.defaultRow>=0&&((n=this.tabulator)==null||n.selectRow([this.defaultRow]),this.onTableClick())},onTableClick(){var e,r;const n=(r=(e=this.tabulator)==null?void 0:e.getSelectedRows()[0])==null?void 0:r.getIndex();n!==void 0&&this.$emit("rowSelected",n)},onSelectedRowListener(n){var e,r,E;(e=this.tabulator)==null||e.scrollToRow(n,"top",!1),(r=this.tabulator)==null||r.deselectRow(),(E=this.tabulator)==null||E.selectRow([n]),this.onTableClick()},downloadTable(){this.tabulator!==void 0&&this.tabulator.download("csv",`${this.title}.csv`)}}});const tR={style:{padding:"8px",width:"98%"}},nR={class:"d-flex"},rR={style:{width:"100%",display:"grid","grid-template-columns":"1fr 1fr 1fr"}},iR={class:"d-flex justify-end",style:{"grid-column":"1 / span 1"}},aR={class:"d-flex justify-center",style:{"grid-column":"2 / span 1"}},oR=["id"],sR={class:"d-flex justify-end",style:{"grid-column":"3 / span 1"}},lR=["id"];function uR(n,e,r,E,z,k){const m=Gr("v-btn"),t=Gr("v-card"),d=Gr("v-menu");return Pr(),ei("div",tR,[ti("div",nR,[ti("div",rR,[ti("div",iR,[nb(n.$slots,"start-title-row")]),ti("div",aR,[ti("h4",{id:`${n.id}-title`},[nb(n.$slots,"default",{},()=>[ea(ho(n.title??""),1)])],8,oR),gt(d,{activator:`#${n.id}-title`,location:"bottom"},{default:si(()=>[gt(t,{"min-width":"100"},{default:si(()=>[gt(m,{"prepend-icon":"mdi-download",onClick:n.downloadTable},{default:si(()=>[ea("Download")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["activator"])]),ti("div",sR,[nb(n.$slots,"end-title-row")])])]),ti("div",{id:n.id,class:Ku(n.tableClasses),onClick:e[0]||(e[0]=(...y)=>n.onTableClick&&n.onTableClick(...y))},null,10,lR)])}const y0=fs(eR,[["render",uR]]),Dh=n=>e=>e.getValue().toString().length>4?e.getValue().toFixed(n??4):e.getValue(),cR=ns({name:"TabulatorScanTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=Mf();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Index",field:"id",sorter:"number"},{title:"Scan Number",field:"Scan",sorter:"number"},{title:"MS Level",field:"MSLevel",sorter:"number"},{title:"Retention time",field:"RT",formatter:Dh(),sorter:"number"},{title:"Precursor Mass",field:"PrecursorMass",formatter:Dh(),sorter:"number"},{title:"#Masses",field:"#Masses",sorter:"number"}]}},computed:{tableData(){const n=this.streamlitDataStore.allDataForDrawing.per_scan_data;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedScan(n){n!==void 0&&(n!==this.selectionStore.selectedScanIndex&&this.selectionStore.updateSelectedMass(void 0),this.selectionStore.updateSelectedScan(n))}}});function fR(n,e,r,E,z,k){const m=Gr("TabulatorTable");return Pr(),Va(m,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Scan Table",index:n.index,"table-layout-param":"fitColumns",onRowSelected:n.updateSelectedScan},null,8,["table-data","column-definitions","index","onRowSelected"])}const hR=fs(cR,[["render",fR]]),dR=ns({name:"PlotlyLineplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=Mf();return{streamlitDataStore:n,selectionStore:e}},computed:{id(){return`graph-${this.index}`},theme(){return this.streamlitDataStore.theme},selectedRow(){return this.selectionStore.selectedScanIndex},xAxisLabel(){switch(this.args.title){case"Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},xColumn(){switch(this.args.title){case"Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":return"MonoMass";default:return""}},xValues(){const n=[];return this.selectedRow===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedRow][this.xColumn].forEach(e=>{n.push(e,e,e)}),n},yColmun(){switch(this.args.title){case"Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":return"SumIntensity";default:return""}},yValues(){const n=[];return this.selectedRow===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedRow][this.yColmun].forEach(e=>{n.push(-1e7,e,-1e7)}),n},data(){return[{x:this.xValues,y:this.yValues,mode:"lines",type:"scatter",connectgaps:!1}]},layout(){var n,e,r,E,z;return{title:`${this.args.title}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1},yaxis:{title:"Intensity",showgrid:!0,gridcolor:(n=this.theme)==null?void 0:n.secondaryBackgroundColor,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:(e=this.theme)==null?void 0:e.backgroundColor,plot_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,font:{color:(E=this.theme)==null?void 0:E.textColor,family:(z=this.theme)==null?void 0:z.font}}}},watch:{selectedRow(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await zs.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:zs.Icons.camera,click:n=>{zs.downloadImage(n,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}]})}}}),pR=["id"];function mR(n,e,r,E,z,k){return Pr(),ei("div",{id:n.id,style:{width:"100%"}},null,8,pR)}const gR=fs(dR,[["render",mR]]),vR=ns({name:"PlotlyLineplotTagger",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=Mf();return{streamlitDataStore:n,selectionStore:e}},data(){return{manual:!1,manual_xRange:void 0,selectedMass:void 0}},computed:{id(){return`graph-${this.index}`},theme(){return this.streamlitDataStore.theme},selectedScan(){return this.selectionStore.selectedScanIndex},selectedTag(){return this.selectionStore.selectedTagIndex},selectedAA(){var n;return(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA},showBackButton(){return this.args.title==="Annotated Spectrum"},minCharge(){return this.selectedScan===void 0?-10:Math.min(...this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MinCharges)},maxCharge(){return this.selectedScan===void 0?-10:Math.max(...this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MinCharges)},xAxisLabel(){switch(this.args.title){case"Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},xColumn(){switch(this.args.title){case"Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":return"MonoMass";default:return""}},xValues(){const n=[];return this.selectedScan===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan][this.xColumn].forEach(e=>{n.push(e,e,e)}),n},xMassValues(){return this.selectedScan===void 0?[]:this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MonoMass},mzSignals(){let n=[];return this.selectedScan===void 0||(n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].SignalPeaks),n},yColmun(){switch(this.args.title){case"Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":return"SumIntensity";default:return""}},yValues(){const n=[];return this.selectedScan===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan][this.yColmun].forEach(e=>{n.push(-1e7,e,-1e7)}),n},highlightedMassPos(){var r;const n=(r=this.selectionStore.selectedTag)==null?void 0:r.masses;if(n===void 0)return[];let e=[];for(let E=0;E{const T=S.reduce((A,L)=>A+L.intensity,0),_=S.map(A=>A.intensity/T*A.mz).reduce((A,L)=>A+L,0);e.push({type:"rect",x0:_-.5*t,y0:z,x1:_+.5*t,y1:m,fillcolor:f,line:{width:0}}),r.push({x:_,y:k,xref:"x",yref:"y",text:"z="+x,showarrow:!1,font:{size:15}})}),{shapes:e,annotations:r,traces:n}}let d=[];if(t>this.xPosScalingThreshold)return{shapes:e,annotations:r,traces:n};for(let f=0;fv?(A=w-v,w-=C,x+=C*.1,v+=C,T-=C*.1):(A=v-w,w+=C,x-=C*.1,v-=C,T+=C*.1),d.push({ax:x,ay:y,xref:"x",yref:"y",x:w,y,axref:"x",ayref:"y",showarrow:!0,arrowhead:0,arrowsize:1,arrowwidth:2,arrowcolor:c}),d.push({ax:T,ay:y,xref:"x",yref:"y",x:v,y,axref:"x",ayref:"y",showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:2,arrowcolor:c}),d.push({x:S,y:i,xref:"x",yref:"y",text:_,hovertext:"ฮ”="+A.toFixed(2)+" Da",showarrow:!1,font:{size:15,color:c,family:p}})}return{shapes:e,annotations:[...r,...d],traces:n}},data(){let n=[];if(n.push({x:this.plotData.unhighlighted_x,y:this.plotData.unhighlighted_y,mode:"lines",type:"scatter",marker:{color:"lightblue"}}),n.push({x:this.plotData.highlighted_x,y:this.plotData.highlighted_y,mode:"lines",type:"scatter",marker:{color:"#E4572E"}}),n.push({x:this.plotData.selected_x,y:this.plotData.selected_y,mode:"lines",type:"scatter",marker:{color:"#F3A712"}}),this.args.title==="Deconvolved Spectrum"){const e=this.annotationData.traces;n.push(...e)}return n},xRange(){if(this.xValues.length===0)return[];if(this.manual&&this.manual_xRange!==void 0)return this.manual_xRange;if(this.highlightedValues.length===0)return[Math.min(...this.xValues)*.98,Math.max(...this.xValues)*1.02];if(this.args.title==="Annotated Spectrum"&&this.selectedMass!==void 0)return[Math.min(...this.highlightedValues[this.selectedMass].mzs)*.98,Math.max(...this.highlightedValues[this.selectedMass].mzs)*1.02];let n=Math.min(...this.highlightedValues.map(z=>z.mass))*.98,e=Math.max(...this.highlightedValues.map(z=>z.mass))*1.02;if(e-nz+k.mass,0)/this.highlightedValues.length,E=.5*.9*this.maxAnnotationRange;return[r-E,r+E]},yRange(){return this.computeYRange(this.xRange)},layout(){var n,e,r,E,z;return{title:`${this.args.title}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1,range:this.xRange,showline:!0,linecolor:"grey",linewidth:1},yaxis:{title:"Intensity",showgrid:!0,gridcolor:(n=this.theme)==null?void 0:n.secondaryBackgroundColor,rangemode:"nonnegative",range:this.yRange,fixedrange:!0,showline:!0,linecolor:"grey",linewidth:1},paper_bgcolor:(e=this.theme)==null?void 0:e.backgroundColor,plot_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,font:{color:(E=this.theme)==null?void 0:E.textColor,family:(z=this.theme)==null?void 0:z.font},shapes:this.annotationData.shapes,annotations:this.annotationData.annotations}}},watch:{selectedScan(){this.manual=!1,this.args.title="Deconvolved Spectrum",this.selectedMass=void 0,this.graph()},selectedTag(){this.manual=!1,this.args.title="Deconvolved Spectrum",this.selectedMass=void 0,this.graph()},annotationData(){this.manual&&this.updateButtons(this.annotationData.shapes,this.annotationData.annotations)}},mounted(){this.graph()},methods:{backButton(){this.args.title="Deconvolved Spectrum",this.selectedMass=void 0,this.manual=!1,this.graph()},onPlotClick(n){if(n.points&&n.points.length>0){const e=n.points[0].x;for(let r=0;r=n[1]||z>e&&(e=z)}return e===0?[0,1]:[0,e*1.8]},isHighlighted(n){return this.highlightedPos(n)!==void 0},highlightedPos(n){if(this.args.title==="Annotated Spectrum"){const e=this.selectedMass;if(e===void 0)return;const r=this.highlightedValues[e].mzs;for(let E=0;E{zs.downloadImage(e,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}],scrollZoom:!0});n.on("plotly_relayout",e=>{this.onRelayout(e)}),n.on("plotly_click",e=>{this.onPlotClick(e)})}}});const yR=["id"];function bR(n,e,r,E,z,k){return Pr(),ei("div",{id:n.id,class:"plot-container"},[n.showBackButton?(Pr(),ei("button",{key:0,class:"simple-button",onClick:e[0]||(e[0]=(...m)=>n.backButton&&n.backButton(...m))},"โ†ฉ")):Zi("",!0)],8,yR)}const xR=fs(vR,[["render",bR],["__scopeId","data-v-f0f0a749"]]),_R=ns({name:"Plotly3Dplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=Mf();return{streamlitDataStore:n,selectionStore:e}},data(){return{maximumIntensity:0}},computed:{id(){return`graph-${this.index}`},title(){return this.selectedScanRow===void 0?"":this.selectedMassRow===void 0?"Precursor signals":"Mass signals"},theme(){return this.streamlitDataStore.theme},selectedScanRow(){return this.selectionStore.selectedScanIndex},selectedMassRow(){return this.selectionStore.selectedMassIndex},dataForDrawing(){var r,E;if(this.selectedScanRow===void 0)return[];const n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanRow]??{};let e={};return this.selectedMassRow===void 0?e=this.getPrecursorSignal(n):e=this.getSignalNoiseObject(((r=n.SignalPeaks)==null?void 0:r[this.selectedMassRow])??[[]],((E=n.NoisyPeaks)==null?void 0:E[this.selectedMassRow])??[[]]),Object.keys(e).length===0?[]:(this.updateMaximumIntensity(e),[{name:"Signal",type:"scatter3d",mode:"lines",x:e.signal_x,y:e.signal_y,z:e.signal_z,line:{color:"#3366CC"}},{name:"Noise",type:"scatter3d",mode:"lines",x:e.noise_x,y:e.noise_y,z:e.noise_z,line:{color:"#DC3912"}}])},layout(){var n,e,r,E;return{title:`${this.title}`,paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(E=this.theme)==null?void 0:E.font},scene:{xaxis:{title:"Mass"},yaxis:{title:"Charge"},zaxis:{title:"Intensity",range:[0,this.maximumIntensity]},camera:{eye:{x:2.5,y:0,z:.2}}},showlegend:!0}}},watch:{selectedScanRow(){this.graph()},selectedMassRow(){this.graph()}},mounted(){this.graph()},methods:{updateMaximumIntensity(n){this.maximumIntensity=n.signal_z.concat(n.noise_z).reduce((e,r)=>Math.max(e,r),-1/0)},async graph(){await zs.newPlot(this.id,this.dataForDrawing,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:zs.Icons.camera,click:function(n){zs.downloadImage(n,{filename:"FLASHViewer-3d-plot",height:800,width:800,format:"svg"})}}]})},getPrecursorSignal(n){if(n.PrecursorScan==0)return{};const e=this.streamlitDataStore.allDataForDrawing.per_scan_data.find(z=>z.Scan===n.PrecursorScan);if(!e)return{};const r=e.MonoMass,E=n.PrecursorMass;for(let z=0,k=r.length;zE.field),r=[];return Object.entries(n).forEach(E=>{const z=E[0];if(!e.includes(z)||z==="id")return;E[1].forEach((m,t)=>{r[t]={...r[t],[z]:m}})}),r.map((E,z)=>E.id=z),r},selectedMassFromFragmentTable(){return this.selectionStore.selectedObservedMassFromFragmentTable}},watch:{selectedMassFromFragmentTable(n){const e=this.tableData.findIndex(r=>r.MonoMass===n);e!==-1&&(this.selectedMassIndex=e)}},methods:{updateSelectedMass(n){n!==void 0&&this.selectionStore.updateSelectedMass(n)}}});function AR(n,e,r,E,z,k){const m=Gr("TabulatorTable");return Pr(),Va(m,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Mass Table",index:n.index,"selected-row-index-from-listening":n.selectedMassIndex,onRowSelected:n.updateSelectedMass},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","onRowSelected"])}const SR=fs(MR,[["render",AR]]),CR=ns({name:"TabulatorProteinTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=Mf();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan No.",field:"Scan",sorter:"number"},{title:"Accession",field:"accession"},{title:"Description",field:"description",responsive:10},{title:"Length",field:"length",responsive:6,sorter:"number"},{title:"Mass",field:"ProteoformMass",responsive:8,sorter:"number"},{title:"No. of Matched Fragments",field:"MatchingFragments",sorter:"number"},{title:"Coverage (%)",field:"Coverage(%)",responsive:7,sorter:"number"},{title:"No. of Modifications",field:"ModCount",sorter:"number"},{title:"No. of Tags",field:"TagCount",sorter:"number"},{title:"Score",field:"Score",sorter:"number"},{title:"Q-Value (Proteoform Level)",field:"ProteoformLevelQvalue",sorter:"number"}],initialSort:[{column:"Score",dir:"desc"}]}},computed:{selectedRow(){return this.selectionStore.selectedProteinIndex},tableData(){const n=this.streamlitDataStore.dataForDrawing.protein_table;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedProtein(n){if(n!==void 0){this.selectionStore.updateSelectedProtein(n);const e=this.streamlitDataStore.dataForDrawing.protein_table[n].Scan;if(e!==void 0&&typeof e=="number"){const r=this.streamlitDataStore.allDataForDrawing.per_scan_data.findIndex(E=>E.Scan===e);this.selectionStore.updateSelectedScan(r)}this.selectionStore.updateSelectedTag(void 0),this.selectionStore.updateTagData(void 0)}}}});function ER(n,e,r,E,z,k){const m=Gr("TabulatorTable");return Pr(),Va(m,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Protein Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,"default-row":0,"initial-sort":n.initialSort,onRowSelected:n.updateSelectedProtein},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","initial-sort","onRowSelected"])}const LR=fs(CR,[["render",ER]]),IR=ns({name:"TabulatorTagTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=Mf();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan Number",field:"Scan",sorter:"number"},{title:"Start Position",field:"StartPos",sorter:"number"},{title:"End Position",field:"EndPos",sorter:"number"},{title:"Sequence",field:"TagSequence",sorter:"number"},{title:"Length",field:"Length",sorter:"number"},{title:"Score",field:"Score",sorter:"number"},{title:"N mass",field:"Nmass",sorter:"number"},{title:"C mass",field:"Cmass",sorter:"number"},{title:"ฮ” mass",field:"DeltaMass",sorter:"number"}],initialSort:[{column:"Score",dir:"desc"}],selectedTagIndex:void 0}},computed:{selectedRow(){return this.selectionStore.selectedTagIndex},tableData(){let e=this.streamlitDataStore.dataForDrawing.tag_table.filter(E=>E.ProteinIndex===this.selectionStore.selectedProteinIndex);const r=this.selectionStore.selectedAApos;return r!==void 0&&(e=e.filter(E=>{const z=E.StartPos,k=E.EndPos;return typeof z=="number"&&typeof k=="number"&&z<=r&&k>=r})),e.forEach(E=>E.id=E.TagIndex),e}},watch:{},methods:{getRowByTagIndex(n){return this.tableData.find(E=>E.id===n)},updateSelectedTag(n){if(n===void 0)return;this.selectionStore.updateSelectedTag(n);const e=this.getRowByTagIndex(n);if(e===void 0)return;const r=e.mzs;let E=[];typeof r=="string"&&(E=r.split(",").map(Number).filter(i=>i!==0));const z=typeof e.StartPos=="number"?e.StartPos:0,k=typeof e.EndPos=="number"?e.EndPos:0;let m=-1e3;z!==void 0&&this.selectionStore.selectedAApos!==void 0&&typeof z=="number"&&(m=this.selectionStore.selectedAApos-z);const t=e.TagSequence;let d="";typeof t=="string"&&(d=t);let y=!1;e["N mass"]===-1&&(y=!0),this.selectionStore.updateTagData({sequence:d,nTerminal:y,masses:E,selectedAA:m,startPos:z,endPos:k})}}});function OR(n,e,r,E,z,k){const m=Gr("TabulatorTable");return Pr(),Va(m,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Tag Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,onRowSelected:n.updateSelectedTag,"default-row":1,"initial-sort":n.initialSort},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","onRowSelected","initial-sort"])}const PR=fs(IR,[["render",OR]]),q2=i2("variable-mod",{state:()=>({variableMod:{}}),getters:{variableModifications:n=>n.variableMod,isEmpty:n=>Object.values(n.variableMod).filter(e=>e!==void 0&&e!==0).length===0},actions:{updateVariableModifications(n,e){this.variableMod={...this.variableMod,[n]:e}}}}),wv={Acetyl:42.010565,Methyl:14.01565,Phospho:79.966331,Oxidation:15.994915,Deamidated:.984016,Amidated:-.984016},n6={"N-term":["Acetyl","Methyl","Phospho"],"C-term":["Amidated"],C:["Acetyl","Methyl","Phospho"],E:["Methyl","Phospho"],D:["Methyl","Phospho"],H:["Methyl","Phospho"],I:["Methyl"],K:["Methyl","Phospho"],L:["Methyl"],M:["Oxidation"],N:["Methyl"],Q:["Deamidated","Methyl"],R:["Methyl","Phospho"],S:["Acetyl","Methyl","Phospho"],T:["Acetyl","Methyl","Phospho"],Y:["Phospho"]},RR={default:[{typeName:"",typeMass:0}],"water loss":[{typeName:"-H2O",typeMass:-18.0105646863}],"ammonium loss":[{typeName:"-NH3",typeMass:-17.0265491015}],"proton loss/addition":[{typeName:"-H",typeMass:-1.0078250319},{typeName:"+H",typeMass:1.0078250319}]},DR=ns({name:"AminoAcidCell",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1},disableVariableModificationSelection:{type:Boolean,default:!1},showTags:{type:Boolean,default:!1},showModifications:{type:Boolean,default:!0},showFragments:{type:Boolean,default:!0}},emits:["selected"],setup(){const n=Ns(),e=q2(),r=Mf();return{streamlitData:n,variableModData:e,selectionStore:r}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},start(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_start;return n===void 0?n:n<0?0:n},end(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_end;return n===void 0?n:n<0&&this.length!==void 0?this.length-1:n},length(){var n;return(n=this.streamlitData.sequenceData)==null?void 0:n[this.selectedSequence].sequence.length},prefix(){if(this.start===void 0&&this.end===void 0)return this.index+1;if(this.end!==void 0&&this.index>this.end)return;if(this.start!==void 0&&this.index>=this.start)return this.index+1-this.start},protein_position(){return this.index+1},truncated_prefix(){if(!(this.start===void 0||this.index>=this.start))return this.index+1},suffix(){if(this.start===void 0&&this.end===void 0)return(length??0)-this.index;if(this.start!==void 0&&this.index0},selectedSequence(){return this.selectionStore.selectedProteinIndex!==void 0?this.selectionStore.selectedProteinIndex:0},coverage(){return this.sequenceObject.coverage!==void 0?this.sequenceObject.coverage:-1},isHighlighted(){return this.index===this.selectionStore.selectedAApos},isTruncated(){return this.sequenceObject.truncated},DoesThisAAHaveSequenceTags(){return this.coverage>0}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},selectCell(){this.DoesThisAAHaveSequenceTags&&this.showTags&&(this.selectionStore.selectedAApos===this.index?this.selectionStore.updateSelectedAA(void 0):this.selectionStore.updateSelectedAA(this.index)),this.DoesThisAAHaveMatchingFragments&&this.$emit("selected",this.index)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}},watch:{isThisAAmodified(){this.sequenceObject.modStart=!0,this.sequenceObject.modEnd=!0},customModMass(){this.sequenceObject.modMass=parseFloat(this.customModMass).toLocaleString("en-US",{signDisplay:"always"})},selectedModification(){this.selectedModification!==void 0&&wv[this.selectedModification]!==void 0&&(this.sequenceObject.modMass=parseFloat(wv[this.selectedModification].toFixed(2)).toLocaleString("en-US",{signDisplay:"always"}))},showTags(){this.showTags||this.selectionStore.updateSelectedAA(void 0)}}});const Mu=n=>(Ty("data-v-2de7ee7a"),n=n(),ky(),n),zR=["id"],FR={key:0,class:"frag-marker-container-a"},BR=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),NR=[BR],VR={key:1,class:"frag-marker-container-b"},jR=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"3"})],-1)),UR=[jR],HR={key:2,class:"frag-marker-container-c"},GR=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),WR=[GR],qR={key:3,class:"frag-marker-container-x"},YR=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),$R=[YR],ZR={key:4,class:"frag-marker-container-y"},XR=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"3"})],-1)),KR=[XR],JR={key:5,class:"frag-marker-container-z"},QR=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),eD=[QR],tD={key:6,class:"rounded-lg tag-marker tag-start"},nD={key:7,class:"rounded-lg tag-marker tag-end"},rD={key:8,class:"rounded-lg mod-marker mod-start"},iD={key:9,class:"rounded-lg mod-marker mod-end"},aD={key:10,class:"mod-marker mod-start-cont"},oD={key:11,class:"mod-marker mod-end-cont"},sD={key:12,class:"mod-marker mod-center-cont"},lD={key:13,class:"rounded-lg mod-mass"},uD=Mu(()=>ti("br",null,null,-1)),cD=Mu(()=>ti("br",null,null,-1)),fD={key:14,class:"rounded-lg mod-mass-a"},hD={key:15,class:"rounded-lg mod-mass-b"},dD={key:16,class:"rounded-lg mod-mass-c"},pD={key:17,class:"frag-marker-extra-type"},mD=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),gD=[mD],vD={class:"aa-text"},yD=Mu(()=>ti("br",null,null,-1)),bD=Mu(()=>ti("br",null,null,-1)),xD=Mu(()=>ti("br",null,null,-1)),_D=Mu(()=>ti("br",null,null,-1)),wD={key:4};function TD(n,e,r,E,z,k){const m=Gr("v-tooltip"),t=Gr("v-select"),d=Gr("v-list-item"),y=Gr("v-text-field"),i=Gr("v-btn"),M=Gr("v-form"),g=Gr("v-list"),h=Gr("v-menu");return Pr(),ei("div",{id:n.id,class:Ku(["d-flex justify-center align-center rounded-lg",[n.aminoAcidCellClass,{highlighted:n.isHighlighted},{truncated:n.isTruncated}]]),style:$s(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...l)=>n.selectCell&&n.selectCell(...l)),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[n.showFragments&&n.sequenceObject.aIon?(Pr(),ei("div",FR,NR)):Zi("",!0),n.showFragments&&n.sequenceObject.bIon?(Pr(),ei("div",VR,UR)):Zi("",!0),n.showFragments&&n.sequenceObject.cIon?(Pr(),ei("div",HR,WR)):Zi("",!0),n.showFragments&&n.sequenceObject.xIon?(Pr(),ei("div",qR,$R)):Zi("",!0),n.showFragments&&n.sequenceObject.yIon?(Pr(),ei("div",ZR,KR)):Zi("",!0),n.showFragments&&n.sequenceObject.zIon?(Pr(),ei("div",JR,eD)):Zi("",!0),n.showTags&&n.sequenceObject.tagStart?(Pr(),ei("div",tD)):Zi("",!0),n.showTags&&n.sequenceObject.tagEnd?(Pr(),ei("div",nD)):Zi("",!0),n.showModifications&&n.sequenceObject.modStart?(Pr(),ei("div",rD)):Zi("",!0),n.showModifications&&n.sequenceObject.modEnd?(Pr(),ei("div",iD)):Zi("",!0),n.showModifications&&n.sequenceObject.modStart&&!n.sequenceObject.modEnd?(Pr(),ei("div",aD)):Zi("",!0),n.showModifications&&!n.sequenceObject.modStart&&n.sequenceObject.modEnd?(Pr(),ei("div",oD)):Zi("",!0),n.showModifications&&n.sequenceObject.modCenter?(Pr(),ei("div",sD)):Zi("",!0),n.showModifications&&n.sequenceObject.modEnd?(Pr(),ei("div",lD,[ea(ho(n.sequenceObject.modMass)+" ",1),gt(m,{activator:"parent",class:"foreground"},{default:si(()=>[ea(ho(`Modification Mass: ${n.sequenceObject.modMass} Da`)+" ",1),uD,ea(" "+ho(`Possible Modifications: ${n.sequenceObject.modLabels}`)+" ",1),cD]),_:1})])):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.aIon&&!n.sequenceObject.bIon?(Pr(),ei("div",fD,ho(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.bIon?(Pr(),ei("div",hD,ho(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.cIon&&!n.sequenceObject.bIon?(Pr(),ei("div",dD,ho(n.sequenceObject.modMass),1)):Zi("",!0),n.showModifications&&n.DoesThisAAHaveExtraFragTypes?(Pr(),ei("div",pD,gD)):Zi("",!0),ti("div",vD,ho(n.aminoAcid),1),gt(h,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:si(()=>[gt(g,null,{default:si(()=>[gt(d,null,{default:si(()=>[gt(t,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Pr(),Va(d,{key:0},{default:si(()=>[gt(M,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:si(()=>[gt(y,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(i,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:si(()=>[ea("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(m,{activator:"parent"},{default:si(()=>[ti("div",null,ho(`Protein Position: ${n.protein_position}`),1),n.prefix!==void 0?(Pr(),ei(Yr,{key:0},[ea(ho(`Prefix: ${n.prefix}`)+" ",1),yD],64)):Zi("",!0),n.truncated_prefix!==void 0?(Pr(),ei(Yr,{key:1},[ea(ho(`Truncated Prefix: ${n.truncated_prefix}`)+" ",1),bD],64)):Zi("",!0),n.suffix!==void 0?(Pr(),ei(Yr,{key:2},[ea(ho(`Suffix: ${n.suffix}`)+" ",1),xD],64)):Zi("",!0),n.truncated_suffix!==void 0?(Pr(),ei(Yr,{key:3},[ea(ho(`Truncated Suffix: ${n.truncated_suffix}`)+" ",1),_D],64)):Zi("",!0),n.DoesThisAAHaveExtraFragTypes?(Pr(),ei("div",wD,ho(n.sequenceObject.extraTypes.join(", ")),1)):Zi("",!0)]),_:1})],46,zR)}const r6=fs(DR,[["render",TD],["__scopeId","data-v-2de7ee7a"]]),kD=ns({name:"ProteinTerminalCell",props:{proteinTerminal:{type:String,required:!0},index:{type:Number,required:!0},truncated:{type:Boolean,required:!1,default:!1},determined:{type:Boolean,required:!1,default:!0},disableVariableModificationSelection:{type:Boolean,default:!1}},setup(){const n=Ns(),e=q2();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.proteinTerminal}${this.index}`},theme(){return this.streamlitData.theme},proteinTerminalText(){return this.proteinTerminal.charAt(0)},hasVariableModification(){return this.variableModData.variableModifications[this.index]!==void 0&&this.variableModData.variableModifications[this.index]!==0},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},proteinTerminalCellStyles(){var n,e;return{"--protein-terminal-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--protein-terminal-cell-hover-color":"#fff","--protein-terminal-cell-hover-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000"}},proteinTerminalCellClasses(){return{"protein-terminal":this.selectedModification===void 0&&!this.hasVariableModification,"protein-terminal-modified":this.selectedModification!==void 0||this.hasVariableModification}},potentialModifications(){return n6[this.proteinTerminal]??[]}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const MD={key:0,class:"undetermined"};function AD(n,e,r,E,z,k){const m=Gr("v-select"),t=Gr("v-list-item"),d=Gr("v-text-field"),y=Gr("v-btn"),i=Gr("v-form"),M=Gr("v-list"),g=Gr("v-menu"),h=Gr("v-tooltip");return Pr(),ei("div",{class:Ku(["d-flex justify-center align-center rounded-lg",n.proteinTerminalCellClasses]),style:$s(n.proteinTerminalCellStyles),onClick:e[5]||(e[5]=jp(()=>{},["stop"])),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[ti("div",{class:Ku(["terminal-text",{truncated:n.truncated}])},ho(n.proteinTerminalText),3),n.determined?Zi("",!0):(Pr(),ei("div",MD,"??")),gt(g,{activator:"parent",modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:si(()=>[gt(M,null,{default:si(()=>[gt(t,null,{default:si(()=>[gt(m,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Pr(),Va(t,{key:0},{default:si(()=>[gt(i,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:si(()=>[gt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(y,{type:"submit",block:"",class:"mt-2",onClick:n.updateCustomModification},{default:si(()=>[ea("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(h,{activator:"parent"},{default:si(()=>[ea(ho(n.proteinTerminalText),1)]),_:1})],38)}const SD=fs(kD,[["render",AD],["__scopeId","data-v-beee67fe"]]);var i6={exports:{}};/*! dom-to-image-more 26-04-2023 */(function(n,e){(function(r){const E=function(){let v=0;return{escape:function(A){return A.replace(/([.*+?^${}()|[]\/\\])/g,"\\$1")},isDataUrl:function(A){return A.search(/^(data:)/)!==-1},canvasToBlob:function(A){return A.toBlob?new Promise(function(L){A.toBlob(L)}):function(L){return new Promise(function(b){var O=h(L.toDataURL().split(",")[1]),I=O.length,R=new Uint8Array(I);for(let D=0;Dte.style.removeProperty(X)),["left","right","top","bottom"].forEach(X=>{te.style.getPropertyValue(X)&&te.style.setProperty(X,"0px")})))}H(q,N)}function $(){const W=E.uid();function H(ne){const te=g(q,ne),Z=te.getPropertyValue("content");if(Z!==""&&Z!=="none"){let ie=function(){const oe=`.${W}:`+ne,ue=(te.cssText?ce:ye)();return document.createTextNode(oe+`{${ue}}`);function ce(){return`${te.cssText} content: ${Z};`}function ye(){return E.asArray(te).map(me).join("; ")+";";function me(pe){const xe=te.getPropertyValue(pe),Pe=te.getPropertyPriority(pe)?" !important":"";return pe+": "+xe+Pe}}};var X=ie;const Q=N.getAttribute("class")||"",re=(N.setAttribute("class",Q+" "+W),document.createElement("style"));re.appendChild(ie()),N.appendChild(re)}}[":before",":after"].forEach(function(ne){H(ne)})}function U(){E.isHTMLTextAreaElement(q)&&(N.innerHTML=q.value),E.isHTMLInputElement(q)&&N.setAttribute("value",q.value)}function G(){E.isSVGElement(N)&&(N.setAttribute("xmlns","http://www.w3.org/2000/svg"),E.isSVGRectElement(N))&&["width","height"].forEach(function(W){const H=N.getAttribute(W);H&&N.style.setProperty(W,H)})}}}(C,S,null)}).then(o).then(s).then(function(C){S.bgcolor&&(C.style.backgroundColor=S.bgcolor),S.width&&(C.style.width=S.width+"px"),S.height&&(C.style.height=S.height+"px"),S.style&&Object.keys(S.style).forEach(function(A){C.style[A]=S.style[A]});let _=null;return typeof S.onclone=="function"&&(_=S.onclone(C)),Promise.resolve(_).then(function(){return C})}).then(function(C){let _=S.width||E.width(C),A=S.height||E.height(C);return Promise.resolve(C).then(function(L){return L.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(L)}).then(E.escapeXhtml).then(function(L){var b=(E.isDimensionMissing(_)?' width="100%"':` width="${_}"`)+(E.isDimensionMissing(A)?' height="100%"':` height="${A}"`);return`${L}`}).then(function(L){return"data:image/svg+xml;charset=utf-8,"+L})}).then(function(C){for(;0{c=null,p={}},2e4)}(),C})}function a(v,S){return l(v,S=S||{}).then(E.makeImage).then(function(x){var T=typeof S.scale!="number"?1:S.scale,C=function(A,L){let b=S.width||E.width(A),O=S.height||E.height(A);return E.isDimensionMissing(b)&&(b=E.isDimensionMissing(O)?300:2*O),E.isDimensionMissing(O)&&(O=b/2),A=document.createElement("canvas"),A.width=b*L,A.height=O*L,S.bgcolor&&((L=A.getContext("2d")).fillStyle=S.bgcolor,L.fillRect(0,0,A.width,A.height)),A}(v,T),_=C.getContext("2d");return _.msImageSmoothingEnabled=!1,_.imageSmoothingEnabled=!1,x&&(_.scale(T,T),_.drawImage(x,0,0)),C})}let u=null;function o(v){return k.resolveAll().then(function(S){var x;return S!==""&&(x=document.createElement("style"),v.appendChild(x),x.appendChild(document.createTextNode(S))),v})}function s(v){return t.inlineAll(v).then(function(){return v})}function f(v,S,x,T,C){const _=i.impl.options.copyDefaultStyles?function(L,I){var I=function(D){var F=[];do if(D.nodeType===M){var B=D.tagName;if(F.push(B),w.includes(B))break}while(D=D.parentNode,D);return F}(I),O=function(D){return(L.styleCaching!=="relaxed"?D:D.filter((F,B,N)=>B===0||B===N.length-1)).join(">")}(I);if(p[O])return p[O];var R=function(){if(u)return u.contentWindow;var D=document.characterSet||"UTF-8",F=document.doctype,F=F?(`":"";return(u=document.createElement("iframe")).id="domtoimage-sandbox-"+E.uid(),u.style.visibility="hidden",u.style.position="fixed",document.body.appendChild(u),function(N,q,j,$){try{return N.contentWindow.document.write(q+`${$}`),N.contentWindow}catch{}var U=document.createElement("meta");U.setAttribute("charset",j);try{var G=document.implementation.createHTMLDocument($),W=(G.head.appendChild(U),q+G.documentElement.outerHTML);return N.setAttribute("srcdoc",W),N.contentWindow}catch{}return N.contentDocument.head.appendChild(U),N.contentDocument.title=$,N.contentWindow}(u,F,D,"domtoimage-sandbox");function B(N){var q;return N?((q=document.createElement("div")).innerText=N,q.innerHTML):""}}(),I=function(D,F){let B=D.body;do{var N=F.pop(),N=D.createElement(N);B.appendChild(N),B=N}while(0{const r=this.$refs.downloadLink;r.download="FLASHViewer-sequence.svg",r.href=e,r.click()}).finally(()=>{this.svgDownloadTriggered=!1})}}}),ID={ref:"downloadLink",style:{visibility:"hidden"}};function OD(n,e,r,E,z,k){const m=Gr("v-btn"),t=Gr("v-tooltip"),d=Gr("v-progress-linear"),y=Gr("v-card-text"),i=Gr("v-card"),M=Gr("v-dialog");return Pr(),ei(Yr,null,[gt(m,{id:"download-button",variant:"text",size:"large",icon:"mdi-download",onClick:n.triggerDownload},null,8,["onClick"]),gt(t,{text:"Save as SVG",location:"bottom",activator:"#download-button"}),ti("a",ID,null,512),gt(M,{modelValue:n.svgDownloadTriggered,"onUpdate:modelValue":e[0]||(e[0]=g=>n.svgDownloadTriggered=g),persistent:"",width:"auto"},{default:si(()=>[gt(i,{color:"primary"},{default:si(()=>[gt(y,null,{default:si(()=>[ea(" Please stand by "),gt(d,{indeterminate:"",color:"white",class:"mb-0"})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const PD=fs(LD,[["render",OD]]),RD=ns({name:"SequenceViewInformation",components:{AminoAcidCell:r6},setup(){return{streamlitDataStore:Ns()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,modStart:this.variable_mod,modEnd:this.variable_mod,modMass:"+134.99",truncated:!1,extraTypes:this.extraFragTypes()}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const a6=n=>(Ty("data-v-9a6912d6"),n=n(),ky(),n),DD=a6(()=>ti("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),zD={class:"d-flex justify-center"},FD={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},BD={class:"d-flex"},ND={class:"d-flex"},VD=a6(()=>ti("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function jD(n,e,r,E,z,k){var f;const m=Gr("v-btn"),t=Gr("v-card-title"),d=Gr("v-divider"),y=Gr("AminoAcidCell"),i=Gr("v-checkbox"),M=Gr("v-row"),g=Gr("v-list-item-title"),h=Gr("v-list-item"),l=Gr("v-list"),a=Gr("v-card-text"),u=Gr("v-card-actions"),o=Gr("v-card"),s=Gr("v-dialog");return Pr(),ei(Yr,null,[gt(m,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),gt(s,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=c=>n.dialog=c),activator:"#info-button",width:"auto",theme:((f=n.theme)==null?void 0:f.base)??"light"},{default:si(()=>[gt(o,null,{default:si(()=>[gt(t,null,{default:si(()=>[ea("Sequence View legend")]),_:1}),gt(d),gt(a,null,{default:si(()=>[DD,ti("div",zD,[ti("div",FD,[gt(y,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=jp(()=>{},["stop"]))},null,8,["sequence-object"])])]),ea(" Fragment ion types "),gt(M,null,{default:si(()=>[ti("div",BD,[gt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=c=>n.aIon=c),label:"a"},null,8,["modelValue"]),gt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=c=>n.bIon=c),label:"b"},null,8,["modelValue"]),gt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=c=>n.cIon=c),label:"c"},null,8,["modelValue"]),gt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=c=>n.xIon=c),label:"x"},null,8,["modelValue"]),gt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=c=>n.yIon=c),label:"y"},null,8,["modelValue"]),gt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=c=>n.zIon=c),label:"z"},null,8,["modelValue"]),gt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=c=>n.waterLoss=c),label:"water loss"},null,8,["modelValue"]),gt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=c=>n.ammoniumLoss=c),label:"ammonium loss"},null,8,["modelValue"]),gt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=c=>n.proton=c),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ea(" Modifications "),ti("div",ND,[gt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=c=>n.fixed_mod=c),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),gt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=c=>n.variable_mod=c),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),VD]),gt(l,{density:"compact"},{default:si(()=>[gt(g,null,{default:si(()=>[ea("Interaction tips")]),_:1}),gt(h,null,{default:si(()=>[ea("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),gt(h,null,{default:si(()=>[ea("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),gt(u,null,{default:si(()=>[gt(m,{color:"primary",block:"true",onClick:e[12]||(e[12]=c=>n.dialog=!1)},{default:si(()=>[ea("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const UD=fs(RD,[["render",jD],["__scopeId","data-v-9a6912d6"]]),HD=ns({name:"SequenceView",components:{SequenceViewInformation:UD,TabulatorTable:y0,AminoAcidCell:r6,ProteinTerminalCell:SD,SvgScreenshot:PD},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=Mf(),r=q2();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,massData:[],massTitle:"",ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!0,"ammonium loss":!0,"proton loss/addition":!0},fragmentMassTolerance:10,visibilityOptions:[{text:"Fragments",selected:!0},{text:"Modifications",selected:!0}],fragmentTableColumnDefinitions:[{title:"Name",field:"Name"},{title:"Ion type",field:"IonType"},{title:"Ion number",field:"IonNumber",sorter:"number"},{title:"Theoretical mass",field:"TheoreticalMass",sorter:"number"},{title:"Observed mass",field:"ObservedMass",formatter:Dh(),sorter:"number"},{title:"Mass difference (Da)",field:"MassDiffDa",sorter:"number"},{title:"Mass difference (ppm)",field:"MassDiffPpm",sorter:"number"}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},selectedTag(){return this.selectionStore.selectedTag},sequence(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.sequence)??[]},sequence_start_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_start)??0},sequence_start(){return this.sequence_start_reported<0?0:this.sequence_start_reported},n_truncation(){return this.sequence_start>0},n_determined(){return this.sequence_start_reported>=0},sequence_end_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_end)??this.sequence.length-1},sequence_end(){return this.sequence_end_reported<0?this.sequence.length-1:this.sequence_end_reported},c_truncation(){return this.sequence_end=0},modifications(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.modifications)??[]},coverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.coverage)??[]:[]},maxCoverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.maxCoverage)??-1:-1},theoreticalMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.theoretical_mass)??0},computedMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),(r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass},fixedModificationSites(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.fixed_modifications)??[]},variableModifications(){return{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){return this.selectionStore.selectedScanIndex!==void 0?this.selectionStore.selectedScanIndex:0},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;ee.text==="Tags"))!=null&&n.selected):!1},showTruncations(){var n;return this.displayTnT?!!((n=this.visibilityOptions.find(e=>e.text==="Truncations"))!=null&&n.selected):!1},showModifications(){var n;return this.displayTnT?!!((n=this.visibilityOptions.find(e=>e.text==="Modifications"))!=null&&n.selected):!1},showFragments(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Fragments"))!=null&&n.selected)}},watch:{selectedScanIndex(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},sequence(){this.selectionStore.updateSelectedAA(void 0),this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},selectedTag(){this.updateTagPosition()},fragmentMassTolerance(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},ionTypes:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},ionTypesExtra:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},variableModifications(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()}},mounted(){this.selectionStore.updateSelectedAA(void 0),this.initializeSequenceObjects(),this.preparePrecursorInfo(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},methods:{getFragmentMasses(n){var r;let e=this.selectedSequence;return e===void 0&&(e=0),(r=this.streamlitDataStore.sequenceData)==null?void 0:r[e][`fragment_masses_${n}`]},updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},toggleIonTypeSelected(n){this.ionTypes[n].selected=!this.ionTypes[n].selected},preparePrecursorInfo(){var z,k;if(this.selectedScanIndex==null){this.massData=[];return}if(this.computedMass!==void 0){this.massTitle="Proteoform";let m="-",t="-";this.computedMass>0&&(m=this.computedMass.toFixed(2),t=Math.abs(this.theoreticalMass-this.computedMass).toFixed(2)),this.massData=[`Theoretical protein mass : ${this.theoreticalMass.toFixed(2)}`,`Observed proteoform mass : ${m}`,`ฮ” Mass (Da) : ${t}`],this.visibilityOptions.some(d=>d.text==="Tags")||(this.visibilityOptions.push({text:"Truncations",selected:!0}),this.visibilityOptions.push({text:"Tags",selected:!0}),((z=this.streamlitDataStore.settings)==null?void 0:z.ion_types)!==void 0&&this.ionTypes.forEach(d=>{d.selected=this.streamlitDataStore.settings.ion_types.includes(d.text)}),((k=this.streamlitDataStore.settings)==null?void 0:k.tolerance)!==void 0&&(this.fragmentMassTolerance=this.streamlitDataStore.settings.tolerance)),this.ionTypesExtra["ammonium loss"]=!1,this.ionTypesExtra["water loss"]=!1,this.ionTypesExtra["proton loss/addition"]=!1;return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].PrecursorMass;if(e===0){this.massData=[];return}let r=this.theoreticalMass;this.variableModData.isEmpty||(this.variableModifications.valueOf(),Object.values(this.variableModifications).forEach(m=>{r+=m}));const E=Math.abs(r-e);this.massTitle="Precursor",this.massData=[`Theoretical mass : ${r.toFixed(2)}`,`Observed mass : ${e.toFixed(2)}`,`ฮ” Mass (Da) : ${E.toFixed(2)}`]},prepareFragmentTable(){if(this.sequence.length<=0){this.fragmentTableTitle="";return}if(this.selectedScanIndex==null){this.fragmentTableTitle="";return}const n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex];if(n.PrecursorMass===0&&!this.displayTnT){this.fragmentTableTitle="";return}const r=n.MonoMass;let E=[];const z=this.sequence_end;this.ionTypes.filter(k=>k.selected).forEach(k=>{if((k.text==="a"||k.text==="b"||k.text==="c")&&this.sequence_start_reported<0||(k.text==="x"||k.text==="y"||k.text==="z")&&this.sequence_end_reported<0)return;const m=this.getFragmentMasses(k.text);for(let t=0,d=m.length;t{this.variableModData.isEmpty||((k.text==="a"||k.text==="b"||k.text==="c")&&Object.entries(this.variableModifications).forEach(([g,h])=>{parseInt(g)<=y&&(i+=h)}),(k.text==="x"||k.text==="y"||k.text==="z")&&Object.entries(this.variableModifications).forEach(([g,h])=>{z-parseInt(g)<=y&&(i+=h)}));const M=Object.entries(RR).filter(([g])=>this.ionTypesExtra[g]||g==="default").map(([g,h])=>h).flat();for(let g=0,h=r.length;g{const u=i+a,o=r[g]-u,s=o/u*1e6;if(Math.abs(s)>this.fragmentMassTolerance)return;const f={Name:`${k.text}${t+1}`,IonType:`${k.text}${l}`,IonNumber:t+1,TheoreticalMass:u.toFixed(3),ObservedMass:r[g],MassDiffDa:o.toFixed(3),MassDiffPpm:s.toFixed(3)};E.push(f);let c=y;(k.text==="a"||k.text==="b"||k.text==="c")&&(this.sequenceObjects[c][`${k.text}Ion`]=!0),(k.text==="x"||k.text==="y"||k.text==="z")&&(this.sequenceObjects[z-t][`${k.text}Ion`]=!0,c=z-t),l&&this.sequenceObjects[y].extraTypes.push(`${k.text}${l}`)})})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=E,this.fragmentTableTitle=`Matching fragments (# ${E.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach((n,e)=>{const r=this.coverage[e];let E=!1;(this.sequence_start>e||this.sequence_endE.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)},updateTagPosition(){this.sequenceObjects.length<=0||this.sequence.length<=0||this.sequence.forEach((n,e)=>{var z,k;const r=((z=this.selectedTag)==null?void 0:z.startPos)==e,E=((k=this.selectedTag)==null?void 0:k.endPos)==e;this.sequenceObjects[e].tagStart=r,this.sequenceObjects[e].tagEnd=E})},prepareAmbigiousModifications(){this.modifications.forEach(n=>{const e=n.start,r=n.end,E=n.mass_diff.toFixed(2),z=n.labels,k=parseFloat(E).toLocaleString("en-US",{signDisplay:"always"});for(let m=e;m<=r;m++)m==e&&(this.sequenceObjects[m].modStart=!0),m==r&&(this.sequenceObjects[m].modEnd=!0,this.sequenceObjects[m].modMass=k,this.sequenceObjects[m].modLabels=z),m!=e&&m!=r&&(this.sequenceObjects[m].modCenter=!0)})}}});const Y2=n=>(Ty("data-v-f3852c57"),n=n(),ky(),n),GD=Y2(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Sequence View")],-1)),WD={class:"sequence-and-scale"},qD={id:"sequence-part"},YD={class:"d-flex justify-space-evenly"},$D={class:"d-flex justify-end px-4 mb-4"},ZD={class:"d-flex justify-space-evenly"},XD={class:"d-flex justify-space-evenly"},KD={class:"d-flex justify-space-evenly"},JD={key:0,class:"d-flex justify-center align-center"},QD={key:3,class:"d-flex justify-center align-center"},ez={key:0,class:"scale-container",title:"Sequence Tag Coverage"},tz={class:"scale-text"},nz=Y2(()=>ti("div",{class:"scale"},null,-1)),rz=Y2(()=>ti("div",{class:"scale-text"},"1x",-1)),iz={id:"sequence-view-table"};function az(n,e,r,E,z,k){var w;const m=Gr("v-divider"),t=Gr("SvgScreenshot"),d=Gr("SequenceViewInformation"),y=Gr("v-btn"),i=Gr("v-list-item-title"),M=Gr("v-slider"),g=Gr("v-list-item"),h=Gr("v-checkbox"),l=Gr("v-text-field"),a=Gr("v-list"),u=Gr("v-card"),o=Gr("v-menu"),s=Gr("ProteinTerminalCell"),f=Gr("AminoAcidCell"),c=Gr("TabulatorTable"),p=Gr("v-sheet");return Pr(),ei(Yr,null,[GD,gt(p,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((w=n.theme)==null?void 0:w.base)??"light",border:""},{default:si(()=>[ti("div",WD,[ti("div",qD,[ti("div",YD,[n.massData.length!=0?(Pr(),ei(Yr,{key:0},[ti("h3",null,ho(n.massTitle),1),gt(m,{vertical:!0}),(Pr(!0),ei(Yr,null,Hl(n.massData,(v,S)=>(Pr(),ei(Yr,{key:S},[ea(ho(v)+" ",1),gt(m,{vertical:!0})],64))),128))],64)):Zi("",!0)]),ti("div",$D,[ti("div",null,[gt(t,{"element-id":"sequence-part"}),gt(d),gt(y,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),gt(o,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:si(()=>[gt(u,{"min-width":"300"},{default:si(()=>[gt(a,null,{default:si(()=>[gt(g,null,{default:si(()=>[gt(i,null,{default:si(()=>[ea("# amino acids per row")]),_:1}),gt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=v=>n.rowWidth=v),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1}),gt(g,null,{default:si(()=>[gt(i,null,{default:si(()=>[ea("Visibility")]),_:1}),ti("div",ZD,[(Pr(!0),ei(Yr,null,Hl(n.visibilityOptions,v=>(Pr(),Va(h,{key:v.text,modelValue:v.selected,"onUpdate:modelValue":S=>v.selected=S,"hide-details":"",density:"comfortable",label:v.text},null,8,["modelValue","onUpdate:modelValue","label"]))),128))])]),_:1}),gt(g,null,{default:si(()=>[gt(i,null,{default:si(()=>[ea("Fragment ion types")]),_:1}),ti("div",XD,[(Pr(!0),ei(Yr,null,Hl(n.ionTypes,(v,S)=>(Pr(),Va(h,{key:v.text,modelValue:v.selected,"onUpdate:modelValue":x=>v.selected=x,"hide-details":"",density:"comfortable",label:v.text,onClick:x=>n.toggleIonTypeSelected(S),disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","onClick","disabled"]))),128))]),ti("div",KD,[(Pr(!0),ei(Yr,null,Hl(Object.keys(n.ionTypesExtra),v=>(Pr(),Va(h,{key:v,modelValue:n.ionTypesExtra[v],"onUpdate:modelValue":S=>n.ionTypesExtra[v]=S,"hide-details":"",density:"comfortable",label:v,disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","disabled"]))),128))])]),_:1}),gt(g,null,{default:si(()=>[gt(i,null,{default:si(()=>[ea("Fragment mass tolerance")]),_:1}),gt(l,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[1]||(e[1]=v=>n.fragmentMassTolerance=v),type:"number","hide-details":"auto",label:"mass tolerance in ppm",onChange:n.updateMassTolerance,disabled:!n.showFragments},null,8,["modelValue","onChange","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})])]),ti("div",{class:Ku(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Pr(!0),ei(Yr,null,Hl(n.sequenceObjects,(v,S)=>(Pr(),ei(Yr,{key:S},[n.showTruncations&&S!==0&&S%n.rowWidth===0||!n.showTruncations&&S-n.sequence_start!==0&&(S-n.sequence_start)%n.rowWidth===0&&Sn.sequence_start?(Pr(),ei("div",JD,ho(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===0?(Pr(),Va(s,{key:1,"protein-terminal":"N-term",truncated:n.n_truncation,index:-1,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.n_determined},null,8,["truncated","disable-variable-modification-selection","determined"])):Zi("",!0),n.showTruncations||n.sequence_start<=S&&n.sequence_end>=S?(Pr(),Va(f,{key:2,index:S,"sequence-object":v,"fixed-modification":n.fixedModification(v.aminoAcid),"disable-variable-modification-selection":n.disableVariableModifications,showTags:n.showTags,showFragments:n.showFragments,showModifications:n.showModifications,onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","disable-variable-modification-selection","showTags","showFragments","showModifications","onSelected"])):Zi("",!0),n.showTruncations&&S%n.rowWidth===n.rowWidth-1&&S!==n.sequence.length-1||!n.showTruncations&&(S-n.sequence_start)%n.rowWidth===n.rowWidth-1&&Sn.sequence_start?(Pr(),ei("div",QD,ho(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===n.sequence.length-1?(Pr(),Va(s,{key:4,"protein-terminal":"C-term",truncated:n.c_truncation,index:n.sequence.length,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.c_determined},null,8,["truncated","index","disable-variable-modification-selection","determined"])):Zi("",!0)],64))),128))],2)]),n.maxCoverage>0&&n.showTags?(Pr(),ei("div",ez,[ti("div",tz,ho(n.maxCoverage+"x"),1),nz,rz])):Zi("",!0)]),ti("div",iz,[n.fragmentTableTitle!==""&&n.showFragments?(Pr(),Va(c,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:si(()=>[ea(ho(n.fragmentTableTitle),1)]),"end-title-row":si(()=>[ea("% Residue cleavage: "+ho(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):Zi("",!0)])]),_:1},8,["theme"])],64)}const oz=fs(HD,[["render",az],["__scopeId","data-v-f3852c57"]]),sz=ns({name:"FLASHQuantView",components:{TabulatorTable:y0},setup(){return{streamlitDataStore:Ns()}},data(){return{setHeightInterval:null,featureGroupTableColumnDefinitions:[{title:"Index",field:"FeatureGroupIndex"},{title:"Monoisotopic Mass",field:"MonoisotopicMass"},{title:"Average Mass",field:"AverageMass"},{title:"Start Retention Time (FWHM)",field:"StartRetentionTime(FWHM)"},{title:"End Retention Time (FWHM)",field:"EndRetentionTime(FWHM)"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Min Charge",field:"MinCharge"},{title:"Max Charge",field:"MaxCharge"},{title:"Most Abundant Charge",field:"MostAbundantFeatureCharge"},{title:"Isotope Cosine Score",field:"IsotopeCosineScore"}],selectedFeatureGroupIndex:void 0,maximumIntensity:0}},computed:{theme(){return this.streamlitDataStore.theme},featureGroupTableData(){return this.streamlitDataStore.dataForDrawing.quant_data},trace3DgraphLayout(){var n,e,r,E;return{title:"Feature group signals",paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(E=this.theme)==null?void 0:E.font},scene:{xaxis:{title:"m/z"},yaxis:{title:"retention time"},zaxis:{title:"intensity",range:[0,this.maximumIntensity]}},showlegend:!0}}},watch:{selectedFeatureGroupIndex(){this.trace3DGraph()}},mounted(){this.setHeightInterval=setInterval(()=>Sc.setFrameHeight(),500)},unmounted(){this.setHeightInterval!==null&&clearInterval(this.setHeightInterval)},methods:{async trace3DGraph(){await zs.newPlot("trace3Dplot",this.trace3DgraphData(),this.trace3DgraphLayout,{responsive:!0})},updateSelectedFeatureGroupRow(n){n!==void 0&&(this.selectedFeatureGroupIndex=n)},trace3DgraphData(){if(this.selectedFeatureGroupIndex===void 0)return[];const n=this.featureGroupTableData[this.selectedFeatureGroupIndex],e=[...new Set(n.Charges)],r={};e.forEach(k=>{r[k]={mzs:[],rts:[],intys:[]}}),n.Charges.forEach((k,m)=>{const t=n.MZs[m].split(",").map(parseFloat),d=n.RTs[m].split(",").map(parseFloat),y=n.Intensities[m].split(",").map(parseFloat);r[k].mzs.push(t[0]),r[k].rts.push(d[0]),r[k].intys.push(-1e3),r[k].mzs.push(...t),r[k].rts.push(...d),r[k].intys.push(...y),r[k].mzs.push(t[-1]),r[k].rts.push(d[-1]),r[k].intys.push(-1e3)}),this.maximumIntensity=Math.max.apply(null,Object.values(r).map(k=>Math.max.apply(null,k.intys)));let z=[];return Object.entries(r).forEach(([k,m])=>{z.push({x:m.mzs,y:m.rts,z:m.intys,mode:"lines",line:{color:"#3366CC"},type:"scatter3d",name:`Charge: ${k}`})}),z}}}),lz={class:"pa-4"},uz=ti("div",{id:"trace3Dplot",style:{width:"90%"}},null,-1);function cz(n,e,r,E,z,k){const m=Gr("TabulatorTable"),t=Gr("v-row");return Pr(),ei("div",lz,[gt(t,{class:"flex-nowrap"},{default:si(()=>[n.featureGroupTableData?(Pr(),Va(m,{key:0,title:"Feature groups",index:0,"table-data":n.featureGroupTableData,"column-definitions":n.featureGroupTableColumnDefinitions,"table-index-field":"FeatureGroupIndex",onRowSelected:n.updateSelectedFeatureGroupRow},null,8,["table-data","column-definitions","onRowSelected"])):Zi("",!0)]),_:1}),uz])}const fz=fs(sz,[["render",cz]]),hz=ns({name:"InternalFragmentMap",props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=Mf();return{streamlitData:n,selectionStore:e}},data(){return{fragmentMassTolerance:10,fragmentMassToleranceUnit:"ppm",fragmentMassTypes:{by:!0,cy:!0,bz:!0},fragmentDisplayOverlay:!1,fragOpacity:.2,fragOpacityMin:.01,fragOpacityMax:1}},computed:{theme(){return this.streamlitData.theme},internalFragmentData(){return this.streamlitData.internalFragmentData},sequence(){var n;return(n=this.streamlitData.sequenceData)==null?void 0:n[0].sequence},fragmentStyle(){var n;return{height:(94/(((n=this.sequence)==null?void 0:n.length)??1)).toFixed(2)+"vw","--frag-block-opacity-value":this.fragOpacity}},fragmentTypeContainerStyle(){return{height:this.fragmentDisplayOverlay?this.fragmentStyle.height:"auto"}},fragmentTypeOverlayStyle(){return{position:this.fragmentDisplayOverlay?"absolute":"static"}},fragmentDisplayOverlayLabels(){return this.fragmentDisplayOverlay?"Overlay fragments from the same type":"Stacked"},selectedScanInfo(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitData.allDataForDrawing.per_scan_data[this.selectionStore.selectedScanIndex]},byData(){var E,z,k;if(this.selectedScanInfo===void 0||!((E=this.internalFragmentData)!=null&&E.fragment_masses_by)||!((z=this.internalFragmentData)!=null&&z.start_indices_by)||!((k=this.internalFragmentData)!=null&&k.end_indices_by))return[];if(this.selectedScanInfo.PrecursorMass===0)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_by,this.internalFragmentData.start_indices_by,this.internalFragmentData.end_indices_by,e),e},cyData(){var E,z,k;if(this.selectedScanInfo===void 0||!((E=this.internalFragmentData)!=null&&E.fragment_masses_cy)||!((z=this.internalFragmentData)!=null&&z.start_indices_cy)||!((k=this.internalFragmentData)!=null&&k.end_indices_cy))return[];if(this.selectedScanInfo.PrecursorMass===0)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_cy,this.internalFragmentData.start_indices_cy,this.internalFragmentData.end_indices_cy,e),e},bzData(){var E,z,k;if(this.selectedScanInfo===void 0||!((E=this.internalFragmentData)!=null&&E.fragment_masses_bz)||!((z=this.internalFragmentData)!=null&&z.start_indices_bz)||!((k=this.internalFragmentData)!=null&&k.end_indices_bz))return[];if(this.selectedScanInfo.PrecursorMass===0)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_bz,this.internalFragmentData.start_indices_bz,this.internalFragmentData.end_indices_bz,e),e}},methods:{updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},fragmentClasses(n,e,r,E){const z=n>e&&n<=r;let k=E;return this.fragmentDisplayOverlay&&(k+="-overlayed"),{[k]:z,"not-in-fragment":!z}},filterMatchingMasses(n,e,r,E,z){for(let k=0,m=e.length;kthis.fragmentMassTolerance)){z.push({mass:t,start:r[k],end:E[k]});break}}}}}});const dz=n=>(Ty("data-v-d41ea218"),n=n(),ky(),n),pz=dz(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Internal Fragment Map")],-1)),mz={class:"d-flex justify-space-between"},gz=VE('
by/cz
bz
cy
',1),vz={class:"d-flex justify-end px-4 mb-4",style:{"max-width":"97%"}},yz={class:"d-flex"},bz={class:"d-flex justify-space-between"},xz={id:"internal-fragment-part"},_z={class:"d-flex",style:{"border-bottom":"white","border-bottom-width":"1px","border-bottom-style":"solid"}};function wz(n,e,r,E,z,k){var u;const m=Gr("v-btn"),t=Gr("v-list-item-title"),d=Gr("v-switch"),y=Gr("v-list-item"),i=Gr("v-text-field"),M=Gr("v-slider"),g=Gr("v-list"),h=Gr("v-card"),l=Gr("v-menu"),a=Gr("v-sheet");return Pr(),ei(Yr,null,[pz,ti("div",mz,[gz,ti("div",vz,[gt(m,{id:"internal-frag-settings-button",variant:"text",icon:"mdi-cog",size:"medium"}),gt(l,{"close-on-content-click":!1,activator:"#internal-frag-settings-button",location:"bottom"},{default:si(()=>[gt(h,{"min-width":"300"},{default:si(()=>[gt(g,null,{default:si(()=>[gt(y,null,{default:si(()=>[gt(t,null,{default:si(()=>[ea("Fragments display style")]),_:1}),ti("div",yz,[gt(d,{modelValue:n.fragmentDisplayOverlay,"onUpdate:modelValue":e[0]||(e[0]=o=>n.fragmentDisplayOverlay=o),"hide-details":"",label:`${n.fragmentDisplayOverlayLabels}`,class:"mr-4"},null,8,["modelValue","label"])])]),_:1}),gt(y,null,{default:si(()=>[gt(t,null,{default:si(()=>[ea("Opacity of each fragment (If overlay display style)")]),_:1}),ti("div",{style:$s({background:`rgba(240, 164, 65, ${n.fragOpacity})`})},[gt(M,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[2]||(e[2]=o=>n.fragOpacity=o),class:"align-center ml-4",max:n.fragOpacityMax,min:n.fragOpacityMin,"hide-details":""},{append:si(()=>[gt(i,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[1]||(e[1]=o=>n.fragOpacity=o),"hide-details":"","single-line":"",min:n.fragOpacityMin,max:n.fragOpacityMax,step:"0.01",density:"compact",type:"number",class:"textFieldFontSize"},null,8,["modelValue","min","max"])]),_:1},8,["modelValue","max","min"])],4)]),_:1}),gt(y,null,{default:si(()=>[gt(t,null,{default:si(()=>[ea("Fragment mass tolerance")]),_:1}),ti("div",bz,[gt(d,{modelValue:n.fragmentMassToleranceUnit,"onUpdate:modelValue":e[3]||(e[3]=o=>n.fragmentMassToleranceUnit=o),"true-value":"ppm","false-value":"Da","hide-details":"",label:`${n.fragmentMassToleranceUnit}`,class:"mr-4"},null,8,["modelValue","label"]),gt(i,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[4]||(e[4]=o=>n.fragmentMassTolerance=o),type:"number","hide-details":"auto",label:"mass tolerance",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})])]),gt(a,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((u=n.theme)==null?void 0:u.base)??"light",border:""},{default:si(()=>[ti("div",xz,[ti("div",_z,[(Pr(!0),ei(Yr,null,Hl(n.sequence,(o,s)=>(Pr(),ei("div",{key:`${o}-${s}`,class:"d-flex justify-center align-center fragment-segment sequence-text",style:$s(n.fragmentStyle)},ho(o),5))),128))]),ti("div",{style:$s(n.fragmentTypeContainerStyle)},[(Pr(!0),ei(Yr,null,Hl(n.byData,o=>(Pr(),ei("div",{key:o.mass,class:"d-flex",style:$s(n.fragmentTypeOverlayStyle)},[(Pr(!0),ei(Yr,null,Hl(n.sequence,(s,f)=>(Pr(),ei("div",{key:`${s}-${f}`,class:Ku(n.fragmentClasses(f,o.start,o.end,"by-fragment")),style:$s([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:$s(n.fragmentTypeContainerStyle)},[(Pr(!0),ei(Yr,null,Hl(n.cyData,o=>(Pr(),ei("div",{key:o.mass,class:"d-flex",style:$s(n.fragmentTypeOverlayStyle)},[(Pr(!0),ei(Yr,null,Hl(n.sequence,(s,f)=>(Pr(),ei("div",{key:`${s}-${f}`,class:Ku(n.fragmentClasses(f,o.start,o.end,"cy-fragment")),style:$s([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:$s(n.fragmentTypeContainerStyle)},[(Pr(!0),ei(Yr,null,Hl(n.bzData,o=>(Pr(),ei("div",{key:o.mass,class:"d-flex",style:$s(n.fragmentTypeOverlayStyle)},[(Pr(!0),ei(Yr,null,Hl(n.sequence,(s,f)=>(Pr(),ei("div",{key:`${s}-${f}`,class:Ku(n.fragmentClasses(f,o.start,o.end,"bz-fragment")),style:$s([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4)])]),_:1},8,["theme"])],64)}const Tz=fs(hz,[["render",wz],["__scopeId","data-v-d41ea218"]]),kz=ns({name:"ComponentsRow",components:{InternalFragmentMap:Tz,FLASHQuantView:fz,Plotly3Dplot:kR,PlotlyHeatmap:oO,TabulatorScanTable:hR,PlotlyLineplot:gR,PlotlyLineplotTagger:xR,TabulatorMassTable:SR,TabulatorProteinTable:LR,TabulatorTagTable:PR,SequenceView:oz},props:{components:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},data(){return{componentHeightMapping:{TabulatorScanTable:"height-any",TabulatorMassTable:"height-any",TabulatorProteinTable:"height-any",TabulatorTagTable:"height-any",PlotlyLineplot:"height-any",PlotlyLineplotTagger:"height-any",PlotlyHeatmap:"height-any",Plotly3Dplot:"height-any",SequenceView:"height-any",InternalFragmentMap:"height-any"}}},methods:{componentClasses(n){return{[this.componentHeightMapping[n]]:!0,[`component-width-${this.components.length}`]:!0}},componentIndex(n){return n+this.rowIndex*100}}});const Mz={class:"component-row"};function Az(n,e,r,E,z,k){const m=Gr("PlotlyHeatmap"),t=Gr("TabulatorScanTable"),d=Gr("TabulatorMassTable"),y=Gr("TabulatorProteinTable"),i=Gr("TabulatorTagTable"),M=Gr("PlotlyLineplot"),g=Gr("PlotlyLineplotTagger"),h=Gr("Plotly3Dplot"),l=Gr("SequenceView"),a=Gr("InternalFragmentMap"),u=Gr("FLASHQuantView");return Pr(),ei("div",Mz,[(Pr(!0),ei(Yr,null,Hl(n.components,(o,s)=>(Pr(),ei("div",{key:s,class:Ku(n.componentClasses(o.componentArgs.componentName))},[o.componentArgs.componentName==="PlotlyHeatmap"?(Pr(),Va(m,{key:0,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorScanTable"?(Pr(),Va(t,{key:1,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorMassTable"?(Pr(),Va(d,{key:2,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorProteinTable"?(Pr(),Va(y,{key:3,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorTagTable"?(Pr(),Va(i,{key:4,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplot"?(Pr(),Va(M,{key:5,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplotTagger"?(Pr(),Va(g,{key:6,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="Plotly3Dplot"?(Pr(),Va(h,{key:7,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="SequenceView"?(Pr(),Va(l,{key:8,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="InternalFragmentMap"?(Pr(),Va(a,{key:9,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="FLASHQuantView"?(Pr(),Va(u,{key:10})):Zi("",!0)],2))),128))])}const Sz=fs(kz,[["render",Az],["__scopeId","data-v-c6c4664e"]]),Cz=ns({name:"ComponentsLayout",components:{ComponentsRow:Sz},props:{components:{type:Object,required:!0}},data(){return{columns:6}},methods:{componentRowClasses(){return{"[`height-${layout.height ?? 1}`]":!0,[`component-width-${this.components.length}`]:!0}}}});const Ez={class:"component-layout"};function Lz(n,e,r,E,z,k){const m=Gr("ComponentsRow");return Pr(),ei("div",Ez,[(Pr(!0),ei(Yr,null,Hl(n.components,(t,d)=>(Pr(),Va(m,{key:d,components:t,"row-index":d},null,8,["components","row-index"]))),128))])}const Iz=fs(Cz,[["render",Lz],["__scopeId","data-v-1d160719"]]),Oz=ns({name:"App",components:{ComponentsLayout:Iz},setup(){return{streamlitDataStore:Ns()}},data(){return{timer:void 0}},computed:{components(){var n;return(n=this.streamlitDataStore.args)==null?void 0:n.components}},created(){Sc.setComponentReady(),Sc.setFrameHeight(500),Sc.events.addEventListener(Sc.RENDER_EVENT,this.updateStreamlitData)},mounted(){this.timer=setInterval(()=>{Sc.setFrameHeight()},500)},unmounted(){Sc.events.removeEventListener(Sc.RENDER_EVENT,this.updateStreamlitData),clearInterval(this.timer)},updated(){Sc.setFrameHeight()},methods:{async updateStreamlitData(n){this.streamlitDataStore.updateRenderData(n.detail)}}});const Pz={key:0},Rz={key:1,class:"d-flex w-100",style:{height:"400px"}};function Dz(n,e,r,E,z,k){const m=Gr("ComponentsLayout"),t=Gr("v-progress-linear"),d=Gr("v-alert");return n.components!==void 0&&n.components.length>0?(Pr(),ei("div",Pz,[gt(m,{components:n.components},null,8,["components"])])):(Pr(),ei("div",Rz,[gt(d,{class:"h-50 ma-16 pr-16",icon:"mdi-application-variable-outline",title:"FLASHViewer loading",type:"info"},{default:si(()=>[gt(t,{indeterminate:""}),ea(" Please wait... ")]),_:1})]))}const zz=fs(Oz,[["render",Dz]]);const to=typeof window<"u",$2=to&&"IntersectionObserver"in window,Fz=to&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function y5(n,e,r){Bz(n,e),e.set(n,r)}function Bz(n,e){if(e.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Nz(n,e,r){var E=o6(n,e,"set");return Vz(n,E,r),r}function Vz(n,e,r){if(e.set)e.set.call(n,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function _d(n,e){var r=o6(n,e,"get");return jz(n,r)}function o6(n,e,r){if(!e.has(n))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(n)}function jz(n,e){return e.get?e.get.call(n):e.value}function s6(n,e,r){const E=e.length-1;if(E<0)return n===void 0?r:n;for(let z=0;zb0(n[E],e[E]))}function ix(n,e,r){return n==null||!e||typeof e!="string"?r:n[e]!==void 0?n[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),s6(n,e.split("."),r))}function pf(n,e,r){if(e==null)return n===void 0?r:n;if(n!==Object(n)){if(typeof e!="function")return r;const z=e(n,r);return typeof z>"u"?r:z}if(typeof e=="string")return ix(n,e,r);if(Array.isArray(e))return s6(n,e,r);if(typeof e!="function")return r;const E=e(n,r);return typeof E>"u"?r:E}function Jf(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:n},(r,E)=>e+E)}function Qr(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(n==null||n===""))return isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${e}`:void 0}function ax(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function ox(n){return n&&"$el"in n?n.$el:n}const b5=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),sx=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function l6(n){return Object.keys(n)}function Rd(n,e){return e.every(r=>n.hasOwnProperty(r))}function $d(n,e,r){const E=Object.create(null),z=Object.create(null);for(const k in n)e.some(m=>m instanceof RegExp?m.test(k):m===k)&&!(r!=null&&r.some(m=>m===k))?E[k]=n[k]:z[k]=n[k];return[E,z]}function nc(n,e){const r={...n};return e.forEach(E=>delete r[E]),r}const u6=/^on[^a-z]/,Z2=n=>u6.test(n),Uz=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Qd(n){const[e,r]=$d(n,[u6]),E=nc(e,Uz),[z,k]=$d(r,["class","style","id",/^data-/]);return Object.assign(z,e),Object.assign(k,E),[z,k]}function bu(n){return n==null?[]:Array.isArray(n)?n:[n]}function Xs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(r,n))}function x5(n){const e=n.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function _5(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return n+r.repeat(Math.max(0,e-n.length))}function Hz(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let E=0;for(;E1&&arguments[1]!==void 0?arguments[1]:1e3;if(n=e&&E0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const E={};for(const z in n)E[z]=n[z];for(const z in e){const k=n[z],m=e[z];if(ax(k)&&ax(m)){E[z]=Xu(k,m,r);continue}if(Array.isArray(k)&&Array.isArray(m)&&r){E[z]=r(k,m);continue}E[z]=m}return E}function c6(n){return n.map(e=>e.type===Yr?c6(e.children):e).flat()}function Ud(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ud.cache.has(n))return Ud.cache.get(n);const e=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ud.cache.set(n,e),e}Ud.cache=new Map;function ym(n,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(r=>ym(n,r)).flat(1);if(Array.isArray(e.children))return e.children.map(r=>ym(n,r)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(n))return[e.component];if(e.component.subTree)return ym(n,e.component.subTree).flat(1)}return[]}var sv=new WeakMap,Sp=new WeakMap;class Gz{constructor(e){y5(this,sv,{writable:!0,value:[]}),y5(this,Sp,{writable:!0,value:0}),this.size=e}push(e){_d(this,sv)[_d(this,Sp)]=e,Nz(this,Sp,(_d(this,Sp)+1)%this.size)}values(){return _d(this,sv).slice(_d(this,Sp)).concat(_d(this,sv).slice(0,_d(this,Sp)))}}function Wz(n){return"touches"in n?{clientX:n.touches[0].clientX,clientY:n.touches[0].clientY}:{clientX:n.clientX,clientY:n.clientY}}function X2(n){const e=bl({}),r=cn(n);return wu(()=>{for(const E in r.value)e[E]=r.value[E]},{flush:"sync"}),by(e)}function ly(n,e){return n.includes(e)}function f6(n){return n[2].toLowerCase()+n.slice(3)}const yf=()=>[Function,Array];function T5(n,e){return e="on"+sh(e),!!(n[e]||n[`${e}Once`]||n[`${e}Capture`]||n[`${e}OnceCapture`]||n[`${e}CaptureOnce`])}function K2(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),E=1;E1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(E=>`${E}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(r)]}function h6(n,e,r){let E,z=n.indexOf(document.activeElement);const k=e==="next"?1:-1;do z+=k,E=n[z];while((!E||E.offsetParent==null||!((r==null?void 0:r(E))??!0))&&z=0);return E}function uy(n,e){var E,z,k,m;const r=Dm(n);if(!e)(n===document.activeElement||!n.contains(document.activeElement))&&((E=r[0])==null||E.focus());else if(e==="first")(z=r[0])==null||z.focus();else if(e==="last")(k=r.at(-1))==null||k.focus();else if(typeof e=="number")(m=r[e])==null||m.focus();else{const t=h6(r,e);t?t.focus():uy(n,e==="next"?"first":"last")}}function d6(){}function l0(n,e){if(!(to&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!n&&n.matches(e)}catch{return null}}const p6=["top","bottom"],qz=["start","end","left","right"];function lx(n,e){let[r,E]=n.split(" ");return E||(E=ly(p6,r)?"start":ly(qz,r)?"top":"center"),{side:ux(r,e),align:ux(E,e)}}function ux(n,e){return n==="start"?e?"right":"left":n==="end"?e?"left":"right":n}function gb(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function vb(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function k5(n){return{side:n.align,align:n.side}}function M5(n){return ly(p6,n.side)?"y":"x"}class Yp{constructor(e){let{x:r,y:E,width:z,height:k}=e;this.x=r,this.y=E,this.width=z,this.height=k}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function A5(n,e){return{x:{before:Math.max(0,e.left-n.left),after:Math.max(0,n.right-e.right)},y:{before:Math.max(0,e.top-n.top),after:Math.max(0,n.bottom-e.bottom)}}}function J2(n){const e=n.getBoundingClientRect(),r=getComputedStyle(n),E=r.transform;if(E){let z,k,m,t,d;if(E.startsWith("matrix3d("))z=E.slice(9,-1).split(/, /),k=+z[0],m=+z[5],t=+z[12],d=+z[13];else if(E.startsWith("matrix("))z=E.slice(7,-1).split(/, /),k=+z[0],m=+z[3],t=+z[4],d=+z[5];else return new Yp(e);const y=r.transformOrigin,i=e.x-t-(1-k)*parseFloat(y),M=e.y-d-(1-m)*parseFloat(y.slice(y.indexOf(" ")+1)),g=k?e.width/k:n.offsetWidth+1,h=m?e.height/m:n.offsetHeight+1;return new Yp({x:i,y:M,width:g,height:h})}else return new Yp(e)}function Dd(n,e,r){if(typeof n.animate>"u")return{finished:Promise.resolve()};let E;try{E=n.animate(e,r)}catch{return{finished:Promise.resolve()}}return typeof E.finished>"u"&&(E.finished=new Promise(z=>{E.onfinish=()=>{z(E)}})),E}const Tv=new WeakMap;function Yz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const E=f6(r),z=Tv.get(n);if(e[r]==null)z==null||z.forEach(k=>{const[m,t]=k;m===E&&(n.removeEventListener(E,t),z.delete(k))});else if(!z||![...z].some(k=>k[0]===E&&k[1]===e[r])){n.addEventListener(E,e[r]);const k=z||new Set;k.add([E,e[r]]),Tv.has(n)||Tv.set(n,k)}}else e[r]==null?n.removeAttribute(r):n.setAttribute(r,e[r])})}function $z(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const E=f6(r),z=Tv.get(n);z==null||z.forEach(k=>{const[m,t]=k;m===E&&(n.removeEventListener(E,t),z.delete(k))})}else n.removeAttribute(r)})}const Cp=2.4,S5=.2126729,C5=.7151522,E5=.072175,Zz=.55,Xz=.58,Kz=.57,Jz=.62,lv=.03,L5=1.45,Qz=5e-4,eF=1.25,tF=1.25,I5=.078,O5=12.82051282051282,uv=.06,P5=.001;function R5(n,e){const r=(n.r/255)**Cp,E=(n.g/255)**Cp,z=(n.b/255)**Cp,k=(e.r/255)**Cp,m=(e.g/255)**Cp,t=(e.b/255)**Cp;let d=r*S5+E*C5+z*E5,y=k*S5+m*C5+t*E5;if(d<=lv&&(d+=(lv-d)**L5),y<=lv&&(y+=(lv-y)**L5),Math.abs(y-d)d){const M=(y**Zz-d**Xz)*eF;i=M-P5?0:M>-I5?M-M*O5*uv:M+uv}return i*100}function nF(n,e){e=Array.isArray(e)?e.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const cy=.20689655172413793,rF=n=>n>cy**3?Math.cbrt(n):n/(3*cy**2)+4/29,iF=n=>n>cy?n**3:3*cy**2*(n-4/29);function m6(n){const e=rF,r=e(n[1]);return[116*r-16,500*(e(n[0]/.95047)-r),200*(r-e(n[2]/1.08883))]}function g6(n){const e=iF,r=(n[0]+16)/116;return[e(r+n[1]/500)*.95047,e(r),e(r-n[2]/200)*1.08883]}const aF=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],oF=n=>n<=.0031308?n*12.92:1.055*n**(1/2.4)-.055,sF=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],lF=n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4;function v6(n){const e=Array(3),r=oF,E=aF;for(let z=0;z<3;++z)e[z]=Math.round(Xs(r(E[z][0]*n[0]+E[z][1]*n[1]+E[z][2]*n[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function Q2(n){let{r:e,g:r,b:E}=n;const z=[0,0,0],k=lF,m=sF;e=k(e/255),r=k(r/255),E=k(E/255);for(let t=0;t<3;++t)z[t]=m[t][0]*e+m[t][1]*r+m[t][2]*E;return z}function D5(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const z5=/^(?(?:rgb|hsl)a?)\((?.+)\)/,uF={rgb:(n,e,r,E)=>({r:n,g:e,b:r,a:E}),rgba:(n,e,r,E)=>({r:n,g:e,b:r,a:E}),hsl:(n,e,r,E)=>F5({h:n,s:e,l:r,a:E}),hsla:(n,e,r,E)=>F5({h:n,s:e,l:r,a:E}),hsv:(n,e,r,E)=>ih({h:n,s:e,v:r,a:E}),hsva:(n,e,r,E)=>ih({h:n,s:e,v:r,a:E})};function Oc(n){if(typeof n=="number")return{r:(n&16711680)>>16,g:(n&65280)>>8,b:n&255};if(typeof n=="string"&&z5.test(n)){const{groups:e}=n.match(z5),{fn:r,values:E}=e,z=E.split(/,\s*/).map(k=>k.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(k)/100:parseFloat(k));return uF[r](...z)}else if(typeof n=="string"){let e=n.startsWith("#")?n.slice(1):n;return[3,4].includes(e.length)?e=e.split("").map(r=>r+r).join(""):[6,8].includes(e.length),w6(e)}else if(typeof n=="object"){if(Rd(n,["r","g","b"]))return n;if(Rd(n,["h","s","l"]))return ih(e_(n));if(Rd(n,["h","s","v"]))return ih(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function ih(n){const{h:e,s:r,v:E,a:z}=n,k=t=>{const d=(t+e/60)%6;return E-E*r*Math.max(Math.min(d,4-d,1),0)},m=[k(5),k(3),k(1)].map(t=>Math.round(t*255));return{r:m[0],g:m[1],b:m[2],a:z}}function F5(n){return ih(e_(n))}function Xy(n){if(!n)return{h:0,s:1,v:1,a:1};const e=n.r/255,r=n.g/255,E=n.b/255,z=Math.max(e,r,E),k=Math.min(e,r,E);let m=0;z!==k&&(z===e?m=60*(0+(r-E)/(z-k)):z===r?m=60*(2+(E-e)/(z-k)):z===E&&(m=60*(4+(e-r)/(z-k)))),m<0&&(m=m+360);const t=z===0?0:(z-k)/z,d=[m,t,z];return{h:d[0],s:d[1],v:d[2],a:n.a}}function y6(n){const{h:e,s:r,v:E,a:z}=n,k=E-E*r/2,m=k===1||k===0?0:(E-k)/Math.min(k,1-k);return{h:e,s:m,l:k,a:z}}function e_(n){const{h:e,s:r,l:E,a:z}=n,k=E+r*Math.min(E,1-E),m=k===0?0:2-2*E/k;return{h:e,s:m,v:k,a:z}}function b6(n){let{r:e,g:r,b:E,a:z}=n;return z===void 0?`rgb(${e}, ${r}, ${E})`:`rgba(${e}, ${r}, ${E}, ${z})`}function x6(n){return b6(ih(n))}function cv(n){const e=Math.round(n).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function _6(n){let{r:e,g:r,b:E,a:z}=n;return`#${[cv(e),cv(r),cv(E),z!==void 0?cv(Math.round(z*255)):""].join("")}`}function w6(n){n=fF(n);let[e,r,E,z]=Hz(n,2).map(k=>parseInt(k,16));return z=z===void 0?z:z/255,{r:e,g:r,b:E,a:z}}function cF(n){const e=w6(n);return Xy(e)}function T6(n){return _6(ih(n))}function fF(n){return n.startsWith("#")&&(n=n.slice(1)),n=n.replace(/([^0-9a-f])/gi,"F"),(n.length===3||n.length===4)&&(n=n.split("").map(e=>e+e).join("")),n.length!==6&&(n=_5(_5(n,6),8,"F")),n}function hF(n,e){const r=m6(Q2(n));return r[0]=r[0]+e*10,v6(g6(r))}function dF(n,e){const r=m6(Q2(n));return r[0]=r[0]-e*10,v6(g6(r))}function cx(n){const e=Oc(n);return Q2(e)[1]}function pF(n,e){const r=cx(n),E=cx(e),z=Math.max(r,E),k=Math.min(r,E);return(z+.05)/(k+.05)}function k6(n){const e=Math.abs(R5(Oc(0),Oc(n)));return Math.abs(R5(Oc(16777215),Oc(n)))>Math.min(e,50)?"#fff":"#000"}function ur(n,e){return r=>Object.keys(n).reduce((E,z)=>{const m=typeof n[z]=="object"&&n[z]!=null&&!Array.isArray(n[z])?n[z]:{type:n[z]};return r&&z in r?E[z]={...m,default:r[z]}:E[z]=m,e&&!E[z].source&&(E[z].source=e),E},{})}const $r=ur({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function rc(n){if(n._setup=n._setup??n.setup,!n.name)return n;if(n._setup){n.props=ur(n.props??{},n.name)();const e=Object.keys(n.props);n.filterProps=function(E){return $d(E,e,["class","style"])},n.props._as=String,n.setup=function(E,z){const k=r_();if(!k.value)return n._setup(E,z);const{props:m,provideSubDefaults:t}=wF(E,E._as??n.name,k),d=n._setup(m,z);return t(),d}}return n}function Ar(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(n?rc:ns)(e)}function Bc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return Ar()({name:r??sh(ec(n.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...$r()},setup(E,z){let{slots:k}=z;return()=>{var m;return Xh(E.tag,{class:[n,E.class],style:E.style},(m=k.default)==null?void 0:m.call(k))}}})}function M6(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const e=n.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const zm="cubic-bezier(0.4, 0, 0.2, 1)",mF="cubic-bezier(0.0, 0, 0.2, 1)",gF="cubic-bezier(0.4, 0, 1, 1)";function Ss(n,e){const r=Ey();if(!r)throw new Error(`[Vuetify] ${n} ${e||"must be called from inside a setup function"}`);return r}function hh(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Ss(n).type;return Ud((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let A6=0,kv=new WeakMap;function Qs(){const n=Ss("getUid");if(kv.has(n))return kv.get(n);{const e=A6++;return kv.set(n,e),e}}Qs.reset=()=>{A6=0,kv=new WeakMap};function t_(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;n;){if(e?vF(n):n_(n))return n;n=n.parentElement}return document.scrollingElement}function fy(n,e){const r=[];if(e&&n&&!e.contains(n))return r;for(;n&&(n_(n)&&r.push(n),n!==e);)n=n.parentElement;return r}function n_(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return e.overflowY==="scroll"||e.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function vF(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return["scroll","auto"].includes(e.overflowY)}function yF(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss("injectSelf");const{provides:r}=e;if(r&&n in r)return r[n]}function bF(n){for(;n;){if(window.getComputedStyle(n).position==="fixed")return!0;n=n.offsetParent}return!1}function Rr(n){const e=Ss("useRender");e.render=n}const u0=Symbol.for("vuetify:defaults");function xF(n){return Vr(n)}function r_(){const n=ka(u0);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function es(n,e){const r=r_(),E=Vr(n),z=cn(()=>{if(yu(e==null?void 0:e.disabled))return r.value;const m=yu(e==null?void 0:e.scoped),t=yu(e==null?void 0:e.reset),d=yu(e==null?void 0:e.root);if(E.value==null&&!(m||t||d))return r.value;let y=Xu(E.value,{prev:r.value});if(m)return y;if(t||d){const i=Number(t||1/0);for(let M=0;M<=i&&!(!y||!("prev"in y));M++)y=y.prev;return y&&typeof d=="string"&&d in y&&(y=Xu(Xu(y,{prev:y}),y[d])),y}return y.prev?Xu(y.prev,y):y});return ts(u0,z),z}function _F(n,e){var r,E;return typeof((r=n.props)==null?void 0:r[e])<"u"||typeof((E=n.props)==null?void 0:E[Ud(e)])<"u"}function wF(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r_();const E=Ss("useDefaults");if(e=e??E.type.name??E.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const z=cn(()=>{var d;return(d=r.value)==null?void 0:d[n._as??e]}),k=new Proxy(n,{get(d,y){var M,g,h,l;const i=Reflect.get(d,y);return y==="class"||y==="style"?[(M=z.value)==null?void 0:M[y],i].filter(a=>a!=null):typeof y=="string"&&!_F(E.vnode,y)?((g=z.value)==null?void 0:g[y])??((l=(h=r.value)==null?void 0:h.global)==null?void 0:l[y])??i:i}}),m=qr();wu(()=>{if(z.value){const d=Object.entries(z.value).filter(y=>{let[i]=y;return i.startsWith(i[0].toUpperCase())});m.value=d.length?Object.fromEntries(d):void 0}else m.value=void 0});function t(){const d=yF(u0,E);ts(u0,cn(()=>m.value?Xu((d==null?void 0:d.value)??{},m.value):d==null?void 0:d.value))}return{props:k,provideSubDefaults:t}}const Ky=["sm","md","lg","xl","xxl"],fx=Symbol.for("vuetify:display"),B5={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},TF=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:B5;return Xu(B5,n)};function N5(n){return to&&!n?window.innerWidth:typeof n=="object"&&n.clientWidth||0}function V5(n){return to&&!n?window.innerHeight:typeof n=="object"&&n.clientHeight||0}function j5(n){const e=to&&!n?window.navigator.userAgent:"ssr";function r(l){return!!e.match(l)}const E=r(/android/i),z=r(/iphone|ipad|ipod/i),k=r(/cordova/i),m=r(/electron/i),t=r(/chrome/i),d=r(/edge/i),y=r(/firefox/i),i=r(/opera/i),M=r(/win/i),g=r(/mac/i),h=r(/linux/i);return{android:E,ios:z,cordova:k,electron:m,chrome:t,edge:d,firefox:y,opera:i,win:M,mac:g,linux:h,touch:Fz,ssr:e==="ssr"}}function kF(n,e){const{thresholds:r,mobileBreakpoint:E}=TF(n),z=qr(V5(e)),k=qr(j5(e)),m=bl({}),t=qr(N5(e));function d(){z.value=V5(),t.value=N5()}function y(){d(),k.value=j5()}return wu(()=>{const i=t.value=r.xxl,u=i?"xs":M?"sm":g?"md":h?"lg":l?"xl":"xxl",o=typeof E=="number"?E:r[E],s=t.valueXh(a_,{...n,class:"mdi"})},bi=[String,Function,Object,Array],hx=Symbol.for("vuetify:icons"),Jy=ur({icon:{type:bi},tag:{type:String,required:!0}},"icon"),dx=Ar()({name:"VComponentIcon",props:Jy(),setup(n,e){let{slots:r}=e;return()=>{const E=n.icon;return gt(n.tag,null,{default:()=>{var z;return[n.icon?gt(E,null,null):(z=r.default)==null?void 0:z.call(r)]}})}}}),i_=rc({name:"VSvgIcon",inheritAttrs:!1,props:Jy(),setup(n,e){let{attrs:r}=e;return()=>gt(n.tag,Wr(r,{style:null}),{default:()=>[gt("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(E=>Array.isArray(E)?gt("path",{d:E[0],"fill-opacity":E[1]},null):gt("path",{d:E},null)):gt("path",{d:n.icon},null)])]})}}),SF=rc({name:"VLigatureIcon",props:Jy(),setup(n){return()=>gt(n.tag,null,{default:()=>[n.icon]})}}),a_=rc({name:"VClassIcon",props:Jy(),setup(n){return()=>gt(n.tag,{class:n.icon},null)}}),CF={svg:{component:i_},class:{component:a_}};function EF(n){return Xu({defaultSet:"mdi",sets:{...CF,mdi:AF},aliases:{...MF,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},n)}const LF=n=>{const e=ka(hx);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:cn(()=>{var d;const E=yu(n);if(!E)return{component:dx};let z=E;if(typeof z=="string"&&(z=z.trim(),z.startsWith("$")&&(z=(d=e.aliases)==null?void 0:d[z.slice(1)])),!z)throw new Error(`Could not find aliased icon "${E}"`);if(Array.isArray(z))return{component:i_,icon:z};if(typeof z!="string")return{component:dx,icon:z};const k=Object.keys(e.sets).find(y=>typeof z=="string"&&z.startsWith(`${y}:`)),m=k?z.slice(k.length+1):z;return{component:e.sets[k??e.defaultSet].component,icon:m}})}},IF={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},OF={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function $h(n,e){let r;function E(){r=Um(),r.run(()=>e.length?e(()=>{r==null||r.stop(),E()}):e())}Xr(n,z=>{z&&!r?E():z||(r==null||r.stop(),r=void 0)},{immediate:!0}),Tl(()=>{r==null||r.stop()})}function xi(n,e,r){let E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M=>M,z=arguments.length>4&&arguments[4]!==void 0?arguments[4]:M=>M;const k=Ss("useProxiedModel"),m=Vr(n[e]!==void 0?n[e]:r),t=Ud(e),y=cn(t!==e?()=>{var M,g,h,l;return n[e],!!(((M=k.vnode.props)!=null&&M.hasOwnProperty(e)||(g=k.vnode.props)!=null&&g.hasOwnProperty(t))&&((h=k.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${e}`)||(l=k.vnode.props)!=null&&l.hasOwnProperty(`onUpdate:${t}`)))}:()=>{var M,g;return n[e],!!((M=k.vnode.props)!=null&&M.hasOwnProperty(e)&&((g=k.vnode.props)!=null&&g.hasOwnProperty(`onUpdate:${e}`)))});$h(()=>!y.value,()=>{Xr(()=>n[e],M=>{m.value=M})});const i=cn({get(){const M=n[e];return E(y.value?M:m.value)},set(M){const g=z(M),h=Si(y.value?n[e]:m.value);h===g||E(h)===M||(m.value=g,k==null||k.emit(`update:${e}`,g))}});return Object.defineProperty(i,"externalValue",{get:()=>y.value?n[e]:m.value}),i}const U5="$vuetify.",H5=(n,e)=>n.replace(/\{(\d+)\}/g,(r,E)=>String(e[+E])),S6=(n,e,r)=>function(E){for(var z=arguments.length,k=new Array(z>1?z-1:0),m=1;mnew Intl.NumberFormat([n.value,e.value],E).format(r)}function yb(n,e,r){const E=xi(n,e,n[e]??r.value);return E.value=n[e]??r.value,Xr(r,z=>{n[e]==null&&(E.value=r.value)}),E}function E6(n){return e=>{const r=yb(e,"locale",n.current),E=yb(e,"fallback",n.fallback),z=yb(e,"messages",n.messages);return{name:"vuetify",current:r,fallback:E,messages:z,t:S6(r,E,z),n:C6(r,E),provide:E6({current:r,fallback:E,messages:z})}}}function PF(n){const e=qr((n==null?void 0:n.locale)??"en"),r=qr((n==null?void 0:n.fallback)??"en"),E=Vr({en:IF,...n==null?void 0:n.messages});return{name:"vuetify",current:e,fallback:r,messages:E,t:S6(e,r,E),n:C6(e,r),provide:E6({current:e,fallback:r,messages:E})}}const c0=Symbol.for("vuetify:locale");function RF(n){return n.name!=null}function DF(n){const e=n!=null&&n.adapter&&RF(n==null?void 0:n.adapter)?n==null?void 0:n.adapter:PF(n),r=FF(e,n);return{...e,...r}}function ic(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function zF(n){const e=ka(c0);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");const r=e.provide(n),E=BF(r,e.rtl,n),z={...r,...E};return ts(c0,z),z}function FF(n,e){const r=Vr((e==null?void 0:e.rtl)??OF),E=cn(()=>r.value[n.current.value]??!1);return{isRtl:E,rtl:r,rtlClasses:cn(()=>`v-locale--is-${E.value?"rtl":"ltr"}`)}}function BF(n,e,r){const E=cn(()=>r.rtl??e.value[n.current.value]??!1);return{isRtl:E,rtl:e,rtlClasses:cn(()=>`v-locale--is-${E.value?"rtl":"ltr"}`)}}function Cs(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Fm=Symbol.for("vuetify:theme"),oa=ur({theme:String},"theme"),im={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function NF(){var r,E;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:im;if(!n)return{...im,isDisabled:!0};const e={};for(const[z,k]of Object.entries(n.themes??{})){const m=k.dark||z==="dark"?(r=im.themes)==null?void 0:r.dark:(E=im.themes)==null?void 0:E.light;e[z]=Xu(m,k)}return Xu(im,{...n,themes:e})}function VF(n){const e=NF(n),r=Vr(e.defaultTheme),E=Vr(e.themes),z=cn(()=>{const i={};for(const[M,g]of Object.entries(E.value)){const h=i[M]={...g,colors:{...g.colors}};if(e.variations)for(const l of e.variations.colors){const a=h.colors[l];if(a)for(const u of["lighten","darken"]){const o=u==="lighten"?hF:dF;for(const s of Jf(e.variations[u],1))h.colors[`${l}-${u}-${s}`]=_6(o(Oc(a),s))}}for(const l of Object.keys(h.colors)){if(/^on-[a-z]/.test(l)||h.colors[`on-${l}`])continue;const a=`on-${l}`,u=Oc(h.colors[l]);h.colors[a]=k6(u)}}return i}),k=cn(()=>z.value[r.value]),m=cn(()=>{const i=[];k.value.dark&&wd(i,":root",["color-scheme: dark"]),wd(i,":root",G5(k.value));for(const[l,a]of Object.entries(z.value))wd(i,`.v-theme--${l}`,[`color-scheme: ${a.dark?"dark":"normal"}`,...G5(a)]);const M=[],g=[],h=new Set(Object.values(z.value).flatMap(l=>Object.keys(l.colors)));for(const l of h)/^on-[a-z]/.test(l)?wd(g,`.${l}`,[`color: rgb(var(--v-theme-${l})) !important`]):(wd(M,`.bg-${l}`,[`--v-theme-overlay-multiplier: var(--v-theme-${l}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${l})) !important`,`color: rgb(var(--v-theme-on-${l})) !important`]),wd(g,`.text-${l}`,[`color: rgb(var(--v-theme-${l})) !important`]),wd(g,`.border-${l}`,[`--v-border-color: var(--v-theme-${l})`]));return i.push(...M,...g),i.map((l,a)=>a===0?l:` ${l}`).join("")});function t(){return{style:[{children:m.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function d(i){if(e.isDisabled)return;const M=i._context.provides.usehead;if(M)if(M.push){const h=M.push(t);to&&Xr(m,()=>{h.patch(t)})}else to?(M.addHeadObjs(cn(t)),wu(()=>M.updateDOM())):M.addHeadObjs(t());else{let l=function(){if(typeof document<"u"&&!h){const a=document.createElement("style");a.type="text/css",a.id="vuetify-theme-stylesheet",e.cspNonce&&a.setAttribute("nonce",e.cspNonce),h=a,document.head.appendChild(h)}h&&(h.innerHTML=m.value)};var g=l;let h=to?document.getElementById("vuetify-theme-stylesheet"):null;to?Xr(m,l,{immediate:!0}):l()}}const y=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`);return{install:d,isDisabled:e.isDisabled,name:r,themes:E,current:k,computedThemes:z,themeClasses:y,styles:m,global:{name:r,current:k}}}function Ma(n){Ss("provideTheme");const e=ka(Fm,null);if(!e)throw new Error("Could not find Vuetify theme injection");const r=cn(()=>n.theme??e.name.value),E=cn(()=>e.themes.value[r.value]),z=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`),k={...e,name:r,current:E,themeClasses:z};return ts(Fm,k),k}function L6(){Ss("useTheme");const n=ka(Fm,null);if(!n)throw new Error("Could not find Vuetify theme injection");return n}function wd(n,e,r){n.push(`${e} { +Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.adjustTableSize(),this.dispatch("rows-wiped")}destroy(){this.rows.forEach(e=>{e.wipe()}),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0}deleteRow(e,r){var E=this.rows.indexOf(e),z=this.activeRows.indexOf(e);z>-1&&this.activeRows.splice(z,1),E>-1&&this.rows.splice(E,1),this.setActiveRows(this.activeRows),this.displayRowIterator(k=>{var m=k.indexOf(e);m>-1&&k.splice(m,1)}),r||this.reRenderInPosition(),this.regenerateRowPositions(),this.dispatchExternal("rowDeleted",e.getComponent()),this.displayRowsCount||this.tableEmpty(),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.getData())}addRow(e,r,E,z){var k=this.addRowActual(e,r,E,z);return k}addRows(e,r,E,z){var k=[];return new Promise((m,t)=>{r=this.findAddRowPos(r),Array.isArray(e)||(e=[e]),(typeof E>"u"&&r||typeof E<"u"&&!r)&&e.reverse(),e.forEach((d,y)=>{var i=this.addRow(d,r,E,!0);k.push(i),this.dispatch("row-added",i,d,r,E)}),this.refreshActiveData(z?"displayPipeline":!1,!1,!0),this.regenerateRowPositions(),this.displayRowsCount&&this._clearPlaceholder(),m(k)})}findAddRowPos(e){return typeof e>"u"&&(e=this.table.options.addRowPos),e==="pos"&&(e=!0),e==="bottom"&&(e=!1),e}addRowActual(e,r,E,z){var k=e instanceof yl?e:new yl(e||{},this),m=this.findAddRowPos(r),t=-1,d,y;return E||(y=this.chain("row-adding-position",[k,m],null,{index:E,top:m}),E=y.index,m=y.top),typeof E<"u"&&(E=this.findRow(E)),E=this.chain("row-adding-index",[k,E,m],null,E),E&&(t=this.rows.indexOf(E)),E&&t>-1?(d=this.activeRows.indexOf(E),this.displayRowIterator(function(i){var M=i.indexOf(E);M>-1&&i.splice(m?M:M+1,0,k)}),d>-1&&this.activeRows.splice(m?d:d+1,0,k),this.rows.splice(m?t:t+1,0,k)):m?(this.displayRowIterator(function(i){i.unshift(k)}),this.activeRows.unshift(k),this.rows.unshift(k)):(this.displayRowIterator(function(i){i.push(k)}),this.activeRows.push(k),this.rows.push(k)),this.setActiveRows(this.activeRows),this.dispatchExternal("rowAdded",k.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),z||this.reRenderInPosition(),k}moveRow(e,r,E){this.dispatch("row-move",e,r,E),this.moveRowActual(e,r,E),this.regenerateRowPositions(),this.dispatch("row-moved",e,r,E),this.dispatchExternal("rowMoved",e.getComponent())}moveRowActual(e,r,E){this.moveRowInArray(this.rows,e,r,E),this.moveRowInArray(this.activeRows,e,r,E),this.displayRowIterator(z=>{this.moveRowInArray(z,e,r,E)}),this.dispatch("row-moving",e,r,E)}moveRowInArray(e,r,E,z){var k,m,t,d;if(r!==E&&(k=e.indexOf(r),k>-1&&(e.splice(k,1),m=e.indexOf(E),m>-1?z?e.splice(m+1,0,r):e.splice(m,0,r):e.splice(k,0,r)),e===this.getDisplayRows())){t=kk?m:k+1;for(let y=t;y<=d;y++)e[y]&&this.styleRow(e[y],y)}}clearData(){this.setData([])}getRowIndex(e){return this.findRowIndex(e,this.rows)}getDisplayRowIndex(e){var r=this.getDisplayRows().indexOf(e);return r>-1?r:!1}nextDisplayRow(e,r){var E=this.getDisplayRowIndex(e),z=!1;return E!==!1&&E-1)?E:!1}getData(e,r){var E=[],z=this.getRows(e);return z.forEach(function(k){k.type=="row"&&E.push(k.getData(r||"data"))}),E}getComponents(e){var r=[],E=this.getRows(e);return E.forEach(function(z){r.push(z.getComponent())}),r}getDataCount(e){var r=this.getRows(e);return r.length}scrollHorizontal(e){this.scrollLeft=e,this.element.scrollLeft=e,this.dispatch("scroll-horizontal",e)}registerDataPipelineHandler(e,r){typeof r<"u"?(this.dataPipeline.push({handler:e,priority:r}),this.dataPipeline.sort((E,z)=>E.priority-z.priority)):console.error("Data pipeline handlers must have a priority in order to be registered")}registerDisplayPipelineHandler(e,r){typeof r<"u"?(this.displayPipeline.push({handler:e,priority:r}),this.displayPipeline.sort((E,z)=>E.priority-z.priority)):console.error("Display pipeline handlers must have a priority in order to be registered")}refreshActiveData(e,r,E){var z=this.table,k="",m=0,t=["all","dataPipeline","display","displayPipeline","end"];if(!this.table.destroyed){if(typeof e=="function")if(m=this.dataPipeline.findIndex(d=>d.handler===e),m>-1)k="dataPipeline",r&&(m==this.dataPipeline.length-1?k="display":m++);else if(m=this.displayPipeline.findIndex(d=>d.handler===e),m>-1)k="displayPipeline",r&&(m==this.displayPipeline.length-1?k="end":m++);else{console.error("Unable to refresh data, invalid handler provided",e);return}else k=e||"all",m=0;if(this.redrawBlock){(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===k&&m{E.type==="row"&&(E.setPosition(r),r++)})}setActiveRows(e){this.activeRows=this.activeRows=Object.assign([],e),this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}setDisplayRows(e,r){this.displayRows[r]=e,r==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length)}getDisplayRows(e){return typeof e>"u"?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]}getVisibleRows(e,r){var E=Object.assign([],this.renderer.visibleRows(!r));return e&&(E=this.chain("rows-visible",[r],E,E)),E}displayRowIterator(e){this.activeRowsPipeline.forEach(e),this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(e){var r=[];switch(e){case"active":r=this.activeRows;break;case"display":r=this.table.rowManager.getDisplayRows();break;case"visible":r=this.getVisibleRows(!1,!0);break;default:r=this.chain("rows-retrieve",e,null,this.rows)||this.rows}return r}reRenderInPosition(e){this.redrawBlock?e?e():this.redrawBlockRenderInPosition=!0:(this.dispatchExternal("renderStarted"),this.renderer.rerenderRows(e),this.fixedHeight||this.adjustTableSize(),this.scrollBarCheck(),this.dispatchExternal("renderComplete"))}scrollBarCheck(){var e=0;this.element.scrollHeight>this.element.clientHeight&&(e=this.element.offsetWidth-this.element.clientWidth),e!==this.scrollbarWidth&&(this.scrollbarWidth=e,this.dispatch("scrollbar-vertical",e))}initializeRenderer(){var e,r={virtual:BO,basic:FO};typeof this.table.options.renderVertical=="string"?e=r[this.table.options.renderVertical]:e=this.table.options.renderVertical,e?(this.renderMode=this.table.options.renderVertical,this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize(),(this.table.element.clientHeight||this.table.options.height)&&!(this.table.options.minHeight&&this.table.options.maxHeight)?this.fixedHeight=!0:this.fixedHeight=!1):console.error("Unable to find matching renderer:",this.table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal("renderStarted"),this.element.scrollTop=0,this._clearTable(),this.displayRowsCount?(this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.fixedHeight||this.adjustTableSize(),this.layoutRefresh(!0))):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch("table-layout"),this.displayRowsCount||this._showPlaceholder(),this.scrollBarCheck(),this.dispatchExternal("renderComplete")}renderEmptyScroll(){this.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"}_clearTable(){this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}tableEmpty(){this.renderEmptyScroll(),this._showPlaceholder()}checkPlaceholder(){this.displayRowsCount?this._clearPlaceholder():this.tableEmpty()}_showPlaceholder(){this.placeholder&&(this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.initializePlaceholder(),this.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.placeholder),this._positionPlaceholder(),this.adjustTableSize())}_clearPlaceholder(){this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.tableElement.style.minWidth="",this.tableElement.style.display=""}_positionPlaceholder(){this.placeholder&&this.placeholder.parentNode&&(this.placeholder.style.width=this.table.columnManager.getWidth()+"px",this.placeholderContents.style.width=this.table.rowManager.element.clientWidth+"px",this.placeholderContents.style.marginLeft=this.scrollLeft+"px")}styleRow(e,r){var E=e.getElement();r%2?(E.classList.add("tabulator-row-even"),E.classList.remove("tabulator-row-odd")):(E.classList.add("tabulator-row-odd"),E.classList.remove("tabulator-row-even"))}normalizeHeight(){this.activeRows.forEach(function(e){e.normalizeHeight()})}adjustTableSize(){let e=this.element.clientHeight,r,E=!1;if(this.renderer.verticalFillMode==="fill"){let z=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));if(this.fixedHeight){r=isNaN(this.table.options.minHeight)?this.table.options.minHeight:this.table.options.minHeight+"px";const k="calc(100% - "+z+"px)";this.element.style.minHeight=r||"calc(100% - "+z+"px)",this.element.style.height=k,this.element.style.maxHeight=k}else this.element.style.height="",this.element.style.height=this.table.element.clientHeight-z+"px",this.element.scrollTop=this.scrollTop;this.renderer.resize(),!this.fixedHeight&&e!=this.element.clientHeight&&(E=!0,this.subscribed("table-resize")?this.dispatch("table-resize"):this.redraw()),this.scrollBarCheck()}return this._positionPlaceholder(),E}reinitialize(){this.rows.forEach(function(e){e.reinitialize(!0)})}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRenderInPosition&&this.reRenderInPosition(),this.redrawBlockRenderInPosition=!1}redraw(e){this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():(this.reRenderInPosition(),this.scrollHorizontal(this.scrollLeft))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,this.table.browser==="ie"){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))}}class VO extends Ml{constructor(e){super(e),this.active=!1,this.element=this.createElement(),this.containerElement=this.createContainerElement(),this.external=!1}initialize(){this.initializeElement()}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e}createContainerElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer-contents"),this.element.appendChild(e),e}initializeElement(){if(this.table.options.footerElement)switch(typeof this.table.options.footerElement){case"string":this.table.options.footerElement[0]==="<"?this.containerElement.innerHTML=this.table.options.footerElement:(this.external=!0,this.containerElement=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement;break}}getElement(){return this.element}append(e){this.activate(),this.containerElement.appendChild(e),this.table.rowManager.adjustTableSize()}prepend(e){this.activate(),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(e){e.parentNode.removeChild(e),this.deactivate()}deactivate(e){(!this.element.firstChild||e)&&(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=""))}redraw(){this.dispatch("footer-redraw")}}class jO extends Ml{constructor(e){super(e),this.el=null,this.abortClasses=["tabulator-headers","tabulator-table"],this.previousTargets={},this.listeners=["click","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","mouseup","mousedown","touchstart","touchend"],this.componentMap={"tabulator-cell":"cell","tabulator-row":"row","tabulator-group":"group","tabulator-col":"column"},this.pseudoTrackers={row:{subscriber:null,target:null},cell:{subscriber:null,target:null},group:{subscriber:null,target:null},column:{subscriber:null,target:null}},this.pseudoTracking=!1}initialize(){this.el=this.table.element,this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var e={};this.listeners.forEach(r=>{e[r]={handler:null,components:[]}}),this.listeners=e}bindPseudoEvents(){Object.keys(this.pseudoTrackers).forEach(e=>{this.pseudoTrackers[e].subscriber=this.pseudoMouseEnter.bind(this,e),this.subscribe(e+"-mouseover",this.pseudoTrackers[e].subscriber)}),this.pseudoTracking=!0}pseudoMouseEnter(e,r,E){this.pseudoTrackers[e].target!==E&&(this.pseudoTrackers[e].target&&this.dispatch(e+"-mouseleave",r,this.pseudoTrackers[e].target),this.pseudoMouseLeave(e,r),this.pseudoTrackers[e].target=E,this.dispatch(e+"-mouseenter",r,E))}pseudoMouseLeave(e,r){var E=Object.keys(this.pseudoTrackers),z={row:["cell"],cell:["row"]};E=E.filter(k=>{var m=z[e];return k!==e&&(!m||m&&!m.includes(k))}),E.forEach(k=>{var m=this.pseudoTrackers[k].target;this.pseudoTrackers[k].target&&(this.dispatch(k+"-mouseleave",r,m),this.pseudoTrackers[k].target=null)})}bindSubscriptionWatchers(){var e=Object.keys(this.listeners),r=Object.values(this.componentMap);for(let E of r)for(let z of e){let k=E+"-"+z;this.subscriptionChange(k,this.subscriptionChanged.bind(this,E,z))}this.subscribe("table-destroy",this.clearWatchers.bind(this))}subscriptionChanged(e,r,E){var z=this.listeners[r].components,k=z.indexOf(e),m=!1;E?k===-1&&(z.push(e),m=!0):this.subscribed(e+"-"+r)||k>-1&&(z.splice(k,1),m=!0),(r==="mouseenter"||r==="mouseleave")&&!this.pseudoTracking&&this.bindPseudoEvents(),m&&this.updateEventListeners()}updateEventListeners(){for(let e in this.listeners){let r=this.listeners[e];r.components.length?r.handler||(r.handler=this.track.bind(this,e),this.el.addEventListener(e,r.handler)):r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}track(e,r){var E=r.composedPath&&r.composedPath()||r.path,z=this.findTargets(E);z=this.bindComponents(e,z),this.triggerEvents(e,r,z),this.pseudoTracking&&(e=="mouseover"||e=="mouseleave")&&!Object.keys(z).length&&this.pseudoMouseLeave("none",r)}findTargets(e){var r={};let E=Object.keys(this.componentMap);for(let z of e){let k=z.classList?[...z.classList]:[];if(k.filter(d=>this.abortClasses.includes(d)).length)break;let t=k.filter(d=>E.includes(d));for(let d of t)r[this.componentMap[d]]||(r[this.componentMap[d]]=z)}return r.group&&r.group===r.row&&delete r.row,r}bindComponents(e,r){var E=Object.keys(r).reverse(),z=this.listeners[e],k={},m={};for(let t of E){let d,y=r[t],i=this.previousTargets[t];if(i&&i.target===y)d=i.component;else switch(t){case"row":case"group":(z.components.includes("row")||z.components.includes("cell")||z.components.includes("group"))&&(d=this.table.rowManager.getVisibleRows(!0).find(g=>g.getElement()===y),r.row&&r.row.parentNode&&r.row.parentNode.closest(".tabulator-row")&&(r[t]=!1));break;case"column":z.components.includes("column")&&(d=this.table.columnManager.findColumn(y));break;case"cell":z.components.includes("cell")&&(k.row instanceof yl?d=k.row.findCell(y):r.row&&console.warn("Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"));break}d&&(k[t]=d,m[t]={target:y,component:d})}return this.previousTargets=m,k}triggerEvents(e,r,E){var z=this.listeners[e];for(let k in E)E[k]&&z.components.includes(k)&&this.dispatch(k+"-"+e,r,E[k])}clearWatchers(){for(let e in this.listeners){let r=this.listeners[e];r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}}class UO{constructor(e){this.table=e,this.bindings={}}bind(e,r,E){this.bindings[e]||(this.bindings[e]={}),this.bindings[e][r]?console.warn("Unable to bind component handler, a matching function name is already bound",e,r,E):this.bindings[e][r]=E}handle(e,r,E){if(this.bindings[e]&&this.bindings[e][E]&&typeof this.bindings[e][E].bind=="function")return this.bindings[e][E].bind(null,r);E!=="then"&&typeof E=="string"&&!E.startsWith("_")&&this.table.options.debugInvalidComponentFuncs&&console.error("The "+e+" component does not have a "+E+" function, have you checked that you have the correct Tabulator module installed?")}}class HO extends Ml{constructor(e){super(e),this.requestOrder=0,this.loading=!1}initialize(){}load(e,r,E,z,k,m){var t=++this.requestOrder;if(this.table.destroyed)return Promise.resolve();if(this.dispatchExternal("dataLoading",e),e&&(e.indexOf("{")==0||e.indexOf("[")==0)&&(e=JSON.parse(e)),this.confirm("data-loading",[e,r,E,k])){this.loading=!0,k||this.alertLoader(),r=this.chain("data-params",[e,E,k],r||{},r||{}),r=this.mapParams(r,this.table.options.dataSendParams);var d=this.chain("data-load",[e,r,E,k],!1,Promise.resolve([]));return d.then(y=>{if(this.table.destroyed)console.warn("Data Load Response Blocked - Table has been destroyed");else{!Array.isArray(y)&&typeof y=="object"&&(y=this.mapParams(y,this.objectInvert(this.table.options.dataReceiveParams)));var i=this.chain("data-loaded",y,null,y);t==this.requestOrder?(this.clearAlert(),i!==!1&&(this.dispatchExternal("dataLoaded",i),this.table.rowManager.setData(i,z,typeof m>"u"?!z:m))):console.warn("Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made")}}).catch(y=>{console.error("Data Load Error: ",y),this.dispatchExternal("dataLoadError",y),k||this.alertError(),setTimeout(()=>{this.clearAlert()},this.table.options.dataLoaderErrorTimeout)}).finally(()=>{this.loading=!1})}else return this.dispatchExternal("dataLoaded",e),e||(e=[]),this.table.rowManager.setData(e,z,typeof m>"u"?!z:m),Promise.resolve()}mapParams(e,r){var E={};for(let z in e)E[r.hasOwnProperty(z)?r[z]:z]=e[z];return E}objectInvert(e){var r={};for(let E in e)r[e[E]]=E;return r}blockActiveLoad(){this.requestOrder++}alertLoader(){var e=typeof this.table.options.dataLoader=="function"?this.table.options.dataLoader():this.table.options.dataLoader;e&&this.table.alertManager.alert(this.table.options.dataLoaderLoading||this.langText("data|loading"))}alertError(){this.table.alertManager.alert(this.table.options.dataLoaderError||this.langText("data|error"),"error")}clearAlert(){this.table.alertManager.clear()}}class GO{constructor(e,r,E){this.table=e,this.events={},this.optionsList=r||{},this.subscriptionNotifiers={},this.dispatch=E?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=E}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r){this.events[e]||(this.events[e]=[]),this.events[e].push(r),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var E;if(this.events[e])if(r)if(E=this.events[e].findIndex(z=>z===r),E>-1)this.events[e].splice(E,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}else delete this.events[e];else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_notifySubscriptionChange(e,r){var E=this.subscriptionNotifiers[e];E&&E.forEach(z=>{z(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift(),E;return this.events[r]&&this.events[r].forEach((z,k)=>{let m=z.apply(this.table,e);k||(E=m)}),E}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="ExternalEvent:"+e[0],(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}}class qO{constructor(e){this.events={},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=e?this._debugChain.bind(this):this._chain.bind(this),this.confirm=e?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=e}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r,E=1e4){this.events[e]||(this.events[e]=[]),this.events[e].push({callback:r,priority:E}),this.events[e].sort((z,k)=>z.priority-k.priority),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var E;if(this.events[e]){if(r)if(E=this.events[e].findIndex(z=>z.callback===r),E>-1)this.events[e].splice(E,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}}else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_chain(e,r,E,z){var k=E;return Array.isArray(r)||(r=[r]),this.subscribed(e)?(this.events[e].forEach((m,t)=>{k=m.callback.apply(this,r.concat([k]))}),k):typeof z=="function"?z():z}_confirm(e,r){var E=!1;return Array.isArray(r)||(r=[r]),this.subscribed(e)&&this.events[e].forEach((z,k)=>{z.callback.apply(this,r)&&(E=!0)}),E}_notifySubscriptionChange(e,r){var E=this.subscriptionNotifiers[e];E&&E.forEach(z=>{z(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift();this.events[r]&&this.events[r].forEach(E=>{E.callback.apply(this,e)})}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}_debugChain(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._chain(...arguments)}_debugConfirm(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._confirm(...arguments)}}class WO extends Ml{constructor(e){super(e)}_warnUser(){this.options("debugDeprecation")&&console.warn(...arguments)}check(e,r,E){var z="";return typeof this.options(e)<"u"?(z="Deprecated Setup Option - Use of the %c"+e+"%c option is now deprecated",r?(z=z+", Please use the %c"+r+"%c option instead",this._warnUser(z,"font-weight: bold;","font-weight: normal;","font-weight: bold;","font-weight: normal;"),E&&(this.table.options[r]=this.table.options[e])):this._warnUser(z,"font-weight: bold;","font-weight: normal;"),!1):!0}checkMsg(e,r){return typeof this.options(e)<"u"?(this._warnUser("%cDeprecated Setup Option - Use of the %c"+e+" %c option is now deprecated, "+r,"font-weight: normal;","font-weight: bold;","font-weight: normal;"),!1):!0}msg(e){this._warnUser(e)}}class pu{static register(e){pu.tables.push(e)}static deregister(e){var r=pu.tables.indexOf(e);r>-1&&pu.tables.splice(r,1)}static lookupTable(e,r){var E=[],z,k;if(typeof e=="string"){if(z=document.querySelectorAll(e),z.length)for(var m=0;m{m.widthFixed||m.reinitializeWidth(),(this.table.options.responsiveLayout?m.modules.responsive.visible:m.visible)&&(k=m),m.visible&&(r+=m.getWidth())}),k?(z=E-r+k.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(k.setWidth(0),this.table.modules.responsiveLayout.update()),z>0?k.setWidth(z):k.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function ZO(n,e){var r=this.table.rowManager.element.getBoundingClientRect().width,E=0,z=0,k=0,m=0,t=[],d=[],y=0,i=0,M=0;function g(l){var a;return typeof l=="string"?l.indexOf("%")>-1?a=r/100*parseInt(l):a=parseInt(l):a=l,a}function h(l,a,u,o){var s=[],c=0,f=0,p=0,w=k,v=0,S=0,x=[];function T(_){return u*(_.column.definition.widthGrow||1)}function C(_){return g(_.width)-u*(_.column.definition.widthShrink||0)}return l.forEach(function(_,A){var L=o?C(_):T(_);_.column.minWidth>=L?s.push(_):_.column.maxWidth&&_.column.maxWidththis.table.rowManager.element.clientHeight&&(r-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),n.forEach(function(l){var a,u,o;l.visible&&(a=l.definition.width,u=parseInt(l.minWidth),a?(o=g(a),E+=o>u?o:u,l.definition.widthShrink&&(d.push({column:l,width:o>u?o:u}),y+=l.definition.widthShrink)):(t.push({column:l,width:0}),k+=l.definition.widthGrow||1))}),z=r-E,m=Math.floor(z/k),M=h(t,z,m,!1),t.length&&M>0&&(t[t.length-1].width+=M),t.forEach(function(l){z-=l.width}),i=Math.abs(M)+z,i>0&&y&&(M=h(d,i,Math.floor(i/y),!0)),M&&d.length&&(d[d.length-1].width-=M),t.forEach(function(l){l.column.setWidth(l.width)}),d.forEach(function(l){l.column.setWidth(l.width)})}var XO={fitData:$O,fitDataFill:v5,fitDataTable:v5,fitDataStretch:YO,fitColumns:ZO};class s0 extends qi{constructor(e){super(e,"layout"),this.mode=null,this.registerTableOption("layout","fitData"),this.registerTableOption("layoutColumnsOnNewData",!1),this.registerColumnOption("widthGrow"),this.registerColumnOption("widthShrink")}initialize(){var e=this.table.options.layout;s0.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode),this.subscribe("column-init",this.initializeColumn.bind(this))}initializeColumn(e){e.definition.widthGrow&&(e.definition.widthGrow=Number(e.definition.widthGrow)),e.definition.widthShrink&&(e.definition.widthShrink=Number(e.definition.widthShrink))}getMode(){return this.mode}layout(e){this.dispatch("layout-refreshing"),s0.modes[this.mode].call(this,this.table.columnManager.columnsByIndex,e),this.dispatch("layout-refreshed")}}s0.moduleName="layout";s0.modes=XO;var KO={default:{groups:{item:"item",items:"items"},columns:{},data:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All",counter:{showing:"Showing",of:"of",rows:"rows",pages:"pages"}},headerFilters:{default:"filter column...",columns:{}}}};class ag extends qi{constructor(e){super(e),this.locale="default",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption("locale",!1),this.registerTableOption("langs",{})}initialize(){this.langList=oo.deepClone(ag.langs),this.table.options.columnDefaults.headerFilterPlaceholder!==!1&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let e in this.table.options.langs)this.installLang(e,this.table.options.langs[e]);this.setLocale(this.table.options.locale),this.registerTableFunction("setLocale",this.setLocale.bind(this)),this.registerTableFunction("getLocale",this.getLocale.bind(this)),this.registerTableFunction("getLang",this.getLang.bind(this))}setHeaderFilterPlaceholder(e){this.langList.default.headerFilters.default=e}installLang(e,r){this.langList[e]?this._setLangProp(this.langList[e],r):this.langList[e]=r}_setLangProp(e,r){for(let E in r)e[E]&&typeof e[E]=="object"?this._setLangProp(e[E],r[E]):e[E]=r[E]}setLocale(e){e=e||"default";function r(E,z){for(var k in E)typeof E[k]=="object"?(z[k]||(z[k]={}),r(E[k],z[k])):z[k]=E[k]}if(e===!0&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){let E=e.split("-")[0];this.langList[E]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,E),e=E):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=oo.deepClone(this.langList.default||{}),e!="default"&&r(this.langList[e],this.lang),this.dispatchExternal("localized",this.locale,this.lang),this._executeBindings()}getLocale(e){return this.locale}getLang(e){return e?this.langList[e]:this.lang}getText(e,r){var E=r?e+"|"+r:e,z=E.split("|"),k=this._getLangElement(z,this.locale);return k||""}_getLangElement(e,r){var E=this.lang;return e.forEach(function(z){var k;E&&(k=E[z],typeof k<"u"?E=k:E=!1)}),E}bind(e,r){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(r),r(this.getText(e),this.lang)}_executeBindings(){for(let e in this.bindings)this.bindings[e].forEach(r=>{r(this.getText(e),this.lang)})}}ag.moduleName="localize";ag.langs=KO;class QM extends qi{constructor(e){super(e)}initialize(){this.registerTableFunction("tableComms",this.receive.bind(this))}getConnections(e){var r=[],E;return E=pu.lookupTable(e),E.forEach(z=>{this.table!==z&&r.push(z)}),r}send(e,r,E,z){var k=this.getConnections(e);k.forEach(m=>{m.tableComms(this.table.element,r,E,z)}),!k.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)}receive(e,r,E,z){if(this.table.modExists(r))return this.table.modules[r].commsReceived(e,E,z);console.warn("Inter-table Comms Error - no such module:",r)}}QM.moduleName="comms";var JO=Object.freeze({__proto__:null,LayoutModule:s0,LocalizeModule:ag,CommsModule:QM});class e6{constructor(e,r){this.bindStaticFunctionality(e),this.bindModules(e,JO,!0),r&&this.bindModules(e,r)}bindStaticFunctionality(e){e.moduleBindings={},e.extendModule=function(r,E,z){if(e.moduleBindings[r]){var k=e.moduleBindings[r][E];if(k)if(typeof z=="object")for(let m in z)k[m]=z[m];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",E)}else console.warn("Module Error - module does not exist:",r)},e.registerModule=function(r){Array.isArray(r)||(r=[r]),r.forEach(E=>{e.registerModuleBinding(E)})},e.registerModuleBinding=function(r){e.moduleBindings[r.moduleName]=r},e.findTable=function(r){var E=pu.lookupTable(r,!0);return Array.isArray(E)&&!E.length?!1:E},e.prototype.bindModules=function(){var r=[],E=[],z=[];this.modules={};for(var k in e.moduleBindings){let m=e.moduleBindings[k],t=new m(this);this.modules[k]=t,m.prototype.moduleCore?this.modulesCore.push(t):m.moduleInitOrder?m.moduleInitOrder<0?r.push(t):E.push(t):z.push(t)}r.sort((m,t)=>m.moduleInitOrder>t.moduleInitOrder?1:-1),E.sort((m,t)=>m.moduleInitOrder>t.moduleInitOrder?1:-1),this.modulesRegular=r.concat(z.concat(E))}}bindModules(e,r,E){var z=Object.values(r);E&&z.forEach(k=>{k.prototype.moduleCore=!0}),e.registerModule(z)}}class QO extends Ml{constructor(e){super(e),this.element=this._createAlertElement(),this.msgElement=this._createMsgElement(),this.type=null,this.element.appendChild(this.msgElement)}_createAlertElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert"),e}_createMsgElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert-msg"),e.setAttribute("role","alert"),e}_typeClass(){return"tabulator-alert-state-"+this.type}alert(e,r="msg"){if(e){for(this.clear(),this.dispatch("alert-show",r),this.type=r;this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.add(this._typeClass()),typeof e=="function"&&(e=e()),e instanceof HTMLElement?this.msgElement.appendChild(e):this.msgElement.innerHTML=e,this.table.element.appendChild(this.element)}}clear(){this.dispatch("alert-hide",this.type),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.msgElement.classList.remove(this._typeClass())}}class $d{constructor(e,r){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.alertManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.originalElement=null,this.componentFunctionBinder=new UO(this),this.dataLoader=!1,this.modules={},this.modulesCore=[],this.modulesRegular=[],this.deprecationAdvisor=new WO(this),this.optionsList=new JM(this,"table constructor"),this.initialized=!1,this.destroyed=!1,this.initializeElement(e)&&(this.initializeCoreSystems(r),setTimeout(()=>{this._create()})),pu.register(this)}initializeElement(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement?(this.element=e,!0):typeof e=="string"?(this.element=document.querySelector(e),this.element?!0:(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)}initializeCoreSystems(e){this.columnManager=new zO(this),this.rowManager=new NO(this),this.footerManager=new VO(this),this.dataLoader=new HO(this),this.alertManager=new QO(this),this.bindModules(),this.options=this.optionsList.generate($d.defaultOptions,e),this._clearObjectPointers(),this._mapDeprecatedFunctionality(),this.externalEvents=new GO(this,this.options,this.options.debugEventsExternal),this.eventBus=new qO(this.options.debugEventsInternal),this.interactionMonitor=new jO(this),this.dataLoader.initialize(),this.footerManager.initialize()}_mapDeprecatedFunctionality(){}_clearSelection(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")}_create(){this.externalEvents.dispatch("tableBuilding"),this.eventBus.dispatch("table-building"),this._rtlCheck(),this._buildElement(),this._initializeTable(),this._loadInitialData(),this.initialized=!0,this.externalEvents.dispatch("tableBuilt")}_rtlCheck(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if(e.direction!=="rtl")break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),Array.isArray(this.options.data)&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var e=this.element,r=this.options,E;if(e.tagName==="TABLE"){this.originalElement=this.element,E=document.createElement("div");var z=e.attributes;for(var k in z)typeof z[k]=="object"&&E.setAttribute(z[k].name,z[k].value);e.parentNode.replaceChild(E,e),this.element=e=E}for(e.classList.add("tabulator"),e.setAttribute("role","grid");e.firstChild;)e.removeChild(e.firstChild);r.height&&(r.height=isNaN(r.height)?r.height:r.height+"px",e.style.height=r.height),r.minHeight!==!1&&(r.minHeight=isNaN(r.minHeight)?r.minHeight:r.minHeight+"px",e.style.minHeight=r.minHeight),r.maxHeight!==!1&&(r.maxHeight=isNaN(r.maxHeight)?r.maxHeight:r.maxHeight+"px",e.style.maxHeight=r.maxHeight)}_initializeTable(){var e=this.element,r=this.options;this.interactionMonitor.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modulesCore.forEach(E=>{E.initialize()}),e.appendChild(this.columnManager.getElement()),e.appendChild(this.rowManager.getElement()),r.footerElement&&this.footerManager.activate(),r.autoColumns&&r.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modulesRegular.forEach(E=>{E.initialize()}),this.columnManager.setColumns(r.columns),this.eventBus.dispatch("table-built")}_loadInitialData(){this.dataLoader.load(this.options.data),this.columnManager.verticalAlignHeaders()}destroy(){var e=this.element;for(this.destroyed=!0,pu.deregister(this),this.eventBus.dispatch("table-destroy"),this.rowManager.destroy();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator"),this.externalEvents.dispatch("tableDestroyed")}_detectBrowser(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):e.indexOf("Mac OS")>-1?(this.browser="safari",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.slice(0,4))}initGuard(e,r){var E,z;return this.options.debugInitialization&&!this.initialized&&(e||(E=new Error().stack.split(` +`),z=E[0]=="Error"?E[2]:E[1],z[0]==" "?e=z.trim().split(" ")[1].split(".")[1]:e=z.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(r?" "+r:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,r,E){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,r,E,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,r,E){return this.initGuard(),this.dataLoader.load(e,r,E,!0,!0)}updateData(e){var r=0;return this.initGuard(),new Promise((E,z)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(k=>{var m=this.rowManager.findRow(k[this.options.index]);m?(r++,m.updateData(k).then(()=>{r--,r||E()}).catch(t=>{z("Update Error - Unable to update row",k,t)})):z("Update Error - Unable to find row",k)}):(console.warn("Update Error - No data provided"),z("Update Error - No data provided"))})}addData(e,r,E){return this.initGuard(),new Promise((z,k)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,r,E).then(m=>{var t=[];m.forEach(function(d){t.push(d.getComponent())}),z(t)}):(console.warn("Update Error - No data provided"),k("Update Error - No data provided"))})}updateOrAddData(e){var r=[],E=0;return this.initGuard(),new Promise((z,k)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(m=>{var t=this.rowManager.findRow(m[this.options.index]);E++,t?t.updateData(m).then(()=>{E--,r.push(t.getComponent()),E||z(r)}):this.rowManager.addRows(m).then(d=>{E--,r.push(d[0].getComponent()),E||z(r)})}):(console.warn("Update Error - No data provided"),k("Update Error - No data provided"))})}getRow(e){var r=this.rowManager.findRow(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var r=this.rowManager.getRowFromPosition(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var r=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let E of e){let z=this.rowManager.findRow(E,!0);if(z)r.push(z);else return console.error("Delete Error - No matching row found:",E),Promise.reject("Delete Error - No matching row found")}return r.sort((E,z)=>this.rowManager.rows.indexOf(E)>this.rowManager.rows.indexOf(z)?1:-1),r.forEach(E=>{E.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,r,E){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,r,E,!0).then(z=>z[0].getComponent())}updateOrAddRow(e,r){var E=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),E?E.updateData(r).then(()=>E.getComponent()):this.rowManager.addRows(r).then(z=>z[0].getComponent())}updateRow(e,r){var E=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),E?E.updateData(r).then(()=>Promise.resolve(E.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,r,E){var z=this.rowManager.findRow(e);return z?this.rowManager.scrollToRow(z,r,E):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,r,E){var z=this.rowManager.findRow(e);this.initGuard(),z?z.moveToRow(r,E):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var r=this.rowManager.findRow(e);return r?r.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var r=this.columnManager.findColumn(e);return r?r.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.visible?r.hide():r.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,r,E){var z=this.columnManager.findColumn(E);return this.initGuard(),this.columnManager.addColumn(e,r,z).then(k=>k.getComponent())}deleteColumn(e){var r=this.columnManager.findColumn(e);return this.initGuard(),r?r.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,r){var E=this.columnManager.findColumn(e);return this.initGuard(),E?E.updateDefinition(r):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,r,E){var z=this.columnManager.findColumn(e),k=this.columnManager.findColumn(r);this.initGuard(),z?k?this.columnManager.moveColumn(z,k,E):console.warn("Move Error - No matching column found:",k):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,r,E){return new Promise((z,k)=>{var m=this.columnManager.findColumn(e);return m?this.columnManager.scrollToColumn(m,r,E):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw(!0)}on(e,r){this.externalEvents.subscribe(e,r)}off(e,r){this.externalEvents.unsubscribe(e,r)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,r){this.initGuard(),this.alertManager.alert(e,r)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,r){return this.modules[e]?!0:(r&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var r=this.modules[e];return r||console.error("Tabulator module not installed: "+e),r}}$d.defaultOptions=OO;new e6($d);class t6 extends $d{}new e6(t6,PO);const eR=$o({name:"TabulatorTable",props:{tableIndexField:{type:String,required:!1,default:()=>"id"},tableData:{type:Object,required:!0},columnDefinitions:{type:Object,required:!0},title:{type:String,required:!1},index:{type:Number,required:!0},selectedRowIndexFromListening:{type:Number,required:!1,default:()=>{}},tableLayoutParam:{type:String,required:!1,default:()=>"fitDataFill"},defaultRow:{type:Number,required:!1,default:()=>-1},initialSort:{type:Array,required:!1,default:()=>{}}},emits:["rowSelected"],setup(){return{streamlitDataStore:Cs()}},data(){return{tabulator:void 0,initialized:0}},computed:{id(){return`table-${this.index}`},containerStyles(){return{display:"flex","flex-direction":"column","align-items":"center"}},tableClasses(){var n,e;return{"table-dark":((n=this.streamlitDataStore.theme)==null?void 0:n.base)==="dark","table-light":((e=this.streamlitDataStore.theme)==null?void 0:e.base)==="light","table-striped":!1,"table-bordered":!0,"table-sm":!0}},preparedTableData(){const n=[...this.columnDefinitions.map(e=>e.field),"id"];if(this.tableData!==void 0&&this.tableData.length>0){const e=[];return this.tableData.forEach((r,E)=>{const z={};n.forEach(k=>{k!==void 0&&(z[k]=r[k])}),this.tableData[0][this.tableIndexField]===void 0?e.push({...z,[this.tableIndexField]:E}):e.push({...z})}),e}return this.tableData}},watch:{tableData(){this.drawTable()},selectedRowIndexFromListening(n){n!==void 0&&this.onSelectedRowListener(n)}},mounted(){this.drawTable()},methods:{drawTable(){this.tabulator=new t6(`#${this.id}`,{index:this.tableIndexField,data:this.preparedTableData,minHeight:50,maxHeight:this.title?320:310,responsiveLayout:"collapse",layout:this.tableLayoutParam,selectable:1,columnDefaults:{title:"",hozAlign:"right"},columns:this.columnDefinitions.map(n=>(n.headerTooltip===void 0&&(n.headerTooltip=!0),n)),initialSort:this.initialSort}),this.tabulator.on("tableBuilt",()=>{this.selectDefaultRow()})},selectDefaultRow(){var n;if(this.defaultRow>=0){const e=(n=this.tabulator)==null?void 0:n.getRows("active");e&&e.length>0&&this.defaultRow>=0&&this.defaultRow[ea(ho(n.title??""),1)])],8,oR),gt(d,{activator:`#${n.id}-title`,location:"bottom"},{default:si(()=>[gt(t,{"min-width":"100"},{default:si(()=>[gt(m,{"prepend-icon":"mdi-download",onClick:n.downloadTable},{default:si(()=>[ea("Download")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["activator"])]),ti("div",sR,[nb(n.$slots,"end-title-row")])])]),ti("div",{id:n.id,class:Ku(n.tableClasses),onClick:e[0]||(e[0]=(...y)=>n.onTableClick&&n.onTableClick(...y))},null,10,lR)])}const y0=is(eR,[["render",uR]]),Dh=n=>e=>e.getValue().toString().length>4?e.getValue().toFixed(n??4):e.getValue(),cR=$o({name:"TabulatorScanTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mf();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Index",field:"id",sorter:"number",headerTooltip:"The sequential index of the spectrum in the dataset."},{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan."},{title:"MS Level",field:"MSLevel",sorter:"number",headerTooltip:"The level of mass spectrometry analysis (e.g., MS1 or MS2)."},{title:"Retention time",field:"RT",formatter:Dh(),sorter:"number",headerTooltip:"The time at which the spectrum was detected during the chromatographic separation in seconds."},{title:"Precursor Mass",field:"PrecursorMass",formatter:Dh(),sorter:"number",headerTooltip:"The mass of the precursor ion selected for fragmentation in Daltons."},{title:"#Masses",field:"#Masses",sorter:"number",headerTooltip:"The number of detected masses in the spectrum."}]}},computed:{tableData(){const n=this.streamlitDataStore.allDataForDrawing.per_scan_data;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedScan(n){n!==void 0&&(n!==this.selectionStore.selectedScanIndex&&this.selectionStore.updateSelectedMass(void 0),this.selectionStore.updateSelectedScan(n))}}});function fR(n,e,r,E,z,k){const m=Hr("TabulatorTable");return Ir(),za(m,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Scan Table",index:n.index,"table-layout-param":"fitColumns",onRowSelected:n.updateSelectedScan,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected"])}const hR=is(cR,[["render",fR]]),dR=$o({name:"PlotlyLineplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mf();return{streamlitDataStore:n,selectionStore:e}},computed:{id(){return`graph-${this.index}`},theme(){return this.streamlitDataStore.theme},selectedRow(){return this.selectionStore.selectedScanIndex},xAxisLabel(){switch(this.args.title){case"Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},xColumn(){switch(this.args.title){case"Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":return"MonoMass";default:return""}},xValues(){const n=[];return this.selectedRow===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedRow][this.xColumn].forEach(e=>{n.push(e,e,e)}),n},yColmun(){switch(this.args.title){case"Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":return"SumIntensity";default:return""}},yValues(){const n=[];return this.selectedRow===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedRow][this.yColmun].forEach(e=>{n.push(-1e7,e,-1e7)}),n},data(){return[{x:this.xValues,y:this.yValues,mode:"lines",type:"scatter",connectgaps:!1}]},layout(){var n,e,r,E,z;return{title:`${this.args.title}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1},yaxis:{title:"Intensity",showgrid:!0,gridcolor:(n=this.theme)==null?void 0:n.secondaryBackgroundColor,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:(e=this.theme)==null?void 0:e.backgroundColor,plot_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,font:{color:(E=this.theme)==null?void 0:E.textColor,family:(z=this.theme)==null?void 0:z.font}}}},watch:{selectedRow(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await es.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:es.Icons.camera,click:n=>{es.downloadImage(n,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}]})}}}),pR=["id"];function mR(n,e,r,E,z,k){return Ir(),ei("div",{id:n.id,style:{width:"100%"}},null,8,pR)}const gR=is(dR,[["render",mR]]),vR=$o({name:"PlotlyLineplotTagger",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mf();return{streamlitDataStore:n,selectionStore:e}},data(){return{manual:!1,manual_xRange:void 0,selectedMass:void 0}},computed:{id(){return`graph-${this.index}`},theme(){return this.streamlitDataStore.theme},selectedScan(){return this.selectionStore.selectedScanIndex},selectedTag(){return this.selectionStore.selectedTagIndex},selectedAA(){var n;return(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA},showBackButton(){return this.args.title==="Annotated Spectrum"},minCharge(){return this.selectedScan===void 0?-10:Math.min(...this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MinCharges)},maxCharge(){return this.selectedScan===void 0?-10:Math.max(...this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MinCharges)},xAxisLabel(){switch(this.args.title){case"Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},xColumn(){switch(this.args.title){case"Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":return"MonoMass";default:return""}},xValues(){const n=[];return this.selectedScan===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan][this.xColumn].forEach(e=>{n.push(e,e,e)}),n},xMassValues(){return this.selectedScan===void 0?[]:this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MonoMass},mzSignals(){let n=[];return this.selectedScan===void 0||(n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].SignalPeaks),n},yColmun(){switch(this.args.title){case"Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":return"SumIntensity";default:return""}},yValues(){const n=[];return this.selectedScan===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan][this.yColmun].forEach(e=>{n.push(-1e7,e,-1e7)}),n},highlightedMassPos(){var r;const n=(r=this.selectionStore.selectedTag)==null?void 0:r.masses;if(n===void 0)return[];let e=[];for(let E=0;E{const T=S.reduce((A,L)=>A+L.intensity,0),_=S.map(A=>A.intensity/T*A.mz).reduce((A,L)=>A+L,0);e.push({type:"rect",x0:_-.5*t,y0:z,x1:_+.5*t,y1:m,fillcolor:c,line:{width:0}}),r.push({x:_,y:k,xref:"x",yref:"y",text:"z="+x,showarrow:!1,font:{size:15}})}),{shapes:e,annotations:r,traces:n}}let d=[];if(t>this.xPosScalingThreshold)return{shapes:e,annotations:r,traces:n};for(let c=0;cv?(A=w-v,w-=C,x+=C*.1,v+=C,T-=C*.1):(A=v-w,w+=C,x-=C*.1,v-=C,T+=C*.1),d.push({ax:x,ay:y,xref:"x",yref:"y",x:w,y,axref:"x",ayref:"y",showarrow:!0,arrowhead:0,arrowsize:1,arrowwidth:2,arrowcolor:f}),d.push({ax:T,ay:y,xref:"x",yref:"y",x:v,y,axref:"x",ayref:"y",showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:2,arrowcolor:f}),d.push({x:S,y:i,xref:"x",yref:"y",text:_,hovertext:"ฮ”="+A.toFixed(2)+" Da",showarrow:!1,font:{size:15,color:f,family:p}})}return{shapes:e,annotations:[...r,...d],traces:n}},data(){let n=[];if(n.push({x:this.plotData.unhighlighted_x,y:this.plotData.unhighlighted_y,mode:"lines",type:"scatter",marker:{color:"lightblue"}}),n.push({x:this.plotData.highlighted_x,y:this.plotData.highlighted_y,mode:"lines",type:"scatter",marker:{color:"#E4572E"}}),n.push({x:this.plotData.selected_x,y:this.plotData.selected_y,mode:"lines",type:"scatter",marker:{color:"#F3A712"}}),this.args.title==="Deconvolved Spectrum"){const e=this.annotationData.traces;n.push(...e)}return n},xRange(){if(this.xValues.length===0)return[];if(this.manual&&this.manual_xRange!==void 0)return this.manual_xRange;if(this.highlightedValues.length===0)return[Math.min(...this.xValues)*.98,Math.max(...this.xValues)*1.02];if(this.args.title==="Annotated Spectrum"&&this.selectedMass!==void 0)return[Math.min(...this.highlightedValues[this.selectedMass].mzs)*.98,Math.max(...this.highlightedValues[this.selectedMass].mzs)*1.02];let n=Math.min(...this.highlightedValues.map(z=>z.mass))*.98,e=Math.max(...this.highlightedValues.map(z=>z.mass))*1.02;if(e-nz+k.mass,0)/this.highlightedValues.length,E=.5*.9*this.maxAnnotationRange;return[r-E,r+E]},yRange(){return this.computeYRange(this.xRange)},layout(){var n,e,r,E,z;return{title:`${this.args.title}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1,range:this.xRange,showline:!0,linecolor:"grey",linewidth:1},yaxis:{title:"Intensity",showgrid:!0,gridcolor:(n=this.theme)==null?void 0:n.secondaryBackgroundColor,rangemode:"nonnegative",range:this.yRange,fixedrange:!0,showline:!0,linecolor:"grey",linewidth:1},paper_bgcolor:(e=this.theme)==null?void 0:e.backgroundColor,plot_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,font:{color:(E=this.theme)==null?void 0:E.textColor,family:(z=this.theme)==null?void 0:z.font},shapes:this.annotationData.shapes,annotations:this.annotationData.annotations}}},watch:{selectedScan(){this.manual=!1,this.args.title="Deconvolved Spectrum",this.selectedMass=void 0,this.graph()},selectedTag(){this.manual=!1,this.args.title="Deconvolved Spectrum",this.selectedMass=void 0,this.graph()},annotationData(){this.manual&&this.updateButtons(this.annotationData.shapes,this.annotationData.annotations)}},mounted(){this.graph()},methods:{backButton(){this.args.title="Deconvolved Spectrum",this.selectedMass=void 0,this.manual=!1,this.graph()},onPlotClick(n){if(n.points&&n.points.length>0){const e=n.points[0].x;for(let r=0;r=n[1]||z>e&&(e=z)}return e===0?[0,1]:[0,e*1.8]},isHighlighted(n){return this.highlightedPos(n)!==void 0},highlightedPos(n){if(this.args.title==="Annotated Spectrum"){const e=this.selectedMass;if(e===void 0)return;const r=this.highlightedValues[e].mzs;for(let E=0;E{es.downloadImage(e,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}],scrollZoom:!0});n.on("plotly_relayout",e=>{this.onRelayout(e)}),n.on("plotly_click",e=>{this.onPlotClick(e)})}}});const yR=["id"];function bR(n,e,r,E,z,k){return Ir(),ei("div",{id:n.id,class:"plot-container"},[n.showBackButton?(Ir(),ei("button",{key:0,class:"simple-button",onClick:e[0]||(e[0]=(...m)=>n.backButton&&n.backButton(...m))},"โ†ฉ")):Zi("",!0)],8,yR)}const xR=is(vR,[["render",bR],["__scopeId","data-v-f0f0a749"]]),_R=$o({name:"Plotly3Dplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mf();return{streamlitDataStore:n,selectionStore:e}},data(){return{maximumIntensity:0}},computed:{id(){return`graph-${this.index}`},title(){return this.selectedScanRow===void 0?"":this.selectedMassRow===void 0?"Precursor signals":"Mass signals"},theme(){return this.streamlitDataStore.theme},selectedScanRow(){return this.selectionStore.selectedScanIndex},selectedMassRow(){return this.selectionStore.selectedMassIndex},dataForDrawing(){var r,E;if(this.selectedScanRow===void 0)return[];const n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanRow]??{};let e={};return this.selectedMassRow===void 0?e=this.getPrecursorSignal(n):e=this.getSignalNoiseObject(((r=n.SignalPeaks)==null?void 0:r[this.selectedMassRow])??[[]],((E=n.NoisyPeaks)==null?void 0:E[this.selectedMassRow])??[[]]),Object.keys(e).length===0?[]:(this.updateMaximumIntensity(e),[{name:"Signal",type:"scatter3d",mode:"lines",x:e.signal_x,y:e.signal_y,z:e.signal_z,line:{color:"#3366CC"}},{name:"Noise",type:"scatter3d",mode:"lines",x:e.noise_x,y:e.noise_y,z:e.noise_z,line:{color:"#DC3912"}}])},layout(){var n,e,r,E;return{title:`${this.title}`,paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(E=this.theme)==null?void 0:E.font},scene:{xaxis:{title:"Mass"},yaxis:{title:"Charge"},zaxis:{title:"Intensity",range:[0,this.maximumIntensity]},camera:{eye:{x:2.5,y:0,z:.2}}},showlegend:!0}}},watch:{selectedScanRow(){this.graph()},selectedMassRow(){this.graph()}},mounted(){this.graph()},methods:{updateMaximumIntensity(n){this.maximumIntensity=n.signal_z.concat(n.noise_z).reduce((e,r)=>Math.max(e,r),-1/0)},async graph(){await es.newPlot(this.id,this.dataForDrawing,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:es.Icons.camera,click:function(n){es.downloadImage(n,{filename:"FLASHViewer-3d-plot",height:800,width:800,format:"svg"})}}]})},getPrecursorSignal(n){if(n.PrecursorScan==0)return{};const e=this.streamlitDataStore.allDataForDrawing.per_scan_data.find(z=>z.Scan===n.PrecursorScan);if(!e)return{};const r=e.MonoMass,E=n.PrecursorMass;for(let z=0,k=r.length;zE.field),r=[];return Object.entries(n).forEach(E=>{const z=E[0];if(!e.includes(z)||z==="id")return;E[1].forEach((m,t)=>{r[t]={...r[t],[z]:m}})}),r.map((E,z)=>E.id=z),r},selectedMassFromFragmentTable(){return this.selectionStore.selectedObservedMassFromFragmentTable}},watch:{selectedMassFromFragmentTable(n){const e=this.tableData.findIndex(r=>r.MonoMass===n);e!==-1&&(this.selectedMassIndex=e)}},methods:{updateSelectedMass(n){n!==void 0&&this.selectionStore.updateSelectedMass(n)}}});function AR(n,e,r,E,z,k){const m=Hr("TabulatorTable");return Ir(),za(m,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Mass Table",index:n.index,onRowSelected:n.updateSelectedMass,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected"])}const SR=is(MR,[["render",AR]]),CR=$o({name:"TabulatorProteinTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mf();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan No.",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan associated with the identified proteoform."},{title:"Accession",field:"accession",headerTooltip:"The unique identifier for the protein in the reference database."},{title:"Description",field:"description",responsive:10},{title:"Length",field:"length",responsive:6,sorter:"number",headerTooltip:"The total number of amino acids in the matched protein."},{title:"Mass",field:"ProteoformMass",responsive:8,sorter:"number",headerTooltip:"The calculated mass of the proteoform in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"No. of Matched Fragments",field:"MatchingFragments",sorter:"number",headerTooltip:"The number of fragment ions that match the protein sequence."},{title:"No. of Modifications",field:"ModCount",sorter:"number",headerTooltip:"The number of modifications identified in the protein."},{title:"No. of Tags",field:"TagCount",sorter:"number",headerTooltip:"The number of sequence tags associated with the proteoform match."},{title:"Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the protein match (higher is better)."},{title:"Q-Value (Proteoform Level)",field:"ProteoformLevelQvalue",sorter:"number",headerTooltip:"The confidence value of the protein match at the proteoform level.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}}],initialSort:[{column:"Score",dir:"desc"}]}},computed:{selectedRow(){return this.selectionStore.selectedProteinIndex},tableData(){const n=this.streamlitDataStore.dataForDrawing.protein_table;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedProtein(n){if(n!==void 0){this.selectionStore.updateSelectedProtein(n);const e=this.streamlitDataStore.dataForDrawing.protein_table[n].Scan;if(e!==void 0&&typeof e=="number"){const r=this.streamlitDataStore.allDataForDrawing.per_scan_data.findIndex(E=>E.Scan===e);this.selectionStore.updateSelectedScan(r)}this.selectionStore.updateSelectedTag(void 0),this.selectionStore.updateTagData(void 0)}}}});function ER(n,e,r,E,z,k){const m=Hr("TabulatorTable");return Ir(),za(m,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Protein Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,"default-row":0,"initial-sort":n.initialSort,onRowSelected:n.updateSelectedProtein},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","initial-sort","onRowSelected"])}const LR=is(CR,[["render",ER]]),IR=$o({name:"TabulatorTagTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mf();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan containing the sequence tag."},{title:"Start Position",field:"StartPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag begins."},{title:"End Position",field:"EndPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag ends."},{title:"Sequence",field:"TagSequence",sorter:"number",headerTooltip:"The amino acid sequence of the identified tag."},{title:"Length",field:"Length",sorter:"number",headerTooltip:"The number of amino acids in the sequence tag."},{title:"Tag Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the sequence tag identification (higher is better)."},{title:"N mass",field:"Nmass",sorter:"number",headerTooltip:"The N-terminal mass offset from the start of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"C mass",field:"Cmass",sorter:"number",headerTooltip:"The C-terminal mass offset from the end of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"ฮ” mass",field:"DeltaMass",sorter:"number",headerTooltip:"Delta mass is the difference between the tag flanking mass and the (partial) proteoform mass, from its terminal to the tag boundary."}],initialSort:[{column:"Score",dir:"desc"}],selectedTagIndex:void 0}},computed:{selectedRow(){return this.selectionStore.selectedTagIndex},tableData(){let e=this.streamlitDataStore.dataForDrawing.tag_table.filter(E=>E.ProteinIndex===this.selectionStore.selectedProteinIndex);const r=this.selectionStore.selectedAApos;return r!==void 0&&(e=e.filter(E=>{const z=E.StartPos,k=E.EndPos;return typeof z=="number"&&typeof k=="number"&&z<=r&&k>=r})),e.forEach(E=>E.id=E.TagIndex),e}},watch:{},methods:{getRowByTagIndex(n){return this.tableData.find(E=>E.id===n)},updateSelectedTag(n){if(n===void 0)return;this.selectionStore.updateSelectedTag(n);const e=this.getRowByTagIndex(n);if(e===void 0)return;const r=e.mzs;let E=[];typeof r=="string"&&(E=r.split(",").map(Number).filter(i=>i!==0));const z=typeof e.StartPos=="number"?e.StartPos:0,k=typeof e.EndPos=="number"?e.EndPos:0;let m=-1e3;z!==void 0&&this.selectionStore.selectedAApos!==void 0&&typeof z=="number"&&(m=this.selectionStore.selectedAApos-z);const t=e.TagSequence;let d="";typeof t=="string"&&(d=t);let y=!1;e["N mass"]===-1&&(y=!0),this.selectionStore.updateTagData({sequence:d,nTerminal:y,masses:E,selectedAA:m,startPos:z,endPos:k})}}});function PR(n,e,r,E,z,k){const m=Hr("TabulatorTable");return Ir(),za(m,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Tag Table",index:n.index,onRowSelected:n.updateSelectedTag,"default-row":0,"initial-sort":n.initialSort},null,8,["table-data","column-definitions","index","onRowSelected","initial-sort"])}const OR=is(IR,[["render",PR]]),W2=i2("variable-mod",{state:()=>({variableMod:{}}),getters:{variableModifications:n=>n.variableMod,isEmpty:n=>Object.values(n.variableMod).filter(e=>e!==void 0&&e!==0).length===0},actions:{updateVariableModifications(n,e){this.variableMod={...this.variableMod,[n]:e}}}}),wv={Acetyl:42.010565,Methyl:14.01565,Phospho:79.966331,Oxidation:15.994915,Deamidated:.984016,Amidated:-.984016},n6={"N-term":["Acetyl","Methyl","Phospho"],"C-term":["Amidated"],C:["Acetyl","Methyl","Phospho"],E:["Methyl","Phospho"],D:["Methyl","Phospho"],H:["Methyl","Phospho"],I:["Methyl"],K:["Methyl","Phospho"],L:["Methyl"],M:["Oxidation"],N:["Methyl"],Q:["Deamidated","Methyl"],R:["Methyl","Phospho"],S:["Acetyl","Methyl","Phospho"],T:["Acetyl","Methyl","Phospho"],Y:["Phospho"]},RR={default:[{typeName:"",typeMass:0}],"water loss":[{typeName:"-H2O",typeMass:-18.0105646863}],"ammonium loss":[{typeName:"-NH3",typeMass:-17.0265491015}],"proton loss/addition":[{typeName:"-H",typeMass:-1.0078250319},{typeName:"+H",typeMass:1.0078250319}]},DR=$o({name:"AminoAcidCell",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1},disableVariableModificationSelection:{type:Boolean,default:!1},showTags:{type:Boolean,default:!1},showModifications:{type:Boolean,default:!0},showFragments:{type:Boolean,default:!0}},emits:["selected"],setup(){const n=Cs(),e=W2(),r=Mf();return{streamlitData:n,variableModData:e,selectionStore:r}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},start(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_start;return n===void 0?n:n<0?0:n},end(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_end;return n===void 0?n:n<0&&this.length!==void 0?this.length-1:n},length(){var n;return(n=this.streamlitData.sequenceData)==null?void 0:n[this.selectedSequence].sequence.length},prefix(){if(this.start===void 0&&this.end===void 0)return this.index+1;if(this.end!==void 0&&this.index>this.end)return;if(this.start!==void 0&&this.index>=this.start)return this.index+1-this.start},protein_position(){return this.index+1},truncated_prefix(){if(!(this.start===void 0||this.index>=this.start))return this.index+1},suffix(){if(this.start===void 0&&this.end===void 0)return(length??0)-this.index;if(this.start!==void 0&&this.index0},selectedSequence(){return this.selectionStore.selectedProteinIndex!==void 0?this.selectionStore.selectedProteinIndex:0},coverage(){return this.sequenceObject.coverage!==void 0?this.sequenceObject.coverage:-1},isHighlighted(){return this.index===this.selectionStore.selectedAApos},isTruncated(){return this.sequenceObject.truncated},DoesThisAAHaveSequenceTags(){return this.coverage>0}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},selectCell(){this.DoesThisAAHaveSequenceTags&&this.showTags&&(this.selectionStore.selectedAApos===this.index?this.selectionStore.updateSelectedAA(void 0):this.selectionStore.updateSelectedAA(this.index)),this.DoesThisAAHaveMatchingFragments&&this.$emit("selected",this.index)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}},watch:{isThisAAmodified(){this.sequenceObject.modStart=!0,this.sequenceObject.modEnd=!0},customModMass(){this.sequenceObject.modMass=parseFloat(this.customModMass).toLocaleString("en-US",{signDisplay:"always"})},selectedModification(){this.selectedModification!==void 0&&wv[this.selectedModification]!==void 0&&(this.sequenceObject.modMass=parseFloat(wv[this.selectedModification].toFixed(2)).toLocaleString("en-US",{signDisplay:"always"}))},showTags(){this.showTags||this.selectionStore.updateSelectedAA(void 0)}}});const Mu=n=>(Ty("data-v-2de7ee7a"),n=n(),ky(),n),zR=["id"],FR={key:0,class:"frag-marker-container-a"},BR=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),NR=[BR],VR={key:1,class:"frag-marker-container-b"},jR=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"3"})],-1)),UR=[jR],HR={key:2,class:"frag-marker-container-c"},GR=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),qR=[GR],WR={key:3,class:"frag-marker-container-x"},$R=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),YR=[$R],ZR={key:4,class:"frag-marker-container-y"},XR=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"3"})],-1)),KR=[XR],JR={key:5,class:"frag-marker-container-z"},QR=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),eD=[QR],tD={key:6,class:"rounded-lg tag-marker tag-start"},nD={key:7,class:"rounded-lg tag-marker tag-end"},rD={key:8,class:"rounded-lg mod-marker mod-start"},iD={key:9,class:"rounded-lg mod-marker mod-end"},aD={key:10,class:"mod-marker mod-start-cont"},oD={key:11,class:"mod-marker mod-end-cont"},sD={key:12,class:"mod-marker mod-center-cont"},lD={key:13,class:"rounded-lg mod-mass"},uD=Mu(()=>ti("br",null,null,-1)),cD=Mu(()=>ti("br",null,null,-1)),fD={key:14,class:"rounded-lg mod-mass-a"},hD={key:15,class:"rounded-lg mod-mass-b"},dD={key:16,class:"rounded-lg mod-mass-c"},pD={key:17,class:"frag-marker-extra-type"},mD=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),gD=[mD],vD={class:"aa-text"},yD=Mu(()=>ti("br",null,null,-1)),bD=Mu(()=>ti("br",null,null,-1)),xD=Mu(()=>ti("br",null,null,-1)),_D=Mu(()=>ti("br",null,null,-1)),wD={key:4};function TD(n,e,r,E,z,k){const m=Hr("v-tooltip"),t=Hr("v-select"),d=Hr("v-list-item"),y=Hr("v-text-field"),i=Hr("v-btn"),M=Hr("v-form"),g=Hr("v-list"),h=Hr("v-menu");return Ir(),ei("div",{id:n.id,class:Ku(["d-flex justify-center align-center rounded-lg",[n.aminoAcidCellClass,{highlighted:n.isHighlighted},{truncated:n.isTruncated}]]),style:Ys(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...l)=>n.selectCell&&n.selectCell(...l)),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[n.showFragments&&n.sequenceObject.aIon?(Ir(),ei("div",FR,NR)):Zi("",!0),n.showFragments&&n.sequenceObject.bIon?(Ir(),ei("div",VR,UR)):Zi("",!0),n.showFragments&&n.sequenceObject.cIon?(Ir(),ei("div",HR,qR)):Zi("",!0),n.showFragments&&n.sequenceObject.xIon?(Ir(),ei("div",WR,YR)):Zi("",!0),n.showFragments&&n.sequenceObject.yIon?(Ir(),ei("div",ZR,KR)):Zi("",!0),n.showFragments&&n.sequenceObject.zIon?(Ir(),ei("div",JR,eD)):Zi("",!0),n.showTags&&n.sequenceObject.tagStart?(Ir(),ei("div",tD)):Zi("",!0),n.showTags&&n.sequenceObject.tagEnd?(Ir(),ei("div",nD)):Zi("",!0),n.showModifications&&n.sequenceObject.modStart?(Ir(),ei("div",rD)):Zi("",!0),n.showModifications&&n.sequenceObject.modEnd?(Ir(),ei("div",iD)):Zi("",!0),n.showModifications&&n.sequenceObject.modStart&&!n.sequenceObject.modEnd?(Ir(),ei("div",aD)):Zi("",!0),n.showModifications&&!n.sequenceObject.modStart&&n.sequenceObject.modEnd?(Ir(),ei("div",oD)):Zi("",!0),n.showModifications&&n.sequenceObject.modCenter?(Ir(),ei("div",sD)):Zi("",!0),n.showModifications&&n.sequenceObject.modEnd?(Ir(),ei("div",lD,[ea(ho(n.sequenceObject.modMass)+" ",1),gt(m,{activator:"parent",class:"foreground"},{default:si(()=>[ea(ho(`Modification Mass: ${n.sequenceObject.modMass} Da`)+" ",1),uD,ea(" "+ho(`Possible Modifications: ${n.sequenceObject.modLabels}`)+" ",1),cD]),_:1})])):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.aIon&&!n.sequenceObject.bIon?(Ir(),ei("div",fD,ho(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.bIon?(Ir(),ei("div",hD,ho(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.cIon&&!n.sequenceObject.bIon?(Ir(),ei("div",dD,ho(n.sequenceObject.modMass),1)):Zi("",!0),n.showModifications&&n.DoesThisAAHaveExtraFragTypes?(Ir(),ei("div",pD,gD)):Zi("",!0),ti("div",vD,ho(n.aminoAcid),1),gt(h,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:si(()=>[gt(g,null,{default:si(()=>[gt(d,null,{default:si(()=>[gt(t,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Ir(),za(d,{key:0},{default:si(()=>[gt(M,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:si(()=>[gt(y,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(i,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:si(()=>[ea("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(m,{activator:"parent"},{default:si(()=>[ti("div",null,ho(`Protein Position: ${n.protein_position}`),1),n.prefix!==void 0?(Ir(),ei($r,{key:0},[ea(ho(`Prefix: ${n.prefix}`)+" ",1),yD],64)):Zi("",!0),n.truncated_prefix!==void 0?(Ir(),ei($r,{key:1},[ea(ho(`Truncated Prefix: ${n.truncated_prefix}`)+" ",1),bD],64)):Zi("",!0),n.suffix!==void 0?(Ir(),ei($r,{key:2},[ea(ho(`Suffix: ${n.suffix}`)+" ",1),xD],64)):Zi("",!0),n.truncated_suffix!==void 0?(Ir(),ei($r,{key:3},[ea(ho(`Truncated Suffix: ${n.truncated_suffix}`)+" ",1),_D],64)):Zi("",!0),n.DoesThisAAHaveExtraFragTypes?(Ir(),ei("div",wD,ho(n.sequenceObject.extraTypes.join(", ")),1)):Zi("",!0)]),_:1})],46,zR)}const r6=is(DR,[["render",TD],["__scopeId","data-v-2de7ee7a"]]),kD=$o({name:"ProteinTerminalCell",props:{proteinTerminal:{type:String,required:!0},index:{type:Number,required:!0},truncated:{type:Boolean,required:!1,default:!1},determined:{type:Boolean,required:!1,default:!0},disableVariableModificationSelection:{type:Boolean,default:!1}},setup(){const n=Cs(),e=W2();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.proteinTerminal}${this.index}`},theme(){return this.streamlitData.theme},proteinTerminalText(){return this.proteinTerminal.charAt(0)},hasVariableModification(){return this.variableModData.variableModifications[this.index]!==void 0&&this.variableModData.variableModifications[this.index]!==0},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},proteinTerminalCellStyles(){var n,e;return{"--protein-terminal-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--protein-terminal-cell-hover-color":"#fff","--protein-terminal-cell-hover-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000"}},proteinTerminalCellClasses(){return{"protein-terminal":this.selectedModification===void 0&&!this.hasVariableModification,"protein-terminal-modified":this.selectedModification!==void 0||this.hasVariableModification}},potentialModifications(){return n6[this.proteinTerminal]??[]}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const MD={key:0,class:"undetermined"};function AD(n,e,r,E,z,k){const m=Hr("v-select"),t=Hr("v-list-item"),d=Hr("v-text-field"),y=Hr("v-btn"),i=Hr("v-form"),M=Hr("v-list"),g=Hr("v-menu"),h=Hr("v-tooltip");return Ir(),ei("div",{class:Ku(["d-flex justify-center align-center rounded-lg",n.proteinTerminalCellClasses]),style:Ys(n.proteinTerminalCellStyles),onClick:e[5]||(e[5]=jp(()=>{},["stop"])),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[ti("div",{class:Ku(["terminal-text",{truncated:n.truncated}])},ho(n.proteinTerminalText),3),n.determined?Zi("",!0):(Ir(),ei("div",MD,"??")),gt(g,{activator:"parent",modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:si(()=>[gt(M,null,{default:si(()=>[gt(t,null,{default:si(()=>[gt(m,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Ir(),za(t,{key:0},{default:si(()=>[gt(i,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:si(()=>[gt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(y,{type:"submit",block:"",class:"mt-2",onClick:n.updateCustomModification},{default:si(()=>[ea("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(h,{activator:"parent"},{default:si(()=>[ea(ho(n.proteinTerminalText),1)]),_:1})],38)}const SD=is(kD,[["render",AD],["__scopeId","data-v-beee67fe"]]);var i6={exports:{}};/*! dom-to-image-more 26-04-2023 */(function(n,e){(function(r){const E=function(){let v=0;return{escape:function(A){return A.replace(/([.*+?^${}()|[]\/\\])/g,"\\$1")},isDataUrl:function(A){return A.search(/^(data:)/)!==-1},canvasToBlob:function(A){return A.toBlob?new Promise(function(L){A.toBlob(L)}):function(L){return new Promise(function(b){var P=h(L.toDataURL().split(",")[1]),I=P.length,R=new Uint8Array(I);for(let D=0;Dte.style.removeProperty(X)),["left","right","top","bottom"].forEach(X=>{te.style.getPropertyValue(X)&&te.style.setProperty(X,"0px")})))}H(W,N)}function Y(){const q=E.uid();function H(ne){const te=g(W,ne),Z=te.getPropertyValue("content");if(Z!==""&&Z!=="none"){let ie=function(){const oe=`.${q}:`+ne,ue=(te.cssText?ce:ye)();return document.createTextNode(oe+`{${ue}}`);function ce(){return`${te.cssText} content: ${Z};`}function ye(){return E.asArray(te).map(me).join("; ")+";";function me(pe){const xe=te.getPropertyValue(pe),Oe=te.getPropertyPriority(pe)?" !important":"";return pe+": "+xe+Oe}}};var X=ie;const Q=N.getAttribute("class")||"",re=(N.setAttribute("class",Q+" "+q),document.createElement("style"));re.appendChild(ie()),N.appendChild(re)}}[":before",":after"].forEach(function(ne){H(ne)})}function U(){E.isHTMLTextAreaElement(W)&&(N.innerHTML=W.value),E.isHTMLInputElement(W)&&N.setAttribute("value",W.value)}function G(){E.isSVGElement(N)&&(N.setAttribute("xmlns","http://www.w3.org/2000/svg"),E.isSVGRectElement(N))&&["width","height"].forEach(function(q){const H=N.getAttribute(q);H&&N.style.setProperty(q,H)})}}}(C,S,null)}).then(o).then(s).then(function(C){S.bgcolor&&(C.style.backgroundColor=S.bgcolor),S.width&&(C.style.width=S.width+"px"),S.height&&(C.style.height=S.height+"px"),S.style&&Object.keys(S.style).forEach(function(A){C.style[A]=S.style[A]});let _=null;return typeof S.onclone=="function"&&(_=S.onclone(C)),Promise.resolve(_).then(function(){return C})}).then(function(C){let _=S.width||E.width(C),A=S.height||E.height(C);return Promise.resolve(C).then(function(L){return L.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(L)}).then(E.escapeXhtml).then(function(L){var b=(E.isDimensionMissing(_)?' width="100%"':` width="${_}"`)+(E.isDimensionMissing(A)?' height="100%"':` height="${A}"`);return`${L}`}).then(function(L){return"data:image/svg+xml;charset=utf-8,"+L})}).then(function(C){for(;0{f=null,p={}},2e4)}(),C})}function a(v,S){return l(v,S=S||{}).then(E.makeImage).then(function(x){var T=typeof S.scale!="number"?1:S.scale,C=function(A,L){let b=S.width||E.width(A),P=S.height||E.height(A);return E.isDimensionMissing(b)&&(b=E.isDimensionMissing(P)?300:2*P),E.isDimensionMissing(P)&&(P=b/2),A=document.createElement("canvas"),A.width=b*L,A.height=P*L,S.bgcolor&&((L=A.getContext("2d")).fillStyle=S.bgcolor,L.fillRect(0,0,A.width,A.height)),A}(v,T),_=C.getContext("2d");return _.msImageSmoothingEnabled=!1,_.imageSmoothingEnabled=!1,x&&(_.scale(T,T),_.drawImage(x,0,0)),C})}let u=null;function o(v){return k.resolveAll().then(function(S){var x;return S!==""&&(x=document.createElement("style"),v.appendChild(x),x.appendChild(document.createTextNode(S))),v})}function s(v){return t.inlineAll(v).then(function(){return v})}function c(v,S,x,T,C){const _=i.impl.options.copyDefaultStyles?function(L,I){var I=function(D){var F=[];do if(D.nodeType===M){var B=D.tagName;if(F.push(B),w.includes(B))break}while(D=D.parentNode,D);return F}(I),P=function(D){return(L.styleCaching!=="relaxed"?D:D.filter((F,B,N)=>B===0||B===N.length-1)).join(">")}(I);if(p[P])return p[P];var R=function(){if(u)return u.contentWindow;var D=document.characterSet||"UTF-8",F=document.doctype,F=F?(`":"";return(u=document.createElement("iframe")).id="domtoimage-sandbox-"+E.uid(),u.style.visibility="hidden",u.style.position="fixed",document.body.appendChild(u),function(N,W,j,Y){try{return N.contentWindow.document.write(W+`${Y}`),N.contentWindow}catch{}var U=document.createElement("meta");U.setAttribute("charset",j);try{var G=document.implementation.createHTMLDocument(Y),q=(G.head.appendChild(U),W+G.documentElement.outerHTML);return N.setAttribute("srcdoc",q),N.contentWindow}catch{}return N.contentDocument.head.appendChild(U),N.contentDocument.title=Y,N.contentWindow}(u,F,D,"domtoimage-sandbox");function B(N){var W;return N?((W=document.createElement("div")).innerText=N,W.innerHTML):""}}(),I=function(D,F){let B=D.body;do{var N=F.pop(),N=D.createElement(N);B.appendChild(N),B=N}while(0{const r=this.$refs.downloadLink;r.download="FLASHViewer-sequence.svg",r.href=e,r.click()}).finally(()=>{this.svgDownloadTriggered=!1})}}}),ID={ref:"downloadLink",style:{visibility:"hidden"}};function PD(n,e,r,E,z,k){const m=Hr("v-btn"),t=Hr("v-tooltip"),d=Hr("v-progress-linear"),y=Hr("v-card-text"),i=Hr("v-card"),M=Hr("v-dialog");return Ir(),ei($r,null,[gt(m,{id:"download-button",variant:"text",size:"large",icon:"mdi-download",onClick:n.triggerDownload},null,8,["onClick"]),gt(t,{text:"Save as SVG",location:"bottom",activator:"#download-button"}),ti("a",ID,null,512),gt(M,{modelValue:n.svgDownloadTriggered,"onUpdate:modelValue":e[0]||(e[0]=g=>n.svgDownloadTriggered=g),persistent:"",width:"auto"},{default:si(()=>[gt(i,{color:"primary"},{default:si(()=>[gt(y,null,{default:si(()=>[ea(" Please stand by "),gt(d,{indeterminate:"",color:"white",class:"mb-0"})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const OD=is(LD,[["render",PD]]),RD=$o({name:"SequenceViewInformation",components:{AminoAcidCell:r6},setup(){return{streamlitDataStore:Cs()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,modStart:this.variable_mod,modEnd:this.variable_mod,modMass:"+134.99",truncated:!1,extraTypes:this.extraFragTypes()}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const a6=n=>(Ty("data-v-9a6912d6"),n=n(),ky(),n),DD=a6(()=>ti("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),zD={class:"d-flex justify-center"},FD={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},BD={class:"d-flex"},ND={class:"d-flex"},VD=a6(()=>ti("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function jD(n,e,r,E,z,k){var c;const m=Hr("v-btn"),t=Hr("v-card-title"),d=Hr("v-divider"),y=Hr("AminoAcidCell"),i=Hr("v-checkbox"),M=Hr("v-row"),g=Hr("v-list-item-title"),h=Hr("v-list-item"),l=Hr("v-list"),a=Hr("v-card-text"),u=Hr("v-card-actions"),o=Hr("v-card"),s=Hr("v-dialog");return Ir(),ei($r,null,[gt(m,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),gt(s,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=f=>n.dialog=f),activator:"#info-button",width:"auto",theme:((c=n.theme)==null?void 0:c.base)??"light"},{default:si(()=>[gt(o,null,{default:si(()=>[gt(t,null,{default:si(()=>[ea("Sequence View legend")]),_:1}),gt(d),gt(a,null,{default:si(()=>[DD,ti("div",zD,[ti("div",FD,[gt(y,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=jp(()=>{},["stop"]))},null,8,["sequence-object"])])]),ea(" Fragment ion types "),gt(M,null,{default:si(()=>[ti("div",BD,[gt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=f=>n.aIon=f),label:"a"},null,8,["modelValue"]),gt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=f=>n.bIon=f),label:"b"},null,8,["modelValue"]),gt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=f=>n.cIon=f),label:"c"},null,8,["modelValue"]),gt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=f=>n.xIon=f),label:"x"},null,8,["modelValue"]),gt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=f=>n.yIon=f),label:"y"},null,8,["modelValue"]),gt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=f=>n.zIon=f),label:"z"},null,8,["modelValue"]),gt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=f=>n.waterLoss=f),label:"water loss"},null,8,["modelValue"]),gt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=f=>n.ammoniumLoss=f),label:"ammonium loss"},null,8,["modelValue"]),gt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=f=>n.proton=f),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ea(" Modifications "),ti("div",ND,[gt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=f=>n.fixed_mod=f),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),gt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=f=>n.variable_mod=f),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),VD]),gt(l,{density:"compact"},{default:si(()=>[gt(g,null,{default:si(()=>[ea("Interaction tips")]),_:1}),gt(h,null,{default:si(()=>[ea("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),gt(h,null,{default:si(()=>[ea("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),gt(u,null,{default:si(()=>[gt(m,{color:"primary",block:"true",onClick:e[12]||(e[12]=f=>n.dialog=!1)},{default:si(()=>[ea("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const UD=is(RD,[["render",jD],["__scopeId","data-v-9a6912d6"]]),HD=$o({name:"SequenceView",components:{SequenceViewInformation:UD,TabulatorTable:y0,AminoAcidCell:r6,ProteinTerminalCell:SD,SvgScreenshot:OD},props:{index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mf(),r=W2();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,massData:[],massTitle:"",ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!0,"ammonium loss":!0,"proton loss/addition":!0},fragmentMassTolerance:10,visibilityOptions:[{text:"Fragments",selected:!0},{text:"Modifications",selected:!0}],fragmentTableColumnDefinitions:[{title:"Name",field:"Name",headerTooltip:"The name of the fragment ion, represented in Biemann notation."},{title:"Ion type",field:"IonType",headerTooltip:"The type of fragment ion identified in the spectrum."},{title:"Ion number",field:"IonNumber",sorter:"number",headerTooltip:"The position of the fragment ion within the sequence."},{title:"Theoretical mass",field:"TheoreticalMass",sorter:"number",headerTooltip:"The expected mass of the fragment ion."},{title:"Observed mass",field:"ObservedMass",formatter:Dh(),sorter:"number",headerTooltip:"The mass of the fragment ion as observed in the spectrum."},{title:"Mass difference (Da)",field:"MassDiffDa",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in Daltons."},{title:"Mass difference (ppm)",field:"MassDiffPpm",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in parts per million (ppm)."}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},selectedTag(){return this.selectionStore.selectedTag},sequence(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.sequence)??[]},sequence_start_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_start)??0},sequence_start(){return this.sequence_start_reported<0?0:this.sequence_start_reported},n_truncation(){return this.sequence_start>0},n_determined(){return this.sequence_start_reported>=0},sequence_end_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_end)??this.sequence.length-1},sequence_end(){return this.sequence_end_reported<0?this.sequence.length-1:this.sequence_end_reported},c_truncation(){return this.sequence_end=0},modifications(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.modifications)??[]},coverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.coverage)??[]:[]},maxCoverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.maxCoverage)??-1:-1},theoreticalMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.theoretical_mass)??0},computedMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),(r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass},fixedModificationSites(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.fixed_modifications)??[]},variableModifications(){return{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){return this.selectionStore.selectedScanIndex!==void 0?this.selectionStore.selectedScanIndex:0},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;ee.text==="Tags"))!=null&&n.selected):!1},showTruncations(){var n;return this.displayTnT?!!((n=this.visibilityOptions.find(e=>e.text==="Truncations"))!=null&&n.selected):!1},showModifications(){var n;return this.displayTnT?!!((n=this.visibilityOptions.find(e=>e.text==="Modifications"))!=null&&n.selected):!1},showFragments(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Fragments"))!=null&&n.selected)}},watch:{selectedScanIndex(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},sequence(){this.selectionStore.updateSelectedAA(void 0),this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},selectedTag(){this.updateTagPosition()},fragmentMassTolerance(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},ionTypes:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},ionTypesExtra:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},variableModifications(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()}},mounted(){this.selectionStore.updateSelectedAA(void 0),this.initializeSequenceObjects(),this.preparePrecursorInfo(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},methods:{getFragmentMasses(n){var r;let e=this.selectedSequence;return e===void 0&&(e=0),(r=this.streamlitDataStore.sequenceData)==null?void 0:r[e][`fragment_masses_${n}`]},updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},toggleIonTypeSelected(n){this.ionTypes[n].selected=!this.ionTypes[n].selected},preparePrecursorInfo(){var z,k;if(this.selectedScanIndex==null){this.massData=[];return}if(this.computedMass!==void 0){this.massTitle="Proteoform";let m="-",t="-";this.computedMass>0&&(m=this.computedMass.toFixed(2),t=Math.abs(this.theoreticalMass-this.computedMass).toFixed(2)),this.massData=[`Theoretical protein mass : ${this.theoreticalMass.toFixed(2)}`,`Observed proteoform mass : ${m}`,`ฮ” Mass (Da) : ${t}`],this.visibilityOptions.some(d=>d.text==="Tags")||(this.visibilityOptions.push({text:"Truncations",selected:!0}),this.visibilityOptions.push({text:"Tags",selected:!0}),((z=this.streamlitDataStore.settings)==null?void 0:z.ion_types)!==void 0&&this.ionTypes.forEach(d=>{d.selected=this.streamlitDataStore.settings.ion_types.includes(d.text)}),((k=this.streamlitDataStore.settings)==null?void 0:k.tolerance)!==void 0&&(this.fragmentMassTolerance=this.streamlitDataStore.settings.tolerance)),this.ionTypesExtra["ammonium loss"]=!1,this.ionTypesExtra["water loss"]=!1,this.ionTypesExtra["proton loss/addition"]=!1;return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].PrecursorMass;if(e===0){this.massData=[];return}let r=this.theoreticalMass;this.variableModData.isEmpty||(this.variableModifications.valueOf(),Object.values(this.variableModifications).forEach(m=>{r+=m}));const E=Math.abs(r-e);this.massTitle="Precursor",this.massData=[`Theoretical mass : ${r.toFixed(2)}`,`Observed mass : ${e.toFixed(2)}`,`ฮ” Mass (Da) : ${E.toFixed(2)}`]},prepareFragmentTable(){if(this.sequence.length<=0){this.fragmentTableTitle="";return}if(this.selectedScanIndex==null){this.fragmentTableTitle="";return}const n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex];if(n.PrecursorMass===0&&!this.displayTnT){this.fragmentTableTitle="";return}const r=n.MonoMass;let E=[];const z=this.sequence_end;this.ionTypes.filter(k=>k.selected).forEach(k=>{if((k.text==="a"||k.text==="b"||k.text==="c")&&this.sequence_start_reported<0||(k.text==="x"||k.text==="y"||k.text==="z")&&this.sequence_end_reported<0)return;const m=this.getFragmentMasses(k.text);for(let t=0,d=m.length;t{this.variableModData.isEmpty||((k.text==="a"||k.text==="b"||k.text==="c")&&Object.entries(this.variableModifications).forEach(([g,h])=>{parseInt(g)<=y&&(i+=h)}),(k.text==="x"||k.text==="y"||k.text==="z")&&Object.entries(this.variableModifications).forEach(([g,h])=>{z-parseInt(g)<=y&&(i+=h)}));const M=Object.entries(RR).filter(([g])=>this.ionTypesExtra[g]||g==="default").map(([g,h])=>h).flat();for(let g=0,h=r.length;g{const u=i+a,o=r[g]-u,s=o/u*1e6;if(Math.abs(s)>this.fragmentMassTolerance)return;const c={Name:`${k.text}${t+1}`,IonType:`${k.text}${l}`,IonNumber:t+1,TheoreticalMass:u.toFixed(3),ObservedMass:r[g],MassDiffDa:o.toFixed(3),MassDiffPpm:s.toFixed(3)};E.push(c);let f=y;(k.text==="a"||k.text==="b"||k.text==="c")&&(this.sequenceObjects[f][`${k.text}Ion`]=!0),(k.text==="x"||k.text==="y"||k.text==="z")&&(this.sequenceObjects[z-t][`${k.text}Ion`]=!0,f=z-t),l&&this.sequenceObjects[y].extraTypes.push(`${k.text}${l}`)})})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=E,this.fragmentTableTitle=`Matching fragments (# ${E.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach((n,e)=>{const r=this.coverage[e];let E=!1;(this.sequence_start>e||this.sequence_endE.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)},updateTagPosition(){this.sequence.length<=0||(this.sequenceObjects.length!==this.sequence.length&&this.initializeSequenceObjects(),this.sequence.forEach((n,e)=>{var z,k;const r=((z=this.selectedTag)==null?void 0:z.startPos)==e,E=((k=this.selectedTag)==null?void 0:k.endPos)==e;this.sequenceObjects[e].tagStart=r,this.sequenceObjects[e].tagEnd=E}))},prepareAmbigiousModifications(){this.modifications.forEach(n=>{const e=n.start,r=n.end,E=n.mass_diff.toFixed(2),z=n.labels,k=parseFloat(E).toLocaleString("en-US",{signDisplay:"always"});for(let m=e;m<=r;m++)m==e&&(this.sequenceObjects[m].modStart=!0),m==r&&(this.sequenceObjects[m].modEnd=!0,this.sequenceObjects[m].modMass=k,this.sequenceObjects[m].modLabels=z),m!=e&&m!=r&&(this.sequenceObjects[m].modCenter=!0)})}}});const $2=n=>(Ty("data-v-dd9aeeba"),n=n(),ky(),n),GD=$2(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Sequence View")],-1)),qD={class:"sequence-and-scale"},WD={id:"sequence-part"},$D={class:"d-flex justify-space-evenly"},YD={class:"d-flex justify-end px-4 mb-4"},ZD={class:"d-flex justify-space-evenly"},XD={class:"d-flex justify-space-evenly"},KD={class:"d-flex justify-space-evenly"},JD={key:0,class:"d-flex justify-center align-center"},QD={key:3,class:"d-flex justify-center align-center"},ez={key:0,class:"scale-container",title:"Sequence Tag Coverage"},tz={class:"scale-text"},nz=$2(()=>ti("div",{class:"scale"},null,-1)),rz=$2(()=>ti("div",{class:"scale-text"},"1x",-1)),iz={id:"sequence-view-table"};function az(n,e,r,E,z,k){var w;const m=Hr("v-divider"),t=Hr("SvgScreenshot"),d=Hr("SequenceViewInformation"),y=Hr("v-btn"),i=Hr("v-list-item-title"),M=Hr("v-slider"),g=Hr("v-list-item"),h=Hr("v-checkbox"),l=Hr("v-text-field"),a=Hr("v-list"),u=Hr("v-card"),o=Hr("v-menu"),s=Hr("ProteinTerminalCell"),c=Hr("AminoAcidCell"),f=Hr("TabulatorTable"),p=Hr("v-sheet");return Ir(),ei($r,null,[GD,gt(p,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((w=n.theme)==null?void 0:w.base)??"light",border:""},{default:si(()=>[ti("div",qD,[ti("div",WD,[ti("div",$D,[n.massData.length!=0?(Ir(),ei($r,{key:0},[ti("h3",null,ho(n.massTitle),1),gt(m,{vertical:!0}),(Ir(!0),ei($r,null,Hl(n.massData,(v,S)=>(Ir(),ei($r,{key:S},[ea(ho(v)+" ",1),gt(m,{vertical:!0})],64))),128))],64)):Zi("",!0)]),ti("div",YD,[ti("div",null,[gt(t,{"element-id":"sequence-part"}),gt(d),gt(y,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),gt(o,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:si(()=>[gt(u,{"min-width":"300"},{default:si(()=>[gt(a,null,{default:si(()=>[gt(g,null,{default:si(()=>[gt(i,null,{default:si(()=>[ea("# amino acids per row")]),_:1}),gt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=v=>n.rowWidth=v),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1}),gt(g,null,{default:si(()=>[gt(i,null,{default:si(()=>[ea("Visibility")]),_:1}),ti("div",ZD,[(Ir(!0),ei($r,null,Hl(n.visibilityOptions,v=>(Ir(),za(h,{key:v.text,modelValue:v.selected,"onUpdate:modelValue":S=>v.selected=S,"hide-details":"",density:"comfortable",label:v.text},null,8,["modelValue","onUpdate:modelValue","label"]))),128))])]),_:1}),gt(g,null,{default:si(()=>[gt(i,null,{default:si(()=>[ea("Fragment ion types")]),_:1}),ti("div",XD,[(Ir(!0),ei($r,null,Hl(n.ionTypes,(v,S)=>(Ir(),za(h,{key:v.text,modelValue:v.selected,"onUpdate:modelValue":x=>v.selected=x,"hide-details":"",density:"comfortable",label:v.text,onClick:x=>n.toggleIonTypeSelected(S),disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","onClick","disabled"]))),128))]),ti("div",KD,[(Ir(!0),ei($r,null,Hl(Object.keys(n.ionTypesExtra),v=>(Ir(),za(h,{key:v,modelValue:n.ionTypesExtra[v],"onUpdate:modelValue":S=>n.ionTypesExtra[v]=S,"hide-details":"",density:"comfortable",label:v,disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","disabled"]))),128))])]),_:1}),gt(g,null,{default:si(()=>[gt(i,null,{default:si(()=>[ea("Fragment mass tolerance")]),_:1}),gt(l,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[1]||(e[1]=v=>n.fragmentMassTolerance=v),type:"number","hide-details":"auto",label:"mass tolerance in ppm",onChange:n.updateMassTolerance,disabled:!n.showFragments},null,8,["modelValue","onChange","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})])]),ti("div",{class:Ku(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Ir(!0),ei($r,null,Hl(n.sequenceObjects,(v,S)=>(Ir(),ei($r,{key:S},[n.showTruncations&&S!==0&&S%n.rowWidth===0||!n.showTruncations&&S-n.sequence_start!==0&&(S-n.sequence_start)%n.rowWidth===0&&Sn.sequence_start?(Ir(),ei("div",JD,ho(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===0?(Ir(),za(s,{key:1,"protein-terminal":"N-term",truncated:n.n_truncation,index:-1,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.n_determined},null,8,["truncated","disable-variable-modification-selection","determined"])):Zi("",!0),n.showTruncations||n.sequence_start<=S&&n.sequence_end>=S?(Ir(),za(c,{key:2,index:S,"sequence-object":v,"fixed-modification":n.fixedModification(v.aminoAcid),"disable-variable-modification-selection":n.disableVariableModifications,showTags:n.showTags,showFragments:n.showFragments,showModifications:n.showModifications,onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","disable-variable-modification-selection","showTags","showFragments","showModifications","onSelected"])):Zi("",!0),n.showTruncations&&S%n.rowWidth===n.rowWidth-1&&S!==n.sequence.length-1||!n.showTruncations&&(S-n.sequence_start)%n.rowWidth===n.rowWidth-1&&Sn.sequence_start?(Ir(),ei("div",QD,ho(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===n.sequence.length-1?(Ir(),za(s,{key:4,"protein-terminal":"C-term",truncated:n.c_truncation,index:n.sequence.length,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.c_determined},null,8,["truncated","index","disable-variable-modification-selection","determined"])):Zi("",!0)],64))),128))],2)]),n.maxCoverage>0&&n.showTags?(Ir(),ei("div",ez,[ti("div",tz,ho(n.maxCoverage+"x"),1),nz,rz])):Zi("",!0)]),ti("div",iz,[n.fragmentTableTitle!==""&&n.showFragments?(Ir(),za(f,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:si(()=>[ea(ho(n.fragmentTableTitle),1)]),"end-title-row":si(()=>[ea("% Residue cleavage: "+ho(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):Zi("",!0)])]),_:1},8,["theme"])],64)}const oz=is(HD,[["render",az],["__scopeId","data-v-dd9aeeba"]]),sz=$o({name:"FLASHQuantView",components:{TabulatorTable:y0},setup(){return{streamlitDataStore:Cs()}},data(){return{setHeightInterval:null,featureGroupTableColumnDefinitions:[{title:"Index",field:"FeatureGroupIndex"},{title:"Monoisotopic Mass",field:"MonoisotopicMass"},{title:"Average Mass",field:"AverageMass"},{title:"Start Retention Time (FWHM)",field:"StartRetentionTime(FWHM)"},{title:"End Retention Time (FWHM)",field:"EndRetentionTime(FWHM)"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Min Charge",field:"MinCharge"},{title:"Max Charge",field:"MaxCharge"},{title:"Most Abundant Charge",field:"MostAbundantFeatureCharge"},{title:"Isotope Cosine Score",field:"IsotopeCosineScore"}],selectedFeatureGroupIndex:void 0,maximumIntensity:0}},computed:{theme(){return this.streamlitDataStore.theme},featureGroupTableData(){return this.streamlitDataStore.dataForDrawing.quant_data},trace3DgraphLayout(){var n,e,r,E;return{title:"Feature group signals",paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(E=this.theme)==null?void 0:E.font},scene:{xaxis:{title:"m/z"},yaxis:{title:"retention time"},zaxis:{title:"intensity",range:[0,this.maximumIntensity]}},showlegend:!0}}},watch:{selectedFeatureGroupIndex(){this.trace3DGraph()}},mounted(){this.setHeightInterval=setInterval(()=>Sc.setFrameHeight(),500)},unmounted(){this.setHeightInterval!==null&&clearInterval(this.setHeightInterval)},methods:{async trace3DGraph(){await es.newPlot("trace3Dplot",this.trace3DgraphData(),this.trace3DgraphLayout,{responsive:!0})},updateSelectedFeatureGroupRow(n){n!==void 0&&(this.selectedFeatureGroupIndex=n)},trace3DgraphData(){if(this.selectedFeatureGroupIndex===void 0)return[];const n=this.featureGroupTableData[this.selectedFeatureGroupIndex],e=[...new Set(n.Charges)],r={};e.forEach(k=>{r[k]={mzs:[],rts:[],intys:[]}}),n.Charges.forEach((k,m)=>{const t=n.MZs[m].split(",").map(parseFloat),d=n.RTs[m].split(",").map(parseFloat),y=n.Intensities[m].split(",").map(parseFloat);r[k].mzs.push(t[0]),r[k].rts.push(d[0]),r[k].intys.push(-1e3),r[k].mzs.push(...t),r[k].rts.push(...d),r[k].intys.push(...y),r[k].mzs.push(t[-1]),r[k].rts.push(d[-1]),r[k].intys.push(-1e3)}),this.maximumIntensity=Math.max.apply(null,Object.values(r).map(k=>Math.max.apply(null,k.intys)));let z=[];return Object.entries(r).forEach(([k,m])=>{z.push({x:m.mzs,y:m.rts,z:m.intys,mode:"lines",line:{color:"#3366CC"},type:"scatter3d",name:`Charge: ${k}`})}),z}}}),lz={class:"pa-4"},uz=ti("div",{id:"trace3Dplot",style:{width:"90%"}},null,-1);function cz(n,e,r,E,z,k){const m=Hr("TabulatorTable"),t=Hr("v-row");return Ir(),ei("div",lz,[gt(t,{class:"flex-nowrap"},{default:si(()=>[n.featureGroupTableData?(Ir(),za(m,{key:0,title:"Feature groups",index:0,"table-data":n.featureGroupTableData,"column-definitions":n.featureGroupTableColumnDefinitions,"table-index-field":"FeatureGroupIndex",onRowSelected:n.updateSelectedFeatureGroupRow,"default-row":0},null,8,["table-data","column-definitions","onRowSelected"])):Zi("",!0)]),_:1}),uz])}const fz=is(sz,[["render",cz]]),hz=$o({name:"InternalFragmentMap",props:{index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mf();return{streamlitData:n,selectionStore:e}},data(){return{fragmentMassTolerance:10,fragmentMassToleranceUnit:"ppm",fragmentMassTypes:{by:!0,cy:!0,bz:!0},fragmentDisplayOverlay:!1,fragOpacity:.2,fragOpacityMin:.01,fragOpacityMax:1}},computed:{theme(){return this.streamlitData.theme},internalFragmentData(){return this.streamlitData.internalFragmentData},sequence(){var n;return(n=this.streamlitData.sequenceData)==null?void 0:n[0].sequence},fragmentStyle(){var n;return{height:(94/(((n=this.sequence)==null?void 0:n.length)??1)).toFixed(2)+"vw","--frag-block-opacity-value":this.fragOpacity}},fragmentTypeContainerStyle(){return{height:this.fragmentDisplayOverlay?this.fragmentStyle.height:"auto"}},fragmentTypeOverlayStyle(){return{position:this.fragmentDisplayOverlay?"absolute":"static"}},fragmentDisplayOverlayLabels(){return this.fragmentDisplayOverlay?"Overlay fragments from the same type":"Stacked"},selectedScanInfo(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitData.allDataForDrawing.per_scan_data[this.selectionStore.selectedScanIndex]},byData(){var E,z,k;if(this.selectedScanInfo===void 0||!((E=this.internalFragmentData)!=null&&E.fragment_masses_by)||!((z=this.internalFragmentData)!=null&&z.start_indices_by)||!((k=this.internalFragmentData)!=null&&k.end_indices_by))return[];if(this.selectedScanInfo.PrecursorMass===0)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_by,this.internalFragmentData.start_indices_by,this.internalFragmentData.end_indices_by,e),e},cyData(){var E,z,k;if(this.selectedScanInfo===void 0||!((E=this.internalFragmentData)!=null&&E.fragment_masses_cy)||!((z=this.internalFragmentData)!=null&&z.start_indices_cy)||!((k=this.internalFragmentData)!=null&&k.end_indices_cy))return[];if(this.selectedScanInfo.PrecursorMass===0)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_cy,this.internalFragmentData.start_indices_cy,this.internalFragmentData.end_indices_cy,e),e},bzData(){var E,z,k;if(this.selectedScanInfo===void 0||!((E=this.internalFragmentData)!=null&&E.fragment_masses_bz)||!((z=this.internalFragmentData)!=null&&z.start_indices_bz)||!((k=this.internalFragmentData)!=null&&k.end_indices_bz))return[];if(this.selectedScanInfo.PrecursorMass===0)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_bz,this.internalFragmentData.start_indices_bz,this.internalFragmentData.end_indices_bz,e),e}},methods:{updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},fragmentClasses(n,e,r,E){const z=n>e&&n<=r;let k=E;return this.fragmentDisplayOverlay&&(k+="-overlayed"),{[k]:z,"not-in-fragment":!z}},filterMatchingMasses(n,e,r,E,z){for(let k=0,m=e.length;kthis.fragmentMassTolerance)){z.push({mass:t,start:r[k],end:E[k]});break}}}}}});const dz=n=>(Ty("data-v-d41ea218"),n=n(),ky(),n),pz=dz(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Internal Fragment Map")],-1)),mz={class:"d-flex justify-space-between"},gz=VE('
by/cz
bz
cy
',1),vz={class:"d-flex justify-end px-4 mb-4",style:{"max-width":"97%"}},yz={class:"d-flex"},bz={class:"d-flex justify-space-between"},xz={id:"internal-fragment-part"},_z={class:"d-flex",style:{"border-bottom":"white","border-bottom-width":"1px","border-bottom-style":"solid"}};function wz(n,e,r,E,z,k){var u;const m=Hr("v-btn"),t=Hr("v-list-item-title"),d=Hr("v-switch"),y=Hr("v-list-item"),i=Hr("v-text-field"),M=Hr("v-slider"),g=Hr("v-list"),h=Hr("v-card"),l=Hr("v-menu"),a=Hr("v-sheet");return Ir(),ei($r,null,[pz,ti("div",mz,[gz,ti("div",vz,[gt(m,{id:"internal-frag-settings-button",variant:"text",icon:"mdi-cog",size:"medium"}),gt(l,{"close-on-content-click":!1,activator:"#internal-frag-settings-button",location:"bottom"},{default:si(()=>[gt(h,{"min-width":"300"},{default:si(()=>[gt(g,null,{default:si(()=>[gt(y,null,{default:si(()=>[gt(t,null,{default:si(()=>[ea("Fragments display style")]),_:1}),ti("div",yz,[gt(d,{modelValue:n.fragmentDisplayOverlay,"onUpdate:modelValue":e[0]||(e[0]=o=>n.fragmentDisplayOverlay=o),"hide-details":"",label:`${n.fragmentDisplayOverlayLabels}`,class:"mr-4"},null,8,["modelValue","label"])])]),_:1}),gt(y,null,{default:si(()=>[gt(t,null,{default:si(()=>[ea("Opacity of each fragment (If overlay display style)")]),_:1}),ti("div",{style:Ys({background:`rgba(240, 164, 65, ${n.fragOpacity})`})},[gt(M,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[2]||(e[2]=o=>n.fragOpacity=o),class:"align-center ml-4",max:n.fragOpacityMax,min:n.fragOpacityMin,"hide-details":""},{append:si(()=>[gt(i,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[1]||(e[1]=o=>n.fragOpacity=o),"hide-details":"","single-line":"",min:n.fragOpacityMin,max:n.fragOpacityMax,step:"0.01",density:"compact",type:"number",class:"textFieldFontSize"},null,8,["modelValue","min","max"])]),_:1},8,["modelValue","max","min"])],4)]),_:1}),gt(y,null,{default:si(()=>[gt(t,null,{default:si(()=>[ea("Fragment mass tolerance")]),_:1}),ti("div",bz,[gt(d,{modelValue:n.fragmentMassToleranceUnit,"onUpdate:modelValue":e[3]||(e[3]=o=>n.fragmentMassToleranceUnit=o),"true-value":"ppm","false-value":"Da","hide-details":"",label:`${n.fragmentMassToleranceUnit}`,class:"mr-4"},null,8,["modelValue","label"]),gt(i,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[4]||(e[4]=o=>n.fragmentMassTolerance=o),type:"number","hide-details":"auto",label:"mass tolerance",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})])]),gt(a,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((u=n.theme)==null?void 0:u.base)??"light",border:""},{default:si(()=>[ti("div",xz,[ti("div",_z,[(Ir(!0),ei($r,null,Hl(n.sequence,(o,s)=>(Ir(),ei("div",{key:`${o}-${s}`,class:"d-flex justify-center align-center fragment-segment sequence-text",style:Ys(n.fragmentStyle)},ho(o),5))),128))]),ti("div",{style:Ys(n.fragmentTypeContainerStyle)},[(Ir(!0),ei($r,null,Hl(n.byData,o=>(Ir(),ei("div",{key:o.mass,class:"d-flex",style:Ys(n.fragmentTypeOverlayStyle)},[(Ir(!0),ei($r,null,Hl(n.sequence,(s,c)=>(Ir(),ei("div",{key:`${s}-${c}`,class:Ku(n.fragmentClasses(c,o.start,o.end,"by-fragment")),style:Ys([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:Ys(n.fragmentTypeContainerStyle)},[(Ir(!0),ei($r,null,Hl(n.cyData,o=>(Ir(),ei("div",{key:o.mass,class:"d-flex",style:Ys(n.fragmentTypeOverlayStyle)},[(Ir(!0),ei($r,null,Hl(n.sequence,(s,c)=>(Ir(),ei("div",{key:`${s}-${c}`,class:Ku(n.fragmentClasses(c,o.start,o.end,"cy-fragment")),style:Ys([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:Ys(n.fragmentTypeContainerStyle)},[(Ir(!0),ei($r,null,Hl(n.bzData,o=>(Ir(),ei("div",{key:o.mass,class:"d-flex",style:Ys(n.fragmentTypeOverlayStyle)},[(Ir(!0),ei($r,null,Hl(n.sequence,(s,c)=>(Ir(),ei("div",{key:`${s}-${c}`,class:Ku(n.fragmentClasses(c,o.start,o.end,"bz-fragment")),style:Ys([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4)])]),_:1},8,["theme"])],64)}const Tz=is(hz,[["render",wz],["__scopeId","data-v-d41ea218"]]),kz=$o({name:"FDRPlotly",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){return{streamlitDataStore:Cs()}},computed:{xValues_target(){return this.streamlitDataStore.allDataForDrawing.ecdf_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.ecdf_target.map(n=>n.x)},xValues_decoy(){return this.streamlitDataStore.allDataForDrawing.ecdf_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.ecdf_decoy.map(n=>n.x)},yValues_target(){return this.streamlitDataStore.allDataForDrawing.ecdf_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.ecdf_target.map(n=>n.y)},yValues_decoy(){return this.streamlitDataStore.allDataForDrawing.ecdf_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.ecdf_decoy.map(n=>n.y)},id(){return`graph-${this.index}`},layout(){return{title:`${this.args.title}`,showlegend:!0,height:400,xaxis:{title:"QScore",showgrid:!1},yaxis:{title:"Density",showgrid:!0,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:"white",plot_bgcolor:"white",font:{color:"black",family:"Arial"}}},data(){return[{x:this.xValues_target,y:this.yValues_target,mode:"lines+markers",type:"scatter",name:"Target QScores",marker:{color:"green"}},{x:this.xValues_decoy,y:this.yValues_decoy,mode:"lines+markers",type:"scatter",name:"Decoy QScores",marker:{color:"red"}}]}},watch:{xValues_target(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await es.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:es.Icons.camera,click:n=>{es.downloadImage(n,{filename:"FDR-plot",height:400,width:1200,format:"svg"})}}]})}}}),Mz=["id"];function Az(n,e,r,E,z,k){return Ir(),ei("div",{id:n.id,style:{width:"100%"}},null,8,Mz)}const Sz=is(kz,[["render",Az]]),Cz=$o({name:"ComponentsRow",components:{InternalFragmentMap:Tz,FLASHQuantView:fz,Plotly3Dplot:kR,PlotlyHeatmap:oP,TabulatorScanTable:hR,PlotlyLineplot:gR,PlotlyLineplotTagger:xR,TabulatorMassTable:SR,TabulatorProteinTable:LR,TabulatorTagTable:OR,SequenceView:oz,FDRPlotly:Sz},props:{components:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},data(){return{componentHeightMapping:{TabulatorScanTable:"height-any",TabulatorMassTable:"height-any",TabulatorProteinTable:"height-any",TabulatorTagTable:"height-any",PlotlyLineplot:"height-any",PlotlyLineplotTagger:"height-any",PlotlyHeatmap:"height-any",Plotly3Dplot:"height-any",SequenceView:"height-any",InternalFragmentMap:"height-any",FDRPlotly:"height-any"}}},methods:{componentClasses(n){return{[this.componentHeightMapping[n]]:!0,[`component-width-${this.components.length}`]:!0}},componentIndex(n){return n+this.rowIndex*100}}});const Ez={class:"component-row"};function Lz(n,e,r,E,z,k){const m=Hr("PlotlyHeatmap"),t=Hr("TabulatorScanTable"),d=Hr("TabulatorMassTable"),y=Hr("TabulatorProteinTable"),i=Hr("TabulatorTagTable"),M=Hr("PlotlyLineplot"),g=Hr("PlotlyLineplotTagger"),h=Hr("Plotly3Dplot"),l=Hr("SequenceView"),a=Hr("InternalFragmentMap"),u=Hr("FLASHQuantView"),o=Hr("FDRPlotly");return Ir(),ei("div",Ez,[(Ir(!0),ei($r,null,Hl(n.components,(s,c)=>(Ir(),ei("div",{key:c,class:Ku(n.componentClasses(s.componentArgs.componentName))},[s.componentArgs.componentName==="PlotlyHeatmap"?(Ir(),za(m,{key:0,args:s.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):s.componentArgs.componentName==="TabulatorScanTable"?(Ir(),za(t,{key:1,args:s.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):s.componentArgs.componentName==="TabulatorMassTable"?(Ir(),za(d,{key:2,args:s.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):s.componentArgs.componentName==="TabulatorProteinTable"?(Ir(),za(y,{key:3,args:s.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):s.componentArgs.componentName==="TabulatorTagTable"?(Ir(),za(i,{key:4,args:s.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):s.componentArgs.componentName==="PlotlyLineplot"?(Ir(),za(M,{key:5,args:s.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):s.componentArgs.componentName==="PlotlyLineplotTagger"?(Ir(),za(g,{key:6,args:s.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):s.componentArgs.componentName==="Plotly3Dplot"?(Ir(),za(h,{key:7,args:s.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):s.componentArgs.componentName==="SequenceView"?(Ir(),za(l,{key:8,index:n.componentIndex(c)},null,8,["index"])):s.componentArgs.componentName==="InternalFragmentMap"?(Ir(),za(a,{key:9,index:n.componentIndex(c)},null,8,["index"])):s.componentArgs.componentName==="FLASHQuantView"?(Ir(),za(u,{key:10})):s.componentArgs.componentName==="FDRPlotly"?(Ir(),za(o,{key:11,args:s.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):Zi("",!0)],2))),128))])}const Iz=is(Cz,[["render",Lz],["__scopeId","data-v-5f0d2ddf"]]),Pz=$o({name:"ComponentsLayout",components:{ComponentsRow:Iz},props:{components:{type:Object,required:!0}},data(){return{columns:6}},methods:{componentRowClasses(){return{"[`height-${layout.height ?? 1}`]":!0,[`component-width-${this.components.length}`]:!0}}}});const Oz={class:"component-layout"};function Rz(n,e,r,E,z,k){const m=Hr("ComponentsRow");return Ir(),ei("div",Oz,[(Ir(!0),ei($r,null,Hl(n.components,(t,d)=>(Ir(),za(m,{key:d,components:t,"row-index":d},null,8,["components","row-index"]))),128))])}const Dz=is(Pz,[["render",Rz],["__scopeId","data-v-721e06dc"]]),zz=$o({name:"App",components:{ComponentsLayout:Dz},setup(){return{streamlitDataStore:Cs()}},data(){return{timer:void 0}},computed:{components(){var n;return(n=this.streamlitDataStore.args)==null?void 0:n.components}},created(){Sc.setComponentReady(),Sc.setFrameHeight(500),Sc.events.addEventListener(Sc.RENDER_EVENT,this.updateStreamlitData)},mounted(){this.timer=setInterval(()=>{Sc.setFrameHeight()},500)},unmounted(){Sc.events.removeEventListener(Sc.RENDER_EVENT,this.updateStreamlitData),clearInterval(this.timer)},updated(){Sc.setFrameHeight()},methods:{async updateStreamlitData(n){this.streamlitDataStore.updateRenderData(n.detail)}}});const Fz={key:0},Bz={key:1,class:"d-flex w-100",style:{height:"400px"}};function Nz(n,e,r,E,z,k){const m=Hr("ComponentsLayout"),t=Hr("v-progress-linear"),d=Hr("v-alert");return n.components!==void 0&&n.components.length>0?(Ir(),ei("div",Fz,[gt(m,{components:n.components},null,8,["components"])])):(Ir(),ei("div",Bz,[gt(d,{class:"h-50 ma-16 pr-16",icon:"mdi-application-variable-outline",title:"FLASHViewer loading",type:"info"},{default:si(()=>[gt(t,{indeterminate:""}),ea(" Please wait... ")]),_:1})]))}const Vz=is(zz,[["render",Nz]]);const to=typeof window<"u",Y2=to&&"IntersectionObserver"in window,jz=to&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function y5(n,e,r){Uz(n,e),e.set(n,r)}function Uz(n,e){if(e.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Hz(n,e,r){var E=o6(n,e,"set");return Gz(n,E,r),r}function Gz(n,e,r){if(e.set)e.set.call(n,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function _d(n,e){var r=o6(n,e,"get");return qz(n,r)}function o6(n,e,r){if(!e.has(n))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(n)}function qz(n,e){return e.get?e.get.call(n):e.value}function s6(n,e,r){const E=e.length-1;if(E<0)return n===void 0?r:n;for(let z=0;zb0(n[E],e[E]))}function ix(n,e,r){return n==null||!e||typeof e!="string"?r:n[e]!==void 0?n[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),s6(n,e.split("."),r))}function pf(n,e,r){if(e==null)return n===void 0?r:n;if(n!==Object(n)){if(typeof e!="function")return r;const z=e(n,r);return typeof z>"u"?r:z}if(typeof e=="string")return ix(n,e,r);if(Array.isArray(e))return s6(n,e,r);if(typeof e!="function")return r;const E=e(n,r);return typeof E>"u"?r:E}function Jf(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:n},(r,E)=>e+E)}function Qr(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(n==null||n===""))return isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${e}`:void 0}function ax(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function ox(n){return n&&"$el"in n?n.$el:n}const b5=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),sx=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function l6(n){return Object.keys(n)}function Rd(n,e){return e.every(r=>n.hasOwnProperty(r))}function Yd(n,e,r){const E=Object.create(null),z=Object.create(null);for(const k in n)e.some(m=>m instanceof RegExp?m.test(k):m===k)&&!(r!=null&&r.some(m=>m===k))?E[k]=n[k]:z[k]=n[k];return[E,z]}function nc(n,e){const r={...n};return e.forEach(E=>delete r[E]),r}const u6=/^on[^a-z]/,Z2=n=>u6.test(n),Wz=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Qd(n){const[e,r]=Yd(n,[u6]),E=nc(e,Wz),[z,k]=Yd(r,["class","style","id",/^data-/]);return Object.assign(z,e),Object.assign(k,E),[z,k]}function bu(n){return n==null?[]:Array.isArray(n)?n:[n]}function Xs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(r,n))}function x5(n){const e=n.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function _5(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return n+r.repeat(Math.max(0,e-n.length))}function $z(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let E=0;for(;E1&&arguments[1]!==void 0?arguments[1]:1e3;if(n=e&&E0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const E={};for(const z in n)E[z]=n[z];for(const z in e){const k=n[z],m=e[z];if(ax(k)&&ax(m)){E[z]=Xu(k,m,r);continue}if(Array.isArray(k)&&Array.isArray(m)&&r){E[z]=r(k,m);continue}E[z]=m}return E}function c6(n){return n.map(e=>e.type===$r?c6(e.children):e).flat()}function Ud(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ud.cache.has(n))return Ud.cache.get(n);const e=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ud.cache.set(n,e),e}Ud.cache=new Map;function ym(n,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(r=>ym(n,r)).flat(1);if(Array.isArray(e.children))return e.children.map(r=>ym(n,r)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(n))return[e.component];if(e.component.subTree)return ym(n,e.component.subTree).flat(1)}return[]}var sv=new WeakMap,Sp=new WeakMap;class Yz{constructor(e){y5(this,sv,{writable:!0,value:[]}),y5(this,Sp,{writable:!0,value:0}),this.size=e}push(e){_d(this,sv)[_d(this,Sp)]=e,Hz(this,Sp,(_d(this,Sp)+1)%this.size)}values(){return _d(this,sv).slice(_d(this,Sp)).concat(_d(this,sv).slice(0,_d(this,Sp)))}}function Zz(n){return"touches"in n?{clientX:n.touches[0].clientX,clientY:n.touches[0].clientY}:{clientX:n.clientX,clientY:n.clientY}}function X2(n){const e=bl({}),r=cn(n);return wu(()=>{for(const E in r.value)e[E]=r.value[E]},{flush:"sync"}),by(e)}function ly(n,e){return n.includes(e)}function f6(n){return n[2].toLowerCase()+n.slice(3)}const yf=()=>[Function,Array];function T5(n,e){return e="on"+sh(e),!!(n[e]||n[`${e}Once`]||n[`${e}Capture`]||n[`${e}OnceCapture`]||n[`${e}CaptureOnce`])}function K2(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),E=1;E1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(E=>`${E}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(r)]}function h6(n,e,r){let E,z=n.indexOf(document.activeElement);const k=e==="next"?1:-1;do z+=k,E=n[z];while((!E||E.offsetParent==null||!((r==null?void 0:r(E))??!0))&&z=0);return E}function uy(n,e){var E,z,k,m;const r=Dm(n);if(!e)(n===document.activeElement||!n.contains(document.activeElement))&&((E=r[0])==null||E.focus());else if(e==="first")(z=r[0])==null||z.focus();else if(e==="last")(k=r.at(-1))==null||k.focus();else if(typeof e=="number")(m=r[e])==null||m.focus();else{const t=h6(r,e);t?t.focus():uy(n,e==="next"?"first":"last")}}function d6(){}function l0(n,e){if(!(to&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!n&&n.matches(e)}catch{return null}}const p6=["top","bottom"],Xz=["start","end","left","right"];function lx(n,e){let[r,E]=n.split(" ");return E||(E=ly(p6,r)?"start":ly(Xz,r)?"top":"center"),{side:ux(r,e),align:ux(E,e)}}function ux(n,e){return n==="start"?e?"right":"left":n==="end"?e?"left":"right":n}function gb(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function vb(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function k5(n){return{side:n.align,align:n.side}}function M5(n){return ly(p6,n.side)?"y":"x"}class $p{constructor(e){let{x:r,y:E,width:z,height:k}=e;this.x=r,this.y=E,this.width=z,this.height=k}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function A5(n,e){return{x:{before:Math.max(0,e.left-n.left),after:Math.max(0,n.right-e.right)},y:{before:Math.max(0,e.top-n.top),after:Math.max(0,n.bottom-e.bottom)}}}function J2(n){const e=n.getBoundingClientRect(),r=getComputedStyle(n),E=r.transform;if(E){let z,k,m,t,d;if(E.startsWith("matrix3d("))z=E.slice(9,-1).split(/, /),k=+z[0],m=+z[5],t=+z[12],d=+z[13];else if(E.startsWith("matrix("))z=E.slice(7,-1).split(/, /),k=+z[0],m=+z[3],t=+z[4],d=+z[5];else return new $p(e);const y=r.transformOrigin,i=e.x-t-(1-k)*parseFloat(y),M=e.y-d-(1-m)*parseFloat(y.slice(y.indexOf(" ")+1)),g=k?e.width/k:n.offsetWidth+1,h=m?e.height/m:n.offsetHeight+1;return new $p({x:i,y:M,width:g,height:h})}else return new $p(e)}function Dd(n,e,r){if(typeof n.animate>"u")return{finished:Promise.resolve()};let E;try{E=n.animate(e,r)}catch{return{finished:Promise.resolve()}}return typeof E.finished>"u"&&(E.finished=new Promise(z=>{E.onfinish=()=>{z(E)}})),E}const Tv=new WeakMap;function Kz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const E=f6(r),z=Tv.get(n);if(e[r]==null)z==null||z.forEach(k=>{const[m,t]=k;m===E&&(n.removeEventListener(E,t),z.delete(k))});else if(!z||![...z].some(k=>k[0]===E&&k[1]===e[r])){n.addEventListener(E,e[r]);const k=z||new Set;k.add([E,e[r]]),Tv.has(n)||Tv.set(n,k)}}else e[r]==null?n.removeAttribute(r):n.setAttribute(r,e[r])})}function Jz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const E=f6(r),z=Tv.get(n);z==null||z.forEach(k=>{const[m,t]=k;m===E&&(n.removeEventListener(E,t),z.delete(k))})}else n.removeAttribute(r)})}const Cp=2.4,S5=.2126729,C5=.7151522,E5=.072175,Qz=.55,eF=.58,tF=.57,nF=.62,lv=.03,L5=1.45,rF=5e-4,iF=1.25,aF=1.25,I5=.078,P5=12.82051282051282,uv=.06,O5=.001;function R5(n,e){const r=(n.r/255)**Cp,E=(n.g/255)**Cp,z=(n.b/255)**Cp,k=(e.r/255)**Cp,m=(e.g/255)**Cp,t=(e.b/255)**Cp;let d=r*S5+E*C5+z*E5,y=k*S5+m*C5+t*E5;if(d<=lv&&(d+=(lv-d)**L5),y<=lv&&(y+=(lv-y)**L5),Math.abs(y-d)d){const M=(y**Qz-d**eF)*iF;i=M-O5?0:M>-I5?M-M*P5*uv:M+uv}return i*100}function oF(n,e){e=Array.isArray(e)?e.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const cy=.20689655172413793,sF=n=>n>cy**3?Math.cbrt(n):n/(3*cy**2)+4/29,lF=n=>n>cy?n**3:3*cy**2*(n-4/29);function m6(n){const e=sF,r=e(n[1]);return[116*r-16,500*(e(n[0]/.95047)-r),200*(r-e(n[2]/1.08883))]}function g6(n){const e=lF,r=(n[0]+16)/116;return[e(r+n[1]/500)*.95047,e(r),e(r-n[2]/200)*1.08883]}const uF=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],cF=n=>n<=.0031308?n*12.92:1.055*n**(1/2.4)-.055,fF=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],hF=n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4;function v6(n){const e=Array(3),r=cF,E=uF;for(let z=0;z<3;++z)e[z]=Math.round(Xs(r(E[z][0]*n[0]+E[z][1]*n[1]+E[z][2]*n[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function Q2(n){let{r:e,g:r,b:E}=n;const z=[0,0,0],k=hF,m=fF;e=k(e/255),r=k(r/255),E=k(E/255);for(let t=0;t<3;++t)z[t]=m[t][0]*e+m[t][1]*r+m[t][2]*E;return z}function D5(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const z5=/^(?(?:rgb|hsl)a?)\((?.+)\)/,dF={rgb:(n,e,r,E)=>({r:n,g:e,b:r,a:E}),rgba:(n,e,r,E)=>({r:n,g:e,b:r,a:E}),hsl:(n,e,r,E)=>F5({h:n,s:e,l:r,a:E}),hsla:(n,e,r,E)=>F5({h:n,s:e,l:r,a:E}),hsv:(n,e,r,E)=>ih({h:n,s:e,v:r,a:E}),hsva:(n,e,r,E)=>ih({h:n,s:e,v:r,a:E})};function Pc(n){if(typeof n=="number")return{r:(n&16711680)>>16,g:(n&65280)>>8,b:n&255};if(typeof n=="string"&&z5.test(n)){const{groups:e}=n.match(z5),{fn:r,values:E}=e,z=E.split(/,\s*/).map(k=>k.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(k)/100:parseFloat(k));return dF[r](...z)}else if(typeof n=="string"){let e=n.startsWith("#")?n.slice(1):n;return[3,4].includes(e.length)?e=e.split("").map(r=>r+r).join(""):[6,8].includes(e.length),w6(e)}else if(typeof n=="object"){if(Rd(n,["r","g","b"]))return n;if(Rd(n,["h","s","l"]))return ih(e_(n));if(Rd(n,["h","s","v"]))return ih(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} +Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function ih(n){const{h:e,s:r,v:E,a:z}=n,k=t=>{const d=(t+e/60)%6;return E-E*r*Math.max(Math.min(d,4-d,1),0)},m=[k(5),k(3),k(1)].map(t=>Math.round(t*255));return{r:m[0],g:m[1],b:m[2],a:z}}function F5(n){return ih(e_(n))}function Xy(n){if(!n)return{h:0,s:1,v:1,a:1};const e=n.r/255,r=n.g/255,E=n.b/255,z=Math.max(e,r,E),k=Math.min(e,r,E);let m=0;z!==k&&(z===e?m=60*(0+(r-E)/(z-k)):z===r?m=60*(2+(E-e)/(z-k)):z===E&&(m=60*(4+(e-r)/(z-k)))),m<0&&(m=m+360);const t=z===0?0:(z-k)/z,d=[m,t,z];return{h:d[0],s:d[1],v:d[2],a:n.a}}function y6(n){const{h:e,s:r,v:E,a:z}=n,k=E-E*r/2,m=k===1||k===0?0:(E-k)/Math.min(k,1-k);return{h:e,s:m,l:k,a:z}}function e_(n){const{h:e,s:r,l:E,a:z}=n,k=E+r*Math.min(E,1-E),m=k===0?0:2-2*E/k;return{h:e,s:m,v:k,a:z}}function b6(n){let{r:e,g:r,b:E,a:z}=n;return z===void 0?`rgb(${e}, ${r}, ${E})`:`rgba(${e}, ${r}, ${E}, ${z})`}function x6(n){return b6(ih(n))}function cv(n){const e=Math.round(n).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function _6(n){let{r:e,g:r,b:E,a:z}=n;return`#${[cv(e),cv(r),cv(E),z!==void 0?cv(Math.round(z*255)):""].join("")}`}function w6(n){n=mF(n);let[e,r,E,z]=$z(n,2).map(k=>parseInt(k,16));return z=z===void 0?z:z/255,{r:e,g:r,b:E,a:z}}function pF(n){const e=w6(n);return Xy(e)}function T6(n){return _6(ih(n))}function mF(n){return n.startsWith("#")&&(n=n.slice(1)),n=n.replace(/([^0-9a-f])/gi,"F"),(n.length===3||n.length===4)&&(n=n.split("").map(e=>e+e).join("")),n.length!==6&&(n=_5(_5(n,6),8,"F")),n}function gF(n,e){const r=m6(Q2(n));return r[0]=r[0]+e*10,v6(g6(r))}function vF(n,e){const r=m6(Q2(n));return r[0]=r[0]-e*10,v6(g6(r))}function cx(n){const e=Pc(n);return Q2(e)[1]}function yF(n,e){const r=cx(n),E=cx(e),z=Math.max(r,E),k=Math.min(r,E);return(z+.05)/(k+.05)}function k6(n){const e=Math.abs(R5(Pc(0),Pc(n)));return Math.abs(R5(Pc(16777215),Pc(n)))>Math.min(e,50)?"#fff":"#000"}function ur(n,e){return r=>Object.keys(n).reduce((E,z)=>{const m=typeof n[z]=="object"&&n[z]!=null&&!Array.isArray(n[z])?n[z]:{type:n[z]};return r&&z in r?E[z]={...m,default:r[z]}:E[z]=m,e&&!E[z].source&&(E[z].source=e),E},{})}const Yr=ur({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function rc(n){if(n._setup=n._setup??n.setup,!n.name)return n;if(n._setup){n.props=ur(n.props??{},n.name)();const e=Object.keys(n.props);n.filterProps=function(E){return Yd(E,e,["class","style"])},n.props._as=String,n.setup=function(E,z){const k=r_();if(!k.value)return n._setup(E,z);const{props:m,provideSubDefaults:t}=AF(E,E._as??n.name,k),d=n._setup(m,z);return t(),d}}return n}function Ar(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(n?rc:$o)(e)}function Bc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return Ar()({name:r??sh(ec(n.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...Yr()},setup(E,z){let{slots:k}=z;return()=>{var m;return Xh(E.tag,{class:[n,E.class],style:E.style},(m=k.default)==null?void 0:m.call(k))}}})}function M6(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const e=n.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const zm="cubic-bezier(0.4, 0, 0.2, 1)",bF="cubic-bezier(0.0, 0, 0.2, 1)",xF="cubic-bezier(0.4, 0, 1, 1)";function Es(n,e){const r=Ey();if(!r)throw new Error(`[Vuetify] ${n} ${e||"must be called from inside a setup function"}`);return r}function hh(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Es(n).type;return Ud((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let A6=0,kv=new WeakMap;function Qs(){const n=Es("getUid");if(kv.has(n))return kv.get(n);{const e=A6++;return kv.set(n,e),e}}Qs.reset=()=>{A6=0,kv=new WeakMap};function t_(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;n;){if(e?_F(n):n_(n))return n;n=n.parentElement}return document.scrollingElement}function fy(n,e){const r=[];if(e&&n&&!e.contains(n))return r;for(;n&&(n_(n)&&r.push(n),n!==e);)n=n.parentElement;return r}function n_(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return e.overflowY==="scroll"||e.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function _F(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return["scroll","auto"].includes(e.overflowY)}function wF(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Es("injectSelf");const{provides:r}=e;if(r&&n in r)return r[n]}function TF(n){for(;n;){if(window.getComputedStyle(n).position==="fixed")return!0;n=n.offsetParent}return!1}function Rr(n){const e=Es("useRender");e.render=n}const u0=Symbol.for("vuetify:defaults");function kF(n){return Vr(n)}function r_(){const n=ka(u0);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function ns(n,e){const r=r_(),E=Vr(n),z=cn(()=>{if(yu(e==null?void 0:e.disabled))return r.value;const m=yu(e==null?void 0:e.scoped),t=yu(e==null?void 0:e.reset),d=yu(e==null?void 0:e.root);if(E.value==null&&!(m||t||d))return r.value;let y=Xu(E.value,{prev:r.value});if(m)return y;if(t||d){const i=Number(t||1/0);for(let M=0;M<=i&&!(!y||!("prev"in y));M++)y=y.prev;return y&&typeof d=="string"&&d in y&&(y=Xu(Xu(y,{prev:y}),y[d])),y}return y.prev?Xu(y.prev,y):y});return rs(u0,z),z}function MF(n,e){var r,E;return typeof((r=n.props)==null?void 0:r[e])<"u"||typeof((E=n.props)==null?void 0:E[Ud(e)])<"u"}function AF(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r_();const E=Es("useDefaults");if(e=e??E.type.name??E.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const z=cn(()=>{var d;return(d=r.value)==null?void 0:d[n._as??e]}),k=new Proxy(n,{get(d,y){var M,g,h,l;const i=Reflect.get(d,y);return y==="class"||y==="style"?[(M=z.value)==null?void 0:M[y],i].filter(a=>a!=null):typeof y=="string"&&!MF(E.vnode,y)?((g=z.value)==null?void 0:g[y])??((l=(h=r.value)==null?void 0:h.global)==null?void 0:l[y])??i:i}}),m=Wr();wu(()=>{if(z.value){const d=Object.entries(z.value).filter(y=>{let[i]=y;return i.startsWith(i[0].toUpperCase())});m.value=d.length?Object.fromEntries(d):void 0}else m.value=void 0});function t(){const d=wF(u0,E);rs(u0,cn(()=>m.value?Xu((d==null?void 0:d.value)??{},m.value):d==null?void 0:d.value))}return{props:k,provideSubDefaults:t}}const Ky=["sm","md","lg","xl","xxl"],fx=Symbol.for("vuetify:display"),B5={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},SF=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:B5;return Xu(B5,n)};function N5(n){return to&&!n?window.innerWidth:typeof n=="object"&&n.clientWidth||0}function V5(n){return to&&!n?window.innerHeight:typeof n=="object"&&n.clientHeight||0}function j5(n){const e=to&&!n?window.navigator.userAgent:"ssr";function r(l){return!!e.match(l)}const E=r(/android/i),z=r(/iphone|ipad|ipod/i),k=r(/cordova/i),m=r(/electron/i),t=r(/chrome/i),d=r(/edge/i),y=r(/firefox/i),i=r(/opera/i),M=r(/win/i),g=r(/mac/i),h=r(/linux/i);return{android:E,ios:z,cordova:k,electron:m,chrome:t,edge:d,firefox:y,opera:i,win:M,mac:g,linux:h,touch:jz,ssr:e==="ssr"}}function CF(n,e){const{thresholds:r,mobileBreakpoint:E}=SF(n),z=Wr(V5(e)),k=Wr(j5(e)),m=bl({}),t=Wr(N5(e));function d(){z.value=V5(),t.value=N5()}function y(){d(),k.value=j5()}return wu(()=>{const i=t.value=r.xxl,u=i?"xs":M?"sm":g?"md":h?"lg":l?"xl":"xxl",o=typeof E=="number"?E:r[E],s=t.valueXh(a_,{...n,class:"mdi"})},bi=[String,Function,Object,Array],hx=Symbol.for("vuetify:icons"),Jy=ur({icon:{type:bi},tag:{type:String,required:!0}},"icon"),dx=Ar()({name:"VComponentIcon",props:Jy(),setup(n,e){let{slots:r}=e;return()=>{const E=n.icon;return gt(n.tag,null,{default:()=>{var z;return[n.icon?gt(E,null,null):(z=r.default)==null?void 0:z.call(r)]}})}}}),i_=rc({name:"VSvgIcon",inheritAttrs:!1,props:Jy(),setup(n,e){let{attrs:r}=e;return()=>gt(n.tag,qr(r,{style:null}),{default:()=>[gt("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(E=>Array.isArray(E)?gt("path",{d:E[0],"fill-opacity":E[1]},null):gt("path",{d:E},null)):gt("path",{d:n.icon},null)])]})}}),IF=rc({name:"VLigatureIcon",props:Jy(),setup(n){return()=>gt(n.tag,null,{default:()=>[n.icon]})}}),a_=rc({name:"VClassIcon",props:Jy(),setup(n){return()=>gt(n.tag,{class:n.icon},null)}}),PF={svg:{component:i_},class:{component:a_}};function OF(n){return Xu({defaultSet:"mdi",sets:{...PF,mdi:LF},aliases:{...EF,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},n)}const RF=n=>{const e=ka(hx);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:cn(()=>{var d;const E=yu(n);if(!E)return{component:dx};let z=E;if(typeof z=="string"&&(z=z.trim(),z.startsWith("$")&&(z=(d=e.aliases)==null?void 0:d[z.slice(1)])),!z)throw new Error(`Could not find aliased icon "${E}"`);if(Array.isArray(z))return{component:i_,icon:z};if(typeof z!="string")return{component:dx,icon:z};const k=Object.keys(e.sets).find(y=>typeof z=="string"&&z.startsWith(`${y}:`)),m=k?z.slice(k.length+1):z;return{component:e.sets[k??e.defaultSet].component,icon:m}})}},DF={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},zF={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function Yh(n,e){let r;function E(){r=Um(),r.run(()=>e.length?e(()=>{r==null||r.stop(),E()}):e())}Xr(n,z=>{z&&!r?E():z||(r==null||r.stop(),r=void 0)},{immediate:!0}),Tl(()=>{r==null||r.stop()})}function xi(n,e,r){let E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M=>M,z=arguments.length>4&&arguments[4]!==void 0?arguments[4]:M=>M;const k=Es("useProxiedModel"),m=Vr(n[e]!==void 0?n[e]:r),t=Ud(e),y=cn(t!==e?()=>{var M,g,h,l;return n[e],!!(((M=k.vnode.props)!=null&&M.hasOwnProperty(e)||(g=k.vnode.props)!=null&&g.hasOwnProperty(t))&&((h=k.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${e}`)||(l=k.vnode.props)!=null&&l.hasOwnProperty(`onUpdate:${t}`)))}:()=>{var M,g;return n[e],!!((M=k.vnode.props)!=null&&M.hasOwnProperty(e)&&((g=k.vnode.props)!=null&&g.hasOwnProperty(`onUpdate:${e}`)))});Yh(()=>!y.value,()=>{Xr(()=>n[e],M=>{m.value=M})});const i=cn({get(){const M=n[e];return E(y.value?M:m.value)},set(M){const g=z(M),h=Si(y.value?n[e]:m.value);h===g||E(h)===M||(m.value=g,k==null||k.emit(`update:${e}`,g))}});return Object.defineProperty(i,"externalValue",{get:()=>y.value?n[e]:m.value}),i}const U5="$vuetify.",H5=(n,e)=>n.replace(/\{(\d+)\}/g,(r,E)=>String(e[+E])),S6=(n,e,r)=>function(E){for(var z=arguments.length,k=new Array(z>1?z-1:0),m=1;mnew Intl.NumberFormat([n.value,e.value],E).format(r)}function yb(n,e,r){const E=xi(n,e,n[e]??r.value);return E.value=n[e]??r.value,Xr(r,z=>{n[e]==null&&(E.value=r.value)}),E}function E6(n){return e=>{const r=yb(e,"locale",n.current),E=yb(e,"fallback",n.fallback),z=yb(e,"messages",n.messages);return{name:"vuetify",current:r,fallback:E,messages:z,t:S6(r,E,z),n:C6(r,E),provide:E6({current:r,fallback:E,messages:z})}}}function FF(n){const e=Wr((n==null?void 0:n.locale)??"en"),r=Wr((n==null?void 0:n.fallback)??"en"),E=Vr({en:DF,...n==null?void 0:n.messages});return{name:"vuetify",current:e,fallback:r,messages:E,t:S6(e,r,E),n:C6(e,r),provide:E6({current:e,fallback:r,messages:E})}}const c0=Symbol.for("vuetify:locale");function BF(n){return n.name!=null}function NF(n){const e=n!=null&&n.adapter&&BF(n==null?void 0:n.adapter)?n==null?void 0:n.adapter:FF(n),r=jF(e,n);return{...e,...r}}function ic(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function VF(n){const e=ka(c0);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");const r=e.provide(n),E=UF(r,e.rtl,n),z={...r,...E};return rs(c0,z),z}function jF(n,e){const r=Vr((e==null?void 0:e.rtl)??zF),E=cn(()=>r.value[n.current.value]??!1);return{isRtl:E,rtl:r,rtlClasses:cn(()=>`v-locale--is-${E.value?"rtl":"ltr"}`)}}function UF(n,e,r){const E=cn(()=>r.rtl??e.value[n.current.value]??!1);return{isRtl:E,rtl:e,rtlClasses:cn(()=>`v-locale--is-${E.value?"rtl":"ltr"}`)}}function Ls(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Fm=Symbol.for("vuetify:theme"),oa=ur({theme:String},"theme"),im={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function HF(){var r,E;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:im;if(!n)return{...im,isDisabled:!0};const e={};for(const[z,k]of Object.entries(n.themes??{})){const m=k.dark||z==="dark"?(r=im.themes)==null?void 0:r.dark:(E=im.themes)==null?void 0:E.light;e[z]=Xu(m,k)}return Xu(im,{...n,themes:e})}function GF(n){const e=HF(n),r=Vr(e.defaultTheme),E=Vr(e.themes),z=cn(()=>{const i={};for(const[M,g]of Object.entries(E.value)){const h=i[M]={...g,colors:{...g.colors}};if(e.variations)for(const l of e.variations.colors){const a=h.colors[l];if(a)for(const u of["lighten","darken"]){const o=u==="lighten"?gF:vF;for(const s of Jf(e.variations[u],1))h.colors[`${l}-${u}-${s}`]=_6(o(Pc(a),s))}}for(const l of Object.keys(h.colors)){if(/^on-[a-z]/.test(l)||h.colors[`on-${l}`])continue;const a=`on-${l}`,u=Pc(h.colors[l]);h.colors[a]=k6(u)}}return i}),k=cn(()=>z.value[r.value]),m=cn(()=>{const i=[];k.value.dark&&wd(i,":root",["color-scheme: dark"]),wd(i,":root",G5(k.value));for(const[l,a]of Object.entries(z.value))wd(i,`.v-theme--${l}`,[`color-scheme: ${a.dark?"dark":"normal"}`,...G5(a)]);const M=[],g=[],h=new Set(Object.values(z.value).flatMap(l=>Object.keys(l.colors)));for(const l of h)/^on-[a-z]/.test(l)?wd(g,`.${l}`,[`color: rgb(var(--v-theme-${l})) !important`]):(wd(M,`.bg-${l}`,[`--v-theme-overlay-multiplier: var(--v-theme-${l}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${l})) !important`,`color: rgb(var(--v-theme-on-${l})) !important`]),wd(g,`.text-${l}`,[`color: rgb(var(--v-theme-${l})) !important`]),wd(g,`.border-${l}`,[`--v-border-color: var(--v-theme-${l})`]));return i.push(...M,...g),i.map((l,a)=>a===0?l:` ${l}`).join("")});function t(){return{style:[{children:m.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function d(i){if(e.isDisabled)return;const M=i._context.provides.usehead;if(M)if(M.push){const h=M.push(t);to&&Xr(m,()=>{h.patch(t)})}else to?(M.addHeadObjs(cn(t)),wu(()=>M.updateDOM())):M.addHeadObjs(t());else{let l=function(){if(typeof document<"u"&&!h){const a=document.createElement("style");a.type="text/css",a.id="vuetify-theme-stylesheet",e.cspNonce&&a.setAttribute("nonce",e.cspNonce),h=a,document.head.appendChild(h)}h&&(h.innerHTML=m.value)};var g=l;let h=to?document.getElementById("vuetify-theme-stylesheet"):null;to?Xr(m,l,{immediate:!0}):l()}}const y=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`);return{install:d,isDisabled:e.isDisabled,name:r,themes:E,current:k,computedThemes:z,themeClasses:y,styles:m,global:{name:r,current:k}}}function Ma(n){Es("provideTheme");const e=ka(Fm,null);if(!e)throw new Error("Could not find Vuetify theme injection");const r=cn(()=>n.theme??e.name.value),E=cn(()=>e.themes.value[r.value]),z=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`),k={...e,name:r,current:E,themeClasses:z};return rs(Fm,k),k}function L6(){Es("useTheme");const n=ka(Fm,null);if(!n)throw new Error("Could not find Vuetify theme injection");return n}function wd(n,e,r){n.push(`${e} { `,...r.map(E=>` ${E}; `),`} -`)}function G5(n){const e=n.dark?2:1,r=n.dark?1:2,E=[];for(const[z,k]of Object.entries(n.colors)){const m=Oc(k);E.push(`--v-theme-${z}: ${m.r},${m.g},${m.b}`),z.startsWith("on-")||E.push(`--v-theme-${z}-overlay-multiplier: ${cx(k)>.18?e:r}`)}for(const[z,k]of Object.entries(n.variables)){const m=typeof k=="string"&&k.startsWith("#")?Oc(k):void 0,t=m?`${m.r}, ${m.g}, ${m.b}`:void 0;E.push(`--v-${z}: ${t??k}`)}return E}const px={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function jF(n,e){const r=[];let E=[];const z=I6(n),k=O6(n),m=z.getDay()-px[e.slice(-2).toUpperCase()],t=k.getDay()-px[e.slice(-2).toUpperCase()];for(let d=0;d{const E=new Date(W5);return E.setDate(W5.getDate()+e+r),new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(E)})}function qF(n,e,r){const E=new Date(n);let z={};switch(e){case"fullDateWithWeekday":z={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":z={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":z={};break;case"monthAndDate":z={month:"long",day:"numeric"};break;case"monthAndYear":z={month:"long",year:"numeric"};break;case"dayOfMonth":z={day:"numeric"};break;default:z={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,z).format(E)}function YF(n,e){const r=new Date(n);return r.setDate(r.getDate()+e),r}function $F(n,e){const r=new Date(n);return r.setMonth(r.getMonth()+e),r}function ZF(n){return n.getFullYear()}function XF(n){return n.getMonth()}function KF(n){return new Date(n.getFullYear(),0,1)}function JF(n){return new Date(n.getFullYear(),11,31)}function QF(n,e){return mx(n,e[0])&&tB(n,e[1])}function eB(n){if(!n||n==null)return!1;const e=new Date(n);return e instanceof Date&&!isNaN(e.getTime())}function mx(n,e){return n.getTime()>e.getTime()}function tB(n,e){return n.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const r=Vr(),E=Vr();if(to){const z=new ResizeObserver(k=>{n==null||n(k,z),k.length&&(e==="content"?E.value=k[0].contentRect:E.value=k[0].target.getBoundingClientRect())});kl(()=>{z.disconnect()}),Xr(r,(k,m)=>{m&&(z.unobserve(ox(m)),E.value=void 0),k&&z.observe(ox(k))},{flush:"post"})}return{resizeRef:r,contentRect:Hm(E)}}const hy=Symbol.for("vuetify:layout"),P6=Symbol.for("vuetify:layout-item"),$5=1e3,R6=ur({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),x0=ur({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function cB(){const n=ka(hy);if(!n)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:n.getLayoutItem,mainRect:n.mainRect,mainStyles:n.mainStyles}}function _0(n){const e=ka(hy);if(!e)throw new Error("[Vuetify] Could not find injected layout");const r=n.id??`layout-item-${Qs()}`,E=Ss("useLayoutItem");ts(P6,{id:r});const z=qr(!1);$T(()=>z.value=!0),YT(()=>z.value=!1);const{layoutItemStyles:k,layoutItemScrimStyles:m}=e.register(E,{...n,active:cn(()=>z.value?!1:n.active.value),id:r});return kl(()=>e.unregister(r)),{layoutItemStyles:k,layoutRect:e.layoutRect,layoutItemScrimStyles:m}}const fB=(n,e,r,E)=>{let z={top:0,left:0,right:0,bottom:0};const k=[{id:"",layer:{...z}}];for(const m of n){const t=e.get(m),d=r.get(m),y=E.get(m);if(!t||!d||!y)continue;const i={...z,[t.value]:parseInt(z[t.value],10)+(y.value?parseInt(d.value,10):0)};k.push({id:m,layer:i}),z=i}return k};function D6(n){const e=ka(hy,null),r=cn(()=>e?e.rootZIndex.value-100:$5),E=Vr([]),z=bl(new Map),k=bl(new Map),m=bl(new Map),t=bl(new Map),d=bl(new Map),{resizeRef:y,contentRect:i}=Tf(),M=cn(()=>{const w=new Map,v=n.overlaps??[];for(const S of v.filter(x=>x.includes(":"))){const[x,T]=S.split(":");if(!E.value.includes(x)||!E.value.includes(T))continue;const C=z.get(x),_=z.get(T),A=k.get(x),L=k.get(T);!C||!_||!A||!L||(w.set(T,{position:C.value,amount:parseInt(A.value,10)}),w.set(x,{position:_.value,amount:-parseInt(L.value,10)}))}return w}),g=cn(()=>{const w=[...new Set([...m.values()].map(S=>S.value))].sort((S,x)=>S-x),v=[];for(const S of w){const x=E.value.filter(T=>{var C;return((C=m.get(T))==null?void 0:C.value)===S});v.push(...x)}return fB(v,z,k,t)}),h=cn(()=>!Array.from(d.values()).some(w=>w.value)),l=cn(()=>g.value[g.value.length-1].layer),a=cn(()=>({"--v-layout-left":Qr(l.value.left),"--v-layout-right":Qr(l.value.right),"--v-layout-top":Qr(l.value.top),"--v-layout-bottom":Qr(l.value.bottom),...h.value?void 0:{transition:"none"}})),u=cn(()=>g.value.slice(1).map((w,v)=>{let{id:S}=w;const{layer:x}=g.value[v],T=k.get(S),C=z.get(S);return{id:S,...x,size:Number(T.value),position:C.value}})),o=w=>u.value.find(v=>v.id===w),s=Ss("createLayout"),f=qr(!1);Js(()=>{f.value=!0}),ts(hy,{register:(w,v)=>{let{id:S,order:x,position:T,layoutSize:C,elementSize:_,active:A,disableTransitions:L,absolute:b}=v;m.set(S,x),z.set(S,T),k.set(S,C),t.set(S,A),L&&d.set(S,L);const I=ym(P6,s==null?void 0:s.vnode).indexOf(w);I>-1?E.value.splice(I,0,S):E.value.push(S);const R=cn(()=>u.value.findIndex(N=>N.id===S)),D=cn(()=>r.value+g.value.length*2-R.value*2),F=cn(()=>{const N=T.value==="left"||T.value==="right",q=T.value==="right",j=T.value==="bottom",$={[T.value]:0,zIndex:D.value,transform:`translate${N?"X":"Y"}(${(A.value?0:-110)*(q||j?-1:1)}%)`,position:b.value||r.value!==$5?"absolute":"fixed",...h.value?void 0:{transition:"none"}};if(!f.value)return $;const U=u.value[R.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${S}"`);const G=M.value.get(S);return G&&(U[G.position]+=G.amount),{...$,height:N?`calc(100% - ${U.top}px - ${U.bottom}px)`:_.value?`${_.value}px`:void 0,left:q?void 0:`${U.left}px`,right:q?`${U.right}px`:void 0,top:T.value!=="bottom"?`${U.top}px`:void 0,bottom:T.value!=="top"?`${U.bottom}px`:void 0,width:N?_.value?`${_.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),B=cn(()=>({zIndex:D.value-1}));return{layoutItemStyles:F,layoutItemScrimStyles:B,zIndex:D}},unregister:w=>{m.delete(w),z.delete(w),k.delete(w),t.delete(w),d.delete(w),E.value=E.value.filter(v=>v!==w)},mainRect:l,mainStyles:a,getLayoutItem:o,items:u,layoutRect:i,rootZIndex:r});const c=cn(()=>["v-layout",{"v-layout--full-height":n.fullHeight}]),p=cn(()=>({zIndex:r.value,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:c,layoutStyles:p,getLayoutItem:o,items:u,layoutRect:i,layoutRef:y}}function z6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...r}=n,E=Xu(e,r),{aliases:z={},components:k={},directives:m={}}=E,t=xF(E.defaults),d=kF(E.display,E.ssr),y=VF(E.theme),i=EF(E.icons),M=DF(E.locale),g=uB(E.date);return{install:l=>{for(const a in m)l.directive(a,m[a]);for(const a in k)l.component(a,k[a]);for(const a in z)l.component(a,rc({...z[a],name:a,aliasName:z[a].name}));if(y.install(l),l.provide(u0,t),l.provide(fx,d),l.provide(Fm,y),l.provide(hx,i),l.provide(c0,M),l.provide(Y5,g),to&&E.ssr)if(l.$nuxt)l.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:a}=l;l.mount=function(){const u=a(...arguments);return Ua(()=>d.update()),l.mount=a,u}}Qs.reset(),l.mixin({computed:{$vuetify(){return bl({defaults:Ep.call(this,u0),display:Ep.call(this,fx),theme:Ep.call(this,Fm),icons:Ep.call(this,hx),locale:Ep.call(this,c0),date:Ep.call(this,Y5)})}}})},defaults:t,display:d,theme:y,icons:i,locale:M,date:g}}const hB="3.3.16";z6.version=hB;function Ep(n){var E,z;const e=this.$,r=((E=e.parent)==null?void 0:E.provides)??((z=e.vnode.appContext)==null?void 0:z.provides);if(r&&n in r)return r[n]}const dB=ur({...$r(),...R6({fullHeight:!0}),...oa()},"VApp"),pB=Ar()({name:"VApp",props:dB(),setup(n,e){let{slots:r}=e;const E=Ma(n),{layoutClasses:z,layoutStyles:k,getLayoutItem:m,items:t,layoutRef:d}=D6(n),{rtlClasses:y}=Cs();return Rr(()=>{var i;return gt("div",{ref:d,class:["v-application",E.themeClasses.value,z.value,y.value,n.class],style:[k.value,n.style]},[gt("div",{class:"v-application__wrap"},[(i=r.default)==null?void 0:i.call(r)])])}),{getLayoutItem:m,items:t,theme:E}}});const Ai=ur({tag:{type:String,default:"div"}},"tag"),F6=ur({text:String,...$r(),...Ai()},"VToolbarTitle"),o_=Ar()({name:"VToolbarTitle",props:F6(),setup(n,e){let{slots:r}=e;return Rr(()=>{const E=!!(r.default||r.text||n.text);return gt(n.tag,{class:["v-toolbar-title",n.class],style:n.style},{default:()=>{var z;return[E&>("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():n.text,(z=r.default)==null?void 0:z.call(r)])]}})}),{}}}),mB=ur({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Au(n,e,r){return Ar()({name:n,props:mB({mode:r,origin:e}),setup(E,z){let{slots:k}=z;const m={onBeforeEnter(t){E.origin&&(t.style.transformOrigin=E.origin)},onLeave(t){if(E.leaveAbsolute){const{offsetTop:d,offsetLeft:y,offsetWidth:i,offsetHeight:M}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=`${d}px`,t.style.left=`${y}px`,t.style.width=`${i}px`,t.style.height=`${M}px`}E.hideOnLeave&&t.style.setProperty("display","none","important")},onAfterLeave(t){if(E.leaveAbsolute&&(t!=null&&t._transitionInitialStyles)){const{position:d,top:y,left:i,width:M,height:g}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=d||"",t.style.top=y||"",t.style.left=i||"",t.style.width=M||"",t.style.height=g||""}}};return()=>{const t=E.group?b7:bf;return Xh(t,{name:E.disabled?"":n,css:!E.disabled,...E.group?void 0:{mode:E.mode},...E.disabled?{}:m},k.default)}}})}function B6(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Ar()({name:n,props:{mode:{type:String,default:r},disabled:Boolean},setup(E,z){let{slots:k}=z;return()=>Xh(bf,{name:E.disabled?"":n,css:!E.disabled,...E.disabled?{}:e},k.default)}})}function N6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",E=ec(`offset-${r}`);return{onBeforeEnter(m){m._parent=m.parentNode,m._initialStyle={transition:m.style.transition,overflow:m.style.overflow,[r]:m.style[r]}},onEnter(m){const t=m._initialStyle;m.style.setProperty("transition","none","important"),m.style.overflow="hidden";const d=`${m[E]}px`;m.style[r]="0",m.offsetHeight,m.style.transition=t.transition,n&&m._parent&&m._parent.classList.add(n),requestAnimationFrame(()=>{m.style[r]=d})},onAfterEnter:k,onEnterCancelled:k,onLeave(m){m._initialStyle={transition:"",overflow:m.style.overflow,[r]:m.style[r]},m.style.overflow="hidden",m.style[r]=`${m[E]}px`,m.offsetHeight,requestAnimationFrame(()=>m.style[r]="0")},onAfterLeave:z,onLeaveCancelled:z};function z(m){n&&m._parent&&m._parent.classList.remove(n),k(m)}function k(m){const t=m._initialStyle[r];m.style.overflow=m._initialStyle.overflow,t!=null&&(m.style[r]=t),delete m._initialStyle}}const gB=ur({target:Object},"v-dialog-transition"),Qy=Ar()({name:"VDialogTransition",props:gB(),setup(n,e){let{slots:r}=e;const E={onBeforeEnter(z){z.style.pointerEvents="none",z.style.visibility="hidden"},async onEnter(z,k){var g;await new Promise(h=>requestAnimationFrame(h)),await new Promise(h=>requestAnimationFrame(h)),z.style.visibility="";const{x:m,y:t,sx:d,sy:y,speed:i}=X5(n.target,z),M=Dd(z,[{transform:`translate(${m}px, ${t}px) scale(${d}, ${y})`,opacity:0},{}],{duration:225*i,easing:mF});(g=Z5(z))==null||g.forEach(h=>{Dd(h,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*i,easing:zm})}),M.finished.then(()=>k())},onAfterEnter(z){z.style.removeProperty("pointer-events")},onBeforeLeave(z){z.style.pointerEvents="none"},async onLeave(z,k){var g;await new Promise(h=>requestAnimationFrame(h));const{x:m,y:t,sx:d,sy:y,speed:i}=X5(n.target,z);Dd(z,[{},{transform:`translate(${m}px, ${t}px) scale(${d}, ${y})`,opacity:0}],{duration:125*i,easing:gF}).finished.then(()=>k()),(g=Z5(z))==null||g.forEach(h=>{Dd(h,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*i,easing:zm})})},onAfterLeave(z){z.style.removeProperty("pointer-events")}};return()=>n.target?gt(bf,Wr({name:"dialog-transition"},E,{css:!1}),r):gt(bf,{name:"dialog-transition"},r)}});function Z5(n){var r;const e=(r=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return e&&[...e]}function X5(n,e){const r=n.getBoundingClientRect(),E=J2(e),[z,k]=getComputedStyle(e).transformOrigin.split(" ").map(o=>parseFloat(o)),[m,t]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;m==="left"||t==="left"?d-=r.width/2:(m==="right"||t==="right")&&(d+=r.width/2);let y=r.top+r.height/2;m==="top"||t==="top"?y-=r.height/2:(m==="bottom"||t==="bottom")&&(y+=r.height/2);const i=r.width/E.width,M=r.height/E.height,g=Math.max(1,i,M),h=i/g||0,l=M/g||0,a=E.width*E.height/(window.innerWidth*window.innerHeight),u=a>.12?Math.min(1.5,(a-.12)*10+1):1;return{x:d-(z+E.left),y:y-(k+E.top),sx:h,sy:l,speed:u}}const vB=Au("fab-transition","center center","out-in"),yB=Au("dialog-bottom-transition"),bB=Au("dialog-top-transition"),gx=Au("fade-transition"),s_=Au("scale-transition"),xB=Au("scroll-x-transition"),_B=Au("scroll-x-reverse-transition"),wB=Au("scroll-y-transition"),TB=Au("scroll-y-reverse-transition"),kB=Au("slide-x-transition"),MB=Au("slide-x-reverse-transition"),l_=Au("slide-y-transition"),AB=Au("slide-y-reverse-transition"),e1=B6("expand-transition",N6()),u_=B6("expand-x-transition",N6("",!0)),SB=ur({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),za=Ar(!1)({name:"VDefaultsProvider",props:SB(),setup(n,e){let{slots:r}=e;const{defaults:E,disabled:z,reset:k,root:m,scoped:t}=by(n);return es(E,{reset:k,root:m,scoped:t,disabled:z}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});const ac=ur({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function oc(n){return{dimensionStyles:cn(()=>({height:Qr(n.height),maxHeight:Qr(n.maxHeight),maxWidth:Qr(n.maxWidth),minHeight:Qr(n.minHeight),minWidth:Qr(n.minWidth),width:Qr(n.width)}))}}function CB(n){return{aspectStyles:cn(()=>{const e=Number(n.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const V6=ur({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...$r(),...ac()},"VResponsive"),vx=Ar()({name:"VResponsive",props:V6(),setup(n,e){let{slots:r}=e;const{aspectStyles:E}=CB(n),{dimensionStyles:z}=oc(n);return Rr(()=>{var k;return gt("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[z.value,n.style]},[gt("div",{class:"v-responsive__sizer",style:E.value},null),(k=r.additional)==null?void 0:k.call(r),r.default&>("div",{class:["v-responsive__content",n.contentClass]},[r.default()])])}),{}}}),dh=ur({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Pc=(n,e)=>{let{slots:r}=e;const{transition:E,disabled:z,...k}=n,{component:m=bf,...t}=typeof E=="object"?E:{};return Xh(m,Wr(typeof E=="string"?{name:z?"":E}:t,k,{disabled:z}),r)};function EB(n,e){if(!$2)return;const r=e.modifiers||{},E=e.value,{handler:z,options:k}=typeof E=="object"?E:{handler:E,options:{}},m=new IntersectionObserver(function(){var M;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const y=(M=n._observe)==null?void 0:M[e.instance.$.uid];if(!y)return;const i=t.some(g=>g.isIntersecting);z&&(!r.quiet||y.init)&&(!r.once||i||y.init)&&z(i,t,d),i&&r.once?j6(n,e):y.init=!0},k);n._observe=Object(n._observe),n._observe[e.instance.$.uid]={init:!1,observer:m},m.observe(n)}function j6(n,e){var E;const r=(E=n._observe)==null?void 0:E[e.instance.$.uid];r&&(r.observer.unobserve(n),delete n._observe[e.instance.$.uid])}const og={mounted:EB,unmounted:j6},U6=ur({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...V6(),...$r(),...dh()},"VImg"),Zd=Ar()({name:"VImg",directives:{intersect:og},props:U6(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,e){let{emit:r,slots:E}=e;const z=qr(""),k=Vr(),m=qr(n.eager?"loading":"idle"),t=qr(),d=qr(),y=cn(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),i=cn(()=>y.value.aspect||t.value/d.value||0);Xr(()=>n.src,()=>{M(m.value!=="idle")}),Xr(i,(S,x)=>{!S&&x&&k.value&&u(k.value)}),Sy(()=>M());function M(S){if(!(n.eager&&S)&&!($2&&!S&&!n.eager)){if(m.value="loading",y.value.lazySrc){const x=new Image;x.src=y.value.lazySrc,u(x,null)}y.value.src&&Ua(()=>{var x,T;if(r("loadstart",((x=k.value)==null?void 0:x.currentSrc)||y.value.src),(T=k.value)!=null&&T.complete){if(k.value.naturalWidth||h(),m.value==="error")return;i.value||u(k.value,null),g()}else i.value||u(k.value),l()})}}function g(){var S;l(),m.value="loaded",r("load",((S=k.value)==null?void 0:S.currentSrc)||y.value.src)}function h(){var S;m.value="error",r("error",((S=k.value)==null?void 0:S.currentSrc)||y.value.src)}function l(){const S=k.value;S&&(z.value=S.currentSrc||S.src)}let a=-1;function u(S){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const T=()=>{clearTimeout(a);const{naturalHeight:C,naturalWidth:_}=S;C||_?(t.value=_,d.value=C):!S.complete&&m.value==="loading"&&x!=null?a=window.setTimeout(T,x):(S.currentSrc.endsWith(".svg")||S.currentSrc.startsWith("data:image/svg+xml"))&&(t.value=1,d.value=1)};T()}const o=cn(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),s=()=>{var T;if(!y.value.src||m.value==="idle")return null;const S=gt("img",{class:["v-img__img",o.value],src:y.value.src,srcset:y.value.srcset,alt:n.alt,sizes:n.sizes,ref:k,onLoad:g,onError:h},null),x=(T=E.sources)==null?void 0:T.call(E);return gt(Pc,{transition:n.transition,appear:!0},{default:()=>[Co(x?gt("picture",{class:"v-img__picture"},[x,S]):S,[[kf,m.value==="loaded"]])]})},f=()=>gt(Pc,{transition:n.transition},{default:()=>[y.value.lazySrc&&m.value!=="loaded"&>("img",{class:["v-img__img","v-img__img--preload",o.value],src:y.value.lazySrc,alt:n.alt},null)]}),c=()=>E.placeholder?gt(Pc,{transition:n.transition,appear:!0},{default:()=>[(m.value==="loading"||m.value==="error"&&!E.error)&>("div",{class:"v-img__placeholder"},[E.placeholder()])]}):null,p=()=>E.error?gt(Pc,{transition:n.transition,appear:!0},{default:()=>[m.value==="error"&>("div",{class:"v-img__error"},[E.error()])]}):null,w=()=>n.gradient?gt("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,v=qr(!1);{const S=Xr(i,x=>{x&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{v.value=!0})}),S())})}return Rr(()=>{const[S]=vx.filterProps(n);return Co(gt(vx,Wr({class:["v-img",{"v-img--booting":!v.value},n.class],style:[{width:Qr(n.width==="auto"?t.value:n.width)},n.style]},S,{aspectRatio:i.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>gt(Yr,null,[gt(s,null,null),gt(f,null,null),gt(w,null,null),gt(c,null,null),gt(p,null,null)]),default:E.default}),[[Tu("intersect"),{handler:M,options:n.options},null,{once:!0}]])}),{currentSrc:z,image:k,state:m,naturalWidth:t,naturalHeight:d}}}),Su=ur({border:[Boolean,Number,String]},"border");function sc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{borderClasses:cn(()=>{const E=eo(n)?n.value:n.border,z=[];if(E===!0||E==="")z.push(`${e}--border`);else if(typeof E=="string"||E===0)for(const k of String(E).split(" "))z.push(`border-${k}`);return z})}}function c_(n){return X2(()=>{const e=[],r={};if(n.value.background)if(D5(n.value.background)){if(r.backgroundColor=n.value.background,!n.value.text){const E=k6(r.backgroundColor);r.color=E,r.caretColor=E}}else e.push(`bg-${n.value.background}`);return n.value.text&&(D5(n.value.text)?(r.color=n.value.text,r.caretColor=n.value.text):e.push(`text-${n.value.text}`)),{colorClasses:e,colorStyles:r}})}function Ks(n,e){const r=cn(()=>({text:eo(n)?n.value:e?n[e]:null})),{colorClasses:E,colorStyles:z}=c_(r);return{textColorClasses:E,textColorStyles:z}}function Ro(n,e){const r=cn(()=>({background:eo(n)?n.value:e?n[e]:null})),{colorClasses:E,colorStyles:z}=c_(r);return{backgroundColorClasses:E,backgroundColorStyles:z}}const hs=ur({elevation:{type:[Number,String],validator(n){const e=parseInt(n);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Vs(n){return{elevationClasses:cn(()=>{const r=eo(n)?n.value:n.elevation,E=[];return r==null||E.push(`elevation-${r}`),E})}}const lo=ur({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Eo(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{roundedClasses:cn(()=>{const E=eo(n)?n.value:n.rounded,z=[];if(E===!0||E==="")z.push(`${e}--rounded`);else if(typeof E=="string"||E===0)for(const k of String(E).split(" "))z.push(`rounded-${k}`);return z})}}const LB=[null,"prominent","default","comfortable","compact"],H6=ur({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:n=>LB.includes(n)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Su(),...$r(),...hs(),...lo(),...Ai({tag:"header"}),...oa()},"VToolbar"),yx=Ar()({name:"VToolbar",props:H6(),setup(n,e){var h;let{slots:r}=e;const{backgroundColorClasses:E,backgroundColorStyles:z}=Ro(Cr(n,"color")),{borderClasses:k}=sc(n),{elevationClasses:m}=Vs(n),{roundedClasses:t}=Eo(n),{themeClasses:d}=Ma(n),{rtlClasses:y}=Cs(),i=qr(!!(n.extended||(h=r.extension)!=null&&h.call(r))),M=cn(()=>parseInt(Number(n.height)+(n.density==="prominent"?Number(n.height):0)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0),10)),g=cn(()=>i.value?parseInt(Number(n.extensionHeight)+(n.density==="prominent"?Number(n.extensionHeight):0)-(n.density==="comfortable"?4:0)-(n.density==="compact"?8:0),10):0);return es({VBtn:{variant:"text"}}),Rr(()=>{var o;const l=!!(n.title||r.title),a=!!(r.image||n.image),u=(o=r.extension)==null?void 0:o.call(r);return i.value=!!(n.extended||u),gt(n.tag,{class:["v-toolbar",{"v-toolbar--absolute":n.absolute,"v-toolbar--collapse":n.collapse,"v-toolbar--flat":n.flat,"v-toolbar--floating":n.floating,[`v-toolbar--density-${n.density}`]:!0},E.value,k.value,m.value,t.value,d.value,y.value,n.class],style:[z.value,n.style]},{default:()=>[a&>("div",{key:"image",class:"v-toolbar__image"},[r.image?gt(za,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},r.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(za,{defaults:{VTabs:{height:Qr(M.value)}}},{default:()=>{var s,f,c;return[gt("div",{class:"v-toolbar__content",style:{height:Qr(M.value)}},[r.prepend&>("div",{class:"v-toolbar__prepend"},[(s=r.prepend)==null?void 0:s.call(r)]),l&>(o_,{key:"title",text:n.title},{text:r.title}),(f=r.default)==null?void 0:f.call(r),r.append&>("div",{class:"v-toolbar__append"},[(c=r.append)==null?void 0:c.call(r)])])]}}),gt(za,{defaults:{VTabs:{height:Qr(g.value)}}},{default:()=>[gt(e1,null,{default:()=>[i.value&>("div",{class:"v-toolbar__extension",style:{height:Qr(g.value)}},[u])]})]})]})}),{contentHeight:M,extensionHeight:g}}}),IB=ur({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function OB(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=e;let E=0;const z=Vr(null),k=qr(0),m=qr(0),t=qr(0),d=qr(!1),y=qr(!1),i=cn(()=>Number(n.scrollThreshold)),M=cn(()=>Xs((i.value-k.value)/i.value||0)),g=()=>{const h=z.value;!h||r&&!r.value||(E=k.value,k.value="window"in h?h.pageYOffset:h.scrollTop,y.value=k.value{m.value=m.value||k.value}),Xr(d,()=>{m.value=0}),Js(()=>{Xr(()=>n.scrollTarget,h=>{var a;const l=h?document.querySelector(h):window;l&&l!==z.value&&((a=z.value)==null||a.removeEventListener("scroll",g),z.value=l,z.value.addEventListener("scroll",g,{passive:!0}))},{immediate:!0})}),kl(()=>{var h;(h=z.value)==null||h.removeEventListener("scroll",g)}),r&&Xr(r,g,{immediate:!0}),{scrollThreshold:i,currentScroll:k,currentThreshold:t,isScrollActive:d,scrollRatio:M,isScrollingUp:y,savedScroll:m}}function tp(){const n=qr(!1);return Js(()=>{window.requestAnimationFrame(()=>{n.value=!0})}),{ssrBootStyles:cn(()=>n.value?void 0:{transition:"none !important"}),isBooted:Hm(n)}}const PB=ur({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},...H6(),...x0(),...IB(),height:{type:[Number,String],default:64}},"VAppBar"),RB=Ar()({name:"VAppBar",props:PB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=Vr(),z=xi(n,"modelValue"),k=cn(()=>{var s;const o=new Set(((s=n.scrollBehavior)==null?void 0:s.split(" "))??[]);return{hide:o.has("hide"),inverted:o.has("inverted"),collapse:o.has("collapse"),elevate:o.has("elevate"),fadeImage:o.has("fade-image")}}),m=cn(()=>{const o=k.value;return o.hide||o.inverted||o.collapse||o.elevate||o.fadeImage||!z.value}),{currentScroll:t,scrollThreshold:d,isScrollingUp:y,scrollRatio:i}=OB(n,{canScroll:m}),M=cn(()=>n.collapse||k.value.collapse&&(k.value.inverted?i.value>0:i.value===0)),g=cn(()=>n.flat||k.value.elevate&&(k.value.inverted?t.value>0:t.value===0)),h=cn(()=>k.value.fadeImage?k.value.inverted?1-i.value:i.value:void 0),l=cn(()=>{var f,c;if(k.value.hide&&k.value.inverted)return 0;const o=((f=E.value)==null?void 0:f.contentHeight)??0,s=((c=E.value)==null?void 0:c.extensionHeight)??0;return o+s});$h(cn(()=>!!n.scrollBehavior),()=>{wu(()=>{k.value.hide?k.value.inverted?z.value=t.value>d.value:z.value=y.value||t.valueparseInt(n.order,10)),position:Cr(n,"location"),layoutSize:l,elementSize:qr(void 0),active:z,absolute:Cr(n,"absolute")});return Rr(()=>{const[o]=yx.filterProps(n);return gt(yx,Wr({ref:E,class:["v-app-bar",{"v-app-bar--bottom":n.location==="bottom"},n.class],style:[{...u.value,"--v-toolbar-image-opacity":h.value,height:void 0,...a.value},n.style]},o,{collapse:M.value,flat:g.value}),r)}),{}}});const DB=[null,"default","comfortable","compact"],ds=ur({density:{type:String,default:"default",validator:n=>DB.includes(n)}},"density");function el(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{densityClasses:cn(()=>`${e}--density-${n.density}`)}}const zB=["elevated","flat","tonal","outlined","text","plain"];function np(n,e){return gt(Yr,null,[n&>("span",{key:"overlay",class:`${e}__overlay`},null),gt("span",{key:"underlay",class:`${e}__underlay`},null)])}const lc=ur({color:String,variant:{type:String,default:"elevated",validator:n=>zB.includes(n)}},"variant");function rp(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();const r=cn(()=>{const{variant:k}=yu(n);return`${e}--variant-${k}`}),{colorClasses:E,colorStyles:z}=c_(cn(()=>{const{variant:k,color:m}=yu(n);return{[["elevated","flat"].includes(k)?"background":"text"]:m}}));return{colorClasses:E,colorStyles:z,variantClasses:r}}const G6=ur({divided:Boolean,...Su(),...$r(),...ds(),...hs(),...lo(),...Ai(),...oa(),...lc()},"VBtnGroup"),bx=Ar()({name:"VBtnGroup",props:G6(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{densityClasses:z}=el(n),{borderClasses:k}=sc(n),{elevationClasses:m}=Vs(n),{roundedClasses:t}=Eo(n);es({VBtn:{height:"auto",color:Cr(n,"color"),density:Cr(n,"density"),flat:!0,variant:Cr(n,"variant")}}),Rr(()=>gt(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},E.value,k.value,z.value,m.value,t.value,n.class],style:n.style},r))}}),w0=ur({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),T0=ur({value:null,disabled:Boolean,selectedClass:String},"group-item");function k0(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const E=Ss("useGroupItem");if(!E)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const z=Qs();ts(Symbol.for(`${e.description}:id`),z);const k=ka(e,null);if(!k){if(!r)return k;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const m=Cr(n,"value"),t=cn(()=>!!(k.disabled.value||n.disabled));k.register({id:z,value:m,disabled:t},E),kl(()=>{k.unregister(z)});const d=cn(()=>k.isSelected(z)),y=cn(()=>d.value&&[k.selectedClass.value,n.selectedClass]);return Xr(d,i=>{E.emit("group:selected",{value:i})}),{id:z,isSelected:d,toggle:()=>k.select(z,!d.value),select:i=>k.select(z,i),selectedClass:y,value:m,disabled:t,group:k}}function ip(n,e){let r=!1;const E=bl([]),z=xi(n,"modelValue",[],g=>g==null?[]:W6(E,bu(g)),g=>{const h=BB(E,g);return n.multiple?h:h[0]}),k=Ss("useGroup");function m(g,h){const l=g,a=Symbol.for(`${e.description}:id`),o=ym(a,k==null?void 0:k.vnode).indexOf(h);o>-1?E.splice(o,0,l):E.push(l)}function t(g){if(r)return;d();const h=E.findIndex(l=>l.id===g);E.splice(h,1)}function d(){const g=E.find(h=>!h.disabled);g&&n.mandatory==="force"&&!z.value.length&&(z.value=[g.id])}Js(()=>{d()}),kl(()=>{r=!0});function y(g,h){const l=E.find(a=>a.id===g);if(!(h&&(l!=null&&l.disabled)))if(n.multiple){const a=z.value.slice(),u=a.findIndex(s=>s===g),o=~u;if(h=h??!o,o&&n.mandatory&&a.length<=1||!o&&n.max!=null&&a.length+1>n.max)return;u<0&&h?a.push(g):u>=0&&!h&&a.splice(u,1),z.value=a}else{const a=z.value.includes(g);if(n.mandatory&&a)return;z.value=h??!a?[g]:[]}}function i(g){if(n.multiple,z.value.length){const h=z.value[0],l=E.findIndex(o=>o.id===h);let a=(l+g)%E.length,u=E[a];for(;u.disabled&&a!==l;)a=(a+g)%E.length,u=E[a];if(u.disabled)return;z.value=[E[a].id]}else{const h=E.find(l=>!l.disabled);h&&(z.value=[h.id])}}const M={register:m,unregister:t,selected:z,select:y,disabled:Cr(n,"disabled"),prev:()=>i(E.length-1),next:()=>i(1),isSelected:g=>z.value.includes(g),selectedClass:cn(()=>n.selectedClass),items:cn(()=>E),getItemIndex:g=>FB(E,g)};return ts(e,M),M}function FB(n,e){const r=W6(n,[e]);return r.length?n.findIndex(E=>E.id===r[0]):-1}function W6(n,e){const r=[];return e.forEach(E=>{const z=n.find(m=>b0(E,m.value)),k=n[E];(z==null?void 0:z.value)!=null?r.push(z.id):k!=null&&r.push(k.id)}),r}function BB(n,e){const r=[];return e.forEach(E=>{const z=n.findIndex(k=>k.id===E);if(~z){const k=n[z];r.push(k.value!=null?k.value:z)}}),r}const f_=Symbol.for("vuetify:v-btn-toggle"),NB=ur({...G6(),...w0()},"VBtnToggle"),VB=Ar()({name:"VBtnToggle",props:NB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:E,next:z,prev:k,select:m,selected:t}=ip(n,f_);return Rr(()=>{const[d]=bx.filterProps(n);return gt(bx,Wr({class:["v-btn-toggle",n.class]},d,{style:n.style}),{default:()=>{var y;return[(y=r.default)==null?void 0:y.call(r,{isSelected:E,next:z,prev:k,select:m,selected:t})]}})}),{next:z,prev:k,select:m}}});const jB=["x-small","small","default","large","x-large"],ph=ur({size:{type:[String,Number],default:"default"}},"size");function M0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return X2(()=>{let r,E;return ly(jB,n.size)?r=`${e}--size-${n.size}`:n.size&&(E={width:Qr(n.size),height:Qr(n.size)}),{sizeClasses:r,sizeStyles:E}})}const UB=ur({color:String,start:Boolean,end:Boolean,icon:bi,...$r(),...ph(),...Ai({tag:"i"}),...oa()},"VIcon"),ja=Ar()({name:"VIcon",props:UB(),setup(n,e){let{attrs:r,slots:E}=e;const z=Vr(),{themeClasses:k}=Ma(n),{iconData:m}=LF(cn(()=>z.value||n.icon)),{sizeClasses:t}=M0(n),{textColorClasses:d,textColorStyles:y}=Ks(Cr(n,"color"));return Rr(()=>{var M,g;const i=(M=E.default)==null?void 0:M.call(E);return i&&(z.value=(g=c6(i).filter(h=>h.type===Gm&&h.children&&typeof h.children=="string")[0])==null?void 0:g.children),gt(m.value.component,{tag:n.tag,icon:m.value.icon,class:["v-icon","notranslate",k.value,t.value,d.value,{"v-icon--clickable":!!r.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[t.value?void 0:{fontSize:Qr(n.size),height:Qr(n.size),width:Qr(n.size)},y.value,n.style],role:r.onClick?"button":void 0,"aria-hidden":!r.onClick},{default:()=>[i]})}),{}}});function h_(n,e){const r=Vr(),E=qr(!1);if($2){const z=new IntersectionObserver(k=>{n==null||n(k,z),E.value=!!k.find(m=>m.isIntersecting)},e);kl(()=>{z.disconnect()}),Xr(r,(k,m)=>{m&&(z.unobserve(m),E.value=!1),k&&z.observe(k)},{flush:"post"})}return{intersectionRef:r,isIntersecting:E}}const HB=ur({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...$r(),...ph(),...Ai({tag:"div"}),...oa()},"VProgressCircular"),d_=Ar()({name:"VProgressCircular",props:HB(),setup(n,e){let{slots:r}=e;const E=20,z=2*Math.PI*E,k=Vr(),{themeClasses:m}=Ma(n),{sizeClasses:t,sizeStyles:d}=M0(n),{textColorClasses:y,textColorStyles:i}=Ks(Cr(n,"color")),{textColorClasses:M,textColorStyles:g}=Ks(Cr(n,"bgColor")),{intersectionRef:h,isIntersecting:l}=h_(),{resizeRef:a,contentRect:u}=Tf(),o=cn(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),s=cn(()=>Number(n.width)),f=cn(()=>d.value?Number(n.size):u.value?u.value.width:Math.max(s.value,32)),c=cn(()=>E/(1-s.value/f.value)*2),p=cn(()=>s.value/f.value*c.value),w=cn(()=>Qr((100-o.value)/100*z));return wu(()=>{h.value=k.value,a.value=k.value}),Rr(()=>gt(n.tag,{ref:k,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":l.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},m.value,t.value,y.value,n.class],style:[d.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:o.value},{default:()=>[gt("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${c.value} ${c.value}`},[gt("circle",{class:["v-progress-circular__underlay",M.value],style:g.value,fill:"transparent",cx:"50%",cy:"50%",r:E,"stroke-width":p.value,"stroke-dasharray":z,"stroke-dashoffset":0},null),gt("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:E,"stroke-width":p.value,"stroke-dasharray":z,"stroke-dashoffset":w.value},null)]),r.default&>("div",{class:"v-progress-circular__content"},[r.default({value:o.value})])]})),{}}});const K5={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ed=ur({location:String},"location");function td(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:E}=Cs();return{locationStyles:cn(()=>{if(!n.location)return{};const{side:k,align:m}=lx(n.location.split(" ").length>1?n.location:`${n.location} center`,E.value);function t(y){return r?r(y):0}const d={};return k!=="center"&&(e?d[K5[k]]=`calc(100% - ${t(k)}px)`:d[k]=0),m!=="center"?e?d[K5[m]]=`calc(100% - ${t(m)}px)`:d[m]=0:(k==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[k]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[k]),d})}}const GB=ur({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...$r(),...ed({location:"top"}),...lo(),...Ai(),...oa()},"VProgressLinear"),p_=Ar()({name:"VProgressLinear",props:GB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{isRtl:z,rtlClasses:k}=Cs(),{themeClasses:m}=Ma(n),{locationStyles:t}=td(n),{textColorClasses:d,textColorStyles:y}=Ks(n,"color"),{backgroundColorClasses:i,backgroundColorStyles:M}=Ro(cn(()=>n.bgColor||n.color)),{backgroundColorClasses:g,backgroundColorStyles:h}=Ro(n,"color"),{roundedClasses:l}=Eo(n),{intersectionRef:a,isIntersecting:u}=h_(),o=cn(()=>parseInt(n.max,10)),s=cn(()=>parseInt(n.height,10)),f=cn(()=>parseFloat(n.bufferValue)/o.value*100),c=cn(()=>parseFloat(E.value)/o.value*100),p=cn(()=>z.value!==n.reverse),w=cn(()=>n.indeterminate?"fade-transition":"slide-x-transition"),v=cn(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function S(x){if(!a.value)return;const{left:T,right:C,width:_}=a.value.getBoundingClientRect(),A=p.value?_-x.clientX+(C-_):x.clientX-T;E.value=Math.round(A/_*o.value)}return Rr(()=>gt(n.tag,{ref:a,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&u.value,"v-progress-linear--reverse":p.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},l.value,m.value,k.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Qr(s.value):0,"--v-progress-linear-height":Qr(s.value),...t.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:c.value,onClick:n.clickable&&S},{default:()=>[n.stream&>("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...y.value,[p.value?"left":"right"]:Qr(-s.value),borderTop:`${Qr(s.value/2)} dotted`,opacity:v.value,top:`calc(50% - ${Qr(s.value/4)})`,width:Qr(100-f.value,"%"),"--v-progress-linear-stream-to":Qr(s.value*(p.value?1:-1))}},null),gt("div",{class:["v-progress-linear__background",i.value],style:[M.value,{opacity:v.value,width:Qr(n.stream?f.value:100,"%")}]},null),gt(bf,{name:w.value},{default:()=>[n.indeterminate?gt("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(x=>gt("div",{key:x,class:["v-progress-linear__indeterminate",x,g.value],style:h.value},null))]):gt("div",{class:["v-progress-linear__determinate",g.value],style:[h.value,{width:Qr(c.value,"%")}]},null)]}),r.default&>("div",{class:"v-progress-linear__content"},[r.default({value:c.value,buffer:f.value})])]})),{}}}),m_=ur({loading:[Boolean,String]},"loader");function t1(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{loaderClasses:cn(()=>({[`${e}--loading`]:n.loading}))}}function g_(n,e){var E;let{slots:r}=e;return gt("div",{class:`${n.name}__loader`},[((E=r.default)==null?void 0:E.call(r,{color:n.color,isActive:n.active}))||gt(p_,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const WB=["static","relative","fixed","absolute","sticky"],A0=ur({position:{type:String,validator:n=>WB.includes(n)}},"position");function S0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{positionClasses:cn(()=>n.position?`${e}--${n.position}`:void 0)}}function q6(){var n,e;return(e=(n=Ss("useRouter"))==null?void 0:n.proxy)==null?void 0:e.$router}function sg(n,e){const r=gE("RouterLink"),E=cn(()=>!!(n.href||n.to)),z=cn(()=>(E==null?void 0:E.value)||T5(e,"click")||T5(n,"click"));if(typeof r=="string")return{isLink:E,isClickable:z,href:Cr(n,"href")};const k=n.to?r.useLink(n):void 0;return{isLink:E,isClickable:z,route:k==null?void 0:k.route,navigate:k==null?void 0:k.navigate,isActive:k&&cn(()=>{var m,t;return n.exact?(m=k.isExactActive)==null?void 0:m.value:(t=k.isActive)==null?void 0:t.value}),href:cn(()=>n.to?k==null?void 0:k.route.value.href:n.href)}}const lg=ur({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let bb=!1;function qB(n,e){let r=!1,E,z;to&&(Ua(()=>{window.addEventListener("popstate",k),E=n==null?void 0:n.beforeEach((m,t,d)=>{bb?r?e(d):d():setTimeout(()=>r?e(d):d()),bb=!0}),z=n==null?void 0:n.afterEach(()=>{bb=!1})}),Tl(()=>{window.removeEventListener("popstate",k),E==null||E(),z==null||z()}));function k(m){var t;(t=m.state)!=null&&t.replaced||(r=!0,setTimeout(()=>r=!1))}}function YB(n,e){Xr(()=>{var r;return(r=n.isActive)==null?void 0:r.value},r=>{n.isLink.value&&r&&e&&Ua(()=>{e(!0)})},{immediate:!0})}const xx=Symbol("rippleStop"),$B=80;function J5(n,e){n.style.transform=e,n.style.webkitTransform=e}function _x(n){return n.constructor.name==="TouchEvent"}function Y6(n){return n.constructor.name==="KeyboardEvent"}const ZB=function(n,e){var M;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},E=0,z=0;if(!Y6(n)){const g=e.getBoundingClientRect(),h=_x(n)?n.touches[n.touches.length-1]:n;E=h.clientX-g.left,z=h.clientY-g.top}let k=0,m=.3;(M=e._ripple)!=null&&M.circle?(m=.15,k=e.clientWidth/2,k=r.center?k:k+Math.sqrt((E-k)**2+(z-k)**2)/4):k=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const t=`${(e.clientWidth-k*2)/2}px`,d=`${(e.clientHeight-k*2)/2}px`,y=r.center?t:`${E-k}px`,i=r.center?d:`${z-k}px`;return{radius:k,scale:m,x:y,y:i,centerX:t,centerY:d}},dy={show(n,e){var h;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((h=e==null?void 0:e._ripple)!=null&&h.enabled))return;const E=document.createElement("span"),z=document.createElement("span");E.appendChild(z),E.className="v-ripple__container",r.class&&(E.className+=` ${r.class}`);const{radius:k,scale:m,x:t,y:d,centerX:y,centerY:i}=ZB(n,e,r),M=`${k*2}px`;z.className="v-ripple__animation",z.style.width=M,z.style.height=M,e.appendChild(E);const g=window.getComputedStyle(e);g&&g.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),z.classList.add("v-ripple__animation--enter"),z.classList.add("v-ripple__animation--visible"),J5(z,`translate(${t}, ${d}) scale3d(${m},${m},${m})`),z.dataset.activated=String(performance.now()),setTimeout(()=>{z.classList.remove("v-ripple__animation--enter"),z.classList.add("v-ripple__animation--in"),J5(z,`translate(${y}, ${i}) scale3d(1,1,1)`)},0)},hide(n){var k;if(!((k=n==null?void 0:n._ripple)!=null&&k.enabled))return;const e=n.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const E=performance.now()-Number(r.dataset.activated),z=Math.max(250-E,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var t;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((t=r.parentNode)==null?void 0:t.parentNode)===n&&n.removeChild(r.parentNode)},300)},z)}};function $6(n){return typeof n>"u"||!!n}function Bm(n){const e={},r=n.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||n[xx])){if(n[xx]=!0,_x(n))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||Y6(n),r._ripple.class&&(e.class=r._ripple.class),_x(n)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{dy.show(n,r,e)},r._ripple.showTimer=window.setTimeout(()=>{var E;(E=r==null?void 0:r._ripple)!=null&&E.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},$B)}else dy.show(n,r,e)}}function Q5(n){n[xx]=!0}function vu(n){const e=n.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),n.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{vu(n)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),dy.hide(e)}}function Z6(n){const e=n.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Nm=!1;function X6(n){!Nm&&(n.keyCode===b5.enter||n.keyCode===b5.space)&&(Nm=!0,Bm(n))}function K6(n){Nm=!1,vu(n)}function J6(n){Nm&&(Nm=!1,vu(n))}function Q6(n,e,r){const{value:E,modifiers:z}=e,k=$6(E);if(k||dy.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=k,n._ripple.centered=z.center,n._ripple.circle=z.circle,ax(E)&&E.class&&(n._ripple.class=E.class),k&&!r){if(z.stop){n.addEventListener("touchstart",Q5,{passive:!0}),n.addEventListener("mousedown",Q5);return}n.addEventListener("touchstart",Bm,{passive:!0}),n.addEventListener("touchend",vu,{passive:!0}),n.addEventListener("touchmove",Z6,{passive:!0}),n.addEventListener("touchcancel",vu),n.addEventListener("mousedown",Bm),n.addEventListener("mouseup",vu),n.addEventListener("mouseleave",vu),n.addEventListener("keydown",X6),n.addEventListener("keyup",K6),n.addEventListener("blur",J6),n.addEventListener("dragstart",vu,{passive:!0})}else!k&&r&&eA(n)}function eA(n){n.removeEventListener("mousedown",Bm),n.removeEventListener("touchstart",Bm),n.removeEventListener("touchend",vu),n.removeEventListener("touchmove",Z6),n.removeEventListener("touchcancel",vu),n.removeEventListener("mouseup",vu),n.removeEventListener("mouseleave",vu),n.removeEventListener("keydown",X6),n.removeEventListener("keyup",K6),n.removeEventListener("dragstart",vu),n.removeEventListener("blur",J6)}function XB(n,e){Q6(n,e,!1)}function KB(n){delete n._ripple,eA(n)}function JB(n,e){if(e.value===e.oldValue)return;const r=$6(e.oldValue);Q6(n,e,r)}const nd={mounted:XB,unmounted:KB,updated:JB},v_=ur({active:{type:Boolean,default:void 0},symbol:{type:null,default:f_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:bi,appendIcon:bi,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Su(),...$r(),...ds(),...ac(),...hs(),...T0(),...m_(),...ed(),...A0(),...lo(),...lg(),...ph(),...Ai({tag:"button"}),...oa(),...lc({variant:"elevated"})},"VBtn"),wl=Ar()({name:"VBtn",directives:{Ripple:nd},props:v_(),emits:{"group:selected":n=>!0},setup(n,e){let{attrs:r,slots:E}=e;const{themeClasses:z}=Ma(n),{borderClasses:k}=sc(n),{colorClasses:m,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:y}=el(n),{dimensionStyles:i}=oc(n),{elevationClasses:M}=Vs(n),{loaderClasses:g}=t1(n),{locationStyles:h}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),{sizeClasses:u,sizeStyles:o}=M0(n),s=k0(n,n.symbol,!1),f=sg(n,r),c=cn(()=>{var x;return n.active!==void 0?n.active:f.isLink.value?(x=f.isActive)==null?void 0:x.value:s==null?void 0:s.isSelected.value}),p=cn(()=>(s==null?void 0:s.disabled.value)||n.disabled),w=cn(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),v=cn(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function S(x){var T;p.value||f.isLink.value&&(x.metaKey||x.ctrlKey||x.shiftKey||x.button!==0||r.target==="_blank")||((T=f.navigate)==null||T.call(f,x),s==null||s.toggle())}return YB(f,s==null?void 0:s.select),Rr(()=>{var L,b;const x=f.isLink.value?"a":n.tag,T=!!(n.prependIcon||E.prepend),C=!!(n.appendIcon||E.append),_=!!(n.icon&&n.icon!==!0),A=(s==null?void 0:s.isSelected.value)&&(!f.isLink.value||((L=f.isActive)==null?void 0:L.value))||!s||((b=f.isActive)==null?void 0:b.value);return Co(gt(x,{type:x==="a"?void 0:"button",class:["v-btn",s==null?void 0:s.selectedClass.value,{"v-btn--active":c.value,"v-btn--block":n.block,"v-btn--disabled":p.value,"v-btn--elevated":w.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},z.value,k.value,A?m.value:void 0,y.value,M.value,g.value,l.value,a.value,u.value,d.value,n.class],style:[A?t.value:void 0,i.value,h.value,o.value,n.style],disabled:p.value||void 0,href:f.href.value,onClick:S,value:v.value},{default:()=>{var O;return[np(!0,"v-btn"),!n.icon&&T&>("span",{key:"prepend",class:"v-btn__prepend"},[E.prepend?gt(za,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},E.prepend):gt(ja,{key:"prepend-icon",icon:n.prependIcon},null)]),gt("span",{class:"v-btn__content","data-no-activator":""},[!E.default&&_?gt(ja,{key:"content-icon",icon:n.icon},null):gt(za,{key:"content-defaults",disabled:!_,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var I;return[((I=E.default)==null?void 0:I.call(E))??n.text]}})]),!n.icon&&C&>("span",{key:"append",class:"v-btn__append"},[E.append?gt(za,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},E.append):gt(ja,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&>("span",{key:"loader",class:"v-btn__loader"},[((O=E.loader)==null?void 0:O.call(E))??gt(d_,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Tu("ripple"),!p.value&&n.ripple,null]])}),{}}}),QB=ur({...v_({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),eN=Ar()({name:"VAppBarNavIcon",props:QB(),setup(n,e){let{slots:r}=e;return Rr(()=>gt(wl,Wr(n,{class:["v-app-bar-nav-icon"]}),r)),{}}}),tN=Ar()({name:"VAppBarTitle",props:F6(),setup(n,e){let{slots:r}=e;return Rr(()=>gt(o_,Wr(n,{class:"v-app-bar-title"}),r)),{}}});const tA=Bc("v-alert-title"),nN=["success","info","warning","error"],rN=ur({border:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["top","end","bottom","start"].includes(n)},borderColor:String,closable:Boolean,closeIcon:{type:bi,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:n=>nN.includes(n)},...$r(),...ds(),...ac(),...hs(),...ed(),...A0(),...lo(),...Ai(),...oa(),...lc({variant:"flat"})},"VAlert"),iN=Ar()({name:"VAlert",props:rN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{emit:r,slots:E}=e;const z=xi(n,"modelValue"),k=cn(()=>{if(n.icon!==!1)return n.type?n.icon??`$${n.type}`:n.icon}),m=cn(()=>({color:n.color??n.type,variant:n.variant})),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:y,variantClasses:i}=rp(m),{densityClasses:M}=el(n),{dimensionStyles:g}=oc(n),{elevationClasses:h}=Vs(n),{locationStyles:l}=td(n),{positionClasses:a}=S0(n),{roundedClasses:u}=Eo(n),{textColorClasses:o,textColorStyles:s}=Ks(Cr(n,"borderColor")),{t:f}=ic(),c=cn(()=>({"aria-label":f(n.closeLabel),onClick(p){z.value=!1,r("click:close",p)}}));return()=>{const p=!!(E.prepend||k.value),w=!!(E.title||n.title),v=!!(E.close||n.closable);return z.value&>(n.tag,{class:["v-alert",n.border&&{"v-alert--border":!!n.border,[`v-alert--border-${n.border===!0?"start":n.border}`]:!0},{"v-alert--prominent":n.prominent},t.value,d.value,M.value,h.value,a.value,u.value,i.value,n.class],style:[y.value,g.value,l.value,n.style],role:"alert"},{default:()=>{var S,x;return[np(!1,"v-alert"),n.border&>("div",{key:"border",class:["v-alert__border",o.value],style:s.value},null),p&>("div",{key:"prepend",class:"v-alert__prepend"},[E.prepend?gt(za,{key:"prepend-defaults",disabled:!k.value,defaults:{VIcon:{density:n.density,icon:k.value,size:n.prominent?44:28}}},E.prepend):gt(ja,{key:"prepend-icon",density:n.density,icon:k.value,size:n.prominent?44:28},null)]),gt("div",{class:"v-alert__content"},[w&>(tA,{key:"title"},{default:()=>{var T;return[((T=E.title)==null?void 0:T.call(E))??n.title]}}),((S=E.text)==null?void 0:S.call(E))??n.text,(x=E.default)==null?void 0:x.call(E)]),E.append&>("div",{key:"append",class:"v-alert__append"},[E.append()]),v&>("div",{key:"close",class:"v-alert__close"},[E.close?gt(za,{key:"close-defaults",defaults:{VBtn:{icon:n.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var T;return[(T=E.close)==null?void 0:T.call(E,{props:c.value})]}}):gt(wl,Wr({key:"close-btn",icon:n.closeIcon,size:"x-small",variant:"text"},c.value),null)])]}})}}});const aN=ur({text:String,clickable:Boolean,...$r(),...oa()},"VLabel"),C0=Ar()({name:"VLabel",props:aN(),setup(n,e){let{slots:r}=e;return Rr(()=>{var E;return gt("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(E=r.default)==null?void 0:E.call(r)])}),{}}});const nA=Symbol.for("vuetify:selection-control-group"),y_=ur({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:bi,trueIcon:bi,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:b0},...$r(),...ds(),...oa()},"SelectionControlGroup"),oN=ur({...y_({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),rA=Ar()({name:"VSelectionControlGroup",props:oN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),z=Qs(),k=cn(()=>n.id||`v-selection-control-group-${z}`),m=cn(()=>n.name||k.value),t=new Set;return ts(nA,{modelValue:E,forceUpdate:()=>{t.forEach(d=>d())},onForceUpdate:d=>{t.add(d),Tl(()=>{t.delete(d)})}}),es({[n.defaultsTarget]:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),density:Cr(n,"density"),error:Cr(n,"error"),inline:Cr(n,"inline"),modelValue:E,multiple:cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(E.value)),name:m,falseIcon:Cr(n,"falseIcon"),trueIcon:Cr(n,"trueIcon"),readonly:Cr(n,"readonly"),ripple:Cr(n,"ripple"),type:Cr(n,"type"),valueComparator:Cr(n,"valueComparator")}}),Rr(()=>{var d;return gt("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}}),n1=ur({label:String,trueValue:null,falseValue:null,value:null,...$r(),...y_()},"VSelectionControl");function sN(n){const e=ka(nA,void 0),{densityClasses:r}=el(n),E=xi(n,"modelValue"),z=cn(()=>n.trueValue!==void 0?n.trueValue:n.value!==void 0?n.value:!0),k=cn(()=>n.falseValue!==void 0?n.falseValue:!1),m=cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(E.value)),t=cn({get(){const h=e?e.modelValue.value:E.value;return m.value?h.some(l=>n.valueComparator(l,z.value)):n.valueComparator(h,z.value)},set(h){if(n.readonly)return;const l=h?z.value:k.value;let a=l;m.value&&(a=h?[...bu(E.value),l]:bu(E.value).filter(u=>!n.valueComparator(u,z.value))),e?e.modelValue.value=a:E.value=a}}),{textColorClasses:d,textColorStyles:y}=Ks(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),{backgroundColorClasses:i,backgroundColorStyles:M}=Ro(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),g=cn(()=>t.value?n.trueIcon:n.falseIcon);return{group:e,densityClasses:r,trueValue:z,falseValue:k,model:t,textColorClasses:d,textColorStyles:y,backgroundColorClasses:i,backgroundColorStyles:M,icon:g}}const Xd=Ar()({name:"VSelectionControl",directives:{Ripple:nd},inheritAttrs:!1,props:n1(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:E}=e;const{group:z,densityClasses:k,icon:m,model:t,textColorClasses:d,textColorStyles:y,backgroundColorClasses:i,backgroundColorStyles:M,trueValue:g}=sN(n),h=Qs(),l=cn(()=>n.id||`input-${h}`),a=qr(!1),u=qr(!1),o=Vr();z==null||z.onForceUpdate(()=>{o.value&&(o.value.checked=t.value)});function s(p){a.value=!0,l0(p.target,":focus-visible")!==!1&&(u.value=!0)}function f(){a.value=!1,u.value=!1}function c(p){n.readonly&&z&&Ua(()=>z.forceUpdate()),t.value=p.target.checked}return Rr(()=>{var x,T;const p=E.label?E.label({label:n.label,props:{for:l.value}}):n.label,[w,v]=Qd(r),S=gt("input",Wr({ref:o,checked:t.value,disabled:!!(n.readonly||n.disabled),id:l.value,onBlur:f,onFocus:s,onInput:c,"aria-disabled":!!(n.readonly||n.disabled),type:n.type,value:g.value,name:n.name,"aria-checked":n.type==="checkbox"?t.value:void 0},v),null);return gt("div",Wr({class:["v-selection-control",{"v-selection-control--dirty":t.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":a.value,"v-selection-control--focus-visible":u.value,"v-selection-control--inline":n.inline},k.value,n.class]},w,{style:n.style}),[gt("div",{class:["v-selection-control__wrapper",d.value],style:y.value},[(x=E.default)==null?void 0:x.call(E,{backgroundColorClasses:i,backgroundColorStyles:M}),Co(gt("div",{class:["v-selection-control__input"]},[((T=E.input)==null?void 0:T.call(E,{model:t,textColorClasses:d,textColorStyles:y,backgroundColorClasses:i,backgroundColorStyles:M,inputNode:S,icon:m.value,props:{onFocus:s,onBlur:f,id:l.value}}))??gt(Yr,null,[m.value&>(ja,{key:"icon",icon:m.value},null),S])]),[[Tu("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),p&>(C0,{for:l.value,clickable:!0,onClick:C=>C.stopPropagation()},{default:()=>[p]})])}),{isFocused:a,input:o}}}),iA=ur({indeterminate:Boolean,indeterminateIcon:{type:bi,default:"$checkboxIndeterminate"},...n1({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),f0=Ar()({name:"VCheckboxBtn",props:iA(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"indeterminate"),z=xi(n,"modelValue");function k(d){E.value&&(E.value=!1)}const m=cn(()=>E.value?n.indeterminateIcon:n.falseIcon),t=cn(()=>E.value?n.indeterminateIcon:n.trueIcon);return Rr(()=>{const d=nc(Xd.filterProps(n)[0],["modelValue"]);return gt(Xd,Wr(d,{modelValue:z.value,"onUpdate:modelValue":[y=>z.value=y,k],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:m.value,trueIcon:t.value,"aria-checked":E.value?"mixed":void 0}),r)}),{}}});function aA(n){const{t:e}=ic();function r(E){let{name:z}=E;const k={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[z],m=n[`onClick:${z}`],t=m&&k?e(`$vuetify.input.${k}`,n.label??""):void 0;return gt(ja,{icon:n[`${z}Icon`],"aria-label":t,onClick:m},null)}return{InputIcon:r}}const lN=ur({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...$r(),...dh({transition:{component:l_,leaveAbsolute:!0,group:!0}})},"VMessages"),oA=Ar()({name:"VMessages",props:lN(),setup(n,e){let{slots:r}=e;const E=cn(()=>bu(n.messages)),{textColorClasses:z,textColorStyles:k}=Ks(cn(()=>n.color));return Rr(()=>gt(Pc,{transition:n.transition,tag:"div",class:["v-messages",z.value,n.class],style:[k.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&E.value.map((m,t)=>gt("div",{class:"v-messages__message",key:`${t}-${E.value}`},[r.message?r.message({message:m}):m]))]})),{}}}),r1=ur({focused:Boolean,"onUpdate:focused":yf()},"focus");function rd(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();const r=xi(n,"focused"),E=cn(()=>({[`${e}--focused`]:r.value}));function z(){r.value=!0}function k(){r.value=!1}return{focusClasses:E,isFocused:r,focus:z,blur:k}}const sA=Symbol.for("vuetify:form"),uN=ur({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function cN(n){const e=xi(n,"modelValue"),r=cn(()=>n.disabled),E=cn(()=>n.readonly),z=qr(!1),k=Vr([]),m=Vr([]);async function t(){const i=[];let M=!0;m.value=[],z.value=!0;for(const g of k.value){const h=await g.validate();if(h.length>0&&(M=!1,i.push({id:g.id,errorMessages:h})),!M&&n.fastFail)break}return m.value=i,z.value=!1,{valid:M,errors:m.value}}function d(){k.value.forEach(i=>i.reset())}function y(){k.value.forEach(i=>i.resetValidation())}return Xr(k,()=>{let i=0,M=0;const g=[];for(const h of k.value)h.isValid===!1?(M++,g.push({id:h.id,errorMessages:h.errorMessages})):h.isValid===!0&&i++;m.value=g,e.value=M>0?!1:i===k.value.length?!0:null},{deep:!0}),ts(sA,{register:i=>{let{id:M,validate:g,reset:h,resetValidation:l}=i;k.value.some(a=>a.id===M),k.value.push({id:M,validate:g,reset:h,resetValidation:l,isValid:null,errorMessages:[]})},unregister:i=>{k.value=k.value.filter(M=>M.id!==i)},update:(i,M,g)=>{const h=k.value.find(l=>l.id===i);h&&(h.isValid=M,h.errorMessages=g)},isDisabled:r,isReadonly:E,isValidating:z,isValid:e,items:k,validateOn:Cr(n,"validateOn")}),{errors:m,isDisabled:r,isReadonly:E,isValidating:z,isValid:e,items:k,validate:t,reset:d,resetValidation:y}}function i1(){return ka(sA,null)}const lA=ur({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...r1()},"validation");function uA(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Qs();const E=xi(n,"modelValue"),z=cn(()=>n.validationValue===void 0?E.value:n.validationValue),k=i1(),m=Vr([]),t=qr(!0),d=cn(()=>!!(bu(E.value===""?null:E.value).length||bu(z.value===""?null:z.value).length)),y=cn(()=>!!(n.disabled??(k==null?void 0:k.isDisabled.value))),i=cn(()=>!!(n.readonly??(k==null?void 0:k.isReadonly.value))),M=cn(()=>n.errorMessages.length?bu(n.errorMessages).slice(0,Math.max(0,+n.maxErrors)):m.value),g=cn(()=>{let c=(n.validateOn??(k==null?void 0:k.validateOn.value))||"input";c==="lazy"&&(c="input lazy");const p=new Set((c==null?void 0:c.split(" "))??[]);return{blur:p.has("blur")||p.has("input"),input:p.has("input"),submit:p.has("submit"),lazy:p.has("lazy")}}),h=cn(()=>n.error||n.errorMessages.length?!1:n.rules.length?t.value?m.value.length||g.value.lazy?null:!0:!m.value.length:!0),l=qr(!1),a=cn(()=>({[`${e}--error`]:h.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:y.value,[`${e}--readonly`]:i.value})),u=cn(()=>n.name??yu(r));Sy(()=>{k==null||k.register({id:u.value,validate:f,reset:o,resetValidation:s})}),kl(()=>{k==null||k.unregister(u.value)}),Js(async()=>{g.value.lazy||await f(!0),k==null||k.update(u.value,h.value,M.value)}),$h(()=>g.value.input,()=>{Xr(z,()=>{if(z.value!=null)f();else if(n.focused){const c=Xr(()=>n.focused,p=>{p||f(),c()})}})}),$h(()=>g.value.blur,()=>{Xr(()=>n.focused,c=>{c||f()})}),Xr(h,()=>{k==null||k.update(u.value,h.value,M.value)});function o(){E.value=null,Ua(s)}function s(){t.value=!0,g.value.lazy?m.value=[]:f(!0)}async function f(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const p=[];l.value=!0;for(const w of n.rules){if(p.length>=+(n.maxErrors??1))break;const S=await(typeof w=="function"?w:()=>w)(z.value);if(S!==!0){if(S!==!1&&typeof S!="string"){console.warn(`${S} is not a valid value. Rule functions must return boolean true or a string.`);continue}p.push(S||"")}}return m.value=p,l.value=!1,t.value=c,m.value}return{errorMessages:M,isDirty:d,isDisabled:y,isReadonly:i,isPristine:t,isValid:h,isValidating:l,reset:o,resetValidation:s,validate:f,validationClasses:a}}const mh=ur({id:String,appendIcon:bi,centerAffix:{type:Boolean,default:!0},prependIcon:bi,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":yf(),"onClick:append":yf(),...$r(),...ds(),...lA()},"VInput"),Bs=Ar()({name:"VInput",props:{...mh()},emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:E,emit:z}=e;const{densityClasses:k}=el(n),{rtlClasses:m}=Cs(),{InputIcon:t}=aA(n),d=Qs(),y=cn(()=>n.id||`input-${d}`),i=cn(()=>`${y.value}-messages`),{errorMessages:M,isDirty:g,isDisabled:h,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:f,validate:c,validationClasses:p}=uA(n,"v-input",y),w=cn(()=>({id:y,messagesId:i,isDirty:g,isDisabled:h,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:f,validate:c})),v=cn(()=>{var S;return(S=n.errorMessages)!=null&&S.length||!a.value&&M.value.length?M.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return Rr(()=>{var _,A,L,b;const S=!!(E.prepend||n.prependIcon),x=!!(E.append||n.appendIcon),T=v.value.length>0,C=!n.hideDetails||n.hideDetails==="auto"&&(T||!!E.details);return gt("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},k.value,m.value,p.value,n.class],style:n.style},[S&>("div",{key:"prepend",class:"v-input__prepend"},[(_=E.prepend)==null?void 0:_.call(E,w.value),n.prependIcon&>(t,{key:"prepend-icon",name:"prepend"},null)]),E.default&>("div",{class:"v-input__control"},[(A=E.default)==null?void 0:A.call(E,w.value)]),x&>("div",{key:"append",class:"v-input__append"},[n.appendIcon&>(t,{key:"append-icon",name:"append"},null),(L=E.append)==null?void 0:L.call(E,w.value)]),C&>("div",{class:"v-input__details"},[gt(oA,{id:i.value,active:T,messages:v.value},{message:E.message}),(b=E.details)==null?void 0:b.call(E,w.value)])])}),{reset:s,resetValidation:f,validate:c}}}),fN=ur({...mh(),...nc(iA(),["inline"])},"VCheckbox"),hN=Ar()({name:"VCheckbox",inheritAttrs:!1,props:fN(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,e){let{attrs:r,slots:E}=e;const z=xi(n,"modelValue"),{isFocused:k,focus:m,blur:t}=rd(n),d=Qs(),y=cn(()=>n.id||`checkbox-${d}`);return Rr(()=>{const[i,M]=Qd(r),[g,h]=Bs.filterProps(n),[l,a]=f0.filterProps(n);return gt(Bs,Wr({class:["v-checkbox",n.class]},i,g,{modelValue:z.value,"onUpdate:modelValue":u=>z.value=u,id:y.value,focused:k.value,style:n.style}),{...E,default:u=>{let{id:o,messagesId:s,isDisabled:f,isReadonly:c}=u;return gt(f0,Wr(l,{id:o.value,"aria-describedby":s.value,disabled:f.value,readonly:c.value},M,{modelValue:z.value,"onUpdate:modelValue":p=>z.value=p,onFocus:m,onBlur:t}),E)}})}),{}}});const dN=ur({start:Boolean,end:Boolean,icon:bi,image:String,...$r(),...ds(),...lo(),...ph(),...Ai(),...oa(),...lc({variant:"flat"})},"VAvatar"),Zh=Ar()({name:"VAvatar",props:dN(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{colorClasses:z,colorStyles:k,variantClasses:m}=rp(n),{densityClasses:t}=el(n),{roundedClasses:d}=Eo(n),{sizeClasses:y,sizeStyles:i}=M0(n);return Rr(()=>gt(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},E.value,z.value,t.value,d.value,y.value,m.value,n.class],style:[k.value,i.value,n.style]},{default:()=>{var M;return[n.image?gt(Zd,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?gt(ja,{key:"icon",icon:n.icon},null):(M=r.default)==null?void 0:M.call(r),np(!1,"v-avatar")]}})),{}}});const cA=Symbol.for("vuetify:v-chip-group"),pN=ur({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:b0},...$r(),...w0({selectedClass:"v-chip--selected"}),...Ai(),...oa(),...lc({variant:"tonal"})},"VChipGroup"),mN=Ar()({name:"VChipGroup",props:pN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{isSelected:z,select:k,next:m,prev:t,selected:d}=ip(n,cA);return es({VChip:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),filter:Cr(n,"filter"),variant:Cr(n,"variant")}}),Rr(()=>gt(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},E.value,n.class],style:n.style},{default:()=>{var y;return[(y=r.default)==null?void 0:y.call(r,{isSelected:z,select:k,next:m,prev:t,selected:d.value})]}})),{}}}),gN=ur({activeClass:String,appendAvatar:String,appendIcon:bi,closable:Boolean,closeIcon:{type:bi,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:yf(),onClickOnce:yf(),...Su(),...$r(),...ds(),...hs(),...T0(),...lo(),...lg(),...ph(),...Ai({tag:"span"}),...oa(),...lc({variant:"tonal"})},"VChip"),ug=Ar()({name:"VChip",directives:{Ripple:nd},props:gN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const{t:k}=ic(),{borderClasses:m}=sc(n),{colorClasses:t,colorStyles:d,variantClasses:y}=rp(n),{densityClasses:i}=el(n),{elevationClasses:M}=Vs(n),{roundedClasses:g}=Eo(n),{sizeClasses:h}=M0(n),{themeClasses:l}=Ma(n),a=xi(n,"modelValue"),u=k0(n,cA,!1),o=sg(n,r),s=cn(()=>n.link!==!1&&o.isLink.value),f=cn(()=>!n.disabled&&n.link!==!1&&(!!u||n.link||o.isClickable.value)),c=cn(()=>({"aria-label":k(n.closeLabel),onClick(v){v.stopPropagation(),a.value=!1,E("click:close",v)}}));function p(v){var S;E("click",v),f.value&&((S=o.navigate)==null||S.call(o,v),u==null||u.toggle())}function w(v){(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),p(v))}return()=>{const v=o.isLink.value?"a":n.tag,S=!!(n.appendIcon||n.appendAvatar),x=!!(S||z.append),T=!!(z.close||n.closable),C=!!(z.filter||n.filter)&&u,_=!!(n.prependIcon||n.prependAvatar),A=!!(_||z.prepend),L=!u||u.isSelected.value;return a.value&&Co(gt(v,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":f.value,"v-chip--filter":C,"v-chip--pill":n.pill},l.value,m.value,L?t.value:void 0,i.value,M.value,g.value,h.value,y.value,u==null?void 0:u.selectedClass.value,n.class],style:[L?d.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:o.href.value,tabindex:f.value?0:void 0,onClick:p,onKeydown:f.value&&!s.value&&w},{default:()=>{var b;return[np(f.value,"v-chip"),C&>(u_,{key:"filter"},{default:()=>[Co(gt("div",{class:"v-chip__filter"},[z.filter?gt(za,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},z.filter):gt(ja,{key:"filter-icon",icon:n.filterIcon},null)]),[[kf,u.isSelected.value]])]}),A&>("div",{key:"prepend",class:"v-chip__prepend"},[z.prepend?gt(za,{key:"prepend-defaults",disabled:!_,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},z.prepend):gt(Yr,null,[n.prependIcon&>(ja,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&>(Zh,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),gt("div",{class:"v-chip__content"},[((b=z.default)==null?void 0:b.call(z,{isSelected:u==null?void 0:u.isSelected.value,selectedClass:u==null?void 0:u.selectedClass.value,select:u==null?void 0:u.select,toggle:u==null?void 0:u.toggle,value:u==null?void 0:u.value.value,disabled:n.disabled}))??n.text]),x&>("div",{key:"append",class:"v-chip__append"},[z.append?gt(za,{key:"append-defaults",disabled:!S,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},z.append):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&>(Zh,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),T&>("div",Wr({key:"close",class:"v-chip__close"},c.value),[z.close?gt(za,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},z.close):gt(ja,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[Tu("ripple"),f.value&&n.ripple,null]])}}});const wx=Symbol.for("vuetify:list");function fA(){const n=ka(wx,{hasPrepend:qr(!1),updateHasPrepend:()=>null}),e={hasPrepend:qr(!1),updateHasPrepend:r=>{r&&(e.hasPrepend.value=r)}};return ts(wx,e),n}function hA(){return ka(wx,null)}const vN={open:n=>{let{id:e,value:r,opened:E,parents:z}=n;if(r){const k=new Set;k.add(e);let m=z.get(e);for(;m!=null;)k.add(m),m=z.get(m);return k}else return E.delete(e),E},select:()=>null},dA={open:n=>{let{id:e,value:r,opened:E,parents:z}=n;if(r){let k=z.get(e);for(E.add(e);k!=null&&k!==e;)E.add(k),k=z.get(k);return E}else E.delete(e);return E},select:()=>null},yN={open:dA.open,select:n=>{let{id:e,value:r,opened:E,parents:z}=n;if(!r)return E;const k=[];let m=z.get(e);for(;m!=null;)k.push(m),m=z.get(m);return new Set(k)}},b_=n=>{const e={select:r=>{let{id:E,value:z,selected:k}=r;if(E=Si(E),n&&!z){const m=Array.from(k.entries()).reduce((t,d)=>{let[y,i]=d;return i==="on"?[...t,y]:t},[]);if(m.length===1&&m[0]===E)return k}return k.set(E,z?"on":"off"),k},in:(r,E,z)=>{let k=new Map;for(const m of r||[])k=e.select({id:m,value:!0,selected:new Map(k),children:E,parents:z});return k},out:r=>{const E=[];for(const[z,k]of r.entries())k==="on"&&E.push(z);return E}};return e},pA=n=>{const e=b_(n);return{select:E=>{let{selected:z,id:k,...m}=E;k=Si(k);const t=z.has(k)?new Map([[k,z.get(k)]]):new Map;return e.select({...m,id:k,selected:t})},in:(E,z,k)=>{let m=new Map;return E!=null&&E.length&&(m=e.in(E.slice(0,1),z,k)),m},out:(E,z,k)=>e.out(E,z,k)}},bN=n=>{const e=b_(n);return{select:E=>{let{id:z,selected:k,children:m,...t}=E;return z=Si(z),m.has(z)?k:e.select({id:z,selected:k,children:m,...t})},in:e.in,out:e.out}},xN=n=>{const e=pA(n);return{select:E=>{let{id:z,selected:k,children:m,...t}=E;return z=Si(z),m.has(z)?k:e.select({id:z,selected:k,children:m,...t})},in:e.in,out:e.out}},_N=n=>{const e={select:r=>{let{id:E,value:z,selected:k,children:m,parents:t}=r;E=Si(E);const d=new Map(k),y=[E];for(;y.length;){const M=y.shift();k.set(M,z?"on":"off"),m.has(M)&&y.push(...m.get(M))}let i=t.get(E);for(;i;){const M=m.get(i),g=M.every(l=>k.get(l)==="on"),h=M.every(l=>!k.has(l)||k.get(l)==="off");k.set(i,g?"on":h?"off":"indeterminate"),i=t.get(i)}return n&&!z&&Array.from(k.entries()).reduce((g,h)=>{let[l,a]=h;return a==="on"?[...g,l]:g},[]).length===0?d:k},in:(r,E,z)=>{let k=new Map;for(const m of r||[])k=e.select({id:m,value:!0,selected:new Map(k),children:E,parents:z});return k},out:(r,E)=>{const z=[];for(const[k,m]of r.entries())m==="on"&&!E.has(k)&&z.push(k);return z}};return e},Vm=Symbol.for("vuetify:nested"),mA={id:qr(),root:{register:()=>null,unregister:()=>null,parents:Vr(new Map),children:Vr(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Vr(new Set),selected:Vr(new Map),selectedValues:Vr([])}},wN=ur({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),TN=n=>{let e=!1;const r=Vr(new Map),E=Vr(new Map),z=xi(n,"opened",n.opened,M=>new Set(M),M=>[...M.values()]),k=cn(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return xN(n.mandatory);case"leaf":return bN(n.mandatory);case"independent":return b_(n.mandatory);case"single-independent":return pA(n.mandatory);case"classic":default:return _N(n.mandatory)}}),m=cn(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return yN;case"single":return vN;case"multiple":default:return dA}}),t=xi(n,"selected",n.selected,M=>k.value.in(M,r.value,E.value),M=>k.value.out(M,r.value,E.value));kl(()=>{e=!0});function d(M){const g=[];let h=M;for(;h!=null;)g.unshift(h),h=E.value.get(h);return g}const y=Ss("nested"),i={id:qr(),root:{opened:z,selected:t,selectedValues:cn(()=>{const M=[];for(const[g,h]of t.value.entries())h==="on"&&M.push(g);return M}),register:(M,g,h)=>{g&&M!==g&&E.value.set(M,g),h&&r.value.set(M,[]),g!=null&&r.value.set(g,[...r.value.get(g)||[],M])},unregister:M=>{if(e)return;r.value.delete(M);const g=E.value.get(M);if(g){const h=r.value.get(g)??[];r.value.set(g,h.filter(l=>l!==M))}E.value.delete(M),z.value.delete(M)},open:(M,g,h)=>{y.emit("click:open",{id:M,value:g,path:d(M),event:h});const l=m.value.open({id:M,value:g,opened:new Set(z.value),children:r.value,parents:E.value,event:h});l&&(z.value=l)},openOnSelect:(M,g,h)=>{const l=m.value.select({id:M,value:g,selected:new Map(t.value),opened:new Set(z.value),children:r.value,parents:E.value,event:h});l&&(z.value=l)},select:(M,g,h)=>{y.emit("click:select",{id:M,value:g,path:d(M),event:h});const l=k.value.select({id:M,value:g,selected:new Map(t.value),children:r.value,parents:E.value,event:h});l&&(t.value=l),i.root.openOnSelect(M,g,h)},children:r,parents:E}};return ts(Vm,i),i.root},gA=(n,e)=>{const r=ka(Vm,mA),E=Symbol(Qs()),z=cn(()=>n.value!==void 0?n.value:E),k={...r,id:z,open:(m,t)=>r.root.open(z.value,m,t),openOnSelect:(m,t)=>r.root.openOnSelect(z.value,m,t),isOpen:cn(()=>r.root.opened.value.has(z.value)),parent:cn(()=>r.root.parents.value.get(z.value)),select:(m,t)=>r.root.select(z.value,m,t),isSelected:cn(()=>r.root.selected.value.get(Si(z.value))==="on"),isIndeterminate:cn(()=>r.root.selected.value.get(z.value)==="indeterminate"),isLeaf:cn(()=>!r.root.children.value.get(z.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(z.value,r.id.value,e),kl(()=>{!r.isGroupActivator&&r.root.unregister(z.value)}),e&&ts(Vm,k),k},kN=()=>{const n=ka(Vm,mA);ts(Vm,{...n,isGroupActivator:!0})},MN=rc({name:"VListGroupActivator",setup(n,e){let{slots:r}=e;return kN(),()=>{var E;return(E=r.default)==null?void 0:E.call(r)}}}),AN=ur({activeColor:String,baseColor:String,color:String,collapseIcon:{type:bi,default:"$collapse"},expandIcon:{type:bi,default:"$expand"},prependIcon:bi,appendIcon:bi,fluid:Boolean,subgroup:Boolean,title:String,value:null,...$r(),...Ai()},"VListGroup"),Tx=Ar()({name:"VListGroup",props:AN(),setup(n,e){let{slots:r}=e;const{isOpen:E,open:z,id:k}=gA(Cr(n,"value"),!0),m=cn(()=>`v-list-group--id-${String(k.value)}`),t=hA(),{isBooted:d}=tp();function y(h){z(!E.value,h)}const i=cn(()=>({onClick:y,class:"v-list-group__header",id:m.value})),M=cn(()=>E.value?n.collapseIcon:n.expandIcon),g=cn(()=>({VListItem:{active:E.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&M.value,appendIcon:n.appendIcon||!n.subgroup&&M.value,title:n.title,value:n.value}}));return Rr(()=>gt(n.tag,{class:["v-list-group",{"v-list-group--prepend":t==null?void 0:t.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":E.value},n.class],style:n.style},{default:()=>[r.activator&>(za,{defaults:g.value},{default:()=>[gt(MN,null,{default:()=>[r.activator({props:i.value,isOpen:E.value})]})]}),gt(Pc,{transition:{component:e1},disabled:!d.value},{default:()=>{var h;return[Co(gt("div",{class:"v-list-group__items",role:"group","aria-labelledby":m.value},[(h=r.default)==null?void 0:h.call(r)]),[[kf,E.value]])]}})]})),{}}});const vA=Bc("v-list-item-subtitle"),yA=Bc("v-list-item-title"),SN=ur({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:bi,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:yf(),onClickOnce:yf(),...Su(),...$r(),...ds(),...ac(),...hs(),...lo(),...lg(),...Ai(),...oa(),...lc({variant:"text"})},"VListItem"),ah=Ar()({name:"VListItem",directives:{Ripple:nd},props:SN(),emits:{click:n=>!0},setup(n,e){let{attrs:r,slots:E,emit:z}=e;const k=sg(n,r),m=cn(()=>n.value===void 0?k.href.value:n.value),{select:t,isSelected:d,isIndeterminate:y,isGroupActivator:i,root:M,parent:g,openOnSelect:h}=gA(m,!1),l=hA(),a=cn(()=>{var R;return n.active!==!1&&(n.active||((R=k.isActive)==null?void 0:R.value)||d.value)}),u=cn(()=>n.link!==!1&&k.isLink.value),o=cn(()=>!n.disabled&&n.link!==!1&&(n.link||k.isClickable.value||n.value!=null&&!!l)),s=cn(()=>n.rounded||n.nav),f=cn(()=>n.color??n.activeColor),c=cn(()=>({color:a.value?f.value??n.baseColor:n.baseColor,variant:n.variant}));Xr(()=>{var R;return(R=k.isActive)==null?void 0:R.value},R=>{R&&g.value!=null&&M.open(g.value,!0),R&&h(R)},{immediate:!0});const{themeClasses:p}=Ma(n),{borderClasses:w}=sc(n),{colorClasses:v,colorStyles:S,variantClasses:x}=rp(c),{densityClasses:T}=el(n),{dimensionStyles:C}=oc(n),{elevationClasses:_}=Vs(n),{roundedClasses:A}=Eo(s),L=cn(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),b=cn(()=>({isActive:a.value,select:t,isSelected:d.value,isIndeterminate:y.value}));function O(R){var D;z("click",R),!(i||!o.value)&&((D=k.navigate)==null||D.call(k,R),n.value!=null&&t(!d.value,R))}function I(R){(R.key==="Enter"||R.key===" ")&&(R.preventDefault(),O(R))}return Rr(()=>{const R=u.value?"a":n.tag,D=E.title||n.title,F=E.subtitle||n.subtitle,B=!!(n.appendAvatar||n.appendIcon),N=!!(B||E.append),q=!!(n.prependAvatar||n.prependIcon),j=!!(q||E.prepend);return l==null||l.updateHasPrepend(j),n.activeColor&&nF("active-color",["color","base-color"]),Co(gt(R,{class:["v-list-item",{"v-list-item--active":a.value,"v-list-item--disabled":n.disabled,"v-list-item--link":o.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!j&&(l==null?void 0:l.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&a.value},p.value,w.value,v.value,T.value,_.value,L.value,A.value,x.value,n.class],style:[S.value,C.value,n.style],href:k.href.value,tabindex:o.value?l?-2:0:void 0,onClick:O,onKeydown:o.value&&!u.value&&I},{default:()=>{var $;return[np(o.value||a.value,"v-list-item"),j&>("div",{key:"prepend",class:"v-list-item__prepend"},[E.prepend?gt(za,{key:"prepend-defaults",disabled:!q,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=E.prepend)==null?void 0:U.call(E,b.value)]}}):gt(Yr,null,[n.prependAvatar&>(Zh,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&>(ja,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),gt("div",{class:"v-list-item__spacer"},null)]),gt("div",{class:"v-list-item__content","data-no-activator":""},[D&>(yA,{key:"title"},{default:()=>{var U;return[((U=E.title)==null?void 0:U.call(E,{title:n.title}))??n.title]}}),F&>(vA,{key:"subtitle"},{default:()=>{var U;return[((U=E.subtitle)==null?void 0:U.call(E,{subtitle:n.subtitle}))??n.subtitle]}}),($=E.default)==null?void 0:$.call(E,b.value)]),N&>("div",{key:"append",class:"v-list-item__append"},[E.append?gt(za,{key:"append-defaults",disabled:!B,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=E.append)==null?void 0:U.call(E,b.value)]}}):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&>(Zh,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),gt("div",{class:"v-list-item__spacer"},null)])]}}),[[Tu("ripple"),o.value&&n.ripple]])}),{}}}),CN=ur({color:String,inset:Boolean,sticky:Boolean,title:String,...$r(),...Ai()},"VListSubheader"),bA=Ar()({name:"VListSubheader",props:CN(),setup(n,e){let{slots:r}=e;const{textColorClasses:E,textColorStyles:z}=Ks(Cr(n,"color"));return Rr(()=>{const k=!!(r.default||n.title);return gt(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},E.value,n.class],style:[{textColorStyles:z},n.style]},{default:()=>{var m;return[k&>("div",{class:"v-list-subheader__text"},[((m=r.default)==null?void 0:m.call(r))??n.title])]}})}),{}}});const EN=ur({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...$r(),...oa()},"VDivider"),xA=Ar()({name:"VDivider",props:EN(),setup(n,e){let{attrs:r}=e;const{themeClasses:E}=Ma(n),{textColorClasses:z,textColorStyles:k}=Ks(Cr(n,"color")),m=cn(()=>{const t={};return n.length&&(t[n.vertical?"maxHeight":"maxWidth"]=Qr(n.length)),n.thickness&&(t[n.vertical?"borderRightWidth":"borderTopWidth"]=Qr(n.thickness)),t});return Rr(()=>gt("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},E.value,z.value,n.class],style:[m.value,k.value,n.style],"aria-orientation":!r.role||r.role==="separator"?n.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),LN=ur({items:Array},"VListChildren"),_A=Ar()({name:"VListChildren",props:LN(),setup(n,e){let{slots:r}=e;return fA(),()=>{var E,z;return((E=r.default)==null?void 0:E.call(r))??((z=n.items)==null?void 0:z.map(k=>{var h,l;let{children:m,props:t,type:d,raw:y}=k;if(d==="divider")return((h=r.divider)==null?void 0:h.call(r,{props:t}))??gt(xA,t,null);if(d==="subheader")return((l=r.subheader)==null?void 0:l.call(r,{props:t}))??gt(bA,t,null);const i={subtitle:r.subtitle?a=>{var u;return(u=r.subtitle)==null?void 0:u.call(r,{...a,item:y})}:void 0,prepend:r.prepend?a=>{var u;return(u=r.prepend)==null?void 0:u.call(r,{...a,item:y})}:void 0,append:r.append?a=>{var u;return(u=r.append)==null?void 0:u.call(r,{...a,item:y})}:void 0,title:r.title?a=>{var u;return(u=r.title)==null?void 0:u.call(r,{...a,item:y})}:void 0},[M,g]=Tx.filterProps(t);return m?gt(Tx,Wr({value:t==null?void 0:t.value},M),{activator:a=>{let{props:u}=a;return r.header?r.header({props:{...t,...u}}):gt(ah,Wr(t,u),i)},default:()=>gt(_A,{items:m},r)}):r.item?r.item({props:t}):gt(ah,t,i)}))}}}),wA=ur({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:b0}},"list-items");function zd(n,e){const r=pf(e,n.itemTitle,e),E=pf(e,n.itemValue,r),z=pf(e,n.itemChildren),k=n.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?$d(e,["children"])[1]:e:void 0:pf(e,n.itemProps),m={title:r,value:E,...k};return{title:String(m.title??""),value:m.value,props:m,children:Array.isArray(z)?TA(n,z):void 0,raw:e}}function TA(n,e){const r=[];for(const E of e)r.push(zd(n,E));return r}function x_(n){const e=cn(()=>TA(n,n.items)),r=cn(()=>e.value.some(k=>k.value===null));function E(k){return r.value||(k=k.filter(m=>m!==null)),k.map(m=>n.returnObject&&typeof m=="string"?zd(n,m):e.value.find(t=>n.valueComparator(m,t.value))||zd(n,m))}function z(k){return n.returnObject?k.map(m=>{let{raw:t}=m;return t}):k.map(m=>{let{value:t}=m;return t})}return{items:e,transformIn:E,transformOut:z}}function IN(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"}function ON(n,e){const r=pf(e,n.itemType,"item"),E=IN(e)?e:pf(e,n.itemTitle),z=pf(e,n.itemValue,void 0),k=pf(e,n.itemChildren),m=n.itemProps===!0?$d(e,["children"])[1]:pf(e,n.itemProps),t={title:E,value:z,...m};return{type:r,title:t.title,value:t.value,props:t,children:r==="item"&&k?kA(n,k):void 0,raw:e}}function kA(n,e){const r=[];for(const E of e)r.push(ON(n,E));return r}function PN(n){return{items:cn(()=>kA(n,n.items))}}const RN=ur({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...wN({selectStrategy:"single-leaf",openStrategy:"list"}),...Su(),...$r(),...ds(),...ac(),...hs(),itemType:{type:String,default:"type"},...wA(),...lo(),...Ai(),...oa(),...lc({variant:"text"})},"VList"),a1=Ar()({name:"VList",props:RN(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,e){let{slots:r}=e;const{items:E}=PN(n),{themeClasses:z}=Ma(n),{backgroundColorClasses:k,backgroundColorStyles:m}=Ro(Cr(n,"bgColor")),{borderClasses:t}=sc(n),{densityClasses:d}=el(n),{dimensionStyles:y}=oc(n),{elevationClasses:i}=Vs(n),{roundedClasses:M}=Eo(n),{open:g,select:h}=TN(n),l=cn(()=>n.lines?`v-list--${n.lines}-line`:void 0),a=Cr(n,"activeColor"),u=Cr(n,"baseColor"),o=Cr(n,"color");fA(),es({VListGroup:{activeColor:a,baseColor:u,color:o},VListItem:{activeClass:Cr(n,"activeClass"),activeColor:a,baseColor:u,color:o,density:Cr(n,"density"),disabled:Cr(n,"disabled"),lines:Cr(n,"lines"),nav:Cr(n,"nav"),variant:Cr(n,"variant")}});const s=qr(!1),f=Vr();function c(x){s.value=!0}function p(x){s.value=!1}function w(x){var T;!s.value&&!(x.relatedTarget&&((T=f.value)!=null&&T.contains(x.relatedTarget)))&&S()}function v(x){if(f.value){if(x.key==="ArrowDown")S("next");else if(x.key==="ArrowUp")S("prev");else if(x.key==="Home")S("first");else if(x.key==="End")S("last");else return;x.preventDefault()}}function S(x){if(f.value)return uy(f.value,x)}return Rr(()=>gt(n.tag,{ref:f,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},z.value,k.value,t.value,d.value,i.value,l.value,M.value,n.class],style:[m.value,y.value,n.style],tabindex:n.disabled||s.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:c,onFocusout:p,onFocus:w,onKeydown:v},{default:()=>[gt(_A,{items:E.value},r)]})),{open:g,select:h,focus:S}}}),DN=Bc("v-list-img"),zN=ur({start:Boolean,end:Boolean,...$r(),...Ai()},"VListItemAction"),FN=Ar()({name:"VListItemAction",props:zN(),setup(n,e){let{slots:r}=e;return Rr(()=>gt(n.tag,{class:["v-list-item-action",{"v-list-item-action--start":n.start,"v-list-item-action--end":n.end},n.class],style:n.style},r)),{}}}),BN=ur({start:Boolean,end:Boolean,...$r(),...Ai()},"VListItemMedia"),NN=Ar()({name:"VListItemMedia",props:BN(),setup(n,e){let{slots:r}=e;return Rr(()=>gt(n.tag,{class:["v-list-item-media",{"v-list-item-media--start":n.start,"v-list-item-media--end":n.end},n.class],style:n.style},r)),{}}});function xb(n,e){return{x:n.x+e.x,y:n.y+e.y}}function VN(n,e){return{x:n.x-e.x,y:n.y-e.y}}function eT(n,e){if(n.side==="top"||n.side==="bottom"){const{side:r,align:E}=n,z=E==="left"?0:E==="center"?e.width/2:E==="right"?e.width:E,k=r==="top"?0:r==="bottom"?e.height:r;return xb({x:z,y:k},e)}else if(n.side==="left"||n.side==="right"){const{side:r,align:E}=n,z=r==="left"?0:r==="right"?e.width:r,k=E==="top"?0:E==="center"?e.height/2:E==="bottom"?e.height:E;return xb({x:z,y:k},e)}return xb({x:e.width/2,y:e.height/2},e)}const MA={static:HN,connected:WN},jN=ur({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in MA},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function UN(n,e){const r=Vr({}),E=Vr();to&&($h(()=>!!(e.isActive.value&&n.locationStrategy),k=>{var m,t;Xr(()=>n.locationStrategy,k),Tl(()=>{E.value=void 0}),typeof n.locationStrategy=="function"?E.value=(m=n.locationStrategy(e,n,r))==null?void 0:m.updateLocation:E.value=(t=MA[n.locationStrategy](e,n,r))==null?void 0:t.updateLocation}),window.addEventListener("resize",z,{passive:!0}),Tl(()=>{window.removeEventListener("resize",z),E.value=void 0}));function z(k){var m;(m=E.value)==null||m.call(E,k)}return{contentStyles:r,updateLocation:E}}function HN(){}function GN(n,e){e?n.style.removeProperty("left"):n.style.removeProperty("right");const r=J2(n);return e?r.x+=parseFloat(n.style.right||0):r.x-=parseFloat(n.style.left||0),r.y-=parseFloat(n.style.top||0),r}function WN(n,e,r){bF(n.activatorEl.value)&&Object.assign(r.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:z,preferredOrigin:k}=X2(()=>{const l=lx(e.location,n.isRtl.value),a=e.origin==="overlap"?l:e.origin==="auto"?gb(l):lx(e.origin,n.isRtl.value);return l.side===a.side&&l.align===vb(a).align?{preferredAnchor:k5(l),preferredOrigin:k5(a)}:{preferredAnchor:l,preferredOrigin:a}}),[m,t,d,y]=["minWidth","minHeight","maxWidth","maxHeight"].map(l=>cn(()=>{const a=parseFloat(e[l]);return isNaN(a)?1/0:a})),i=cn(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const l=e.offset.split(" ").map(parseFloat);return l.length<2&&l.push(0),l}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let M=!1;const g=new ResizeObserver(()=>{M&&h()});Xr([n.activatorEl,n.contentEl],(l,a)=>{let[u,o]=l,[s,f]=a;s&&g.unobserve(s),u&&g.observe(u),f&&g.unobserve(f),o&&g.observe(o)},{immediate:!0}),Tl(()=>{g.disconnect()});function h(){if(M=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>M=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const l=n.activatorEl.value.getBoundingClientRect(),a=GN(n.contentEl.value,n.isRtl.value),u=fy(n.contentEl.value),o=12;u.length||(u.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(a.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),a.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const s=u.reduce((C,_)=>{const A=_.getBoundingClientRect(),L=new Yp({x:_===document.documentElement?0:A.x,y:_===document.documentElement?0:A.y,width:_.clientWidth,height:_.clientHeight});return C?new Yp({x:Math.max(C.left,L.left),y:Math.max(C.top,L.top),width:Math.min(C.right,L.right)-Math.max(C.left,L.left),height:Math.min(C.bottom,L.bottom)-Math.max(C.top,L.top)}):L},void 0);s.x+=o,s.y+=o,s.width-=o*2,s.height-=o*2;let f={anchor:z.value,origin:k.value};function c(C){const _=new Yp(a),A=eT(C.anchor,l),L=eT(C.origin,_);let{x:b,y:O}=VN(A,L);switch(C.anchor.side){case"top":O-=i.value[0];break;case"bottom":O+=i.value[0];break;case"left":b-=i.value[0];break;case"right":b+=i.value[0];break}switch(C.anchor.align){case"top":O-=i.value[1];break;case"bottom":O+=i.value[1];break;case"left":b-=i.value[1];break;case"right":b+=i.value[1];break}return _.x+=b,_.y+=O,_.width=Math.min(_.width,d.value),_.height=Math.min(_.height,y.value),{overflows:A5(_,s),x:b,y:O}}let p=0,w=0;const v={x:0,y:0},S={x:!1,y:!1};let x=-1;for(;!(x++>10);){const{x:C,y:_,overflows:A}=c(f);p+=C,w+=_,a.x+=C,a.y+=_;{const L=M5(f.anchor),b=A.x.before||A.x.after,O=A.y.before||A.y.after;let I=!1;if(["x","y"].forEach(R=>{if(R==="x"&&b&&!S.x||R==="y"&&O&&!S.y){const D={anchor:{...f.anchor},origin:{...f.origin}},F=R==="x"?L==="y"?vb:gb:L==="y"?gb:vb;D.anchor=F(D.anchor),D.origin=F(D.origin);const{overflows:B}=c(D);(B[R].before<=A[R].before&&B[R].after<=A[R].after||B[R].before+B[R].after<(A[R].before+A[R].after)/2)&&(f=D,I=S[R]=!0)}}),I)continue}A.x.before&&(p+=A.x.before,a.x+=A.x.before),A.x.after&&(p-=A.x.after,a.x-=A.x.after),A.y.before&&(w+=A.y.before,a.y+=A.y.before),A.y.after&&(w-=A.y.after,a.y-=A.y.after);{const L=A5(a,s);v.x=s.width-L.x.before-L.x.after,v.y=s.height-L.y.before-L.y.after,p+=L.x.before,a.x+=L.x.before,w+=L.y.before,a.y+=L.y.before}break}const T=M5(f.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${f.anchor.side} ${f.anchor.align}`,transformOrigin:`${f.origin.side} ${f.origin.align}`,top:Qr(_b(w)),left:n.isRtl.value?void 0:Qr(_b(p)),right:n.isRtl.value?Qr(_b(-p)):void 0,minWidth:Qr(T==="y"?Math.min(m.value,l.width):m.value),maxWidth:Qr(tT(Xs(v.x,m.value===1/0?0:m.value,d.value))),maxHeight:Qr(tT(Xs(v.y,t.value===1/0?0:t.value,y.value)))}),{available:v,contentBox:a}}return Xr(()=>[z.value,k.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>h()),Ua(()=>{const l=h();if(!l)return;const{available:a,contentBox:u}=l;u.height>a.y&&requestAnimationFrame(()=>{h(),requestAnimationFrame(()=>{h()})})}),{updateLocation:h}}function _b(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function tT(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let kx=!0;const py=[];function qN(n){!kx||py.length?(py.push(n),Mx()):(kx=!1,n(),Mx())}let nT=-1;function Mx(){cancelAnimationFrame(nT),nT=requestAnimationFrame(()=>{const n=py.shift();n&&n(),py.length?Mx():kx=!0})}const Mv={none:null,close:ZN,block:XN,reposition:KN},YN=ur({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Mv}},"VOverlay-scroll-strategies");function $N(n,e){if(!to)return;let r;wu(async()=>{r==null||r.stop(),e.isActive.value&&n.scrollStrategy&&(r=Um(),await Ua(),r.active&&r.run(()=>{var E;typeof n.scrollStrategy=="function"?n.scrollStrategy(e,n,r):(E=Mv[n.scrollStrategy])==null||E.call(Mv,e,n,r)}))}),Tl(()=>{r==null||r.stop()})}function ZN(n){function e(r){n.isActive.value=!1}AA(n.activatorEl.value??n.contentEl.value,e)}function XN(n,e){var m;const r=(m=n.root.value)==null?void 0:m.offsetParent,E=[...new Set([...fy(n.activatorEl.value,e.contained?r:void 0),...fy(n.contentEl.value,e.contained?r:void 0)])].filter(t=>!t.classList.contains("v-overlay-scroll-blocked")),z=window.innerWidth-document.documentElement.offsetWidth,k=(t=>n_(t)&&t)(r||document.documentElement);k&&n.root.value.classList.add("v-overlay--scroll-blocked"),E.forEach((t,d)=>{t.style.setProperty("--v-body-scroll-x",Qr(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",Qr(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",Qr(z)),t.classList.add("v-overlay-scroll-blocked")}),Tl(()=>{E.forEach((t,d)=>{const y=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),i=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-y,t.scrollTop=-i}),k&&n.root.value.classList.remove("v-overlay--scroll-blocked")})}function KN(n,e,r){let E=!1,z=-1,k=-1;function m(t){qN(()=>{var i,M;const d=performance.now();(M=(i=n.updateLocation).value)==null||M.call(i,t),E=(performance.now()-d)/(1e3/60)>2})}k=(typeof requestIdleCallback>"u"?t=>t():requestIdleCallback)(()=>{r.run(()=>{AA(n.activatorEl.value??n.contentEl.value,t=>{E?(cancelAnimationFrame(z),z=requestAnimationFrame(()=>{z=requestAnimationFrame(()=>{m(t)})})):m(t)})})}),Tl(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(k),cancelAnimationFrame(z)})}function AA(n,e){const r=[document,...fy(n)];r.forEach(E=>{E.addEventListener("scroll",e,{passive:!0})}),Tl(()=>{r.forEach(E=>{E.removeEventListener("scroll",e)})})}const Ax=Symbol.for("vuetify:v-menu"),SA=ur({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function CA(n,e){const r={},E=z=>()=>{if(!to)return Promise.resolve(!0);const k=z==="openDelay";return r.closeDelay&&window.clearTimeout(r.closeDelay),delete r.closeDelay,r.openDelay&&window.clearTimeout(r.openDelay),delete r.openDelay,new Promise(m=>{const t=parseInt(n[z]??0,10);r[z]=window.setTimeout(()=>{e==null||e(k),m(k)},t)})};return{runCloseDelay:E("closeDelay"),runOpenDelay:E("openDelay")}}const JN=ur({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...SA()},"VOverlay-activator");function QN(n,e){let{isActive:r,isTop:E}=e;const z=Vr();let k=!1,m=!1,t=!0;const d=cn(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),y=cn(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!d.value),{runOpenDelay:i,runCloseDelay:M}=CA(n,f=>{f===(n.openOnHover&&k||d.value&&m)&&!(n.openOnHover&&r.value&&!E.value)&&(r.value!==f&&(t=!0),r.value=f)}),g={onClick:f=>{f.stopPropagation(),z.value=f.currentTarget||f.target,r.value=!r.value},onMouseenter:f=>{var c;(c=f.sourceCapabilities)!=null&&c.firesTouchEvents||(k=!0,z.value=f.currentTarget||f.target,i())},onMouseleave:f=>{k=!1,M()},onFocus:f=>{l0(f.target,":focus-visible")!==!1&&(m=!0,f.stopPropagation(),z.value=f.currentTarget||f.target,i())},onBlur:f=>{m=!1,f.stopPropagation(),M()}},h=cn(()=>{const f={};return y.value&&(f.onClick=g.onClick),n.openOnHover&&(f.onMouseenter=g.onMouseenter,f.onMouseleave=g.onMouseleave),d.value&&(f.onFocus=g.onFocus,f.onBlur=g.onBlur),f}),l=cn(()=>{const f={};if(n.openOnHover&&(f.onMouseenter=()=>{k=!0,i()},f.onMouseleave=()=>{k=!1,M()}),d.value&&(f.onFocusin=()=>{m=!0,i()},f.onFocusout=()=>{m=!1,M()}),n.closeOnContentClick){const c=ka(Ax,null);f.onClick=()=>{r.value=!1,c==null||c.closeParents()}}return f}),a=cn(()=>{const f={};return n.openOnHover&&(f.onMouseenter=()=>{t&&(k=!0,t=!1,i())},f.onMouseleave=()=>{k=!1,M()}),f});Xr(E,f=>{f&&(n.openOnHover&&!k&&(!d.value||!m)||d.value&&!m&&(!n.openOnHover||!k))&&(r.value=!1)});const u=Vr();wu(()=>{u.value&&Ua(()=>{z.value=ox(u.value)})});const o=Ss("useActivator");let s;return Xr(()=>!!n.activator,f=>{f&&to?(s=Um(),s.run(()=>{eV(n,o,{activatorEl:z,activatorEvents:h})})):s&&s.stop()},{flush:"post",immediate:!0}),Tl(()=>{s==null||s.stop()}),{activatorEl:z,activatorRef:u,activatorEvents:h,contentEvents:l,scrimEvents:a}}function eV(n,e,r){let{activatorEl:E,activatorEvents:z}=r;Xr(()=>n.activator,(d,y)=>{if(y&&d!==y){const i=t(y);i&&m(i)}d&&Ua(()=>k())},{immediate:!0}),Xr(()=>n.activatorProps,()=>{k()}),Tl(()=>{m()});function k(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Yz(d,Wr(z.value,y))}function m(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&$z(d,Wr(z.value,y))}function t(){var i,M;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.activator,y;if(d)if(d==="parent"){let g=(M=(i=e==null?void 0:e.proxy)==null?void 0:i.$el)==null?void 0:M.parentNode;for(;g!=null&&g.hasAttribute("data-no-activator");)g=g.parentNode;y=g}else typeof d=="string"?y=document.querySelector(d):"$el"in d?y=d.$el:y=d;return E.value=(y==null?void 0:y.nodeType)===Node.ELEMENT_NODE?y:null,E.value}}function EA(){if(!to)return qr(!1);const{ssr:n}=ep();if(n){const e=qr(!1);return Js(()=>{e.value=!0}),e}else return qr(!0)}const o1=ur({eager:Boolean},"lazy");function __(n,e){const r=qr(!1),E=cn(()=>r.value||n.eager||e.value);Xr(e,()=>r.value=!0);function z(){n.eager||(r.value=!1)}return{isBooted:r,hasContent:E,onAfterLeave:z}}function E0(){const e=Ss("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const rT=Symbol.for("vuetify:stack"),am=bl([]);function tV(n,e,r){const E=Ss("useStack"),z=!r,k=ka(rT,void 0),m=bl({activeChildren:new Set});ts(rT,m);const t=qr(+e.value);$h(n,()=>{var M;const i=(M=am.at(-1))==null?void 0:M[1];t.value=i?i+10:+e.value,z&&am.push([E.uid,t.value]),k==null||k.activeChildren.add(E.uid),Tl(()=>{if(z){const g=Si(am).findIndex(h=>h[0]===E.uid);am.splice(g,1)}k==null||k.activeChildren.delete(E.uid)})});const d=qr(!0);z&&wu(()=>{var M;const i=((M=am.at(-1))==null?void 0:M[0])===E.uid;setTimeout(()=>d.value=i)});const y=cn(()=>!m.activeChildren.size);return{globalTop:Hm(d),localTop:y,stackStyles:cn(()=>({zIndex:t.value}))}}function nV(n){return{teleportTarget:cn(()=>{const r=n.value;if(r===!0||!to)return;const E=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(E==null)return;let z=E.querySelector(":scope > .v-overlay-container");return z||(z=document.createElement("div"),z.className="v-overlay-container",E.appendChild(z)),z})}}function rV(){return!0}function LA(n,e,r){if(!n||IA(n,r)===!1)return!1;const E=M6(e);if(typeof ShadowRoot<"u"&&E instanceof ShadowRoot&&E.host===n.target)return!1;const z=(typeof r.value=="object"&&r.value.include||(()=>[]))();return z.push(e),!z.some(k=>k==null?void 0:k.contains(n.target))}function IA(n,e){return(typeof e.value=="object"&&e.value.closeConditional||rV)(n)}function iV(n,e,r){const E=typeof r.value=="function"?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&LA(n,e,r)&&setTimeout(()=>{IA(n,r)&&E&&E(n)},0)}function iT(n,e){const r=M6(n);e(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&e(r)}const OA={mounted(n,e){const r=z=>iV(z,n,e),E=z=>{n._clickOutside.lastMousedownWasOutside=LA(z,n,e)};iT(n,z=>{z.addEventListener("click",r,!0),z.addEventListener("mousedown",E,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[e.instance.$.uid]={onClick:r,onMousedown:E}},unmounted(n,e){n._clickOutside&&(iT(n,r=>{var k;if(!r||!((k=n._clickOutside)!=null&&k[e.instance.$.uid]))return;const{onClick:E,onMousedown:z}=n._clickOutside[e.instance.$.uid];r.removeEventListener("click",E,!0),r.removeEventListener("mousedown",z,!0)}),delete n._clickOutside[e.instance.$.uid])}};function aV(n){const{modelValue:e,color:r,...E}=n;return gt(bf,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&>("div",Wr({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},E),null)]})}const cg=ur({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...JN(),...$r(),...ac(),...o1(),...jN(),...YN(),...oa(),...dh()},"VOverlay"),oh=Ar()({name:"VOverlay",directives:{ClickOutside:OA},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...cg()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,e){let{slots:r,attrs:E,emit:z}=e;const k=xi(n,"modelValue"),m=cn({get:()=>k.value,set:D=>{D&&n.disabled||(k.value=D)}}),{teleportTarget:t}=nV(cn(()=>n.attach||n.contained)),{themeClasses:d}=Ma(n),{rtlClasses:y,isRtl:i}=Cs(),{hasContent:M,onAfterLeave:g}=__(n,m),h=Ro(cn(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:l,localTop:a,stackStyles:u}=tV(m,Cr(n,"zIndex"),n._disableGlobalStack),{activatorEl:o,activatorRef:s,activatorEvents:f,contentEvents:c,scrimEvents:p}=QN(n,{isActive:m,isTop:a}),{dimensionStyles:w}=oc(n),v=EA(),{scopeId:S}=E0();Xr(()=>n.disabled,D=>{D&&(m.value=!1)});const x=Vr(),T=Vr(),{contentStyles:C,updateLocation:_}=UN(n,{isRtl:i,contentEl:T,activatorEl:o,isActive:m});$N(n,{root:x,contentEl:T,activatorEl:o,isActive:m,updateLocation:_});function A(D){z("click:outside",D),n.persistent?R():m.value=!1}function L(){return m.value&&l.value}to&&Xr(m,D=>{D?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)},{immediate:!0});function b(D){var F,B;D.key==="Escape"&&l.value&&(n.persistent?R():(m.value=!1,(F=T.value)!=null&&F.contains(document.activeElement)&&((B=o.value)==null||B.focus())))}const O=q6();$h(()=>n.closeOnBack,()=>{qB(O,D=>{l.value&&m.value?(D(!1),n.persistent?R():m.value=!1):D()})});const I=Vr();Xr(()=>m.value&&(n.absolute||n.contained)&&t.value==null,D=>{if(D){const F=t_(x.value);F&&F!==document.scrollingElement&&(I.value=F.scrollTop)}});function R(){n.noClickAnimation||T.value&&Dd(T.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:zm})}return Rr(()=>{var D;return gt(Yr,null,[(D=r.activator)==null?void 0:D.call(r,{isActive:m.value,props:Wr({ref:s},f.value,n.activatorProps)}),v.value&&M.value&>(zE,{disabled:!t.value,to:t.value},{default:()=>[gt("div",Wr({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":m.value,"v-overlay--contained":n.contained},d.value,y.value,n.class],style:[u.value,{top:Qr(I.value)},n.style],ref:x},S,E),[gt(aV,Wr({color:h,modelValue:m.value&&!!n.scrim},p.value),null),gt(Pc,{appear:!0,persisted:!0,transition:n.transition,target:o.value,onAfterLeave:()=>{g(),z("afterLeave")}},{default:()=>{var F;return[Co(gt("div",Wr({ref:T,class:["v-overlay__content",n.contentClass],style:[w.value,C.value]},c.value,n.contentProps),[(F=r.default)==null?void 0:F.call(r,{isActive:m})]),[[kf,m.value],[Tu("click-outside"),{handler:A,closeConditional:L,include:()=>[o.value]}]])]}})])]})])}),{activatorEl:o,animateClick:R,contentEl:T,globalTop:l,localTop:a,updateLocation:_}}}),wb=Symbol("Forwarded refs");function Tb(n,e){let r=n;for(;r;){const E=Reflect.getOwnPropertyDescriptor(r,e);if(E)return E;r=Object.getPrototypeOf(r)}}function Nc(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),E=1;E!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{scopeId:z}=E0(),k=Qs(),m=cn(()=>n.id||`v-menu-${k}`),t=Vr(),d=ka(Ax,null),y=qr(0);ts(Ax,{register(){++y.value},unregister(){--y.value},closeParents(){setTimeout(()=>{y.value||(E.value=!1,d==null||d.closeParents())},40)}});async function i(a){var s,f,c;const u=a.relatedTarget,o=a.target;await Ua(),E.value&&u!==o&&((s=t.value)!=null&&s.contentEl)&&((f=t.value)!=null&&f.globalTop)&&![document,t.value.contentEl].includes(o)&&!t.value.contentEl.contains(o)&&((c=Dm(t.value.contentEl)[0])==null||c.focus())}Xr(E,a=>{a?(d==null||d.register(),document.addEventListener("focusin",i,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",i))});function M(){d==null||d.closeParents()}function g(a){var u,o,s;n.disabled||a.key==="Tab"&&(h6(Dm((u=t.value)==null?void 0:u.contentEl,!1),a.shiftKey?"prev":"next",c=>c.tabIndex>=0)||(E.value=!1,(s=(o=t.value)==null?void 0:o.activatorEl)==null||s.focus()))}function h(a){var o;if(n.disabled)return;const u=(o=t.value)==null?void 0:o.contentEl;u&&E.value?a.key==="ArrowDown"?(a.preventDefault(),uy(u,"next")):a.key==="ArrowUp"&&(a.preventDefault(),uy(u,"prev")):["ArrowDown","ArrowUp"].includes(a.key)&&(E.value=!0,a.preventDefault(),setTimeout(()=>setTimeout(()=>h(a))))}const l=cn(()=>Wr({"aria-haspopup":"menu","aria-expanded":String(E.value),"aria-owns":m.value,onKeydown:h},n.activatorProps));return Rr(()=>{const[a]=oh.filterProps(n);return gt(oh,Wr({ref:t,class:["v-menu",n.class],style:n.style},a,{modelValue:E.value,"onUpdate:modelValue":u=>E.value=u,absolute:!0,activatorProps:l.value,"onClick:outside":M,onKeydown:g},z),{activator:r.activator,default:function(){for(var u=arguments.length,o=new Array(u),s=0;s{var f;return[(f=r.default)==null?void 0:f.call(r,...o)]}})}})}),Nc({id:m,ฮจopenChildren:y},t)}});const sV=ur({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...$r(),...dh({transition:{component:l_}})},"VCounter"),l1=Ar()({name:"VCounter",functional:!0,props:sV(),setup(n,e){let{slots:r}=e;const E=cn(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return Rr(()=>gt(Pc,{transition:n.transition},{default:()=>[Co(gt("div",{class:["v-counter",n.class],style:n.style},[r.default?r.default({counter:E.value,max:n.max,value:n.value}):E.value]),[[kf,n.active]])]})),{}}});const lV=ur({floating:Boolean,...$r()},"VFieldLabel"),um=Ar()({name:"VFieldLabel",props:lV(),setup(n,e){let{slots:r}=e;return Rr(()=>gt(C0,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},r)),{}}}),uV=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],u1=ur({appendInnerIcon:bi,bgColor:String,clearable:Boolean,clearIcon:{type:bi,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:bi,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>uV.includes(n)},"onClick:clear":yf(),"onClick:appendInner":yf(),"onClick:prependInner":yf(),...$r(),...m_(),...lo(),...oa()},"VField"),fg=Ar()({name:"VField",inheritAttrs:!1,props:{id:String,...r1(),...u1()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const{themeClasses:k}=Ma(n),{loaderClasses:m}=t1(n),{focusClasses:t,isFocused:d,focus:y,blur:i}=rd(n),{InputIcon:M}=aA(n),{roundedClasses:g}=Eo(n),{rtlClasses:h}=Cs(),l=cn(()=>n.dirty||n.active),a=cn(()=>!n.singleLine&&!!(n.label||z.label)),u=Qs(),o=cn(()=>n.id||`input-${u}`),s=cn(()=>`${o.value}-messages`),f=Vr(),c=Vr(),p=Vr(),w=cn(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:v,backgroundColorStyles:S}=Ro(Cr(n,"bgColor")),{textColorClasses:x,textColorStyles:T}=Ks(cn(()=>n.error||n.disabled?void 0:l.value&&d.value?n.color:n.baseColor));Xr(l,A=>{if(a.value){const L=f.value.$el,b=c.value.$el;requestAnimationFrame(()=>{const O=J2(L),I=b.getBoundingClientRect(),R=I.x-O.x,D=I.y-O.y-(O.height/2-I.height/2),F=I.width/.75,B=Math.abs(F-O.width)>1?{maxWidth:Qr(F)}:void 0,N=getComputedStyle(L),q=getComputedStyle(b),j=parseFloat(N.transitionDuration)*1e3||150,$=parseFloat(q.getPropertyValue("--v-field-label-scale")),U=q.getPropertyValue("color");L.style.visibility="visible",b.style.visibility="hidden",Dd(L,{transform:`translate(${R}px, ${D}px) scale(${$})`,color:U,...B},{duration:j,easing:zm,direction:A?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),b.style.removeProperty("visibility")})})}},{flush:"post"});const C=cn(()=>({isActive:l,isFocused:d,controlRef:p,blur:i,focus:y}));function _(A){A.target!==document.activeElement&&A.preventDefault()}return Rr(()=>{var R,D,F;const A=n.variant==="outlined",L=z["prepend-inner"]||n.prependInnerIcon,b=!!(n.clearable||z.clear),O=!!(z["append-inner"]||n.appendInnerIcon||b),I=z.label?z.label({...C.value,label:n.label,props:{for:o.value}}):n.label;return gt("div",Wr({class:["v-field",{"v-field--active":l.value,"v-field--appended":O,"v-field--center-affix":n.centerAffix??!w.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!I,[`v-field--variant-${n.variant}`]:!0},k.value,v.value,t.value,m.value,g.value,h.value,n.class],style:[S.value,n.style],onClick:_},r),[gt("div",{class:"v-field__overlay"},null),gt(g_,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:z.loader}),L&>("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&>(M,{key:"prepend-icon",name:"prependInner"},null),(R=z["prepend-inner"])==null?void 0:R.call(z,C.value)]),gt("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&a.value&>(um,{key:"floating-label",ref:c,class:[x.value],floating:!0,for:o.value,style:T.value},{default:()=>[I]}),gt(um,{ref:f,for:o.value},{default:()=>[I]}),(D=z.default)==null?void 0:D.call(z,{...C.value,props:{id:o.value,class:"v-field__input","aria-describedby":s.value},focus:y,blur:i})]),b&>(u_,{key:"clear"},{default:()=>[Co(gt("div",{class:"v-field__clearable",onMousedown:B=>{B.preventDefault(),B.stopPropagation()}},[z.clear?z.clear():gt(M,{name:"clear"},null)]),[[kf,n.dirty]])]}),O&>("div",{key:"append",class:"v-field__append-inner"},[(F=z["append-inner"])==null?void 0:F.call(z,C.value),n.appendInnerIcon&>(M,{key:"append-icon",name:"appendInner"},null)]),gt("div",{class:["v-field__outline",x.value],style:T.value},[A&>(Yr,null,[gt("div",{class:"v-field__outline__start"},null),a.value&>("div",{class:"v-field__outline__notch"},[gt(um,{ref:c,floating:!0,for:o.value},{default:()=>[I]})]),gt("div",{class:"v-field__outline__end"},null)]),w.value&&a.value&>(um,{ref:c,floating:!0,for:o.value},{default:()=>[I]})])])}),{controlRef:p}}});function w_(n){const e=Object.keys(fg.props).filter(r=>!Z2(r)&&r!=="class"&&r!=="style");return $d(n,e)}const cV=["color","file","time","date","datetime-local","week","month"],c1=ur({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...mh(),...u1()},"VTextField"),Kd=Ar()({name:"VTextField",directives:{Intersect:og},inheritAttrs:!1,props:c1(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const k=xi(n,"modelValue"),{isFocused:m,focus:t,blur:d}=rd(n),y=cn(()=>typeof n.counterValue=="function"?n.counterValue(k.value):(k.value??"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter}),M=cn(()=>["plain","underlined"].includes(n.variant));function g(w,v){var S,x;!n.autofocus||!w||(x=(S=v[0].target)==null?void 0:S.focus)==null||x.call(S)}const h=Vr(),l=Vr(),a=Vr(),u=cn(()=>cV.includes(n.type)||n.persistentPlaceholder||m.value||n.active);function o(){var w;a.value!==document.activeElement&&((w=a.value)==null||w.focus()),m.value||t()}function s(w){E("mousedown:control",w),w.target!==a.value&&(o(),w.preventDefault())}function f(w){o(),E("click:control",w)}function c(w){w.stopPropagation(),o(),Ua(()=>{k.value=null,K2(n["onClick:clear"],w)})}function p(w){var S;const v=w.target;if(k.value=v.value,(S=n.modelModifiers)!=null&&S.trim&&["text","search","password","tel","url"].includes(n.type)){const x=[v.selectionStart,v.selectionEnd];Ua(()=>{v.selectionStart=x[0],v.selectionEnd=x[1]})}}return Rr(()=>{const w=!!(z.counter||n.counter||n.counterValue),v=!!(w||z.details),[S,x]=Qd(r),[{modelValue:T,...C}]=Bs.filterProps(n),[_]=w_(n);return gt(Bs,Wr({ref:h,modelValue:k.value,"onUpdate:modelValue":A=>k.value=A,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},S,C,{centerAffix:!M.value,focused:m.value}),{...z,default:A=>{let{id:L,isDisabled:b,isDirty:O,isReadonly:I,isValid:R}=A;return gt(fg,Wr({ref:l,onMousedown:s,onClick:f,"onClick:clear":c,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},_,{id:L.value,active:u.value||O.value,dirty:O.value||n.dirty,disabled:b.value,focused:m.value,error:R.value===!1}),{...z,default:D=>{let{props:{class:F,...B}}=D;const N=Co(gt("input",Wr({ref:a,value:k.value,onInput:p,autofocus:n.autofocus,readonly:I.value,disabled:b.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:o,onBlur:d},B,x),null),[[Tu("intersect"),{handler:g},null,{once:!0}]]);return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[gt("span",{class:"v-text-field__prefix__text"},[n.prefix])]),z.default?gt("div",{class:F,"data-no-activator":""},[z.default(),N]):nh(N,{class:F}),n.suffix&>("span",{class:"v-text-field__suffix"},[gt("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:v?A=>{var L;return gt(Yr,null,[(L=z.details)==null?void 0:L.call(z,A),w&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||m.value,value:y.value,max:i.value},z.counter)])])}:void 0})}),Nc({},h,l,a)}});const fV=ur({renderless:Boolean,...$r()},"VVirtualScrollItem"),hV=Ar()({name:"VVirtualScrollItem",inheritAttrs:!1,props:fV(),emits:{"update:height":n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const{resizeRef:k,contentRect:m}=Tf(void 0,"border");Xr(()=>{var t;return(t=m.value)==null?void 0:t.height},t=>{t!=null&&E("update:height",t)}),Rr(()=>{var t,d;return n.renderless?gt(Yr,null,[(t=z.default)==null?void 0:t.call(z,{itemRef:k})]):gt("div",Wr({ref:k,class:["v-virtual-scroll__item",n.class],style:n.style},r),[(d=z.default)==null?void 0:d.call(z)])})}}),aT=-1,oT=1,dV=ur({itemHeight:{type:[Number,String],default:48}},"virtual");function pV(n,e,r){const E=qr(0),z=qr(n.itemHeight),k=cn({get:()=>parseInt(z.value??0,10),set(v){z.value=v}}),m=Vr(),{resizeRef:t,contentRect:d}=Tf();wu(()=>{t.value=m.value});const y=ep(),i=new Map;let M=Array.from({length:e.value.length});const g=cn(()=>{const v=(!d.value||m.value===document.documentElement?y.height.value:d.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(v/k.value*1.7+1)});function h(v,S){k.value=Math.max(k.value,S),M[v]=S,i.set(e.value[v],S)}function l(v){return M.slice(0,v).reduce((S,x)=>S+(x||k.value),0)}function a(v){const S=e.value.length;let x=0,T=0;for(;T=A&&(E.value=Xs(_,0,e.value.length-g.value)),u=S}function s(v){if(!m.value)return;const S=l(v);m.value.scrollTop=S}const f=cn(()=>Math.min(e.value.length,E.value+g.value)),c=cn(()=>e.value.slice(E.value,f.value).map((v,S)=>({raw:v,index:S+E.value}))),p=cn(()=>l(E.value)),w=cn(()=>l(e.value.length)-l(f.value));return Xr(()=>e.value.length,()=>{M=Jf(e.value.length).map(()=>k.value),i.forEach((v,S)=>{const x=e.value.indexOf(S);x===-1?i.delete(S):M[x]=v})}),{containerRef:m,computedItems:c,itemHeight:k,paddingTop:p,paddingBottom:w,scrollToIndex:s,handleScroll:o,handleItemResize:h}}const mV=ur({items:{type:Array,default:()=>[]},renderless:Boolean,...dV(),...$r(),...ac()},"VVirtualScroll"),f1=Ar()({name:"VVirtualScroll",props:mV(),setup(n,e){let{slots:r}=e;const E=Ss("VVirtualScroll"),{dimensionStyles:z}=oc(n),{containerRef:k,handleScroll:m,handleItemResize:t,scrollToIndex:d,paddingTop:y,paddingBottom:i,computedItems:M}=pV(n,Cr(n,"items"));return $h(()=>n.renderless,()=>{Js(()=>{var g;k.value=t_(E.vnode.el,!0),(g=k.value)==null||g.addEventListener("scroll",m)}),Tl(()=>{var g;(g=k.value)==null||g.removeEventListener("scroll",m)})}),Rr(()=>{const g=M.value.map(h=>gt(hV,{key:h.index,renderless:n.renderless,"onUpdate:height":l=>t(h.index,l)},{default:l=>{var a;return(a=r.default)==null?void 0:a.call(r,{item:h.raw,index:h.index,...l})}}));return n.renderless?gt(Yr,null,[gt("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Qr(y.value)}},null),g,gt("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Qr(i.value)}},null)]):gt("div",{ref:k,class:["v-virtual-scroll",n.class],onScroll:m,style:[z.value,n.style]},[gt("div",{class:"v-virtual-scroll__container",style:{paddingTop:Qr(y.value),paddingBottom:Qr(i.value)}},[g])])}),{scrollToIndex:d}}});function T_(n,e){const r=qr(!1);let E;function z(t){cancelAnimationFrame(E),r.value=!0,E=requestAnimationFrame(()=>{E=requestAnimationFrame(()=>{r.value=!1})})}async function k(){await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>{if(r.value){const d=Xr(r,()=>{d(),t()})}else t()})}async function m(t){var i,M;if(t.key==="Tab"&&((i=e.value)==null||i.focus()),!["PageDown","PageUp","Home","End"].includes(t.key))return;const d=(M=n.value)==null?void 0:M.$el;if(!d)return;(t.key==="Home"||t.key==="End")&&d.scrollTo({top:t.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await k();const y=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(t.key==="PageDown"||t.key==="Home"){const g=d.getBoundingClientRect().top;for(const h of y)if(h.getBoundingClientRect().top>=g){h.focus();break}}else{const g=d.getBoundingClientRect().bottom;for(const h of[...y].reverse())if(h.getBoundingClientRect().bottom<=g){h.focus();break}}}return{onListScroll:z,onListKeydown:m}}const k_=ur({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:bi,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...wA({itemChildren:!1})},"Select"),gV=ur({...k_(),...nc(c1({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...dh({transition:{component:Qy}})},"VSelect"),vV=Ar()({name:"VSelect",props:gV(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:E}=ic(),z=Vr(),k=Vr(),m=Vr(),t=xi(n,"menu"),d=cn({get:()=>t.value,set:O=>{var I;t.value&&!O&&((I=k.value)!=null&&I.ฮจopenChildren)||(t.value=O)}}),{items:y,transformIn:i,transformOut:M}=x_(n),g=xi(n,"modelValue",[],O=>i(O===null?[null]:bu(O)),O=>{const I=M(O);return n.multiple?I:I[0]??null}),h=i1(),l=cn(()=>g.value.map(O=>O.value)),a=qr(!1),u=cn(()=>d.value?n.closeText:n.openText);let o="",s;const f=cn(()=>n.hideSelected?y.value.filter(O=>!g.value.some(I=>I===O)):y.value),c=cn(()=>n.hideNoData&&!y.value.length||n.readonly||(h==null?void 0:h.isReadonly.value)),p=Vr(),{onListScroll:w,onListKeydown:v}=T_(p,z);function S(O){n.openOnClear&&(d.value=!0)}function x(){c.value||(d.value=!d.value)}function T(O){var B,N;if(!O.key||n.readonly||h!=null&&h.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(O.key)&&O.preventDefault(),["Enter","ArrowDown"," "].includes(O.key)&&(d.value=!0),["Escape","Tab"].includes(O.key)&&(d.value=!1),O.key==="Home"?(B=p.value)==null||B.focus("first"):O.key==="End"&&((N=p.value)==null||N.focus("last"));const I=1e3;function R(q){const j=q.key.length===1,$=!q.ctrlKey&&!q.metaKey&&!q.altKey;return j&&$}if(n.multiple||!R(O))return;const D=performance.now();D-s>I&&(o=""),o+=O.key.toLowerCase(),s=D;const F=y.value.find(q=>q.title.toLowerCase().startsWith(o));F!==void 0&&(g.value=[F])}function C(O){if(n.multiple){const I=g.value.findIndex(R=>n.valueComparator(R.value,O.value));if(I===-1)g.value=[...g.value,O];else{const R=[...g.value];R.splice(I,1),g.value=R}}else g.value=[O],d.value=!1}function _(O){var I;(I=p.value)!=null&&I.$el.contains(O.relatedTarget)||(d.value=!1)}function A(){var O;a.value&&((O=z.value)==null||O.focus())}function L(O){a.value=!0}function b(O){if(O==null)g.value=[];else if(l0(z.value,":autofill")||l0(z.value,":-webkit-autofill")){const I=y.value.find(R=>R.title===O);I&&C(I)}else z.value&&(z.value.value="")}return Xr(d,()=>{if(!n.hideSelected&&d.value&&g.value.length){const O=f.value.findIndex(I=>g.value.some(R=>n.valueComparator(R.value,I.value)));to&&window.requestAnimationFrame(()=>{var I;O>=0&&((I=m.value)==null||I.scrollToIndex(O))})}}),Rr(()=>{const O=!!(n.chips||r.chip),I=!!(!n.hideNoData||f.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),R=g.value.length>0,[D]=Kd.filterProps(n),F=R||!a.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return gt(Kd,Wr({ref:z},D,{modelValue:g.value.map(B=>B.props.value).join(", "),"onUpdate:modelValue":b,focused:a.value,"onUpdate:focused":B=>a.value=B,validationValue:g.externalValue,dirty:R,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!n.chips,[`v-select--${n.multiple?"multiple":"single"}`]:!0,"v-select--selected":g.value.length,"v-select--selection-slot":!!r.selection},n.class],style:n.style,inputmode:"none",placeholder:F,"onClick:clear":S,"onMousedown:control":x,onBlur:_,onKeydown:T,"aria-label":E(u.value),title:E(u.value)}),{...r,default:()=>gt(Yr,null,[gt(s1,Wr({ref:k,modelValue:d.value,"onUpdate:modelValue":B=>d.value=B,activator:"parent",contentClass:"v-select__content",disabled:c.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:A},n.menuProps),{default:()=>[I&>(a1,{ref:p,selected:l.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:B=>B.preventDefault(),onKeydown:v,onFocusin:L,onScrollPassive:w,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var B,N,q;return[(B=r["prepend-item"])==null?void 0:B.call(r),!f.value.length&&!n.hideNoData&&(((N=r["no-data"])==null?void 0:N.call(r))??gt(ah,{title:E(n.noDataText)},null)),gt(f1,{ref:m,renderless:!0,items:f.value},{default:j=>{var H;let{item:$,index:U,itemRef:G}=j;const W=Wr($.props,{ref:G,key:U,onClick:()=>C($)});return((H=r.item)==null?void 0:H.call(r,{item:$,index:U,props:W}))??gt(ah,W,{prepend:ne=>{let{isSelected:te}=ne;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(f0,{key:$.value,modelValue:te,ripple:!1,tabindex:"-1"},null):void 0,$.props.prependIcon&>(ja,{icon:$.props.prependIcon},null)])}})}}),(q=r["append-item"])==null?void 0:q.call(r)]}})]}),g.value.map((B,N)=>{var $;function q(U){U.stopPropagation(),U.preventDefault(),C(B)}const j={"onClick:close":q,onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:B.value,class:"v-select__selection"},[O?r.chip?gt(za,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:B.title}}},{default:()=>{var U;return[(U=r.chip)==null?void 0:U.call(r,{item:B,index:N,props:j})]}}):gt(ug,Wr({key:"chip",closable:n.closableChips,size:"small",text:B.title},j),null):(($=r.selection)==null?void 0:$.call(r,{item:B,index:N}))??gt("span",{class:"v-select__selection-text"},[B.title,n.multiple&&Nn==null||e==null?-1:n.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),PA=ur({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function bV(n,e,r){var t;const E=[],z=(r==null?void 0:r.default)??yV,k=r!=null&&r.filterKeys?bu(r.filterKeys):!1,m=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(n!=null&&n.length))return E;e:for(let d=0;dE!=null&&E.transform?yu(e).map(d=>[d,E.transform(d)]):yu(e));wu(()=>{const d=typeof r=="function"?r():yu(r),y=typeof d!="string"&&typeof d!="number"?"":String(d),i=bV(m.value,y,{customKeyFilter:n.customKeyFilter,default:n.customFilter,filterKeys:n.filterKeys,filterMode:n.filterMode,noFilter:n.noFilter}),M=yu(e),g=[],h=new Map;i.forEach(l=>{let{index:a,matches:u}=l;const o=M[a];g.push(o),h.set(o.value,u)}),z.value=g,k.value=h});function t(d){return k.value.get(d.value)}return{filteredItems:z,filteredMatches:k,getMatches:t}}function xV(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-autocomplete__unmask"},[n.substr(0,e)]),gt("span",{class:"v-autocomplete__mask"},[n.substr(e,r)]),gt("span",{class:"v-autocomplete__unmask"},[n.substr(e+r)])]):n}const _V=ur({autoSelectFirst:{type:[Boolean,String]},search:String,...PA({filterKeys:["title"]}),...k_(),...nc(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...dh({transition:!1})},"VAutocomplete"),wV=Ar()({name:"VAutocomplete",props:_V(),emits:{"update:focused":n=>!0,"update:search":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:E}=ic(),z=Vr(),k=qr(!1),m=qr(!0),t=qr(!1),d=Vr(),y=Vr(),i=xi(n,"menu"),M=cn({get:()=>i.value,set:W=>{var H;i.value&&!W&&((H=d.value)!=null&&H.ฮจopenChildren)||(i.value=W)}}),g=qr(-1),h=cn(()=>{var W;return(W=z.value)==null?void 0:W.color}),l=cn(()=>M.value?n.closeText:n.openText),{items:a,transformIn:u,transformOut:o}=x_(n),{textColorClasses:s,textColorStyles:f}=Ks(h),c=xi(n,"search",""),p=xi(n,"modelValue",[],W=>u(W===null?[null]:bu(W)),W=>{const H=o(W);return n.multiple?H:H[0]??null}),w=i1(),{filteredItems:v,getMatches:S}=RA(n,a,()=>m.value?"":c.value),x=cn(()=>n.hideSelected?v.value.filter(W=>!p.value.some(H=>H.value===W.value)):v.value),T=cn(()=>p.value.map(W=>W.props.value)),C=cn(()=>{var H;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&c.value===((H=x.value[0])==null?void 0:H.title))&&x.value.length>0&&!m.value&&!t.value}),_=cn(()=>n.hideNoData&&!a.value.length||n.readonly||(w==null?void 0:w.isReadonly.value)),A=Vr(),{onListScroll:L,onListKeydown:b}=T_(A,z);function O(W){n.openOnClear&&(M.value=!0),c.value=""}function I(){_.value||(M.value=!0)}function R(W){_.value||(k.value&&(W.preventDefault(),W.stopPropagation()),M.value=!M.value)}function D(W){var te,Z,X;if(n.readonly||w!=null&&w.isReadonly.value)return;const H=z.value.selectionStart,ne=p.value.length;if((g.value>-1||["Enter","ArrowDown","ArrowUp"].includes(W.key))&&W.preventDefault(),["Enter","ArrowDown"].includes(W.key)&&(M.value=!0),["Escape"].includes(W.key)&&(M.value=!1),C.value&&["Enter","Tab"].includes(W.key)&&G(x.value[0]),W.key==="ArrowDown"&&C.value&&((te=A.value)==null||te.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(W.key)){if(g.value<0){W.key==="Backspace"&&!c.value&&(g.value=ne-1);return}const Q=g.value,re=p.value[g.value];re&&G(re),g.value=Q>=ne-1?ne-2:Q}if(W.key==="ArrowLeft"){if(g.value<0&&H>0)return;const Q=g.value>-1?g.value-1:ne-1;p.value[Q]?g.value=Q:(g.value=-1,z.value.setSelectionRange((Z=c.value)==null?void 0:Z.length,(X=c.value)==null?void 0:X.length))}if(W.key==="ArrowRight"){if(g.value<0)return;const Q=g.value+1;p.value[Q]?g.value=Q:(g.value=-1,z.value.setSelectionRange(0,0))}}}function F(W){c.value=W.target.value}function B(W){if(l0(z.value,":autofill")||l0(z.value,":-webkit-autofill")){const H=a.value.find(ne=>ne.title===W.target.value);H&&G(H)}}function N(){var W;k.value&&(m.value=!0,(W=z.value)==null||W.focus())}function q(W){k.value=!0,setTimeout(()=>{t.value=!0})}function j(W){t.value=!1}function $(W){(W==null||W===""&&!n.multiple)&&(p.value=[])}const U=qr(!1);function G(W){if(n.multiple){const H=p.value.findIndex(ne=>n.valueComparator(ne.value,W.value));if(H===-1)p.value=[...p.value,W];else{const ne=[...p.value];ne.splice(H,1),p.value=ne}}else p.value=[W],U.value=!0,c.value=W.title,M.value=!1,m.value=!0,Ua(()=>U.value=!1)}return Xr(k,(W,H)=>{var ne;W!==H&&(W?(U.value=!0,c.value=n.multiple?"":String(((ne=p.value.at(-1))==null?void 0:ne.props.title)??""),m.value=!0,Ua(()=>U.value=!1)):(!n.multiple&&!c.value?p.value=[]:C.value&&!t.value&&!p.value.some(te=>{let{value:Z}=te;return Z===x.value[0].value})&&G(x.value[0]),M.value=!1,c.value="",g.value=-1))}),Xr(c,W=>{!k.value||U.value||(W&&(M.value=!0),m.value=!W)}),Xr(M,()=>{if(!n.hideSelected&&M.value&&p.value.length){const W=x.value.findIndex(H=>p.value.some(ne=>H.value===ne.value));to&&window.requestAnimationFrame(()=>{var H;W>=0&&((H=y.value)==null||H.scrollToIndex(W))})}}),Rr(()=>{const W=!!(n.chips||r.chip),H=!!(!n.hideNoData||x.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=p.value.length>0,[te]=Kd.filterProps(n);return gt(Kd,Wr({ref:z},te,{modelValue:c.value,"onUpdate:modelValue":$,focused:k.value,"onUpdate:focused":Z=>k.value=Z,validationValue:p.externalValue,dirty:ne,onInput:F,onChange:B,class:["v-autocomplete",`v-autocomplete--${n.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":M.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!r.selection,"v-autocomplete--selecting-index":g.value>-1},n.class],style:n.style,readonly:n.readonly,placeholder:ne?void 0:n.placeholder,"onClick:clear":O,"onMousedown:control":I,onKeydown:D}),{...r,default:()=>gt(Yr,null,[gt(s1,Wr({ref:d,modelValue:M.value,"onUpdate:modelValue":Z=>M.value=Z,activator:"parent",contentClass:"v-autocomplete__content",disabled:_.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:N},n.menuProps),{default:()=>[H&>(a1,{ref:A,selected:T.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:Z=>Z.preventDefault(),onKeydown:b,onFocusin:q,onFocusout:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var Z,X,Q;return[(Z=r["prepend-item"])==null?void 0:Z.call(r),!x.value.length&&!n.hideNoData&&(((X=r["no-data"])==null?void 0:X.call(r))??gt(ah,{title:E(n.noDataText)},null)),gt(f1,{ref:y,renderless:!0,items:x.value},{default:re=>{var ye;let{item:ie,index:oe,itemRef:ue}=re;const ce=Wr(ie.props,{ref:ue,key:oe,active:C.value&&oe===0?!0:void 0,onClick:()=>G(ie)});return((ye=r.item)==null?void 0:ye.call(r,{item:ie,index:oe,props:ce}))??gt(ah,ce,{prepend:de=>{let{isSelected:me}=de;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(f0,{key:ie.value,modelValue:me,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&>(ja,{icon:ie.props.prependIcon},null)])},title:()=>{var de,me;return m.value?ie.title:xV(ie.title,(de=S(ie))==null?void 0:de.title,((me=c.value)==null?void 0:me.length)??0)}})}}),(Q=r["append-item"])==null?void 0:Q.call(r)]}})]}),p.value.map((Z,X)=>{var ie;function Q(oe){oe.stopPropagation(),oe.preventDefault(),G(Z)}const re={"onClick:close":Q,onMousedown(oe){oe.preventDefault(),oe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:Z.value,class:["v-autocomplete__selection",X===g.value&&["v-autocomplete__selection--selected",s.value]],style:X===g.value?f.value:{}},[W?r.chip?gt(za,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:Z.title}}},{default:()=>{var oe;return[(oe=r.chip)==null?void 0:oe.call(r,{item:Z,index:X,props:re})]}}):gt(ug,Wr({key:"chip",closable:n.closableChips,size:"small",text:Z.title},re),null):((ie=r.selection)==null?void 0:ie.call(r,{item:Z,index:X}))??gt("span",{class:"v-autocomplete__selection-text"},[Z.title,n.multiple&&X(n.floating?n.dot?2:4:n.dot?8:12)+(["top","bottom"].includes(i)?+(n.offsetY??0):["left","right"].includes(i)?+(n.offsetX??0):0));return Rr(()=>{const i=Number(n.content),M=!n.max||isNaN(i)?n.content:i<=+n.max?i:`${n.max}+`,[g,h]=$d(e.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return gt(n.tag,Wr({class:["v-badge",{"v-badge--bordered":n.bordered,"v-badge--dot":n.dot,"v-badge--floating":n.floating,"v-badge--inline":n.inline},n.class]},h,{style:n.style}),{default:()=>{var l,a;return[gt("div",{class:"v-badge__wrapper"},[(a=(l=e.slots).default)==null?void 0:a.call(l),gt(Pc,{transition:n.transition},{default:()=>{var u,o;return[Co(gt("span",Wr({class:["v-badge__badge",d.value,r.value,z.value,m.value],style:[E.value,t.value,n.inline?{}:y.value],"aria-atomic":"true","aria-label":k(n.label,i),"aria-live":"polite",role:"status"},g),[n.dot?void 0:e.slots.badge?(o=(u=e.slots).badge)==null?void 0:o.call(u):n.icon?gt(ja,{icon:n.icon},null):M]),[[kf,n.modelValue]])]}})])]}})}),{}}});const MV=ur({color:String,density:String,...$r()},"VBannerActions"),DA=Ar()({name:"VBannerActions",props:MV(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:n.color,density:n.density,variant:"text"}}),Rr(()=>{var E;return gt("div",{class:["v-banner-actions",n.class],style:n.style},[(E=r.default)==null?void 0:E.call(r)])}),{}}}),zA=Bc("v-banner-text"),AV=ur({avatar:String,color:String,icon:bi,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Su(),...$r(),...ds(),...ac(),...hs(),...ed(),...A0(),...lo(),...Ai(),...oa()},"VBanner"),SV=Ar()({name:"VBanner",props:AV(),setup(n,e){let{slots:r}=e;const{borderClasses:E}=sc(n),{densityClasses:z}=el(n),{mobile:k}=ep(),{dimensionStyles:m}=oc(n),{elevationClasses:t}=Vs(n),{locationStyles:d}=td(n),{positionClasses:y}=S0(n),{roundedClasses:i}=Eo(n),{themeClasses:M}=Ma(n),g=Cr(n,"color"),h=Cr(n,"density");es({VBannerActions:{color:g,density:h}}),Rr(()=>{const l=!!(n.text||r.text),a=!!(n.avatar||n.icon),u=!!(a||r.prepend);return gt(n.tag,{class:["v-banner",{"v-banner--stacked":n.stacked||k.value,"v-banner--sticky":n.sticky,[`v-banner--${n.lines}-line`]:!!n.lines},E.value,z.value,t.value,y.value,i.value,M.value,n.class],style:[m.value,d.value,n.style],role:"banner"},{default:()=>{var o;return[u&>("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?gt(za,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{color:g.value,density:h.value,icon:n.icon,image:n.avatar}}},r.prepend):gt(Zh,{key:"prepend-avatar",color:g.value,density:h.value,icon:n.icon,image:n.avatar},null)]),gt("div",{class:"v-banner__content"},[l&>(zA,{key:"text"},{default:()=>{var s;return[((s=r.text)==null?void 0:s.call(r))??n.text]}}),(o=r.default)==null?void 0:o.call(r)]),r.actions&>(DA,{key:"actions"},r.actions)]}})})}});const CV=ur({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:n=>!n||["horizontal","shift"].includes(n)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Su(),...$r(),...ds(),...hs(),...lo(),...x0({name:"bottom-navigation"}),...Ai({tag:"header"}),...w0({modelValue:!0,selectedClass:"v-btn--selected"}),...oa()},"VBottomNavigation"),EV=Ar()({name:"VBottomNavigation",props:CV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:E}=L6(),{borderClasses:z}=sc(n),{backgroundColorClasses:k,backgroundColorStyles:m}=Ro(Cr(n,"bgColor")),{densityClasses:t}=el(n),{elevationClasses:d}=Vs(n),{roundedClasses:y}=Eo(n),{ssrBootStyles:i}=tp(),M=cn(()=>Number(n.height)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0)),g=Cr(n,"active"),{layoutItemStyles:h}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:cn(()=>g.value?M.value:0),elementSize:M,active:g,absolute:Cr(n,"absolute")});return ip(n,f_),es({VBtn:{color:Cr(n,"color"),density:Cr(n,"density"),stacked:cn(()=>n.mode!=="horizontal"),variant:"text"}},{scoped:!0}),Rr(()=>gt(n.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":g.value,"v-bottom-navigation--grow":n.grow,"v-bottom-navigation--shift":n.mode==="shift"},E.value,k.value,z.value,t.value,d.value,y.value,n.class],style:[m.value,h.value,{height:Qr(M.value),transform:`translateY(${Qr(g.value?0:100,"%")})`},i.value,n.style]},{default:()=>[r.default&>("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}});const LV=ur({divider:[Number,String],...$r()},"VBreadcrumbsDivider"),FA=Ar()({name:"VBreadcrumbsDivider",props:LV(),setup(n,e){let{slots:r}=e;return Rr(()=>{var E;return gt("li",{class:["v-breadcrumbs-divider",n.class],style:n.style},[((E=r==null?void 0:r.default)==null?void 0:E.call(r))??n.divider])}),{}}}),IV=ur({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...$r(),...lg(),...Ai({tag:"li"})},"VBreadcrumbsItem"),BA=Ar()({name:"VBreadcrumbsItem",props:IV(),setup(n,e){let{slots:r,attrs:E}=e;const z=sg(n,E),k=cn(()=>{var y;return n.active||((y=z.isActive)==null?void 0:y.value)}),m=cn(()=>k.value?n.activeColor:n.color),{textColorClasses:t,textColorStyles:d}=Ks(m);return Rr(()=>gt(n.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":k.value,"v-breadcrumbs-item--disabled":n.disabled,[`${n.activeClass}`]:k.value&&n.activeClass},t.value,n.class],style:[d.value,n.style],"aria-current":k.value?"page":void 0},{default:()=>{var y,i;return[z.isLink.value?gt("a",{class:"v-breadcrumbs-item--link",href:z.href.value,"aria-current":k.value?"page":void 0,onClick:z.navigate},[((i=r.default)==null?void 0:i.call(r))??n.title]):((y=r.default)==null?void 0:y.call(r))??n.title]}})),{}}}),OV=ur({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:bi,items:{type:Array,default:()=>[]},...$r(),...ds(),...lo(),...Ai({tag:"ul"})},"VBreadcrumbs"),PV=Ar()({name:"VBreadcrumbs",props:OV(),setup(n,e){let{slots:r}=e;const{backgroundColorClasses:E,backgroundColorStyles:z}=Ro(Cr(n,"bgColor")),{densityClasses:k}=el(n),{roundedClasses:m}=Eo(n);es({VBreadcrumbsDivider:{divider:Cr(n,"divider")},VBreadcrumbsItem:{activeClass:Cr(n,"activeClass"),activeColor:Cr(n,"activeColor"),color:Cr(n,"color"),disabled:Cr(n,"disabled")}});const t=cn(()=>n.items.map(d=>typeof d=="string"?{item:{title:d},raw:d}:{item:d,raw:d}));return Rr(()=>{const d=!!(r.prepend||n.icon);return gt(n.tag,{class:["v-breadcrumbs",E.value,k.value,m.value,n.class],style:[z.value,n.style]},{default:()=>{var y;return[d&>("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?gt(za,{key:"prepend-defaults",disabled:!n.icon,defaults:{VIcon:{icon:n.icon,start:!0}}},r.prepend):gt(ja,{key:"prepend-icon",start:!0,icon:n.icon},null)]),t.value.map((i,M,g)=>{let{item:h,raw:l}=i;return gt(Yr,null,[gt(BA,Wr({key:h.title,disabled:M>=g.length-1},h),{default:r.title?()=>{var a;return(a=r.title)==null?void 0:a.call(r,{item:l,index:M})}:void 0}),M{var a;return(a=r.divider)==null?void 0:a.call(r,{item:l,index:M})}:void 0})])}),(y=r.default)==null?void 0:y.call(r)]}})}),{}}});const NA=Ar()({name:"VCardActions",props:$r(),setup(n,e){let{slots:r}=e;return es({VBtn:{variant:"text"}}),Rr(()=>{var E;return gt("div",{class:["v-card-actions",n.class],style:n.style},[(E=r.default)==null?void 0:E.call(r)])}),{}}}),VA=Bc("v-card-subtitle"),jA=Bc("v-card-title"),RV=ur({appendAvatar:String,appendIcon:bi,prependAvatar:String,prependIcon:bi,subtitle:String,title:String,...$r(),...ds()},"VCardItem"),UA=Ar()({name:"VCardItem",props:RV(),setup(n,e){let{slots:r}=e;return Rr(()=>{var y;const E=!!(n.prependAvatar||n.prependIcon),z=!!(E||r.prepend),k=!!(n.appendAvatar||n.appendIcon),m=!!(k||r.append),t=!!(n.title||r.title),d=!!(n.subtitle||r.subtitle);return gt("div",{class:["v-card-item",n.class],style:n.style},[z&>("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?gt(za,{key:"prepend-defaults",disabled:!E,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},r.prepend):E&>(Zh,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),gt("div",{class:"v-card-item__content"},[t&>(jA,{key:"title"},{default:()=>{var i;return[((i=r.title)==null?void 0:i.call(r))??n.title]}}),d&>(VA,{key:"subtitle"},{default:()=>{var i;return[((i=r.subtitle)==null?void 0:i.call(r))??n.subtitle]}}),(y=r.default)==null?void 0:y.call(r)]),m&>("div",{key:"append",class:"v-card-item__append"},[r.append?gt(za,{key:"append-defaults",disabled:!k,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},r.append):k&>(Zh,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),HA=Bc("v-card-text"),DV=ur({appendAvatar:String,appendIcon:bi,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Su(),...$r(),...ds(),...ac(),...hs(),...m_(),...ed(),...A0(),...lo(),...lg(),...Ai(),...oa(),...lc({variant:"elevated"})},"VCard"),zV=Ar()({name:"VCard",directives:{Ripple:nd},props:DV(),setup(n,e){let{attrs:r,slots:E}=e;const{themeClasses:z}=Ma(n),{borderClasses:k}=sc(n),{colorClasses:m,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:y}=el(n),{dimensionStyles:i}=oc(n),{elevationClasses:M}=Vs(n),{loaderClasses:g}=t1(n),{locationStyles:h}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),u=sg(n,r),o=cn(()=>n.link!==!1&&u.isLink.value),s=cn(()=>!n.disabled&&n.link!==!1&&(n.link||u.isClickable.value));return Rr(()=>{const f=o.value?"a":n.tag,c=!!(E.title||n.title),p=!!(E.subtitle||n.subtitle),w=c||p,v=!!(E.append||n.appendAvatar||n.appendIcon),S=!!(E.prepend||n.prependAvatar||n.prependIcon),x=!!(E.image||n.image),T=w||S||v,C=!!(E.text||n.text);return Co(gt(f,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":s.value},z.value,k.value,m.value,y.value,M.value,g.value,l.value,a.value,d.value,n.class],style:[t.value,i.value,h.value,n.style],href:u.href.value,onClick:s.value&&u.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var _;return[x&>("div",{key:"image",class:"v-card__image"},[E.image?gt(za,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},E.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(g_,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:E.loader}),T&>(UA,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:E.item,prepend:E.prepend,title:E.title,subtitle:E.subtitle,append:E.append}),C&>(HA,{key:"text"},{default:()=>{var A;return[((A=E.text)==null?void 0:A.call(E))??n.text]}}),(_=E.default)==null?void 0:_.call(E),E.actions&>(NA,null,{default:E.actions}),np(s.value,"v-card")]}}),[[Tu("ripple"),s.value&&n.ripple]])}),{}}});const FV=n=>{const{touchstartX:e,touchendX:r,touchstartY:E,touchendY:z}=n,k=.5,m=16;n.offsetX=r-e,n.offsetY=z-E,Math.abs(n.offsetY)e+m&&n.right(n)),Math.abs(n.offsetX)E+m&&n.down(n))};function BV(n,e){var E;const r=n.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,(E=e.start)==null||E.call(e,{originalEvent:n,...e})}function NV(n,e){var E;const r=n.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,(E=e.end)==null||E.call(e,{originalEvent:n,...e}),FV(e)}function VV(n,e){var E;const r=n.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,(E=e.move)==null||E.call(e,{originalEvent:n,...e})}function jV(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:n.left,right:n.right,up:n.up,down:n.down,start:n.start,move:n.move,end:n.end};return{touchstart:r=>BV(r,e),touchend:r=>NV(r,e),touchmove:r=>VV(r,e)}}function UV(n,e){var t;const r=e.value,E=r!=null&&r.parent?n.parentElement:n,z=(r==null?void 0:r.options)??{passive:!0},k=(t=e.instance)==null?void 0:t.$.uid;if(!E||!k)return;const m=jV(e.value);E._touchHandlers=E._touchHandlers??Object.create(null),E._touchHandlers[k]=m,l6(m).forEach(d=>{E.addEventListener(d,m[d],z)})}function HV(n,e){var k,m;const r=(k=e.value)!=null&&k.parent?n.parentElement:n,E=(m=e.instance)==null?void 0:m.$.uid;if(!(r!=null&&r._touchHandlers)||!E)return;const z=r._touchHandlers[E];l6(z).forEach(t=>{r.removeEventListener(t,z[t])}),delete r._touchHandlers[E]}const M_={mounted:UV,unmounted:HV},GA=Symbol.for("vuetify:v-window"),WA=Symbol.for("vuetify:v-window-group"),qA=ur({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||n==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...$r(),...Ai(),...oa()},"VWindow"),Sx=Ar()({name:"VWindow",directives:{Touch:M_},props:qA(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{isRtl:z}=Cs(),{t:k}=ic(),m=ip(n,WA),t=Vr(),d=cn(()=>z.value?!n.reverse:n.reverse),y=qr(!1),i=cn(()=>{const c=n.direction==="vertical"?"y":"x",w=(d.value?!y.value:y.value)?"-reverse":"";return`v-window-${c}${w}-transition`}),M=qr(0),g=Vr(void 0),h=cn(()=>m.items.value.findIndex(c=>m.selected.value.includes(c.id)));Xr(h,(c,p)=>{const w=m.items.value.length,v=w-1;w<=2?y.value=cn.continuous||h.value!==0),a=cn(()=>n.continuous||h.value!==m.items.value.length-1);function u(){l.value&&m.prev()}function o(){a.value&&m.next()}const s=cn(()=>{const c=[],p={icon:z.value?n.nextIcon:n.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:m.prev,ariaLabel:k("$vuetify.carousel.prev")};c.push(l.value?r.prev?r.prev({props:p}):gt(wl,p,null):gt("div",null,null));const w={icon:z.value?n.prevIcon:n.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:m.next,ariaLabel:k("$vuetify.carousel.next")};return c.push(a.value?r.next?r.next({props:w}):gt(wl,w,null):gt("div",null,null)),c}),f=cn(()=>n.touch===!1?n.touch:{...{left:()=>{d.value?u():o()},right:()=>{d.value?o():u()},start:p=>{let{originalEvent:w}=p;w.stopPropagation()}},...n.touch===!0?{}:n.touch});return Rr(()=>Co(gt(n.tag,{ref:t,class:["v-window",{"v-window--show-arrows-on-hover":n.showArrows==="hover"},E.value,n.class],style:n.style},{default:()=>{var c,p;return[gt("div",{class:"v-window__container",style:{height:g.value}},[(c=r.default)==null?void 0:c.call(r,{group:m}),n.showArrows!==!1&>("div",{class:"v-window__controls"},[s.value])]),(p=r.additional)==null?void 0:p.call(r,{group:m})]}}),[[Tu("touch"),f.value]])),{group:m}}}),GV=ur({color:String,cycle:Boolean,delimiterIcon:{type:bi,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:n=>Number(n)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...qA({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),WV=Ar()({name:"VCarousel",props:GV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{t:z}=ic(),k=Vr();let m=-1;Xr(E,d),Xr(()=>n.interval,d),Xr(()=>n.cycle,y=>{y?d():window.clearTimeout(m)}),Js(t);function t(){!n.cycle||!k.value||(m=window.setTimeout(k.value.group.next,+n.interval>0?+n.interval:6e3))}function d(){window.clearTimeout(m),window.requestAnimationFrame(t)}return Rr(()=>{const[y]=Sx.filterProps(n);return gt(Sx,Wr({ref:k},y,{modelValue:E.value,"onUpdate:modelValue":i=>E.value=i,class:["v-carousel",{"v-carousel--hide-delimiter-background":n.hideDelimiterBackground,"v-carousel--vertical-delimiters":n.verticalDelimiters},n.class],style:[{height:Qr(n.height)},n.style]}),{default:r.default,additional:i=>{let{group:M}=i;return gt(Yr,null,[!n.hideDelimiters&>("div",{class:"v-carousel__controls",style:{left:n.verticalDelimiters==="left"&&n.verticalDelimiters?0:"auto",right:n.verticalDelimiters==="right"?0:"auto"}},[M.items.value.length>0&>(za,{defaults:{VBtn:{color:n.color,icon:n.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[M.items.value.map((g,h)=>{const l={id:`carousel-item-${g.id}`,"aria-label":z("$vuetify.carousel.ariaLabel.delimiter",h+1,M.items.value.length),class:[M.isSelected(g.id)&&"v-btn--active"],onClick:()=>M.select(g.id,!0)};return r.item?r.item({props:l,item:g}):gt(wl,Wr(g,l),null)})]})]),n.progress&>(p_,{class:"v-carousel__progress",color:typeof n.progress=="string"?n.progress:void 0,modelValue:(M.getItemIndex(E.value)+1)/M.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),YA=ur({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...$r(),...T0(),...o1()},"VWindowItem"),Cx=Ar()({name:"VWindowItem",directives:{Touch:M_},props:YA(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const E=ka(GA),z=k0(n,WA),{isBooted:k}=tp();if(!E||!z)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const m=qr(!1),t=cn(()=>k.value&&(E.isReversed.value?n.reverseTransition!==!1:n.transition!==!1));function d(){!m.value||!E||(m.value=!1,E.transitionCount.value>0&&(E.transitionCount.value-=1,E.transitionCount.value===0&&(E.transitionHeight.value=void 0)))}function y(){var l;m.value||!E||(m.value=!0,E.transitionCount.value===0&&(E.transitionHeight.value=Qr((l=E.rootRef.value)==null?void 0:l.clientHeight)),E.transitionCount.value+=1)}function i(){d()}function M(l){m.value&&Ua(()=>{!t.value||!m.value||!E||(E.transitionHeight.value=Qr(l.clientHeight))})}const g=cn(()=>{const l=E.isReversed.value?n.reverseTransition:n.transition;return t.value?{name:typeof l!="string"?E.transition.value:l,onBeforeEnter:y,onAfterEnter:d,onEnterCancelled:i,onBeforeLeave:y,onAfterLeave:d,onLeaveCancelled:i,onEnter:M}:!1}),{hasContent:h}=__(n,z.isSelected);return Rr(()=>gt(Pc,{transition:g.value,disabled:!k.value},{default:()=>{var l;return[Co(gt("div",{class:["v-window-item",z.selectedClass.value,n.class],style:n.style},[h.value&&((l=r.default)==null?void 0:l.call(r))]),[[kf,z.isSelected.value]])]}})),{groupItem:z}}}),qV=ur({...U6(),...YA()},"VCarouselItem"),YV=Ar()({name:"VCarouselItem",inheritAttrs:!1,props:qV(),setup(n,e){let{slots:r,attrs:E}=e;Rr(()=>{const[z]=Zd.filterProps(n),[k]=Cx.filterProps(n);return gt(Cx,Wr({class:"v-carousel-item"},k),{default:()=>[gt(Zd,Wr(E,z),r)]})})}});const $V=Bc("v-code");const ZV=ur({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...$r()},"VColorPickerCanvas"),XV=rc({name:"VColorPickerCanvas",props:ZV(),emits:{"update:color":n=>!0,"update:position":n=>!0},setup(n,e){let{emit:r}=e;const E=qr(!1),z=Vr(),k=qr(parseFloat(n.width)),m=qr(parseFloat(n.height)),t=Vr({x:0,y:0}),d=cn({get:()=>t.value,set(u){var f,c;if(!z.value)return;const{x:o,y:s}=u;r("update:color",{h:((f=n.color)==null?void 0:f.h)??0,s:Xs(o,0,k.value)/k.value,v:1-Xs(s,0,m.value)/m.value,a:((c=n.color)==null?void 0:c.a)??1})}}),y=cn(()=>{const{x:u,y:o}=d.value,s=parseInt(n.dotSize,10)/2;return{width:Qr(n.dotSize),height:Qr(n.dotSize),transform:`translate(${Qr(u-s)}, ${Qr(o-s)})`}}),{resizeRef:i}=Tf(u=>{var f;if(!((f=i.value)!=null&&f.offsetParent))return;const{width:o,height:s}=u[0].contentRect;k.value=o,m.value=s});function M(u,o,s){const{left:f,top:c,width:p,height:w}=s;d.value={x:Xs(u-f,0,p),y:Xs(o-c,0,w)}}function g(u){u.type==="mousedown"&&u.preventDefault(),!n.disabled&&(h(u),window.addEventListener("mousemove",h),window.addEventListener("mouseup",l),window.addEventListener("touchmove",h),window.addEventListener("touchend",l))}function h(u){if(n.disabled||!z.value)return;E.value=!0;const o=Wz(u);M(o.clientX,o.clientY,z.value.getBoundingClientRect())}function l(){window.removeEventListener("mousemove",h),window.removeEventListener("mouseup",l),window.removeEventListener("touchmove",h),window.removeEventListener("touchend",l)}function a(){var c;if(!z.value)return;const u=z.value,o=u.getContext("2d");if(!o)return;const s=o.createLinearGradient(0,0,u.width,0);s.addColorStop(0,"hsla(0, 0%, 100%, 1)"),s.addColorStop(1,`hsla(${((c=n.color)==null?void 0:c.h)??0}, 100%, 50%, 1)`),o.fillStyle=s,o.fillRect(0,0,u.width,u.height);const f=o.createLinearGradient(0,0,0,u.height);f.addColorStop(0,"hsla(0, 0%, 100%, 0)"),f.addColorStop(1,"hsla(0, 0%, 0%, 1)"),o.fillStyle=f,o.fillRect(0,0,u.width,u.height)}return Xr(()=>{var u;return(u=n.color)==null?void 0:u.h},a,{immediate:!0}),Xr(()=>[k.value,m.value],(u,o)=>{a(),t.value={x:d.value.x*u[0]/o[0],y:d.value.y*u[1]/o[1]}},{flush:"post"}),Xr(()=>n.color,()=>{if(E.value){E.value=!1;return}t.value=n.color?{x:n.color.s*k.value,y:(1-n.color.v)*m.value}:{x:0,y:0}},{deep:!0,immediate:!0}),Js(()=>a()),Rr(()=>gt("div",{ref:i,class:["v-color-picker-canvas",n.class],style:n.style,onMousedown:g,onTouchstartPassive:g},[gt("canvas",{ref:z,width:k.value,height:m.value},null),n.color&>("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":n.disabled}],style:y.value},null)])),{}}});function KV(n,e){if(e){const{a:r,...E}=n;return E}return n}function JV(n,e){if(e==null||typeof e=="string"){const r=T6(n);return n.a===1?r.slice(0,7):r}if(typeof e=="object"){let r;return Rd(e,["r","g","b"])?r=ih(n):Rd(e,["h","s","l"])?r=y6(n):Rd(e,["h","s","v"])&&(r=n),KV(r,!Rd(e,["a"])&&n.a===1)}return n}const bm={h:0,s:0,v:1,a:1},Ex={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:n=>Math.round(n.r),getColor:(n,e)=>({...n,r:Number(e)})},{label:"G",max:255,step:1,getValue:n=>Math.round(n.g),getColor:(n,e)=>({...n,g:Number(e)})},{label:"B",max:255,step:1,getValue:n=>Math.round(n.b),getColor:(n,e)=>({...n,b:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:ih,from:Xy};var dT;const QV={...Ex,inputs:(dT=Ex.inputs)==null?void 0:dT.slice(0,3)},Lx={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:n=>Math.round(n.h),getColor:(n,e)=>({...n,h:Number(e)})},{label:"S",max:1,step:.01,getValue:n=>Math.round(n.s*100)/100,getColor:(n,e)=>({...n,s:Number(e)})},{label:"L",max:1,step:.01,getValue:n=>Math.round(n.l*100)/100,getColor:(n,e)=>({...n,l:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:y6,from:e_},ej={...Lx,inputs:Lx.inputs.slice(0,3)},$A={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:n=>n,getColor:(n,e)=>e}],to:T6,from:cF},tj={...$A,inputs:[{label:"HEX",getValue:n=>n.slice(0,7),getColor:(n,e)=>e}]},Hd={rgb:QV,rgba:Ex,hsl:ej,hsla:Lx,hex:tj,hexa:$A},nj=n=>{let{label:e,...r}=n;return gt("div",{class:"v-color-picker-edit__input"},[gt("input",r,null),gt("span",null,[e])])},rj=ur({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},...$r()},"VColorPickerEdit"),ij=rc({name:"VColorPickerEdit",props:rj(),emits:{"update:color":n=>!0,"update:mode":n=>!0},setup(n,e){let{emit:r}=e;const E=cn(()=>n.modes.map(k=>({...Hd[k],name:k}))),z=cn(()=>{var t;const k=E.value.find(d=>d.name===n.mode);if(!k)return[];const m=n.color?k.to(n.color):null;return(t=k.inputs)==null?void 0:t.map(d=>{let{getValue:y,getColor:i,...M}=d;return{...k.inputProps,...M,disabled:n.disabled,value:m&&y(m),onChange:g=>{const h=g.target;h&&r("update:color",k.from(i(m??bm,h.value)))}}})});return Rr(()=>{var k;return gt("div",{class:["v-color-picker-edit",n.class],style:n.style},[(k=z.value)==null?void 0:k.map(m=>gt(nj,m,null)),E.value.length>1&>(wl,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const m=E.value.findIndex(t=>t.name===n.mode);r("update:mode",E.value[(m+1)%E.value.length].name)}},null)])}),{}}});const A_=Symbol.for("vuetify:v-slider");function Ix(n,e,r){const E=r==="vertical",z=e.getBoundingClientRect(),k="touches"in n?n.touches[0]:n;return E?k.clientY-(z.top+z.height/2):k.clientX-(z.left+z.width/2)}function aj(n,e){return"touches"in n&&n.touches.length?n.touches[0][e]:"changedTouches"in n&&n.changedTouches.length?n.changedTouches[0][e]:n[e]}const ZA=ur({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:n=>typeof n=="boolean"||n==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:n=>typeof n=="boolean"||n==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:n=>["vertical","horizontal"].includes(n)},reverse:Boolean,...lo(),...hs({elevation:2})},"Slider"),XA=n=>{const e=cn(()=>parseFloat(n.min)),r=cn(()=>parseFloat(n.max)),E=cn(()=>+n.step>0?parseFloat(n.step):0),z=cn(()=>Math.max(x5(E.value),x5(e.value)));function k(m){if(m=parseFloat(m),E.value<=0)return m;const t=Xs(m,e.value,r.value),d=e.value%E.value,y=Math.round((t-d)/E.value)*E.value+d;return parseFloat(Math.min(y,r.value).toFixed(z.value))}return{min:e,max:r,step:E,decimals:z,roundValue:k}},KA=n=>{let{props:e,steps:r,onSliderStart:E,onSliderMove:z,onSliderEnd:k,getActiveThumb:m}=n;const{isRtl:t}=Cs(),d=Cr(e,"reverse"),y=cn(()=>{let U=t.value?"rtl":"ltr";return e.reverse&&(U=U==="rtl"?"ltr":"rtl"),U}),{min:i,max:M,step:g,decimals:h,roundValue:l}=r,a=cn(()=>parseInt(e.thumbSize,10)),u=cn(()=>parseInt(e.tickSize,10)),o=cn(()=>parseInt(e.trackSize,10)),s=cn(()=>(M.value-i.value)/g.value),f=Cr(e,"disabled"),c=cn(()=>e.direction==="vertical"),p=cn(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),w=cn(()=>e.error||e.disabled?void 0:e.trackColor??e.color),v=cn(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),S=qr(!1),x=qr(0),T=Vr(),C=Vr();function _(U){var re;const G=e.direction==="vertical",W=G?"top":"left",H=G?"height":"width",ne=G?"clientY":"clientX",{[W]:te,[H]:Z}=(re=T.value)==null?void 0:re.$el.getBoundingClientRect(),X=aj(U,ne);let Q=Math.min(Math.max((X-te-x.value)/Z,0),1)||0;return(G||y.value==="rtl")&&(Q=1-Q),l(i.value+Q*(M.value-i.value))}const A=U=>{k({value:_(U)}),S.value=!1,x.value=0},L=U=>{C.value=m(U),C.value&&(C.value.focus(),S.value=!0,C.value.contains(U.target)?x.value=Ix(U,C.value,e.direction):(x.value=0,z({value:_(U)})),E({value:_(U)}))},b={passive:!0,capture:!0};function O(U){z({value:_(U)})}function I(U){U.stopPropagation(),U.preventDefault(),A(U),window.removeEventListener("mousemove",O,b),window.removeEventListener("mouseup",I)}function R(U){var G;A(U),window.removeEventListener("touchmove",O,b),(G=U.target)==null||G.removeEventListener("touchend",R)}function D(U){var G;L(U),window.addEventListener("touchmove",O,b),(G=U.target)==null||G.addEventListener("touchend",R,{passive:!1})}function F(U){U.preventDefault(),L(U),window.addEventListener("mousemove",O,b),window.addEventListener("mouseup",I,{passive:!1})}const B=U=>{const G=(U-i.value)/(M.value-i.value)*100;return Xs(isNaN(G)?0:G,0,100)},N=Cr(e,"showTicks"),q=cn(()=>N.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(U=>({value:U,position:B(U),label:U.toString()})):Object.keys(e.ticks).map(U=>({value:parseFloat(U),position:B(parseFloat(U)),label:e.ticks[U]})):s.value!==1/0?Jf(s.value+1).map(U=>{const G=i.value+U*g.value;return{value:G,position:B(G)}}):[]:[]),j=cn(()=>q.value.some(U=>{let{label:G}=U;return!!G})),$={activeThumbRef:C,color:Cr(e,"color"),decimals:h,disabled:f,direction:Cr(e,"direction"),elevation:Cr(e,"elevation"),hasLabels:j,horizontalDirection:y,isReversed:d,min:i,max:M,mousePressed:S,numTicks:s,onSliderMousedown:F,onSliderTouchstart:D,parsedTicks:q,parseMouseMove:_,position:B,readonly:Cr(e,"readonly"),rounded:Cr(e,"rounded"),roundValue:l,showTicks:N,startOffset:x,step:g,thumbSize:a,thumbColor:p,thumbLabel:Cr(e,"thumbLabel"),ticks:Cr(e,"ticks"),tickSize:u,trackColor:w,trackContainerRef:T,trackFillColor:v,trackSize:o,vertical:c};return ts(A_,$),$},oj=ur({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...$r()},"VSliderThumb"),Ox=Ar()({name:"VSliderThumb",directives:{Ripple:nd},props:oj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r,emit:E}=e;const z=ka(A_),{rtlClasses:k}=Cs();if(!z)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:m,step:t,vertical:d,disabled:y,thumbSize:i,thumbLabel:M,direction:g,readonly:h,elevation:l,isReversed:a,horizontalDirection:u,mousePressed:o,decimals:s}=z,{textColorClasses:f,textColorStyles:c}=Ks(m),{pageup:p,pagedown:w,end:v,home:S,left:x,right:T,down:C,up:_}=sx,A=[p,w,v,S,x,T,C,_],L=cn(()=>t.value?[1,2,3]:[1,5,10]);function b(I,R){if(!A.includes(I.key))return;I.preventDefault();const D=t.value||.1,F=(n.max-n.min)/D;if([x,T,C,_].includes(I.key)){const N=(u.value==="rtl"?[x,_]:[T,_]).includes(I.key)?1:-1,q=I.shiftKey?2:I.ctrlKey?1:0;R=R+N*D*L.value[q]}else if(I.key===S)R=n.min;else if(I.key===v)R=n.max;else{const B=I.key===w?1:-1;R=R-B*D*(F>100?F/10:10)}return Math.max(n.min,Math.min(n.max,R))}function O(I){const R=b(I,n.modelValue);R!=null&&E("update:modelValue",R)}return Rr(()=>{const I=Qr(d.value||a.value?100-n.position:n.position,"%"),{elevationClasses:R}=Vs(cn(()=>y.value?void 0:l.value));return gt("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":n.focused,"v-slider-thumb--pressed":n.focused&&o.value},n.class,k.value],style:[{"--v-slider-thumb-position":I,"--v-slider-thumb-size":Qr(i.value)},n.style],role:"slider",tabindex:y.value?-1:0,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,"aria-readonly":!!h.value,"aria-orientation":g.value,onKeydown:h.value?void 0:O},[gt("div",{class:["v-slider-thumb__surface",f.value,R.value],style:{...c.value}},null),Co(gt("div",{class:["v-slider-thumb__ripple",f.value],style:c.value},null),[[Tu("ripple"),n.ripple,null,{circle:!0,center:!0}]]),gt(s_,{origin:"bottom center"},{default:()=>{var D;return[Co(gt("div",{class:"v-slider-thumb__label-container"},[gt("div",{class:["v-slider-thumb__label"]},[gt("div",null,[((D=r["thumb-label"])==null?void 0:D.call(r,{modelValue:n.modelValue}))??n.modelValue.toFixed(t.value?s.value:1)])])]),[[kf,M.value&&n.focused||M.value==="always"]])]}})])}),{}}});const sj=ur({start:{type:Number,required:!0},stop:{type:Number,required:!0},...$r()},"VSliderTrack"),JA=Ar()({name:"VSliderTrack",props:sj(),emits:{},setup(n,e){let{slots:r}=e;const E=ka(A_);if(!E)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:z,horizontalDirection:k,parsedTicks:m,rounded:t,showTicks:d,tickSize:y,trackColor:i,trackFillColor:M,trackSize:g,vertical:h,min:l,max:a}=E,{roundedClasses:u}=Eo(t),{backgroundColorClasses:o,backgroundColorStyles:s}=Ro(M),{backgroundColorClasses:f,backgroundColorStyles:c}=Ro(i),p=cn(()=>`inset-${h.value?"block-end":"inline-start"}`),w=cn(()=>h.value?"height":"width"),v=cn(()=>({[p.value]:"0%",[w.value]:"100%"})),S=cn(()=>n.stop-n.start),x=cn(()=>({[p.value]:Qr(n.start,"%"),[w.value]:Qr(S.value,"%")})),T=cn(()=>d.value?(h.value?m.value.slice().reverse():m.value).map((_,A)=>{var O;const L=h.value?"bottom":"margin-inline-start",b=_.value!==l.value&&_.value!==a.value?Qr(_.position,"%"):void 0;return gt("div",{key:_.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":_.position>=n.start&&_.position<=n.stop,"v-slider-track__tick--first":_.value===l.value,"v-slider-track__tick--last":_.value===a.value}],style:{[L]:b}},[(_.label||r["tick-label"])&>("div",{class:"v-slider-track__tick-label"},[((O=r["tick-label"])==null?void 0:O.call(r,{tick:_,index:A}))??_.label])])}):[]);return Rr(()=>gt("div",{class:["v-slider-track",u.value,n.class],style:[{"--v-slider-track-size":Qr(g.value),"--v-slider-tick-size":Qr(y.value),direction:h.value?void 0:k.value},n.style]},[gt("div",{class:["v-slider-track__background",f.value,{"v-slider-track__background--opacity":!!z.value||!M.value}],style:{...v.value,...c.value}},null),gt("div",{class:["v-slider-track__fill",o.value],style:{...x.value,...s.value}},null),d.value&>("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":d.value==="always"}]},[T.value])])),{}}}),lj=ur({...r1(),...ZA(),...mh(),modelValue:{type:[Number,String],default:0}},"VSlider"),Px=Ar()({name:"VSlider",props:lj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,start:n=>!0,end:n=>!0},setup(n,e){let{slots:r,emit:E}=e;const z=Vr(),{rtlClasses:k}=Cs(),m=XA(n),t=xi(n,"modelValue",void 0,w=>m.roundValue(w??m.min.value)),{min:d,max:y,mousePressed:i,roundValue:M,onSliderMousedown:g,onSliderTouchstart:h,trackContainerRef:l,position:a,hasLabels:u,readonly:o}=KA({props:n,steps:m,onSliderStart:()=>{E("start",t.value)},onSliderEnd:w=>{let{value:v}=w;const S=M(v);t.value=S,E("end",S)},onSliderMove:w=>{let{value:v}=w;return t.value=M(v)},getActiveThumb:()=>{var w;return(w=z.value)==null?void 0:w.$el}}),{isFocused:s,focus:f,blur:c}=rd(n),p=cn(()=>a(t.value));return Rr(()=>{const[w,v]=Bs.filterProps(n),S=!!(n.label||r.label||r.prepend);return gt(Bs,Wr({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||u.value,"v-slider--focused":s.value,"v-slider--pressed":i.value,"v-slider--disabled":n.disabled},k.value,n.class],style:n.style},w,{focused:s.value}),{...r,prepend:S?x=>{var T,C;return gt(Yr,null,[((T=r.label)==null?void 0:T.call(r,x))??n.label?gt(C0,{id:x.id.value,class:"v-slider__label",text:n.label},null):void 0,(C=r.prepend)==null?void 0:C.call(r,x)])}:void 0,default:x=>{let{id:T,messagesId:C}=x;return gt("div",{class:"v-slider__container",onMousedown:o.value?void 0:g,onTouchstartPassive:o.value?void 0:h},[gt("input",{id:T.value,name:n.name||T.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:t.value},null),gt(JA,{ref:l,start:0,stop:p.value},{"tick-label":r["tick-label"]}),gt(Ox,{ref:z,"aria-describedby":C.value,focused:s.value,min:d.value,max:y.value,modelValue:t.value,"onUpdate:modelValue":_=>t.value=_,position:p.value,elevation:n.elevation,onFocus:f,onBlur:c},{"thumb-label":r["thumb-label"]})])}})}),{}}}),uj=ur({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...$r()},"VColorPickerPreview"),cj=rc({name:"VColorPickerPreview",props:uj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Rr(()=>{var E,z;return gt("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":n.hideAlpha},n.class],style:n.style},[gt("div",{class:"v-color-picker-preview__dot"},[gt("div",{style:{background:x6(n.color??bm)}},null)]),gt("div",{class:"v-color-picker-preview__sliders"},[gt(Px,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(E=n.color)==null?void 0:E.h,"onUpdate:modelValue":k=>r("update:color",{...n.color??bm,h:k}),step:0,min:0,max:360,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!n.hideAlpha&>(Px,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((z=n.color)==null?void 0:z.a)??1,"onUpdate:modelValue":k=>r("update:color",{...n.color??bm,a:k}),step:1/256,min:0,max:1,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const fj=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),hj=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),dj=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),pj=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),mj=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),gj=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),vj=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),yj=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),bj=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),xj=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),_j=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),wj=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),Tj=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),kj=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Mj=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Aj=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Sj=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Cj=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Ej=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Lj=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),Ij=Object.freeze({red:fj,pink:hj,purple:dj,deepPurple:pj,indigo:mj,blue:gj,lightBlue:vj,cyan:yj,teal:bj,green:xj,lightGreen:_j,lime:wj,yellow:Tj,amber:kj,orange:Mj,deepOrange:Aj,brown:Sj,blueGrey:Cj,grey:Ej,shades:Lj}),Oj=ur({swatches:{type:Array,default:()=>Pj(Ij)},disabled:Boolean,color:Object,maxHeight:[Number,String],...$r()},"VColorPickerSwatches");function Pj(n){return Object.keys(n).map(e=>{const r=n[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const Rj=rc({name:"VColorPickerSwatches",props:Oj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Rr(()=>gt("div",{class:["v-color-picker-swatches",n.class],style:[{maxHeight:Qr(n.maxHeight)},n.style]},[gt("div",null,[n.swatches.map(E=>gt("div",{class:"v-color-picker-swatches__swatch"},[E.map(z=>{const k=Oc(z),m=Xy(k),t=b6(k);return gt("div",{class:"v-color-picker-swatches__color",onClick:()=>m&&r("update:color",m)},[gt("div",{style:{background:t}},[n.color&&b0(n.color,m)?gt(ja,{size:"x-small",icon:"$success",color:pF(z,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const QA=ur({color:String,...Su(),...$r(),...ac(),...hs(),...ed(),...A0(),...lo(),...Ai(),...oa()},"VSheet"),Rx=Ar()({name:"VSheet",props:QA(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{backgroundColorClasses:z,backgroundColorStyles:k}=Ro(Cr(n,"color")),{borderClasses:m}=sc(n),{dimensionStyles:t}=oc(n),{elevationClasses:d}=Vs(n),{locationStyles:y}=td(n),{positionClasses:i}=S0(n),{roundedClasses:M}=Eo(n);return Rr(()=>gt(n.tag,{class:["v-sheet",E.value,z.value,m.value,d.value,i.value,M.value,n.class],style:[k.value,t.value,y.value,n.style]},r)),{}}}),Dj=ur({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...nc(QA({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),zj=rc({name:"VColorPicker",props:Dj(),emits:{"update:modelValue":n=>!0,"update:mode":n=>!0},setup(n){const e=xi(n,"mode"),r=Vr(null),E=xi(n,"modelValue",void 0,m=>{if(m==null||m==="")return null;let t;try{t=Xy(Oc(m))}catch{return null}return r.value&&(t={...t,h:r.value.h},r.value=null),t},m=>m?JV(m,n.modelValue):null),{rtlClasses:z}=Cs(),k=m=>{E.value=m,r.value=m};return Js(()=>{n.modes.includes(e.value)||(e.value=n.modes[0])}),es({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),Rr(()=>{const[m]=Rx.filterProps(n);return gt(Rx,Wr({rounded:n.rounded,elevation:n.elevation,theme:n.theme,class:["v-color-picker",z.value,n.class],style:[{"--v-color-picker-color-hsv":x6({...E.value??bm,a:1})},n.style]},m,{maxWidth:n.width}),{default:()=>[!n.hideCanvas&>(XV,{key:"canvas",color:E.value,"onUpdate:color":k,disabled:n.disabled,dotSize:n.dotSize,width:n.width,height:n.canvasHeight},null),(!n.hideSliders||!n.hideInputs)&>("div",{key:"controls",class:"v-color-picker__controls"},[!n.hideSliders&>(cj,{key:"preview",color:E.value,"onUpdate:color":k,hideAlpha:!e.value.endsWith("a"),disabled:n.disabled},null),!n.hideInputs&>(ij,{key:"edit",modes:n.modes,mode:e.value,"onUpdate:mode":t=>e.value=t,color:E.value,"onUpdate:color":k,disabled:n.disabled},null)]),n.showSwatches&>(Rj,{key:"swatches",color:E.value,"onUpdate:color":k,maxHeight:n.swatchesMaxHeight,swatches:n.swatches,disabled:n.disabled},null)]})}),{}}});function Fj(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-combobox__unmask"},[n.substr(0,e)]),gt("span",{class:"v-combobox__mask"},[n.substr(e,r)]),gt("span",{class:"v-combobox__unmask"},[n.substr(e+r)])]):n}const Bj=ur({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...PA({filterKeys:["title"]}),...k_({hideNoData:!0,returnObject:!0}),...nc(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...dh({transition:!1})},"VCombobox"),Nj=Ar()({name:"VCombobox",props:Bj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:search":n=>!0,"update:menu":n=>!0},setup(n,e){var W;let{emit:r,slots:E}=e;const{t:z}=ic(),k=Vr(),m=qr(!1),t=qr(!0),d=qr(!1),y=Vr(),i=Vr(),M=xi(n,"menu"),g=cn({get:()=>M.value,set:H=>{var ne;M.value&&!H&&((ne=y.value)!=null&&ne.ฮจopenChildren)||(M.value=H)}}),h=qr(-1);let l=!1;const a=cn(()=>{var H;return(H=k.value)==null?void 0:H.color}),u=cn(()=>g.value?n.closeText:n.openText),{items:o,transformIn:s,transformOut:f}=x_(n),{textColorClasses:c,textColorStyles:p}=Ks(a),w=xi(n,"modelValue",[],H=>s(bu(H)),H=>{const ne=f(H);return n.multiple?ne:ne[0]??null}),v=i1(),S=qr(n.multiple?"":((W=w.value[0])==null?void 0:W.title)??""),x=cn({get:()=>S.value,set:H=>{var ne;if(S.value=H,n.multiple||(w.value=[zd(n,H)]),H&&n.multiple&&((ne=n.delimiters)!=null&&ne.length)){const te=H.split(new RegExp(`(?:${n.delimiters.join("|")})+`));te.length>1&&(te.forEach(Z=>{Z=Z.trim(),Z&&j(zd(n,Z))}),S.value="")}H||(h.value=-1),t.value=!H}});Xr(S,H=>{l?Ua(()=>l=!1):m.value&&!g.value&&(g.value=!0),r("update:search",H)}),Xr(w,H=>{var ne;n.multiple||(S.value=((ne=H[0])==null?void 0:ne.title)??"")});const{filteredItems:T,getMatches:C}=RA(n,o,()=>t.value?"":x.value),_=cn(()=>n.hideSelected?T.value.filter(H=>!w.value.some(ne=>ne.value===H.value)):T.value),A=cn(()=>w.value.map(H=>H.value)),L=cn(()=>{var ne;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&x.value===((ne=_.value[0])==null?void 0:ne.title))&&_.value.length>0&&!t.value&&!d.value}),b=cn(()=>n.hideNoData&&!o.value.length||n.readonly||(v==null?void 0:v.isReadonly.value)),O=Vr(),{onListScroll:I,onListKeydown:R}=T_(O,k);function D(H){l=!0,n.openOnClear&&(g.value=!0)}function F(){b.value||(g.value=!0)}function B(H){b.value||(m.value&&(H.preventDefault(),H.stopPropagation()),g.value=!g.value)}function N(H){var Z;if(n.readonly||v!=null&&v.isReadonly.value)return;const ne=k.value.selectionStart,te=w.value.length;if((h.value>-1||["Enter","ArrowDown","ArrowUp"].includes(H.key))&&H.preventDefault(),["Enter","ArrowDown"].includes(H.key)&&(g.value=!0),["Escape"].includes(H.key)&&(g.value=!1),["Enter","Escape","Tab"].includes(H.key)&&(L.value&&["Enter","Tab"].includes(H.key)&&j(T.value[0]),t.value=!0),H.key==="ArrowDown"&&L.value&&((Z=O.value)==null||Z.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(H.key)){if(h.value<0){H.key==="Backspace"&&!x.value&&(h.value=te-1);return}const X=h.value,Q=w.value[h.value];Q&&j(Q),h.value=X>=te-1?te-2:X}if(H.key==="ArrowLeft"){if(h.value<0&&ne>0)return;const X=h.value>-1?h.value-1:te-1;w.value[X]?h.value=X:(h.value=-1,k.value.setSelectionRange(x.value.length,x.value.length))}if(H.key==="ArrowRight"){if(h.value<0)return;const X=h.value+1;w.value[X]?h.value=X:(h.value=-1,k.value.setSelectionRange(0,0))}H.key==="Enter"&&x.value&&(j(zd(n,x.value)),x.value="")}}function q(){var H;m.value&&(t.value=!0,(H=k.value)==null||H.focus())}function j(H){if(n.multiple){const ne=w.value.findIndex(te=>n.valueComparator(te.value,H.value));if(ne===-1)w.value=[...w.value,H];else{const te=[...w.value];te.splice(ne,1),w.value=te}x.value=""}else w.value=[H],S.value=H.title,Ua(()=>{g.value=!1,t.value=!0})}function $(H){m.value=!0,setTimeout(()=>{d.value=!0})}function U(H){d.value=!1}function G(H){(H==null||H===""&&!n.multiple)&&(w.value=[])}return Xr(T,H=>{!H.length&&n.hideNoData&&(g.value=!1)}),Xr(m,(H,ne)=>{H||H===ne||(h.value=-1,g.value=!1,L.value&&!d.value&&!w.value.some(te=>{let{value:Z}=te;return Z===_.value[0].value})?j(_.value[0]):n.multiple&&x.value&&(w.value=[...w.value,zd(n,x.value)],x.value=""))}),Xr(g,()=>{if(!n.hideSelected&&g.value&&w.value.length){const H=_.value.findIndex(ne=>w.value.some(te=>n.valueComparator(te.value,ne.value)));to&&window.requestAnimationFrame(()=>{var ne;H>=0&&((ne=i.value)==null||ne.scrollToIndex(H))})}}),Rr(()=>{const H=!!(n.chips||E.chip),ne=!!(!n.hideNoData||_.value.length||E["prepend-item"]||E["append-item"]||E["no-data"]),te=w.value.length>0,[Z]=Kd.filterProps(n);return gt(Kd,Wr({ref:k},Z,{modelValue:x.value,"onUpdate:modelValue":[X=>x.value=X,G],focused:m.value,"onUpdate:focused":X=>m.value=X,validationValue:w.externalValue,dirty:te,class:["v-combobox",{"v-combobox--active-menu":g.value,"v-combobox--chips":!!n.chips,"v-combobox--selection-slot":!!E.selection,"v-combobox--selecting-index":h.value>-1,[`v-combobox--${n.multiple?"multiple":"single"}`]:!0},n.class],style:n.style,readonly:n.readonly,placeholder:te?void 0:n.placeholder,"onClick:clear":D,"onMousedown:control":F,onKeydown:N}),{...E,default:()=>gt(Yr,null,[gt(s1,Wr({ref:y,modelValue:g.value,"onUpdate:modelValue":X=>g.value=X,activator:"parent",contentClass:"v-combobox__content",disabled:b.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:q},n.menuProps),{default:()=>[ne&>(a1,{ref:O,selected:A.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:X=>X.preventDefault(),onKeydown:R,onFocusin:$,onFocusout:U,onScrollPassive:I,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var X,Q,re;return[(X=E["prepend-item"])==null?void 0:X.call(E),!_.value.length&&!n.hideNoData&&(((Q=E["no-data"])==null?void 0:Q.call(E))??gt(ah,{title:z(n.noDataText)},null)),gt(f1,{ref:i,renderless:!0,items:_.value},{default:ie=>{var de;let{item:oe,index:ue,itemRef:ce}=ie;const ye=Wr(oe.props,{ref:ce,key:ue,active:L.value&&ue===0?!0:void 0,onClick:()=>j(oe)});return((de=E.item)==null?void 0:de.call(E,{item:oe,index:ue,props:ye}))??gt(ah,ye,{prepend:me=>{let{isSelected:pe}=me;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(f0,{key:oe.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,oe.props.prependIcon&>(ja,{icon:oe.props.prependIcon},null)])},title:()=>{var me,pe;return t.value?oe.title:Fj(oe.title,(me=C(oe))==null?void 0:me.title,((pe=x.value)==null?void 0:pe.length)??0)}})}}),(re=E["append-item"])==null?void 0:re.call(E)]}})]}),w.value.map((X,Q)=>{var oe;function re(ue){ue.stopPropagation(),ue.preventDefault(),j(X)}const ie={"onClick:close":re,onMousedown(ue){ue.preventDefault(),ue.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:X.value,class:["v-combobox__selection",Q===h.value&&["v-combobox__selection--selected",c.value]],style:Q===h.value?p.value:{}},[H?E.chip?gt(za,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:X.title}}},{default:()=>{var ue;return[(ue=E.chip)==null?void 0:ue.call(E,{item:X,index:Q,props:ie})]}}):gt(ug,Wr({key:"chip",closable:n.closableChips,size:"small",text:X.title},ie),null):((oe=E.selection)==null?void 0:oe.call(E,{item:X,index:Q}))??gt("span",{class:"v-combobox__selection-text"},[X.title,n.multiple&&Q!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{scopeId:z}=E0(),k=Vr();function m(d){var M,g;const y=d.relatedTarget,i=d.target;if(y!==i&&((M=k.value)!=null&&M.contentEl)&&((g=k.value)!=null&&g.globalTop)&&![document,k.value.contentEl].includes(i)&&!k.value.contentEl.contains(i)){const h=Dm(k.value.contentEl);if(!h.length)return;const l=h[0],a=h[h.length-1];y===l?a.focus():l.focus()}}to&&Xr(()=>E.value&&n.retainFocus,d=>{d?document.addEventListener("focusin",m):document.removeEventListener("focusin",m)},{immediate:!0}),Xr(E,async d=>{var y,i;await Ua(),d?(y=k.value.contentEl)==null||y.focus({preventScroll:!0}):(i=k.value.activatorEl)==null||i.focus({preventScroll:!0})});const t=cn(()=>Wr({"aria-haspopup":"dialog","aria-expanded":String(E.value)},n.activatorProps));return Rr(()=>{const[d]=oh.filterProps(n);return gt(oh,Wr({ref:k,class:["v-dialog",{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},d,{modelValue:E.value,"onUpdate:modelValue":y=>E.value=y,"aria-modal":"true",activatorProps:t.value,role:"dialog"},z),{activator:r.activator,default:function(){for(var y=arguments.length,i=new Array(y),M=0;M{var g;return[(g=r.default)==null?void 0:g.call(r,...i)]}})}})}),Nc({},k)}});const jm=Symbol.for("vuetify:v-expansion-panel"),Uj=["default","accordion","inset","popout"],Hj=ur({color:String,variant:{type:String,default:"default",validator:n=>Uj.includes(n)},readonly:Boolean,...$r(),...w0(),...Ai(),...oa()},"VExpansionPanels"),Gj=Ar()({name:"VExpansionPanels",props:Hj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;ip(n,jm);const{themeClasses:E}=Ma(n),z=cn(()=>n.variant&&`v-expansion-panels--variant-${n.variant}`);return es({VExpansionPanel:{color:Cr(n,"color")},VExpansionPanelTitle:{readonly:Cr(n,"readonly")}}),Rr(()=>gt(n.tag,{class:["v-expansion-panels",E.value,z.value,n.class],style:n.style},r)),{}}}),Wj=ur({...$r(),...o1()},"VExpansionPanelText"),eS=Ar()({name:"VExpansionPanelText",props:Wj(),setup(n,e){let{slots:r}=e;const E=ka(jm);if(!E)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:z,onAfterLeave:k}=__(n,E.isSelected);return Rr(()=>gt(e1,{onAfterLeave:k},{default:()=>{var m;return[Co(gt("div",{class:["v-expansion-panel-text",n.class],style:n.style},[r.default&&z.value&>("div",{class:"v-expansion-panel-text__wrapper"},[(m=r.default)==null?void 0:m.call(r)])]),[[kf,E.isSelected.value]])]}})),{}}}),tS=ur({color:String,expandIcon:{type:bi,default:"$expand"},collapseIcon:{type:bi,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...$r()},"VExpansionPanelTitle"),nS=Ar()({name:"VExpansionPanelTitle",directives:{Ripple:nd},props:tS(),setup(n,e){let{slots:r}=e;const E=ka(jm);if(!E)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:z,backgroundColorStyles:k}=Ro(n,"color"),m=cn(()=>({collapseIcon:n.collapseIcon,disabled:E.disabled.value,expanded:E.isSelected.value,expandIcon:n.expandIcon,readonly:n.readonly}));return Rr(()=>{var t;return Co(gt("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":E.isSelected.value},z.value,n.class],style:[k.value,n.style],type:"button",tabindex:E.disabled.value?-1:void 0,disabled:E.disabled.value,"aria-expanded":E.isSelected.value,onClick:n.readonly?void 0:E.toggle},[gt("span",{class:"v-expansion-panel-title__overlay"},null),(t=r.default)==null?void 0:t.call(r,m.value),!n.hideActions&>("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(m.value):gt(ja,{icon:E.isSelected.value?n.collapseIcon:n.expandIcon},null)])]),[[Tu("ripple"),n.ripple]])}),{}}}),qj=ur({title:String,text:String,bgColor:String,...$r(),...hs(),...T0(),...o1(),...lo(),...Ai(),...tS()},"VExpansionPanel"),Yj=Ar()({name:"VExpansionPanel",props:qj(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const E=k0(n,jm),{backgroundColorClasses:z,backgroundColorStyles:k}=Ro(n,"bgColor"),{elevationClasses:m}=Vs(n),{roundedClasses:t}=Eo(n),d=cn(()=>(E==null?void 0:E.disabled.value)||n.disabled),y=cn(()=>E.group.items.value.reduce((g,h,l)=>(E.group.selected.value.includes(h.id)&&g.push(l),g),[])),i=cn(()=>{const g=E.group.items.value.findIndex(h=>h.id===E.id);return!E.isSelected.value&&y.value.some(h=>h-g===1)}),M=cn(()=>{const g=E.group.items.value.findIndex(h=>h.id===E.id);return!E.isSelected.value&&y.value.some(h=>h-g===-1)});return ts(jm,E),es({VExpansionPanelText:{eager:Cr(n,"eager")}}),Rr(()=>{const g=!!(r.text||n.text),h=!!(r.title||n.title);return gt(n.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":E.isSelected.value,"v-expansion-panel--before-active":i.value,"v-expansion-panel--after-active":M.value,"v-expansion-panel--disabled":d.value},t.value,z.value,n.class],style:[k.value,n.style]},{default:()=>{var l;return[gt("div",{class:["v-expansion-panel__shadow",...m.value]},null),h&>(nS,{key:"title",collapseIcon:n.collapseIcon,color:n.color,expandIcon:n.expandIcon,hideActions:n.hideActions,ripple:n.ripple},{default:()=>[r.title?r.title():n.title]}),g&>(eS,{key:"text"},{default:()=>[r.text?r.text():n.text]}),(l=r.default)==null?void 0:l.call(r)]}})}),{}}});const $j=ur({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:n=>typeof n=="boolean"||[1e3,1024].includes(n)},...mh({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:n=>bu(n).every(e=>e!=null&&typeof e=="object")},...u1({clearable:!0})},"VFileInput"),Zj=Ar()({name:"VFileInput",inheritAttrs:!1,props:$j(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const{t:k}=ic(),m=xi(n,"modelValue"),{isFocused:t,focus:d,blur:y}=rd(n),i=cn(()=>typeof n.showSize!="boolean"?n.showSize:void 0),M=cn(()=>(m.value??[]).reduce((x,T)=>{let{size:C=0}=T;return x+C},0)),g=cn(()=>w5(M.value,i.value)),h=cn(()=>(m.value??[]).map(x=>{const{name:T="",size:C=0}=x;return n.showSize?`${T} (${w5(C,i.value)})`:T})),l=cn(()=>{var T;const x=((T=m.value)==null?void 0:T.length)??0;return n.showSize?k(n.counterSizeString,x,g.value):k(n.counterString,x)}),a=Vr(),u=Vr(),o=Vr(),s=cn(()=>t.value||n.active),f=cn(()=>["plain","underlined"].includes(n.variant));function c(){var x;o.value!==document.activeElement&&((x=o.value)==null||x.focus()),t.value||d()}function p(x){v(x)}function w(x){E("mousedown:control",x)}function v(x){var T;(T=o.value)==null||T.click(),E("click:control",x)}function S(x){x.stopPropagation(),c(),Ua(()=>{m.value=[],K2(n["onClick:clear"],x)})}return Xr(m,x=>{(!Array.isArray(x)||!x.length)&&o.value&&(o.value.value="")}),Rr(()=>{const x=!!(z.counter||n.counter),T=!!(x||z.details),[C,_]=Qd(r),[{modelValue:A,...L}]=Bs.filterProps(n),[b]=w_(n);return gt(Bs,Wr({ref:a,modelValue:m.value,"onUpdate:modelValue":O=>m.value=O,class:["v-file-input",{"v-text-field--plain-underlined":f.value},n.class],style:n.style,"onClick:prepend":p},C,L,{centerAffix:!f.value,focused:t.value}),{...z,default:O=>{let{id:I,isDisabled:R,isDirty:D,isReadonly:F,isValid:B}=O;return gt(fg,Wr({ref:u,"prepend-icon":n.prependIcon,onMousedown:w,onClick:v,"onClick:clear":S,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:I.value,active:s.value||D.value,dirty:D.value,disabled:R.value,focused:t.value,error:B.value===!1}),{...z,default:N=>{var $;let{props:{class:q,...j}}=N;return gt(Yr,null,[gt("input",Wr({ref:o,type:"file",readonly:F.value,disabled:R.value,multiple:n.multiple,name:n.name,onClick:U=>{U.stopPropagation(),F.value&&U.preventDefault(),c()},onChange:U=>{if(!U.target)return;const G=U.target;m.value=[...G.files??[]]},onFocus:c,onBlur:y},j,_),null),gt("div",{class:q},[!!(($=m.value)!=null&&$.length)&&(z.selection?z.selection({fileNames:h.value,totalBytes:M.value,totalBytesReadable:g.value}):n.chips?h.value.map(U=>gt(ug,{key:U,size:"small",color:n.color},{default:()=>[U]})):h.value.join(", "))])])}})},details:T?O=>{var I,R;return gt(Yr,null,[(I=z.details)==null?void 0:I.call(z,O),x&>(Yr,null,[gt("span",null,null),gt(l1,{active:!!((R=m.value)!=null&&R.length),value:l.value},z.counter)])])}:void 0})}),Nc({},a,u,o)}});const Xj=ur({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Su(),...$r(),...hs(),...x0(),...lo(),...Ai({tag:"footer"}),...oa()},"VFooter"),Kj=Ar()({name:"VFooter",props:Xj(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{backgroundColorClasses:z,backgroundColorStyles:k}=Ro(Cr(n,"color")),{borderClasses:m}=sc(n),{elevationClasses:t}=Vs(n),{roundedClasses:d}=Eo(n),y=qr(32),{resizeRef:i}=Tf(h=>{h.length&&(y.value=h[0].target.clientHeight)}),M=cn(()=>n.height==="auto"?y.value:parseInt(n.height,10)),{layoutItemStyles:g}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:M,elementSize:cn(()=>n.height==="auto"?void 0:M.value),active:cn(()=>n.app),absolute:Cr(n,"absolute")});return Rr(()=>gt(n.tag,{ref:i,class:["v-footer",E.value,z.value,m.value,t.value,d.value,n.class],style:[k.value,n.app?g.value:{height:Qr(n.height)},n.style]},r)),{}}}),Jj=ur({...$r(),...uN()},"VForm"),Qj=Ar()({name:"VForm",props:Jj(),emits:{"update:modelValue":n=>!0,submit:n=>!0},setup(n,e){let{slots:r,emit:E}=e;const z=cN(n),k=Vr();function m(d){d.preventDefault(),z.reset()}function t(d){const y=d,i=z.validate();y.then=i.then.bind(i),y.catch=i.catch.bind(i),y.finally=i.finally.bind(i),E("submit",y),y.defaultPrevented||i.then(M=>{var h;let{valid:g}=M;g&&((h=k.value)==null||h.submit())}),y.preventDefault()}return Rr(()=>{var d;return gt("form",{ref:k,class:["v-form",n.class],style:n.style,novalidate:!0,onReset:m,onSubmit:t},[(d=r.default)==null?void 0:d.call(r,z)])}),Nc(z,k)}});const eU=ur({fluid:{type:Boolean,default:!1},...$r(),...Ai()},"VContainer"),tU=Ar()({name:"VContainer",props:eU(),setup(n,e){let{slots:r}=e;const{rtlClasses:E}=Cs();return Rr(()=>gt(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},E.value,n.class],style:n.style},r)),{}}}),rS=(()=>Ky.reduce((n,e)=>(n[e]={type:[Boolean,String,Number],default:!1},n),{}))(),iS=(()=>Ky.reduce((n,e)=>{const r="offset"+sh(e);return n[r]={type:[String,Number],default:null},n},{}))(),aS=(()=>Ky.reduce((n,e)=>{const r="order"+sh(e);return n[r]={type:[String,Number],default:null},n},{}))(),sT={col:Object.keys(rS),offset:Object.keys(iS),order:Object.keys(aS)};function nU(n,e,r){let E=n;if(!(r==null||r===!1)){if(e){const z=e.replace(n,"");E+=`-${z}`}return n==="col"&&(E="v-"+E),n==="col"&&(r===""||r===!0)||(E+=`-${r}`),E.toLowerCase()}}const rU=["auto","start","end","center","baseline","stretch"],iU=ur({cols:{type:[Boolean,String,Number],default:!1},...rS,offset:{type:[String,Number],default:null},...iS,order:{type:[String,Number],default:null},...aS,alignSelf:{type:String,default:null,validator:n=>rU.includes(n)},...$r(),...Ai()},"VCol"),aU=Ar()({name:"VCol",props:iU(),setup(n,e){let{slots:r}=e;const E=cn(()=>{const z=[];let k;for(k in sT)sT[k].forEach(t=>{const d=n[t],y=nU(k,t,d);y&&z.push(y)});const m=z.some(t=>t.startsWith("v-col-"));return z.push({"v-col":!m||!n.cols,[`v-col-${n.cols}`]:n.cols,[`offset-${n.offset}`]:n.offset,[`order-${n.order}`]:n.order,[`align-self-${n.alignSelf}`]:n.alignSelf}),z});return()=>{var z;return Xh(n.tag,{class:[E.value,n.class],style:n.style},(z=r.default)==null?void 0:z.call(r))}}}),S_=["start","end","center"],oS=["space-between","space-around","space-evenly"];function C_(n,e){return Ky.reduce((r,E)=>{const z=n+sh(E);return r[z]=e(),r},{})}const oU=[...S_,"baseline","stretch"],sS=n=>oU.includes(n),lS=C_("align",()=>({type:String,default:null,validator:sS})),sU=[...S_,...oS],uS=n=>sU.includes(n),cS=C_("justify",()=>({type:String,default:null,validator:uS})),lU=[...S_,...oS,"stretch"],fS=n=>lU.includes(n),hS=C_("alignContent",()=>({type:String,default:null,validator:fS})),lT={align:Object.keys(lS),justify:Object.keys(cS),alignContent:Object.keys(hS)},uU={align:"align",justify:"justify",alignContent:"align-content"};function cU(n,e,r){let E=uU[n];if(r!=null){if(e){const z=e.replace(n,"");E+=`-${z}`}return E+=`-${r}`,E.toLowerCase()}}const fU=ur({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:sS},...lS,justify:{type:String,default:null,validator:uS},...cS,alignContent:{type:String,default:null,validator:fS},...hS,...$r(),...Ai()},"VRow"),hU=Ar()({name:"VRow",props:fU(),setup(n,e){let{slots:r}=e;const E=cn(()=>{const z=[];let k;for(k in lT)lT[k].forEach(m=>{const t=n[m],d=cU(k,m,t);d&&z.push(d)});return z.push({"v-row--no-gutters":n.noGutters,"v-row--dense":n.dense,[`align-${n.align}`]:n.align,[`justify-${n.justify}`]:n.justify,[`align-content-${n.alignContent}`]:n.alignContent}),z});return()=>{var z;return Xh(n.tag,{class:["v-row",E.value,n.class],style:n.style},(z=r.default)==null?void 0:z.call(r))}}}),dU=Bc("v-spacer","div","VSpacer"),pU=ur({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...SA()},"VHover"),mU=Ar()({name:"VHover",props:pU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{runOpenDelay:z,runCloseDelay:k}=CA(n,m=>!n.disabled&&(E.value=m));return()=>{var m;return(m=r.default)==null?void 0:m.call(r,{isHovering:E.value,props:{onMouseenter:z,onMouseleave:k}})}}});const dS=Symbol.for("vuetify:v-item-group"),gU=ur({...$r(),...w0({selectedClass:"v-item--selected"}),...Ai(),...oa()},"VItemGroup"),vU=Ar()({name:"VItemGroup",props:gU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{isSelected:z,select:k,next:m,prev:t,selected:d}=ip(n,dS);return()=>gt(n.tag,{class:["v-item-group",E.value,n.class],style:n.style},{default:()=>{var y;return[(y=r.default)==null?void 0:y.call(r,{isSelected:z,select:k,next:m,prev:t,selected:d.value})]}})}}),yU=Ar()({name:"VItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:E,select:z,toggle:k,selectedClass:m,value:t,disabled:d}=k0(n,dS);return()=>{var y;return(y=r.default)==null?void 0:y.call(r,{isSelected:E.value,selectedClass:m.value,select:z,toggle:k,value:t.value,disabled:d.value})}}});const bU=Bc("v-kbd");const xU=ur({...$r(),...R6()},"VLayout"),_U=Ar()({name:"VLayout",props:xU(),setup(n,e){let{slots:r}=e;const{layoutClasses:E,layoutStyles:z,getLayoutItem:k,items:m,layoutRef:t}=D6(n);return Rr(()=>{var d;return gt("div",{ref:t,class:[E.value,n.class],style:[z.value,n.style]},[(d=r.default)==null?void 0:d.call(r)])}),{getLayoutItem:k,items:m}}});const wU=ur({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...$r(),...x0()},"VLayoutItem"),TU=Ar()({name:"VLayoutItem",props:wU(),setup(n,e){let{slots:r}=e;const{layoutItemStyles:E}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Cr(n,"position"),elementSize:Cr(n,"size"),layoutSize:Cr(n,"size"),active:Cr(n,"modelValue"),absolute:Cr(n,"absolute")});return()=>{var z;return gt("div",{class:["v-layout-item",n.class],style:[E.value,n.style]},[(z=r.default)==null?void 0:z.call(r)])}}}),kU=ur({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...$r(),...ac(),...Ai(),...dh({transition:"fade-transition"})},"VLazy"),MU=Ar()({name:"VLazy",directives:{intersect:og},props:kU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{dimensionStyles:E}=oc(n),z=xi(n,"modelValue");function k(m){z.value||(z.value=m)}return Rr(()=>Co(gt(n.tag,{class:["v-lazy",n.class],style:[E.value,n.style]},{default:()=>[z.value&>(Pc,{transition:n.transition,appear:!0},{default:()=>{var m;return[(m=r.default)==null?void 0:m.call(r)]}})]}),[[Tu("intersect"),{handler:k,options:n.options},null]])),{}}});const AU=ur({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...$r()},"VLocaleProvider"),SU=Ar()({name:"VLocaleProvider",props:AU(),setup(n,e){let{slots:r}=e;const{rtlClasses:E}=zF(n);return Rr(()=>{var z;return gt("div",{class:["v-locale-provider",E.value,n.class],style:n.style},[(z=r.default)==null?void 0:z.call(r)])}),{}}});const CU=ur({scrollable:Boolean,...$r(),...Ai({tag:"main"})},"VMain"),EU=Ar()({name:"VMain",props:CU(),setup(n,e){let{slots:r}=e;const{mainStyles:E}=cB(),{ssrBootStyles:z}=tp();return Rr(()=>gt(n.tag,{class:["v-main",{"v-main--scrollable":n.scrollable},n.class],style:[E.value,z.value,n.style]},{default:()=>{var k,m;return[n.scrollable?gt("div",{class:"v-main__scroller"},[(k=r.default)==null?void 0:k.call(r)]):(m=r.default)==null?void 0:m.call(r)]}})),{}}});function LU(n){let{rootEl:e,isSticky:r,layoutItemStyles:E}=n;const z=qr(!1),k=qr(0),m=cn(()=>{const y=typeof z.value=="boolean"?"top":z.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,z.value?{[y]:Qr(k.value)}:{top:E.value.top}]});Js(()=>{Xr(r,y=>{y?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),kl(()=>{window.removeEventListener("scroll",d)});let t=0;function d(){const y=t>window.scrollY?"up":"down",i=e.value.getBoundingClientRect(),M=parseFloat(E.value.top??0),g=window.scrollY-Math.max(0,k.value-M),h=i.height+Math.max(k.value,M)-window.scrollY-window.innerHeight,l=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;i.height0;r--){if(n[r].t===n[r-1].t)continue;const E=uT(e),z=(n[r].d-n[r-1].d)/(n[r].t-n[r-1].t);e+=(z-E)*Math.abs(z),r===n.length-1&&(e*=.5)}return uT(e)*1e3}function PU(){const n={};function e(z){Array.from(z.changedTouches).forEach(k=>{(n[k.identifier]??(n[k.identifier]=new Gz(OU))).push([z.timeStamp,k])})}function r(z){Array.from(z.changedTouches).forEach(k=>{delete n[k.identifier]})}function E(z){var y;const k=(y=n[z])==null?void 0:y.values().reverse();if(!k)throw new Error(`No samples for touch id ${z}`);const m=k[0],t=[],d=[];for(const i of k){if(m[0]-i[0]>IU)break;t.push({t:i[0],d:i[1].clientX}),d.push({t:i[0],d:i[1].clientY})}return{x:cT(t),y:cT(d),get direction(){const{x:i,y:M}=this,[g,h]=[Math.abs(i),Math.abs(M)];return g>h&&i>=0?"right":g>h&&i<=0?"left":h>g&&M>=0?"down":h>g&&M<=0?"up":RU()}}}return{addMovement:e,endTouch:r,getVelocity:E}}function RU(){throw new Error}function DU(n){let{isActive:e,isTemporary:r,width:E,touchless:z,position:k}=n;Js(()=>{window.addEventListener("touchstart",o,{passive:!0}),window.addEventListener("touchmove",s,{passive:!1}),window.addEventListener("touchend",f,{passive:!0})}),kl(()=>{window.removeEventListener("touchstart",o),window.removeEventListener("touchmove",s),window.removeEventListener("touchend",f)});const m=cn(()=>["left","right"].includes(k.value)),{addMovement:t,endTouch:d,getVelocity:y}=PU();let i=!1;const M=qr(!1),g=qr(0),h=qr(0);let l;function a(p,w){return(k.value==="left"?p:k.value==="right"?document.documentElement.clientWidth-p:k.value==="top"?p:k.value==="bottom"?document.documentElement.clientHeight-p:Lp())-(w?E.value:0)}function u(p){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const v=k.value==="left"?(p-h.value)/E.value:k.value==="right"?(document.documentElement.clientWidth-p-h.value)/E.value:k.value==="top"?(p-h.value)/E.value:k.value==="bottom"?(document.documentElement.clientHeight-p-h.value)/E.value:Lp();return w?Math.max(0,Math.min(1,v)):v}function o(p){if(z.value)return;const w=p.changedTouches[0].clientX,v=p.changedTouches[0].clientY,S=25,x=k.value==="left"?wdocument.documentElement.clientWidth-S:k.value==="top"?vdocument.documentElement.clientHeight-S:Lp(),T=e.value&&(k.value==="left"?wdocument.documentElement.clientWidth-E.value:k.value==="top"?vdocument.documentElement.clientHeight-E.value:Lp());(x||T||e.value&&r.value)&&(i=!0,l=[w,v],h.value=a(m.value?w:v,e.value),g.value=u(m.value?w:v),d(p),t(p))}function s(p){const w=p.changedTouches[0].clientX,v=p.changedTouches[0].clientY;if(i){if(!p.cancelable){i=!1;return}const x=Math.abs(w-l[0]),T=Math.abs(v-l[1]);(m.value?x>T&&x>3:T>x&&T>3)?(M.value=!0,i=!1):(m.value?T:x)>3&&(i=!1)}if(!M.value)return;p.preventDefault(),t(p);const S=u(m.value?w:v,!1);g.value=Math.max(0,Math.min(1,S)),S>1?h.value=a(m.value?w:v,!0):S<0&&(h.value=a(m.value?w:v,!1))}function f(p){if(i=!1,!M.value)return;t(p),M.value=!1;const w=y(p.changedTouches[0].identifier),v=Math.abs(w.x),S=Math.abs(w.y);(m.value?v>S&&v>400:S>v&&S>3)?e.value=w.direction===({left:"right",right:"left",top:"down",bottom:"up"}[k.value]||Lp()):e.value=g.value>.5}const c=cn(()=>M.value?{transform:k.value==="left"?`translateX(calc(-100% + ${g.value*E.value}px))`:k.value==="right"?`translateX(calc(100% - ${g.value*E.value}px))`:k.value==="top"?`translateY(calc(-100% + ${g.value*E.value}px))`:k.value==="bottom"?`translateY(calc(100% - ${g.value*E.value}px))`:Lp(),transition:"none"}:void 0);return{isDragging:M,dragProgress:g,dragStyles:c}}function Lp(){throw new Error}const zU=["start","end","left","right","top","bottom"],FU=ur({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:n=>zU.includes(n)},sticky:Boolean,...Su(),...$r(),...hs(),...x0(),...lo(),...Ai({tag:"nav"}),...oa()},"VNavigationDrawer"),BU=Ar()({name:"VNavigationDrawer",props:FU(),emits:{"update:modelValue":n=>!0,"update:rail":n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const{isRtl:k}=Cs(),{themeClasses:m}=Ma(n),{borderClasses:t}=sc(n),{backgroundColorClasses:d,backgroundColorStyles:y}=Ro(Cr(n,"color")),{elevationClasses:i}=Vs(n),{mobile:M}=ep(),{roundedClasses:g}=Eo(n),h=q6(),l=xi(n,"modelValue",null,D=>!!D),{ssrBootStyles:a}=tp(),{scopeId:u}=E0(),o=Vr(),s=qr(!1),f=cn(()=>n.rail&&n.expandOnHover&&s.value?Number(n.width):Number(n.rail?n.railWidth:n.width)),c=cn(()=>ux(n.location,k.value)),p=cn(()=>!n.permanent&&(M.value||n.temporary)),w=cn(()=>n.sticky&&!p.value&&c.value!=="bottom");n.expandOnHover&&n.rail!=null&&Xr(s,D=>E("update:rail",!D)),n.disableResizeWatcher||Xr(p,D=>!n.permanent&&Ua(()=>l.value=!D)),!n.disableRouteWatcher&&h&&Xr(h.currentRoute,()=>p.value&&(l.value=!1)),Xr(()=>n.permanent,D=>{D&&(l.value=!0)}),Sy(()=>{n.modelValue!=null||p.value||(l.value=n.permanent||!M.value)});const{isDragging:v,dragProgress:S,dragStyles:x}=DU({isActive:l,isTemporary:p,width:f,touchless:Cr(n,"touchless"),position:c}),T=cn(()=>{const D=p.value?0:n.rail&&n.expandOnHover?Number(n.railWidth):f.value;return v.value?D*S.value:D}),{layoutItemStyles:C,layoutItemScrimStyles:_}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:c,layoutSize:T,elementSize:f,active:cn(()=>l.value||v.value),disableTransitions:cn(()=>v.value),absolute:cn(()=>n.absolute||w.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:L}=LU({rootEl:o,isSticky:w,layoutItemStyles:C}),b=Ro(cn(()=>typeof n.scrim=="string"?n.scrim:null)),O=cn(()=>({...v.value?{opacity:S.value*.2,transition:"none"}:void 0,..._.value}));es({VList:{bgColor:"transparent"}});function I(){s.value=!0}function R(){s.value=!1}return Rr(()=>{const D=z.image||n.image;return gt(Yr,null,[gt(n.tag,Wr({ref:o,onMouseenter:I,onMouseleave:R,class:["v-navigation-drawer",`v-navigation-drawer--${c.value}`,{"v-navigation-drawer--expand-on-hover":n.expandOnHover,"v-navigation-drawer--floating":n.floating,"v-navigation-drawer--is-hovering":s.value,"v-navigation-drawer--rail":n.rail,"v-navigation-drawer--temporary":p.value,"v-navigation-drawer--active":l.value,"v-navigation-drawer--sticky":w.value},m.value,d.value,t.value,i.value,g.value,n.class],style:[y.value,C.value,x.value,a.value,L.value,n.style]},u,r),{default:()=>{var F,B,N,q;return[D&>("div",{key:"image",class:"v-navigation-drawer__img"},[z.image?(F=z.image)==null?void 0:F.call(z,{image:n.image}):gt("img",{src:n.image,alt:""},null)]),z.prepend&>("div",{class:"v-navigation-drawer__prepend"},[(B=z.prepend)==null?void 0:B.call(z)]),gt("div",{class:"v-navigation-drawer__content"},[(N=z.default)==null?void 0:N.call(z)]),z.append&>("div",{class:"v-navigation-drawer__append"},[(q=z.append)==null?void 0:q.call(z)])]}}),gt(bf,{name:"fade-transition"},{default:()=>[p.value&&(v.value||l.value)&&!!n.scrim&>("div",Wr({class:["v-navigation-drawer__scrim",b.backgroundColorClasses.value],style:[O.value,b.backgroundColorStyles.value],onClick:()=>l.value=!1},u),null)]})])}),{isStuck:A}}}),NU=rc({name:"VNoSsr",setup(n,e){let{slots:r}=e;const E=EA();return()=>{var z;return E.value&&((z=r.default)==null?void 0:z.call(r))}}});function VU(){const n=Vr([]);XT(()=>n.value=[]);function e(r,E){n.value[E]=r}return{refs:n,updateRef:e}}const jU=ur({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:n=>n.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:n=>n%1===0},totalVisible:[Number,String],firstIcon:{type:bi,default:"$first"},prevIcon:{type:bi,default:"$prev"},nextIcon:{type:bi,default:"$next"},lastIcon:{type:bi,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Su(),...$r(),...ds(),...hs(),...lo(),...ph(),...Ai({tag:"nav"}),...oa(),...lc({variant:"text"})},"VPagination"),UU=Ar()({name:"VPagination",props:jU(),emits:{"update:modelValue":n=>!0,first:n=>!0,prev:n=>!0,next:n=>!0,last:n=>!0},setup(n,e){let{slots:r,emit:E}=e;const z=xi(n,"modelValue"),{t:k,n:m}=ic(),{isRtl:t}=Cs(),{themeClasses:d}=Ma(n),{width:y}=ep(),i=qr(-1);es(void 0,{scoped:!0});const{resizeRef:M}=Tf(S=>{if(!S.length)return;const{target:x,contentRect:T}=S[0],C=x.querySelector(".v-pagination__list > *");if(!C)return;const _=T.width,A=C.offsetWidth+parseFloat(getComputedStyle(C).marginRight)*2;i.value=a(_,A)}),g=cn(()=>parseInt(n.length,10)),h=cn(()=>parseInt(n.start,10)),l=cn(()=>n.totalVisible?parseInt(n.totalVisible,10):i.value>=0?i.value:a(y.value,58));function a(S,x){const T=n.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((S-x*T)/x).toFixed(2)))}const u=cn(()=>{if(g.value<=0||isNaN(g.value)||g.value>Number.MAX_SAFE_INTEGER)return[];if(l.value<=1)return[z.value];if(g.value<=l.value)return Jf(g.value,h.value);const S=l.value%2===0,x=S?l.value/2:Math.floor(l.value/2),T=S?x:x+1,C=g.value-x;if(T-z.value>=0)return[...Jf(Math.max(1,l.value-1),h.value),n.ellipsis,g.value];if(z.value-C>=(S?1:0)){const _=l.value-1,A=g.value-_+h.value;return[h.value,n.ellipsis,...Jf(_,A)]}else{const _=Math.max(1,l.value-3),A=_===1?z.value:z.value-Math.ceil(_/2)+h.value;return[h.value,n.ellipsis,...Jf(_,A),n.ellipsis,g.value]}});function o(S,x,T){S.preventDefault(),z.value=x,T&&E(T,x)}const{refs:s,updateRef:f}=VU();es({VPaginationBtn:{color:Cr(n,"color"),border:Cr(n,"border"),density:Cr(n,"density"),size:Cr(n,"size"),variant:Cr(n,"variant"),rounded:Cr(n,"rounded"),elevation:Cr(n,"elevation")}});const c=cn(()=>u.value.map((S,x)=>{const T=C=>f(C,x);if(typeof S=="string")return{isActive:!1,key:`ellipsis-${x}`,page:S,props:{ref:T,ellipsis:!0,icon:!0,disabled:!0}};{const C=S===z.value;return{isActive:C,key:S,page:m(S),props:{ref:T,ellipsis:!1,icon:!0,disabled:!!n.disabled||+n.length<2,color:C?n.activeColor:n.color,ariaCurrent:C,ariaLabel:k(C?n.currentPageAriaLabel:n.pageAriaLabel,S),onClick:_=>o(_,S)}}}})),p=cn(()=>{const S=!!n.disabled||z.value<=h.value,x=!!n.disabled||z.value>=h.value+g.value-1;return{first:n.showFirstLastPage?{icon:t.value?n.lastIcon:n.firstIcon,onClick:T=>o(T,h.value,"first"),disabled:S,ariaLabel:k(n.firstAriaLabel),ariaDisabled:S}:void 0,prev:{icon:t.value?n.nextIcon:n.prevIcon,onClick:T=>o(T,z.value-1,"prev"),disabled:S,ariaLabel:k(n.previousAriaLabel),ariaDisabled:S},next:{icon:t.value?n.prevIcon:n.nextIcon,onClick:T=>o(T,z.value+1,"next"),disabled:x,ariaLabel:k(n.nextAriaLabel),ariaDisabled:x},last:n.showFirstLastPage?{icon:t.value?n.firstIcon:n.lastIcon,onClick:T=>o(T,h.value+g.value-1,"last"),disabled:x,ariaLabel:k(n.lastAriaLabel),ariaDisabled:x}:void 0}});function w(){var x;const S=z.value-h.value;(x=s.value[S])==null||x.$el.focus()}function v(S){S.key===sx.left&&!n.disabled&&z.value>+n.start?(z.value=z.value-1,Ua(w)):S.key===sx.right&&!n.disabled&&z.valuegt(n.tag,{ref:M,class:["v-pagination",d.value,n.class],style:n.style,role:"navigation","aria-label":k(n.ariaLabel),onKeydown:v,"data-test":"v-pagination-root"},{default:()=>[gt("ul",{class:"v-pagination__list"},[n.showFirstLastPage&>("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(p.value.first):gt(wl,Wr({_as:"VPaginationBtn"},p.value.first),null)]),gt("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(p.value.prev):gt(wl,Wr({_as:"VPaginationBtn"},p.value.prev),null)]),c.value.map((S,x)=>gt("li",{key:S.key,class:["v-pagination__item",{"v-pagination__item--is-active":S.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(S):gt(wl,Wr({_as:"VPaginationBtn"},S.props),{default:()=>[S.page]})])),gt("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(p.value.next):gt(wl,Wr({_as:"VPaginationBtn"},p.value.next),null)]),n.showFirstLastPage&>("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(p.value.last):gt(wl,Wr({_as:"VPaginationBtn"},p.value.last),null)])])]})),{}}});function HU(n){return Math.floor(Math.abs(n))*Math.sign(n)}const GU=ur({scale:{type:[Number,String],default:.5},...$r()},"VParallax"),WU=Ar()({name:"VParallax",props:GU(),setup(n,e){let{slots:r}=e;const{intersectionRef:E,isIntersecting:z}=h_(),{resizeRef:k,contentRect:m}=Tf(),{height:t}=ep(),d=Vr();wu(()=>{var h;E.value=k.value=(h=d.value)==null?void 0:h.$el});let y;Xr(z,h=>{h?(y=t_(E.value),y=y===document.scrollingElement?document:y,y.addEventListener("scroll",g,{passive:!0}),g()):y.removeEventListener("scroll",g)}),kl(()=>{y==null||y.removeEventListener("scroll",g)}),Xr(t,g),Xr(()=>{var h;return(h=m.value)==null?void 0:h.height},g);const i=cn(()=>1-Xs(+n.scale));let M=-1;function g(){z.value&&(cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var p;const h=((p=d.value)==null?void 0:p.$el).querySelector(".v-img__img");if(!h)return;const l=y instanceof Document?document.documentElement.clientHeight:y.clientHeight,a=y instanceof Document?window.scrollY:y.scrollTop,u=E.value.getBoundingClientRect().top+a,o=m.value.height,s=u+(o-l)/2,f=HU((a-s)*i.value),c=Math.max(1,(i.value*(l-o)+o)/o);h.style.setProperty("transform",`translateY(${f}px) scale(${c})`)}))}return Rr(()=>gt(Zd,{class:["v-parallax",{"v-parallax--active":z.value},n.class],style:n.style,ref:d,cover:!0,onLoadstart:g,onLoad:g},r)),{}}}),qU=ur({...n1({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),YU=Ar()({name:"VRadio",props:qU(),setup(n,e){let{slots:r}=e;return Rr(()=>gt(Xd,Wr(n,{class:["v-radio",n.class],style:n.style,type:"radio"}),r)),{}}});const $U=ur({height:{type:[Number,String],default:"auto"},...mh(),...nc(y_(),["multiple"]),trueIcon:{type:bi,default:"$radioOn"},falseIcon:{type:bi,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),ZU=Ar()({name:"VRadioGroup",inheritAttrs:!1,props:$U(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:E}=e;const z=Qs(),k=cn(()=>n.id||`radio-group-${z}`),m=xi(n,"modelValue");return Rr(()=>{const[t,d]=Qd(r),[y,i]=Bs.filterProps(n),[M,g]=Xd.filterProps(n),h=E.label?E.label({label:n.label,props:{for:k.value}}):n.label;return gt(Bs,Wr({class:["v-radio-group",n.class],style:n.style},t,y,{modelValue:m.value,"onUpdate:modelValue":l=>m.value=l,id:k.value}),{...E,default:l=>{let{id:a,messagesId:u,isDisabled:o,isReadonly:s}=l;return gt(Yr,null,[h&>(C0,{id:a.value},{default:()=>[h]}),gt(rA,Wr(M,{id:a.value,"aria-describedby":u.value,defaultsTarget:"VRadio",trueIcon:n.trueIcon,falseIcon:n.falseIcon,type:n.type,disabled:o.value,readonly:s.value,"aria-labelledby":h?a.value:void 0,multiple:!1},d,{modelValue:m.value,"onUpdate:modelValue":f=>m.value=f}),E)])}})}),{}}}),XU=ur({...r1(),...mh(),...ZA(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),KU=Ar()({name:"VRangeSlider",props:XU(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,end:n=>!0,start:n=>!0},setup(n,e){let{slots:r,emit:E}=e;const z=Vr(),k=Vr(),m=Vr(),{rtlClasses:t}=Cs();function d(x){if(!z.value||!k.value)return;const T=Ix(x,z.value.$el,n.direction),C=Ix(x,k.value.$el,n.direction),_=Math.abs(T),A=Math.abs(C);return _x!=null&&x.length?x.map(T=>y.roundValue(T)):[0,0]),{activeThumbRef:M,hasLabels:g,max:h,min:l,mousePressed:a,onSliderMousedown:u,onSliderTouchstart:o,position:s,trackContainerRef:f}=KA({props:n,steps:y,onSliderStart:()=>{E("start",i.value)},onSliderEnd:x=>{var _;let{value:T}=x;const C=M.value===((_=z.value)==null?void 0:_.$el)?[T,i.value[1]]:[i.value[0],T];!n.strict&&C[0]{var A,L,b,O;let{value:T}=x;const[C,_]=i.value;!n.strict&&C===_&&C!==l.value&&(M.value=T>C?(A=k.value)==null?void 0:A.$el:(L=z.value)==null?void 0:L.$el,(b=M.value)==null||b.focus()),M.value===((O=z.value)==null?void 0:O.$el)?i.value=[Math.min(T,_),_]:i.value=[C,Math.max(C,T)]},getActiveThumb:d}),{isFocused:c,focus:p,blur:w}=rd(n),v=cn(()=>s(i.value[0])),S=cn(()=>s(i.value[1]));return Rr(()=>{const[x,T]=Bs.filterProps(n),C=!!(n.label||r.label||r.prepend);return gt(Bs,Wr({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||g.value,"v-slider--focused":c.value,"v-slider--pressed":a.value,"v-slider--disabled":n.disabled},t.value,n.class],style:n.style,ref:m},x,{focused:c.value}),{...r,prepend:C?_=>{var A,L;return gt(Yr,null,[((A=r.label)==null?void 0:A.call(r,_))??n.label?gt(C0,{class:"v-slider__label",text:n.label},null):void 0,(L=r.prepend)==null?void 0:L.call(r,_)])}:void 0,default:_=>{var b,O;let{id:A,messagesId:L}=_;return gt("div",{class:"v-slider__container",onMousedown:u,onTouchstartPassive:o},[gt("input",{id:`${A.value}_start`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[0]},null),gt("input",{id:`${A.value}_stop`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[1]},null),gt(JA,{ref:f,start:v.value,stop:S.value},{"tick-label":r["tick-label"]}),gt(Ox,{ref:z,"aria-describedby":L.value,focused:c&&M.value===((b=z.value)==null?void 0:b.$el),modelValue:i.value[0],"onUpdate:modelValue":I=>i.value=[I,i.value[1]],onFocus:I=>{var R,D,F,B;p(),M.value=(R=z.value)==null?void 0:R.$el,i.value[0]===i.value[1]&&i.value[1]===l.value&&I.relatedTarget!==((D=k.value)==null?void 0:D.$el)&&((F=z.value)==null||F.$el.blur(),(B=k.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:l.value,max:i.value[1],position:v.value},{"thumb-label":r["thumb-label"]}),gt(Ox,{ref:k,"aria-describedby":L.value,focused:c&&M.value===((O=k.value)==null?void 0:O.$el),modelValue:i.value[1],"onUpdate:modelValue":I=>i.value=[i.value[0],I],onFocus:I=>{var R,D,F,B;p(),M.value=(R=k.value)==null?void 0:R.$el,i.value[0]===i.value[1]&&i.value[0]===h.value&&I.relatedTarget!==((D=z.value)==null?void 0:D.$el)&&((F=k.value)==null||F.$el.blur(),(B=z.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:i.value[0],max:h.value,position:S.value},{"thumb-label":r["thumb-label"]})])}})}),{}}});const JU=ur({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:bi,default:"$ratingEmpty"},fullIcon:{type:bi,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},ripple:Boolean,...$r(),...ds(),...ph(),...Ai(),...oa()},"VRating"),QU=Ar()({name:"VRating",props:JU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{t:E}=ic(),{themeClasses:z}=Ma(n),k=xi(n,"modelValue"),m=cn(()=>Xs(parseFloat(k.value),0,+n.length)),t=cn(()=>Jf(Number(n.length),1)),d=cn(()=>t.value.flatMap(a=>n.halfIncrements?[a-.5,a]:[a])),y=qr(-1),i=cn(()=>d.value.map(a=>{const u=n.hover&&y.value>-1,o=m.value>=a,s=y.value>=a,c=(u?s:o)?n.fullIcon:n.emptyIcon,p=n.activeColor??n.color,w=o||s?p:n.color;return{isFilled:o,isHovered:s,icon:c,color:w}})),M=cn(()=>[0,...d.value].map(a=>{function u(){y.value=a}function o(){y.value=-1}function s(){n.disabled||n.readonly||(k.value=m.value===a&&n.clearable?0:a)}return{onMouseenter:n.hover?u:void 0,onMouseleave:n.hover?o:void 0,onClick:s}})),g=cn(()=>n.name??`v-rating-${Qs()}`);function h(a){var S,x;let{value:u,index:o,showStar:s=!0}=a;const{onMouseenter:f,onMouseleave:c,onClick:p}=M.value[o+1],w=`${g.value}-${String(u).replace(".","-")}`,v={color:(S=i.value[o])==null?void 0:S.color,density:n.density,disabled:n.disabled,icon:(x=i.value[o])==null?void 0:x.icon,ripple:n.ripple,size:n.size,variant:"plain"};return gt(Yr,null,[gt("label",{for:w,class:{"v-rating__item--half":n.halfIncrements&&u%1>0,"v-rating__item--full":n.halfIncrements&&u%1===0},onMouseenter:f,onMouseleave:c,onClick:p},[gt("span",{class:"v-rating__hidden"},[E(n.itemAriaLabel,u,n.length)]),s?r.item?r.item({...i.value[o],props:v,value:u,index:o,rating:m.value}):gt(wl,Wr({"aria-label":E(n.itemAriaLabel,u,n.length)},v),null):void 0]),gt("input",{class:"v-rating__hidden",name:g.value,id:w,type:"radio",value:u,checked:m.value===u,tabindex:-1,readonly:n.readonly,disabled:n.disabled},null)])}function l(a){return r["item-label"]?r["item-label"](a):a.label?gt("span",null,[a.label]):gt("span",null,[ea("ย ")])}return Rr(()=>{var u;const a=!!((u=n.itemLabels)!=null&&u.length)||r["item-label"];return gt(n.tag,{class:["v-rating",{"v-rating--hover":n.hover,"v-rating--readonly":n.readonly},z.value,n.class],style:n.style},{default:()=>[gt(h,{value:0,index:-1,showStar:!1},null),t.value.map((o,s)=>{var f,c;return gt("div",{class:"v-rating__wrapper"},[a&&n.itemLabelPosition==="top"?l({value:o,index:s,label:(f=n.itemLabels)==null?void 0:f[s]}):void 0,gt("div",{class:"v-rating__item"},[n.halfIncrements?gt(Yr,null,[gt(h,{value:o-.5,index:s*2},null),gt(h,{value:o,index:s*2+1},null)]):gt(h,{value:o,index:s},null)]),a&&n.itemLabelPosition==="bottom"?l({value:o,index:s,label:(c=n.itemLabels)==null?void 0:c[s]}):void 0])})]})}),{}}});function fT(n){const r=Math.abs(n);return Math.sign(n)*(r/((1/.501-2)*(1-r)+1))}function hT(n){let{selectedElement:e,containerSize:r,contentSize:E,isRtl:z,currentScrollOffset:k,isHorizontal:m}=n;const t=m?e.clientWidth:e.clientHeight,d=m?e.offsetLeft:e.offsetTop,y=z&&m?E-d-t:d,i=r+k,M=t+y,g=t*.4;return y<=k?k=Math.max(y-g,0):i<=M&&(k=Math.min(k-(i-M-g),E-r)),k}function eH(n){let{selectedElement:e,containerSize:r,contentSize:E,isRtl:z,isHorizontal:k}=n;const m=k?e.clientWidth:e.clientHeight,t=k?e.offsetLeft:e.offsetTop,d=z&&k?E-t-m/2-r/2:t+m/2-r/2;return Math.min(E-r,Math.max(0,d))}const pS=Symbol.for("vuetify:v-slide-group"),mS=ur({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:pS},nextIcon:{type:bi,default:"$next"},prevIcon:{type:bi,default:"$prev"},showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["always","desktop","mobile"].includes(n)},...$r(),...Ai(),...w0({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Dx=Ar()({name:"VSlideGroup",props:mS(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isRtl:E}=Cs(),{mobile:z}=ep(),k=ip(n,n.symbol),m=qr(!1),t=qr(0),d=qr(0),y=qr(0),i=cn(()=>n.direction==="horizontal"),{resizeRef:M,contentRect:g}=Tf(),{resizeRef:h,contentRect:l}=Tf(),a=cn(()=>k.selected.value.length?k.items.value.findIndex(F=>F.id===k.selected.value[0]):-1),u=cn(()=>k.selected.value.length?k.items.value.findIndex(F=>F.id===k.selected.value[k.selected.value.length-1]):-1);if(to){let F=-1;Xr(()=>[k.selected.value,g.value,l.value,i.value],()=>{cancelAnimationFrame(F),F=requestAnimationFrame(()=>{if(g.value&&l.value){const B=i.value?"width":"height";d.value=g.value[B],y.value=l.value[B],m.value=d.value+1=0&&h.value){const B=h.value.children[u.value];a.value===0||!m.value?t.value=0:n.centerActive?t.value=eH({selectedElement:B,containerSize:d.value,contentSize:y.value,isRtl:E.value,isHorizontal:i.value}):m.value&&(t.value=hT({selectedElement:B,containerSize:d.value,contentSize:y.value,isRtl:E.value,currentScrollOffset:t.value,isHorizontal:i.value}))}})})}const o=qr(!1);let s=0,f=0;function c(F){const B=i.value?"clientX":"clientY";f=(E.value&&i.value?-1:1)*t.value,s=F.touches[0][B],o.value=!0}function p(F){if(!m.value)return;const B=i.value?"clientX":"clientY",N=E.value&&i.value?-1:1;t.value=N*(f+s-F.touches[0][B])}function w(F){const B=y.value-d.value;t.value<0||!m.value?t.value=0:t.value>=B&&(t.value=B),o.value=!1}function v(){M.value&&(M.value[i.value?"scrollLeft":"scrollTop"]=0)}const S=qr(!1);function x(F){if(S.value=!0,!(!m.value||!h.value)){for(const B of F.composedPath())for(const N of h.value.children)if(N===B){t.value=hT({selectedElement:N,containerSize:d.value,contentSize:y.value,isRtl:E.value,currentScrollOffset:t.value,isHorizontal:i.value});return}}}function T(F){S.value=!1}function C(F){var B;!S.value&&!(F.relatedTarget&&((B=h.value)!=null&&B.contains(F.relatedTarget)))&&A()}function _(F){h.value&&(i.value?F.key==="ArrowRight"?A(E.value?"prev":"next"):F.key==="ArrowLeft"&&A(E.value?"next":"prev"):F.key==="ArrowDown"?A("next"):F.key==="ArrowUp"&&A("prev"),F.key==="Home"?A("first"):F.key==="End"&&A("last"))}function A(F){var B,N,q,j,$;if(h.value)if(!F)(B=Dm(h.value)[0])==null||B.focus();else if(F==="next"){const U=(N=h.value.querySelector(":focus"))==null?void 0:N.nextElementSibling;U?U.focus():A("first")}else if(F==="prev"){const U=(q=h.value.querySelector(":focus"))==null?void 0:q.previousElementSibling;U?U.focus():A("last")}else F==="first"?(j=h.value.firstElementChild)==null||j.focus():F==="last"&&(($=h.value.lastElementChild)==null||$.focus())}function L(F){const B=t.value+(F==="prev"?-1:1)*d.value;t.value=Xs(B,0,y.value-d.value)}const b=cn(()=>{let F=t.value>y.value-d.value?-(y.value-d.value)+fT(y.value-d.value-t.value):-t.value;t.value<=0&&(F=fT(-t.value));const B=E.value&&i.value?-1:1;return{transform:`translate${i.value?"X":"Y"}(${B*F}px)`,transition:o.value?"none":"",willChange:o.value?"transform":""}}),O=cn(()=>({next:k.next,prev:k.prev,select:k.select,isSelected:k.isSelected})),I=cn(()=>{switch(n.showArrows){case"always":return!0;case"desktop":return!z.value;case!0:return m.value||Math.abs(t.value)>0;case"mobile":return z.value||m.value||Math.abs(t.value)>0;default:return!z.value&&(m.value||Math.abs(t.value)>0)}}),R=cn(()=>Math.abs(t.value)>0),D=cn(()=>y.value>Math.abs(t.value)+d.value);return Rr(()=>gt(n.tag,{class:["v-slide-group",{"v-slide-group--vertical":!i.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":m.value},n.class],style:n.style,tabindex:S.value||k.selected.value.length?-1:0,onFocus:C},{default:()=>{var F,B,N;return[I.value&>("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!R.value}],onClick:()=>L("prev")},[((F=r.prev)==null?void 0:F.call(r,O.value))??gt(gx,null,{default:()=>[gt(ja,{icon:E.value?n.nextIcon:n.prevIcon},null)]})]),gt("div",{key:"container",ref:M,class:"v-slide-group__container",onScroll:v},[gt("div",{ref:h,class:"v-slide-group__content",style:b.value,onTouchstartPassive:c,onTouchmovePassive:p,onTouchendPassive:w,onFocusin:x,onFocusout:T,onKeydown:_},[(B=r.default)==null?void 0:B.call(r,O.value)])]),I.value&>("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!D.value}],onClick:()=>L("next")},[((N=r.next)==null?void 0:N.call(r,O.value))??gt(gx,null,{default:()=>[gt(ja,{icon:E.value?n.prevIcon:n.nextIcon},null)]})])]}})),{selected:k.selected,scrollTo:L,scrollOffset:t,focus:A}}}),tH=Ar()({name:"VSlideGroupItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const E=k0(n,pS);return()=>{var z;return(z=r.default)==null?void 0:z.call(r,{isSelected:E.isSelected.value,select:E.select,toggle:E.toggle,selectedClass:E.selectedClass.value})}}});const nH=ur({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...ed({location:"bottom"}),...A0(),...lo(),...lc(),...oa(),...nc(cg({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),rH=Ar()({name:"VSnackbar",props:nH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{locationStyles:z}=td(n),{positionClasses:k}=S0(n),{scopeId:m}=E0(),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:y,variantClasses:i}=rp(n),{roundedClasses:M}=Eo(n),g=Vr();Xr(E,l),Xr(()=>n.timeout,l),Js(()=>{E.value&&l()});let h=-1;function l(){window.clearTimeout(h);const u=Number(n.timeout);!E.value||u===-1||(h=window.setTimeout(()=>{E.value=!1},u))}function a(){window.clearTimeout(h)}return Rr(()=>{const[u]=oh.filterProps(n);return gt(oh,Wr({ref:g,class:["v-snackbar",{"v-snackbar--active":E.value,"v-snackbar--multi-line":n.multiLine&&!n.vertical,"v-snackbar--vertical":n.vertical},k.value,n.class],style:n.style},u,{modelValue:E.value,"onUpdate:modelValue":o=>E.value=o,contentProps:Wr({class:["v-snackbar__wrapper",t.value,d.value,M.value,i.value],style:[z.value,y.value],onPointerenter:a,onPointerleave:l},u.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},m),{default:()=>[np(!1,"v-snackbar"),r.default&>("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.default()]),r.actions&>(za,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[gt("div",{class:"v-snackbar__actions"},[r.actions()])]})],activator:r.activator})}),Nc({},g)}});const iH=ur({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...mh(),...n1()},"VSwitch"),aH=Ar()({name:"VSwitch",inheritAttrs:!1,props:iH(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,e){let{attrs:r,slots:E}=e;const z=xi(n,"indeterminate"),k=xi(n,"modelValue"),{loaderClasses:m}=t1(n),{isFocused:t,focus:d,blur:y}=rd(n),i=Vr(),M=cn(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),g=Qs(),h=cn(()=>n.id||`switch-${g}`);function l(){z.value&&(z.value=!1)}function a(u){var o,s;u.stopPropagation(),u.preventDefault(),(s=(o=i.value)==null?void 0:o.input)==null||s.click()}return Rr(()=>{const[u,o]=Qd(r),[s,f]=Bs.filterProps(n),[c,p]=Xd.filterProps(n);return gt(Bs,Wr({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":z.value},m.value,n.class],style:n.style},u,s,{id:h.value,focused:t.value}),{...E,default:w=>{let{id:v,messagesId:S,isDisabled:x,isReadonly:T,isValid:C}=w;return gt(Xd,Wr({ref:i},c,{modelValue:k.value,"onUpdate:modelValue":[_=>k.value=_,l],id:v.value,"aria-describedby":S.value,type:"checkbox","aria-checked":z.value?"mixed":void 0,disabled:x.value,readonly:T.value,onFocus:d,onBlur:y},o),{...E,default:_=>{let{backgroundColorClasses:A,backgroundColorStyles:L}=_;return gt("div",{class:["v-switch__track",...A.value],style:L.value,onClick:a},null)},input:_=>{let{inputNode:A,icon:L,backgroundColorClasses:b,backgroundColorStyles:O}=_;return gt(Yr,null,[A,gt("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:b.value],style:n.inset?void 0:O.value},[gt(s_,null,{default:()=>[n.loading?gt(g_,{name:"v-switch",active:!0,color:C.value===!1?void 0:M.value},{default:I=>E.loader?E.loader(I):gt(d_,{active:I.isActive,color:I.color,indeterminate:!0,size:"16",width:"2"},null)}):L&>(ja,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}});const oH=ur({color:String,height:[Number,String],window:Boolean,...$r(),...hs(),...x0(),...lo(),...Ai(),...oa()},"VSystemBar"),sH=Ar()({name:"VSystemBar",props:oH(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{backgroundColorClasses:z,backgroundColorStyles:k}=Ro(Cr(n,"color")),{elevationClasses:m}=Vs(n),{roundedClasses:t}=Eo(n),{ssrBootStyles:d}=tp(),y=cn(()=>n.height??(n.window?32:24)),{layoutItemStyles:i}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:qr("top"),layoutSize:y,elementSize:y,active:cn(()=>!0),absolute:Cr(n,"absolute")});return Rr(()=>gt(n.tag,{class:["v-system-bar",{"v-system-bar--window":n.window},E.value,z.value,m.value,t.value,n.class],style:[k.value,i.value,d.value,n.style]},r)),{}}});const gS=Symbol.for("vuetify:v-tabs"),lH=ur({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...nc(v_({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),vS=Ar()({name:"VTab",props:lH(),setup(n,e){let{slots:r,attrs:E}=e;const{textColorClasses:z,textColorStyles:k}=Ks(n,"sliderColor"),m=cn(()=>n.direction==="horizontal"),t=qr(!1),d=Vr(),y=Vr();function i(M){var h,l;let{value:g}=M;if(t.value=g,g){const a=(l=(h=d.value)==null?void 0:h.$el.parentElement)==null?void 0:l.querySelector(".v-tab--selected .v-tab__slider"),u=y.value;if(!a||!u)return;const o=getComputedStyle(a).color,s=a.getBoundingClientRect(),f=u.getBoundingClientRect(),c=m.value?"x":"y",p=m.value?"X":"Y",w=m.value?"right":"bottom",v=m.value?"width":"height",S=s[c],x=f[c],T=S>x?s[w]-f[w]:s[c]-f[c],C=Math.sign(T)>0?m.value?"right":"bottom":Math.sign(T)<0?m.value?"left":"top":"center",A=(Math.abs(T)+(Math.sign(T)<0?s[v]:f[v]))/Math.max(s[v],f[v])||0,L=s[v]/f[v]||0,b=1.5;Dd(u,{backgroundColor:[o,"currentcolor"],transform:[`translate${p}(${T}px) scale${p}(${L})`,`translate${p}(${T/b}px) scale${p}(${(A-1)/b+1})`,"none"],transformOrigin:Array(3).fill(C)},{duration:225,easing:zm})}}return Rr(()=>{const[M]=wl.filterProps(n);return gt(wl,Wr({symbol:gS,ref:d,class:["v-tab",n.class],style:n.style,tabindex:t.value?0:-1,role:"tab","aria-selected":String(t.value),active:!1},M,E,{block:n.fixed,maxWidth:n.fixed?300:void 0,"onGroup:selected":i}),{default:()=>{var g;return[((g=r.default)==null?void 0:g.call(r))??n.text,!n.hideSlider&>("div",{ref:y,class:["v-tab__slider",z.value],style:k.value},null)]}})}),{}}});function uH(n){return n?n.map(e=>typeof e=="string"?{title:e,value:e}:e):[]}const cH=ur({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...mS({mandatory:"force"}),...ds(),...Ai()},"VTabs"),fH=Ar()({name:"VTabs",props:cH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),z=cn(()=>uH(n.items)),{densityClasses:k}=el(n),{backgroundColorClasses:m,backgroundColorStyles:t}=Ro(Cr(n,"bgColor"));return es({VTab:{color:Cr(n,"color"),direction:Cr(n,"direction"),stacked:Cr(n,"stacked"),fixed:Cr(n,"fixedTabs"),sliderColor:Cr(n,"sliderColor"),hideSlider:Cr(n,"hideSlider")}}),Rr(()=>{const[d]=Dx.filterProps(n);return gt(Dx,Wr(d,{modelValue:E.value,"onUpdate:modelValue":y=>E.value=y,class:["v-tabs",`v-tabs--${n.direction}`,`v-tabs--align-tabs-${n.alignTabs}`,{"v-tabs--fixed-tabs":n.fixedTabs,"v-tabs--grow":n.grow,"v-tabs--stacked":n.stacked},k.value,m.value,n.class],style:[{"--v-tabs-height":Qr(n.height)},t.value,n.style],role:"tablist",symbol:gS}),{default:()=>[r.default?r.default():z.value.map(y=>gt(vS,Wr(y,{key:y.title}),null))]})}),{}}});const hH=ur({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...$r(),...ds(),...Ai(),...oa()},"VTable"),dH=Ar()({name:"VTable",props:hH(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{densityClasses:z}=el(n);return Rr(()=>gt(n.tag,{class:["v-table",{"v-table--fixed-height":!!n.height,"v-table--fixed-header":n.fixedHeader,"v-table--fixed-footer":n.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":n.hover},E.value,z.value,n.class],style:n.style},{default:()=>{var k,m,t;return[(k=r.top)==null?void 0:k.call(r),r.default?gt("div",{class:"v-table__wrapper",style:{height:Qr(n.height)}},[gt("table",null,[r.default()])]):(m=r.wrapper)==null?void 0:m.call(r),(t=r.bottom)==null?void 0:t.call(r)]}})),{}}});const pH=ur({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...mh(),...u1()},"VTextarea"),mH=Ar()({name:"VTextarea",directives:{Intersect:og},inheritAttrs:!1,props:pH(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const k=xi(n,"modelValue"),{isFocused:m,focus:t,blur:d}=rd(n),y=cn(()=>typeof n.counterValue=="function"?n.counterValue(k.value):(k.value||"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter});function M(C,_){var A,L;!n.autofocus||!C||(L=(A=_[0].target)==null?void 0:A.focus)==null||L.call(A)}const g=Vr(),h=Vr(),l=qr(""),a=Vr(),u=cn(()=>n.persistentPlaceholder||m.value||n.active);function o(){var C;a.value!==document.activeElement&&((C=a.value)==null||C.focus()),m.value||t()}function s(C){o(),E("click:control",C)}function f(C){E("mousedown:control",C)}function c(C){C.stopPropagation(),o(),Ua(()=>{k.value="",K2(n["onClick:clear"],C)})}function p(C){var A;const _=C.target;if(k.value=_.value,(A=n.modelModifiers)!=null&&A.trim){const L=[_.selectionStart,_.selectionEnd];Ua(()=>{_.selectionStart=L[0],_.selectionEnd=L[1]})}}const w=Vr(),v=Vr(+n.rows),S=cn(()=>["plain","underlined"].includes(n.variant));wu(()=>{n.autoGrow||(v.value=+n.rows)});function x(){n.autoGrow&&Ua(()=>{if(!w.value||!h.value)return;const C=getComputedStyle(w.value),_=getComputedStyle(h.value.$el),A=parseFloat(C.getPropertyValue("--v-field-padding-top"))+parseFloat(C.getPropertyValue("--v-input-padding-top"))+parseFloat(C.getPropertyValue("--v-field-padding-bottom")),L=w.value.scrollHeight,b=parseFloat(C.lineHeight),O=Math.max(parseFloat(n.rows)*b+A,parseFloat(_.getPropertyValue("--v-input-control-height"))),I=parseFloat(n.maxRows)*b+A||1/0,R=Xs(L??0,O,I);v.value=Math.floor((R-A)/b),l.value=Qr(R)})}Js(x),Xr(k,x),Xr(()=>n.rows,x),Xr(()=>n.maxRows,x),Xr(()=>n.density,x);let T;return Xr(w,C=>{C?(T=new ResizeObserver(x),T.observe(w.value)):T==null||T.disconnect()}),kl(()=>{T==null||T.disconnect()}),Rr(()=>{const C=!!(z.counter||n.counter||n.counterValue),_=!!(C||z.details),[A,L]=Qd(r),[{modelValue:b,...O}]=Bs.filterProps(n),[I]=w_(n);return gt(Bs,Wr({ref:g,modelValue:k.value,"onUpdate:modelValue":R=>k.value=R,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":S.value},n.class],style:n.style},A,O,{centerAffix:v.value===1&&!S.value,focused:m.value}),{...z,default:R=>{let{isDisabled:D,isDirty:F,isReadonly:B,isValid:N}=R;return gt(fg,Wr({ref:h,style:{"--v-textarea-control-height":l.value},onClick:s,onMousedown:f,"onClick:clear":c,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},I,{active:u.value||F.value,centerAffix:v.value===1&&!S.value,dirty:F.value||n.dirty,disabled:D.value,focused:m.value,error:N.value===!1}),{...z,default:q=>{let{props:{class:j,...$}}=q;return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[n.prefix]),Co(gt("textarea",Wr({ref:a,class:j,value:k.value,onInput:p,autofocus:n.autofocus,readonly:B.value,disabled:D.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:o,onBlur:d},$,L),null),[[Tu("intersect"),{handler:M},null,{once:!0}]]),n.autoGrow&&Co(gt("textarea",{class:[j,"v-textarea__sizer"],id:`${$.id}-sizer`,"onUpdate:modelValue":U=>k.value=U,ref:w,readonly:!0,"aria-hidden":"true"},null),[[M7,k.value]]),n.suffix&>("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:_?R=>{var D;return gt(Yr,null,[(D=z.details)==null?void 0:D.call(z,R),C&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||m.value,value:y.value,max:i.value},z.counter)])])}:void 0})}),Nc({},g,h,a)}});const gH=ur({withBackground:Boolean,...$r(),...oa(),...Ai()},"VThemeProvider"),vH=Ar()({name:"VThemeProvider",props:gH(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n);return()=>{var z;return n.withBackground?gt(n.tag,{class:["v-theme-provider",E.value,n.class],style:n.style},{default:()=>{var k;return[(k=r.default)==null?void 0:k.call(r)]}}):(z=r.default)==null?void 0:z.call(r)}}});const yH=ur({align:{type:String,default:"center",validator:n=>["center","start"].includes(n)},direction:{type:String,default:"vertical",validator:n=>["vertical","horizontal"].includes(n)},justify:{type:String,default:"auto",validator:n=>["auto","center"].includes(n)},side:{type:String,validator:n=>n==null||["start","end"].includes(n)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:n=>["start","end","both"].includes(n)},...$r(),...ds(),...Ai(),...oa()},"VTimeline"),bH=Ar()({name:"VTimeline",props:yH(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{densityClasses:z}=el(n),{rtlClasses:k}=Cs();es({VTimelineDivider:{lineColor:Cr(n,"lineColor")},VTimelineItem:{density:Cr(n,"density"),lineInset:Cr(n,"lineInset")}});const m=cn(()=>{const d=n.side?n.side:n.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),t=cn(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(n.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return Rr(()=>gt(n.tag,{class:["v-timeline",`v-timeline--${n.direction}`,`v-timeline--align-${n.align}`,`v-timeline--justify-${n.justify}`,t.value,{"v-timeline--inset-line":!!n.lineInset},E.value,z.value,m.value,k.value,n.class],style:[{"--v-timeline-line-thickness":Qr(n.lineThickness)},n.style]},r)),{}}}),xH=ur({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:bi,iconColor:String,lineColor:String,...$r(),...lo(),...ph(),...hs()},"VTimelineDivider"),_H=Ar()({name:"VTimelineDivider",props:xH(),setup(n,e){let{slots:r}=e;const{sizeClasses:E,sizeStyles:z}=M0(n,"v-timeline-divider__dot"),{backgroundColorStyles:k,backgroundColorClasses:m}=Ro(Cr(n,"dotColor")),{roundedClasses:t}=Eo(n,"v-timeline-divider__dot"),{elevationClasses:d}=Vs(n),{backgroundColorClasses:y,backgroundColorStyles:i}=Ro(Cr(n,"lineColor"));return Rr(()=>gt("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":n.fillDot},n.class],style:n.style},[gt("div",{class:["v-timeline-divider__before",y.value],style:i.value},null),!n.hideDot&>("div",{key:"dot",class:["v-timeline-divider__dot",d.value,t.value,E.value],style:z.value},[gt("div",{class:["v-timeline-divider__inner-dot",m.value,t.value],style:k.value},[r.default?gt(za,{key:"icon-defaults",disabled:!n.icon,defaults:{VIcon:{color:n.iconColor,icon:n.icon,size:n.size}}},r.default):gt(ja,{key:"icon",color:n.iconColor,icon:n.icon,size:n.size},null)])]),gt("div",{class:["v-timeline-divider__after",y.value],style:i.value},null)])),{}}}),wH=ur({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:bi,iconColor:String,lineInset:[Number,String],...$r(),...ac(),...hs(),...lo(),...ph(),...Ai()},"VTimelineItem"),TH=Ar()({name:"VTimelineItem",props:wH(),setup(n,e){let{slots:r}=e;const{dimensionStyles:E}=oc(n),z=qr(0),k=Vr();return Xr(k,m=>{var t;m&&(z.value=((t=m.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:t.getBoundingClientRect().width)??0)},{flush:"post"}),Rr(()=>{var m,t;return gt("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":n.fillDot},n.class],style:[{"--v-timeline-dot-size":Qr(z.value),"--v-timeline-line-inset":n.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${Qr(n.lineInset)})`:Qr(0)},n.style]},[gt("div",{class:"v-timeline-item__body",style:E.value},[(m=r.default)==null?void 0:m.call(r)]),gt(_H,{ref:k,hideDot:n.hideDot,icon:n.icon,iconColor:n.iconColor,size:n.size,elevation:n.elevation,dotColor:n.dotColor,fillDot:n.fillDot,rounded:n.rounded},{default:r.icon}),n.density!=="compact"&>("div",{class:"v-timeline-item__opposite"},[!n.hideOpposite&&((t=r.opposite)==null?void 0:t.call(r))])])}),{}}}),kH=ur({...$r(),...lc({variant:"text"})},"VToolbarItems"),MH=Ar()({name:"VToolbarItems",props:kH(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:Cr(n,"color"),height:"inherit",variant:Cr(n,"variant")}}),Rr(()=>{var E;return gt("div",{class:["v-toolbar-items",n.class],style:n.style},[(E=r.default)==null?void 0:E.call(r)])}),{}}});const AH=ur({id:String,text:String,...nc(cg({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),SH=Ar()({name:"VTooltip",props:AH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{scopeId:z}=E0(),k=Qs(),m=cn(()=>n.id||`v-tooltip-${k}`),t=Vr(),d=cn(()=>n.location.split(" ").length>1?n.location:n.location+" center"),y=cn(()=>n.origin==="auto"||n.origin==="overlap"||n.origin.split(" ").length>1||n.location.split(" ").length>1?n.origin:n.origin+" center"),i=cn(()=>n.transition?n.transition:E.value?"scale-transition":"fade-transition"),M=cn(()=>Wr({"aria-describedby":m.value},n.activatorProps));return Rr(()=>{const[g]=oh.filterProps(n);return gt(oh,Wr({ref:t,class:["v-tooltip",n.class],style:n.style,id:m.value},g,{modelValue:E.value,"onUpdate:modelValue":h=>E.value=h,transition:i.value,absolute:!0,location:d.value,origin:y.value,persistent:!0,role:"tooltip",activatorProps:M.value,_disableGlobalStack:!0},z),{activator:r.activator,default:function(){var u;for(var h=arguments.length,l=new Array(h),a=0;a!0},setup(n,e){let{slots:r}=e;const E=uA(n,"validation");return()=>{var z;return(z=r.default)==null?void 0:z.call(r,E)}}}),EH=Object.freeze(Object.defineProperty({__proto__:null,VAlert:iN,VAlertTitle:tA,VApp:pB,VAppBar:RB,VAppBarNavIcon:eN,VAppBarTitle:tN,VAutocomplete:wV,VAvatar:Zh,VBadge:kV,VBanner:SV,VBannerActions:DA,VBannerText:zA,VBottomNavigation:EV,VBreadcrumbs:PV,VBreadcrumbsDivider:FA,VBreadcrumbsItem:BA,VBtn:wl,VBtnGroup:bx,VBtnToggle:VB,VCard:zV,VCardActions:NA,VCardItem:UA,VCardSubtitle:VA,VCardText:HA,VCardTitle:jA,VCarousel:WV,VCarouselItem:YV,VCheckbox:hN,VCheckboxBtn:f0,VChip:ug,VChipGroup:mN,VClassIcon:a_,VCode:$V,VCol:aU,VColorPicker:zj,VCombobox:Nj,VComponentIcon:dx,VContainer:tU,VCounter:l1,VDefaultsProvider:za,VDialog:jj,VDialogBottomTransition:yB,VDialogTopTransition:bB,VDialogTransition:Qy,VDivider:xA,VExpandTransition:e1,VExpandXTransition:u_,VExpansionPanel:Yj,VExpansionPanelText:eS,VExpansionPanelTitle:nS,VExpansionPanels:Gj,VFabTransition:vB,VFadeTransition:gx,VField:fg,VFieldLabel:um,VFileInput:Zj,VFooter:Kj,VForm:Qj,VHover:mU,VIcon:ja,VImg:Zd,VInput:Bs,VItem:yU,VItemGroup:vU,VKbd:bU,VLabel:C0,VLayout:_U,VLayoutItem:TU,VLazy:MU,VLigatureIcon:SF,VList:a1,VListGroup:Tx,VListImg:DN,VListItem:ah,VListItemAction:FN,VListItemMedia:NN,VListItemSubtitle:vA,VListItemTitle:yA,VListSubheader:bA,VLocaleProvider:SU,VMain:EU,VMenu:s1,VMessages:oA,VNavigationDrawer:BU,VNoSsr:NU,VOverlay:oh,VPagination:UU,VParallax:WU,VProgressCircular:d_,VProgressLinear:p_,VRadio:YU,VRadioGroup:ZU,VRangeSlider:KU,VRating:QU,VResponsive:vx,VRow:hU,VScaleTransition:s_,VScrollXReverseTransition:_B,VScrollXTransition:xB,VScrollYReverseTransition:TB,VScrollYTransition:wB,VSelect:vV,VSelectionControl:Xd,VSelectionControlGroup:rA,VSheet:Rx,VSlideGroup:Dx,VSlideGroupItem:tH,VSlideXReverseTransition:MB,VSlideXTransition:kB,VSlideYReverseTransition:AB,VSlideYTransition:l_,VSlider:Px,VSnackbar:rH,VSpacer:dU,VSvgIcon:i_,VSwitch:aH,VSystemBar:sH,VTab:vS,VTable:dH,VTabs:fH,VTextField:Kd,VTextarea:mH,VThemeProvider:vH,VTimeline:bH,VTimelineItem:TH,VToolbar:yx,VToolbarItems:MH,VToolbarTitle:o_,VTooltip:SH,VValidation:CH,VVirtualScroll:f1,VWindow:Sx,VWindowItem:Cx},Symbol.toStringTag,{value:"Module"}));function LH(n,e){const r=e.modifiers||{},E=e.value,{once:z,immediate:k,...m}=r,t=!Object.keys(m).length,{handler:d,options:y}=typeof E=="object"?E:{handler:E,options:{attributes:(m==null?void 0:m.attr)??t,characterData:(m==null?void 0:m.char)??t,childList:(m==null?void 0:m.child)??t,subtree:(m==null?void 0:m.sub)??t}},i=new MutationObserver(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],g=arguments.length>1?arguments[1]:void 0;d==null||d(M,g),z&&yS(n,e)});k&&(d==null||d([],i)),n._mutate=Object(n._mutate),n._mutate[e.instance.$.uid]={observer:i},i.observe(n,y)}function yS(n,e){var r;(r=n._mutate)!=null&&r[e.instance.$.uid]&&(n._mutate[e.instance.$.uid].observer.disconnect(),delete n._mutate[e.instance.$.uid])}const IH={mounted:LH,unmounted:yS};function OH(n,e){var z,k;const r=e.value,E={passive:!((z=e.modifiers)!=null&&z.active)};window.addEventListener("resize",r,E),n._onResize=Object(n._onResize),n._onResize[e.instance.$.uid]={handler:r,options:E},(k=e.modifiers)!=null&&k.quiet||r()}function PH(n,e){var z;if(!((z=n._onResize)!=null&&z[e.instance.$.uid]))return;const{handler:r,options:E}=n._onResize[e.instance.$.uid];window.removeEventListener("resize",r,E),delete n._onResize[e.instance.$.uid]}const RH={mounted:OH,unmounted:PH};function bS(n,e){const{self:r=!1}=e.modifiers??{},E=e.value,z=typeof E=="object"&&E.options||{passive:!0},k=typeof E=="function"||"handleEvent"in E?E:E.handler,m=r?n:e.arg?document.querySelector(e.arg):window;m&&(m.addEventListener("scroll",k,z),n._onScroll=Object(n._onScroll),n._onScroll[e.instance.$.uid]={handler:k,options:z,target:r?void 0:m})}function xS(n,e){var k;if(!((k=n._onScroll)!=null&&k[e.instance.$.uid]))return;const{handler:r,options:E,target:z=n}=n._onScroll[e.instance.$.uid];z.removeEventListener("scroll",r,E),delete n._onScroll[e.instance.$.uid]}function DH(n,e){e.value!==e.oldValue&&(xS(n,e),bS(n,e))}const zH={mounted:bS,unmounted:xS,updated:DH},FH=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:OA,Intersect:og,Mutate:IH,Resize:RH,Ripple:nd,Scroll:zH,Touch:M_},Symbol.toStringTag,{value:"Module"})),E_=L7(zz);E_.use(P7());E_.use(z6({components:EH,directives:FH}));E_.mount("#app"); +`)}function G5(n){const e=n.dark?2:1,r=n.dark?1:2,E=[];for(const[z,k]of Object.entries(n.colors)){const m=Pc(k);E.push(`--v-theme-${z}: ${m.r},${m.g},${m.b}`),z.startsWith("on-")||E.push(`--v-theme-${z}-overlay-multiplier: ${cx(k)>.18?e:r}`)}for(const[z,k]of Object.entries(n.variables)){const m=typeof k=="string"&&k.startsWith("#")?Pc(k):void 0,t=m?`${m.r}, ${m.g}, ${m.b}`:void 0;E.push(`--v-${z}: ${t??k}`)}return E}const px={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function qF(n,e){const r=[];let E=[];const z=I6(n),k=P6(n),m=z.getDay()-px[e.slice(-2).toUpperCase()],t=k.getDay()-px[e.slice(-2).toUpperCase()];for(let d=0;d{const E=new Date(q5);return E.setDate(q5.getDate()+e+r),new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(E)})}function XF(n,e,r){const E=new Date(n);let z={};switch(e){case"fullDateWithWeekday":z={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":z={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":z={};break;case"monthAndDate":z={month:"long",day:"numeric"};break;case"monthAndYear":z={month:"long",year:"numeric"};break;case"dayOfMonth":z={day:"numeric"};break;default:z={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,z).format(E)}function KF(n,e){const r=new Date(n);return r.setDate(r.getDate()+e),r}function JF(n,e){const r=new Date(n);return r.setMonth(r.getMonth()+e),r}function QF(n){return n.getFullYear()}function eB(n){return n.getMonth()}function tB(n){return new Date(n.getFullYear(),0,1)}function nB(n){return new Date(n.getFullYear(),11,31)}function rB(n,e){return mx(n,e[0])&&aB(n,e[1])}function iB(n){if(!n||n==null)return!1;const e=new Date(n);return e instanceof Date&&!isNaN(e.getTime())}function mx(n,e){return n.getTime()>e.getTime()}function aB(n,e){return n.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const r=Vr(),E=Vr();if(to){const z=new ResizeObserver(k=>{n==null||n(k,z),k.length&&(e==="content"?E.value=k[0].contentRect:E.value=k[0].target.getBoundingClientRect())});kl(()=>{z.disconnect()}),Xr(r,(k,m)=>{m&&(z.unobserve(ox(m)),E.value=void 0),k&&z.observe(ox(k))},{flush:"post"})}return{resizeRef:r,contentRect:Hm(E)}}const hy=Symbol.for("vuetify:layout"),O6=Symbol.for("vuetify:layout-item"),Y5=1e3,R6=ur({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),x0=ur({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function pB(){const n=ka(hy);if(!n)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:n.getLayoutItem,mainRect:n.mainRect,mainStyles:n.mainStyles}}function _0(n){const e=ka(hy);if(!e)throw new Error("[Vuetify] Could not find injected layout");const r=n.id??`layout-item-${Qs()}`,E=Es("useLayoutItem");rs(O6,{id:r});const z=Wr(!1);YT(()=>z.value=!0),$T(()=>z.value=!1);const{layoutItemStyles:k,layoutItemScrimStyles:m}=e.register(E,{...n,active:cn(()=>z.value?!1:n.active.value),id:r});return kl(()=>e.unregister(r)),{layoutItemStyles:k,layoutRect:e.layoutRect,layoutItemScrimStyles:m}}const mB=(n,e,r,E)=>{let z={top:0,left:0,right:0,bottom:0};const k=[{id:"",layer:{...z}}];for(const m of n){const t=e.get(m),d=r.get(m),y=E.get(m);if(!t||!d||!y)continue;const i={...z,[t.value]:parseInt(z[t.value],10)+(y.value?parseInt(d.value,10):0)};k.push({id:m,layer:i}),z=i}return k};function D6(n){const e=ka(hy,null),r=cn(()=>e?e.rootZIndex.value-100:Y5),E=Vr([]),z=bl(new Map),k=bl(new Map),m=bl(new Map),t=bl(new Map),d=bl(new Map),{resizeRef:y,contentRect:i}=Tf(),M=cn(()=>{const w=new Map,v=n.overlaps??[];for(const S of v.filter(x=>x.includes(":"))){const[x,T]=S.split(":");if(!E.value.includes(x)||!E.value.includes(T))continue;const C=z.get(x),_=z.get(T),A=k.get(x),L=k.get(T);!C||!_||!A||!L||(w.set(T,{position:C.value,amount:parseInt(A.value,10)}),w.set(x,{position:_.value,amount:-parseInt(L.value,10)}))}return w}),g=cn(()=>{const w=[...new Set([...m.values()].map(S=>S.value))].sort((S,x)=>S-x),v=[];for(const S of w){const x=E.value.filter(T=>{var C;return((C=m.get(T))==null?void 0:C.value)===S});v.push(...x)}return mB(v,z,k,t)}),h=cn(()=>!Array.from(d.values()).some(w=>w.value)),l=cn(()=>g.value[g.value.length-1].layer),a=cn(()=>({"--v-layout-left":Qr(l.value.left),"--v-layout-right":Qr(l.value.right),"--v-layout-top":Qr(l.value.top),"--v-layout-bottom":Qr(l.value.bottom),...h.value?void 0:{transition:"none"}})),u=cn(()=>g.value.slice(1).map((w,v)=>{let{id:S}=w;const{layer:x}=g.value[v],T=k.get(S),C=z.get(S);return{id:S,...x,size:Number(T.value),position:C.value}})),o=w=>u.value.find(v=>v.id===w),s=Es("createLayout"),c=Wr(!1);Js(()=>{c.value=!0}),rs(hy,{register:(w,v)=>{let{id:S,order:x,position:T,layoutSize:C,elementSize:_,active:A,disableTransitions:L,absolute:b}=v;m.set(S,x),z.set(S,T),k.set(S,C),t.set(S,A),L&&d.set(S,L);const I=ym(O6,s==null?void 0:s.vnode).indexOf(w);I>-1?E.value.splice(I,0,S):E.value.push(S);const R=cn(()=>u.value.findIndex(N=>N.id===S)),D=cn(()=>r.value+g.value.length*2-R.value*2),F=cn(()=>{const N=T.value==="left"||T.value==="right",W=T.value==="right",j=T.value==="bottom",Y={[T.value]:0,zIndex:D.value,transform:`translate${N?"X":"Y"}(${(A.value?0:-110)*(W||j?-1:1)}%)`,position:b.value||r.value!==Y5?"absolute":"fixed",...h.value?void 0:{transition:"none"}};if(!c.value)return Y;const U=u.value[R.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${S}"`);const G=M.value.get(S);return G&&(U[G.position]+=G.amount),{...Y,height:N?`calc(100% - ${U.top}px - ${U.bottom}px)`:_.value?`${_.value}px`:void 0,left:W?void 0:`${U.left}px`,right:W?`${U.right}px`:void 0,top:T.value!=="bottom"?`${U.top}px`:void 0,bottom:T.value!=="top"?`${U.bottom}px`:void 0,width:N?_.value?`${_.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),B=cn(()=>({zIndex:D.value-1}));return{layoutItemStyles:F,layoutItemScrimStyles:B,zIndex:D}},unregister:w=>{m.delete(w),z.delete(w),k.delete(w),t.delete(w),d.delete(w),E.value=E.value.filter(v=>v!==w)},mainRect:l,mainStyles:a,getLayoutItem:o,items:u,layoutRect:i,rootZIndex:r});const f=cn(()=>["v-layout",{"v-layout--full-height":n.fullHeight}]),p=cn(()=>({zIndex:r.value,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:f,layoutStyles:p,getLayoutItem:o,items:u,layoutRect:i,layoutRef:y}}function z6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...r}=n,E=Xu(e,r),{aliases:z={},components:k={},directives:m={}}=E,t=kF(E.defaults),d=CF(E.display,E.ssr),y=GF(E.theme),i=OF(E.icons),M=NF(E.locale),g=dB(E.date);return{install:l=>{for(const a in m)l.directive(a,m[a]);for(const a in k)l.component(a,k[a]);for(const a in z)l.component(a,rc({...z[a],name:a,aliasName:z[a].name}));if(y.install(l),l.provide(u0,t),l.provide(fx,d),l.provide(Fm,y),l.provide(hx,i),l.provide(c0,M),l.provide($5,g),to&&E.ssr)if(l.$nuxt)l.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:a}=l;l.mount=function(){const u=a(...arguments);return Ua(()=>d.update()),l.mount=a,u}}Qs.reset(),l.mixin({computed:{$vuetify(){return bl({defaults:Ep.call(this,u0),display:Ep.call(this,fx),theme:Ep.call(this,Fm),icons:Ep.call(this,hx),locale:Ep.call(this,c0),date:Ep.call(this,$5)})}}})},defaults:t,display:d,theme:y,icons:i,locale:M,date:g}}const gB="3.3.16";z6.version=gB;function Ep(n){var E,z;const e=this.$,r=((E=e.parent)==null?void 0:E.provides)??((z=e.vnode.appContext)==null?void 0:z.provides);if(r&&n in r)return r[n]}const vB=ur({...Yr(),...R6({fullHeight:!0}),...oa()},"VApp"),yB=Ar()({name:"VApp",props:vB(),setup(n,e){let{slots:r}=e;const E=Ma(n),{layoutClasses:z,layoutStyles:k,getLayoutItem:m,items:t,layoutRef:d}=D6(n),{rtlClasses:y}=Ls();return Rr(()=>{var i;return gt("div",{ref:d,class:["v-application",E.themeClasses.value,z.value,y.value,n.class],style:[k.value,n.style]},[gt("div",{class:"v-application__wrap"},[(i=r.default)==null?void 0:i.call(r)])])}),{getLayoutItem:m,items:t,theme:E}}});const Ai=ur({tag:{type:String,default:"div"}},"tag"),F6=ur({text:String,...Yr(),...Ai()},"VToolbarTitle"),o_=Ar()({name:"VToolbarTitle",props:F6(),setup(n,e){let{slots:r}=e;return Rr(()=>{const E=!!(r.default||r.text||n.text);return gt(n.tag,{class:["v-toolbar-title",n.class],style:n.style},{default:()=>{var z;return[E&>("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():n.text,(z=r.default)==null?void 0:z.call(r)])]}})}),{}}}),bB=ur({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Au(n,e,r){return Ar()({name:n,props:bB({mode:r,origin:e}),setup(E,z){let{slots:k}=z;const m={onBeforeEnter(t){E.origin&&(t.style.transformOrigin=E.origin)},onLeave(t){if(E.leaveAbsolute){const{offsetTop:d,offsetLeft:y,offsetWidth:i,offsetHeight:M}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=`${d}px`,t.style.left=`${y}px`,t.style.width=`${i}px`,t.style.height=`${M}px`}E.hideOnLeave&&t.style.setProperty("display","none","important")},onAfterLeave(t){if(E.leaveAbsolute&&(t!=null&&t._transitionInitialStyles)){const{position:d,top:y,left:i,width:M,height:g}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=d||"",t.style.top=y||"",t.style.left=i||"",t.style.width=M||"",t.style.height=g||""}}};return()=>{const t=E.group?b7:bf;return Xh(t,{name:E.disabled?"":n,css:!E.disabled,...E.group?void 0:{mode:E.mode},...E.disabled?{}:m},k.default)}}})}function B6(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Ar()({name:n,props:{mode:{type:String,default:r},disabled:Boolean},setup(E,z){let{slots:k}=z;return()=>Xh(bf,{name:E.disabled?"":n,css:!E.disabled,...E.disabled?{}:e},k.default)}})}function N6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",E=ec(`offset-${r}`);return{onBeforeEnter(m){m._parent=m.parentNode,m._initialStyle={transition:m.style.transition,overflow:m.style.overflow,[r]:m.style[r]}},onEnter(m){const t=m._initialStyle;m.style.setProperty("transition","none","important"),m.style.overflow="hidden";const d=`${m[E]}px`;m.style[r]="0",m.offsetHeight,m.style.transition=t.transition,n&&m._parent&&m._parent.classList.add(n),requestAnimationFrame(()=>{m.style[r]=d})},onAfterEnter:k,onEnterCancelled:k,onLeave(m){m._initialStyle={transition:"",overflow:m.style.overflow,[r]:m.style[r]},m.style.overflow="hidden",m.style[r]=`${m[E]}px`,m.offsetHeight,requestAnimationFrame(()=>m.style[r]="0")},onAfterLeave:z,onLeaveCancelled:z};function z(m){n&&m._parent&&m._parent.classList.remove(n),k(m)}function k(m){const t=m._initialStyle[r];m.style.overflow=m._initialStyle.overflow,t!=null&&(m.style[r]=t),delete m._initialStyle}}const xB=ur({target:Object},"v-dialog-transition"),Qy=Ar()({name:"VDialogTransition",props:xB(),setup(n,e){let{slots:r}=e;const E={onBeforeEnter(z){z.style.pointerEvents="none",z.style.visibility="hidden"},async onEnter(z,k){var g;await new Promise(h=>requestAnimationFrame(h)),await new Promise(h=>requestAnimationFrame(h)),z.style.visibility="";const{x:m,y:t,sx:d,sy:y,speed:i}=X5(n.target,z),M=Dd(z,[{transform:`translate(${m}px, ${t}px) scale(${d}, ${y})`,opacity:0},{}],{duration:225*i,easing:bF});(g=Z5(z))==null||g.forEach(h=>{Dd(h,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*i,easing:zm})}),M.finished.then(()=>k())},onAfterEnter(z){z.style.removeProperty("pointer-events")},onBeforeLeave(z){z.style.pointerEvents="none"},async onLeave(z,k){var g;await new Promise(h=>requestAnimationFrame(h));const{x:m,y:t,sx:d,sy:y,speed:i}=X5(n.target,z);Dd(z,[{},{transform:`translate(${m}px, ${t}px) scale(${d}, ${y})`,opacity:0}],{duration:125*i,easing:xF}).finished.then(()=>k()),(g=Z5(z))==null||g.forEach(h=>{Dd(h,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*i,easing:zm})})},onAfterLeave(z){z.style.removeProperty("pointer-events")}};return()=>n.target?gt(bf,qr({name:"dialog-transition"},E,{css:!1}),r):gt(bf,{name:"dialog-transition"},r)}});function Z5(n){var r;const e=(r=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return e&&[...e]}function X5(n,e){const r=n.getBoundingClientRect(),E=J2(e),[z,k]=getComputedStyle(e).transformOrigin.split(" ").map(o=>parseFloat(o)),[m,t]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;m==="left"||t==="left"?d-=r.width/2:(m==="right"||t==="right")&&(d+=r.width/2);let y=r.top+r.height/2;m==="top"||t==="top"?y-=r.height/2:(m==="bottom"||t==="bottom")&&(y+=r.height/2);const i=r.width/E.width,M=r.height/E.height,g=Math.max(1,i,M),h=i/g||0,l=M/g||0,a=E.width*E.height/(window.innerWidth*window.innerHeight),u=a>.12?Math.min(1.5,(a-.12)*10+1):1;return{x:d-(z+E.left),y:y-(k+E.top),sx:h,sy:l,speed:u}}const _B=Au("fab-transition","center center","out-in"),wB=Au("dialog-bottom-transition"),TB=Au("dialog-top-transition"),gx=Au("fade-transition"),s_=Au("scale-transition"),kB=Au("scroll-x-transition"),MB=Au("scroll-x-reverse-transition"),AB=Au("scroll-y-transition"),SB=Au("scroll-y-reverse-transition"),CB=Au("slide-x-transition"),EB=Au("slide-x-reverse-transition"),l_=Au("slide-y-transition"),LB=Au("slide-y-reverse-transition"),e1=B6("expand-transition",N6()),u_=B6("expand-x-transition",N6("",!0)),IB=ur({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Fa=Ar(!1)({name:"VDefaultsProvider",props:IB(),setup(n,e){let{slots:r}=e;const{defaults:E,disabled:z,reset:k,root:m,scoped:t}=by(n);return ns(E,{reset:k,root:m,scoped:t,disabled:z}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});const ac=ur({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function oc(n){return{dimensionStyles:cn(()=>({height:Qr(n.height),maxHeight:Qr(n.maxHeight),maxWidth:Qr(n.maxWidth),minHeight:Qr(n.minHeight),minWidth:Qr(n.minWidth),width:Qr(n.width)}))}}function PB(n){return{aspectStyles:cn(()=>{const e=Number(n.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const V6=ur({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Yr(),...ac()},"VResponsive"),vx=Ar()({name:"VResponsive",props:V6(),setup(n,e){let{slots:r}=e;const{aspectStyles:E}=PB(n),{dimensionStyles:z}=oc(n);return Rr(()=>{var k;return gt("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[z.value,n.style]},[gt("div",{class:"v-responsive__sizer",style:E.value},null),(k=r.additional)==null?void 0:k.call(r),r.default&>("div",{class:["v-responsive__content",n.contentClass]},[r.default()])])}),{}}}),dh=ur({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Oc=(n,e)=>{let{slots:r}=e;const{transition:E,disabled:z,...k}=n,{component:m=bf,...t}=typeof E=="object"?E:{};return Xh(m,qr(typeof E=="string"?{name:z?"":E}:t,k,{disabled:z}),r)};function OB(n,e){if(!Y2)return;const r=e.modifiers||{},E=e.value,{handler:z,options:k}=typeof E=="object"?E:{handler:E,options:{}},m=new IntersectionObserver(function(){var M;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const y=(M=n._observe)==null?void 0:M[e.instance.$.uid];if(!y)return;const i=t.some(g=>g.isIntersecting);z&&(!r.quiet||y.init)&&(!r.once||i||y.init)&&z(i,t,d),i&&r.once?j6(n,e):y.init=!0},k);n._observe=Object(n._observe),n._observe[e.instance.$.uid]={init:!1,observer:m},m.observe(n)}function j6(n,e){var E;const r=(E=n._observe)==null?void 0:E[e.instance.$.uid];r&&(r.observer.unobserve(n),delete n._observe[e.instance.$.uid])}const og={mounted:OB,unmounted:j6},U6=ur({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...V6(),...Yr(),...dh()},"VImg"),Zd=Ar()({name:"VImg",directives:{intersect:og},props:U6(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,e){let{emit:r,slots:E}=e;const z=Wr(""),k=Vr(),m=Wr(n.eager?"loading":"idle"),t=Wr(),d=Wr(),y=cn(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),i=cn(()=>y.value.aspect||t.value/d.value||0);Xr(()=>n.src,()=>{M(m.value!=="idle")}),Xr(i,(S,x)=>{!S&&x&&k.value&&u(k.value)}),Sy(()=>M());function M(S){if(!(n.eager&&S)&&!(Y2&&!S&&!n.eager)){if(m.value="loading",y.value.lazySrc){const x=new Image;x.src=y.value.lazySrc,u(x,null)}y.value.src&&Ua(()=>{var x,T;if(r("loadstart",((x=k.value)==null?void 0:x.currentSrc)||y.value.src),(T=k.value)!=null&&T.complete){if(k.value.naturalWidth||h(),m.value==="error")return;i.value||u(k.value,null),g()}else i.value||u(k.value),l()})}}function g(){var S;l(),m.value="loaded",r("load",((S=k.value)==null?void 0:S.currentSrc)||y.value.src)}function h(){var S;m.value="error",r("error",((S=k.value)==null?void 0:S.currentSrc)||y.value.src)}function l(){const S=k.value;S&&(z.value=S.currentSrc||S.src)}let a=-1;function u(S){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const T=()=>{clearTimeout(a);const{naturalHeight:C,naturalWidth:_}=S;C||_?(t.value=_,d.value=C):!S.complete&&m.value==="loading"&&x!=null?a=window.setTimeout(T,x):(S.currentSrc.endsWith(".svg")||S.currentSrc.startsWith("data:image/svg+xml"))&&(t.value=1,d.value=1)};T()}const o=cn(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),s=()=>{var T;if(!y.value.src||m.value==="idle")return null;const S=gt("img",{class:["v-img__img",o.value],src:y.value.src,srcset:y.value.srcset,alt:n.alt,sizes:n.sizes,ref:k,onLoad:g,onError:h},null),x=(T=E.sources)==null?void 0:T.call(E);return gt(Oc,{transition:n.transition,appear:!0},{default:()=>[Co(x?gt("picture",{class:"v-img__picture"},[x,S]):S,[[kf,m.value==="loaded"]])]})},c=()=>gt(Oc,{transition:n.transition},{default:()=>[y.value.lazySrc&&m.value!=="loaded"&>("img",{class:["v-img__img","v-img__img--preload",o.value],src:y.value.lazySrc,alt:n.alt},null)]}),f=()=>E.placeholder?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[(m.value==="loading"||m.value==="error"&&!E.error)&>("div",{class:"v-img__placeholder"},[E.placeholder()])]}):null,p=()=>E.error?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[m.value==="error"&>("div",{class:"v-img__error"},[E.error()])]}):null,w=()=>n.gradient?gt("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,v=Wr(!1);{const S=Xr(i,x=>{x&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{v.value=!0})}),S())})}return Rr(()=>{const[S]=vx.filterProps(n);return Co(gt(vx,qr({class:["v-img",{"v-img--booting":!v.value},n.class],style:[{width:Qr(n.width==="auto"?t.value:n.width)},n.style]},S,{aspectRatio:i.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>gt($r,null,[gt(s,null,null),gt(c,null,null),gt(w,null,null),gt(f,null,null),gt(p,null,null)]),default:E.default}),[[Tu("intersect"),{handler:M,options:n.options},null,{once:!0}]])}),{currentSrc:z,image:k,state:m,naturalWidth:t,naturalHeight:d}}}),Su=ur({border:[Boolean,Number,String]},"border");function sc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{borderClasses:cn(()=>{const E=eo(n)?n.value:n.border,z=[];if(E===!0||E==="")z.push(`${e}--border`);else if(typeof E=="string"||E===0)for(const k of String(E).split(" "))z.push(`border-${k}`);return z})}}function c_(n){return X2(()=>{const e=[],r={};if(n.value.background)if(D5(n.value.background)){if(r.backgroundColor=n.value.background,!n.value.text){const E=k6(r.backgroundColor);r.color=E,r.caretColor=E}}else e.push(`bg-${n.value.background}`);return n.value.text&&(D5(n.value.text)?(r.color=n.value.text,r.caretColor=n.value.text):e.push(`text-${n.value.text}`)),{colorClasses:e,colorStyles:r}})}function Ks(n,e){const r=cn(()=>({text:eo(n)?n.value:e?n[e]:null})),{colorClasses:E,colorStyles:z}=c_(r);return{textColorClasses:E,textColorStyles:z}}function Ro(n,e){const r=cn(()=>({background:eo(n)?n.value:e?n[e]:null})),{colorClasses:E,colorStyles:z}=c_(r);return{backgroundColorClasses:E,backgroundColorStyles:z}}const ds=ur({elevation:{type:[Number,String],validator(n){const e=parseInt(n);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Vs(n){return{elevationClasses:cn(()=>{const r=eo(n)?n.value:n.elevation,E=[];return r==null||E.push(`elevation-${r}`),E})}}const lo=ur({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Eo(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{roundedClasses:cn(()=>{const E=eo(n)?n.value:n.rounded,z=[];if(E===!0||E==="")z.push(`${e}--rounded`);else if(typeof E=="string"||E===0)for(const k of String(E).split(" "))z.push(`rounded-${k}`);return z})}}const RB=[null,"prominent","default","comfortable","compact"],H6=ur({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:n=>RB.includes(n)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Su(),...Yr(),...ds(),...lo(),...Ai({tag:"header"}),...oa()},"VToolbar"),yx=Ar()({name:"VToolbar",props:H6(),setup(n,e){var h;let{slots:r}=e;const{backgroundColorClasses:E,backgroundColorStyles:z}=Ro(Cr(n,"color")),{borderClasses:k}=sc(n),{elevationClasses:m}=Vs(n),{roundedClasses:t}=Eo(n),{themeClasses:d}=Ma(n),{rtlClasses:y}=Ls(),i=Wr(!!(n.extended||(h=r.extension)!=null&&h.call(r))),M=cn(()=>parseInt(Number(n.height)+(n.density==="prominent"?Number(n.height):0)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0),10)),g=cn(()=>i.value?parseInt(Number(n.extensionHeight)+(n.density==="prominent"?Number(n.extensionHeight):0)-(n.density==="comfortable"?4:0)-(n.density==="compact"?8:0),10):0);return ns({VBtn:{variant:"text"}}),Rr(()=>{var o;const l=!!(n.title||r.title),a=!!(r.image||n.image),u=(o=r.extension)==null?void 0:o.call(r);return i.value=!!(n.extended||u),gt(n.tag,{class:["v-toolbar",{"v-toolbar--absolute":n.absolute,"v-toolbar--collapse":n.collapse,"v-toolbar--flat":n.flat,"v-toolbar--floating":n.floating,[`v-toolbar--density-${n.density}`]:!0},E.value,k.value,m.value,t.value,d.value,y.value,n.class],style:[z.value,n.style]},{default:()=>[a&>("div",{key:"image",class:"v-toolbar__image"},[r.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},r.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(Fa,{defaults:{VTabs:{height:Qr(M.value)}}},{default:()=>{var s,c,f;return[gt("div",{class:"v-toolbar__content",style:{height:Qr(M.value)}},[r.prepend&>("div",{class:"v-toolbar__prepend"},[(s=r.prepend)==null?void 0:s.call(r)]),l&>(o_,{key:"title",text:n.title},{text:r.title}),(c=r.default)==null?void 0:c.call(r),r.append&>("div",{class:"v-toolbar__append"},[(f=r.append)==null?void 0:f.call(r)])])]}}),gt(Fa,{defaults:{VTabs:{height:Qr(g.value)}}},{default:()=>[gt(e1,null,{default:()=>[i.value&>("div",{class:"v-toolbar__extension",style:{height:Qr(g.value)}},[u])]})]})]})}),{contentHeight:M,extensionHeight:g}}}),DB=ur({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function zB(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=e;let E=0;const z=Vr(null),k=Wr(0),m=Wr(0),t=Wr(0),d=Wr(!1),y=Wr(!1),i=cn(()=>Number(n.scrollThreshold)),M=cn(()=>Xs((i.value-k.value)/i.value||0)),g=()=>{const h=z.value;!h||r&&!r.value||(E=k.value,k.value="window"in h?h.pageYOffset:h.scrollTop,y.value=k.value{m.value=m.value||k.value}),Xr(d,()=>{m.value=0}),Js(()=>{Xr(()=>n.scrollTarget,h=>{var a;const l=h?document.querySelector(h):window;l&&l!==z.value&&((a=z.value)==null||a.removeEventListener("scroll",g),z.value=l,z.value.addEventListener("scroll",g,{passive:!0}))},{immediate:!0})}),kl(()=>{var h;(h=z.value)==null||h.removeEventListener("scroll",g)}),r&&Xr(r,g,{immediate:!0}),{scrollThreshold:i,currentScroll:k,currentThreshold:t,isScrollActive:d,scrollRatio:M,isScrollingUp:y,savedScroll:m}}function tp(){const n=Wr(!1);return Js(()=>{window.requestAnimationFrame(()=>{n.value=!0})}),{ssrBootStyles:cn(()=>n.value?void 0:{transition:"none !important"}),isBooted:Hm(n)}}const FB=ur({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},...H6(),...x0(),...DB(),height:{type:[Number,String],default:64}},"VAppBar"),BB=Ar()({name:"VAppBar",props:FB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=Vr(),z=xi(n,"modelValue"),k=cn(()=>{var s;const o=new Set(((s=n.scrollBehavior)==null?void 0:s.split(" "))??[]);return{hide:o.has("hide"),inverted:o.has("inverted"),collapse:o.has("collapse"),elevate:o.has("elevate"),fadeImage:o.has("fade-image")}}),m=cn(()=>{const o=k.value;return o.hide||o.inverted||o.collapse||o.elevate||o.fadeImage||!z.value}),{currentScroll:t,scrollThreshold:d,isScrollingUp:y,scrollRatio:i}=zB(n,{canScroll:m}),M=cn(()=>n.collapse||k.value.collapse&&(k.value.inverted?i.value>0:i.value===0)),g=cn(()=>n.flat||k.value.elevate&&(k.value.inverted?t.value>0:t.value===0)),h=cn(()=>k.value.fadeImage?k.value.inverted?1-i.value:i.value:void 0),l=cn(()=>{var c,f;if(k.value.hide&&k.value.inverted)return 0;const o=((c=E.value)==null?void 0:c.contentHeight)??0,s=((f=E.value)==null?void 0:f.extensionHeight)??0;return o+s});Yh(cn(()=>!!n.scrollBehavior),()=>{wu(()=>{k.value.hide?k.value.inverted?z.value=t.value>d.value:z.value=y.value||t.valueparseInt(n.order,10)),position:Cr(n,"location"),layoutSize:l,elementSize:Wr(void 0),active:z,absolute:Cr(n,"absolute")});return Rr(()=>{const[o]=yx.filterProps(n);return gt(yx,qr({ref:E,class:["v-app-bar",{"v-app-bar--bottom":n.location==="bottom"},n.class],style:[{...u.value,"--v-toolbar-image-opacity":h.value,height:void 0,...a.value},n.style]},o,{collapse:M.value,flat:g.value}),r)}),{}}});const NB=[null,"default","comfortable","compact"],ps=ur({density:{type:String,default:"default",validator:n=>NB.includes(n)}},"density");function el(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{densityClasses:cn(()=>`${e}--density-${n.density}`)}}const VB=["elevated","flat","tonal","outlined","text","plain"];function np(n,e){return gt($r,null,[n&>("span",{key:"overlay",class:`${e}__overlay`},null),gt("span",{key:"underlay",class:`${e}__underlay`},null)])}const lc=ur({color:String,variant:{type:String,default:"elevated",validator:n=>VB.includes(n)}},"variant");function rp(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();const r=cn(()=>{const{variant:k}=yu(n);return`${e}--variant-${k}`}),{colorClasses:E,colorStyles:z}=c_(cn(()=>{const{variant:k,color:m}=yu(n);return{[["elevated","flat"].includes(k)?"background":"text"]:m}}));return{colorClasses:E,colorStyles:z,variantClasses:r}}const G6=ur({divided:Boolean,...Su(),...Yr(),...ps(),...ds(),...lo(),...Ai(),...oa(),...lc()},"VBtnGroup"),bx=Ar()({name:"VBtnGroup",props:G6(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{densityClasses:z}=el(n),{borderClasses:k}=sc(n),{elevationClasses:m}=Vs(n),{roundedClasses:t}=Eo(n);ns({VBtn:{height:"auto",color:Cr(n,"color"),density:Cr(n,"density"),flat:!0,variant:Cr(n,"variant")}}),Rr(()=>gt(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},E.value,k.value,z.value,m.value,t.value,n.class],style:n.style},r))}}),w0=ur({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),T0=ur({value:null,disabled:Boolean,selectedClass:String},"group-item");function k0(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const E=Es("useGroupItem");if(!E)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const z=Qs();rs(Symbol.for(`${e.description}:id`),z);const k=ka(e,null);if(!k){if(!r)return k;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const m=Cr(n,"value"),t=cn(()=>!!(k.disabled.value||n.disabled));k.register({id:z,value:m,disabled:t},E),kl(()=>{k.unregister(z)});const d=cn(()=>k.isSelected(z)),y=cn(()=>d.value&&[k.selectedClass.value,n.selectedClass]);return Xr(d,i=>{E.emit("group:selected",{value:i})}),{id:z,isSelected:d,toggle:()=>k.select(z,!d.value),select:i=>k.select(z,i),selectedClass:y,value:m,disabled:t,group:k}}function ip(n,e){let r=!1;const E=bl([]),z=xi(n,"modelValue",[],g=>g==null?[]:q6(E,bu(g)),g=>{const h=UB(E,g);return n.multiple?h:h[0]}),k=Es("useGroup");function m(g,h){const l=g,a=Symbol.for(`${e.description}:id`),o=ym(a,k==null?void 0:k.vnode).indexOf(h);o>-1?E.splice(o,0,l):E.push(l)}function t(g){if(r)return;d();const h=E.findIndex(l=>l.id===g);E.splice(h,1)}function d(){const g=E.find(h=>!h.disabled);g&&n.mandatory==="force"&&!z.value.length&&(z.value=[g.id])}Js(()=>{d()}),kl(()=>{r=!0});function y(g,h){const l=E.find(a=>a.id===g);if(!(h&&(l!=null&&l.disabled)))if(n.multiple){const a=z.value.slice(),u=a.findIndex(s=>s===g),o=~u;if(h=h??!o,o&&n.mandatory&&a.length<=1||!o&&n.max!=null&&a.length+1>n.max)return;u<0&&h?a.push(g):u>=0&&!h&&a.splice(u,1),z.value=a}else{const a=z.value.includes(g);if(n.mandatory&&a)return;z.value=h??!a?[g]:[]}}function i(g){if(n.multiple,z.value.length){const h=z.value[0],l=E.findIndex(o=>o.id===h);let a=(l+g)%E.length,u=E[a];for(;u.disabled&&a!==l;)a=(a+g)%E.length,u=E[a];if(u.disabled)return;z.value=[E[a].id]}else{const h=E.find(l=>!l.disabled);h&&(z.value=[h.id])}}const M={register:m,unregister:t,selected:z,select:y,disabled:Cr(n,"disabled"),prev:()=>i(E.length-1),next:()=>i(1),isSelected:g=>z.value.includes(g),selectedClass:cn(()=>n.selectedClass),items:cn(()=>E),getItemIndex:g=>jB(E,g)};return rs(e,M),M}function jB(n,e){const r=q6(n,[e]);return r.length?n.findIndex(E=>E.id===r[0]):-1}function q6(n,e){const r=[];return e.forEach(E=>{const z=n.find(m=>b0(E,m.value)),k=n[E];(z==null?void 0:z.value)!=null?r.push(z.id):k!=null&&r.push(k.id)}),r}function UB(n,e){const r=[];return e.forEach(E=>{const z=n.findIndex(k=>k.id===E);if(~z){const k=n[z];r.push(k.value!=null?k.value:z)}}),r}const f_=Symbol.for("vuetify:v-btn-toggle"),HB=ur({...G6(),...w0()},"VBtnToggle"),GB=Ar()({name:"VBtnToggle",props:HB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:E,next:z,prev:k,select:m,selected:t}=ip(n,f_);return Rr(()=>{const[d]=bx.filterProps(n);return gt(bx,qr({class:["v-btn-toggle",n.class]},d,{style:n.style}),{default:()=>{var y;return[(y=r.default)==null?void 0:y.call(r,{isSelected:E,next:z,prev:k,select:m,selected:t})]}})}),{next:z,prev:k,select:m}}});const qB=["x-small","small","default","large","x-large"],ph=ur({size:{type:[String,Number],default:"default"}},"size");function M0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return X2(()=>{let r,E;return ly(qB,n.size)?r=`${e}--size-${n.size}`:n.size&&(E={width:Qr(n.size),height:Qr(n.size)}),{sizeClasses:r,sizeStyles:E}})}const WB=ur({color:String,start:Boolean,end:Boolean,icon:bi,...Yr(),...ph(),...Ai({tag:"i"}),...oa()},"VIcon"),ja=Ar()({name:"VIcon",props:WB(),setup(n,e){let{attrs:r,slots:E}=e;const z=Vr(),{themeClasses:k}=Ma(n),{iconData:m}=RF(cn(()=>z.value||n.icon)),{sizeClasses:t}=M0(n),{textColorClasses:d,textColorStyles:y}=Ks(Cr(n,"color"));return Rr(()=>{var M,g;const i=(M=E.default)==null?void 0:M.call(E);return i&&(z.value=(g=c6(i).filter(h=>h.type===Gm&&h.children&&typeof h.children=="string")[0])==null?void 0:g.children),gt(m.value.component,{tag:n.tag,icon:m.value.icon,class:["v-icon","notranslate",k.value,t.value,d.value,{"v-icon--clickable":!!r.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[t.value?void 0:{fontSize:Qr(n.size),height:Qr(n.size),width:Qr(n.size)},y.value,n.style],role:r.onClick?"button":void 0,"aria-hidden":!r.onClick},{default:()=>[i]})}),{}}});function h_(n,e){const r=Vr(),E=Wr(!1);if(Y2){const z=new IntersectionObserver(k=>{n==null||n(k,z),E.value=!!k.find(m=>m.isIntersecting)},e);kl(()=>{z.disconnect()}),Xr(r,(k,m)=>{m&&(z.unobserve(m),E.value=!1),k&&z.observe(k)},{flush:"post"})}return{intersectionRef:r,isIntersecting:E}}const $B=ur({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Yr(),...ph(),...Ai({tag:"div"}),...oa()},"VProgressCircular"),d_=Ar()({name:"VProgressCircular",props:$B(),setup(n,e){let{slots:r}=e;const E=20,z=2*Math.PI*E,k=Vr(),{themeClasses:m}=Ma(n),{sizeClasses:t,sizeStyles:d}=M0(n),{textColorClasses:y,textColorStyles:i}=Ks(Cr(n,"color")),{textColorClasses:M,textColorStyles:g}=Ks(Cr(n,"bgColor")),{intersectionRef:h,isIntersecting:l}=h_(),{resizeRef:a,contentRect:u}=Tf(),o=cn(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),s=cn(()=>Number(n.width)),c=cn(()=>d.value?Number(n.size):u.value?u.value.width:Math.max(s.value,32)),f=cn(()=>E/(1-s.value/c.value)*2),p=cn(()=>s.value/c.value*f.value),w=cn(()=>Qr((100-o.value)/100*z));return wu(()=>{h.value=k.value,a.value=k.value}),Rr(()=>gt(n.tag,{ref:k,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":l.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},m.value,t.value,y.value,n.class],style:[d.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:o.value},{default:()=>[gt("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${f.value} ${f.value}`},[gt("circle",{class:["v-progress-circular__underlay",M.value],style:g.value,fill:"transparent",cx:"50%",cy:"50%",r:E,"stroke-width":p.value,"stroke-dasharray":z,"stroke-dashoffset":0},null),gt("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:E,"stroke-width":p.value,"stroke-dasharray":z,"stroke-dashoffset":w.value},null)]),r.default&>("div",{class:"v-progress-circular__content"},[r.default({value:o.value})])]})),{}}});const K5={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ed=ur({location:String},"location");function td(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:E}=Ls();return{locationStyles:cn(()=>{if(!n.location)return{};const{side:k,align:m}=lx(n.location.split(" ").length>1?n.location:`${n.location} center`,E.value);function t(y){return r?r(y):0}const d={};return k!=="center"&&(e?d[K5[k]]=`calc(100% - ${t(k)}px)`:d[k]=0),m!=="center"?e?d[K5[m]]=`calc(100% - ${t(m)}px)`:d[m]=0:(k==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[k]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[k]),d})}}const YB=ur({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Yr(),...ed({location:"top"}),...lo(),...Ai(),...oa()},"VProgressLinear"),p_=Ar()({name:"VProgressLinear",props:YB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{isRtl:z,rtlClasses:k}=Ls(),{themeClasses:m}=Ma(n),{locationStyles:t}=td(n),{textColorClasses:d,textColorStyles:y}=Ks(n,"color"),{backgroundColorClasses:i,backgroundColorStyles:M}=Ro(cn(()=>n.bgColor||n.color)),{backgroundColorClasses:g,backgroundColorStyles:h}=Ro(n,"color"),{roundedClasses:l}=Eo(n),{intersectionRef:a,isIntersecting:u}=h_(),o=cn(()=>parseInt(n.max,10)),s=cn(()=>parseInt(n.height,10)),c=cn(()=>parseFloat(n.bufferValue)/o.value*100),f=cn(()=>parseFloat(E.value)/o.value*100),p=cn(()=>z.value!==n.reverse),w=cn(()=>n.indeterminate?"fade-transition":"slide-x-transition"),v=cn(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function S(x){if(!a.value)return;const{left:T,right:C,width:_}=a.value.getBoundingClientRect(),A=p.value?_-x.clientX+(C-_):x.clientX-T;E.value=Math.round(A/_*o.value)}return Rr(()=>gt(n.tag,{ref:a,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&u.value,"v-progress-linear--reverse":p.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},l.value,m.value,k.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Qr(s.value):0,"--v-progress-linear-height":Qr(s.value),...t.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:f.value,onClick:n.clickable&&S},{default:()=>[n.stream&>("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...y.value,[p.value?"left":"right"]:Qr(-s.value),borderTop:`${Qr(s.value/2)} dotted`,opacity:v.value,top:`calc(50% - ${Qr(s.value/4)})`,width:Qr(100-c.value,"%"),"--v-progress-linear-stream-to":Qr(s.value*(p.value?1:-1))}},null),gt("div",{class:["v-progress-linear__background",i.value],style:[M.value,{opacity:v.value,width:Qr(n.stream?c.value:100,"%")}]},null),gt(bf,{name:w.value},{default:()=>[n.indeterminate?gt("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(x=>gt("div",{key:x,class:["v-progress-linear__indeterminate",x,g.value],style:h.value},null))]):gt("div",{class:["v-progress-linear__determinate",g.value],style:[h.value,{width:Qr(f.value,"%")}]},null)]}),r.default&>("div",{class:"v-progress-linear__content"},[r.default({value:f.value,buffer:c.value})])]})),{}}}),m_=ur({loading:[Boolean,String]},"loader");function t1(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{loaderClasses:cn(()=>({[`${e}--loading`]:n.loading}))}}function g_(n,e){var E;let{slots:r}=e;return gt("div",{class:`${n.name}__loader`},[((E=r.default)==null?void 0:E.call(r,{color:n.color,isActive:n.active}))||gt(p_,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const ZB=["static","relative","fixed","absolute","sticky"],A0=ur({position:{type:String,validator:n=>ZB.includes(n)}},"position");function S0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{positionClasses:cn(()=>n.position?`${e}--${n.position}`:void 0)}}function W6(){var n,e;return(e=(n=Es("useRouter"))==null?void 0:n.proxy)==null?void 0:e.$router}function sg(n,e){const r=gE("RouterLink"),E=cn(()=>!!(n.href||n.to)),z=cn(()=>(E==null?void 0:E.value)||T5(e,"click")||T5(n,"click"));if(typeof r=="string")return{isLink:E,isClickable:z,href:Cr(n,"href")};const k=n.to?r.useLink(n):void 0;return{isLink:E,isClickable:z,route:k==null?void 0:k.route,navigate:k==null?void 0:k.navigate,isActive:k&&cn(()=>{var m,t;return n.exact?(m=k.isExactActive)==null?void 0:m.value:(t=k.isActive)==null?void 0:t.value}),href:cn(()=>n.to?k==null?void 0:k.route.value.href:n.href)}}const lg=ur({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let bb=!1;function XB(n,e){let r=!1,E,z;to&&(Ua(()=>{window.addEventListener("popstate",k),E=n==null?void 0:n.beforeEach((m,t,d)=>{bb?r?e(d):d():setTimeout(()=>r?e(d):d()),bb=!0}),z=n==null?void 0:n.afterEach(()=>{bb=!1})}),Tl(()=>{window.removeEventListener("popstate",k),E==null||E(),z==null||z()}));function k(m){var t;(t=m.state)!=null&&t.replaced||(r=!0,setTimeout(()=>r=!1))}}function KB(n,e){Xr(()=>{var r;return(r=n.isActive)==null?void 0:r.value},r=>{n.isLink.value&&r&&e&&Ua(()=>{e(!0)})},{immediate:!0})}const xx=Symbol("rippleStop"),JB=80;function J5(n,e){n.style.transform=e,n.style.webkitTransform=e}function _x(n){return n.constructor.name==="TouchEvent"}function $6(n){return n.constructor.name==="KeyboardEvent"}const QB=function(n,e){var M;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},E=0,z=0;if(!$6(n)){const g=e.getBoundingClientRect(),h=_x(n)?n.touches[n.touches.length-1]:n;E=h.clientX-g.left,z=h.clientY-g.top}let k=0,m=.3;(M=e._ripple)!=null&&M.circle?(m=.15,k=e.clientWidth/2,k=r.center?k:k+Math.sqrt((E-k)**2+(z-k)**2)/4):k=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const t=`${(e.clientWidth-k*2)/2}px`,d=`${(e.clientHeight-k*2)/2}px`,y=r.center?t:`${E-k}px`,i=r.center?d:`${z-k}px`;return{radius:k,scale:m,x:y,y:i,centerX:t,centerY:d}},dy={show(n,e){var h;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((h=e==null?void 0:e._ripple)!=null&&h.enabled))return;const E=document.createElement("span"),z=document.createElement("span");E.appendChild(z),E.className="v-ripple__container",r.class&&(E.className+=` ${r.class}`);const{radius:k,scale:m,x:t,y:d,centerX:y,centerY:i}=QB(n,e,r),M=`${k*2}px`;z.className="v-ripple__animation",z.style.width=M,z.style.height=M,e.appendChild(E);const g=window.getComputedStyle(e);g&&g.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),z.classList.add("v-ripple__animation--enter"),z.classList.add("v-ripple__animation--visible"),J5(z,`translate(${t}, ${d}) scale3d(${m},${m},${m})`),z.dataset.activated=String(performance.now()),setTimeout(()=>{z.classList.remove("v-ripple__animation--enter"),z.classList.add("v-ripple__animation--in"),J5(z,`translate(${y}, ${i}) scale3d(1,1,1)`)},0)},hide(n){var k;if(!((k=n==null?void 0:n._ripple)!=null&&k.enabled))return;const e=n.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const E=performance.now()-Number(r.dataset.activated),z=Math.max(250-E,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var t;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((t=r.parentNode)==null?void 0:t.parentNode)===n&&n.removeChild(r.parentNode)},300)},z)}};function Y6(n){return typeof n>"u"||!!n}function Bm(n){const e={},r=n.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||n[xx])){if(n[xx]=!0,_x(n))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||$6(n),r._ripple.class&&(e.class=r._ripple.class),_x(n)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{dy.show(n,r,e)},r._ripple.showTimer=window.setTimeout(()=>{var E;(E=r==null?void 0:r._ripple)!=null&&E.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},JB)}else dy.show(n,r,e)}}function Q5(n){n[xx]=!0}function vu(n){const e=n.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),n.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{vu(n)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),dy.hide(e)}}function Z6(n){const e=n.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Nm=!1;function X6(n){!Nm&&(n.keyCode===b5.enter||n.keyCode===b5.space)&&(Nm=!0,Bm(n))}function K6(n){Nm=!1,vu(n)}function J6(n){Nm&&(Nm=!1,vu(n))}function Q6(n,e,r){const{value:E,modifiers:z}=e,k=Y6(E);if(k||dy.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=k,n._ripple.centered=z.center,n._ripple.circle=z.circle,ax(E)&&E.class&&(n._ripple.class=E.class),k&&!r){if(z.stop){n.addEventListener("touchstart",Q5,{passive:!0}),n.addEventListener("mousedown",Q5);return}n.addEventListener("touchstart",Bm,{passive:!0}),n.addEventListener("touchend",vu,{passive:!0}),n.addEventListener("touchmove",Z6,{passive:!0}),n.addEventListener("touchcancel",vu),n.addEventListener("mousedown",Bm),n.addEventListener("mouseup",vu),n.addEventListener("mouseleave",vu),n.addEventListener("keydown",X6),n.addEventListener("keyup",K6),n.addEventListener("blur",J6),n.addEventListener("dragstart",vu,{passive:!0})}else!k&&r&&eA(n)}function eA(n){n.removeEventListener("mousedown",Bm),n.removeEventListener("touchstart",Bm),n.removeEventListener("touchend",vu),n.removeEventListener("touchmove",Z6),n.removeEventListener("touchcancel",vu),n.removeEventListener("mouseup",vu),n.removeEventListener("mouseleave",vu),n.removeEventListener("keydown",X6),n.removeEventListener("keyup",K6),n.removeEventListener("dragstart",vu),n.removeEventListener("blur",J6)}function eN(n,e){Q6(n,e,!1)}function tN(n){delete n._ripple,eA(n)}function nN(n,e){if(e.value===e.oldValue)return;const r=Y6(e.oldValue);Q6(n,e,r)}const nd={mounted:eN,unmounted:tN,updated:nN},v_=ur({active:{type:Boolean,default:void 0},symbol:{type:null,default:f_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:bi,appendIcon:bi,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Su(),...Yr(),...ps(),...ac(),...ds(),...T0(),...m_(),...ed(),...A0(),...lo(),...lg(),...ph(),...Ai({tag:"button"}),...oa(),...lc({variant:"elevated"})},"VBtn"),wl=Ar()({name:"VBtn",directives:{Ripple:nd},props:v_(),emits:{"group:selected":n=>!0},setup(n,e){let{attrs:r,slots:E}=e;const{themeClasses:z}=Ma(n),{borderClasses:k}=sc(n),{colorClasses:m,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:y}=el(n),{dimensionStyles:i}=oc(n),{elevationClasses:M}=Vs(n),{loaderClasses:g}=t1(n),{locationStyles:h}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),{sizeClasses:u,sizeStyles:o}=M0(n),s=k0(n,n.symbol,!1),c=sg(n,r),f=cn(()=>{var x;return n.active!==void 0?n.active:c.isLink.value?(x=c.isActive)==null?void 0:x.value:s==null?void 0:s.isSelected.value}),p=cn(()=>(s==null?void 0:s.disabled.value)||n.disabled),w=cn(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),v=cn(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function S(x){var T;p.value||c.isLink.value&&(x.metaKey||x.ctrlKey||x.shiftKey||x.button!==0||r.target==="_blank")||((T=c.navigate)==null||T.call(c,x),s==null||s.toggle())}return KB(c,s==null?void 0:s.select),Rr(()=>{var L,b;const x=c.isLink.value?"a":n.tag,T=!!(n.prependIcon||E.prepend),C=!!(n.appendIcon||E.append),_=!!(n.icon&&n.icon!==!0),A=(s==null?void 0:s.isSelected.value)&&(!c.isLink.value||((L=c.isActive)==null?void 0:L.value))||!s||((b=c.isActive)==null?void 0:b.value);return Co(gt(x,{type:x==="a"?void 0:"button",class:["v-btn",s==null?void 0:s.selectedClass.value,{"v-btn--active":f.value,"v-btn--block":n.block,"v-btn--disabled":p.value,"v-btn--elevated":w.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},z.value,k.value,A?m.value:void 0,y.value,M.value,g.value,l.value,a.value,u.value,d.value,n.class],style:[A?t.value:void 0,i.value,h.value,o.value,n.style],disabled:p.value||void 0,href:c.href.value,onClick:S,value:v.value},{default:()=>{var P;return[np(!0,"v-btn"),!n.icon&&T&>("span",{key:"prepend",class:"v-btn__prepend"},[E.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},E.prepend):gt(ja,{key:"prepend-icon",icon:n.prependIcon},null)]),gt("span",{class:"v-btn__content","data-no-activator":""},[!E.default&&_?gt(ja,{key:"content-icon",icon:n.icon},null):gt(Fa,{key:"content-defaults",disabled:!_,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var I;return[((I=E.default)==null?void 0:I.call(E))??n.text]}})]),!n.icon&&C&>("span",{key:"append",class:"v-btn__append"},[E.append?gt(Fa,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},E.append):gt(ja,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&>("span",{key:"loader",class:"v-btn__loader"},[((P=E.loader)==null?void 0:P.call(E))??gt(d_,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Tu("ripple"),!p.value&&n.ripple,null]])}),{}}}),rN=ur({...v_({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),iN=Ar()({name:"VAppBarNavIcon",props:rN(),setup(n,e){let{slots:r}=e;return Rr(()=>gt(wl,qr(n,{class:["v-app-bar-nav-icon"]}),r)),{}}}),aN=Ar()({name:"VAppBarTitle",props:F6(),setup(n,e){let{slots:r}=e;return Rr(()=>gt(o_,qr(n,{class:"v-app-bar-title"}),r)),{}}});const tA=Bc("v-alert-title"),oN=["success","info","warning","error"],sN=ur({border:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["top","end","bottom","start"].includes(n)},borderColor:String,closable:Boolean,closeIcon:{type:bi,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:n=>oN.includes(n)},...Yr(),...ps(),...ac(),...ds(),...ed(),...A0(),...lo(),...Ai(),...oa(),...lc({variant:"flat"})},"VAlert"),lN=Ar()({name:"VAlert",props:sN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{emit:r,slots:E}=e;const z=xi(n,"modelValue"),k=cn(()=>{if(n.icon!==!1)return n.type?n.icon??`$${n.type}`:n.icon}),m=cn(()=>({color:n.color??n.type,variant:n.variant})),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:y,variantClasses:i}=rp(m),{densityClasses:M}=el(n),{dimensionStyles:g}=oc(n),{elevationClasses:h}=Vs(n),{locationStyles:l}=td(n),{positionClasses:a}=S0(n),{roundedClasses:u}=Eo(n),{textColorClasses:o,textColorStyles:s}=Ks(Cr(n,"borderColor")),{t:c}=ic(),f=cn(()=>({"aria-label":c(n.closeLabel),onClick(p){z.value=!1,r("click:close",p)}}));return()=>{const p=!!(E.prepend||k.value),w=!!(E.title||n.title),v=!!(E.close||n.closable);return z.value&>(n.tag,{class:["v-alert",n.border&&{"v-alert--border":!!n.border,[`v-alert--border-${n.border===!0?"start":n.border}`]:!0},{"v-alert--prominent":n.prominent},t.value,d.value,M.value,h.value,a.value,u.value,i.value,n.class],style:[y.value,g.value,l.value,n.style],role:"alert"},{default:()=>{var S,x;return[np(!1,"v-alert"),n.border&>("div",{key:"border",class:["v-alert__border",o.value],style:s.value},null),p&>("div",{key:"prepend",class:"v-alert__prepend"},[E.prepend?gt(Fa,{key:"prepend-defaults",disabled:!k.value,defaults:{VIcon:{density:n.density,icon:k.value,size:n.prominent?44:28}}},E.prepend):gt(ja,{key:"prepend-icon",density:n.density,icon:k.value,size:n.prominent?44:28},null)]),gt("div",{class:"v-alert__content"},[w&>(tA,{key:"title"},{default:()=>{var T;return[((T=E.title)==null?void 0:T.call(E))??n.title]}}),((S=E.text)==null?void 0:S.call(E))??n.text,(x=E.default)==null?void 0:x.call(E)]),E.append&>("div",{key:"append",class:"v-alert__append"},[E.append()]),v&>("div",{key:"close",class:"v-alert__close"},[E.close?gt(Fa,{key:"close-defaults",defaults:{VBtn:{icon:n.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var T;return[(T=E.close)==null?void 0:T.call(E,{props:f.value})]}}):gt(wl,qr({key:"close-btn",icon:n.closeIcon,size:"x-small",variant:"text"},f.value),null)])]}})}}});const uN=ur({text:String,clickable:Boolean,...Yr(),...oa()},"VLabel"),C0=Ar()({name:"VLabel",props:uN(),setup(n,e){let{slots:r}=e;return Rr(()=>{var E;return gt("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(E=r.default)==null?void 0:E.call(r)])}),{}}});const nA=Symbol.for("vuetify:selection-control-group"),y_=ur({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:bi,trueIcon:bi,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:b0},...Yr(),...ps(),...oa()},"SelectionControlGroup"),cN=ur({...y_({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),rA=Ar()({name:"VSelectionControlGroup",props:cN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),z=Qs(),k=cn(()=>n.id||`v-selection-control-group-${z}`),m=cn(()=>n.name||k.value),t=new Set;return rs(nA,{modelValue:E,forceUpdate:()=>{t.forEach(d=>d())},onForceUpdate:d=>{t.add(d),Tl(()=>{t.delete(d)})}}),ns({[n.defaultsTarget]:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),density:Cr(n,"density"),error:Cr(n,"error"),inline:Cr(n,"inline"),modelValue:E,multiple:cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(E.value)),name:m,falseIcon:Cr(n,"falseIcon"),trueIcon:Cr(n,"trueIcon"),readonly:Cr(n,"readonly"),ripple:Cr(n,"ripple"),type:Cr(n,"type"),valueComparator:Cr(n,"valueComparator")}}),Rr(()=>{var d;return gt("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}}),n1=ur({label:String,trueValue:null,falseValue:null,value:null,...Yr(),...y_()},"VSelectionControl");function fN(n){const e=ka(nA,void 0),{densityClasses:r}=el(n),E=xi(n,"modelValue"),z=cn(()=>n.trueValue!==void 0?n.trueValue:n.value!==void 0?n.value:!0),k=cn(()=>n.falseValue!==void 0?n.falseValue:!1),m=cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(E.value)),t=cn({get(){const h=e?e.modelValue.value:E.value;return m.value?h.some(l=>n.valueComparator(l,z.value)):n.valueComparator(h,z.value)},set(h){if(n.readonly)return;const l=h?z.value:k.value;let a=l;m.value&&(a=h?[...bu(E.value),l]:bu(E.value).filter(u=>!n.valueComparator(u,z.value))),e?e.modelValue.value=a:E.value=a}}),{textColorClasses:d,textColorStyles:y}=Ks(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),{backgroundColorClasses:i,backgroundColorStyles:M}=Ro(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),g=cn(()=>t.value?n.trueIcon:n.falseIcon);return{group:e,densityClasses:r,trueValue:z,falseValue:k,model:t,textColorClasses:d,textColorStyles:y,backgroundColorClasses:i,backgroundColorStyles:M,icon:g}}const Xd=Ar()({name:"VSelectionControl",directives:{Ripple:nd},inheritAttrs:!1,props:n1(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:E}=e;const{group:z,densityClasses:k,icon:m,model:t,textColorClasses:d,textColorStyles:y,backgroundColorClasses:i,backgroundColorStyles:M,trueValue:g}=fN(n),h=Qs(),l=cn(()=>n.id||`input-${h}`),a=Wr(!1),u=Wr(!1),o=Vr();z==null||z.onForceUpdate(()=>{o.value&&(o.value.checked=t.value)});function s(p){a.value=!0,l0(p.target,":focus-visible")!==!1&&(u.value=!0)}function c(){a.value=!1,u.value=!1}function f(p){n.readonly&&z&&Ua(()=>z.forceUpdate()),t.value=p.target.checked}return Rr(()=>{var x,T;const p=E.label?E.label({label:n.label,props:{for:l.value}}):n.label,[w,v]=Qd(r),S=gt("input",qr({ref:o,checked:t.value,disabled:!!(n.readonly||n.disabled),id:l.value,onBlur:c,onFocus:s,onInput:f,"aria-disabled":!!(n.readonly||n.disabled),type:n.type,value:g.value,name:n.name,"aria-checked":n.type==="checkbox"?t.value:void 0},v),null);return gt("div",qr({class:["v-selection-control",{"v-selection-control--dirty":t.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":a.value,"v-selection-control--focus-visible":u.value,"v-selection-control--inline":n.inline},k.value,n.class]},w,{style:n.style}),[gt("div",{class:["v-selection-control__wrapper",d.value],style:y.value},[(x=E.default)==null?void 0:x.call(E,{backgroundColorClasses:i,backgroundColorStyles:M}),Co(gt("div",{class:["v-selection-control__input"]},[((T=E.input)==null?void 0:T.call(E,{model:t,textColorClasses:d,textColorStyles:y,backgroundColorClasses:i,backgroundColorStyles:M,inputNode:S,icon:m.value,props:{onFocus:s,onBlur:c,id:l.value}}))??gt($r,null,[m.value&>(ja,{key:"icon",icon:m.value},null),S])]),[[Tu("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),p&>(C0,{for:l.value,clickable:!0,onClick:C=>C.stopPropagation()},{default:()=>[p]})])}),{isFocused:a,input:o}}}),iA=ur({indeterminate:Boolean,indeterminateIcon:{type:bi,default:"$checkboxIndeterminate"},...n1({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),f0=Ar()({name:"VCheckboxBtn",props:iA(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"indeterminate"),z=xi(n,"modelValue");function k(d){E.value&&(E.value=!1)}const m=cn(()=>E.value?n.indeterminateIcon:n.falseIcon),t=cn(()=>E.value?n.indeterminateIcon:n.trueIcon);return Rr(()=>{const d=nc(Xd.filterProps(n)[0],["modelValue"]);return gt(Xd,qr(d,{modelValue:z.value,"onUpdate:modelValue":[y=>z.value=y,k],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:m.value,trueIcon:t.value,"aria-checked":E.value?"mixed":void 0}),r)}),{}}});function aA(n){const{t:e}=ic();function r(E){let{name:z}=E;const k={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[z],m=n[`onClick:${z}`],t=m&&k?e(`$vuetify.input.${k}`,n.label??""):void 0;return gt(ja,{icon:n[`${z}Icon`],"aria-label":t,onClick:m},null)}return{InputIcon:r}}const hN=ur({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Yr(),...dh({transition:{component:l_,leaveAbsolute:!0,group:!0}})},"VMessages"),oA=Ar()({name:"VMessages",props:hN(),setup(n,e){let{slots:r}=e;const E=cn(()=>bu(n.messages)),{textColorClasses:z,textColorStyles:k}=Ks(cn(()=>n.color));return Rr(()=>gt(Oc,{transition:n.transition,tag:"div",class:["v-messages",z.value,n.class],style:[k.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&E.value.map((m,t)=>gt("div",{class:"v-messages__message",key:`${t}-${E.value}`},[r.message?r.message({message:m}):m]))]})),{}}}),r1=ur({focused:Boolean,"onUpdate:focused":yf()},"focus");function rd(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();const r=xi(n,"focused"),E=cn(()=>({[`${e}--focused`]:r.value}));function z(){r.value=!0}function k(){r.value=!1}return{focusClasses:E,isFocused:r,focus:z,blur:k}}const sA=Symbol.for("vuetify:form"),dN=ur({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function pN(n){const e=xi(n,"modelValue"),r=cn(()=>n.disabled),E=cn(()=>n.readonly),z=Wr(!1),k=Vr([]),m=Vr([]);async function t(){const i=[];let M=!0;m.value=[],z.value=!0;for(const g of k.value){const h=await g.validate();if(h.length>0&&(M=!1,i.push({id:g.id,errorMessages:h})),!M&&n.fastFail)break}return m.value=i,z.value=!1,{valid:M,errors:m.value}}function d(){k.value.forEach(i=>i.reset())}function y(){k.value.forEach(i=>i.resetValidation())}return Xr(k,()=>{let i=0,M=0;const g=[];for(const h of k.value)h.isValid===!1?(M++,g.push({id:h.id,errorMessages:h.errorMessages})):h.isValid===!0&&i++;m.value=g,e.value=M>0?!1:i===k.value.length?!0:null},{deep:!0}),rs(sA,{register:i=>{let{id:M,validate:g,reset:h,resetValidation:l}=i;k.value.some(a=>a.id===M),k.value.push({id:M,validate:g,reset:h,resetValidation:l,isValid:null,errorMessages:[]})},unregister:i=>{k.value=k.value.filter(M=>M.id!==i)},update:(i,M,g)=>{const h=k.value.find(l=>l.id===i);h&&(h.isValid=M,h.errorMessages=g)},isDisabled:r,isReadonly:E,isValidating:z,isValid:e,items:k,validateOn:Cr(n,"validateOn")}),{errors:m,isDisabled:r,isReadonly:E,isValidating:z,isValid:e,items:k,validate:t,reset:d,resetValidation:y}}function i1(){return ka(sA,null)}const lA=ur({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...r1()},"validation");function uA(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Qs();const E=xi(n,"modelValue"),z=cn(()=>n.validationValue===void 0?E.value:n.validationValue),k=i1(),m=Vr([]),t=Wr(!0),d=cn(()=>!!(bu(E.value===""?null:E.value).length||bu(z.value===""?null:z.value).length)),y=cn(()=>!!(n.disabled??(k==null?void 0:k.isDisabled.value))),i=cn(()=>!!(n.readonly??(k==null?void 0:k.isReadonly.value))),M=cn(()=>n.errorMessages.length?bu(n.errorMessages).slice(0,Math.max(0,+n.maxErrors)):m.value),g=cn(()=>{let f=(n.validateOn??(k==null?void 0:k.validateOn.value))||"input";f==="lazy"&&(f="input lazy");const p=new Set((f==null?void 0:f.split(" "))??[]);return{blur:p.has("blur")||p.has("input"),input:p.has("input"),submit:p.has("submit"),lazy:p.has("lazy")}}),h=cn(()=>n.error||n.errorMessages.length?!1:n.rules.length?t.value?m.value.length||g.value.lazy?null:!0:!m.value.length:!0),l=Wr(!1),a=cn(()=>({[`${e}--error`]:h.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:y.value,[`${e}--readonly`]:i.value})),u=cn(()=>n.name??yu(r));Sy(()=>{k==null||k.register({id:u.value,validate:c,reset:o,resetValidation:s})}),kl(()=>{k==null||k.unregister(u.value)}),Js(async()=>{g.value.lazy||await c(!0),k==null||k.update(u.value,h.value,M.value)}),Yh(()=>g.value.input,()=>{Xr(z,()=>{if(z.value!=null)c();else if(n.focused){const f=Xr(()=>n.focused,p=>{p||c(),f()})}})}),Yh(()=>g.value.blur,()=>{Xr(()=>n.focused,f=>{f||c()})}),Xr(h,()=>{k==null||k.update(u.value,h.value,M.value)});function o(){E.value=null,Ua(s)}function s(){t.value=!0,g.value.lazy?m.value=[]:c(!0)}async function c(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const p=[];l.value=!0;for(const w of n.rules){if(p.length>=+(n.maxErrors??1))break;const S=await(typeof w=="function"?w:()=>w)(z.value);if(S!==!0){if(S!==!1&&typeof S!="string"){console.warn(`${S} is not a valid value. Rule functions must return boolean true or a string.`);continue}p.push(S||"")}}return m.value=p,l.value=!1,t.value=f,m.value}return{errorMessages:M,isDirty:d,isDisabled:y,isReadonly:i,isPristine:t,isValid:h,isValidating:l,reset:o,resetValidation:s,validate:c,validationClasses:a}}const mh=ur({id:String,appendIcon:bi,centerAffix:{type:Boolean,default:!0},prependIcon:bi,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":yf(),"onClick:append":yf(),...Yr(),...ps(),...lA()},"VInput"),Ns=Ar()({name:"VInput",props:{...mh()},emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:E,emit:z}=e;const{densityClasses:k}=el(n),{rtlClasses:m}=Ls(),{InputIcon:t}=aA(n),d=Qs(),y=cn(()=>n.id||`input-${d}`),i=cn(()=>`${y.value}-messages`),{errorMessages:M,isDirty:g,isDisabled:h,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:c,validate:f,validationClasses:p}=uA(n,"v-input",y),w=cn(()=>({id:y,messagesId:i,isDirty:g,isDisabled:h,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:c,validate:f})),v=cn(()=>{var S;return(S=n.errorMessages)!=null&&S.length||!a.value&&M.value.length?M.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return Rr(()=>{var _,A,L,b;const S=!!(E.prepend||n.prependIcon),x=!!(E.append||n.appendIcon),T=v.value.length>0,C=!n.hideDetails||n.hideDetails==="auto"&&(T||!!E.details);return gt("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},k.value,m.value,p.value,n.class],style:n.style},[S&>("div",{key:"prepend",class:"v-input__prepend"},[(_=E.prepend)==null?void 0:_.call(E,w.value),n.prependIcon&>(t,{key:"prepend-icon",name:"prepend"},null)]),E.default&>("div",{class:"v-input__control"},[(A=E.default)==null?void 0:A.call(E,w.value)]),x&>("div",{key:"append",class:"v-input__append"},[n.appendIcon&>(t,{key:"append-icon",name:"append"},null),(L=E.append)==null?void 0:L.call(E,w.value)]),C&>("div",{class:"v-input__details"},[gt(oA,{id:i.value,active:T,messages:v.value},{message:E.message}),(b=E.details)==null?void 0:b.call(E,w.value)])])}),{reset:s,resetValidation:c,validate:f}}}),mN=ur({...mh(),...nc(iA(),["inline"])},"VCheckbox"),gN=Ar()({name:"VCheckbox",inheritAttrs:!1,props:mN(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,e){let{attrs:r,slots:E}=e;const z=xi(n,"modelValue"),{isFocused:k,focus:m,blur:t}=rd(n),d=Qs(),y=cn(()=>n.id||`checkbox-${d}`);return Rr(()=>{const[i,M]=Qd(r),[g,h]=Ns.filterProps(n),[l,a]=f0.filterProps(n);return gt(Ns,qr({class:["v-checkbox",n.class]},i,g,{modelValue:z.value,"onUpdate:modelValue":u=>z.value=u,id:y.value,focused:k.value,style:n.style}),{...E,default:u=>{let{id:o,messagesId:s,isDisabled:c,isReadonly:f}=u;return gt(f0,qr(l,{id:o.value,"aria-describedby":s.value,disabled:c.value,readonly:f.value},M,{modelValue:z.value,"onUpdate:modelValue":p=>z.value=p,onFocus:m,onBlur:t}),E)}})}),{}}});const vN=ur({start:Boolean,end:Boolean,icon:bi,image:String,...Yr(),...ps(),...lo(),...ph(),...Ai(),...oa(),...lc({variant:"flat"})},"VAvatar"),Zh=Ar()({name:"VAvatar",props:vN(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{colorClasses:z,colorStyles:k,variantClasses:m}=rp(n),{densityClasses:t}=el(n),{roundedClasses:d}=Eo(n),{sizeClasses:y,sizeStyles:i}=M0(n);return Rr(()=>gt(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},E.value,z.value,t.value,d.value,y.value,m.value,n.class],style:[k.value,i.value,n.style]},{default:()=>{var M;return[n.image?gt(Zd,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?gt(ja,{key:"icon",icon:n.icon},null):(M=r.default)==null?void 0:M.call(r),np(!1,"v-avatar")]}})),{}}});const cA=Symbol.for("vuetify:v-chip-group"),yN=ur({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:b0},...Yr(),...w0({selectedClass:"v-chip--selected"}),...Ai(),...oa(),...lc({variant:"tonal"})},"VChipGroup"),bN=Ar()({name:"VChipGroup",props:yN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{isSelected:z,select:k,next:m,prev:t,selected:d}=ip(n,cA);return ns({VChip:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),filter:Cr(n,"filter"),variant:Cr(n,"variant")}}),Rr(()=>gt(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},E.value,n.class],style:n.style},{default:()=>{var y;return[(y=r.default)==null?void 0:y.call(r,{isSelected:z,select:k,next:m,prev:t,selected:d.value})]}})),{}}}),xN=ur({activeClass:String,appendAvatar:String,appendIcon:bi,closable:Boolean,closeIcon:{type:bi,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:yf(),onClickOnce:yf(),...Su(),...Yr(),...ps(),...ds(),...T0(),...lo(),...lg(),...ph(),...Ai({tag:"span"}),...oa(),...lc({variant:"tonal"})},"VChip"),ug=Ar()({name:"VChip",directives:{Ripple:nd},props:xN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const{t:k}=ic(),{borderClasses:m}=sc(n),{colorClasses:t,colorStyles:d,variantClasses:y}=rp(n),{densityClasses:i}=el(n),{elevationClasses:M}=Vs(n),{roundedClasses:g}=Eo(n),{sizeClasses:h}=M0(n),{themeClasses:l}=Ma(n),a=xi(n,"modelValue"),u=k0(n,cA,!1),o=sg(n,r),s=cn(()=>n.link!==!1&&o.isLink.value),c=cn(()=>!n.disabled&&n.link!==!1&&(!!u||n.link||o.isClickable.value)),f=cn(()=>({"aria-label":k(n.closeLabel),onClick(v){v.stopPropagation(),a.value=!1,E("click:close",v)}}));function p(v){var S;E("click",v),c.value&&((S=o.navigate)==null||S.call(o,v),u==null||u.toggle())}function w(v){(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),p(v))}return()=>{const v=o.isLink.value?"a":n.tag,S=!!(n.appendIcon||n.appendAvatar),x=!!(S||z.append),T=!!(z.close||n.closable),C=!!(z.filter||n.filter)&&u,_=!!(n.prependIcon||n.prependAvatar),A=!!(_||z.prepend),L=!u||u.isSelected.value;return a.value&&Co(gt(v,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":c.value,"v-chip--filter":C,"v-chip--pill":n.pill},l.value,m.value,L?t.value:void 0,i.value,M.value,g.value,h.value,y.value,u==null?void 0:u.selectedClass.value,n.class],style:[L?d.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:o.href.value,tabindex:c.value?0:void 0,onClick:p,onKeydown:c.value&&!s.value&&w},{default:()=>{var b;return[np(c.value,"v-chip"),C&>(u_,{key:"filter"},{default:()=>[Co(gt("div",{class:"v-chip__filter"},[z.filter?gt(Fa,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},z.filter):gt(ja,{key:"filter-icon",icon:n.filterIcon},null)]),[[kf,u.isSelected.value]])]}),A&>("div",{key:"prepend",class:"v-chip__prepend"},[z.prepend?gt(Fa,{key:"prepend-defaults",disabled:!_,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},z.prepend):gt($r,null,[n.prependIcon&>(ja,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&>(Zh,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),gt("div",{class:"v-chip__content"},[((b=z.default)==null?void 0:b.call(z,{isSelected:u==null?void 0:u.isSelected.value,selectedClass:u==null?void 0:u.selectedClass.value,select:u==null?void 0:u.select,toggle:u==null?void 0:u.toggle,value:u==null?void 0:u.value.value,disabled:n.disabled}))??n.text]),x&>("div",{key:"append",class:"v-chip__append"},[z.append?gt(Fa,{key:"append-defaults",disabled:!S,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},z.append):gt($r,null,[n.appendIcon&>(ja,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&>(Zh,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),T&>("div",qr({key:"close",class:"v-chip__close"},f.value),[z.close?gt(Fa,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},z.close):gt(ja,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[Tu("ripple"),c.value&&n.ripple,null]])}}});const wx=Symbol.for("vuetify:list");function fA(){const n=ka(wx,{hasPrepend:Wr(!1),updateHasPrepend:()=>null}),e={hasPrepend:Wr(!1),updateHasPrepend:r=>{r&&(e.hasPrepend.value=r)}};return rs(wx,e),n}function hA(){return ka(wx,null)}const _N={open:n=>{let{id:e,value:r,opened:E,parents:z}=n;if(r){const k=new Set;k.add(e);let m=z.get(e);for(;m!=null;)k.add(m),m=z.get(m);return k}else return E.delete(e),E},select:()=>null},dA={open:n=>{let{id:e,value:r,opened:E,parents:z}=n;if(r){let k=z.get(e);for(E.add(e);k!=null&&k!==e;)E.add(k),k=z.get(k);return E}else E.delete(e);return E},select:()=>null},wN={open:dA.open,select:n=>{let{id:e,value:r,opened:E,parents:z}=n;if(!r)return E;const k=[];let m=z.get(e);for(;m!=null;)k.push(m),m=z.get(m);return new Set(k)}},b_=n=>{const e={select:r=>{let{id:E,value:z,selected:k}=r;if(E=Si(E),n&&!z){const m=Array.from(k.entries()).reduce((t,d)=>{let[y,i]=d;return i==="on"?[...t,y]:t},[]);if(m.length===1&&m[0]===E)return k}return k.set(E,z?"on":"off"),k},in:(r,E,z)=>{let k=new Map;for(const m of r||[])k=e.select({id:m,value:!0,selected:new Map(k),children:E,parents:z});return k},out:r=>{const E=[];for(const[z,k]of r.entries())k==="on"&&E.push(z);return E}};return e},pA=n=>{const e=b_(n);return{select:E=>{let{selected:z,id:k,...m}=E;k=Si(k);const t=z.has(k)?new Map([[k,z.get(k)]]):new Map;return e.select({...m,id:k,selected:t})},in:(E,z,k)=>{let m=new Map;return E!=null&&E.length&&(m=e.in(E.slice(0,1),z,k)),m},out:(E,z,k)=>e.out(E,z,k)}},TN=n=>{const e=b_(n);return{select:E=>{let{id:z,selected:k,children:m,...t}=E;return z=Si(z),m.has(z)?k:e.select({id:z,selected:k,children:m,...t})},in:e.in,out:e.out}},kN=n=>{const e=pA(n);return{select:E=>{let{id:z,selected:k,children:m,...t}=E;return z=Si(z),m.has(z)?k:e.select({id:z,selected:k,children:m,...t})},in:e.in,out:e.out}},MN=n=>{const e={select:r=>{let{id:E,value:z,selected:k,children:m,parents:t}=r;E=Si(E);const d=new Map(k),y=[E];for(;y.length;){const M=y.shift();k.set(M,z?"on":"off"),m.has(M)&&y.push(...m.get(M))}let i=t.get(E);for(;i;){const M=m.get(i),g=M.every(l=>k.get(l)==="on"),h=M.every(l=>!k.has(l)||k.get(l)==="off");k.set(i,g?"on":h?"off":"indeterminate"),i=t.get(i)}return n&&!z&&Array.from(k.entries()).reduce((g,h)=>{let[l,a]=h;return a==="on"?[...g,l]:g},[]).length===0?d:k},in:(r,E,z)=>{let k=new Map;for(const m of r||[])k=e.select({id:m,value:!0,selected:new Map(k),children:E,parents:z});return k},out:(r,E)=>{const z=[];for(const[k,m]of r.entries())m==="on"&&!E.has(k)&&z.push(k);return z}};return e},Vm=Symbol.for("vuetify:nested"),mA={id:Wr(),root:{register:()=>null,unregister:()=>null,parents:Vr(new Map),children:Vr(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Vr(new Set),selected:Vr(new Map),selectedValues:Vr([])}},AN=ur({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),SN=n=>{let e=!1;const r=Vr(new Map),E=Vr(new Map),z=xi(n,"opened",n.opened,M=>new Set(M),M=>[...M.values()]),k=cn(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return kN(n.mandatory);case"leaf":return TN(n.mandatory);case"independent":return b_(n.mandatory);case"single-independent":return pA(n.mandatory);case"classic":default:return MN(n.mandatory)}}),m=cn(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return wN;case"single":return _N;case"multiple":default:return dA}}),t=xi(n,"selected",n.selected,M=>k.value.in(M,r.value,E.value),M=>k.value.out(M,r.value,E.value));kl(()=>{e=!0});function d(M){const g=[];let h=M;for(;h!=null;)g.unshift(h),h=E.value.get(h);return g}const y=Es("nested"),i={id:Wr(),root:{opened:z,selected:t,selectedValues:cn(()=>{const M=[];for(const[g,h]of t.value.entries())h==="on"&&M.push(g);return M}),register:(M,g,h)=>{g&&M!==g&&E.value.set(M,g),h&&r.value.set(M,[]),g!=null&&r.value.set(g,[...r.value.get(g)||[],M])},unregister:M=>{if(e)return;r.value.delete(M);const g=E.value.get(M);if(g){const h=r.value.get(g)??[];r.value.set(g,h.filter(l=>l!==M))}E.value.delete(M),z.value.delete(M)},open:(M,g,h)=>{y.emit("click:open",{id:M,value:g,path:d(M),event:h});const l=m.value.open({id:M,value:g,opened:new Set(z.value),children:r.value,parents:E.value,event:h});l&&(z.value=l)},openOnSelect:(M,g,h)=>{const l=m.value.select({id:M,value:g,selected:new Map(t.value),opened:new Set(z.value),children:r.value,parents:E.value,event:h});l&&(z.value=l)},select:(M,g,h)=>{y.emit("click:select",{id:M,value:g,path:d(M),event:h});const l=k.value.select({id:M,value:g,selected:new Map(t.value),children:r.value,parents:E.value,event:h});l&&(t.value=l),i.root.openOnSelect(M,g,h)},children:r,parents:E}};return rs(Vm,i),i.root},gA=(n,e)=>{const r=ka(Vm,mA),E=Symbol(Qs()),z=cn(()=>n.value!==void 0?n.value:E),k={...r,id:z,open:(m,t)=>r.root.open(z.value,m,t),openOnSelect:(m,t)=>r.root.openOnSelect(z.value,m,t),isOpen:cn(()=>r.root.opened.value.has(z.value)),parent:cn(()=>r.root.parents.value.get(z.value)),select:(m,t)=>r.root.select(z.value,m,t),isSelected:cn(()=>r.root.selected.value.get(Si(z.value))==="on"),isIndeterminate:cn(()=>r.root.selected.value.get(z.value)==="indeterminate"),isLeaf:cn(()=>!r.root.children.value.get(z.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(z.value,r.id.value,e),kl(()=>{!r.isGroupActivator&&r.root.unregister(z.value)}),e&&rs(Vm,k),k},CN=()=>{const n=ka(Vm,mA);rs(Vm,{...n,isGroupActivator:!0})},EN=rc({name:"VListGroupActivator",setup(n,e){let{slots:r}=e;return CN(),()=>{var E;return(E=r.default)==null?void 0:E.call(r)}}}),LN=ur({activeColor:String,baseColor:String,color:String,collapseIcon:{type:bi,default:"$collapse"},expandIcon:{type:bi,default:"$expand"},prependIcon:bi,appendIcon:bi,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Yr(),...Ai()},"VListGroup"),Tx=Ar()({name:"VListGroup",props:LN(),setup(n,e){let{slots:r}=e;const{isOpen:E,open:z,id:k}=gA(Cr(n,"value"),!0),m=cn(()=>`v-list-group--id-${String(k.value)}`),t=hA(),{isBooted:d}=tp();function y(h){z(!E.value,h)}const i=cn(()=>({onClick:y,class:"v-list-group__header",id:m.value})),M=cn(()=>E.value?n.collapseIcon:n.expandIcon),g=cn(()=>({VListItem:{active:E.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&M.value,appendIcon:n.appendIcon||!n.subgroup&&M.value,title:n.title,value:n.value}}));return Rr(()=>gt(n.tag,{class:["v-list-group",{"v-list-group--prepend":t==null?void 0:t.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":E.value},n.class],style:n.style},{default:()=>[r.activator&>(Fa,{defaults:g.value},{default:()=>[gt(EN,null,{default:()=>[r.activator({props:i.value,isOpen:E.value})]})]}),gt(Oc,{transition:{component:e1},disabled:!d.value},{default:()=>{var h;return[Co(gt("div",{class:"v-list-group__items",role:"group","aria-labelledby":m.value},[(h=r.default)==null?void 0:h.call(r)]),[[kf,E.value]])]}})]})),{}}});const vA=Bc("v-list-item-subtitle"),yA=Bc("v-list-item-title"),IN=ur({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:bi,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:yf(),onClickOnce:yf(),...Su(),...Yr(),...ps(),...ac(),...ds(),...lo(),...lg(),...Ai(),...oa(),...lc({variant:"text"})},"VListItem"),ah=Ar()({name:"VListItem",directives:{Ripple:nd},props:IN(),emits:{click:n=>!0},setup(n,e){let{attrs:r,slots:E,emit:z}=e;const k=sg(n,r),m=cn(()=>n.value===void 0?k.href.value:n.value),{select:t,isSelected:d,isIndeterminate:y,isGroupActivator:i,root:M,parent:g,openOnSelect:h}=gA(m,!1),l=hA(),a=cn(()=>{var R;return n.active!==!1&&(n.active||((R=k.isActive)==null?void 0:R.value)||d.value)}),u=cn(()=>n.link!==!1&&k.isLink.value),o=cn(()=>!n.disabled&&n.link!==!1&&(n.link||k.isClickable.value||n.value!=null&&!!l)),s=cn(()=>n.rounded||n.nav),c=cn(()=>n.color??n.activeColor),f=cn(()=>({color:a.value?c.value??n.baseColor:n.baseColor,variant:n.variant}));Xr(()=>{var R;return(R=k.isActive)==null?void 0:R.value},R=>{R&&g.value!=null&&M.open(g.value,!0),R&&h(R)},{immediate:!0});const{themeClasses:p}=Ma(n),{borderClasses:w}=sc(n),{colorClasses:v,colorStyles:S,variantClasses:x}=rp(f),{densityClasses:T}=el(n),{dimensionStyles:C}=oc(n),{elevationClasses:_}=Vs(n),{roundedClasses:A}=Eo(s),L=cn(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),b=cn(()=>({isActive:a.value,select:t,isSelected:d.value,isIndeterminate:y.value}));function P(R){var D;z("click",R),!(i||!o.value)&&((D=k.navigate)==null||D.call(k,R),n.value!=null&&t(!d.value,R))}function I(R){(R.key==="Enter"||R.key===" ")&&(R.preventDefault(),P(R))}return Rr(()=>{const R=u.value?"a":n.tag,D=E.title||n.title,F=E.subtitle||n.subtitle,B=!!(n.appendAvatar||n.appendIcon),N=!!(B||E.append),W=!!(n.prependAvatar||n.prependIcon),j=!!(W||E.prepend);return l==null||l.updateHasPrepend(j),n.activeColor&&oF("active-color",["color","base-color"]),Co(gt(R,{class:["v-list-item",{"v-list-item--active":a.value,"v-list-item--disabled":n.disabled,"v-list-item--link":o.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!j&&(l==null?void 0:l.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&a.value},p.value,w.value,v.value,T.value,_.value,L.value,A.value,x.value,n.class],style:[S.value,C.value,n.style],href:k.href.value,tabindex:o.value?l?-2:0:void 0,onClick:P,onKeydown:o.value&&!u.value&&I},{default:()=>{var Y;return[np(o.value||a.value,"v-list-item"),j&>("div",{key:"prepend",class:"v-list-item__prepend"},[E.prepend?gt(Fa,{key:"prepend-defaults",disabled:!W,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=E.prepend)==null?void 0:U.call(E,b.value)]}}):gt($r,null,[n.prependAvatar&>(Zh,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&>(ja,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),gt("div",{class:"v-list-item__spacer"},null)]),gt("div",{class:"v-list-item__content","data-no-activator":""},[D&>(yA,{key:"title"},{default:()=>{var U;return[((U=E.title)==null?void 0:U.call(E,{title:n.title}))??n.title]}}),F&>(vA,{key:"subtitle"},{default:()=>{var U;return[((U=E.subtitle)==null?void 0:U.call(E,{subtitle:n.subtitle}))??n.subtitle]}}),(Y=E.default)==null?void 0:Y.call(E,b.value)]),N&>("div",{key:"append",class:"v-list-item__append"},[E.append?gt(Fa,{key:"append-defaults",disabled:!B,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=E.append)==null?void 0:U.call(E,b.value)]}}):gt($r,null,[n.appendIcon&>(ja,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&>(Zh,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),gt("div",{class:"v-list-item__spacer"},null)])]}}),[[Tu("ripple"),o.value&&n.ripple]])}),{}}}),PN=ur({color:String,inset:Boolean,sticky:Boolean,title:String,...Yr(),...Ai()},"VListSubheader"),bA=Ar()({name:"VListSubheader",props:PN(),setup(n,e){let{slots:r}=e;const{textColorClasses:E,textColorStyles:z}=Ks(Cr(n,"color"));return Rr(()=>{const k=!!(r.default||n.title);return gt(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},E.value,n.class],style:[{textColorStyles:z},n.style]},{default:()=>{var m;return[k&>("div",{class:"v-list-subheader__text"},[((m=r.default)==null?void 0:m.call(r))??n.title])]}})}),{}}});const ON=ur({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Yr(),...oa()},"VDivider"),xA=Ar()({name:"VDivider",props:ON(),setup(n,e){let{attrs:r}=e;const{themeClasses:E}=Ma(n),{textColorClasses:z,textColorStyles:k}=Ks(Cr(n,"color")),m=cn(()=>{const t={};return n.length&&(t[n.vertical?"maxHeight":"maxWidth"]=Qr(n.length)),n.thickness&&(t[n.vertical?"borderRightWidth":"borderTopWidth"]=Qr(n.thickness)),t});return Rr(()=>gt("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},E.value,z.value,n.class],style:[m.value,k.value,n.style],"aria-orientation":!r.role||r.role==="separator"?n.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),RN=ur({items:Array},"VListChildren"),_A=Ar()({name:"VListChildren",props:RN(),setup(n,e){let{slots:r}=e;return fA(),()=>{var E,z;return((E=r.default)==null?void 0:E.call(r))??((z=n.items)==null?void 0:z.map(k=>{var h,l;let{children:m,props:t,type:d,raw:y}=k;if(d==="divider")return((h=r.divider)==null?void 0:h.call(r,{props:t}))??gt(xA,t,null);if(d==="subheader")return((l=r.subheader)==null?void 0:l.call(r,{props:t}))??gt(bA,t,null);const i={subtitle:r.subtitle?a=>{var u;return(u=r.subtitle)==null?void 0:u.call(r,{...a,item:y})}:void 0,prepend:r.prepend?a=>{var u;return(u=r.prepend)==null?void 0:u.call(r,{...a,item:y})}:void 0,append:r.append?a=>{var u;return(u=r.append)==null?void 0:u.call(r,{...a,item:y})}:void 0,title:r.title?a=>{var u;return(u=r.title)==null?void 0:u.call(r,{...a,item:y})}:void 0},[M,g]=Tx.filterProps(t);return m?gt(Tx,qr({value:t==null?void 0:t.value},M),{activator:a=>{let{props:u}=a;return r.header?r.header({props:{...t,...u}}):gt(ah,qr(t,u),i)},default:()=>gt(_A,{items:m},r)}):r.item?r.item({props:t}):gt(ah,t,i)}))}}}),wA=ur({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:b0}},"list-items");function zd(n,e){const r=pf(e,n.itemTitle,e),E=pf(e,n.itemValue,r),z=pf(e,n.itemChildren),k=n.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?Yd(e,["children"])[1]:e:void 0:pf(e,n.itemProps),m={title:r,value:E,...k};return{title:String(m.title??""),value:m.value,props:m,children:Array.isArray(z)?TA(n,z):void 0,raw:e}}function TA(n,e){const r=[];for(const E of e)r.push(zd(n,E));return r}function x_(n){const e=cn(()=>TA(n,n.items)),r=cn(()=>e.value.some(k=>k.value===null));function E(k){return r.value||(k=k.filter(m=>m!==null)),k.map(m=>n.returnObject&&typeof m=="string"?zd(n,m):e.value.find(t=>n.valueComparator(m,t.value))||zd(n,m))}function z(k){return n.returnObject?k.map(m=>{let{raw:t}=m;return t}):k.map(m=>{let{value:t}=m;return t})}return{items:e,transformIn:E,transformOut:z}}function DN(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"}function zN(n,e){const r=pf(e,n.itemType,"item"),E=DN(e)?e:pf(e,n.itemTitle),z=pf(e,n.itemValue,void 0),k=pf(e,n.itemChildren),m=n.itemProps===!0?Yd(e,["children"])[1]:pf(e,n.itemProps),t={title:E,value:z,...m};return{type:r,title:t.title,value:t.value,props:t,children:r==="item"&&k?kA(n,k):void 0,raw:e}}function kA(n,e){const r=[];for(const E of e)r.push(zN(n,E));return r}function FN(n){return{items:cn(()=>kA(n,n.items))}}const BN=ur({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...AN({selectStrategy:"single-leaf",openStrategy:"list"}),...Su(),...Yr(),...ps(),...ac(),...ds(),itemType:{type:String,default:"type"},...wA(),...lo(),...Ai(),...oa(),...lc({variant:"text"})},"VList"),a1=Ar()({name:"VList",props:BN(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,e){let{slots:r}=e;const{items:E}=FN(n),{themeClasses:z}=Ma(n),{backgroundColorClasses:k,backgroundColorStyles:m}=Ro(Cr(n,"bgColor")),{borderClasses:t}=sc(n),{densityClasses:d}=el(n),{dimensionStyles:y}=oc(n),{elevationClasses:i}=Vs(n),{roundedClasses:M}=Eo(n),{open:g,select:h}=SN(n),l=cn(()=>n.lines?`v-list--${n.lines}-line`:void 0),a=Cr(n,"activeColor"),u=Cr(n,"baseColor"),o=Cr(n,"color");fA(),ns({VListGroup:{activeColor:a,baseColor:u,color:o},VListItem:{activeClass:Cr(n,"activeClass"),activeColor:a,baseColor:u,color:o,density:Cr(n,"density"),disabled:Cr(n,"disabled"),lines:Cr(n,"lines"),nav:Cr(n,"nav"),variant:Cr(n,"variant")}});const s=Wr(!1),c=Vr();function f(x){s.value=!0}function p(x){s.value=!1}function w(x){var T;!s.value&&!(x.relatedTarget&&((T=c.value)!=null&&T.contains(x.relatedTarget)))&&S()}function v(x){if(c.value){if(x.key==="ArrowDown")S("next");else if(x.key==="ArrowUp")S("prev");else if(x.key==="Home")S("first");else if(x.key==="End")S("last");else return;x.preventDefault()}}function S(x){if(c.value)return uy(c.value,x)}return Rr(()=>gt(n.tag,{ref:c,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},z.value,k.value,t.value,d.value,i.value,l.value,M.value,n.class],style:[m.value,y.value,n.style],tabindex:n.disabled||s.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:f,onFocusout:p,onFocus:w,onKeydown:v},{default:()=>[gt(_A,{items:E.value},r)]})),{open:g,select:h,focus:S}}}),NN=Bc("v-list-img"),VN=ur({start:Boolean,end:Boolean,...Yr(),...Ai()},"VListItemAction"),jN=Ar()({name:"VListItemAction",props:VN(),setup(n,e){let{slots:r}=e;return Rr(()=>gt(n.tag,{class:["v-list-item-action",{"v-list-item-action--start":n.start,"v-list-item-action--end":n.end},n.class],style:n.style},r)),{}}}),UN=ur({start:Boolean,end:Boolean,...Yr(),...Ai()},"VListItemMedia"),HN=Ar()({name:"VListItemMedia",props:UN(),setup(n,e){let{slots:r}=e;return Rr(()=>gt(n.tag,{class:["v-list-item-media",{"v-list-item-media--start":n.start,"v-list-item-media--end":n.end},n.class],style:n.style},r)),{}}});function xb(n,e){return{x:n.x+e.x,y:n.y+e.y}}function GN(n,e){return{x:n.x-e.x,y:n.y-e.y}}function eT(n,e){if(n.side==="top"||n.side==="bottom"){const{side:r,align:E}=n,z=E==="left"?0:E==="center"?e.width/2:E==="right"?e.width:E,k=r==="top"?0:r==="bottom"?e.height:r;return xb({x:z,y:k},e)}else if(n.side==="left"||n.side==="right"){const{side:r,align:E}=n,z=r==="left"?0:r==="right"?e.width:r,k=E==="top"?0:E==="center"?e.height/2:E==="bottom"?e.height:E;return xb({x:z,y:k},e)}return xb({x:e.width/2,y:e.height/2},e)}const MA={static:$N,connected:ZN},qN=ur({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in MA},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function WN(n,e){const r=Vr({}),E=Vr();to&&(Yh(()=>!!(e.isActive.value&&n.locationStrategy),k=>{var m,t;Xr(()=>n.locationStrategy,k),Tl(()=>{E.value=void 0}),typeof n.locationStrategy=="function"?E.value=(m=n.locationStrategy(e,n,r))==null?void 0:m.updateLocation:E.value=(t=MA[n.locationStrategy](e,n,r))==null?void 0:t.updateLocation}),window.addEventListener("resize",z,{passive:!0}),Tl(()=>{window.removeEventListener("resize",z),E.value=void 0}));function z(k){var m;(m=E.value)==null||m.call(E,k)}return{contentStyles:r,updateLocation:E}}function $N(){}function YN(n,e){e?n.style.removeProperty("left"):n.style.removeProperty("right");const r=J2(n);return e?r.x+=parseFloat(n.style.right||0):r.x-=parseFloat(n.style.left||0),r.y-=parseFloat(n.style.top||0),r}function ZN(n,e,r){TF(n.activatorEl.value)&&Object.assign(r.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:z,preferredOrigin:k}=X2(()=>{const l=lx(e.location,n.isRtl.value),a=e.origin==="overlap"?l:e.origin==="auto"?gb(l):lx(e.origin,n.isRtl.value);return l.side===a.side&&l.align===vb(a).align?{preferredAnchor:k5(l),preferredOrigin:k5(a)}:{preferredAnchor:l,preferredOrigin:a}}),[m,t,d,y]=["minWidth","minHeight","maxWidth","maxHeight"].map(l=>cn(()=>{const a=parseFloat(e[l]);return isNaN(a)?1/0:a})),i=cn(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const l=e.offset.split(" ").map(parseFloat);return l.length<2&&l.push(0),l}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let M=!1;const g=new ResizeObserver(()=>{M&&h()});Xr([n.activatorEl,n.contentEl],(l,a)=>{let[u,o]=l,[s,c]=a;s&&g.unobserve(s),u&&g.observe(u),c&&g.unobserve(c),o&&g.observe(o)},{immediate:!0}),Tl(()=>{g.disconnect()});function h(){if(M=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>M=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const l=n.activatorEl.value.getBoundingClientRect(),a=YN(n.contentEl.value,n.isRtl.value),u=fy(n.contentEl.value),o=12;u.length||(u.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(a.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),a.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const s=u.reduce((C,_)=>{const A=_.getBoundingClientRect(),L=new $p({x:_===document.documentElement?0:A.x,y:_===document.documentElement?0:A.y,width:_.clientWidth,height:_.clientHeight});return C?new $p({x:Math.max(C.left,L.left),y:Math.max(C.top,L.top),width:Math.min(C.right,L.right)-Math.max(C.left,L.left),height:Math.min(C.bottom,L.bottom)-Math.max(C.top,L.top)}):L},void 0);s.x+=o,s.y+=o,s.width-=o*2,s.height-=o*2;let c={anchor:z.value,origin:k.value};function f(C){const _=new $p(a),A=eT(C.anchor,l),L=eT(C.origin,_);let{x:b,y:P}=GN(A,L);switch(C.anchor.side){case"top":P-=i.value[0];break;case"bottom":P+=i.value[0];break;case"left":b-=i.value[0];break;case"right":b+=i.value[0];break}switch(C.anchor.align){case"top":P-=i.value[1];break;case"bottom":P+=i.value[1];break;case"left":b-=i.value[1];break;case"right":b+=i.value[1];break}return _.x+=b,_.y+=P,_.width=Math.min(_.width,d.value),_.height=Math.min(_.height,y.value),{overflows:A5(_,s),x:b,y:P}}let p=0,w=0;const v={x:0,y:0},S={x:!1,y:!1};let x=-1;for(;!(x++>10);){const{x:C,y:_,overflows:A}=f(c);p+=C,w+=_,a.x+=C,a.y+=_;{const L=M5(c.anchor),b=A.x.before||A.x.after,P=A.y.before||A.y.after;let I=!1;if(["x","y"].forEach(R=>{if(R==="x"&&b&&!S.x||R==="y"&&P&&!S.y){const D={anchor:{...c.anchor},origin:{...c.origin}},F=R==="x"?L==="y"?vb:gb:L==="y"?gb:vb;D.anchor=F(D.anchor),D.origin=F(D.origin);const{overflows:B}=f(D);(B[R].before<=A[R].before&&B[R].after<=A[R].after||B[R].before+B[R].after<(A[R].before+A[R].after)/2)&&(c=D,I=S[R]=!0)}}),I)continue}A.x.before&&(p+=A.x.before,a.x+=A.x.before),A.x.after&&(p-=A.x.after,a.x-=A.x.after),A.y.before&&(w+=A.y.before,a.y+=A.y.before),A.y.after&&(w-=A.y.after,a.y-=A.y.after);{const L=A5(a,s);v.x=s.width-L.x.before-L.x.after,v.y=s.height-L.y.before-L.y.after,p+=L.x.before,a.x+=L.x.before,w+=L.y.before,a.y+=L.y.before}break}const T=M5(c.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${c.anchor.side} ${c.anchor.align}`,transformOrigin:`${c.origin.side} ${c.origin.align}`,top:Qr(_b(w)),left:n.isRtl.value?void 0:Qr(_b(p)),right:n.isRtl.value?Qr(_b(-p)):void 0,minWidth:Qr(T==="y"?Math.min(m.value,l.width):m.value),maxWidth:Qr(tT(Xs(v.x,m.value===1/0?0:m.value,d.value))),maxHeight:Qr(tT(Xs(v.y,t.value===1/0?0:t.value,y.value)))}),{available:v,contentBox:a}}return Xr(()=>[z.value,k.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>h()),Ua(()=>{const l=h();if(!l)return;const{available:a,contentBox:u}=l;u.height>a.y&&requestAnimationFrame(()=>{h(),requestAnimationFrame(()=>{h()})})}),{updateLocation:h}}function _b(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function tT(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let kx=!0;const py=[];function XN(n){!kx||py.length?(py.push(n),Mx()):(kx=!1,n(),Mx())}let nT=-1;function Mx(){cancelAnimationFrame(nT),nT=requestAnimationFrame(()=>{const n=py.shift();n&&n(),py.length?Mx():kx=!0})}const Mv={none:null,close:QN,block:eV,reposition:tV},KN=ur({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Mv}},"VOverlay-scroll-strategies");function JN(n,e){if(!to)return;let r;wu(async()=>{r==null||r.stop(),e.isActive.value&&n.scrollStrategy&&(r=Um(),await Ua(),r.active&&r.run(()=>{var E;typeof n.scrollStrategy=="function"?n.scrollStrategy(e,n,r):(E=Mv[n.scrollStrategy])==null||E.call(Mv,e,n,r)}))}),Tl(()=>{r==null||r.stop()})}function QN(n){function e(r){n.isActive.value=!1}AA(n.activatorEl.value??n.contentEl.value,e)}function eV(n,e){var m;const r=(m=n.root.value)==null?void 0:m.offsetParent,E=[...new Set([...fy(n.activatorEl.value,e.contained?r:void 0),...fy(n.contentEl.value,e.contained?r:void 0)])].filter(t=>!t.classList.contains("v-overlay-scroll-blocked")),z=window.innerWidth-document.documentElement.offsetWidth,k=(t=>n_(t)&&t)(r||document.documentElement);k&&n.root.value.classList.add("v-overlay--scroll-blocked"),E.forEach((t,d)=>{t.style.setProperty("--v-body-scroll-x",Qr(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",Qr(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",Qr(z)),t.classList.add("v-overlay-scroll-blocked")}),Tl(()=>{E.forEach((t,d)=>{const y=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),i=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-y,t.scrollTop=-i}),k&&n.root.value.classList.remove("v-overlay--scroll-blocked")})}function tV(n,e,r){let E=!1,z=-1,k=-1;function m(t){XN(()=>{var i,M;const d=performance.now();(M=(i=n.updateLocation).value)==null||M.call(i,t),E=(performance.now()-d)/(1e3/60)>2})}k=(typeof requestIdleCallback>"u"?t=>t():requestIdleCallback)(()=>{r.run(()=>{AA(n.activatorEl.value??n.contentEl.value,t=>{E?(cancelAnimationFrame(z),z=requestAnimationFrame(()=>{z=requestAnimationFrame(()=>{m(t)})})):m(t)})})}),Tl(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(k),cancelAnimationFrame(z)})}function AA(n,e){const r=[document,...fy(n)];r.forEach(E=>{E.addEventListener("scroll",e,{passive:!0})}),Tl(()=>{r.forEach(E=>{E.removeEventListener("scroll",e)})})}const Ax=Symbol.for("vuetify:v-menu"),SA=ur({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function CA(n,e){const r={},E=z=>()=>{if(!to)return Promise.resolve(!0);const k=z==="openDelay";return r.closeDelay&&window.clearTimeout(r.closeDelay),delete r.closeDelay,r.openDelay&&window.clearTimeout(r.openDelay),delete r.openDelay,new Promise(m=>{const t=parseInt(n[z]??0,10);r[z]=window.setTimeout(()=>{e==null||e(k),m(k)},t)})};return{runCloseDelay:E("closeDelay"),runOpenDelay:E("openDelay")}}const nV=ur({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...SA()},"VOverlay-activator");function rV(n,e){let{isActive:r,isTop:E}=e;const z=Vr();let k=!1,m=!1,t=!0;const d=cn(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),y=cn(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!d.value),{runOpenDelay:i,runCloseDelay:M}=CA(n,c=>{c===(n.openOnHover&&k||d.value&&m)&&!(n.openOnHover&&r.value&&!E.value)&&(r.value!==c&&(t=!0),r.value=c)}),g={onClick:c=>{c.stopPropagation(),z.value=c.currentTarget||c.target,r.value=!r.value},onMouseenter:c=>{var f;(f=c.sourceCapabilities)!=null&&f.firesTouchEvents||(k=!0,z.value=c.currentTarget||c.target,i())},onMouseleave:c=>{k=!1,M()},onFocus:c=>{l0(c.target,":focus-visible")!==!1&&(m=!0,c.stopPropagation(),z.value=c.currentTarget||c.target,i())},onBlur:c=>{m=!1,c.stopPropagation(),M()}},h=cn(()=>{const c={};return y.value&&(c.onClick=g.onClick),n.openOnHover&&(c.onMouseenter=g.onMouseenter,c.onMouseleave=g.onMouseleave),d.value&&(c.onFocus=g.onFocus,c.onBlur=g.onBlur),c}),l=cn(()=>{const c={};if(n.openOnHover&&(c.onMouseenter=()=>{k=!0,i()},c.onMouseleave=()=>{k=!1,M()}),d.value&&(c.onFocusin=()=>{m=!0,i()},c.onFocusout=()=>{m=!1,M()}),n.closeOnContentClick){const f=ka(Ax,null);c.onClick=()=>{r.value=!1,f==null||f.closeParents()}}return c}),a=cn(()=>{const c={};return n.openOnHover&&(c.onMouseenter=()=>{t&&(k=!0,t=!1,i())},c.onMouseleave=()=>{k=!1,M()}),c});Xr(E,c=>{c&&(n.openOnHover&&!k&&(!d.value||!m)||d.value&&!m&&(!n.openOnHover||!k))&&(r.value=!1)});const u=Vr();wu(()=>{u.value&&Ua(()=>{z.value=ox(u.value)})});const o=Es("useActivator");let s;return Xr(()=>!!n.activator,c=>{c&&to?(s=Um(),s.run(()=>{iV(n,o,{activatorEl:z,activatorEvents:h})})):s&&s.stop()},{flush:"post",immediate:!0}),Tl(()=>{s==null||s.stop()}),{activatorEl:z,activatorRef:u,activatorEvents:h,contentEvents:l,scrimEvents:a}}function iV(n,e,r){let{activatorEl:E,activatorEvents:z}=r;Xr(()=>n.activator,(d,y)=>{if(y&&d!==y){const i=t(y);i&&m(i)}d&&Ua(()=>k())},{immediate:!0}),Xr(()=>n.activatorProps,()=>{k()}),Tl(()=>{m()});function k(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Kz(d,qr(z.value,y))}function m(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Jz(d,qr(z.value,y))}function t(){var i,M;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.activator,y;if(d)if(d==="parent"){let g=(M=(i=e==null?void 0:e.proxy)==null?void 0:i.$el)==null?void 0:M.parentNode;for(;g!=null&&g.hasAttribute("data-no-activator");)g=g.parentNode;y=g}else typeof d=="string"?y=document.querySelector(d):"$el"in d?y=d.$el:y=d;return E.value=(y==null?void 0:y.nodeType)===Node.ELEMENT_NODE?y:null,E.value}}function EA(){if(!to)return Wr(!1);const{ssr:n}=ep();if(n){const e=Wr(!1);return Js(()=>{e.value=!0}),e}else return Wr(!0)}const o1=ur({eager:Boolean},"lazy");function __(n,e){const r=Wr(!1),E=cn(()=>r.value||n.eager||e.value);Xr(e,()=>r.value=!0);function z(){n.eager||(r.value=!1)}return{isBooted:r,hasContent:E,onAfterLeave:z}}function E0(){const e=Es("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const rT=Symbol.for("vuetify:stack"),am=bl([]);function aV(n,e,r){const E=Es("useStack"),z=!r,k=ka(rT,void 0),m=bl({activeChildren:new Set});rs(rT,m);const t=Wr(+e.value);Yh(n,()=>{var M;const i=(M=am.at(-1))==null?void 0:M[1];t.value=i?i+10:+e.value,z&&am.push([E.uid,t.value]),k==null||k.activeChildren.add(E.uid),Tl(()=>{if(z){const g=Si(am).findIndex(h=>h[0]===E.uid);am.splice(g,1)}k==null||k.activeChildren.delete(E.uid)})});const d=Wr(!0);z&&wu(()=>{var M;const i=((M=am.at(-1))==null?void 0:M[0])===E.uid;setTimeout(()=>d.value=i)});const y=cn(()=>!m.activeChildren.size);return{globalTop:Hm(d),localTop:y,stackStyles:cn(()=>({zIndex:t.value}))}}function oV(n){return{teleportTarget:cn(()=>{const r=n.value;if(r===!0||!to)return;const E=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(E==null)return;let z=E.querySelector(":scope > .v-overlay-container");return z||(z=document.createElement("div"),z.className="v-overlay-container",E.appendChild(z)),z})}}function sV(){return!0}function LA(n,e,r){if(!n||IA(n,r)===!1)return!1;const E=M6(e);if(typeof ShadowRoot<"u"&&E instanceof ShadowRoot&&E.host===n.target)return!1;const z=(typeof r.value=="object"&&r.value.include||(()=>[]))();return z.push(e),!z.some(k=>k==null?void 0:k.contains(n.target))}function IA(n,e){return(typeof e.value=="object"&&e.value.closeConditional||sV)(n)}function lV(n,e,r){const E=typeof r.value=="function"?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&LA(n,e,r)&&setTimeout(()=>{IA(n,r)&&E&&E(n)},0)}function iT(n,e){const r=M6(n);e(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&e(r)}const PA={mounted(n,e){const r=z=>lV(z,n,e),E=z=>{n._clickOutside.lastMousedownWasOutside=LA(z,n,e)};iT(n,z=>{z.addEventListener("click",r,!0),z.addEventListener("mousedown",E,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[e.instance.$.uid]={onClick:r,onMousedown:E}},unmounted(n,e){n._clickOutside&&(iT(n,r=>{var k;if(!r||!((k=n._clickOutside)!=null&&k[e.instance.$.uid]))return;const{onClick:E,onMousedown:z}=n._clickOutside[e.instance.$.uid];r.removeEventListener("click",E,!0),r.removeEventListener("mousedown",z,!0)}),delete n._clickOutside[e.instance.$.uid])}};function uV(n){const{modelValue:e,color:r,...E}=n;return gt(bf,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&>("div",qr({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},E),null)]})}const cg=ur({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...nV(),...Yr(),...ac(),...o1(),...qN(),...KN(),...oa(),...dh()},"VOverlay"),oh=Ar()({name:"VOverlay",directives:{ClickOutside:PA},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...cg()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,e){let{slots:r,attrs:E,emit:z}=e;const k=xi(n,"modelValue"),m=cn({get:()=>k.value,set:D=>{D&&n.disabled||(k.value=D)}}),{teleportTarget:t}=oV(cn(()=>n.attach||n.contained)),{themeClasses:d}=Ma(n),{rtlClasses:y,isRtl:i}=Ls(),{hasContent:M,onAfterLeave:g}=__(n,m),h=Ro(cn(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:l,localTop:a,stackStyles:u}=aV(m,Cr(n,"zIndex"),n._disableGlobalStack),{activatorEl:o,activatorRef:s,activatorEvents:c,contentEvents:f,scrimEvents:p}=rV(n,{isActive:m,isTop:a}),{dimensionStyles:w}=oc(n),v=EA(),{scopeId:S}=E0();Xr(()=>n.disabled,D=>{D&&(m.value=!1)});const x=Vr(),T=Vr(),{contentStyles:C,updateLocation:_}=WN(n,{isRtl:i,contentEl:T,activatorEl:o,isActive:m});JN(n,{root:x,contentEl:T,activatorEl:o,isActive:m,updateLocation:_});function A(D){z("click:outside",D),n.persistent?R():m.value=!1}function L(){return m.value&&l.value}to&&Xr(m,D=>{D?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)},{immediate:!0});function b(D){var F,B;D.key==="Escape"&&l.value&&(n.persistent?R():(m.value=!1,(F=T.value)!=null&&F.contains(document.activeElement)&&((B=o.value)==null||B.focus())))}const P=W6();Yh(()=>n.closeOnBack,()=>{XB(P,D=>{l.value&&m.value?(D(!1),n.persistent?R():m.value=!1):D()})});const I=Vr();Xr(()=>m.value&&(n.absolute||n.contained)&&t.value==null,D=>{if(D){const F=t_(x.value);F&&F!==document.scrollingElement&&(I.value=F.scrollTop)}});function R(){n.noClickAnimation||T.value&&Dd(T.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:zm})}return Rr(()=>{var D;return gt($r,null,[(D=r.activator)==null?void 0:D.call(r,{isActive:m.value,props:qr({ref:s},c.value,n.activatorProps)}),v.value&&M.value&>(zE,{disabled:!t.value,to:t.value},{default:()=>[gt("div",qr({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":m.value,"v-overlay--contained":n.contained},d.value,y.value,n.class],style:[u.value,{top:Qr(I.value)},n.style],ref:x},S,E),[gt(uV,qr({color:h,modelValue:m.value&&!!n.scrim},p.value),null),gt(Oc,{appear:!0,persisted:!0,transition:n.transition,target:o.value,onAfterLeave:()=>{g(),z("afterLeave")}},{default:()=>{var F;return[Co(gt("div",qr({ref:T,class:["v-overlay__content",n.contentClass],style:[w.value,C.value]},f.value,n.contentProps),[(F=r.default)==null?void 0:F.call(r,{isActive:m})]),[[kf,m.value],[Tu("click-outside"),{handler:A,closeConditional:L,include:()=>[o.value]}]])]}})])]})])}),{activatorEl:o,animateClick:R,contentEl:T,globalTop:l,localTop:a,updateLocation:_}}}),wb=Symbol("Forwarded refs");function Tb(n,e){let r=n;for(;r;){const E=Reflect.getOwnPropertyDescriptor(r,e);if(E)return E;r=Object.getPrototypeOf(r)}}function Nc(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),E=1;E!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{scopeId:z}=E0(),k=Qs(),m=cn(()=>n.id||`v-menu-${k}`),t=Vr(),d=ka(Ax,null),y=Wr(0);rs(Ax,{register(){++y.value},unregister(){--y.value},closeParents(){setTimeout(()=>{y.value||(E.value=!1,d==null||d.closeParents())},40)}});async function i(a){var s,c,f;const u=a.relatedTarget,o=a.target;await Ua(),E.value&&u!==o&&((s=t.value)!=null&&s.contentEl)&&((c=t.value)!=null&&c.globalTop)&&![document,t.value.contentEl].includes(o)&&!t.value.contentEl.contains(o)&&((f=Dm(t.value.contentEl)[0])==null||f.focus())}Xr(E,a=>{a?(d==null||d.register(),document.addEventListener("focusin",i,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",i))});function M(){d==null||d.closeParents()}function g(a){var u,o,s;n.disabled||a.key==="Tab"&&(h6(Dm((u=t.value)==null?void 0:u.contentEl,!1),a.shiftKey?"prev":"next",f=>f.tabIndex>=0)||(E.value=!1,(s=(o=t.value)==null?void 0:o.activatorEl)==null||s.focus()))}function h(a){var o;if(n.disabled)return;const u=(o=t.value)==null?void 0:o.contentEl;u&&E.value?a.key==="ArrowDown"?(a.preventDefault(),uy(u,"next")):a.key==="ArrowUp"&&(a.preventDefault(),uy(u,"prev")):["ArrowDown","ArrowUp"].includes(a.key)&&(E.value=!0,a.preventDefault(),setTimeout(()=>setTimeout(()=>h(a))))}const l=cn(()=>qr({"aria-haspopup":"menu","aria-expanded":String(E.value),"aria-owns":m.value,onKeydown:h},n.activatorProps));return Rr(()=>{const[a]=oh.filterProps(n);return gt(oh,qr({ref:t,class:["v-menu",n.class],style:n.style},a,{modelValue:E.value,"onUpdate:modelValue":u=>E.value=u,absolute:!0,activatorProps:l.value,"onClick:outside":M,onKeydown:g},z),{activator:r.activator,default:function(){for(var u=arguments.length,o=new Array(u),s=0;s{var c;return[(c=r.default)==null?void 0:c.call(r,...o)]}})}})}),Nc({id:m,ฮจopenChildren:y},t)}});const fV=ur({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Yr(),...dh({transition:{component:l_}})},"VCounter"),l1=Ar()({name:"VCounter",functional:!0,props:fV(),setup(n,e){let{slots:r}=e;const E=cn(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return Rr(()=>gt(Oc,{transition:n.transition},{default:()=>[Co(gt("div",{class:["v-counter",n.class],style:n.style},[r.default?r.default({counter:E.value,max:n.max,value:n.value}):E.value]),[[kf,n.active]])]})),{}}});const hV=ur({floating:Boolean,...Yr()},"VFieldLabel"),um=Ar()({name:"VFieldLabel",props:hV(),setup(n,e){let{slots:r}=e;return Rr(()=>gt(C0,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},r)),{}}}),dV=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],u1=ur({appendInnerIcon:bi,bgColor:String,clearable:Boolean,clearIcon:{type:bi,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:bi,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>dV.includes(n)},"onClick:clear":yf(),"onClick:appendInner":yf(),"onClick:prependInner":yf(),...Yr(),...m_(),...lo(),...oa()},"VField"),fg=Ar()({name:"VField",inheritAttrs:!1,props:{id:String,...r1(),...u1()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const{themeClasses:k}=Ma(n),{loaderClasses:m}=t1(n),{focusClasses:t,isFocused:d,focus:y,blur:i}=rd(n),{InputIcon:M}=aA(n),{roundedClasses:g}=Eo(n),{rtlClasses:h}=Ls(),l=cn(()=>n.dirty||n.active),a=cn(()=>!n.singleLine&&!!(n.label||z.label)),u=Qs(),o=cn(()=>n.id||`input-${u}`),s=cn(()=>`${o.value}-messages`),c=Vr(),f=Vr(),p=Vr(),w=cn(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:v,backgroundColorStyles:S}=Ro(Cr(n,"bgColor")),{textColorClasses:x,textColorStyles:T}=Ks(cn(()=>n.error||n.disabled?void 0:l.value&&d.value?n.color:n.baseColor));Xr(l,A=>{if(a.value){const L=c.value.$el,b=f.value.$el;requestAnimationFrame(()=>{const P=J2(L),I=b.getBoundingClientRect(),R=I.x-P.x,D=I.y-P.y-(P.height/2-I.height/2),F=I.width/.75,B=Math.abs(F-P.width)>1?{maxWidth:Qr(F)}:void 0,N=getComputedStyle(L),W=getComputedStyle(b),j=parseFloat(N.transitionDuration)*1e3||150,Y=parseFloat(W.getPropertyValue("--v-field-label-scale")),U=W.getPropertyValue("color");L.style.visibility="visible",b.style.visibility="hidden",Dd(L,{transform:`translate(${R}px, ${D}px) scale(${Y})`,color:U,...B},{duration:j,easing:zm,direction:A?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),b.style.removeProperty("visibility")})})}},{flush:"post"});const C=cn(()=>({isActive:l,isFocused:d,controlRef:p,blur:i,focus:y}));function _(A){A.target!==document.activeElement&&A.preventDefault()}return Rr(()=>{var R,D,F;const A=n.variant==="outlined",L=z["prepend-inner"]||n.prependInnerIcon,b=!!(n.clearable||z.clear),P=!!(z["append-inner"]||n.appendInnerIcon||b),I=z.label?z.label({...C.value,label:n.label,props:{for:o.value}}):n.label;return gt("div",qr({class:["v-field",{"v-field--active":l.value,"v-field--appended":P,"v-field--center-affix":n.centerAffix??!w.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!I,[`v-field--variant-${n.variant}`]:!0},k.value,v.value,t.value,m.value,g.value,h.value,n.class],style:[S.value,n.style],onClick:_},r),[gt("div",{class:"v-field__overlay"},null),gt(g_,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:z.loader}),L&>("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&>(M,{key:"prepend-icon",name:"prependInner"},null),(R=z["prepend-inner"])==null?void 0:R.call(z,C.value)]),gt("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&a.value&>(um,{key:"floating-label",ref:f,class:[x.value],floating:!0,for:o.value,style:T.value},{default:()=>[I]}),gt(um,{ref:c,for:o.value},{default:()=>[I]}),(D=z.default)==null?void 0:D.call(z,{...C.value,props:{id:o.value,class:"v-field__input","aria-describedby":s.value},focus:y,blur:i})]),b&>(u_,{key:"clear"},{default:()=>[Co(gt("div",{class:"v-field__clearable",onMousedown:B=>{B.preventDefault(),B.stopPropagation()}},[z.clear?z.clear():gt(M,{name:"clear"},null)]),[[kf,n.dirty]])]}),P&>("div",{key:"append",class:"v-field__append-inner"},[(F=z["append-inner"])==null?void 0:F.call(z,C.value),n.appendInnerIcon&>(M,{key:"append-icon",name:"appendInner"},null)]),gt("div",{class:["v-field__outline",x.value],style:T.value},[A&>($r,null,[gt("div",{class:"v-field__outline__start"},null),a.value&>("div",{class:"v-field__outline__notch"},[gt(um,{ref:f,floating:!0,for:o.value},{default:()=>[I]})]),gt("div",{class:"v-field__outline__end"},null)]),w.value&&a.value&>(um,{ref:f,floating:!0,for:o.value},{default:()=>[I]})])])}),{controlRef:p}}});function w_(n){const e=Object.keys(fg.props).filter(r=>!Z2(r)&&r!=="class"&&r!=="style");return Yd(n,e)}const pV=["color","file","time","date","datetime-local","week","month"],c1=ur({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...mh(),...u1()},"VTextField"),Kd=Ar()({name:"VTextField",directives:{Intersect:og},inheritAttrs:!1,props:c1(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const k=xi(n,"modelValue"),{isFocused:m,focus:t,blur:d}=rd(n),y=cn(()=>typeof n.counterValue=="function"?n.counterValue(k.value):(k.value??"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter}),M=cn(()=>["plain","underlined"].includes(n.variant));function g(w,v){var S,x;!n.autofocus||!w||(x=(S=v[0].target)==null?void 0:S.focus)==null||x.call(S)}const h=Vr(),l=Vr(),a=Vr(),u=cn(()=>pV.includes(n.type)||n.persistentPlaceholder||m.value||n.active);function o(){var w;a.value!==document.activeElement&&((w=a.value)==null||w.focus()),m.value||t()}function s(w){E("mousedown:control",w),w.target!==a.value&&(o(),w.preventDefault())}function c(w){o(),E("click:control",w)}function f(w){w.stopPropagation(),o(),Ua(()=>{k.value=null,K2(n["onClick:clear"],w)})}function p(w){var S;const v=w.target;if(k.value=v.value,(S=n.modelModifiers)!=null&&S.trim&&["text","search","password","tel","url"].includes(n.type)){const x=[v.selectionStart,v.selectionEnd];Ua(()=>{v.selectionStart=x[0],v.selectionEnd=x[1]})}}return Rr(()=>{const w=!!(z.counter||n.counter||n.counterValue),v=!!(w||z.details),[S,x]=Qd(r),[{modelValue:T,...C}]=Ns.filterProps(n),[_]=w_(n);return gt(Ns,qr({ref:h,modelValue:k.value,"onUpdate:modelValue":A=>k.value=A,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},S,C,{centerAffix:!M.value,focused:m.value}),{...z,default:A=>{let{id:L,isDisabled:b,isDirty:P,isReadonly:I,isValid:R}=A;return gt(fg,qr({ref:l,onMousedown:s,onClick:c,"onClick:clear":f,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},_,{id:L.value,active:u.value||P.value,dirty:P.value||n.dirty,disabled:b.value,focused:m.value,error:R.value===!1}),{...z,default:D=>{let{props:{class:F,...B}}=D;const N=Co(gt("input",qr({ref:a,value:k.value,onInput:p,autofocus:n.autofocus,readonly:I.value,disabled:b.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:o,onBlur:d},B,x),null),[[Tu("intersect"),{handler:g},null,{once:!0}]]);return gt($r,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[gt("span",{class:"v-text-field__prefix__text"},[n.prefix])]),z.default?gt("div",{class:F,"data-no-activator":""},[z.default(),N]):nh(N,{class:F}),n.suffix&>("span",{class:"v-text-field__suffix"},[gt("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:v?A=>{var L;return gt($r,null,[(L=z.details)==null?void 0:L.call(z,A),w&>($r,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||m.value,value:y.value,max:i.value},z.counter)])])}:void 0})}),Nc({},h,l,a)}});const mV=ur({renderless:Boolean,...Yr()},"VVirtualScrollItem"),gV=Ar()({name:"VVirtualScrollItem",inheritAttrs:!1,props:mV(),emits:{"update:height":n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const{resizeRef:k,contentRect:m}=Tf(void 0,"border");Xr(()=>{var t;return(t=m.value)==null?void 0:t.height},t=>{t!=null&&E("update:height",t)}),Rr(()=>{var t,d;return n.renderless?gt($r,null,[(t=z.default)==null?void 0:t.call(z,{itemRef:k})]):gt("div",qr({ref:k,class:["v-virtual-scroll__item",n.class],style:n.style},r),[(d=z.default)==null?void 0:d.call(z)])})}}),aT=-1,oT=1,vV=ur({itemHeight:{type:[Number,String],default:48}},"virtual");function yV(n,e,r){const E=Wr(0),z=Wr(n.itemHeight),k=cn({get:()=>parseInt(z.value??0,10),set(v){z.value=v}}),m=Vr(),{resizeRef:t,contentRect:d}=Tf();wu(()=>{t.value=m.value});const y=ep(),i=new Map;let M=Array.from({length:e.value.length});const g=cn(()=>{const v=(!d.value||m.value===document.documentElement?y.height.value:d.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(v/k.value*1.7+1)});function h(v,S){k.value=Math.max(k.value,S),M[v]=S,i.set(e.value[v],S)}function l(v){return M.slice(0,v).reduce((S,x)=>S+(x||k.value),0)}function a(v){const S=e.value.length;let x=0,T=0;for(;T=A&&(E.value=Xs(_,0,e.value.length-g.value)),u=S}function s(v){if(!m.value)return;const S=l(v);m.value.scrollTop=S}const c=cn(()=>Math.min(e.value.length,E.value+g.value)),f=cn(()=>e.value.slice(E.value,c.value).map((v,S)=>({raw:v,index:S+E.value}))),p=cn(()=>l(E.value)),w=cn(()=>l(e.value.length)-l(c.value));return Xr(()=>e.value.length,()=>{M=Jf(e.value.length).map(()=>k.value),i.forEach((v,S)=>{const x=e.value.indexOf(S);x===-1?i.delete(S):M[x]=v})}),{containerRef:m,computedItems:f,itemHeight:k,paddingTop:p,paddingBottom:w,scrollToIndex:s,handleScroll:o,handleItemResize:h}}const bV=ur({items:{type:Array,default:()=>[]},renderless:Boolean,...vV(),...Yr(),...ac()},"VVirtualScroll"),f1=Ar()({name:"VVirtualScroll",props:bV(),setup(n,e){let{slots:r}=e;const E=Es("VVirtualScroll"),{dimensionStyles:z}=oc(n),{containerRef:k,handleScroll:m,handleItemResize:t,scrollToIndex:d,paddingTop:y,paddingBottom:i,computedItems:M}=yV(n,Cr(n,"items"));return Yh(()=>n.renderless,()=>{Js(()=>{var g;k.value=t_(E.vnode.el,!0),(g=k.value)==null||g.addEventListener("scroll",m)}),Tl(()=>{var g;(g=k.value)==null||g.removeEventListener("scroll",m)})}),Rr(()=>{const g=M.value.map(h=>gt(gV,{key:h.index,renderless:n.renderless,"onUpdate:height":l=>t(h.index,l)},{default:l=>{var a;return(a=r.default)==null?void 0:a.call(r,{item:h.raw,index:h.index,...l})}}));return n.renderless?gt($r,null,[gt("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Qr(y.value)}},null),g,gt("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Qr(i.value)}},null)]):gt("div",{ref:k,class:["v-virtual-scroll",n.class],onScroll:m,style:[z.value,n.style]},[gt("div",{class:"v-virtual-scroll__container",style:{paddingTop:Qr(y.value),paddingBottom:Qr(i.value)}},[g])])}),{scrollToIndex:d}}});function T_(n,e){const r=Wr(!1);let E;function z(t){cancelAnimationFrame(E),r.value=!0,E=requestAnimationFrame(()=>{E=requestAnimationFrame(()=>{r.value=!1})})}async function k(){await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>{if(r.value){const d=Xr(r,()=>{d(),t()})}else t()})}async function m(t){var i,M;if(t.key==="Tab"&&((i=e.value)==null||i.focus()),!["PageDown","PageUp","Home","End"].includes(t.key))return;const d=(M=n.value)==null?void 0:M.$el;if(!d)return;(t.key==="Home"||t.key==="End")&&d.scrollTo({top:t.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await k();const y=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(t.key==="PageDown"||t.key==="Home"){const g=d.getBoundingClientRect().top;for(const h of y)if(h.getBoundingClientRect().top>=g){h.focus();break}}else{const g=d.getBoundingClientRect().bottom;for(const h of[...y].reverse())if(h.getBoundingClientRect().bottom<=g){h.focus();break}}}return{onListScroll:z,onListKeydown:m}}const k_=ur({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:bi,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...wA({itemChildren:!1})},"Select"),xV=ur({...k_(),...nc(c1({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...dh({transition:{component:Qy}})},"VSelect"),_V=Ar()({name:"VSelect",props:xV(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:E}=ic(),z=Vr(),k=Vr(),m=Vr(),t=xi(n,"menu"),d=cn({get:()=>t.value,set:P=>{var I;t.value&&!P&&((I=k.value)!=null&&I.ฮจopenChildren)||(t.value=P)}}),{items:y,transformIn:i,transformOut:M}=x_(n),g=xi(n,"modelValue",[],P=>i(P===null?[null]:bu(P)),P=>{const I=M(P);return n.multiple?I:I[0]??null}),h=i1(),l=cn(()=>g.value.map(P=>P.value)),a=Wr(!1),u=cn(()=>d.value?n.closeText:n.openText);let o="",s;const c=cn(()=>n.hideSelected?y.value.filter(P=>!g.value.some(I=>I===P)):y.value),f=cn(()=>n.hideNoData&&!y.value.length||n.readonly||(h==null?void 0:h.isReadonly.value)),p=Vr(),{onListScroll:w,onListKeydown:v}=T_(p,z);function S(P){n.openOnClear&&(d.value=!0)}function x(){f.value||(d.value=!d.value)}function T(P){var B,N;if(!P.key||n.readonly||h!=null&&h.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(P.key)&&P.preventDefault(),["Enter","ArrowDown"," "].includes(P.key)&&(d.value=!0),["Escape","Tab"].includes(P.key)&&(d.value=!1),P.key==="Home"?(B=p.value)==null||B.focus("first"):P.key==="End"&&((N=p.value)==null||N.focus("last"));const I=1e3;function R(W){const j=W.key.length===1,Y=!W.ctrlKey&&!W.metaKey&&!W.altKey;return j&&Y}if(n.multiple||!R(P))return;const D=performance.now();D-s>I&&(o=""),o+=P.key.toLowerCase(),s=D;const F=y.value.find(W=>W.title.toLowerCase().startsWith(o));F!==void 0&&(g.value=[F])}function C(P){if(n.multiple){const I=g.value.findIndex(R=>n.valueComparator(R.value,P.value));if(I===-1)g.value=[...g.value,P];else{const R=[...g.value];R.splice(I,1),g.value=R}}else g.value=[P],d.value=!1}function _(P){var I;(I=p.value)!=null&&I.$el.contains(P.relatedTarget)||(d.value=!1)}function A(){var P;a.value&&((P=z.value)==null||P.focus())}function L(P){a.value=!0}function b(P){if(P==null)g.value=[];else if(l0(z.value,":autofill")||l0(z.value,":-webkit-autofill")){const I=y.value.find(R=>R.title===P);I&&C(I)}else z.value&&(z.value.value="")}return Xr(d,()=>{if(!n.hideSelected&&d.value&&g.value.length){const P=c.value.findIndex(I=>g.value.some(R=>n.valueComparator(R.value,I.value)));to&&window.requestAnimationFrame(()=>{var I;P>=0&&((I=m.value)==null||I.scrollToIndex(P))})}}),Rr(()=>{const P=!!(n.chips||r.chip),I=!!(!n.hideNoData||c.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),R=g.value.length>0,[D]=Kd.filterProps(n),F=R||!a.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return gt(Kd,qr({ref:z},D,{modelValue:g.value.map(B=>B.props.value).join(", "),"onUpdate:modelValue":b,focused:a.value,"onUpdate:focused":B=>a.value=B,validationValue:g.externalValue,dirty:R,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!n.chips,[`v-select--${n.multiple?"multiple":"single"}`]:!0,"v-select--selected":g.value.length,"v-select--selection-slot":!!r.selection},n.class],style:n.style,inputmode:"none",placeholder:F,"onClick:clear":S,"onMousedown:control":x,onBlur:_,onKeydown:T,"aria-label":E(u.value),title:E(u.value)}),{...r,default:()=>gt($r,null,[gt(s1,qr({ref:k,modelValue:d.value,"onUpdate:modelValue":B=>d.value=B,activator:"parent",contentClass:"v-select__content",disabled:f.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:A},n.menuProps),{default:()=>[I&>(a1,{ref:p,selected:l.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:B=>B.preventDefault(),onKeydown:v,onFocusin:L,onScrollPassive:w,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var B,N,W;return[(B=r["prepend-item"])==null?void 0:B.call(r),!c.value.length&&!n.hideNoData&&(((N=r["no-data"])==null?void 0:N.call(r))??gt(ah,{title:E(n.noDataText)},null)),gt(f1,{ref:m,renderless:!0,items:c.value},{default:j=>{var H;let{item:Y,index:U,itemRef:G}=j;const q=qr(Y.props,{ref:G,key:U,onClick:()=>C(Y)});return((H=r.item)==null?void 0:H.call(r,{item:Y,index:U,props:q}))??gt(ah,q,{prepend:ne=>{let{isSelected:te}=ne;return gt($r,null,[n.multiple&&!n.hideSelected?gt(f0,{key:Y.value,modelValue:te,ripple:!1,tabindex:"-1"},null):void 0,Y.props.prependIcon&>(ja,{icon:Y.props.prependIcon},null)])}})}}),(W=r["append-item"])==null?void 0:W.call(r)]}})]}),g.value.map((B,N)=>{var Y;function W(U){U.stopPropagation(),U.preventDefault(),C(B)}const j={"onClick:close":W,onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:B.value,class:"v-select__selection"},[P?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:B.title}}},{default:()=>{var U;return[(U=r.chip)==null?void 0:U.call(r,{item:B,index:N,props:j})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:B.title},j),null):((Y=r.selection)==null?void 0:Y.call(r,{item:B,index:N}))??gt("span",{class:"v-select__selection-text"},[B.title,n.multiple&&Nn==null||e==null?-1:n.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),OA=ur({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function TV(n,e,r){var t;const E=[],z=(r==null?void 0:r.default)??wV,k=r!=null&&r.filterKeys?bu(r.filterKeys):!1,m=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(n!=null&&n.length))return E;e:for(let d=0;dE!=null&&E.transform?yu(e).map(d=>[d,E.transform(d)]):yu(e));wu(()=>{const d=typeof r=="function"?r():yu(r),y=typeof d!="string"&&typeof d!="number"?"":String(d),i=TV(m.value,y,{customKeyFilter:n.customKeyFilter,default:n.customFilter,filterKeys:n.filterKeys,filterMode:n.filterMode,noFilter:n.noFilter}),M=yu(e),g=[],h=new Map;i.forEach(l=>{let{index:a,matches:u}=l;const o=M[a];g.push(o),h.set(o.value,u)}),z.value=g,k.value=h});function t(d){return k.value.get(d.value)}return{filteredItems:z,filteredMatches:k,getMatches:t}}function kV(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt($r,null,[gt("span",{class:"v-autocomplete__unmask"},[n.substr(0,e)]),gt("span",{class:"v-autocomplete__mask"},[n.substr(e,r)]),gt("span",{class:"v-autocomplete__unmask"},[n.substr(e+r)])]):n}const MV=ur({autoSelectFirst:{type:[Boolean,String]},search:String,...OA({filterKeys:["title"]}),...k_(),...nc(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...dh({transition:!1})},"VAutocomplete"),AV=Ar()({name:"VAutocomplete",props:MV(),emits:{"update:focused":n=>!0,"update:search":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:E}=ic(),z=Vr(),k=Wr(!1),m=Wr(!0),t=Wr(!1),d=Vr(),y=Vr(),i=xi(n,"menu"),M=cn({get:()=>i.value,set:q=>{var H;i.value&&!q&&((H=d.value)!=null&&H.ฮจopenChildren)||(i.value=q)}}),g=Wr(-1),h=cn(()=>{var q;return(q=z.value)==null?void 0:q.color}),l=cn(()=>M.value?n.closeText:n.openText),{items:a,transformIn:u,transformOut:o}=x_(n),{textColorClasses:s,textColorStyles:c}=Ks(h),f=xi(n,"search",""),p=xi(n,"modelValue",[],q=>u(q===null?[null]:bu(q)),q=>{const H=o(q);return n.multiple?H:H[0]??null}),w=i1(),{filteredItems:v,getMatches:S}=RA(n,a,()=>m.value?"":f.value),x=cn(()=>n.hideSelected?v.value.filter(q=>!p.value.some(H=>H.value===q.value)):v.value),T=cn(()=>p.value.map(q=>q.props.value)),C=cn(()=>{var H;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&f.value===((H=x.value[0])==null?void 0:H.title))&&x.value.length>0&&!m.value&&!t.value}),_=cn(()=>n.hideNoData&&!a.value.length||n.readonly||(w==null?void 0:w.isReadonly.value)),A=Vr(),{onListScroll:L,onListKeydown:b}=T_(A,z);function P(q){n.openOnClear&&(M.value=!0),f.value=""}function I(){_.value||(M.value=!0)}function R(q){_.value||(k.value&&(q.preventDefault(),q.stopPropagation()),M.value=!M.value)}function D(q){var te,Z,X;if(n.readonly||w!=null&&w.isReadonly.value)return;const H=z.value.selectionStart,ne=p.value.length;if((g.value>-1||["Enter","ArrowDown","ArrowUp"].includes(q.key))&&q.preventDefault(),["Enter","ArrowDown"].includes(q.key)&&(M.value=!0),["Escape"].includes(q.key)&&(M.value=!1),C.value&&["Enter","Tab"].includes(q.key)&&G(x.value[0]),q.key==="ArrowDown"&&C.value&&((te=A.value)==null||te.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(q.key)){if(g.value<0){q.key==="Backspace"&&!f.value&&(g.value=ne-1);return}const Q=g.value,re=p.value[g.value];re&&G(re),g.value=Q>=ne-1?ne-2:Q}if(q.key==="ArrowLeft"){if(g.value<0&&H>0)return;const Q=g.value>-1?g.value-1:ne-1;p.value[Q]?g.value=Q:(g.value=-1,z.value.setSelectionRange((Z=f.value)==null?void 0:Z.length,(X=f.value)==null?void 0:X.length))}if(q.key==="ArrowRight"){if(g.value<0)return;const Q=g.value+1;p.value[Q]?g.value=Q:(g.value=-1,z.value.setSelectionRange(0,0))}}}function F(q){f.value=q.target.value}function B(q){if(l0(z.value,":autofill")||l0(z.value,":-webkit-autofill")){const H=a.value.find(ne=>ne.title===q.target.value);H&&G(H)}}function N(){var q;k.value&&(m.value=!0,(q=z.value)==null||q.focus())}function W(q){k.value=!0,setTimeout(()=>{t.value=!0})}function j(q){t.value=!1}function Y(q){(q==null||q===""&&!n.multiple)&&(p.value=[])}const U=Wr(!1);function G(q){if(n.multiple){const H=p.value.findIndex(ne=>n.valueComparator(ne.value,q.value));if(H===-1)p.value=[...p.value,q];else{const ne=[...p.value];ne.splice(H,1),p.value=ne}}else p.value=[q],U.value=!0,f.value=q.title,M.value=!1,m.value=!0,Ua(()=>U.value=!1)}return Xr(k,(q,H)=>{var ne;q!==H&&(q?(U.value=!0,f.value=n.multiple?"":String(((ne=p.value.at(-1))==null?void 0:ne.props.title)??""),m.value=!0,Ua(()=>U.value=!1)):(!n.multiple&&!f.value?p.value=[]:C.value&&!t.value&&!p.value.some(te=>{let{value:Z}=te;return Z===x.value[0].value})&&G(x.value[0]),M.value=!1,f.value="",g.value=-1))}),Xr(f,q=>{!k.value||U.value||(q&&(M.value=!0),m.value=!q)}),Xr(M,()=>{if(!n.hideSelected&&M.value&&p.value.length){const q=x.value.findIndex(H=>p.value.some(ne=>H.value===ne.value));to&&window.requestAnimationFrame(()=>{var H;q>=0&&((H=y.value)==null||H.scrollToIndex(q))})}}),Rr(()=>{const q=!!(n.chips||r.chip),H=!!(!n.hideNoData||x.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=p.value.length>0,[te]=Kd.filterProps(n);return gt(Kd,qr({ref:z},te,{modelValue:f.value,"onUpdate:modelValue":Y,focused:k.value,"onUpdate:focused":Z=>k.value=Z,validationValue:p.externalValue,dirty:ne,onInput:F,onChange:B,class:["v-autocomplete",`v-autocomplete--${n.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":M.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!r.selection,"v-autocomplete--selecting-index":g.value>-1},n.class],style:n.style,readonly:n.readonly,placeholder:ne?void 0:n.placeholder,"onClick:clear":P,"onMousedown:control":I,onKeydown:D}),{...r,default:()=>gt($r,null,[gt(s1,qr({ref:d,modelValue:M.value,"onUpdate:modelValue":Z=>M.value=Z,activator:"parent",contentClass:"v-autocomplete__content",disabled:_.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:N},n.menuProps),{default:()=>[H&>(a1,{ref:A,selected:T.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:Z=>Z.preventDefault(),onKeydown:b,onFocusin:W,onFocusout:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var Z,X,Q;return[(Z=r["prepend-item"])==null?void 0:Z.call(r),!x.value.length&&!n.hideNoData&&(((X=r["no-data"])==null?void 0:X.call(r))??gt(ah,{title:E(n.noDataText)},null)),gt(f1,{ref:y,renderless:!0,items:x.value},{default:re=>{var ye;let{item:ie,index:oe,itemRef:ue}=re;const ce=qr(ie.props,{ref:ue,key:oe,active:C.value&&oe===0?!0:void 0,onClick:()=>G(ie)});return((ye=r.item)==null?void 0:ye.call(r,{item:ie,index:oe,props:ce}))??gt(ah,ce,{prepend:de=>{let{isSelected:me}=de;return gt($r,null,[n.multiple&&!n.hideSelected?gt(f0,{key:ie.value,modelValue:me,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&>(ja,{icon:ie.props.prependIcon},null)])},title:()=>{var de,me;return m.value?ie.title:kV(ie.title,(de=S(ie))==null?void 0:de.title,((me=f.value)==null?void 0:me.length)??0)}})}}),(Q=r["append-item"])==null?void 0:Q.call(r)]}})]}),p.value.map((Z,X)=>{var ie;function Q(oe){oe.stopPropagation(),oe.preventDefault(),G(Z)}const re={"onClick:close":Q,onMousedown(oe){oe.preventDefault(),oe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:Z.value,class:["v-autocomplete__selection",X===g.value&&["v-autocomplete__selection--selected",s.value]],style:X===g.value?c.value:{}},[q?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:Z.title}}},{default:()=>{var oe;return[(oe=r.chip)==null?void 0:oe.call(r,{item:Z,index:X,props:re})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:Z.title},re),null):((ie=r.selection)==null?void 0:ie.call(r,{item:Z,index:X}))??gt("span",{class:"v-autocomplete__selection-text"},[Z.title,n.multiple&&X(n.floating?n.dot?2:4:n.dot?8:12)+(["top","bottom"].includes(i)?+(n.offsetY??0):["left","right"].includes(i)?+(n.offsetX??0):0));return Rr(()=>{const i=Number(n.content),M=!n.max||isNaN(i)?n.content:i<=+n.max?i:`${n.max}+`,[g,h]=Yd(e.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return gt(n.tag,qr({class:["v-badge",{"v-badge--bordered":n.bordered,"v-badge--dot":n.dot,"v-badge--floating":n.floating,"v-badge--inline":n.inline},n.class]},h,{style:n.style}),{default:()=>{var l,a;return[gt("div",{class:"v-badge__wrapper"},[(a=(l=e.slots).default)==null?void 0:a.call(l),gt(Oc,{transition:n.transition},{default:()=>{var u,o;return[Co(gt("span",qr({class:["v-badge__badge",d.value,r.value,z.value,m.value],style:[E.value,t.value,n.inline?{}:y.value],"aria-atomic":"true","aria-label":k(n.label,i),"aria-live":"polite",role:"status"},g),[n.dot?void 0:e.slots.badge?(o=(u=e.slots).badge)==null?void 0:o.call(u):n.icon?gt(ja,{icon:n.icon},null):M]),[[kf,n.modelValue]])]}})])]}})}),{}}});const EV=ur({color:String,density:String,...Yr()},"VBannerActions"),DA=Ar()({name:"VBannerActions",props:EV(),setup(n,e){let{slots:r}=e;return ns({VBtn:{color:n.color,density:n.density,variant:"text"}}),Rr(()=>{var E;return gt("div",{class:["v-banner-actions",n.class],style:n.style},[(E=r.default)==null?void 0:E.call(r)])}),{}}}),zA=Bc("v-banner-text"),LV=ur({avatar:String,color:String,icon:bi,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Su(),...Yr(),...ps(),...ac(),...ds(),...ed(),...A0(),...lo(),...Ai(),...oa()},"VBanner"),IV=Ar()({name:"VBanner",props:LV(),setup(n,e){let{slots:r}=e;const{borderClasses:E}=sc(n),{densityClasses:z}=el(n),{mobile:k}=ep(),{dimensionStyles:m}=oc(n),{elevationClasses:t}=Vs(n),{locationStyles:d}=td(n),{positionClasses:y}=S0(n),{roundedClasses:i}=Eo(n),{themeClasses:M}=Ma(n),g=Cr(n,"color"),h=Cr(n,"density");ns({VBannerActions:{color:g,density:h}}),Rr(()=>{const l=!!(n.text||r.text),a=!!(n.avatar||n.icon),u=!!(a||r.prepend);return gt(n.tag,{class:["v-banner",{"v-banner--stacked":n.stacked||k.value,"v-banner--sticky":n.sticky,[`v-banner--${n.lines}-line`]:!!n.lines},E.value,z.value,t.value,y.value,i.value,M.value,n.class],style:[m.value,d.value,n.style],role:"banner"},{default:()=>{var o;return[u&>("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{color:g.value,density:h.value,icon:n.icon,image:n.avatar}}},r.prepend):gt(Zh,{key:"prepend-avatar",color:g.value,density:h.value,icon:n.icon,image:n.avatar},null)]),gt("div",{class:"v-banner__content"},[l&>(zA,{key:"text"},{default:()=>{var s;return[((s=r.text)==null?void 0:s.call(r))??n.text]}}),(o=r.default)==null?void 0:o.call(r)]),r.actions&>(DA,{key:"actions"},r.actions)]}})})}});const PV=ur({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:n=>!n||["horizontal","shift"].includes(n)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Su(),...Yr(),...ps(),...ds(),...lo(),...x0({name:"bottom-navigation"}),...Ai({tag:"header"}),...w0({modelValue:!0,selectedClass:"v-btn--selected"}),...oa()},"VBottomNavigation"),OV=Ar()({name:"VBottomNavigation",props:PV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:E}=L6(),{borderClasses:z}=sc(n),{backgroundColorClasses:k,backgroundColorStyles:m}=Ro(Cr(n,"bgColor")),{densityClasses:t}=el(n),{elevationClasses:d}=Vs(n),{roundedClasses:y}=Eo(n),{ssrBootStyles:i}=tp(),M=cn(()=>Number(n.height)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0)),g=Cr(n,"active"),{layoutItemStyles:h}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:cn(()=>g.value?M.value:0),elementSize:M,active:g,absolute:Cr(n,"absolute")});return ip(n,f_),ns({VBtn:{color:Cr(n,"color"),density:Cr(n,"density"),stacked:cn(()=>n.mode!=="horizontal"),variant:"text"}},{scoped:!0}),Rr(()=>gt(n.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":g.value,"v-bottom-navigation--grow":n.grow,"v-bottom-navigation--shift":n.mode==="shift"},E.value,k.value,z.value,t.value,d.value,y.value,n.class],style:[m.value,h.value,{height:Qr(M.value),transform:`translateY(${Qr(g.value?0:100,"%")})`},i.value,n.style]},{default:()=>[r.default&>("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}});const RV=ur({divider:[Number,String],...Yr()},"VBreadcrumbsDivider"),FA=Ar()({name:"VBreadcrumbsDivider",props:RV(),setup(n,e){let{slots:r}=e;return Rr(()=>{var E;return gt("li",{class:["v-breadcrumbs-divider",n.class],style:n.style},[((E=r==null?void 0:r.default)==null?void 0:E.call(r))??n.divider])}),{}}}),DV=ur({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Yr(),...lg(),...Ai({tag:"li"})},"VBreadcrumbsItem"),BA=Ar()({name:"VBreadcrumbsItem",props:DV(),setup(n,e){let{slots:r,attrs:E}=e;const z=sg(n,E),k=cn(()=>{var y;return n.active||((y=z.isActive)==null?void 0:y.value)}),m=cn(()=>k.value?n.activeColor:n.color),{textColorClasses:t,textColorStyles:d}=Ks(m);return Rr(()=>gt(n.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":k.value,"v-breadcrumbs-item--disabled":n.disabled,[`${n.activeClass}`]:k.value&&n.activeClass},t.value,n.class],style:[d.value,n.style],"aria-current":k.value?"page":void 0},{default:()=>{var y,i;return[z.isLink.value?gt("a",{class:"v-breadcrumbs-item--link",href:z.href.value,"aria-current":k.value?"page":void 0,onClick:z.navigate},[((i=r.default)==null?void 0:i.call(r))??n.title]):((y=r.default)==null?void 0:y.call(r))??n.title]}})),{}}}),zV=ur({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:bi,items:{type:Array,default:()=>[]},...Yr(),...ps(),...lo(),...Ai({tag:"ul"})},"VBreadcrumbs"),FV=Ar()({name:"VBreadcrumbs",props:zV(),setup(n,e){let{slots:r}=e;const{backgroundColorClasses:E,backgroundColorStyles:z}=Ro(Cr(n,"bgColor")),{densityClasses:k}=el(n),{roundedClasses:m}=Eo(n);ns({VBreadcrumbsDivider:{divider:Cr(n,"divider")},VBreadcrumbsItem:{activeClass:Cr(n,"activeClass"),activeColor:Cr(n,"activeColor"),color:Cr(n,"color"),disabled:Cr(n,"disabled")}});const t=cn(()=>n.items.map(d=>typeof d=="string"?{item:{title:d},raw:d}:{item:d,raw:d}));return Rr(()=>{const d=!!(r.prepend||n.icon);return gt(n.tag,{class:["v-breadcrumbs",E.value,k.value,m.value,n.class],style:[z.value,n.style]},{default:()=>{var y;return[d&>("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.icon,defaults:{VIcon:{icon:n.icon,start:!0}}},r.prepend):gt(ja,{key:"prepend-icon",start:!0,icon:n.icon},null)]),t.value.map((i,M,g)=>{let{item:h,raw:l}=i;return gt($r,null,[gt(BA,qr({key:h.title,disabled:M>=g.length-1},h),{default:r.title?()=>{var a;return(a=r.title)==null?void 0:a.call(r,{item:l,index:M})}:void 0}),M{var a;return(a=r.divider)==null?void 0:a.call(r,{item:l,index:M})}:void 0})])}),(y=r.default)==null?void 0:y.call(r)]}})}),{}}});const NA=Ar()({name:"VCardActions",props:Yr(),setup(n,e){let{slots:r}=e;return ns({VBtn:{variant:"text"}}),Rr(()=>{var E;return gt("div",{class:["v-card-actions",n.class],style:n.style},[(E=r.default)==null?void 0:E.call(r)])}),{}}}),VA=Bc("v-card-subtitle"),jA=Bc("v-card-title"),BV=ur({appendAvatar:String,appendIcon:bi,prependAvatar:String,prependIcon:bi,subtitle:String,title:String,...Yr(),...ps()},"VCardItem"),UA=Ar()({name:"VCardItem",props:BV(),setup(n,e){let{slots:r}=e;return Rr(()=>{var y;const E=!!(n.prependAvatar||n.prependIcon),z=!!(E||r.prepend),k=!!(n.appendAvatar||n.appendIcon),m=!!(k||r.append),t=!!(n.title||r.title),d=!!(n.subtitle||r.subtitle);return gt("div",{class:["v-card-item",n.class],style:n.style},[z&>("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!E,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},r.prepend):E&>(Zh,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),gt("div",{class:"v-card-item__content"},[t&>(jA,{key:"title"},{default:()=>{var i;return[((i=r.title)==null?void 0:i.call(r))??n.title]}}),d&>(VA,{key:"subtitle"},{default:()=>{var i;return[((i=r.subtitle)==null?void 0:i.call(r))??n.subtitle]}}),(y=r.default)==null?void 0:y.call(r)]),m&>("div",{key:"append",class:"v-card-item__append"},[r.append?gt(Fa,{key:"append-defaults",disabled:!k,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},r.append):k&>(Zh,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),HA=Bc("v-card-text"),NV=ur({appendAvatar:String,appendIcon:bi,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Su(),...Yr(),...ps(),...ac(),...ds(),...m_(),...ed(),...A0(),...lo(),...lg(),...Ai(),...oa(),...lc({variant:"elevated"})},"VCard"),VV=Ar()({name:"VCard",directives:{Ripple:nd},props:NV(),setup(n,e){let{attrs:r,slots:E}=e;const{themeClasses:z}=Ma(n),{borderClasses:k}=sc(n),{colorClasses:m,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:y}=el(n),{dimensionStyles:i}=oc(n),{elevationClasses:M}=Vs(n),{loaderClasses:g}=t1(n),{locationStyles:h}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),u=sg(n,r),o=cn(()=>n.link!==!1&&u.isLink.value),s=cn(()=>!n.disabled&&n.link!==!1&&(n.link||u.isClickable.value));return Rr(()=>{const c=o.value?"a":n.tag,f=!!(E.title||n.title),p=!!(E.subtitle||n.subtitle),w=f||p,v=!!(E.append||n.appendAvatar||n.appendIcon),S=!!(E.prepend||n.prependAvatar||n.prependIcon),x=!!(E.image||n.image),T=w||S||v,C=!!(E.text||n.text);return Co(gt(c,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":s.value},z.value,k.value,m.value,y.value,M.value,g.value,l.value,a.value,d.value,n.class],style:[t.value,i.value,h.value,n.style],href:u.href.value,onClick:s.value&&u.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var _;return[x&>("div",{key:"image",class:"v-card__image"},[E.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},E.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(g_,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:E.loader}),T&>(UA,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:E.item,prepend:E.prepend,title:E.title,subtitle:E.subtitle,append:E.append}),C&>(HA,{key:"text"},{default:()=>{var A;return[((A=E.text)==null?void 0:A.call(E))??n.text]}}),(_=E.default)==null?void 0:_.call(E),E.actions&>(NA,null,{default:E.actions}),np(s.value,"v-card")]}}),[[Tu("ripple"),s.value&&n.ripple]])}),{}}});const jV=n=>{const{touchstartX:e,touchendX:r,touchstartY:E,touchendY:z}=n,k=.5,m=16;n.offsetX=r-e,n.offsetY=z-E,Math.abs(n.offsetY)e+m&&n.right(n)),Math.abs(n.offsetX)E+m&&n.down(n))};function UV(n,e){var E;const r=n.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,(E=e.start)==null||E.call(e,{originalEvent:n,...e})}function HV(n,e){var E;const r=n.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,(E=e.end)==null||E.call(e,{originalEvent:n,...e}),jV(e)}function GV(n,e){var E;const r=n.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,(E=e.move)==null||E.call(e,{originalEvent:n,...e})}function qV(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:n.left,right:n.right,up:n.up,down:n.down,start:n.start,move:n.move,end:n.end};return{touchstart:r=>UV(r,e),touchend:r=>HV(r,e),touchmove:r=>GV(r,e)}}function WV(n,e){var t;const r=e.value,E=r!=null&&r.parent?n.parentElement:n,z=(r==null?void 0:r.options)??{passive:!0},k=(t=e.instance)==null?void 0:t.$.uid;if(!E||!k)return;const m=qV(e.value);E._touchHandlers=E._touchHandlers??Object.create(null),E._touchHandlers[k]=m,l6(m).forEach(d=>{E.addEventListener(d,m[d],z)})}function $V(n,e){var k,m;const r=(k=e.value)!=null&&k.parent?n.parentElement:n,E=(m=e.instance)==null?void 0:m.$.uid;if(!(r!=null&&r._touchHandlers)||!E)return;const z=r._touchHandlers[E];l6(z).forEach(t=>{r.removeEventListener(t,z[t])}),delete r._touchHandlers[E]}const M_={mounted:WV,unmounted:$V},GA=Symbol.for("vuetify:v-window"),qA=Symbol.for("vuetify:v-window-group"),WA=ur({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||n==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...Yr(),...Ai(),...oa()},"VWindow"),Sx=Ar()({name:"VWindow",directives:{Touch:M_},props:WA(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{isRtl:z}=Ls(),{t:k}=ic(),m=ip(n,qA),t=Vr(),d=cn(()=>z.value?!n.reverse:n.reverse),y=Wr(!1),i=cn(()=>{const f=n.direction==="vertical"?"y":"x",w=(d.value?!y.value:y.value)?"-reverse":"";return`v-window-${f}${w}-transition`}),M=Wr(0),g=Vr(void 0),h=cn(()=>m.items.value.findIndex(f=>m.selected.value.includes(f.id)));Xr(h,(f,p)=>{const w=m.items.value.length,v=w-1;w<=2?y.value=fn.continuous||h.value!==0),a=cn(()=>n.continuous||h.value!==m.items.value.length-1);function u(){l.value&&m.prev()}function o(){a.value&&m.next()}const s=cn(()=>{const f=[],p={icon:z.value?n.nextIcon:n.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:m.prev,ariaLabel:k("$vuetify.carousel.prev")};f.push(l.value?r.prev?r.prev({props:p}):gt(wl,p,null):gt("div",null,null));const w={icon:z.value?n.prevIcon:n.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:m.next,ariaLabel:k("$vuetify.carousel.next")};return f.push(a.value?r.next?r.next({props:w}):gt(wl,w,null):gt("div",null,null)),f}),c=cn(()=>n.touch===!1?n.touch:{...{left:()=>{d.value?u():o()},right:()=>{d.value?o():u()},start:p=>{let{originalEvent:w}=p;w.stopPropagation()}},...n.touch===!0?{}:n.touch});return Rr(()=>Co(gt(n.tag,{ref:t,class:["v-window",{"v-window--show-arrows-on-hover":n.showArrows==="hover"},E.value,n.class],style:n.style},{default:()=>{var f,p;return[gt("div",{class:"v-window__container",style:{height:g.value}},[(f=r.default)==null?void 0:f.call(r,{group:m}),n.showArrows!==!1&>("div",{class:"v-window__controls"},[s.value])]),(p=r.additional)==null?void 0:p.call(r,{group:m})]}}),[[Tu("touch"),c.value]])),{group:m}}}),YV=ur({color:String,cycle:Boolean,delimiterIcon:{type:bi,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:n=>Number(n)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...WA({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),ZV=Ar()({name:"VCarousel",props:YV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{t:z}=ic(),k=Vr();let m=-1;Xr(E,d),Xr(()=>n.interval,d),Xr(()=>n.cycle,y=>{y?d():window.clearTimeout(m)}),Js(t);function t(){!n.cycle||!k.value||(m=window.setTimeout(k.value.group.next,+n.interval>0?+n.interval:6e3))}function d(){window.clearTimeout(m),window.requestAnimationFrame(t)}return Rr(()=>{const[y]=Sx.filterProps(n);return gt(Sx,qr({ref:k},y,{modelValue:E.value,"onUpdate:modelValue":i=>E.value=i,class:["v-carousel",{"v-carousel--hide-delimiter-background":n.hideDelimiterBackground,"v-carousel--vertical-delimiters":n.verticalDelimiters},n.class],style:[{height:Qr(n.height)},n.style]}),{default:r.default,additional:i=>{let{group:M}=i;return gt($r,null,[!n.hideDelimiters&>("div",{class:"v-carousel__controls",style:{left:n.verticalDelimiters==="left"&&n.verticalDelimiters?0:"auto",right:n.verticalDelimiters==="right"?0:"auto"}},[M.items.value.length>0&>(Fa,{defaults:{VBtn:{color:n.color,icon:n.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[M.items.value.map((g,h)=>{const l={id:`carousel-item-${g.id}`,"aria-label":z("$vuetify.carousel.ariaLabel.delimiter",h+1,M.items.value.length),class:[M.isSelected(g.id)&&"v-btn--active"],onClick:()=>M.select(g.id,!0)};return r.item?r.item({props:l,item:g}):gt(wl,qr(g,l),null)})]})]),n.progress&>(p_,{class:"v-carousel__progress",color:typeof n.progress=="string"?n.progress:void 0,modelValue:(M.getItemIndex(E.value)+1)/M.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),$A=ur({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Yr(),...T0(),...o1()},"VWindowItem"),Cx=Ar()({name:"VWindowItem",directives:{Touch:M_},props:$A(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const E=ka(GA),z=k0(n,qA),{isBooted:k}=tp();if(!E||!z)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const m=Wr(!1),t=cn(()=>k.value&&(E.isReversed.value?n.reverseTransition!==!1:n.transition!==!1));function d(){!m.value||!E||(m.value=!1,E.transitionCount.value>0&&(E.transitionCount.value-=1,E.transitionCount.value===0&&(E.transitionHeight.value=void 0)))}function y(){var l;m.value||!E||(m.value=!0,E.transitionCount.value===0&&(E.transitionHeight.value=Qr((l=E.rootRef.value)==null?void 0:l.clientHeight)),E.transitionCount.value+=1)}function i(){d()}function M(l){m.value&&Ua(()=>{!t.value||!m.value||!E||(E.transitionHeight.value=Qr(l.clientHeight))})}const g=cn(()=>{const l=E.isReversed.value?n.reverseTransition:n.transition;return t.value?{name:typeof l!="string"?E.transition.value:l,onBeforeEnter:y,onAfterEnter:d,onEnterCancelled:i,onBeforeLeave:y,onAfterLeave:d,onLeaveCancelled:i,onEnter:M}:!1}),{hasContent:h}=__(n,z.isSelected);return Rr(()=>gt(Oc,{transition:g.value,disabled:!k.value},{default:()=>{var l;return[Co(gt("div",{class:["v-window-item",z.selectedClass.value,n.class],style:n.style},[h.value&&((l=r.default)==null?void 0:l.call(r))]),[[kf,z.isSelected.value]])]}})),{groupItem:z}}}),XV=ur({...U6(),...$A()},"VCarouselItem"),KV=Ar()({name:"VCarouselItem",inheritAttrs:!1,props:XV(),setup(n,e){let{slots:r,attrs:E}=e;Rr(()=>{const[z]=Zd.filterProps(n),[k]=Cx.filterProps(n);return gt(Cx,qr({class:"v-carousel-item"},k),{default:()=>[gt(Zd,qr(E,z),r)]})})}});const JV=Bc("v-code");const QV=ur({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Yr()},"VColorPickerCanvas"),ej=rc({name:"VColorPickerCanvas",props:QV(),emits:{"update:color":n=>!0,"update:position":n=>!0},setup(n,e){let{emit:r}=e;const E=Wr(!1),z=Vr(),k=Wr(parseFloat(n.width)),m=Wr(parseFloat(n.height)),t=Vr({x:0,y:0}),d=cn({get:()=>t.value,set(u){var c,f;if(!z.value)return;const{x:o,y:s}=u;r("update:color",{h:((c=n.color)==null?void 0:c.h)??0,s:Xs(o,0,k.value)/k.value,v:1-Xs(s,0,m.value)/m.value,a:((f=n.color)==null?void 0:f.a)??1})}}),y=cn(()=>{const{x:u,y:o}=d.value,s=parseInt(n.dotSize,10)/2;return{width:Qr(n.dotSize),height:Qr(n.dotSize),transform:`translate(${Qr(u-s)}, ${Qr(o-s)})`}}),{resizeRef:i}=Tf(u=>{var c;if(!((c=i.value)!=null&&c.offsetParent))return;const{width:o,height:s}=u[0].contentRect;k.value=o,m.value=s});function M(u,o,s){const{left:c,top:f,width:p,height:w}=s;d.value={x:Xs(u-c,0,p),y:Xs(o-f,0,w)}}function g(u){u.type==="mousedown"&&u.preventDefault(),!n.disabled&&(h(u),window.addEventListener("mousemove",h),window.addEventListener("mouseup",l),window.addEventListener("touchmove",h),window.addEventListener("touchend",l))}function h(u){if(n.disabled||!z.value)return;E.value=!0;const o=Zz(u);M(o.clientX,o.clientY,z.value.getBoundingClientRect())}function l(){window.removeEventListener("mousemove",h),window.removeEventListener("mouseup",l),window.removeEventListener("touchmove",h),window.removeEventListener("touchend",l)}function a(){var f;if(!z.value)return;const u=z.value,o=u.getContext("2d");if(!o)return;const s=o.createLinearGradient(0,0,u.width,0);s.addColorStop(0,"hsla(0, 0%, 100%, 1)"),s.addColorStop(1,`hsla(${((f=n.color)==null?void 0:f.h)??0}, 100%, 50%, 1)`),o.fillStyle=s,o.fillRect(0,0,u.width,u.height);const c=o.createLinearGradient(0,0,0,u.height);c.addColorStop(0,"hsla(0, 0%, 100%, 0)"),c.addColorStop(1,"hsla(0, 0%, 0%, 1)"),o.fillStyle=c,o.fillRect(0,0,u.width,u.height)}return Xr(()=>{var u;return(u=n.color)==null?void 0:u.h},a,{immediate:!0}),Xr(()=>[k.value,m.value],(u,o)=>{a(),t.value={x:d.value.x*u[0]/o[0],y:d.value.y*u[1]/o[1]}},{flush:"post"}),Xr(()=>n.color,()=>{if(E.value){E.value=!1;return}t.value=n.color?{x:n.color.s*k.value,y:(1-n.color.v)*m.value}:{x:0,y:0}},{deep:!0,immediate:!0}),Js(()=>a()),Rr(()=>gt("div",{ref:i,class:["v-color-picker-canvas",n.class],style:n.style,onMousedown:g,onTouchstartPassive:g},[gt("canvas",{ref:z,width:k.value,height:m.value},null),n.color&>("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":n.disabled}],style:y.value},null)])),{}}});function tj(n,e){if(e){const{a:r,...E}=n;return E}return n}function nj(n,e){if(e==null||typeof e=="string"){const r=T6(n);return n.a===1?r.slice(0,7):r}if(typeof e=="object"){let r;return Rd(e,["r","g","b"])?r=ih(n):Rd(e,["h","s","l"])?r=y6(n):Rd(e,["h","s","v"])&&(r=n),tj(r,!Rd(e,["a"])&&n.a===1)}return n}const bm={h:0,s:0,v:1,a:1},Ex={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:n=>Math.round(n.r),getColor:(n,e)=>({...n,r:Number(e)})},{label:"G",max:255,step:1,getValue:n=>Math.round(n.g),getColor:(n,e)=>({...n,g:Number(e)})},{label:"B",max:255,step:1,getValue:n=>Math.round(n.b),getColor:(n,e)=>({...n,b:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:ih,from:Xy};var dT;const rj={...Ex,inputs:(dT=Ex.inputs)==null?void 0:dT.slice(0,3)},Lx={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:n=>Math.round(n.h),getColor:(n,e)=>({...n,h:Number(e)})},{label:"S",max:1,step:.01,getValue:n=>Math.round(n.s*100)/100,getColor:(n,e)=>({...n,s:Number(e)})},{label:"L",max:1,step:.01,getValue:n=>Math.round(n.l*100)/100,getColor:(n,e)=>({...n,l:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:y6,from:e_},ij={...Lx,inputs:Lx.inputs.slice(0,3)},YA={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:n=>n,getColor:(n,e)=>e}],to:T6,from:pF},aj={...YA,inputs:[{label:"HEX",getValue:n=>n.slice(0,7),getColor:(n,e)=>e}]},Hd={rgb:rj,rgba:Ex,hsl:ij,hsla:Lx,hex:aj,hexa:YA},oj=n=>{let{label:e,...r}=n;return gt("div",{class:"v-color-picker-edit__input"},[gt("input",r,null),gt("span",null,[e])])},sj=ur({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},...Yr()},"VColorPickerEdit"),lj=rc({name:"VColorPickerEdit",props:sj(),emits:{"update:color":n=>!0,"update:mode":n=>!0},setup(n,e){let{emit:r}=e;const E=cn(()=>n.modes.map(k=>({...Hd[k],name:k}))),z=cn(()=>{var t;const k=E.value.find(d=>d.name===n.mode);if(!k)return[];const m=n.color?k.to(n.color):null;return(t=k.inputs)==null?void 0:t.map(d=>{let{getValue:y,getColor:i,...M}=d;return{...k.inputProps,...M,disabled:n.disabled,value:m&&y(m),onChange:g=>{const h=g.target;h&&r("update:color",k.from(i(m??bm,h.value)))}}})});return Rr(()=>{var k;return gt("div",{class:["v-color-picker-edit",n.class],style:n.style},[(k=z.value)==null?void 0:k.map(m=>gt(oj,m,null)),E.value.length>1&>(wl,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const m=E.value.findIndex(t=>t.name===n.mode);r("update:mode",E.value[(m+1)%E.value.length].name)}},null)])}),{}}});const A_=Symbol.for("vuetify:v-slider");function Ix(n,e,r){const E=r==="vertical",z=e.getBoundingClientRect(),k="touches"in n?n.touches[0]:n;return E?k.clientY-(z.top+z.height/2):k.clientX-(z.left+z.width/2)}function uj(n,e){return"touches"in n&&n.touches.length?n.touches[0][e]:"changedTouches"in n&&n.changedTouches.length?n.changedTouches[0][e]:n[e]}const ZA=ur({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:n=>typeof n=="boolean"||n==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:n=>typeof n=="boolean"||n==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:n=>["vertical","horizontal"].includes(n)},reverse:Boolean,...lo(),...ds({elevation:2})},"Slider"),XA=n=>{const e=cn(()=>parseFloat(n.min)),r=cn(()=>parseFloat(n.max)),E=cn(()=>+n.step>0?parseFloat(n.step):0),z=cn(()=>Math.max(x5(E.value),x5(e.value)));function k(m){if(m=parseFloat(m),E.value<=0)return m;const t=Xs(m,e.value,r.value),d=e.value%E.value,y=Math.round((t-d)/E.value)*E.value+d;return parseFloat(Math.min(y,r.value).toFixed(z.value))}return{min:e,max:r,step:E,decimals:z,roundValue:k}},KA=n=>{let{props:e,steps:r,onSliderStart:E,onSliderMove:z,onSliderEnd:k,getActiveThumb:m}=n;const{isRtl:t}=Ls(),d=Cr(e,"reverse"),y=cn(()=>{let U=t.value?"rtl":"ltr";return e.reverse&&(U=U==="rtl"?"ltr":"rtl"),U}),{min:i,max:M,step:g,decimals:h,roundValue:l}=r,a=cn(()=>parseInt(e.thumbSize,10)),u=cn(()=>parseInt(e.tickSize,10)),o=cn(()=>parseInt(e.trackSize,10)),s=cn(()=>(M.value-i.value)/g.value),c=Cr(e,"disabled"),f=cn(()=>e.direction==="vertical"),p=cn(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),w=cn(()=>e.error||e.disabled?void 0:e.trackColor??e.color),v=cn(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),S=Wr(!1),x=Wr(0),T=Vr(),C=Vr();function _(U){var re;const G=e.direction==="vertical",q=G?"top":"left",H=G?"height":"width",ne=G?"clientY":"clientX",{[q]:te,[H]:Z}=(re=T.value)==null?void 0:re.$el.getBoundingClientRect(),X=uj(U,ne);let Q=Math.min(Math.max((X-te-x.value)/Z,0),1)||0;return(G||y.value==="rtl")&&(Q=1-Q),l(i.value+Q*(M.value-i.value))}const A=U=>{k({value:_(U)}),S.value=!1,x.value=0},L=U=>{C.value=m(U),C.value&&(C.value.focus(),S.value=!0,C.value.contains(U.target)?x.value=Ix(U,C.value,e.direction):(x.value=0,z({value:_(U)})),E({value:_(U)}))},b={passive:!0,capture:!0};function P(U){z({value:_(U)})}function I(U){U.stopPropagation(),U.preventDefault(),A(U),window.removeEventListener("mousemove",P,b),window.removeEventListener("mouseup",I)}function R(U){var G;A(U),window.removeEventListener("touchmove",P,b),(G=U.target)==null||G.removeEventListener("touchend",R)}function D(U){var G;L(U),window.addEventListener("touchmove",P,b),(G=U.target)==null||G.addEventListener("touchend",R,{passive:!1})}function F(U){U.preventDefault(),L(U),window.addEventListener("mousemove",P,b),window.addEventListener("mouseup",I,{passive:!1})}const B=U=>{const G=(U-i.value)/(M.value-i.value)*100;return Xs(isNaN(G)?0:G,0,100)},N=Cr(e,"showTicks"),W=cn(()=>N.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(U=>({value:U,position:B(U),label:U.toString()})):Object.keys(e.ticks).map(U=>({value:parseFloat(U),position:B(parseFloat(U)),label:e.ticks[U]})):s.value!==1/0?Jf(s.value+1).map(U=>{const G=i.value+U*g.value;return{value:G,position:B(G)}}):[]:[]),j=cn(()=>W.value.some(U=>{let{label:G}=U;return!!G})),Y={activeThumbRef:C,color:Cr(e,"color"),decimals:h,disabled:c,direction:Cr(e,"direction"),elevation:Cr(e,"elevation"),hasLabels:j,horizontalDirection:y,isReversed:d,min:i,max:M,mousePressed:S,numTicks:s,onSliderMousedown:F,onSliderTouchstart:D,parsedTicks:W,parseMouseMove:_,position:B,readonly:Cr(e,"readonly"),rounded:Cr(e,"rounded"),roundValue:l,showTicks:N,startOffset:x,step:g,thumbSize:a,thumbColor:p,thumbLabel:Cr(e,"thumbLabel"),ticks:Cr(e,"ticks"),tickSize:u,trackColor:w,trackContainerRef:T,trackFillColor:v,trackSize:o,vertical:f};return rs(A_,Y),Y},cj=ur({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...Yr()},"VSliderThumb"),Px=Ar()({name:"VSliderThumb",directives:{Ripple:nd},props:cj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r,emit:E}=e;const z=ka(A_),{rtlClasses:k}=Ls();if(!z)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:m,step:t,vertical:d,disabled:y,thumbSize:i,thumbLabel:M,direction:g,readonly:h,elevation:l,isReversed:a,horizontalDirection:u,mousePressed:o,decimals:s}=z,{textColorClasses:c,textColorStyles:f}=Ks(m),{pageup:p,pagedown:w,end:v,home:S,left:x,right:T,down:C,up:_}=sx,A=[p,w,v,S,x,T,C,_],L=cn(()=>t.value?[1,2,3]:[1,5,10]);function b(I,R){if(!A.includes(I.key))return;I.preventDefault();const D=t.value||.1,F=(n.max-n.min)/D;if([x,T,C,_].includes(I.key)){const N=(u.value==="rtl"?[x,_]:[T,_]).includes(I.key)?1:-1,W=I.shiftKey?2:I.ctrlKey?1:0;R=R+N*D*L.value[W]}else if(I.key===S)R=n.min;else if(I.key===v)R=n.max;else{const B=I.key===w?1:-1;R=R-B*D*(F>100?F/10:10)}return Math.max(n.min,Math.min(n.max,R))}function P(I){const R=b(I,n.modelValue);R!=null&&E("update:modelValue",R)}return Rr(()=>{const I=Qr(d.value||a.value?100-n.position:n.position,"%"),{elevationClasses:R}=Vs(cn(()=>y.value?void 0:l.value));return gt("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":n.focused,"v-slider-thumb--pressed":n.focused&&o.value},n.class,k.value],style:[{"--v-slider-thumb-position":I,"--v-slider-thumb-size":Qr(i.value)},n.style],role:"slider",tabindex:y.value?-1:0,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,"aria-readonly":!!h.value,"aria-orientation":g.value,onKeydown:h.value?void 0:P},[gt("div",{class:["v-slider-thumb__surface",c.value,R.value],style:{...f.value}},null),Co(gt("div",{class:["v-slider-thumb__ripple",c.value],style:f.value},null),[[Tu("ripple"),n.ripple,null,{circle:!0,center:!0}]]),gt(s_,{origin:"bottom center"},{default:()=>{var D;return[Co(gt("div",{class:"v-slider-thumb__label-container"},[gt("div",{class:["v-slider-thumb__label"]},[gt("div",null,[((D=r["thumb-label"])==null?void 0:D.call(r,{modelValue:n.modelValue}))??n.modelValue.toFixed(t.value?s.value:1)])])]),[[kf,M.value&&n.focused||M.value==="always"]])]}})])}),{}}});const fj=ur({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Yr()},"VSliderTrack"),JA=Ar()({name:"VSliderTrack",props:fj(),emits:{},setup(n,e){let{slots:r}=e;const E=ka(A_);if(!E)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:z,horizontalDirection:k,parsedTicks:m,rounded:t,showTicks:d,tickSize:y,trackColor:i,trackFillColor:M,trackSize:g,vertical:h,min:l,max:a}=E,{roundedClasses:u}=Eo(t),{backgroundColorClasses:o,backgroundColorStyles:s}=Ro(M),{backgroundColorClasses:c,backgroundColorStyles:f}=Ro(i),p=cn(()=>`inset-${h.value?"block-end":"inline-start"}`),w=cn(()=>h.value?"height":"width"),v=cn(()=>({[p.value]:"0%",[w.value]:"100%"})),S=cn(()=>n.stop-n.start),x=cn(()=>({[p.value]:Qr(n.start,"%"),[w.value]:Qr(S.value,"%")})),T=cn(()=>d.value?(h.value?m.value.slice().reverse():m.value).map((_,A)=>{var P;const L=h.value?"bottom":"margin-inline-start",b=_.value!==l.value&&_.value!==a.value?Qr(_.position,"%"):void 0;return gt("div",{key:_.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":_.position>=n.start&&_.position<=n.stop,"v-slider-track__tick--first":_.value===l.value,"v-slider-track__tick--last":_.value===a.value}],style:{[L]:b}},[(_.label||r["tick-label"])&>("div",{class:"v-slider-track__tick-label"},[((P=r["tick-label"])==null?void 0:P.call(r,{tick:_,index:A}))??_.label])])}):[]);return Rr(()=>gt("div",{class:["v-slider-track",u.value,n.class],style:[{"--v-slider-track-size":Qr(g.value),"--v-slider-tick-size":Qr(y.value),direction:h.value?void 0:k.value},n.style]},[gt("div",{class:["v-slider-track__background",c.value,{"v-slider-track__background--opacity":!!z.value||!M.value}],style:{...v.value,...f.value}},null),gt("div",{class:["v-slider-track__fill",o.value],style:{...x.value,...s.value}},null),d.value&>("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":d.value==="always"}]},[T.value])])),{}}}),hj=ur({...r1(),...ZA(),...mh(),modelValue:{type:[Number,String],default:0}},"VSlider"),Ox=Ar()({name:"VSlider",props:hj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,start:n=>!0,end:n=>!0},setup(n,e){let{slots:r,emit:E}=e;const z=Vr(),{rtlClasses:k}=Ls(),m=XA(n),t=xi(n,"modelValue",void 0,w=>m.roundValue(w??m.min.value)),{min:d,max:y,mousePressed:i,roundValue:M,onSliderMousedown:g,onSliderTouchstart:h,trackContainerRef:l,position:a,hasLabels:u,readonly:o}=KA({props:n,steps:m,onSliderStart:()=>{E("start",t.value)},onSliderEnd:w=>{let{value:v}=w;const S=M(v);t.value=S,E("end",S)},onSliderMove:w=>{let{value:v}=w;return t.value=M(v)},getActiveThumb:()=>{var w;return(w=z.value)==null?void 0:w.$el}}),{isFocused:s,focus:c,blur:f}=rd(n),p=cn(()=>a(t.value));return Rr(()=>{const[w,v]=Ns.filterProps(n),S=!!(n.label||r.label||r.prepend);return gt(Ns,qr({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||u.value,"v-slider--focused":s.value,"v-slider--pressed":i.value,"v-slider--disabled":n.disabled},k.value,n.class],style:n.style},w,{focused:s.value}),{...r,prepend:S?x=>{var T,C;return gt($r,null,[((T=r.label)==null?void 0:T.call(r,x))??n.label?gt(C0,{id:x.id.value,class:"v-slider__label",text:n.label},null):void 0,(C=r.prepend)==null?void 0:C.call(r,x)])}:void 0,default:x=>{let{id:T,messagesId:C}=x;return gt("div",{class:"v-slider__container",onMousedown:o.value?void 0:g,onTouchstartPassive:o.value?void 0:h},[gt("input",{id:T.value,name:n.name||T.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:t.value},null),gt(JA,{ref:l,start:0,stop:p.value},{"tick-label":r["tick-label"]}),gt(Px,{ref:z,"aria-describedby":C.value,focused:s.value,min:d.value,max:y.value,modelValue:t.value,"onUpdate:modelValue":_=>t.value=_,position:p.value,elevation:n.elevation,onFocus:c,onBlur:f},{"thumb-label":r["thumb-label"]})])}})}),{}}}),dj=ur({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...Yr()},"VColorPickerPreview"),pj=rc({name:"VColorPickerPreview",props:dj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Rr(()=>{var E,z;return gt("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":n.hideAlpha},n.class],style:n.style},[gt("div",{class:"v-color-picker-preview__dot"},[gt("div",{style:{background:x6(n.color??bm)}},null)]),gt("div",{class:"v-color-picker-preview__sliders"},[gt(Ox,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(E=n.color)==null?void 0:E.h,"onUpdate:modelValue":k=>r("update:color",{...n.color??bm,h:k}),step:0,min:0,max:360,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!n.hideAlpha&>(Ox,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((z=n.color)==null?void 0:z.a)??1,"onUpdate:modelValue":k=>r("update:color",{...n.color??bm,a:k}),step:1/256,min:0,max:1,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const mj=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),gj=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),vj=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),yj=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),bj=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),xj=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),_j=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),wj=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),Tj=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),kj=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),Mj=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),Aj=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),Sj=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Cj=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Ej=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Lj=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Ij=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Pj=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Oj=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Rj=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),Dj=Object.freeze({red:mj,pink:gj,purple:vj,deepPurple:yj,indigo:bj,blue:xj,lightBlue:_j,cyan:wj,teal:Tj,green:kj,lightGreen:Mj,lime:Aj,yellow:Sj,amber:Cj,orange:Ej,deepOrange:Lj,brown:Ij,blueGrey:Pj,grey:Oj,shades:Rj}),zj=ur({swatches:{type:Array,default:()=>Fj(Dj)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Yr()},"VColorPickerSwatches");function Fj(n){return Object.keys(n).map(e=>{const r=n[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const Bj=rc({name:"VColorPickerSwatches",props:zj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Rr(()=>gt("div",{class:["v-color-picker-swatches",n.class],style:[{maxHeight:Qr(n.maxHeight)},n.style]},[gt("div",null,[n.swatches.map(E=>gt("div",{class:"v-color-picker-swatches__swatch"},[E.map(z=>{const k=Pc(z),m=Xy(k),t=b6(k);return gt("div",{class:"v-color-picker-swatches__color",onClick:()=>m&&r("update:color",m)},[gt("div",{style:{background:t}},[n.color&&b0(n.color,m)?gt(ja,{size:"x-small",icon:"$success",color:yF(z,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const QA=ur({color:String,...Su(),...Yr(),...ac(),...ds(),...ed(),...A0(),...lo(),...Ai(),...oa()},"VSheet"),Rx=Ar()({name:"VSheet",props:QA(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{backgroundColorClasses:z,backgroundColorStyles:k}=Ro(Cr(n,"color")),{borderClasses:m}=sc(n),{dimensionStyles:t}=oc(n),{elevationClasses:d}=Vs(n),{locationStyles:y}=td(n),{positionClasses:i}=S0(n),{roundedClasses:M}=Eo(n);return Rr(()=>gt(n.tag,{class:["v-sheet",E.value,z.value,m.value,d.value,i.value,M.value,n.class],style:[k.value,t.value,y.value,n.style]},r)),{}}}),Nj=ur({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...nc(QA({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),Vj=rc({name:"VColorPicker",props:Nj(),emits:{"update:modelValue":n=>!0,"update:mode":n=>!0},setup(n){const e=xi(n,"mode"),r=Vr(null),E=xi(n,"modelValue",void 0,m=>{if(m==null||m==="")return null;let t;try{t=Xy(Pc(m))}catch{return null}return r.value&&(t={...t,h:r.value.h},r.value=null),t},m=>m?nj(m,n.modelValue):null),{rtlClasses:z}=Ls(),k=m=>{E.value=m,r.value=m};return Js(()=>{n.modes.includes(e.value)||(e.value=n.modes[0])}),ns({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),Rr(()=>{const[m]=Rx.filterProps(n);return gt(Rx,qr({rounded:n.rounded,elevation:n.elevation,theme:n.theme,class:["v-color-picker",z.value,n.class],style:[{"--v-color-picker-color-hsv":x6({...E.value??bm,a:1})},n.style]},m,{maxWidth:n.width}),{default:()=>[!n.hideCanvas&>(ej,{key:"canvas",color:E.value,"onUpdate:color":k,disabled:n.disabled,dotSize:n.dotSize,width:n.width,height:n.canvasHeight},null),(!n.hideSliders||!n.hideInputs)&>("div",{key:"controls",class:"v-color-picker__controls"},[!n.hideSliders&>(pj,{key:"preview",color:E.value,"onUpdate:color":k,hideAlpha:!e.value.endsWith("a"),disabled:n.disabled},null),!n.hideInputs&>(lj,{key:"edit",modes:n.modes,mode:e.value,"onUpdate:mode":t=>e.value=t,color:E.value,"onUpdate:color":k,disabled:n.disabled},null)]),n.showSwatches&>(Bj,{key:"swatches",color:E.value,"onUpdate:color":k,maxHeight:n.swatchesMaxHeight,swatches:n.swatches,disabled:n.disabled},null)]})}),{}}});function jj(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt($r,null,[gt("span",{class:"v-combobox__unmask"},[n.substr(0,e)]),gt("span",{class:"v-combobox__mask"},[n.substr(e,r)]),gt("span",{class:"v-combobox__unmask"},[n.substr(e+r)])]):n}const Uj=ur({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...OA({filterKeys:["title"]}),...k_({hideNoData:!0,returnObject:!0}),...nc(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...dh({transition:!1})},"VCombobox"),Hj=Ar()({name:"VCombobox",props:Uj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:search":n=>!0,"update:menu":n=>!0},setup(n,e){var q;let{emit:r,slots:E}=e;const{t:z}=ic(),k=Vr(),m=Wr(!1),t=Wr(!0),d=Wr(!1),y=Vr(),i=Vr(),M=xi(n,"menu"),g=cn({get:()=>M.value,set:H=>{var ne;M.value&&!H&&((ne=y.value)!=null&&ne.ฮจopenChildren)||(M.value=H)}}),h=Wr(-1);let l=!1;const a=cn(()=>{var H;return(H=k.value)==null?void 0:H.color}),u=cn(()=>g.value?n.closeText:n.openText),{items:o,transformIn:s,transformOut:c}=x_(n),{textColorClasses:f,textColorStyles:p}=Ks(a),w=xi(n,"modelValue",[],H=>s(bu(H)),H=>{const ne=c(H);return n.multiple?ne:ne[0]??null}),v=i1(),S=Wr(n.multiple?"":((q=w.value[0])==null?void 0:q.title)??""),x=cn({get:()=>S.value,set:H=>{var ne;if(S.value=H,n.multiple||(w.value=[zd(n,H)]),H&&n.multiple&&((ne=n.delimiters)!=null&&ne.length)){const te=H.split(new RegExp(`(?:${n.delimiters.join("|")})+`));te.length>1&&(te.forEach(Z=>{Z=Z.trim(),Z&&j(zd(n,Z))}),S.value="")}H||(h.value=-1),t.value=!H}});Xr(S,H=>{l?Ua(()=>l=!1):m.value&&!g.value&&(g.value=!0),r("update:search",H)}),Xr(w,H=>{var ne;n.multiple||(S.value=((ne=H[0])==null?void 0:ne.title)??"")});const{filteredItems:T,getMatches:C}=RA(n,o,()=>t.value?"":x.value),_=cn(()=>n.hideSelected?T.value.filter(H=>!w.value.some(ne=>ne.value===H.value)):T.value),A=cn(()=>w.value.map(H=>H.value)),L=cn(()=>{var ne;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&x.value===((ne=_.value[0])==null?void 0:ne.title))&&_.value.length>0&&!t.value&&!d.value}),b=cn(()=>n.hideNoData&&!o.value.length||n.readonly||(v==null?void 0:v.isReadonly.value)),P=Vr(),{onListScroll:I,onListKeydown:R}=T_(P,k);function D(H){l=!0,n.openOnClear&&(g.value=!0)}function F(){b.value||(g.value=!0)}function B(H){b.value||(m.value&&(H.preventDefault(),H.stopPropagation()),g.value=!g.value)}function N(H){var Z;if(n.readonly||v!=null&&v.isReadonly.value)return;const ne=k.value.selectionStart,te=w.value.length;if((h.value>-1||["Enter","ArrowDown","ArrowUp"].includes(H.key))&&H.preventDefault(),["Enter","ArrowDown"].includes(H.key)&&(g.value=!0),["Escape"].includes(H.key)&&(g.value=!1),["Enter","Escape","Tab"].includes(H.key)&&(L.value&&["Enter","Tab"].includes(H.key)&&j(T.value[0]),t.value=!0),H.key==="ArrowDown"&&L.value&&((Z=P.value)==null||Z.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(H.key)){if(h.value<0){H.key==="Backspace"&&!x.value&&(h.value=te-1);return}const X=h.value,Q=w.value[h.value];Q&&j(Q),h.value=X>=te-1?te-2:X}if(H.key==="ArrowLeft"){if(h.value<0&&ne>0)return;const X=h.value>-1?h.value-1:te-1;w.value[X]?h.value=X:(h.value=-1,k.value.setSelectionRange(x.value.length,x.value.length))}if(H.key==="ArrowRight"){if(h.value<0)return;const X=h.value+1;w.value[X]?h.value=X:(h.value=-1,k.value.setSelectionRange(0,0))}H.key==="Enter"&&x.value&&(j(zd(n,x.value)),x.value="")}}function W(){var H;m.value&&(t.value=!0,(H=k.value)==null||H.focus())}function j(H){if(n.multiple){const ne=w.value.findIndex(te=>n.valueComparator(te.value,H.value));if(ne===-1)w.value=[...w.value,H];else{const te=[...w.value];te.splice(ne,1),w.value=te}x.value=""}else w.value=[H],S.value=H.title,Ua(()=>{g.value=!1,t.value=!0})}function Y(H){m.value=!0,setTimeout(()=>{d.value=!0})}function U(H){d.value=!1}function G(H){(H==null||H===""&&!n.multiple)&&(w.value=[])}return Xr(T,H=>{!H.length&&n.hideNoData&&(g.value=!1)}),Xr(m,(H,ne)=>{H||H===ne||(h.value=-1,g.value=!1,L.value&&!d.value&&!w.value.some(te=>{let{value:Z}=te;return Z===_.value[0].value})?j(_.value[0]):n.multiple&&x.value&&(w.value=[...w.value,zd(n,x.value)],x.value=""))}),Xr(g,()=>{if(!n.hideSelected&&g.value&&w.value.length){const H=_.value.findIndex(ne=>w.value.some(te=>n.valueComparator(te.value,ne.value)));to&&window.requestAnimationFrame(()=>{var ne;H>=0&&((ne=i.value)==null||ne.scrollToIndex(H))})}}),Rr(()=>{const H=!!(n.chips||E.chip),ne=!!(!n.hideNoData||_.value.length||E["prepend-item"]||E["append-item"]||E["no-data"]),te=w.value.length>0,[Z]=Kd.filterProps(n);return gt(Kd,qr({ref:k},Z,{modelValue:x.value,"onUpdate:modelValue":[X=>x.value=X,G],focused:m.value,"onUpdate:focused":X=>m.value=X,validationValue:w.externalValue,dirty:te,class:["v-combobox",{"v-combobox--active-menu":g.value,"v-combobox--chips":!!n.chips,"v-combobox--selection-slot":!!E.selection,"v-combobox--selecting-index":h.value>-1,[`v-combobox--${n.multiple?"multiple":"single"}`]:!0},n.class],style:n.style,readonly:n.readonly,placeholder:te?void 0:n.placeholder,"onClick:clear":D,"onMousedown:control":F,onKeydown:N}),{...E,default:()=>gt($r,null,[gt(s1,qr({ref:y,modelValue:g.value,"onUpdate:modelValue":X=>g.value=X,activator:"parent",contentClass:"v-combobox__content",disabled:b.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:W},n.menuProps),{default:()=>[ne&>(a1,{ref:P,selected:A.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:X=>X.preventDefault(),onKeydown:R,onFocusin:Y,onFocusout:U,onScrollPassive:I,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var X,Q,re;return[(X=E["prepend-item"])==null?void 0:X.call(E),!_.value.length&&!n.hideNoData&&(((Q=E["no-data"])==null?void 0:Q.call(E))??gt(ah,{title:z(n.noDataText)},null)),gt(f1,{ref:i,renderless:!0,items:_.value},{default:ie=>{var de;let{item:oe,index:ue,itemRef:ce}=ie;const ye=qr(oe.props,{ref:ce,key:ue,active:L.value&&ue===0?!0:void 0,onClick:()=>j(oe)});return((de=E.item)==null?void 0:de.call(E,{item:oe,index:ue,props:ye}))??gt(ah,ye,{prepend:me=>{let{isSelected:pe}=me;return gt($r,null,[n.multiple&&!n.hideSelected?gt(f0,{key:oe.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,oe.props.prependIcon&>(ja,{icon:oe.props.prependIcon},null)])},title:()=>{var me,pe;return t.value?oe.title:jj(oe.title,(me=C(oe))==null?void 0:me.title,((pe=x.value)==null?void 0:pe.length)??0)}})}}),(re=E["append-item"])==null?void 0:re.call(E)]}})]}),w.value.map((X,Q)=>{var oe;function re(ue){ue.stopPropagation(),ue.preventDefault(),j(X)}const ie={"onClick:close":re,onMousedown(ue){ue.preventDefault(),ue.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:X.value,class:["v-combobox__selection",Q===h.value&&["v-combobox__selection--selected",f.value]],style:Q===h.value?p.value:{}},[H?E.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:X.title}}},{default:()=>{var ue;return[(ue=E.chip)==null?void 0:ue.call(E,{item:X,index:Q,props:ie})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:X.title},ie),null):((oe=E.selection)==null?void 0:oe.call(E,{item:X,index:Q}))??gt("span",{class:"v-combobox__selection-text"},[X.title,n.multiple&&Q!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{scopeId:z}=E0(),k=Vr();function m(d){var M,g;const y=d.relatedTarget,i=d.target;if(y!==i&&((M=k.value)!=null&&M.contentEl)&&((g=k.value)!=null&&g.globalTop)&&![document,k.value.contentEl].includes(i)&&!k.value.contentEl.contains(i)){const h=Dm(k.value.contentEl);if(!h.length)return;const l=h[0],a=h[h.length-1];y===l?a.focus():l.focus()}}to&&Xr(()=>E.value&&n.retainFocus,d=>{d?document.addEventListener("focusin",m):document.removeEventListener("focusin",m)},{immediate:!0}),Xr(E,async d=>{var y,i;await Ua(),d?(y=k.value.contentEl)==null||y.focus({preventScroll:!0}):(i=k.value.activatorEl)==null||i.focus({preventScroll:!0})});const t=cn(()=>qr({"aria-haspopup":"dialog","aria-expanded":String(E.value)},n.activatorProps));return Rr(()=>{const[d]=oh.filterProps(n);return gt(oh,qr({ref:k,class:["v-dialog",{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},d,{modelValue:E.value,"onUpdate:modelValue":y=>E.value=y,"aria-modal":"true",activatorProps:t.value,role:"dialog"},z),{activator:r.activator,default:function(){for(var y=arguments.length,i=new Array(y),M=0;M{var g;return[(g=r.default)==null?void 0:g.call(r,...i)]}})}})}),Nc({},k)}});const jm=Symbol.for("vuetify:v-expansion-panel"),Wj=["default","accordion","inset","popout"],$j=ur({color:String,variant:{type:String,default:"default",validator:n=>Wj.includes(n)},readonly:Boolean,...Yr(),...w0(),...Ai(),...oa()},"VExpansionPanels"),Yj=Ar()({name:"VExpansionPanels",props:$j(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;ip(n,jm);const{themeClasses:E}=Ma(n),z=cn(()=>n.variant&&`v-expansion-panels--variant-${n.variant}`);return ns({VExpansionPanel:{color:Cr(n,"color")},VExpansionPanelTitle:{readonly:Cr(n,"readonly")}}),Rr(()=>gt(n.tag,{class:["v-expansion-panels",E.value,z.value,n.class],style:n.style},r)),{}}}),Zj=ur({...Yr(),...o1()},"VExpansionPanelText"),eS=Ar()({name:"VExpansionPanelText",props:Zj(),setup(n,e){let{slots:r}=e;const E=ka(jm);if(!E)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:z,onAfterLeave:k}=__(n,E.isSelected);return Rr(()=>gt(e1,{onAfterLeave:k},{default:()=>{var m;return[Co(gt("div",{class:["v-expansion-panel-text",n.class],style:n.style},[r.default&&z.value&>("div",{class:"v-expansion-panel-text__wrapper"},[(m=r.default)==null?void 0:m.call(r)])]),[[kf,E.isSelected.value]])]}})),{}}}),tS=ur({color:String,expandIcon:{type:bi,default:"$expand"},collapseIcon:{type:bi,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Yr()},"VExpansionPanelTitle"),nS=Ar()({name:"VExpansionPanelTitle",directives:{Ripple:nd},props:tS(),setup(n,e){let{slots:r}=e;const E=ka(jm);if(!E)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:z,backgroundColorStyles:k}=Ro(n,"color"),m=cn(()=>({collapseIcon:n.collapseIcon,disabled:E.disabled.value,expanded:E.isSelected.value,expandIcon:n.expandIcon,readonly:n.readonly}));return Rr(()=>{var t;return Co(gt("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":E.isSelected.value},z.value,n.class],style:[k.value,n.style],type:"button",tabindex:E.disabled.value?-1:void 0,disabled:E.disabled.value,"aria-expanded":E.isSelected.value,onClick:n.readonly?void 0:E.toggle},[gt("span",{class:"v-expansion-panel-title__overlay"},null),(t=r.default)==null?void 0:t.call(r,m.value),!n.hideActions&>("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(m.value):gt(ja,{icon:E.isSelected.value?n.collapseIcon:n.expandIcon},null)])]),[[Tu("ripple"),n.ripple]])}),{}}}),Xj=ur({title:String,text:String,bgColor:String,...Yr(),...ds(),...T0(),...o1(),...lo(),...Ai(),...tS()},"VExpansionPanel"),Kj=Ar()({name:"VExpansionPanel",props:Xj(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const E=k0(n,jm),{backgroundColorClasses:z,backgroundColorStyles:k}=Ro(n,"bgColor"),{elevationClasses:m}=Vs(n),{roundedClasses:t}=Eo(n),d=cn(()=>(E==null?void 0:E.disabled.value)||n.disabled),y=cn(()=>E.group.items.value.reduce((g,h,l)=>(E.group.selected.value.includes(h.id)&&g.push(l),g),[])),i=cn(()=>{const g=E.group.items.value.findIndex(h=>h.id===E.id);return!E.isSelected.value&&y.value.some(h=>h-g===1)}),M=cn(()=>{const g=E.group.items.value.findIndex(h=>h.id===E.id);return!E.isSelected.value&&y.value.some(h=>h-g===-1)});return rs(jm,E),ns({VExpansionPanelText:{eager:Cr(n,"eager")}}),Rr(()=>{const g=!!(r.text||n.text),h=!!(r.title||n.title);return gt(n.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":E.isSelected.value,"v-expansion-panel--before-active":i.value,"v-expansion-panel--after-active":M.value,"v-expansion-panel--disabled":d.value},t.value,z.value,n.class],style:[k.value,n.style]},{default:()=>{var l;return[gt("div",{class:["v-expansion-panel__shadow",...m.value]},null),h&>(nS,{key:"title",collapseIcon:n.collapseIcon,color:n.color,expandIcon:n.expandIcon,hideActions:n.hideActions,ripple:n.ripple},{default:()=>[r.title?r.title():n.title]}),g&>(eS,{key:"text"},{default:()=>[r.text?r.text():n.text]}),(l=r.default)==null?void 0:l.call(r)]}})}),{}}});const Jj=ur({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:n=>typeof n=="boolean"||[1e3,1024].includes(n)},...mh({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:n=>bu(n).every(e=>e!=null&&typeof e=="object")},...u1({clearable:!0})},"VFileInput"),Qj=Ar()({name:"VFileInput",inheritAttrs:!1,props:Jj(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const{t:k}=ic(),m=xi(n,"modelValue"),{isFocused:t,focus:d,blur:y}=rd(n),i=cn(()=>typeof n.showSize!="boolean"?n.showSize:void 0),M=cn(()=>(m.value??[]).reduce((x,T)=>{let{size:C=0}=T;return x+C},0)),g=cn(()=>w5(M.value,i.value)),h=cn(()=>(m.value??[]).map(x=>{const{name:T="",size:C=0}=x;return n.showSize?`${T} (${w5(C,i.value)})`:T})),l=cn(()=>{var T;const x=((T=m.value)==null?void 0:T.length)??0;return n.showSize?k(n.counterSizeString,x,g.value):k(n.counterString,x)}),a=Vr(),u=Vr(),o=Vr(),s=cn(()=>t.value||n.active),c=cn(()=>["plain","underlined"].includes(n.variant));function f(){var x;o.value!==document.activeElement&&((x=o.value)==null||x.focus()),t.value||d()}function p(x){v(x)}function w(x){E("mousedown:control",x)}function v(x){var T;(T=o.value)==null||T.click(),E("click:control",x)}function S(x){x.stopPropagation(),f(),Ua(()=>{m.value=[],K2(n["onClick:clear"],x)})}return Xr(m,x=>{(!Array.isArray(x)||!x.length)&&o.value&&(o.value.value="")}),Rr(()=>{const x=!!(z.counter||n.counter),T=!!(x||z.details),[C,_]=Qd(r),[{modelValue:A,...L}]=Ns.filterProps(n),[b]=w_(n);return gt(Ns,qr({ref:a,modelValue:m.value,"onUpdate:modelValue":P=>m.value=P,class:["v-file-input",{"v-text-field--plain-underlined":c.value},n.class],style:n.style,"onClick:prepend":p},C,L,{centerAffix:!c.value,focused:t.value}),{...z,default:P=>{let{id:I,isDisabled:R,isDirty:D,isReadonly:F,isValid:B}=P;return gt(fg,qr({ref:u,"prepend-icon":n.prependIcon,onMousedown:w,onClick:v,"onClick:clear":S,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:I.value,active:s.value||D.value,dirty:D.value,disabled:R.value,focused:t.value,error:B.value===!1}),{...z,default:N=>{var Y;let{props:{class:W,...j}}=N;return gt($r,null,[gt("input",qr({ref:o,type:"file",readonly:F.value,disabled:R.value,multiple:n.multiple,name:n.name,onClick:U=>{U.stopPropagation(),F.value&&U.preventDefault(),f()},onChange:U=>{if(!U.target)return;const G=U.target;m.value=[...G.files??[]]},onFocus:f,onBlur:y},j,_),null),gt("div",{class:W},[!!((Y=m.value)!=null&&Y.length)&&(z.selection?z.selection({fileNames:h.value,totalBytes:M.value,totalBytesReadable:g.value}):n.chips?h.value.map(U=>gt(ug,{key:U,size:"small",color:n.color},{default:()=>[U]})):h.value.join(", "))])])}})},details:T?P=>{var I,R;return gt($r,null,[(I=z.details)==null?void 0:I.call(z,P),x&>($r,null,[gt("span",null,null),gt(l1,{active:!!((R=m.value)!=null&&R.length),value:l.value},z.counter)])])}:void 0})}),Nc({},a,u,o)}});const eU=ur({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Su(),...Yr(),...ds(),...x0(),...lo(),...Ai({tag:"footer"}),...oa()},"VFooter"),tU=Ar()({name:"VFooter",props:eU(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{backgroundColorClasses:z,backgroundColorStyles:k}=Ro(Cr(n,"color")),{borderClasses:m}=sc(n),{elevationClasses:t}=Vs(n),{roundedClasses:d}=Eo(n),y=Wr(32),{resizeRef:i}=Tf(h=>{h.length&&(y.value=h[0].target.clientHeight)}),M=cn(()=>n.height==="auto"?y.value:parseInt(n.height,10)),{layoutItemStyles:g}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:M,elementSize:cn(()=>n.height==="auto"?void 0:M.value),active:cn(()=>n.app),absolute:Cr(n,"absolute")});return Rr(()=>gt(n.tag,{ref:i,class:["v-footer",E.value,z.value,m.value,t.value,d.value,n.class],style:[k.value,n.app?g.value:{height:Qr(n.height)},n.style]},r)),{}}}),nU=ur({...Yr(),...dN()},"VForm"),rU=Ar()({name:"VForm",props:nU(),emits:{"update:modelValue":n=>!0,submit:n=>!0},setup(n,e){let{slots:r,emit:E}=e;const z=pN(n),k=Vr();function m(d){d.preventDefault(),z.reset()}function t(d){const y=d,i=z.validate();y.then=i.then.bind(i),y.catch=i.catch.bind(i),y.finally=i.finally.bind(i),E("submit",y),y.defaultPrevented||i.then(M=>{var h;let{valid:g}=M;g&&((h=k.value)==null||h.submit())}),y.preventDefault()}return Rr(()=>{var d;return gt("form",{ref:k,class:["v-form",n.class],style:n.style,novalidate:!0,onReset:m,onSubmit:t},[(d=r.default)==null?void 0:d.call(r,z)])}),Nc(z,k)}});const iU=ur({fluid:{type:Boolean,default:!1},...Yr(),...Ai()},"VContainer"),aU=Ar()({name:"VContainer",props:iU(),setup(n,e){let{slots:r}=e;const{rtlClasses:E}=Ls();return Rr(()=>gt(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},E.value,n.class],style:n.style},r)),{}}}),rS=(()=>Ky.reduce((n,e)=>(n[e]={type:[Boolean,String,Number],default:!1},n),{}))(),iS=(()=>Ky.reduce((n,e)=>{const r="offset"+sh(e);return n[r]={type:[String,Number],default:null},n},{}))(),aS=(()=>Ky.reduce((n,e)=>{const r="order"+sh(e);return n[r]={type:[String,Number],default:null},n},{}))(),sT={col:Object.keys(rS),offset:Object.keys(iS),order:Object.keys(aS)};function oU(n,e,r){let E=n;if(!(r==null||r===!1)){if(e){const z=e.replace(n,"");E+=`-${z}`}return n==="col"&&(E="v-"+E),n==="col"&&(r===""||r===!0)||(E+=`-${r}`),E.toLowerCase()}}const sU=["auto","start","end","center","baseline","stretch"],lU=ur({cols:{type:[Boolean,String,Number],default:!1},...rS,offset:{type:[String,Number],default:null},...iS,order:{type:[String,Number],default:null},...aS,alignSelf:{type:String,default:null,validator:n=>sU.includes(n)},...Yr(),...Ai()},"VCol"),uU=Ar()({name:"VCol",props:lU(),setup(n,e){let{slots:r}=e;const E=cn(()=>{const z=[];let k;for(k in sT)sT[k].forEach(t=>{const d=n[t],y=oU(k,t,d);y&&z.push(y)});const m=z.some(t=>t.startsWith("v-col-"));return z.push({"v-col":!m||!n.cols,[`v-col-${n.cols}`]:n.cols,[`offset-${n.offset}`]:n.offset,[`order-${n.order}`]:n.order,[`align-self-${n.alignSelf}`]:n.alignSelf}),z});return()=>{var z;return Xh(n.tag,{class:[E.value,n.class],style:n.style},(z=r.default)==null?void 0:z.call(r))}}}),S_=["start","end","center"],oS=["space-between","space-around","space-evenly"];function C_(n,e){return Ky.reduce((r,E)=>{const z=n+sh(E);return r[z]=e(),r},{})}const cU=[...S_,"baseline","stretch"],sS=n=>cU.includes(n),lS=C_("align",()=>({type:String,default:null,validator:sS})),fU=[...S_,...oS],uS=n=>fU.includes(n),cS=C_("justify",()=>({type:String,default:null,validator:uS})),hU=[...S_,...oS,"stretch"],fS=n=>hU.includes(n),hS=C_("alignContent",()=>({type:String,default:null,validator:fS})),lT={align:Object.keys(lS),justify:Object.keys(cS),alignContent:Object.keys(hS)},dU={align:"align",justify:"justify",alignContent:"align-content"};function pU(n,e,r){let E=dU[n];if(r!=null){if(e){const z=e.replace(n,"");E+=`-${z}`}return E+=`-${r}`,E.toLowerCase()}}const mU=ur({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:sS},...lS,justify:{type:String,default:null,validator:uS},...cS,alignContent:{type:String,default:null,validator:fS},...hS,...Yr(),...Ai()},"VRow"),gU=Ar()({name:"VRow",props:mU(),setup(n,e){let{slots:r}=e;const E=cn(()=>{const z=[];let k;for(k in lT)lT[k].forEach(m=>{const t=n[m],d=pU(k,m,t);d&&z.push(d)});return z.push({"v-row--no-gutters":n.noGutters,"v-row--dense":n.dense,[`align-${n.align}`]:n.align,[`justify-${n.justify}`]:n.justify,[`align-content-${n.alignContent}`]:n.alignContent}),z});return()=>{var z;return Xh(n.tag,{class:["v-row",E.value,n.class],style:n.style},(z=r.default)==null?void 0:z.call(r))}}}),vU=Bc("v-spacer","div","VSpacer"),yU=ur({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...SA()},"VHover"),bU=Ar()({name:"VHover",props:yU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{runOpenDelay:z,runCloseDelay:k}=CA(n,m=>!n.disabled&&(E.value=m));return()=>{var m;return(m=r.default)==null?void 0:m.call(r,{isHovering:E.value,props:{onMouseenter:z,onMouseleave:k}})}}});const dS=Symbol.for("vuetify:v-item-group"),xU=ur({...Yr(),...w0({selectedClass:"v-item--selected"}),...Ai(),...oa()},"VItemGroup"),_U=Ar()({name:"VItemGroup",props:xU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{isSelected:z,select:k,next:m,prev:t,selected:d}=ip(n,dS);return()=>gt(n.tag,{class:["v-item-group",E.value,n.class],style:n.style},{default:()=>{var y;return[(y=r.default)==null?void 0:y.call(r,{isSelected:z,select:k,next:m,prev:t,selected:d.value})]}})}}),wU=Ar()({name:"VItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:E,select:z,toggle:k,selectedClass:m,value:t,disabled:d}=k0(n,dS);return()=>{var y;return(y=r.default)==null?void 0:y.call(r,{isSelected:E.value,selectedClass:m.value,select:z,toggle:k,value:t.value,disabled:d.value})}}});const TU=Bc("v-kbd");const kU=ur({...Yr(),...R6()},"VLayout"),MU=Ar()({name:"VLayout",props:kU(),setup(n,e){let{slots:r}=e;const{layoutClasses:E,layoutStyles:z,getLayoutItem:k,items:m,layoutRef:t}=D6(n);return Rr(()=>{var d;return gt("div",{ref:t,class:[E.value,n.class],style:[z.value,n.style]},[(d=r.default)==null?void 0:d.call(r)])}),{getLayoutItem:k,items:m}}});const AU=ur({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Yr(),...x0()},"VLayoutItem"),SU=Ar()({name:"VLayoutItem",props:AU(),setup(n,e){let{slots:r}=e;const{layoutItemStyles:E}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Cr(n,"position"),elementSize:Cr(n,"size"),layoutSize:Cr(n,"size"),active:Cr(n,"modelValue"),absolute:Cr(n,"absolute")});return()=>{var z;return gt("div",{class:["v-layout-item",n.class],style:[E.value,n.style]},[(z=r.default)==null?void 0:z.call(r)])}}}),CU=ur({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Yr(),...ac(),...Ai(),...dh({transition:"fade-transition"})},"VLazy"),EU=Ar()({name:"VLazy",directives:{intersect:og},props:CU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{dimensionStyles:E}=oc(n),z=xi(n,"modelValue");function k(m){z.value||(z.value=m)}return Rr(()=>Co(gt(n.tag,{class:["v-lazy",n.class],style:[E.value,n.style]},{default:()=>[z.value&>(Oc,{transition:n.transition,appear:!0},{default:()=>{var m;return[(m=r.default)==null?void 0:m.call(r)]}})]}),[[Tu("intersect"),{handler:k,options:n.options},null]])),{}}});const LU=ur({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...Yr()},"VLocaleProvider"),IU=Ar()({name:"VLocaleProvider",props:LU(),setup(n,e){let{slots:r}=e;const{rtlClasses:E}=VF(n);return Rr(()=>{var z;return gt("div",{class:["v-locale-provider",E.value,n.class],style:n.style},[(z=r.default)==null?void 0:z.call(r)])}),{}}});const PU=ur({scrollable:Boolean,...Yr(),...Ai({tag:"main"})},"VMain"),OU=Ar()({name:"VMain",props:PU(),setup(n,e){let{slots:r}=e;const{mainStyles:E}=pB(),{ssrBootStyles:z}=tp();return Rr(()=>gt(n.tag,{class:["v-main",{"v-main--scrollable":n.scrollable},n.class],style:[E.value,z.value,n.style]},{default:()=>{var k,m;return[n.scrollable?gt("div",{class:"v-main__scroller"},[(k=r.default)==null?void 0:k.call(r)]):(m=r.default)==null?void 0:m.call(r)]}})),{}}});function RU(n){let{rootEl:e,isSticky:r,layoutItemStyles:E}=n;const z=Wr(!1),k=Wr(0),m=cn(()=>{const y=typeof z.value=="boolean"?"top":z.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,z.value?{[y]:Qr(k.value)}:{top:E.value.top}]});Js(()=>{Xr(r,y=>{y?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),kl(()=>{window.removeEventListener("scroll",d)});let t=0;function d(){const y=t>window.scrollY?"up":"down",i=e.value.getBoundingClientRect(),M=parseFloat(E.value.top??0),g=window.scrollY-Math.max(0,k.value-M),h=i.height+Math.max(k.value,M)-window.scrollY-window.innerHeight,l=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;i.height0;r--){if(n[r].t===n[r-1].t)continue;const E=uT(e),z=(n[r].d-n[r-1].d)/(n[r].t-n[r-1].t);e+=(z-E)*Math.abs(z),r===n.length-1&&(e*=.5)}return uT(e)*1e3}function FU(){const n={};function e(z){Array.from(z.changedTouches).forEach(k=>{(n[k.identifier]??(n[k.identifier]=new Yz(zU))).push([z.timeStamp,k])})}function r(z){Array.from(z.changedTouches).forEach(k=>{delete n[k.identifier]})}function E(z){var y;const k=(y=n[z])==null?void 0:y.values().reverse();if(!k)throw new Error(`No samples for touch id ${z}`);const m=k[0],t=[],d=[];for(const i of k){if(m[0]-i[0]>DU)break;t.push({t:i[0],d:i[1].clientX}),d.push({t:i[0],d:i[1].clientY})}return{x:cT(t),y:cT(d),get direction(){const{x:i,y:M}=this,[g,h]=[Math.abs(i),Math.abs(M)];return g>h&&i>=0?"right":g>h&&i<=0?"left":h>g&&M>=0?"down":h>g&&M<=0?"up":BU()}}}return{addMovement:e,endTouch:r,getVelocity:E}}function BU(){throw new Error}function NU(n){let{isActive:e,isTemporary:r,width:E,touchless:z,position:k}=n;Js(()=>{window.addEventListener("touchstart",o,{passive:!0}),window.addEventListener("touchmove",s,{passive:!1}),window.addEventListener("touchend",c,{passive:!0})}),kl(()=>{window.removeEventListener("touchstart",o),window.removeEventListener("touchmove",s),window.removeEventListener("touchend",c)});const m=cn(()=>["left","right"].includes(k.value)),{addMovement:t,endTouch:d,getVelocity:y}=FU();let i=!1;const M=Wr(!1),g=Wr(0),h=Wr(0);let l;function a(p,w){return(k.value==="left"?p:k.value==="right"?document.documentElement.clientWidth-p:k.value==="top"?p:k.value==="bottom"?document.documentElement.clientHeight-p:Lp())-(w?E.value:0)}function u(p){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const v=k.value==="left"?(p-h.value)/E.value:k.value==="right"?(document.documentElement.clientWidth-p-h.value)/E.value:k.value==="top"?(p-h.value)/E.value:k.value==="bottom"?(document.documentElement.clientHeight-p-h.value)/E.value:Lp();return w?Math.max(0,Math.min(1,v)):v}function o(p){if(z.value)return;const w=p.changedTouches[0].clientX,v=p.changedTouches[0].clientY,S=25,x=k.value==="left"?wdocument.documentElement.clientWidth-S:k.value==="top"?vdocument.documentElement.clientHeight-S:Lp(),T=e.value&&(k.value==="left"?wdocument.documentElement.clientWidth-E.value:k.value==="top"?vdocument.documentElement.clientHeight-E.value:Lp());(x||T||e.value&&r.value)&&(i=!0,l=[w,v],h.value=a(m.value?w:v,e.value),g.value=u(m.value?w:v),d(p),t(p))}function s(p){const w=p.changedTouches[0].clientX,v=p.changedTouches[0].clientY;if(i){if(!p.cancelable){i=!1;return}const x=Math.abs(w-l[0]),T=Math.abs(v-l[1]);(m.value?x>T&&x>3:T>x&&T>3)?(M.value=!0,i=!1):(m.value?T:x)>3&&(i=!1)}if(!M.value)return;p.preventDefault(),t(p);const S=u(m.value?w:v,!1);g.value=Math.max(0,Math.min(1,S)),S>1?h.value=a(m.value?w:v,!0):S<0&&(h.value=a(m.value?w:v,!1))}function c(p){if(i=!1,!M.value)return;t(p),M.value=!1;const w=y(p.changedTouches[0].identifier),v=Math.abs(w.x),S=Math.abs(w.y);(m.value?v>S&&v>400:S>v&&S>3)?e.value=w.direction===({left:"right",right:"left",top:"down",bottom:"up"}[k.value]||Lp()):e.value=g.value>.5}const f=cn(()=>M.value?{transform:k.value==="left"?`translateX(calc(-100% + ${g.value*E.value}px))`:k.value==="right"?`translateX(calc(100% - ${g.value*E.value}px))`:k.value==="top"?`translateY(calc(-100% + ${g.value*E.value}px))`:k.value==="bottom"?`translateY(calc(100% - ${g.value*E.value}px))`:Lp(),transition:"none"}:void 0);return{isDragging:M,dragProgress:g,dragStyles:f}}function Lp(){throw new Error}const VU=["start","end","left","right","top","bottom"],jU=ur({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:n=>VU.includes(n)},sticky:Boolean,...Su(),...Yr(),...ds(),...x0(),...lo(),...Ai({tag:"nav"}),...oa()},"VNavigationDrawer"),UU=Ar()({name:"VNavigationDrawer",props:jU(),emits:{"update:modelValue":n=>!0,"update:rail":n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const{isRtl:k}=Ls(),{themeClasses:m}=Ma(n),{borderClasses:t}=sc(n),{backgroundColorClasses:d,backgroundColorStyles:y}=Ro(Cr(n,"color")),{elevationClasses:i}=Vs(n),{mobile:M}=ep(),{roundedClasses:g}=Eo(n),h=W6(),l=xi(n,"modelValue",null,D=>!!D),{ssrBootStyles:a}=tp(),{scopeId:u}=E0(),o=Vr(),s=Wr(!1),c=cn(()=>n.rail&&n.expandOnHover&&s.value?Number(n.width):Number(n.rail?n.railWidth:n.width)),f=cn(()=>ux(n.location,k.value)),p=cn(()=>!n.permanent&&(M.value||n.temporary)),w=cn(()=>n.sticky&&!p.value&&f.value!=="bottom");n.expandOnHover&&n.rail!=null&&Xr(s,D=>E("update:rail",!D)),n.disableResizeWatcher||Xr(p,D=>!n.permanent&&Ua(()=>l.value=!D)),!n.disableRouteWatcher&&h&&Xr(h.currentRoute,()=>p.value&&(l.value=!1)),Xr(()=>n.permanent,D=>{D&&(l.value=!0)}),Sy(()=>{n.modelValue!=null||p.value||(l.value=n.permanent||!M.value)});const{isDragging:v,dragProgress:S,dragStyles:x}=NU({isActive:l,isTemporary:p,width:c,touchless:Cr(n,"touchless"),position:f}),T=cn(()=>{const D=p.value?0:n.rail&&n.expandOnHover?Number(n.railWidth):c.value;return v.value?D*S.value:D}),{layoutItemStyles:C,layoutItemScrimStyles:_}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:f,layoutSize:T,elementSize:c,active:cn(()=>l.value||v.value),disableTransitions:cn(()=>v.value),absolute:cn(()=>n.absolute||w.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:L}=RU({rootEl:o,isSticky:w,layoutItemStyles:C}),b=Ro(cn(()=>typeof n.scrim=="string"?n.scrim:null)),P=cn(()=>({...v.value?{opacity:S.value*.2,transition:"none"}:void 0,..._.value}));ns({VList:{bgColor:"transparent"}});function I(){s.value=!0}function R(){s.value=!1}return Rr(()=>{const D=z.image||n.image;return gt($r,null,[gt(n.tag,qr({ref:o,onMouseenter:I,onMouseleave:R,class:["v-navigation-drawer",`v-navigation-drawer--${f.value}`,{"v-navigation-drawer--expand-on-hover":n.expandOnHover,"v-navigation-drawer--floating":n.floating,"v-navigation-drawer--is-hovering":s.value,"v-navigation-drawer--rail":n.rail,"v-navigation-drawer--temporary":p.value,"v-navigation-drawer--active":l.value,"v-navigation-drawer--sticky":w.value},m.value,d.value,t.value,i.value,g.value,n.class],style:[y.value,C.value,x.value,a.value,L.value,n.style]},u,r),{default:()=>{var F,B,N,W;return[D&>("div",{key:"image",class:"v-navigation-drawer__img"},[z.image?(F=z.image)==null?void 0:F.call(z,{image:n.image}):gt("img",{src:n.image,alt:""},null)]),z.prepend&>("div",{class:"v-navigation-drawer__prepend"},[(B=z.prepend)==null?void 0:B.call(z)]),gt("div",{class:"v-navigation-drawer__content"},[(N=z.default)==null?void 0:N.call(z)]),z.append&>("div",{class:"v-navigation-drawer__append"},[(W=z.append)==null?void 0:W.call(z)])]}}),gt(bf,{name:"fade-transition"},{default:()=>[p.value&&(v.value||l.value)&&!!n.scrim&>("div",qr({class:["v-navigation-drawer__scrim",b.backgroundColorClasses.value],style:[P.value,b.backgroundColorStyles.value],onClick:()=>l.value=!1},u),null)]})])}),{isStuck:A}}}),HU=rc({name:"VNoSsr",setup(n,e){let{slots:r}=e;const E=EA();return()=>{var z;return E.value&&((z=r.default)==null?void 0:z.call(r))}}});function GU(){const n=Vr([]);XT(()=>n.value=[]);function e(r,E){n.value[E]=r}return{refs:n,updateRef:e}}const qU=ur({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:n=>n.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:n=>n%1===0},totalVisible:[Number,String],firstIcon:{type:bi,default:"$first"},prevIcon:{type:bi,default:"$prev"},nextIcon:{type:bi,default:"$next"},lastIcon:{type:bi,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Su(),...Yr(),...ps(),...ds(),...lo(),...ph(),...Ai({tag:"nav"}),...oa(),...lc({variant:"text"})},"VPagination"),WU=Ar()({name:"VPagination",props:qU(),emits:{"update:modelValue":n=>!0,first:n=>!0,prev:n=>!0,next:n=>!0,last:n=>!0},setup(n,e){let{slots:r,emit:E}=e;const z=xi(n,"modelValue"),{t:k,n:m}=ic(),{isRtl:t}=Ls(),{themeClasses:d}=Ma(n),{width:y}=ep(),i=Wr(-1);ns(void 0,{scoped:!0});const{resizeRef:M}=Tf(S=>{if(!S.length)return;const{target:x,contentRect:T}=S[0],C=x.querySelector(".v-pagination__list > *");if(!C)return;const _=T.width,A=C.offsetWidth+parseFloat(getComputedStyle(C).marginRight)*2;i.value=a(_,A)}),g=cn(()=>parseInt(n.length,10)),h=cn(()=>parseInt(n.start,10)),l=cn(()=>n.totalVisible?parseInt(n.totalVisible,10):i.value>=0?i.value:a(y.value,58));function a(S,x){const T=n.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((S-x*T)/x).toFixed(2)))}const u=cn(()=>{if(g.value<=0||isNaN(g.value)||g.value>Number.MAX_SAFE_INTEGER)return[];if(l.value<=1)return[z.value];if(g.value<=l.value)return Jf(g.value,h.value);const S=l.value%2===0,x=S?l.value/2:Math.floor(l.value/2),T=S?x:x+1,C=g.value-x;if(T-z.value>=0)return[...Jf(Math.max(1,l.value-1),h.value),n.ellipsis,g.value];if(z.value-C>=(S?1:0)){const _=l.value-1,A=g.value-_+h.value;return[h.value,n.ellipsis,...Jf(_,A)]}else{const _=Math.max(1,l.value-3),A=_===1?z.value:z.value-Math.ceil(_/2)+h.value;return[h.value,n.ellipsis,...Jf(_,A),n.ellipsis,g.value]}});function o(S,x,T){S.preventDefault(),z.value=x,T&&E(T,x)}const{refs:s,updateRef:c}=GU();ns({VPaginationBtn:{color:Cr(n,"color"),border:Cr(n,"border"),density:Cr(n,"density"),size:Cr(n,"size"),variant:Cr(n,"variant"),rounded:Cr(n,"rounded"),elevation:Cr(n,"elevation")}});const f=cn(()=>u.value.map((S,x)=>{const T=C=>c(C,x);if(typeof S=="string")return{isActive:!1,key:`ellipsis-${x}`,page:S,props:{ref:T,ellipsis:!0,icon:!0,disabled:!0}};{const C=S===z.value;return{isActive:C,key:S,page:m(S),props:{ref:T,ellipsis:!1,icon:!0,disabled:!!n.disabled||+n.length<2,color:C?n.activeColor:n.color,ariaCurrent:C,ariaLabel:k(C?n.currentPageAriaLabel:n.pageAriaLabel,S),onClick:_=>o(_,S)}}}})),p=cn(()=>{const S=!!n.disabled||z.value<=h.value,x=!!n.disabled||z.value>=h.value+g.value-1;return{first:n.showFirstLastPage?{icon:t.value?n.lastIcon:n.firstIcon,onClick:T=>o(T,h.value,"first"),disabled:S,ariaLabel:k(n.firstAriaLabel),ariaDisabled:S}:void 0,prev:{icon:t.value?n.nextIcon:n.prevIcon,onClick:T=>o(T,z.value-1,"prev"),disabled:S,ariaLabel:k(n.previousAriaLabel),ariaDisabled:S},next:{icon:t.value?n.prevIcon:n.nextIcon,onClick:T=>o(T,z.value+1,"next"),disabled:x,ariaLabel:k(n.nextAriaLabel),ariaDisabled:x},last:n.showFirstLastPage?{icon:t.value?n.firstIcon:n.lastIcon,onClick:T=>o(T,h.value+g.value-1,"last"),disabled:x,ariaLabel:k(n.lastAriaLabel),ariaDisabled:x}:void 0}});function w(){var x;const S=z.value-h.value;(x=s.value[S])==null||x.$el.focus()}function v(S){S.key===sx.left&&!n.disabled&&z.value>+n.start?(z.value=z.value-1,Ua(w)):S.key===sx.right&&!n.disabled&&z.valuegt(n.tag,{ref:M,class:["v-pagination",d.value,n.class],style:n.style,role:"navigation","aria-label":k(n.ariaLabel),onKeydown:v,"data-test":"v-pagination-root"},{default:()=>[gt("ul",{class:"v-pagination__list"},[n.showFirstLastPage&>("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(p.value.first):gt(wl,qr({_as:"VPaginationBtn"},p.value.first),null)]),gt("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(p.value.prev):gt(wl,qr({_as:"VPaginationBtn"},p.value.prev),null)]),f.value.map((S,x)=>gt("li",{key:S.key,class:["v-pagination__item",{"v-pagination__item--is-active":S.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(S):gt(wl,qr({_as:"VPaginationBtn"},S.props),{default:()=>[S.page]})])),gt("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(p.value.next):gt(wl,qr({_as:"VPaginationBtn"},p.value.next),null)]),n.showFirstLastPage&>("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(p.value.last):gt(wl,qr({_as:"VPaginationBtn"},p.value.last),null)])])]})),{}}});function $U(n){return Math.floor(Math.abs(n))*Math.sign(n)}const YU=ur({scale:{type:[Number,String],default:.5},...Yr()},"VParallax"),ZU=Ar()({name:"VParallax",props:YU(),setup(n,e){let{slots:r}=e;const{intersectionRef:E,isIntersecting:z}=h_(),{resizeRef:k,contentRect:m}=Tf(),{height:t}=ep(),d=Vr();wu(()=>{var h;E.value=k.value=(h=d.value)==null?void 0:h.$el});let y;Xr(z,h=>{h?(y=t_(E.value),y=y===document.scrollingElement?document:y,y.addEventListener("scroll",g,{passive:!0}),g()):y.removeEventListener("scroll",g)}),kl(()=>{y==null||y.removeEventListener("scroll",g)}),Xr(t,g),Xr(()=>{var h;return(h=m.value)==null?void 0:h.height},g);const i=cn(()=>1-Xs(+n.scale));let M=-1;function g(){z.value&&(cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var p;const h=((p=d.value)==null?void 0:p.$el).querySelector(".v-img__img");if(!h)return;const l=y instanceof Document?document.documentElement.clientHeight:y.clientHeight,a=y instanceof Document?window.scrollY:y.scrollTop,u=E.value.getBoundingClientRect().top+a,o=m.value.height,s=u+(o-l)/2,c=$U((a-s)*i.value),f=Math.max(1,(i.value*(l-o)+o)/o);h.style.setProperty("transform",`translateY(${c}px) scale(${f})`)}))}return Rr(()=>gt(Zd,{class:["v-parallax",{"v-parallax--active":z.value},n.class],style:n.style,ref:d,cover:!0,onLoadstart:g,onLoad:g},r)),{}}}),XU=ur({...n1({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),KU=Ar()({name:"VRadio",props:XU(),setup(n,e){let{slots:r}=e;return Rr(()=>gt(Xd,qr(n,{class:["v-radio",n.class],style:n.style,type:"radio"}),r)),{}}});const JU=ur({height:{type:[Number,String],default:"auto"},...mh(),...nc(y_(),["multiple"]),trueIcon:{type:bi,default:"$radioOn"},falseIcon:{type:bi,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),QU=Ar()({name:"VRadioGroup",inheritAttrs:!1,props:JU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:E}=e;const z=Qs(),k=cn(()=>n.id||`radio-group-${z}`),m=xi(n,"modelValue");return Rr(()=>{const[t,d]=Qd(r),[y,i]=Ns.filterProps(n),[M,g]=Xd.filterProps(n),h=E.label?E.label({label:n.label,props:{for:k.value}}):n.label;return gt(Ns,qr({class:["v-radio-group",n.class],style:n.style},t,y,{modelValue:m.value,"onUpdate:modelValue":l=>m.value=l,id:k.value}),{...E,default:l=>{let{id:a,messagesId:u,isDisabled:o,isReadonly:s}=l;return gt($r,null,[h&>(C0,{id:a.value},{default:()=>[h]}),gt(rA,qr(M,{id:a.value,"aria-describedby":u.value,defaultsTarget:"VRadio",trueIcon:n.trueIcon,falseIcon:n.falseIcon,type:n.type,disabled:o.value,readonly:s.value,"aria-labelledby":h?a.value:void 0,multiple:!1},d,{modelValue:m.value,"onUpdate:modelValue":c=>m.value=c}),E)])}})}),{}}}),eH=ur({...r1(),...mh(),...ZA(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),tH=Ar()({name:"VRangeSlider",props:eH(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,end:n=>!0,start:n=>!0},setup(n,e){let{slots:r,emit:E}=e;const z=Vr(),k=Vr(),m=Vr(),{rtlClasses:t}=Ls();function d(x){if(!z.value||!k.value)return;const T=Ix(x,z.value.$el,n.direction),C=Ix(x,k.value.$el,n.direction),_=Math.abs(T),A=Math.abs(C);return _x!=null&&x.length?x.map(T=>y.roundValue(T)):[0,0]),{activeThumbRef:M,hasLabels:g,max:h,min:l,mousePressed:a,onSliderMousedown:u,onSliderTouchstart:o,position:s,trackContainerRef:c}=KA({props:n,steps:y,onSliderStart:()=>{E("start",i.value)},onSliderEnd:x=>{var _;let{value:T}=x;const C=M.value===((_=z.value)==null?void 0:_.$el)?[T,i.value[1]]:[i.value[0],T];!n.strict&&C[0]{var A,L,b,P;let{value:T}=x;const[C,_]=i.value;!n.strict&&C===_&&C!==l.value&&(M.value=T>C?(A=k.value)==null?void 0:A.$el:(L=z.value)==null?void 0:L.$el,(b=M.value)==null||b.focus()),M.value===((P=z.value)==null?void 0:P.$el)?i.value=[Math.min(T,_),_]:i.value=[C,Math.max(C,T)]},getActiveThumb:d}),{isFocused:f,focus:p,blur:w}=rd(n),v=cn(()=>s(i.value[0])),S=cn(()=>s(i.value[1]));return Rr(()=>{const[x,T]=Ns.filterProps(n),C=!!(n.label||r.label||r.prepend);return gt(Ns,qr({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||g.value,"v-slider--focused":f.value,"v-slider--pressed":a.value,"v-slider--disabled":n.disabled},t.value,n.class],style:n.style,ref:m},x,{focused:f.value}),{...r,prepend:C?_=>{var A,L;return gt($r,null,[((A=r.label)==null?void 0:A.call(r,_))??n.label?gt(C0,{class:"v-slider__label",text:n.label},null):void 0,(L=r.prepend)==null?void 0:L.call(r,_)])}:void 0,default:_=>{var b,P;let{id:A,messagesId:L}=_;return gt("div",{class:"v-slider__container",onMousedown:u,onTouchstartPassive:o},[gt("input",{id:`${A.value}_start`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[0]},null),gt("input",{id:`${A.value}_stop`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[1]},null),gt(JA,{ref:c,start:v.value,stop:S.value},{"tick-label":r["tick-label"]}),gt(Px,{ref:z,"aria-describedby":L.value,focused:f&&M.value===((b=z.value)==null?void 0:b.$el),modelValue:i.value[0],"onUpdate:modelValue":I=>i.value=[I,i.value[1]],onFocus:I=>{var R,D,F,B;p(),M.value=(R=z.value)==null?void 0:R.$el,i.value[0]===i.value[1]&&i.value[1]===l.value&&I.relatedTarget!==((D=k.value)==null?void 0:D.$el)&&((F=z.value)==null||F.$el.blur(),(B=k.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:l.value,max:i.value[1],position:v.value},{"thumb-label":r["thumb-label"]}),gt(Px,{ref:k,"aria-describedby":L.value,focused:f&&M.value===((P=k.value)==null?void 0:P.$el),modelValue:i.value[1],"onUpdate:modelValue":I=>i.value=[i.value[0],I],onFocus:I=>{var R,D,F,B;p(),M.value=(R=k.value)==null?void 0:R.$el,i.value[0]===i.value[1]&&i.value[0]===h.value&&I.relatedTarget!==((D=z.value)==null?void 0:D.$el)&&((F=k.value)==null||F.$el.blur(),(B=z.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:i.value[0],max:h.value,position:S.value},{"thumb-label":r["thumb-label"]})])}})}),{}}});const nH=ur({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:bi,default:"$ratingEmpty"},fullIcon:{type:bi,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},ripple:Boolean,...Yr(),...ps(),...ph(),...Ai(),...oa()},"VRating"),rH=Ar()({name:"VRating",props:nH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{t:E}=ic(),{themeClasses:z}=Ma(n),k=xi(n,"modelValue"),m=cn(()=>Xs(parseFloat(k.value),0,+n.length)),t=cn(()=>Jf(Number(n.length),1)),d=cn(()=>t.value.flatMap(a=>n.halfIncrements?[a-.5,a]:[a])),y=Wr(-1),i=cn(()=>d.value.map(a=>{const u=n.hover&&y.value>-1,o=m.value>=a,s=y.value>=a,f=(u?s:o)?n.fullIcon:n.emptyIcon,p=n.activeColor??n.color,w=o||s?p:n.color;return{isFilled:o,isHovered:s,icon:f,color:w}})),M=cn(()=>[0,...d.value].map(a=>{function u(){y.value=a}function o(){y.value=-1}function s(){n.disabled||n.readonly||(k.value=m.value===a&&n.clearable?0:a)}return{onMouseenter:n.hover?u:void 0,onMouseleave:n.hover?o:void 0,onClick:s}})),g=cn(()=>n.name??`v-rating-${Qs()}`);function h(a){var S,x;let{value:u,index:o,showStar:s=!0}=a;const{onMouseenter:c,onMouseleave:f,onClick:p}=M.value[o+1],w=`${g.value}-${String(u).replace(".","-")}`,v={color:(S=i.value[o])==null?void 0:S.color,density:n.density,disabled:n.disabled,icon:(x=i.value[o])==null?void 0:x.icon,ripple:n.ripple,size:n.size,variant:"plain"};return gt($r,null,[gt("label",{for:w,class:{"v-rating__item--half":n.halfIncrements&&u%1>0,"v-rating__item--full":n.halfIncrements&&u%1===0},onMouseenter:c,onMouseleave:f,onClick:p},[gt("span",{class:"v-rating__hidden"},[E(n.itemAriaLabel,u,n.length)]),s?r.item?r.item({...i.value[o],props:v,value:u,index:o,rating:m.value}):gt(wl,qr({"aria-label":E(n.itemAriaLabel,u,n.length)},v),null):void 0]),gt("input",{class:"v-rating__hidden",name:g.value,id:w,type:"radio",value:u,checked:m.value===u,tabindex:-1,readonly:n.readonly,disabled:n.disabled},null)])}function l(a){return r["item-label"]?r["item-label"](a):a.label?gt("span",null,[a.label]):gt("span",null,[ea("ย ")])}return Rr(()=>{var u;const a=!!((u=n.itemLabels)!=null&&u.length)||r["item-label"];return gt(n.tag,{class:["v-rating",{"v-rating--hover":n.hover,"v-rating--readonly":n.readonly},z.value,n.class],style:n.style},{default:()=>[gt(h,{value:0,index:-1,showStar:!1},null),t.value.map((o,s)=>{var c,f;return gt("div",{class:"v-rating__wrapper"},[a&&n.itemLabelPosition==="top"?l({value:o,index:s,label:(c=n.itemLabels)==null?void 0:c[s]}):void 0,gt("div",{class:"v-rating__item"},[n.halfIncrements?gt($r,null,[gt(h,{value:o-.5,index:s*2},null),gt(h,{value:o,index:s*2+1},null)]):gt(h,{value:o,index:s},null)]),a&&n.itemLabelPosition==="bottom"?l({value:o,index:s,label:(f=n.itemLabels)==null?void 0:f[s]}):void 0])})]})}),{}}});function fT(n){const r=Math.abs(n);return Math.sign(n)*(r/((1/.501-2)*(1-r)+1))}function hT(n){let{selectedElement:e,containerSize:r,contentSize:E,isRtl:z,currentScrollOffset:k,isHorizontal:m}=n;const t=m?e.clientWidth:e.clientHeight,d=m?e.offsetLeft:e.offsetTop,y=z&&m?E-d-t:d,i=r+k,M=t+y,g=t*.4;return y<=k?k=Math.max(y-g,0):i<=M&&(k=Math.min(k-(i-M-g),E-r)),k}function iH(n){let{selectedElement:e,containerSize:r,contentSize:E,isRtl:z,isHorizontal:k}=n;const m=k?e.clientWidth:e.clientHeight,t=k?e.offsetLeft:e.offsetTop,d=z&&k?E-t-m/2-r/2:t+m/2-r/2;return Math.min(E-r,Math.max(0,d))}const pS=Symbol.for("vuetify:v-slide-group"),mS=ur({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:pS},nextIcon:{type:bi,default:"$next"},prevIcon:{type:bi,default:"$prev"},showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["always","desktop","mobile"].includes(n)},...Yr(),...Ai(),...w0({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Dx=Ar()({name:"VSlideGroup",props:mS(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isRtl:E}=Ls(),{mobile:z}=ep(),k=ip(n,n.symbol),m=Wr(!1),t=Wr(0),d=Wr(0),y=Wr(0),i=cn(()=>n.direction==="horizontal"),{resizeRef:M,contentRect:g}=Tf(),{resizeRef:h,contentRect:l}=Tf(),a=cn(()=>k.selected.value.length?k.items.value.findIndex(F=>F.id===k.selected.value[0]):-1),u=cn(()=>k.selected.value.length?k.items.value.findIndex(F=>F.id===k.selected.value[k.selected.value.length-1]):-1);if(to){let F=-1;Xr(()=>[k.selected.value,g.value,l.value,i.value],()=>{cancelAnimationFrame(F),F=requestAnimationFrame(()=>{if(g.value&&l.value){const B=i.value?"width":"height";d.value=g.value[B],y.value=l.value[B],m.value=d.value+1=0&&h.value){const B=h.value.children[u.value];a.value===0||!m.value?t.value=0:n.centerActive?t.value=iH({selectedElement:B,containerSize:d.value,contentSize:y.value,isRtl:E.value,isHorizontal:i.value}):m.value&&(t.value=hT({selectedElement:B,containerSize:d.value,contentSize:y.value,isRtl:E.value,currentScrollOffset:t.value,isHorizontal:i.value}))}})})}const o=Wr(!1);let s=0,c=0;function f(F){const B=i.value?"clientX":"clientY";c=(E.value&&i.value?-1:1)*t.value,s=F.touches[0][B],o.value=!0}function p(F){if(!m.value)return;const B=i.value?"clientX":"clientY",N=E.value&&i.value?-1:1;t.value=N*(c+s-F.touches[0][B])}function w(F){const B=y.value-d.value;t.value<0||!m.value?t.value=0:t.value>=B&&(t.value=B),o.value=!1}function v(){M.value&&(M.value[i.value?"scrollLeft":"scrollTop"]=0)}const S=Wr(!1);function x(F){if(S.value=!0,!(!m.value||!h.value)){for(const B of F.composedPath())for(const N of h.value.children)if(N===B){t.value=hT({selectedElement:N,containerSize:d.value,contentSize:y.value,isRtl:E.value,currentScrollOffset:t.value,isHorizontal:i.value});return}}}function T(F){S.value=!1}function C(F){var B;!S.value&&!(F.relatedTarget&&((B=h.value)!=null&&B.contains(F.relatedTarget)))&&A()}function _(F){h.value&&(i.value?F.key==="ArrowRight"?A(E.value?"prev":"next"):F.key==="ArrowLeft"&&A(E.value?"next":"prev"):F.key==="ArrowDown"?A("next"):F.key==="ArrowUp"&&A("prev"),F.key==="Home"?A("first"):F.key==="End"&&A("last"))}function A(F){var B,N,W,j,Y;if(h.value)if(!F)(B=Dm(h.value)[0])==null||B.focus();else if(F==="next"){const U=(N=h.value.querySelector(":focus"))==null?void 0:N.nextElementSibling;U?U.focus():A("first")}else if(F==="prev"){const U=(W=h.value.querySelector(":focus"))==null?void 0:W.previousElementSibling;U?U.focus():A("last")}else F==="first"?(j=h.value.firstElementChild)==null||j.focus():F==="last"&&((Y=h.value.lastElementChild)==null||Y.focus())}function L(F){const B=t.value+(F==="prev"?-1:1)*d.value;t.value=Xs(B,0,y.value-d.value)}const b=cn(()=>{let F=t.value>y.value-d.value?-(y.value-d.value)+fT(y.value-d.value-t.value):-t.value;t.value<=0&&(F=fT(-t.value));const B=E.value&&i.value?-1:1;return{transform:`translate${i.value?"X":"Y"}(${B*F}px)`,transition:o.value?"none":"",willChange:o.value?"transform":""}}),P=cn(()=>({next:k.next,prev:k.prev,select:k.select,isSelected:k.isSelected})),I=cn(()=>{switch(n.showArrows){case"always":return!0;case"desktop":return!z.value;case!0:return m.value||Math.abs(t.value)>0;case"mobile":return z.value||m.value||Math.abs(t.value)>0;default:return!z.value&&(m.value||Math.abs(t.value)>0)}}),R=cn(()=>Math.abs(t.value)>0),D=cn(()=>y.value>Math.abs(t.value)+d.value);return Rr(()=>gt(n.tag,{class:["v-slide-group",{"v-slide-group--vertical":!i.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":m.value},n.class],style:n.style,tabindex:S.value||k.selected.value.length?-1:0,onFocus:C},{default:()=>{var F,B,N;return[I.value&>("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!R.value}],onClick:()=>L("prev")},[((F=r.prev)==null?void 0:F.call(r,P.value))??gt(gx,null,{default:()=>[gt(ja,{icon:E.value?n.nextIcon:n.prevIcon},null)]})]),gt("div",{key:"container",ref:M,class:"v-slide-group__container",onScroll:v},[gt("div",{ref:h,class:"v-slide-group__content",style:b.value,onTouchstartPassive:f,onTouchmovePassive:p,onTouchendPassive:w,onFocusin:x,onFocusout:T,onKeydown:_},[(B=r.default)==null?void 0:B.call(r,P.value)])]),I.value&>("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!D.value}],onClick:()=>L("next")},[((N=r.next)==null?void 0:N.call(r,P.value))??gt(gx,null,{default:()=>[gt(ja,{icon:E.value?n.prevIcon:n.nextIcon},null)]})])]}})),{selected:k.selected,scrollTo:L,scrollOffset:t,focus:A}}}),aH=Ar()({name:"VSlideGroupItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const E=k0(n,pS);return()=>{var z;return(z=r.default)==null?void 0:z.call(r,{isSelected:E.isSelected.value,select:E.select,toggle:E.toggle,selectedClass:E.selectedClass.value})}}});const oH=ur({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...ed({location:"bottom"}),...A0(),...lo(),...lc(),...oa(),...nc(cg({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),sH=Ar()({name:"VSnackbar",props:oH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{locationStyles:z}=td(n),{positionClasses:k}=S0(n),{scopeId:m}=E0(),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:y,variantClasses:i}=rp(n),{roundedClasses:M}=Eo(n),g=Vr();Xr(E,l),Xr(()=>n.timeout,l),Js(()=>{E.value&&l()});let h=-1;function l(){window.clearTimeout(h);const u=Number(n.timeout);!E.value||u===-1||(h=window.setTimeout(()=>{E.value=!1},u))}function a(){window.clearTimeout(h)}return Rr(()=>{const[u]=oh.filterProps(n);return gt(oh,qr({ref:g,class:["v-snackbar",{"v-snackbar--active":E.value,"v-snackbar--multi-line":n.multiLine&&!n.vertical,"v-snackbar--vertical":n.vertical},k.value,n.class],style:n.style},u,{modelValue:E.value,"onUpdate:modelValue":o=>E.value=o,contentProps:qr({class:["v-snackbar__wrapper",t.value,d.value,M.value,i.value],style:[z.value,y.value],onPointerenter:a,onPointerleave:l},u.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},m),{default:()=>[np(!1,"v-snackbar"),r.default&>("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.default()]),r.actions&>(Fa,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[gt("div",{class:"v-snackbar__actions"},[r.actions()])]})],activator:r.activator})}),Nc({},g)}});const lH=ur({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...mh(),...n1()},"VSwitch"),uH=Ar()({name:"VSwitch",inheritAttrs:!1,props:lH(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,e){let{attrs:r,slots:E}=e;const z=xi(n,"indeterminate"),k=xi(n,"modelValue"),{loaderClasses:m}=t1(n),{isFocused:t,focus:d,blur:y}=rd(n),i=Vr(),M=cn(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),g=Qs(),h=cn(()=>n.id||`switch-${g}`);function l(){z.value&&(z.value=!1)}function a(u){var o,s;u.stopPropagation(),u.preventDefault(),(s=(o=i.value)==null?void 0:o.input)==null||s.click()}return Rr(()=>{const[u,o]=Qd(r),[s,c]=Ns.filterProps(n),[f,p]=Xd.filterProps(n);return gt(Ns,qr({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":z.value},m.value,n.class],style:n.style},u,s,{id:h.value,focused:t.value}),{...E,default:w=>{let{id:v,messagesId:S,isDisabled:x,isReadonly:T,isValid:C}=w;return gt(Xd,qr({ref:i},f,{modelValue:k.value,"onUpdate:modelValue":[_=>k.value=_,l],id:v.value,"aria-describedby":S.value,type:"checkbox","aria-checked":z.value?"mixed":void 0,disabled:x.value,readonly:T.value,onFocus:d,onBlur:y},o),{...E,default:_=>{let{backgroundColorClasses:A,backgroundColorStyles:L}=_;return gt("div",{class:["v-switch__track",...A.value],style:L.value,onClick:a},null)},input:_=>{let{inputNode:A,icon:L,backgroundColorClasses:b,backgroundColorStyles:P}=_;return gt($r,null,[A,gt("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:b.value],style:n.inset?void 0:P.value},[gt(s_,null,{default:()=>[n.loading?gt(g_,{name:"v-switch",active:!0,color:C.value===!1?void 0:M.value},{default:I=>E.loader?E.loader(I):gt(d_,{active:I.isActive,color:I.color,indeterminate:!0,size:"16",width:"2"},null)}):L&>(ja,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}});const cH=ur({color:String,height:[Number,String],window:Boolean,...Yr(),...ds(),...x0(),...lo(),...Ai(),...oa()},"VSystemBar"),fH=Ar()({name:"VSystemBar",props:cH(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{backgroundColorClasses:z,backgroundColorStyles:k}=Ro(Cr(n,"color")),{elevationClasses:m}=Vs(n),{roundedClasses:t}=Eo(n),{ssrBootStyles:d}=tp(),y=cn(()=>n.height??(n.window?32:24)),{layoutItemStyles:i}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Wr("top"),layoutSize:y,elementSize:y,active:cn(()=>!0),absolute:Cr(n,"absolute")});return Rr(()=>gt(n.tag,{class:["v-system-bar",{"v-system-bar--window":n.window},E.value,z.value,m.value,t.value,n.class],style:[k.value,i.value,d.value,n.style]},r)),{}}});const gS=Symbol.for("vuetify:v-tabs"),hH=ur({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...nc(v_({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),vS=Ar()({name:"VTab",props:hH(),setup(n,e){let{slots:r,attrs:E}=e;const{textColorClasses:z,textColorStyles:k}=Ks(n,"sliderColor"),m=cn(()=>n.direction==="horizontal"),t=Wr(!1),d=Vr(),y=Vr();function i(M){var h,l;let{value:g}=M;if(t.value=g,g){const a=(l=(h=d.value)==null?void 0:h.$el.parentElement)==null?void 0:l.querySelector(".v-tab--selected .v-tab__slider"),u=y.value;if(!a||!u)return;const o=getComputedStyle(a).color,s=a.getBoundingClientRect(),c=u.getBoundingClientRect(),f=m.value?"x":"y",p=m.value?"X":"Y",w=m.value?"right":"bottom",v=m.value?"width":"height",S=s[f],x=c[f],T=S>x?s[w]-c[w]:s[f]-c[f],C=Math.sign(T)>0?m.value?"right":"bottom":Math.sign(T)<0?m.value?"left":"top":"center",A=(Math.abs(T)+(Math.sign(T)<0?s[v]:c[v]))/Math.max(s[v],c[v])||0,L=s[v]/c[v]||0,b=1.5;Dd(u,{backgroundColor:[o,"currentcolor"],transform:[`translate${p}(${T}px) scale${p}(${L})`,`translate${p}(${T/b}px) scale${p}(${(A-1)/b+1})`,"none"],transformOrigin:Array(3).fill(C)},{duration:225,easing:zm})}}return Rr(()=>{const[M]=wl.filterProps(n);return gt(wl,qr({symbol:gS,ref:d,class:["v-tab",n.class],style:n.style,tabindex:t.value?0:-1,role:"tab","aria-selected":String(t.value),active:!1},M,E,{block:n.fixed,maxWidth:n.fixed?300:void 0,"onGroup:selected":i}),{default:()=>{var g;return[((g=r.default)==null?void 0:g.call(r))??n.text,!n.hideSlider&>("div",{ref:y,class:["v-tab__slider",z.value],style:k.value},null)]}})}),{}}});function dH(n){return n?n.map(e=>typeof e=="string"?{title:e,value:e}:e):[]}const pH=ur({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...mS({mandatory:"force"}),...ps(),...Ai()},"VTabs"),mH=Ar()({name:"VTabs",props:pH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),z=cn(()=>dH(n.items)),{densityClasses:k}=el(n),{backgroundColorClasses:m,backgroundColorStyles:t}=Ro(Cr(n,"bgColor"));return ns({VTab:{color:Cr(n,"color"),direction:Cr(n,"direction"),stacked:Cr(n,"stacked"),fixed:Cr(n,"fixedTabs"),sliderColor:Cr(n,"sliderColor"),hideSlider:Cr(n,"hideSlider")}}),Rr(()=>{const[d]=Dx.filterProps(n);return gt(Dx,qr(d,{modelValue:E.value,"onUpdate:modelValue":y=>E.value=y,class:["v-tabs",`v-tabs--${n.direction}`,`v-tabs--align-tabs-${n.alignTabs}`,{"v-tabs--fixed-tabs":n.fixedTabs,"v-tabs--grow":n.grow,"v-tabs--stacked":n.stacked},k.value,m.value,n.class],style:[{"--v-tabs-height":Qr(n.height)},t.value,n.style],role:"tablist",symbol:gS}),{default:()=>[r.default?r.default():z.value.map(y=>gt(vS,qr(y,{key:y.title}),null))]})}),{}}});const gH=ur({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Yr(),...ps(),...Ai(),...oa()},"VTable"),vH=Ar()({name:"VTable",props:gH(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{densityClasses:z}=el(n);return Rr(()=>gt(n.tag,{class:["v-table",{"v-table--fixed-height":!!n.height,"v-table--fixed-header":n.fixedHeader,"v-table--fixed-footer":n.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":n.hover},E.value,z.value,n.class],style:n.style},{default:()=>{var k,m,t;return[(k=r.top)==null?void 0:k.call(r),r.default?gt("div",{class:"v-table__wrapper",style:{height:Qr(n.height)}},[gt("table",null,[r.default()])]):(m=r.wrapper)==null?void 0:m.call(r),(t=r.bottom)==null?void 0:t.call(r)]}})),{}}});const yH=ur({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...mh(),...u1()},"VTextarea"),bH=Ar()({name:"VTextarea",directives:{Intersect:og},inheritAttrs:!1,props:yH(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:E,slots:z}=e;const k=xi(n,"modelValue"),{isFocused:m,focus:t,blur:d}=rd(n),y=cn(()=>typeof n.counterValue=="function"?n.counterValue(k.value):(k.value||"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter});function M(C,_){var A,L;!n.autofocus||!C||(L=(A=_[0].target)==null?void 0:A.focus)==null||L.call(A)}const g=Vr(),h=Vr(),l=Wr(""),a=Vr(),u=cn(()=>n.persistentPlaceholder||m.value||n.active);function o(){var C;a.value!==document.activeElement&&((C=a.value)==null||C.focus()),m.value||t()}function s(C){o(),E("click:control",C)}function c(C){E("mousedown:control",C)}function f(C){C.stopPropagation(),o(),Ua(()=>{k.value="",K2(n["onClick:clear"],C)})}function p(C){var A;const _=C.target;if(k.value=_.value,(A=n.modelModifiers)!=null&&A.trim){const L=[_.selectionStart,_.selectionEnd];Ua(()=>{_.selectionStart=L[0],_.selectionEnd=L[1]})}}const w=Vr(),v=Vr(+n.rows),S=cn(()=>["plain","underlined"].includes(n.variant));wu(()=>{n.autoGrow||(v.value=+n.rows)});function x(){n.autoGrow&&Ua(()=>{if(!w.value||!h.value)return;const C=getComputedStyle(w.value),_=getComputedStyle(h.value.$el),A=parseFloat(C.getPropertyValue("--v-field-padding-top"))+parseFloat(C.getPropertyValue("--v-input-padding-top"))+parseFloat(C.getPropertyValue("--v-field-padding-bottom")),L=w.value.scrollHeight,b=parseFloat(C.lineHeight),P=Math.max(parseFloat(n.rows)*b+A,parseFloat(_.getPropertyValue("--v-input-control-height"))),I=parseFloat(n.maxRows)*b+A||1/0,R=Xs(L??0,P,I);v.value=Math.floor((R-A)/b),l.value=Qr(R)})}Js(x),Xr(k,x),Xr(()=>n.rows,x),Xr(()=>n.maxRows,x),Xr(()=>n.density,x);let T;return Xr(w,C=>{C?(T=new ResizeObserver(x),T.observe(w.value)):T==null||T.disconnect()}),kl(()=>{T==null||T.disconnect()}),Rr(()=>{const C=!!(z.counter||n.counter||n.counterValue),_=!!(C||z.details),[A,L]=Qd(r),[{modelValue:b,...P}]=Ns.filterProps(n),[I]=w_(n);return gt(Ns,qr({ref:g,modelValue:k.value,"onUpdate:modelValue":R=>k.value=R,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":S.value},n.class],style:n.style},A,P,{centerAffix:v.value===1&&!S.value,focused:m.value}),{...z,default:R=>{let{isDisabled:D,isDirty:F,isReadonly:B,isValid:N}=R;return gt(fg,qr({ref:h,style:{"--v-textarea-control-height":l.value},onClick:s,onMousedown:c,"onClick:clear":f,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},I,{active:u.value||F.value,centerAffix:v.value===1&&!S.value,dirty:F.value||n.dirty,disabled:D.value,focused:m.value,error:N.value===!1}),{...z,default:W=>{let{props:{class:j,...Y}}=W;return gt($r,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[n.prefix]),Co(gt("textarea",qr({ref:a,class:j,value:k.value,onInput:p,autofocus:n.autofocus,readonly:B.value,disabled:D.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:o,onBlur:d},Y,L),null),[[Tu("intersect"),{handler:M},null,{once:!0}]]),n.autoGrow&&Co(gt("textarea",{class:[j,"v-textarea__sizer"],id:`${Y.id}-sizer`,"onUpdate:modelValue":U=>k.value=U,ref:w,readonly:!0,"aria-hidden":"true"},null),[[M7,k.value]]),n.suffix&>("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:_?R=>{var D;return gt($r,null,[(D=z.details)==null?void 0:D.call(z,R),C&>($r,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||m.value,value:y.value,max:i.value},z.counter)])])}:void 0})}),Nc({},g,h,a)}});const xH=ur({withBackground:Boolean,...Yr(),...oa(),...Ai()},"VThemeProvider"),_H=Ar()({name:"VThemeProvider",props:xH(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n);return()=>{var z;return n.withBackground?gt(n.tag,{class:["v-theme-provider",E.value,n.class],style:n.style},{default:()=>{var k;return[(k=r.default)==null?void 0:k.call(r)]}}):(z=r.default)==null?void 0:z.call(r)}}});const wH=ur({align:{type:String,default:"center",validator:n=>["center","start"].includes(n)},direction:{type:String,default:"vertical",validator:n=>["vertical","horizontal"].includes(n)},justify:{type:String,default:"auto",validator:n=>["auto","center"].includes(n)},side:{type:String,validator:n=>n==null||["start","end"].includes(n)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:n=>["start","end","both"].includes(n)},...Yr(),...ps(),...Ai(),...oa()},"VTimeline"),TH=Ar()({name:"VTimeline",props:wH(),setup(n,e){let{slots:r}=e;const{themeClasses:E}=Ma(n),{densityClasses:z}=el(n),{rtlClasses:k}=Ls();ns({VTimelineDivider:{lineColor:Cr(n,"lineColor")},VTimelineItem:{density:Cr(n,"density"),lineInset:Cr(n,"lineInset")}});const m=cn(()=>{const d=n.side?n.side:n.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),t=cn(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(n.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return Rr(()=>gt(n.tag,{class:["v-timeline",`v-timeline--${n.direction}`,`v-timeline--align-${n.align}`,`v-timeline--justify-${n.justify}`,t.value,{"v-timeline--inset-line":!!n.lineInset},E.value,z.value,m.value,k.value,n.class],style:[{"--v-timeline-line-thickness":Qr(n.lineThickness)},n.style]},r)),{}}}),kH=ur({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:bi,iconColor:String,lineColor:String,...Yr(),...lo(),...ph(),...ds()},"VTimelineDivider"),MH=Ar()({name:"VTimelineDivider",props:kH(),setup(n,e){let{slots:r}=e;const{sizeClasses:E,sizeStyles:z}=M0(n,"v-timeline-divider__dot"),{backgroundColorStyles:k,backgroundColorClasses:m}=Ro(Cr(n,"dotColor")),{roundedClasses:t}=Eo(n,"v-timeline-divider__dot"),{elevationClasses:d}=Vs(n),{backgroundColorClasses:y,backgroundColorStyles:i}=Ro(Cr(n,"lineColor"));return Rr(()=>gt("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":n.fillDot},n.class],style:n.style},[gt("div",{class:["v-timeline-divider__before",y.value],style:i.value},null),!n.hideDot&>("div",{key:"dot",class:["v-timeline-divider__dot",d.value,t.value,E.value],style:z.value},[gt("div",{class:["v-timeline-divider__inner-dot",m.value,t.value],style:k.value},[r.default?gt(Fa,{key:"icon-defaults",disabled:!n.icon,defaults:{VIcon:{color:n.iconColor,icon:n.icon,size:n.size}}},r.default):gt(ja,{key:"icon",color:n.iconColor,icon:n.icon,size:n.size},null)])]),gt("div",{class:["v-timeline-divider__after",y.value],style:i.value},null)])),{}}}),AH=ur({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:bi,iconColor:String,lineInset:[Number,String],...Yr(),...ac(),...ds(),...lo(),...ph(),...Ai()},"VTimelineItem"),SH=Ar()({name:"VTimelineItem",props:AH(),setup(n,e){let{slots:r}=e;const{dimensionStyles:E}=oc(n),z=Wr(0),k=Vr();return Xr(k,m=>{var t;m&&(z.value=((t=m.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:t.getBoundingClientRect().width)??0)},{flush:"post"}),Rr(()=>{var m,t;return gt("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":n.fillDot},n.class],style:[{"--v-timeline-dot-size":Qr(z.value),"--v-timeline-line-inset":n.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${Qr(n.lineInset)})`:Qr(0)},n.style]},[gt("div",{class:"v-timeline-item__body",style:E.value},[(m=r.default)==null?void 0:m.call(r)]),gt(MH,{ref:k,hideDot:n.hideDot,icon:n.icon,iconColor:n.iconColor,size:n.size,elevation:n.elevation,dotColor:n.dotColor,fillDot:n.fillDot,rounded:n.rounded},{default:r.icon}),n.density!=="compact"&>("div",{class:"v-timeline-item__opposite"},[!n.hideOpposite&&((t=r.opposite)==null?void 0:t.call(r))])])}),{}}}),CH=ur({...Yr(),...lc({variant:"text"})},"VToolbarItems"),EH=Ar()({name:"VToolbarItems",props:CH(),setup(n,e){let{slots:r}=e;return ns({VBtn:{color:Cr(n,"color"),height:"inherit",variant:Cr(n,"variant")}}),Rr(()=>{var E;return gt("div",{class:["v-toolbar-items",n.class],style:n.style},[(E=r.default)==null?void 0:E.call(r)])}),{}}});const LH=ur({id:String,text:String,...nc(cg({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),IH=Ar()({name:"VTooltip",props:LH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const E=xi(n,"modelValue"),{scopeId:z}=E0(),k=Qs(),m=cn(()=>n.id||`v-tooltip-${k}`),t=Vr(),d=cn(()=>n.location.split(" ").length>1?n.location:n.location+" center"),y=cn(()=>n.origin==="auto"||n.origin==="overlap"||n.origin.split(" ").length>1||n.location.split(" ").length>1?n.origin:n.origin+" center"),i=cn(()=>n.transition?n.transition:E.value?"scale-transition":"fade-transition"),M=cn(()=>qr({"aria-describedby":m.value},n.activatorProps));return Rr(()=>{const[g]=oh.filterProps(n);return gt(oh,qr({ref:t,class:["v-tooltip",n.class],style:n.style,id:m.value},g,{modelValue:E.value,"onUpdate:modelValue":h=>E.value=h,transition:i.value,absolute:!0,location:d.value,origin:y.value,persistent:!0,role:"tooltip",activatorProps:M.value,_disableGlobalStack:!0},z),{activator:r.activator,default:function(){var u;for(var h=arguments.length,l=new Array(h),a=0;a!0},setup(n,e){let{slots:r}=e;const E=uA(n,"validation");return()=>{var z;return(z=r.default)==null?void 0:z.call(r,E)}}}),OH=Object.freeze(Object.defineProperty({__proto__:null,VAlert:lN,VAlertTitle:tA,VApp:yB,VAppBar:BB,VAppBarNavIcon:iN,VAppBarTitle:aN,VAutocomplete:AV,VAvatar:Zh,VBadge:CV,VBanner:IV,VBannerActions:DA,VBannerText:zA,VBottomNavigation:OV,VBreadcrumbs:FV,VBreadcrumbsDivider:FA,VBreadcrumbsItem:BA,VBtn:wl,VBtnGroup:bx,VBtnToggle:GB,VCard:VV,VCardActions:NA,VCardItem:UA,VCardSubtitle:VA,VCardText:HA,VCardTitle:jA,VCarousel:ZV,VCarouselItem:KV,VCheckbox:gN,VCheckboxBtn:f0,VChip:ug,VChipGroup:bN,VClassIcon:a_,VCode:JV,VCol:uU,VColorPicker:Vj,VCombobox:Hj,VComponentIcon:dx,VContainer:aU,VCounter:l1,VDefaultsProvider:Fa,VDialog:qj,VDialogBottomTransition:wB,VDialogTopTransition:TB,VDialogTransition:Qy,VDivider:xA,VExpandTransition:e1,VExpandXTransition:u_,VExpansionPanel:Kj,VExpansionPanelText:eS,VExpansionPanelTitle:nS,VExpansionPanels:Yj,VFabTransition:_B,VFadeTransition:gx,VField:fg,VFieldLabel:um,VFileInput:Qj,VFooter:tU,VForm:rU,VHover:bU,VIcon:ja,VImg:Zd,VInput:Ns,VItem:wU,VItemGroup:_U,VKbd:TU,VLabel:C0,VLayout:MU,VLayoutItem:SU,VLazy:EU,VLigatureIcon:IF,VList:a1,VListGroup:Tx,VListImg:NN,VListItem:ah,VListItemAction:jN,VListItemMedia:HN,VListItemSubtitle:vA,VListItemTitle:yA,VListSubheader:bA,VLocaleProvider:IU,VMain:OU,VMenu:s1,VMessages:oA,VNavigationDrawer:UU,VNoSsr:HU,VOverlay:oh,VPagination:WU,VParallax:ZU,VProgressCircular:d_,VProgressLinear:p_,VRadio:KU,VRadioGroup:QU,VRangeSlider:tH,VRating:rH,VResponsive:vx,VRow:gU,VScaleTransition:s_,VScrollXReverseTransition:MB,VScrollXTransition:kB,VScrollYReverseTransition:SB,VScrollYTransition:AB,VSelect:_V,VSelectionControl:Xd,VSelectionControlGroup:rA,VSheet:Rx,VSlideGroup:Dx,VSlideGroupItem:aH,VSlideXReverseTransition:EB,VSlideXTransition:CB,VSlideYReverseTransition:LB,VSlideYTransition:l_,VSlider:Ox,VSnackbar:sH,VSpacer:vU,VSvgIcon:i_,VSwitch:uH,VSystemBar:fH,VTab:vS,VTable:vH,VTabs:mH,VTextField:Kd,VTextarea:bH,VThemeProvider:_H,VTimeline:TH,VTimelineItem:SH,VToolbar:yx,VToolbarItems:EH,VToolbarTitle:o_,VTooltip:IH,VValidation:PH,VVirtualScroll:f1,VWindow:Sx,VWindowItem:Cx},Symbol.toStringTag,{value:"Module"}));function RH(n,e){const r=e.modifiers||{},E=e.value,{once:z,immediate:k,...m}=r,t=!Object.keys(m).length,{handler:d,options:y}=typeof E=="object"?E:{handler:E,options:{attributes:(m==null?void 0:m.attr)??t,characterData:(m==null?void 0:m.char)??t,childList:(m==null?void 0:m.child)??t,subtree:(m==null?void 0:m.sub)??t}},i=new MutationObserver(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],g=arguments.length>1?arguments[1]:void 0;d==null||d(M,g),z&&yS(n,e)});k&&(d==null||d([],i)),n._mutate=Object(n._mutate),n._mutate[e.instance.$.uid]={observer:i},i.observe(n,y)}function yS(n,e){var r;(r=n._mutate)!=null&&r[e.instance.$.uid]&&(n._mutate[e.instance.$.uid].observer.disconnect(),delete n._mutate[e.instance.$.uid])}const DH={mounted:RH,unmounted:yS};function zH(n,e){var z,k;const r=e.value,E={passive:!((z=e.modifiers)!=null&&z.active)};window.addEventListener("resize",r,E),n._onResize=Object(n._onResize),n._onResize[e.instance.$.uid]={handler:r,options:E},(k=e.modifiers)!=null&&k.quiet||r()}function FH(n,e){var z;if(!((z=n._onResize)!=null&&z[e.instance.$.uid]))return;const{handler:r,options:E}=n._onResize[e.instance.$.uid];window.removeEventListener("resize",r,E),delete n._onResize[e.instance.$.uid]}const BH={mounted:zH,unmounted:FH};function bS(n,e){const{self:r=!1}=e.modifiers??{},E=e.value,z=typeof E=="object"&&E.options||{passive:!0},k=typeof E=="function"||"handleEvent"in E?E:E.handler,m=r?n:e.arg?document.querySelector(e.arg):window;m&&(m.addEventListener("scroll",k,z),n._onScroll=Object(n._onScroll),n._onScroll[e.instance.$.uid]={handler:k,options:z,target:r?void 0:m})}function xS(n,e){var k;if(!((k=n._onScroll)!=null&&k[e.instance.$.uid]))return;const{handler:r,options:E,target:z=n}=n._onScroll[e.instance.$.uid];z.removeEventListener("scroll",r,E),delete n._onScroll[e.instance.$.uid]}function NH(n,e){e.value!==e.oldValue&&(xS(n,e),bS(n,e))}const VH={mounted:bS,unmounted:xS,updated:NH},jH=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:PA,Intersect:og,Mutate:DH,Resize:BH,Ripple:nd,Scroll:VH,Touch:M_},Symbol.toStringTag,{value:"Module"})),E_=L7(Vz);E_.use(O7());E_.use(z6({components:OH,directives:jH}));E_.mount("#app"); diff --git a/js-component/dist/index.html b/js-component/dist/index.html index d74ee053..c0c7b77e 100644 --- a/js-component/dist/index.html +++ b/js-component/dist/index.html @@ -5,8 +5,8 @@ openms-streamlit-vue-component - - + +
diff --git a/openms-streamlit-vue-component b/openms-streamlit-vue-component index a8590fec..794112da 160000 --- a/openms-streamlit-vue-component +++ b/openms-streamlit-vue-component @@ -1 +1 @@ -Subproject commit a8590fec75282b60c24d7509b81c917fbc5a265e +Subproject commit 794112daa00278d2929b3d45f1a8db192a59839b diff --git a/src/Workflow.py b/src/Workflow.py index b46d3c23..c4135c52 100644 --- a/src/Workflow.py +++ b/src/Workflow.py @@ -132,7 +132,7 @@ def execution(self) -> None: # Check if a decoy database needs to be generated tagger_params = self.executor.parameter_manager.get_parameters_from_json()['FLASHTnT'] - if ((tagger_params.get('tnt:prsm_fdr', 1) < 1) or (tagger_params.get('tnt:pro_fdr', 1) < 1)): + if ((tagger_params.get('prsm_fdr', 1) < 1) or (tagger_params.get('pro_fdr', 1) < 1)): # If few proteins are present increase decoy size if self.executor.parameter_manager.get_parameters_from_json()['few_proteins']: ratio = 10 @@ -214,12 +214,10 @@ def execution(self) -> None: 'tags_tsv', 'protein_tsv' ] ) - print('a') parsedResults = parseTnT( results['out_deconv_mzML'], results['anno_annotated_mzML'], results['tags_tsv'], results['protein_tsv'] ) - print('b') for k, v in parsedResults.items(): self.file_manager.store_data(dataset_id, k, v) @@ -364,9 +362,19 @@ def execution(self) -> None: dataset_id, ['out_deconv_mzML', 'anno_annotated_mzML', 'out_tsv'] ) + out_tsv_ms1 = None + if self.file_manager.result_exists(dataset_id, 'spec1_tsv'): + out_tsv_ms1 = self.file_manager.get_results( + dataset_id, ['spec1_tsv'] + )['spec1_tsv'] + out_tsv_ms2 = None + if self.file_manager.result_exists(dataset_id, 'spec2_tsv'): + out_tsv_ms2 = self.file_manager.get_results( + dataset_id, ['spec2_tsv'] + )['spec2_tsv'] parsedResults = parseDeconv( results['out_deconv_mzML'], results['anno_annotated_mzML'], - results['out_tsv'] + out_tsv_ms1, out_tsv_ms2 ) for k, v in parsedResults.items(): self.file_manager.store_data(dataset_id, k, v) diff --git a/src/common/common.py b/src/common/common.py index c4dcc3a1..6bbc351c 100644 --- a/src/common/common.py +++ b/src/common/common.py @@ -222,17 +222,8 @@ def page_setup(page: str = "") -> dict[str, Any]: # Render the sidebar params = render_sidebar(page) - - # If run in hosted mode, show captcha as long as it has not been solved - #if not "local" in sys.argv: - # if "controllo" not in st.session_state: - # # Apply captcha by calling the captcha_control function - # captcha_control() - # If run in hosted mode, show captcha as long as it has not been solved - if 'controllo' not in st.session_state or params["controllo"] == False: - # Apply captcha by calling the captcha_control function - captcha_control() + captcha_control() return params diff --git a/src/components.py b/src/components.py index fabf07e6..e4e6d5f1 100644 --- a/src/components.py +++ b/src/components.py @@ -23,13 +23,6 @@ def flash_viewer_grid_component(components, data, component_key='flash_viewer_gr for row in components: out_components.append(list(map(lambda component: {"componentArgs": component.componentArgs.__dict__}, row))) - data_for_drawing = {} - for key, df in data.items(): - if type(df) is dict: - data_for_drawing[key] = json.dumps(df) - else: - data_for_drawing[key] = df.to_json(orient='records') - component_value = _component_func( components=out_components, key=component_key, @@ -77,6 +70,10 @@ def __init__(self, title): self.title = title self.componentName = "PlotlyLineplot" +class FDRPlotly: + def __init__(self): + self.title = 'QScore ECDF Plot' + self.componentName = "FDRPlotly" class PlotlyLineplotTagger: def __init__(self, title): diff --git a/src/parse/deconv.py b/src/parse/deconv.py index 9fa78074..d6cf8682 100644 --- a/src/parse/deconv.py +++ b/src/parse/deconv.py @@ -2,19 +2,23 @@ from src.masstable import parseFLASHDeconvOutput -def parseDeconv(deconv_mzML, anno_mzML, out_tsv=None): +def parseDeconv(out_deconv_mzML, anno_annotated_mzML, spec1_tsv=None, spec2_tsv=None): # Parse input files - deconv_df, anno_df, _, _, _ = parseFLASHDeconvOutput(anno_mzML, deconv_mzML) + deconv_df, anno_df, _, _, _ = parseFLASHDeconvOutput(anno_annotated_mzML, out_deconv_mzML) parsed_data = { 'anno_dfs' : anno_df, 'deconv_dfs' : deconv_df } # For the ECDF plot this additional piece of data is required - if out_tsv is not None: - df = pd.read_csv(out_tsv, sep='\t') - if 'IsDecoy' in df.columns: - parsed_data['parsed_tsv_files'] = df + if spec1_tsv is not None: + df = pd.read_csv(spec1_tsv, sep='\t') + if 'TargetDecoyType' in df.columns: + parsed_data['parsed_tsv_file_ms1'] = df + if spec2_tsv is not None: + df = pd.read_csv(spec2_tsv, sep='\t') + if 'TargetDecoyType' in df.columns: + parsed_data['parsed_tsv_file_ms2'] = df return parsed_data diff --git a/src/workflow/FileManager.py b/src/workflow/FileManager.py index 9d51d2de..84613be6 100644 --- a/src/workflow/FileManager.py +++ b/src/workflow/FileManager.py @@ -36,6 +36,9 @@ def __init__( # Setup Caching self.cache_path = cache_path Path(self.cache_path, 'files').mkdir(parents=True, exist_ok=True) + self._connect_to_sql() + + def _connect_to_sql(self): self.cache_connection = sqlite3.connect( Path(self.cache_path, 'cache.db'), isolation_level=None ) @@ -51,6 +54,16 @@ def __init__( ); """) + def __getstate__(self): + state = self.__dict__.copy() + del state['cache_connection'] + del state['cache_cursor'] + return state + + def __setstate__(self, state): + self.__dict__.update(state) + self._connect_to_sql() + def get_files( self, files: Union[List[Union[str, Path]], Path, str, List[List[str]]], diff --git a/src/workflow/StreamlitUI.py b/src/workflow/StreamlitUI.py index 01dfa334..8a84a79a 100644 --- a/src/workflow/StreamlitUI.py +++ b/src/workflow/StreamlitUI.py @@ -39,6 +39,7 @@ def __init__(self, workflow_dir, logger, executor, parameter_manager): self.parameter_manager = parameter_manager self.params = self.parameter_manager.get_parameters_from_json() + @st.fragment def upload_widget( self, key: str, @@ -246,19 +247,15 @@ def upload_widget( "This means that the original files will be used instead. " ) - if fallback and not any(Path(files_dir).iterdir()): + if fallback and not any([f for f in Path(files_dir).iterdir() if f.name != "external_files.txt"]): if isinstance(fallback, str): fallback = [fallback] for f in fallback: c1, _ = st.columns(2) if not Path(files_dir, f).exists(): shutil.copy(f, Path(files_dir, Path(f).name)) - c1.info(f"Adding default file: **{f}**") - current_files = [ - f.name - for f in files_dir.iterdir() - if f.name not in [Path(f).name for f in fallback] - ] + current_files = [f.name for f in files_dir.iterdir() if f.name != "external_files.txt"] + c1.warning("**No data yet. Using example data file(s).**") else: if files_dir.exists(): current_files = [ @@ -291,12 +288,13 @@ def upload_widget( if current_files: c1.info(f"Current **{name}** files:\n\n" + "\n\n".join(current_files)) if c1.button( - f"๐Ÿ—‘๏ธ Remove all **{name}** files.", + f"๐Ÿ—‘๏ธ Clear **{name}** files.", use_container_width=True, key=f"remove-files-{key}", ): shutil.rmtree(files_dir) - del self.params[key] + if key in self.params: + del self.params[key] with open( self.parameter_manager.params_file, "w", encoding="utf-8" ) as f: @@ -305,6 +303,7 @@ def upload_widget( elif not fallback: st.warning(f"No **{name}** files!") + @st.fragment def select_input_file( self, key: str, @@ -352,6 +351,7 @@ def select_input_file( display_file_path=display_file_path, ) + @st.fragment def input_widget( self, key: str, @@ -529,6 +529,8 @@ def format_files(input: Any) -> List[str]: else: st.error(f"Unsupported widget type '{widget_type}'") + self.parameter_manager.save_parameters() + @st.fragment def input_TOPP( self, @@ -753,10 +755,17 @@ def display_TOPP_params(params: dict, num_cols): v.decode() if isinstance(v, bytes) else v for v in p["value"] ] + valid_entries_info = '' + if len(p['valid_strings']) > 0: + valid_entries_info = ( + " Valid entries are: " + + ', '.join(sorted(p['valid_strings'])) + ) + cols[i].text_area( name, value="\n".join([str(val) for val in p["value"]]), - help=p["description"], + help=p["description"] + " Separate entries using the \"Enter\" key." + valid_entries_info, key=key, ) @@ -900,8 +909,9 @@ def zip_and_download_files(self, directory: str): n_files = len(files) + c1, _ = st.columns(2) # Initialize Streamlit progress bar - my_bar = st.progress(0) + my_bar = c1.progress(0) with zipfile.ZipFile(bytes_io, "w", zipfile.ZIP_DEFLATED) as zip_file: for i, file_path in enumerate(files): @@ -916,7 +926,7 @@ def zip_and_download_files(self, directory: str): bytes_io.seek(0) # Reset buffer pointer to the beginning # Display a download button for the zip file in Streamlit - st.columns(2)[1].download_button( + c1.download_button( label="โฌ‡๏ธ Download Now", data=bytes_io, file_name="input-files.zip", @@ -927,7 +937,7 @@ def zip_and_download_files(self, directory: str): def file_upload_section(self, custom_upload_function) -> None: custom_upload_function() c1, _ = st.columns(2) - if c1.button("โฌ‡๏ธ Download all uploaded files", use_container_width=True): + if c1.button("โฌ‡๏ธ Download files", use_container_width=True): self.zip_and_download_files(Path(self.workflow_dir, "input-files")) def parameter_section(self, custom_parameter_function) -> None: