diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..45c63c5 --- /dev/null +++ b/.env.development @@ -0,0 +1,2 @@ +VITE_API_URL = "https://m.taigurun.cn" +VITE_OSS_URL = "https://m.taigurun.cn/uploads" \ No newline at end of file diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..45c63c5 --- /dev/null +++ b/.env.production @@ -0,0 +1,2 @@ +VITE_API_URL = "https://m.taigurun.cn" +VITE_OSS_URL = "https://m.taigurun.cn/uploads" \ No newline at end of file diff --git a/.gitignore b/.gitignore index d714e01..b2d1342 100644 --- a/.gitignore +++ b/.gitignore @@ -1,173 +1,404 @@ -# ---> macOS -# General -.DS_Store -.AppleDouble -.LSOverride +# ---> VisualStudio +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore -# Icon must end with two \r -Icon +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates -# Thumbnails -._* +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent +# Mono auto generated files +mono_crash.* -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ -# ---> Vue -# gitignore template for Vue.js projects -# -# Recommended template: Node.gitignore +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ -# TODO: where does this rule come from? -docs/_book +# Visual Studio 2017 auto generated files +Generated\ Files/ -# TODO: where does this rule come from? -test/ +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* -# ---> Node -# Logs -logs +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +# but not Directory.Build.rsp, as it configures directory-level build defaults +!Directory.Build.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj *.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* -.pnpm-debug.log* +*.tlog +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json +# Chutzpah Test files +_Chutzpah* -# Runtime data -pids -*.pid -*.seed -*.pid.lock +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap -# Coverage directory used by tools like istanbul -coverage -*.lcov +# Visual Studio Trace Files +*.e2e -# nyc test coverage -.nyc_output +# TFS 2012 Local Workspace +$tf/ -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) -.grunt +# Guidance Automation Toolkit +*.gpState -# Bower dependency directory (https://bower.io/) -bower_components +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user -# node-waf configuration -.lock-wscript +# TeamCity is a build add-in +_TeamCity* -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release +# DotCover is a Code Coverage Tool +*.dotCover -# Dependency directories +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat node_modules/ -jspm_packages/ -# Snowpack dependency directory (https://snowpack.dev/) -web_modules/ +# Visual Studio 6 build log +*.plg -# TypeScript cache -*.tsbuildinfo +# Visual Studio 6 workspace options file +*.opt -# Optional npm cache directory -.npm +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw -# Optional eslint cache -.eslintcache +# Visual Studio 6 auto-generated project file (contains which files were open etc.) +*.vbp -# Optional stylelint cache -.stylelintcache +# Visual Studio 6 workspace and project file (working project files containing files to include in project) +*.dsw +*.dsp -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ +# Visual Studio 6 technical files +*.ncb +*.aps -# Optional REPL history -.node_repl_history +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions -# Output of 'npm pack' -*.tgz +# Paket dependency manager +.paket/paket.exe +paket-files/ -# Yarn Integrity file -.yarn-integrity +# FAKE - F# Make +.fake/ -# dotenv environment variable files -.env -.env.development.local -.env.test.local -.env.production.local -.env.local +# CodeRush personal settings +.cr/personal -# parcel-bundler cache (https://parceljs.org/) -.cache -.parcel-cache +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc -# Next.js build output -.next -out +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config -# Nuxt.js build / generate output -.nuxt -dist +# Tabs Studio +*.tss -# Gatsby files -.cache/ -# Comment in the public line in if your project uses Gatsby and not Next.js -# https://nextjs.org/blog/next-9-1#public-directory-support -# public +# Telerik's JustMock configuration file +*.jmconfig -# vuepress build output -.vuepress/dist +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs -# vuepress v2.x temp and cache directory -.temp -.cache +# OpenCover UI analysis results +OpenCover/ -# Docusaurus cache and generated files -.docusaurus +# Azure Stream Analytics local run output +ASALocalRun/ -# Serverless directories -.serverless/ +# MSBuild Binary and Structured Log +*.binlog -# FuseBox cache -.fusebox/ +# NVidia Nsight GPU debugger configuration file +*.nvuser -# DynamoDB Local files -.dynamodb/ +# MFractors (Xamarin productivity tool) working folder +.mfractor/ -# TernJS port file -.tern-port +# Local History for Visual Studio +.localhistory/ -# Stores VSCode versions used for testing VSCode extensions -.vscode-test +# Visual Studio History (VSHistory) files +.vshistory/ -# yarn v2 -.yarn/cache -.yarn/unplugged -.yarn/build-state.yml -.yarn/install-state.gz -.pnp.* +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd + +# VS Code files for those working on multiple tools +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ + +# Windows Installer files from build outputs +*.cab +*.msi +*.msix +*.msm +*.msp + +# JetBrains Rider +*.sln.iml # ---> VisualStudioCode .vscode/* @@ -183,3 +414,44 @@ dist # Built Visual Studio Code Extensions *.vsix +# ---> Vue +# gitignore template for Vue.js projects +# +# Recommended template: Node.gitignore + +# TODO: where does this rule come from? +docs/_book + +# TODO: where does this rule come from? +test/ + +.DS_Store +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? +.vscode +.claude +.vite + +claude.md diff --git a/README.md b/README.md index 6c9636d..9602469 100644 --- a/README.md +++ b/README.md @@ -1,2 +1 @@ -# template-h5 - +# ch-tgr \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..156d8e6 --- /dev/null +++ b/index.html @@ -0,0 +1,40 @@ + + + + + + + + + 泰古润 + + + +
+ + + + + + + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..51155e8 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,2034 @@ +{ + "name": "bgzx-h5", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "bgzx-h5", + "version": "0.0.0", + "dependencies": { + "@vant/area-data": "^2.1.0", + "@zxing/library": "^0.21.3", + "html-to-image": "^1.11.13", + "html2canvas": "^1.4.1", + "image-conversion": "^2.1.1", + "pinia": "^3.0.4", + "postcss-px-to-viewport-8-plugin": "^1.2.5", + "unplugin-auto-import": "^21.0.0", + "unplugin-vue-components": "^32.0.0", + "vant": "^4.9.24", + "vue": "^3.5.32", + "vue-qr": "^5.0.3", + "vue-router": "^4.6.4", + "vuex": "^4.1.0" + }, + "devDependencies": { + "@vitejs/plugin-vue": "^6.0.5", + "less": "^4.6.4", + "vite": "^8.0.4" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.27.1", + "resolved": "https://registry.npmmirror.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.28.5", + "resolved": "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.29.2", + "resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.29.2.tgz", + "integrity": "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.0" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/types": { + "version": "7.29.0", + "resolved": "https://registry.npmmirror.com/@babel/types/-/types-7.29.0.tgz", + "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.28.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@emnapi/core": { + "version": "1.9.2", + "resolved": "https://registry.npmmirror.com/@emnapi/core/-/core-1.9.2.tgz", + "integrity": "sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.2.1", + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/runtime": { + "version": "1.9.2", + "resolved": "https://registry.npmmirror.com/@emnapi/runtime/-/runtime-1.9.2.tgz", + "integrity": "sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/wasi-threads": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz", + "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmmirror.com/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@napi-rs/wasm-runtime": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.4.tgz", + "integrity": "sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@tybys/wasm-util": "^0.10.1" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "peerDependencies": { + "@emnapi/core": "^1.7.1", + "@emnapi/runtime": "^1.7.1" + } + }, + "node_modules/@oxc-project/types": { + "version": "0.124.0", + "resolved": "https://registry.npmmirror.com/@oxc-project/types/-/types-0.124.0.tgz", + "integrity": "sha512-VBFWMTBvHxS11Z5Lvlr3IWgrwhMTXV+Md+EQF0Xf60+wAdsGFTBx7X7K/hP4pi8N7dcm1RvcHwDxZ16Qx8keUg==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/Boshen" + } + }, + "node_modules/@rolldown/binding-android-arm64": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-rc.15.tgz", + "integrity": "sha512-YYe6aWruPZDtHNpwu7+qAHEMbQ/yRl6atqb/AhznLTnD3UY99Q1jE7ihLSahNWkF4EqRPVC4SiR4O0UkLK02tA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-rc.15.tgz", + "integrity": "sha512-oArR/ig8wNTPYsXL+Mzhs0oxhxfuHRfG7Ikw7jXsw8mYOtk71W0OkF2VEVh699pdmzjPQsTjlD1JIOoHkLP1Fg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-x64": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-rc.15.tgz", + "integrity": "sha512-YzeVqOqjPYvUbJSWJ4EDL8ahbmsIXQpgL3JVipmN+MX0XnXMeWomLN3Fb+nwCmP/jfyqte5I3XRSm7OfQrbyxw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-rc.15.tgz", + "integrity": "sha512-9Erhx956jeQ0nNTyif1+QWAXDRD38ZNjr//bSHrt6wDwB+QkAfl2q6Mn1k6OBPerznjRmbM10lgRb1Pli4xZPw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-rc.15.tgz", + "integrity": "sha512-cVwk0w8QbZJGTnP/AHQBs5yNwmpgGYStL88t4UIaqcvYJWBfS0s3oqVLZPwsPU6M0zlW4GqjP0Zq5MnAGwFeGA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-rc.15.tgz", + "integrity": "sha512-eBZ/u8iAK9SoHGanqe/jrPnY0JvBN6iXbVOsbO38mbz+ZJsaobExAm1Iu+rxa4S1l2FjG0qEZn4Rc6X8n+9M+w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-rc.15.tgz", + "integrity": "sha512-ZvRYMGrAklV9PEkgt4LQM6MjQX2P58HPAuecwYObY2DhS2t35R0I810bKi0wmaYORt6m/2Sm+Z+nFgb0WhXNcQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.0-rc.15.tgz", + "integrity": "sha512-VDpgGBzgfg5hLg+uBpCLoFG5kVvEyafmfxGUV0UHLcL5irxAK7PKNeC2MwClgk6ZAiNhmo9FLhRYgvMmedLtnQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.0-rc.15.tgz", + "integrity": "sha512-y1uXY3qQWCzcPgRJATPSOUP4tCemh4uBdY7e3EZbVwCJTY3gLJWnQABgeUetvED+bt1FQ01OeZwvhLS2bpNrAQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-gnu": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-rc.15.tgz", + "integrity": "sha512-023bTPBod7J3Y/4fzAN6QtpkSABR0rigtrwaP+qSEabUh5zf6ELr9Nc7GujaROuPY3uwdSIXWrvhn1KxOvurWA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-musl": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-rc.15.tgz", + "integrity": "sha512-witB2O0/hU4CgfOOKUoeFgQ4GktPi1eEbAhaLAIpgD6+ZnhcPkUtPsoKKHRzmOoWPZue46IThdSgdo4XneOLYw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-rc.15.tgz", + "integrity": "sha512-UCL68NJ0Ud5zRipXZE9dF5PmirzJE4E4BCIOOssEnM7wLDsxjc6Qb0sGDxTNRTP53I6MZpygyCpY8Aa8sPfKPg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-wasm32-wasi": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-rc.15.tgz", + "integrity": "sha512-ApLruZq/ig+nhaE7OJm4lDjayUnOHVUa77zGeqnqZ9pn0ovdVbbNPerVibLXDmWeUZXjIYIT8V3xkT58Rm9u5Q==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "1.9.2", + "@emnapi/runtime": "1.9.2", + "@napi-rs/wasm-runtime": "^1.1.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-rc.15.tgz", + "integrity": "sha512-KmoUoU7HnN+Si5YWJigfTws1jz1bKBYDQKdbLspz0UaqjjFkddHsqorgiW1mxcAj88lYUE6NC/zJNwT+SloqtA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-rc.15.tgz", + "integrity": "sha512-3P2A8L+x75qavWLe/Dll3EYBJLQmtkJN8rfh+U/eR3MqMgL/h98PhYI+JFfXuDPgPeCB7iZAKiqii5vqOvnA0g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.0-rc.13", + "resolved": "https://registry.npmmirror.com/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.13.tgz", + "integrity": "sha512-3ngTAv6F/Py35BsYbeeLeecvhMKdsKm4AoOETVhAA+Qc8nrA2I0kF7oa93mE9qnIurngOSpMnQ0x2nQY2FPviA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tybys/wasm-util": { + "version": "0.10.1", + "resolved": "https://registry.npmmirror.com/@tybys/wasm-util/-/wasm-util-0.10.1.tgz", + "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "license": "MIT" + }, + "node_modules/@vant/area-data": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/@vant/area-data/-/area-data-2.1.0.tgz", + "integrity": "sha512-wx9PrUX7wSUJiFcz8UrcvZfTjV6sTc+7SHcbjGQQzEcv5y+EwOo5uV4ZKdfrR5Hzcw4MA08LQdvXPSEb4nWbug==", + "license": "MIT" + }, + "node_modules/@vant/popperjs": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/@vant/popperjs/-/popperjs-1.3.0.tgz", + "integrity": "sha512-hB+czUG+aHtjhaEmCJDuXOep0YTZjdlRR+4MSmIFnkCQIxJaXLQdSsR90XWvAI2yvKUI7TCGqR8pQg2RtvkMHw==", + "license": "MIT" + }, + "node_modules/@vant/use": { + "version": "1.6.0", + "resolved": "https://registry.npmmirror.com/@vant/use/-/use-1.6.0.tgz", + "integrity": "sha512-PHHxeAASgiOpSmMjceweIrv2AxDZIkWXyaczksMoWvKV2YAYEhoizRuk/xFnKF+emUIi46TsQ+rvlm/t2BBCfA==", + "license": "MIT", + "peerDependencies": { + "vue": "^3.0.0" + } + }, + "node_modules/@vitejs/plugin-vue": { + "version": "6.0.6", + "resolved": "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-6.0.6.tgz", + "integrity": "sha512-u9HHgfrq3AjXlysn0eINFnWQOJQLO9WN6VprZ8FXl7A2bYisv3Hui9Ij+7QZ41F/WYWarHjwBbXtD7dKg3uxbg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rolldown/pluginutils": "1.0.0-rc.13" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0", + "vue": "^3.2.25" + } + }, + "node_modules/@vue/compiler-core": { + "version": "3.5.32", + "resolved": "https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.5.32.tgz", + "integrity": "sha512-4x74Tbtqnda8s/NSD6e1Dr5p1c8HdMU5RWSjMSUzb8RTcUQqevDCxVAitcLBKT+ie3o0Dl9crc/S/opJM7qBGQ==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.2", + "@vue/shared": "3.5.32", + "entities": "^7.0.1", + "estree-walker": "^2.0.2", + "source-map-js": "^1.2.1" + } + }, + "node_modules/@vue/compiler-dom": { + "version": "3.5.32", + "resolved": "https://registry.npmmirror.com/@vue/compiler-dom/-/compiler-dom-3.5.32.tgz", + "integrity": "sha512-ybHAu70NtiEI1fvAUz3oXZqkUYEe5J98GjMDpTGl5iHb0T15wQYLR4wE3h9xfuTNA+Cm2f4czfe8B4s+CCH57Q==", + "license": "MIT", + "dependencies": { + "@vue/compiler-core": "3.5.32", + "@vue/shared": "3.5.32" + } + }, + "node_modules/@vue/compiler-sfc": { + "version": "3.5.32", + "resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.5.32.tgz", + "integrity": "sha512-8UYUYo71cP/0YHMO814TRZlPuUUw3oifHuMR7Wp9SNoRSrxRQnhMLNlCeaODNn6kNTJsjFoQ/kqIj4qGvya4Xg==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.2", + "@vue/compiler-core": "3.5.32", + "@vue/compiler-dom": "3.5.32", + "@vue/compiler-ssr": "3.5.32", + "@vue/shared": "3.5.32", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.21", + "postcss": "^8.5.8", + "source-map-js": "^1.2.1" + } + }, + "node_modules/@vue/compiler-ssr": { + "version": "3.5.32", + "resolved": "https://registry.npmmirror.com/@vue/compiler-ssr/-/compiler-ssr-3.5.32.tgz", + "integrity": "sha512-Gp4gTs22T3DgRotZ8aA/6m2jMR+GMztvBXUBEUOYOcST+giyGWJ4WvFd7QLHBkzTxkfOt8IELKNdpzITLbA2rw==", + "license": "MIT", + "dependencies": { + "@vue/compiler-dom": "3.5.32", + "@vue/shared": "3.5.32" + } + }, + "node_modules/@vue/devtools-api": { + "version": "6.6.4", + "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.6.4.tgz", + "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", + "license": "MIT" + }, + "node_modules/@vue/devtools-kit": { + "version": "7.7.9", + "resolved": "https://registry.npmmirror.com/@vue/devtools-kit/-/devtools-kit-7.7.9.tgz", + "integrity": "sha512-PyQ6odHSgiDVd4hnTP+aDk2X4gl2HmLDfiyEnn3/oV+ckFDuswRs4IbBT7vacMuGdwY/XemxBoh302ctbsptuA==", + "license": "MIT", + "dependencies": { + "@vue/devtools-shared": "^7.7.9", + "birpc": "^2.3.0", + "hookable": "^5.5.3", + "mitt": "^3.0.1", + "perfect-debounce": "^1.0.0", + "speakingurl": "^14.0.1", + "superjson": "^2.2.2" + } + }, + "node_modules/@vue/devtools-shared": { + "version": "7.7.9", + "resolved": "https://registry.npmmirror.com/@vue/devtools-shared/-/devtools-shared-7.7.9.tgz", + "integrity": "sha512-iWAb0v2WYf0QWmxCGy0seZNDPdO3Sp5+u78ORnyeonS6MT4PC7VPrryX2BpMJrwlDeaZ6BD4vP4XKjK0SZqaeA==", + "license": "MIT", + "dependencies": { + "rfdc": "^1.4.1" + } + }, + "node_modules/@vue/reactivity": { + "version": "3.5.32", + "resolved": "https://registry.npmmirror.com/@vue/reactivity/-/reactivity-3.5.32.tgz", + "integrity": "sha512-/ORasxSGvZ6MN5gc+uE364SxFdJ0+WqVG0CENXaGW58TOCdrAW76WWaplDtECeS1qphvtBZtR+3/o1g1zL4xPQ==", + "license": "MIT", + "dependencies": { + "@vue/shared": "3.5.32" + } + }, + "node_modules/@vue/runtime-core": { + "version": "3.5.32", + "resolved": "https://registry.npmmirror.com/@vue/runtime-core/-/runtime-core-3.5.32.tgz", + "integrity": "sha512-pDrXCejn4UpFDFmMd27AcJEbHaLemaE5o4pbb7sLk79SRIhc6/t34BQA7SGNgYtbMnvbF/HHOftYBgFJtUoJUQ==", + "license": "MIT", + "dependencies": { + "@vue/reactivity": "3.5.32", + "@vue/shared": "3.5.32" + } + }, + "node_modules/@vue/runtime-dom": { + "version": "3.5.32", + "resolved": "https://registry.npmmirror.com/@vue/runtime-dom/-/runtime-dom-3.5.32.tgz", + "integrity": "sha512-1CDVv7tv/IV13V8Nip1k/aaObVbWqRlVCVezTwx3K07p7Vxossp5JU1dcPNhJk3w347gonIUT9jQOGutyJrSVQ==", + "license": "MIT", + "dependencies": { + "@vue/reactivity": "3.5.32", + "@vue/runtime-core": "3.5.32", + "@vue/shared": "3.5.32", + "csstype": "^3.2.3" + } + }, + "node_modules/@vue/server-renderer": { + "version": "3.5.32", + "resolved": "https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.5.32.tgz", + "integrity": "sha512-IOjm2+JQwRFS7W28HNuJeXQle9KdZbODFY7hFGVtnnghF51ta20EWAZJHX+zLGtsHhaU6uC9BGPV52KVpYryMQ==", + "license": "MIT", + "dependencies": { + "@vue/compiler-ssr": "3.5.32", + "@vue/shared": "3.5.32" + }, + "peerDependencies": { + "vue": "3.5.32" + } + }, + "node_modules/@vue/shared": { + "version": "3.5.32", + "resolved": "https://registry.npmmirror.com/@vue/shared/-/shared-3.5.32.tgz", + "integrity": "sha512-ksNyrmRQzWJJ8n3cRDuSF7zNNontuJg1YHnmWRJd2AMu8Ij2bqwiiri2lH5rHtYPZjj4STkNcgcmiQqlOjiYGg==", + "license": "MIT" + }, + "node_modules/@zxing/library": { + "version": "0.21.3", + "resolved": "https://registry.npmmirror.com/@zxing/library/-/library-0.21.3.tgz", + "integrity": "sha512-hZHqFe2JyH/ZxviJZosZjV+2s6EDSY0O24R+FQmlWZBZXP9IqMo7S3nb3+2LBWxodJQkSurdQGnqE7KXqrYgow==", + "license": "MIT", + "dependencies": { + "ts-custom-error": "^3.2.1" + }, + "engines": { + "node": ">= 10.4.0" + }, + "optionalDependencies": { + "@zxing/text-encoding": "~0.9.0" + } + }, + "node_modules/@zxing/text-encoding": { + "version": "0.9.0", + "resolved": "https://registry.npmmirror.com/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", + "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", + "license": "(Unlicense OR Apache-2.0)", + "optional": true + }, + "node_modules/acorn": { + "version": "8.16.0", + "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.16.0.tgz", + "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/base64-arraybuffer": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz", + "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/birpc": { + "version": "2.9.0", + "resolved": "https://registry.npmmirror.com/birpc/-/birpc-2.9.0.tgz", + "integrity": "sha512-KrayHS5pBi69Xi9JmvoqrIgYGDkD6mcSe/i6YKi3w5kekCLzrX4+nawcXqrj2tIp50Kw/mT/s3p+GVK0A0sKxw==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/chokidar": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-5.0.0.tgz", + "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", + "license": "MIT", + "dependencies": { + "readdirp": "^5.0.0" + }, + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/confbox": { + "version": "0.2.4", + "resolved": "https://registry.npmmirror.com/confbox/-/confbox-0.2.4.tgz", + "integrity": "sha512-ysOGlgTFbN2/Y6Cg3Iye8YKulHw+R2fNXHrgSmXISQdMnomY6eNDprVdW9R5xBguEqI954+S6709UyiO7B+6OQ==", + "license": "MIT" + }, + "node_modules/copy-anything": { + "version": "3.0.5", + "resolved": "https://registry.npmmirror.com/copy-anything/-/copy-anything-3.0.5.tgz", + "integrity": "sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-what": "^4.1.8" + }, + "engines": { + "node": ">=12.13" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } + }, + "node_modules/css-line-break": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/css-line-break/-/css-line-break-2.1.0.tgz", + "integrity": "sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==", + "license": "MIT", + "dependencies": { + "utrie": "^1.0.2" + } + }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "license": "MIT" + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/entities": { + "version": "7.0.1", + "resolved": "https://registry.npmmirror.com/entities/-/entities-7.0.1.tgz", + "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/errno": { + "version": "0.1.8", + "resolved": "https://registry.npmmirror.com/errno/-/errno-0.1.8.tgz", + "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "prr": "~1.0.1" + }, + "bin": { + "errno": "cli.js" + } + }, + "node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "license": "MIT" + }, + "node_modules/exsolve": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/exsolve/-/exsolve-1.0.8.tgz", + "integrity": "sha512-LmDxfWXwcTArk8fUEnOfSZpHOJ6zOMUJKOtFLFqJLoKJetuQG874Uc7/Kki7zFLzYybmZhp1M7+98pfMqeX8yA==", + "license": "MIT" + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmmirror.com/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC", + "optional": true + }, + "node_modules/hookable": { + "version": "5.5.3", + "resolved": "https://registry.npmmirror.com/hookable/-/hookable-5.5.3.tgz", + "integrity": "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==", + "license": "MIT" + }, + "node_modules/html-to-image": { + "version": "1.11.13", + "resolved": "https://registry.npmmirror.com/html-to-image/-/html-to-image-1.11.13.tgz", + "integrity": "sha512-cuOPoI7WApyhBElTTb9oqsawRvZ0rHhaHwghRLlTuffoD1B2aDemlCruLeZrUIIdvG7gs9xeELEPm6PhuASqrg==", + "license": "MIT" + }, + "node_modules/html2canvas": { + "version": "1.4.1", + "resolved": "https://registry.npmmirror.com/html2canvas/-/html2canvas-1.4.1.tgz", + "integrity": "sha512-fPU6BHNpsyIhr8yyMpTLLxAbkaK8ArIBcmZIRiBLiDhjeqvXolaEmDGmELFuX9I4xDcaKKcJl+TKZLqruBbmWA==", + "license": "MIT", + "dependencies": { + "css-line-break": "^2.1.0", + "text-segmentation": "^1.0.3" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/image-conversion": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/image-conversion/-/image-conversion-2.1.1.tgz", + "integrity": "sha512-hnMOmP7q2jxA+52FZ+wHNhg3fdFRlgfngsQH2JQHEQkafY7tj/8F15e6Rv/RxDegc872jvyaRHwMbkTZK1Cjbg==", + "license": "MIT" + }, + "node_modules/image-size": { + "version": "0.5.5", + "resolved": "https://registry.npmmirror.com/image-size/-/image-size-0.5.5.tgz", + "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "image-size": "bin/image-size.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-what": { + "version": "4.1.16", + "resolved": "https://registry.npmmirror.com/is-what/-/is-what-4.1.16.tgz", + "integrity": "sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.13" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } + }, + "node_modules/js-tokens": { + "version": "9.0.1", + "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-9.0.1.tgz", + "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==", + "license": "MIT" + }, + "node_modules/less": { + "version": "4.6.4", + "resolved": "https://registry.npmmirror.com/less/-/less-4.6.4.tgz", + "integrity": "sha512-OJmO5+HxZLLw0RLzkqaNHzcgEAQG7C0y3aMbwtCzIUFZsLMNNq/1IdAdHEycQ58CwUO3jPTHmoN+tE5I7FQxNg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "copy-anything": "^3.0.5", + "parse-node-version": "^1.0.1" + }, + "bin": { + "lessc": "bin/lessc" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "errno": "^0.1.1", + "graceful-fs": "^4.1.2", + "image-size": "~0.5.0", + "make-dir": "^2.1.0", + "mime": "^1.4.1", + "needle": "^3.1.0", + "source-map": "~0.6.0" + } + }, + "node_modules/lightningcss": { + "version": "1.32.0", + "resolved": "https://registry.npmmirror.com/lightningcss/-/lightningcss-1.32.0.tgz", + "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.32.0", + "lightningcss-darwin-arm64": "1.32.0", + "lightningcss-darwin-x64": "1.32.0", + "lightningcss-freebsd-x64": "1.32.0", + "lightningcss-linux-arm-gnueabihf": "1.32.0", + "lightningcss-linux-arm64-gnu": "1.32.0", + "lightningcss-linux-arm64-musl": "1.32.0", + "lightningcss-linux-x64-gnu": "1.32.0", + "lightningcss-linux-x64-musl": "1.32.0", + "lightningcss-win32-arm64-msvc": "1.32.0", + "lightningcss-win32-x64-msvc": "1.32.0" + } + }, + "node_modules/lightningcss-android-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmmirror.com/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz", + "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmmirror.com/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz", + "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmmirror.com/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz", + "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmmirror.com/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz", + "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.32.0", + "resolved": "https://registry.npmmirror.com/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz", + "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmmirror.com/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz", + "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmmirror.com/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz", + "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmmirror.com/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz", + "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmmirror.com/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz", + "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmmirror.com/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz", + "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmmirror.com/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz", + "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/local-pkg": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/local-pkg/-/local-pkg-1.1.2.tgz", + "integrity": "sha512-arhlxbFRmoQHl33a0Zkle/YWlmNwoyt6QNZEIJcqNbdrsix5Lvc4HyyI3EnwxTYlZYc32EbYrQ8SzEZ7dqgg9A==", + "license": "MIT", + "dependencies": { + "mlly": "^1.7.4", + "pkg-types": "^2.3.0", + "quansync": "^0.2.11" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/magic-string": { + "version": "0.30.21", + "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.5" + } + }, + "node_modules/make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmmirror.com/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mitt": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/mitt/-/mitt-3.0.1.tgz", + "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", + "license": "MIT" + }, + "node_modules/mlly": { + "version": "1.8.2", + "resolved": "https://registry.npmmirror.com/mlly/-/mlly-1.8.2.tgz", + "integrity": "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==", + "license": "MIT", + "dependencies": { + "acorn": "^8.16.0", + "pathe": "^2.0.3", + "pkg-types": "^1.3.1", + "ufo": "^1.6.3" + } + }, + "node_modules/mlly/node_modules/confbox": { + "version": "0.1.8", + "resolved": "https://registry.npmmirror.com/confbox/-/confbox-0.1.8.tgz", + "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==", + "license": "MIT" + }, + "node_modules/mlly/node_modules/pkg-types": { + "version": "1.3.1", + "resolved": "https://registry.npmmirror.com/pkg-types/-/pkg-types-1.3.1.tgz", + "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==", + "license": "MIT", + "dependencies": { + "confbox": "^0.1.8", + "mlly": "^1.7.4", + "pathe": "^2.0.1" + } + }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/needle": { + "version": "3.5.0", + "resolved": "https://registry.npmmirror.com/needle/-/needle-3.5.0.tgz", + "integrity": "sha512-jaQyPKKk2YokHrEg+vFDYxXIHTCBgiZwSHOoVx/8V3GIBS8/VN6NdVRmg8q1ERtPkMvmOvebsgga4sAj5hls/w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "iconv-lite": "^0.6.3", + "sax": "^1.2.4" + }, + "bin": { + "needle": "bin/needle" + }, + "engines": { + "node": ">= 4.4.x" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmmirror.com/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/obug": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/obug/-/obug-2.1.1.tgz", + "integrity": "sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==", + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT" + }, + "node_modules/parse-node-version": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/parse-node-version/-/parse-node-version-1.0.1.tgz", + "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "license": "MIT" + }, + "node_modules/perfect-debounce": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/perfect-debounce/-/perfect-debounce-1.0.0.tgz", + "integrity": "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==", + "license": "MIT" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/pinia": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/pinia/-/pinia-3.0.4.tgz", + "integrity": "sha512-l7pqLUFTI/+ESXn6k3nu30ZIzW5E2WZF/LaHJEpoq6ElcLD+wduZoB2kBN19du6K/4FDpPMazY2wJr+IndBtQw==", + "license": "MIT", + "dependencies": { + "@vue/devtools-api": "^7.7.7" + }, + "funding": { + "url": "https://github.com/sponsors/posva" + }, + "peerDependencies": { + "typescript": ">=4.5.0", + "vue": "^3.5.11" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/pinia/node_modules/@vue/devtools-api": { + "version": "7.7.9", + "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-7.7.9.tgz", + "integrity": "sha512-kIE8wvwlcZ6TJTbNeU2HQNtaxLx3a84aotTITUuL/4bzfPxzajGBOoqjMhwZJ8L9qFYDU/lAYMEEm11dnZOD6g==", + "license": "MIT", + "dependencies": { + "@vue/devtools-kit": "^7.7.9" + } + }, + "node_modules/pkg-types": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/pkg-types/-/pkg-types-2.3.0.tgz", + "integrity": "sha512-SIqCzDRg0s9npO5XQ3tNZioRY1uK06lA41ynBC1YmFTmnY6FjUjVt6s4LoADmwoig1qqD0oK8h1p/8mlMx8Oig==", + "license": "MIT", + "dependencies": { + "confbox": "^0.2.2", + "exsolve": "^1.0.7", + "pathe": "^2.0.3" + } + }, + "node_modules/postcss": { + "version": "8.5.10", + "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.5.10.tgz", + "integrity": "sha512-pMMHxBOZKFU6HgAZ4eyGnwXF/EvPGGqUr0MnZ5+99485wwW41kW91A4LOGxSHhgugZmSChL5AlElNdwlNgcnLQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-px-to-viewport-8-plugin": { + "version": "1.2.5", + "resolved": "https://registry.npmmirror.com/postcss-px-to-viewport-8-plugin/-/postcss-px-to-viewport-8-plugin-1.2.5.tgz", + "integrity": "sha512-+yc69+q/euV7iKh5fGXY6C/lpepmVx2DGFHeYj5BpzIFyBBpdACDjZyrZ8AV0kCg+J0bplBv4ZA1QTzgaK0rGg==", + "license": "MIT", + "dependencies": { + "object-assign": "^4.1.1" + } + }, + "node_modules/prr": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/prr/-/prr-1.0.1.tgz", + "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/quansync": { + "version": "0.2.11", + "resolved": "https://registry.npmmirror.com/quansync/-/quansync-0.2.11.tgz", + "integrity": "sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/antfu" + }, + { + "type": "individual", + "url": "https://github.com/sponsors/sxzz" + } + ], + "license": "MIT" + }, + "node_modules/readdirp": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-5.0.0.tgz", + "integrity": "sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==", + "license": "MIT", + "engines": { + "node": ">= 20.19.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/rfdc": { + "version": "1.4.1", + "resolved": "https://registry.npmmirror.com/rfdc/-/rfdc-1.4.1.tgz", + "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", + "license": "MIT" + }, + "node_modules/rolldown": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/rolldown/-/rolldown-1.0.0-rc.15.tgz", + "integrity": "sha512-Ff31guA5zT6WjnGp0SXw76X6hzGRk/OQq2hE+1lcDe+lJdHSgnSX6nK3erbONHyCbpSj9a9E+uX/OvytZoWp2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@oxc-project/types": "=0.124.0", + "@rolldown/pluginutils": "1.0.0-rc.15" + }, + "bin": { + "rolldown": "bin/cli.mjs" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "optionalDependencies": { + "@rolldown/binding-android-arm64": "1.0.0-rc.15", + "@rolldown/binding-darwin-arm64": "1.0.0-rc.15", + "@rolldown/binding-darwin-x64": "1.0.0-rc.15", + "@rolldown/binding-freebsd-x64": "1.0.0-rc.15", + "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-rc.15", + "@rolldown/binding-linux-arm64-gnu": "1.0.0-rc.15", + "@rolldown/binding-linux-arm64-musl": "1.0.0-rc.15", + "@rolldown/binding-linux-ppc64-gnu": "1.0.0-rc.15", + "@rolldown/binding-linux-s390x-gnu": "1.0.0-rc.15", + "@rolldown/binding-linux-x64-gnu": "1.0.0-rc.15", + "@rolldown/binding-linux-x64-musl": "1.0.0-rc.15", + "@rolldown/binding-openharmony-arm64": "1.0.0-rc.15", + "@rolldown/binding-wasm32-wasi": "1.0.0-rc.15", + "@rolldown/binding-win32-arm64-msvc": "1.0.0-rc.15", + "@rolldown/binding-win32-x64-msvc": "1.0.0-rc.15" + } + }, + "node_modules/rolldown/node_modules/@rolldown/pluginutils": { + "version": "1.0.0-rc.15", + "resolved": "https://registry.npmmirror.com/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.15.tgz", + "integrity": "sha512-UromN0peaE53IaBRe9W7CjrZgXl90fqGpK+mIZbA3qSTeYqg3pqpROBdIPvOG3F5ereDHNwoHBI2e50n1BDr1g==", + "dev": true, + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/sax": { + "version": "1.6.0", + "resolved": "https://registry.npmmirror.com/sax/-/sax-1.6.0.tgz", + "integrity": "sha512-6R3J5M4AcbtLUdZmRv2SygeVaM7IhrLXu9BmnOGmmACak8fiUtOsYNWUS4uK7upbmHIBbLBeFeI//477BKLBzA==", + "dev": true, + "license": "BlueOak-1.0.0", + "optional": true, + "engines": { + "node": ">=11.0.0" + } + }, + "node_modules/scule": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/scule/-/scule-1.3.0.tgz", + "integrity": "sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmmirror.com/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "license": "ISC", + "optional": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/speakingurl": { + "version": "14.0.1", + "resolved": "https://registry.npmmirror.com/speakingurl/-/speakingurl-14.0.1.tgz", + "integrity": "sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-literal": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/strip-literal/-/strip-literal-3.1.0.tgz", + "integrity": "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==", + "license": "MIT", + "dependencies": { + "js-tokens": "^9.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/superjson": { + "version": "2.2.6", + "resolved": "https://registry.npmmirror.com/superjson/-/superjson-2.2.6.tgz", + "integrity": "sha512-H+ue8Zo4vJmV2nRjpx86P35lzwDT3nItnIsocgumgr0hHMQ+ZGq5vrERg9kJBo5AWGmxZDhzDo+WVIJqkB0cGA==", + "license": "MIT", + "dependencies": { + "copy-anything": "^4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/superjson/node_modules/copy-anything": { + "version": "4.0.5", + "resolved": "https://registry.npmmirror.com/copy-anything/-/copy-anything-4.0.5.tgz", + "integrity": "sha512-7Vv6asjS4gMOuILabD3l739tsaxFQmC+a7pLZm02zyvs8p977bL3zEgq3yDk5rn9B0PbYgIv++jmHcuUab4RhA==", + "license": "MIT", + "dependencies": { + "is-what": "^5.2.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } + }, + "node_modules/superjson/node_modules/is-what": { + "version": "5.5.0", + "resolved": "https://registry.npmmirror.com/is-what/-/is-what-5.5.0.tgz", + "integrity": "sha512-oG7cgbmg5kLYae2N5IVd3jm2s+vldjxJzK1pcu9LfpGuQ93MQSzo0okvRna+7y5ifrD+20FE8FvjusyGaz14fw==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } + }, + "node_modules/text-segmentation": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/text-segmentation/-/text-segmentation-1.0.3.tgz", + "integrity": "sha512-iOiPUo/BGnZ6+54OsWxZidGCsdU8YbE4PSpdPinp7DeMtUJNJBoJ/ouUSTJjHkh1KntHaltHl/gDs2FC4i5+Nw==", + "license": "MIT", + "dependencies": { + "utrie": "^1.0.2" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.16", + "resolved": "https://registry.npmmirror.com/tinyglobby/-/tinyglobby-0.2.16.tgz", + "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==", + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/ts-custom-error": { + "version": "3.3.1", + "resolved": "https://registry.npmmirror.com/ts-custom-error/-/ts-custom-error-3.3.1.tgz", + "integrity": "sha512-5OX1tzOjxWEgsr/YEUWSuPrQ00deKLh6D7OTWcvNHm12/7QPyRh8SYpyWvA4IZv8H/+GQWQEh/kwo95Q9OVW1A==", + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD", + "optional": true + }, + "node_modules/ufo": { + "version": "1.6.3", + "resolved": "https://registry.npmmirror.com/ufo/-/ufo-1.6.3.tgz", + "integrity": "sha512-yDJTmhydvl5lJzBmy/hyOAA0d+aqCBuwl818haVdYCRrWV84o7YyeVm4QlVHStqNrrJSTb6jKuFAVqAFsr+K3Q==", + "license": "MIT" + }, + "node_modules/unimport": { + "version": "5.7.0", + "resolved": "https://registry.npmmirror.com/unimport/-/unimport-5.7.0.tgz", + "integrity": "sha512-njnL6sp8lEA8QQbZrt+52p/g4X0rw3bnGGmUcJnt1jeG8+iiqO779aGz0PirCtydAIVcuTBRlJ52F0u46z309Q==", + "license": "MIT", + "dependencies": { + "acorn": "^8.16.0", + "escape-string-regexp": "^5.0.0", + "estree-walker": "^3.0.3", + "local-pkg": "^1.1.2", + "magic-string": "^0.30.21", + "mlly": "^1.8.0", + "pathe": "^2.0.3", + "picomatch": "^4.0.3", + "pkg-types": "^2.3.0", + "scule": "^1.3.0", + "strip-literal": "^3.1.0", + "tinyglobby": "^0.2.15", + "unplugin": "^2.3.11", + "unplugin-utils": "^0.3.1" + }, + "engines": { + "node": ">=18.12.0" + } + }, + "node_modules/unimport/node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/unplugin": { + "version": "2.3.11", + "resolved": "https://registry.npmmirror.com/unplugin/-/unplugin-2.3.11.tgz", + "integrity": "sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww==", + "license": "MIT", + "dependencies": { + "@jridgewell/remapping": "^2.3.5", + "acorn": "^8.15.0", + "picomatch": "^4.0.3", + "webpack-virtual-modules": "^0.6.2" + }, + "engines": { + "node": ">=18.12.0" + } + }, + "node_modules/unplugin-auto-import": { + "version": "21.0.0", + "resolved": "https://registry.npmmirror.com/unplugin-auto-import/-/unplugin-auto-import-21.0.0.tgz", + "integrity": "sha512-vWuC8SwqJmxZFYwPojhOhOXDb5xFhNNcEVb9K/RFkyk/3VnfaOjzitWN7v+8DEKpMjSsY2AEGXNgt6I0yQrhRQ==", + "license": "MIT", + "dependencies": { + "local-pkg": "^1.1.2", + "magic-string": "^0.30.21", + "picomatch": "^4.0.3", + "unimport": "^5.6.0", + "unplugin": "^2.3.11", + "unplugin-utils": "^0.3.1" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@nuxt/kit": "^4.0.0", + "@vueuse/core": "*" + }, + "peerDependenciesMeta": { + "@nuxt/kit": { + "optional": true + }, + "@vueuse/core": { + "optional": true + } + } + }, + "node_modules/unplugin-utils": { + "version": "0.3.1", + "resolved": "https://registry.npmmirror.com/unplugin-utils/-/unplugin-utils-0.3.1.tgz", + "integrity": "sha512-5lWVjgi6vuHhJ526bI4nlCOmkCIF3nnfXkCMDeMJrtdvxTs6ZFCM8oNufGTsDbKv/tJ/xj8RpvXjRuPBZJuJog==", + "license": "MIT", + "dependencies": { + "pathe": "^2.0.3", + "picomatch": "^4.0.3" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "url": "https://github.com/sponsors/sxzz" + } + }, + "node_modules/unplugin-vue-components": { + "version": "32.0.0", + "resolved": "https://registry.npmmirror.com/unplugin-vue-components/-/unplugin-vue-components-32.0.0.tgz", + "integrity": "sha512-uLdccgS7mf3pv1bCCP20y/hm+u1eOjAmygVkh+Oa70MPkzgl1eQv1L0CwdHNM3gscO8/GDMGIET98Ja47CBbZg==", + "license": "MIT", + "dependencies": { + "chokidar": "^5.0.0", + "local-pkg": "^1.1.2", + "magic-string": "^0.30.21", + "mlly": "^1.8.2", + "obug": "^2.1.1", + "picomatch": "^4.0.3", + "tinyglobby": "^0.2.15", + "unplugin": "^3.0.0", + "unplugin-utils": "^0.3.1" + }, + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@nuxt/kit": "^3.2.2 || ^4.0.0", + "vue": "^3.0.0" + }, + "peerDependenciesMeta": { + "@nuxt/kit": { + "optional": true + } + } + }, + "node_modules/unplugin-vue-components/node_modules/unplugin": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/unplugin/-/unplugin-3.0.0.tgz", + "integrity": "sha512-0Mqk3AT2TZCXWKdcoaufeXNukv2mTrEZExeXlHIOZXdqYoHHr4n51pymnwV8x2BOVxwXbK2HLlI7usrqMpycdg==", + "license": "MIT", + "dependencies": { + "@jridgewell/remapping": "^2.3.5", + "picomatch": "^4.0.3", + "webpack-virtual-modules": "^0.6.2" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/utrie": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz", + "integrity": "sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==", + "license": "MIT", + "dependencies": { + "base64-arraybuffer": "^1.0.2" + } + }, + "node_modules/vant": { + "version": "4.9.24", + "resolved": "https://registry.npmmirror.com/vant/-/vant-4.9.24.tgz", + "integrity": "sha512-tP1A7Vjzv1/B1ljb95Jhv9Q9w6acaaZDJvy6wcKrwGgY0gQZlg+FXLZH/AIKZBE3xvYGDUsv/M7AuGcr/Pqd6A==", + "license": "MIT", + "dependencies": { + "@vant/popperjs": "^1.3.0", + "@vant/use": "^1.6.0", + "@vue/shared": "^3.5.31" + }, + "peerDependencies": { + "vue": "^3.0.0" + } + }, + "node_modules/vite": { + "version": "8.0.8", + "resolved": "https://registry.npmmirror.com/vite/-/vite-8.0.8.tgz", + "integrity": "sha512-dbU7/iLVa8KZALJyLOBOQ88nOXtNG8vxKuOT4I2mD+Ya70KPceF4IAmDsmU0h1Qsn5bPrvsY9HJstCRh3hG6Uw==", + "dev": true, + "license": "MIT", + "dependencies": { + "lightningcss": "^1.32.0", + "picomatch": "^4.0.4", + "postcss": "^8.5.8", + "rolldown": "1.0.0-rc.15", + "tinyglobby": "^0.2.15" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "@vitejs/devtools": "^0.1.0", + "esbuild": "^0.27.0 || ^0.28.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "@vitejs/devtools": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/vue": { + "version": "3.5.32", + "resolved": "https://registry.npmmirror.com/vue/-/vue-3.5.32.tgz", + "integrity": "sha512-vM4z4Q9tTafVfMAK7IVzmxg34rSzTFMyIe0UUEijUCkn9+23lj0WRfA83dg7eQZIUlgOSGrkViIaCfqSAUXsMw==", + "license": "MIT", + "dependencies": { + "@vue/compiler-dom": "3.5.32", + "@vue/compiler-sfc": "3.5.32", + "@vue/runtime-dom": "3.5.32", + "@vue/server-renderer": "3.5.32", + "@vue/shared": "3.5.32" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/vue-qr": { + "version": "5.0.3", + "resolved": "https://registry.npmmirror.com/vue-qr/-/vue-qr-5.0.3.tgz", + "integrity": "sha512-XBmBXBf8YDGttlbSf6B5kdPM5IT1pCt50tmZwBQkivWLi8CId5HDKTNyXY9KuhTIDoj/IKc62fTyjLzZs8wOCA==", + "license": "MIT", + "peerDependencies": { + "vue": "^3.3.0" + } + }, + "node_modules/vue-router": { + "version": "4.6.4", + "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-4.6.4.tgz", + "integrity": "sha512-Hz9q5sa33Yhduglwz6g9skT8OBPii+4bFn88w6J+J4MfEo4KRRpmiNG/hHHkdbRFlLBOqxN8y8gf2Fb0MTUgVg==", + "license": "MIT", + "dependencies": { + "@vue/devtools-api": "^6.6.4" + }, + "funding": { + "url": "https://github.com/sponsors/posva" + }, + "peerDependencies": { + "vue": "^3.5.0" + } + }, + "node_modules/vuex": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/vuex/-/vuex-4.1.0.tgz", + "integrity": "sha512-hmV6UerDrPcgbSy9ORAtNXDr9M4wlNP4pEFKye4ujJF8oqgFFuxDCdOLS3eNoRTtq5O3hoBDh9Doj1bQMYHRbQ==", + "license": "MIT", + "dependencies": { + "@vue/devtools-api": "^6.0.0-beta.11" + }, + "peerDependencies": { + "vue": "^3.2.0" + } + }, + "node_modules/webpack-virtual-modules": { + "version": "0.6.2", + "resolved": "https://registry.npmmirror.com/webpack-virtual-modules/-/webpack-virtual-modules-0.6.2.tgz", + "integrity": "sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==", + "license": "MIT" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..1e505ff --- /dev/null +++ b/package.json @@ -0,0 +1,32 @@ +{ + "name": "bgzx-h5", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview" + }, + "dependencies": { + "@vant/area-data": "^2.1.0", + "@zxing/library": "^0.21.3", + "html-to-image": "^1.11.13", + "html2canvas": "^1.4.1", + "image-conversion": "^2.1.1", + "pinia": "^3.0.4", + "postcss-px-to-viewport-8-plugin": "^1.2.5", + "unplugin-auto-import": "^21.0.0", + "unplugin-vue-components": "^32.0.0", + "vant": "^4.9.24", + "vue": "^3.5.32", + "vue-qr": "^5.0.3", + "vue-router": "^4.6.4", + "vuex": "^4.1.0" + }, + "devDependencies": { + "@vitejs/plugin-vue": "^6.0.5", + "less": "^4.6.4", + "vite": "^8.0.4" + } +} diff --git a/postcss.config.cjs b/postcss.config.cjs new file mode 100644 index 0000000..86433ad --- /dev/null +++ b/postcss.config.cjs @@ -0,0 +1,12 @@ +module.exports = { + plugins: { + 'postcss-px-to-viewport-8-plugin': { + viewportWidth: 375, + unitPrecision: 5, + viewportUnit: 'vw', + selectorBlackList: ['ignore', 'tab-bar'], + minPixelValue: 1, + mediaQuery: false, + }, + }, +} diff --git a/public/img/Business_School_bg.jpg b/public/img/Business_School_bg.jpg new file mode 100644 index 0000000..48e4e94 Binary files /dev/null and b/public/img/Business_School_bg.jpg differ diff --git a/public/img/Gift_Active.png b/public/img/Gift_Active.png new file mode 100644 index 0000000..e03a8a7 Binary files /dev/null and b/public/img/Gift_Active.png differ diff --git a/public/img/Gift_Inactive.png b/public/img/Gift_Inactive.png new file mode 100644 index 0000000..47cc513 Binary files /dev/null and b/public/img/Gift_Inactive.png differ diff --git a/public/img/GoodsDetail-video.png b/public/img/GoodsDetail-video.png new file mode 100644 index 0000000..3fa1f2b Binary files /dev/null and b/public/img/GoodsDetail-video.png differ diff --git a/public/img/GroupShopDetail-footer-i1.png b/public/img/GroupShopDetail-footer-i1.png new file mode 100644 index 0000000..fa523bc Binary files /dev/null and b/public/img/GroupShopDetail-footer-i1.png differ diff --git a/public/img/GroupShopDetail-footer-i2.png b/public/img/GroupShopDetail-footer-i2.png new file mode 100644 index 0000000..85490b5 Binary files /dev/null and b/public/img/GroupShopDetail-footer-i2.png differ diff --git a/public/img/GroupShopDetail-i2.png b/public/img/GroupShopDetail-i2.png new file mode 100644 index 0000000..635b87d Binary files /dev/null and b/public/img/GroupShopDetail-i2.png differ diff --git a/public/img/GroupShopDetail-tit-i3.png b/public/img/GroupShopDetail-tit-i3.png new file mode 100644 index 0000000..509e3ff Binary files /dev/null and b/public/img/GroupShopDetail-tit-i3.png differ diff --git a/public/img/Home_Active.png b/public/img/Home_Active.png new file mode 100644 index 0000000..4649a05 Binary files /dev/null and b/public/img/Home_Active.png differ diff --git a/public/img/Home_Inactive.png b/public/img/Home_Inactive.png new file mode 100644 index 0000000..2f5a46a Binary files /dev/null and b/public/img/Home_Inactive.png differ diff --git a/public/img/Mall_Active.png b/public/img/Mall_Active.png new file mode 100644 index 0000000..84ef1cd Binary files /dev/null and b/public/img/Mall_Active.png differ diff --git a/public/img/Mall_Inactive.png b/public/img/Mall_Inactive.png new file mode 100644 index 0000000..169862d Binary files /dev/null and b/public/img/Mall_Inactive.png differ diff --git a/public/img/My_Active.png b/public/img/My_Active.png new file mode 100644 index 0000000..8c25740 Binary files /dev/null and b/public/img/My_Active.png differ diff --git a/public/img/My_Inactive.png b/public/img/My_Inactive.png new file mode 100644 index 0000000..8921096 Binary files /dev/null and b/public/img/My_Inactive.png differ diff --git a/public/img/PointMall_Active.png b/public/img/PointMall_Active.png new file mode 100644 index 0000000..328d83c Binary files /dev/null and b/public/img/PointMall_Active.png differ diff --git a/public/img/PointMall_Inactive.png b/public/img/PointMall_Inactive.png new file mode 100644 index 0000000..7bd1000 Binary files /dev/null and b/public/img/PointMall_Inactive.png differ diff --git a/public/img/Social_Active.png b/public/img/Social_Active.png new file mode 100644 index 0000000..96ddfeb Binary files /dev/null and b/public/img/Social_Active.png differ diff --git a/public/img/Social_Inactive.png b/public/img/Social_Inactive.png new file mode 100644 index 0000000..7a28c9a Binary files /dev/null and b/public/img/Social_Inactive.png differ diff --git a/public/img/addr.png b/public/img/addr.png new file mode 100644 index 0000000..d2c6ab6 Binary files /dev/null and b/public/img/addr.png differ diff --git a/public/img/addr_r.png b/public/img/addr_r.png new file mode 100644 index 0000000..84ab95a Binary files /dev/null and b/public/img/addr_r.png differ diff --git a/public/img/address.png b/public/img/address.png new file mode 100644 index 0000000..99a35aa Binary files /dev/null and b/public/img/address.png differ diff --git a/public/img/aliicon.png b/public/img/aliicon.png new file mode 100644 index 0000000..b2344fa Binary files /dev/null and b/public/img/aliicon.png differ diff --git a/public/img/allow.png b/public/img/allow.png new file mode 100644 index 0000000..a856069 Binary files /dev/null and b/public/img/allow.png differ diff --git a/public/img/allow_bg.jpg b/public/img/allow_bg.jpg new file mode 100644 index 0000000..71cd988 Binary files /dev/null and b/public/img/allow_bg.jpg differ diff --git a/public/img/asset-bg1.png b/public/img/asset-bg1.png new file mode 100644 index 0000000..2454334 Binary files /dev/null and b/public/img/asset-bg1.png differ diff --git a/public/img/asset-c-bg.png b/public/img/asset-c-bg.png new file mode 100644 index 0000000..e4cb3c2 Binary files /dev/null and b/public/img/asset-c-bg.png differ diff --git a/public/img/asset-i1.png b/public/img/asset-i1.png new file mode 100644 index 0000000..6c7ff1c Binary files /dev/null and b/public/img/asset-i1.png differ diff --git a/public/img/avatar.png b/public/img/avatar.png new file mode 100644 index 0000000..0d90c27 Binary files /dev/null and b/public/img/avatar.png differ diff --git a/public/img/b_logo.png b/public/img/b_logo.png new file mode 100644 index 0000000..a145479 Binary files /dev/null and b/public/img/b_logo.png differ diff --git a/public/img/balance-i1.png b/public/img/balance-i1.png new file mode 100644 index 0000000..1a5e44e Binary files /dev/null and b/public/img/balance-i1.png differ diff --git a/public/img/bankcardicon.png b/public/img/bankcardicon.png new file mode 100644 index 0000000..679b8f3 Binary files /dev/null and b/public/img/bankcardicon.png differ diff --git a/public/img/banner_bg.png b/public/img/banner_bg.png new file mode 100644 index 0000000..3280fdb Binary files /dev/null and b/public/img/banner_bg.png differ diff --git a/public/img/bbb1.png b/public/img/bbb1.png new file mode 100644 index 0000000..5962938 Binary files /dev/null and b/public/img/bbb1.png differ diff --git a/public/img/bbb2.png b/public/img/bbb2.png new file mode 100644 index 0000000..119bcf4 Binary files /dev/null and b/public/img/bbb2.png differ diff --git a/public/img/bbb3.png b/public/img/bbb3.png new file mode 100644 index 0000000..f66b42c Binary files /dev/null and b/public/img/bbb3.png differ diff --git a/public/img/bs-banner.jpg b/public/img/bs-banner.jpg new file mode 100644 index 0000000..5570dcb Binary files /dev/null and b/public/img/bs-banner.jpg differ diff --git a/public/img/bs-bg.png b/public/img/bs-bg.png new file mode 100644 index 0000000..ff1e5cb Binary files /dev/null and b/public/img/bs-bg.png differ diff --git a/public/img/bs-icon.png b/public/img/bs-icon.png new file mode 100644 index 0000000..7a4a4dc Binary files /dev/null and b/public/img/bs-icon.png differ diff --git a/public/img/buybill.png b/public/img/buybill.png new file mode 100644 index 0000000..5c77a58 Binary files /dev/null and b/public/img/buybill.png differ diff --git a/public/img/calendar.png b/public/img/calendar.png new file mode 100644 index 0000000..5112d3c Binary files /dev/null and b/public/img/calendar.png differ diff --git a/public/img/cart.png b/public/img/cart.png new file mode 100644 index 0000000..c585618 Binary files /dev/null and b/public/img/cart.png differ diff --git a/public/img/cart_shdzbg.png b/public/img/cart_shdzbg.png new file mode 100644 index 0000000..5efb5fa Binary files /dev/null and b/public/img/cart_shdzbg.png differ diff --git a/public/img/cashout_record.svg b/public/img/cashout_record.svg new file mode 100644 index 0000000..c97155d --- /dev/null +++ b/public/img/cashout_record.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/cate_all.png b/public/img/cate_all.png new file mode 100644 index 0000000..69ae130 Binary files /dev/null and b/public/img/cate_all.png differ diff --git a/public/img/certificate.png b/public/img/certificate.png new file mode 100644 index 0000000..c0d2c05 Binary files /dev/null and b/public/img/certificate.png differ diff --git a/public/img/check.png b/public/img/check.png new file mode 100644 index 0000000..c2394df Binary files /dev/null and b/public/img/check.png differ diff --git a/public/img/checked.png b/public/img/checked.png new file mode 100644 index 0000000..5453cd0 Binary files /dev/null and b/public/img/checked.png differ diff --git a/public/img/clock.png b/public/img/clock.png new file mode 100644 index 0000000..e11d8e9 Binary files /dev/null and b/public/img/clock.png differ diff --git a/public/img/co_icon.png b/public/img/co_icon.png new file mode 100644 index 0000000..0844c1a Binary files /dev/null and b/public/img/co_icon.png differ diff --git a/public/img/coin.png b/public/img/coin.png new file mode 100644 index 0000000..d8da0d0 Binary files /dev/null and b/public/img/coin.png differ diff --git a/public/img/col-bg-i1.png b/public/img/col-bg-i1.png new file mode 100644 index 0000000..cfdad28 Binary files /dev/null and b/public/img/col-bg-i1.png differ diff --git a/public/img/col-bg-i2.png b/public/img/col-bg-i2.png new file mode 100644 index 0000000..200329c Binary files /dev/null and b/public/img/col-bg-i2.png differ diff --git a/public/img/col-bg-i3.png b/public/img/col-bg-i3.png new file mode 100644 index 0000000..1944eb7 Binary files /dev/null and b/public/img/col-bg-i3.png differ diff --git a/public/img/copy.png b/public/img/copy.png new file mode 100644 index 0000000..8985b0e Binary files /dev/null and b/public/img/copy.png differ diff --git a/public/img/copy_b.png b/public/img/copy_b.png new file mode 100644 index 0000000..4d6cd96 Binary files /dev/null and b/public/img/copy_b.png differ diff --git a/public/img/cv-i1.png b/public/img/cv-i1.png new file mode 100644 index 0000000..a507947 Binary files /dev/null and b/public/img/cv-i1.png differ diff --git a/public/img/de-i1.png b/public/img/de-i1.png new file mode 100644 index 0000000..0ce389a Binary files /dev/null and b/public/img/de-i1.png differ diff --git a/public/img/de-i2.png b/public/img/de-i2.png new file mode 100644 index 0000000..a874eca Binary files /dev/null and b/public/img/de-i2.png differ diff --git a/public/img/down-one.png b/public/img/down-one.png new file mode 100644 index 0000000..809c09f Binary files /dev/null and b/public/img/down-one.png differ diff --git a/public/img/down.png b/public/img/down.png new file mode 100644 index 0000000..02e1702 Binary files /dev/null and b/public/img/down.png differ diff --git a/public/img/fenxiangtishi2.png b/public/img/fenxiangtishi2.png new file mode 100644 index 0000000..2b3c878 Binary files /dev/null and b/public/img/fenxiangtishi2.png differ diff --git a/public/img/ff3.png b/public/img/ff3.png new file mode 100644 index 0000000..d139e03 Binary files /dev/null and b/public/img/ff3.png differ diff --git a/public/img/filter.png b/public/img/filter.png new file mode 100644 index 0000000..313e0d8 Binary files /dev/null and b/public/img/filter.png differ diff --git a/public/img/fire.png b/public/img/fire.png new file mode 100644 index 0000000..d3ba8cf Binary files /dev/null and b/public/img/fire.png differ diff --git a/public/img/ft_i1.png b/public/img/ft_i1.png new file mode 100644 index 0000000..ad2feb4 Binary files /dev/null and b/public/img/ft_i1.png differ diff --git a/public/img/ft_i2.png b/public/img/ft_i2.png new file mode 100644 index 0000000..a1cf4c7 Binary files /dev/null and b/public/img/ft_i2.png differ diff --git a/public/img/ft_i3.png b/public/img/ft_i3.png new file mode 100644 index 0000000..79f89ff Binary files /dev/null and b/public/img/ft_i3.png differ diff --git a/public/img/gift_bg.png b/public/img/gift_bg.png new file mode 100644 index 0000000..02a63ea Binary files /dev/null and b/public/img/gift_bg.png differ diff --git a/public/img/gift_bg1.png b/public/img/gift_bg1.png new file mode 100644 index 0000000..3506fa6 Binary files /dev/null and b/public/img/gift_bg1.png differ diff --git a/public/img/gift_bg2.png b/public/img/gift_bg2.png new file mode 100644 index 0000000..6e39cf9 Binary files /dev/null and b/public/img/gift_bg2.png differ diff --git a/public/img/gift_bg3.png b/public/img/gift_bg3.png new file mode 100644 index 0000000..f01cea1 Binary files /dev/null and b/public/img/gift_bg3.png differ diff --git a/public/img/gift_i1.png b/public/img/gift_i1.png new file mode 100644 index 0000000..f0a6772 Binary files /dev/null and b/public/img/gift_i1.png differ diff --git a/public/img/gift_i3.png b/public/img/gift_i3.png new file mode 100644 index 0000000..c5c74ee Binary files /dev/null and b/public/img/gift_i3.png differ diff --git a/public/img/gift_i4.png b/public/img/gift_i4.png new file mode 100644 index 0000000..e163343 Binary files /dev/null and b/public/img/gift_i4.png differ diff --git a/public/img/gift_i5.png b/public/img/gift_i5.png new file mode 100644 index 0000000..e7bc0e0 Binary files /dev/null and b/public/img/gift_i5.png differ diff --git a/public/img/gift_i6.png b/public/img/gift_i6.png new file mode 100644 index 0000000..4bdadcb Binary files /dev/null and b/public/img/gift_i6.png differ diff --git a/public/img/gift_qy.png b/public/img/gift_qy.png new file mode 100644 index 0000000..23dd469 Binary files /dev/null and b/public/img/gift_qy.png differ diff --git a/public/img/gift_title.png b/public/img/gift_title.png new file mode 100644 index 0000000..1b5e207 Binary files /dev/null and b/public/img/gift_title.png differ diff --git a/public/img/gt-i1.png b/public/img/gt-i1.png new file mode 100644 index 0000000..10825e9 Binary files /dev/null and b/public/img/gt-i1.png differ diff --git a/public/img/hot.png b/public/img/hot.png new file mode 100644 index 0000000..702a80c Binary files /dev/null and b/public/img/hot.png differ diff --git a/public/img/i-date.png b/public/img/i-date.png new file mode 100644 index 0000000..1db1649 Binary files /dev/null and b/public/img/i-date.png differ diff --git a/public/img/icon_canpay.png b/public/img/icon_canpay.png new file mode 100644 index 0000000..8aea5f5 Binary files /dev/null and b/public/img/icon_canpay.png differ diff --git a/public/img/icon_disc.png b/public/img/icon_disc.png new file mode 100644 index 0000000..0357803 Binary files /dev/null and b/public/img/icon_disc.png differ diff --git a/public/img/icon_phone.png b/public/img/icon_phone.png new file mode 100644 index 0000000..34525c6 Binary files /dev/null and b/public/img/icon_phone.png differ diff --git a/public/img/income-bg.png b/public/img/income-bg.png new file mode 100644 index 0000000..a097c29 Binary files /dev/null and b/public/img/income-bg.png differ diff --git a/public/img/index-column-i1.png b/public/img/index-column-i1.png new file mode 100644 index 0000000..f60ce19 Binary files /dev/null and b/public/img/index-column-i1.png differ diff --git a/public/img/index-column-i2.png b/public/img/index-column-i2.png new file mode 100644 index 0000000..eff0cd4 Binary files /dev/null and b/public/img/index-column-i2.png differ diff --git a/public/img/index-column-i3.png b/public/img/index-column-i3.png new file mode 100644 index 0000000..7578a31 Binary files /dev/null and b/public/img/index-column-i3.png differ diff --git a/public/img/index-column-i4.png b/public/img/index-column-i4.png new file mode 100644 index 0000000..e5f4f63 Binary files /dev/null and b/public/img/index-column-i4.png differ diff --git a/public/img/invite_bg.jpg b/public/img/invite_bg.jpg new file mode 100644 index 0000000..e9d3e5c Binary files /dev/null and b/public/img/invite_bg.jpg differ diff --git a/public/img/label-1.png b/public/img/label-1.png new file mode 100644 index 0000000..c4f70e9 Binary files /dev/null and b/public/img/label-1.png differ diff --git a/public/img/label-2.png b/public/img/label-2.png new file mode 100644 index 0000000..27963be Binary files /dev/null and b/public/img/label-2.png differ diff --git a/public/img/label-3.png b/public/img/label-3.png new file mode 100644 index 0000000..cd08ab1 Binary files /dev/null and b/public/img/label-3.png differ diff --git a/public/img/leaf.png b/public/img/leaf.png new file mode 100644 index 0000000..07929ba Binary files /dev/null and b/public/img/leaf.png differ diff --git a/public/img/login-bg.jpg b/public/img/login-bg.jpg new file mode 100644 index 0000000..90426be Binary files /dev/null and b/public/img/login-bg.jpg differ diff --git a/public/img/login-i1.png b/public/img/login-i1.png new file mode 100644 index 0000000..9a2004c Binary files /dev/null and b/public/img/login-i1.png differ diff --git a/public/img/login-i2.png b/public/img/login-i2.png new file mode 100644 index 0000000..693227b Binary files /dev/null and b/public/img/login-i2.png differ diff --git a/public/img/login-i3.png b/public/img/login-i3.png new file mode 100644 index 0000000..974f2a7 Binary files /dev/null and b/public/img/login-i3.png differ diff --git a/public/img/login-i4.png b/public/img/login-i4.png new file mode 100644 index 0000000..254c3d4 Binary files /dev/null and b/public/img/login-i4.png differ diff --git a/public/img/login-i5.png b/public/img/login-i5.png new file mode 100644 index 0000000..15b27ff Binary files /dev/null and b/public/img/login-i5.png differ diff --git a/public/img/login-logo.png b/public/img/login-logo.png new file mode 100644 index 0000000..d5d2cb7 Binary files /dev/null and b/public/img/login-logo.png differ diff --git a/public/img/logo-lr.png b/public/img/logo-lr.png new file mode 100644 index 0000000..ecbb1d9 Binary files /dev/null and b/public/img/logo-lr.png differ diff --git a/public/img/logo.png b/public/img/logo.png new file mode 100644 index 0000000..35c3988 Binary files /dev/null and b/public/img/logo.png differ diff --git a/public/img/maisui.png b/public/img/maisui.png new file mode 100644 index 0000000..a165e47 Binary files /dev/null and b/public/img/maisui.png differ diff --git a/public/img/mall-hot-i.png b/public/img/mall-hot-i.png new file mode 100644 index 0000000..5631a51 Binary files /dev/null and b/public/img/mall-hot-i.png differ diff --git a/public/img/mallDetail-bg.jpg b/public/img/mallDetail-bg.jpg new file mode 100644 index 0000000..96a9ec9 Binary files /dev/null and b/public/img/mallDetail-bg.jpg differ diff --git a/public/img/mallDetail-i0.png b/public/img/mallDetail-i0.png new file mode 100644 index 0000000..026b554 Binary files /dev/null and b/public/img/mallDetail-i0.png differ diff --git a/public/img/mallDetail-i1.png b/public/img/mallDetail-i1.png new file mode 100644 index 0000000..573bc88 Binary files /dev/null and b/public/img/mallDetail-i1.png differ diff --git a/public/img/mallDetail-i2.png b/public/img/mallDetail-i2.png new file mode 100644 index 0000000..36c0e6b Binary files /dev/null and b/public/img/mallDetail-i2.png differ diff --git a/public/img/mallDetail-i3.png b/public/img/mallDetail-i3.png new file mode 100644 index 0000000..7e555c6 Binary files /dev/null and b/public/img/mallDetail-i3.png differ diff --git a/public/img/mallDetail-i4.png b/public/img/mallDetail-i4.png new file mode 100644 index 0000000..088125d Binary files /dev/null and b/public/img/mallDetail-i4.png differ diff --git a/public/img/mallDetail-i5.png b/public/img/mallDetail-i5.png new file mode 100644 index 0000000..972950d Binary files /dev/null and b/public/img/mallDetail-i5.png differ diff --git a/public/img/mallDetail-i6.png b/public/img/mallDetail-i6.png new file mode 100644 index 0000000..d23b2d7 Binary files /dev/null and b/public/img/mallDetail-i6.png differ diff --git a/public/img/mall_i1.png b/public/img/mall_i1.png new file mode 100644 index 0000000..269f6b6 Binary files /dev/null and b/public/img/mall_i1.png differ diff --git a/public/img/mall_i15.png b/public/img/mall_i15.png new file mode 100644 index 0000000..cbb08ae Binary files /dev/null and b/public/img/mall_i15.png differ diff --git a/public/img/mall_i2.png b/public/img/mall_i2.png new file mode 100644 index 0000000..cfbe16e Binary files /dev/null and b/public/img/mall_i2.png differ diff --git a/public/img/mall_i3.png b/public/img/mall_i3.png new file mode 100644 index 0000000..5d48ffa Binary files /dev/null and b/public/img/mall_i3.png differ diff --git a/public/img/mall_i35.png b/public/img/mall_i35.png new file mode 100644 index 0000000..3475dee Binary files /dev/null and b/public/img/mall_i35.png differ diff --git a/public/img/map.png b/public/img/map.png new file mode 100644 index 0000000..593747e Binary files /dev/null and b/public/img/map.png differ diff --git a/public/img/merchant_bg.jpg b/public/img/merchant_bg.jpg new file mode 100644 index 0000000..218d6a1 Binary files /dev/null and b/public/img/merchant_bg.jpg differ diff --git a/public/img/my-bg.jpg b/public/img/my-bg.jpg new file mode 100644 index 0000000..4e96e5f Binary files /dev/null and b/public/img/my-bg.jpg differ diff --git a/public/img/my-i1.png b/public/img/my-i1.png new file mode 100644 index 0000000..70483aa Binary files /dev/null and b/public/img/my-i1.png differ diff --git a/public/img/my_f1.jpg b/public/img/my_f1.jpg new file mode 100644 index 0000000..0e4f86e Binary files /dev/null and b/public/img/my_f1.jpg differ diff --git a/public/img/my_f2.jpg b/public/img/my_f2.jpg new file mode 100644 index 0000000..43772bc Binary files /dev/null and b/public/img/my_f2.jpg differ diff --git a/public/img/my_f3.jpg b/public/img/my_f3.jpg new file mode 100644 index 0000000..cbffb83 Binary files /dev/null and b/public/img/my_f3.jpg differ diff --git a/public/img/my_f4.jpg b/public/img/my_f4.jpg new file mode 100644 index 0000000..371bf91 Binary files /dev/null and b/public/img/my_f4.jpg differ diff --git a/public/img/my_o1.png b/public/img/my_o1.png new file mode 100644 index 0000000..c206179 Binary files /dev/null and b/public/img/my_o1.png differ diff --git a/public/img/my_o2.png b/public/img/my_o2.png new file mode 100644 index 0000000..dd37c96 Binary files /dev/null and b/public/img/my_o2.png differ diff --git a/public/img/my_o3.png b/public/img/my_o3.png new file mode 100644 index 0000000..514d5c9 Binary files /dev/null and b/public/img/my_o3.png differ diff --git a/public/img/my_o4.png b/public/img/my_o4.png new file mode 100644 index 0000000..839b7d1 Binary files /dev/null and b/public/img/my_o4.png differ diff --git a/public/img/my_s1.png b/public/img/my_s1.png new file mode 100644 index 0000000..eb77bb5 Binary files /dev/null and b/public/img/my_s1.png differ diff --git a/public/img/my_s2.png b/public/img/my_s2.png new file mode 100644 index 0000000..d39de7e Binary files /dev/null and b/public/img/my_s2.png differ diff --git a/public/img/my_s3.png b/public/img/my_s3.png new file mode 100644 index 0000000..7b3a67f Binary files /dev/null and b/public/img/my_s3.png differ diff --git a/public/img/my_s4.png b/public/img/my_s4.png new file mode 100644 index 0000000..a8308fc Binary files /dev/null and b/public/img/my_s4.png differ diff --git a/public/img/my_u1.png b/public/img/my_u1.png new file mode 100644 index 0000000..3a1d445 Binary files /dev/null and b/public/img/my_u1.png differ diff --git a/public/img/my_u2.png b/public/img/my_u2.png new file mode 100644 index 0000000..a1a94f7 Binary files /dev/null and b/public/img/my_u2.png differ diff --git a/public/img/my_u3.png b/public/img/my_u3.png new file mode 100644 index 0000000..bb26e45 Binary files /dev/null and b/public/img/my_u3.png differ diff --git a/public/img/my_u4.png b/public/img/my_u4.png new file mode 100644 index 0000000..79cec60 Binary files /dev/null and b/public/img/my_u4.png differ diff --git a/public/img/my_u5.png b/public/img/my_u5.png new file mode 100644 index 0000000..1db8d60 Binary files /dev/null and b/public/img/my_u5.png differ diff --git a/public/img/my_u6.png b/public/img/my_u6.png new file mode 100644 index 0000000..24fb078 Binary files /dev/null and b/public/img/my_u6.png differ diff --git a/public/img/my_u7.png b/public/img/my_u7.png new file mode 100644 index 0000000..b1e1283 Binary files /dev/null and b/public/img/my_u7.png differ diff --git a/public/img/my_w1.png b/public/img/my_w1.png new file mode 100644 index 0000000..c60f454 Binary files /dev/null and b/public/img/my_w1.png differ diff --git a/public/img/my_w2.png b/public/img/my_w2.png new file mode 100644 index 0000000..b4b1df1 Binary files /dev/null and b/public/img/my_w2.png differ diff --git a/public/img/my_w3.png b/public/img/my_w3.png new file mode 100644 index 0000000..4eeae2e Binary files /dev/null and b/public/img/my_w3.png differ diff --git a/public/img/no.png b/public/img/no.png new file mode 100644 index 0000000..954cbd0 Binary files /dev/null and b/public/img/no.png differ diff --git a/public/img/nocart.png b/public/img/nocart.png new file mode 100644 index 0000000..611a5b5 Binary files /dev/null and b/public/img/nocart.png differ diff --git a/public/img/notShip-i2.png b/public/img/notShip-i2.png new file mode 100644 index 0000000..5217535 Binary files /dev/null and b/public/img/notShip-i2.png differ diff --git a/public/img/op-i1.png b/public/img/op-i1.png new file mode 100644 index 0000000..2a16af0 Binary files /dev/null and b/public/img/op-i1.png differ diff --git a/public/img/op-i2.png b/public/img/op-i2.png new file mode 100644 index 0000000..12db015 Binary files /dev/null and b/public/img/op-i2.png differ diff --git a/public/img/op-i3.png b/public/img/op-i3.png new file mode 100644 index 0000000..1b20369 Binary files /dev/null and b/public/img/op-i3.png differ diff --git a/public/img/op-i4.png b/public/img/op-i4.png new file mode 100644 index 0000000..49f258b Binary files /dev/null and b/public/img/op-i4.png differ diff --git a/public/img/op-i5.png b/public/img/op-i5.png new file mode 100644 index 0000000..cafd06b Binary files /dev/null and b/public/img/op-i5.png differ diff --git a/public/img/opera_bg.jpg b/public/img/opera_bg.jpg new file mode 100644 index 0000000..aadb63b Binary files /dev/null and b/public/img/opera_bg.jpg differ diff --git a/public/img/pay_alipay.png b/public/img/pay_alipay.png new file mode 100644 index 0000000..b2344fa Binary files /dev/null and b/public/img/pay_alipay.png differ diff --git a/public/img/pay_balance.png b/public/img/pay_balance.png new file mode 100644 index 0000000..571553d Binary files /dev/null and b/public/img/pay_balance.png differ diff --git a/public/img/pay_bankcard.png b/public/img/pay_bankcard.png new file mode 100644 index 0000000..679b8f3 Binary files /dev/null and b/public/img/pay_bankcard.png differ diff --git a/public/img/pay_point.png b/public/img/pay_point.png new file mode 100644 index 0000000..7016acc Binary files /dev/null and b/public/img/pay_point.png differ diff --git a/public/img/pay_weixin.png b/public/img/pay_weixin.png new file mode 100644 index 0000000..0b2c495 Binary files /dev/null and b/public/img/pay_weixin.png differ diff --git a/public/img/paycode.jpg b/public/img/paycode.jpg new file mode 100644 index 0000000..0ca3cf3 Binary files /dev/null and b/public/img/paycode.jpg differ diff --git a/public/img/phone.png b/public/img/phone.png new file mode 100644 index 0000000..845bb8f Binary files /dev/null and b/public/img/phone.png differ diff --git a/public/img/point.png b/public/img/point.png new file mode 100644 index 0000000..0ce389a Binary files /dev/null and b/public/img/point.png differ diff --git a/public/img/point_banner.png b/public/img/point_banner.png new file mode 100644 index 0000000..20e123f Binary files /dev/null and b/public/img/point_banner.png differ diff --git a/public/img/point_bg.jpg b/public/img/point_bg.jpg new file mode 100644 index 0000000..30ea38d Binary files /dev/null and b/public/img/point_bg.jpg differ diff --git a/public/img/point_icon.png b/public/img/point_icon.png new file mode 100644 index 0000000..4eeae2e Binary files /dev/null and b/public/img/point_icon.png differ diff --git a/public/img/pointmall_bg.jpg b/public/img/pointmall_bg.jpg new file mode 100644 index 0000000..cce7aa7 Binary files /dev/null and b/public/img/pointmall_bg.jpg differ diff --git a/public/img/pro-list-px-0.png b/public/img/pro-list-px-0.png new file mode 100644 index 0000000..1db02c3 Binary files /dev/null and b/public/img/pro-list-px-0.png differ diff --git a/public/img/pro-list-px-1.png b/public/img/pro-list-px-1.png new file mode 100644 index 0000000..6b65c70 Binary files /dev/null and b/public/img/pro-list-px-1.png differ diff --git a/public/img/pro-list-px-2.png b/public/img/pro-list-px-2.png new file mode 100644 index 0000000..632e2f5 Binary files /dev/null and b/public/img/pro-list-px-2.png differ diff --git a/public/img/pro.png b/public/img/pro.png new file mode 100644 index 0000000..245be98 Binary files /dev/null and b/public/img/pro.png differ diff --git a/public/img/refresh.png b/public/img/refresh.png new file mode 100644 index 0000000..0181fda Binary files /dev/null and b/public/img/refresh.png differ diff --git a/public/img/rexiao.png b/public/img/rexiao.png new file mode 100644 index 0000000..4fa0aa3 Binary files /dev/null and b/public/img/rexiao.png differ diff --git a/public/img/s_select-cart.png b/public/img/s_select-cart.png new file mode 100644 index 0000000..a83d129 Binary files /dev/null and b/public/img/s_select-cart.png differ diff --git a/public/img/safity.png b/public/img/safity.png new file mode 100644 index 0000000..940a161 Binary files /dev/null and b/public/img/safity.png differ diff --git a/public/img/search-w.png b/public/img/search-w.png new file mode 100644 index 0000000..02e52f8 Binary files /dev/null and b/public/img/search-w.png differ diff --git a/public/img/search.png b/public/img/search.png new file mode 100644 index 0000000..1d2487c Binary files /dev/null and b/public/img/search.png differ diff --git a/public/img/service-bg.png b/public/img/service-bg.png new file mode 100644 index 0000000..59d348a Binary files /dev/null and b/public/img/service-bg.png differ diff --git a/public/img/service-i1.png b/public/img/service-i1.png new file mode 100644 index 0000000..d437db0 Binary files /dev/null and b/public/img/service-i1.png differ diff --git a/public/img/service-i2.png b/public/img/service-i2.png new file mode 100644 index 0000000..0851bda Binary files /dev/null and b/public/img/service-i2.png differ diff --git a/public/img/set-i1.png b/public/img/set-i1.png new file mode 100644 index 0000000..1623e65 Binary files /dev/null and b/public/img/set-i1.png differ diff --git a/public/img/set-i2.png b/public/img/set-i2.png new file mode 100644 index 0000000..f107b9e Binary files /dev/null and b/public/img/set-i2.png differ diff --git a/public/img/set-i3.png b/public/img/set-i3.png new file mode 100644 index 0000000..a9ae3f4 Binary files /dev/null and b/public/img/set-i3.png differ diff --git a/public/img/set-i4.png b/public/img/set-i4.png new file mode 100644 index 0000000..d253d10 Binary files /dev/null and b/public/img/set-i4.png differ diff --git a/public/img/share.png b/public/img/share.png new file mode 100644 index 0000000..9a55c2c Binary files /dev/null and b/public/img/share.png differ diff --git a/public/img/shopinfo-top.jpg b/public/img/shopinfo-top.jpg new file mode 100644 index 0000000..05e34e1 Binary files /dev/null and b/public/img/shopinfo-top.jpg differ diff --git a/public/img/sort-search.png b/public/img/sort-search.png new file mode 100644 index 0000000..943154c Binary files /dev/null and b/public/img/sort-search.png differ diff --git a/public/img/spec.png b/public/img/spec.png new file mode 100644 index 0000000..1b532ab Binary files /dev/null and b/public/img/spec.png differ diff --git a/public/img/team-i1.png b/public/img/team-i1.png new file mode 100644 index 0000000..5431a57 Binary files /dev/null and b/public/img/team-i1.png differ diff --git a/public/img/tomall_i1.png b/public/img/tomall_i1.png new file mode 100644 index 0000000..15e485d Binary files /dev/null and b/public/img/tomall_i1.png differ diff --git a/public/img/tomall_i2.png b/public/img/tomall_i2.png new file mode 100644 index 0000000..4b4535f Binary files /dev/null and b/public/img/tomall_i2.png differ diff --git a/public/img/tradelistDetail-i5.png b/public/img/tradelistDetail-i5.png new file mode 100644 index 0000000..f2e9ea3 Binary files /dev/null and b/public/img/tradelistDetail-i5.png differ diff --git a/public/img/vb-home.png b/public/img/vb-home.png new file mode 100644 index 0000000..00157b5 Binary files /dev/null and b/public/img/vb-home.png differ diff --git a/public/img/vb-service.png b/public/img/vb-service.png new file mode 100644 index 0000000..78c4cad Binary files /dev/null and b/public/img/vb-service.png differ diff --git a/public/img/vb-share.png b/public/img/vb-share.png new file mode 100644 index 0000000..2a17a8d Binary files /dev/null and b/public/img/vb-share.png differ diff --git a/public/img/vip_icon.png b/public/img/vip_icon.png new file mode 100644 index 0000000..b4b1df1 Binary files /dev/null and b/public/img/vip_icon.png differ diff --git a/public/js/echarts.min.js b/public/js/echarts.min.js new file mode 100644 index 0000000..43e4952 --- /dev/null +++ b/public/js/echarts.min.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).echarts={})}(this,function(t){"use strict";var _=function(t,e){return(_=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}))(t,e)};function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}_(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var x=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},w=new function(){this.browser=new x,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(w.wxa=!0,w.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?w.worker=!0:!w.hasGlobalWindow||"Deno"in window||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&-1>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}e.clearMarkers=function(){z(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})}}return n}(e,o),o,r);if(e)return e(t,n,i),!0}return!1}function me(t){return"CANVAS"===t.nodeName.toUpperCase()}var ve=/([&<>"'])/g,_e={"&":"&","<":"<",">":">",'"':""","'":"'"};function xe(t){return null==t?"":(t+"").replace(ve,function(t,e){return _e[e]})}var be=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,we=[],Se=w.browser.firefox&&+w.browser.version.split(".")[0]<39;function Me(t,e,n,i){return n=n||{},i?Te(t,e,n):Se&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Te(t,e,n),n}function Te(t,e,n){if(w.domSupported&&t.getBoundingClientRect){var i,r=e.clientX,e=e.clientY;if(me(t))return i=t.getBoundingClientRect(),n.zrX=r-i.left,void(n.zrY=e-i.top);if(ye(we,t,r,e))return n.zrX=we[0],void(n.zrY=we[1])}n.zrX=n.zrY=0}function Ce(t){return t||window.event}function Ie(t,e,n){var i;return null==(e=Ce(e)).zrX&&((i=e.type)&&0<=i.indexOf("touch")?(i=("touchend"!==i?e.targetTouches:e.changedTouches)[0])&&Me(t,i,e,n):(Me(t,e,e,n),i=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,t=t.deltaY;return null!=n&&null!=t?3*(0!==t?Math.abs(t):Math.abs(n))*(0=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},nn.prototype.contain=function(t,e){return nn.contain(this,t,e)},nn.prototype.clone=function(){return new nn(this.x,this.y,this.width,this.height)},nn.prototype.copy=function(t){nn.copy(this,t)},nn.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},nn.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},nn.prototype.isZero=function(){return 0===this.width||0===this.height},nn.create=function(t){return new nn(t.x,t.y,t.width,t.height)},nn.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},nn.applyTransform=function(t,e,n){var i,r,o,a;n?n[1]<1e-5&&-1e-5t.getWidth()||n<0||n>t.getHeight()}z(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){mn.prototype[a]=function(t){var e,n,i=t.zrX,r=t.zrY,o=xn(this,i,r);if("mouseup"===a&&o||(n=(e=this.findHover(i,r)).target),"mousedown"===a)this._downEl=n,this._downPoint=[t.zrX,t.zrY],this._upEl=n;else if("mouseup"===a)this._upEl=n;else if("click"===a){if(this._downEl!==this._upEl||!this._downPoint||4>>1])<0?l=o:s=1+o;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;0>>1);0>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function In(A,L){var P,O,R=wn,N=0,B=[];function e(t){var e=P[t],n=O[t],i=P[t+1],r=O[t+1],t=(O[t]=n+r,t===N-3&&(P[t+1]=P[t+2],O[t+1]=O[t+2]),N--,Cn(A[i],A,e,n,0,L));if(e+=t,0!=(n-=t)&&0!==(r=Tn(A[e+n-1],A,i,r,r-1,L)))if(n<=r){var o=e,a=n,t=i,s=r,l=0;for(l=0;lO[t+1])break;e(t)}},forceMergeRuns:function(){for(;1>=1;return t+e}(r);do{}while((o=Sn(t,n,i,e))=this._maxSize&&0>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===i?parseInt(n.slice(4),16)/15:1),Ti(t,e),e):void bi(e,0,0,0,1):7===i||9===i?0<=(r=parseInt(n.slice(1,7),16))&&r<=16777215?(bi(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===i?parseInt(n.slice(7),16)/255:1),Ti(t,e),e):void bi(e,0,0,0,1):void 0;var r=n.indexOf("("),o=n.indexOf(")");if(-1!==r&&o+1===i){var i=n.substr(0,r),a=n.substr(r+1,o-(r+1)).split(","),s=1;switch(i){case"rgba":if(4!==a.length)return 3===a.length?bi(e,+a[0],+a[1],+a[2],1):bi(e,0,0,0,1);s=vi(a.pop());case"rgb":return 3<=a.length?(bi(e,mi(a[0]),mi(a[1]),mi(a[2]),3===a.length?s:vi(a[3])),Ti(t,e),e):void bi(e,0,0,0,1);case"hsla":return 4!==a.length?void bi(e,0,0,0,1):(a[3]=vi(a[3]),Ii(a,e),Ti(t,e),e);case"hsl":return 3!==a.length?void bi(e,0,0,0,1):(Ii(a,e),Ti(t,e),e);default:return}}bi(e,0,0,0,1)}}function Ii(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=vi(t[1]),r=vi(t[2]),i=r<=.5?r*(i+1):r+i-r*i,r=2*r-i;return bi(e=e||[],gi(255*_i(r,i,n+1/3)),gi(255*_i(r,i,n)),gi(255*_i(r,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function ki(t,e){var n=Ci(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255e);g++);g=f(g-1,h-2)}i=u[g+1],n=u[g]}n&&i&&(this._lastFr=g,this._lastFrP=e,d=i.percent-n.percent,r=0==d?1:f((e-n.percent)/d,1),i.easingFunc&&(r=i.easingFunc(r)),f=a?this._additiveValue:p?Yi:t[c],(Xi(l)||p)&&(f=f||(this._additiveValue=[])),this.discrete?t[c]=(r<1?n:i).rawValue:Xi(l)?(1===l?Fi:function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;athis._sleepAfterStill)&&this.animation.stop()},co.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},co.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},co.prototype.refreshHover=function(){this._needsRefreshHover=!0},co.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},co.prototype.resize=function(t){this._disposed||(this.painter.resize((t=t||{}).width,t.height),this.handler.resize())},co.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},co.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},co.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},co.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},co.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},co.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},co.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},co.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},co.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;el&&(l=s[h],u=h);++o[u],s[u]=0,++a}return F(o,function(t){return t/i})}function Do(t){var e=2*Math.PI;return(t%e+e)%e}function Ao(t){return-1e-4=n.maxIterations){e+=n.ellipsis;break}var s=0===a?function(t,e,n){for(var i=0,r=0,o=t.length;rh){I=o.lines.length;0i.width&&(o=e.split("\n"),c=!0),i.accumWidth=s):(s=Ba(e,t,i.width,i.breakAll,i.accumWidth),i.accumWidth=s.accumWidth+n,a=s.linesWidths,o=s.lines)),o=o||e.split("\n"),Nr(t)),d=0;dthis._ux||i>this._uy;return this.addData(ls.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r?(this._xi=t,this._yi=e,this._pendingPtDist=0):(r=n*n+i*i)>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=r),this},r.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(ls.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},r.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(ls.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},r.prototype.arc=function(t,e,n,i,r,o){return this._drawPendingPt(),Ss[0]=i,Ss[1]=r,Ts(Ss,o),this.addData(ls.A,t,e,n,n,i=Ss[0],(r=Ss[1])-i,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=ms(r)*n+t,this._yi=vs(r)*n+e,this},r.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},r.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(ls.R,t,e,n,i),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(ls.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},r.prototype.fill=function(t){t&&t.fill(),this.toStatic()},r.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(t){if(this._saveData){var e=t.length;this.data&&this.data.length===e||!ws||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;hn||_s(y)>i||c===e-1)&&(f=Math.sqrt(I*I+y*y),r=g,o=_);break;case ls.C:var m=t[c++],v=t[c++],g=t[c++],_=t[c++],x=t[c++],b=t[c++],f=function(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,d=1;d<=l;d++){var f=d*p,g=Zn(t,n,r,a,f),f=Zn(e,i,o,s,f),y=g-u,m=f-h;c+=Math.sqrt(y*y+m*m),u=g,h=f}return c}(r,o,m,v,g,_,x,b,10),r=x,o=b;break;case ls.Q:f=function(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p=c*h,d=ti(t,n,r,p),p=ti(e,i,o,p),f=d-s,g=p-l;u+=Math.sqrt(f*f+g*g),s=d,l=p}return u}(r,o,m=t[c++],v=t[c++],g=t[c++],_=t[c++],10),r=g,o=_;break;case ls.A:var x=t[c++],b=t[c++],w=t[c++],S=t[c++],M=t[c++],T=t[c++],C=T+M;c+=1,d&&(a=ms(M)*w+x,s=vs(M)*S+b),f=ys(w,S)*gs(bs,Math.abs(T)),r=ms(C)*w+x,o=vs(C)*S+b;break;case ls.R:a=r=t[c++],s=o=t[c++];f=2*t[c++]+2*t[c++];break;case ls.Z:var I=a-r,y=s-o;f=Math.sqrt(I*I+y*y),r=a,o=s}0<=f&&(u+=l[h++]=f)}return this._pathLen=u},r.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h=this.data,B=this._ux,E=this._uy,z=this._len,c=e<1,p=0,d=0,f=0;if(!c||(this._pathSegLen||this._calculateLength(),a=this._pathSegLen,s=e*this._pathLen))t:for(var g=0;g=Ns[i=0]+t&&a<=Ns[1]+t?h:0;rMath.PI/2&&c<1.5*Math.PI?-h:h)}return l}(y,m,_,x,x+b,w,T,r);u=Math.cos(x+b)*v+y,h=Math.sin(x+b)*_+m;break;case Ps.R:c=u=a[d++],p=h=a[d++];if(S=c+a[d++],M=p+a[d++],n){if(Is(c,p,S,p,e,i,r)||Is(S,p,S,M,e,i,r)||Is(S,M,c,M,e,i,r)||Is(c,M,c,p,e,i,r))return!0}else l=(l+=Ls(S,p,S,M,i,r))+Ls(c,M,c,p,i,r);break;case Ps.Z:if(n){if(Is(u,h,c,p,e,i,r))return!0}else l+=Ls(u,h,c,p,i,r);u=c,h=p}}return n||(t=h,o=p,Math.abs(t-o)n,i=(r=r.slice(0,n)).length*c),t&&u&&null!=f)for(var y=ka(f,l,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m={},v=0;vic.len()&&(sxo(i[1])?0':'':{renderMode:r,content:"{"+(t.markerId||"markerX")+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}:""}function wd(t,e){return e=e||"transparent",H(t)?t:B(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Sd(t,e){var n;"_blank"===e||"blank"===e?((n=window.open()).opener=null,n.location.href=t):window.open(t,e)}var Md={},Td={},Cd=(Id.prototype.create=function(i,r){function t(t){var n=[];return z(t,function(t,e){t=t.create(i,r);n=n.concat(t||[])}),n}this._nonSeriesBoxMasterList=t(Md),this._normalMasterList=t(Td)},Id.prototype.update=function(e,n){z(this._normalMasterList,function(t){t.update&&t.update(e,n)})},Id.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},Id.register=function(t,e){"matrix"===t||"calendar"===t?Md[t]=e:Td[t]=e},Id.get=function(t){return Td[t]||Md[t]},Id);function Id(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}var kd={coord:1,coord2:2};var Dd=O();var Ad={none:0,dataCoordSys:1,boxCoordSys:2};function Ld(t){var e=t.getShallow("coordinateSystem"),n=t.getShallow("coordinateSystemUsage",!0),i=Ad.none;return e&&(t="series"===t.mainType,"data"===(n=null==n?t?"data":"box":n)?(i=Ad.dataCoordSys,t||(i=Ad.none)):"box"===n&&(i=Ad.boxCoordSys,t||Md[e]||(i=Ad.none))),{coordSysType:e,kind:i}}var Pd=z,Od=["left","right","top","bottom","width","height"],Rd=[["width","left","right"],["height","top","bottom"]];function Nd(a,s,l,u,h){var c=0,p=0,d=(null==u&&(u=1/0),null==h&&(h=1/0),0);s.eachChild(function(t,e){var n,i,r,o=t.getBoundingRect(),e=s.childAt(e+1),e=e&&e.getBoundingRect();d="horizontal"===a?(i=o.width+(e?-e.x+o.x:0),u<(n=c+i)||t.newline?(c=0,n=i,p+=d+l,o.height):Math.max(d,o.height)):(i=o.height+(e?-e.y+o.y:0),h<(r=p+i)||t.newline?(c+=d+l,p=0,r=i,o.width):Math.max(d,o.width)),t.newline||(t.x=c,t.y=p,t.markRedraw(),"horizontal"===a?c=n+l:p=r+l)})}var Bd=Nd;function Ed(t,e){r=Hd(o=t,n=e,{enableLayoutOnlyByCenter:!0}),i=o.getBoxLayoutParams(),r.type===Vd?(s=r.refPoint,a=zd(i,{width:n.getWidth(),height:n.getHeight()})):(o=V(n=o.get("center"))?n:[n,n],a=zd(i,r.refContainer),s=r.boxCoordFrom===kd.coord2?r.refPoint:[wo(o[0],a.width)+a.x,wo(o[1],a.height)+a.y]);var n={viewRect:a,center:s},i=n.viewRect,r=n.center,o=t.get("radius"),a=(V(o)||(o=[0,o]),wo(i.width,e.getWidth())),s=wo(i.height,e.getHeight()),n=Math.min(a,s),t=wo(o[0],n/2),e=wo(o[1],n/2);return{cx:r[0],cy:r[1],r0:t,r:e,viewRect:i}}function zd(t,e,n){n=yd(n||0);var i=e.width,r=e.height,o=wo(t.left,i),a=wo(t.top,r),s=wo(t.right,i),l=wo(t.bottom,r),u=wo(t.width,i),h=wo(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(i/re)return t[i];return t[n-1]}var If,kf="\0_ec_inner",Df=(u(o,If=Cp),o.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new Cp(i),this._locale=new Cp(r),this._optionManager=o},o.prototype.setOption=function(t,e,n){e=Pf(e);this._optionManager.setOption(t,n,e),this._resetOption(null,e)},o.prototype.resetOption=function(t,e){return this._resetOption(t,Pf(e))},o.prototype._resetOption=function(t,e){var n,i=!1,r=this._optionManager;return t&&"recreate"!==t||(n=r.mountOption("recreate"===t),this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(n,e)):wf(this,n),i=!0),"timeline"!==t&&"media"!==t||this.restoreData(),t&&"recreate"!==t&&"timeline"!==t||(n=r.getTimelineOption(this))&&(i=!0,this._mergeOption(n,e)),t&&"recreate"!==t&&"media"!==t||(n=r.getMediaOption(this)).length&&z(n,function(t){i=!0,this._mergeOption(t,e)},this),i},o.prototype.mergeOption=function(t){this._mergeOption(t,null)},o.prototype._mergeOption=function(i,t){var r=this.option,h=this._componentsMap,c=this._componentsCount,n=[],o=O(),p=t&&t.replaceMergeMainTypeMap;df(this).datasetMap=O(),z(i,function(t,e){null!=t&&(g.hasClass(e)?e&&(n.push(e),o.set(e,!0)):r[e]=null==r[e]?y(t):d(r[e],t,!0))}),p&&p.each(function(t,e){g.hasClass(e)&&!o.get(e)&&(n.push(e),o.set(e,!0))}),g.topologicalTravel(n,g.getAllClassMainTypes(),function(o){var a,t=function(t,e,n){return(e=(e=_f.get(e))&&e(t))?n.concat(e):n}(this,o,Wo(i[o])),e=h.get(o),n=e?p&&p.get(o)?"replaceMerge":"normalMerge":"replaceAll",e=Yo(e,t,n),s=(Qo(e,o,g),r[o]=null,h.set(o,null),c.set(o,0),[]),l=[],u=0;z(e,function(t,e){var n=t.existing,i=t.newOption;if(i){var r=g.getClass(o,t.keyInfo.subType,!("series"===o));if(!r)return;if("tooltip"===o){if(a)return;a=!0}n&&n.constructor===r?(n.name=t.keyInfo.name,n.mergeOption(i,this),n.optionUpdated(i,!1)):(e=P({componentIndex:e},t.keyInfo),P(n=new r(i,this,this,e),e),t.brandNew&&(n.__requireNewView=!0),n.init(i,this,this),n.optionUpdated(null,!0))}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(s.push(n.option),l.push(n),u++):(s.push(void 0),l.push(void 0))},this),r[o]=s,h.set(o,l),c.set(o,u),"series"===o&&xf(this)},this),this._seriesIndices||xf(this)},o.prototype.getOption=function(){var a=y(this.option);return z(a,function(t,e){if(g.hasClass(e)){for(var n=Wo(t),i=n.length,r=!1,o=i-1;0<=o;o--)n[o]&&!$o(n[o])?r=!0:(n[o]=null,r||i--);n.length=i,a[e]=n}}),delete a[kf],a},o.prototype.setTheme=function(t){this._theme=new Cp(t),this._resetOption("recreate",null)},o.prototype.getTheme=function(){return this._theme},o.prototype.getLocaleModel=function(){return this._locale},o.prototype.setUpdatePayload=function(t){this._payload=t},o.prototype.getUpdatePayload=function(){return this._payload},o.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){t=n[e||0];if(t)return t;if(null==e)for(var i=0;ig[1]&&(g[1]=f)}return{start:a,end:this._rawCount=this._count=s}},l.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=F(o,function(t){return t.property}),u=0;uf[1]&&(f[1]=g)}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},l.prototype.count=function(){return this._count},l.prototype.get=function(t,e){return 0<=e&&e=this._rawCount||t<0)){if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}}return-1},l.prototype.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array)for(var i=new e(n),r=0;rt[S][1])&&(b=!1)}b&&(a[s++]=e.getRawIndex(f))}return sy[1]&&(y[1]=g)}}}},l.prototype.lttbDownSample=function(t,e){var n,i=this.clone([t],!0),r=i._chunks[t],o=this.count(),a=0,s=Math.floor(1/e),l=this.getRawIndex(0),u=new(gy(this._rawCount))(Math.min(2*(Math.ceil(o/s)+2),o));u[a++]=l;for(var h=1;hh[1]&&(h[1]=y),c[p++]=m}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},l.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r'+xe(u)+""+h,t))}function Ry(t,e,n,i){var r,o,a,s,l,u=t.renderMode,h=e.noName,c=e.noValue,p=!e.markerType,d=e.name,f=t.useUTC,g=e.valueFormatter||t.valueFormatter||function(t){return F(t=V(t)?t:[t],function(t,e){return md(t,V(o)?o[e]:o,f)})};if(!h||!c)return r=p?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||v.color.secondary,u),d=h?"":md(d,"ordinal",f),o=e.valueType,g=c?[]:g(e.value,e.dataIndex),e=!p||!h,a=!p&&h,l=Iy(i,u),s=l.nameStyle,l=l.valueStyle,"richText"===u?(p?"":r)+(h?"":Ey(t,d,s))+(c?"":function(t,e,n,i,r){r=[r],i=i?10:20;return n&&r.push({padding:[0,0,0,i],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(V(e)?e.join(" "):e,r)}(t,g,e,a,l)):By(i,(p?"":r)+(h?"":''+xe(d)+"")+(c?"":function(t,e,n,i){n=n?"10px":"20px",e=e?"float:right;margin-left:"+n:"";return t=V(t)?t:[t],''+F(t,xe).join("  ")+""}(g,e,a,l)),n)}function Ny(t,e,n,i,r,o){if(t)return Py(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function By(t,e,n){return'
'+e+'
'}function Ey(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function zy(t,e){t=t.get("padding");return null!=t?t:"richText"===e?[8,10]:10}Vy.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},Vy.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,e=bd({color:e,type:t,renderMode:n,markerId:i});return H(e)?e:(this.richTextStyles[i]=e.style,e.content)},Vy.prototype.wrapRichTextStyle=function(t,e){var n={},e=(V(e)?z(e,function(t){return P(n,t)}):P(n,e),this._generateStyleName());return this.richTextStyles[e]=n,"{"+e+"|"+t+"}"};var Fy=Vy;function Vy(){this.richTextStyles={},this._nextStyleNameId=zo()}function Hy(t){var e,n,i,r,o,a,s,l,u,h,c,p=t.series,d=t.dataIndex,t=t.multipleSeries,f=p.getData(),g=f.mapDimensionsAll("defaultedTooltip"),y=g.length,m=p.getRawValue(d),v=V(m),_=(_=d,wd((b=p).getData().getItemVisual(_,"style")[b.visualDrawType]));function x(t,e){e=s.getDimensionInfo(e);e&&!1!==e.otherDims.tooltip&&(l?c.push(Ay("nameValue",{markerType:"subItem",markerColor:a,name:e.displayName,value:t,valueType:e.type})):(u.push(t),h.push(e.type)))}1this.getShallow("animationThreshold")?!1:t)},s.prototype.restoreData=function(){this.dataTask.dirty()},s.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel;return Mf.prototype.getColorFromPalette.call(this,t,e,n)||i.getColorFromPalette(t,e,n)},s.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},s.prototype.getProgressive=function(){return this.get("progressive")},s.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},s.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},s.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)this.option.selectedMap={},this._selectedDataIndicesMap={};else for(var o=0;oe.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Ky(e,n){z(Nt(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(t){e.wrapMethod(t,pt($y,n))})}function $y(t,e){t=Qy(t);return t&&t.setOutputEnd((e||this).count()),e}function Qy(t){var e,n=(t.ecModel||{}).scheduler,n=n&&n.getPipeline(t.uid);if(n)return(n=n.currentTask)&&(e=n.agentStubMap)?e.get(t.uid):n}at(Xy,Sp),at(Xy,Mf),da(Xy,g);tm.prototype.init=function(t,e){},tm.prototype.render=function(t,e,n,i){},tm.prototype.dispose=function(t,e){},tm.prototype.updateView=function(t,e,n,i){},tm.prototype.updateLayout=function(t,e,n,i){},tm.prototype.updateVisual=function(t,e,n,i){},tm.prototype.toggleBlurSeries=function(t,e,n){},tm.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)};var Jy=tm;function tm(){this.group=new oo,this.uid=Dp("viewComponent")}function em(){var o=ta();return function(t){var e=o(t),t=t.pipelineContext,n=!!e.large,i=!!e.progressiveRender,r=e.large=!(!t||!t.large),e=e.progressiveRender=!(!t||!t.progressiveRender);return!(n==r&&i==e)&&"reset"}}pa(Jy),ma(Jy);var nm=ta(),im=em(),rm=(om.prototype.init=function(t,e){},om.prototype.render=function(t,e,n,i){},om.prototype.highlight=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&sm(t,i,"emphasis")},om.prototype.downplay=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&sm(t,i,"normal")},om.prototype.remove=function(t,e){this.group.removeAll()},om.prototype.dispose=function(t,e){},om.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},om.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},om.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},om.prototype.eachRendered=function(t){Yc(this.group,t)},om.markUpdateMethod=function(t,e){nm(t).updateMethod=e},om.protoInitialize=void(om.prototype.type="chart"),om);function om(){this.group=new oo,this.uid=Dp("viewChart"),this.renderTask=Og({plan:lm,reset:um}),this.renderTask.context={view:this}}function am(t,e,n){t&&_u(t)&&("emphasis"===e?nu:iu)(t,n)}function sm(e,t,n){var i,r=Jo(e,t),o=t&&null!=t.highlightKey?(t=t.highlightKey,i=null==(i=Cl[t])&&Tl<=32?Cl[t]=Tl++:i):null;null!=r?z(Wo(r),function(t){am(e.getItemGraphicEl(t),n,o)}):e.eachItemGraphicEl(function(t){am(t,n,o)})}function lm(t){return im(t.model)}function um(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,t=t.view,a=r&&nm(r).updateMethod,o=o?"incrementalPrepareRender":a&&t[a]?a:"render";return"render"!==o&&t[o](e,n,i,r),hm[o]}pa(rm),ma(rm);var hm={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},cm="\0__throttleOriginMethod",pm="\0__throttleRate",dm="\0__throttleType";function fm(t,r,o){var a,s,l,u,h,c=0,p=0,d=null;function f(){p=(new Date).getTime(),d=null,t.apply(l,u||[])}r=r||0;function e(){for(var t=[],e=0;en.blockIndex?n.step:null,modBy:null!=(t=i&&i.modDataCount)?Math.ceil(t/e):null,modDataCount:t}},Tm.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},Tm.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),e=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,r=t.get("large")&&i>=t.get("largeThreshold"),i="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:e,modDataCount:i,large:r}},Tm.prototype.restorePipelines=function(t){var i=this,r=i._pipelineMap=O();t.eachSeries(function(t){var e=t.getProgressive(),n=t.uid;r.set(n,{id:n,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:e&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(e||700),count:0}),i._pipe(t,t.dataTask)})},Tm.prototype.prepareStageTasks=function(){var n=this._stageTaskMap,i=this.api.getModel(),r=this.api;z(this._allHandlers,function(t){var e=n.get(t.uid)||n.set(t.uid,{});Tt(!(t.reset&&t.overallReset),""),t.reset&&this._createSeriesStageTask(t,e,i,r),t.overallReset&&this._createOverallStageTask(t,e,i,r)},this)},Tm.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},Tm.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},Tm.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},Tm.prototype._performStageTasks=function(t,s,l,u){u=u||{};var h=!1,c=this;function p(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}z(t,function(i,t){var e,n,r,o,a;u.visualType&&u.visualType!==i.visualType||(e=(n=c._stageTaskMap.get(i.uid)).seriesTaskMap,(n=n.overallTask)?((o=n.agentStubMap).each(function(t){p(u,t)&&(t.dirty(),r=!0)}),r&&n.dirty(),c.updatePayload(n,l),a=c.getPerformArgs(n,u.block),o.each(function(t){t.perform(a)}),n.perform(a)&&(h=!0)):e&&e.each(function(t,e){p(u,t)&&t.dirty();var n=c.getPerformArgs(t,u.block);n.skip=!i.performRawSeries&&s.isSeriesFiltered(t.context.model),c.updatePayload(t,l),t.perform(n)&&(h=!0)}))}),this.unfinished=h||this.unfinished},Tm.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},Tm.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}}while(e=e.getUpstream())})},Tm.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},Tm.prototype._createSeriesStageTask=function(n,t,i,r){var o=this,a=t.seriesTaskMap,s=t.seriesTaskMap=O(),t=n.seriesType,e=n.getTargetSeries;function l(t){var e=t.uid,e=s.set(e,a&&a.get(e)||Og({plan:Am,reset:Lm,count:Rm}));e.context={model:t,ecModel:i,api:r,useClearVisual:n.isVisual&&!n.isLayout,plan:n.plan,reset:n.reset,scheduler:o},o._pipe(t,e)}n.createOnAllSeries?i.eachRawSeries(l):t?i.eachRawSeriesByType(t,l):e&&e(i,r).each(l)},Tm.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||Og({reset:Cm}),a=(o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r},o.agentStubMap),s=o.agentStubMap=O(),e=t.seriesType,l=t.getTargetSeries,u=!0,h=!1;function c(t){var e=t.uid,e=s.set(e,a&&a.get(e)||(h=!0,Og({reset:Im,onDirty:Dm})));e.context={model:t,overallProgress:u},e.agent=o,e.__block=u,r._pipe(t,e)}Tt(!t.createOnAllSeries,""),e?n.eachRawSeriesByType(e,c):l?l(n,i).each(c):(u=!1,z(n.getSeries(),c)),h&&o.dirty()},Tm.prototype._pipe=function(t,e){t=t.uid,t=this._pipelineMap.get(t);t.head||(t.head=e),t.tail&&t.tail.pipe(e),(t.tail=e).__idxInPipeline=t.count++,e.__pipeline=t},Tm.wrapStageHandler=function(t,e){return(t=N(t)?{overallReset:t,seriesType:function(t){Nm=null;try{t(Bm,Em)}catch(t){}return Nm}(t)}:t).uid=Dp("stageHandler"),e&&(t.visualType=e),t};var Mm=Tm;function Tm(t,e,n,i){this._stageTaskMap=O(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}function Cm(t){t.overallReset(t.ecModel,t.api,t.payload)}function Im(t){return t.overallProgress&&km}function km(){this.agent.dirty(),this.getDownstream().dirty()}function Dm(){this.agent&&this.agent.dirty()}function Am(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Lm(t){t.useClearVisual&&t.data.clearAllVisual();t=t.resetDefines=Wo(t.reset(t.model,t.ecModel,t.api,t.payload));return 1'+t.dom+""}),f.painter.getSvgRoot().innerHTML=g,i.connectedBackgroundColor&&f.painter.setBackgroundColor(i.connectedBackgroundColor),f.refreshImmediately(),f.painter.toDataURL()):(i.connectedBackgroundColor&&f.add(new sl({shape:{x:0,y:0,width:t,height:n},style:{fill:i.connectedBackgroundColor}})),z(p,function(t){t=new Qs({style:{x:t.left*e-l,y:t.top*e-u,image:t.dom}});f.add(t)}),f.refreshImmediately(),d.toDataURL("image/"+(i&&i.type||"png")))):this.getDataURL(i);this.id},c.prototype.convertToPixel=function(t,e,n){return tv(this,"convertToPixel",t,e,n)},c.prototype.convertToLayout=function(t,e,n){return tv(this,"convertToLayout",t,e,n)},c.prototype.convertFromPixel=function(t,e,n){return tv(this,"convertFromPixel",t,e,n)},c.prototype.containPixel=function(t,i){var r;if(!this._disposed)return z(na(this._model,t),function(t,n){0<=n.indexOf("Models")&&z(t,function(t){var e=t.coordinateSystem;e&&e.containPoint?r=r||!!e.containPoint(i):"seriesModels"===n&&(e=this._chartsMap[t.__viewId])&&e.containPoint&&(r=r||e.containPoint(i,t))},this)},this),!!r;this.id},c.prototype.getVisual=function(t,e){var t=na(this._model,t,{defaultMainType:"series"}),n=t.seriesModel.getData(),t=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;if(null!=t){var i=n,r=t,o=e;switch(o){case"color":return i.getItemVisual(r,"style")[i.getVisual("drawType")];case"opacity":return i.getItemVisual(r,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return i.getItemVisual(r,o)}}else{var a=n,s=e;switch(s){case"color":return a.getVisual("style")[a.getVisual("drawType")];case"opacity":return a.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return a.getVisual(s)}}},c.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},c.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},c.prototype._initEvents=function(){var n,i,s=this,r=(z(wv,function(a){function t(t){var n,e,i,r=s.getModel(),o=t.target;"globalout"===a?n={}:o&&Ym(o,function(t){var e,t=Y(t);return t&&null!=t.dataIndex?(e=t.dataModel||r.getSeriesByIndex(t.seriesIndex),n=e&&e.getDataParams(t.dataIndex,t.dataType,o)||{},1):t.eventData&&(n=P({},t.eventData),1)},!0),n&&(e=n.componentType,i=n.componentIndex,"markLine"!==e&&"markPoint"!==e&&"markArea"!==e||(e="series",i=n.seriesIndex),i=(e=e&&null!=i&&r.getComponent(e,i))&&s["series"===e.mainType?"_chartsMap":"_componentsMap"][e.__viewId],n.event=t,n.type=a,s._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:e,view:i},s.trigger(a,n))}t.zrEventfulCallAtLast=!0,s._zr.on(a,t,s)}),this._messageCenter);z(Tv,function(t,e){r.on(e,function(t){s.trigger(e,t)})}),i=(n=this)._api,r.on("selectchanged",function(t){var e=i.getModel();t.isFromClick?(Xm("map","selectchanged",n,e,t),Xm("pie","selectchanged",n,e,t)):"select"===t.fromAction?(Xm("map","selected",n,e,t),Xm("pie","selected",n,e,t)):"unselect"===t.fromAction&&(Xm("map","unselected",n,e,t),Xm("pie","unselected",n,e,t))})},c.prototype.isDisposed=function(){return this._disposed},c.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},c.prototype.dispose=function(){var t,e,n;this._disposed?this.id:(this._disposed=!0,this.getDom()&&aa(this.getDom(),Nv,""),e=(t=this)._api,n=t._model,z(t._componentsViews,function(t){t.dispose(n,e)}),z(t._chartsViews,function(t){t.dispose(n,e)}),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Lv[t.id])},c.prototype.resize=function(t){if(!this[z0])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var e=e.resetOption("media"),n=t&&t.silent;this[V0]&&(null==n&&(n=this[V0].silent),e=!0,this[V0]=null),this[z0]=!0,fv(this);try{e&&K0(this),J0.update.call(this,{type:"resize",animation:P({duration:0},t&&t.animation)})}catch(t){throw this[z0]=!1,t}this[z0]=!1,iv.call(this,n),rv.call(this,n)}}},c.prototype.showLoading=function(t,e){this._disposed?this.id:(B(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Av[t]&&(t=Av[t](this._api,e),e=this._zr,this._loadingFX=t,e.add(t)))},c.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},c.prototype.makeActionFromEvent=function(t){var e=P({},t);return e.type=Mv[t.type],e},c.prototype.dispatchAction=function(t,e){var n;this._disposed?this.id:(B(e)||(e={silent:!!e}),Sv[t.type]&&this._model&&(this[z0]?this._pendingActions.push(t):(n=e.silent,nv.call(this,t,n),(t=e.flush)?this._zr.flush():!1!==t&&w.browser.weChat&&this._throttledZrFlush(),iv.call(this,n),rv.call(this,n))))},c.prototype.updateLabelLayout=function(){B0.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},c.prototype.appendData=function(t){var e;this._disposed?this.id:(e=t.seriesIndex,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp())},c.internalField=(K0=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),$0(t,!0),$0(t,!1),e.plan()},$0=function(t,r){for(var o=t._model,a=t._scheduler,s=r?t._componentsViews:t._chartsViews,l=r?t._componentsMap:t._chartsMap,u=t._zr,h=t._api,e=0;es.get("hoverLayerThreshold")&&!w.node&&!w.worker&&s.eachSeries(function(t){t.preventUsingHoverLayer||(t=i._chartsMap[t.__viewId]).__alive&&t.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}),B0.trigger("series:afterupdate",t,e,n)},pv=function(t){t[H0]=!0,t.getZr().wakeUp()},fv=function(t){t[F0]=(t[F0]+1)%1e3},dv=function(t){t[H0]&&(t.getZr().storage.traverse(function(t){dc(t)||vv(t)}),t[H0]=!1)},hv=function(n){return u(t,e=Of),t.prototype.getCoordinateSystems=function(){return n._coordSysMgr.getCoordinateSystems()},t.prototype.getComponentByElement=function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return n._model.getComponent(e.mainType,e.index);t=t.parent}},t.prototype.enterEmphasis=function(t,e){nu(t,e),pv(n)},t.prototype.leaveEmphasis=function(t,e){iu(t,e),pv(n)},t.prototype.enterBlur=function(t){jl(t,Ul),pv(n)},t.prototype.leaveBlur=function(t){ru(t),pv(n)},t.prototype.enterSelect=function(t){ou(t),pv(n)},t.prototype.leaveSelect=function(t){au(t),pv(n)},t.prototype.getModel=function(){return n.getModel()},t.prototype.getViewOfComponentModel=function(t){return n.getViewOfComponentModel(t)},t.prototype.getViewOfSeriesModel=function(t){return n.getViewOfSeriesModel(t)},t.prototype.getMainProcessVersion=function(){return n[F0]},new t(n);function t(){return null!==e&&e.apply(this,arguments)||this}var e},void(cv=function(i){function r(t,e){for(var n=0;nr[1]&&(r[0]=r[1]),o}function F_(t){var e=Math.pow(10,Ro(t)),t=t/e;return t?2===t?t=3:3===t?t=5:t*=2:t=1,Mo(t*e)}function V_(t){return To(t)+2}function H_(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function W_(t,e){return t>=e[0]&&t<=e[1]}U_.prototype.updateMethods=function(t){t.hasBreaks()?(this.normalize=S(t.normalize,t),this.scale=S(t.scale,t)):(this.normalize=X_,this.scale=Y_)};var G_=U_;function U_(){this.normalize=X_,this.scale=Y_}function X_(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Y_(t,e){return t*(e[1]-e[0])+e[0]}function q_(t,e,n){t=Math.log(t);return[Math.log(n?e[0]:Math.max(0,e[0]))/t,Math.log(n?e[1]:Math.max(0,e[1]))/t]}j_.prototype.getSetting=function(t){return this._setting[t]},j_.prototype._innerUnionExtent=function(t){var e=this._extent;this._innerSetExtent((t[0]e[1]?t:e)[1])},j_.prototype.unionExtentFromData=function(t,e){this._innerUnionExtent(t.getApproximateExtent(e))},j_.prototype.getExtent=function(){return this._extent.slice()},j_.prototype.setExtent=function(t,e){this._innerSetExtent(t,e)},j_.prototype._innerSetExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e),this._brkCtx&&this._brkCtx.update(n)},j_.prototype.setBreaksFromOption=function(t){},j_.prototype._innerSetBreak=function(t){this._brkCtx&&(this._brkCtx.setBreaks(t),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},j_.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},j_.prototype.hasBreaks=function(){return!!this._brkCtx&&this._brkCtx.hasBreaks()},j_.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},j_.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},j_.prototype.isBlank=function(){return this._isBlank},j_.prototype.setBlank=function(t){this._isBlank=t};var Z_=j_;function j_(t){this._calculator=new G_,this._setting=t||{},this._extent=[1/0,-1/0]}ma(Z_);var K_=0,$_=(Q_.createByAxisModel=function(t){var t=t.option,e=t.data,e=e&&F(e,J_);return new Q_({categories:e,needCollect:!e,deduplication:!1!==t.dedplication})},Q_.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},Q_.prototype.parseAndCollect=function(t){var e,n,i=this._needCollect;return H(t)||i?(i&&!this._deduplication?(n=this.categories.length,this.categories[n]=t,this._onCollect&&this._onCollect(t,n)):null==(n=(e=this._getOrCreateMap()).get(t))&&(i?(n=this.categories.length,this.categories[n]=t,e.set(t,n),this._onCollect&&this._onCollect(t,n)):n=NaN),n):t},Q_.prototype._getOrCreateMap=function(){return this._map||(this._map=O(this.categories))},Q_);function Q_(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++K_,this._onCollect=t.onCollect}function J_(t){return B(t)&&null!=t.value?t.value:t+""}u(nx,tx=Z_),nx.prototype.parse=function(t){return null==t?NaN:H(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},nx.prototype.contain=function(t){return W_(t,this._extent)&&0<=t&&t=t},nx.prototype.getOrdinalMeta=function(){return this._ordinalMeta},nx.prototype.calcNiceTicks=function(){},nx.prototype.calcNiceExtent=function(){},nx.type="ordinal";var tx,ex=nx;function nx(t){var t=tx.call(this,t)||this,e=(t.type="ordinal",t.getSetting("ordinalMeta"));return V(e=e||new $_({}))&&(e=new $_({categories:F(e,function(t){return B(t)?t.value:t})})),t._ordinalMeta=e,t._extent=t.getSetting("extent")||[0,e.categories.length-1],t}Z_.registerClass(ex);var ix,rx=Mo,ox=(u(ax,ix=Z_),ax.prototype.parse=function(t){return null==t||""===t?NaN:Number(t)},ax.prototype.contain=function(t){return W_(t,this._extent)},ax.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},ax.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},ax.prototype.getInterval=function(){return this._interval},ax.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=V_(t)},ax.prototype.getTicks=function(t){t=t||{};var n=this._interval,e=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=zp,a=[];if(n)if("only_break"===t.breakTicks&&o)o.addBreaksToTicks(a,this._brkCtx.breaks,this._extent);else{e[0]h&&(t.expandToNicedExtent?a.push({value:rx(h+n,r)}):a.push({value:e[1]})),"none"!==t.breakTicks&&o&&o.addBreaksToTicks(a,this._brkCtx.breaks,this._extent)}return a},ax.prototype.getMinorTicks=function(t){for(var e=this.getTicks({expandToNicedExtent:!0}),n=[],i=this.getExtent(),r=1;ri[0]&&cx));)g[r](g[i]()+t),f=g.getTime(),y&&0<(p=y.calcNiceTickMultiple(f,d))&&(g[r](g[i]()+p*t),f=g.getTime());a.push({value:f,notAdd:!0})}function i(t,e,n){var i,r,o,a,s=[],l=!e.length;if(i=$p(t),r=_[0],o=_[1],a=v,td(new Date(r),i,a).getTime()!==td(new Date(o),i,a).getTime()){l&&(e=[{value:function(t,e,n){e=Math.max(0,k(qp,e)-1);return td(new Date(t),qp[e],n).getTime()}(_[0],t,v)},{value:_[1]}]);for(var u,h,c=0;c=_[0]&&p<=_[1]&&w(f,p,d,g,y,0,s),"year"===t&&1=_[0]&&d<=_[1]&&a++)}u=e/m;if(1.5*u=_[0]&&t.value<=_[1]&&!t.notAdd})}),function(t){return 0n&&(this._approxInterval=n),Sx.length),t=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]>1^-(1&s),l=(l=t.charCodeAt(a+1)-64)>>1^-(1&l);i.push([(r=s+=r)/n,(o=l+=o)/n])}return i}function y1(t,o){var e,n,r;return F(ut((t=(e=t).UTF8Encoding?(null==(r=(n=e).UTF8Scale)&&(r=1024),z(n.features,function(t){var e=t.geometry,n=e.encodeOffsets,i=e.coordinates;if(n)switch(e.type){case"LineString":e.coordinates=g1(i,n,r);break;case"Polygon":case"MultiLineString":f1(i,n,r);break;case"MultiPolygon":z(i,function(t,e){return f1(t,n[e],r)})}}),n.UTF8Encoding=!1,n):e).features,function(t){return t.geometry&&t.properties&&0=e[0]&&t<=e[1]}),function(t){var e={value:t};return{formattedLabel:i(e),rawLabel:n.scale.getLabel(e),tickValue:t,time:void 0,break:void 0}})}):"category"===n.type?(s=t,a=(t=n).getLabelModel(),s=M1(t,a,s),!a.get("show")||t.scale.isBlank()?{labels:[]}:s):(a=(r=n).scale.getTicks(),o=Wx(r),{labels:F(a,function(t,e){return{formattedLabel:o(t,e),rawLabel:r.scale.getLabel(t),tickValue:t.value,time:t.time,break:t.break}})})}function S1(t,e,n){var i,r,o,a,s,l,u=t.getTickModel().get("customValues");return u?(i=t.scale.getExtent(),{ticks:ut(b1(t,u),function(t){return t>=i[0]&&t<=i[1]})}):"category"===t.type?(u=e,a=T1(e=t),s=Ux(u),(l=k1(a,s))||(u.get("show")&&!e.scale.isBlank()||(r=[]),r=N(s)?O1(e,s,!0):"auto"===s?(l=M1(e,e.getLabelModel(),x1(_1.determine)),o=l.labelCategoryInterval,F(l.labels,function(t){return t.tickValue})):P1(e,o=s,!0),D1(a,s,{ticks:r,tickCategoryInterval:o}))):{ticks:F(t.scale.getTicks(n),function(t){return t.value})}}function M1(t,e,n){var i,r=C1(t),o=Ux(e),e=n.kind===_1.estimate;if(!e){var a=k1(r,o);if(a)return a}var s={labels:N(o)?O1(t,o):P1(t,i="auto"===o?function(t,e){{var n;if(e.kind===_1.estimate)return n=t.calculateCategoryInterval(e),e.out.noPxChangeTryDetermine.push(function(){return v1(t).autoInterval=n,!0}),n}var i=v1(t).autoInterval;return null!=i?i:v1(t).autoInterval=t.calculateCategoryInterval(e)}(t,n):o),labelCategoryInterval:i};return e?n.out.noPxChangeTryDetermine.push(function(){return D1(r,o,s),!0}):D1(r,o,s),s}var T1=I1("axisTick"),C1=I1("axisLabel");function I1(e){return function(t){return v1(t)[e]||(v1(t)[e]={list:[]})}}function k1(t,e){for(var n=0;nl[1],h(n[0].coord,l[0])&&(t?n[0].coord=l[0]:n.shift()),t&&h(l[0],n[0].coord)&&n.unshift({coord:l[0],onBand:!0}),h(l[1],i.coord)&&(t?i.coord=l[1]:n.pop()),t)&&h(i.coord,l[1])&&n.push({coord:l[1],onBand:!0}),u},N1.prototype.getMinorTicksCoords=function(){var t;return"ordinal"===this.scale.type?[]:(t=this.model.getModel("minorTick").get("splitNumber"),F(this.scale.getMinorTicks(t=0=u}}for(var o,a=this.__startIndex;ar[0]){for(l=0;lt);l++);s=i[r[l]]}r.splice(l+1,0,t),(i[t]=e).virtual||(s?(n=s.dom).nextSibling?a.insertBefore(e.dom,n.nextSibling):a.appendChild(e.dom):a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom)),e.painter||(e.painter=this)}},m.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;ie&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?0<=r.height?"bottom":"top":0<=r.width?"right":"left"),h=ip(i),l=(np(t,h,{labelFetcher:o,labelDataIndex:n,defaultText:ew(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:u}),t.getTextContent()),h=(s&&l&&(s=i.get(["label","position"]),t.textConfig.inside="middle"===s||null,function(t,e,n,i){if(W(i))t.setTextConfig({rotation:i});else if(V(e))t.setTextConfig({rotation:0});else{var r,i=t.shape,o=i.clockwise?i.startAngle:i.endAngle,a=i.clockwise?i.endAngle:i.startAngle,s=(o+a)/2,i=n(e);switch(i){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=s;break;case"startAngle":case"insideStartAngle":r=o;break;case"endAngle":case"insideEndAngle":r=a;break;default:return t.setTextConfig({rotation:0})}n=1.5*Math.PI-r;"middle"===i&&n>Math.PI/2&&n<1.5*Math.PI&&(n-=Math.PI),t.setTextConfig({rotation:n})}}(t,"outside"===s?u:s,_w(a),i.get(["label","rotate"]))),u=l,s=h,a=o.getRawValue(n),l=function(t){return nw(e,t)},u&&((u=hp(u)).prevValue=u.value,u.value=a,a=s.normal,u.valueAnimation=a.get("valueAnimation"),u.valueAnimation)&&(u.precision=a.get("precision"),u.defaultInterpolatedText=l,u.statesModels=s),i.getModel(["emphasis"]));fu(t,h.get("focus"),h.get("blurScope"),h.get("disabled")),mu(t,i),null!=(o=r).startAngle&&null!=o.endAngle&&o.startAngle===o.endAngle&&(t.style.fill="none",t.style.stroke="none",z(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var bw,ww=function(){},Sw=(u(Mw,bw=Us),Mw.prototype.getDefaultShape=function(){return new ww},Mw.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;le[u-1].coord&&(e.reverse(),h.reverse()),function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:Li((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;si)return;return 1}(a,e))return r=e.mapDimension(a.dim),o={},z(a.getViewLabels(),function(t){t=a.scale.getRawOrdinalNumber(t.tickValue);o[t]=1}),function(t){return!o.hasOwnProperty(e.get(r,t))}}}function uS(t){for(var e,n,i=t.length/2;0l?x:_,(g=Math.abs(d.label.y-l))>=f.maxY&&(m=d.label.x-s-d.len2*h,y=u+d.len,m=Math.abs(m)t.unconstrainedWidth)?null:s,i.setStyle("width",l)),SS(r,i))}function SS(t,e){TS.rect=t,ub(TS,e,MS)}var MS={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},TS={};function CS(t){return"center"===t.position}function IS(t){var S,M,T=t.getData(),C=[],I=!1,B=(t.get("minShowLabelAngle")||0)*xS,e=T.getLayout("viewRect"),k=T.getLayout("r"),D=e.width,A=e.x,n=e.y,L=e.height;function P(t){t.ignore=!0}if(T.each(function(t){var e,n,i,r,o,a,s,l,u,h,c=T.getItemGraphicEl(t),p=c.shape,d=c.getTextContent(),f=c.getTextGuideLine(),t=T.getItemModel(t),g=t.getModel("label"),y=g.get("position")||t.get(["emphasis","label","position"]),m=g.get("distanceToLabelLine"),v=g.get("alignTo"),_=wo(g.get("edgeDistance"),D),x=g.get("bleedMargin"),t=(null==x&&(x=200=e.r0},OS.type="pie";var LS,PS=OS;function OS(){var t=null!==LS&&LS.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}NS.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},NS.prototype.containName=function(t){return 0<=this._getRawData().indexOfName(t)},NS.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},NS.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)};var RS=NS;function NS(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}var BS,ES=ta(),zS=(u(FS,BS=Xy),FS.prototype.init=function(t){BS.prototype.init.apply(this,arguments),this.legendVisualProvider=new RS(S(this.getData,this),S(this.getRawData,this)),this._defaultLabelLine(t)},FS.prototype.mergeOption=function(){BS.prototype.mergeOption.apply(this,arguments)},FS.prototype.getInitialData=function(){return e=V(e={coordDimensions:["value"],encodeDefaulter:pt(gf,t=this)})?{coordDimensions:e}:P({encodeDefine:t.getEncode()},e),i=t.getSource(),e=D_(i,e).dimensions,(e=new k_(e,t)).initData(i,n),e;var t,e,n,i},FS.prototype.getDataParams=function(t){var e,n=this.getData(),i=ES(n),r=i.seats,i=(r||(e=[],n.each(n.mapDimension("value"),function(t){e.push(t)}),r=i.seats=ko(e,n.hostModel.get("percentPrecision"))),BS.prototype.getDataParams.call(this,t));return i.percent=r[t]||0,i.$vars.push("percent"),i},FS.prototype._defaultLabelLine=function(t){Go(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},FS.type="series.pie",FS.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"50%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,coordinateSystemUsage:"box",left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:30,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},FS);function FS(){return null!==BS&&BS.apply(this,arguments)||this}mp={fullType:zS.type,getCoord2:function(t){return t.getShallow("center")}},Dd.set(mp.fullType,{getCoord2:void 0}).getCoord2=mp.getCoord2,Jx(function(t){t.registerChartView(PS),t.registerSeriesModel(zS),Um("pie",t.registerAction),t.registerLayout(pt(vS,"pie")),t.registerProcessor({seriesType:"pie",reset:function(t,e){var i,r=e.findComponents({mainType:"legend"});r&&r.length&&(i=t.getData()).filterSelf(function(t){for(var e=i.getName(t),n=0;ne[1]&&e.reverse(),e},sM.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},sM.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)};var oM,aM=sM;function sM(t,e,n,i,r){t=oM.call(this,t,e,n)||this;return t.index=0,t.type=i||"value",t.position=r||"bottom",t}var lM="expandAxisBreak",uM=Math.PI,hM=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],cM=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],pM=ta(),dM=ta(),fM=(gM.prototype.ensureRecord=function(t){var e=t.axis.dim,t=t.componentIndex,n=this.recordMap,n=n[e]||(n[e]=[]);return n[t]||(n[t]={ready:{}})},gM);function gM(t){this.recordMap={},this.resolveAxisNameOverlap=t}function yM(t,e,n,i,r,o){var a,s;Yx(t.nameLocation)?(t=o.stOccupiedRect)&&_M((a={},t=t,s=o.transGroup.transform,a.transform=jc(a.transform,s),a.localRect=Zc(a.localRect,t),a.rect=Zc(a.rect,t),s&&a.rect.applyTransform(s),a.axisAligned=qc(s),a.obb=void 0,(a.label=a.label||{}).ignore=!1,a),i,r):xM(o.labelInfoList,o.dirVec,i,r)}var mM=Oe(),vM=new X(0,0,0,0);function _M(t,e,n){var i=new U;gb(t,e,i,{direction:Math.atan2(n.y,n.x),bidirectional:!1,touchThreshold:.05})&&(t=i,n=e)&&(n.label.x+=t.x,n.label.y+=t.y,n.label.markRedraw(),(i=n.transform)&&(i[4]+=t.x,i[5]+=t.y),(e=n.rect)&&(e.x+=t.x,e.y+=t.y),e=n.obb)&&e.fromBoundingRect(n.localRect,i)}function xM(t,e,n,i){for(var r=0<=U.dot(i,e),o=0,a=t.length;oi[1],i="start"===e&&!t||"start"!==e&&t;e=Ao(n-uM/2)?(r=i?"bottom":"top","center"):Ao(n-1.5*uM)?(r=i?"top":"bottom","center"):(r="middle",n<1.5*uM&&uM/2s[0]&&isFinite(c)&&isFinite(s[0]);)h=F_(h),c=s[1]-h*a;else{t=(h=au[1]&&u.reverse(),(s=null==s||s>u[1]?u[1]:s)n[r],f=[-c.x,-c.y],e=(e||(f[i]=l[s]),[0,0]),s=[-p.x,-p.y],g=G(t.get("pageButtonGap",!0),t.get("itemGap",!0)),f=(d&&("end"===t.get("pageButtonPosition",!0)?s[i]+=n[r]-p[r]:e[i]+=p[r]+g),s[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(e),h.setPosition(s),{x:0,y:0}),c=(f[r]=(d?n:c)[r],f[o]=Math.max(c[o],p[o]),f[a]=Math.min(0,p[a]+s[1-i]),u.__rectSize=n[r],d?((e={x:0,y:0})[r]=Math.max(n[r]-p[r]-g,0),e[o]=f[o],u.setClipPath(new sl({shape:e})),u.__rectSize=e[r]):h.eachChild(function(t){t.attr({invisible:!0,silent:!0})}),this._getPageInfo(t));return null!=c.pageIndex&&cc(l,{x:c.contentPosition[0],y:c.contentPosition[1]},d?t:null),this._updatePageInfoView(t,c),f},ZT.prototype._pageGo=function(t,e,n){t=this._getPageInfo(e)[t];null!=t&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:e.id})},ZT.prototype._updatePageInfoView=function(n,i){var r=this._controllerGroup,t=(z(["pagePrev","pageNext"],function(t){var e=null!=i[t+"DataIndex"],t=r.childOfName(t);t&&(t.setStyle("fill",e?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),t.cursor=e?"pointer":"default")}),r.childOfName("pageText")),e=n.get("pageFormatter"),o=i.pageIndex,o=null!=o?o+1:0,a=i.pageCount;t&&e&&t.setStyle("text",H(e)?e.replace("{current}",null==o?"":o+"").replace("{total}",null==a?"":a+""):e({current:o,total:a}))},ZT.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,t=t.getOrient().index,r=XT[t],o=YT[t],e=this._findTargetItemIndex(e),a=n.children(),s=a[e],l=a.length,u=l?1:0,h={contentPosition:[n.x,n.y],pageCount:u,pageIndex:u-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(s){n=g(s);h.contentPosition[t]=-n.s;for(var c=e+1,p=n,d=n,f=null;c<=l;++c)(!(f=g(a[c]))&&d.e>p.s+i||f&&!y(f,p.s))&&(p=d.i>p.i?d:f)&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=p.i),++h.pageCount),d=f;for(c=e-1,p=n,d=n,f=null;-1<=c;--c)(f=g(a[c]))&&y(d,f.s)||!(p.i=e&&t.s<=e+i}},ZT.prototype._findTargetItemIndex=function(n){var i,r;return this._showController?(this.getContentGroup().eachChild(function(t,e){t=t.__legendDataIndex;null==r&&null!=t&&(r=e),t===n&&(i=e)}),null!=i?i:r):0},ZT.type="legend.scroll",ZT);function ZT(){var t=null!==GT&>.apply(this,arguments)||this;return t.type=ZT.type,t.newlineDisabled=!0,t._currentIndex=0,t}Jx(function(t){Jx(zT),t.registerComponentModel(VT),t.registerComponentView(qT),t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})});var jT=ta(),KT=y,$T=S;function QT(){this._dragging=!1,this.animationThreshold=15}function JT(t,e,n,i){!function n(i,t){{var r;return B(i)&&B(t)?(r=!0,z(t,function(t,e){r=r&&n(i[e],t)}),!!r):i===t}}(jT(n).lastProp,i)&&(jT(n).lastProp=i,e?cc(n,i,t):(n.stopAnimation(),n.attr(i)))}function tC(t,e){t[e.get(["label","show"])?"show":"hide"]()}function eC(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function nC(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}function iC(t,e,n,i,r){var o=rC(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),n=n.getModel("label"),a=yd(n.get("padding")||0),s=n.getFont(),l=Vr(o,s),u=r.position,h=l.width+a[1]+a[3],l=l.height+a[0]+a[2],c=r.align,c=("right"===c&&(u[0]-=h),"center"===c&&(u[0]-=h/2),r.verticalAlign),i=("bottom"===c&&(u[1]-=l),"middle"===c&&(u[1]-=l/2),r=u,c=h,h=l,i=(l=i).getWidth(),l=l.getHeight(),r[0]=Math.min(r[0]+c,i)-c,r[1]=Math.min(r[1]+h,l)-h,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0),n.get("backgroundColor"));i&&"auto"!==i||(i=e.get(["axisLine","lineStyle","color"])),t.label={x:u[0],y:u[1],style:rp(n,{text:o,font:s,fill:n.getTextColor(),padding:a,backgroundColor:i}),z2:10}}function rC(t,e,n,i,r){t=e.scale.parse(t);var o,a=e.scale.getLabel({value:t},{precision:r.precision}),r=r.formatter;return r&&(o={value:Gx(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]},z(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),t=t.dataIndexInside,e=e&&e.getDataParams(t);e&&o.seriesData.push(e)}),H(r)?a=r.replace("{value}",a):N(r)&&(a=r(o))),a}function oC(t,e,n){var i=Oe();return ze(i,i,n.rotation),Ee(i,i,n.position),Rc([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}QT.prototype.render=function(t,e,n,i){var r,o,a=e.get("value"),s=e.get("status");this._axisModel=t,this._axisPointerModel=e,this._api=n,!i&&this._lastValue===a&&this._lastStatus===s||(this._lastValue=a,this._lastStatus=s,i=this._group,r=this._handle,s&&"hide"!==s?(i&&i.show(),r&&r.show(),this.makeElOption(s={},a,t,e,n),(o=s.graphicKey)!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=o,o=this._moveAnimation=this.determineAnimation(t,e),i?(o=pt(JT,e,o),this.updatePointerEl(i,s,o),this.updateLabelEl(i,s,o,e)):(i=this._group=new oo,this.createPointerEl(i,s,t,e),this.createLabelEl(i,s,t,e),n.getZr().add(i)),nC(i,e,!0),this._renderHandle(a)):(i&&i.hide(),r&&r.hide()))},QT.prototype.remove=function(t){this.clear(t)},QT.prototype.dispose=function(t){this.clear(t)},QT.prototype.determineAnimation=function(t,e){var n,i=e.get("animation"),r=t.axis,o="category"===r.type,e=e.get("snap");return!(!e&&!o)&&("auto"===i||null==i?(n=this.animationThreshold,o&&r.getBandWidth()>n||!!e&&(o=ZM(t).seriesDataCount,e=r.getExtent(),Math.abs(e[0]-e[1])/o>n)):!0===i)},QT.prototype.makeElOption=function(t,e,n,i,r){},QT.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;r&&(r=jT(t).pointerEl=new Qc[r.type](KT(e.pointer)),t.add(r))},QT.prototype.createLabelEl=function(t,e,n,i){e.label&&(e=jT(t).labelEl=new dl(KT(e.label)),t.add(e),tC(e,i))},QT.prototype.updatePointerEl=function(t,e,n){t=jT(t).pointerEl;t&&e.pointer&&(t.setStyle(e.pointer.style),n(t,{shape:e.pointer.shape}))},QT.prototype.updateLabelEl=function(t,e,n,i){t=jT(t).labelEl;t&&(t.setStyle(e.label.style),n(t,{x:e.label.x,y:e.label.y}),tC(t,i))},QT.prototype._renderHandle=function(t){var e,n,i,r,o,a;!this._dragging&&this.updateHandleTransform&&(e=this._axisPointerModel,n=this._api.getZr(),i=this._handle,r=e.getModel("handle"),a=e.get("status"),r.get("show")&&a&&"hide"!==a?(this._handle||(o=!0,i=this._handle=Fc(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ke(t.event)},onmousedown:$T(this._onHandleDragMove,this,0,0),drift:$T(this._onHandleDragMove,this),ondragend:$T(this._onHandleDragEnd,this)}),n.add(i)),nC(i,e,!1),i.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"])),V(a=r.get("size"))||(a=[a,a]),i.scaleX=a[0]/2,i.scaleY=a[1]/2,gm(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,o)):(i&&n.remove(i),this._handle=null))},QT.prototype._moveHandleToValue=function(t,e){JT(this._axisPointerModel,!e&&this._moveAnimation,this._handle,eC(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},QT.prototype._onHandleDragMove=function(t,e){var n=this._handle;n&&(this._dragging=!0,t=this.updateHandleTransform(eC(n),[t,e],this._axisModel,this._axisPointerModel),this._payloadInfo=t,n.stopAnimation(),n.attr(eC(t)),jT(n).lastProp=null,this._doDispatchAxisPointer())},QT.prototype._doDispatchAxisPointer=function(){var t,e;this._handle&&(t=this._payloadInfo,e=this._axisModel,this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]}))},QT.prototype._onHandleDragEnd=function(){var t;this._dragging=!1,this._handle&&(t=this._axisPointerModel.get("value"),this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"}))},QT.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var t=t.getZr(),e=this._group,n=this._handle;t&&e&&(this._lastGraphicKey=null,e&&t.remove(e),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),ym(this,"_doDispatchAxisPointer")},QT.prototype.doClear=function(){},QT.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}};u(lC,aC=QT),lC.prototype.makeElOption=function(t,e,n,i,r){var o,a,s=n.axis,l=s.grid,u=i.get("type"),h=uC(l,s).getOtherAxis(s).getGlobalExtent(),c=s.toGlobalCoord(s.dataToCoord(e,!0)),p=(u&&"none"!==u&&(o=(a=i).get("type"),a=a.getModel(o+"Style"),"line"===o?(p=a.getLineStyle()).fill=null:"shadow"===o&&((p=a.getAreaStyle()).stroke=null),o=p,(a=hC[u](s,c,h)).style=o,t.graphicKey=a.type,t.pointer=a),OM(l.getRect(),n));u=e,s=t,c=p,h=n,o=i,a=r,l=bM.innerTextLayout(c.rotation,0,c.labelDirection),c.labelMargin=o.get(["label","margin"]),iC(s,h,o,a,{position:oC(h.axis,u,c),align:l.textAlign,verticalAlign:l.textVerticalAlign})},lC.prototype.getHandleTransform=function(t,e,n){var i=OM(e.axis.grid.getRect(),e,{labelInside:!1}),n=(i.labelMargin=n.get(["handle","margin"]),oC(e.axis,t,i));return{x:n[0],y:n[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},lC.prototype.updateHandleTransform=function(t,e,n,i){var n=n.axis,r=n.grid,o=n.getGlobalExtent(!0),r=uC(r,n).getOtherAxis(n).getGlobalExtent(),n="x"===n.dim?0:1,a=[t.x,t.y],e=(a[n]+=e[n],a[n]=Math.min(o[1],a[n]),a[n]=Math.max(o[0],a[n]),(r[1]+r[0])/2),o=[e,e];o[n]=a[n];return{x:a[0],y:a[1],rotation:t.rotation,cursorPoint:o,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][n]}};var aC,sC=lC;function lC(){return null!==aC&&aC.apply(this,arguments)||this}function uC(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var hC={line:function(t,e,n){var i;return i=[e,n[0]],e=[e,n[1]],n=cC(t),{type:"Line",subPixelOptimize:!0,shape:{x1:i[n=n||0],y1:i[1-n],x2:e[n],y2:e[1-n]}}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:(e=[e-i/2,n[0]],n=[i,r],i=cC(t),{x:e[i=i||0],y:e[1-i],width:n[i],height:n[1-i]})}}};function cC(t){return"x"===t.dim?0:1}u(fC,pC=g),fC.type="axisPointer",fC.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:v.color.border,width:1,type:"dashed"},shadowStyle:{color:v.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:v.color.neutral00,padding:[5,7,5,7],backgroundColor:v.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:v.color.accent40,throttle:40}};var pC,dC=fC;function fC(){var t=null!==pC&&pC.apply(this,arguments)||this;return t.type=fC.type,t}var gC=ta(),yC=z;function mC(t,e,n){var i,c,p;function r(t,h){c.on(t,function(e){n=p;var n,i,r={dispatchAction:o,pendings:i={showTip:[],hideTip:[]}};function o(t){var e=i[t.type];e?e.push(t):(t.dispatchAction=o,n.dispatchAction(t))}yC(gC(c).records,function(t){t&&h(t,e,r.dispatchAction)});var t,a=r.pendings,s=p,l=a.showTip.length,u=a.hideTip.length;l?t=a.showTip[l-1]:u&&(t=a.hideTip[u-1]),t&&(t.dispatchAction=null,s.dispatchAction(t))})}w.node||(i=e.getZr(),gC(i).records||(gC(i).records={}),p=e,gC(c=i).initialized||(gC(c).initialized=!0,r("click",pt(_C,"click")),r("mousemove",pt(_C,"mousemove")),r("globalout",vC)),(gC(i).records[t]||(gC(i).records[t]={})).handler=n)}function vC(t,e,n){t.handler("leave",null,n)}function _C(t,e,n,i){e.handler(t,n,i)}function xC(t,e){w.node||(e=e.getZr(),(gC(e).records||{})[t]&&(gC(e).records[t]=null))}u(SC,bC=Jy),SC.prototype.render=function(t,e,n){var e=e.getComponent("tooltip"),i=t.get("triggerOn")||e&&e.get("triggerOn")||"mousemove|click";mC("axisPointer",n,function(t,e,n){"none"!==i&&("leave"===t||0<=i.indexOf(t))&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},SC.prototype.remove=function(t,e){xC("axisPointer",e)},SC.prototype.dispose=function(t,e){xC("axisPointer",e)},SC.type="axisPointer";var bC,wC=SC;function SC(){var t=null!==bC&&bC.apply(this,arguments)||this;return t.type=SC.type,t}function MC(t,e){var n,i,r,o,a=[],s=t.seriesIndex;return null==s||!(e=e.getSeriesByIndex(s))||null==(s=Jo(n=e.getData(),t))||s<0||V(s)?{point:[]}:(i=n.getItemGraphicEl(s),r=e.coordinateSystem,e.getTooltipPosition?a=e.getTooltipPosition(s)||[]:r&&r.dataToPoint?a=t.isStacked?(e=r.getBaseAxis(),t=r.getOtherAxis(e).dim,e=e.dim,t="x"===t||"radius"===t?1:0,e=n.mapDimension(e),(o=[])[t]=n.get(e,s),o[1-t]=n.get(n.getCalculationInfo("stackResultDimension"),s),r.dataToPoint(o)||[]):r.dataToPoint(n.getValues(F(r.dimensions,function(t){return n.mapDimension(t)}),s))||[]:i&&((e=i.getBoundingRect().clone()).applyTransform(i.transform),a=[e.x+e.width/2,e.y+e.height/2]),{point:a,el:i})}var TC=ta();function CC(t,e,n){var o,a,i,s,l,r,u,h,c,p,d,f,g,y,m=t.currTrigger,v=[t.x,t.y],_=t,x=t.dispatchAction||S(n.dispatchAction,n),b=e.getComponent("axisPointer").coordSysAxesInfo;if(b)return LC(v)&&(v=MC({seriesIndex:_.seriesIndex,dataIndex:_.dataIndex},e).point),o=LC(v),a=_.axesInfo,i=b.axesInfo,s="leave"===m||LC(v),l={},e={list:[],map:{}},u={showPointer:pt(kC,r={}),showTooltip:pt(DC,e)},z(b.coordSysMap,function(t,e){var r=o||t.containPoint(v);z(b.coordSysAxesInfo[e],function(t,e){var n=t.axis,i=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(a,t);s||!r||a&&!i||null!=(i=null!=(i=i&&i.value)||o?i:n.pointToData(v))&&IC(t,i,u,!1,l)})}),h={},z(i,function(n,t){var i=n.linkGroup;i&&!r[t]&&z(i.axesInfo,function(t,e){var e=r[e];t!==n&&e&&(e=e.value,i.mapper&&(e=n.axis.scale.parse(i.mapper(e,AC(t),AC(n)))),h[n.key]=e)})}),z(h,function(t,e){IC(i[e],t,u,!0,l)}),c=r,_=i,p=l.axesInfo=[],z(_,function(t,e){var n=t.axisPointerModel.option,e=c[e];e?(t.useHandle||(n.status="show"),n.value=e.value,n.seriesDataIndices=(e.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&p.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),m=e,_=t,e=x,LC(t=v)||!m.list.length?e({type:"hideTip"}):(x=((m.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{},e({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:_.tooltipOption,position:_.position,dataIndexInside:x.dataIndexInside,dataIndex:x.dataIndex,seriesIndex:x.seriesIndex,dataByCoordSys:m.list})),e=i,_=(t=n).getZr(),x="axisPointerLastHighlights",d=TC(_)[x]||{},f=TC(_)[x]={},z(e,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&z(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;f[e]=t})}),g=[],y=[],z(d,function(t,e){f[e]||y.push(t)}),z(f,function(t,e){d[e]||g.push(t)}),y.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:y}),g.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:g}),l}function IC(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f,g=t.axis;!g.scale.isBlank()&&g.containData(e)&&(t.involveSeries?(a=e,s=t.axis,l=s.dim,u=a,h=[],c=Number.MAX_VALUE,p=-1,z(t.seriesModels,function(e,t){var n,i=e.getData().mapDimensionsAll(l);if(e.getAxisTooltipData)var r=e.getAxisTooltipData(i,a,s),o=r.dataIndices,r=r.nestestValue;else{if(!(o=e.indicesOfNearest(l,i[0],a,"category"===s.type?.5:null)).length)return;r=e.getData().get(i[0],o[0])}null!=r&&isFinite(r)&&(i=a-r,(n=Math.abs(i))<=c)&&((n'):""),H(t))o.innerHTML=t+c;else if(t){o.innerHTML="",V(t)||(t=[t]);for(var p,d=0;d"),o=f.join(e);this._showOrMove(i,function(){this._updateContentNotChangedOnAxis(t,p)?this._updatePosition(i,r,n[0],n[1],this._tooltipContent,p):this._showTooltipContent(i,o,p,Math.random()+"",n[0],n[1],r,null,g)})},n2.prototype._showSeriesItemTooltip=function(t,e,n){var i,r,o,a,s,l=this._ecModel,e=Y(e),u=e.seriesIndex,h=l.getSeriesByIndex(u),c=e.dataModel||h,p=e.dataIndex,e=e.dataType,d=c.getData(e),f=this._renderMode,g=t.positionDefault,y=i2([d.getItemModel(p),c,h&&(h.coordinateSystem||{}).model],this._tooltipModel,g?{position:g}:null),h=y.get("trigger");null!=h&&"item"!==h||(i=c.getDataParams(p,e),r=new Fy,i.marker=r.makeTooltipMarker("item",wd(i.color),f),g=Pg(c.formatTooltip(p,!1,e)),h=y.get("order"),e=y.get("valueFormatter"),o=g.frag,a=o?Ny(e?P({valueFormatter:e},o):o,r,f,h,l.get("useUTC"),y.get("textStyle")):g.text,s="item_"+c.name+"_"+p,this._showOrMove(y,function(){this._showTooltipContent(y,a,i,s,t.offsetX,t.offsetY,t.position,t.target,r)}),n({type:"showTip",dataIndexInside:p,dataIndex:d.getRawIndex(p),seriesIndex:u,from:this.uid}))},n2.prototype._showComponentItemTooltip=function(e,n,t){var i="html"===this._renderMode,r=Y(n),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent,a=(H(o)&&(o={content:o,formatter:o},a=!0),a&&i&&o.content&&((o=y(o)).content=xe(o.content)),[o]),i=this._ecModel.getComponent(r.componentMainType,r.componentIndex),r=(i&&a.push(i),a.push({formatter:o.content}),e.positionDefault),s=i2(a,this._tooltipModel,r?{position:r}:null),l=s.get("content"),u=Math.random()+"",h=new Fy;this._showOrMove(s,function(){var t=y(s.get("formatterParams")||{});this._showTooltipContent(s,l,t,u,e.offsetX,e.offsetY,e.position,n,h)}),t({type:"showTip",from:this.uid})},n2.prototype._showTooltipContent=function(n,t,i,e,r,o,a,s,l){var u,h,c,p,d;this._ticket="",n.get("showContent")&&n.get("show")&&((u=this._tooltipContent).setEnterable(n.get("enterable")),h=n.get("formatter"),a=a||n.get("position"),t=t,c=this._getNearestPoint([r,o],i,n.get("trigger"),n.get("borderColor"),n.get("defaultBorderColor",!0)).color,h&&(t=H(h)?(p=n.ecModel.get("useUTC"),t=h,xd(t=(d=V(i)?i[0]:i)&&d.axisType&&0<=d.axisType.indexOf("time")?Qp(d.axisValue,t,p):t,i,!0)):N(h)?(d=S(function(t,e){t===this._ticket&&(u.setContent(e,l,n,c,a),this._updatePosition(n,a,r,o,u,i,s))},this),this._ticket=e,h(i,e,d)):h),u.setContent(t,l,n,c,a),u.show(n,c),this._updatePosition(n,a,r,o,u,i,s))},n2.prototype._getNearestPoint=function(t,e,n,i,r){return"axis"===n||V(e)?{color:i||r}:V(e)?void 0:{color:i||e.color||e.borderColor}},n2.prototype._updatePosition=function(t,e,n,i,r,o,a){var s,l=this._api.getWidth(),u=this._api.getHeight(),h=(e=e||t.get("position"),r.getSize()),c=t.get("align"),p=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();a&&d.applyTransform(a.transform),V(e=N(e)?e([n,i],o,r.el,d,{viewSize:[l,u],contentSize:h.slice()}):e)?(n=wo(e[0],l),i=wo(e[1],u)):B(e)?((o=e).width=h[0],o.height=h[1],n=(o=zd(o,{width:l,height:u})).x,i=o.y,p=c=null):i=(n=(s=H(e)&&a?function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,d,h,t.get("borderWidth")):function(t,e,n,i,r,o,a){var n=n.getSize(),s=n[0],n=n[1];null!=o&&(i":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},s2=(l2.prototype.evaluate=function(t){var e=typeof t;return H(e)?this._condVal.test(t):!!W(e)&&this._condVal.test(t+"")},l2);function l2(t){null==(this._condVal=H(t)?new RegExp(t):_t(t)?t:null)&&f("")}h2.prototype.evaluate=function(){return this.value};var u2=h2;function h2(){}p2.prototype.evaluate=function(){for(var t=this.children,e=0;e + * Licensed under the License. + * + */ + + /** * @license + */ + +!function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.less=a()}}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;d.length>g;g++)e(d[g]);return e}({1:[function(a,b){var c=a("./utils").addDataAttr,d=a("./browser");b.exports=function(a,b){c(b,d.currentScript(a)),void 0===b.isFileProtocol&&(b.isFileProtocol=/^(file|(chrome|safari)(-extension)?|resource|qrc|app):/.test(a.location.protocol)),b.async=b.async||!1,b.fileAsync=b.fileAsync||!1,b.poll=b.poll||(b.isFileProtocol?1e3:1500),b.env=b.env||("127.0.0.1"==a.location.hostname||"0.0.0.0"==a.location.hostname||"localhost"==a.location.hostname||a.location.port&&a.location.port.length>0||b.isFileProtocol?"development":"production");var e=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(a.location.hash);e&&(b.dumpLineNumbers=e[1]),void 0===b.useFileCache&&(b.useFileCache=!0),void 0===b.onReady&&(b.onReady=!0)}},{"./browser":3,"./utils":9}],2:[function(a,b){a("promise/polyfill.js");var c=window.less||{};a("./add-default-options")(window,c);var d=b.exports=a("./index")(window,c);window.less=d,c.onReady&&(/!watch/.test(window.location.hash)&&d.watch(),d.registerStylesheetsImmediately(),d.pageLoadFinished=d.refresh("development"===d.env))},{"./add-default-options":1,"./index":7,"promise/polyfill.js":95}],3:[function(a,b){var c=a("./utils");b.exports={createCSS:function(a,b,d){var e=d.href||"",f="less:"+(d.title||c.extractId(e)),g=a.getElementById(f),h=!1,i=a.createElement("style");i.setAttribute("type","text/css"),d.media&&i.setAttribute("media",d.media),i.id=f,i.styleSheet||(i.appendChild(a.createTextNode(b)),h=null!==g&&g.childNodes.length>0&&i.childNodes.length>0&&g.firstChild.nodeValue===i.firstChild.nodeValue);var j=a.getElementsByTagName("head")[0];if(null===g||h===!1){var k=d&&d.nextSibling||null;k?k.parentNode.insertBefore(i,k):j.appendChild(i)}if(g&&h===!1&&g.parentNode.removeChild(g),i.styleSheet)try{i.styleSheet.cssText=b}catch(l){throw new Error("Couldn't reassign styleSheet.cssText.")}},currentScript:function(a){var b=a.document;return b.currentScript||function(){var a=b.getElementsByTagName("script");return a[a.length-1]}()}}},{"./utils":9}],4:[function(a,b){b.exports=function(a,b,c){var d=null;if("development"!==b.env)try{d="undefined"==typeof a.localStorage?null:a.localStorage}catch(e){}return{setCSS:function(a,b,e){if(d){c.info("saving "+a+" to cache.");try{d.setItem(a,e),d.setItem(a+":timestamp",b)}catch(f){c.error('failed to save "'+a+'" to local storage for caching.')}}},getCSS:function(a,b){var c=d&&d.getItem(a),e=d&&d.getItem(a+":timestamp");return e&&b.lastModified&&new Date(b.lastModified).valueOf()===new Date(e).valueOf()?c:void 0}}}},{}],5:[function(a,b){var c=a("./utils"),d=a("./browser");b.exports=function(a,b,e){function f(b,f){var g,h,i="less-error-message:"+c.extractId(f||""),j='
  • {content}
  • ',k=a.document.createElement("div"),l=[],m=b.filename||f,n=m.match(/([^\/]+(\?.*)?)$/)[1];k.id=i,k.className="less-error-message",h="

    "+(b.type||"Syntax")+"Error: "+(b.message||"There is an error in your .less file")+'

    in '+n+" ";var o=function(a,b,c){void 0!==a.extract[b]&&l.push(j.replace(/\{line\}/,(parseInt(a.line,10)||0)+(b-1)).replace(/\{class\}/,c).replace(/\{content\}/,a.extract[b]))};b.extract&&(o(b,0,""),o(b,1,"line"),o(b,2,""),h+="on line "+b.line+", column "+(b.column+1)+":

      "+l.join("")+"
    "),b.stack&&(b.extract||e.logLevel>=4)&&(h+="
    Stack Trace
    "+b.stack.split("\n").slice(1).join("
    ")),k.innerHTML=h,d.createCSS(a.document,[".less-error-message ul, .less-error-message li {","list-style-type: none;","margin-right: 15px;","padding: 4px 0;","margin: 0;","}",".less-error-message label {","font-size: 12px;","margin-right: 15px;","padding: 4px 0;","color: #cc7777;","}",".less-error-message pre {","color: #dd6666;","padding: 4px 0;","margin: 0;","display: inline-block;","}",".less-error-message pre.line {","color: #ff0000;","}",".less-error-message h3 {","font-size: 20px;","font-weight: bold;","padding: 15px 0 5px 0;","margin: 0;","}",".less-error-message a {","color: #10a","}",".less-error-message .error {","color: red;","font-weight: bold;","padding-bottom: 2px;","border-bottom: 1px dashed red;","}"].join("\n"),{title:"error-message"}),k.style.cssText=["font-family: Arial, sans-serif","border: 1px solid #e00","background-color: #eee","border-radius: 5px","-webkit-border-radius: 5px","-moz-border-radius: 5px","color: #e00","padding: 15px","margin-bottom: 15px"].join(";"),"development"===e.env&&(g=setInterval(function(){var b=a.document,c=b.body;c&&(b.getElementById(i)?c.replaceChild(k,b.getElementById(i)):c.insertBefore(k,c.firstChild),clearInterval(g))},10))}function g(a,b){e.errorReporting&&"html"!==e.errorReporting?"console"===e.errorReporting?k(a,b):"function"==typeof e.errorReporting&&e.errorReporting("add",a,b):f(a,b)}function h(b){var d=a.document.getElementById("less-error-message:"+c.extractId(b));d&&d.parentNode.removeChild(d)}function i(){}function j(a){e.errorReporting&&"html"!==e.errorReporting?"console"===e.errorReporting?i(a):"function"==typeof e.errorReporting&&e.errorReporting("remove",a):h(a)}function k(a,c){var d="{line} {content}",f=a.filename||c,g=[],h=(a.type||"Syntax")+"Error: "+(a.message||"There is an error in your .less file")+" in "+f+" ",i=function(a,b,c){void 0!==a.extract[b]&&g.push(d.replace(/\{line\}/,(parseInt(a.line,10)||0)+(b-1)).replace(/\{class\}/,c).replace(/\{content\}/,a.extract[b]))};a.extract&&(i(a,0,""),i(a,1,"line"),i(a,2,""),h+="on line "+a.line+", column "+(a.column+1)+":\n"+g.join("\n")),a.stack&&(a.extract||e.logLevel>=4)&&(h+="\nStack Trace\n"+a.stack),b.logger.error(h)}return{add:g,remove:j}}},{"./browser":3,"./utils":9}],6:[function(a,b){b.exports=function(b,c){function d(){if(window.XMLHttpRequest&&!("file:"===window.location.protocol&&"ActiveXObject"in window))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(a){return c.error("browser doesn't support AJAX."),null}}var e=a("../less/environment/abstract-file-manager.js"),f={},g=function(){};return g.prototype=new e,g.prototype.alwaysMakePathsAbsolute=function(){return!0},g.prototype.join=function(a,b){return a?this.extractUrlParts(b,a).path:b},g.prototype.doXHR=function(a,e,f,g){function h(b,c,d){b.status>=200&&300>b.status?c(b.responseText,b.getResponseHeader("Last-Modified")):"function"==typeof d&&d(b.status,a)}var i=d(),j=b.isFileProtocol?b.fileAsync:b.async;"function"==typeof i.overrideMimeType&&i.overrideMimeType("text/css"),c.debug("XHR: Getting '"+a+"'"),i.open("GET",a,j),i.setRequestHeader("Accept",e||"text/x-less, text/css; q=0.9, */*; q=0.5"),i.send(null),b.isFileProtocol&&!b.fileAsync?0===i.status||i.status>=200&&300>i.status?f(i.responseText):g(i.status,a):j?i.onreadystatechange=function(){4==i.readyState&&h(i,f,g)}:h(i,f,g)},g.prototype.supports=function(){return!0},g.prototype.clearFileCache=function(){f={}},g.prototype.loadFile=function(a,b,c,d,e){b&&!this.isPathAbsolute(a)&&(a=b+a),c=c||{};var g=this.extractUrlParts(a,window.location.href),h=g.url;if(c.useFileCache&&f[h])try{var i=f[h];e(null,{contents:i,filename:h,webInfo:{lastModified:new Date}})}catch(j){e({filename:h,message:"Error loading file "+h+" error was "+j.message})}else this.doXHR(h,c.mime,function(a,b){f[h]=a,e(null,{contents:a,filename:h,webInfo:{lastModified:b}})},function(a,b){e({type:"File",message:"'"+b+"' wasn't found ("+a+")",href:h})})},g}},{"../less/environment/abstract-file-manager.js":14}],7:[function(a,b){var c=a("./utils").addDataAttr,d=a("./browser");b.exports=function(b,e){function f(a){return e.postProcessor&&"function"==typeof e.postProcessor&&(a=e.postProcessor.call(a,a)||a),a}function g(a){var b={};for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b}function h(a,b){var c=Array.prototype.slice.call(arguments,2);return function(){var d=c.concat(Array.prototype.slice.call(arguments,0));return a.apply(b,d)}}function i(a){for(var b,c=m.getElementsByTagName("style"),d=0;c.length>d;d++)if(b=c[d],b.type.match(t)){var f=g(e);f.modifyVars=a;var i=b.innerHTML||"";f.filename=m.location.href.replace(/#.*$/,""),n.render(i,f,h(function(a,b,c){b?r.add(b,"inline"):(a.type="text/css",a.styleSheet?a.styleSheet.cssText=c.css:a.innerHTML=c.css)},null,b))}}function j(a,b,d,h,i){function j(c){var e=c.contents,g=c.filename,i=c.webInfo,j={currentDirectory:q.getPath(g),filename:g,rootFilename:g,relativeUrls:k.relativeUrls};if(j.entryPath=j.currentDirectory,j.rootpath=k.rootpath||j.currentDirectory,i&&(i.remaining=h,!k.modifyVars)){var l=s.getCSS(g,i);if(!d&&l)return i.local=!0,void b(null,l,e,a,i,g)}r.remove(g),k.rootFileInfo=j,n.render(e,k,function(c,d){c?(c.href=g,b(c)):(d.css=f(d.css),k.modifyVars||s.setCSS(a.href,i.lastModified,d.css),b(null,d.css,e,a,i,g))})}var k=g(e);c(k,a),k.mime=a.type,i&&(k.modifyVars=i),q.loadFile(a.href,null,k,o,function(a,c){return a?void b(a):void j(c)})}function k(a,b,c){for(var d=0;n.sheets.length>d;d++)j(n.sheets[d],a,b,n.sheets.length-(d+1),c)}function l(){"development"===n.env&&(n.watchTimer=setInterval(function(){n.watchMode&&(q.clearFileCache(),k(function(a,c,e,f){a?r.add(a,a.href||f.href):c&&d.createCSS(b.document,c,f)}))},e.poll))}var m=b.document,n=a("../less")();n.options=e;var o=n.environment,p=a("./file-manager")(e,n.logger),q=new p;o.addFileManager(q),n.FileManager=p,a("./log-listener")(n,e);var r=a("./error-reporting")(b,n,e),s=n.cache=e.cache||a("./cache")(b,e,n.logger);e.functions&&n.functions.functionRegistry.addMultiple(e.functions);var t=/^text\/(x-)?less$/;return n.watch=function(){return n.watchMode||(n.env="development",l()),this.watchMode=!0,!0},n.unwatch=function(){return clearInterval(n.watchTimer),this.watchMode=!1,!1},n.registerStylesheetsImmediately=function(){var a=m.getElementsByTagName("link");n.sheets=[];for(var b=0;a.length>b;b++)("stylesheet/less"===a[b].rel||a[b].rel.match(/stylesheet/)&&a[b].type.match(t))&&n.sheets.push(a[b])},n.registerStylesheets=function(){return new Promise(function(a){n.registerStylesheetsImmediately(),a()})},n.modifyVars=function(a){return n.refresh(!0,a,!1)},n.refresh=function(a,c,e){return(a||e)&&e!==!1&&q.clearFileCache(),new Promise(function(e,f){var g,h,j;g=h=new Date,k(function(a,c,i,k,l){return a?(r.add(a,a.href||k.href),void f(a)):(n.logger.info(l.local?"loading "+k.href+" from cache.":"rendered "+k.href+" successfully."),d.createCSS(b.document,c,k),n.logger.info("css for "+k.href+" generated in "+(new Date-h)+"ms"),0===l.remaining&&(j=new Date-g,n.logger.info("less has finished. css generated in "+j+"ms"),e({startTime:g,endTime:h,totalMilliseconds:j,sheets:n.sheets.length})),void(h=new Date))},a,c),i(c)})},n.refreshStyles=i,n}},{"../less":30,"./browser":3,"./cache":4,"./error-reporting":5,"./file-manager":6,"./log-listener":8,"./utils":9}],8:[function(a,b){b.exports=function(a,b){var c=4,d=3,e=2,f=1;b.logLevel="undefined"!=typeof b.logLevel?b.logLevel:"development"===b.env?d:f,b.loggers||(b.loggers=[{debug:function(a){b.logLevel>=c&&console.log(a)},info:function(a){b.logLevel>=d&&console.log(a)},warn:function(a){b.logLevel>=e&&console.warn(a)},error:function(a){b.logLevel>=f&&console.error(a)}}]);for(var g=0;b.loggers.length>g;g++)a.logger.addListener(b.loggers[g])}},{}],9:[function(a,b){b.exports={extractId:function(a){return a.replace(/^[a-z-]+:\/+?[^\/]+/,"").replace(/[\?\&]livereload=\w+/,"").replace(/^\//,"").replace(/\.[a-zA-Z]+$/,"").replace(/[^\.\w-]+/g,"-").replace(/\./g,":")},addDataAttr:function(a,b){for(var c in b.dataset)if(b.dataset.hasOwnProperty(c))if("env"===c||"dumpLineNumbers"===c||"rootpath"===c||"errorReporting"===c)a[c]=b.dataset[c];else try{a[c]=JSON.parse(b.dataset[c])}catch(d){}}}},{}],10:[function(a,b){var c={};b.exports=c;var d=function(a,b,c){if(a)for(var d=0;c.length>d;d++)a.hasOwnProperty(c[d])&&(b[c[d]]=a[c[d]])},e=["paths","relativeUrls","rootpath","strictImports","insecure","dumpLineNumbers","compress","syncImport","chunkInput","mime","useFileCache","processImports","reference","pluginManager"];c.Parse=function(a){d(a,this,e),"string"==typeof this.paths&&(this.paths=[this.paths])};var f=["paths","compress","ieCompat","strictMath","strictUnits","sourceMap","importMultiple","urlArgs","javascriptEnabled","pluginManager","importantScope"];c.Eval=function(a,b){d(a,this,f),"string"==typeof this.paths&&(this.paths=[this.paths]),this.frames=b||[],this.importantScope=this.importantScope||[]},c.Eval.prototype.inParenthesis=function(){this.parensStack||(this.parensStack=[]),this.parensStack.push(!0)},c.Eval.prototype.outOfParenthesis=function(){this.parensStack.pop()},c.Eval.prototype.isMathOn=function(){return this.strictMath?this.parensStack&&this.parensStack.length:!0},c.Eval.prototype.isPathRelative=function(a){return!/^(?:[a-z-]+:|\/|#)/i.test(a)},c.Eval.prototype.normalizePath=function(a){var b,c=a.split("/").reverse();for(a=[];0!==c.length;)switch(b=c.pop()){case".":break;case"..":0===a.length||".."===a[a.length-1]?a.push(b):a.pop();break;default:a.push(b)}return a.join("/")}},{}],11:[function(a,b){b.exports={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",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:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",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",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",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:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",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:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},{}],12:[function(a,b){b.exports={colors:a("./colors"),unitConversions:a("./unit-conversions")}},{"./colors":11,"./unit-conversions":13}],13:[function(a,b){b.exports={length:{m:1,cm:.01,mm:.001,"in":.0254,px:.0254/96,pt:.0254/72,pc:.0254/72*12},duration:{s:1,ms:.001},angle:{rad:1/(2*Math.PI),deg:1/360,grad:.0025,turn:1}}},{}],14:[function(a,b){var c=function(){};c.prototype.getPath=function(a){var b=a.lastIndexOf("?");return b>0&&(a=a.slice(0,b)),b=a.lastIndexOf("/"),0>b&&(b=a.lastIndexOf("\\")),0>b?"":a.slice(0,b+1)},c.prototype.tryAppendExtension=function(a,b){return/(\.[a-z]*$)|([\?;].*)$/.test(a)?a:a+b},c.prototype.tryAppendLessExtension=function(a){return this.tryAppendExtension(a,".less")},c.prototype.supportsSync=function(){return!1},c.prototype.alwaysMakePathsAbsolute=function(){return!1},c.prototype.isPathAbsolute=function(a){return/^(?:[a-z-]+:|\/|\\|#)/i.test(a)},c.prototype.join=function(a,b){return a?a+b:b},c.prototype.pathDiff=function(a,b){var c,d,e,f,g=this.extractUrlParts(a),h=this.extractUrlParts(b),i="";if(g.hostPart!==h.hostPart)return"";for(d=Math.max(h.directories.length,g.directories.length),c=0;d>c&&h.directories[c]===g.directories[c];c++);for(f=h.directories.slice(c),e=g.directories.slice(c),c=0;f.length-1>c;c++)i+="../";for(c=0;e.length-1>c;c++)i+=e[c]+"/";return i},c.prototype.extractUrlParts=function(a,b){var c,d,e=/^((?:[a-z-]+:)?\/+?(?:[^\/\?#]*\/)|([\/\\]))?((?:[^\/\\\?#]*[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/i,f=a.match(e),g={},h=[];if(!f)throw new Error("Could not parse sheet href - '"+a+"'");if(b&&(!f[1]||f[2])){if(d=b.match(e),!d)throw new Error("Could not parse page url - '"+b+"'");f[1]=f[1]||d[1]||"",f[2]||(f[3]=d[3]+f[3])}if(f[3]){for(h=f[3].replace(/\\/g,"/").split("/"),c=0;h.length>c;c++)"."===h[c]&&(h.splice(c,1),c-=1);for(c=0;h.length>c;c++)".."===h[c]&&c>0&&(h.splice(c-1,2),c-=2)}return g.hostPart=f[1],g.directories=h,g.path=(f[1]||"")+h.join("/"),g.fileUrl=g.path+(f[4]||""),g.url=g.fileUrl+(f[5]||""),g},b.exports=c},{}],15:[function(a,b){var c=a("../logger"),d=function(a,b){this.fileManagers=b||[],a=a||{};for(var c=["encodeBase64","mimeLookup","charsetLookup","getSourceMapGenerator"],d=[],e=d.concat(c),f=0;e.length>f;f++){var g=e[f],h=a[g];h?this[g]=h.bind(a):d.length>f&&this.warn("missing required function in environment - "+g)}};d.prototype.getFileManager=function(a,b,d,e,f){a||c.warn("getFileManager called with no filename.. Please report this issue. continuing."),null==b&&c.warn("getFileManager called with null directory.. Please report this issue. continuing.");var g=this.fileManagers;d.pluginManager&&(g=[].concat(g).concat(d.pluginManager.getFileManagers()));for(var h=g.length-1;h>=0;h--){var i=g[h];if(i[f?"supportsSync":"supports"](a,b,d,e))return i}return null},d.prototype.addFileManager=function(a){this.fileManagers.push(a)},d.prototype.clearFileManagers=function(){this.fileManagers=[]},b.exports=d},{"../logger":32}],16:[function(a){function b(a,b,d){var e,f,g,h,i=b.alpha,j=d.alpha,k=[];g=j+i*(1-j);for(var l=0;3>l;l++)e=b.rgb[l]/255,f=d.rgb[l]/255,h=a(e,f),g&&(h=(j*f+i*(e-j*(e+f-h)))/g),k[l]=255*h;return new c(k,g)}var c=a("../tree/color"),d=a("./function-registry"),e={multiply:function(a,b){return a*b},screen:function(a,b){return a+b-a*b},overlay:function(a,b){return a*=2,1>=a?e.multiply(a,b):e.screen(a-1,b)},softlight:function(a,b){var c=1,d=a;return b>.5&&(d=1,c=a>.25?Math.sqrt(a):((16*a-12)*a+4)*a),a-(1-2*b)*d*(c-a)},hardlight:function(a,b){return e.overlay(b,a)},difference:function(a,b){return Math.abs(a-b)},exclusion:function(a,b){return a+b-2*a*b},average:function(a,b){return(a+b)/2},negation:function(a,b){return 1-Math.abs(a+b-1)}};for(var f in e)e.hasOwnProperty(f)&&(b[f]=b.bind(null,e[f]));d.addMultiple(b)},{"../tree/color":49,"./function-registry":21}],17:[function(a){function b(a){return Math.min(1,Math.max(0,a))}function c(a){return f.hsla(a.h,a.s,a.l,a.a)}function d(a){if(a instanceof g)return parseFloat(a.unit.is("%")?a.value/100:a.value);if("number"==typeof a)return a;throw{type:"Argument",message:"color functions take numbers as parameters"}}function e(a,b){return a instanceof g&&a.unit.is("%")?parseFloat(a.value*b/100):d(a)}var f,g=a("../tree/dimension"),h=a("../tree/color"),i=a("../tree/quoted"),j=a("../tree/anonymous"),k=a("./function-registry");f={rgb:function(a,b,c){return f.rgba(a,b,c,1)},rgba:function(a,b,c,f){var g=[a,b,c].map(function(a){return e(a,255)});return f=d(f),new h(g,f)},hsl:function(a,b,c){return f.hsla(a,b,c,1)},hsla:function(a,c,e,g){function h(a){return a=0>a?a+1:a>1?a-1:a,1>6*a?j+(i-j)*a*6:1>2*a?i:2>3*a?j+(i-j)*(2/3-a)*6:j}a=d(a)%360/360,c=b(d(c)),e=b(d(e)),g=b(d(g));var i=.5>=e?e*(c+1):e+c-e*c,j=2*e-i;return f.rgba(255*h(a+1/3),255*h(a),255*h(a-1/3),g)},hsv:function(a,b,c){return f.hsva(a,b,c,1)},hsva:function(a,b,c,e){a=d(a)%360/360*360,b=d(b),c=d(c),e=d(e);var g,h;g=Math.floor(a/60%6),h=a/60-g;var i=[c,c*(1-b),c*(1-h*b),c*(1-(1-h)*b)],j=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];return f.rgba(255*i[j[g][0]],255*i[j[g][1]],255*i[j[g][2]],e)},hue:function(a){return new g(a.toHSL().h)},saturation:function(a){return new g(100*a.toHSL().s,"%")},lightness:function(a){return new g(100*a.toHSL().l,"%")},hsvhue:function(a){return new g(a.toHSV().h)},hsvsaturation:function(a){return new g(100*a.toHSV().s,"%")},hsvvalue:function(a){return new g(100*a.toHSV().v,"%")},red:function(a){return new g(a.rgb[0])},green:function(a){return new g(a.rgb[1])},blue:function(a){return new g(a.rgb[2])},alpha:function(a){return new g(a.toHSL().a)},luma:function(a){return new g(a.luma()*a.alpha*100,"%")},luminance:function(a){var b=.2126*a.rgb[0]/255+.7152*a.rgb[1]/255+.0722*a.rgb[2]/255;return new g(b*a.alpha*100,"%")},saturate:function(a,d,e){if(!a.rgb)return null;var f=a.toHSL();return f.s+="undefined"!=typeof e&&"relative"===e.value?f.s*d.value/100:d.value/100,f.s=b(f.s),c(f)},desaturate:function(a,d,e){var f=a.toHSL();return f.s-="undefined"!=typeof e&&"relative"===e.value?f.s*d.value/100:d.value/100,f.s=b(f.s),c(f)},lighten:function(a,d,e){var f=a.toHSL();return f.l+="undefined"!=typeof e&&"relative"===e.value?f.l*d.value/100:d.value/100,f.l=b(f.l),c(f)},darken:function(a,d,e){var f=a.toHSL();return f.l-="undefined"!=typeof e&&"relative"===e.value?f.l*d.value/100:d.value/100,f.l=b(f.l),c(f)},fadein:function(a,d,e){var f=a.toHSL();return f.a+="undefined"!=typeof e&&"relative"===e.value?f.a*d.value/100:d.value/100,f.a=b(f.a),c(f)},fadeout:function(a,d,e){var f=a.toHSL();return f.a-="undefined"!=typeof e&&"relative"===e.value?f.a*d.value/100:d.value/100,f.a=b(f.a),c(f)},fade:function(a,d){var e=a.toHSL();return e.a=d.value/100,e.a=b(e.a),c(e)},spin:function(a,b){var d=a.toHSL(),e=(d.h+b.value)%360;return d.h=0>e?360+e:e,c(d)},mix:function(a,b,c){a.toHSL&&b.toHSL||(console.log(b.type),console.dir(b)),c||(c=new g(50));var d=c.value/100,e=2*d-1,f=a.toHSL().a-b.toHSL().a,i=((e*f==-1?e:(e+f)/(1+e*f))+1)/2,j=1-i,k=[a.rgb[0]*i+b.rgb[0]*j,a.rgb[1]*i+b.rgb[1]*j,a.rgb[2]*i+b.rgb[2]*j],l=a.alpha*d+b.alpha*(1-d);return new h(k,l)},greyscale:function(a){return f.desaturate(a,new g(100))},contrast:function(a,b,c,e){if(!a.rgb)return null;if("undefined"==typeof c&&(c=f.rgba(255,255,255,1)),"undefined"==typeof b&&(b=f.rgba(0,0,0,1)),b.luma()>c.luma()){var g=c;c=b,b=g}return e="undefined"==typeof e?.43:d(e),a.luma()=t&&this.context.ieCompat!==!1?(g.warn("Skipped data-uri embedding of "+i+" because its size ("+s.length+" characters) exceeds IE8-safe "+t+" characters!"),f(this,e||a)):new d(new c('"'+s+'"',s,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)})}},{"../logger":32,"../tree/quoted":72,"../tree/url":79,"./function-registry":21}],19:[function(a,b){var c=a("../tree/keyword"),d=a("./function-registry"),e={eval:function(){var a=this.value_,b=this.error_;if(b)throw b;return null!=a?a?c.True:c.False:void 0},value:function(a){this.value_=a},error:function(a){this.error_=a},reset:function(){this.value_=this.error_=null}};d.add("default",e.eval.bind(e)),b.exports=e},{"../tree/keyword":64,"./function-registry":21}],20:[function(a,b){var c=a("../tree/expression"),d=function(a,b,c,d){this.name=a.toLowerCase(),this.index=c,this.context=b,this.currentFileInfo=d,this.func=b.frames[0].functionRegistry.get(this.name)};d.prototype.isValid=function(){return Boolean(this.func)},d.prototype.call=function(a){return Array.isArray(a)&&(a=a.filter(function(a){return"Comment"===a.type?!1:!0}).map(function(a){if("Expression"===a.type){var b=a.value.filter(function(a){return"Comment"===a.type?!1:!0});return 1===b.length?b[0]:new c(b)}return a})),this.func.apply(this,a)},b.exports=d},{"../tree/expression":58}],21:[function(a,b){function c(a){return{_data:{},add:function(a,b){a=a.toLowerCase(),this._data.hasOwnProperty(a),this._data[a]=b},addMultiple:function(a){Object.keys(a).forEach(function(b){this.add(b,a[b])}.bind(this))},get:function(b){return this._data[b]||a&&a.get(b)},inherit:function(){return c(this)}}}b.exports=c(null)},{}],22:[function(a,b){b.exports=function(b){var c={functionRegistry:a("./function-registry"),functionCaller:a("./function-caller")};return a("./default"),a("./color"),a("./color-blending"),a("./data-uri")(b),a("./math"),a("./number"),a("./string"),a("./svg")(b),a("./types"),c}},{"./color":17,"./color-blending":16,"./data-uri":18,"./default":19,"./function-caller":20,"./function-registry":21,"./math":24,"./number":25,"./string":26,"./svg":27,"./types":28}],23:[function(a,b){var c=a("../tree/dimension"),d=function(){};d._math=function(a,b,d){if(!(d instanceof c))throw{type:"Argument",message:"argument must be a number"};return null==b?b=d.unit:d=d.unify(),new c(a(parseFloat(d.value)),b)},b.exports=d},{"../tree/dimension":55}],24:[function(a){var b=a("./function-registry"),c=a("./math-helper.js"),d={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"};for(var e in d)d.hasOwnProperty(e)&&(d[e]=c._math.bind(null,Math[e],d[e]));d.round=function(a,b){var d="undefined"==typeof b?0:b.value;return c._math(function(a){return a.toFixed(d)},null,a)},b.addMultiple(d)},{"./function-registry":21,"./math-helper.js":23}],25:[function(a){var b=a("../tree/dimension"),c=a("../tree/anonymous"),d=a("./function-registry"),e=a("./math-helper.js"),f=function(a,d){switch(d=Array.prototype.slice.call(d),d.length){case 0:throw{type:"Argument",message:"one or more arguments required"}}var e,f,g,h,i,j,k,l,m=[],n={};for(e=0;d.length>e;e++)if(g=d[e],g instanceof b)if(h=""===g.unit.toString()&&void 0!==l?new b(g.value,l).unify():g.unify(),j=""===h.unit.toString()&&void 0!==k?k:h.unit.toString(),k=""!==j&&void 0===k||""!==j&&""===m[0].unify().unit.toString()?j:k,l=""!==j&&void 0===l?g.unit.toString():l,f=void 0!==n[""]&&""!==j&&j===k?n[""]:n[j],void 0!==f)i=""===m[f].unit.toString()&&void 0!==l?new b(m[f].value,l).unify():m[f].unify(),(a&&i.value>h.value||!a&&h.value>i.value)&&(m[f]=g);else{if(void 0!==k&&j!==k)throw{type:"Argument",message:"incompatible types"};n[j]=m.length,m.push(g)}else Array.isArray(d[e].value)&&Array.prototype.push.apply(d,Array.prototype.slice.call(d[e].value));return 1==m.length?m[0]:(d=m.map(function(a){return a.toCSS(this.context)}).join(this.context.compress?",":", "),new c((a?"min":"max")+"("+d+")"))};d.addMultiple({min:function(){return f(!0,arguments)},max:function(){return f(!1,arguments)},convert:function(a,b){return a.convertTo(b.value)},pi:function(){return new b(Math.PI)},mod:function(a,c){return new b(a.value%c.value,a.unit)},pow:function(a,c){if("number"==typeof a&&"number"==typeof c)a=new b(a),c=new b(c);else if(!(a instanceof b&&c instanceof b))throw{type:"Argument",message:"arguments must be numbers"};return new b(Math.pow(a.value,c.value),a.unit)},percentage:function(a){var b=e._math(function(a){return 100*a},"%",a);return b}})},{"../tree/anonymous":45,"../tree/dimension":55,"./function-registry":21,"./math-helper.js":23}],26:[function(a){var b=a("../tree/quoted"),c=a("../tree/anonymous"),d=a("../tree/javascript"),e=a("./function-registry");e.addMultiple({e:function(a){return new c(a instanceof d?a.evaluated:a.value)},escape:function(a){return new c(encodeURI(a.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(a,c,d,e){var f=a.value;return d="Quoted"===d.type?d.value:d.toCSS(),f=f.replace(new RegExp(c.value,e?e.value:""),d),new b(a.quote||"",f,a.escaped)},"%":function(a){for(var c=Array.prototype.slice.call(arguments,1),d=a.value,e=0;c.length>e;e++)d=d.replace(/%[sda]/i,function(a){var b="Quoted"===c[e].type&&a.match(/s/i)?c[e].value:c[e].toCSS();return a.match(/[A-Z]$/)?encodeURIComponent(b):b});return d=d.replace(/%%/g,"%"),new b(a.quote||"",d,a.escaped)}})},{"../tree/anonymous":45,"../tree/javascript":62,"../tree/quoted":72,"./function-registry":21}],27:[function(a,b){b.exports=function(){var b=a("../tree/dimension"),c=a("../tree/color"),d=a("../tree/expression"),e=a("../tree/quoted"),f=a("../tree/url"),g=a("./function-registry");g.add("svg-gradient",function(a){function g(){throw{type:"Argument",message:"svg-gradient expects direction, start_color [start_position], [color position,]..., end_color [end_position] or direction, color list"}}var h,i,j,k,l,m,n,o,p="linear",q='x="0" y="0" width="1" height="1"',r={compress:!1},s=a.toCSS(r);switch(2==arguments.length?(arguments[1].value.length<2&&g(),h=arguments[1].value):arguments.length<3?g():h=Array.prototype.slice.call(arguments,1),s){case"to bottom":i='x1="0%" y1="0%" x2="0%" y2="100%"';break;case"to right":i='x1="0%" y1="0%" x2="100%" y2="0%"';break;case"to bottom right":i='x1="0%" y1="0%" x2="100%" y2="100%"';break;case"to top right":i='x1="0%" y1="100%" x2="100%" y2="0%"';break;case"ellipse":case"ellipse at center":p="radial",i='cx="50%" cy="50%" r="75%"',q='x="-50" y="-50" width="101" height="101"';break;default:throw{type:"Argument",message:"svg-gradient direction must be 'to bottom', 'to right', 'to bottom right', 'to top right' or 'ellipse at center'" +}}for(j='<'+p+'Gradient id="gradient" gradientUnits="userSpaceOnUse" '+i+">",k=0;h.length>k;k+=1)h[k]instanceof d?(l=h[k].value[0],m=h[k].value[1]):(l=h[k],m=void 0),l instanceof c&&((0===k||k+1===h.length)&&void 0===m||m instanceof b)||g(),n=m?m.toCSS(r):0===k?"0%":"100%",o=l.alpha,j+='o?' stop-opacity="'+o+'"':"")+"/>";return j+="',j=encodeURIComponent(j),j="data:image/svg+xml,"+j,new f(new e("'"+j+"'",j,!1,this.index,this.currentFileInfo),this.index,this.currentFileInfo)})}},{"../tree/color":49,"../tree/dimension":55,"../tree/expression":58,"../tree/quoted":72,"../tree/url":79,"./function-registry":21}],28:[function(a){var b=a("../tree/keyword"),c=a("../tree/detached-ruleset"),d=a("../tree/dimension"),e=a("../tree/color"),f=a("../tree/quoted"),g=a("../tree/anonymous"),h=a("../tree/url"),i=a("../tree/operation"),j=a("./function-registry"),k=function(a,c){return a instanceof c?b.True:b.False},l=function(a,c){if(void 0===c)throw{type:"Argument",message:"missing the required second argument to isunit."};if(c="string"==typeof c.value?c.value:c,"string"!=typeof c)throw{type:"Argument",message:"Second argument to isunit should be a unit or a string."};return a instanceof d&&a.unit.is(c)?b.True:b.False},m=function(a){var b=Array.isArray(a.value)?a.value:Array(a);return b};j.addMultiple({isruleset:function(a){return k(a,c)},iscolor:function(a){return k(a,e)},isnumber:function(a){return k(a,d)},isstring:function(a){return k(a,f)},iskeyword:function(a){return k(a,b)},isurl:function(a){return k(a,h)},ispixel:function(a){return l(a,"px")},ispercentage:function(a){return l(a,"%")},isem:function(a){return l(a,"em")},isunit:l,unit:function(a,c){if(!(a instanceof d))throw{type:"Argument",message:"the first argument to unit must be a number"+(a instanceof i?". Have you forgotten parenthesis?":"")};return c=c?c instanceof b?c.value:c.toCSS():"",new d(a.value,c)},"get-unit":function(a){return new g(a.unit)},extract:function(a,b){return b=b.value-1,m(a)[b]},length:function(a){return new d(m(a).length)}})},{"../tree/anonymous":45,"../tree/color":49,"../tree/detached-ruleset":54,"../tree/dimension":55,"../tree/keyword":64,"../tree/operation":70,"../tree/quoted":72,"../tree/url":79,"./function-registry":21}],29:[function(a,b){var c=a("./contexts"),d=a("./parser/parser"),e=a("./plugins/function-importer");b.exports=function(a){var b=function(a,b){this.rootFilename=b.filename,this.paths=a.paths||[],this.contents={},this.contentsIgnoredChars={},this.mime=a.mime,this.error=null,this.context=a,this.queue=[],this.files={}};return b.prototype.push=function(b,f,g,h,i){var j=this;this.queue.push(b);var k=function(a,c,d){j.queue.splice(j.queue.indexOf(b),1);var e=d===j.rootFilename;h.optional&&a?i(null,{rules:[]},!1,null):(j.files[d]=c,a&&!j.error&&(j.error=a),i(a,c,e,d))},l={relativeUrls:this.context.relativeUrls,entryPath:g.entryPath,rootpath:g.rootpath,rootFilename:g.rootFilename},m=a.getFileManager(b,g.currentDirectory,this.context,a);if(!m)return void k({message:"Could not find a file-manager for "+b});f&&(b=m.tryAppendExtension(b,h.plugin?".js":".less"));var n=function(a){var b=a.filename,f=a.contents.replace(/^\uFEFF/,"");l.currentDirectory=m.getPath(b),l.relativeUrls&&(l.rootpath=m.join(j.context.rootpath||"",m.pathDiff(l.currentDirectory,l.entryPath)),!m.isPathAbsolute(l.rootpath)&&m.alwaysMakePathsAbsolute()&&(l.rootpath=m.join(l.entryPath,l.rootpath))),l.filename=b;var i=new c.Parse(j.context);i.processImports=!1,j.contents[b]=f,(g.reference||h.reference)&&(l.reference=!0),h.plugin?new e(i,l).eval(f,function(a,c){k(a,c,b)}):h.inline?k(null,f,b):new d(i,j,l).parse(f,function(a,c){k(a,c,b)})},o=m.loadFile(b,g.currentDirectory,this.context,a,function(a,b){a?k(a):n(b)});o&&o.then(n,k)},b}},{"./contexts":10,"./parser/parser":37,"./plugins/function-importer":39}],30:[function(a,b){b.exports=function(b,c){var d,e,f,g,h,i={version:[2,5,3],data:a("./data"),tree:a("./tree"),Environment:h=a("./environment/environment"),AbstractFileManager:a("./environment/abstract-file-manager"),environment:b=new h(b,c),visitors:a("./visitors"),Parser:a("./parser/parser"),functions:a("./functions")(b),contexts:a("./contexts"),SourceMapOutput:d=a("./source-map-output")(b),SourceMapBuilder:e=a("./source-map-builder")(d,b),ParseTree:f=a("./parse-tree")(e),ImportManager:g=a("./import-manager")(b),render:a("./render")(b,f,g),parse:a("./parse")(b,f,g),LessError:a("./less-error"),transformTree:a("./transform-tree"),utils:a("./utils"),PluginManager:a("./plugin-manager"),logger:a("./logger")};return i}},{"./contexts":10,"./data":12,"./environment/abstract-file-manager":14,"./environment/environment":15,"./functions":22,"./import-manager":29,"./less-error":31,"./logger":32,"./parse":34,"./parse-tree":33,"./parser/parser":37,"./plugin-manager":38,"./render":40,"./source-map-builder":41,"./source-map-output":42,"./transform-tree":43,"./tree":61,"./utils":82,"./visitors":86}],31:[function(a,b){var c=a("./utils"),d=b.exports=function(a,b,d){Error.call(this);var e=a.filename||d;if(b&&e){var f=b.contents[e],g=c.getLocation(a.index,f),h=g.line,i=g.column,j=a.call&&c.getLocation(a.call,f).line,k=f.split("\n");this.type=a.type||"Syntax",this.filename=e,this.index=a.index,this.line="number"==typeof h?h+1:null,this.callLine=j+1,this.callExtract=k[j],this.column=i,this.extract=[k[h-1],k[h],k[h+1]]}this.message=a.message,this.stack=a.stack};if("undefined"==typeof Object.create){var e=function(){};e.prototype=Error.prototype,d.prototype=new e}else d.prototype=Object.create(Error.prototype);d.prototype.constructor=d},{"./utils":82}],32:[function(a,b){b.exports={error:function(a){this._fireEvent("error",a)},warn:function(a){this._fireEvent("warn",a)},info:function(a){this._fireEvent("info",a)},debug:function(a){this._fireEvent("debug",a)},addListener:function(a){this._listeners.push(a)},removeListener:function(a){for(var b=0;this._listeners.length>b;b++)if(this._listeners[b]===a)return void this._listeners.splice(b,1)},_fireEvent:function(a,b){for(var c=0;this._listeners.length>c;c++){var d=this._listeners[c][a];d&&d(b)}},_listeners:[]}},{}],33:[function(a,b){var c=a("./less-error"),d=a("./transform-tree"),e=a("./logger");b.exports=function(a){var b=function(a,b){this.root=a,this.imports=b};return b.prototype.toCSS=function(b){var f,g,h={};try{f=d(this.root,b)}catch(i){throw new c(i,this.imports)}try{var j=Boolean(b.compress);j&&e.warn("The compress option has been deprecated. We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css.");var k={compress:j,dumpLineNumbers:b.dumpLineNumbers,strictUnits:Boolean(b.strictUnits),numPrecision:8};b.sourceMap?(g=new a(b.sourceMap),h.css=g.toCSS(f,k,this.imports)):h.css=f.toCSS(k)}catch(i){throw new c(i,this.imports)}if(b.pluginManager)for(var l=b.pluginManager.getPostProcessors(),m=0;l.length>m;m++)h.css=l[m].process(h.css,{sourceMap:g,options:b,imports:this.imports});b.sourceMap&&(h.map=g.getExternalSourceMap()),h.imports=[];for(var n in this.imports.files)this.imports.files.hasOwnProperty(n)&&n!==this.imports.rootFilename&&h.imports.push(n);return h},b}},{"./less-error":31,"./logger":32,"./transform-tree":43}],34:[function(a,b){var c,d=a("./contexts"),e=a("./parser/parser"),f=a("./plugin-manager");b.exports=function(b,g,h){var i=function(b,g,j){if(g=g||{},"function"==typeof g&&(j=g,g={}),!j){c||(c="undefined"==typeof Promise?a("promise"):Promise);var k=this;return new c(function(a,c){i.call(k,b,g,function(b,d){b?c(b):a(d)})})}var l,m,n=new f(this);if(n.addPlugins(g.plugins),g.pluginManager=n,l=new d.Parse(g),g.rootFileInfo)m=g.rootFileInfo;else{var o=g.filename||"input",p=o.replace(/[^\/\\]*$/,"");m={filename:o,relativeUrls:l.relativeUrls,rootpath:l.rootpath||"",currentDirectory:p,entryPath:p,rootFilename:o},m.rootpath&&"/"!==m.rootpath.slice(-1)&&(m.rootpath+="/")}var q=new h(l,m);new e(l,q,m).parse(b,function(a,b){return a?j(a):void j(null,b,q,g)},g)};return i}},{"./contexts":10,"./parser/parser":37,"./plugin-manager":38,promise:void 0}],35:[function(a,b){b.exports=function(a,b){function c(b){var c=h-q;512>c&&!b||!c||(p.push(a.slice(q,h+1)),q=h+1)}var d,e,f,g,h,i,j,k,l,m=a.length,n=0,o=0,p=[],q=0;for(h=0;m>h;h++)if(j=a.charCodeAt(h),!(j>=97&&122>=j||34>j))switch(j){case 40:o++,e=h;continue;case 41:if(--o<0)return b("missing opening `(`",h);continue;case 59:o||c();continue;case 123:n++,d=h;continue;case 125:if(--n<0)return b("missing opening `{`",h);n||o||c();continue;case 92:if(m-1>h){h++;continue}return b("unescaped `\\`",h);case 34:case 39:case 96:for(l=0,i=h,h+=1;m>h;h++)if(k=a.charCodeAt(h),!(k>96)){if(k==j){l=1;break}if(92==k){if(h==m-1)return b("unescaped `\\`",h);h++}}if(l)continue;return b("unmatched `"+String.fromCharCode(j)+"`",i);case 47:if(o||h==m-1)continue;if(k=a.charCodeAt(h+1),47==k)for(h+=2;m>h&&(k=a.charCodeAt(h),!(13>=k)||10!=k&&13!=k);h++);else if(42==k){for(f=i=h,h+=2;m-1>h&&(k=a.charCodeAt(h),125==k&&(g=h),42!=k||47!=a.charCodeAt(h+1));h++);if(h==m-1)return b("missing closing `*/`",i);h++}continue;case 42:if(m-1>h&&47==a.charCodeAt(h+1))return b("unmatched `/*`",h);continue}return 0!==n?f>d&&g>f?b("missing closing `}` or `*/`",d):b("missing closing `}`",d):0!==o?b("missing closing `)`",e):(c(!0),p)}},{}],36:[function(a,b){var c=a("./chunker");b.exports=function(){var a,b,d,e,f,g,h,i=[],j={};j.save=function(){h=j.i,i.push({current:g,i:j.i,j:b})},j.restore=function(a){(j.i>d||j.i===d&&a&&!e)&&(d=j.i,e=a);var c=i.pop();g=c.current,h=j.i=c.i,b=c.j},j.forget=function(){i.pop()},j.isWhitespace=function(b){var c=j.i+(b||0),d=a.charCodeAt(c);return d===k||d===n||d===l||d===m},j.$re=function(a){j.i>h&&(g=g.slice(j.i-h),h=j.i);var b=a.exec(g);return b?(s(b[0].length),"string"==typeof b?b:1===b.length?b[0]:b):null},j.$char=function(b){return a.charAt(j.i)!==b?null:(s(1),b)},j.$str=function(b){for(var c=b.length,d=0;c>d;d++)if(a.charAt(j.i+d)!==b.charAt(d))return null;return s(c),b},j.$quoted=function(){var b=a.charAt(j.i);if("'"===b||'"'===b){for(var c=a.length,d=j.i,e=1;c>e+d;e++){var f=a.charAt(e+d);switch(f){case"\\":e++;continue;case"\r":case"\n":break;case b:var g=a.substr(d,e+1);return s(e+1),g}}return null}};var k=32,l=9,m=10,n=13,o=43,p=44,q=47,r=57;j.autoCommentAbsorb=!0,j.commentStore=[],j.finished=!1;var s=function(c){for(var d,e,i,o=j.i,p=b,r=j.i-h,t=j.i+g.length-r,u=j.i+=c,v=a;t>j.i;j.i++){if(d=v.charCodeAt(j.i),j.autoCommentAbsorb&&d===q){if(e=v.charAt(j.i+1),"/"===e){i={index:j.i,isLineComment:!0};var w=v.indexOf("\n",j.i+2);0>w&&(w=t),j.i=w,i.text=v.substr(i.i,j.i-i.i),j.commentStore.push(i);continue}if("*"===e){var x=v.indexOf("*/",j.i+2);if(x>=0){i={index:j.i,text:v.substr(j.i,x+2-j.i),isLineComment:!1},j.i+=i.text.length-1,j.commentStore.push(i);continue}}break}if(d!==k&&d!==m&&d!==l&&d!==n)break}if(g=g.slice(c+j.i-u+r),h=j.i,!g.length){if(f.length-1>b)return g=f[++b],s(0),!0;j.finished=!0}return o!==j.i||p!==b};return j.peek=function(b){if("string"==typeof b){for(var c=0;b.length>c;c++)if(a.charAt(j.i+c)!==b.charAt(c))return!1;return!0}return b.test(g)},j.peekChar=function(b){return a.charAt(j.i)===b},j.currentChar=function(){return a.charAt(j.i)},j.getInput=function(){return a},j.peekNotNumeric=function(){var b=a.charCodeAt(j.i);return b>r||o>b||b===q||b===p},j.start=function(e,i,k){a=e,j.i=b=h=d=0,f=i?c(e,k):[e],g=f[0],s(0)},j.end=function(){var b,c=j.i>=a.length;return d>j.i&&(b=e,j.i=d),{isFinished:c,furthest:j.i,furthestPossibleErrorMessage:b,furthestReachedEnd:j.i>=a.length-1,furthestChar:a[j.i]}},j}},{"./chunker":35}],37:[function(a,b){var c=a("../less-error"),d=a("../tree"),e=a("../visitors"),f=a("./parser-input"),g=a("../utils"),h=function i(a,b,h){function j(a,b){var c="[object Function]"===Object.prototype.toString.call(a)?a.call(n):o.$re(a);return c?c:void l(b||("string"==typeof a?"expected '"+a+"' got '"+o.currentChar()+"'":"unexpected token"))}function k(a,b){return o.$char(a)?a:void l(b||"expected '"+a+"' got '"+o.currentChar()+"'")}function l(a,d){throw new c({index:o.i,filename:h.filename,type:d||"Syntax",message:a},b)}function m(a){var b=h.filename;return{lineNumber:g.getLocation(a,o.getInput()).line+1,fileName:b}}var n,o=f();return{parse:function(f,g,j){var k,l,m,n,p=null,q="";if(l=j&&j.globalVars?i.serializeVars(j.globalVars)+"\n":"",m=j&&j.modifyVars?"\n"+i.serializeVars(j.modifyVars):"",a.pluginManager)for(var r=a.pluginManager.getPreProcessors(),s=0;r.length>s;s++)f=r[s].process(f,{context:a,imports:b,fileInfo:h});(l||j&&j.banner)&&(q=(j&&j.banner?j.banner:"")+l,n=b.contentsIgnoredChars,n[h.filename]=n[h.filename]||0,n[h.filename]+=q.length),f=f.replace(/\r\n?/g,"\n"),f=q+f.replace(/^\uFEFF/,"")+m,b.contents[h.filename]=f;try{o.start(f,a.chunkInput,function(a,d){throw new c({index:d,type:"Parse",message:a,filename:h.filename},b)}),k=new d.Ruleset(null,this.parsers.primary()),k.root=!0,k.firstRoot=!0}catch(t){return g(new c(t,b,h.filename))}var u=o.end();if(!u.isFinished){var v=u.furthestPossibleErrorMessage;v||(v="Unrecognised input","}"===u.furthestChar?v+=". Possibly missing opening '{'":")"===u.furthestChar?v+=". Possibly missing opening '('":u.furthestReachedEnd&&(v+=". Possibly missing something")),p=new c({type:"Parse",message:v,index:u.furthest,filename:h.filename},b)}var w=function(a){return a=p||a||b.error,a?(a instanceof c||(a=new c(a,b,h.filename)),g(a)):g(null,k)};return a.processImports===!1?w():void new e.ImportVisitor(b,w).run(k)},parsers:n={primary:function(){for(var a,b=this.mixin,c=[];;){for(;;){if(a=this.comment(),!a)break;c.push(a)}if(o.finished)break;if(o.peek("}"))break;if(a=this.extendRule())c=c.concat(a);else if(a=b.definition()||this.rule()||this.ruleset()||b.call()||this.rulesetCall()||this.directive())c.push(a);else{for(var d=!1;o.$char(";");)d=!0;if(!d)break}}return c},comment:function(){if(o.commentStore.length){var a=o.commentStore.shift();return new d.Comment(a.text,a.isLineComment,a.index,h)}},entities:{quoted:function(){var a,b=o.i,c=!1;return o.save(),o.$char("~")&&(c=!0),(a=o.$quoted())?(o.forget(),new d.Quoted(a.charAt(0),a.substr(1,a.length-2),c,b,h)):void o.restore()},keyword:function(){var a=o.$char("%")||o.$re(/^[_A-Za-z-][_A-Za-z0-9-]*/);return a?d.Color.fromKeyword(a)||new d.Keyword(a):void 0},call:function(){var a,b,c,e,f=o.i;if(!o.peek(/^url\(/i))return o.save(),(a=o.$re(/^([\w-]+|%|progid:[\w\.]+)\(/))?(a=a[1],b=a.toLowerCase(),"alpha"===b&&(e=n.alpha())?(o.forget(),e):(c=this.arguments(),o.$char(")")?(o.forget(),new d.Call(a,c,f,h)):void o.restore("Could not parse call arguments or missing ')'"))):void o.forget()},arguments:function(){for(var a,b=[];;){if(a=this.assignment()||n.expression(),!a)break;if(b.push(a),!o.$char(","))break}return b},literal:function(){return this.dimension()||this.color()||this.quoted()||this.unicodeDescriptor()},assignment:function(){var a,b;return o.save(),(a=o.$re(/^\w+(?=\s?=)/i))&&o.$char("=")&&(b=n.entity())?(o.forget(),new d.Assignment(a,b)):void o.restore()},url:function(){var a,b=o.i;return o.autoCommentAbsorb=!1,o.$str("url(")?(a=this.quoted()||this.variable()||o.$re(/^(?:(?:\\[\(\)'"])|[^\(\)'"])+/)||"",o.autoCommentAbsorb=!0,k(")"),new d.URL(null!=a.value||a instanceof d.Variable?a:new d.Anonymous(a),b,h)):void(o.autoCommentAbsorb=!0)},variable:function(){var a,b=o.i;return"@"===o.currentChar()&&(a=o.$re(/^@@?[\w-]+/))?new d.Variable(a,b,h):void 0},variableCurly:function(){var a,b=o.i;return"@"===o.currentChar()&&(a=o.$re(/^@\{([\w-]+)\}/))?new d.Variable("@"+a[1],b,h):void 0},color:function(){var a;if("#"===o.currentChar()&&(a=o.$re(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/))){var b=a.input.match(/^#([\w]+).*/);return b=b[1],b.match(/^[A-Fa-f0-9]+$/)||l("Invalid HEX color code"),new d.Color(a[1],void 0,"#"+b)}},dimension:function(){if(!o.peekNotNumeric()){var a=o.$re(/^([+-]?\d*\.?\d+)(%|[a-z]+)?/i);return a?new d.Dimension(a[1],a[2]):void 0}},unicodeDescriptor:function(){var a;return a=o.$re(/^U\+[0-9a-fA-F?]+(\-[0-9a-fA-F?]+)?/),a?new d.UnicodeDescriptor(a[0]):void 0},javascript:function(){var a,b=o.i;o.save();var c=o.$char("~"),e=o.$char("`");return e?(a=o.$re(/^[^`]*`/))?(o.forget(),new d.JavaScript(a.substr(0,a.length-1),Boolean(c),b,h)):void o.restore("invalid javascript definition"):void o.restore()}},variable:function(){var a;return"@"===o.currentChar()&&(a=o.$re(/^(@[\w-]+)\s*:/))?a[1]:void 0},rulesetCall:function(){var a;return"@"===o.currentChar()&&(a=o.$re(/^(@[\w-]+)\s*\(\s*\)\s*;/))?new d.RulesetCall(a[1]):void 0},extend:function(a){var b,c,e,f,g,h=o.i;if(o.$str(a?"&:extend(":":extend(")){do{for(e=null,b=null;!(e=o.$re(/^(all)(?=\s*(\)|,))/))&&(c=this.element());)b?b.push(c):b=[c];e=e&&e[1],b||l("Missing target selector for :extend()."),g=new d.Extend(new d.Selector(b),e,h),f?f.push(g):f=[g]}while(o.$char(","));return j(/^\)/),a&&j(/^;/),f}},extendRule:function(){return this.extend(!0)},mixin:{call:function(){var a,b,c,e,f,g,i=o.currentChar(),j=!1,l=o.i;if("."===i||"#"===i){for(o.save();;){if(a=o.i,e=o.$re(/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/),!e)break;c=new d.Element(f,e,a,h),b?b.push(c):b=[c],f=o.$char(">")}return b&&(o.$char("(")&&(g=this.args(!0).args,k(")")),n.important()&&(j=!0),n.end())?(o.forget(),new d.mixin.Call(b,g,l,h,j)):void o.restore()}},args:function(a){var b,c,e,f,g,h,i,j=n.entities,k={args:null,variadic:!1},m=[],p=[],q=[];for(o.save();;){if(a)h=n.detachedRuleset()||n.expression();else{if(o.commentStore.length=0,o.$str("...")){k.variadic=!0,o.$char(";")&&!b&&(b=!0),(b?p:q).push({variadic:!0});break}h=j.variable()||j.literal()||j.keyword()}if(!h)break;f=null,h.throwAwayComments&&h.throwAwayComments(),g=h;var r=null;if(a?h.value&&1==h.value.length&&(r=h.value[0]):r=h,r&&r instanceof d.Variable)if(o.$char(":")){if(m.length>0&&(b&&l("Cannot mix ; and , as delimiter types"),c=!0),g=n.detachedRuleset()||n.expression(),!g){if(!a)return o.restore(),k.args=[],k;l("could not understand value for named argument")}f=e=r.name}else if(o.$str("...")){if(!a){k.variadic=!0,o.$char(";")&&!b&&(b=!0),(b?p:q).push({name:h.name,variadic:!0});break}i=!0}else a||(e=f=r.name,g=null);g&&m.push(g),q.push({name:f,value:g,expand:i}),o.$char(",")||(o.$char(";")||b)&&(c&&l("Cannot mix ; and , as delimiter types"),b=!0,m.length>1&&(g=new d.Value(m)),p.push({name:e,value:g,expand:i}),e=null,m=[],c=!1)}return o.forget(),k.args=b?p:q,k},definition:function(){var a,b,c,e,f=[],g=!1;if(!("."!==o.currentChar()&&"#"!==o.currentChar()||o.peek(/^[^{]*\}/)))if(o.save(),b=o.$re(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/)){a=b[1];var h=this.args(!1);if(f=h.args,g=h.variadic,!o.$char(")"))return void o.restore("Missing closing ')'");if(o.commentStore.length=0,o.$str("when")&&(e=j(n.conditions,"expected condition")),c=n.block())return o.forget(),new d.mixin.Definition(a,f,c,e,g);o.restore()}else o.forget()}},entity:function(){var a=this.entities;return this.comment()||a.literal()||a.variable()||a.url()||a.call()||a.keyword()||a.javascript()},end:function(){return o.$char(";")||o.peek("}")},alpha:function(){var a;if(o.$re(/^opacity=/i))return a=o.$re(/^\d+/),a||(a=j(this.entities.variable,"Could not parse alpha")),k(")"),new d.Alpha(a)},element:function(){var a,b,c,e=o.i;return b=this.combinator(),a=o.$re(/^(?:\d+\.\d+|\d+)%/)||o.$re(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||o.$char("*")||o.$char("&")||this.attribute()||o.$re(/^\([^&()@]+\)/)||o.$re(/^[\.#:](?=@)/)||this.entities.variableCurly(),a||(o.save(),o.$char("(")?(c=this.selector())&&o.$char(")")?(a=new d.Paren(c),o.forget()):o.restore("Missing closing ')'"):o.forget()),a?new d.Element(b,a,e,h):void 0},combinator:function(){var a=o.currentChar();if("/"===a){o.save();var b=o.$re(/^\/[a-z]+\//i);if(b)return o.forget(),new d.Combinator(b);o.restore()}if(">"===a||"+"===a||"~"===a||"|"===a||"^"===a){for(o.i++,"^"===a&&"^"===o.currentChar()&&(a="^^",o.i++);o.isWhitespace();)o.i++;return new d.Combinator(a)}return new d.Combinator(o.isWhitespace(-1)?" ":null)},lessSelector:function(){return this.selector(!0)},selector:function(a){for(var b,c,e,f,g,i,k,m=o.i;(a&&(c=this.extend())||a&&(i=o.$str("when"))||(f=this.element()))&&(i?k=j(this.conditions,"expected condition"):k?l("CSS guard can only be used at the end of selector"):c?g=g?g.concat(c):c:(g&&l("Extend can only be used at the end of selector"),e=o.currentChar(),b?b.push(f):b=[f],f=null),"{"!==e&&"}"!==e&&";"!==e&&","!==e&&")"!==e););return b?new d.Selector(b,g,k,m,h):void(g&&l("Extend must be used to extend a selector, it cannot be used on its own"))},attribute:function(){if(o.$char("[")){var a,b,c,e=this.entities;return(a=e.variableCurly())||(a=j(/^(?:[_A-Za-z0-9-\*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/)),c=o.$re(/^[|~*$^]?=/),c&&(b=e.quoted()||o.$re(/^[0-9]+%/)||o.$re(/^[\w-]+/)||e.variableCurly()),k("]"),new d.Attribute(a,c,b)}},block:function(){var a;return o.$char("{")&&(a=this.primary())&&o.$char("}")?a:void 0},blockRuleset:function(){var a=this.block();return a&&(a=new d.Ruleset(null,a)),a},detachedRuleset:function(){var a=this.blockRuleset();return a?new d.DetachedRuleset(a):void 0},ruleset:function(){var b,c,e,f;for(o.save(),a.dumpLineNumbers&&(f=m(o.i));;){if(c=this.lessSelector(),!c)break;if(b?b.push(c):b=[c],o.commentStore.length=0,c.condition&&b.length>1&&l("Guards are only currently allowed on a single selector."),!o.$char(","))break;c.condition&&l("Guards are only currently allowed on a single selector."),o.commentStore.length=0}if(b&&(e=this.block())){o.forget();var g=new d.Ruleset(b,e,a.strictImports);return a.dumpLineNumbers&&(g.debugInfo=f),g}o.restore()},rule:function(b){var c,e,f,g,i,j=o.i,k=o.currentChar();if("."!==k&&"#"!==k&&"&"!==k&&":"!==k)if(o.save(),c=this.variable()||this.ruleProperty()){if(i="string"==typeof c,i&&(e=this.detachedRuleset()),o.commentStore.length=0,!e){g=!i&&c.length>1&&c.pop().value;var l=!b&&(a.compress||i);if(l&&(e=this.value()),!e&&(e=this.anonymousValue()))return o.forget(),new d.Rule(c,e,!1,g,j,h);l||e||(e=this.value()),f=this.important()}if(e&&this.end())return o.forget(),new d.Rule(c,e,f,g,j,h);if(o.restore(),e&&!b)return this.rule(!0)}else o.forget()},anonymousValue:function(){var a=o.$re(/^([^@+\/'"*`(;{}-]*);/);return a?new d.Anonymous(a[1]):void 0},"import":function(){var a,b,c=o.i,e=o.$re(/^@import?\s+/);if(e){var f=(e?this.importOptions():null)||{};if(a=this.entities.quoted()||this.entities.url())return b=this.mediaFeatures(),o.$char(";")||(o.i=c,l("missing semi-colon or unrecognised media features on import")),b=b&&new d.Value(b),new d.Import(a,b,f,c,h);o.i=c,l("malformed import statement")}},importOptions:function(){var a,b,c,d={};if(!o.$char("("))return null;do if(a=this.importOption()){switch(b=a,c=!0,b){case"css":b="less",c=!1;break;case"once":b="multiple",c=!1}if(d[b]=c,!o.$char(","))break}while(a);return k(")"),d},importOption:function(){var a=o.$re(/^(less|css|multiple|once|inline|reference|optional)/);return a?a[1]:void 0},mediaFeature:function(){var a,b,c=this.entities,e=[];o.save();do if(a=c.keyword()||c.variable())e.push(a);else if(o.$char("(")){if(b=this.property(),a=this.value(),!o.$char(")"))return o.restore("Missing closing ')'"),null;if(b&&a)e.push(new d.Paren(new d.Rule(b,a,null,null,o.i,h,!0)));else{if(!a)return o.restore("badly formed media feature definition"),null;e.push(new d.Paren(a))}}while(a);return o.forget(),e.length>0?new d.Expression(e):void 0},mediaFeatures:function(){var a,b=this.entities,c=[];do if(a=this.mediaFeature()){if(c.push(a),!o.$char(","))break}else if(a=b.variable(),a&&(c.push(a),!o.$char(",")))break;while(a);return c.length>0?c:null},media:function(){var b,c,e,f;return a.dumpLineNumbers&&(f=m(o.i)),o.save(),o.$str("@media")?(b=this.mediaFeatures(),(c=this.block())?(o.forget(),e=new d.Media(c,b,o.i,h),a.dumpLineNumbers&&(e.debugInfo=f),e):void o.restore("media definitions require block statements after any features")):void o.restore()},plugin:function(){var a,b=o.i,c=o.$re(/^@plugin?\s+/);if(c){var e={plugin:!0};if(a=this.entities.quoted()||this.entities.url())return o.$char(";")||(o.i=b,l("missing semi-colon on plugin")),new d.Import(a,null,e,b,h);o.i=b,l("malformed plugin statement")}},directive:function(){var b,c,e,f,g,i,j,k=o.i,n=!0,p=!0;if("@"===o.currentChar()){if(c=this["import"]()||this.plugin()||this.media())return c;if(o.save(),b=o.$re(/^@[a-z-]+/)){switch(f=b,"-"==b.charAt(1)&&b.indexOf("-",2)>0&&(f="@"+b.slice(b.indexOf("-",2)+1)),f){case"@counter-style":g=!0,n=!0;break;case"@charset":g=!0,n=!1;break;case"@namespace":i=!0,n=!1;break;case"@keyframes":g=!0;break;case"@host":case"@page":j=!0;break;case"@document":case"@supports":j=!0,p=!1}return o.commentStore.length=0,g?(c=this.entity(),c||l("expected "+b+" identifier")):i?(c=this.expression(),c||l("expected "+b+" expression")):j&&(c=(o.$re(/^[^{;]+/)||"").trim(),c&&(c=new d.Anonymous(c))),n&&(e=this.blockRuleset()),e||!n&&c&&o.$char(";")?(o.forget(),new d.Directive(b,c,e,k,h,a.dumpLineNumbers?m(k):null,!1,p)):void o.restore("directive options not recognised")}}},value:function(){var a,b=[];do if(a=this.expression(),a&&(b.push(a),!o.$char(",")))break;while(a);return b.length>0?new d.Value(b):void 0},important:function(){return"!"===o.currentChar()?o.$re(/^! *important/):void 0},sub:function(){var a,b;return o.save(),o.$char("(")?(a=this.addition(),a&&o.$char(")")?(o.forget(),b=new d.Expression([a]),b.parens=!0,b):void o.restore("Expected ')'")):void o.restore()},multiplication:function(){var a,b,c,e,f;if(a=this.operand()){for(f=o.isWhitespace(-1);;){if(o.peek(/^\/[*\/]/))break;if(o.save(),c=o.$char("/")||o.$char("*"),!c){o.forget();break}if(b=this.operand(),!b){o.restore();break}o.forget(),a.parensInOp=!0,b.parensInOp=!0,e=new d.Operation(c,[e||a,b],f),f=o.isWhitespace(-1)}return e||a}},addition:function(){var a,b,c,e,f;if(a=this.multiplication()){for(f=o.isWhitespace(-1);;){if(c=o.$re(/^[-+]\s+/)||!f&&(o.$char("+")||o.$char("-")),!c)break;if(b=this.multiplication(),!b)break;a.parensInOp=!0,b.parensInOp=!0,e=new d.Operation(c,[e||a,b],f),f=o.isWhitespace(-1)}return e||a}},conditions:function(){var a,b,c,e=o.i;if(a=this.condition()){for(;;){if(!o.peek(/^,\s*(not\s*)?\(/)||!o.$char(","))break;if(b=this.condition(),!b)break;c=new d.Condition("or",c||a,b,e)}return c||a}},condition:function(){var a,b,c,e,f=this.entities,g=o.i,h=!1;return o.$str("not")&&(h=!0),k("("),a=this.addition()||f.keyword()||f.quoted(),a?(o.$char(">")?e=o.$char("=")?">=":">":o.$char("<")?e=o.$char("=")?"<=":"<":o.$char("=")&&(e=o.$char(">")?"=>":o.$char("<")?"=<":"="),e?(b=this.addition()||f.keyword()||f.quoted(),b?c=new d.Condition(e,a,b,g,h):l("expected expression")):c=new d.Condition("=",a,new d.Keyword("true"),g,h),k(")"),o.$str("and")?new d.Condition("and",c,this.condition()):c):void 0},operand:function(){var a,b=this.entities;o.peek(/^-[@\(]/)&&(a=o.$char("-"));var c=this.sub()||b.dimension()||b.color()||b.variable()||b.call();return a&&(c.parensInOp=!0,c=new d.Negative(c)),c},expression:function(){var a,b,c=[];do a=this.comment(),a?c.push(a):(a=this.addition()||this.entity(),a&&(c.push(a),o.peek(/^\/[\/*]/)||(b=o.$char("/"),b&&c.push(new d.Anonymous(b)))));while(a);return c.length>0?new d.Expression(c):void 0},property:function(){var a=o.$re(/^(\*?-?[_a-zA-Z0-9-]+)\s*:/);return a?a[1]:void 0},ruleProperty:function(){function a(a){var b=o.i,c=o.$re(a);return c?(f.push(b),e.push(c[1])):void 0}var b,c,e=[],f=[];o.save();var g=o.$re(/^([_a-zA-Z0-9-]+)\s*:/);if(g)return e=[new d.Keyword(g[1])],o.forget(),e;for(a(/^(\*?)/);;)if(!a(/^((?:[\w-]+)|(?:@\{[\w-]+\}))/))break;if(e.length>1&&a(/^((?:\+_|\+)?)\s*:/)){for(o.forget(),""===e[0]&&(e.shift(),f.shift()),c=0;e.length>c;c++)b=e[c],e[c]="@"!==b.charAt(0)?new d.Keyword(b):new d.Variable("@"+b.slice(2,-1),f[c],h);return e}o.restore()}}}};h.serializeVars=function(a){var b="";for(var c in a)if(Object.hasOwnProperty.call(a,c)){var d=a[c];b+=("@"===c[0]?"":"@")+c+": "+d+(";"===String(d).slice(-1)?"":";")}return b},b.exports=h},{"../less-error":31,"../tree":61,"../utils":82,"../visitors":86,"./parser-input":36}],38:[function(a,b){var c=function(a){this.less=a,this.visitors=[],this.preProcessors=[],this.postProcessors=[],this.installedPlugins=[],this.fileManagers=[]};c.prototype.addPlugins=function(a){if(a)for(var b=0;a.length>b;b++)this.addPlugin(a[b])},c.prototype.addPlugin=function(a){this.installedPlugins.push(a),a.install(this.less,this)},c.prototype.addVisitor=function(a){this.visitors.push(a)},c.prototype.addPreProcessor=function(a,b){var c;for(c=0;this.preProcessors.length>c&&!(this.preProcessors[c].priority>=b);c++);this.preProcessors.splice(c,0,{preProcessor:a,priority:b})},c.prototype.addPostProcessor=function(a,b){var c;for(c=0;this.postProcessors.length>c&&!(this.postProcessors[c].priority>=b);c++);this.postProcessors.splice(c,0,{postProcessor:a,priority:b})},c.prototype.addFileManager=function(a){this.fileManagers.push(a)},c.prototype.getPreProcessors=function(){for(var a=[],b=0;this.preProcessors.length>b;b++)a.push(this.preProcessors[b].preProcessor);return a},c.prototype.getPostProcessors=function(){for(var a=[],b=0;this.postProcessors.length>b;b++)a.push(this.postProcessors[b].postProcessor);return a},c.prototype.getVisitors=function(){return this.visitors},c.prototype.getFileManagers=function(){return this.fileManagers},b.exports=c},{}],39:[function(a,b){var c=a("../less-error"),d=a("../tree"),e=b.exports=function(a,b){this.fileInfo=b};e.prototype.eval=function(a,b){var e,f,g={};f={add:function(a,b){g[a]=b},addMultiple:function(a){Object.keys(a).forEach(function(b){g[b]=a[b]})}};try{e=new Function("functions","tree","fileInfo",a),e(f,d,this.fileInfo)}catch(h){b(new c({message:"Plugin evaluation error: '"+h.name+": "+h.message.replace(/["]/g,"'")+"'",filename:this.fileInfo.filename}),null)}b(null,{functions:g})}},{"../less-error":31,"../tree":61}],40:[function(a,b){var c;b.exports=function(b,d){var e=function(b,f,g){if("function"==typeof f&&(g=f,f={}),!g){c||(c="undefined"==typeof Promise?a("promise"):Promise);var h=this;return new c(function(a,c){e.call(h,b,f,function(b,d){b?c(b):a(d)})})}this.parse(b,f,function(a,b,c,e){if(a)return g(a);var f;try{var h=new d(b,c);f=h.toCSS(e)}catch(a){return g(a)}g(null,f)})};return e}},{promise:void 0}],41:[function(a,b){b.exports=function(a,b){var c=function(a){this.options=a};return c.prototype.toCSS=function(b,c,d){var e=new a({contentsIgnoredCharsMap:d.contentsIgnoredChars,rootNode:b,contentsMap:d.contents,sourceMapFilename:this.options.sourceMapFilename,sourceMapURL:this.options.sourceMapURL,outputFilename:this.options.sourceMapOutputFilename,sourceMapBasepath:this.options.sourceMapBasepath,sourceMapRootpath:this.options.sourceMapRootpath,outputSourceFiles:this.options.outputSourceFiles,sourceMapGenerator:this.options.sourceMapGenerator,sourceMapFileInline:this.options.sourceMapFileInline}),f=e.toCSS(c);return this.sourceMap=e.sourceMap,this.sourceMapURL=e.sourceMapURL,this.options.sourceMapInputFilename&&(this.sourceMapInputFilename=e.normalizeFilename(this.options.sourceMapInputFilename)),f+this.getCSSAppendage()},c.prototype.getCSSAppendage=function(){var a=this.sourceMapURL;if(this.options.sourceMapFileInline){if(void 0===this.sourceMap)return"";a="data:application/json;base64,"+b.encodeBase64(this.sourceMap)}return a?"/*# sourceMappingURL="+a+" */":""},c.prototype.getExternalSourceMap=function(){return this.sourceMap},c.prototype.setExternalSourceMap=function(a){this.sourceMap=a},c.prototype.isInline=function(){return this.options.sourceMapFileInline},c.prototype.getSourceMapURL=function(){return this.sourceMapURL},c.prototype.getOutputFilename=function(){return this.options.sourceMapOutputFilename},c.prototype.getInputFilename=function(){return this.sourceMapInputFilename},c}},{}],42:[function(a,b){b.exports=function(a){var b=function(b){this._css=[],this._rootNode=b.rootNode,this._contentsMap=b.contentsMap, +this._contentsIgnoredCharsMap=b.contentsIgnoredCharsMap,b.sourceMapFilename&&(this._sourceMapFilename=b.sourceMapFilename.replace(/\\/g,"/")),this._outputFilename=b.outputFilename,this.sourceMapURL=b.sourceMapURL,b.sourceMapBasepath&&(this._sourceMapBasepath=b.sourceMapBasepath.replace(/\\/g,"/")),b.sourceMapRootpath?(this._sourceMapRootpath=b.sourceMapRootpath.replace(/\\/g,"/"),"/"!==this._sourceMapRootpath.charAt(this._sourceMapRootpath.length-1)&&(this._sourceMapRootpath+="/")):this._sourceMapRootpath="",this._outputSourceFiles=b.outputSourceFiles,this._sourceMapGeneratorConstructor=a.getSourceMapGenerator(),this._lineNumber=0,this._column=0};return b.prototype.normalizeFilename=function(a){return a=a.replace(/\\/g,"/"),this._sourceMapBasepath&&0===a.indexOf(this._sourceMapBasepath)&&(a=a.substring(this._sourceMapBasepath.length),("\\"===a.charAt(0)||"/"===a.charAt(0))&&(a=a.substring(1))),(this._sourceMapRootpath||"")+a},b.prototype.add=function(a,b,c,d){if(a){var e,f,g,h,i;if(b){var j=this._contentsMap[b.filename];this._contentsIgnoredCharsMap[b.filename]&&(c-=this._contentsIgnoredCharsMap[b.filename],0>c&&(c=0),j=j.slice(this._contentsIgnoredCharsMap[b.filename])),j=j.substring(0,c),f=j.split("\n"),h=f[f.length-1]}if(e=a.split("\n"),g=e[e.length-1],b)if(d)for(i=0;e.length>i;i++)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+i+1,column:0===i?this._column:0},original:{line:f.length+i,column:0===i?h.length:0},source:this.normalizeFilename(b.filename)});else this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+1,column:this._column},original:{line:f.length,column:h.length},source:this.normalizeFilename(b.filename)});1===e.length?this._column+=g.length:(this._lineNumber+=e.length-1,this._column=g.length),this._css.push(a)}},b.prototype.isEmpty=function(){return 0===this._css.length},b.prototype.toCSS=function(a){if(this._sourceMapGenerator=new this._sourceMapGeneratorConstructor({file:this._outputFilename,sourceRoot:null}),this._outputSourceFiles)for(var b in this._contentsMap)if(this._contentsMap.hasOwnProperty(b)){var c=this._contentsMap[b];this._contentsIgnoredCharsMap[b]&&(c=c.slice(this._contentsIgnoredCharsMap[b])),this._sourceMapGenerator.setSourceContent(this.normalizeFilename(b),c)}if(this._rootNode.genCSS(a,this),this._css.length>0){var d,e=JSON.stringify(this._sourceMapGenerator.toJSON());this.sourceMapURL?d=this.sourceMapURL:this._sourceMapFilename&&(d=this._sourceMapFilename),this.sourceMapURL=d,this.sourceMap=e}return this._css.join("")},b}},{}],43:[function(a,b){var c=a("./contexts"),d=a("./visitors"),e=a("./tree");b.exports=function(a,b){b=b||{};var f,g=b.variables,h=new c.Eval(b);"object"!=typeof g||Array.isArray(g)||(g=Object.keys(g).map(function(a){var b=g[a];return b instanceof e.Value||(b instanceof e.Expression||(b=new e.Expression([b])),b=new e.Value([b])),new e.Rule("@"+a,b,!1,null,0)}),h.frames=[new e.Ruleset(null,g)]);var i,j=[],k=[new d.JoinSelectorVisitor,new d.ExtendVisitor,new d.ToCSSVisitor({compress:Boolean(b.compress)})];if(b.pluginManager){var l=b.pluginManager.getVisitors();for(i=0;l.length>i;i++){var m=l[i];m.isPreEvalVisitor?j.push(m):m.isPreVisitor?k.splice(0,0,m):k.push(m)}}for(i=0;j.length>i;i++)j[i].run(a);for(f=a.eval(h),i=0;k.length>i;i++)k[i].run(f);return f}},{"./contexts":10,"./tree":61,"./visitors":86}],44:[function(a,b){var c=a("./node"),d=function(a){this.value=a};d.prototype=new c,d.prototype.type="Alpha",d.prototype.accept=function(a){this.value=a.visit(this.value)},d.prototype.eval=function(a){return this.value.eval?new d(this.value.eval(a)):this},d.prototype.genCSS=function(a,b){b.add("alpha(opacity="),this.value.genCSS?this.value.genCSS(a,b):b.add(this.value),b.add(")")},b.exports=d},{"./node":69}],45:[function(a,b){var c=a("./node"),d=function(a,b,c,d,e,f){this.value=a,this.index=b,this.mapLines=d,this.currentFileInfo=c,this.rulesetLike="undefined"==typeof e?!1:e,this.isReferenced=f||!1};d.prototype=new c,d.prototype.type="Anonymous",d.prototype.eval=function(){return new d(this.value,this.index,this.currentFileInfo,this.mapLines,this.rulesetLike,this.isReferenced)},d.prototype.compare=function(a){return a.toCSS&&this.toCSS()===a.toCSS()?0:void 0},d.prototype.isRulesetLike=function(){return this.rulesetLike},d.prototype.genCSS=function(a,b){b.add(this.value,this.currentFileInfo,this.index,this.mapLines)},d.prototype.markReferenced=function(){this.isReferenced=!0},d.prototype.getIsReferenced=function(){return!this.currentFileInfo||!this.currentFileInfo.reference||this.isReferenced},b.exports=d},{"./node":69}],46:[function(a,b){var c=a("./node"),d=function(a,b){this.key=a,this.value=b};d.prototype=new c,d.prototype.type="Assignment",d.prototype.accept=function(a){this.value=a.visit(this.value)},d.prototype.eval=function(a){return this.value.eval?new d(this.key,this.value.eval(a)):this},d.prototype.genCSS=function(a,b){b.add(this.key+"="),this.value.genCSS?this.value.genCSS(a,b):b.add(this.value)},b.exports=d},{"./node":69}],47:[function(a,b){var c=a("./node"),d=function(a,b,c){this.key=a,this.op=b,this.value=c};d.prototype=new c,d.prototype.type="Attribute",d.prototype.eval=function(a){return new d(this.key.eval?this.key.eval(a):this.key,this.op,this.value&&this.value.eval?this.value.eval(a):this.value)},d.prototype.genCSS=function(a,b){b.add(this.toCSS(a))},d.prototype.toCSS=function(a){var b=this.key.toCSS?this.key.toCSS(a):this.key;return this.op&&(b+=this.op,b+=this.value.toCSS?this.value.toCSS(a):this.value),"["+b+"]"},b.exports=d},{"./node":69}],48:[function(a,b){var c=a("./node"),d=a("../functions/function-caller"),e=function(a,b,c,d){this.name=a,this.args=b,this.index=c,this.currentFileInfo=d};e.prototype=new c,e.prototype.type="Call",e.prototype.accept=function(a){this.args&&(this.args=a.visitArray(this.args))},e.prototype.eval=function(a){var b,c=this.args.map(function(b){return b.eval(a)}),f=new d(this.name,a,this.index,this.currentFileInfo);if(f.isValid())try{if(b=f.call(c),null!=b)return b}catch(g){throw{type:g.type||"Runtime",message:"error evaluating function `"+this.name+"`"+(g.message?": "+g.message:""),index:this.index,filename:this.currentFileInfo.filename}}return new e(this.name,c,this.index,this.currentFileInfo)},e.prototype.genCSS=function(a,b){b.add(this.name+"(",this.currentFileInfo,this.index);for(var c=0;this.args.length>c;c++)this.args[c].genCSS(a,b),this.args.length>c+1&&b.add(", ");b.add(")")},b.exports=e},{"../functions/function-caller":20,"./node":69}],49:[function(a,b){function c(a,b){return Math.min(Math.max(a,0),b)}function d(a){return"#"+a.map(function(a){return a=c(Math.round(a),255),(16>a?"0":"")+a.toString(16)}).join("")}var e=a("./node"),f=a("../data/colors"),g=function(a,b,c){this.rgb=Array.isArray(a)?a:6==a.length?a.match(/.{2}/g).map(function(a){return parseInt(a,16)}):a.split("").map(function(a){return parseInt(a+a,16)}),this.alpha="number"==typeof b?b:1,"undefined"!=typeof c&&(this.value=c)};g.prototype=new e,g.prototype.type="Color",g.prototype.luma=function(){var a=this.rgb[0]/255,b=this.rgb[1]/255,c=this.rgb[2]/255;return a=.03928>=a?a/12.92:Math.pow((a+.055)/1.055,2.4),b=.03928>=b?b/12.92:Math.pow((b+.055)/1.055,2.4),c=.03928>=c?c/12.92:Math.pow((c+.055)/1.055,2.4),.2126*a+.7152*b+.0722*c},g.prototype.genCSS=function(a,b){b.add(this.toCSS(a))},g.prototype.toCSS=function(a,b){var d,e,f=a&&a.compress&&!b;if(this.value)return this.value;if(e=this.fround(a,this.alpha),1>e)return"rgba("+this.rgb.map(function(a){return c(Math.round(a),255)}).concat(c(e,1)).join(","+(f?"":" "))+")";if(d=this.toRGB(),f){var g=d.split("");g[1]===g[2]&&g[3]===g[4]&&g[5]===g[6]&&(d="#"+g[1]+g[3]+g[5])}return d},g.prototype.operate=function(a,b,c){for(var d=[],e=this.alpha*(1-c.alpha)+c.alpha,f=0;3>f;f++)d[f]=this._operate(a,b,this.rgb[f],c.rgb[f]);return new g(d,e)},g.prototype.toRGB=function(){return d(this.rgb)},g.prototype.toHSL=function(){var a,b,c=this.rgb[0]/255,d=this.rgb[1]/255,e=this.rgb[2]/255,f=this.alpha,g=Math.max(c,d,e),h=Math.min(c,d,e),i=(g+h)/2,j=g-h;if(g===h)a=b=0;else{switch(b=i>.5?j/(2-g-h):j/(g+h),g){case c:a=(d-e)/j+(e>d?6:0);break;case d:a=(e-c)/j+2;break;case e:a=(c-d)/j+4}a/=6}return{h:360*a,s:b,l:i,a:f}},g.prototype.toHSV=function(){var a,b,c=this.rgb[0]/255,d=this.rgb[1]/255,e=this.rgb[2]/255,f=this.alpha,g=Math.max(c,d,e),h=Math.min(c,d,e),i=g,j=g-h;if(b=0===g?0:j/g,g===h)a=0;else{switch(g){case c:a=(d-e)/j+(e>d?6:0);break;case d:a=(e-c)/j+2;break;case e:a=(c-d)/j+4}a/=6}return{h:360*a,s:b,v:i,a:f}},g.prototype.toARGB=function(){return d([255*this.alpha].concat(this.rgb))},g.prototype.compare=function(a){return a.rgb&&a.rgb[0]===this.rgb[0]&&a.rgb[1]===this.rgb[1]&&a.rgb[2]===this.rgb[2]&&a.alpha===this.alpha?0:void 0},g.fromKeyword=function(a){var b,c=a.toLowerCase();return f.hasOwnProperty(c)?b=new g(f[c].slice(1)):"transparent"===c&&(b=new g([0,0,0],0)),b?(b.value=a,b):void 0},b.exports=g},{"../data/colors":11,"./node":69}],50:[function(a,b){var c=a("./node"),d=function(a){" "===a?(this.value=" ",this.emptyOrWhitespace=!0):(this.value=a?a.trim():"",this.emptyOrWhitespace=""===this.value)};d.prototype=new c,d.prototype.type="Combinator";var e={"":!0," ":!0,"|":!0};d.prototype.genCSS=function(a,b){var c=a.compress||e[this.value]?"":" ";b.add(c+this.value+c)},b.exports=d},{"./node":69}],51:[function(a,b){var c=a("./node"),d=a("./debug-info"),e=function(a,b,c,d){this.value=a,this.isLineComment=b,this.currentFileInfo=d};e.prototype=new c,e.prototype.type="Comment",e.prototype.genCSS=function(a,b){this.debugInfo&&b.add(d(a,this),this.currentFileInfo,this.index),b.add(this.value)},e.prototype.isSilent=function(a){var b=this.currentFileInfo&&this.currentFileInfo.reference&&!this.isReferenced,c=a.compress&&"!"!==this.value[2];return this.isLineComment||b||c},e.prototype.markReferenced=function(){this.isReferenced=!0},b.exports=e},{"./debug-info":53,"./node":69}],52:[function(a,b){var c=a("./node"),d=function(a,b,c,d,e){this.op=a.trim(),this.lvalue=b,this.rvalue=c,this.index=d,this.negate=e};d.prototype=new c,d.prototype.type="Condition",d.prototype.accept=function(a){this.lvalue=a.visit(this.lvalue),this.rvalue=a.visit(this.rvalue)},d.prototype.eval=function(a){var b=function(a,b,d){switch(a){case"and":return b&&d;case"or":return b||d;default:switch(c.compare(b,d)){case-1:return"<"===a||"=<"===a||"<="===a;case 0:return"="===a||">="===a||"=<"===a||"<="===a;case 1:return">"===a||">="===a;default:return!1}}}(this.op,this.lvalue.eval(a),this.rvalue.eval(a));return this.negate?!b:b},b.exports=d},{"./node":69}],53:[function(a,b){var c=function(a,b,d){var e="";if(a.dumpLineNumbers&&!a.compress)switch(a.dumpLineNumbers){case"comments":e=c.asComment(b);break;case"mediaquery":e=c.asMediaQuery(b);break;case"all":e=c.asComment(b)+(d||"")+c.asMediaQuery(b)}return e};c.asComment=function(a){return"/* line "+a.debugInfo.lineNumber+", "+a.debugInfo.fileName+" */\n"},c.asMediaQuery=function(a){var b=a.debugInfo.fileName;return/^[a-z]+:\/\//i.test(b)||(b="file://"+b),"@media -sass-debug-info{filename{font-family:"+b.replace(/([.:\/\\])/g,function(a){return"\\"==a&&(a="/"),"\\"+a})+"}line{font-family:\\00003"+a.debugInfo.lineNumber+"}}\n"},b.exports=c},{}],54:[function(a,b){var c=a("./node"),d=a("../contexts"),e=function(a,b){this.ruleset=a,this.frames=b};e.prototype=new c,e.prototype.type="DetachedRuleset",e.prototype.evalFirst=!0,e.prototype.accept=function(a){this.ruleset=a.visit(this.ruleset)},e.prototype.eval=function(a){var b=this.frames||a.frames.slice(0);return new e(this.ruleset,b)},e.prototype.callEval=function(a){return this.ruleset.eval(this.frames?new d.Eval(a,this.frames.concat(a.frames)):a)},b.exports=e},{"../contexts":10,"./node":69}],55:[function(a,b){var c=a("./node"),d=a("../data/unit-conversions"),e=a("./unit"),f=a("./color"),g=function(a,b){this.value=parseFloat(a),this.unit=b&&b instanceof e?b:new e(b?[b]:void 0)};g.prototype=new c,g.prototype.type="Dimension",g.prototype.accept=function(a){this.unit=a.visit(this.unit)},g.prototype.eval=function(){return this},g.prototype.toColor=function(){return new f([this.value,this.value,this.value])},g.prototype.genCSS=function(a,b){if(a&&a.strictUnits&&!this.unit.isSingular())throw new Error("Multiple units in dimension. Correct the units or use the unit function. Bad unit: "+this.unit.toString());var c=this.fround(a,this.value),d=String(c);if(0!==c&&1e-6>c&&c>-1e-6&&(d=c.toFixed(20).replace(/0+$/,"")),a&&a.compress){if(0===c&&this.unit.isLength())return void b.add(d);c>0&&1>c&&(d=d.substr(1))}b.add(d),this.unit.genCSS(a,b)},g.prototype.operate=function(a,b,c){var d=this._operate(a,b,this.value,c.value),e=this.unit.clone();if("+"===b||"-"===b)if(0===e.numerator.length&&0===e.denominator.length)e=c.unit.clone(),this.unit.backupUnit&&(e.backupUnit=this.unit.backupUnit);else if(0===c.unit.numerator.length&&0===e.denominator.length);else{if(c=c.convertTo(this.unit.usedUnits()),a.strictUnits&&c.unit.toString()!==e.toString())throw new Error("Incompatible units. Change the units or use the unit function. Bad units: '"+e.toString()+"' and '"+c.unit.toString()+"'.");d=this._operate(a,b,this.value,c.value)}else"*"===b?(e.numerator=e.numerator.concat(c.unit.numerator).sort(),e.denominator=e.denominator.concat(c.unit.denominator).sort(),e.cancel()):"/"===b&&(e.numerator=e.numerator.concat(c.unit.denominator).sort(),e.denominator=e.denominator.concat(c.unit.numerator).sort(),e.cancel());return new g(d,e)},g.prototype.compare=function(a){var b,d;if(!(a instanceof g))return void 0;if(this.unit.isEmpty()||a.unit.isEmpty())b=this,d=a;else if(b=this.unify(),d=a.unify(),0!==b.unit.compare(d.unit))return void 0;return c.numericCompare(b.value,d.value)},g.prototype.unify=function(){return this.convertTo({length:"px",duration:"s",angle:"rad"})},g.prototype.convertTo=function(a){var b,c,e,f,h,i=this.value,j=this.unit.clone(),k={};if("string"==typeof a){for(b in d)d[b].hasOwnProperty(a)&&(k={},k[b]=a);a=k}h=function(a,b){return e.hasOwnProperty(a)?(b?i/=e[a]/e[f]:i*=e[a]/e[f],f):a};for(c in a)a.hasOwnProperty(c)&&(f=a[c],e=d[c],j.map(h));return j.cancel(),new g(i,j)},b.exports=g},{"../data/unit-conversions":13,"./color":49,"./node":69,"./unit":78}],56:[function(a,b){var c=a("./node"),d=a("./selector"),e=a("./ruleset"),f=function(a,b,c,e,f,g,h,i){var j;if(this.name=a,this.value=b,c)for(Array.isArray(c)?this.rules=c:(this.rules=[c],this.rules[0].selectors=new d([],null,null,this.index,f).createEmptySelectors()),j=0;this.rules.length>j;j++)this.rules[j].allowImports=!0;this.index=e,this.currentFileInfo=f,this.debugInfo=g,this.isReferenced=h,this.isRooted=i||!1};f.prototype=new c,f.prototype.type="Directive",f.prototype.accept=function(a){var b=this.value,c=this.rules;c&&(this.rules=a.visitArray(c)),b&&(this.value=a.visit(b))},f.prototype.isRulesetLike=function(){return this.rules||!this.isCharset()},f.prototype.isCharset=function(){return"@charset"===this.name},f.prototype.genCSS=function(a,b){var c=this.value,d=this.rules;b.add(this.name,this.currentFileInfo,this.index),c&&(b.add(" "),c.genCSS(a,b)),d?this.outputRuleset(a,b,d):b.add(";")},f.prototype.eval=function(a){var b,c,d=this.value,e=this.rules;return b=a.mediaPath,c=a.mediaBlocks,a.mediaPath=[],a.mediaBlocks=[],d&&(d=d.eval(a)),e&&(e=[e[0].eval(a)],e[0].root=!0),a.mediaPath=b,a.mediaBlocks=c,new f(this.name,d,e,this.index,this.currentFileInfo,this.debugInfo,this.isReferenced,this.isRooted)},f.prototype.variable=function(a){return this.rules?e.prototype.variable.call(this.rules[0],a):void 0},f.prototype.find=function(){return this.rules?e.prototype.find.apply(this.rules[0],arguments):void 0},f.prototype.rulesets=function(){return this.rules?e.prototype.rulesets.apply(this.rules[0]):void 0},f.prototype.markReferenced=function(){var a,b;if(this.isReferenced=!0,this.rules)for(b=this.rules,a=0;b.length>a;a++)b[a].markReferenced&&b[a].markReferenced()},f.prototype.getIsReferenced=function(){return!this.currentFileInfo||!this.currentFileInfo.reference||this.isReferenced},f.prototype.outputRuleset=function(a,b,c){var d,e=c.length;if(a.tabLevel=(0|a.tabLevel)+1,a.compress){for(b.add("{"),d=0;e>d;d++)c[d].genCSS(a,b);return b.add("}"),void a.tabLevel--}var f="\n"+Array(a.tabLevel).join(" "),g=f+" ";if(e){for(b.add(" {"+g),c[0].genCSS(a,b),d=1;e>d;d++)b.add(g),c[d].genCSS(a,b);b.add(f+"}")}else b.add(" {"+f+"}");a.tabLevel--},b.exports=f},{"./node":69,"./ruleset":75,"./selector":76}],57:[function(a,b){var c=a("./node"),d=a("./paren"),e=a("./combinator"),f=function(a,b,c,d){this.combinator=a instanceof e?a:new e(a),this.value="string"==typeof b?b.trim():b?b:"",this.index=c,this.currentFileInfo=d};f.prototype=new c,f.prototype.type="Element",f.prototype.accept=function(a){var b=this.value;this.combinator=a.visit(this.combinator),"object"==typeof b&&(this.value=a.visit(b))},f.prototype.eval=function(a){return new f(this.combinator,this.value.eval?this.value.eval(a):this.value,this.index,this.currentFileInfo)},f.prototype.genCSS=function(a,b){b.add(this.toCSS(a),this.currentFileInfo,this.index)},f.prototype.toCSS=function(a){a=a||{};var b=this.value,c=a.firstSelector;return b instanceof d&&(a.firstSelector=!0),b=b.toCSS?b.toCSS(a):b,a.firstSelector=c,""===b&&"&"===this.combinator.value.charAt(0)?"":this.combinator.toCSS(a)+b},b.exports=f},{"./combinator":50,"./node":69,"./paren":71}],58:[function(a,b){var c=a("./node"),d=a("./paren"),e=a("./comment"),f=function(a){if(this.value=a,!a)throw new Error("Expression requires an array parameter")};f.prototype=new c,f.prototype.type="Expression",f.prototype.accept=function(a){this.value=a.visitArray(this.value)},f.prototype.eval=function(a){var b,c=this.parens&&!this.parensInOp,e=!1;return c&&a.inParenthesis(),this.value.length>1?b=new f(this.value.map(function(b){return b.eval(a)})):1===this.value.length?(this.value[0].parens&&!this.value[0].parensInOp&&(e=!0),b=this.value[0].eval(a)):b=this,c&&a.outOfParenthesis(),this.parens&&this.parensInOp&&!a.isMathOn()&&!e&&(b=new d(b)),b},f.prototype.genCSS=function(a,b){for(var c=0;this.value.length>c;c++)this.value[c].genCSS(a,b),this.value.length>c+1&&b.add(" ")},f.prototype.throwAwayComments=function(){this.value=this.value.filter(function(a){return!(a instanceof e)})},f.prototype.markReferenced=function(){this.value.forEach(function(a){a.markReferenced&&a.markReferenced()})},b.exports=f},{"./comment":51,"./node":69,"./paren":71}],59:[function(a,b){var c=a("./node"),d=function e(a,b,c){switch(this.selector=a,this.option=b,this.index=c,this.object_id=e.next_id++,this.parent_ids=[this.object_id],b){case"all":this.allowBefore=!0,this.allowAfter=!0;break;default:this.allowBefore=!1,this.allowAfter=!1}};d.next_id=0,d.prototype=new c,d.prototype.type="Extend",d.prototype.accept=function(a){this.selector=a.visit(this.selector)},d.prototype.eval=function(a){return new d(this.selector.eval(a),this.option,this.index)},d.prototype.clone=function(){return new d(this.selector,this.option,this.index)},d.prototype.findSelfSelectors=function(a){var b,c,d=[];for(b=0;a.length>b;b++)c=a[b].elements,b>0&&c.length&&""===c[0].combinator.value&&(c[0].combinator.value=" "),d=d.concat(a[b].elements);this.selfSelectors=[{elements:d}]},b.exports=d},{"./node":69}],60:[function(a,b){var c=a("./node"),d=a("./media"),e=a("./url"),f=a("./quoted"),g=a("./ruleset"),h=a("./anonymous"),i=function(a,b,c,d,e){if(this.options=c,this.index=d,this.path=a,this.features=b,this.currentFileInfo=e,void 0!==this.options.less||this.options.inline)this.css=!this.options.less||this.options.inline;else{var f=this.getPath();f&&/[#\.\&\?\/]css([\?;].*)?$/.test(f)&&(this.css=!0)}};i.prototype=new c,i.prototype.type="Import",i.prototype.accept=function(a){this.features&&(this.features=a.visit(this.features)),this.path=a.visit(this.path),this.options.plugin||this.options.inline||!this.root||(this.root=a.visit(this.root))},i.prototype.genCSS=function(a,b){this.css&&void 0===this.path.currentFileInfo.reference&&(b.add("@import ",this.currentFileInfo,this.index),this.path.genCSS(a,b),this.features&&(b.add(" "),this.features.genCSS(a,b)),b.add(";"))},i.prototype.getPath=function(){return this.path instanceof e?this.path.value.value:this.path.value},i.prototype.isVariableImport=function(){var a=this.path;return a instanceof e&&(a=a.value),a instanceof f?a.containsVariables():!0},i.prototype.evalForImport=function(a){var b=this.path;return b instanceof e&&(b=b.value),new i(b.eval(a),this.features,this.options,this.index,this.currentFileInfo)},i.prototype.evalPath=function(a){var b=this.path.eval(a),c=this.currentFileInfo&&this.currentFileInfo.rootpath;if(!(b instanceof e)){if(c){var d=b.value;d&&a.isPathRelative(d)&&(b.value=c+d)}b.value=a.normalizePath(b.value)}return b},i.prototype.eval=function(a){var b,c,e=this.features&&this.features.eval(a);if(this.options.plugin)return c=a.frames[0]&&a.frames[0].functionRegistry,c&&this.root&&this.root.functions&&c.addMultiple(this.root.functions),[];if(this.skip&&("function"==typeof this.skip&&(this.skip=this.skip()),this.skip))return[];if(this.options.inline){var f=new h(this.root,0,{filename:this.importedFilename,reference:this.path.currentFileInfo&&this.path.currentFileInfo.reference},!0,!0,!1);return this.features?new d([f],this.features.value):[f]}if(this.css){var j=new i(this.evalPath(a),e,this.options,this.index);if(!j.css&&this.error)throw this.error;return j}return b=new g(null,this.root.rules.slice(0)),b.evalImports(a),this.features?new d(b.rules,this.features.value):b.rules},b.exports=i},{"./anonymous":45,"./media":65,"./node":69,"./quoted":72,"./ruleset":75,"./url":79}],61:[function(a,b){var c={};c.Node=a("./node"),c.Alpha=a("./alpha"),c.Color=a("./color"),c.Directive=a("./directive"),c.DetachedRuleset=a("./detached-ruleset"),c.Operation=a("./operation"),c.Dimension=a("./dimension"),c.Unit=a("./unit"),c.Keyword=a("./keyword"),c.Variable=a("./variable"),c.Ruleset=a("./ruleset"),c.Element=a("./element"),c.Attribute=a("./attribute"),c.Combinator=a("./combinator"),c.Selector=a("./selector"),c.Quoted=a("./quoted"),c.Expression=a("./expression"),c.Rule=a("./rule"),c.Call=a("./call"),c.URL=a("./url"),c.Import=a("./import"),c.mixin={Call:a("./mixin-call"),Definition:a("./mixin-definition")},c.Comment=a("./comment"),c.Anonymous=a("./anonymous"),c.Value=a("./value"),c.JavaScript=a("./javascript"),c.Assignment=a("./assignment"),c.Condition=a("./condition"),c.Paren=a("./paren"),c.Media=a("./media"),c.UnicodeDescriptor=a("./unicode-descriptor"),c.Negative=a("./negative"),c.Extend=a("./extend"),c.RulesetCall=a("./ruleset-call"),b.exports=c},{"./alpha":44,"./anonymous":45,"./assignment":46,"./attribute":47,"./call":48,"./color":49,"./combinator":50,"./comment":51,"./condition":52,"./detached-ruleset":54,"./dimension":55,"./directive":56,"./element":57,"./expression":58,"./extend":59,"./import":60,"./javascript":62,"./keyword":64,"./media":65,"./mixin-call":66,"./mixin-definition":67,"./negative":68,"./node":69,"./operation":70,"./paren":71,"./quoted":72,"./rule":73,"./ruleset":75,"./ruleset-call":74,"./selector":76,"./unicode-descriptor":77,"./unit":78,"./url":79,"./value":80,"./variable":81}],62:[function(a,b){var c=a("./js-eval-node"),d=a("./dimension"),e=a("./quoted"),f=a("./anonymous"),g=function(a,b,c,d){this.escaped=b,this.expression=a,this.index=c,this.currentFileInfo=d};g.prototype=new c,g.prototype.type="JavaScript",g.prototype.eval=function(a){var b=this.evaluateJavaScript(this.expression,a);return"number"==typeof b?new d(b):"string"==typeof b?new e('"'+b+'"',b,this.escaped,this.index):new f(Array.isArray(b)?b.join(", "):b)},b.exports=g},{"./anonymous":45,"./dimension":55,"./js-eval-node":63,"./quoted":72}],63:[function(a,b){var c=a("./node"),d=a("./variable"),e=function(){};e.prototype=new c,e.prototype.evaluateJavaScript=function(a,b){var c,e=this,f={};if(void 0!==b.javascriptEnabled&&!b.javascriptEnabled)throw{message:"You are using JavaScript, which has been disabled.",filename:this.currentFileInfo.filename,index:this.index};a=a.replace(/@\{([\w-]+)\}/g,function(a,c){return e.jsify(new d("@"+c,e.index,e.currentFileInfo).eval(b))});try{a=new Function("return ("+a+")")}catch(g){throw{message:"JavaScript evaluation error: "+g.message+" from `"+a+"`",filename:this.currentFileInfo.filename,index:this.index}}var h=b.frames[0].variables();for(var i in h)h.hasOwnProperty(i)&&(f[i.slice(1)]={value:h[i].value,toJS:function(){return this.value.eval(b).toCSS()}});try{c=a.call(f)}catch(g){throw{message:"JavaScript evaluation error: '"+g.name+": "+g.message.replace(/["]/g,"'")+"'",filename:this.currentFileInfo.filename,index:this.index}}return c},e.prototype.jsify=function(a){return Array.isArray(a.value)&&a.value.length>1?"["+a.value.map(function(a){return a.toCSS()}).join(", ")+"]":a.toCSS()},b.exports=e},{"./node":69,"./variable":81}],64:[function(a,b){var c=a("./node"),d=function(a){this.value=a};d.prototype=new c,d.prototype.type="Keyword",d.prototype.genCSS=function(a,b){if("%"===this.value)throw{type:"Syntax",message:"Invalid % without number"};b.add(this.value)},d.True=new d("true"),d.False=new d("false"),b.exports=d},{"./node":69}],65:[function(a,b){var c=a("./ruleset"),d=a("./value"),e=a("./selector"),f=a("./anonymous"),g=a("./expression"),h=a("./directive"),i=function(a,b,f,g){this.index=f,this.currentFileInfo=g;var h=new e([],null,null,this.index,this.currentFileInfo).createEmptySelectors();this.features=new d(b),this.rules=[new c(h,a)],this.rules[0].allowImports=!0};i.prototype=new h,i.prototype.type="Media",i.prototype.isRulesetLike=!0,i.prototype.accept=function(a){this.features&&(this.features=a.visit(this.features)),this.rules&&(this.rules=a.visitArray(this.rules))},i.prototype.genCSS=function(a,b){b.add("@media ",this.currentFileInfo,this.index),this.features.genCSS(a,b),this.outputRuleset(a,b,this.rules)},i.prototype.eval=function(a){a.mediaBlocks||(a.mediaBlocks=[],a.mediaPath=[]);var b=new i(null,[],this.index,this.currentFileInfo);this.debugInfo&&(this.rules[0].debugInfo=this.debugInfo,b.debugInfo=this.debugInfo);var c=!1;a.strictMath||(c=!0,a.strictMath=!0);try{b.features=this.features.eval(a)}finally{c&&(a.strictMath=!1)}return a.mediaPath.push(b),a.mediaBlocks.push(b),this.rules[0].functionRegistry=a.frames[0].functionRegistry.inherit(),a.frames.unshift(this.rules[0]),b.rules=[this.rules[0].eval(a)],a.frames.shift(),a.mediaPath.pop(),0===a.mediaPath.length?b.evalTop(a):b.evalNested(a)},i.prototype.evalTop=function(a){var b=this;if(a.mediaBlocks.length>1){var d=new e([],null,null,this.index,this.currentFileInfo).createEmptySelectors();b=new c(d,a.mediaBlocks),b.multiMedia=!0}return delete a.mediaBlocks,delete a.mediaPath,b},i.prototype.evalNested=function(a){var b,e,h=a.mediaPath.concat([this]);for(b=0;h.length>b;b++)e=h[b].features instanceof d?h[b].features.value:h[b].features,h[b]=Array.isArray(e)?e:[e];return this.features=new d(this.permute(h).map(function(a){for(a=a.map(function(a){return a.toCSS?a:new f(a)}),b=a.length-1;b>0;b--)a.splice(b,0,new f("and"));return new g(a)})),new c([],[])},i.prototype.permute=function(a){if(0===a.length)return[];if(1===a.length)return a[0];for(var b=[],c=this.permute(a.slice(1)),d=0;c.length>d;d++)for(var e=0;a[0].length>e;e++)b.push([a[0][e]].concat(c[d]));return b},i.prototype.bubbleSelectors=function(a){a&&(this.rules=[new c(a.slice(0),[this.rules[0]])])},b.exports=i},{"./anonymous":45,"./directive":56,"./expression":58,"./ruleset":75,"./selector":76,"./value":80}],66:[function(a,b){var c=a("./node"),d=a("./selector"),e=a("./mixin-definition"),f=a("../functions/default"),g=function(a,b,c,e,f){this.selector=new d(a),this.arguments=b||[],this.index=c,this.currentFileInfo=e,this.important=f};g.prototype=new c,g.prototype.type="MixinCall",g.prototype.accept=function(a){this.selector&&(this.selector=a.visit(this.selector)),this.arguments.length&&(this.arguments=a.visitArray(this.arguments))},g.prototype.eval=function(a){function b(b,c){var d,e,g;for(d=0;2>d;d++){for(y[d]=!0,f.value(d),e=0;c.length>e&&y[d];e++)g=c[e],g.matchCondition&&(y[d]=y[d]&&g.matchCondition(null,a));b.matchCondition&&(y[d]=y[d]&&b.matchCondition(u,a))}return y[0]||y[1]?y[0]!=y[1]?y[1]?B:C:A:z}var c,d,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u=[],v=[],w=!1,x=[],y=[],z=-1,A=0,B=1,C=2;for(k=0;this.arguments.length>k;k++)if(h=this.arguments[k],i=h.value.eval(a),h.expand&&Array.isArray(i.value))for(i=i.value,l=0;i.length>l;l++)u.push({value:i[l]});else u.push({name:h.name,value:i});for(t=function(b){return b.matchArgs(null,a)},k=0;a.frames.length>k;k++)if((c=a.frames[k].find(this.selector,null,t)).length>0){for(o=!0,l=0;c.length>l;l++){for(d=c[l].rule,g=c[l].path,n=!1,m=0;a.frames.length>m;m++)if(!(d instanceof e)&&d===(a.frames[m].originalRuleset||a.frames[m])){n=!0;break}n||d.matchArgs(u,a)&&(p={mixin:d,group:b(d,g)},p.group!==z&&x.push(p),w=!0)}for(f.reset(),r=[0,0,0],l=0;x.length>l;l++)r[x[l].group]++;if(r[A]>0)q=C;else if(q=B,r[B]+r[C]>1)throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(u)+"`",index:this.index,filename:this.currentFileInfo.filename};for(l=0;x.length>l;l++)if(p=x[l].group,p===A||p===q)try{d=x[l].mixin,d instanceof e||(s=d.originalRuleset||d,d=new e("",[],d.rules,null,!1),d.originalRuleset=s),Array.prototype.push.apply(v,d.evalCall(a,u,this.important).rules)}catch(D){throw{message:D.message,index:this.index,filename:this.currentFileInfo.filename,stack:D.stack}}if(w){if(!this.currentFileInfo||!this.currentFileInfo.reference)for(k=0;v.length>k;k++)j=v[k],j.markReferenced&&j.markReferenced();return v}}throw o?{type:"Runtime",message:"No matching definition was found for `"+this.format(u)+"`",index:this.index,filename:this.currentFileInfo.filename}:{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.index,filename:this.currentFileInfo.filename}},g.prototype.format=function(a){return this.selector.toCSS().trim()+"("+(a?a.map(function(a){var b="";return a.name&&(b+=a.name+":"),b+=a.value.toCSS?a.value.toCSS():"???"}).join(", "):"")+")"},b.exports=g},{"../functions/default":19,"./mixin-definition":67,"./node":69,"./selector":76}],67:[function(a,b){var c=a("./selector"),d=a("./element"),e=a("./ruleset"),f=a("./rule"),g=a("./expression"),h=a("../contexts"),i=function(a,b,e,f,g,h){this.name=a,this.selectors=[new c([new d(null,a,this.index,this.currentFileInfo)])],this.params=b,this.condition=f,this.variadic=g,this.arity=b.length,this.rules=e,this._lookups={};var i=[];this.required=b.reduce(function(a,b){return!b.name||b.name&&!b.value?a+1:(i.push(b.name),a)},0),this.optionalParameters=i,this.frames=h};i.prototype=new e,i.prototype.type="MixinDefinition",i.prototype.evalFirst=!0,i.prototype.accept=function(a){this.params&&this.params.length&&(this.params=a.visitArray(this.params)),this.rules=a.visitArray(this.rules),this.condition&&(this.condition=a.visit(this.condition))},i.prototype.evalParams=function(a,b,c,d){var i,j,k,l,m,n,o,p,q=new e(null,null),r=this.params.slice(0),s=0;if(b.frames&&b.frames[0]&&b.frames[0].functionRegistry&&(q.functionRegistry=b.frames[0].functionRegistry.inherit()),b=new h.Eval(b,[q].concat(b.frames)),c)for(c=c.slice(0),s=c.length,k=0;s>k;k++)if(j=c[k],n=j&&j.name){for(o=!1,l=0;r.length>l;l++)if(!d[l]&&n===r[l].name){d[l]=j.value.eval(a),q.prependRule(new f(n,j.value.eval(a))),o=!0;break}if(o){c.splice(k,1),k--;continue}throw{type:"Runtime",message:"Named argument for "+this.name+" "+c[k].name+" not found"}}for(p=0,k=0;r.length>k;k++)if(!d[k]){if(j=c&&c[p],n=r[k].name)if(r[k].variadic){for(i=[],l=p;s>l;l++)i.push(c[l].value.eval(a));q.prependRule(new f(n,new g(i).eval(a)))}else{if(m=j&&j.value)m=m.eval(a);else{if(!r[k].value)throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+s+" for "+this.arity+")"};m=r[k].value.eval(b),q.resetCache()}q.prependRule(new f(n,m)),d[k]=m}if(r[k].variadic&&c)for(l=p;s>l;l++)d[l]=c[l].value.eval(a);p++}return q},i.prototype.makeImportant=function(){var a=this.rules?this.rules.map(function(a){return a.makeImportant?a.makeImportant(!0):a}):this.rules,b=new i(this.name,this.params,a,this.condition,this.variadic,this.frames); + +return b},i.prototype.eval=function(a){return new i(this.name,this.params,this.rules,this.condition,this.variadic,this.frames||a.frames.slice(0))},i.prototype.evalCall=function(a,b,c){var d,i,j=[],k=this.frames?this.frames.concat(a.frames):a.frames,l=this.evalParams(a,new h.Eval(a,k),b,j);return l.prependRule(new f("@arguments",new g(j).eval(a))),d=this.rules.slice(0),i=new e(null,d),i.originalRuleset=this,i=i.eval(new h.Eval(a,[this,l].concat(k))),c&&(i=i.makeImportant()),i},i.prototype.matchCondition=function(a,b){return this.condition&&!this.condition.eval(new h.Eval(b,[this.evalParams(b,new h.Eval(b,this.frames?this.frames.concat(b.frames):b.frames),a,[])].concat(this.frames||[]).concat(b.frames)))?!1:!0},i.prototype.matchArgs=function(a,b){var c,d=a&&a.length||0,e=this.optionalParameters,f=a?a.reduce(function(a,b){return e.indexOf(b.name)<0?a+1:a},0):0;if(this.variadic){if(this.required-1>f)return!1}else{if(this.required>f)return!1;if(d>this.params.length)return!1}c=Math.min(f,this.arity);for(var g=0;c>g;g++)if(!this.params[g].name&&!this.params[g].variadic&&a[g].value.eval(b).toCSS()!=this.params[g].value.eval(b).toCSS())return!1;return!0},b.exports=i},{"../contexts":10,"./element":57,"./expression":58,"./rule":73,"./ruleset":75,"./selector":76}],68:[function(a,b){var c=a("./node"),d=a("./operation"),e=a("./dimension"),f=function(a){this.value=a};f.prototype=new c,f.prototype.type="Negative",f.prototype.genCSS=function(a,b){b.add("-"),this.value.genCSS(a,b)},f.prototype.eval=function(a){return a.isMathOn()?new d("*",[new e(-1),this.value]).eval(a):new f(this.value.eval(a))},b.exports=f},{"./dimension":55,"./node":69,"./operation":70}],69:[function(a,b){var c=function(){};c.prototype.toCSS=function(a){var b=[];return this.genCSS(a,{add:function(a){b.push(a)},isEmpty:function(){return 0===b.length}}),b.join("")},c.prototype.genCSS=function(a,b){b.add(this.value)},c.prototype.accept=function(a){this.value=a.visit(this.value)},c.prototype.eval=function(){return this},c.prototype._operate=function(a,b,c,d){switch(b){case"+":return c+d;case"-":return c-d;case"*":return c*d;case"/":return c/d}},c.prototype.fround=function(a,b){var c=a&&a.numPrecision;return null==c?b:Number((b+2e-16).toFixed(c))},c.compare=function(a,b){if(a.compare&&"Quoted"!==b.type&&"Anonymous"!==b.type)return a.compare(b);if(b.compare)return-b.compare(a);if(a.type!==b.type)return void 0;if(a=a.value,b=b.value,!Array.isArray(a))return a===b?0:void 0;if(a.length!==b.length)return void 0;for(var d=0;a.length>d;d++)if(0!==c.compare(a[d],b[d]))return void 0;return 0},c.numericCompare=function(a,b){return b>a?-1:a===b?0:a>b?1:void 0},b.exports=c},{}],70:[function(a,b){var c=a("./node"),d=a("./color"),e=a("./dimension"),f=function(a,b,c){this.op=a.trim(),this.operands=b,this.isSpaced=c};f.prototype=new c,f.prototype.type="Operation",f.prototype.accept=function(a){this.operands=a.visit(this.operands)},f.prototype.eval=function(a){var b=this.operands[0].eval(a),c=this.operands[1].eval(a);if(a.isMathOn()){if(b instanceof e&&c instanceof d&&(b=b.toColor()),c instanceof e&&b instanceof d&&(c=c.toColor()),!b.operate)throw{type:"Operation",message:"Operation on an invalid type"};return b.operate(a,this.op,c)}return new f(this.op,[b,c],this.isSpaced)},f.prototype.genCSS=function(a,b){this.operands[0].genCSS(a,b),this.isSpaced&&b.add(" "),b.add(this.op),this.isSpaced&&b.add(" "),this.operands[1].genCSS(a,b)},b.exports=f},{"./color":49,"./dimension":55,"./node":69}],71:[function(a,b){var c=a("./node"),d=function(a){this.value=a};d.prototype=new c,d.prototype.type="Paren",d.prototype.genCSS=function(a,b){b.add("("),this.value.genCSS(a,b),b.add(")")},d.prototype.eval=function(a){return new d(this.value.eval(a))},b.exports=d},{"./node":69}],72:[function(a,b){var c=a("./node"),d=a("./js-eval-node"),e=a("./variable"),f=function(a,b,c,d,e){this.escaped=null==c?!0:c,this.value=b||"",this.quote=a.charAt(0),this.index=d,this.currentFileInfo=e};f.prototype=new d,f.prototype.type="Quoted",f.prototype.genCSS=function(a,b){this.escaped||b.add(this.quote,this.currentFileInfo,this.index),b.add(this.value),this.escaped||b.add(this.quote)},f.prototype.containsVariables=function(){return this.value.match(/(`([^`]+)`)|@\{([\w-]+)\}/)},f.prototype.eval=function(a){function b(a,b,c){var d=a;do a=d,d=a.replace(b,c);while(a!==d);return d}var c=this,d=this.value,g=function(b,d){return String(c.evaluateJavaScript(d,a))},h=function(b,d){var g=new e("@"+d,c.index,c.currentFileInfo).eval(a,!0);return g instanceof f?g.value:g.toCSS()};return d=b(d,/`([^`]+)`/g,g),d=b(d,/@\{([\w-]+)\}/g,h),new f(this.quote+d+this.quote,d,this.escaped,this.index,this.currentFileInfo)},f.prototype.compare=function(a){return"Quoted"!==a.type||this.escaped||a.escaped?a.toCSS&&this.toCSS()===a.toCSS()?0:void 0:c.numericCompare(this.value,a.value)},b.exports=f},{"./js-eval-node":63,"./node":69,"./variable":81}],73:[function(a,b){function c(a,b){var c,d="",e=b.length,f={add:function(a){d+=a}};for(c=0;e>c;c++)b[c].eval(a).genCSS(a,f);return d}var d=a("./node"),e=a("./value"),f=a("./keyword"),g=function(a,b,c,f,g,h,i,j){this.name=a,this.value=b instanceof d?b:new e([b]),this.important=c?" "+c.trim():"",this.merge=f,this.index=g,this.currentFileInfo=h,this.inline=i||!1,this.variable=void 0!==j?j:a.charAt&&"@"===a.charAt(0)};g.prototype=new d,g.prototype.type="Rule",g.prototype.genCSS=function(a,b){b.add(this.name+(a.compress?":":": "),this.currentFileInfo,this.index);try{this.value.genCSS(a,b)}catch(c){throw c.index=this.index,c.filename=this.currentFileInfo.filename,c}b.add(this.important+(this.inline||a.lastRule&&a.compress?"":";"),this.currentFileInfo,this.index)},g.prototype.eval=function(a){var b,d=!1,e=this.name,h=this.variable;"string"!=typeof e&&(e=1===e.length&&e[0]instanceof f?e[0].value:c(a,e),h=!1),"font"!==e||a.strictMath||(d=!0,a.strictMath=!0);try{if(a.importantScope.push({}),b=this.value.eval(a),!this.variable&&"DetachedRuleset"===b.type)throw{message:"Rulesets cannot be evaluated on a property.",index:this.index,filename:this.currentFileInfo.filename};var i=this.important,j=a.importantScope.pop();return!i&&j.important&&(i=j.important),new g(e,b,i,this.merge,this.index,this.currentFileInfo,this.inline,h)}catch(k){throw"number"!=typeof k.index&&(k.index=this.index,k.filename=this.currentFileInfo.filename),k}finally{d&&(a.strictMath=!1)}},g.prototype.makeImportant=function(){return new g(this.name,this.value,"!important",this.merge,this.index,this.currentFileInfo,this.inline)};var h=function(a){Array.isArray(a)?a.forEach(function(a){h(a)}):a.markReferenced&&a.markReferenced()};g.prototype.markReferenced=function(){this.value&&h(this.value)},b.exports=g},{"./keyword":64,"./node":69,"./value":80}],74:[function(a,b){var c=a("./node"),d=a("./variable"),e=function(a){this.variable=a};e.prototype=new c,e.prototype.type="RulesetCall",e.prototype.eval=function(a){var b=new d(this.variable).eval(a);return b.callEval(a)},b.exports=e},{"./node":69,"./variable":81}],75:[function(a,b){var c=a("./node"),d=a("./rule"),e=a("./selector"),f=a("./element"),g=a("./paren"),h=a("../contexts"),i=a("../functions/function-registry"),j=a("../functions/default"),k=a("./debug-info"),l=function(a,b,c){this.selectors=a,this.rules=b,this._lookups={},this.strictImports=c};l.prototype=new c,l.prototype.type="Ruleset",l.prototype.isRuleset=!0,l.prototype.isRulesetLike=!0,l.prototype.accept=function(a){this.paths?a.visitArray(this.paths,!0):this.selectors&&(this.selectors=a.visitArray(this.selectors)),this.rules&&this.rules.length&&(this.rules=a.visitArray(this.rules))},l.prototype.eval=function(a){var b,c,e,f,g=this.selectors,h=!1;if(g&&(c=g.length)){for(b=[],j.error({type:"Syntax",message:"it is currently only allowed in parametric mixin guards,"}),f=0;c>f;f++)e=g[f].eval(a),b.push(e),e.evaldCondition&&(h=!0);j.reset()}else h=!0;var k,m,n=this.rules?this.rules.slice(0):null,o=new l(b,n,this.strictImports);o.originalRuleset=this,o.root=this.root,o.firstRoot=this.firstRoot,o.allowImports=this.allowImports,this.debugInfo&&(o.debugInfo=this.debugInfo),h||(n.length=0),o.functionRegistry=function(a){for(var b,c=0,d=a.length;c!==d;++c)if(b=a[c].functionRegistry)return b;return i}(a.frames).inherit();var p=a.frames;p.unshift(o);var q=a.selectors;q||(a.selectors=q=[]),q.unshift(this.selectors),(o.root||o.allowImports||!o.strictImports)&&o.evalImports(a);var r=o.rules,s=r?r.length:0;for(f=0;s>f;f++)r[f].evalFirst&&(r[f]=r[f].eval(a));var t=a.mediaBlocks&&a.mediaBlocks.length||0;for(f=0;s>f;f++)"MixinCall"===r[f].type?(n=r[f].eval(a).filter(function(a){return a instanceof d&&a.variable?!o.variable(a.name):!0}),r.splice.apply(r,[f,1].concat(n)),s+=n.length-1,f+=n.length-1,o.resetCache()):"RulesetCall"===r[f].type&&(n=r[f].eval(a).rules.filter(function(a){return a instanceof d&&a.variable?!1:!0}),r.splice.apply(r,[f,1].concat(n)),s+=n.length-1,f+=n.length-1,o.resetCache());for(f=0;r.length>f;f++)k=r[f],k.evalFirst||(r[f]=k=k.eval?k.eval(a):k);for(f=0;r.length>f;f++)if(k=r[f],k instanceof l&&k.selectors&&1===k.selectors.length&&k.selectors[0].isJustParentSelector()){r.splice(f--,1);for(var u=0;k.rules.length>u;u++)m=k.rules[u],m instanceof d&&m.variable||r.splice(++f,0,m)}if(p.shift(),q.shift(),a.mediaBlocks)for(f=t;a.mediaBlocks.length>f;f++)a.mediaBlocks[f].bubbleSelectors(b);return o},l.prototype.evalImports=function(a){var b,c,d=this.rules;if(d)for(b=0;d.length>b;b++)"Import"===d[b].type&&(c=d[b].eval(a),c&&c.length?(d.splice.apply(d,[b,1].concat(c)),b+=c.length-1):d.splice(b,1,c),this.resetCache())},l.prototype.makeImportant=function(){var a=new l(this.selectors,this.rules.map(function(a){return a.makeImportant?a.makeImportant():a}),this.strictImports);return a},l.prototype.matchArgs=function(a){return!a||0===a.length},l.prototype.matchCondition=function(a,b){var c=this.selectors[this.selectors.length-1];return c.evaldCondition?c.condition&&!c.condition.eval(new h.Eval(b,b.frames))?!1:!0:!1},l.prototype.resetCache=function(){this._rulesets=null,this._variables=null,this._lookups={}},l.prototype.variables=function(){return this._variables||(this._variables=this.rules?this.rules.reduce(function(a,b){if(b instanceof d&&b.variable===!0&&(a[b.name]=b),"Import"===b.type&&b.root&&b.root.variables){var c=b.root.variables();for(var e in c)c.hasOwnProperty(e)&&(a[e]=c[e])}return a},{}):{}),this._variables},l.prototype.variable=function(a){return this.variables()[a]},l.prototype.rulesets=function(){if(!this.rules)return[];var a,b,c=[],d=this.rules,e=d.length;for(a=0;e>a;a++)b=d[a],b.isRuleset&&c.push(b);return c},l.prototype.prependRule=function(a){var b=this.rules;b?b.unshift(a):this.rules=[a]},l.prototype.find=function(a,b,c){b=b||this;var d,f,g=[],h=a.toCSS();return h in this._lookups?this._lookups[h]:(this.rulesets().forEach(function(h){if(h!==b)for(var i=0;h.selectors.length>i;i++)if(d=a.match(h.selectors[i])){if(a.elements.length>d){if(!c||c(h)){f=h.find(new e(a.elements.slice(d)),b,c);for(var j=0;f.length>j;++j)f[j].path.push(h);Array.prototype.push.apply(g,f)}}else g.push({rule:h,path:[]});break}}),this._lookups[h]=g,g)},l.prototype.genCSS=function(a,b){function c(a){return"boolean"==typeof a.isRulesetLike?a.isRulesetLike:"function"==typeof a.isRulesetLike?a.isRulesetLike():!1}var d,e,f,g,h,i=[],j=[];a.tabLevel=a.tabLevel||0,this.root||a.tabLevel++;var l,m=a.compress?"":Array(a.tabLevel+1).join(" "),n=a.compress?"":Array(a.tabLevel).join(" "),o=0,p=0;for(d=0;this.rules.length>d;d++)g=this.rules[d],"Comment"===g.type?(p===d&&p++,j.push(g)):g.isCharset&&g.isCharset()?(j.splice(o,0,g),o++,p++):"Import"===g.type?(j.splice(p,0,g),p++):j.push(g);if(j=i.concat(j),!this.root){f=k(a,this,n),f&&(b.add(f),b.add(n));var q,r=this.paths,s=r.length;for(l=a.compress?",":",\n"+n,d=0;s>d;d++)if(h=r[d],q=h.length)for(d>0&&b.add(l),a.firstSelector=!0,h[0].genCSS(a,b),a.firstSelector=!1,e=1;q>e;e++)h[e].genCSS(a,b);b.add((a.compress?"{":" {\n")+m)}for(d=0;j.length>d;d++){g=j[d],d+1===j.length&&(a.lastRule=!0);var t=a.lastRule;c(g)&&(a.lastRule=!1),g.genCSS?g.genCSS(a,b):g.value&&b.add(g.value.toString()),a.lastRule=t,a.lastRule?a.lastRule=!1:b.add(a.compress?"":"\n"+m)}this.root||(b.add(a.compress?"}":"\n"+n+"}"),a.tabLevel--),b.isEmpty()||a.compress||!this.firstRoot||b.add("\n")},l.prototype.markReferenced=function(){var a;if(this.selectors)for(a=0;this.selectors.length>a;a++)this.selectors[a].markReferenced();if(this.rules)for(a=0;this.rules.length>a;a++)this.rules[a].markReferenced&&this.rules[a].markReferenced()},l.prototype.getIsReferenced=function(){var a,b,c,d;if(this.paths)for(a=0;this.paths.length>a;a++)for(c=this.paths[a],b=0;c.length>b;b++)if(c[b].getIsReferenced&&c[b].getIsReferenced())return!0;if(this.selectors)for(a=0;this.selectors.length>a;a++)if(d=this.selectors[a],d.getIsReferenced&&d.getIsReferenced())return!0;return!1},l.prototype.joinSelectors=function(a,b,c){for(var d=0;c.length>d;d++)this.joinSelector(a,b,c[d])},l.prototype.joinSelector=function(a,b,c){function d(a,b){var c,d;if(0===a.length)c=new g(a[0]);else{var h=[];for(d=0;a.length>d;d++)h.push(new f(null,a[d],b.index,b.currentFileInfo));c=new g(new e(h))}return c}function h(a,b){var c,d;return c=new f(null,a,b.index,b.currentFileInfo),d=new e([c])}function i(a,b,c){function e(a){var b;return"Paren"!==a.value.type?null:(b=a.value.value,"Selector"!==b.type?null:b)}var g,m,n,o,p,q,r,s,t,u,v=!1;for(o=[],p=[[]],g=0;c.elements.length>g;g++)if(s=c.elements[g],"&"!==s.value){var w=e(s);if(null!=w){l(o,p);var x,y=[],z=[];for(x=i(y,b,w),v=v||x,n=0;y.length>n;n++){var A=h(d(y[n],s),s);k(p,[A],s,c,z)}p=z,o=[]}else o.push(s)}else{for(v=!0,q=[],l(o,p),m=0;p.length>m;m++)if(r=p[m],0===b.length)r.length>0&&r[0].elements.push(new f(s.combinator,"",s.index,s.currentFileInfo)),q.push(r);else for(n=0;b.length>n;n++){var B=j(r,b[n],s,c);q.push(B)}p=q,o=[]}for(l(o,p),g=0;p.length>g;g++)t=p[g].length,t>0&&(a.push(p[g]),u=p[g][t-1],p[g][t-1]=u.createDerived(u.elements,c.extendList));return v}function j(a,b,c,d){var e,g,h;if(e=[],a.length>0?(e=a.slice(0),g=e.pop(),h=d.createDerived(g.elements.slice(0))):h=d.createDerived([]),b.length>0){var i=c.combinator,j=b[0].elements[0];i.emptyOrWhitespace&&!j.combinator.emptyOrWhitespace&&(i=j.combinator),h.elements.push(new f(i,j.value,c.index,c.currentFileInfo)),h.elements=h.elements.concat(b[0].elements.slice(1))}return 0!==h.elements.length&&e.push(h),b.length>1&&(e=e.concat(b.slice(1))),e}function k(a,b,c,d,e){var f;for(f=0;a.length>f;f++){var g=j(a[f],b,c,d);e.push(g)}return e}function l(a,b){var c,d;if(0!==a.length){if(0===b.length)return void b.push([new e(a)]);for(c=0;b.length>c;c++)d=b[c],d.length>0?d[d.length-1]=d[d.length-1].createDerived(d[d.length-1].elements.concat(a)):d.push(new e(a))}}var m,n,o;if(n=[],o=i(n,b,c),!o)if(b.length>0)for(n=[],m=0;b.length>m;m++)n.push(b[m].concat(c));else n=[[c]];for(m=0;n.length>m;m++)a.push(n[m])},b.exports=l},{"../contexts":10,"../functions/default":19,"../functions/function-registry":21,"./debug-info":53,"./element":57,"./node":69,"./paren":71,"./rule":73,"./selector":76}],76:[function(a,b){var c=a("./node"),d=a("./element"),e=function(a,b,c,d,e,f){this.elements=a,this.extendList=b,this.condition=c,this.currentFileInfo=e||{},this.isReferenced=f,c||(this.evaldCondition=!0)};e.prototype=new c,e.prototype.type="Selector",e.prototype.accept=function(a){this.elements&&(this.elements=a.visitArray(this.elements)),this.extendList&&(this.extendList=a.visitArray(this.extendList)),this.condition&&(this.condition=a.visit(this.condition))},e.prototype.createDerived=function(a,b,c){c=null!=c?c:this.evaldCondition;var d=new e(a,b||this.extendList,null,this.index,this.currentFileInfo,this.isReferenced);return d.evaldCondition=c,d.mediaEmpty=this.mediaEmpty,d},e.prototype.createEmptySelectors=function(){var a=new d("","&",this.index,this.currentFileInfo),b=[new e([a],null,null,this.index,this.currentFileInfo)];return b[0].mediaEmpty=!0,b},e.prototype.match=function(a){var b,c,d=this.elements,e=d.length;if(a.CacheElements(),b=a._elements.length,0===b||b>e)return 0;for(c=0;b>c;c++)if(d[c].value!==a._elements[c])return 0;return b},e.prototype.CacheElements=function(){if(!this._elements){var a=this.elements.map(function(a){return a.combinator.value+(a.value.value||a.value)}).join("").match(/[,&#\*\.\w-]([\w-]|(\\.))*/g);a?"&"===a[0]&&a.shift():a=[],this._elements=a}},e.prototype.isJustParentSelector=function(){return!this.mediaEmpty&&1===this.elements.length&&"&"===this.elements[0].value&&(" "===this.elements[0].combinator.value||""===this.elements[0].combinator.value)},e.prototype.eval=function(a){var b=this.condition&&this.condition.eval(a),c=this.elements,d=this.extendList;return c=c&&c.map(function(b){return b.eval(a)}),d=d&&d.map(function(b){return b.eval(a)}),this.createDerived(c,d,b)},e.prototype.genCSS=function(a,b){var c,d;if(a&&a.firstSelector||""!==this.elements[0].combinator.value||b.add(" ",this.currentFileInfo,this.index),!this._css)for(c=0;this.elements.length>c;c++)d=this.elements[c],d.genCSS(a,b)},e.prototype.markReferenced=function(){this.isReferenced=!0},e.prototype.getIsReferenced=function(){return!this.currentFileInfo.reference||this.isReferenced},e.prototype.getIsOutput=function(){return this.evaldCondition},b.exports=e},{"./element":57,"./node":69}],77:[function(a,b){var c=a("./node"),d=function(a){this.value=a};d.prototype=new c,d.prototype.type="UnicodeDescriptor",b.exports=d},{"./node":69}],78:[function(a,b){var c=a("./node"),d=a("../data/unit-conversions"),e=function(a,b,c){this.numerator=a?a.slice(0).sort():[],this.denominator=b?b.slice(0).sort():[],c?this.backupUnit=c:a&&a.length&&(this.backupUnit=a[0])};e.prototype=new c,e.prototype.type="Unit",e.prototype.clone=function(){return new e(this.numerator.slice(0),this.denominator.slice(0),this.backupUnit)},e.prototype.genCSS=function(a,b){var c=a&&a.strictUnits;1===this.numerator.length?b.add(this.numerator[0]):!c&&this.backupUnit?b.add(this.backupUnit):!c&&this.denominator.length&&b.add(this.denominator[0])},e.prototype.toString=function(){var a,b=this.numerator.join("*");for(a=0;this.denominator.length>a;a++)b+="/"+this.denominator[a];return b},e.prototype.compare=function(a){return this.is(a.toString())?0:void 0},e.prototype.is=function(a){return this.toString().toUpperCase()===a.toUpperCase()},e.prototype.isLength=function(){return Boolean(this.toCSS().match(/px|em|%|in|cm|mm|pc|pt|ex/))},e.prototype.isEmpty=function(){return 0===this.numerator.length&&0===this.denominator.length},e.prototype.isSingular=function(){return 1>=this.numerator.length&&0===this.denominator.length},e.prototype.map=function(a){var b;for(b=0;this.numerator.length>b;b++)this.numerator[b]=a(this.numerator[b],!1);for(b=0;this.denominator.length>b;b++)this.denominator[b]=a(this.denominator[b],!0)},e.prototype.usedUnits=function(){var a,b,c={};b=function(b){return a.hasOwnProperty(b)&&!c[e]&&(c[e]=b),b};for(var e in d)d.hasOwnProperty(e)&&(a=d[e],this.map(b));return c},e.prototype.cancel=function(){var a,b,c={};for(b=0;this.numerator.length>b;b++)a=this.numerator[b],c[a]=(c[a]||0)+1;for(b=0;this.denominator.length>b;b++)a=this.denominator[b],c[a]=(c[a]||0)-1;this.numerator=[],this.denominator=[];for(a in c)if(c.hasOwnProperty(a)){var d=c[a];if(d>0)for(b=0;d>b;b++)this.numerator.push(a);else if(0>d)for(b=0;-d>b;b++)this.denominator.push(a)}this.numerator.sort(),this.denominator.sort()},b.exports=e},{"../data/unit-conversions":13,"./node":69}],79:[function(a,b){var c=a("./node"),d=function(a,b,c,d){this.value=a,this.currentFileInfo=c,this.index=b,this.isEvald=d};d.prototype=new c,d.prototype.type="Url",d.prototype.accept=function(a){this.value=a.visit(this.value)},d.prototype.genCSS=function(a,b){b.add("url("),this.value.genCSS(a,b),b.add(")")},d.prototype.eval=function(a){var b,c=this.value.eval(a);if(!this.isEvald&&(b=this.currentFileInfo&&this.currentFileInfo.rootpath,b&&"string"==typeof c.value&&a.isPathRelative(c.value)&&(c.quote||(b=b.replace(/[\(\)'"\s]/g,function(a){return"\\"+a})),c.value=b+c.value),c.value=a.normalizePath(c.value),a.urlArgs&&!c.value.match(/^\s*data:/))){var e=-1===c.value.indexOf("?")?"?":"&",f=e+a.urlArgs;-1!==c.value.indexOf("#")?c.value=c.value.replace("#",f+"#"):c.value+=f}return new d(c,this.index,this.currentFileInfo,!0)},b.exports=d},{"./node":69}],80:[function(a,b){var c=a("./node"),d=function(a){if(this.value=a,!a)throw new Error("Value requires an array argument")};d.prototype=new c,d.prototype.type="Value",d.prototype.accept=function(a){this.value&&(this.value=a.visitArray(this.value))},d.prototype.eval=function(a){return 1===this.value.length?this.value[0].eval(a):new d(this.value.map(function(b){return b.eval(a)}))},d.prototype.genCSS=function(a,b){var c;for(c=0;this.value.length>c;c++)this.value[c].genCSS(a,b),this.value.length>c+1&&b.add(a&&a.compress?",":", ")},b.exports=d},{"./node":69}],81:[function(a,b){var c=a("./node"),d=function(a,b,c){this.name=a,this.index=b,this.currentFileInfo=c||{}};d.prototype=new c,d.prototype.type="Variable",d.prototype.eval=function(a){var b,c=this.name;if(0===c.indexOf("@@")&&(c="@"+new d(c.slice(1),this.index,this.currentFileInfo).eval(a).value),this.evaluating)throw{type:"Name",message:"Recursive variable definition for "+c,filename:this.currentFileInfo.filename,index:this.index};if(this.evaluating=!0,b=this.find(a.frames,function(b){var d=b.variable(c);if(d){if(d.important){var e=a.importantScope[a.importantScope.length-1];e.important=d.important}return d.value.eval(a)}}))return this.evaluating=!1,b;throw{type:"Name",message:"variable "+c+" is undefined",filename:this.currentFileInfo.filename,index:this.index}},d.prototype.find=function(a,b){for(var c,d=0;a.length>d;d++)if(c=b.call(a,a[d]))return c;return null},b.exports=d},{"./node":69}],82:[function(a,b){b.exports={getLocation:function(a,b){for(var c=a+1,d=null,e=-1;--c>=0&&"\n"!==b.charAt(c);)e++;return"number"==typeof a&&(d=(b.slice(0,a).match(/\n/g)||"").length),{line:d,column:e}}}},{}],83:[function(a,b){var c=a("../tree"),d=a("./visitor"),e=a("../logger"),f=function(){this._visitor=new d(this),this.contexts=[],this.allExtendsStack=[[]]};f.prototype={run:function(a){return a=this._visitor.visit(a),a.allExtends=this.allExtendsStack[0],a},visitRule:function(a,b){b.visitDeeper=!1},visitMixinDefinition:function(a,b){b.visitDeeper=!1},visitRuleset:function(a){if(!a.root){var b,d,e,f,g=[],h=a.rules,i=h?h.length:0;for(b=0;i>b;b++)a.rules[b]instanceof c.Extend&&(g.push(h[b]),a.extendOnEveryPath=!0);var j=a.paths;for(b=0;j.length>b;b++){var k=j[b],l=k[k.length-1],m=l.extendList;for(f=m?m.slice(0).concat(g):g,f&&(f=f.map(function(a){return a.clone()})),d=0;f.length>d;d++)this.foundExtends=!0,e=f[d],e.findSelfSelectors(k),e.ruleset=a,0===d&&(e.firstExtendOnThisSelectorPath=!0),this.allExtendsStack[this.allExtendsStack.length-1].push(e)}this.contexts.push(a.selectors)}},visitRulesetOut:function(a){a.root||(this.contexts.length=this.contexts.length-1)},visitMedia:function(a){a.allExtends=[],this.allExtendsStack.push(a.allExtends)},visitMediaOut:function(){this.allExtendsStack.length=this.allExtendsStack.length-1},visitDirective:function(a){a.allExtends=[],this.allExtendsStack.push(a.allExtends)},visitDirectiveOut:function(){this.allExtendsStack.length=this.allExtendsStack.length-1}};var g=function(){this._visitor=new d(this)};g.prototype={run:function(a){var b=new f;if(this.extendIndicies={},b.run(a),!b.foundExtends)return a;a.allExtends=a.allExtends.concat(this.doExtendChaining(a.allExtends,a.allExtends)),this.allExtendsStack=[a.allExtends];var c=this._visitor.visit(a);return this.checkExtendsForNonMatched(a.allExtends),c},checkExtendsForNonMatched:function(a){var b=this.extendIndicies;a.filter(function(a){return!a.hasFoundMatches&&1==a.parent_ids.length}).forEach(function(a){var c="_unknown_";try{c=a.selector.toCSS({})}catch(d){}b[a.index+" "+c]||(b[a.index+" "+c]=!0,e.warn("extend '"+c+"' has no matches"))})},doExtendChaining:function(a,b,d){var e,f,g,h,i,j,k,l,m=[],n=this;for(d=d||0,e=0;a.length>e;e++)for(f=0;b.length>f;f++)j=a[e],k=b[f],j.parent_ids.indexOf(k.object_id)>=0||(i=[k.selfSelectors[0]],g=n.findMatch(j,i),g.length&&(j.hasFoundMatches=!0,j.selfSelectors.forEach(function(a){h=n.extendSelector(g,i,a),l=new c.Extend(k.selector,k.option,0),l.selfSelectors=h,h[h.length-1].extendList=[l],m.push(l),l.ruleset=k.ruleset,l.parent_ids=l.parent_ids.concat(k.parent_ids,j.parent_ids),k.firstExtendOnThisSelectorPath&&(l.firstExtendOnThisSelectorPath=!0,k.ruleset.paths.push(h))})));if(m.length){if(this.extendChainCount++,d>100){var o="{unable to calculate}",p="{unable to calculate}";try{o=m[0].selfSelectors[0].toCSS(),p=m[0].selector.toCSS()}catch(q){}throw{message:"extend circular reference detected. One of the circular extends is currently:"+o+":extend("+p+")"}}return m.concat(n.doExtendChaining(m,b,d+1))}return m},visitRule:function(a,b){b.visitDeeper=!1},visitMixinDefinition:function(a,b){b.visitDeeper=!1},visitSelector:function(a,b){b.visitDeeper=!1},visitRuleset:function(a){if(!a.root){var b,c,d,e,f=this.allExtendsStack[this.allExtendsStack.length-1],g=[],h=this;for(d=0;f.length>d;d++)for(c=0;a.paths.length>c;c++)if(e=a.paths[c],!a.extendOnEveryPath){var i=e[e.length-1].extendList;i&&i.length||(b=this.findMatch(f[d],e),b.length&&(f[d].hasFoundMatches=!0,f[d].selfSelectors.forEach(function(a){g.push(h.extendSelector(b,e,a))})))}a.paths=a.paths.concat(g)}},findMatch:function(a,b){var c,d,e,f,g,h,i,j=this,k=a.selector.elements,l=[],m=[];for(c=0;b.length>c;c++)for(d=b[c],e=0;d.elements.length>e;e++)for(f=d.elements[e],(a.allowBefore||0===c&&0===e)&&l.push({pathIndex:c,index:e,matched:0,initialCombinator:f.combinator}),h=0;l.length>h;h++)i=l[h],g=f.combinator.value,""===g&&0===e&&(g=" "),!j.isElementValuesEqual(k[i.matched].value,f.value)||i.matched>0&&k[i.matched].combinator.value!==g?i=null:i.matched++,i&&(i.finished=i.matched===k.length,i.finished&&!a.allowAfter&&(d.elements.length>e+1||b.length>c+1)&&(i=null)),i?i.finished&&(i.length=k.length,i.endPathIndex=c,i.endPathElementIndex=e+1,l.length=0,m.push(i)):(l.splice(h,1),h--);return m},isElementValuesEqual:function(a,b){if("string"==typeof a||"string"==typeof b)return a===b;if(a instanceof c.Attribute)return a.op!==b.op||a.key!==b.key?!1:a.value&&b.value?(a=a.value.value||a.value,b=b.value.value||b.value,a===b):a.value||b.value?!1:!0;if(a=a.value,b=b.value,a instanceof c.Selector){if(!(b instanceof c.Selector)||a.elements.length!==b.elements.length)return!1;for(var d=0;a.elements.length>d;d++){if(a.elements[d].combinator.value!==b.elements[d].combinator.value&&(0!==d||(a.elements[d].combinator.value||" ")!==(b.elements[d].combinator.value||" ")))return!1;if(!this.isElementValuesEqual(a.elements[d].value,b.elements[d].value))return!1}return!0}return!1},extendSelector:function(a,b,d){var e,f,g,h,i,j=0,k=0,l=[];for(e=0;a.length>e;e++)h=a[e],f=b[h.pathIndex],g=new c.Element(h.initialCombinator,d.elements[0].value,d.elements[0].index,d.elements[0].currentFileInfo),h.pathIndex>j&&k>0&&(l[l.length-1].elements=l[l.length-1].elements.concat(b[j].elements.slice(k)),k=0,j++),i=f.elements.slice(k,h.index).concat([g]).concat(d.elements.slice(1)),j===h.pathIndex&&e>0?l[l.length-1].elements=l[l.length-1].elements.concat(i):(l=l.concat(b.slice(j,h.pathIndex)),l.push(new c.Selector(i))),j=h.endPathIndex,k=h.endPathElementIndex,k>=b[j].elements.length&&(k=0,j++);return b.length>j&&k>0&&(l[l.length-1].elements=l[l.length-1].elements.concat(b[j].elements.slice(k)),j++),l=l.concat(b.slice(j,b.length))},visitRulesetOut:function(){},visitMedia:function(a){var b=a.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);b=b.concat(this.doExtendChaining(b,a.allExtends)),this.allExtendsStack.push(b)},visitMediaOut:function(){var a=this.allExtendsStack.length-1;this.allExtendsStack.length=a},visitDirective:function(a){var b=a.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);b=b.concat(this.doExtendChaining(b,a.allExtends)),this.allExtendsStack.push(b)},visitDirectiveOut:function(){var a=this.allExtendsStack.length-1;this.allExtendsStack.length=a}},b.exports=g},{"../logger":32,"../tree":61,"./visitor":89}],84:[function(a,b){function c(a){this.imports=[],this.variableImports=[],this._onSequencerEmpty=a,this._currentDepth=0}c.prototype.addImport=function(a){var b=this,c={callback:a,args:null,isReady:!1};return this.imports.push(c),function(){c.args=Array.prototype.slice.call(arguments,0),c.isReady=!0,b.tryRun()}},c.prototype.addVariableImport=function(a){this.variableImports.push(a)},c.prototype.tryRun=function(){this._currentDepth++;try{for(;;){for(;this.imports.length>0;){var a=this.imports[0];if(!a.isReady)return;this.imports=this.imports.slice(1),a.callback.apply(null,a.args)}if(0===this.variableImports.length)break;var b=this.variableImports[0];this.variableImports=this.variableImports.slice(1),b()}}finally{this._currentDepth--}0===this._currentDepth&&this._onSequencerEmpty&&this._onSequencerEmpty()},b.exports=c},{}],85:[function(a,b){var c=a("../contexts"),d=a("./visitor"),e=a("./import-sequencer"),f=function(a,b){this._visitor=new d(this),this._importer=a,this._finish=b,this.context=new c.Eval,this.importCount=0,this.onceFileDetectionMap={},this.recursionDetector={},this._sequencer=new e(this._onSequencerEmpty.bind(this))};f.prototype={isReplacing:!1,run:function(a){try{this._visitor.visit(a)}catch(b){this.error=b}this.isFinished=!0,this._sequencer.tryRun()},_onSequencerEmpty:function(){this.isFinished&&this._finish(this.error)},visitImport:function(a,b){var d=a.options.inline;if(!a.css||d){var e=new c.Eval(this.context,this.context.frames.slice(0)),f=e.frames[0];this.importCount++,a.isVariableImport()?this._sequencer.addVariableImport(this.processImportNode.bind(this,a,e,f)):this.processImportNode(a,e,f)}b.visitDeeper=!1},processImportNode:function(a,b,c){var d,e=a.options.inline;try{d=a.evalForImport(b)}catch(f){f.filename||(f.index=a.index,f.filename=a.currentFileInfo.filename),a.css=!0,a.error=f}if(!d||d.css&&!e)this.importCount--,this.isFinished&&this._sequencer.tryRun();else{d.options.multiple&&(b.importMultiple=!0);for(var g=void 0===d.css,h=0;c.rules.length>h;h++)if(c.rules[h]===a){c.rules[h]=d;break}var i=this.onImported.bind(this,d,b),j=this._sequencer.addImport(i);this._importer.push(d.getPath(),g,d.currentFileInfo,d.options,j)}},onImported:function(a,b,c,d,e,f){c&&(c.filename||(c.index=a.index,c.filename=a.currentFileInfo.filename),this.error=c);var g=this,h=a.options.inline,i=a.options.plugin,j=a.options.optional,k=e||f in g.recursionDetector;if(b.importMultiple||(a.skip=k?!0:function(){return f in g.onceFileDetectionMap?!0:(g.onceFileDetectionMap[f]=!0,!1)}),!f&&j&&(a.skip=!0),d&&(a.root=d,a.importedFilename=f,!(h||i||!b.importMultiple&&k))){g.recursionDetector[f]=!0;var l=this.context;this.context=b;try{this._visitor.visit(d)}catch(c){this.error=c}this.context=l}g.importCount--,g.isFinished&&g._sequencer.tryRun()},visitRule:function(a,b){"DetachedRuleset"===a.value.type?this.context.frames.unshift(a):b.visitDeeper=!1},visitRuleOut:function(a){"DetachedRuleset"===a.value.type&&this.context.frames.shift()},visitDirective:function(a){this.context.frames.unshift(a)},visitDirectiveOut:function(){this.context.frames.shift()},visitMixinDefinition:function(a){this.context.frames.unshift(a)},visitMixinDefinitionOut:function(){this.context.frames.shift()},visitRuleset:function(a){this.context.frames.unshift(a)},visitRulesetOut:function(){this.context.frames.shift()},visitMedia:function(a){this.context.frames.unshift(a.rules[0])},visitMediaOut:function(){this.context.frames.shift()}},b.exports=f},{"../contexts":10,"./import-sequencer":84,"./visitor":89}],86:[function(a,b){var c={Visitor:a("./visitor"),ImportVisitor:a("./import-visitor"),ExtendVisitor:a("./extend-visitor"),JoinSelectorVisitor:a("./join-selector-visitor"),ToCSSVisitor:a("./to-css-visitor")};b.exports=c},{"./extend-visitor":83,"./import-visitor":85,"./join-selector-visitor":87,"./to-css-visitor":88,"./visitor":89 +}],87:[function(a,b){var c=a("./visitor"),d=function(){this.contexts=[[]],this._visitor=new c(this)};d.prototype={run:function(a){return this._visitor.visit(a)},visitRule:function(a,b){b.visitDeeper=!1},visitMixinDefinition:function(a,b){b.visitDeeper=!1},visitRuleset:function(a){var b,c=this.contexts[this.contexts.length-1],d=[];this.contexts.push(d),a.root||(b=a.selectors,b&&(b=b.filter(function(a){return a.getIsOutput()}),a.selectors=b.length?b:b=null,b&&a.joinSelectors(d,c,b)),b||(a.rules=null),a.paths=d)},visitRulesetOut:function(){this.contexts.length=this.contexts.length-1},visitMedia:function(a){var b=this.contexts[this.contexts.length-1];a.rules[0].root=0===b.length||b[0].multiMedia},visitDirective:function(a){var b=this.contexts[this.contexts.length-1];a.rules&&a.rules.length&&(a.rules[0].root=a.isRooted||0===b.length||null)}},b.exports=d},{"./visitor":89}],88:[function(a,b){var c=a("../tree"),d=a("./visitor"),e=function(a){this._visitor=new d(this),this._context=a};e.prototype={isReplacing:!0,run:function(a){return this._visitor.visit(a)},visitRule:function(a){return a.variable?void 0:a},visitMixinDefinition:function(a){a.frames=[]},visitExtend:function(){},visitComment:function(a){return a.isSilent(this._context)?void 0:a},visitMedia:function(a,b){return a.accept(this._visitor),b.visitDeeper=!1,a.rules.length?a:void 0},visitImport:function(a){return void 0!==a.path.currentFileInfo.reference&&a.css?void 0:a},visitDirective:function(a,b){function d(a){var b,c=a.rules;1!==c.length||c[0].paths&&0!==c[0].paths.length||(c=c[0].rules);for(var d=0;c.length>d;d++)if(b=c[d],b.getIsReferenced&&b.getIsReferenced())return!0;return!1}if("@charset"===a.name){if(!a.getIsReferenced())return;if(this.charset){if(a.debugInfo){var e=new c.Comment("/* "+a.toCSS(this._context).replace(/\n/g,"")+" */\n");return e.debugInfo=a.debugInfo,this._visitor.visit(e)}return}this.charset=!0}if(a.rules&&a.rules.length){if(this._mergeRules(a.rules[0].rules),a.accept(this._visitor),b.visitDeeper=!1,a.getIsReferenced())return a;if(!a.rules||!a.rules.length)return;if(d(a))return a.markReferenced(),a}else if(a.getIsReferenced())return a},checkPropertiesInRoot:function(a){for(var b,d=0;a.length>d;d++)if(b=a[d],b instanceof c.Rule&&!b.variable)throw{message:"properties must be inside selector blocks, they cannot be in the root.",index:b.index,filename:b.currentFileInfo?b.currentFileInfo.filename:null}},visitRuleset:function(a,b){var d,e=[];if(a.firstRoot&&this.checkPropertiesInRoot(a.rules),a.root)a.accept(this._visitor),b.visitDeeper=!1,(a.firstRoot||a.rules&&a.rules.length>0)&&e.splice(0,0,a);else{a.paths&&(a.paths=a.paths.filter(function(a){var b;for(" "===a[0].elements[0].combinator.value&&(a[0].elements[0].combinator=new c.Combinator("")),b=0;a.length>b;b++)if(a[b].getIsReferenced()&&a[b].getIsOutput())return!0;return!1}));for(var f=a.rules,g=f?f.length:0,h=0;g>h;)d=f[h],d&&d.rules?(e.push(this._visitor.visit(d)),f.splice(h,1),g--):h++;g>0?a.accept(this._visitor):a.rules=null,b.visitDeeper=!1,f=a.rules,f&&(this._mergeRules(f),f=a.rules),f&&(this._removeDuplicateRules(f),f=a.rules),f&&f.length>0&&a.paths.length>0&&e.splice(0,0,a)}return 1===e.length?e[0]:e},_removeDuplicateRules:function(a){if(a){var b,d,e,f={};for(e=a.length-1;e>=0;e--)if(d=a[e],d instanceof c.Rule)if(f[d.name]){b=f[d.name],b instanceof c.Rule&&(b=f[d.name]=[f[d.name].toCSS(this._context)]);var g=d.toCSS(this._context);-1!==b.indexOf(g)?a.splice(e,1):b.push(g)}else f[d.name]=d}},_mergeRules:function(a){if(a){for(var b,d,e,f={},g=0;a.length>g;g++)d=a[g],d instanceof c.Rule&&d.merge&&(e=[d.name,d.important?"!":""].join(","),f[e]?a.splice(g--,1):f[e]=[],f[e].push(d));Object.keys(f).map(function(a){function e(a){return new c.Expression(a.map(function(a){return a.value}))}function g(a){return new c.Value(a.map(function(a){return a}))}if(b=f[a],b.length>1){d=b[0];var h=[],i=[];b.map(function(a){"+"===a.merge&&(i.length>0&&h.push(e(i)),i=[]),i.push(a)}),h.push(e(i)),d.value=g(h)}})}},visitAnonymous:function(a){return a.getIsReferenced()?(a.accept(this._visitor),a):void 0}},b.exports=e},{"../tree":61,"./visitor":89}],89:[function(a,b){function c(a){return a}function d(a,b){var c,e;for(c in a)if(a.hasOwnProperty(c))switch(e=a[c],typeof e){case"function":e.prototype&&e.prototype.type&&(e.prototype.typeIndex=b++);break;case"object":b=d(e,b)}return b}var e=a("../tree"),f={visitDeeper:!0},g=!1,h=function(a){this._implementation=a,this._visitFnCache=[],g||(d(e,1),g=!0)};h.prototype={visit:function(a){if(!a)return a;var b=a.typeIndex;if(!b)return a;var d,e=this._visitFnCache,g=this._implementation,h=b<<1,i=1|h,j=e[h],k=e[i],l=f;if(l.visitDeeper=!0,j||(d="visit"+a.type,j=g[d]||c,k=g[d+"Out"]||c,e[h]=j,e[i]=k),j!==c){var m=j.call(g,a,l);g.isReplacing&&(a=m)}return l.visitDeeper&&a&&a.accept&&a.accept(this),k!=c&&k.call(g,a),a},visitArray:function(a,b){if(!a)return a;var c,d=a.length;if(b||!this._implementation.isReplacing){for(c=0;d>c;c++)this.visit(a[c]);return a}var e=[];for(c=0;d>c;c++){var f=this.visit(a[c]);void 0!==f&&(f.splice?f.length&&this.flatten(f,e):e.push(f))}return e},flatten:function(a,b){b||(b=[]);var c,d,e,f,g,h;for(d=0,c=a.length;c>d;d++)if(e=a[d],void 0!==e)if(e.splice)for(g=0,f=e.length;f>g;g++)h=e[g],void 0!==h&&(h.splice?h.length&&this.flatten(h,b):b.push(h));else b.push(e);return b}},b.exports=h},{"../tree":61}],90:[function(a,b){function c(){if(!g){g=!0;for(var a,b=f.length;b;){a=f,f=[];for(var c=-1;++ca;a++)b(k[a]);k=null}if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof a)throw new TypeError("not a function");var i=null,j=null,k=[],l=this;this.then=function(a,c){return new l.constructor(function(e,f){b(new d(a,c,e,f))})},e(a,c,g)}function d(a,b,c,d){this.onFulfilled="function"==typeof a?a:null,this.onRejected="function"==typeof b?b:null,this.resolve=c,this.reject=d}function e(a,b,c){var d=!1;try{a(function(a){d||(d=!0,b(a))},function(a){d||(d=!0,c(a))})}catch(e){if(d)return;d=!0,c(e)}}var f=a("asap");b.exports=c},{asap:93}],92:[function(a,b){"use strict";function c(a){this.then=function(b){return"function"!=typeof b?this:new d(function(c,d){e(function(){try{c(b(a))}catch(e){d(e)}})})}}var d=a("./core.js"),e=a("asap");b.exports=d,c.prototype=d.prototype;var f=new c(!0),g=new c(!1),h=new c(null),i=new c(void 0),j=new c(0),k=new c("");d.resolve=function(a){if(a instanceof d)return a;if(null===a)return h;if(void 0===a)return i;if(a===!0)return f;if(a===!1)return g;if(0===a)return j;if(""===a)return k;if("object"==typeof a||"function"==typeof a)try{var b=a.then;if("function"==typeof b)return new d(b.bind(a))}catch(e){return new d(function(a,b){b(e)})}return new c(a)},d.all=function(a){var b=Array.prototype.slice.call(a);return new d(function(a,c){function d(f,g){try{if(g&&("object"==typeof g||"function"==typeof g)){var h=g.then;if("function"==typeof h)return void h.call(g,function(a){d(f,a)},c)}b[f]=g,0===--e&&a(b)}catch(i){c(i)}}if(0===b.length)return a([]);for(var e=b.length,f=0;b.length>f;f++)d(f,b[f])})},d.reject=function(a){return new d(function(b,c){c(a)})},d.race=function(a){return new d(function(b,c){a.forEach(function(a){d.resolve(a).then(b,c)})})},d.prototype["catch"]=function(a){return this.then(null,a)}},{"./core.js":91,asap:93}],93:[function(a,b){(function(a){function c(){for(;e.next;){e=e.next;var a=e.task;e.task=void 0;var b=e.domain;b&&(e.domain=void 0,b.enter());try{a()}catch(d){if(i)throw b&&b.exit(),setTimeout(c,0),b&&b.enter(),d;setTimeout(function(){throw d},0)}b&&b.exit()}g=!1}function d(b){f=f.next={task:b,domain:i&&a.domain,next:null},g||(g=!0,h())}var e={task:void 0,next:null},f=e,g=!1,h=void 0,i=!1;if("undefined"!=typeof a&&a.nextTick)i=!0,h=function(){a.nextTick(c)};else if("function"==typeof setImmediate)h="undefined"!=typeof window?setImmediate.bind(window,c):function(){setImmediate(c)};else if("undefined"!=typeof MessageChannel){var j=new MessageChannel;j.port1.onmessage=c,h=function(){j.port2.postMessage(0)}}else h=function(){setTimeout(c,0)};b.exports=d}).call(this,a("_process"))},{_process:90}],94:[function(){"function"!=typeof Promise.prototype.done&&(Promise.prototype.done=function(){var a=arguments.length?this.then.apply(this,arguments):this;a.then(null,function(a){setTimeout(function(){throw a},0)})})},{}],95:[function(a){a("asap");"undefined"==typeof Promise&&(Promise=a("./lib/core.js"),a("./lib/es6-extensions.js")),a("./polyfill-done.js")},{"./lib/core.js":91,"./lib/es6-extensions.js":92,"./polyfill-done.js":94,asap:93}]},{},[2])(2)}); \ No newline at end of file diff --git a/src/App.vue b/src/App.vue new file mode 100644 index 0000000..f571f3c --- /dev/null +++ b/src/App.vue @@ -0,0 +1,130 @@ + + + \ No newline at end of file diff --git a/src/api/http.js b/src/api/http.js new file mode 100644 index 0000000..79ac8d9 --- /dev/null +++ b/src/api/http.js @@ -0,0 +1,203 @@ +/** + * 通用网络请求封装 - 使用 fetch + */ + +const BASE_URL = import.meta.env.VITE_API_URL || 'http://127.0.0.1:3001'; + +// 默认超时时间 15 秒 +const DEFAULT_TIMEOUT = 30000; + +// 错误码定义 +const ERR_CODE = { + SUCCESS: 200, + UNAUTHORIZED: 401, + FORBIDDEN: 403, + NOT_FOUND: 404, + SERVER_ERROR: 500, +}; + +function getHeaders(contentType = 'application/json') { + const headers = { + 'Content-Type': contentType, + }; + const token = localStorage.getItem('member_token'); + if (token) { + headers['Authorization'] = `Bearer ${token}`; + } + return headers; +} + +function handleResponse(response) { + return response.text().then(text => { + let data; + try { + data = JSON.parse(text); + } catch (e) { + // JSON 解析失败,返回原始文本 + return Promise.reject({ + status: response.status, + message: '数据解析失败', + data: null + }); + } + + // 检查 HTTP 状态码 + if (!response.ok) { + return Promise.reject({ + status: response.status, + message: data.message || '请求失败', + data: null + }); + } + + // 检查业务状态码 + if (data.status !== ERR_CODE.SUCCESS) { + return Promise.reject(data); + } + + return data; + }); +} + +/** + * 处理 token 失效 + */ +function handleUnauthorized() { + // 如果 localStorage 中本来就没有 token,说明是未登录状态,不做处理 + if (!localStorage.getItem('member_token')) { + return; + } + + // 清除登录状态 + localStorage.removeItem('member_token'); + localStorage.removeItem('member_username'); + + // 跳转到登录页 + if (window.location.hash !== '#/Login') { + window.location.href = '#/Login'; + } +} + +/** + * 统一错误处理 + */ +function handleError(err) { + // token 失效 + if (err.status === ERR_CODE.UNAUTHORIZED || err.status === ERR_CODE.FORBIDDEN) { + handleUnauthorized(); + } + return Promise.reject(err); +} + +/** + * 带超时的 fetch + */ +function fetchWithTimeout(url, options, timeout = DEFAULT_TIMEOUT) { + return new Promise((resolve, reject) => { + const timer = setTimeout(() => { + clearTimeout(timer); + reject({ status: 0, message: '网络超时,请稍后重试', data: null }); + }, timeout); + + fetch(url, options) + .then(res => { + clearTimeout(timer); + resolve(res); + }) + .catch(err => { + clearTimeout(timer); + reject({ status: 0, message: '网络连接失败', data: null }); + }); + }); +} + +/** + * 通用请求 + * @param {string} url - 请求路径 + * @param {object} data - 请求数据 + * @param {string} method - 请求方法,默认 POST + * @param {number} timeout - 超时时间 ms + * @returns {Promise} + */ +export function request(url, data, method = 'POST', timeout = DEFAULT_TIMEOUT) { + return fetchWithTimeout(BASE_URL + url, { + method, + headers: getHeaders(), + body: JSON.stringify(data), + }, timeout).then(handleResponse).catch(handleError); +} + +export const get = (url, params, timeout = DEFAULT_TIMEOUT) => { + let query = ''; + if (params) { + query = '?' + new URLSearchParams(params).toString(); + } + return fetchWithTimeout(BASE_URL + url + query, { + method: 'GET', + headers: getHeaders(), + }, timeout).then(handleResponse).catch(handleError); +}; + +export const post = (url, data, timeout = DEFAULT_TIMEOUT) => request(url, data, 'POST', timeout); +export const put = (url, data, timeout = DEFAULT_TIMEOUT) => request(url, data, 'PUT', timeout); +export const del = (url, data, timeout = DEFAULT_TIMEOUT) => request(url, data, 'DELETE', timeout); + +/** + * POST FormData 请求 + * @param {string} url - 请求路径 + * @param {FormData} formData - FormData 对象 + * @param {number} timeout - 超时时间 ms + * @returns {Promise} + */ +export function postForm(url, formData, timeout = DEFAULT_TIMEOUT) { + const headers = {}; + const token = localStorage.getItem('member_token'); + if (token) { + headers['Authorization'] = `Bearer ${token}`; + } + return fetchWithTimeout(BASE_URL + url, { + method: 'POST', + headers, + body: formData, + }, timeout).then(handleResponse).catch(handleError); +} + +/** + * 上传文件 + * @param {string} url - 请求路径 + * @param {File[]} files - 文件数组 + * @param {number} timeout - 超时时间 ms(默认 30 秒上传较长) + * @returns {Promise} + */ +export function upload(url, files, timeout = 30000) { + const formData = new FormData(); + files.forEach(file => { + formData.append('file', file); + }); + + const headers = {}; + const token = localStorage.getItem('member_token'); + if (token) { + headers['Authorization'] = `Bearer ${token}`; + } + + return fetchWithTimeout(BASE_URL + url, { + method: 'POST', + headers, + body: formData, + }, timeout) + .then(res => res.text().then(text => { + try { + const data = JSON.parse(text); + if (data.status !== ERR_CODE.SUCCESS) { + return Promise.reject(data); + } + return data; + } catch (e) { + return Promise.reject({ status: 0, message: '数据解析失败', data: null }); + } + })) + .catch(handleError); +} + +export default { get, post, put, del, upload, postForm, request }; \ No newline at end of file diff --git a/src/api/user.js b/src/api/user.js new file mode 100644 index 0000000..1a1381f --- /dev/null +++ b/src/api/user.js @@ -0,0 +1,36 @@ +export function isLogin() { + return !!localStorage.getItem('member_token'); +} + +export function formatGMT(t, format) { + // 传入的格式 "2026-04-01T14:06:56.5879258" + if (!t) + return '' + const index = t.indexOf('T'); + if (index === -1) + return t + const date = t.substring(0, index).split('-') + const time = t.substring(index + 1).split(':') + + const year = date[0].padStart(4, '0'); + const month = date[1].padStart(2, '0'); + const day = date[2].padStart(2, '0'); + + const hour = time[0].padStart(2, '0') + const minute = time[1].padStart(2, '0') + + const sctime = time[2].split('.') + + const second = sctime[0].padStart(2, '0') + const millisecond = sctime[1] ? sctime[1].substring(0, 2).padStart(2, '0') : '00' + return format + .replace('yyyy', year) + .replace('MM', month) + .replace('dd', day) + .replace('HH', hour) + .replace('mm', minute) + .replace('ss', second) + .replace('ms', millisecond); +} + +export default { isLogin, formatGMT }; \ No newline at end of file diff --git a/src/components/AddressSelector.vue b/src/components/AddressSelector.vue new file mode 100644 index 0000000..005bad7 --- /dev/null +++ b/src/components/AddressSelector.vue @@ -0,0 +1,215 @@ + + + + + \ No newline at end of file diff --git a/src/components/BaseList.vue b/src/components/BaseList.vue new file mode 100644 index 0000000..859cbfb --- /dev/null +++ b/src/components/BaseList.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/src/components/BasePage.vue b/src/components/BasePage.vue new file mode 100644 index 0000000..f799243 --- /dev/null +++ b/src/components/BasePage.vue @@ -0,0 +1,58 @@ + + + + \ No newline at end of file diff --git a/src/components/ManagerPopup.vue b/src/components/ManagerPopup.vue new file mode 100644 index 0000000..a06d011 --- /dev/null +++ b/src/components/ManagerPopup.vue @@ -0,0 +1,135 @@ + + + \ No newline at end of file diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..a4ac13d --- /dev/null +++ b/src/main.js @@ -0,0 +1,363 @@ +import { createApp, h, render } from "vue"; +import App from "./App.vue"; +import { createRouter, createWebHashHistory } from "vue-router"; +import { routes } from "./router"; +import less from "less"; +import "./styles/ch.less"; + +import { + showToast, + showLoadingToast, + showSuccessToast, + showFailToast, + showNotify, + showDialog, + showConfirmDialog, + showImagePreview, + closeToast +} from "vant"; +import "vant/es/notify/style"; +import "vant/es/dialog/style"; +import "vant/es/toast/style"; +import "vant/es/image-preview/style"; +import "vant/es/calendar/style"; + + +const app = createApp(App); + +import VueQr from "vue-qr"; +app.component("VueQr", VueQr); + +const router = createRouter({ + history: createWebHashHistory(), + routes, + scrollBehavior(to, from, savedPosition) { + if (to.meta.cache && savedPosition) { + return savedPosition; + } + return { top: 0 }; + } +}); + +app.use(router); + +import pinia from './stores'; +import { useDatadicStore, dictCache } from './stores/datadic'; +import { useUserStore } from './stores/user'; +app.use(pinia); + +const datadicStore = useDatadicStore() +datadicStore.init() + +const userStore = useUserStore() + +// 全局前置守卫 +router.beforeEach((to, from, next) => { + if (to.meta.noLogin) { + return next(); + } + const isLogin = userStore.isLogin; + if (!isLogin) { + return next({ name: 'Login', query: { redirect: to.fullPath } }); + } + next(); +}); + +app.config.globalProperties.$datadic = { + get: (code) => dictCache[code] || null, + getContent: (code) => dictCache[code] ? dictCache[code].contents : '', +} + +app.config.globalProperties.$userInfo = userStore.getUserInfo; + +app.config.globalProperties.$showDialog = showDialog; +app.config.globalProperties.$showConfirmDialog = showConfirmDialog; +app.config.globalProperties.$showNotify = showNotify; +app.config.globalProperties.$showToast = showToast; +app.config.globalProperties.$showLoadingToast = showLoadingToast; +app.config.globalProperties.$showSuccessToast = showSuccessToast; +app.config.globalProperties.$showFailToast = showFailToast; +app.config.globalProperties.$closeToast = closeToast; +app.config.globalProperties.$showImagePreview = showImagePreview; + +app.config.globalProperties.$toMoney = (e, label, length = 2) => { + const num = parseFloat(e).toFixed(length); + const [a, b] = num.split('.'); + return `${a}.<${label}>${b}`; +}; + +app.config.globalProperties.$autoToast = (val, msg, type = 'Fail', isThrow = true) => { + if (val) { + app.config.globalProperties[`$show${type}Toast`](msg); + if (isThrow) + throw msg; + } +}; + +let skeleton; +app.config.globalProperties.$showSkeleton = () => { + if (!skeleton) + skeleton = h(BaseSkeleton); + render(skeleton, document.body); + document.body.appendChild(skeleton.el); +}; +app.config.globalProperties.$closeSkeleton = () => { + if (skeleton && document.body.contains(skeleton.el)) + document.body.removeChild(skeleton.el); +}; + +app.config.globalProperties.$navigate = (e) => { + if (window.__wxjs_environment === 'miniprogram') { + const index = e.indexOf('?'); + let query = ''; + if (index > -1) + query = e.slice(index); + const data = router.resolve({ path: e }); + wx.miniProgram.navigateTo({ + url: `/pages/webview/webview?url=${encodeURIComponent(`${location.origin}/${data.href}${query}`)}`, + }); + } + else { router.push(e); } +}; +app.config.globalProperties.$ls = { + set: (e, obj) => { + localStorage.setItem(e, obj); + }, + get: (e) => { + return localStorage.getItem(e); + }, + remove: (e) => { + localStorage.removeItem(e); + } +}; +app.config.globalProperties.$ss = { + set: (e, obj) => { + sessionStorage.setItem(e, obj); + }, + get: (e) => { + return sessionStorage.getItem(e); + }, + remove: (e) => { + sessionStorage.removeItem(e); + } +}; + +import ObjectHelper from './utils/ObjectHelper'; +import date from './utils/date'; +app.config.globalProperties.$conf = { + apiUrl: import.meta.env.VITE_API_URL, + ossUrl: import.meta.env.VITE_OSS_URL, +}; +app.config.globalProperties.$date = date; +app.config.globalProperties.$copyText = (e) => { return ObjectHelper.Copy(e) }; +app.config.globalProperties.$getRule = (e) => { return ObjectHelper.getRule(e) }; +app.config.globalProperties.$groupBy = (e, key) => { return ObjectHelper.groupBy(e, key) }; +app.config.globalProperties.$unsigned = (e) => { return e > 0 ? e : 0 }; +app.config.globalProperties.$truncate = (e, p, a) => { + return `${e.substring(0, p)}...${e.substring(e.length - a)}`; +}; +app.config.globalProperties.$trunc = (e, p) => { + const tp = Math.pow(10, p); + return Math.trunc(e * tp) / tp; +}; +app.config.globalProperties.$valid = (field, msg) => { + if (!field) { + app.config.globalProperties.$showFailToast(msg); + return false; + } + return true; +}; +app.config.globalProperties.$token = (e) => { + const token = localStorage.getItem(e === 'token' ? 'member_token' : e).split('.'); + return { + header: JSON.parse(atob(token[0])), + payload: JSON.parse(atob(token[1])), + } +}; +app.config.globalProperties.$file = (e) => { + if (!e) return '/img/avatar.png'; + if (typeof e !== 'string') return '/img/avatar.png'; + if (e.startsWith('http://') || e.startsWith('https://')) + return e; + else + return import.meta.env.VITE_OSS_URL + e; +}; +app.config.globalProperties.$openUrl = (e) => { + window.open(e); +}; +app.config.globalProperties.$refresh = () => { window.location.replace('#/refresh?key=' + app.config.globalProperties.$route.name) }; +app.config.globalProperties.$verify = (permissions, module, type) => { + return permissions.indexOf(`${module}:${type}`) > -1; +}; +app.config.globalProperties.$substring = (e, begin, end) => { + if (typeof e !== 'string') { + return ''; + } + return e.length > end ? e.substring(begin, end) + "..." : e; +} +app.config.globalProperties.$fileSize = (e) => { + let level = 0; + while (e >= 1024 && level < 4) { + e /= 1024; + level++; + } + return `${e.toFixed(2)}${['B', 'KB', 'MB', 'GB'][level]}`; +}; +app.config.globalProperties.$compressFiles = (files) => { + const fileArray = Array.isArray(files) ? files : [files]; + + const promises = fileArray.map(file => { + return new Promise((resolve, reject) => { + if (!(file instanceof File)) { + return reject(new Error('Invalid file type')); + } + imageConversion.compressAccurately(file, 400) + .then(res => { + res = new File([res], file.name, { type: res.type, lastModified: Date.now() }); + resolve(res); + }) + .catch(err => { + console.error('压缩失败', err); + reject(err); + }); + }); + }); + + return Promise.all(promises); +}; + +app.config.globalProperties.$uploadFiles = (files, uploadUrl) => { + let fd = new FormData(); + files.forEach(x => { + fd.append('file', x.file, x.file.name); + }); + return new Promise((resolve, reject) => { + fetch(`${import.meta.env.VITE_API_URL}${uploadUrl}`, { + method: 'POST', + headers: { + 'Authorization': `Bearer ${localStorage.getItem('member_token')}`, + }, + body: fd, + }).then(rep => { + rep.json().then(data => { + if (data.errcode) { + reject(data); + } + else { + //上传成功 + resolve(data); + } + }).catch(err => { + reject({ message: '上传失败' }); + }); + }).catch(err => { + reject(err); + }); + }); +} + +// enum + +import enums from './utils/enums'; +Object.getOwnPropertyNames(enums).forEach(x => { + app.config.globalProperties[`${x}`] = enums[x]; +}); + +import geo from './utils/geo'; +app.config.globalProperties.$geo = geo; + +app.config.globalProperties.$distance = (e) => { + if (e < 1) + return `${e * 1000}m`; + return `${e}km`; +}; +app.config.globalProperties.$goIndex = () => { + if (window.__wxjs_environment == 'miniprogram') { + wx.miniProgram.reLaunch({ + url: `/pages/index/index`, + }); + } + else { + location.replace('#/'); + setTimeout(() => { + location.reload(); + }, 100); + } +} + +app.config.globalProperties.$CheckStates = [{ label: '待审核', color: 'primary' }, { label: '已通过', color: 'success' }, { label: '已拒绝', color: 'danger' }]; +app.config.globalProperties.$goService = () => { + if (app.config.globalProperties.$isWechatMini()) { + wx.miniProgram.navigateTo({ + url: `/pages/service/service`, + }); + } else { + app.config.globalProperties.$navigate('/Service'); + } +}; + + +app.config.globalProperties.$isWechat = () => { return navigator.userAgent.toLowerCase().match(/MicroMessenger/i) == 'micromessenger' }; +app.config.globalProperties.$isWechatMini = () => { return window.__wxjs_environment == 'miniprogram' }; +app.config.globalProperties.$openLocation = (lon, lat, name = '', address = '') => { + if (wx && app.config.globalProperties.$isWechat()) + wx.openLocation({ + longitude: lon, + latitude: lat, + name: name, + address: address, + scale: 18, + }); + else + window.open(`http://api.map.baidu.com/marker?location=${lat},${lon}&coord_type=gcj02&title=${name}&content=${address}&output=html`); +}; + +// app.config.globalProperties.$isLogin = () => { +// if (!localStorage.getItem('token')) +// return false; +// const token = app.config.globalProperties.$token('token'); +// return token.header.exp > Date.now() && (window.__wxjs_environment != 'miniprogram' || localStorage.getItem('miniopenid')); +// } + +app.config.globalProperties.$validPhone = (e) => { + return /^1(3|4|5|6|7|8|9)\d{9}$/.test(e); +} + +app.config.globalProperties.$validIdCard = (idCard) => { + const reg18 = /^[1-9]\d{5}(19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/; + + return reg18.test(idCard); +} + +app.config.globalProperties.$getShareLink = () => { + const query = app.config.globalProperties.$route.query; + const recommend = localStorage.getItem('cellphone'); + const params = Object.keys(query).filter(x => x != 'RecommendCode').map(x => { + return `${x}=${query[x]}`; + }); + params.push(`RecommendCode=${recommend}`); + return `${location.href.split('?')[0]}?${params.join('&')}`; +} + +// CH +import { post, get, put, del, request, postForm } from './api/http'; +import { isLogin, formatGMT } from './api/user'; + +app.config.globalProperties.$post = post; +app.config.globalProperties.$get = get; +app.config.globalProperties.$put = put; +app.config.globalProperties.$del = del; +app.config.globalProperties.$request = request; +app.config.globalProperties.$postForm = postForm; +app.config.globalProperties.$isLogin = isLogin; +app.config.globalProperties.$formatGMT = formatGMT; +app.config.globalProperties.$formatCellphone = (e) => { + if (!e || e.length !== 11) return e; + return e.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2'); +}; + +// ManagerPopup 通过 window 事件触发 +app.config.globalProperties.$showManagerPopup = () => { window.dispatchEvent(new Event('showManagerPopup')) } +app.config.globalProperties.$closeManagerPopup = () => { window.dispatchEvent(new Event('closeManagerPopup')) } + +app.mount("#app"); diff --git a/src/router.js b/src/router.js new file mode 100644 index 0000000..832bfd8 --- /dev/null +++ b/src/router.js @@ -0,0 +1,360 @@ +const routes = [ + { + path: '/', + name: 'Index', + component: () => import('./views/Index.vue'), + redirect: '/Home', + children: [ + { + path: '/Home', + name: 'Home', + parentName: 'Index', + component: () => import('./views/Tabbars/Home.vue'), + meta: { title: '主页', cache: true } + }, + { + path: '/Gift', + name: 'Gift', + parentName: 'Index', + component: () => import('./views/Tabbars/Gift.vue'), + meta: { title: '礼包区', cache: true } + }, + { + path: '/Mall', + name: 'Mall', + parentName: 'Index', + component: () => import('./views/Tabbars/Mall.vue'), + meta: { title: '商城', cache: true } + }, + { + path: '/Social', + name: 'Social', + parentName: 'Index', + component: () => import('./views/Tabbars/Social.vue'), + meta: { title: '加盟店' } + }, + { + path: '/My', + name: 'My', + parentName: 'Index', + component: () => import('./views/User/My.vue'), + meta: { title: '我的' } + }, + ], + meta: { noLogin: true, cache: true } + }, + { + path: '/WxCallback', + name: 'WxCallback', + component: () => import('./views/Account/WxCallback.vue'), + meta: { + noLogin: true, + } + }, + { + path: '/PointMall', + name: 'PointMall', + component: () => import('./views/User/PointMall.vue'), + meta: { title: '积分区', cache: true } + }, + { + path: '/ShopInfo', + name: 'ShopInfo', + component: () => import('./views/User/ShopInfo.vue'), + meta: { title: '商家详情', cache: true } + }, + { + path: '/Login', + name: 'Login', + component: () => import('./views/Account/Login.vue'), + meta: { + title: '登录', + noLogin: true, + noRefresh: true, + } + }, + { + path: '/ResetPwd', + name: 'ResetPwd', + component: () => import('./views/Account/ResetPwd.vue'), + meta: { + title: '找回密码', + noLogin: true, + } + }, + { + path: '/Balance', + name: 'Balance', + component: () => import('./views/User/Wallet/Balance.vue'), + meta: { + title: '余额', + } + }, + { + path: '/CV', + name: 'CV', + component: () => import('./views/User/Wallet/CV.vue'), + meta: { + title: '会员卡', + } + }, + { + path: '/Point', + name: 'Point', + component: () => import('./views/User/Wallet/Point.vue'), + meta: { + title: '积分', + } + }, + { + path: '/Allow', + name: 'Allow', + component: () => import('./views/User/Wallet/Allow.vue'), + meta: { + title: '业绩统计', + } + }, + { + path: '/Certificate', + name: 'Certificate', + component: () => import('./views/User/Wallet/Certificate.vue'), + meta: { + title: '礼品券', + } + }, + { + path: '/Transfer', + name: 'Transfer', + component: () => import('./views/User/Wallet/Transfer.vue'), + meta: { + title: '互转', + } + }, + { + path: '/CashoutRecord', + name: 'CashoutRecord', + component: () => import('./views/Cashout/CashoutRecord.vue'), + meta: { + title: '提现记录', + } + }, + { + path: '/Cashout', + name: 'Cashout', + component: () => import('./views/Cashout/Cashout.vue'), + meta: { + title: '提现', + } + }, + { + path: '/Service', + name: 'Service', + component: () => import('./views/User/Service.vue'), + meta: { title: '客服中心' } + }, + { + path: '/Address', + name: 'Address', + component: () => import('./views/User/Address.vue'), + meta: { title: '收货地址' } + }, + { + path: '/Invite', + name: 'Invite', + component: () => import('./views/User/Invite.vue'), + meta: { title: '邀请码', cache: true } + }, + { + path: '/Team', + name: 'Team', + component: () => import('./views/User/Team.vue'), + meta: { title: '我的好友' } + }, + { + path: '/CashoutAccount', + name: 'CashoutAccount', + component: () => import('./views/Cashout/CashoutAccount.vue'), + meta: { title: '提现账号' } + }, + { + path: '/TradeConfirm', + name: 'TradeConfirm', + component: () => import('./views/Trade/TradeConfirm.vue'), + meta: { title: '确认订单' } + }, + { + path: '/TradeDetail', + name: 'TradeDetail', + component: () => import('./views/Trade/TradeDetail.vue'), + meta: { title: '订单详情' } + }, + { + path: '/TradeList', + name: 'TradeList', + component: () => import('./views/Trade/TradeList.vue'), + meta: { title: '订单列表' } + }, + { + path: '/Pay', + name: 'Pay', + component: () => import('./views/Trade/Pay.vue'), + meta: { title: '支付' } + }, + { + path: '/Business_School', + name: 'Business_School', + component: () => import('./views/Platform/Business_School.vue'), + meta: { title: '商学院', noLogin: true } + }, + { + path: '/School_detail', + name: 'School_detail', + component: () => import('./views/Platform/School_Detail.vue'), + meta: { title: '商学院详情', noLogin: true, } + }, + { + path: '/School_Category', + name: 'School_Category', + component: () => import('./views/Platform/School_Category.vue'), + meta: { title: '商学院分类', noLogin: true, } + }, + { + path: '/Column', + name: 'Column', + component: () => import('./views/Platform/Column.vue'), + meta: { title: '栏目列表', noLogin: true } + }, + { + path: '/ColumnDetail', + name: 'ColumnDetail', + component: () => import('./views/Platform/ColumnDetail.vue'), + meta: { title: '栏目详情', noLogin: true } + }, + { + path: '/GoodsDetail', + name: 'GoodsDetail', + component: () => import('./views/Goods/GoodsDetail.vue'), + meta: { title: '商品详情', noLogin: true, } + }, + { + path: '/Category', + name: 'Category', + component: () => import('./views/Goods/Category.vue'), + meta: { title: '全部分类', noLogin: true } + }, + { + path: '/Operations', + name: 'Operations', + component: () => import('./views/Operations/Operations.vue'), + meta: { title: '运营中心' } + }, + { + path: '/CertificateRecord', + name: 'CertificateRecord', + component: () => import('./views/User/Wallet/CertificateRecord.vue'), + meta: { title: '核销记录' } + }, + { + path: '/Merchant', + name: 'Merchant', + component: () => import('./views/Merchant/Merchant.vue'), + meta: { title: '商家中心' } + }, + { + path: '/MerchantIncome', + name: 'MerchantIncome', + component: () => import('./views/Merchant/MerchantIncome.vue'), + meta: { title: '营业收入' } + }, + { + path: '/MerchantCashout', + name: 'MerchantCashout', + component: () => import('./views/Merchant/MerchantCashout.vue'), + meta: { title: '提现记录' } + }, + { + path: '/Statistics', + name: 'Statistics', + component: () => import('./views/Merchant/Statistics.vue'), + meta: { title: '数据统计' } + }, + { + path: '/MerchantTrade', + name: 'MerchantTrade', + component: () => import('./views/Merchant/MerchantTrade.vue'), + meta: { title: '商家订单' } + }, + { + path: '/MerchantTradeDetail', + name: 'MerchantTradeDetail', + component: () => import('./views/Merchant/MerchantTradeDetail.vue'), + meta: { title: '订单详情' } + }, + { + path: '/MerchantIntroduction', + name: 'MerchantIntroduction', + component: () => import('./views/Merchant/MerchantIntroduction.vue'), + meta: { title: '商家资料' } + }, + { + path: '/PayCode', + name: 'PayCode', + component: () => import('./views/Merchant/PayCode.vue'), + meta: { title: '收款码' } + }, + { + path: '/QrReader', + name: 'QrReader', + component: () => import('./views/Operations/QrReader.vue'), + meta: { title: '扫一扫' } + }, + { + path: '/Checkout', + name: 'Checkout', + component: () => import('./views/User/Checkout/Checkout.vue'), + meta: { title: '买单' } + }, + { + path: '/CheckoutTrade', + name: 'CheckoutTrade', + component: () => import('./views/User/Checkout/CheckoutTrade.vue'), + meta: { title: '订单详情' } + }, + // { + // path: '/Refresh', + // name: 'Refresh', + // component: { render: () => null }, + // meta: { noLogin: true }, + // beforeRouteEnter(to, from, next) { + // next(vm => { + // setTimeout(() => { + // const redirect = to.query.redirect || '/Home' + // vm.$router.replace(decodeURIComponent(redirect)) + // }, 50) + // }) + // } + // }, + { + path: '/SyncAuth', + name: 'SyncAuth', + component: () => import('./views/SyncAuth.vue'), + meta: { + noLogin: true, + } + }, + { + path: '/404', + name: '404', + component: () => import('./views/404.vue'), + meta: { + title: '404', + noLogin: true, + } + }, + { + path: '/:pathMatch(.*)', + redirect: '/404' + } +] + +export { routes } diff --git a/src/stores/datadic.js b/src/stores/datadic.js new file mode 100644 index 0000000..f1ca89a --- /dev/null +++ b/src/stores/datadic.js @@ -0,0 +1,52 @@ +import { defineStore } from 'pinia' +import { get } from '@/api/http' + +export let dictCache = {} + +const SESSION_KEY = 'dict_cache' + +export const useDatadicStore = defineStore('datadic', { + state: () => ({ + dicts: {}, + loaded: false + }), + getters: { + getByCode: (state) => (code) => { + return dictCache[code] || null + }, + getContent: (code) => { + const item = dictCache[code] + return item ? item.contents : '' + } + }, + actions: { + async init() { + // 优先从 sessionStorage 读取缓存 + const cached = sessionStorage.getItem(SESSION_KEY) + if (cached) { + try { + dictCache = JSON.parse(cached) + this.dicts = dictCache + this.loaded = true + return + } catch (e) { + sessionStorage.removeItem(SESSION_KEY) + } + } + if (this.loaded) return + try { + const res = await get('/v1/client/CDatadicsClient') + if (res.status === 200 && res.data) { + res.data.forEach(item => { + dictCache[item.code] = item + }) + this.dicts = dictCache + this.loaded = true + sessionStorage.setItem(SESSION_KEY, JSON.stringify(dictCache)) + } + } catch (e) { + console.error('数据字典加载失败', e) + } + } + } +}) \ No newline at end of file diff --git a/src/stores/index.js b/src/stores/index.js new file mode 100644 index 0000000..94c16cd --- /dev/null +++ b/src/stores/index.js @@ -0,0 +1,8 @@ +import { createPinia } from 'pinia'; + +const pinia = createPinia(); + +export { useDatadicStore } from './datadic'; +export { useUserStore } from './user'; + +export default pinia; \ No newline at end of file diff --git a/src/stores/user.js b/src/stores/user.js new file mode 100644 index 0000000..d7bd18c --- /dev/null +++ b/src/stores/user.js @@ -0,0 +1,94 @@ +import { defineStore } from 'pinia'; +import { get } from '@/api/http'; + +export const useUserStore = defineStore('user', { + state: () => ({ + token: localStorage.getItem('member_token') || '', + // 用户基本信息 + user: null, + cellphone: localStorage.getItem('cellphone') || '', + nickname: localStorage.getItem('nickname') || '', + userimg: localStorage.getItem('userimg') || '', + // 扩展字段 + isshop: localStorage.getItem('isshop') || '', + iscenter: localStorage.getItem('iscenter') || '', + user_id: localStorage.getItem('user_id') || '', + huiyuankaid: localStorage.getItem('huiyuankaid') || '', + }), + getters: { + isLogin: (state) => !!state.token, + getToken: (state) => state.token, + getUser: (state) => state.user, + getUserInfo: (state) => ({ + cellphone: state.cellphone, + nickname: state.nickname, + userimg: state.userimg, + isshop: state.isshop, + iscenter: state.iscenter, + user_id: state.user_id, + huiyuankaid: state.huiyuankaid, + }), + }, + actions: { + setUser(user) { + this.user = user; + if (user) { + // 同步到 localStorage 保持兼容 + this.cellphone = user.cellphone || ''; + this.nickname = user.nickname || ''; + this.userimg = user.userimg || ''; + this.isshop = user.isshop || ''; + this.iscenter = user.col2 || ''; + this.user_id = user.id || ''; + this.huiyuankaid = user.huiyuankaid || ''; + + localStorage.setItem('cellphone', this.cellphone); + localStorage.setItem('nickname', this.nickname); + localStorage.setItem('userimg', this.userimg); + localStorage.setItem('isshop', this.isshop); + localStorage.setItem('iscenter', this.iscenter); + localStorage.setItem('user_id', this.user_id); + localStorage.setItem('huiyuankaid', this.huiyuankaid); + } + }, + setToken(token) { + this.token = token; + if (token) { + localStorage.setItem('member_token', token); + } else { + localStorage.removeItem('member_token'); + } + }, + /** + * 登录后获取用户信息 + */ + async fetchUserInfo() { + try { + const res = await get('/v1/client/DUsersClient'); + if (res.status === 200 && res.data) { + this.setUser(res.data); + } + } catch (err) { + console.error('fetchUserInfo failed:', err); + } + }, + clearUser() { + this.user = null; + this.token = ''; + this.cellphone = ''; + this.nickname = ''; + this.userimg = ''; + this.isshop = ''; + this.iscenter = ''; + this.user_id = ''; + this.huiyuankaid = ''; + + // 清除 localStorage + const keys = [ + 'member_token', 'cellphone', 'nickname', 'userimg', + 'isshop', 'iscenter', 'user_id', 'huiyuankaid', 'member_username' + ]; + keys.forEach(key => localStorage.removeItem(key)); + } + } +}); \ No newline at end of file diff --git a/src/styles/ch.less b/src/styles/ch.less new file mode 100644 index 0000000..a90a8e5 --- /dev/null +++ b/src/styles/ch.less @@ -0,0 +1,5965 @@ +@import 'public.less'; +@import 'tailwind.less'; + +@proColor: #841e36; + +.home { + font-size: 8vw; +} + +.login { + .b_l_w; + .box; + .box-wrap; + padding: 12vw 0 0; + + &::before { + content: ''; + position: fixed; + left: 0; + top: 0; + width: 100vw; + height: 100vh; + background-color: #1B1A20; + background-image: url(/img/login-bg.jpg); + background-repeat: no-repeat; + background-size: 100% 100%; + z-index: -1; + } + + >div { + .b_l_w; + } + + .logo { + margin-bottom: 7.2vw; + .box; + .box-tb; + .box-pack-center; + + .fonts { + margin-left: 4vw; + } + + b { + font-size: 5.33vw; + line-height: 6.67vw; + color: #841e36; + } + + p { + line-height: 6.67vw; + color: #000000; + } + + img { + height: 31.2vw; + } + } + + .contaiar { + padding: 0 3.33vw; + } + + .lg_box { + background: #fff; + border-radius: 2.67vw; + padding: 4vw 4.53vw; + + .line { + margin-top: 4.27vw; + border-bottom: 1px solid #f5f5f580; + + .title { + .box; + .box-align-center; + + img { + width: 3.73vw; + } + + input { + border: none; + flex: 1; + padding: 3.33vw 1.2vw; + font-size: 3.47vw; + color: #333; + width: 100%; + } + + :-ms-input-placeholder, + ::-webkit-input-placeholder, + input::placeholder { + color: #999; + } + + .hqyzm { + .bs; + font-size: 3.2vw; + font-weight: normal; + white-space: nowrap; + width: 26.67vw; + height: 6.67vw; + background-color: #841e36; + border-radius: 3.33vw; + } + } + + .input_box { + display: none; + } + } + } + + .submit { + border: none; + margin-top: 8vw; + width: 100%; + background-color: #841e36; + border-radius: 6.67vw; + font-size: 4.8vw; + color: #ffffff; + } + + .agreement { + .box; + .center; + .box-center-center; + margin-top: 5.6vw; + width: 100%; + + a { + color: #f00; + } + } + + .toLogin { + .box; + .box-center-center; + margin-top: 4vw; + + .ct1 { + font-size: 4vw; + line-height: 6.67vw; + color: #ca2904; + } + + .ct2 { + font-size: 4vw; + line-height: 6.67vw; + color: #ca2904; + + p { + padding: 0 4vw; + } + } + } + +} + +.my { + // .b_l_w; + .f5; + background: url(/img/my-bg.jpg) no-repeat; + background-size: 100% auto; + min-height: 80vw; + padding: 0 4vw 8vw; + + // >div { + // .b_l_w; + // } + + .top { + height: 35.6vw; + .box; + .bs; + .box-align-center; + + .vBicon { + .box; + .box-center-center; + border-radius: 2.27vw; + padding: 0 2.27vw 0 4.93vw; + margin-right: 2.93vw; + position: relative; + height: 4.53vw; + + + &::after { + content: ''; + height: 4.53vw; + width: 100%; + z-index: 1; + left: -2vw; + bottom: 0; + position: absolute; + } + } + + .vip { + color: #fbd797; + background-color: #422717; + + &::after { + background: url(/img/label-1.png); + background-repeat: no-repeat; + background-size: auto 100%; + } + } + + .svip { + color: #ed7c2e; + background-color: #ffffff; + + &::after { + background: url(/img/label-2.png); + background-repeat: no-repeat; + background-size: auto 100%; + left: -1vw; + } + } + + .director { + background-color: #ffffff; + color: #1d85ff; + + &::after { + background: url(/img/label-3.png); + background-repeat: no-repeat; + background-size: auto 100%; + left: -1vw; + } + + } + + .shopcenter { + .r; + .box; + .box-align-center; + position: absolute; + .bs; + font-size: 3.47vw; + .b; + right: 0; + height: 6.67vw; + background-color: #842a1e; + border-radius: 3.33vw 0vw 0vw 3.33vw; + padding: 0 2.8vw; + // margin-top: -10vw; + white-space: nowrap; + + img { + height: 3.33vw; + margin-right: 1.6vw; + } + } + + .avatar { + width: 18vw; + height: 18vw; + background-color: #eee; + border: solid .4vw #fff; + margin: 0 7.333vw 0 1.6vw; + .y50; + } + + ._info { + .box; + .box-tb; + .box-pack-between; + height: 18vw; + + .name { + font-size: 4.8vw; + .b; + white-space: nowrap; + } + + .user { + .box; + .box-align-center; + + img { + height: 3.2vw; + margin-right: 1.867vw; + } + } + } + + } + + .wallet_box { + .box; + .box-align-center; + .box-pack-around; + height: 23.2vw; + background-color: #ffffff; + border-radius: 1.6vw; + margin-bottom: 4vw; + + >div:last-child { + border: none; + } + + >div { + .box; + .box-tb; + .box-align-center; + .box-pack-between; + width: 33%; + height: 11.87vw; + border-right: 1px #f5f5f580 solid; + + .t { + .box; + .box-align-center; + + img { + width: 4vw; + height: 4vw; + } + + span { + font-size: 3.67vw; + margin-left: 1.6vw; + color: #333333; + } + } + + b { + font-size: 4.53vw; + color: #222222; + } + + } + } + + .my_order { + .box; + .box-tb; + padding: 3.6vw 2.67vw; + background-color: #ffffff; + border-radius: 1.6vw; + margin-bottom: 4vw; + + .t { + .box; + .box-align-center; + padding-bottom: 3.6vw; + border-bottom: 1px solid #f5f5f580; + + b { + font-size: 4.8vw; + color: #222222; + } + + span { + color: #999999; + } + } + + .c { + .box; + .box-align-center; + .box-pack-around; + width: 100%; + margin-top: 3.6vw; + + .st_box { + .box; + .box-tb; + .box-align-center; + + img { + height: 5.87vw; + } + + p { + color: #333333; + margin-top: 3.33vw; + } + } + } + } + + .fast_to { + .box; + .box-tb; + .box-pack-between; + width: 100%; + gap: 2.4vw; + + >div { + .box; + gap: 2.4vw; + // margin-bottom: 2.4vw; + } + + img { + width: 44.8vw; + height: 17.33vw; + background-color: #c2715c; + border-radius: 1.6vw; + } + } + + .service_center { + .box; + .box-tb; + background-color: #ffffff; + border-radius: 1.6vw; + padding: 4vw 2.67vw 1.2vw; + margin-top: 4vw; + + .tit { + font-size: 4.8vw; + color: #222222; + } + + .list { + .box; + .box-tb; + + >div:last-child { + border: none; + } + + >div { + .box; + .box-align-center; + height: 12vw; + border-bottom: 1px solid #f5f5f580; + + img { + width: 4.27vw; + } + + span { + font-size: 4vw; + margin-left: 3.2vw; + color: #333333; + } + } + } + } +} + +.index-page { + .b_l_w; + .f5; + + .k { + .b_l_w; + .b_k; + border-radius: 1.333vw; + margin: 0 0 4vw; + overflow: hidden; + } + + .data { + .box; + .box-align-center; + .b_k; + background-color: #ffffff; + border-radius: 2vw; + margin: 4vw 0; + height: 16vw; + + ._d { + .text-center; + width: 18vw; + height: 10.667vw; + border-right: 1px solid #f1f1f1; + font-size: 3.2vw; + + p { + .b; + font-size: 5.333vw; + } + } + + .v { + a { + width: 75vw; + font-size: 4vw; + .text-hide(1); + height: 6vw; + line-height: 6vw; + padding-right: 2vw; + + span { + display: inline-block; + .y50; + width: 1.333vw; + height: 1.333vw; + background-color: #222; + vertical-align: top; + margin: 2.2vw 2.133vw 0 3.6vw; + } + } + } + } + + // .column4 { + // .box; + // background: #fff; + // margin-bottom: 4vw; + // padding: 5.33vw 0; + // color: #020202; + // border-radius: 1.33vw; + + // >div { + // .box; + // .box-tb; + // .box-align-center; + // width: 25%; + + // img { + // height: 6.13vw; + // margin-bottom: 2vw; + // } + // } + // } + + .column3_part { + .box; + .box-align-center; + .box-pack-between; + height: 35vw; + margin-bottom: 4vw; + + img { + height: 10vw; + } + + >div { + .box; + .box-tb; + .box-align-center; + .box-pack-between; + width: 29vw; + height: 100%; + padding: 6vw; + white-space: nowrap; + + span { + color: #222222; + font-size: 3.47vw; + } + + p { + color: #841e36; + } + } + + .p1 { + background: url(/img/col-bg-i1.png) no-repeat; + background-size: 100% auto; + } + + .p2 { + background: url(/img/col-bg-i2.png) no-repeat; + background-size: 100% auto; + } + + .p3 { + background: url(/img/col-bg-i3.png) no-repeat; + background-size: 100% auto; + } + } + + .tomall { + .box; + .box-pack-between; + margin-bottom: 4vw; + + .base_box { + .box; + width: 44.8vw; + height: 28vw; + padding: 2.8vw; + padding-top: 4.8vw; + border-radius: 2vw; + flex-wrap: wrap; + border: solid 1px #ffffff; + + .top { + .box; + .box-tb; + .box-align-start; + margin-bottom: 2.67vw; + + b { + font-size: 4.27vw; + margin-bottom: 2.8vw; + } + } + + img { + height: 13.87vw; + margin-left: auto; + margin-top: auto; + } + } + + .left { + background-color: #a14d4d; + + .top { + b { + color: #fde5c6; + } + + span { + color: #eedabb; + } + } + } + + .right { + background-color: #fde5c6; + + .top { + b { + color: #933e3e; + } + + span { + color: #933e3e; + } + } + } + } + + .mx-auto { + width: 92vw; + } + + .tit { + .b_l_w; + height: 10.733vw; + line-height: 10.733vw; + font-size: 4.8vw; + position: relative; + padding: 0 2vw; + .box; + .box-align-center; + + span { + // width: 30%; + position: relative; + z-index: 2; + overflow: visible; + .b; + + // &::after { + // content: ''; + // position: absolute; + // top: .5vw; + // right: -3.8vw; + // z-index: 1; + // width: 8.8vw; + // height: 8.67vw; + // background: url(/img/maisui.png) no-repeat; + // background-size: 100% 100%; + // } + + } + + + font { + background: -webkit-linear-gradient(right, #8fe72b, #077e43); + -webkit-background-clip: text; + color: transparent; + background-clip: text; + } + + a { + .r; + font-size: 3.733vw; + color: #686868; + } + + // p { + // position: absolute; + // content: ''; + // width: 17.333vw; + // height: 2vw; + // background-color: #f9d339; + // border-radius: 1vw; + // z-index: 1; + // top: 9vw; + // left: 4.7vw; + // } + } + + .k { + padding: 4vw 3.2vw; + + >div { + .b_l_w; + } + + .video_box { + padding-bottom: 0; + position: relative; + height: 62.2vw; + + video { + width: 100%; + height: 46.67vw; + background-color: #f7f7f7; + border-radius: 1.6vw; + object-fit: cover; + display: block; + // clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%); + position: relative; + z-index: 1; + } + + button { + .bs; + position: absolute; + bottom: 0vw; + left: 50%; + transform: translateX(-50%); + z-index: 2; + font-size: 4vw; + font-weight: bold; + width: 50.4vw; + height: 9.87vw; + background-color: #841e36; + border-radius: 4.93vw; + border: none; + } + } + + } + + .news { + border-radius: 3.333vw 3.333vw 0 0; + // padding: 0 0 11.333vw; + position: relative; + .b_k; + + .c { + .b_l_w; + } + + .list { + .b_l_w; + .box; + .box-pack-between; + .box-align-center; + // background: #f5f5f5; + min-height: 26.667vw; + // padding: 3.333vw 2.667vw; + padding: 0 1.2vw; + border-radius: 2.667vw; + // margin: 0 0 3.333vw; + border-bottom: 1px solid #f5f5f580; + + &:last-child { + border-bottom: 0; + } + + img { + width: 19.733vw; + height: 19.733vw; + border-radius: 1.333vw; + display: block; + margin-right: 2.87vw; + } + + >div { + width: 63vw; + min-height: 20vw; + .box; + .box-wrap; + align-content: space-between; + + >div { + .b_l_w; + } + + .titname { + font-size: 3.733vw; + font-weight: bold; + .text-hide-1; + } + + .lab { + margin: 2vw 0; + font-size: 2.933vw; + .text-hide(2); + } + + .times { + font-size: 3.2vw; + color: #c2c2c2; + } + } + } + + >a { + .b_l_w; + height: 10vw; + .box; + .box-pack-center; + .box-align-center; + + img { + height: 4vw; + } + } + + .more { + .b_l_w; + .box; + .box-center-center; + height: 10.4vw; + font-size: 8vw; + left: 0; + bottom: .667vw; + + img { + height: 4vw; + } + } + } + +} + +.Business_School { + .b_l_w; + width: 100%; + // padding: 0 3.33vw; + + // height: 100vmax; + >div { + .b_l_w; + } + + .banner { + width: 100%; + } + + // &::before { + // content: ''; + // width: 100vw; + // height: 100vh; + // position: fixed; + // left: 0; + // background: #f5f5f5; + // z-index: -1; + // background: url(/img/Business_School_bg.jpg) no-repeat; + // background-size: 100vw auto; + // } + + .list_box { + width: 100%; + // height: 100vh; + position: relative; + // background: url(/img/bs-bg.png) no-repeat; + // background-size: 100% auto; + z-index: 1; + margin-top: -8vw; + // padding: 2.67vw 3.47vw; + overflow: hidden; + background-color: #ffffff; + border-radius: 8vw 8vw 0vw 0vw; + } + + .list_item { + margin-top: 4.8vw; + background-color: #fefefe; + border-radius: 0 0 5.33vw 5.33vw; + padding: 0 3.47vw; + overflow: hidden; + + .school-list { + width: 100%; + height: 26.667vw; + padding: 3.333vw 2.667vw; + background-color: #f9f9f9; + border-radius: 2vw; + position: relative; + margin-bottom: 4vw; + .box; + + .img { + width: 20vw; + height: 20vw; + position: relative; + margin-right: 3vw; + + .t1 { + width: 20vw; + height: 20vw; + border-radius: 1.333vw; + margin-right: 3vw; + } + + .i1 { + position: absolute; + bottom: .267vw; + left: -1.467vw; + height: 7.6vw; + z-index: 2; + } + + .lock { + position: absolute; + left: 0; + top: 0; + background: rgba(0, 0, 0, .4); + width: 100%; + height: 100%; + .box; + .box-center-center; + border-radius: 1.333vw; + + img { + height: 5.733vw; + } + } + } + + .c { + width: 65vw; + height: 20vw; + .box; + .box-wrap; + align-content: space-around; + + >* { + .b_l_w; + } + + .name { + .text-hide(1); + + .lv { + display: inline-block; + height: 4.533vw; + background-image: linear-gradient(93deg, + #000000 0%, + #444444 100%); + border-radius: 1.333vw; + .bs; + padding: 0 2vw; + margin-right: 1.867vw; + } + + b { + font-size: 3.733vw; + } + } + + .label { + max-height: 8vw; + line-height: 4vw; + .text-hide(2); + } + + .times { + font-size: 3.2vw; + color: #999; + .box; + + span:last-child { + margin-left: auto; + } + } + + } + } + } + + +} + +.gift { + .b_l_w; + min-height: 100vh; + background: #f0caca; + background-size: 100% auto; + padding: 4vw 3.33vw; + padding-bottom: 10vw; + + .logo_box { + .box; + .box-center-center; + padding-top: 8.67vw; + margin-bottom: 12vw; + + img { + height: 32.4vw; + } + } + + .agreement { + .box; + .box-center-center; + margin-top: 3vw; + white-space: nowrap; + + a { + font-weight: bold; + } + } + + // >div { + // .b_l_w; + // } + + .gift_box { + .box; + .box-tb; + .box-align-center; + // margin-top: 35.73vw; + background-color: #ffffff; + border-radius: 2vw; + padding: 2.67vw; + background: url(/img/gift_bg.png) no-repeat; + background-size: 100% 100%; + position: relative; + + >div { + width: 100%; + } + + .tit_icon { + width: 48.13vw; + position: absolute; + left: 21.87vw; + top: -4vw; + } + + .title_box { + .box; + .box-center-center; + width: 100%; + padding: 3.33vw 0; + + img { + width: 8vw; + height: 8vw; + margin-right: 1.2vw; + } + + b { + font-size: 4.67vw; + color: #151515; + } + } + + .big_box { + padding: 2.93vw 2.67vw; + background-color: #ffffff; + border-radius: 3.33vw; + border: solid 1px #85cb58; + } + + .choose { + .box; + .box-align-center; + // margin-top: 4vw; + // background-color: #ffffff; + border-radius: 2vw; + background: url(/img/gift_bg1.png); + background-size: 100% 100%; + // border: solid 1px #85cb58; + padding: 4vw 4vw; + margin-top: 6.53vw; + width: 100%; + + .choose_img { + width: 24vw; + height: 24vw; + border-radius: 1.85vw; + margin-right: 3.33vw; + } + + .choose_box { + .box; + .box-tb; + .box-pack-between; + height: 24vw; + + .title { + font-size: 4.67vw; + font-weight: bold; + color: #1b1b1b; + } + + >div { + .box; + + .choose_icon { + width: 3.2vw; + height: 4vw; + margin-right: 1.33vw; + } + + b { + color: #ff0000; + } + } + + .choose_item { + .box; + .box-align-end; + white-space: nowrap; + + .btn1 { + .box; + .box-center-center; + height: 7.73vw; + background-color: #1b1b1b; + border-radius: 0.93vw; + padding: 0 3.33vw 0 1.67vw; + clip-path: polygon(0 0, 100% 0, calc(100% - 2vw) 100%, 0% 100%); + + span { + color: #ffffff; + + b { + font-size: 6vw; + color: #ffffff; + } + } + } + + .btn2 { + .box; + .bs; + .box-center-center; + height: 7.47vw; + background-color: #841e36; + border-radius: 0.93vw; + padding: 0 4.33vw; + padding-right: 2.4vw; + font-size: 4vw; + font-weight: bold; + margin-left: -2.67vw; + } + } + } + } + + .detail { + .box; + .box-tb; + background: url(/img/gift_bg2.png); + background-size: 100% 100%; + margin-top: 4vw; + padding: 4vw; + + >div { + .box; + .box-align-center; + padding: 1.67vw 0; + + .title { + font-weight: bold; + color: #1b1b1b; + } + + span { + .box; + .box-align-end; + color: #1b1b1b; + font-weight: bold; + + p { + font-size: 4.67vw; + + font { + font-size: 3.2vw; + } + } + } + + b { + .box; + font-size: 4.53vw; + color: #841e36; + + span { + color: #841e36; + font-size: 3.2vw; + } + } + } + } + + .address { + .box; + .box-tb; + background: url(/img/gift_bg3.png); + background-size: 100% 100%; + margin-top: 4vw; + padding: 4vw; + color: #b1867c; + + .van-field { + color: #b1867c; + } + + .van-cell { + padding: 0; + background: transparent; + + &::after { + content: none; + } + } + + .input { + .box; + .box-align-center; + padding-bottom: 3.33vw; + margin-top: 3.33vw; + border-bottom: solid 1px #33333380; + + .img { + .box; + .box-pack-center; + min-width: 3.33vw; + } + + img { + width: 3.33vw; + height: 3.33vw; + } + + input { + width: 100%; + border: none; + background-color: transparent; + font-size: 3.33vw; + color: #333; + margin-left: 2.67vw; + + &::-webkit-input-placeholder { + color: #b1867c; + } + } + + .btn_box { + .box; + margin-left: 3.33vw; + + button { + margin-right: 2.67vw; + } + } + + .btn { + .r; + .box; + .box-align-center; + border: none; + .bs; + height: 6.67vw; + background-color: #841e36; + border-radius: 3.33vw; + white-space: nowrap; + padding: 0 2.4vw; + + img { + width: 2vw; + height: 1.73vw; + margin-left: 1.33vw; + } + } + } + } + + .commit { + width: 53.33vw; + height: 9.87vw; + background-color: #841e36; + border-radius: 4.93vw; + border: none; + // background-color: #fbcd15; + // border-radius: 5.67vw; + font-size: 4.27vw; + font-weight: bold; + letter-spacing: 0.85vw; + color: #000000; + margin-top: 8vw; + .bs; + } + + .toList { + text-decoration: underline; + font-size: 4vw; + color: #841e36; + margin-top: 4vw; + } + } +} + +.agriculture { + .f5; + + // &::before { + // background: url(/img/agri_bg.png) no-repeat #f5f5f5; + // background-size: 100% auto; + // } + + .top { + .box; + .box-tb; + position: relative; + + .search { + .box; + .box-align-center; + width: 92.13vw; + height: 9.47vw; + background-color: #eeeeee80; + border-radius: 4.67vw; + padding: 0 4.67vw; + position: absolute; + top: 2.53vw; + left: 50%; + transform: translateX(-50%); + + img { + width: 4vw; + margin-right: 4.4vw; + } + + input::placeholder { + color: #ffffff; + } + + input { + width: 100%; + height: auto; + border: none; + background: transparent; + font-size: 3.47vw; + color: #ffffff; + } + } + } + + .tabs { + .box; + .box-align-center; + padding-right: 2.4vw; + // margin-top: 40vw; + + .van-tabs__nav { + background: transparent; + } + + .van-tab__text--ellipsis { + white-space: nowrap; + } + + .van-tab--active { + &::before { + position: absolute; + bottom: 2vw; + right: 0; + content: ''; + width: 8.93vw; + height: 7.47vw; + background: url(/img/leaf.png) no-repeat; + background-size: 100% 100%; + } + } + } + + .goods_list { + .box; + .box-pack-between; + flex-wrap: wrap; + padding: 0 2.4vw; + + .goods_item { + .box; + .box-tb; + width: 46.53vw; + background-color: #ffffff; + border-radius: 1.33vw; + margin-bottom: 3.6vw; + + img { + width: 46.53vw; + } + + .title { + .text-hide(2); + font-size: 3.73vw; + color: #000000; + line-height: 4vw; + margin-bottom: 3.73vw; + min-height: 8vw; + } + + .money { + .box; + + span { + font-size: 4vw; + color: #ff4a26; + font-weight: bold; + } + + b { + font-size: 4.97vw; + } + } + + p { + font-size: 3.33vw; + color: #a2a2a2; + text-decoration: line-through; + margin-bottom: 2.4vw; + } + + >div { + padding: 2.93vw 2vw; + } + } + } +} + +.GoodsDetail { + .b_l_w; + .f5; + + .banner { + .b_l_w; + margin: 0 0 4vw; + + .custom-indicator { + position: absolute; + left: 3.733vw; + bottom: 3.733vw; + padding: 1vw 2vw; + border-radius: .667vw; + .bs; + background: rgba(0, 0, 0, .6); + } + } + + .mx-auto { + width: 92.267vw; + + >div { + .b_l_w; + .b_k; + margin-bottom: 3.333vw; + border-radius: 2.667vw; + overflow: hidden; + } + + .top { + + >div { + .b_l_w; + } + + .t { + height: 15.867vw; + background-image: linear-gradient(90deg, + #ff7550 0%, + #fd4249 100%); + border-radius: 2.667vw; + position: relative; + .box; + .box-align-center; + padding: 0 5vw; + .bs; + + &::before { + content: ''; + position: absolute; + right: 0; + top: 0; + width: 21.467vw; + height: 15.867vw; + background: url(/img/GroupShopDetail-bg-1.png) no-repeat; + background-size: 100% 100%; + border-radius: .667vw; + } + + >b { + font-size: 9.165vw; + + span { + font-size: 4vw; + } + } + + .m { + .box; + .box-tb; + .box-pack-center; + margin-left: 4vw; + padding-bottom: 1vw; + + p { + margin-top: 1vw; + height: 4.267vw; + line-height: 4.267vw; + background-color: #ffe07c; + border-radius: .667vw; + color: #2f2f2f; + padding: 0 1vw; + } + } + + .r { + .box; + .box-align-center; + line-height: 3.733vw; + white-space: nowrap; + + span { + width: 3.733vw; + height: 3.733vw; + .b_k; + .center; + color: #eb3941; + border-radius: .667vw; + margin-right: 1.3vw; + } + } + } + + .c { + padding: 3vw 4vw; + position: relative; + .box; + .box-tb; + + .name { + font-size: 4.533vw; + + span { + background: #222; + .bs; + height: 4.8vw; + line-height: 4.8vw; + border-radius: 1vw; + font-size: 3.2vw; + display: inline-block; + padding: 0 1.5vw; + margin-right: 1.2vw; + } + } + + .remark { + padding-right: 8vw; + color: #979ba6; + margin: 3vw 0; + } + + .price { + .w; + .box; + height: 8vw; + line-height: 6vw; + + b { + font-size: 4.667vw; + color: #f00; + + span { + font-size: 3.2vw; + } + } + + s { + margin: .3vw 0 0 2vw; + color: #979ba6; + } + + p { + .r; + color: #979ba6; + } + } + + .give { + .box; + border-bottom: 1px solid #f5f5f5; + padding-bottom: 3vw; + margin-bottom: 3vw; + + div { + height: 5.333vw; + background-color: #fff9ee; + border-radius: 1.333vw; + border: solid 1px #ecb658; + .box; + .box-align-center; + color: #c49237; + font-size: 2.933vw; + line-height: calc(~'5.333vw - 2px'); + padding: 0 1.333vw; + margin-right: 2.667vw; + white-space: nowrap; + + img { + height: 3.333vw; + margin-right: 1.467vw; + } + } + } + + .label { + .box; + .box-pack-between; + .w; + + span { + .box; + .box-align-center; + white-space: nowrap; + font-size: 3.467vw; + color: #17133c; + margin-right: 2.667vw; + + img { + height: 3.2vw; + margin-right: 1.467vw; + } + } + } + + a.share { + position: absolute; + top: 4vw; + right: 3.733vw; + .box; + .box-tb; + .box-align-center; + + img { + height: 5.2vw; + margin-bottom: .5vw; + } + + p { + color: #484848; + } + } + + } + } + + ._sku { + .van-cell__left-icon { + .box; + .box-align-center; + } + + .van-cell__title { + .text-hide(1); + } + + .span { + font-size: 3.2vw; + color: #ccc; + } + } + + ._coupon { + height: 12vw; + padding: 0 3.333vw; + .box; + .box-align-center; + + div { + height: 5.333vw; + background-color: #ffeeed; + border-radius: 1.333vw; + border: solid 1px #d0241c; + .box; + .box-align-center; + color: #d0241c; + line-height: calc(~'5.333vw - 2px'); + padding: 0 2.667vw; + margin-left: 2.667vw; + white-space: nowrap; + + img { + height: 3.333vw; + margin-right: 1.467vw; + } + } + } + + ._video { + position: fixed; + right: 2.4vw; + bottom: 55.467vw; + width: 14.667vw; + height: 13.333vw; + background-color: #707070; + border-radius: 1.333vw; + .box; + .box-tb; + .box-pack-center; + .box-align-center; + .bs; + + img { + height: 5.333vw; + margin-bottom: 1.2vw; + } + } + + .title { + .box; + .box-tb; + padding: 4vw 5.2vw; + border-bottom: 1px solid #f5f5f5; + + .t { + .box; + .box-align-center; + font-size: 3.6vw; + color: #17133c; + white-space: nowrap; + + img { + height: 3.6vw; + margin-right: 1.6vw; + } + } + + .m { + .box; + .box-align-center; + margin-top: 1.5vw; + + span { + .box; + .box-align-center; + + p { + color: #fd4b42; + } + } + + .r { + margin-right: -2vw; + .box; + .box-align-center; + font-size: 3.2vw; + line-height: 4vw; + + .van-count-down { + min-width: 19vw; + margin-left: 1.5vw; + font-size: 3.2vw; + color: #ff7928; + white-space: nowrap; + } + } + } + } + + .rule { + .c { + .w; + padding: 0 5.2vw; + + .row { + .w; + height: 19.6vw; + .box; + .box-align-center; + .box-pack-between; + font-size: 3.072vw; + color: #636363; + + .d1 { + .box; + .box-tb; + .box-align-center; + min-width: 15vw; + + img { + height: 6vw; + margin-bottom: 3vw; + } + + p { + white-space: nowrap; + } + } + + .d2 { + .box; + .box-tb; + .box-pack-between; + height: 13vw; + width: 16.267vw; + + p { + .box; + .box-align-center; + line-height: 3.6vw; + .center; + .w; + white-space: nowrap; + + img { + height: 3.6vw; + } + + span { + .w; + } + + font { + color: rgb(244, 30, 30); + } + } + } + + div:last-child { + width: 20vw; + } + + >img { + height: 3.6vw; + } + + .img { + .box; + .box-tb; + .box-pack-between; + height: 13vw; + + img { + height: 3.6vw; + } + } + } + } + } + + .join { + .c { + .w; + padding: 0 5.2vw; + .box; + .box-tb; + .box-pack-center; + position: relative; + + p { + color: #acacac; + margin-top: 3vw; + + span { + color: #f41e1e; + } + } + + ._c { + .box; + .box-wrap; + margin-top: 4vw; + + >img { + .y50; + width: 11.067vw; + height: 11.067vw; + margin: 0 3vw 3vw 0; + + &:nth-child(6n) { + margin-right: 0; + } + } + + .a { + border: solid 1px #ff5858; + } + } + } + } + + .html { + .w100 { + padding: 3.333vw; + } + } + } + + .van-share-sheet__header { + padding-bottom: 0; + } + + .van-share-sheet__options { + .box-pack-around; + } + + .van-action-bar { + padding: 0 2vw; + height: 16vw; + + .van-action-bar-icon { + width: 18vw; + } + + button { + margin-left: 3vw; + + &:last-child { + margin: 0; + } + + height: 10vw; + } + } + + .showSpecs { + .box; + .box-tb; + padding: 3.333vw; + + ._product { + .box; + border-bottom: 1px solid #f5f5f5; + margin-bottom: 2vw; + padding-bottom: 2vw; + color: #323233; + + >img { + max-width: 26.133vw; + min-width: 26.133vw; + height: 26.133vw; + margin-right: 2vw; + } + + ._c { + width: 100%; + height: 26.133vw; + .box; + .box-tb; + .box-pack-around; + + .price { + font-size: 5.467vw; + margin-bottom: .667vw; + + span { + font-size: 3.467vw; + } + } + + .d { + font-size: 3.467vw; + } + + .selected { + height: 7vw; + line-height: 7vw; + border-radius: 1vw; + } + + } + } + + .specs { + height: 10vw; + line-height: 10vw; + font-size: 3.467vw; + } + + .label { + .box; + .box-wrap; + + a { + height: 8vw; + line-height: 8vw; + padding: 0 5vw; + background: #f1f1f1; + border-radius: 1vw; + margin: 0 3.333vw 2vw 0; + } + + .a { + .bs; + background: linear-gradient(to right, rgb(255, 96, 52), rgb(238, 10, 36)) + } + } + + .number { + .box; + .box-align-center; + margin: 3.333vw 0 0; + font-size: 3.467vw; + + .van-stepper { + .r; + } + + .van-stepper__input { + font-size: 3.467vw; + } + + --van-stepper-button-round-theme-color:#ff3c02; + } + + .van-button { + height: 10vw; + font-size: 4vw; + } + } +} + +.mall { + .b_l_w; + min-height: 100vh; + padding: 3.87vw 2vw 0; + background-color: #f5f5f5 !important; + background-image: linear-gradient(180deg, + #f36d8d 0%, + #f6f6f6 100%); + background-repeat: no-repeat; + background-size: 100% 62.933vw; + + >div { + .b_l_w; + } + + .top { + .search_box { + .box; + .box-align-center; + padding: 0.67vw 0.8vw 0.8vw 2.4vw; + height: 7.47vw; + background-color: #ffffff; + border-radius: 3.73vw; + + img { + width: 3.6vw; + height: 3.6vw; + margin: 0 1.73vw 0 0; + } + + input { + border: none; + width: 100%; + + &::-webkit-input-placeholder { + color: #c1c1c1; + } + } + + button { + .r; + .box; + .box-center-center; + padding: 0 2.4vw; + background: @proColor; + width: 13.33vw; + height: 6vw; + border-radius: 3vw; + border: none; + font-size: 3.2vw; + color: #ffffff; + } + } + + .banner img { + width: 100%; + margin-top: 3.07vw; + border-radius: 2.2vw; + } + + .label_box { + .box; + .box-align-center; + .box-pack-between; + padding: 3.73vw 4.8vw 2.93vw 3.6vw; + font-size: 2.93vw; + color: #f5f5f5; + + >div { + .box; + .box-align-center; + } + + img { + width: 3.33vw; + margin: 0 1.47vw 0 0; + } + } + + } + + .cg_bigbox { + background-color: #ffffff; + border-radius: 2vw; + padding: 3.33vw; + margin-top: 4vw; + + .top { + .box; + .box-pack-between; + width: 100%; + margin-bottom: 2vw; + + .left_box { + .box; + .box-align-center; + + img { + height: 4.67vw; + margin-right: 2vw; + } + } + + .right_box { + .r; + font-size: 3.2vw; + line-height: 4.48vw; + color: #787878; + } + } + } + + .Category_box { + .box; + flex-wrap: wrap; + // padding: 1vw 2vw 4.67vw; + background-color: #ffffff; + border-radius: 2.67vw; + + .Category_item { + .box; + .box-tb; + .box-align-center; + .box-pack-center; + width: 20%; + font-size: 3.14vw; + color: #0d0d0d; + + img { + margin: 3.33vw 0 1.87vw; + height: 14.4vw; + border-radius: 50%; + } + } + } + + .v2 { + background: url(/img/fruit_bg.png) no-repeat; + + .onsale_box { + img { + width: auto; + } + } + } + + .banner_style1 { + .box; + .box-tb; + padding: 2.13vw 2.8vw 0; + border-radius: 2.67vw; + margin-top: 2.67vw; + background-color: #fff !important; + background: url(/img/banner_bg.png) no-repeat; + background-size: 100%; + margin-bottom: 1.6vw; + + .top { + .box; + margin-bottom: 2.4vw; + + .left { + .box; + .box-align-center; + + img { + width: 18.67vw; + margin-right: 2.13vw; + } + + span { + .bs; + padding: 0 1.2vw; + height: 4.27vw; + background-image: linear-gradient(118deg, + #ff3133 100%); + border-radius: 1.33vw; + } + } + + span { + .r; + font-size: 3.2vw; + color: #282828; + } + } + + .banner { + margin-bottom: 3vw; + } + + .item { + .box; + .box-tb; + width: 27.87vw; + margin-right: 4.8vw; + + ._img { + width: 26.4vw; + height: 26.4vw; + border: 1px solid #f7f7f7; + border-radius: 2.667vw; + position: relative; + + >img { + width: 26.4vw; + height: 26.4vw; + border-radius: 2.67vw; + border: solid 1px #f7f7f7; + margin-bottom: 1.73vw; + } + + ._point_ { + div { + height: 3.867vw; + line-height: 3.867vw; + padding: 0 1.467vw 0 3.733vw; + background-image: linear-gradient(93deg, + #ff5243 50%, + #ff5143 100%); + border-radius: 1vw; + position: absolute; + left: 0; + bottom: 0; + font-size: 2.667vw; + clip-path: polygon(1.5vw 0, 100% 0, 100% 100%, 2.6vw 100%); + .bs; + } + + img { + height: 3.733vw; + position: absolute; + left: -.8vw; + bottom: 0; + z-index: 1; + } + } + + } + + .title { + font-size: 3.2vw; + color: #020202; + .text-hide(2); + margin-bottom: 1.87vw; + height: 8.3vw; + } + + .sales { + font-size: 2.67vw; + color: #afafaf; + margin-bottom: 2.27vw; + } + + .oprice { + text-decoration: line-through; + } + + .price { + .box; + align-items: baseline; + font-size: 3.73vw; + color: #ff191b; + + .money { + font-size: 2.4vw; + } + } + + >div { + .box; + + img { + width: 5.6vw; + height: 5.07vw; + border-radius: 2vw; + } + } + + + } + + .van-swipe-item { + .box; + .box-pack-around; + justify-content: flex-start + } + + .van-swipe__indicators { + .box; + .box-center-center; + margin: 2vw auto 0; + bottom: 0; + position: relative; + + .van-swipe__indicator { + width: 0.67vw; + height: 0.8vw; + background-color: #a0a0a0; + border-radius: 0.27vw; + } + + .van-swipe__indicator--active { + width: 2.53vw !important; + height: 0.8vw !important; + border-radius: 0.27vw; + } + } + } + + .banner_style2 { + background: #fff; + border-radius: 2vw; + overflow: hidden; + margin-top: 4vw; + margin-bottom: 4vw; + + .top { + .box; + .box-align-center; + height: 10vw; + padding: 0vw 2.8vw; + background-color: #ffb43d; + color: #a86906; + + img { + width: 4.27vw; + } + + b { + font-size: 4.8vw; + color: #ffffff; + margin: 0 3.6vw 0 1.47vw; + } + + p { + color: #a86906; + } + } + + .banner { + .box; + // margin-bottom: 3vw; + padding: 4vw 3.33vw; + overflow-x: auto + } + + .item { + .box; + .box-tb; + margin-right: 2.67vw; + width: 34.67vw; + + img { + object-fit: contain; + width: 34.67vw; + height: 34.67vw; + background-color: #e5e5e5; + border-radius: 1.33vw; + } + + .title { + font-size: 3.2vw; + font-weight: bold; + line-height: 4vw; + color: #333333; + min-height: 8vw; + .text-hide(2); + margin-top: 2.8vw; + } + + .oprice { + font-size: 3.2vw; + text-decoration: line-through; + // line-height: 4.8vw; + color: #b1b1b1; + margin-top: 1.67vw; + } + + .price { + font-size: 4vw; + font-weight: bold; + color: #ea3e23; + } + } + + } + + .goods { + .box; + .box-tb; + margin-bottom: 5vw; + + .van-tabs { + font-size: 3.87vw; + font-weight: bold; + + .van-tabs__nav { + background: none; + } + + .van-tab--active { + z-index: 2; + font-size: 4.27vw; + } + + .van-tabs__line { + bottom: 6.7vw; + } + + // .van-tabs__line { + // position: absolute; + // left: 0; + // top: 0; + // width: 21px; + // height: 100%; + // z-index: 1; + // background: url(/img/mall_i35.png) no-repeat; + // background-size: 100% auto; + // } + } + + .g_fonts { + .box; + .box-align-center; + flex-direction: column; + align-items: center; + justify-content: space-between; + font-weight: bold; + + .g_f1 { + font-size: 3.6vw; + } + + .g_f2 { + font-size: 2.67vw; + } + } + + .goods_box { + .box; + .box-pack-between; + flex-wrap: wrap; + flex-direction: row; + } + + .good { + .box; + .box-tb; + margin-top: 2.13vw; + width: 46.67vw; + background-color: #ffffff; + border-radius: 1.33vw; + position: relative; + + >div { + padding: 0 3vw 3.6vw; + // height: 100%; + } + + img { + width: 100%; + height: 46.67vw; + margin-bottom: 3.2vw; + } + + .title { + font-size: 3.47vw; + font-weight: bold; + color: #141414; + .text-hide(2); + margin-bottom: 2.8vw; + height: 10vw; + line-height: 5vw; + } + + .zeng_box { + .box; + margin-left: auto; + width: auto; + margin-bottom: 3.2vw; + + span { + .box; + .box-center-center; + line-height: 3.52vw; + width: 5.87vw; + height: 4vw; + line-height: 4vw; + background-color: #ff3234; + border-radius: 0.67vw 0 0 0.67vw; + padding: 0.4vw 1vw; + font-size: 3.2vw; + color: #ffffff; + } + + >div { + border-radius: 0 0.67vw 0.67vw 0; + border: 1px solid #fcc; + border-left: 0; + font-size: 2.93vw; + color: #ff3234; + padding: 0 0.6vw; + line-height: calc(~'4vw - 2px'); + } + } + + .oldprice { + font-size: 3.33vw; + color: #a2a2a2; + text-decoration: line-through; + margin-bottom: 3.07vw; + display: block; + margin-top: auto; + } + + .price { + .box; + .box-align-center; + color: #ff4a26; + font-size: 4.97vw; + font-weight: bold; + height: 6vw; + + .money { + font-size: 3.07vw; + } + + b { + font-size: 4vw; + } + } + } + } +} + +.merchant { + .b_l_w; + .f5; + padding: 4vw 3.33vw; + background: url(/img/merchant_bg.jpg) no-repeat; + background-size: 100% auto; + + .shopinfo { + .box; + position: relative; + + .tx { + width: 16vw; + height: 16vw; + background-color: #ffffff; + border-radius: 2vw; + margin-right: 3.6vw; + } + + .info { + .box; + .box-tb; + .box-pack-around; + width: 100%; + + b { + font-size: 3.733vw; + color: #222222; + } + + p { + color: #666666; + } + } + + .service-box { + margin-left: auto; + display: flex; + flex-wrap: nowrap; + align-items: center; + position: absolute; + color: #fff; + font-size: 3.47vw; + font-weight: bold; + right: -3.33vw; + top: 8vw; + height: 6.67vw; + background-color: #fc6a39; + border-radius: 3.33vw 0vw 0vw 3.33vw; + padding: 0 2.8vw; + white-space: nowrap; + } + } + + .wallet { + padding: 4.133vw 2.667vw; + background-color: #ffffff; + border-radius: 1.6vw; + position: relative; + margin-top: 4vw; + + .tit { + span { + color: #1b1b1b; + } + + .line { + .box; + .box-align-center; + margin-top: 4.53vw; + + >div { + margin-left: 6.67vw; + .box; + .box-align-center; + height: 6.13vw; + padding: 0 1.47vw; + border-radius: 1.07vw; + border: solid 1px #222222; + color: #1b1b1b; + + p { + font-weight: bold; + } + } + + b { + font-size: 6.67vw; + color: #1b1b1b; + } + } + } + + b { + font-size: 4vw; + } + + .cc { + .box; + position: relative; + z-index: 1; + background-color: #f5f5f5; + border-radius: 1.6vw; + padding: 5.667vw 3.33vw; + margin-top: 3.33vw; + + >div { + .box; + .box-tb; + .box-align-center; + width: 50%; + color: #222222; + } + + >div:first-child { + border-right: 1px solid #8a8a8a80; + } + + span { + display: block; + margin-bottom: 2vw; + } + + b { + color: #222222; + font-size: 4.533vw; + } + } + } + + .fastTo { + .box; + .box-align-center; + .box-pack-between; + margin-top: 4vw; + + >div { + .box; + width: 29.33vw; + height: 18.67vw; + border-radius: 1.6vw; + position: relative; + padding: 4vw 2.2vw; + font-size: 3.73vw; + font-weight: bold; + line-height: 4.44vw; + color: #1b1b1b; + + img { + width: 11.6vw; + position: absolute; + bottom: 0; + right: 0; + } + } + + .ft1 { + background-color: #f5f8ff; + border: solid 0.27vw #9ab0f9; + } + + .ft2 { + background-color: #fff8f6; + border: solid 0.27vw #f9b49d; + } + + .ft3 { + background-color: #fff8ef; + border: solid 0.27vw #f6c88a; + + img { + bottom: 1.2vw; + right: 1.2vw; + } + } + } + + .block { + .box; + .box-pack-between; + margin-top: 4vw; + + b { + font-size: 3.733vw; + position: relative; + z-index: 1; + color: #222222; + } + + p { + position: relative; + z-index: 1; + color: #999999; + } + + img { + height: 18.267vw; + position: absolute; + z-index: 0; + } + + button { + .bs; + margin-top: 2.4vw; + width: max-content; + min-width: 17.867vw; + height: 5.333vw; + border: none; + position: relative; + z-index: 1; + border-radius: 2.667vw; + white-space: nowrap; + } + + ._r { + .box; + // .box-tb; + width: 100%; + .box-pack-between; + + div { + width: 45.33vw; + height: 20.1vw; + border-radius: 2.667vw; + position: relative; + .box; + .box-tb; + .box-middle; + padding: 1vw 3vw; + } + } + + .d1 { + position: relative; + width: 40vw; + height: 42.667vw; + background-color: #e4e2ce; + border-radius: 2.667vw; + padding: 4.267vw; + + button { + background-color: #b7b38f; + } + + img { + width: 15.733vw; + height: 17.733vw; + bottom: 2vw; + right: 4vw; + } + } + + .d2 { + background-color: #d7f3eb; + + button { + background-color: #61cfa7; + } + + img { + height: 18.27vw; + bottom: 0vw; + right: 4.667vw; + } + } + + .d3 { + background-color: #daedfc; + + button { + background-color: #6db0e1; + } + + img { + width: 16.8vw; + height: 14.4vw; + bottom: 2.67vw; + right: 2.93vw; + } + } + } + + .countbox { + margin-top: 4vw; + background-color: #ffffff; + border-radius: 2.667vw; + padding: 4.267vw; + + .title { + .box; + .box-center-center; + width: 100%; + + b { + font-size: 4vw; + color: #222222; + } + } + + .line { + margin-top: 4.667vw; + color: #222222; + + span { + color: #999999; + } + + .refresh { + color: #ff4242; + margin-left: 2.8vw; + } + + } + + .list { + .box; + .box-pack-between; + margin-top: 4.267vw; + flex-wrap: wrap; + + .item { + .box; + .box-tb; + .box-pack-between; + width: 41.333vw; + height: 24vw; + + background-color: #f2f4f5; + border-radius: 1.333vw; + padding: 3.2vw; + margin-bottom: 4vw; + + span { + color: #222222; + } + + b { + font-size: 4vw; + line-height: 10.667vw; + color: #222222; + } + + p { + .box; + .box-align-center; + white-space: nowrap; + text-wrap: nowrap; + color: #999999; + + span { + margin-left: 1.2vw; + display: block; + } + } + } + } + } + + .actionbox { + .box; + .box-align-center; + width: 100%; + padding: 4.533vw; + background-color: #ffffff; + border-radius: 2.667vw; + margin-top: 4vw; + + >div { + width: 25%; + .box; + .box-tb; + .box-align-center; + + img { + height: 7.467vw; + margin-bottom: 3.467vw; + } + + span { + color: #222222; + } + } + } + + .back { + width: 100%; + border: none; + margin-top: 4vw; + height: 12.133vw; + background-color: #22a56e; + border-radius: 6vw; + font-size: 4.8vw; + color: #ffffff; + } +} + +.merchantincome { + padding: 4vw 3.33vw; + .f5; + .b_l_w; + + >div { + .b_l_w; + } + + + .count_box { + .box; + .box-tb; + position: relative; + min-height: 34.667vw; + // padding: 6vw 5.067vw; + padding: 4.53vw; + border-radius: 2vw; + background: url(/img/income-bg.png) no-repeat; + background-size: 100% auto; + + .title { + .box; + // .bs; + .box-align-center; + font-size: 3.73vw; + + img { + width: 4.27vw; + height: 4.4vw; + } + + span { + margin-right: 1.8vw; + } + } + + .perform { + font-size: 9.333vw; + font-weight: bold; + // .bs; + margin-top: 2vw; + } + + .btm { + .box; + margin-top: 3.067vw; + + >div { + .box; + .box-align-center; + width: 100%; + + span { + font-size: 3.2vw; + // color: #89caaf; + // .bs; + } + } + } + } + + .tips { + .box; + .box-center-center; + background-color: #ffe9ee; + border-radius: 2vw; + margin-top: -6vw; + padding-top: 5vw; + margin-bottom: 4vw; + height: 17.067vw; + font-size: 3.2vw; + color: #841e36; + + span { + margin-left: 1.2vw; + } + } + + .time { + .box; + .box-align-center; + + + .date_box { + .box; + .box-align-center; + .box-pack-between; + width: 100%; + z-index: 3; + font-size: 3.33vw; + margin-bottom: 4vw; + padding: 0 1px; + // color: #474747; + // padding: 2.8vw 4.93vw 2.53vw 4.93vw; + + // >div { + // .box; + // .box-tb; + // .box-align-center; + // } + + .date { + .box; + height: 8vw; + background-color: #eeeeee; + border-radius: 4vw; + padding: 0 3.33vw; + + >div { + .box; + // .box-tb; + .box-align-center; + margin-right: 1.2vw; + } + } + + .income { + .box; + .box-align-center; + .r; + // :first-child { + // margin-bottom: 1.47vw; + // } + } + + // .expend { + // :first-child { + // margin-bottom: 1.47vw; + // } + // } + + img { + width: 2.13vw; + // margin-right: 11.07vw; + } + } + + + } + + .details_box { + .box; + .box-tb; + + .item { + .box; + .box-tb; + margin-bottom: 4vw; + background-color: #ffffff; + border-radius: 2.667vw; + // padding: 4.667vw 5vw; + padding: 4vw 3.33vw; + + >div { + .box; + .box-align-center; + color: #999999; + margin-bottom: 2vw; + } + + >div:last-child { + margin: 0; + } + + .line1 { + .type { + // .bs; + .box; + .box-center-center; + color: #000000; + // width: 10vw; + height: 4.8vw; + padding: 0 1.2vw; + background-color: #ffc6d4; + border-radius: 1.333vw; + margin-right: 1.2vw; + } + + p { + color: #222222; + } + + .income { + .r; + .b; + .bs; + line-height: 4.8vw; + height: 4.8vw; + padding: 0 1vw; + background-color: #f05151; + } + + .expend { + .r; + .b; + .bs; + line-height: 4.8vw; + height: 4.8vw; + padding: 0 1vw; + background-color: #3f9e76; + } + } + } + + // .tit { + // font-size: 3.733vw; + // color: #222222; + // font-weight: bold; + // } + + // .list { + // .b_k; + // border-radius: 2vw; + // margin-bottom: 4vw; + // padding: 3vw 2.667vw; + + // .item { + // margin-top: 6vw; + // padding-bottom: 5.2vw; + // border-bottom: 1px solid #f5f5f5; + + // >div { + // .box; + // .box-align-center; + // line-height: 5.333vw; + // color: #222222; + + // .in { + // color: #ef4c2b; + // } + + // .out { + // color: #222222; + // } + // } + // } + // } + } +} + +.merchantcashout { + .f5; + + .top { + height: 12vw; + padding: 0 3.33vw; + .box; + .box-align-center; + background-color: #ffffff; + + span { + color: #1b1b1b; + + b { + font-size: 3.73vw; + } + } + + .red { + color: #ff0000; + } + } + + .list { + margin-top: 4vw; + padding: 0 4vw; + + .item { + margin-bottom: 4vw; + background-color: #ffffff; + border-radius: 2vw; + padding: 3.33vw; + + .state { + font-size: 3.73vw; + font-weight: bold; + color: #1b1b1b; + } + + .line { + .box; + + .money { + span { + font-size: 4vw; + } + } + + .red { + color: #ff0000; + } + } + + .record { + .box; + .box-align-center; + color: #a0a0a0; + margin-top: 4vw; + + .right { + .r; + } + } + } + } +} + +.statistics { + .f5; + .b_l_w; + padding: 4vw 3.33vw; + + &::before { + background-image: linear-gradient(0deg, + #f5f5f5 60%, + #fc6a39 100%); + } + + >div { + .b_l_w; + } + + .top { + .bs; + + .refresh { + .box; + .box-center-center; + width: 13.33vw; + height: 5.33vw; + border-radius: 0.67vw; + border: solid 1px #ffffff; + white-space: nowrap; + + img { + width: 3.2vw; + height: 3.2vw; + margin-left: 1.2vw; + } + } + } + + .count-box { + .box; + .box-align-center; + .box-pack-between; + flex-wrap: wrap; + width: 100%; + margin-top: 2.8vw; + + .item { + background-color: #ffffff; + border-radius: 2.667vw; + width: 45.333vw; + margin-bottom: 2.533vw; + padding: 3.2vw; + + >div { + .box; + .box-tb; + margin-bottom: 5.333vw; + + span { + color: #222; + } + + b { + font-size: 4vw; + margin-top: 2.933vw; + } + } + + p { + .box; + .box-align-center; + border-radius: 0.67vw; + border: solid 1px #ffffff; + + span { + color: #999999; + margin-left: 1.2vw; + } + } + } + } + + .report { + background-color: #ffffff; + border-radius: 2.667vw; + margin-top: 2vw; + padding: 4.4vw; + + .van-tabs { + margin-top: 4vw; + } + + .van-tabs__nav--card { + // margin: 4vw 0 0 0; + margin: 0; + } + + b { + font-size: 3.733vw; + color: #222222; + } + + .t { + .box; + .box-align-center; + + >div { + .calendar { + width: 3.467vw; + height: 3.333vw; + } + + .down { + width: 1.867vw; + height: 1.067vw; + } + + span { + margin: 0 1.2vw; + } + } + } + + .datecount { + .box; + .box-align-center; + flex-wrap: wrap; + background-color: #fff5f5; + border-radius: 2vw; + border: solid 1px #fc6a39; + margin: 2.933vw 0; + padding: 3.867vw; + + .dc-item { + .box; + .box-tb; + .box-align-center; + width: 50%; + color: #222; + // padding: 4.533vw 0; + margin-bottom: 6vw; + + b { + margin-top: 2.933vw; + font-size: 4vw; + } + } + + .dc-item:nth-child(3), + .dc-item:nth-child(4) { + margin: 0; + } + + .dc-item:nth-child(2n+1) { + border-right: #e9d6a4 1px solid; + } + } + } +} + +.merchanttrade { + .f5; + + .top { + .box; + .box-align-center; + padding: 0 4vw; + height: 12vw; + background-color: #ffffff; + + img { + height: 2vw; + margin-left: 1.2vw; + } + + >div { + .box; + .box-align-center; + } + + .date { + >div { + .box; + } + } + + .filter { + .r; + } + } + + .list { + padding: 0 4vw; + margin-top: 4vw; + + .item { + .top_line { + .bs; + .box; + .box-align-center; + padding: 3.47vw; + height: 14.67vw; + background-color: #333333; + border-radius: 1.6vw 1.6vw 0vw 0vw; + + .date { + font-size: 4vw; + font-weight: bold; + line-height: 5.33vw; + color: #ffffff; + } + + .right_box { + .box; + .r; + + >div { + .box; + .box-tb; + .box-align-center; + margin-left: 6vw; + } + } + } + + .item_detail:last-child { + border-radius: 0 0 1.6vw 1.6vw; + } + + .item_detail { + padding: 4.8vw 3.33vw; + background: #fff; + border-bottom: 1px solid #f5f5f580; + + .line { + .box; + .box-align-center; + + button { + .r; + height: 6.67vw; + background: transparent; + border-radius: 1.07vw; + border: solid 1px #000000; + white-space: nowrap; + } + } + + .userinfo { + .box; + margin-top: 3.33vw; + + .icon { + width: 10.67vw; + height: 10.67vw; + border-radius: 50%; + margin-right: 1.4vw; + } + + .info { + .box; + .box-tb; + // .box-align-center; + .box-pack-between; + height: 10.67vw; + + span { + color: #1b1b1b; + } + + p { + color: #707070; + } + } + } + + .count { + .box; + .box-pack-around; + margin-top: 4vw; + + >div { + .box; + .box-tb; + .box-align-center; + + span { + color: #707070; + } + + b { + color: #1b1b1b; + } + } + + .red { + b { + color: #ca2904; + } + } + } + } + } + } +} + +.filter-popup { + height: 100%; + display: flex; + flex-direction: column; + background: #f5f5f5; + + .filter-header { + .box; + .box-align-center; + .box-pack-between; + padding: 4vw 4vw; + background: #fff; + border-bottom: 1px solid #eee; + + span { + font-size: 3.73vw; + color: #666; + + &:nth-child(2) { + font-size: 4.27vw; + font-weight: bold; + color: #1b1b1b; + } + + &:last-child { + color: @proColor; + } + } + } + + .filter-content { + flex: 1; + overflow-y: auto; + padding: 4vw; + + .filter-section { + background: #fff; + border-radius: 2vw; + padding: 3vw; + margin-bottom: 3vw; + + .section-title { + font-size: 3.73vw; + color: #1b1b1b; + margin-bottom: 2vw; + font-weight: 500; + } + + .date-range { + .box; + .box-align-center; + padding: 2vw 3vw; + background: #f5f5f5; + border-radius: 1vw; + + span { + flex: 1; + font-size: 3.47vw; + color: #1b1b1b; + + &.placeholder { + color: #999; + } + + &.to { + text-align: center; + color: #666; + } + } + } + + .van-radio-group { + flex-wrap: wrap; + + .van-radio { + margin-right: 2vw; + margin-bottom: 1vw; + } + } + } + } + + :deep(.van-action-bar) { + padding: 2vw 4vw; + padding-bottom: calc(2vw + env(safe-area-inset-bottom)); + + .van-action-bar-button { + border-radius: 1vw; + } + } +} + +.date-range-popup { + background: #fff; + + .date-range-header { + .box; + .box-align-center; + .box-pack-between; + padding: 4vw; + border-bottom: 1px solid #eee; + + span { + font-size: 3.73vw; + + &:nth-child(1) { + color: #666; + } + + &:nth-child(2) { + font-size: 4.27vw; + font-weight: bold; + color: #1b1b1b; + } + + &:nth-child(3) { + color: @proColor; + } + } + } + + .date-range-content { + padding: 4vw; + + .date-picker-item { + margin-bottom: 4vw; + + span { + display: block; + font-size: 3.47vw; + color: #666; + margin-bottom: 2vw; + } + } + } +} + +.merchanttradedetail { + .f5; + background: linear-gradient(#841e36 0%, + #f5f5f5 40%); + + .state { + .box; + .box-center-center; + padding-top: 10.67vw; + + b { + font-size: 6.67vw; + color: #ffffff; + margin-left: 4.53vw; + } + + img { + width: 10.67vw; + height: 10.67vw; + } + } + + .line { + width: 90.67vw; + height: 2.67vw; + background-color: #841e36; + border-radius: 1.33vw; + margin-top: 8.67vw; + } + + .containar { + .box; + .box-tb; + .box-center-center; + } + + .details_box { + margin: 0 2vw; + background-color: #ffffff; + box-shadow: 0vw 0vw 1.33vw 0vw rgba(137, 137, 137, 0.3); + border-radius: 0vw 0vw 2vw 2vw; + width: 86.67vw; + margin-top: -1.33vw; + padding: 7.8vw 3.33vw 0; + white-space: nowrap; + + .detail { + .box; + .box-align-center; + margin-bottom: 3.07vw; + white-space: nowrap; + + span { + color: #000000; + } + + p { + .r; + color: #606060; + } + } + + hr { + border: none; + height: 1px; + background: #f5f5f580; + margin: 0 0 3.07vw 0; + } + + .red { + color: #ff0000 !important; + font-weight: bold; + } + } +} + +.product_list { + padding: 4vw 3.33vw; + + .product_item { + .box; + background: #fff; + border-radius: 2.667vw; + padding: 3.33vw; + margin-bottom: 4vw; + + img { + width: 20vw; + height: 20vw; + margin-right: 3.33vw; + } + + >div { + height: 20vw; + .box; + .box-tb; + .box-pack-between; + } + + .name { + font-size: 4.27vw; + .text-hide(1); + } + + .price { + color: #f00; + font-size: 3.67vw; + font-weight: bold; + + b { + font-size: 3.2vw; + } + } + } +} + +.asset { + .b_l_w; + // .f5; + padding: 4vw 3.333vw; + + >div { + .b_l_w; + } + + .a { + width: 35.733vw; + height: 8vw; + // background: url(/img/asset-a.png) no-repeat; + background-size: 100% 100%; + position: absolute; + right: 0; + top: 7vw; + .box; + .box-align-center; + .box-pack-center; + // .bs; + font-size: 3.65vw; + z-index: 9; + + img { + width: 3.47vw; + height: 3.47vw; + } + + >i { + .b; + margin: 0 0 0 1.333vw; + } + } + + .t { + background-size: 100% 100% !important; + border-radius: 4vw; + position: relative; + margin-bottom: 8vw; + + .tit { + .box; + .box-align-center; + + span { + font-size: 4vw; + .box; + .box-align-center; + + i { + font-size: 4vw; + margin: .5vw 0 0 1vw; + } + } + } + + ._tit { + .box; + .box-align-center; + .box-pack-center; + height: 6.667vw; + background-color: #d0f9cd; + + span { + font-size: 3.2vw; + color: #009c4d; + .box; + .box-align-center; + + i { + font-size: 4vw; + margin: .5vw 0 0 1vw; + } + } + } + + .c { + .box; + .box-align-center; + .box-wrap; + font-size: 3.2vw; + position: relative; + background: url(/img/asset-c-bg.png) no-repeat; + background-size: 100% auto; + height: 60vw; + padding-bottom: 4.53vw; + + >div { + .b_l_w; + } + + .number { + font-size: 8vw; + .box; + .box-pack-between; + .box-align-center; + margin: 4vw 0 0; + color: #ff0000; + + .a { + width: 26.667vw; + height: 8vw; + line-height: 8vw; + border-radius: 4vw; + .center; + background-color: #f3c947; + font-size: 4.267vw; + color: #141414; + margin-left: auto; + } + + .van-button { + width: 24vw; + .b; + font-size: 3.733vw; + margin-left: 3vw; + } + } + + .total { + margin: 4vw 0 0; + line-height: 8vw; + .box; + .box-pack-around; + .center; + font-size: 3.333vw; + color: #959595; + + p { + font-size: 4vw; + color: #252525; + .b; + } + } + + .tip { + .center; + + div { + .bs; + .center; + display: inline-block; + width: 49.333vw; + height: 7.333vw; + line-height: 7.533vw; + border-radius: 0.667vw; + border: solid 0.2vw #ffffff; + font-size: 3.2vw; + } + } + + .i-a { + .b_l_w; + .box; + .box-pack-between; + + a { + .box; + .box-align-center; + white-space: nowrap; + + img { + height: 5.333vw; + margin-right: 1.867vw; + } + + font-size: 4.267vw; + } + } + + .btn { + .box; + .box-pack-between; + padding: 2vw 0 0; + + >div { + .b_l_w; + padding: 0 8vw; + } + + >button { + width: 40vw; + } + + button { + .bs; + .b; + border: 0; + height: 12.667vw; + border-radius: 6.333vw; + font-size: 4.667vw; + letter-spacing: 0.467vw; + } + } + } + } + + .times { + .box; + .box-align-center; + height: 12.8vw; + margin: 2vw 0 4vw; + background-color: #ffffff; + box-shadow: 0vw 0.67vw 1.11vw 0.09vw rgba(219, 255, 242, 0.08); + border-radius: 2.67vw; + position: relative; + z-index: 2; + + &::after { + content: ''; + width: 86.4vw; + height: 10.4vw; + background-color: #ffffff; + opacity: 0.5; + border-radius: 2.67vw; + position: absolute; + bottom: -2vw; + left: 2.4vw; + z-index: -1; + } + + img { + width: 2.4vw; + height: 1.333vw; + margin-left: 1.2vw; + } + + ._t { + .box; + .box-align-center; + height: 12.667vw; + + p { + width: 1.333vw; + height: 4vw; + border-radius: 0.667vw; + margin-right: 1.867vw; + } + + b { + font-size: 3.867vw; + } + + a { + .r; + .b; + .box; + .box-align-center; + } + } + + ._m { + .box; + .box-align-center; + .box-pack-between; + width: 100%; + padding-right: 3.33vw; + + .l { + .box; + .box-align-center; + .box-pack-center; + width: 28vw; + height: 8vw; + .b_k; + border-radius: 4vw; + font-size: 3.33vw; + color: #474747; + + span { + .box; + .box-tb; + .box-align-center; + } + } + + .right { + .box; + .center; + + p { + margin-left: 10vw; + line-height: 4.5vw; + } + } + } + + } + + .van-tabs--card { + margin: 0 0 4vw; + + .van-tabs__nav--card { + margin: 0; + border: 0; + .box-pack-between; + } + } + + .balance-tabs { + .van-tab { + min-width: 15vw; + height: 8vw; + border-radius: 4vw; + background: #eee; + border: 0; + flex: initial !important; + padding: 0 1.5vw; + } + } + + .fruit-tabs { + .van-tab { + min-width: 21vw; + height: 8vw; + border-radius: 4vw; + background: #eee; + border: 0; + flex: initial !important; + padding: 0 1.5vw; + } + } + + .leaf-tabs { + .van-tab { + min-width: 29vw; + height: 8vw; + border-radius: 4vw; + background: #eee; + border: 0; + flex: initial !important; + padding: 0 1.5vw; + } + } + + >.m { + margin: 0 0 4.667vw; + + .van-list { + .list { + .b_k; + border-radius: 2vw; + margin-bottom: 4vw; + padding: 3vw 2.667vw; + } + } + } + + ._m_ { + background: #fff; + border-radius: 2vw; + + .list { + .b_l_w; + .b_k; + // margin-bottom: 4vw; + border-bottom: 1px solid #f5f5f580; + padding: 3.333vw; + .box; + .box-tb; + border-radius: 2vw; + + >div { + .b_l_w; + } + + .tit { + height: 4.667vw; + .box; + + .tip { + .center; + width: 9.333vw; + height: 4.667vw; + line-height: 4.667vw; + background-image: linear-gradient(90deg, + #131313 0%, + #323232 100%); + border-radius: 1.333vw; + .bs; + margin-right: 1.867vw; + } + + p { + font-size: 3.467vw; + .b; + .r; + color: #595959; + } + } + + .table { + background-color: #f5f5f5; + border-radius: 2vw; + .box; + .box-wrap; + height: 33.333vw; + padding: 2vw 0; + margin: 3.333vw 0; + + div { + width: 25%; + height: 50%; + .box; + .box-tb; + .box-align-center; + .box-pack-center; + line-height: 6vw; + + p { + color: #7d7d7d; + } + + b { + font-size: 3.333vw; + } + } + } + + ._content { + .box; + .box-align-center; + padding: 3.333vw 0; + margin-bottom: 3.333vw; + border-bottom: 1px solid #f5f5f5; + + img { + width: 8vw; + height: 8vw; + border-radius: .667vw; + margin: 0 2.533vw 0 0; + } + + div { + .box; + .box-tb; + + b { + font-size: 4vw; + color: #1b1b1b; + } + + p { + color: #898989; + } + } + + >b { + .r; + font-size: 4.667vw; + } + } + + ._times { + .box; + .box-align-center; + .box-pack-between; + + div { + line-height: 6vw; + + font { + font-size: 3.467vw; + color: #a0a0a0; + } + } + + button { + width: 20vw !important; + height: 6.667vw !important; + padding: 0 !important; + } + + button+button { + margin-left: 2.667vw; + } + } + + .a1 { + color: #e03224 !important; + } + + .a2 { + color: #898989 !important; + } + + .a3 { + color: #009c4d !important; + } + } + } +} + +.asset-1 { + background: url(/img/asset-bg1.png) no-repeat; + background-size: 100% auto; + padding: 6.667vw 3.333vw 0; + + .t { + background: url(/img/asset-t1.png); + height: 52vw; + } + + .c { + padding: 5vw 5.467vw 0; + } +} + +.balance { + + .top { + .bs; + background-color: #374c6d; + padding: 8vw 4vw; + + .line { + .box; + .box-align-center; + margin-bottom: 5vw; + + .num { + font-size: 8vw; + color: #ffffff; + } + } + + .tit { + .box; + .box-align-center; + font-size: 4.8vw; + color: #ffffff; + + .van-icon { + margin-left: 2.4vw; + } + } + + .co_box { + .r; + .box; + .box-align-center; + + span { + margin: 0 1.2vw; + } + + img { + height: 4.27vw; + } + } + + button { + padding: 0 4vw; + color: #333; + height: 8vw; + background-color: #ffffff; + border-radius: 4vw; + box-shadow: none; + } + + .pn { + .box; + .box-align-center; + color: #b6c7e1; + } + } + + .botom { + padding: 5.87vw 4vw; + background-color: #ffffff; + border-radius: 5.33vw 5.33vw 0vw 0vw; + margin-top: -10vw; + + .tabs { + margin-top: 4vw; + + .van-tab--card:last-child { + margin: 0; + } + + .van-tab--card { + border-right: none; + border-radius: 4vw; + background-color: #f6f6f6; + margin-right: 3vw; + gap: 3vw; + width: max-content; + font-size: 3.2vw; + } + + .van-tabs__nav--card { + border: none; + margin: 0; + } + } + } + + .date_box { + .box; + .box-align-center; + + .date { + .box; + .box-center-center; + height: 8vw; + background-color: #f6f6f6; + border-radius: 4vw; + padding: 0 2.8vw; + + img { + height: 1.2vw; + margin-left: 1.2vw; + } + } + + .count { + .r; + .box; + gap: 12vw; + line-height: 4.67vw; + + >div { + .box; + .box-tb; + .box-align-center; + } + } + } + + ._m_ { + margin-top: 4vw; + + .in { + background: #269f3d; + } + + .out { + background: #d13c25; + } + + .list { + .b_l_w; + .b_k; + margin-bottom: 4vw; + border-bottom: 1px solid #f5f5f580; + padding: 3.333vw; + .box; + .box-tb; + background-color: #f6f6f6; + border-radius: 1.6vw; + border-radius: 2vw; + + >div { + .b_l_w; + } + + .tit { + height: 4.667vw; + .box; + + .tip { + .center; + width: 9.333vw; + height: 4.667vw; + line-height: 4.667vw; + background-image: linear-gradient(90deg, + #131313 0%, + #323232 100%); + border-radius: 1.333vw; + .bs; + margin-right: 1.867vw; + } + + p { + font-size: 3.467vw; + .b; + .r; + color: #595959; + } + } + + .table { + background-color: #f5f5f5; + border-radius: 2vw; + .box; + .box-wrap; + height: 33.333vw; + padding: 2vw 0; + margin: 3.333vw 0; + + div { + width: 25%; + height: 50%; + .box; + .box-tb; + .box-align-center; + .box-pack-center; + line-height: 6vw; + + p { + color: #7d7d7d; + } + + b { + font-size: 3.333vw; + } + } + } + + ._content { + .box; + .box-align-center; + padding: 3.333vw 0; + margin-bottom: 3.333vw; + border-bottom: 1px solid #f5f5f5; + + img { + width: 8vw; + height: 8vw; + border-radius: .667vw; + margin: 0 2.533vw 0 0; + } + + div { + .box; + .box-tb; + + b { + font-size: 4vw; + color: #1b1b1b; + } + + p { + color: #898989; + } + } + + >b { + .r; + font-size: 4.667vw; + } + } + + ._times { + .box; + .box-align-center; + .box-pack-between; + + div { + line-height: 6vw; + + font { + font-size: 3.467vw; + color: #a0a0a0; + } + } + + button { + width: 20vw !important; + height: 6.667vw !important; + padding: 0 !important; + } + + button+button { + margin-left: 2.667vw; + } + } + + .a1 { + color: #e03224 !important; + } + + .a2 { + color: #898989 !important; + } + + .a3 { + color: #009c4d !important; + } + } + } +} + +.cv { + .f5; + padding: 8vw 4vw; + + .card { + .box; + .box-tb; + .box-pack-between; + background-color: #fbf0f0; + border-radius: 2.67vw; + overflow: hidden; + border: solid 1.33vw #ffffff; + padding: 5.07vw 2.67vw; + // height: 34.67vw; + width: 100%; + position: relative; + z-index: 1; + + &::after { + content: ''; + right: 0; + bottom: 0; + z-index: -1; + position: absolute; + width: 26vw; + height: 23.33vw; + background: url(/img/cv-i1.png) no-repeat; + background-size: 100% auto; + } + + .t { + .box; + .box-align-center; + + .u_info { + margin-left: 3.6vw; + height: 10.4vw; + .box; + .box-tb; + .box-pack-around; + + b { + font-size: 3.47vw; + color: #222; + } + + span { + color: #999999; + } + } + + .record { + color: #841e36; + } + } + + .db { + .box; + .box-align-center; + padding-left: 12.4vw; + margin-top: 5.2vw; + + .left { + .box; + .box-tb; + .box-align-start; + + span { + color: #999999; + } + + b { + margin-top: 1.73vw; + display: block; + font-size: 4.8vw; + line-height: 3.2vw; + color: #222222; + } + } + + button { + .r; + height: 6.67vw; + border-radius: 3.33vw; + border: solid 0.27vw #841e36; + padding: 0 2.4vw; + background: transparent; + color: #841e36; + } + } + } + + .list_box { + background-color: #ffffff; + border-radius: 2.67vw 2.67vw 1.07vw 1.07vw; + margin-top: 4vw; + padding: 6vw 2.67vw; + height: 100%; + + .date_box { + .box; + .box-align-center; + + .date { + .box; + .box-center-center; + height: 8vw; + background-color: #fbf0f0; + border-radius: 4vw; + padding: 0 2.8vw; + color: #841e36; + + img { + height: 1.2vw; + margin-left: 1.2vw; + } + } + + .count { + .r; + .box; + gap: 12vw; + line-height: 4.67vw; + + >div { + .box; + .box-tb; + .box-align-center; + } + } + } + + .list { + margin-top: 4vw; + + .item { + .box; + .box-tb; + padding: 3.07vw 2.67vw; + background-color: #f6f6f6; + border-radius: 1.6vw; + margin-bottom: 4vw; + + span { + font-size: 3.2vw; + font-weight: normal; + font-stretch: normal; + line-height: 4.67vw; + letter-spacing: 0vw; + color: #999999; + } + + .t { + .box; + .box-align-center; + margin-bottom: 1.2vw; + + span { + .bs; + } + + .tit { + font-size: 3.47vw; + color: #333333; + } + + .in { + .box; + .box-center-center; + .bs; + height: 4.8vw; + background-color: #269f3d; + border-radius: 0.53vw; + padding: 0 2.4vw; + } + + .out { + .box; + .box-center-center; + .bs; + height: 4.8vw; + background-color: #d13c25; + border-radius: 0.53vw; + padding: 0 2.4vw; + } + } + } + } + } +} + +.point { + .top { + background: url(/img/point_bg.jpg) no-repeat; + background-size: 100% auto; + + .line { + .pn { + color: #e8b5b6; + } + } + } +} + +.team { + .b_l_w; + background: #f5f5f5; + min-height: 100vh; + padding: 4vw 3.33vw; + + >div { + .b_l_w; + } + + .count { + .box; + .box-tb; + background-color: #d1b792; + border-radius: 2vw; + padding: 3.33vw; + + .num { + font-size: 6.67vw; + line-height: 6.4vw; + color: #222222; + } + + .top { + .box; + .box-align-center; + color: #222222; + + .left { + .box; + // .box-tb; + // .bs; + + b { + font-size: 4vw; + } + + span { + margin-top: 3.33vw; + font-size: 5.33vw; + font-weight: bold; + } + } + + .right_btn { + .box; + .box-align-center; + height: 8vw; + line-height: 8vw; + .b_k; + .bs; + background-color: #1b1b1b; + border-radius: 4vw; + padding: 0 3.33vw; + font-size: 4vw; + + img { + width: 4.27vw; + height: 5.33vw; + margin-right: 2.67vw; + } + } + } + + .count_box { + .box; + .box-align-center; + .bs; + flex-wrap: nowrap; + margin-top: 4vw; + background-color: #ffffff80; + border-radius: 3.33vw; + overflow: hidden; + + hr { + height: 8vw; + background-color: #ffffff80; + border-radius: 0.07vw; + width: 1px; + border: none; + } + + .item { + .box; + .box-tb; + .box-align-center; + width: 50%; + padding: 3.33vw 0; + // border-right: 1px solid #f5f5f580; + + >div { + .box; + .box-align-center; + + img { + width: 3.47vw; + height: 3.33vw; + margin-right: 1.33vw; + } + + b { + font-size: 4.19vw; + margin-top: 2.67vw; + } + } + } + } + } + + .list_title { + font-size: 4vw !important; + margin: 4vw 0; + font-weight: bold; + + .van-tab { + font-size: 4vw !important; + } + } + + .list { + .user_box { + .box; + .box-align-center; + width: 100%; + margin-bottom: 4vw; + background-color: #ffffff; + border-radius: 2vw; + padding: 3.33vw; + padding-bottom: 0; + + .icon { + width: 12vw; + height: 12vw; + border-radius: 50%; + margin-right: 4vw; + } + + .info { + .box; + .box-tb; + width: 100%; + + >div { + .box; + .box-align-center; + margin-bottom: 3.33vw; + width: 100%; + + b { + font-size: 4vw; + } + + .vip { + .box; + .box-center-center; + height: 5.33vw; + background-image: linear-gradient(90deg, + #e4b964 0%, + #f4da9c 100%); + border-radius: 3vw; + padding: 0 3.33vw; + font-size: 3.467vw; + color: #8d5e1f; + margin-left: 2.4vw; + } + + p { + color: #585858; + } + + img { + margin-left: 2.4vw; + width: 2.4vw; + height: 2.4vw; + } + + + } + + span { + color: #585858; + } + } + } + } +} + +.allow { + + .top { + background: url(/img/allow_bg.jpg); + background-size: 100% auto; + // height: 35vw; + padding: 12vw 4vw; + + .tit { + .box; + .box-align-center; + font-size: 4.8vw; + color: #222222; + + span { + display: block; + margin-right: 1.2vw; + } + } + + b { + display: block; + font-size: 8vw; + color: #222222; + margin-top: 5.47vw; + } + } + + .content { + background-color: #ffffff; + border-radius: 5.33vw 5.33vw 0vw 0vw; + margin-top: -4vw; + padding: 4vw; + + .t { + font-size: 4vw; + font-weight: bold; + color: #333333; + } + + .list { + .box; + .box-tb; + margin-top: 3.33vw; + + .item { + .box; + .box-align-center; + // height: 10vw; + padding: 4vw 0; + border-bottom: 1px solid #f5f5f580; + + img { + width: 4.53vw; + height: 4.27vw; + margin-right: 4vw; + } + + span { + font-size: 3.47vw; + color: #333333; + } + } + } + } +} + +.certificate { + .f5; + + .van-tabs__line { + bottom: 5.5vw; + } + + .list { + .box; + .box-tb; + .box-align-center; + width: 100%; + margin-top: 4vw; + padding: 0 4vw; + overflow: hidden; + + .item { + .box; + .box-align-center; + width: 100%; + margin-bottom: 4vw; + + img { + width: 26.67vw; + height: 26.67vw; + } + + .info { + .box; + .box-align-center; + height: 26.67vw; + background-color: #ffffff; + border-radius: 1.6vw; + width: 100%; + padding: 5.2vw 0; + position: relative; + + >div { + margin-left: 5.2vw; + + b { + font-size: 4.8vw; + color: #010101; + } + + p { + color: #333333; + margin-top: 5.2vw; + } + } + + img { + width: 11.6vw; + height: 10.27vw; + position: absolute; + right: 2.4vw; + } + + button { + position: absolute; + right: 2.4vw; + width: 18.67vw; + height: 6.67vw; + background-color: #ea3e23; + border-radius: 1.6vw; + border: none; + .bs; + } + } + } + } + + .vanupup { + background-color: #ffffff; + border-radius: 1.6vw; + padding: 8.93vw 10vw; + + .code_box { + .box; + .box-tb; + + .top { + .box; + .box-center-center; + margin-bottom: 6.93vw; + font-size: 4.27vw; + color: #333333; + position: relative; + + .van-icon { + position: absolute; + right: 0vw; + } + } + + .ewm_box { + .box; + .box-tb; + .box-align-center; + padding: 5.2vw 4.53vw; + background-color: #ffffff; + border-radius: 1.6vw; + border: solid 0.53vw #4c4c4c; + + img { + width: 57.6vw; + height: 57.33vw; + margin-bottom: 4vw; + } + } + } + } +} + +.opera { + .f5; + + .top { + .box; + padding: 8vw 2.8vw; + padding-bottom: 16vw; + background: url(/img/opera_bg.jpg) no-repeat; + background-size: 100% auto; + + .info_box { + .box; + .box-align-center; + + .icon { + width: 16vw; + height: 16vw; + border: solid 0.4vw #ffffff; + margin-right: 2.67vw; + border-radius: 50%; + } + + .inf { + .box; + .box-tb; + .box-pack-around; + height: 16vw; + + b { + font-size: 4.27vw; + color: #000000; + } + + >div { + .box; + .box-align-center; + color: #333333; + + img { + height: 3.2vw; + margin-right: 1.6vw; + } + } + } + } + + .shopcenter { + .box; + .box-align-center; + position: absolute; + color: #fff; + font-size: 3.47vw; + font-weight: bold; + // top: 26.8vw; + right: 0; + height: 6.67vw; + background-color: #56a8f4; + border-radius: 3.33vw 0vw 0vw 3.33vw; + padding: 0 2.8vw; + margin-top: 6.8vw; + white-space: nowrap; + } + } + + .containar { + padding: 0 3.33vw; + } + + .wallet_box { + .box; + .box-align-center; + height: 24vw; + margin-top: -10vw; + background-color: #ffffff; + border-radius: 1.6vw; + + .item { + .box; + .box-tb; + .box-align-center; + width: 50%; + + b { + margin-top: 4.67vw; + font-size: 4.67vw; + color: #222222; + } + + .t { + .box; + .box-align-center; + font-size: 3.47vw; + color: #000000; + + img { + width: 4.8vw; + margin-right: 1.2vw; + } + } + } + } + + .fun_box { + margin-top: 4vw; + + .item { + .box; + margin-bottom: 4vw; + height: 19.33vw; + background-color: #ffffff; + border-radius: 2vw; + padding: 4vw 3.33vw; + + .left { + .box; + .box-tb; + .box-pack-between; + + b { + font-size: 3.73vw; + } + + p { + color: #898989; + } + } + + img { + .r; + } + } + } +} + +.verif { + .f5; + + padding: 8vw 4vw; + + .search_box { + .box; + .box-align-center; + padding: 0 4.93vw; + height: 9.33vw; + background-color: #ffffff; + border-radius: 4.67vw; + + img { + width: 4vw; + height: 4vw; + margin-right: 2vw; + } + + input { + font-size: 3.47vw; + background: transparent; + border: none; + width: 100%; + color: #333; + } + + input::placeholder, + :-ms-input-placeholder, + ::-webkit-input-placeholder { + color: #9b9b9b; + } + } + + .list { + .box; + .box-tb; + margin-top: 4vw; + + .item { + background-color: #ffffff; + border-radius: 1.6vw; + padding: 4vw 3.33vw 0; + margin-bottom: 4vw; + + .t { + .box; + .box-align-center; + padding-bottom: 3.33vw; + border-bottom: 1px solid #f5f5f580; + + .icon { + width: 10.67vw; + height: 10.67vw; + margin-right: 5.47vw; + } + + >div { + .box; + .box-tb; + .box-pack-between; + height: 10.67vw; + + span { + font-size: 3.47vw; + color: #303030; + } + + p { + font-size: 3.47vw; + color: #999999; + } + } + + .pre { + color: #333333; + + b { + font-size: 3.73vw; + color: #ea3e23; + } + } + + .tt { + font-weight: bold; + } + } + + .info_box { + margin-top: 3.33vw; + + >div { + .box; + .box-align-center; + margin-bottom: 2.67vw; + + span { + color: #333333; + } + + .rg { + .box; + .box-align-center; + + img { + height: 3.2vw; + margin-left: 1.2vw; + } + } + } + } + } + } +} + +.checkout { + .f5; + padding: 7.6vw 4vw; + + .van-radio { + margin-left: 1.2vw; + } + + .shopinfo { + .box; + .box-align-center; + + .icon { + width: 10.67vw; + height: 10.67vw; + margin-right: 2.67vw; + } + + .inf { + .box; + .box-tb; + + b { + display: block; + margin-bottom: 2vw; + font-size: 4.27vw; + color: #1f1f1f; + } + + .hl { + .box; + .box-align-center; + width: max-content; + height: 4.67vw; + border-radius: 1.33vw; + border: solid 1px #e2593a; + + img { + height: 4.67vw; + } + + span { + .r; + padding: 0 2.4vw; + } + } + } + } + + .paynums_box { + .box; + .box-tb; + padding: 6.67vw 3.33vw; + background-color: #ffffff; + border-radius: 2vw; + margin-top: 9.33vw; + + .tit { + font-size: 4.27vw; + font-weight: bold; + color: #333333; + margin-bottom: 7.73vw; + } + + .input_box { + .box; + align-items: flex-end; + font-size: 5.33vw; + font-weight: bold; + color: #1f1f1f; + padding-bottom: 4vw; + border-bottom: 1px solid #f5f5f580; + + input { + width: 100%; + border: none; + padding: 0 3.6vw; + font-size: 10.67vw; + } + + ::placeholder { + font-size: 5.33vw; + } + } + } + + .deduction_box { + background-color: #ffffff; + border-radius: 2vw; + padding: 4vw 3.07vw; + margin-top: 4vw; + + .van-cell { + padding: 2.67vw 0; + align-items: center + } + + .price { + .box; + .box-align-center; + justify-content: flex-end; + padding: 3.33vw 0; + + p { + color: #050505; + margin-right: 1.2vw; + } + + span { + color: #1b1b1b; + + b { + font-size: 4.67vw; + } + } + } + + .van-cell-group--inset { + margin: 0; + } + + .van-cell__left-icon { + height: max-content; + } + + .use { + font-size: 3.73vw; + font-weight: bold; + color: #e64624; + } + + .canuse { + background-color: #e64624; + border-radius: 0.67vw; + .bs; + height: 4.67vw; + .box; + .box-center-center; + padding: 0 1.2vw; + } + + .cantuse { + font-size: 3.2vw; + color: #7d7d7d; + } + } + + .payfor { + height: 13.33vw; + background-color: #ca2904; + border-radius: 6.67vw; + margin-top: 10vw; + border: none; + .bs; + font-size: 4.8vw; + font-weight: bold; + width: 100%; + } +} + +.paycode-page { + .f5; +} + +.social { + .f5; + + + .top { + padding: 8.88vw 3.33vw; + background-image: linear-gradient(141deg, + #f87b99 14%, + #fb96ae 100%); + + .search_box { + .box; + .box-align-center; + height: 9.6vw; + background-color: #ffffff; + border-radius: 4.8vw; + padding: 0 3.73vw; + + img { + width: 4.53vw; + height: 4.53vw; + } + + input { + border: none; + font-size: 3.47vw; + margin-left: 1.2vw; + } + + ::placeholder { + color: #999999; + } + + } + } + + .category_box { + background-color: #f5f5f5; + border-radius: 2.67vw 2.67vw 0vw 0vw; + margin-top: -5vw; + padding: 4.8vw 4vw; + + .contaniar { + .box; + .box-center-center; + } + + .list_pagebox { + .box; + .box-tb; + overflow-x: auto; + scrollbar-width: none; + -ms-overflow-style: none; + + &::-webkit-scrollbar { + display: none; + } + } + + .cate_list { + // .box; + // flex-wrap: wrap; + width: max-content; + display: grid; + grid-template-rows: auto auto; + grid-auto-flow: column; + overflow-x: auto; + + .cate_item { + width: 18.4vw; + .box; + .box-tb; + .box-align-center; + height: 20vw; + white-space: nowrap; + + img { + width: 12vw; + height: 10.8vw; + margin-bottom: 1.87vw; + } + + &.active { + color: #ea3c1f; + } + } + } + + .scroll_progress { + position: relative; + height: 1.33vw; + background-color: #ffe4ea; + border-radius: 0.67vw; + margin-top: 2vw; + width: 18vw; + + .progress_thumb { + position: absolute; + left: 0; + width: 3vw; + height: 100%; + background-color: #b6536a; + border-radius: 0.67vw; + } + } + + .tab { + margin-top: 4vw; + + .van-tabs__nav { + background: transparent; + } + + .van-tabs__nav--card { + border: none; + margin: 0; + gap: 3.33vw; + // height: 6.67vw; + } + + .van-tab--card { + width: 45.33vw; + // height: 6.67vw; + border: none; + background: #fff; + border-radius: 3.33vw; + } + } + + .shoplist { + .box; + .box-tb; + margin-top: 4vw; + + .shopitem { + .box; + .box-tb; + margin-bottom: 4vw; + background-color: #ffffff; + border-radius: 2.67vw; + padding: 3.33vw; + + .top_box { + .box; + width: 100%; + + img { + width: 18.67vw; + height: 18.67vw; + border-radius: 2vw; + margin-right: 3.33vw; + } + + .info_box { + .box; + .box-tb; + .box-pack-around; + width: 100%; + + >div { + .box; + .box-align-center; + } + + .name_box { + color: #222222; + + b { + font-size: 4vw; + width: 50vw; + .text-hide(1); + } + + .type { + .r; + } + } + + .tags { + >div { + .box; + .box-align-center; + height: 4.8vw; + background-color: #ec6e8c; + border-radius: 2.4vw; + padding: 0 2vw 0 .27vw; + width: max-content; + .bs; + margin-right: 2.67vw; + + img { + width: 4.27vw; + height: 4.27vw; + margin-right: 1.2vw; + } + } + } + } + } + + .addr_box { + .box; + .box-align-center; + margin-top: 3.6vw; + color: #222222; + + .addr { + width: 60vw; + .text-hide(1); + } + + .distance { + .r; + .box; + .box-align-center; + gap: 1.2vw; + + img { + height: 3.47vw; + } + } + } + } + } + } +} + +.shopinfo { + .shop_details { + background-color: #ffffff; + border-radius: 2.67vw 2.67vw 0vw 0vw; + margin-top: -35vw; + z-index: 1; + position: relative; + padding: 4vw 3.2vw 0; + + .shopi_box { + .box; + width: 100%; + padding-bottom: 3.2vw; + border-bottom: 1px solid #f5f5f580; + + img { + width: 18.67vw; + height: 18.67vw; + border-radius: 2vw; + margin-right: 3.33vw; + } + + .info_box { + .box; + .box-tb; + .box-pack-around; + width: 100%; + + >div { + .box; + .box-align-center; + } + + .name_box { + color: #222222; + + b { + font-size: 4vw; + width: 50vw; + .text-hide(1); + } + + .type { + .r; + } + } + + .tags { + >div { + .box; + .box-align-center; + height: 4.8vw; + background-color: #ec6e8c; + border-radius: 2.4vw; + padding: 0 2vw 0 .27vw; + width: max-content; + .bs; + margin-right: 2.67vw; + + img { + width: 4.27vw; + height: 4.27vw; + margin-right: 1.2vw; + } + } + } + } + } + + .tomap { + .box; + .box-align-center; + padding: 3.33vw; + border-bottom: 1px solid #f5f5f580; + + .address { + .box; + + .addr_icon { + height: 4vw; + width: 3.47vw; + margin-right: 2.53vw; + } + + .ri { + span { + color: #222222; + } + + .distance { + color: #999999; + } + } + } + } + + .map_icon { + .r; + padding-left: 3.33vw; + border-left: 1px solid #eeeeee; + + img { + width: 6.4vw; + height: 6.4vw; + background-color: #2dd6aa; + border-radius: 1.33vw; + } + } + + .onlinetime { + .box; + .box-align-center; + padding: 3.33vw; + + .left_box { + .box; + .box-align-center; + + .clock_icon { + width: 3.73vw; + height: 3.73vw; + margin-right: 2.53vw; + } + } + } + } + + .intro { + margin: 4vw 0; + padding: 0 3.33vw; + + .title { + font-size: 4vw; + color: #222222; + margin-left: 1.2vw; + } + + .htmlcontent { + margin-top: 3.33vw; + width: 100%; + + img { + width: 100%; + margin-top: 1.2vw; + } + } + } +} \ No newline at end of file diff --git a/src/styles/public.less b/src/styles/public.less new file mode 100644 index 0000000..d884d0c --- /dev/null +++ b/src/styles/public.less @@ -0,0 +1,2533 @@ +body { + .b_l_w; + font-size: 3.2vw; +} + +.van-tabbar__placeholder { + min-height: 20vw; + height: 20vw; + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); +} + +body, +.van-pull-refresh { + overflow: visible !important; +} + +.van-toast { + width: max-content !important; +} + +.van-nav-bar--fixed { + z-index: 999 !important; +} + +.van-loading__text, +.van-tabbar__placeholder, +.van-list__finished-text { + .b_l_w; +} + +.f5 { + &::before { + content: ''; + width: 100vw; + height: 100vh; + position: fixed; + left: 0; + top: 0; + background: #f5f5f5; + z-index: -1; + } +} + +p { + margin: 0; +} + +img { + display: block; + object-fit: contain; +} + +// v-html容器中img样式 +.html, +.vhtml { + img { + max-width: 100%; + margin-top: 1.2vw; + } +} + +[v-cloak] { + display: none !important; +} + +.van-nav-bar { + + .van-nav-bar__text, + .van-icon { + color: #000 !important; + } +} + +.van-nav-bar__placeholder { + .van-nav-bar .van-icon { + color: #000; + } + + .van-nav-bar__title { + font-size: 16px; + + span { + font-size: 12px; + } + } +} + +.van-tabbar { + .b_l_w; + height: 20vw !important; + z-index: 99 !important; + + .van-tabbar-item__icon img { + height: 10vw; + margin: -2vw 0 0; + } + + .van-tabbar-item__text { + font-size: 3.2vw; + } +} + +.tabs { + --van-tabs-line-height: 12vw; + --van-tab-font-size: 4.267vw; + + .van-tabs__line { + border-radius: 0 !important; + } +} + +// 分类 顶部样式 +.goods-list { + .b_l_w; + .box; + .box-tb; + height: calc(~'100vh - 12.267vw'); + overflow: hidden; + + ._search { + display: flex; + align-items: center; + padding-left: 3.333vw; + width: 100%; + border-bottom: 1px solid #f5f5f5; + } + + ._tabs { + width: 100%; + padding: 1.6vw 0; + border-bottom: 1px solid #f5f5f5; + } + + .goodslist { + .b_l_w; + .box; + height: 100%; + + .van-sidebar-item--select:before { + background-color: #ee0a24; + } + + .van-sidebar { + background-color: #f7f8fa; + } + + .content { + height: calc(~'100vh - 57.2vw'); + overflow-y: auto !important; + position: relative; + } + + .pro-list { + width: calc(~'100vw - 21.33333vw'); + //height: calc(~'100% - 10.667vw'); + padding-bottom: 37.333vw; + + .px { + width: calc(~'100vw - 21.33333vw'); + height: 10.667vw; + z-index: 100; + } + + } + + .van-sidebar-item { + .center; + padding: 2.7vw 0; + } + + .van-sidebar-item--select { + color: #ee0a24; + } + } +} + +// 分类 产品列表样式 +.pro-list { + .b_l_w; + position: relative; + + >div { + .b_l_w; + } + + .px { + height: 12vw; + .b_k; + .box; + + a { + width: 100%; + .box; + .box-center-center; + font-size: 3.733vw; + + img { + width: 1.867vw; + margin-left: 1.333vw; + } + } + + .a { + color: #ff0000; + } + } + + .content { + .box; + // .box-pack-between; + .box-wrap; + align-content: flex-start; + padding: 0 2.667vw; + + .a1 { + .w; + .box; + height: 24vw; + // margin-bottom: 4vw; + + >img { + width: 24vw; + height: 24vw; + border-radius: 3.333vw; + margin-right: 2.667vw; + } + + .c { + width: 45vw; + height: 24vw; + .box; + .box-align-center; + .box-wrap; + + >* { + .b_l_w; + } + + .name { + font-size: 3.733vw; + height: 4.5vw; + line-height: 4.5vw; + .text-hide-1; + display: block !important; + } + + .point { + color: #d23400; + } + + s { + color: #8a8a8a; + } + + .price { + .box; + .box-align-center; + + img { + height: 3.333vw; + } + + b { + font-size: 4.267vw; + + span { + font-size: 3.2vw; + } + + color: #d23400; + } + + font { + margin-left: auto; + color: #8a8a8a; + } + } + } + } + + .a2 { + .b_l_w; + .b_k; + box-shadow: 0.133vw 0.653vw 0.933vw 0vw rgba(232, 226, 224, 0.25); + border: solid 1px #f7f7f7; + border-radius: 1.333vw; + padding: 1.733vw; + margin: 0 0 2.267vw; + + .c { + .b_l_w; + .box; + .box-align-center; + + .d1 { + width: 31.733vw; + height: 31.733vw; + border-radius: 2.667vw; + position: relative; + overflow: hidden; + } + + .d2 { + width: 40.533vw; + height: 31.733vw; + margin-left: auto; + .box; + .box-wrap; + align-content: space-around; + + >div { + .b_l_w; + } + + .t { + margin-bottom: 2vw; + .text-hide(2); + font-size: 3.867vw; + } + + .price { + .box; + align-items: flex-end; + line-height: 4vw; + + b { + span { + font-size: 3.2vw; + } + + font-size: 5vw; + color: #d84d33; + } + + s { + color: #b1b1b1; + margin-left: auto; + } + } + + .buy { + line-height: 4.533vw; + + img { + .b_l; + .y50; + width: 4.533vw; + height: 4.533vw; + } + + b { + color: #d3d3d3; + margin-left: 1vw; + } + + span { + .b_r; + font-size: 3.2vw; + } + } + + .point-btn { + height: 6.533vw; + line-height: 6.533vw; + overflow: hidden; + + p, + span { + font-size: 3.2vw !important; + } + + span { + display: inline-block; + line-height: 7.5vw; + } + } + } + } + } + } +} + +.index-list { + .box; + .box-pack-between; + .box-wrap; + align-content: flex-start; + + a { + width: 48.3%; + .b_k; + border-radius: 1.333vw; + margin-bottom: 3.333vw; + overflow: hidden; + + >img { + width: 100%; + height: 45vw; + } + + .c { + .b_l_w; + padding: 2vw; + + .name { + .b_l_w; + .text-hide(2); + line-height: 5vw; + height: 10vw; + font-size: 3.467vw; + .b; + margin-bottom: 1vw; + } + + .label { + .b_l; + height: 4.4vw; + line-height: 4.4vw; + background-color: #ea4060; + border-radius: 1.333vw; + padding: 0 1.3vw; + .bs; + font-size: 2.4vw; + } + + ._point { + .b_l; + height: 4.4vw; + line-height: 4.4vw; + background: #e4b964; + border-radius: 1.333vw; + border: 1px solid #e4b964; + overflow: hidden; + .box; + + >span { + margin: 0 1.733vw; + font-size: 2.316vw; + .bs; + } + + >b { + height: 4.4vw; + .b_k; + padding: 0 2vw; + color: #c8901e; + font-size: 3.088vw; + + span { + font-size: 2.059vw; + } + } + } + + s { + .b_l_w; + font-size: 3.333vw; + color: #a2a2a2; + margin-top: 2vw; + } + + .price { + .b_l_w; + .box; + height: 7vw; + .box-align-end; + color: #eb5938; + + span { + font-size: 3.067vw; + } + + b { + font-size: 4.965vw; + line-height: 4.3vw; + + font { + font-size: 4vw; + } + } + + img { + margin-left: auto; + width: 5.6vw; + } + + .van-tag { + .r; + height: 6vw; + border-radius: 1.333vw; + } + } + } + } + + .van-list__loading { + .w; + } +} + +.service { + .b_l_w; + background-image: linear-gradient(0deg, + #f6f6f6 0%, + #f85035 100%); + // background: url(/img/service-bg.png) no-repeat; + // background-size: 100% auto; + min-height: 49.067vw; + .f5; + position: relative; + padding: 31.333vw 3.333vw 0; + + .title { + position: absolute; + left: 8vw; + top: 8vw; + .bs; + .b; + .box; + .box-tb; + + b { + font-size: 5.333vw; + letter-spacing: .533vw; + margin-bottom: 3vw; + .bs; + } + + p { + letter-spacing: .32vw; + .bs; + } + } + + .list { + .b_l_w; + .box; + .box-align-center; + height: 24vw; + .b_k; + border-radius: 2vw; + border: solid 1px #f85035; + padding: 0 3.333vw; + margin-bottom: 4vw; + + >img { + width: 16vw; + height: 16vw; + border-radius: 50%; + margin-right: 2.933vw; + object-fit: contain; + } + + .text { + height: 16vw; + .box; + .box-tb; + .box-pack-center; + + b { + font-size: 3.733vw; + color: #1b1b1b; + margin-bottom: 3.333vw; + } + + p { + color: #7d7d7d; + } + } + + .btn { + .box; + .box-pack-between; + margin-left: auto; + + img { + width: 10.667vw; + height: 10.667vw; + } + + a:last-child { + margin-left: 6vw; + } + } + } +} + +.servicePopup { + width: 60vw !important; + border-radius: 3vw; + + .content { + .b_l_w; + padding: 5vw; + + .QRCode { + width: 100%; + } + + p { + .b_l_w; + .center; + margin-top: 3vw; + font-size: 4vw; + } + } +} + +.setting { + .van-icon { + .box; + .box-align-center; + } + + .van-cell__value { + line-height: 6.6vw; + } +} + +.transfer { + .f5; + padding: 4vw; + + .top { + .box; + .box-tb; + background: #fff; + border-radius: 2vw; + padding: 3.33vw; + border-bottom: 2vw solid #f5f5f5; + + .tit { + font-size: 3.73vw; + font-weight: bold; + color: #1b1b1b; + margin-bottom: 3.33vw; + } + + input { + // padding: 0 1.2vw; + font-size: 4vw; + color: #222; + height: 10vw; + line-height: 10vw; + width: 100%; + border: none; + } + + input::placeholder { + color: #999; + } + + hr { + width: 100%; + height: 1px; + border: none; + background: linear-gradient(to bottom, transparent, #f5f5f5, transparent); + } + + span { + color: #ff1f39; + margin-left: 1.2vw; + } + } + + .type_box { + padding: 5.07vw 4.67vw 0; + border-bottom: 2vw solid #f5f5f5; + padding-bottom: 1.2vw; + + .title { + font-size: 4vw; + } + + p { + font-size: 3.2vw; + color: #222; + + span { + color: #999999; + } + } + + .van-radio__label--left { + .box; + .box-align-center; + + img { + width: 5.33vw; + height: 5.33vw; + margin-right: 2.13vw; + } + } + + .van-radio { + height: 15vw; + border-bottom: solid 1px #f5f5f580; + } + + .van-radio:last-child { + border: none; + } + + .van-radio__icon { + .r; + } + } + + .quota_box { + padding: 5.07vw 4.67vw 0; + background: #fff; + border-radius: 2vw; + // border-bottom: 2vw solid #f5f5f5; + padding-bottom: 1.2vw; + + .title { + b { + font-size: 4vw; + } + + .box; + } + + input { + // padding: 0 1.2vw; + font-size: 6.13vw; + color: #222; + height: 15vw; + line-height: 10vw; + width: 100%; + border: none; + border-bottom: solid 1px #f5f5f580; + } + + .nums { + font-size: 6.67vw; + color: #1f1f1f; + margin-top: 5.2vw; + display: block; + } + + hr { + border: none; + height: 1px; + width: 100%; + background: #f5f5f580; + margin: 2vw; + } + + input::placeholder { + font-size: 4.67vw; + color: #999; + } + } + + .com_btn { + padding: 0 7.33vw; + margin-top: 11.6vw; + + .van-button { + width: 100%; + font-size: 4.8vw; + + } + } +} + +.tradelist { + .f5; + + >div { + .b_l_w; + } + + &::before { + background: #f6f6f6; + } + + .tabs { + .area { + height: 10.13vw; + + .van-tab { + height: 10.13vw; + background-color: #ededed; + font-size: 3.67vw; + } + + .van-tab--active { + background-color: #f6f6f6; + color: #222222; + } + } + + .states { + height: 12vw; + + .van-tabs__nav { + background: #f6f6f6; + } + + .van-tab { + height: 12vw; + + font-size: 3.73vw; + background-color: #f6f6f6; + } + + .van-tabs__line { + bottom: 5vw; + } + } + } + + .van-search { + background-color: #f6f6f6; + padding-bottom: 0; + } + + .van-search__content { + background-color: #ffffff; + + } + + .list { + padding: 4.8vw 3.73vw; + background-color: #ffffff; + border-radius: 1.6vw; + margin-bottom: 4vw; + + .merchant_info { + .box; + .box-align-center; + + .icon { + width: 10.67vw; + height: 10.67vw; + background-color: #cccccc; + border-radius: 1.6vw; + margin-right: 4vw; + } + + .inf { + .box; + .box-tb; + .box-pack-between; + height: 10.67vw; + width: 100%; + + span { + font-size: 3.47vw; + color: #303030; + } + + p { + font-size: 3.47vw; + color: #333333; + } + + >div { + .box; + .box-align-center; + + .dr { + .r; + font-size: 3.2vw; + color: #ea3e23; + } + } + } + } + + .detail_box { + .box; + .box-tb; + + >div { + .box; + margin-top: 2.53vw; + + span { + .box; + .box-align-center; + + img { + width: 3.2vw; + height: 3.2vw; + margin-left: 1.2vw; + } + } + } + } + + .order_box { + .box; + .box-align-center; + padding-bottom: 2.53vw; + border-bottom: 1px solid #f5f5f580; + + .state { + .box; + .box-center-center; + .bs; + height: 4.67vw; + padding: 0 1.2vw; + border-radius: 1.07vw; + margin-right: 1.2vw; + background-color: #000; + } + + .state1 { + background-color: #2990f0; + } + + .state3 { + background-color: #ea4747; + } + + .state4 { + background-color: #229427; + } + + .state5 { + background-color: #f9a225; + } + + img { + width: 3.2vw; + height: 3.2vw; + margin-left: 1.2vw; + } + } + + .goods_box { + .box; + .box-align-center; + margin-top: 2.8vw; + + img { + width: 21.33vw; + height: 21.33vw; + margin-right: 4vw; + } + + .goods_info { + .box; + .box-tb; + .box-pack-between; + width: 100%; + height: 18.33vw; + + + >div { + .box; + .box-align-center; + } + + .tit { + font-size: 3.47vw; + color: #303030; + .text-hide(1); + } + } + + .spec { + color: #999999; + + p { + .r; + color: #999999; + } + } + + .concession { + font-size: 3.47vw; + color: #333333; + + p { + .r; + font-size: 3.2vw; + color: #ea3e23; + } + } + + } + + .price { + .box; + .box-align-center; + .box-pack-end; + margin-top: 2.2vw; + width: 100%; + color: #333333; + border-bottom: 1px solid #f5f5f580; + padding-bottom: 2.4vw; + + span { + color: #ca2904; + + b { + font-size: 4vw; + } + } + } + + .state_box { + .box; + .box-align-center; + margin-top: 3.33vw; + white-space: nowrap; + + .b0 { + color: #ea3e23; + } + + .b1 { + color: #2e9940; + } + + .b3 { + color: #e57042; + } + + .b4 { + color: #333333; + } + + .btn_box { + .r; + + button { + border: none; + height: 6.93vw; + padding: 0 2.4vw; + margin-left: 2vw; + background-color: #efefef; + border-radius: 1.33vw; + } + } + } + } +} + +.manager_container { + // .f5; + height: 100%; + background: #f5f5f5; + padding: 5.6vw 4vw; + + .manager_dbox { + background-color: #ffffff; + border-radius: 1.6vw; + margin-bottom: 4vw; + + >div:last-child { + border: none; + } + + >div { + height: 12vw; + .box; + .box-align-center; + padding: 0 3.2vw; + border-bottom: 1px solid #f5f5f580; + + img { + width: 3.33vw; + } + + span { + font-size: 3.47vw; + color: #333333; + margin-left: 1.87vw; + } + } + } + + .van-icon { + color: #999; + } + + button { + position: fixed; + bottom: 4vw; + + border: none; + width: 86%; + .bs; + font-size: 4.53vw; + height: 10.67vw; + background-color: #ea3e23; + border-radius: 5.33vw; + } +} + +.order-details { + .b_l_w; + margin-top: 4vw; + // padding: 4vw 3.333vw; + + >div { + .b_l_w; + margin-bottom: 4vw; + .b_k; + border-radius: 2vw; + } + + #van-field-2-input { + padding: 5px 10px; + background: #f5f5f5; + border-radius: 5px; + } + + .product { + position: relative; + padding: 3.333vw 3.333vw 0; + + >div { + .b_l_w; + } + + .t { + height: 7vw; + + a { + height: 100%; + .box; + .box-align-center; + font-size: 3.467vw; + height: 7vw; + line-height: 7vw; + + img { + height: 7vw; + margin-right: 1.867vw; + } + } + + &::before { + content: ''; + position: absolute; + left: 0; + top: 4.833vw; + width: .667vw; + height: 4vw; + background-color: #333; + } + } + + .d { + .box; + margin: 3.333vw 0; + + &:first-child { + margin-top: 0; + } + + position: relative; + + img { + width: 22.667vw; + height: 22.667vw; + border-radius: 1.333vw; + margin-right: 2.667vw; + } + + .c { + width: 100%; + height: 22.667vw; + .box; + .box-tb; + .box-pack-between; + + >b, + p { + width: 100%; + } + + >b { + .text-hide(1); + font-size: 3.467vw; + height: 5vw; + line-height: 5vw; + margin-bottom: 2vw; + } + + p { + font-size: 2.933vw; + .box; + line-height: 5vw; + + >* { + margin: .3vw 0 0 auto; + } + + b { + span { + font-size: 2.667vw; + } + + font-size: 3.467vw; + } + + >span { + color: #999; + } + } + } + + .price { + // position: absolute; + right: 0; + top: 9.5vw; + } + + } + + .total { + border-top: 1px solid rgb(241, 241, 241); + border-bottom: 1px solid rgb(241, 241, 241); + height: 10vw; + font-size: 3.467vw; + .box; + .box-align-center; + + p { + .r; + .right; + + b { + color: red; + + span { + font-size: 3.2vw; + } + } + + } + } + + .btn { + margin: 3.333vw 0; + height: 8vw; + line-height: 8vw; + font-size: 3.467vw; + color: #898989; + + a { + .b_r; + .center; + width: 18vw; + height: 8vw; + line-height: 8vw; + border-radius: 2vw; + .bs; + margin-left: 2vw; + } + } + + .van-stepper { + position: absolute; + right: 0; + bottom: 0; + } + + } + + .content { + padding: 2vw 0; + + .van-cell__value { + flex: 0.6 !important; + } + + .van-cell-group { + &::after { + content: none; + } + } + + .van-cell__left-icon { + display: flex; + align-items: center; + + .van-icon__image { + width: 5vw; + height: 5vw; + margin-right: 1vw; + } + } + + p { + .b_l_w; + .box; + .box-align-center; + padding: 2vw 2.667vw; + font-size: 3.733vw; + line-height: 5vw; + + span, + a { + .r; + .box; + .box-align-center; + } + + img { + height: 2.667vw; + margin-left: 2vw; + } + + b { + .r; + color: #ee0a24; + font-size: 4.267vw; + + font { + font-size: 3.2vw; + } + } + + span, + a { + font-size: 3.733vw; + color: #606060; + } + } + } + + .van-cell--clickable { + .van-cell__value { + .box; + .box-align-center; + .box-rl; + padding: 0 4vw 0 0; + color: #f00; + } + } +} + +.tradeconfirm { + .f5; + + .product { + .box; + padding: 4vw; + background: #fff; + margin-top: 4vw; + height: 29.33vw; + + img { + width: 21.73vw; + height: 21.73vw; + margin-right: 4vw; + } + + .prodetail { + .box; + .box-tb; + .box-pack-between; + font-size: 3.47vw; + color: #303030; + width: 100%; + + b { + .text-hide(1); + } + + p { + font-size: 3.2vw; + } + + >div { + .box; + .box-align-center; + } + } + } + + .payway { + background: #fff; + margin-top: 4vw; + padding: 4vw 4vw 0; + + .deduction { + .top { + .box; + + span { + font-weight: bold; + font-size: 4.27vw; + color: #333; + } + + b { + font-size: 4.27vw; + color: #ea3e23; + + span { + font-size: 4.27vw; + color: #ea3e23; + } + } + } + + .van-radio { + width: 100%; + padding-bottom: 4vw; + } + + .van-radio-group { + margin-top: 4vw; + padding: 0 2.53vw; + } + + .van-radio__icon { + .r; + } + + .way { + .box; + .box-tb; + + .line { + .box; + .box-align-center; + + img { + width: 3.87vw; + height: 3.73vw; + margin-right: 1.87vw; + } + + span { + font-size: 3.2vw; + color: #4a4a4a; + } + } + + p { + margin-top: 2.4vw; + color: #999999; + } + } + + .count { + >div { + .box; + .box-align-center; + border-top: 1px solid #f5f5f580; + height: 12vw; + + .price { + .r; + .b; + font-size: 4.27vw; + color: #ea3e23; + } + } + } + } + } + + .remark { + margin-top: 4vw; + } +} + +.tradelist-details { + .b_l_w; + .f5; + padding: 0 3.333vw 10vw; + + >div { + .b_l_w; + } + + .top { + height: 20.4vw; + padding: 10.067vw 0 0 2vw; + .box; + + img { + width: 6.667vw; + height: 6.667vw; + .y50; + margin-right: 3.333vw; + } + + b { + font-size: 4.667vw; + } + } + + ._address { + .box; + .b_k; + border-radius: 2vw; + padding: 3.333vw; + margin-bottom: 3.333vw; + + img { + height: 4vw; + margin-right: 2.667vw; + } + + .c { + font-size: 3.467vw; + color: #1b1b1b; + .box; + .box-tb; + + div { + line-height: 4vw; + + span { + margin-left: 3vw; + } + } + + p { + margin-top: 2vw; + } + } + } + + ._goods { + .box; + .b_k; + border-radius: 2vw; + padding: 3.333vw; + margin-bottom: 3.333vw; + + >img { + width: 21.333vw; + height: 21.333vw; + border-radius: 1.333vw; + margin-right: 3.333vw; + } + + .c { + .w; + height: 21.333vw; + .box; + .box-tb; + .box-pack-around; + + .name { + .box; + .box-align-center; + line-height: 4.8vw; + font-size: 3.733vw; + color: #222222; + + div { + padding: 0 1vw; + height: 4vw; + line-height: 4vw; + .bs; + border-radius: 1vw; + margin: -.4vw 2vw 0 0; + white-space: nowrap; + font-size: 2.8vw; + } + + .mall { + background: rgb(49, 128, 247); + } + + .repurchase { + background: red; + } + + p { + width: max-content; + padding: 0 1.2vw; + height: 4vw; + line-height: 4vw; + background-image: linear-gradient(82deg, + #fd4347 0%, + #ff7d26 100%); + border-radius: 0.667vw; + .bs; + margin-right: 2vw; + font-size: 2.8vw; + } + + span { + .text-hide(1); + } + } + + .s { + color: #878787; + .box; + .box-pack-between; + + s { + color: #878787; + } + } + + + + .price { + .box; + + >img { + height: 4.8vw; + margin: .6vw 1.333vw 0 0; + } + + b { + color: #e82122; + font-size: 4.8vw; + + span { + font-size: 3.2vw; + } + } + + p { + margin: 1vw 0 0 auto; + color: #878787; + } + } + + } + } + + ._detail { + .b_k; + border-radius: 2vw; + padding: 0 3.333vw; + margin-bottom: 3.333vw; + + .p { + &:last-child { + border-top: 1px solid #eee; + } + } + } + + .p { + .w; + .box; + .box-tb; + padding: 2vw 0; + + >* { + .w; + } + + p { + .box; + line-height: 6.8vw; + + >span { + .r; + .box; + .box-align-center; + color: #606060; + max-width: 70%; + + img { + margin-left: 2vw; + height: 3.467vw; + } + } + + >b { + .r; + color: #222; + font-size: 3.733vw; + + span { + font-size: 3.2vw; + } + } + + b.a { + font-size: 4.267vw; + color: #ff0016; + } + } + } + + ._stats { + .b_k; + height: 10.533vw; + border-radius: 2vw; + .box; + .box-align-center; + .box-pack-between; + padding: 0 3.333vw; + margin-bottom: 3.333vw; + + >b { + font-size: 3.467vw; + color: #1b1b1b; + } + + span { + color: #222; + + b { + color: #f10000; + margin: 0 .5vw; + } + } + } + + .content { + .b_k; + border-radius: 2vw; + padding: 2vw 0; + margin: 0 0 3.333vw; + + .van-cell__value { + flex: 0.6 !important; + } + + .van-cell-group { + &::after { + content: none; + } + } + + .van-cell__left-icon { + display: flex; + align-items: center; + + .van-icon__image { + width: 5vw; + height: 5vw; + margin-right: 1vw; + } + } + + p { + .b_l_w; + .box; + .box-align-center; + padding: 2vw 2.667vw; + font-size: 3.733vw; + line-height: 5vw; + + span, + a { + .r; + .box; + .box-align-center; + } + + img { + height: 2.667vw; + margin-left: 2vw; + } + + b { + .r; + color: #ee0a24; + font-size: 4.267vw; + + font { + font-size: 3.2vw; + } + } + + span, + a { + font-size: 3.733vw; + color: #606060; + } + } + } + + ._remark { + .box; + .box-align-center; + border-radius: 2vw; + padding: 3.333vw; + background: #fff; + margin-bottom: 4vw; + } + + >button { + .b_l_w; + margin: 3.333vw 0; + } +} + +.cart_tj_xzdz { + background: #ffffff; + + img { + display: inline-block; + } + + .xzdz { + .box; + .box-align-center; + min-height: 18vw; + padding: 2vw 0; + color: #9d9d9d; + + p { + .b_l_w; + padding: 0; + font-size: 3.733vw; + margin-bottom: 1vw; + } + + img { + margin: 0 5vw; + width: 4vw; + } + + i { + margin: 0 3vw 0 auto; + font-size: 5vw; + } + } +} + +.cart_tj_xzdz_di { + background: url(/img/cart_shdzbg.png); + height: 1vw; + background-size: auto 1vw; +} + +.s_select { + .b_l_w; + padding: 0 3.133vw; + position: relative; + font-size: 4.2vw; + + >div { + .b_l_w; + } + + .t { + height: 20.4vw; + .box; + .box-middle; + .box-align-center; + + >div { + .box; + } + + img { + width: 9.067vw; + height: 10.267vw; + margin-right: 3.2vw; + } + + p { + font-size: 3.2vw; + color: #f00; + } + } + + .g { + border: 1px solid #19b50d !important; + } + + .l { + height: 65vw; + overflow-y: auto; + } + + .van-cell { + padding: 3.333vw 0 !important; + } + + .van-tabs { + .van-tabs__wrap { + height: 10.667vw; + border-radius: 1.333vw; + } + + .van-tab__text { + font-size: 4vw; + } + + .van-tabs__nav--line { + padding: 0; + } + + .van-tab { + line-height: 4vw; + } + + .van-tab--active { + .b; + } + + .van-tabs__line { + bottom: 2.267vw; + } + } + + .list { + min-height: 25vw; + padding: 0 3vw; + .box; + .box-align-center; + + >img { + width: 18.933vw; + height: 18.933vw; + border-radius: 1.333vw; + margin-right: 4vw; + } + + >div { + .box; + .box-wrap; + align-content: space-between; + min-height: 18.933vw; + + .name { + .b_l_w; + min-height: 18.933vw; + .box; + .box-align-center; + .box-wrap; + position: relative; + + b { + .b_l_w; + font-size: 4vw; + .text-hide-1; + + font { + color: #d23400; + } + + span { + font-size: 3.2vw; + } + + span:last-child { + font-weight: normal; + } + } + + p { + font-size: 3.2vw; + } + + a { + position: absolute; + right: 0; + width: 17.333vw; + height: 5.6vw; + line-height: calc(~'5.6vw - 2px'); + .center; + border-radius: 1.333vw; + border: solid 1px #d23400; + font-size: 3.2vw; + color: #d23400; + } + + >div { + .b_l_w; + } + + .text { + line-height: 6vw; + } + } + } + } + + .btn { + .b_l_w; + .b_k; + height: 22.133vw; + .box; + .box-align-center; + .box-middle; + border-top: 1px solid #f0f0f0; + + input { + width: 65.6vw; + height: 11.333vw; + background: #b30404; + background-blend-mode: normal, normal; + border-radius: 5.667vw; + border: none; + font-size: 4vw; + .bs; + } + + input[disabled] { + background: #b6b6b6; + } + } +} + +.cashoutaccount { + .ca_content { + // max-height: 124vw; + min-height: 60vh; + overflow: auto; + + .list { + .box; + .box-tb; + // .box-align-center; + + .item { + .box; + .box-align-center; + + img { + width: 8.93vw; + } + + >div { + .box; + .box-tb; + margin-left: 2.53vw; + + span { + font-size: 4vw; + color: #333333; + } + + p { + color: #999999; + margin-top: 2.53vw; + } + } + } + } + } + + .ca_bottom { + width: 92vw; + // height: 40vh; + height: max-content; + // position: fixed; + margin-top: 10vw; + margin-left: 4vw; + padding-bottom: 4vw; + left: 4vw; + bottom: 6vw; + + .tips { + p { + font-size: 3.2vw; + color: #333333; + + span { + color: #ea3e23; + } + } + } + + .btn_box { + .box; + .box-tb; + .box-align-center; + + button { + border-radius: 6.67vw; + width: 100%; + height: 13.33vw; + margin-top: 4vw; + font-size: 4.8vw; + } + + .alipay { + border: none; + .bs; + background-color: #ea3e23; + } + + .bankcard { + color: #ea3e23; + background: #fff; + border: solid 0.27vw #ea3e23; + } + + .toCashout { + margin-top: 4vw; + text-decoration: underline; + font-size: 4.8vw; + color: #ea3e23; + } + } + } +} + +.goodsdetails { + .f5; + padding-bottom: 8vw; + overflow-y: auto; + + .van-share-sheet__options { + .box-center-center; + } + + .t { + img { + width: 100vw; + height: 100vw; + object-fit: cover; + } + } + + .container { + padding: 0 4vw; + margin-top: 4vw; + + .goodsshow { + background-color: #ffffff; + border-radius: 1.6vw; + padding: 4vw; + + .tit { + font-size: 4vw; + line-height: 4vw; + height: 8vw; + .text-hide(2); + color: #303030; + margin-bottom: 4.27vw; + } + + .desc { + font-size: 3.67vw; + color: #999; + margin-bottom: 3.2vw; + } + + .price_box { + .box; + .box-align-center; + + .price { + font-size: 4vw; + font-weight: bold; + color: #ea3e23; + } + + .allpoint { + color: #333; + + b { + color: #ea3e23; + font-size: 4vw; + margin-right: 1.2vw; + } + } + + .oprice { + color: #b1b1b1; + margin-left: 3.87vw; + text-decoration: line-through; + } + + .sales { + color: #b1b1b1; + } + } + + .deduct_box { + .box; + .box-align-center; + .box-pack-between; + margin-top: 4vw; + white-space: nowrap; + + >div { + .box; + .box-align-center; + height: 5.33vw; + border-radius: 0.8vw; + padding: 0 2vw; + + img { + height: 3.2vw; + margin-right: 1.2vw; + } + } + + .point { + background-color: #fff6dd; + border: solid 0.27vw #f1c98c; + color: #d9a452; + } + + .vip { + background-color: #fff2f0; + border: solid 0.27vw #e56f5d; + color: #e56f5d; + } + + + } + + hr { + margin-top: 4vw; + border: none; + width: 100%; + height: 1px; + background: #f5f5f580; + } + + .gt { + .box; + .box-align-center; + .box-pack-between; + width: 100%; + margin-top: 3.2vw; + + >div { + .box; + .box-align-center; + width: max-content; + + img { + width: 2.93vw; + height: 2.93vw; + margin-right: 1.87vw; + } + } + } + } + + .spec_box { + .box; + .box-align-center; + margin-top: 4vw; + height: 11.73vw; + background-color: #ffffff; + border-radius: 1.6vw; + padding: 0 4vw; + font-size: 3.73vw; + color: #303030; + white-space: nowrap; + + .overhide { + width: 70vw; + overflow: hidden; + .text-hide(1); + } + + img { + width: 3.73vw; + height: 2.93vw; + margin-right: 2.67vw; + } + } + + .prodetail { + .box; + .box-tb; + margin-top: 4vw; + padding: 4vw; + background-color: #ffffff; + border-radius: 1.6vw; + + .vhtml { + padding: 3.33vw 0; + + img { + max-width: 100%; + margin-top: 1.2vw; + } + } + + .tit { + .box; + .box-align-center; + font-size: 3.73vw; + color: #303030; + + img { + width: 3.47vw; + height: 3.73vw; + margin-right: 2.8vw; + } + } + } + } + + .showspec { + padding: 4vw; + + .goods { + .box; + font-size: 3.2vw; + line-height: 5.33vw; + color: #333333; + + img { + width: 26.13vw; + height: 26.13vw; + margin-right: 5.2vw; + } + + >div { + .box; + .box-tb; + // .box-align-center; + .box-pack-around; + } + + .s_price { + font-size: 5.07vw; + color: #333333; + } + } + + .spec_box { + .box; + .box-tb; + margin-top: 6vw; + + .title { + color: #333333; + font-weight: bold; + margin-bottom: 3.2vw; + } + + .speccc { + .box; + margin-bottom: 3.2vw; + } + + .active { + background-color: #ca2904; + .bs; + } + + .inactive { + border: 1px solid #ca2904; + color: #000; + } + + .spec_de { + height: 8vw; + border-radius: 1.07vw; + padding: 0 4vw; + width: max-content; + margin-right: 2.4vw; + .box; + .box-center-center; + } + + .buynums { + display: flex; + width: 100%; + + .title { + margin-bottom: 0; + } + } + } + + .van-stepper--round .van-stepper__plus { + background: #ca2904; + } + + .van-stepper--round .van-stepper__minus { + color: #ca2904; + border: 1px solid#ca2904; + } + } +} + +.shareimgbox { + .box; + .box-tb; + .box-align-center; + width: 80vw; + min-width: 80vw; + max-width: 80vw; + max-height: 90vh; + overflow-y: auto; + border-radius: 2.67vw; + + .share_box { + .box; + .box-tb; + margin: 0 auto; + padding: 6.8vw 9.2vw; + width: 100%; + flex-shrink: 0; + background-image: linear-gradient(180deg, + #f5cfd8 0%, + #fff4f4 100%); + border-radius: 2.67vw; + } + + .bottom_box { + .box; + .box-align-center; + .box-pack-around; + width: 100%; + padding: 3.33vw 0; + + .logo { + width: 18.93vw; + height: 22.27vw; + } + + .qrcode { + .box; + .box-tb; + .box-align-center; + + img { + width: 17.07vw; + height: 17.07vw; + margin-bottom: 1.2vw; + } + } + } + + .share_userinfo { + .box; + .box-align-center; + margin: 0 auto; + position: relative; + + img { + height: 9.33vw; + border-radius: 50%; + position: relative; + z-index: 2; + } + + .name { + .box; + .box-center-center; + .bs; + position: relative; + z-index: 1; + background-color: #841e36; + border-radius: 3.33vw; + // padding: .667vw 0; + // padding: 1.2vw 4vw 6vw; + padding-left: 6vw; + padding-right: 4vw; + margin-left: -4.33vw; + height: 8vw; + text-align: center; + + span { + line-height: 8vw; + // margin-bottom: 2.4vw; + } + } + } + + .goods_info { + .box; + .box-tb; + .box-align-center; + margin-top: 4vw; + + .goods_img { + width: 61.47vw; + height: 61.47vw; + background-color: #ffffff; + border-radius: 2.67vw; + border: solid 0.27vw #841e36; + } + + .goods_name { + width: 61.47vw; + margin-top: 3.33vw; + .text-hide(2); + line-height: 4vw; + height: 8vw; + text-align: center; + } + } + + .price { + .box; + .box-align-center; + .box-pack-between; + width: 100%; + padding-bottom: 3.33vw; + border-bottom: 1px #fff solid; + + .allpointp { + margin-top: 2.4vw; + + span { + font-size: 4vw; + font-weight: bold; + color: #ea3e23; + margin-right: 1.2vw; + } + + } + + .goods_price { + font-size: 4vw; + font-weight: bold; + color: #ea3e23; + } + + .o_price { + color: #b1b1b1; + text-decoration: line-through; + } + } + + .share_result { + // margin-top: 4vw; + text-align: center; + + img { + width: 100%; + border-radius: 2.67vw; + } + + .tips { + margin-top: 2vw; + color: #999; + font-size: 3.2vw; + } + } +} \ No newline at end of file diff --git a/src/styles/tailwind.less b/src/styles/tailwind.less new file mode 100644 index 0000000..3593efa --- /dev/null +++ b/src/styles/tailwind.less @@ -0,0 +1,336 @@ +::after, +::before, +* { + word-wrap: break-word; + box-sizing: border-box; +} + +a { + text-decoration: none; + color: #000; +} + +.mx-auto { + margin: 0 auto !important; +} + +.bs { + color: #fff; +} + +.f(@e, @u) { + font-size: unit(@e, @u); +} + +.r(@e, @u) { + border-radius: unit(@e, @u); +} + +.mt(@e, @u) { + margin-top: unit(@e, @u); +} + +.mb(@e, @u) { + margin-bottom: unit(@e, @u); +} + +.b_k { + background: #fff; +} + +.b { + font-weight: bold; +} + +.y50 { + border-radius: 50%; + object-fit: cover !important; +} + +.w(@e, @u) { + width: unit(@e, @u); +} + +.w { + width: 100%; +} + +.h { + height: 100%; +} + +.w100 { + width: 100% !important; + + img { + width: 100% !important; + } +} + +.p-r { + position: relative; +} + +.p-a { + position: absolute; +} + +.p-f { + position: fixed; +} + +.div_chao { + white-space: nowrap; + overflow-x: auto; + + .inline { + display: inline-block !important; + } +} + +.dis { + display: none; +} + +.dis-l { + display: block; +} + +.songti { + font-family: 宋体; +} + +.b_l { + float: left; +} + +.b_r { + float: right; +} + +.r { + margin-left: auto; +} + +.b_l_w { + width: 100%; + float: left; +} + +.w1 { + width: 100%; + float: left; +} + +.center, +.text-center { + text-align: center; +} + +.left { + text-align: left; +} + +.right { + text-align: right; +} + +.text-hide(@line) { + overflow: hidden !important; + text-overflow: ellipsis; + display: -webkit-box !important; + -webkit-box-orient: vertical; + -webkit-line-clamp: @line; +} + +.text-hide-1 { + overflow: hidden !important; + text-overflow: ellipsis; + white-space: nowrap; +} + +.gray(@a, @b) { + filter: grayscale(@a) invert(@b); +} + +.brightness(@a, @b) { + filter: brightness(@a) invert(@b); +} + +/*伸缩盒子模型*/ +.box { + display: flex; + flex-wrap: nowrap; + // flex-shrink: 0; +} + +/*从左至右*/ + +.box-lr { + flex-direction: row; +} + + +/*从右至左*/ + +.box-rl { + flex-direction: row-reverse; +} + + +/*从上至下*/ + +.box-tb { + flex-direction: column; +} + + +/*从下至上*/ + +.box-bt { + flex-direction: column-reverse; +} + + +/*主轴居中*/ + +.box-pack-center { + justify-content: center; +} + +.middle { + display: flex; + justify-content: space-between; + /*justify-content: space-evenly;*/ +} + +.middle::before, +.middle::after { + content: ''; + display: block; +} + +/*主轴居左*/ + +.box-pack-start { + justify-content: flex-start; +} + + +/*主轴居右*/ + +.box-pack-end { + justify-content: flex-end; +} + + +/*主轴左右不留白*/ + +.box-pack-between { + justify-content: space-between; +} + + +/*主轴左右留白*/ + +.box-pack-around { + justify-content: space-around; +} + +/*自动间隔,每个元素的间隔相等*/ + +.box-middle { + justify-content: space-evenly; +} + +/*交叉轴居中对齐*/ + +.box-align-center { + align-items: center; +} + + +/*交叉轴居左对齐*/ + +.box-align-start { + align-items: flex-start; +} + + +/*交叉轴居右对齐*/ + +.box-align-end { + align-items: flex-end; +} + + +/**单个指定的子元素自定义对齐方式,可以不同于其他子元素对齐方式**/ + + +/**指定子元素居中对齐**/ + +.self-align-center { + align-self: center; + margin: 0 auto; +} + + +/**指定子元素顶部对齐**/ + +.self-align-start { + align-self: flex-start; +} + + +/**指定子元素底部对齐**/ + +.self-align-end { + align-self: flex-end; +} + + +/**指定子元素拉伸**/ + +.self-align-stretch { + align-self: stretch; +} + + +/**子元素换行**/ + +.box-wrap { + flex-wrap: wrap; +} + + +/**子元素不换行**/ + +.box-nowrap { + flex-wrap: nowrap; +} + + +/*允许子元素伸展(1倍)*/ + +.flex { + flex-grow: 1; + /*如果值是2 那么当前元素就是其他元素宽的2倍了*/ +} + +/* flex:1 是 flex-grow、flex-shrink、flex-basis的缩写。故其取值可以考虑以下情况: + flex-grow:0表示不会拉伸 flex-shrink:1表示 可以缩小 + flex 的默认值是以上三个属性值的组合。假设以上三个属性同样取默认值,则 flex 的默认值是 0 1 auto*/ + +/*允许子元素收缩(1倍)*/ + +.shrink { + flex-shrink: 1; +} + +/**水平居中*/ + +.box-center-center { + justify-content: center; + align-items: center; + text-align: center; +} \ No newline at end of file diff --git a/src/utils/ObjectHelper.js b/src/utils/ObjectHelper.js new file mode 100644 index 0000000..ac2700b --- /dev/null +++ b/src/utils/ObjectHelper.js @@ -0,0 +1,40 @@ +const ObjectHelper = { + // Object.groupBy 只兼容chrome 117 safari 16.4以上 先自己实现一个 + groupBy(data, key) { + let res = {}; + data.forEach(x => { + if (res[x[key]]) { + res[x[key]].push(x); + } + else { + res[x[key]] = [x]; + } + }); + return res; + }, + Copy(e) { + return new Promise((resolve, reject) => { + try { + let input = document.createElement("input"); // 直接构建input + input.value = e || ''; // 设置内容 + document.body.appendChild(input); // 添加临时实例 + input.select(); // 选择实例内容 + document.execCommand("Copy"); // 执行复制 + document.body.removeChild(input); // 删除临时实例 + resolve(e || ''); + } + catch (error) { + reject(error); + } + }); + }, + getRule(e) { + return [{ + required: true, + message: e, + trigger: 'blur', + }]; + }, +} + +export default ObjectHelper; \ No newline at end of file diff --git a/src/utils/base64.js b/src/utils/base64.js new file mode 100644 index 0000000..42644cc --- /dev/null +++ b/src/utils/base64.js @@ -0,0 +1,31 @@ +const base64 = { + fileType: { + image: { + png: 'image/png', + jpg: 'image/jpeg', + gif: 'image/gif', + svg: 'image/svg+xml', + ico: 'image/x-icon', + bmp: 'image/bmp', + }, + document: { + xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + xls: 'application/vnd.ms-excel', + doc: 'application/msword', + docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + pdf: 'application/pdf', + ppt: 'application/vnd.ms-powerpoint', + pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + txt: 'text/plain', + } + }, + download(data, fileType, name) { + const url = 'data:' + fileType + ';base64,' + data; + const a = document.createElement('a'); + a.href = url; + a.setAttribute('download', name); + a.click(); + } +} + +export default base64 \ No newline at end of file diff --git a/src/utils/converter.js b/src/utils/converter.js new file mode 100644 index 0000000..f0569c4 --- /dev/null +++ b/src/utils/converter.js @@ -0,0 +1,9 @@ +const numberConverter = { + formatNum(add, reduce, s, num) { + let m = Math.pow(10, num); + let res = s == '+' ? (add * m + reduce * m) / m : (add * m - reduce * m) / m; + return Math.round(res * m) / m; + }, +} + +export default numberConverter; diff --git a/src/utils/date.js b/src/utils/date.js new file mode 100644 index 0000000..bb6be05 --- /dev/null +++ b/src/utils/date.js @@ -0,0 +1,102 @@ +const date = { + dateformat(t, islong = false, splitChar = '-') { + if (typeof t == 'string') + t = t.replaceAll('-', '/').substring(0, 19); + const dt = new Date(t); + const m = dt.getMonth() + 1; + const d = dt.getDate(); + const h = dt.getHours(); + const mm = dt.getMinutes(); + const s = dt.getSeconds(); + let res = dt.getFullYear() + splitChar + (m < 10 ? '0' + m : m) + splitChar + (d < 10 ? '0' + d : d); + if (islong) { + res += islong ? ' ' + (h < 10 ? '0' + h : h) + ':' + (mm < 10 ? '0' + mm : mm) + ':' + (s < 10 ? '0' + s : s) : ''; + } + return res; + }, + getNow(islong = false, splitChar = '-') { + var t = new Date(); + return this.dateformat(t, islong, splitChar); + }, + getTS() { + return new Date() - 0; + }, + dtShortcuts: [ + { + text: "今天", + value: () => { + const date = new Date(); + date.setTime(date.getTime() - 0); + return date; + }, + }, + { + text: "昨天", + value: () => { + const date = new Date(); + date.setTime(date.getTime() - 3600 * 1000 * 24); + return date; + }, + }, + { + text: "一周前", + value: () => { + const date = new Date(); + date.setTime(date.getTime() - 3600 * 1000 * 24 * 7); + return date; + }, + }, + { + text: "一月前", + value: () => { + const date = new Date(); + date.setTime(date.getTime() - 3600 * 1000 * 24 * 30); + return date; + }, + }, + ], + dtRangeShortcuts: [ + { + text: "今天", + value: () => { + const st = new Date(new Date().setHours(0, 0, 0, 0)); + const ed = new Date(new Date().setHours(23, 59, 59, 999)); + return [st, ed]; + }, + }, + { + text: "昨天", + value: () => { + const st = new Date(); + const ed = new Date(); + st.setTime((new Date(st.getTime() - 3600 * 1000 * 24)).setHours(0, 0, 0, 0)); + ed.setTime((new Date(ed.getTime() - 3600 * 1000 * 24)).setHours(23, 59, 59, 999)); + return [st, ed]; + }, + }, + { + text: "一周前", + value: () => { + const st = new Date(); + const ed = new Date(new Date().setHours(23, 59, 59, 999)); + st.setTime((new Date(st.getTime() - 3600 * 1000 * 24 * 7).setHours(0, 0, 0, 0))); + return [st, ed]; + }, + }, + { + text: "一月前", + value: () => { + const st = new Date(); + const ed = new Date(new Date().setHours(23, 59, 59, 999)); + st.setTime((new Date(st.getTime() - 3600 * 1000 * 24 * 30).setHours(0, 0, 0, 0))); + return [st, ed]; + }, + }, + ], + getMonth_C() { + const m = new Date().getMonth(); + return ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'][m]; + }, +} + +export default date; \ No newline at end of file diff --git a/src/utils/echarts.min.js b/src/utils/echarts.min.js new file mode 100644 index 0000000..43e4952 --- /dev/null +++ b/src/utils/echarts.min.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).echarts={})}(this,function(t){"use strict";var _=function(t,e){return(_=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}))(t,e)};function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}_(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var x=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},w=new function(){this.browser=new x,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(w.wxa=!0,w.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?w.worker=!0:!w.hasGlobalWindow||"Deno"in window||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&-1>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}e.clearMarkers=function(){z(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})}}return n}(e,o),o,r);if(e)return e(t,n,i),!0}return!1}function me(t){return"CANVAS"===t.nodeName.toUpperCase()}var ve=/([&<>"'])/g,_e={"&":"&","<":"<",">":">",'"':""","'":"'"};function xe(t){return null==t?"":(t+"").replace(ve,function(t,e){return _e[e]})}var be=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,we=[],Se=w.browser.firefox&&+w.browser.version.split(".")[0]<39;function Me(t,e,n,i){return n=n||{},i?Te(t,e,n):Se&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Te(t,e,n),n}function Te(t,e,n){if(w.domSupported&&t.getBoundingClientRect){var i,r=e.clientX,e=e.clientY;if(me(t))return i=t.getBoundingClientRect(),n.zrX=r-i.left,void(n.zrY=e-i.top);if(ye(we,t,r,e))return n.zrX=we[0],void(n.zrY=we[1])}n.zrX=n.zrY=0}function Ce(t){return t||window.event}function Ie(t,e,n){var i;return null==(e=Ce(e)).zrX&&((i=e.type)&&0<=i.indexOf("touch")?(i=("touchend"!==i?e.targetTouches:e.changedTouches)[0])&&Me(t,i,e,n):(Me(t,e,e,n),i=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,t=t.deltaY;return null!=n&&null!=t?3*(0!==t?Math.abs(t):Math.abs(n))*(0=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},nn.prototype.contain=function(t,e){return nn.contain(this,t,e)},nn.prototype.clone=function(){return new nn(this.x,this.y,this.width,this.height)},nn.prototype.copy=function(t){nn.copy(this,t)},nn.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},nn.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},nn.prototype.isZero=function(){return 0===this.width||0===this.height},nn.create=function(t){return new nn(t.x,t.y,t.width,t.height)},nn.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},nn.applyTransform=function(t,e,n){var i,r,o,a;n?n[1]<1e-5&&-1e-5t.getWidth()||n<0||n>t.getHeight()}z(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){mn.prototype[a]=function(t){var e,n,i=t.zrX,r=t.zrY,o=xn(this,i,r);if("mouseup"===a&&o||(n=(e=this.findHover(i,r)).target),"mousedown"===a)this._downEl=n,this._downPoint=[t.zrX,t.zrY],this._upEl=n;else if("mouseup"===a)this._upEl=n;else if("click"===a){if(this._downEl!==this._upEl||!this._downPoint||4>>1])<0?l=o:s=1+o;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;0>>1);0>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function In(A,L){var P,O,R=wn,N=0,B=[];function e(t){var e=P[t],n=O[t],i=P[t+1],r=O[t+1],t=(O[t]=n+r,t===N-3&&(P[t+1]=P[t+2],O[t+1]=O[t+2]),N--,Cn(A[i],A,e,n,0,L));if(e+=t,0!=(n-=t)&&0!==(r=Tn(A[e+n-1],A,i,r,r-1,L)))if(n<=r){var o=e,a=n,t=i,s=r,l=0;for(l=0;lO[t+1])break;e(t)}},forceMergeRuns:function(){for(;1>=1;return t+e}(r);do{}while((o=Sn(t,n,i,e))=this._maxSize&&0>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===i?parseInt(n.slice(4),16)/15:1),Ti(t,e),e):void bi(e,0,0,0,1):7===i||9===i?0<=(r=parseInt(n.slice(1,7),16))&&r<=16777215?(bi(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===i?parseInt(n.slice(7),16)/255:1),Ti(t,e),e):void bi(e,0,0,0,1):void 0;var r=n.indexOf("("),o=n.indexOf(")");if(-1!==r&&o+1===i){var i=n.substr(0,r),a=n.substr(r+1,o-(r+1)).split(","),s=1;switch(i){case"rgba":if(4!==a.length)return 3===a.length?bi(e,+a[0],+a[1],+a[2],1):bi(e,0,0,0,1);s=vi(a.pop());case"rgb":return 3<=a.length?(bi(e,mi(a[0]),mi(a[1]),mi(a[2]),3===a.length?s:vi(a[3])),Ti(t,e),e):void bi(e,0,0,0,1);case"hsla":return 4!==a.length?void bi(e,0,0,0,1):(a[3]=vi(a[3]),Ii(a,e),Ti(t,e),e);case"hsl":return 3!==a.length?void bi(e,0,0,0,1):(Ii(a,e),Ti(t,e),e);default:return}}bi(e,0,0,0,1)}}function Ii(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=vi(t[1]),r=vi(t[2]),i=r<=.5?r*(i+1):r+i-r*i,r=2*r-i;return bi(e=e||[],gi(255*_i(r,i,n+1/3)),gi(255*_i(r,i,n)),gi(255*_i(r,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function ki(t,e){var n=Ci(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255e);g++);g=f(g-1,h-2)}i=u[g+1],n=u[g]}n&&i&&(this._lastFr=g,this._lastFrP=e,d=i.percent-n.percent,r=0==d?1:f((e-n.percent)/d,1),i.easingFunc&&(r=i.easingFunc(r)),f=a?this._additiveValue:p?Yi:t[c],(Xi(l)||p)&&(f=f||(this._additiveValue=[])),this.discrete?t[c]=(r<1?n:i).rawValue:Xi(l)?(1===l?Fi:function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;athis._sleepAfterStill)&&this.animation.stop()},co.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},co.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},co.prototype.refreshHover=function(){this._needsRefreshHover=!0},co.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},co.prototype.resize=function(t){this._disposed||(this.painter.resize((t=t||{}).width,t.height),this.handler.resize())},co.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},co.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},co.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},co.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},co.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},co.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},co.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},co.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},co.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;el&&(l=s[h],u=h);++o[u],s[u]=0,++a}return F(o,function(t){return t/i})}function Do(t){var e=2*Math.PI;return(t%e+e)%e}function Ao(t){return-1e-4=n.maxIterations){e+=n.ellipsis;break}var s=0===a?function(t,e,n){for(var i=0,r=0,o=t.length;rh){I=o.lines.length;0i.width&&(o=e.split("\n"),c=!0),i.accumWidth=s):(s=Ba(e,t,i.width,i.breakAll,i.accumWidth),i.accumWidth=s.accumWidth+n,a=s.linesWidths,o=s.lines)),o=o||e.split("\n"),Nr(t)),d=0;dthis._ux||i>this._uy;return this.addData(ls.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r?(this._xi=t,this._yi=e,this._pendingPtDist=0):(r=n*n+i*i)>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=r),this},r.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(ls.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},r.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(ls.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},r.prototype.arc=function(t,e,n,i,r,o){return this._drawPendingPt(),Ss[0]=i,Ss[1]=r,Ts(Ss,o),this.addData(ls.A,t,e,n,n,i=Ss[0],(r=Ss[1])-i,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=ms(r)*n+t,this._yi=vs(r)*n+e,this},r.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},r.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(ls.R,t,e,n,i),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(ls.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},r.prototype.fill=function(t){t&&t.fill(),this.toStatic()},r.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(t){if(this._saveData){var e=t.length;this.data&&this.data.length===e||!ws||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;hn||_s(y)>i||c===e-1)&&(f=Math.sqrt(I*I+y*y),r=g,o=_);break;case ls.C:var m=t[c++],v=t[c++],g=t[c++],_=t[c++],x=t[c++],b=t[c++],f=function(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,d=1;d<=l;d++){var f=d*p,g=Zn(t,n,r,a,f),f=Zn(e,i,o,s,f),y=g-u,m=f-h;c+=Math.sqrt(y*y+m*m),u=g,h=f}return c}(r,o,m,v,g,_,x,b,10),r=x,o=b;break;case ls.Q:f=function(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p=c*h,d=ti(t,n,r,p),p=ti(e,i,o,p),f=d-s,g=p-l;u+=Math.sqrt(f*f+g*g),s=d,l=p}return u}(r,o,m=t[c++],v=t[c++],g=t[c++],_=t[c++],10),r=g,o=_;break;case ls.A:var x=t[c++],b=t[c++],w=t[c++],S=t[c++],M=t[c++],T=t[c++],C=T+M;c+=1,d&&(a=ms(M)*w+x,s=vs(M)*S+b),f=ys(w,S)*gs(bs,Math.abs(T)),r=ms(C)*w+x,o=vs(C)*S+b;break;case ls.R:a=r=t[c++],s=o=t[c++];f=2*t[c++]+2*t[c++];break;case ls.Z:var I=a-r,y=s-o;f=Math.sqrt(I*I+y*y),r=a,o=s}0<=f&&(u+=l[h++]=f)}return this._pathLen=u},r.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h=this.data,B=this._ux,E=this._uy,z=this._len,c=e<1,p=0,d=0,f=0;if(!c||(this._pathSegLen||this._calculateLength(),a=this._pathSegLen,s=e*this._pathLen))t:for(var g=0;g=Ns[i=0]+t&&a<=Ns[1]+t?h:0;rMath.PI/2&&c<1.5*Math.PI?-h:h)}return l}(y,m,_,x,x+b,w,T,r);u=Math.cos(x+b)*v+y,h=Math.sin(x+b)*_+m;break;case Ps.R:c=u=a[d++],p=h=a[d++];if(S=c+a[d++],M=p+a[d++],n){if(Is(c,p,S,p,e,i,r)||Is(S,p,S,M,e,i,r)||Is(S,M,c,M,e,i,r)||Is(c,M,c,p,e,i,r))return!0}else l=(l+=Ls(S,p,S,M,i,r))+Ls(c,M,c,p,i,r);break;case Ps.Z:if(n){if(Is(u,h,c,p,e,i,r))return!0}else l+=Ls(u,h,c,p,i,r);u=c,h=p}}return n||(t=h,o=p,Math.abs(t-o)n,i=(r=r.slice(0,n)).length*c),t&&u&&null!=f)for(var y=ka(f,l,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m={},v=0;vic.len()&&(sxo(i[1])?0':'':{renderMode:r,content:"{"+(t.markerId||"markerX")+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}:""}function wd(t,e){return e=e||"transparent",H(t)?t:B(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Sd(t,e){var n;"_blank"===e||"blank"===e?((n=window.open()).opener=null,n.location.href=t):window.open(t,e)}var Md={},Td={},Cd=(Id.prototype.create=function(i,r){function t(t){var n=[];return z(t,function(t,e){t=t.create(i,r);n=n.concat(t||[])}),n}this._nonSeriesBoxMasterList=t(Md),this._normalMasterList=t(Td)},Id.prototype.update=function(e,n){z(this._normalMasterList,function(t){t.update&&t.update(e,n)})},Id.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},Id.register=function(t,e){"matrix"===t||"calendar"===t?Md[t]=e:Td[t]=e},Id.get=function(t){return Td[t]||Md[t]},Id);function Id(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}var kd={coord:1,coord2:2};var Dd=O();var Ad={none:0,dataCoordSys:1,boxCoordSys:2};function Ld(t){var e=t.getShallow("coordinateSystem"),n=t.getShallow("coordinateSystemUsage",!0),i=Ad.none;return e&&(t="series"===t.mainType,"data"===(n=null==n?t?"data":"box":n)?(i=Ad.dataCoordSys,t||(i=Ad.none)):"box"===n&&(i=Ad.boxCoordSys,t||Md[e]||(i=Ad.none))),{coordSysType:e,kind:i}}var Pd=z,Od=["left","right","top","bottom","width","height"],Rd=[["width","left","right"],["height","top","bottom"]];function Nd(a,s,l,u,h){var c=0,p=0,d=(null==u&&(u=1/0),null==h&&(h=1/0),0);s.eachChild(function(t,e){var n,i,r,o=t.getBoundingRect(),e=s.childAt(e+1),e=e&&e.getBoundingRect();d="horizontal"===a?(i=o.width+(e?-e.x+o.x:0),u<(n=c+i)||t.newline?(c=0,n=i,p+=d+l,o.height):Math.max(d,o.height)):(i=o.height+(e?-e.y+o.y:0),h<(r=p+i)||t.newline?(c+=d+l,p=0,r=i,o.width):Math.max(d,o.width)),t.newline||(t.x=c,t.y=p,t.markRedraw(),"horizontal"===a?c=n+l:p=r+l)})}var Bd=Nd;function Ed(t,e){r=Hd(o=t,n=e,{enableLayoutOnlyByCenter:!0}),i=o.getBoxLayoutParams(),r.type===Vd?(s=r.refPoint,a=zd(i,{width:n.getWidth(),height:n.getHeight()})):(o=V(n=o.get("center"))?n:[n,n],a=zd(i,r.refContainer),s=r.boxCoordFrom===kd.coord2?r.refPoint:[wo(o[0],a.width)+a.x,wo(o[1],a.height)+a.y]);var n={viewRect:a,center:s},i=n.viewRect,r=n.center,o=t.get("radius"),a=(V(o)||(o=[0,o]),wo(i.width,e.getWidth())),s=wo(i.height,e.getHeight()),n=Math.min(a,s),t=wo(o[0],n/2),e=wo(o[1],n/2);return{cx:r[0],cy:r[1],r0:t,r:e,viewRect:i}}function zd(t,e,n){n=yd(n||0);var i=e.width,r=e.height,o=wo(t.left,i),a=wo(t.top,r),s=wo(t.right,i),l=wo(t.bottom,r),u=wo(t.width,i),h=wo(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(i/re)return t[i];return t[n-1]}var If,kf="\0_ec_inner",Df=(u(o,If=Cp),o.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new Cp(i),this._locale=new Cp(r),this._optionManager=o},o.prototype.setOption=function(t,e,n){e=Pf(e);this._optionManager.setOption(t,n,e),this._resetOption(null,e)},o.prototype.resetOption=function(t,e){return this._resetOption(t,Pf(e))},o.prototype._resetOption=function(t,e){var n,i=!1,r=this._optionManager;return t&&"recreate"!==t||(n=r.mountOption("recreate"===t),this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(n,e)):wf(this,n),i=!0),"timeline"!==t&&"media"!==t||this.restoreData(),t&&"recreate"!==t&&"timeline"!==t||(n=r.getTimelineOption(this))&&(i=!0,this._mergeOption(n,e)),t&&"recreate"!==t&&"media"!==t||(n=r.getMediaOption(this)).length&&z(n,function(t){i=!0,this._mergeOption(t,e)},this),i},o.prototype.mergeOption=function(t){this._mergeOption(t,null)},o.prototype._mergeOption=function(i,t){var r=this.option,h=this._componentsMap,c=this._componentsCount,n=[],o=O(),p=t&&t.replaceMergeMainTypeMap;df(this).datasetMap=O(),z(i,function(t,e){null!=t&&(g.hasClass(e)?e&&(n.push(e),o.set(e,!0)):r[e]=null==r[e]?y(t):d(r[e],t,!0))}),p&&p.each(function(t,e){g.hasClass(e)&&!o.get(e)&&(n.push(e),o.set(e,!0))}),g.topologicalTravel(n,g.getAllClassMainTypes(),function(o){var a,t=function(t,e,n){return(e=(e=_f.get(e))&&e(t))?n.concat(e):n}(this,o,Wo(i[o])),e=h.get(o),n=e?p&&p.get(o)?"replaceMerge":"normalMerge":"replaceAll",e=Yo(e,t,n),s=(Qo(e,o,g),r[o]=null,h.set(o,null),c.set(o,0),[]),l=[],u=0;z(e,function(t,e){var n=t.existing,i=t.newOption;if(i){var r=g.getClass(o,t.keyInfo.subType,!("series"===o));if(!r)return;if("tooltip"===o){if(a)return;a=!0}n&&n.constructor===r?(n.name=t.keyInfo.name,n.mergeOption(i,this),n.optionUpdated(i,!1)):(e=P({componentIndex:e},t.keyInfo),P(n=new r(i,this,this,e),e),t.brandNew&&(n.__requireNewView=!0),n.init(i,this,this),n.optionUpdated(null,!0))}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(s.push(n.option),l.push(n),u++):(s.push(void 0),l.push(void 0))},this),r[o]=s,h.set(o,l),c.set(o,u),"series"===o&&xf(this)},this),this._seriesIndices||xf(this)},o.prototype.getOption=function(){var a=y(this.option);return z(a,function(t,e){if(g.hasClass(e)){for(var n=Wo(t),i=n.length,r=!1,o=i-1;0<=o;o--)n[o]&&!$o(n[o])?r=!0:(n[o]=null,r||i--);n.length=i,a[e]=n}}),delete a[kf],a},o.prototype.setTheme=function(t){this._theme=new Cp(t),this._resetOption("recreate",null)},o.prototype.getTheme=function(){return this._theme},o.prototype.getLocaleModel=function(){return this._locale},o.prototype.setUpdatePayload=function(t){this._payload=t},o.prototype.getUpdatePayload=function(){return this._payload},o.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){t=n[e||0];if(t)return t;if(null==e)for(var i=0;ig[1]&&(g[1]=f)}return{start:a,end:this._rawCount=this._count=s}},l.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=F(o,function(t){return t.property}),u=0;uf[1]&&(f[1]=g)}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},l.prototype.count=function(){return this._count},l.prototype.get=function(t,e){return 0<=e&&e=this._rawCount||t<0)){if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}}return-1},l.prototype.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array)for(var i=new e(n),r=0;rt[S][1])&&(b=!1)}b&&(a[s++]=e.getRawIndex(f))}return sy[1]&&(y[1]=g)}}}},l.prototype.lttbDownSample=function(t,e){var n,i=this.clone([t],!0),r=i._chunks[t],o=this.count(),a=0,s=Math.floor(1/e),l=this.getRawIndex(0),u=new(gy(this._rawCount))(Math.min(2*(Math.ceil(o/s)+2),o));u[a++]=l;for(var h=1;hh[1]&&(h[1]=y),c[p++]=m}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},l.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r'+xe(u)+""+h,t))}function Ry(t,e,n,i){var r,o,a,s,l,u=t.renderMode,h=e.noName,c=e.noValue,p=!e.markerType,d=e.name,f=t.useUTC,g=e.valueFormatter||t.valueFormatter||function(t){return F(t=V(t)?t:[t],function(t,e){return md(t,V(o)?o[e]:o,f)})};if(!h||!c)return r=p?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||v.color.secondary,u),d=h?"":md(d,"ordinal",f),o=e.valueType,g=c?[]:g(e.value,e.dataIndex),e=!p||!h,a=!p&&h,l=Iy(i,u),s=l.nameStyle,l=l.valueStyle,"richText"===u?(p?"":r)+(h?"":Ey(t,d,s))+(c?"":function(t,e,n,i,r){r=[r],i=i?10:20;return n&&r.push({padding:[0,0,0,i],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(V(e)?e.join(" "):e,r)}(t,g,e,a,l)):By(i,(p?"":r)+(h?"":''+xe(d)+"")+(c?"":function(t,e,n,i){n=n?"10px":"20px",e=e?"float:right;margin-left:"+n:"";return t=V(t)?t:[t],''+F(t,xe).join("  ")+""}(g,e,a,l)),n)}function Ny(t,e,n,i,r,o){if(t)return Py(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function By(t,e,n){return'
    '+e+'
    '}function Ey(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function zy(t,e){t=t.get("padding");return null!=t?t:"richText"===e?[8,10]:10}Vy.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},Vy.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,e=bd({color:e,type:t,renderMode:n,markerId:i});return H(e)?e:(this.richTextStyles[i]=e.style,e.content)},Vy.prototype.wrapRichTextStyle=function(t,e){var n={},e=(V(e)?z(e,function(t){return P(n,t)}):P(n,e),this._generateStyleName());return this.richTextStyles[e]=n,"{"+e+"|"+t+"}"};var Fy=Vy;function Vy(){this.richTextStyles={},this._nextStyleNameId=zo()}function Hy(t){var e,n,i,r,o,a,s,l,u,h,c,p=t.series,d=t.dataIndex,t=t.multipleSeries,f=p.getData(),g=f.mapDimensionsAll("defaultedTooltip"),y=g.length,m=p.getRawValue(d),v=V(m),_=(_=d,wd((b=p).getData().getItemVisual(_,"style")[b.visualDrawType]));function x(t,e){e=s.getDimensionInfo(e);e&&!1!==e.otherDims.tooltip&&(l?c.push(Ay("nameValue",{markerType:"subItem",markerColor:a,name:e.displayName,value:t,valueType:e.type})):(u.push(t),h.push(e.type)))}1this.getShallow("animationThreshold")?!1:t)},s.prototype.restoreData=function(){this.dataTask.dirty()},s.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel;return Mf.prototype.getColorFromPalette.call(this,t,e,n)||i.getColorFromPalette(t,e,n)},s.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},s.prototype.getProgressive=function(){return this.get("progressive")},s.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},s.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},s.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)this.option.selectedMap={},this._selectedDataIndicesMap={};else for(var o=0;oe.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Ky(e,n){z(Nt(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(t){e.wrapMethod(t,pt($y,n))})}function $y(t,e){t=Qy(t);return t&&t.setOutputEnd((e||this).count()),e}function Qy(t){var e,n=(t.ecModel||{}).scheduler,n=n&&n.getPipeline(t.uid);if(n)return(n=n.currentTask)&&(e=n.agentStubMap)?e.get(t.uid):n}at(Xy,Sp),at(Xy,Mf),da(Xy,g);tm.prototype.init=function(t,e){},tm.prototype.render=function(t,e,n,i){},tm.prototype.dispose=function(t,e){},tm.prototype.updateView=function(t,e,n,i){},tm.prototype.updateLayout=function(t,e,n,i){},tm.prototype.updateVisual=function(t,e,n,i){},tm.prototype.toggleBlurSeries=function(t,e,n){},tm.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)};var Jy=tm;function tm(){this.group=new oo,this.uid=Dp("viewComponent")}function em(){var o=ta();return function(t){var e=o(t),t=t.pipelineContext,n=!!e.large,i=!!e.progressiveRender,r=e.large=!(!t||!t.large),e=e.progressiveRender=!(!t||!t.progressiveRender);return!(n==r&&i==e)&&"reset"}}pa(Jy),ma(Jy);var nm=ta(),im=em(),rm=(om.prototype.init=function(t,e){},om.prototype.render=function(t,e,n,i){},om.prototype.highlight=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&sm(t,i,"emphasis")},om.prototype.downplay=function(t,e,n,i){t=t.getData(i&&i.dataType);t&&sm(t,i,"normal")},om.prototype.remove=function(t,e){this.group.removeAll()},om.prototype.dispose=function(t,e){},om.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},om.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},om.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},om.prototype.eachRendered=function(t){Yc(this.group,t)},om.markUpdateMethod=function(t,e){nm(t).updateMethod=e},om.protoInitialize=void(om.prototype.type="chart"),om);function om(){this.group=new oo,this.uid=Dp("viewChart"),this.renderTask=Og({plan:lm,reset:um}),this.renderTask.context={view:this}}function am(t,e,n){t&&_u(t)&&("emphasis"===e?nu:iu)(t,n)}function sm(e,t,n){var i,r=Jo(e,t),o=t&&null!=t.highlightKey?(t=t.highlightKey,i=null==(i=Cl[t])&&Tl<=32?Cl[t]=Tl++:i):null;null!=r?z(Wo(r),function(t){am(e.getItemGraphicEl(t),n,o)}):e.eachItemGraphicEl(function(t){am(t,n,o)})}function lm(t){return im(t.model)}function um(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,t=t.view,a=r&&nm(r).updateMethod,o=o?"incrementalPrepareRender":a&&t[a]?a:"render";return"render"!==o&&t[o](e,n,i,r),hm[o]}pa(rm),ma(rm);var hm={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},cm="\0__throttleOriginMethod",pm="\0__throttleRate",dm="\0__throttleType";function fm(t,r,o){var a,s,l,u,h,c=0,p=0,d=null;function f(){p=(new Date).getTime(),d=null,t.apply(l,u||[])}r=r||0;function e(){for(var t=[],e=0;en.blockIndex?n.step:null,modBy:null!=(t=i&&i.modDataCount)?Math.ceil(t/e):null,modDataCount:t}},Tm.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},Tm.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),e=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,r=t.get("large")&&i>=t.get("largeThreshold"),i="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:e,modDataCount:i,large:r}},Tm.prototype.restorePipelines=function(t){var i=this,r=i._pipelineMap=O();t.eachSeries(function(t){var e=t.getProgressive(),n=t.uid;r.set(n,{id:n,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:e&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(e||700),count:0}),i._pipe(t,t.dataTask)})},Tm.prototype.prepareStageTasks=function(){var n=this._stageTaskMap,i=this.api.getModel(),r=this.api;z(this._allHandlers,function(t){var e=n.get(t.uid)||n.set(t.uid,{});Tt(!(t.reset&&t.overallReset),""),t.reset&&this._createSeriesStageTask(t,e,i,r),t.overallReset&&this._createOverallStageTask(t,e,i,r)},this)},Tm.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},Tm.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},Tm.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},Tm.prototype._performStageTasks=function(t,s,l,u){u=u||{};var h=!1,c=this;function p(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}z(t,function(i,t){var e,n,r,o,a;u.visualType&&u.visualType!==i.visualType||(e=(n=c._stageTaskMap.get(i.uid)).seriesTaskMap,(n=n.overallTask)?((o=n.agentStubMap).each(function(t){p(u,t)&&(t.dirty(),r=!0)}),r&&n.dirty(),c.updatePayload(n,l),a=c.getPerformArgs(n,u.block),o.each(function(t){t.perform(a)}),n.perform(a)&&(h=!0)):e&&e.each(function(t,e){p(u,t)&&t.dirty();var n=c.getPerformArgs(t,u.block);n.skip=!i.performRawSeries&&s.isSeriesFiltered(t.context.model),c.updatePayload(t,l),t.perform(n)&&(h=!0)}))}),this.unfinished=h||this.unfinished},Tm.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},Tm.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}}while(e=e.getUpstream())})},Tm.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},Tm.prototype._createSeriesStageTask=function(n,t,i,r){var o=this,a=t.seriesTaskMap,s=t.seriesTaskMap=O(),t=n.seriesType,e=n.getTargetSeries;function l(t){var e=t.uid,e=s.set(e,a&&a.get(e)||Og({plan:Am,reset:Lm,count:Rm}));e.context={model:t,ecModel:i,api:r,useClearVisual:n.isVisual&&!n.isLayout,plan:n.plan,reset:n.reset,scheduler:o},o._pipe(t,e)}n.createOnAllSeries?i.eachRawSeries(l):t?i.eachRawSeriesByType(t,l):e&&e(i,r).each(l)},Tm.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||Og({reset:Cm}),a=(o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r},o.agentStubMap),s=o.agentStubMap=O(),e=t.seriesType,l=t.getTargetSeries,u=!0,h=!1;function c(t){var e=t.uid,e=s.set(e,a&&a.get(e)||(h=!0,Og({reset:Im,onDirty:Dm})));e.context={model:t,overallProgress:u},e.agent=o,e.__block=u,r._pipe(t,e)}Tt(!t.createOnAllSeries,""),e?n.eachRawSeriesByType(e,c):l?l(n,i).each(c):(u=!1,z(n.getSeries(),c)),h&&o.dirty()},Tm.prototype._pipe=function(t,e){t=t.uid,t=this._pipelineMap.get(t);t.head||(t.head=e),t.tail&&t.tail.pipe(e),(t.tail=e).__idxInPipeline=t.count++,e.__pipeline=t},Tm.wrapStageHandler=function(t,e){return(t=N(t)?{overallReset:t,seriesType:function(t){Nm=null;try{t(Bm,Em)}catch(t){}return Nm}(t)}:t).uid=Dp("stageHandler"),e&&(t.visualType=e),t};var Mm=Tm;function Tm(t,e,n,i){this._stageTaskMap=O(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}function Cm(t){t.overallReset(t.ecModel,t.api,t.payload)}function Im(t){return t.overallProgress&&km}function km(){this.agent.dirty(),this.getDownstream().dirty()}function Dm(){this.agent&&this.agent.dirty()}function Am(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Lm(t){t.useClearVisual&&t.data.clearAllVisual();t=t.resetDefines=Wo(t.reset(t.model,t.ecModel,t.api,t.payload));return 1'+t.dom+""}),f.painter.getSvgRoot().innerHTML=g,i.connectedBackgroundColor&&f.painter.setBackgroundColor(i.connectedBackgroundColor),f.refreshImmediately(),f.painter.toDataURL()):(i.connectedBackgroundColor&&f.add(new sl({shape:{x:0,y:0,width:t,height:n},style:{fill:i.connectedBackgroundColor}})),z(p,function(t){t=new Qs({style:{x:t.left*e-l,y:t.top*e-u,image:t.dom}});f.add(t)}),f.refreshImmediately(),d.toDataURL("image/"+(i&&i.type||"png")))):this.getDataURL(i);this.id},c.prototype.convertToPixel=function(t,e,n){return tv(this,"convertToPixel",t,e,n)},c.prototype.convertToLayout=function(t,e,n){return tv(this,"convertToLayout",t,e,n)},c.prototype.convertFromPixel=function(t,e,n){return tv(this,"convertFromPixel",t,e,n)},c.prototype.containPixel=function(t,i){var r;if(!this._disposed)return z(na(this._model,t),function(t,n){0<=n.indexOf("Models")&&z(t,function(t){var e=t.coordinateSystem;e&&e.containPoint?r=r||!!e.containPoint(i):"seriesModels"===n&&(e=this._chartsMap[t.__viewId])&&e.containPoint&&(r=r||e.containPoint(i,t))},this)},this),!!r;this.id},c.prototype.getVisual=function(t,e){var t=na(this._model,t,{defaultMainType:"series"}),n=t.seriesModel.getData(),t=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;if(null!=t){var i=n,r=t,o=e;switch(o){case"color":return i.getItemVisual(r,"style")[i.getVisual("drawType")];case"opacity":return i.getItemVisual(r,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return i.getItemVisual(r,o)}}else{var a=n,s=e;switch(s){case"color":return a.getVisual("style")[a.getVisual("drawType")];case"opacity":return a.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return a.getVisual(s)}}},c.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},c.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},c.prototype._initEvents=function(){var n,i,s=this,r=(z(wv,function(a){function t(t){var n,e,i,r=s.getModel(),o=t.target;"globalout"===a?n={}:o&&Ym(o,function(t){var e,t=Y(t);return t&&null!=t.dataIndex?(e=t.dataModel||r.getSeriesByIndex(t.seriesIndex),n=e&&e.getDataParams(t.dataIndex,t.dataType,o)||{},1):t.eventData&&(n=P({},t.eventData),1)},!0),n&&(e=n.componentType,i=n.componentIndex,"markLine"!==e&&"markPoint"!==e&&"markArea"!==e||(e="series",i=n.seriesIndex),i=(e=e&&null!=i&&r.getComponent(e,i))&&s["series"===e.mainType?"_chartsMap":"_componentsMap"][e.__viewId],n.event=t,n.type=a,s._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:e,view:i},s.trigger(a,n))}t.zrEventfulCallAtLast=!0,s._zr.on(a,t,s)}),this._messageCenter);z(Tv,function(t,e){r.on(e,function(t){s.trigger(e,t)})}),i=(n=this)._api,r.on("selectchanged",function(t){var e=i.getModel();t.isFromClick?(Xm("map","selectchanged",n,e,t),Xm("pie","selectchanged",n,e,t)):"select"===t.fromAction?(Xm("map","selected",n,e,t),Xm("pie","selected",n,e,t)):"unselect"===t.fromAction&&(Xm("map","unselected",n,e,t),Xm("pie","unselected",n,e,t))})},c.prototype.isDisposed=function(){return this._disposed},c.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},c.prototype.dispose=function(){var t,e,n;this._disposed?this.id:(this._disposed=!0,this.getDom()&&aa(this.getDom(),Nv,""),e=(t=this)._api,n=t._model,z(t._componentsViews,function(t){t.dispose(n,e)}),z(t._chartsViews,function(t){t.dispose(n,e)}),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Lv[t.id])},c.prototype.resize=function(t){if(!this[z0])if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var e=e.resetOption("media"),n=t&&t.silent;this[V0]&&(null==n&&(n=this[V0].silent),e=!0,this[V0]=null),this[z0]=!0,fv(this);try{e&&K0(this),J0.update.call(this,{type:"resize",animation:P({duration:0},t&&t.animation)})}catch(t){throw this[z0]=!1,t}this[z0]=!1,iv.call(this,n),rv.call(this,n)}}},c.prototype.showLoading=function(t,e){this._disposed?this.id:(B(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Av[t]&&(t=Av[t](this._api,e),e=this._zr,this._loadingFX=t,e.add(t)))},c.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},c.prototype.makeActionFromEvent=function(t){var e=P({},t);return e.type=Mv[t.type],e},c.prototype.dispatchAction=function(t,e){var n;this._disposed?this.id:(B(e)||(e={silent:!!e}),Sv[t.type]&&this._model&&(this[z0]?this._pendingActions.push(t):(n=e.silent,nv.call(this,t,n),(t=e.flush)?this._zr.flush():!1!==t&&w.browser.weChat&&this._throttledZrFlush(),iv.call(this,n),rv.call(this,n))))},c.prototype.updateLabelLayout=function(){B0.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},c.prototype.appendData=function(t){var e;this._disposed?this.id:(e=t.seriesIndex,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp())},c.internalField=(K0=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),$0(t,!0),$0(t,!1),e.plan()},$0=function(t,r){for(var o=t._model,a=t._scheduler,s=r?t._componentsViews:t._chartsViews,l=r?t._componentsMap:t._chartsMap,u=t._zr,h=t._api,e=0;es.get("hoverLayerThreshold")&&!w.node&&!w.worker&&s.eachSeries(function(t){t.preventUsingHoverLayer||(t=i._chartsMap[t.__viewId]).__alive&&t.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}),B0.trigger("series:afterupdate",t,e,n)},pv=function(t){t[H0]=!0,t.getZr().wakeUp()},fv=function(t){t[F0]=(t[F0]+1)%1e3},dv=function(t){t[H0]&&(t.getZr().storage.traverse(function(t){dc(t)||vv(t)}),t[H0]=!1)},hv=function(n){return u(t,e=Of),t.prototype.getCoordinateSystems=function(){return n._coordSysMgr.getCoordinateSystems()},t.prototype.getComponentByElement=function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return n._model.getComponent(e.mainType,e.index);t=t.parent}},t.prototype.enterEmphasis=function(t,e){nu(t,e),pv(n)},t.prototype.leaveEmphasis=function(t,e){iu(t,e),pv(n)},t.prototype.enterBlur=function(t){jl(t,Ul),pv(n)},t.prototype.leaveBlur=function(t){ru(t),pv(n)},t.prototype.enterSelect=function(t){ou(t),pv(n)},t.prototype.leaveSelect=function(t){au(t),pv(n)},t.prototype.getModel=function(){return n.getModel()},t.prototype.getViewOfComponentModel=function(t){return n.getViewOfComponentModel(t)},t.prototype.getViewOfSeriesModel=function(t){return n.getViewOfSeriesModel(t)},t.prototype.getMainProcessVersion=function(){return n[F0]},new t(n);function t(){return null!==e&&e.apply(this,arguments)||this}var e},void(cv=function(i){function r(t,e){for(var n=0;nr[1]&&(r[0]=r[1]),o}function F_(t){var e=Math.pow(10,Ro(t)),t=t/e;return t?2===t?t=3:3===t?t=5:t*=2:t=1,Mo(t*e)}function V_(t){return To(t)+2}function H_(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function W_(t,e){return t>=e[0]&&t<=e[1]}U_.prototype.updateMethods=function(t){t.hasBreaks()?(this.normalize=S(t.normalize,t),this.scale=S(t.scale,t)):(this.normalize=X_,this.scale=Y_)};var G_=U_;function U_(){this.normalize=X_,this.scale=Y_}function X_(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Y_(t,e){return t*(e[1]-e[0])+e[0]}function q_(t,e,n){t=Math.log(t);return[Math.log(n?e[0]:Math.max(0,e[0]))/t,Math.log(n?e[1]:Math.max(0,e[1]))/t]}j_.prototype.getSetting=function(t){return this._setting[t]},j_.prototype._innerUnionExtent=function(t){var e=this._extent;this._innerSetExtent((t[0]e[1]?t:e)[1])},j_.prototype.unionExtentFromData=function(t,e){this._innerUnionExtent(t.getApproximateExtent(e))},j_.prototype.getExtent=function(){return this._extent.slice()},j_.prototype.setExtent=function(t,e){this._innerSetExtent(t,e)},j_.prototype._innerSetExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e),this._brkCtx&&this._brkCtx.update(n)},j_.prototype.setBreaksFromOption=function(t){},j_.prototype._innerSetBreak=function(t){this._brkCtx&&(this._brkCtx.setBreaks(t),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},j_.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},j_.prototype.hasBreaks=function(){return!!this._brkCtx&&this._brkCtx.hasBreaks()},j_.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},j_.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},j_.prototype.isBlank=function(){return this._isBlank},j_.prototype.setBlank=function(t){this._isBlank=t};var Z_=j_;function j_(t){this._calculator=new G_,this._setting=t||{},this._extent=[1/0,-1/0]}ma(Z_);var K_=0,$_=(Q_.createByAxisModel=function(t){var t=t.option,e=t.data,e=e&&F(e,J_);return new Q_({categories:e,needCollect:!e,deduplication:!1!==t.dedplication})},Q_.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},Q_.prototype.parseAndCollect=function(t){var e,n,i=this._needCollect;return H(t)||i?(i&&!this._deduplication?(n=this.categories.length,this.categories[n]=t,this._onCollect&&this._onCollect(t,n)):null==(n=(e=this._getOrCreateMap()).get(t))&&(i?(n=this.categories.length,this.categories[n]=t,e.set(t,n),this._onCollect&&this._onCollect(t,n)):n=NaN),n):t},Q_.prototype._getOrCreateMap=function(){return this._map||(this._map=O(this.categories))},Q_);function Q_(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++K_,this._onCollect=t.onCollect}function J_(t){return B(t)&&null!=t.value?t.value:t+""}u(nx,tx=Z_),nx.prototype.parse=function(t){return null==t?NaN:H(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},nx.prototype.contain=function(t){return W_(t,this._extent)&&0<=t&&t=t},nx.prototype.getOrdinalMeta=function(){return this._ordinalMeta},nx.prototype.calcNiceTicks=function(){},nx.prototype.calcNiceExtent=function(){},nx.type="ordinal";var tx,ex=nx;function nx(t){var t=tx.call(this,t)||this,e=(t.type="ordinal",t.getSetting("ordinalMeta"));return V(e=e||new $_({}))&&(e=new $_({categories:F(e,function(t){return B(t)?t.value:t})})),t._ordinalMeta=e,t._extent=t.getSetting("extent")||[0,e.categories.length-1],t}Z_.registerClass(ex);var ix,rx=Mo,ox=(u(ax,ix=Z_),ax.prototype.parse=function(t){return null==t||""===t?NaN:Number(t)},ax.prototype.contain=function(t){return W_(t,this._extent)},ax.prototype.normalize=function(t){return this._calculator.normalize(t,this._extent)},ax.prototype.scale=function(t){return this._calculator.scale(t,this._extent)},ax.prototype.getInterval=function(){return this._interval},ax.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=V_(t)},ax.prototype.getTicks=function(t){t=t||{};var n=this._interval,e=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=zp,a=[];if(n)if("only_break"===t.breakTicks&&o)o.addBreaksToTicks(a,this._brkCtx.breaks,this._extent);else{e[0]h&&(t.expandToNicedExtent?a.push({value:rx(h+n,r)}):a.push({value:e[1]})),"none"!==t.breakTicks&&o&&o.addBreaksToTicks(a,this._brkCtx.breaks,this._extent)}return a},ax.prototype.getMinorTicks=function(t){for(var e=this.getTicks({expandToNicedExtent:!0}),n=[],i=this.getExtent(),r=1;ri[0]&&cx));)g[r](g[i]()+t),f=g.getTime(),y&&0<(p=y.calcNiceTickMultiple(f,d))&&(g[r](g[i]()+p*t),f=g.getTime());a.push({value:f,notAdd:!0})}function i(t,e,n){var i,r,o,a,s=[],l=!e.length;if(i=$p(t),r=_[0],o=_[1],a=v,td(new Date(r),i,a).getTime()!==td(new Date(o),i,a).getTime()){l&&(e=[{value:function(t,e,n){e=Math.max(0,k(qp,e)-1);return td(new Date(t),qp[e],n).getTime()}(_[0],t,v)},{value:_[1]}]);for(var u,h,c=0;c=_[0]&&p<=_[1]&&w(f,p,d,g,y,0,s),"year"===t&&1=_[0]&&d<=_[1]&&a++)}u=e/m;if(1.5*u=_[0]&&t.value<=_[1]&&!t.notAdd})}),function(t){return 0n&&(this._approxInterval=n),Sx.length),t=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]>1^-(1&s),l=(l=t.charCodeAt(a+1)-64)>>1^-(1&l);i.push([(r=s+=r)/n,(o=l+=o)/n])}return i}function y1(t,o){var e,n,r;return F(ut((t=(e=t).UTF8Encoding?(null==(r=(n=e).UTF8Scale)&&(r=1024),z(n.features,function(t){var e=t.geometry,n=e.encodeOffsets,i=e.coordinates;if(n)switch(e.type){case"LineString":e.coordinates=g1(i,n,r);break;case"Polygon":case"MultiLineString":f1(i,n,r);break;case"MultiPolygon":z(i,function(t,e){return f1(t,n[e],r)})}}),n.UTF8Encoding=!1,n):e).features,function(t){return t.geometry&&t.properties&&0=e[0]&&t<=e[1]}),function(t){var e={value:t};return{formattedLabel:i(e),rawLabel:n.scale.getLabel(e),tickValue:t,time:void 0,break:void 0}})}):"category"===n.type?(s=t,a=(t=n).getLabelModel(),s=M1(t,a,s),!a.get("show")||t.scale.isBlank()?{labels:[]}:s):(a=(r=n).scale.getTicks(),o=Wx(r),{labels:F(a,function(t,e){return{formattedLabel:o(t,e),rawLabel:r.scale.getLabel(t),tickValue:t.value,time:t.time,break:t.break}})})}function S1(t,e,n){var i,r,o,a,s,l,u=t.getTickModel().get("customValues");return u?(i=t.scale.getExtent(),{ticks:ut(b1(t,u),function(t){return t>=i[0]&&t<=i[1]})}):"category"===t.type?(u=e,a=T1(e=t),s=Ux(u),(l=k1(a,s))||(u.get("show")&&!e.scale.isBlank()||(r=[]),r=N(s)?O1(e,s,!0):"auto"===s?(l=M1(e,e.getLabelModel(),x1(_1.determine)),o=l.labelCategoryInterval,F(l.labels,function(t){return t.tickValue})):P1(e,o=s,!0),D1(a,s,{ticks:r,tickCategoryInterval:o}))):{ticks:F(t.scale.getTicks(n),function(t){return t.value})}}function M1(t,e,n){var i,r=C1(t),o=Ux(e),e=n.kind===_1.estimate;if(!e){var a=k1(r,o);if(a)return a}var s={labels:N(o)?O1(t,o):P1(t,i="auto"===o?function(t,e){{var n;if(e.kind===_1.estimate)return n=t.calculateCategoryInterval(e),e.out.noPxChangeTryDetermine.push(function(){return v1(t).autoInterval=n,!0}),n}var i=v1(t).autoInterval;return null!=i?i:v1(t).autoInterval=t.calculateCategoryInterval(e)}(t,n):o),labelCategoryInterval:i};return e?n.out.noPxChangeTryDetermine.push(function(){return D1(r,o,s),!0}):D1(r,o,s),s}var T1=I1("axisTick"),C1=I1("axisLabel");function I1(e){return function(t){return v1(t)[e]||(v1(t)[e]={list:[]})}}function k1(t,e){for(var n=0;nl[1],h(n[0].coord,l[0])&&(t?n[0].coord=l[0]:n.shift()),t&&h(l[0],n[0].coord)&&n.unshift({coord:l[0],onBand:!0}),h(l[1],i.coord)&&(t?i.coord=l[1]:n.pop()),t)&&h(i.coord,l[1])&&n.push({coord:l[1],onBand:!0}),u},N1.prototype.getMinorTicksCoords=function(){var t;return"ordinal"===this.scale.type?[]:(t=this.model.getModel("minorTick").get("splitNumber"),F(this.scale.getMinorTicks(t=0=u}}for(var o,a=this.__startIndex;ar[0]){for(l=0;lt);l++);s=i[r[l]]}r.splice(l+1,0,t),(i[t]=e).virtual||(s?(n=s.dom).nextSibling?a.insertBefore(e.dom,n.nextSibling):a.appendChild(e.dom):a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom)),e.painter||(e.painter=this)}},m.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;ie&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?0<=r.height?"bottom":"top":0<=r.width?"right":"left"),h=ip(i),l=(np(t,h,{labelFetcher:o,labelDataIndex:n,defaultText:ew(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:u}),t.getTextContent()),h=(s&&l&&(s=i.get(["label","position"]),t.textConfig.inside="middle"===s||null,function(t,e,n,i){if(W(i))t.setTextConfig({rotation:i});else if(V(e))t.setTextConfig({rotation:0});else{var r,i=t.shape,o=i.clockwise?i.startAngle:i.endAngle,a=i.clockwise?i.endAngle:i.startAngle,s=(o+a)/2,i=n(e);switch(i){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=s;break;case"startAngle":case"insideStartAngle":r=o;break;case"endAngle":case"insideEndAngle":r=a;break;default:return t.setTextConfig({rotation:0})}n=1.5*Math.PI-r;"middle"===i&&n>Math.PI/2&&n<1.5*Math.PI&&(n-=Math.PI),t.setTextConfig({rotation:n})}}(t,"outside"===s?u:s,_w(a),i.get(["label","rotate"]))),u=l,s=h,a=o.getRawValue(n),l=function(t){return nw(e,t)},u&&((u=hp(u)).prevValue=u.value,u.value=a,a=s.normal,u.valueAnimation=a.get("valueAnimation"),u.valueAnimation)&&(u.precision=a.get("precision"),u.defaultInterpolatedText=l,u.statesModels=s),i.getModel(["emphasis"]));fu(t,h.get("focus"),h.get("blurScope"),h.get("disabled")),mu(t,i),null!=(o=r).startAngle&&null!=o.endAngle&&o.startAngle===o.endAngle&&(t.style.fill="none",t.style.stroke="none",z(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var bw,ww=function(){},Sw=(u(Mw,bw=Us),Mw.prototype.getDefaultShape=function(){return new ww},Mw.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;le[u-1].coord&&(e.reverse(),h.reverse()),function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:Li((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;si)return;return 1}(a,e))return r=e.mapDimension(a.dim),o={},z(a.getViewLabels(),function(t){t=a.scale.getRawOrdinalNumber(t.tickValue);o[t]=1}),function(t){return!o.hasOwnProperty(e.get(r,t))}}}function uS(t){for(var e,n,i=t.length/2;0l?x:_,(g=Math.abs(d.label.y-l))>=f.maxY&&(m=d.label.x-s-d.len2*h,y=u+d.len,m=Math.abs(m)t.unconstrainedWidth)?null:s,i.setStyle("width",l)),SS(r,i))}function SS(t,e){TS.rect=t,ub(TS,e,MS)}var MS={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},TS={};function CS(t){return"center"===t.position}function IS(t){var S,M,T=t.getData(),C=[],I=!1,B=(t.get("minShowLabelAngle")||0)*xS,e=T.getLayout("viewRect"),k=T.getLayout("r"),D=e.width,A=e.x,n=e.y,L=e.height;function P(t){t.ignore=!0}if(T.each(function(t){var e,n,i,r,o,a,s,l,u,h,c=T.getItemGraphicEl(t),p=c.shape,d=c.getTextContent(),f=c.getTextGuideLine(),t=T.getItemModel(t),g=t.getModel("label"),y=g.get("position")||t.get(["emphasis","label","position"]),m=g.get("distanceToLabelLine"),v=g.get("alignTo"),_=wo(g.get("edgeDistance"),D),x=g.get("bleedMargin"),t=(null==x&&(x=200=e.r0},OS.type="pie";var LS,PS=OS;function OS(){var t=null!==LS&&LS.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}NS.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},NS.prototype.containName=function(t){return 0<=this._getRawData().indexOfName(t)},NS.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},NS.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)};var RS=NS;function NS(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}var BS,ES=ta(),zS=(u(FS,BS=Xy),FS.prototype.init=function(t){BS.prototype.init.apply(this,arguments),this.legendVisualProvider=new RS(S(this.getData,this),S(this.getRawData,this)),this._defaultLabelLine(t)},FS.prototype.mergeOption=function(){BS.prototype.mergeOption.apply(this,arguments)},FS.prototype.getInitialData=function(){return e=V(e={coordDimensions:["value"],encodeDefaulter:pt(gf,t=this)})?{coordDimensions:e}:P({encodeDefine:t.getEncode()},e),i=t.getSource(),e=D_(i,e).dimensions,(e=new k_(e,t)).initData(i,n),e;var t,e,n,i},FS.prototype.getDataParams=function(t){var e,n=this.getData(),i=ES(n),r=i.seats,i=(r||(e=[],n.each(n.mapDimension("value"),function(t){e.push(t)}),r=i.seats=ko(e,n.hostModel.get("percentPrecision"))),BS.prototype.getDataParams.call(this,t));return i.percent=r[t]||0,i.$vars.push("percent"),i},FS.prototype._defaultLabelLine=function(t){Go(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},FS.type="series.pie",FS.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"50%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,coordinateSystemUsage:"box",left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:30,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},FS);function FS(){return null!==BS&&BS.apply(this,arguments)||this}mp={fullType:zS.type,getCoord2:function(t){return t.getShallow("center")}},Dd.set(mp.fullType,{getCoord2:void 0}).getCoord2=mp.getCoord2,Jx(function(t){t.registerChartView(PS),t.registerSeriesModel(zS),Um("pie",t.registerAction),t.registerLayout(pt(vS,"pie")),t.registerProcessor({seriesType:"pie",reset:function(t,e){var i,r=e.findComponents({mainType:"legend"});r&&r.length&&(i=t.getData()).filterSelf(function(t){for(var e=i.getName(t),n=0;ne[1]&&e.reverse(),e},sM.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},sM.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)};var oM,aM=sM;function sM(t,e,n,i,r){t=oM.call(this,t,e,n)||this;return t.index=0,t.type=i||"value",t.position=r||"bottom",t}var lM="expandAxisBreak",uM=Math.PI,hM=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],cM=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],pM=ta(),dM=ta(),fM=(gM.prototype.ensureRecord=function(t){var e=t.axis.dim,t=t.componentIndex,n=this.recordMap,n=n[e]||(n[e]=[]);return n[t]||(n[t]={ready:{}})},gM);function gM(t){this.recordMap={},this.resolveAxisNameOverlap=t}function yM(t,e,n,i,r,o){var a,s;Yx(t.nameLocation)?(t=o.stOccupiedRect)&&_M((a={},t=t,s=o.transGroup.transform,a.transform=jc(a.transform,s),a.localRect=Zc(a.localRect,t),a.rect=Zc(a.rect,t),s&&a.rect.applyTransform(s),a.axisAligned=qc(s),a.obb=void 0,(a.label=a.label||{}).ignore=!1,a),i,r):xM(o.labelInfoList,o.dirVec,i,r)}var mM=Oe(),vM=new X(0,0,0,0);function _M(t,e,n){var i=new U;gb(t,e,i,{direction:Math.atan2(n.y,n.x),bidirectional:!1,touchThreshold:.05})&&(t=i,n=e)&&(n.label.x+=t.x,n.label.y+=t.y,n.label.markRedraw(),(i=n.transform)&&(i[4]+=t.x,i[5]+=t.y),(e=n.rect)&&(e.x+=t.x,e.y+=t.y),e=n.obb)&&e.fromBoundingRect(n.localRect,i)}function xM(t,e,n,i){for(var r=0<=U.dot(i,e),o=0,a=t.length;oi[1],i="start"===e&&!t||"start"!==e&&t;e=Ao(n-uM/2)?(r=i?"bottom":"top","center"):Ao(n-1.5*uM)?(r=i?"top":"bottom","center"):(r="middle",n<1.5*uM&&uM/2s[0]&&isFinite(c)&&isFinite(s[0]);)h=F_(h),c=s[1]-h*a;else{t=(h=au[1]&&u.reverse(),(s=null==s||s>u[1]?u[1]:s)n[r],f=[-c.x,-c.y],e=(e||(f[i]=l[s]),[0,0]),s=[-p.x,-p.y],g=G(t.get("pageButtonGap",!0),t.get("itemGap",!0)),f=(d&&("end"===t.get("pageButtonPosition",!0)?s[i]+=n[r]-p[r]:e[i]+=p[r]+g),s[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(e),h.setPosition(s),{x:0,y:0}),c=(f[r]=(d?n:c)[r],f[o]=Math.max(c[o],p[o]),f[a]=Math.min(0,p[a]+s[1-i]),u.__rectSize=n[r],d?((e={x:0,y:0})[r]=Math.max(n[r]-p[r]-g,0),e[o]=f[o],u.setClipPath(new sl({shape:e})),u.__rectSize=e[r]):h.eachChild(function(t){t.attr({invisible:!0,silent:!0})}),this._getPageInfo(t));return null!=c.pageIndex&&cc(l,{x:c.contentPosition[0],y:c.contentPosition[1]},d?t:null),this._updatePageInfoView(t,c),f},ZT.prototype._pageGo=function(t,e,n){t=this._getPageInfo(e)[t];null!=t&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:e.id})},ZT.prototype._updatePageInfoView=function(n,i){var r=this._controllerGroup,t=(z(["pagePrev","pageNext"],function(t){var e=null!=i[t+"DataIndex"],t=r.childOfName(t);t&&(t.setStyle("fill",e?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),t.cursor=e?"pointer":"default")}),r.childOfName("pageText")),e=n.get("pageFormatter"),o=i.pageIndex,o=null!=o?o+1:0,a=i.pageCount;t&&e&&t.setStyle("text",H(e)?e.replace("{current}",null==o?"":o+"").replace("{total}",null==a?"":a+""):e({current:o,total:a}))},ZT.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,t=t.getOrient().index,r=XT[t],o=YT[t],e=this._findTargetItemIndex(e),a=n.children(),s=a[e],l=a.length,u=l?1:0,h={contentPosition:[n.x,n.y],pageCount:u,pageIndex:u-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(s){n=g(s);h.contentPosition[t]=-n.s;for(var c=e+1,p=n,d=n,f=null;c<=l;++c)(!(f=g(a[c]))&&d.e>p.s+i||f&&!y(f,p.s))&&(p=d.i>p.i?d:f)&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=p.i),++h.pageCount),d=f;for(c=e-1,p=n,d=n,f=null;-1<=c;--c)(f=g(a[c]))&&y(d,f.s)||!(p.i=e&&t.s<=e+i}},ZT.prototype._findTargetItemIndex=function(n){var i,r;return this._showController?(this.getContentGroup().eachChild(function(t,e){t=t.__legendDataIndex;null==r&&null!=t&&(r=e),t===n&&(i=e)}),null!=i?i:r):0},ZT.type="legend.scroll",ZT);function ZT(){var t=null!==GT&>.apply(this,arguments)||this;return t.type=ZT.type,t.newlineDisabled=!0,t._currentIndex=0,t}Jx(function(t){Jx(zT),t.registerComponentModel(VT),t.registerComponentView(qT),t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})});var jT=ta(),KT=y,$T=S;function QT(){this._dragging=!1,this.animationThreshold=15}function JT(t,e,n,i){!function n(i,t){{var r;return B(i)&&B(t)?(r=!0,z(t,function(t,e){r=r&&n(i[e],t)}),!!r):i===t}}(jT(n).lastProp,i)&&(jT(n).lastProp=i,e?cc(n,i,t):(n.stopAnimation(),n.attr(i)))}function tC(t,e){t[e.get(["label","show"])?"show":"hide"]()}function eC(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function nC(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}function iC(t,e,n,i,r){var o=rC(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),n=n.getModel("label"),a=yd(n.get("padding")||0),s=n.getFont(),l=Vr(o,s),u=r.position,h=l.width+a[1]+a[3],l=l.height+a[0]+a[2],c=r.align,c=("right"===c&&(u[0]-=h),"center"===c&&(u[0]-=h/2),r.verticalAlign),i=("bottom"===c&&(u[1]-=l),"middle"===c&&(u[1]-=l/2),r=u,c=h,h=l,i=(l=i).getWidth(),l=l.getHeight(),r[0]=Math.min(r[0]+c,i)-c,r[1]=Math.min(r[1]+h,l)-h,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0),n.get("backgroundColor"));i&&"auto"!==i||(i=e.get(["axisLine","lineStyle","color"])),t.label={x:u[0],y:u[1],style:rp(n,{text:o,font:s,fill:n.getTextColor(),padding:a,backgroundColor:i}),z2:10}}function rC(t,e,n,i,r){t=e.scale.parse(t);var o,a=e.scale.getLabel({value:t},{precision:r.precision}),r=r.formatter;return r&&(o={value:Gx(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]},z(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),t=t.dataIndexInside,e=e&&e.getDataParams(t);e&&o.seriesData.push(e)}),H(r)?a=r.replace("{value}",a):N(r)&&(a=r(o))),a}function oC(t,e,n){var i=Oe();return ze(i,i,n.rotation),Ee(i,i,n.position),Rc([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}QT.prototype.render=function(t,e,n,i){var r,o,a=e.get("value"),s=e.get("status");this._axisModel=t,this._axisPointerModel=e,this._api=n,!i&&this._lastValue===a&&this._lastStatus===s||(this._lastValue=a,this._lastStatus=s,i=this._group,r=this._handle,s&&"hide"!==s?(i&&i.show(),r&&r.show(),this.makeElOption(s={},a,t,e,n),(o=s.graphicKey)!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=o,o=this._moveAnimation=this.determineAnimation(t,e),i?(o=pt(JT,e,o),this.updatePointerEl(i,s,o),this.updateLabelEl(i,s,o,e)):(i=this._group=new oo,this.createPointerEl(i,s,t,e),this.createLabelEl(i,s,t,e),n.getZr().add(i)),nC(i,e,!0),this._renderHandle(a)):(i&&i.hide(),r&&r.hide()))},QT.prototype.remove=function(t){this.clear(t)},QT.prototype.dispose=function(t){this.clear(t)},QT.prototype.determineAnimation=function(t,e){var n,i=e.get("animation"),r=t.axis,o="category"===r.type,e=e.get("snap");return!(!e&&!o)&&("auto"===i||null==i?(n=this.animationThreshold,o&&r.getBandWidth()>n||!!e&&(o=ZM(t).seriesDataCount,e=r.getExtent(),Math.abs(e[0]-e[1])/o>n)):!0===i)},QT.prototype.makeElOption=function(t,e,n,i,r){},QT.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;r&&(r=jT(t).pointerEl=new Qc[r.type](KT(e.pointer)),t.add(r))},QT.prototype.createLabelEl=function(t,e,n,i){e.label&&(e=jT(t).labelEl=new dl(KT(e.label)),t.add(e),tC(e,i))},QT.prototype.updatePointerEl=function(t,e,n){t=jT(t).pointerEl;t&&e.pointer&&(t.setStyle(e.pointer.style),n(t,{shape:e.pointer.shape}))},QT.prototype.updateLabelEl=function(t,e,n,i){t=jT(t).labelEl;t&&(t.setStyle(e.label.style),n(t,{x:e.label.x,y:e.label.y}),tC(t,i))},QT.prototype._renderHandle=function(t){var e,n,i,r,o,a;!this._dragging&&this.updateHandleTransform&&(e=this._axisPointerModel,n=this._api.getZr(),i=this._handle,r=e.getModel("handle"),a=e.get("status"),r.get("show")&&a&&"hide"!==a?(this._handle||(o=!0,i=this._handle=Fc(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ke(t.event)},onmousedown:$T(this._onHandleDragMove,this,0,0),drift:$T(this._onHandleDragMove,this),ondragend:$T(this._onHandleDragEnd,this)}),n.add(i)),nC(i,e,!1),i.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"])),V(a=r.get("size"))||(a=[a,a]),i.scaleX=a[0]/2,i.scaleY=a[1]/2,gm(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,o)):(i&&n.remove(i),this._handle=null))},QT.prototype._moveHandleToValue=function(t,e){JT(this._axisPointerModel,!e&&this._moveAnimation,this._handle,eC(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},QT.prototype._onHandleDragMove=function(t,e){var n=this._handle;n&&(this._dragging=!0,t=this.updateHandleTransform(eC(n),[t,e],this._axisModel,this._axisPointerModel),this._payloadInfo=t,n.stopAnimation(),n.attr(eC(t)),jT(n).lastProp=null,this._doDispatchAxisPointer())},QT.prototype._doDispatchAxisPointer=function(){var t,e;this._handle&&(t=this._payloadInfo,e=this._axisModel,this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]}))},QT.prototype._onHandleDragEnd=function(){var t;this._dragging=!1,this._handle&&(t=this._axisPointerModel.get("value"),this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"}))},QT.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var t=t.getZr(),e=this._group,n=this._handle;t&&e&&(this._lastGraphicKey=null,e&&t.remove(e),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),ym(this,"_doDispatchAxisPointer")},QT.prototype.doClear=function(){},QT.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}};u(lC,aC=QT),lC.prototype.makeElOption=function(t,e,n,i,r){var o,a,s=n.axis,l=s.grid,u=i.get("type"),h=uC(l,s).getOtherAxis(s).getGlobalExtent(),c=s.toGlobalCoord(s.dataToCoord(e,!0)),p=(u&&"none"!==u&&(o=(a=i).get("type"),a=a.getModel(o+"Style"),"line"===o?(p=a.getLineStyle()).fill=null:"shadow"===o&&((p=a.getAreaStyle()).stroke=null),o=p,(a=hC[u](s,c,h)).style=o,t.graphicKey=a.type,t.pointer=a),OM(l.getRect(),n));u=e,s=t,c=p,h=n,o=i,a=r,l=bM.innerTextLayout(c.rotation,0,c.labelDirection),c.labelMargin=o.get(["label","margin"]),iC(s,h,o,a,{position:oC(h.axis,u,c),align:l.textAlign,verticalAlign:l.textVerticalAlign})},lC.prototype.getHandleTransform=function(t,e,n){var i=OM(e.axis.grid.getRect(),e,{labelInside:!1}),n=(i.labelMargin=n.get(["handle","margin"]),oC(e.axis,t,i));return{x:n[0],y:n[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},lC.prototype.updateHandleTransform=function(t,e,n,i){var n=n.axis,r=n.grid,o=n.getGlobalExtent(!0),r=uC(r,n).getOtherAxis(n).getGlobalExtent(),n="x"===n.dim?0:1,a=[t.x,t.y],e=(a[n]+=e[n],a[n]=Math.min(o[1],a[n]),a[n]=Math.max(o[0],a[n]),(r[1]+r[0])/2),o=[e,e];o[n]=a[n];return{x:a[0],y:a[1],rotation:t.rotation,cursorPoint:o,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][n]}};var aC,sC=lC;function lC(){return null!==aC&&aC.apply(this,arguments)||this}function uC(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var hC={line:function(t,e,n){var i;return i=[e,n[0]],e=[e,n[1]],n=cC(t),{type:"Line",subPixelOptimize:!0,shape:{x1:i[n=n||0],y1:i[1-n],x2:e[n],y2:e[1-n]}}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:(e=[e-i/2,n[0]],n=[i,r],i=cC(t),{x:e[i=i||0],y:e[1-i],width:n[i],height:n[1-i]})}}};function cC(t){return"x"===t.dim?0:1}u(fC,pC=g),fC.type="axisPointer",fC.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:v.color.border,width:1,type:"dashed"},shadowStyle:{color:v.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:v.color.neutral00,padding:[5,7,5,7],backgroundColor:v.color.accent60,borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:v.color.accent40,throttle:40}};var pC,dC=fC;function fC(){var t=null!==pC&&pC.apply(this,arguments)||this;return t.type=fC.type,t}var gC=ta(),yC=z;function mC(t,e,n){var i,c,p;function r(t,h){c.on(t,function(e){n=p;var n,i,r={dispatchAction:o,pendings:i={showTip:[],hideTip:[]}};function o(t){var e=i[t.type];e?e.push(t):(t.dispatchAction=o,n.dispatchAction(t))}yC(gC(c).records,function(t){t&&h(t,e,r.dispatchAction)});var t,a=r.pendings,s=p,l=a.showTip.length,u=a.hideTip.length;l?t=a.showTip[l-1]:u&&(t=a.hideTip[u-1]),t&&(t.dispatchAction=null,s.dispatchAction(t))})}w.node||(i=e.getZr(),gC(i).records||(gC(i).records={}),p=e,gC(c=i).initialized||(gC(c).initialized=!0,r("click",pt(_C,"click")),r("mousemove",pt(_C,"mousemove")),r("globalout",vC)),(gC(i).records[t]||(gC(i).records[t]={})).handler=n)}function vC(t,e,n){t.handler("leave",null,n)}function _C(t,e,n,i){e.handler(t,n,i)}function xC(t,e){w.node||(e=e.getZr(),(gC(e).records||{})[t]&&(gC(e).records[t]=null))}u(SC,bC=Jy),SC.prototype.render=function(t,e,n){var e=e.getComponent("tooltip"),i=t.get("triggerOn")||e&&e.get("triggerOn")||"mousemove|click";mC("axisPointer",n,function(t,e,n){"none"!==i&&("leave"===t||0<=i.indexOf(t))&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},SC.prototype.remove=function(t,e){xC("axisPointer",e)},SC.prototype.dispose=function(t,e){xC("axisPointer",e)},SC.type="axisPointer";var bC,wC=SC;function SC(){var t=null!==bC&&bC.apply(this,arguments)||this;return t.type=SC.type,t}function MC(t,e){var n,i,r,o,a=[],s=t.seriesIndex;return null==s||!(e=e.getSeriesByIndex(s))||null==(s=Jo(n=e.getData(),t))||s<0||V(s)?{point:[]}:(i=n.getItemGraphicEl(s),r=e.coordinateSystem,e.getTooltipPosition?a=e.getTooltipPosition(s)||[]:r&&r.dataToPoint?a=t.isStacked?(e=r.getBaseAxis(),t=r.getOtherAxis(e).dim,e=e.dim,t="x"===t||"radius"===t?1:0,e=n.mapDimension(e),(o=[])[t]=n.get(e,s),o[1-t]=n.get(n.getCalculationInfo("stackResultDimension"),s),r.dataToPoint(o)||[]):r.dataToPoint(n.getValues(F(r.dimensions,function(t){return n.mapDimension(t)}),s))||[]:i&&((e=i.getBoundingRect().clone()).applyTransform(i.transform),a=[e.x+e.width/2,e.y+e.height/2]),{point:a,el:i})}var TC=ta();function CC(t,e,n){var o,a,i,s,l,r,u,h,c,p,d,f,g,y,m=t.currTrigger,v=[t.x,t.y],_=t,x=t.dispatchAction||S(n.dispatchAction,n),b=e.getComponent("axisPointer").coordSysAxesInfo;if(b)return LC(v)&&(v=MC({seriesIndex:_.seriesIndex,dataIndex:_.dataIndex},e).point),o=LC(v),a=_.axesInfo,i=b.axesInfo,s="leave"===m||LC(v),l={},e={list:[],map:{}},u={showPointer:pt(kC,r={}),showTooltip:pt(DC,e)},z(b.coordSysMap,function(t,e){var r=o||t.containPoint(v);z(b.coordSysAxesInfo[e],function(t,e){var n=t.axis,i=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(a,t);s||!r||a&&!i||null!=(i=null!=(i=i&&i.value)||o?i:n.pointToData(v))&&IC(t,i,u,!1,l)})}),h={},z(i,function(n,t){var i=n.linkGroup;i&&!r[t]&&z(i.axesInfo,function(t,e){var e=r[e];t!==n&&e&&(e=e.value,i.mapper&&(e=n.axis.scale.parse(i.mapper(e,AC(t),AC(n)))),h[n.key]=e)})}),z(h,function(t,e){IC(i[e],t,u,!0,l)}),c=r,_=i,p=l.axesInfo=[],z(_,function(t,e){var n=t.axisPointerModel.option,e=c[e];e?(t.useHandle||(n.status="show"),n.value=e.value,n.seriesDataIndices=(e.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&p.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),m=e,_=t,e=x,LC(t=v)||!m.list.length?e({type:"hideTip"}):(x=((m.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{},e({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:_.tooltipOption,position:_.position,dataIndexInside:x.dataIndexInside,dataIndex:x.dataIndex,seriesIndex:x.seriesIndex,dataByCoordSys:m.list})),e=i,_=(t=n).getZr(),x="axisPointerLastHighlights",d=TC(_)[x]||{},f=TC(_)[x]={},z(e,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&z(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;f[e]=t})}),g=[],y=[],z(d,function(t,e){f[e]||y.push(t)}),z(f,function(t,e){d[e]||g.push(t)}),y.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:y}),g.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:g}),l}function IC(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f,g=t.axis;!g.scale.isBlank()&&g.containData(e)&&(t.involveSeries?(a=e,s=t.axis,l=s.dim,u=a,h=[],c=Number.MAX_VALUE,p=-1,z(t.seriesModels,function(e,t){var n,i=e.getData().mapDimensionsAll(l);if(e.getAxisTooltipData)var r=e.getAxisTooltipData(i,a,s),o=r.dataIndices,r=r.nestestValue;else{if(!(o=e.indicesOfNearest(l,i[0],a,"category"===s.type?.5:null)).length)return;r=e.getData().get(i[0],o[0])}null!=r&&isFinite(r)&&(i=a-r,(n=Math.abs(i))<=c)&&((n'):""),H(t))o.innerHTML=t+c;else if(t){o.innerHTML="",V(t)||(t=[t]);for(var p,d=0;d"),o=f.join(e);this._showOrMove(i,function(){this._updateContentNotChangedOnAxis(t,p)?this._updatePosition(i,r,n[0],n[1],this._tooltipContent,p):this._showTooltipContent(i,o,p,Math.random()+"",n[0],n[1],r,null,g)})},n2.prototype._showSeriesItemTooltip=function(t,e,n){var i,r,o,a,s,l=this._ecModel,e=Y(e),u=e.seriesIndex,h=l.getSeriesByIndex(u),c=e.dataModel||h,p=e.dataIndex,e=e.dataType,d=c.getData(e),f=this._renderMode,g=t.positionDefault,y=i2([d.getItemModel(p),c,h&&(h.coordinateSystem||{}).model],this._tooltipModel,g?{position:g}:null),h=y.get("trigger");null!=h&&"item"!==h||(i=c.getDataParams(p,e),r=new Fy,i.marker=r.makeTooltipMarker("item",wd(i.color),f),g=Pg(c.formatTooltip(p,!1,e)),h=y.get("order"),e=y.get("valueFormatter"),o=g.frag,a=o?Ny(e?P({valueFormatter:e},o):o,r,f,h,l.get("useUTC"),y.get("textStyle")):g.text,s="item_"+c.name+"_"+p,this._showOrMove(y,function(){this._showTooltipContent(y,a,i,s,t.offsetX,t.offsetY,t.position,t.target,r)}),n({type:"showTip",dataIndexInside:p,dataIndex:d.getRawIndex(p),seriesIndex:u,from:this.uid}))},n2.prototype._showComponentItemTooltip=function(e,n,t){var i="html"===this._renderMode,r=Y(n),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent,a=(H(o)&&(o={content:o,formatter:o},a=!0),a&&i&&o.content&&((o=y(o)).content=xe(o.content)),[o]),i=this._ecModel.getComponent(r.componentMainType,r.componentIndex),r=(i&&a.push(i),a.push({formatter:o.content}),e.positionDefault),s=i2(a,this._tooltipModel,r?{position:r}:null),l=s.get("content"),u=Math.random()+"",h=new Fy;this._showOrMove(s,function(){var t=y(s.get("formatterParams")||{});this._showTooltipContent(s,l,t,u,e.offsetX,e.offsetY,e.position,n,h)}),t({type:"showTip",from:this.uid})},n2.prototype._showTooltipContent=function(n,t,i,e,r,o,a,s,l){var u,h,c,p,d;this._ticket="",n.get("showContent")&&n.get("show")&&((u=this._tooltipContent).setEnterable(n.get("enterable")),h=n.get("formatter"),a=a||n.get("position"),t=t,c=this._getNearestPoint([r,o],i,n.get("trigger"),n.get("borderColor"),n.get("defaultBorderColor",!0)).color,h&&(t=H(h)?(p=n.ecModel.get("useUTC"),t=h,xd(t=(d=V(i)?i[0]:i)&&d.axisType&&0<=d.axisType.indexOf("time")?Qp(d.axisValue,t,p):t,i,!0)):N(h)?(d=S(function(t,e){t===this._ticket&&(u.setContent(e,l,n,c,a),this._updatePosition(n,a,r,o,u,i,s))},this),this._ticket=e,h(i,e,d)):h),u.setContent(t,l,n,c,a),u.show(n,c),this._updatePosition(n,a,r,o,u,i,s))},n2.prototype._getNearestPoint=function(t,e,n,i,r){return"axis"===n||V(e)?{color:i||r}:V(e)?void 0:{color:i||e.color||e.borderColor}},n2.prototype._updatePosition=function(t,e,n,i,r,o,a){var s,l=this._api.getWidth(),u=this._api.getHeight(),h=(e=e||t.get("position"),r.getSize()),c=t.get("align"),p=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();a&&d.applyTransform(a.transform),V(e=N(e)?e([n,i],o,r.el,d,{viewSize:[l,u],contentSize:h.slice()}):e)?(n=wo(e[0],l),i=wo(e[1],u)):B(e)?((o=e).width=h[0],o.height=h[1],n=(o=zd(o,{width:l,height:u})).x,i=o.y,p=c=null):i=(n=(s=H(e)&&a?function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,d,h,t.get("borderWidth")):function(t,e,n,i,r,o,a){var n=n.getSize(),s=n[0],n=n[1];null!=o&&(i":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},s2=(l2.prototype.evaluate=function(t){var e=typeof t;return H(e)?this._condVal.test(t):!!W(e)&&this._condVal.test(t+"")},l2);function l2(t){null==(this._condVal=H(t)?new RegExp(t):_t(t)?t:null)&&f("")}h2.prototype.evaluate=function(){return this.value};var u2=h2;function h2(){}p2.prototype.evaluate=function(){for(var t=this.children,e=0;e { + return e * pi / 180; +} + +const geo = { + bd09_gcj02(lon, lat) { + const x = lon - 0.0065; + const y = lat - 0.006; + const z = Math.sqrt(x * x + y * y) - 0.00002 * Math.sin(y * x_pi); + const theta = Math.atan2(y, x) - 0.000003 * Math.cos(x * x_pi); + const gg_lng = z * Math.cos(theta) + const gg_lat = z * Math.sin(theta) + return [gg_lng, gg_lat]; + }, + getDistance(lon1, lat1, lon2, lat2) { + const radLat1 = rad(lat1); + const radLat2 = rad(lat2); + const a = radLat1 - radLat2; + const b = rad(lon1) - rad(lon2); + let s = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a / 2), 2) + Math.cos(radLat1) * Math.cos(radLat2) * Math.pow(Math.sin(b / 2), 2))); + s *= EARTH_RADIUS; + return s.toFixed(2); + }, + // // 北京 + // defaultPos: { + // lon: 116.413383, + // lat: 39.910924, + // }, + // 义乌 + defaultPos: { + lon: 120.070380, + lat: 29.309300, + }, + getWebGeo(timeout) { + return new Promise((resolve, reject) => { + navigator.geolocation.getCurrentPosition(e => { + resolve({ + lon: e.coords.longitude, + lat: e.coords.latitude, + }); + }, e => { + resolve(this.defaultPos); + }, { + enableHighAccuracy: false, + timeout: timeout || 5000, + maximumAge: 0 + }); + }); + }, +} + +export default geo; \ No newline at end of file diff --git a/src/utils/html2image.js b/src/utils/html2image.js new file mode 100644 index 0000000..06e8233 --- /dev/null +++ b/src/utils/html2image.js @@ -0,0 +1,108 @@ +/** + * HTML转图片工具 + * 基于 html-to-image 将DOM元素转换为图片 + */ + +import { toCanvas } from 'html-to-image' + +/** + * 将DOM元素转换为图片 + * @param {string|HTMLElement} selector - DOM选择器或元素 + * @param {Object} options - 配置选项 + * @param {number} [options.width] - 自定义宽度(会应用到元素上) + * @param {number} [options.height] - 自定义高度(会应用到元素上) + * @param {number} [options.canvasWidth] - 输出画布宽度 + * @param {number} [options.canvasHeight] - 输出画布高度 + * @param {number} [options.pixelRatio] - 像素比例,默认2 + * @param {boolean} [options.useCORS] - 是否允许跨域,默认true + * @param {string} [options.format] - 图片格式,'png'或'jpeg',默认'png' + * @param {number} [options.quality] - 图片质量,0-1,仅jpeg有效,默认1.0 + * @returns {Promise} - 返回base64图片数据URL + */ +export async function toDataURL(selector, options = {}) { + const { + width, + height, + canvasWidth, + canvasHeight, + pixelRatio = 2, + useCORS = true, + format = 'png', + quality = 1.0 + } = options + + const element = typeof selector === 'string' ? document.querySelector(selector) : selector + if (!element) { + throw new Error('Element not found') + } + + const canvasEl = await toCanvas(element, { + width, + height, + canvasWidth, + canvasHeight, + pixelRatio, + cors: useCORS, + backgroundColor: '#ffffff', + fetchLikeCORS: true + }) + + const mimeType = format === 'jpeg' ? 'image/jpeg' : 'image/png' + return canvasEl.toDataURL(mimeType, quality) +} + +/** + * 将DOM元素转换为图片并下载 + * @param {string|HTMLElement} selector - DOM选择器或元素 + * @param {string} [filename] - 下载文件名,不含扩展名 + * @param {Object} options - 配置选项,同toDataURL + */ +export async function toImageDownload(selector, filename = 'download', options = {}) { + const dataUrl = await toDataURL(selector, options) + + const link = document.createElement('a') + link.download = filename + '.png' + link.href = dataUrl + document.body.appendChild(link) + link.click() + document.body.removeChild(link) +} + +/** + * 将DOM元素转换为Blob + * @param {string|HTMLElement} selector - DOM选择器或元素 + * @param {Object} options - 配置选项,同toDataURL + * @returns {Promise} + */ +export async function toBlob(selector, options = {}) { + const dataUrl = await toDataURL(selector, options) + + const arr = dataUrl.split(',') + const mime = arr[0].match(/:(.*?);/)[1] + const bstr = atob(arr[1]) + let n = bstr.length + const u8arr = new Uint8Array(n) + while (n--) { + u8arr[n] = bstr.charCodeAt(n) + } + return new Blob([u8arr], { type: mime }) +} + +/** + * 通过 dataURL 直接下载图片 + */ +export function downloadByDataURL(dataUrl, filename = 'download') { + const link = document.createElement('a') + link.download = filename + '.png' + link.href = dataUrl + document.body.appendChild(link) + link.click() + document.body.removeChild(link) +} + +export default { + toDataURL, + toImageDownload, + toBlob, + downloadByDataURL +} \ No newline at end of file diff --git a/src/utils/icon.js b/src/utils/icon.js new file mode 100644 index 0000000..458042d --- /dev/null +++ b/src/utils/icon.js @@ -0,0 +1,3 @@ +const iconlist = ["AddLocation", "Aim", "AlarmClock", "Apple", "ArrowDownBold", "ArrowDown", "ArrowLeftBold", "ArrowLeft", "ArrowRightBold", "ArrowRight", "ArrowUpBold", "ArrowUp", "Avatar", "Back", "Baseball", "Basketball", "BellFilled", "Bell", "Bicycle", "BottomLeft", "BottomRight", "Bottom", "Bowl", "Box", "Briefcase", "BrushFilled", "Brush", "Burger", "Calendar", "CameraFilled", "Camera", "CaretBottom", "CaretLeft", "CaretRight", "CaretTop", "Cellphone", "ChatDotRound", "ChatDotSquare", "ChatLineRound", "ChatLineSquare", "ChatRound", "ChatSquare", "Check", "Checked", "Cherry", "Chicken", "ChromeFilled", "CircleCheckFilled", "CircleCheck", "CircleCloseFilled", "CircleClose", "CirclePlusFilled", "CirclePlus", "Clock", "CloseBold", "Close", "Cloudy", "CoffeeCup", "Coffee", "Coin", "ColdDrink", "CollectionTag", "Collection", "Comment", "Compass", "Connection", "Coordinate", "CopyDocument", "Cpu", "CreditCard", "Crop", "DArrowLeft", "DArrowRight", "DCaret", "DataAnalysis", "DataBoard", "DataLine", "DeleteFilled", "DeleteLocation", "Delete", "Dessert", "Discount", "DishDot", "Dish", "DocumentAdd", "DocumentChecked", "DocumentCopy", "DocumentDelete", "DocumentRemove", "Document", "Download", "Drizzling", "EditPen", "Edit", "ElemeFilled", "Eleme", "ElementPlus", "Expand", "Failed", "Female", "Files", "Film", "Filter", "Finished", "FirstAidKit", "Flag", "Fold", "FolderAdd", "FolderChecked", "FolderDelete", "FolderOpened", "FolderRemove", "Folder", "Food", "Football", "ForkSpoon", "Fries", "FullScreen", "GobletFull", "GobletSquareFull", "GobletSquare", "Goblet", "GoldMedal", "GoodsFilled", "Goods", "Grape", "Grid", "Guide", "Handbag", "Headset", "HelpFilled", "Help", "Hide", "Histogram", "HomeFilled", "HotWater", "House", "IceCreamRound", "IceCreamSquare", "IceCream", "IceDrink", "IceTea", "InfoFilled", "Iphone", "Key", "KnifeFork", "Lightning", "Link", "List", "Loading", "LocationFilled", "LocationInformation", "Location", "Lock", "Lollipop", "MagicStick", "Magnet", "Male", "Management", "MapLocation", "Medal", "Memo", "Menu", "MessageBox", "Message", "Mic", "Microphone", "MilkTea", "Minus", "Money", "Monitor", "MoonNight", "Moon", "MoreFilled", "More", "MostlyCloudy", "Mouse", "Mug", "MuteNotification", "Mute", "NoSmoking", "Notebook", "Notification", "Odometer", "OfficeBuilding", "Open", "Operation", "Opportunity", "Orange", "Paperclip", "PartlyCloudy", "Pear", "PhoneFilled", "Phone", "PictureFilled", "PictureRounded", "Picture", "PieChart", "Place", "Platform", "Plus", "Pointer", "Position", "Postcard", "Pouring", "Present", "PriceTag", "Printer", "Promotion", "QuartzWatch", "QuestionFilled", "Rank", "ReadingLamp", "Reading", "RefreshLeft", "RefreshRight", "Refresh", "Refrigerator", "RemoveFilled", "Remove", "Right", "ScaleToOriginal", "School", "Scissor", "Search", "Select", "Sell", "SemiSelect", "Service", "SetUp", "Setting", "Share", "Ship", "Shop", "ShoppingBag", "ShoppingCartFull", "ShoppingCart", "ShoppingTrolley", "Smoking", "Soccer", "SoldOut", "SortDown", "SortUp", "Sort", "Stamp", "StarFilled", "Star", "Stopwatch", "SuccessFilled", "Sugar", "SuitcaseLine", "Suitcase", "Sunny", "Sunrise", "Sunset", "SwitchButton", "SwitchFilled", "Switch", "TakeawayBox", "Ticket", "Tickets", "Timer", "ToiletPaper", "Tools", "TopLeft", "TopRight", "Top", "TrendCharts", "TrophyBase", "Trophy", "TurnOff", "Umbrella", "Unlock", "UploadFilled", "Upload", "UserFilled", "User", "Van", "VideoCameraFilled", "VideoCamera", "VideoPause", "VideoPlay", "View", "WalletFilled", "Wallet", "WarnTriangleFilled", "WarningFilled", "Warning", "Watch", "Watermelon", "WindPower", "ZoomIn", "ZoomOut"]; + +export { iconlist } \ No newline at end of file diff --git a/src/utils/uuid.js b/src/utils/uuid.js new file mode 100644 index 0000000..61b8208 --- /dev/null +++ b/src/utils/uuid.js @@ -0,0 +1,20 @@ +function uuid(e = '', isUpper = false) { + var s = []; + var hexDigits = "0123456789abcdef"; + for (var i = 0; i < 36; i++) { + s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1); + } + s[14] = "4"; // bits 12-15 of the time_hi_and_version field to 0010 + s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1); // bits 6-7 of the clock_seq_hi_and_reserved to 01 + s[8] = s[13] = s[18] = s[23] = (e ? "-" : ""); + + var uuid = s.join(""); + if (isUpper) { + uuid = uuid.toUpperCase(); + } + return uuid; +} + +export { + uuid +} \ No newline at end of file diff --git a/src/views/404.vue b/src/views/404.vue new file mode 100644 index 0000000..b7e3b43 --- /dev/null +++ b/src/views/404.vue @@ -0,0 +1,24 @@ + + + \ No newline at end of file diff --git a/src/views/Account/Login.vue b/src/views/Account/Login.vue new file mode 100644 index 0000000..008b477 --- /dev/null +++ b/src/views/Account/Login.vue @@ -0,0 +1,369 @@ + + + diff --git a/src/views/Account/ResetPwd.vue b/src/views/Account/ResetPwd.vue new file mode 100644 index 0000000..6783aae --- /dev/null +++ b/src/views/Account/ResetPwd.vue @@ -0,0 +1,160 @@ + + + \ No newline at end of file diff --git a/src/views/Account/WxCallback.vue b/src/views/Account/WxCallback.vue new file mode 100644 index 0000000..bad8835 --- /dev/null +++ b/src/views/Account/WxCallback.vue @@ -0,0 +1,20 @@ + + + \ No newline at end of file diff --git a/src/views/Cashout/Cashout.vue b/src/views/Cashout/Cashout.vue new file mode 100644 index 0000000..5902c95 --- /dev/null +++ b/src/views/Cashout/Cashout.vue @@ -0,0 +1,219 @@ + + + + + \ No newline at end of file diff --git a/src/views/Cashout/CashoutAccount.vue b/src/views/Cashout/CashoutAccount.vue new file mode 100644 index 0000000..4a516fc --- /dev/null +++ b/src/views/Cashout/CashoutAccount.vue @@ -0,0 +1,263 @@ + + + \ No newline at end of file diff --git a/src/views/Cashout/CashoutRecord.vue b/src/views/Cashout/CashoutRecord.vue new file mode 100644 index 0000000..f94fefd --- /dev/null +++ b/src/views/Cashout/CashoutRecord.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/src/views/Goods/Category.vue b/src/views/Goods/Category.vue new file mode 100644 index 0000000..2bdaecb --- /dev/null +++ b/src/views/Goods/Category.vue @@ -0,0 +1,429 @@ + + + + + + diff --git a/src/views/Goods/GoodsDetail.vue b/src/views/Goods/GoodsDetail.vue new file mode 100644 index 0000000..8dcc905 --- /dev/null +++ b/src/views/Goods/GoodsDetail.vue @@ -0,0 +1,399 @@ + + + \ No newline at end of file diff --git a/src/views/Index.vue b/src/views/Index.vue new file mode 100644 index 0000000..6b33a70 --- /dev/null +++ b/src/views/Index.vue @@ -0,0 +1,112 @@ + + + \ No newline at end of file diff --git a/src/views/Merchant/Merchant.vue b/src/views/Merchant/Merchant.vue new file mode 100644 index 0000000..1d53311 --- /dev/null +++ b/src/views/Merchant/Merchant.vue @@ -0,0 +1,220 @@ + + + + + \ No newline at end of file diff --git a/src/views/Merchant/MerchantCashout.vue b/src/views/Merchant/MerchantCashout.vue new file mode 100644 index 0000000..30db756 --- /dev/null +++ b/src/views/Merchant/MerchantCashout.vue @@ -0,0 +1,57 @@ + + + \ No newline at end of file diff --git a/src/views/Merchant/MerchantIncome.vue b/src/views/Merchant/MerchantIncome.vue new file mode 100644 index 0000000..cd02f7f --- /dev/null +++ b/src/views/Merchant/MerchantIncome.vue @@ -0,0 +1,150 @@ + + + diff --git a/src/views/Merchant/MerchantIntroduction.vue b/src/views/Merchant/MerchantIntroduction.vue new file mode 100644 index 0000000..e05670a --- /dev/null +++ b/src/views/Merchant/MerchantIntroduction.vue @@ -0,0 +1,486 @@ + + + + + \ No newline at end of file diff --git a/src/views/Merchant/MerchantTrade.vue b/src/views/Merchant/MerchantTrade.vue new file mode 100644 index 0000000..960d8c3 --- /dev/null +++ b/src/views/Merchant/MerchantTrade.vue @@ -0,0 +1,241 @@ + + + diff --git a/src/views/Merchant/MerchantTradeDetail.vue b/src/views/Merchant/MerchantTradeDetail.vue new file mode 100644 index 0000000..3b15980 --- /dev/null +++ b/src/views/Merchant/MerchantTradeDetail.vue @@ -0,0 +1,179 @@ + + + \ No newline at end of file diff --git a/src/views/Merchant/PayCode.vue b/src/views/Merchant/PayCode.vue new file mode 100644 index 0000000..fd0770b --- /dev/null +++ b/src/views/Merchant/PayCode.vue @@ -0,0 +1,187 @@ + + + + + \ No newline at end of file diff --git a/src/views/Merchant/Statistics.vue b/src/views/Merchant/Statistics.vue new file mode 100644 index 0000000..7d54777 --- /dev/null +++ b/src/views/Merchant/Statistics.vue @@ -0,0 +1,230 @@ + + + diff --git a/src/views/Operations/Operations.vue b/src/views/Operations/Operations.vue new file mode 100644 index 0000000..1c2079e --- /dev/null +++ b/src/views/Operations/Operations.vue @@ -0,0 +1,136 @@ + + + \ No newline at end of file diff --git a/src/views/Operations/QrReader.vue b/src/views/Operations/QrReader.vue new file mode 100644 index 0000000..2a6fea8 --- /dev/null +++ b/src/views/Operations/QrReader.vue @@ -0,0 +1,357 @@ + + + + + \ No newline at end of file diff --git a/src/views/Platform/Business_School.vue b/src/views/Platform/Business_School.vue new file mode 100644 index 0000000..cb0ef8e --- /dev/null +++ b/src/views/Platform/Business_School.vue @@ -0,0 +1,117 @@ + + + diff --git a/src/views/Platform/Column.vue b/src/views/Platform/Column.vue new file mode 100644 index 0000000..b31eab5 --- /dev/null +++ b/src/views/Platform/Column.vue @@ -0,0 +1,97 @@ + + + + + diff --git a/src/views/Platform/ColumnDetail.vue b/src/views/Platform/ColumnDetail.vue new file mode 100644 index 0000000..c0ce0fc --- /dev/null +++ b/src/views/Platform/ColumnDetail.vue @@ -0,0 +1,114 @@ + + + + + diff --git a/src/views/Platform/School_Category.vue b/src/views/Platform/School_Category.vue new file mode 100644 index 0000000..4fc3c4e --- /dev/null +++ b/src/views/Platform/School_Category.vue @@ -0,0 +1,71 @@ + + + diff --git a/src/views/Platform/School_Detail.vue b/src/views/Platform/School_Detail.vue new file mode 100644 index 0000000..37cc4c6 --- /dev/null +++ b/src/views/Platform/School_Detail.vue @@ -0,0 +1,64 @@ + + + \ No newline at end of file diff --git a/src/views/SyncAuth.vue b/src/views/SyncAuth.vue new file mode 100644 index 0000000..0a721f0 --- /dev/null +++ b/src/views/SyncAuth.vue @@ -0,0 +1,34 @@ + + + \ No newline at end of file diff --git a/src/views/Tabbars/Gift.vue b/src/views/Tabbars/Gift.vue new file mode 100644 index 0000000..043165f --- /dev/null +++ b/src/views/Tabbars/Gift.vue @@ -0,0 +1,367 @@ + + + \ No newline at end of file diff --git a/src/views/Tabbars/Home.vue b/src/views/Tabbars/Home.vue new file mode 100644 index 0000000..bf98a20 --- /dev/null +++ b/src/views/Tabbars/Home.vue @@ -0,0 +1,167 @@ + + + \ No newline at end of file diff --git a/src/views/Tabbars/Mall.vue b/src/views/Tabbars/Mall.vue new file mode 100644 index 0000000..e34cf47 --- /dev/null +++ b/src/views/Tabbars/Mall.vue @@ -0,0 +1,295 @@ + + + + + + diff --git a/src/views/Tabbars/Social.vue b/src/views/Tabbars/Social.vue new file mode 100644 index 0000000..e351c5a --- /dev/null +++ b/src/views/Tabbars/Social.vue @@ -0,0 +1,193 @@ + + + \ No newline at end of file diff --git a/src/views/Trade/Pay.vue b/src/views/Trade/Pay.vue new file mode 100644 index 0000000..21e0713 --- /dev/null +++ b/src/views/Trade/Pay.vue @@ -0,0 +1,298 @@ + + + + + \ No newline at end of file diff --git a/src/views/Trade/TradeConfirm.vue b/src/views/Trade/TradeConfirm.vue new file mode 100644 index 0000000..6a66dc1 --- /dev/null +++ b/src/views/Trade/TradeConfirm.vue @@ -0,0 +1,357 @@ + + + + + diff --git a/src/views/Trade/TradeDetail.vue b/src/views/Trade/TradeDetail.vue new file mode 100644 index 0000000..b6fa79d --- /dev/null +++ b/src/views/Trade/TradeDetail.vue @@ -0,0 +1,203 @@ + + + diff --git a/src/views/Trade/TradeList.vue b/src/views/Trade/TradeList.vue new file mode 100644 index 0000000..317b23a --- /dev/null +++ b/src/views/Trade/TradeList.vue @@ -0,0 +1,365 @@ + + + + + diff --git a/src/views/User/Address.vue b/src/views/User/Address.vue new file mode 100644 index 0000000..8c9ea39 --- /dev/null +++ b/src/views/User/Address.vue @@ -0,0 +1,154 @@ + + + \ No newline at end of file diff --git a/src/views/User/Checkout/Checkout.vue b/src/views/User/Checkout/Checkout.vue new file mode 100644 index 0000000..88ba8fe --- /dev/null +++ b/src/views/User/Checkout/Checkout.vue @@ -0,0 +1,150 @@ + + + \ No newline at end of file diff --git a/src/views/User/Checkout/CheckoutTrade.vue b/src/views/User/Checkout/CheckoutTrade.vue new file mode 100644 index 0000000..6748800 --- /dev/null +++ b/src/views/User/Checkout/CheckoutTrade.vue @@ -0,0 +1,72 @@ + + + \ No newline at end of file diff --git a/src/views/User/Invite.vue b/src/views/User/Invite.vue new file mode 100644 index 0000000..6937459 --- /dev/null +++ b/src/views/User/Invite.vue @@ -0,0 +1,179 @@ + + + + + \ No newline at end of file diff --git a/src/views/User/My.vue b/src/views/User/My.vue new file mode 100644 index 0000000..69da65f --- /dev/null +++ b/src/views/User/My.vue @@ -0,0 +1,412 @@ + + + \ No newline at end of file diff --git a/src/views/User/PointMall.vue b/src/views/User/PointMall.vue new file mode 100644 index 0000000..76beade --- /dev/null +++ b/src/views/User/PointMall.vue @@ -0,0 +1,250 @@ + + + + + \ No newline at end of file diff --git a/src/views/User/Service.vue b/src/views/User/Service.vue new file mode 100644 index 0000000..e20742f --- /dev/null +++ b/src/views/User/Service.vue @@ -0,0 +1,63 @@ + + + \ No newline at end of file diff --git a/src/views/User/ShopInfo.vue b/src/views/User/ShopInfo.vue new file mode 100644 index 0000000..fc04602 --- /dev/null +++ b/src/views/User/ShopInfo.vue @@ -0,0 +1,143 @@ + + + \ No newline at end of file diff --git a/src/views/User/Team.vue b/src/views/User/Team.vue new file mode 100644 index 0000000..4fa61b9 --- /dev/null +++ b/src/views/User/Team.vue @@ -0,0 +1,247 @@ + + + + + diff --git a/src/views/User/Wallet/Allow.vue b/src/views/User/Wallet/Allow.vue new file mode 100644 index 0000000..b74aff8 --- /dev/null +++ b/src/views/User/Wallet/Allow.vue @@ -0,0 +1,66 @@ + + + \ No newline at end of file diff --git a/src/views/User/Wallet/Balance.vue b/src/views/User/Wallet/Balance.vue new file mode 100644 index 0000000..77b9ca6 --- /dev/null +++ b/src/views/User/Wallet/Balance.vue @@ -0,0 +1,352 @@ + + diff --git a/src/views/User/Wallet/CV.vue b/src/views/User/Wallet/CV.vue new file mode 100644 index 0000000..1425eb0 --- /dev/null +++ b/src/views/User/Wallet/CV.vue @@ -0,0 +1,126 @@ + + + \ No newline at end of file diff --git a/src/views/User/Wallet/Certificate.vue b/src/views/User/Wallet/Certificate.vue new file mode 100644 index 0000000..f3e4799 --- /dev/null +++ b/src/views/User/Wallet/Certificate.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/User/Wallet/CertificateRecord.vue b/src/views/User/Wallet/CertificateRecord.vue new file mode 100644 index 0000000..1734dda --- /dev/null +++ b/src/views/User/Wallet/CertificateRecord.vue @@ -0,0 +1,89 @@ + + + \ No newline at end of file diff --git a/src/views/User/Wallet/Point.vue b/src/views/User/Wallet/Point.vue new file mode 100644 index 0000000..a303dea --- /dev/null +++ b/src/views/User/Wallet/Point.vue @@ -0,0 +1,174 @@ + + diff --git a/src/views/User/Wallet/Transfer.vue b/src/views/User/Wallet/Transfer.vue new file mode 100644 index 0000000..ed1d838 --- /dev/null +++ b/src/views/User/Wallet/Transfer.vue @@ -0,0 +1,197 @@ + + + diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..519f774 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,46 @@ +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' +import Components from 'unplugin-vue-components/vite' +import AutoImport from 'unplugin-auto-import/vite' +import { VantResolver } from 'unplugin-vue-components/resolvers' +import { fileURLToPath, URL } from 'node:url' + +export default defineConfig({ + server: { + host: '0.0.0.0', + port: 9992, + // 是否开启 https + https: false, + }, + plugins: [ + vue( + { + template: { + compilerOptions: { + // 忽略wx-open-launch 开头的组件,这些是微信的默认组件 + isCustomElement: (tag) => tag.includes('wx-open-launch') + } + } + } + ), + Components({ + resolvers: [VantResolver()], + }), + AutoImport({ + imports: ['vue', 'vue-router'], + resolvers: [VantResolver()], + }), + ], + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)), + }, + }, + css: { + preprocessorOptions: { + less: { + javascriptEnabled: true, + }, + }, + }, +})