@terreno/admin-spa 57.2.0 → 57.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/package.json +19 -17
- package/dist/+not-found.html +0 -381
- package/dist/[model]/[id].html +0 -381
- package/dist/[model]/create.html +0 -381
- package/dist/[model]/index.html +0 -381
- package/dist/_expo/.routes.json +0 -3
- package/dist/_expo/static/js/web/Network-2fe8b7bb8a222510c435a5105744c247.js +0 -3
- package/dist/_expo/static/js/web/Print-f91de322c139d2f6447aadbb1a649230.js +0 -2
- package/dist/_expo/static/js/web/WebBrowser-7a054df8a17287fa16c467a68774b3fc.js +0 -3
- package/dist/_expo/static/js/web/entry-18c51aee75d349f67b98de82e7ccf373.js +0 -2968
- package/dist/_expo/static/js/web/html2canvas-73f69a8ac85e32759e800378c4d8daf2.js +0 -19
- package/dist/_expo/static/js/web/index-493841e9f291e1d50cf10f81ff776b6a.js +0 -224
- package/dist/_expo/static/js/web/index-669f4ce73ef7e3976980227ebfc9b36c.js +0 -4
- package/dist/_expo/static/js/web/index-ebd20d46045caaf184b3abcede97364e.js +0 -3
- package/dist/_expo/static/js/web/jspdf.es-fefb2819e14a5cbea05f786083d3fa7c.js +0 -250
- package/dist/_expo/static/js/web/purify-cc6e30c2eb70e97a4734648e87416542.js +0 -3
- package/dist/_sitemap.html +0 -381
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/AntDesign.3f78af31cca60105799838a1a7a59fbd.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Entypo.31b5ffea3daddc69dd01a1f3d6cf63c5.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/EvilIcons.140c53a7643ea949007aa9a282153849.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Feather.ca4b48e04dc1ce10bfbddb262c8b835f.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome.b06871f281fee6b241d60582ae9369b9.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.3b89dd103490708d19a95adcae52210e.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.1f77739ca9ff2188b539c36f30ffa2be.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.605ed7926cf39a2ad5ec2d1f9d391d3d.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Brands.56c8d80832e37783f12c05db7c8849e2.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Regular.370dd5af19f8364907b6e2c41f45dbbf.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Solid.adec7d6f310bc577f05e8fe06a5daccf.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Fontisto.b49ae8ab2dbccb02c4d11caaacf09eab.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Foundation.e20945d7c929279ef7a6f1db184a4470.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Ionicons.b4eb097d35f44ed943676fd56f6bdc51.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.6e435534bd35da5fef04168860a9b8fa.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialIcons.4e85bc9ebe07e0340c9c4fc2f6c38908.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Octicons.871378c6eab492a3e689a9385dc45a12.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/SimpleLineIcons.d2285965fe34b05465047401b8595dd0.ttf +0 -0
- package/dist/assets/_node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Zocial.1681f34aaca71b8dfb70756bca331eb2.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/caveat/400Regular/Caveat_400Regular.1cfb4c8cf0a71e368be08b7b254e5a82.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/caveat/500Medium/Caveat_500Medium.6a350a8acf2cdba5222aa3d56271daf2.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/caveat/600SemiBold/Caveat_600SemiBold.2e111f5d344b8f6cd99f6a338cf8513a.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/caveat/700Bold/Caveat_700Bold.a6778b61e5f1b85a33ba022438008240.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/dancing-script/400Regular/DancingScript_400Regular.4166d03f2359652b8f239e23578b8232.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/dancing-script/500Medium/DancingScript_500Medium.bc2ca7b9fedcc4e467366a29a8637917.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/dancing-script/600SemiBold/DancingScript_600SemiBold.3d52bed05c9e88e6b9605ddcf6db06ac.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/dancing-script/700Bold/DancingScript_700Bold.1803686a822e2b10ecd6909227cb8d25.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/great-vibes/400Regular/GreatVibes_400Regular.bf94596ed0a6d89ce1871caa03a2ba68.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/200ExtraLight/Nunito_200ExtraLight.e3195ab4d111cebd50de96951ef3bbb5.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/200ExtraLight_Italic/Nunito_200ExtraLight_Italic.0f44842abdc321a4e8ef5f2d6eba013d.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/300Light/Nunito_300Light.cc4216a006ff27ad663b12c8d74708ef.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/300Light_Italic/Nunito_300Light_Italic.48b8e1e1d609d04a229cb167ba18ea4d.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/400Regular/Nunito_400Regular.f04f0e9ff969fd52a75deade3a9761cd.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/400Regular_Italic/Nunito_400Regular_Italic.0967d8e924905d0a4a70f38830288891.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/500Medium/Nunito_500Medium.04058d9f3583d30ece037e060c5b9721.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/500Medium_Italic/Nunito_500Medium_Italic.cabcea7d7b9c755ec132e2fe3efe4138.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/600SemiBold/Nunito_600SemiBold.b1364260246b29fd9393a1a071f3af61.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/600SemiBold_Italic/Nunito_600SemiBold_Italic.d3964a4faac6f9f959c6495f7e8bb1cc.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/700Bold/Nunito_700Bold.c133c0b8cd169e7798d0cd239477cf32.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/700Bold_Italic/Nunito_700Bold_Italic.c9d7af177a1a205c866662164104d9f0.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/800ExtraBold/Nunito_800ExtraBold.2b1bb82750274fc2d1043bf3891cb531.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/800ExtraBold_Italic/Nunito_800ExtraBold_Italic.eb8fe8521b6a7c128572d90528b415d6.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/900Black/Nunito_900Black.3ffae19d12dc67269f5cdd8d7a0aaeaf.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/nunito/900Black_Italic/Nunito_900Black_Italic.2c030d352cb022edf2f941cadc8367f7.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/sacramento/400Regular/Sacramento_400Regular.0c8e69ac621ffbdfdb997bef9b5aa312.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/titillium-web/200ExtraLight/TitilliumWeb_200ExtraLight.6a9cdf9fdee47c63bc9c6c9ac284b32f.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/titillium-web/200ExtraLight_Italic/TitilliumWeb_200ExtraLight_Italic.347c2449963064a73858ca1e0dd3a4da.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/titillium-web/300Light/TitilliumWeb_300Light.71d53d9506f88f09a25f326f29de4201.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/titillium-web/300Light_Italic/TitilliumWeb_300Light_Italic.f47afb7520f8f909a457ed2d0fc5997c.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/titillium-web/400Regular/TitilliumWeb_400Regular.57e937e4eef39e324bd4f26745053687.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/titillium-web/400Regular_Italic/TitilliumWeb_400Regular_Italic.b7e4f5f7e443acc7c6340e8ae40926de.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/titillium-web/600SemiBold/TitilliumWeb_600SemiBold.c21564022e51245ca150237eeb23a2bb.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/titillium-web/600SemiBold_Italic/TitilliumWeb_600SemiBold_Italic.20d8982e3d57983b66ae8dfcdcf48501.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/titillium-web/700Bold/TitilliumWeb_700Bold.d49a8ee8f1baee082909ab2e7c4062d1.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/titillium-web/700Bold_Italic/TitilliumWeb_700Bold_Italic.cffdbe92e1d7e1c0e730b89aabc4ee11.ttf +0 -0
- package/dist/assets/_node_modules/@expo-google-fonts/titillium-web/900Black/TitilliumWeb_900Black.8d8d73518f2f1d36654af1b92fbfba99.ttf +0 -0
- package/dist/assets/_node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png +0 -0
- package/dist/assets/_node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png +0 -0
- package/dist/assets/_node_modules/react-native-calendars/src/calendar/img/next.5cd69239c26b01e3a70a5b852b034f8e.png +0 -0
- package/dist/assets/_node_modules/react-native-calendars/src/calendar/img/previous.87e5b6811f7ec9c6b4991b334b565992.png +0 -0
- package/dist/assets/_node_modules/react-native-calendars/src/img/down.5d3a5c3005bed13682ef9f27207b2019.png +0 -0
- package/dist/assets/_node_modules/react-native-calendars/src/img/down.5d3a5c3005bed13682ef9f27207b2019@1.5x.png +0 -0
- package/dist/assets/_node_modules/react-native-calendars/src/img/down.5d3a5c3005bed13682ef9f27207b2019@2x.png +0 -0
- package/dist/assets/_node_modules/react-native-calendars/src/img/down.5d3a5c3005bed13682ef9f27207b2019@3x.png +0 -0
- package/dist/assets/_node_modules/react-native-calendars/src/img/down.5d3a5c3005bed13682ef9f27207b2019@4x.png +0 -0
- package/dist/assets/_node_modules/react-native-calendars/src/img/up.09f8dc4c9ffd6c59e9884027c5008080.png +0 -0
- package/dist/assets/_node_modules/react-native-calendars/src/img/up.09f8dc4c9ffd6c59e9884027c5008080@1.5x.png +0 -0
- package/dist/assets/_node_modules/react-native-calendars/src/img/up.09f8dc4c9ffd6c59e9884027c5008080@2x.png +0 -0
- package/dist/assets/_node_modules/react-native-calendars/src/img/up.09f8dc4c9ffd6c59e9884027c5008080@3x.png +0 -0
- package/dist/assets/_node_modules/react-native-calendars/src/img/up.09f8dc4c9ffd6c59e9884027c5008080@4x.png +0 -0
- package/dist/assets/_node_modules/react-native-google-places-autocomplete/images/powered_by_google_on_white.06b47ae2ab5bae40bd3a93e05142cc28.png +0 -0
- package/dist/assets/_node_modules/react-native-google-places-autocomplete/images/powered_by_google_on_white.06b47ae2ab5bae40bd3a93e05142cc28@2x.png +0 -0
- package/dist/assets/_node_modules/react-native-google-places-autocomplete/images/powered_by_google_on_white.06b47ae2ab5bae40bd3a93e05142cc28@3x.png +0 -0
- package/dist/configuration.html +0 -381
- package/dist/forbidden.html +0 -381
- package/dist/index.html +0 -381
- package/dist/login.html +0 -381
- package/dist/roles/index.html +0 -381
- package/dist/scripts.html +0 -381
- package/dist/version-config.html +0 -381
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
__d(function(t,e,r,i,n,s,a){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(s,'__esModule',{value:!0}),Object.defineProperty(s,"AElement",{enumerable:!0,get:function(){return Ht}}),Object.defineProperty(s,"AnimateColorElement",{enumerable:!0,get:function(){return Rt}}),Object.defineProperty(s,"AnimateElement",{enumerable:!0,get:function(){return It}}),Object.defineProperty(s,"AnimateTransformElement",{enumerable:!0,get:function(){return Ft}}),Object.defineProperty(s,"BoundingBox",{enumerable:!0,get:function(){return ft}}),Object.defineProperty(s,"CB1",{enumerable:!0,get:function(){return z}}),Object.defineProperty(s,"CB2",{enumerable:!0,get:function(){return L}}),Object.defineProperty(s,"CB3",{enumerable:!0,get:function(){return I}}),Object.defineProperty(s,"CB4",{enumerable:!0,get:function(){return R}}),Object.defineProperty(s,"Canvg",{enumerable:!0,get:function(){return we}}),Object.defineProperty(s,"CircleElement",{enumerable:!0,get:function(){return Ot}}),Object.defineProperty(s,"ClipPathElement",{enumerable:!0,get:function(){return he}}),Object.defineProperty(s,"DefsElement",{enumerable:!0,get:function(){return jt}}),Object.defineProperty(s,"DescElement",{enumerable:!0,get:function(){return fe}}),Object.defineProperty(s,"Document",{enumerable:!0,get:function(){return be}}),Object.defineProperty(s,"Element",{enumerable:!0,get:function(){return lt}}),Object.defineProperty(s,"EllipseElement",{enumerable:!0,get:function(){return Ct}}),Object.defineProperty(s,"FeColorMatrixElement",{enumerable:!0,get:function(){return se}}),Object.defineProperty(s,"FeCompositeElement",{enumerable:!0,get:function(){return ge}}),Object.defineProperty(s,"FeDropShadowElement",{enumerable:!0,get:function(){return ue}}),Object.defineProperty(s,"FeGaussianBlurElement",{enumerable:!0,get:function(){return de}}),Object.defineProperty(s,"FeMorphologyElement",{enumerable:!0,get:function(){return ce}}),Object.defineProperty(s,"FilterElement",{enumerable:!0,get:function(){return le}}),Object.defineProperty(s,"Font",{enumerable:!0,get:function(){return pt}}),Object.defineProperty(s,"FontElement",{enumerable:!0,get:function(){return _t}}),Object.defineProperty(s,"FontFaceElement",{enumerable:!0,get:function(){return Xt}}),Object.defineProperty(s,"GElement",{enumerable:!0,get:function(){return Nt}}),Object.defineProperty(s,"GlyphElement",{enumerable:!0,get:function(){return xt}}),Object.defineProperty(s,"GradientElement",{enumerable:!0,get:function(){return Dt}}),Object.defineProperty(s,"ImageElement",{enumerable:!0,get:function(){return Qt}}),Object.defineProperty(s,"LineElement",{enumerable:!0,get:function(){return Tt}}),Object.defineProperty(s,"LinearGradientElement",{enumerable:!0,get:function(){return Bt}}),Object.defineProperty(s,"MarkerElement",{enumerable:!0,get:function(){return kt}}),Object.defineProperty(s,"MaskElement",{enumerable:!0,get:function(){return ae}}),Object.defineProperty(s,"Matrix",{enumerable:!0,get:function(){return rt}}),Object.defineProperty(s,"MissingGlyphElement",{enumerable:!0,get:function(){return Yt}}),Object.defineProperty(s,"Mouse",{enumerable:!0,get:function(){return W}}),Object.defineProperty(s,"PSEUDO_ZERO",{enumerable:!0,get:function(){return j}}),Object.defineProperty(s,"Parser",{enumerable:!0,get:function(){return J}}),Object.defineProperty(s,"PathElement",{enumerable:!0,get:function(){return vt}}),Object.defineProperty(s,"PathParser",{enumerable:!0,get:function(){return yt}}),Object.defineProperty(s,"PatternElement",{enumerable:!0,get:function(){return Mt}}),Object.defineProperty(s,"Point",{enumerable:!0,get:function(){return H}}),Object.defineProperty(s,"PolygonElement",{enumerable:!0,get:function(){return Et}}),Object.defineProperty(s,"PolylineElement",{enumerable:!0,get:function(){return Vt}}),Object.defineProperty(s,"Property",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(s,"QB1",{enumerable:!0,get:function(){return F}}),Object.defineProperty(s,"QB2",{enumerable:!0,get:function(){return _}}),Object.defineProperty(s,"QB3",{enumerable:!0,get:function(){return X}}),Object.defineProperty(s,"RadialGradientElement",{enumerable:!0,get:function(){return zt}}),Object.defineProperty(s,"RectElement",{enumerable:!0,get:function(){return At}}),Object.defineProperty(s,"RenderedElement",{enumerable:!0,get:function(){return mt}}),Object.defineProperty(s,"Rotate",{enumerable:!0,get:function(){return tt}}),Object.defineProperty(s,"SVGElement",{enumerable:!0,get:function(){return wt}}),Object.defineProperty(s,"SVGFontLoader",{enumerable:!0,get:function(){return Jt}}),Object.defineProperty(s,"Scale",{enumerable:!0,get:function(){return et}}),Object.defineProperty(s,"Screen",{enumerable:!0,get:function(){return $}}),Object.defineProperty(s,"Skew",{enumerable:!0,get:function(){return it}}),Object.defineProperty(s,"SkewX",{enumerable:!0,get:function(){return nt}}),Object.defineProperty(s,"SkewY",{enumerable:!0,get:function(){return st}}),Object.defineProperty(s,"StopElement",{enumerable:!0,get:function(){return Lt}}),Object.defineProperty(s,"StyleElement",{enumerable:!0,get:function(){return Kt}}),Object.defineProperty(s,"SymbolElement",{enumerable:!0,get:function(){return Zt}}),Object.defineProperty(s,"TRefElement",{enumerable:!0,get:function(){return Ut}}),Object.defineProperty(s,"TSpanElement",{enumerable:!0,get:function(){return Pt}}),Object.defineProperty(s,"TextElement",{enumerable:!0,get:function(){return bt}}),Object.defineProperty(s,"TextPathElement",{enumerable:!0,get:function(){return qt}}),Object.defineProperty(s,"TitleElement",{enumerable:!0,get:function(){return pe}}),Object.defineProperty(s,"Transform",{enumerable:!0,get:function(){return ht}}),Object.defineProperty(s,"Translate",{enumerable:!0,get:function(){return K}}),Object.defineProperty(s,"UnknownElement",{enumerable:!0,get:function(){return ut}}),Object.defineProperty(s,"UseElement",{enumerable:!0,get:function(){return te}}),Object.defineProperty(s,"ViewPort",{enumerable:!0,get:function(){return U}}),Object.defineProperty(s,"compressSpaces",{enumerable:!0,get:function(){return f}}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return we}}),Object.defineProperty(s,"getSelectorSpecificity",{enumerable:!0,get:function(){return k}}),Object.defineProperty(s,"normalizeAttributeName",{enumerable:!0,get:function(){return b}}),Object.defineProperty(s,"normalizeColor",{enumerable:!0,get:function(){return S}}),Object.defineProperty(s,"parseExternalUrl",{enumerable:!0,get:function(){return P}}),Object.defineProperty(s,"presets",{enumerable:!0,get:function(){return p}}),Object.defineProperty(s,"toNumbers",{enumerable:!0,get:function(){return v}}),Object.defineProperty(s,"trimLeft",{enumerable:!0,get:function(){return y}}),Object.defineProperty(s,"trimRight",{enumerable:!0,get:function(){return m}}),Object.defineProperty(s,"vectorMagnitude",{enumerable:!0,get:function(){return N}}),Object.defineProperty(s,"vectorsAngle",{enumerable:!0,get:function(){return B}}),Object.defineProperty(s,"vectorsRatio",{enumerable:!0,get:function(){return D}}),e(a[0]);var h=o(e(a[1]));e(a[2]),e(a[3]),e(a[4]),e(a[5]),e(a[6]);var l=o(e(a[7]));e(a[8]),e(a[9]),e(a[10]);var u=o(e(a[11]));e(a[12]);var c=o(e(a[13]));e(a[14]),e(a[15]),e(a[16]);var g=e(a[17]);e(a[18]);var d=e(a[19]);var p=Object.freeze({__proto__:null,offscreen:function(){var{DOMParser:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,createCanvas:(t,e)=>new OffscreenCanvas(t,e),createImage:t=>(0,h.default)(function*(){var e=yield fetch(t),r=yield e.blob();return yield createImageBitmap(r)})()};return'undefined'==typeof DOMParser&&void 0!==t||Reflect.deleteProperty(e,'DOMParser'),e},node:function(t){var{DOMParser:e,canvas:r,fetch:i}=t;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:i,createCanvas:r.createCanvas,createImage:r.loadImage}}});function f(t){return t.replace(/(?!\u3000)\s+/gm,' ')}function y(t){return t.replace(/^[\n \t]+/,'')}function m(t){return t.replace(/[\n \t]+$/,'')}function v(t){return((t||'').match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var x=/^[A-Z-]+$/;function b(t){return x.test(t)?t.toLowerCase():t}function P(t){var e=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(t)||[];return e[2]||e[3]||e[4]}function S(t){if(!t.startsWith('rgb'))return t;var e=3;return t.replace(/\d+(\.\d+)?/g,(t,r)=>e--&&r?String(Math.round(parseFloat(t))):t)}var w=/(\[[^\]]+\])/g,A=/(#[^\s+>~.[:]+)/g,O=/(\.[^\s+>~.[:]+)/g,C=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,T=/(:[\w-]+\([^)]*\))/gi,V=/(:[^\s+>~.[:]+)/g,E=/([^\s+>~.[:]+)/g;function M(t,e){var r=e.exec(t);return r?[t.replace(e,' '),r.length]:[t,0]}function k(t){var e=[0,0,0],r=t.replace(/:not\(([^)]*)\)/g,' $1 ').replace(/{[\s\S]*/gm,' '),i=0;return[r,i]=M(r,w),e[1]+=i,[r,i]=M(r,A),e[0]+=i,[r,i]=M(r,O),e[1]+=i,[r,i]=M(r,C),e[2]+=i,[r,i]=M(r,T),e[1]+=i,[r,i]=M(r,V),e[1]+=i,r=r.replace(/[*\s+>~]/g,' ').replace(/[#.]/g,' '),[r,i]=M(r,E),e[2]+=i,e.join('')}var j=1e-8;function N(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function D(t,e){return(t[0]*e[0]+t[1]*e[1])/(N(t)*N(e))}function B(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(D(t,e))}function z(t){return t*t*t}function L(t){return 3*t*t*(1-t)}function I(t){return 3*t*(1-t)*(1-t)}function R(t){return(1-t)*(1-t)*(1-t)}function F(t){return t*t}function _(t){return 2*t*(1-t)}function X(t){return(1-t)*(1-t)}class Y{constructor(t,e,r){this.document=t,this.name=e,this.value=r,this.isNormalizedColor=!1}static empty(t){return new Y(t,'EMPTY','')}split(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:' ',{document:e,name:r}=this;return f(this.getString()).trim().split(t).map(t=>new Y(e,r,t))}hasValue(t){var{value:e}=this;return null!==e&&''!==e&&(t||0!==e)&&void 0!==e}isString(t){var{value:e}=this,r='string'==typeof e;return r&&t?t.test(e):r}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case t.endsWith('px'):case/^[0-9]+$/.test(t):return!0;default:return!1}}setValue(t){return this.value=t,this}getValue(t){return void 0===t||this.hasValue()?this.value:t}getNumber(t){if(!this.hasValue())return void 0===t?0:parseFloat(t);var{value:e}=this,r=parseFloat(e);return this.isString(/%$/)&&(r/=100),r}getString(t){return void 0===t||this.hasValue()?void 0===this.value?'':String(this.value):String(t)}getColor(t){var e=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,e=S(e),this.value=e),e}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,'')}getPixels(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var[r,i]='boolean'==typeof t?[void 0,t]:[t],{viewPort:n}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(n.computeSize('x'),n.computeSize('y'));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(n.computeSize('x'),n.computeSize('y'));case this.isString(/vw$/):return this.getNumber()/100*n.computeSize('x');case this.isString(/vh$/):return this.getNumber()/100*n.computeSize('y');case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*.013888888888888888;case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&i:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*n.computeSize(r);default:var s=this.getNumber();return e&&s<1?s*n.computeSize(r):s}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var t=this.getString(),e=/#([^)'"]+)/.exec(t);return e&&(e=e[1]),e||(e=t),this.document.definitions[e]}getFillStyleDefinition(t,e){var r=this.getDefinition();if(!r)return null;if('function'==typeof r.createGradient)return r.createGradient(this.document.ctx,t,e);if('function'==typeof r.createPattern){if(r.getHrefAttribute().hasValue()){var i=r.getAttribute('patternTransform');r=r.getHrefAttribute().getDefinition(),i.hasValue()&&r.getAttribute('patternTransform',!0).setValue(i.value)}return r.createPattern(this.document.ctx,t,e)}return null}getTextBaseline(){return this.hasValue()?Y.textBaselineMapping[this.getString()]:null}addOpacity(t){for(var e=this.getColor(),r=e.length,i=0,n=0;n<r&&(','===e[n]&&i++,3!==i);n++);if(t.hasValue()&&this.isString()&&3!==i){var s=new c.default(e);s.ok&&(s.alpha=t.getNumber(),e=s.toRGBA())}return new Y(this.document,this.name,e)}}Y.textBaselineMapping={baseline:'alphabetic','before-edge':'top','text-before-edge':'top',middle:'middle',central:'middle','after-edge':'bottom','text-after-edge':'bottom',ideographic:'ideographic',alphabetic:'alphabetic',hanging:'hanging',mathematical:'alphabetic'};class U{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(t,e){this.viewPorts.push({width:t,height:e})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:t}=this;return t[t.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(t){return'number'==typeof t?t:'x'===t?this.width:'y'===t?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}class H{constructor(t,e){this.x=t,this.y=e}static parse(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[r=e,i=e]=v(t);return new H(r,i)}static parseScale(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,[r=e,i=r]=v(t);return new H(r,i)}static parsePath(t){for(var e=v(t),r=e.length,i=[],n=0;n<r;n+=2)i.push(new H(e[n],e[n+1]));return i}angleTo(t){return Math.atan2(t.y-this.y,t.x-this.x)}applyTransform(t){var{x:e,y:r}=this,i=e*t[0]+r*t[2]+t[4],n=e*t[1]+r*t[3]+t[5];this.x=i,this.y=n}}class W{constructor(t){this.screen=t,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(!this.working){var{screen:t,onClick:e,onMouseMove:r}=this,i=t.ctx.canvas;i.onclick=e,i.onmousemove=r,this.working=!0}}stop(){if(this.working){var t=this.screen.ctx.canvas;this.working=!1,t.onclick=null,t.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:t,events:e,eventElements:r}=this,{style:i}=t.ctx.canvas;i&&(i.cursor=''),e.forEach((t,e)=>{for(var{run:i}=t,n=r[e];n;)i(n),n=n.parent}),this.events=[],this.eventElements=[]}}checkPath(t,e){if(this.working&&e){var{events:r,eventElements:i}=this;r.forEach((r,n)=>{var{x:s,y:a}=r;!i[n]&&e.isPointInPath&&e.isPointInPath(s,a)&&(i[n]=t)})}}checkBoundingBox(t,e){if(this.working&&e){var{events:r,eventElements:i}=this;r.forEach((r,n)=>{var{x:s,y:a}=r;!i[n]&&e.isPointInBox(s,a)&&(i[n]=t)})}}mapXY(t,e){for(var{window:r,ctx:i}=this.screen,n=new H(t,e),s=i.canvas;s;)n.x-=s.offsetLeft,n.y-=s.offsetTop,s=s.offsetParent;return r.scrollX&&(n.x+=r.scrollX),r.scrollY&&(n.y+=r.scrollY),n}onClick(t){var{x:e,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:'onclick',x:e,y:r,run(t){t.onClick&&t.onClick()}})}onMouseMove(t){var{x:e,y:r}=this.mapXY(t.clientX,t.clientY);this.events.push({type:'onmousemove',x:e,y:r,run(t){t.onMouseMove&&t.onMouseMove()}})}}var G='undefined'!=typeof window?window:null,q='undefined'!=typeof fetch?fetch.bind(void 0):null;class ${constructor(t){var{fetch:e=q,window:r=G}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.ctx=t,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new U,this.mouse=new W(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=r,this.fetch=e}wait(t){this.waits.push(t)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var t=this.waits.every(t=>t());return t&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=t,t}setDefaults(t){t.strokeStyle='rgba(0,0,0,0)',t.lineCap='butt',t.lineJoin='miter',t.miterLimit=4}setViewBox(t){var{document:e,ctx:r,aspectRatio:i,width:n,desiredWidth:s,height:a,desiredHeight:o,minX:h=0,minY:l=0,refX:u,refY:c,clip:g=!1,clipX:d=0,clipY:p=0}=t,y=f(i).replace(/^defer\s/,''),[m,v]=y.split(' '),x=m||'xMidYMid',b=v||'meet',P=n/s,S=a/o,w=Math.min(P,S),A=Math.max(P,S),O=s,C=o;'meet'===b&&(O*=w,C*=w),'slice'===b&&(O*=A,C*=A);var T=new Y(e,'refX',u),V=new Y(e,'refY',c),E=T.hasValue()&&V.hasValue();if(E&&r.translate(-w*T.getPixels('x'),-w*V.getPixels('y')),g){var M=w*d,k=w*p;r.beginPath(),r.moveTo(M,k),r.lineTo(n,k),r.lineTo(n,a),r.lineTo(M,a),r.closePath(),r.clip()}if(!E){var j='meet'===b&&w===S,N='slice'===b&&A===S,D='meet'===b&&w===P,B='slice'===b&&A===P;x.startsWith('xMid')&&(j||N)&&r.translate(n/2-O/2,0),x.endsWith('YMid')&&(D||B)&&r.translate(0,a/2-C/2),x.startsWith('xMax')&&(j||N)&&r.translate(n-O,0),x.endsWith('YMax')&&(D||B)&&r.translate(0,a-C)}switch(!0){case'none'===x:r.scale(P,S);break;case'meet'===b:r.scale(w,w);break;case'slice'===b:r.scale(A,A)}r.translate(-h,-l)}start(t){var{enableRedraw:e=!1,ignoreMouse:r=!1,ignoreAnimation:i=!1,ignoreDimensions:n=!1,ignoreClear:s=!1,forceRedraw:a,scaleWidth:o,scaleHeight:h,offsetX:l,offsetY:c}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{FRAMERATE:g,mouse:d}=this,p=1e3/g;if(this.frameDuration=p,this.readyPromise=new Promise(t=>{this.resolveReady=t}),this.isReady()&&this.render(t,n,s,o,h,l,c),e){var f=Date.now(),y=f,m=0,v=()=>{f=Date.now(),(m=f-y)>=p&&(y=f-m%p,this.shouldUpdate(i,a)&&(this.render(t,n,s,o,h,l,c),d.runEvents())),this.intervalId=(0,u.default)(v)};r||d.start(),this.intervalId=(0,u.default)(v)}}stop(){this.intervalId&&(u.default.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(t,e){if(!t){var{frameDuration:r}=this;if(this.animations.reduce((t,e)=>e.update(r)||t,!1))return!0}return!('function'!=typeof e||!e())||(!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents())}render(t,e,r,i,n,s,a){var{CLIENT_WIDTH:o,CLIENT_HEIGHT:h,viewPort:l,ctx:u,isFirstRender:c}=this,g=u.canvas;l.clear(),g.width&&g.height?l.setCurrent(g.width,g.height):l.setCurrent(o,h);var d=t.getStyle('width'),p=t.getStyle('height');!e&&(c||'number'!=typeof i&&'number'!=typeof n)&&(d.hasValue()&&(g.width=d.getPixels('x'),g.style&&(g.style.width="".concat(g.width,"px"))),p.hasValue()&&(g.height=p.getPixels('y'),g.style&&(g.style.height="".concat(g.height,"px"))));var f=g.clientWidth||g.width,y=g.clientHeight||g.height;if(e&&d.hasValue()&&p.hasValue()&&(f=d.getPixels('x'),y=p.getPixels('y')),l.setCurrent(f,y),'number'==typeof s&&t.getAttribute('x',!0).setValue(s),'number'==typeof a&&t.getAttribute('y',!0).setValue(a),'number'==typeof i||'number'==typeof n){var m=v(t.getAttribute('viewBox').getString()),x=0,b=0;if('number'==typeof i){var P=t.getStyle('width');P.hasValue()?x=P.getPixels('x')/i:isNaN(m[2])||(x=m[2]/i)}if('number'==typeof n){var S=t.getStyle('height');S.hasValue()?b=S.getPixels('y')/n:isNaN(m[3])||(b=m[3]/n)}x||(x=b),b||(b=x),t.getAttribute('width',!0).setValue(i),t.getAttribute('height',!0).setValue(n);var w=t.getStyle('transform',!0,!0);w.setValue("".concat(w.getString()," scale(").concat(1/x,", ").concat(1/b,")"))}r||u.clearRect(0,0,f,y),t.render(u),c&&(this.isFirstRender=!1)}}$.defaultWindow=G,$.defaultFetch=q;var{defaultFetch:Q}=$,Z='undefined'!=typeof DOMParser?DOMParser:null;class J{constructor(){var{fetch:t=Q,DOMParser:e=Z}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fetch=t,this.DOMParser=e}parse(t){var e=this;return(0,h.default)(function*(){return t.startsWith('<')?e.parseFromString(t):e.load(t)})()}parseFromString(t){var e=new this.DOMParser;try{return this.checkDocument(e.parseFromString(t,'image/svg+xml'))}catch(r){return this.checkDocument(e.parseFromString(t,'text/xml'))}}checkDocument(t){var e=t.getElementsByTagName('parsererror')[0];if(e)throw new Error(e.textContent);return t}load(t){var e=this;return(0,h.default)(function*(){var r=yield e.fetch(t),i=yield r.text();return e.parseFromString(i)})()}}class K{constructor(t,e){this.type='translate',this.point=null,this.point=H.parse(e)}apply(t){var{x:e,y:r}=this.point;t.translate(e||0,r||0)}unapply(t){var{x:e,y:r}=this.point;t.translate(-1*e||0,-1*r||0)}applyToPoint(t){var{x:e,y:r}=this.point;t.applyTransform([1,0,0,1,e||0,r||0])}}class tt{constructor(t,e,r){this.type='rotate',this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var i=v(e);this.angle=new Y(t,'angle',i[0]),this.originX=r[0],this.originY=r[1],this.cx=i[1]||0,this.cy=i[2]||0}apply(t){var{cx:e,cy:r,originX:i,originY:n,angle:s}=this,a=e+i.getPixels('x'),o=r+n.getPixels('y');t.translate(a,o),t.rotate(s.getRadians()),t.translate(-a,-o)}unapply(t){var{cx:e,cy:r,originX:i,originY:n,angle:s}=this,a=e+i.getPixels('x'),o=r+n.getPixels('y');t.translate(a,o),t.rotate(-1*s.getRadians()),t.translate(-a,-o)}applyToPoint(t){var{cx:e,cy:r,angle:i}=this,n=i.getRadians();t.applyTransform([1,0,0,1,e||0,r||0]),t.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),t.applyTransform([1,0,0,1,-e||0,-r||0])}}class et{constructor(t,e,r){this.type='scale',this.scale=null,this.originX=null,this.originY=null;var i=H.parseScale(e);0!==i.x&&0!==i.y||(i.x=j,i.y=j),this.scale=i,this.originX=r[0],this.originY=r[1]}apply(t){var{scale:{x:e,y:r},originX:i,originY:n}=this,s=i.getPixels('x'),a=n.getPixels('y');t.translate(s,a),t.scale(e,r||e),t.translate(-s,-a)}unapply(t){var{scale:{x:e,y:r},originX:i,originY:n}=this,s=i.getPixels('x'),a=n.getPixels('y');t.translate(s,a),t.scale(1/e,1/r||e),t.translate(-s,-a)}applyToPoint(t){var{x:e,y:r}=this.scale;t.applyTransform([e||0,0,0,r||0,0,0])}}class rt{constructor(t,e,r){this.type='matrix',this.matrix=[],this.originX=null,this.originY=null,this.matrix=v(e),this.originX=r[0],this.originY=r[1]}apply(t){var{originX:e,originY:r,matrix:i}=this,n=e.getPixels('x'),s=r.getPixels('y');t.translate(n,s),t.transform(i[0],i[1],i[2],i[3],i[4],i[5]),t.translate(-n,-s)}unapply(t){var{originX:e,originY:r,matrix:i}=this,n=i[0],s=i[2],a=i[4],o=i[1],h=i[3],l=i[5],u=1/(n*(1*h-0*l)-s*(1*o-0*l)+a*(0*o-0*h)),c=e.getPixels('x'),g=r.getPixels('y');t.translate(c,g),t.transform(u*(1*h-0*l),u*(0*l-1*o),u*(0*a-1*s),u*(1*n-0*a),u*(s*l-a*h),u*(a*o-n*l)),t.translate(-c,-g)}applyToPoint(t){t.applyTransform(this.matrix)}}class it extends rt{constructor(t,e,r){super(t,e,r),this.type='skew',this.angle=null,this.angle=new Y(t,'angle',e)}}class nt extends it{constructor(t,e,r){super(t,e,r),this.type='skewX',this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class st extends it{constructor(t,e,r){super(t,e,r),this.type='skewY',this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}function at(t){return f(t).trim().replace(/\)([a-zA-Z])/g,') $1').replace(/\)(\s?,\s?)/g,') ').split(/\s(?=[a-z])/)}function ot(t){var[e,r]=t.split('(');return[e.trim(),r.trim().replace(')','')]}class ht{constructor(t,e,r){this.document=t,this.transforms=[],at(e).forEach(t=>{if('none'!==t){var[e,i]=ot(t),n=ht.transformTypes[e];void 0!==n&&this.transforms.push(new n(this.document,i,r))}})}static fromElement(t,e){var r=e.getStyle('transform',!1,!0),[i,n=i]=e.getStyle('transform-origin',!1,!0).split(),s=[i,n];return r.hasValue()?new ht(t,r.getString(),s):null}apply(t){for(var{transforms:e}=this,r=e.length,i=0;i<r;i++)e[i].apply(t)}unapply(t){for(var{transforms:e}=this,r=e.length-1;r>=0;r--)e[r].unapply(t)}applyToPoint(t){for(var{transforms:e}=this,r=e.length,i=0;i<r;i++)e[i].applyToPoint(t)}}ht.transformTypes={translate:K,rotate:tt,scale:et,matrix:rt,skewX:nt,skewY:st};class lt{constructor(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.document=t,this.node=e,this.captureTextNodes=r,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue='',this.parent=null,this.children=[],e&&1===e.nodeType){if(Array.from(e.attributes).forEach(e=>{var r=b(e.nodeName);this.attributes[r]=new Y(t,r,e.value)}),this.addStylesFromStyleDefinition(),this.getAttribute('style').hasValue())this.getAttribute('style').getString().split(';').map(t=>t.trim()).forEach(e=>{if(e){var[r,i]=e.split(':').map(t=>t.trim());this.styles[r]=new Y(t,r,i)}});var{definitions:i}=t,n=this.getAttribute('id');n.hasValue()&&(i[n.getString()]||(i[n.getString()]=this)),Array.from(e.childNodes).forEach(e=>{if(1===e.nodeType)this.addChild(e);else if(r&&(3===e.nodeType||4===e.nodeType)){var i=t.createTextNode(e);i.getText().length>0&&this.addChild(i)}})}}getAttribute(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.attributes[t];if(!r&&e){var i=new Y(this.document,t,'');return this.attributes[t]=i,i}return r||Y.empty(this.document)}getHrefAttribute(){for(var t in this.attributes)if('href'===t||t.endsWith(':href'))return this.attributes[t];return Y.empty(this.document)}getStyle(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.styles[t];if(i)return i;var n=this.getAttribute(t);if(null!=n&&n.hasValue())return this.styles[t]=n,n;if(!r){var{parent:s}=this;if(s){var a=s.getStyle(t);if(null!=a&&a.hasValue())return a}}if(e){var o=new Y(this.document,t,'');return this.styles[t]=o,o}return i||Y.empty(this.document)}render(t){if('none'!==this.getStyle('display').getString()&&'hidden'!==this.getStyle('visibility').getString()){if(t.save(),this.getStyle('mask').hasValue()){var e=this.getStyle('mask').getDefinition();e&&(this.applyEffects(t),e.apply(t,this))}else if('none'!==this.getStyle('filter').getValue('none')){var r=this.getStyle('filter').getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}setContext(t){}applyEffects(t){var e=ht.fromElement(this.document,this);e&&e.apply(t);var r=this.getStyle('clip-path',!1,!0);if(r.hasValue()){var i=r.getDefinition();i&&i.apply(t)}}clearContext(t){}renderChildren(t){this.children.forEach(e=>{e.render(t)})}addChild(t){var e=t instanceof lt?t:this.document.createElement(t);e.parent=this,lt.ignoreChildTypes.includes(e.type)||this.children.push(e)}matchesSelector(t){var e,{node:r}=this;if('function'==typeof r.matches)return r.matches(t);var i=null===(e=r.getAttribute)||void 0===e?void 0:e.call(r,'class');return!(!i||''===i)&&i.split(' ').some(e=>".".concat(e)===t)}addStylesFromStyleDefinition(){var{styles:t,stylesSpecificity:e}=this.document;for(var r in t)if(!r.startsWith('@')&&this.matchesSelector(r)){var i=t[r],n=e[r];if(i)for(var s in i){var a=this.stylesSpecificity[s];void 0===a&&(a='000'),n>=a&&(this.styles[s]=i[s],this.stylesSpecificity[s]=n)}}}removeStyles(t,e){return e.reduce((e,r)=>{var i=t.getStyle(r);if(!i.hasValue())return e;var n=i.getString();return i.setValue(''),[...e,[r,n]]},[])}restoreStyles(t,e){e.forEach(e=>{var[r,i]=e;t.getStyle(r,!0).setValue(i)})}isFirstChild(){var t;return 0===(null===(t=this.parent)||void 0===t?void 0:t.children.indexOf(this))}}lt.ignoreChildTypes=['title'];class ut extends lt{constructor(t,e,r){super(t,e,r)}}function ct(t){var e=t.trim();return/^('|")/.test(e)?e:"\"".concat(e,"\"")}function gt(t){if(!t)return'';var e=t.trim().toLowerCase();switch(e){case'normal':case'italic':case'oblique':case'inherit':case'initial':case'unset':return e;default:return/^oblique\s+(-|)\d+deg$/.test(e)?e:''}}function dt(t){if(!t)return'';var e=t.trim().toLowerCase();switch(e){case'normal':case'bold':case'lighter':case'bolder':case'inherit':case'initial':case'unset':return e;default:return/^[\d.]+$/.test(e)?e:''}}class pt{constructor(t,e,r,i,n,s){var a=s?'string'==typeof s?pt.parse(s):s:{};this.fontFamily=n||a.fontFamily,this.fontSize=i||a.fontSize,this.fontStyle=t||a.fontStyle,this.fontWeight=r||a.fontWeight,this.fontVariant=e||a.fontVariant}static parse(){var t=arguments.length>1?arguments[1]:void 0,e='',r='',i='',n='',s='',a=f(arguments.length>0&&void 0!==arguments[0]?arguments[0]:'').trim().split(' '),o={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return a.forEach(t=>{switch(!0){case!o.fontStyle&&pt.styles.includes(t):'inherit'!==t&&(e=t),o.fontStyle=!0;break;case!o.fontVariant&&pt.variants.includes(t):'inherit'!==t&&(r=t),o.fontStyle=!0,o.fontVariant=!0;break;case!o.fontWeight&&pt.weights.includes(t):'inherit'!==t&&(i=t),o.fontStyle=!0,o.fontVariant=!0,o.fontWeight=!0;break;case!o.fontSize:'inherit'!==t&&([n]=t.split('/')),o.fontStyle=!0,o.fontVariant=!0,o.fontWeight=!0,o.fontSize=!0;break;default:'inherit'!==t&&(s+=t)}}),new pt(e,r,i,n,s,t)}toString(){return[gt(this.fontStyle),this.fontVariant,dt(this.fontWeight),this.fontSize,(t=this.fontFamily,'undefined'==typeof process?t:t.trim().split(',').map(ct).join(','))].join(' ').trim();var t}}pt.styles='normal|italic|oblique|inherit',pt.variants='normal|small-caps|inherit',pt.weights='normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit';class ft{constructor(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;this.x1=t,this.y1=e,this.x2=r,this.y2=i,this.addPoint(t,e),this.addPoint(r,i)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(t,e){void 0!==t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),void 0!==e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),e<this.y1&&(this.y1=e),e>this.y2&&(this.y2=e))}addX(t){this.addPoint(t,null)}addY(t){this.addPoint(null,t)}addBoundingBox(t){if(t){var{x1:e,y1:r,x2:i,y2:n}=t;this.addPoint(e,r),this.addPoint(i,n)}}sumCubic(t,e,r,i,n){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*r+3*(1-t)*Math.pow(t,2)*i+Math.pow(t,3)*n}bezierCurveAdd(t,e,r,i,n){var s=6*e-12*r+6*i,a=-3*e+9*r-9*i+3*n,o=3*r-3*e;if(0!==a){var h=Math.pow(s,2)-4*o*a;if(!(h<0)){var l=(-s+Math.sqrt(h))/(2*a);0<l&&l<1&&(t?this.addX(this.sumCubic(l,e,r,i,n)):this.addY(this.sumCubic(l,e,r,i,n)));var u=(-s-Math.sqrt(h))/(2*a);0<u&&u<1&&(t?this.addX(this.sumCubic(u,e,r,i,n)):this.addY(this.sumCubic(u,e,r,i,n)))}}else{if(0===s)return;var c=-o/s;0<c&&c<1&&(t?this.addX(this.sumCubic(c,e,r,i,n)):this.addY(this.sumCubic(c,e,r,i,n)))}}addBezierCurve(t,e,r,i,n,s,a,o){this.addPoint(t,e),this.addPoint(a,o),this.bezierCurveAdd(!0,t,r,n,a),this.bezierCurveAdd(!1,e,i,s,o)}addQuadraticCurve(t,e,r,i,n,s){var a=t+.6666666666666666*(r-t),o=e+.6666666666666666*(i-e),h=a+.3333333333333333*(n-t),l=o+.3333333333333333*(s-e);this.addBezierCurve(t,e,a,h,o,l,n,s)}isPointInBox(t,e){var{x1:r,y1:i,x2:n,y2:s}=this;return r<=t&&t<=n&&i<=e&&e<=s}}class yt extends g.SVGPathData{constructor(t){super(t.replace(/([+\-.])\s+/gm,'$1').replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,'')),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new H(0,0),this.control=new H(0,0),this.current=new H(0,0),this.points=[],this.angles=[]}isEnd(){var{i:t,commands:e}=this;return t>=e.length-1}next(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}getPoint(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'x',e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'y',r=new H(this.command[t],this.command[e]);return this.makeAbsolute(r)}getAsControlPoint(t,e){var r=this.getPoint(t,e);return this.control=r,r}getAsCurrentPoint(t,e){var r=this.getPoint(t,e);return this.current=r,r}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==g.SVGPathData.CURVE_TO&&t!==g.SVGPathData.SMOOTH_CURVE_TO&&t!==g.SVGPathData.QUAD_TO&&t!==g.SVGPathData.SMOOTH_QUAD_TO)return this.current;var{current:{x:e,y:r},control:{x:i,y:n}}=this;return new H(2*e-i,2*r-n)}makeAbsolute(t){if(this.command.relative){var{x:e,y:r}=this.current;t.x+=e,t.y+=r}return t}addMarker(t,e,r){var{points:i,angles:n}=this;r&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=i[i.length-1].angleTo(r)),this.addMarkerAngle(t,e?e.angleTo(t):null)}addMarkerAngle(t,e){this.points.push(t),this.angles.push(e)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:t}=this,e=t.length,r=0;r<e;r++)if(!t[r])for(var i=r+1;i<e;i++)if(t[i]){t[r]=t[i];break}return t}}class mt extends lt{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var t=1,e=this;e;){var r=e.getStyle('opacity',!1,!0);r.hasValue(!0)&&(t*=r.getNumber()),e=e.parent}return t}setContext(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e){var r=this.getStyle('fill'),i=this.getStyle('fill-opacity'),n=this.getStyle('stroke'),s=this.getStyle('stroke-opacity');if(r.isUrlDefinition()){var a=r.getFillStyleDefinition(this,i);a&&(t.fillStyle=a)}else if(r.hasValue()){'currentColor'===r.getString()&&r.setValue(this.getStyle('color').getColor());var o=r.getColor();'inherit'!==o&&(t.fillStyle='none'===o?'rgba(0,0,0,0)':o)}if(i.hasValue()){var h=new Y(this.document,'fill',t.fillStyle).addOpacity(i).getColor();t.fillStyle=h}if(n.isUrlDefinition()){var l=n.getFillStyleDefinition(this,s);l&&(t.strokeStyle=l)}else if(n.hasValue()){'currentColor'===n.getString()&&n.setValue(this.getStyle('color').getColor());var u=n.getString();'inherit'!==u&&(t.strokeStyle='none'===u?'rgba(0,0,0,0)':u)}if(s.hasValue()){var c=new Y(this.document,'stroke',t.strokeStyle).addOpacity(s).getString();t.strokeStyle=c}var g=this.getStyle('stroke-width');if(g.hasValue()){var d=g.getPixels();t.lineWidth=d||j}var p=this.getStyle('stroke-linecap'),f=this.getStyle('stroke-linejoin'),y=this.getStyle('stroke-miterlimit'),m=this.getStyle('stroke-dasharray'),x=this.getStyle('stroke-dashoffset');if(p.hasValue()&&(t.lineCap=p.getString()),f.hasValue()&&(t.lineJoin=f.getString()),y.hasValue()&&(t.miterLimit=y.getNumber()),m.hasValue()&&'none'!==m.getString()){var b=v(m.getString());void 0!==t.setLineDash?t.setLineDash(b):void 0!==t.webkitLineDash?t.webkitLineDash=b:void 0===t.mozDash||1===b.length&&0===b[0]||(t.mozDash=b);var P=x.getPixels();void 0!==t.lineDashOffset?t.lineDashOffset=P:void 0!==t.webkitLineDashOffset?t.webkitLineDashOffset=P:void 0!==t.mozDashOffset&&(t.mozDashOffset=P)}}if(this.modifiedEmSizeStack=!1,void 0!==t.font){var S=this.getStyle('font'),w=this.getStyle('font-style'),A=this.getStyle('font-variant'),O=this.getStyle('font-weight'),C=this.getStyle('font-size'),T=this.getStyle('font-family'),V=new pt(w.getString(),A.getString(),O.getString(),C.hasValue()?"".concat(C.getPixels(!0),"px"):'',T.getString(),pt.parse(S.getString(),t.font));w.setValue(V.fontStyle),A.setValue(V.fontVariant),O.setValue(V.fontWeight),C.setValue(V.fontSize),T.setValue(V.fontFamily),t.font=V.toString(),C.isPixels()&&(this.document.emSize=C.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}class vt extends mt{constructor(t,e,r){super(t,e,r),this.type='path',this.pathParser=null,this.pathParser=new yt(this.getAttribute('d').getString())}path(t){var{pathParser:e}=this,r=new ft;for(e.reset(),t&&t.beginPath();!e.isEnd();)switch(e.next().type){case yt.MOVE_TO:this.pathM(t,r);break;case yt.LINE_TO:this.pathL(t,r);break;case yt.HORIZ_LINE_TO:this.pathH(t,r);break;case yt.VERT_LINE_TO:this.pathV(t,r);break;case yt.CURVE_TO:this.pathC(t,r);break;case yt.SMOOTH_CURVE_TO:this.pathS(t,r);break;case yt.QUAD_TO:this.pathQ(t,r);break;case yt.SMOOTH_QUAD_TO:this.pathT(t,r);break;case yt.ARC:this.pathA(t,r);break;case yt.CLOSE_PATH:this.pathZ(t,r)}return r}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,e=t.getMarkerPoints(),r=t.getMarkerAngles();return e.map((t,e)=>[t,r[e]])}renderChildren(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var e=this.getStyle('fill-rule');''!==t.fillStyle&&('inherit'!==e.getString('inherit')?t.fill(e.getString()):t.fill()),''!==t.strokeStyle&&('non-scaling-stroke'===this.getAttribute('vector-effect').getString()?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var r=this.getMarkers();if(r){var i=r.length-1,n=this.getStyle('marker-start'),s=this.getStyle('marker-mid'),a=this.getStyle('marker-end');if(n.isUrlDefinition()){var o=n.getDefinition(),[h,l]=r[0];o.render(t,h,l)}if(s.isUrlDefinition())for(var u=s.getDefinition(),c=1;c<i;c++){var[g,d]=r[c];u.render(t,g,d)}if(a.isUrlDefinition()){var p=a.getDefinition(),[f,y]=r[i];p.render(t,f,y)}}}static pathM(t){var e=t.getAsCurrentPoint();return t.start=t.current,{point:e}}pathM(t,e){var{pathParser:r}=this,{point:i}=vt.pathM(r),{x:n,y:s}=i;r.addMarker(i),e.addPoint(n,s),t&&t.moveTo(n,s)}static pathL(t){var{current:e}=t;return{current:e,point:t.getAsCurrentPoint()}}pathL(t,e){var{pathParser:r}=this,{current:i,point:n}=vt.pathL(r),{x:s,y:a}=n;r.addMarker(n,i),e.addPoint(s,a),t&&t.lineTo(s,a)}static pathH(t){var{current:e,command:r}=t,i=new H((r.relative?e.x:0)+r.x,e.y);return t.current=i,{current:e,point:i}}pathH(t,e){var{pathParser:r}=this,{current:i,point:n}=vt.pathH(r),{x:s,y:a}=n;r.addMarker(n,i),e.addPoint(s,a),t&&t.lineTo(s,a)}static pathV(t){var{current:e,command:r}=t,i=new H(e.x,(r.relative?e.y:0)+r.y);return t.current=i,{current:e,point:i}}pathV(t,e){var{pathParser:r}=this,{current:i,point:n}=vt.pathV(r),{x:s,y:a}=n;r.addMarker(n,i),e.addPoint(s,a),t&&t.lineTo(s,a)}static pathC(t){var{current:e}=t;return{current:e,point:t.getPoint('x1','y1'),controlPoint:t.getAsControlPoint('x2','y2'),currentPoint:t.getAsCurrentPoint()}}pathC(t,e){var{pathParser:r}=this,{current:i,point:n,controlPoint:s,currentPoint:a}=vt.pathC(r);r.addMarker(a,s,n),e.addBezierCurve(i.x,i.y,n.x,n.y,s.x,s.y,a.x,a.y),t&&t.bezierCurveTo(n.x,n.y,s.x,s.y,a.x,a.y)}static pathS(t){var{current:e}=t;return{current:e,point:t.getReflectedControlPoint(),controlPoint:t.getAsControlPoint('x2','y2'),currentPoint:t.getAsCurrentPoint()}}pathS(t,e){var{pathParser:r}=this,{current:i,point:n,controlPoint:s,currentPoint:a}=vt.pathS(r);r.addMarker(a,s,n),e.addBezierCurve(i.x,i.y,n.x,n.y,s.x,s.y,a.x,a.y),t&&t.bezierCurveTo(n.x,n.y,s.x,s.y,a.x,a.y)}static pathQ(t){var{current:e}=t;return{current:e,controlPoint:t.getAsControlPoint('x1','y1'),currentPoint:t.getAsCurrentPoint()}}pathQ(t,e){var{pathParser:r}=this,{current:i,controlPoint:n,currentPoint:s}=vt.pathQ(r);r.addMarker(s,n,n),e.addQuadraticCurve(i.x,i.y,n.x,n.y,s.x,s.y),t&&t.quadraticCurveTo(n.x,n.y,s.x,s.y)}static pathT(t){var{current:e}=t,r=t.getReflectedControlPoint();return t.control=r,{current:e,controlPoint:r,currentPoint:t.getAsCurrentPoint()}}pathT(t,e){var{pathParser:r}=this,{current:i,controlPoint:n,currentPoint:s}=vt.pathT(r);r.addMarker(s,n,n),e.addQuadraticCurve(i.x,i.y,n.x,n.y,s.x,s.y),t&&t.quadraticCurveTo(n.x,n.y,s.x,s.y)}static pathA(t){var{current:e,command:r}=t,{rX:i,rY:n,xRot:s,lArcFlag:a,sweepFlag:o}=r,h=s*(Math.PI/180),l=t.getAsCurrentPoint(),u=new H(Math.cos(h)*(e.x-l.x)/2+Math.sin(h)*(e.y-l.y)/2,-Math.sin(h)*(e.x-l.x)/2+Math.cos(h)*(e.y-l.y)/2),c=Math.pow(u.x,2)/Math.pow(i,2)+Math.pow(u.y,2)/Math.pow(n,2);c>1&&(i*=Math.sqrt(c),n*=Math.sqrt(c));var g=(a===o?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(n,2)-Math.pow(i,2)*Math.pow(u.y,2)-Math.pow(n,2)*Math.pow(u.x,2))/(Math.pow(i,2)*Math.pow(u.y,2)+Math.pow(n,2)*Math.pow(u.x,2)));isNaN(g)&&(g=0);var d=new H(g*i*u.y/n,g*-n*u.x/i),p=new H((e.x+l.x)/2+Math.cos(h)*d.x-Math.sin(h)*d.y,(e.y+l.y)/2+Math.sin(h)*d.x+Math.cos(h)*d.y),f=B([1,0],[(u.x-d.x)/i,(u.y-d.y)/n]),y=[(u.x-d.x)/i,(u.y-d.y)/n],m=[(-u.x-d.x)/i,(-u.y-d.y)/n],v=B(y,m);return D(y,m)<=-1&&(v=Math.PI),D(y,m)>=1&&(v=0),{currentPoint:l,rX:i,rY:n,sweepFlag:o,xAxisRotation:h,centp:p,a1:f,ad:v}}pathA(t,e){var{pathParser:r}=this,{currentPoint:i,rX:n,rY:s,sweepFlag:a,xAxisRotation:o,centp:h,a1:l,ad:u}=vt.pathA(r),c=1-a?1:-1,g=l+c*(u/2),d=new H(h.x+n*Math.cos(g),h.y+s*Math.sin(g));if(r.addMarkerAngle(d,g-c*Math.PI/2),r.addMarkerAngle(i,g-c*Math.PI),e.addPoint(i.x,i.y),t&&!isNaN(l)&&!isNaN(u)){var p=n>s?n:s,f=n>s?1:n/s,y=n>s?s/n:1;t.translate(h.x,h.y),t.rotate(o),t.scale(f,y),t.arc(0,0,p,l,l+u,Boolean(1-a)),t.scale(1/f,1/y),t.rotate(-o),t.translate(-h.x,-h.y)}}static pathZ(t){t.current=t.start}pathZ(t,e){vt.pathZ(this.pathParser),t&&e.x1!==e.x2&&e.y1!==e.y2&&t.closePath()}}class xt extends vt{constructor(t,e,r){super(t,e,r),this.type='glyph',this.horizAdvX=this.getAttribute('horiz-adv-x').getNumber(),this.unicode=this.getAttribute('unicode').getString(),this.arabicForm=this.getAttribute('arabic-form').getString()}}class bt extends mt{constructor(t,e,r){super(t,e,new.target===bt||r),this.type='text',this.x=0,this.y=0,this.measureCache=-1}setContext(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super.setContext(t,e);var r=this.getStyle('dominant-baseline').getTextBaseline()||this.getStyle('alignment-baseline').getTextBaseline();r&&(t.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(t){if('text'!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t);var e=null;return this.children.forEach((r,i)=>{var n=this.getChildBoundingBox(t,this,this,i);e?e.addBoundingBox(n):e=n}),e}getFontSize(){var{document:t,parent:e}=this,r=pt.parse(t.ctx.font).fontSize;return e.getStyle('font-size').getNumber(r)}getTElementBoundingBox(t){var e=this.getFontSize();return new ft(this.x,this.y-e,this.x+this.measureText(t),this.y)}getGlyph(t,e,r){var i=e[r],n=null;if(t.isArabic){var s=e.length,a=e[r-1],o=e[r+1],h='isolated';if((0===r||' '===a)&&r<s-1&&' '!==o&&(h='terminal'),r>0&&' '!==a&&r<s-1&&' '!==o&&(h='medial'),r>0&&' '!==a&&(r===s-1||' '===o)&&(h='initial'),void 0!==t.glyphs[i]){var l=t.glyphs[i];n=l instanceof xt?l:l[h]}}else n=t.glyphs[i];return n||(n=t.missingGlyph),n}getText(){return''}getTextFromNode(t){var e=t||this.node,r=Array.from(e.parentNode.childNodes),i=r.indexOf(e),n=r.length-1,s=f(e.textContent||'');return 0===i&&(s=y(s)),i===n&&(s=m(s)),s}renderChildren(t){if('text'===this.type){this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach((e,r)=>{this.renderChild(t,this,this,r)});var{mouse:e}=this.document.screen;e.isWorking()&&e.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}renderTElementChildren(t){var{document:e,parent:r}=this,i=this.getText(),n=r.getStyle('font-family').getDefinition();if(n)for(var{unitsPerEm:s}=n.fontFace,a=pt.parse(e.ctx.font),o=r.getStyle('font-size').getNumber(a.fontSize),h=r.getStyle('font-style').getString(a.fontStyle),l=o/s,u=n.isRTL?i.split('').reverse().join(''):i,c=v(r.getAttribute('dx').getString()),g=u.length,d=0;d<g;d++){var p=this.getGlyph(n,u,d);t.translate(this.x,this.y),t.scale(l,-l);var f=t.lineWidth;t.lineWidth=t.lineWidth*s/o,'italic'===h&&t.transform(1,0,.4,1,0,0),p.render(t),'italic'===h&&t.transform(1,0,-.4,1,0,0),t.lineWidth=f,t.scale(1/l,-1/l),t.translate(-this.x,-this.y),this.x+=o*(p.horizAdvX||n.horizAdvX)/s,void 0===c[d]||isNaN(c[d])||(this.x+=c[d])}else{var{x:y,y:m}=this;t.fillStyle&&t.fillText(i,y,m),t.strokeStyle&&t.strokeText(i,y,m)}}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var t=this.leafTexts[this.textChunkStart],e=t.getStyle('text-anchor').getString('start'),r=0;r='start'===e?t.x-this.minX:'end'===e?t.x-this.maxX:t.x-(this.minX+this.maxX)/2;for(var i=this.textChunkStart;i<this.leafTexts.length;i++)this.leafTexts[i].x+=r;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(t){this.children.forEach((e,r)=>{this.adjustChildCoordinatesRecursiveCore(t,this,this,r)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,e,r,i){var n=r.children[i];n.children.length>0?n.children.forEach((r,i)=>{e.adjustChildCoordinatesRecursiveCore(t,e,n,i)}):this.adjustChildCoordinates(t,e,r,i)}adjustChildCoordinates(t,e,r,i){var n=r.children[i];if('function'!=typeof n.measureText)return n;t.save(),n.setContext(t,!0);var s=n.getAttribute('x'),a=n.getAttribute('y'),o=n.getAttribute('dx'),h=n.getAttribute('dy'),l=n.getStyle('font-family').getDefinition(),u=Boolean(l)&&l.isRTL;0===i&&(s.hasValue()||s.setValue(n.getInheritedAttribute('x')),a.hasValue()||a.setValue(n.getInheritedAttribute('y')),o.hasValue()||o.setValue(n.getInheritedAttribute('dx')),h.hasValue()||h.setValue(n.getInheritedAttribute('dy')));var c=n.measureText(t);return u&&(e.x-=c),s.hasValue()?(e.applyAnchoring(),n.x=s.getPixels('x'),o.hasValue()&&(n.x+=o.getPixels('x'))):(o.hasValue()&&(e.x+=o.getPixels('x')),n.x=e.x),e.x=n.x,u||(e.x+=c),a.hasValue()?(n.y=a.getPixels('y'),h.hasValue()&&(n.y+=h.getPixels('y'))):(h.hasValue()&&(e.y+=h.getPixels('y')),n.y=e.y),e.y=n.y,e.leafTexts.push(n),e.minX=Math.min(e.minX,n.x,n.x+c),e.maxX=Math.max(e.maxX,n.x,n.x+c),n.clearContext(t),t.restore(),n}getChildBoundingBox(t,e,r,i){var n=r.children[i];if('function'!=typeof n.getBoundingBox)return null;var s=n.getBoundingBox(t);return s?(n.children.forEach((r,i)=>{var a=e.getChildBoundingBox(t,e,n,i);s.addBoundingBox(a)}),s):null}renderChild(t,e,r,i){var n=r.children[i];n.render(t),n.children.forEach((r,i)=>{e.renderChild(t,e,n,i)})}measureText(t){var{measureCache:e}=this;if(~e)return e;var r=this.getText(),i=this.measureTargetText(t,r);return this.measureCache=i,i}measureTargetText(t,e){if(!e.length)return 0;var{parent:r}=this,i=r.getStyle('font-family').getDefinition();if(i){for(var n=this.getFontSize(),s=i.isRTL?e.split('').reverse().join(''):e,a=v(r.getAttribute('dx').getString()),o=s.length,h=0,l=0;l<o;l++){h+=(this.getGlyph(i,s,l).horizAdvX||i.horizAdvX)*n/i.fontFace.unitsPerEm,void 0===a[l]||isNaN(a[l])||(h+=a[l])}return h}if(!t.measureText)return 10*e.length;t.save(),this.setContext(t,!0);var{width:u}=t.measureText(e);return this.clearContext(t),t.restore(),u}getInheritedAttribute(t){for(var e=this;e instanceof bt&&e.isFirstChild();){var r=e.parent.getAttribute(t);if(r.hasValue(!0))return r.getValue('0');e=e.parent}return null}}class Pt extends bt{constructor(t,e,r){super(t,e,new.target===Pt||r),this.type='tspan',this.text=this.children.length>0?'':this.getTextFromNode()}getText(){return this.text}}class St extends Pt{constructor(){super(...arguments),this.type='textNode'}}class wt extends mt{constructor(){super(...arguments),this.type='svg',this.root=!1}setContext(t){var e,{document:r}=this,{screen:i,window:n}=r,s=t.canvas;if(i.setDefaults(t),s.style&&void 0!==t.font&&n&&void 0!==n.getComputedStyle){t.font=n.getComputedStyle(s).getPropertyValue('font');var a=new Y(r,'fontSize',pt.parse(t.font).fontSize);a.hasValue()&&(r.rootEmSize=a.getPixels('y'),r.emSize=r.rootEmSize)}this.getAttribute('x').hasValue()||this.getAttribute('x',!0).setValue(0),this.getAttribute('y').hasValue()||this.getAttribute('y',!0).setValue(0);var{width:o,height:h}=i.viewPort;this.getStyle('width').hasValue()||this.getStyle('width',!0).setValue('100%'),this.getStyle('height').hasValue()||this.getStyle('height',!0).setValue('100%'),this.getStyle('color').hasValue()||this.getStyle('color',!0).setValue('black');var l=this.getAttribute('refX'),u=this.getAttribute('refY'),c=this.getAttribute('viewBox'),g=c.hasValue()?v(c.getString()):null,d=!this.root&&'visible'!==this.getStyle('overflow').getValue('hidden'),p=0,f=0,y=0,m=0;g&&(p=g[0],f=g[1]),this.root||(o=this.getStyle('width').getPixels('x'),h=this.getStyle('height').getPixels('y'),'marker'===this.type&&(y=p,m=f,p=0,f=0)),i.viewPort.setCurrent(o,h),!this.node||this.parent&&'foreignObject'!==(null===(e=this.node.parentNode)||void 0===e?void 0:e.nodeName)||!this.getStyle('transform',!1,!0).hasValue()||this.getStyle('transform-origin',!1,!0).hasValue()||this.getStyle('transform-origin',!0,!0).setValue('50% 50%'),super.setContext(t),t.translate(this.getAttribute('x').getPixels('x'),this.getAttribute('y').getPixels('y')),g&&(o=g[2],h=g[3]),r.setViewBox({ctx:t,aspectRatio:this.getAttribute('preserveAspectRatio').getString(),width:i.viewPort.width,desiredWidth:o,height:i.viewPort.height,desiredHeight:h,minX:p,minY:f,refX:l.getValue(),refY:u.getValue(),clip:d,clipX:y,clipY:m}),g&&(i.viewPort.removeCurrent(),i.viewPort.setCurrent(o,h))}clearContext(t){super.clearContext(t),this.document.screen.viewPort.removeCurrent()}resize(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.getAttribute('width',!0),n=this.getAttribute('height',!0),s=this.getAttribute('viewBox'),a=this.getAttribute('style'),o=i.getNumber(0),h=n.getNumber(0);if(r)if('string'==typeof r)this.getAttribute('preserveAspectRatio',!0).setValue(r);else{var l=this.getAttribute('preserveAspectRatio');l.hasValue()&&l.setValue(l.getString().replace(/^\s*(\S.*\S)\s*$/,'$1'))}if(i.setValue(t),n.setValue(e),s.hasValue()||s.setValue("0 0 ".concat(o||t," ").concat(h||e)),a.hasValue()){var u=this.getStyle('width'),c=this.getStyle('height');u.hasValue()&&u.setValue("".concat(t,"px")),c.hasValue()&&c.setValue("".concat(e,"px"))}}}class At extends vt{constructor(){super(...arguments),this.type='rect'}path(t){var e=this.getAttribute('x').getPixels('x'),r=this.getAttribute('y').getPixels('y'),i=this.getStyle('width',!1,!0).getPixels('x'),n=this.getStyle('height',!1,!0).getPixels('y'),s=this.getAttribute('rx'),a=this.getAttribute('ry'),o=s.getPixels('x'),h=a.getPixels('y');if(s.hasValue()&&!a.hasValue()&&(h=o),a.hasValue()&&!s.hasValue()&&(o=h),o=Math.min(o,i/2),h=Math.min(h,n/2),t){var l=(Math.sqrt(2)-1)/3*4;t.beginPath(),n>0&&i>0&&(t.moveTo(e+o,r),t.lineTo(e+i-o,r),t.bezierCurveTo(e+i-o+l*o,r,e+i,r+h-l*h,e+i,r+h),t.lineTo(e+i,r+n-h),t.bezierCurveTo(e+i,r+n-h+l*h,e+i-o+l*o,r+n,e+i-o,r+n),t.lineTo(e+o,r+n),t.bezierCurveTo(e+o-l*o,r+n,e,r+n-h+l*h,e,r+n-h),t.lineTo(e,r+h),t.bezierCurveTo(e,r+h-l*h,e+o-l*o,r,e+o,r),t.closePath())}return new ft(e,r,e+i,r+n)}getMarkers(){return null}}class Ot extends vt{constructor(){super(...arguments),this.type='circle'}path(t){var e=this.getAttribute('cx').getPixels('x'),r=this.getAttribute('cy').getPixels('y'),i=this.getAttribute('r').getPixels();return t&&i>0&&(t.beginPath(),t.arc(e,r,i,0,2*Math.PI,!1),t.closePath()),new ft(e-i,r-i,e+i,r+i)}getMarkers(){return null}}class Ct extends vt{constructor(){super(...arguments),this.type='ellipse'}path(t){var e=(Math.sqrt(2)-1)/3*4,r=this.getAttribute('rx').getPixels('x'),i=this.getAttribute('ry').getPixels('y'),n=this.getAttribute('cx').getPixels('x'),s=this.getAttribute('cy').getPixels('y');return t&&r>0&&i>0&&(t.beginPath(),t.moveTo(n+r,s),t.bezierCurveTo(n+r,s+e*i,n+e*r,s+i,n,s+i),t.bezierCurveTo(n-e*r,s+i,n-r,s+e*i,n-r,s),t.bezierCurveTo(n-r,s-e*i,n-e*r,s-i,n,s-i),t.bezierCurveTo(n+e*r,s-i,n+r,s-e*i,n+r,s),t.closePath()),new ft(n-r,s-i,n+r,s+i)}getMarkers(){return null}}class Tt extends vt{constructor(){super(...arguments),this.type='line'}getPoints(){return[new H(this.getAttribute('x1').getPixels('x'),this.getAttribute('y1').getPixels('y')),new H(this.getAttribute('x2').getPixels('x'),this.getAttribute('y2').getPixels('y'))]}path(t){var[{x:e,y:r},{x:i,y:n}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(e,r),t.lineTo(i,n)),new ft(e,r,i,n)}getMarkers(){var[t,e]=this.getPoints(),r=t.angleTo(e);return[[t,r],[e,r]]}}class Vt extends vt{constructor(t,e,r){super(t,e,r),this.type='polyline',this.points=[],this.points=H.parsePath(this.getAttribute('points').getString())}path(t){var{points:e}=this,[{x:r,y:i}]=e,n=new ft(r,i);return t&&(t.beginPath(),t.moveTo(r,i)),e.forEach(e=>{var{x:r,y:i}=e;n.addPoint(r,i),t&&t.lineTo(r,i)}),n}getMarkers(){var{points:t}=this,e=t.length-1,r=[];return t.forEach((i,n)=>{n!==e&&r.push([i,i.angleTo(t[n+1])])}),r.length>0&&r.push([t[t.length-1],r[r.length-1][1]]),r}}class Et extends Vt{constructor(){super(...arguments),this.type='polygon'}path(t){var e=super.path(t),[{x:r,y:i}]=this.points;return t&&(t.lineTo(r,i),t.closePath()),e}}class Mt extends lt{constructor(){super(...arguments),this.type='pattern'}createPattern(t,e,r){var i=this.getStyle('width').getPixels('x',!0),n=this.getStyle('height').getPixels('y',!0),s=new wt(this.document,null);s.attributes.viewBox=new Y(this.document,'viewBox',this.getAttribute('viewBox').getValue()),s.attributes.width=new Y(this.document,'width',"".concat(i,"px")),s.attributes.height=new Y(this.document,'height',"".concat(n,"px")),s.attributes.transform=new Y(this.document,'transform',this.getAttribute('patternTransform').getValue()),s.children=this.children;var a=this.document.createCanvas(i,n),o=a.getContext('2d'),h=this.getAttribute('x'),l=this.getAttribute('y');h.hasValue()&&l.hasValue()&&o.translate(h.getPixels('x',!0),l.getPixels('y',!0)),r.hasValue()?this.styles['fill-opacity']=r:Reflect.deleteProperty(this.styles,'fill-opacity');for(var u=-1;u<=1;u++)for(var c=-1;c<=1;c++)o.save(),s.attributes.x=new Y(this.document,'x',u*a.width),s.attributes.y=new Y(this.document,'y',c*a.height),s.render(o),o.restore();return t.createPattern(a,'repeat')}}class kt extends lt{constructor(){super(...arguments),this.type='marker'}render(t,e,r){if(e){var{x:i,y:n}=e,s=this.getAttribute('orient').getString('auto'),a=this.getAttribute('markerUnits').getString('strokeWidth');t.translate(i,n),'auto'===s&&t.rotate(r),'strokeWidth'===a&&t.scale(t.lineWidth,t.lineWidth),t.save();var o=new wt(this.document,null);o.type=this.type,o.attributes.viewBox=new Y(this.document,'viewBox',this.getAttribute('viewBox').getValue()),o.attributes.refX=new Y(this.document,'refX',this.getAttribute('refX').getValue()),o.attributes.refY=new Y(this.document,'refY',this.getAttribute('refY').getValue()),o.attributes.width=new Y(this.document,'width',this.getAttribute('markerWidth').getValue()),o.attributes.height=new Y(this.document,'height',this.getAttribute('markerHeight').getValue()),o.attributes.overflow=new Y(this.document,'overflow',this.getAttribute('overflow').getValue()),o.attributes.fill=new Y(this.document,'fill',this.getAttribute('fill').getColor('black')),o.attributes.stroke=new Y(this.document,'stroke',this.getAttribute('stroke').getValue('none')),o.children=this.children,o.render(t),t.restore(),'strokeWidth'===a&&t.scale(1/t.lineWidth,1/t.lineWidth),'auto'===s&&t.rotate(-r),t.translate(-i,-n)}}}class jt extends lt{constructor(){super(...arguments),this.type='defs'}render(){}}class Nt extends mt{constructor(){super(...arguments),this.type='g'}getBoundingBox(t){var e=new ft;return this.children.forEach(r=>{e.addBoundingBox(r.getBoundingBox(t))}),e}}class Dt extends lt{constructor(t,e,r){super(t,e,r),this.attributesToInherit=['gradientUnits'],this.stops=[];var{stops:i,children:n}=this;n.forEach(t=>{'stop'===t.type&&i.push(t)})}getGradientUnits(){return this.getAttribute('gradientUnits').getString('objectBoundingBox')}createGradient(t,e,r){var i=this;this.getHrefAttribute().hasValue()&&(i=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(i));var{stops:n}=i,s=this.getGradient(t,e);if(!s)return this.addParentOpacity(r,n[n.length-1].color);if(n.forEach(t=>{s.addColorStop(t.offset,this.addParentOpacity(r,t.color))}),this.getAttribute('gradientTransform').hasValue()){var{document:a}=this,{MAX_VIRTUAL_PIXELS:o,viewPort:h}=a.screen,[l]=h.viewPorts,u=new At(a,null);u.attributes.x=new Y(a,'x',-o/3),u.attributes.y=new Y(a,'y',-o/3),u.attributes.width=new Y(a,'width',o),u.attributes.height=new Y(a,'height',o);var c=new Nt(a,null);c.attributes.transform=new Y(a,'transform',this.getAttribute('gradientTransform').getValue()),c.children=[u];var g=new wt(a,null);g.attributes.x=new Y(a,'x',0),g.attributes.y=new Y(a,'y',0),g.attributes.width=new Y(a,'width',l.width),g.attributes.height=new Y(a,'height',l.height),g.children=[c];var d=a.createCanvas(l.width,l.height),p=d.getContext('2d');return p.fillStyle=s,g.render(p),p.createPattern(d,'no-repeat')}return s}inheritStopContainer(t){this.attributesToInherit.forEach(e=>{!this.getAttribute(e).hasValue()&&t.getAttribute(e).hasValue()&&this.getAttribute(e,!0).setValue(t.getAttribute(e).getValue())})}addParentOpacity(t,e){return t.hasValue()?new Y(this.document,'color',e).addOpacity(t).getColor():e}}class Bt extends Dt{constructor(t,e,r){super(t,e,r),this.type='linearGradient',this.attributesToInherit.push('x1','y1','x2','y2')}getGradient(t,e){var r='objectBoundingBox'===this.getGradientUnits(),i=r?e.getBoundingBox(t):null;if(r&&!i)return null;this.getAttribute('x1').hasValue()||this.getAttribute('y1').hasValue()||this.getAttribute('x2').hasValue()||this.getAttribute('y2').hasValue()||(this.getAttribute('x1',!0).setValue(0),this.getAttribute('y1',!0).setValue(0),this.getAttribute('x2',!0).setValue(1),this.getAttribute('y2',!0).setValue(0));var n=r?i.x+i.width*this.getAttribute('x1').getNumber():this.getAttribute('x1').getPixels('x'),s=r?i.y+i.height*this.getAttribute('y1').getNumber():this.getAttribute('y1').getPixels('y'),a=r?i.x+i.width*this.getAttribute('x2').getNumber():this.getAttribute('x2').getPixels('x'),o=r?i.y+i.height*this.getAttribute('y2').getNumber():this.getAttribute('y2').getPixels('y');return n===a&&s===o?null:t.createLinearGradient(n,s,a,o)}}class zt extends Dt{constructor(t,e,r){super(t,e,r),this.type='radialGradient',this.attributesToInherit.push('cx','cy','r','fx','fy','fr')}getGradient(t,e){var r='objectBoundingBox'===this.getGradientUnits(),i=e.getBoundingBox(t);if(r&&!i)return null;this.getAttribute('cx').hasValue()||this.getAttribute('cx',!0).setValue('50%'),this.getAttribute('cy').hasValue()||this.getAttribute('cy',!0).setValue('50%'),this.getAttribute('r').hasValue()||this.getAttribute('r',!0).setValue('50%');var n=r?i.x+i.width*this.getAttribute('cx').getNumber():this.getAttribute('cx').getPixels('x'),s=r?i.y+i.height*this.getAttribute('cy').getNumber():this.getAttribute('cy').getPixels('y'),a=n,o=s;this.getAttribute('fx').hasValue()&&(a=r?i.x+i.width*this.getAttribute('fx').getNumber():this.getAttribute('fx').getPixels('x')),this.getAttribute('fy').hasValue()&&(o=r?i.y+i.height*this.getAttribute('fy').getNumber():this.getAttribute('fy').getPixels('y'));var h=r?(i.width+i.height)/2*this.getAttribute('r').getNumber():this.getAttribute('r').getPixels(),l=this.getAttribute('fr').getPixels();return t.createRadialGradient(a,o,l,n,s,h)}}class Lt extends lt{constructor(t,e,r){super(t,e,r),this.type='stop';var i=Math.max(0,Math.min(1,this.getAttribute('offset').getNumber())),n=this.getStyle('stop-opacity'),s=this.getStyle('stop-color',!0);''===s.getString()&&s.setValue('#000'),n.hasValue()&&(s=s.addOpacity(n)),this.offset=i,this.color=s.getColor()}}class It extends lt{constructor(t,e,r){super(t,e,r),this.type='animate',this.duration=0,this.initialValue=null,this.initialUnits='',this.removed=!1,this.frozen=!1,t.screen.animations.push(this),this.begin=this.getAttribute('begin').getMilliseconds(),this.maxDuration=this.begin+this.getAttribute('dur').getMilliseconds(),this.from=this.getAttribute('from'),this.to=this.getAttribute('to'),this.values=new Y(t,'values',null);var i=this.getAttribute('values');i.hasValue()&&this.values.setValue(i.getString().split(';'))}getProperty(){var t=this.getAttribute('attributeType').getString(),e=this.getAttribute('attributeName').getString();return'CSS'===t?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}calcValue(){var{initialUnits:t}=this,{progress:e,from:r,to:i}=this.getProgress(),n=r.getNumber()+(i.getNumber()-r.getNumber())*e;return'%'===t&&(n*=100),"".concat(n).concat(t)}update(t){var{parent:e}=this,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var i=this.getAttribute('fill').getString('remove');if('indefinite'===this.getAttribute('repeatCount').getString()||'indefinite'===this.getAttribute('repeatDur').getString())this.duration=0;else if('freeze'!==i||this.frozen){if('remove'===i&&!this.removed)return this.removed=!0,r.setValue(e.animationFrozen?e.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,e.animationFrozen=!0,e.animationFrozenValue=r.getString();return!1}this.duration+=t;var n=!1;if(this.begin<this.duration){var s=this.calcValue(),a=this.getAttribute('type');if(a.hasValue()){var o=a.getString();s="".concat(o,"(").concat(s,")")}r.setValue(s),n=!0}return n}getProgress(){var{document:t,values:e}=this,r={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(e.hasValue()){var i=r.progress*(e.getValue().length-1),n=Math.floor(i),s=Math.ceil(i);r.from=new Y(t,'from',parseFloat(e.getValue()[n])),r.to=new Y(t,'to',parseFloat(e.getValue()[s])),r.progress=(i-n)/(s-n)}else r.from=this.from,r.to=this.to;return r}}class Rt extends It{constructor(){super(...arguments),this.type='animateColor'}calcValue(){var{progress:t,from:e,to:r}=this.getProgress(),i=new c.default(e.getColor()),n=new c.default(r.getColor());if(i.ok&&n.ok){var s=i.r+(n.r-i.r)*t,a=i.g+(n.g-i.g)*t,o=i.b+(n.b-i.b)*t;return"rgb(".concat(Math.floor(s),", ").concat(Math.floor(a),", ").concat(Math.floor(o),")")}return this.getAttribute('from').getColor()}}class Ft extends It{constructor(){super(...arguments),this.type='animateTransform'}calcValue(){var{progress:t,from:e,to:r}=this.getProgress(),i=v(e.getString()),n=v(r.getString()),s=i.map((e,r)=>e+(n[r]-e)*t).join(' ');return s}}class _t extends lt{constructor(t,e,r){super(t,e,r),this.type='font',this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute('horiz-adv-x').getNumber();var{definitions:i}=t,{children:n}=this;for(var s of n)switch(s.type){case'font-face':this.fontFace=s;var a=s.getStyle('font-family');a.hasValue()&&(i[a.getString()]=this);break;case'missing-glyph':this.missingGlyph=s;break;case'glyph':var o=s;o.arabicForm?(this.isRTL=!0,this.isArabic=!0,void 0===this.glyphs[o.unicode]&&(this.glyphs[o.unicode]=Object.create(null)),this.glyphs[o.unicode][o.arabicForm]=o):this.glyphs[o.unicode]=o}}render(){}}class Xt extends lt{constructor(t,e,r){super(t,e,r),this.type='font-face',this.ascent=this.getAttribute('ascent').getNumber(),this.descent=this.getAttribute('descent').getNumber(),this.unitsPerEm=this.getAttribute('units-per-em').getNumber()}}class Yt extends vt{constructor(){super(...arguments),this.type='missing-glyph',this.horizAdvX=0}}class Ut extends bt{constructor(){super(...arguments),this.type='tref'}getText(){var t=this.getHrefAttribute().getDefinition();if(t){var e=t.children[0];if(e)return e.getText()}return''}}class Ht extends bt{constructor(t,e,r){super(t,e,r),this.type='a';var{childNodes:i}=e,n=i[0],s=i.length>0&&Array.from(i).every(t=>3===t.nodeType);this.hasText=s,this.text=s?this.getTextFromNode(n):''}getText(){return this.text}renderChildren(t){if(this.hasText){super.renderChildren(t);var{document:e,x:r,y:i}=this,{mouse:n}=e.screen,s=new Y(e,'fontSize',pt.parse(e.ctx.font).fontSize);n.isWorking()&&n.checkBoundingBox(this,new ft(r,i-s.getPixels('y'),r+this.measureText(t),i))}else if(this.children.length>0){var a=new Nt(this.document,null);a.children=this.children,a.parent=this,a.render(t)}}onClick(){var{window:t}=this.document;t&&t.open(this.getHrefAttribute().getString())}onMouseMove(){this.document.ctx.canvas.style.cursor='pointer'}}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,i)}return r}function Gt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Wt(Object(r),!0).forEach(function(e){(0,l.default)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wt(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}class qt extends bt{constructor(t,e,r){super(t,e,r),this.type='textPath',this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([['',0]]);var i=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(i)}getText(){return this.text}path(t){var{dataArray:e}=this;t&&t.beginPath(),e.forEach(e=>{var{type:r,points:i}=e;switch(r){case yt.LINE_TO:t&&t.lineTo(i[0],i[1]);break;case yt.MOVE_TO:t&&t.moveTo(i[0],i[1]);break;case yt.CURVE_TO:t&&t.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);break;case yt.QUAD_TO:t&&t.quadraticCurveTo(i[0],i[1],i[2],i[3]);break;case yt.ARC:var[n,s,a,o,h,l,u,c]=i,g=a>o?a:o,d=a>o?1:a/o,p=a>o?o/a:1;t&&(t.translate(n,s),t.rotate(u),t.scale(d,p),t.arc(0,0,g,h,h+l,Boolean(1-c)),t.scale(1/d,1/p),t.rotate(-u),t.translate(-n,-s));break;case yt.CLOSE_PATH:t&&t.closePath()}})}renderChildren(t){this.setTextData(t),t.save();var e=this.parent.getStyle('text-decoration').getString(),r=this.getFontSize(),{glyphInfo:i}=this,n=t.fillStyle;'underline'===e&&t.beginPath(),i.forEach((i,n)=>{var{p0:s,p1:a,rotation:o,text:h}=i;t.save(),t.translate(s.x,s.y),t.rotate(o),t.fillStyle&&t.fillText(h,0,0),t.strokeStyle&&t.strokeText(h,0,0),t.restore(),'underline'===e&&(0===n&&t.moveTo(s.x,s.y+r/8),t.lineTo(a.x,a.y+r/5))}),'underline'===e&&(t.lineWidth=r/20,t.strokeStyle=n,t.stroke(),t.closePath()),t.restore()}getLetterSpacingAt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[t]||0}findSegmentToFitChar(t,e,r,i,n,s,a,o,h){var l=s,u=this.measureText(t,o);' '===o&&'justify'===e&&r<i&&(u+=(i-r)/n),h>-1&&(l+=this.getLetterSpacingAt(h));var c=this.textHeight/20,g=this.getEquidistantPointOnPath(l,c,0),d=this.getEquidistantPointOnPath(l+u,c,0),p={p0:g,p1:d},f=g&&d?Math.atan2(d.y-g.y,d.x-g.x):0;if(a){var y=Math.cos(Math.PI/2+f)*a,m=Math.cos(-f)*a;p.p0=Gt(Gt({},g),{},{x:g.x+y,y:g.y+m}),p.p1=Gt(Gt({},d),{},{x:d.x+y,y:d.y+m})}return{offset:l+=u,segment:p,rotation:f}}measureText(t,e){var{measuresCache:r}=this,i=e||this.getText();if(r.has(i))return r.get(i);var n=this.measureTargetText(t,i);return r.set(i,n),n}setTextData(t){if(!this.glyphInfo){var e=this.getText(),r=e.split(''),i=e.split(' ').length-1,n=this.parent.getAttribute('dx').split().map(t=>t.getPixels('x')),s=this.parent.getAttribute('dy').getPixels('y'),a=this.parent.getStyle('text-anchor').getString('start'),o=this.getStyle('letter-spacing'),h=this.parent.getStyle('letter-spacing'),l=0;o.hasValue()&&'inherit'!==o.getValue()?o.hasValue()&&'initial'!==o.getValue()&&'unset'!==o.getValue()&&(l=o.getPixels()):l=h.getPixels();var u=[],c=e.length;this.letterSpacingCache=u;for(var g=0;g<c;g++)u.push(void 0!==n[g]?n[g]:l);var d=u.reduce((t,e,r)=>0===r?0:t+e||0,0),p=this.measureText(t),f=Math.max(p+d,0);this.textWidth=p,this.textHeight=this.getFontSize(),this.glyphInfo=[];var y=this.getPathLength(),m=this.getStyle('startOffset').getNumber(0)*y,v=0;'middle'!==a&&'center'!==a||(v=-f/2),'end'!==a&&'right'!==a||(v=-f),v+=m,r.forEach((e,n)=>{var{offset:o,segment:h,rotation:l}=this.findSegmentToFitChar(t,a,f,y,i,v,s,e,n);v=o,h.p0&&h.p1&&this.glyphInfo.push({text:r[n],p0:h.p0,p1:h.p1,rotation:l})})}}parsePathData(t){if(this.pathLength=-1,!t)return[];var e=[],{pathParser:r}=t;for(r.reset();!r.isEnd();){var{current:i}=r,n=i?i.x:0,s=i?i.y:0,a=r.next(),o=a.type,h=[];switch(a.type){case yt.MOVE_TO:this.pathM(r,h);break;case yt.LINE_TO:o=this.pathL(r,h);break;case yt.HORIZ_LINE_TO:o=this.pathH(r,h);break;case yt.VERT_LINE_TO:o=this.pathV(r,h);break;case yt.CURVE_TO:this.pathC(r,h);break;case yt.SMOOTH_CURVE_TO:o=this.pathS(r,h);break;case yt.QUAD_TO:this.pathQ(r,h);break;case yt.SMOOTH_QUAD_TO:o=this.pathT(r,h);break;case yt.ARC:h=this.pathA(r);break;case yt.CLOSE_PATH:vt.pathZ(r)}a.type!==yt.CLOSE_PATH?e.push({type:o,points:h,start:{x:n,y:s},pathLength:this.calcLength(n,s,o,h)}):e.push({type:yt.CLOSE_PATH,points:[],pathLength:0})}return e}pathM(t,e){var{x:r,y:i}=vt.pathM(t).point;e.push(r,i)}pathL(t,e){var{x:r,y:i}=vt.pathL(t).point;return e.push(r,i),yt.LINE_TO}pathH(t,e){var{x:r,y:i}=vt.pathH(t).point;return e.push(r,i),yt.LINE_TO}pathV(t,e){var{x:r,y:i}=vt.pathV(t).point;return e.push(r,i),yt.LINE_TO}pathC(t,e){var{point:r,controlPoint:i,currentPoint:n}=vt.pathC(t);e.push(r.x,r.y,i.x,i.y,n.x,n.y)}pathS(t,e){var{point:r,controlPoint:i,currentPoint:n}=vt.pathS(t);return e.push(r.x,r.y,i.x,i.y,n.x,n.y),yt.CURVE_TO}pathQ(t,e){var{controlPoint:r,currentPoint:i}=vt.pathQ(t);e.push(r.x,r.y,i.x,i.y)}pathT(t,e){var{controlPoint:r,currentPoint:i}=vt.pathT(t);return e.push(r.x,r.y,i.x,i.y),yt.QUAD_TO}pathA(t){var{rX:e,rY:r,sweepFlag:i,xAxisRotation:n,centp:s,a1:a,ad:o}=vt.pathA(t);return 0===i&&o>0&&(o-=2*Math.PI),1===i&&o<0&&(o+=2*Math.PI),[s.x,s.y,e,r,a,o,n,i]}calcLength(t,e,r,i){var n=0,s=null,a=null,o=0;switch(r){case yt.LINE_TO:return this.getLineLength(t,e,i[0],i[1]);case yt.CURVE_TO:for(n=0,s=this.getPointOnCubicBezier(0,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),o=.01;o<=1;o+=.01)a=this.getPointOnCubicBezier(o,t,e,i[0],i[1],i[2],i[3],i[4],i[5]),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return n;case yt.QUAD_TO:for(n=0,s=this.getPointOnQuadraticBezier(0,t,e,i[0],i[1],i[2],i[3]),o=.01;o<=1;o+=.01)a=this.getPointOnQuadraticBezier(o,t,e,i[0],i[1],i[2],i[3]),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return n;case yt.ARC:n=0;var h=i[4],l=i[5],u=i[4]+l,c=Math.PI/180;if(Math.abs(h-u)<c&&(c=Math.abs(h-u)),s=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],h,0),l<0)for(o=h-c;o>u;o-=c)a=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],o,0),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;else for(o=h+c;o<u;o+=c)a=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],o,0),n+=this.getLineLength(s.x,s.y,a.x,a.y),s=a;return a=this.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],u,0),n+=this.getLineLength(s.x,s.y,a.x,a.y)}return 0}getPointOnLine(t,e,r,i,n){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:r,o=(n-r)/(i-e+j),h=Math.sqrt(t*t/(1+o*o));i<e&&(h*=-1);var l=o*h,u=null;if(i===e)u={x:s,y:a+l};else if((a-r)/(s-e+j)===o)u={x:s+h,y:a+l};else{var c,g,d=this.getLineLength(e,r,i,n);if(d<j)return null;var p=(s-e)*(i-e)+(a-r)*(n-r);c=e+(p/=d*d)*(i-e),g=r+p*(n-r);var f=this.getLineLength(s,a,c,g),y=Math.sqrt(t*t-f*f);h=Math.sqrt(y*y/(1+o*o)),i<e&&(h*=-1),u={x:c+h,y:g+(l=o*h)}}return u}getPointOnPath(t){var e=this.getPathLength(),r=0,i=null;if(t<-5e-5||t-5e-5>e)return null;var{dataArray:n}=this;for(var s of n){if(!s||!(s.pathLength<5e-5||r+s.pathLength+5e-5<t)){var a=t-r,o=0;switch(s.type){case yt.LINE_TO:i=this.getPointOnLine(a,s.start.x,s.start.y,s.points[0],s.points[1],s.start.x,s.start.y);break;case yt.ARC:var h=s.points[4],l=s.points[5],u=s.points[4]+l;if(o=h+a/s.pathLength*l,l<0&&o<u||l>=0&&o>u)break;i=this.getPointOnEllipticalArc(s.points[0],s.points[1],s.points[2],s.points[3],o,s.points[6]);break;case yt.CURVE_TO:(o=a/s.pathLength)>1&&(o=1),i=this.getPointOnCubicBezier(o,s.start.x,s.start.y,s.points[0],s.points[1],s.points[2],s.points[3],s.points[4],s.points[5]);break;case yt.QUAD_TO:(o=a/s.pathLength)>1&&(o=1),i=this.getPointOnQuadraticBezier(o,s.start.x,s.start.y,s.points[0],s.points[1],s.points[2],s.points[3])}if(i)return i;break}r+=s.pathLength}return null}getLineLength(t,e,r,i){return Math.sqrt((r-t)*(r-t)+(i-e)*(i-e))}getPathLength(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce((t,e)=>e.pathLength>0?t+e.pathLength:t,0)),this.pathLength}getPointOnCubicBezier(t,e,r,i,n,s,a,o,h){return{x:o*z(t)+s*L(t)+i*I(t)+e*R(t),y:h*z(t)+a*L(t)+n*I(t)+r*R(t)}}getPointOnQuadraticBezier(t,e,r,i,n,s,a){return{x:s*F(t)+i*_(t)+e*X(t),y:a*F(t)+n*_(t)+r*X(t)}}getPointOnEllipticalArc(t,e,r,i,n,s){var a=Math.cos(s),o=Math.sin(s),h=r*Math.cos(n),l=i*Math.sin(n);return{x:t+(h*a-l*o),y:e+(h*o+l*a)}}buildEquidistantCache(t,e){var r=this.getPathLength(),i=e||.25,n=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==n||this.equidistantCache.precision!==i){this.equidistantCache={step:n,precision:i,points:[]};for(var s=0,a=0;a<=r;a+=i){var o=this.getPointOnPath(a),h=this.getPointOnPath(a+i);o&&h&&((s+=this.getLineLength(o.x,o.y,h.x,h.y))>=n&&(this.equidistantCache.points.push({x:o.x,y:o.y,distance:a}),s-=n))}}}getEquidistantPointOnPath(t,e,r){if(this.buildEquidistantCache(e,r),t<0||t-this.getPathLength()>5e-5)return null;var i=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[i]||null}}var $t=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class Qt extends mt{constructor(t,e,r){super(t,e,r),this.type='image',this.loaded=!1;var i=this.getHrefAttribute().getString();if(i){var n=i.endsWith('.svg')||/^\s*data:image\/svg\+xml/i.test(i);t.images.push(this),n?this.loadSvg(i):this.loadImage(i),this.isSvg=n}}loadImage(t){var e=this;return(0,h.default)(function*(){try{var r=yield e.document.createImage(t);e.image=r}catch(e){console.error("Error while loading image \"".concat(t,"\":"),e)}e.loaded=!0})()}loadSvg(t){var e=this;return(0,h.default)(function*(){var r=$t.exec(t);if(r){var i=r[5];'base64'===r[4]?e.image=atob(i):e.image=decodeURIComponent(i)}else try{var n=yield e.document.fetch(t),s=yield n.text();e.image=s}catch(e){console.error("Error while loading image \"".concat(t,"\":"),e)}e.loaded=!0})()}renderChildren(t){var{document:e,image:r,loaded:i}=this,n=this.getAttribute('x').getPixels('x'),s=this.getAttribute('y').getPixels('y'),a=this.getStyle('width').getPixels('x'),o=this.getStyle('height').getPixels('y');if(i&&r&&a&&o){if(t.save(),t.translate(n,s),this.isSvg){var h=e.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:a,scaleHeight:o});h.document.documentElement.parent=this,h.render()}else{var l=this.image;e.setViewBox({ctx:t,aspectRatio:this.getAttribute('preserveAspectRatio').getString(),width:a,desiredWidth:l.width,height:o,desiredHeight:l.height}),this.loaded&&(void 0===l.complete||l.complete)&&t.drawImage(l,0,0)}t.restore()}}getBoundingBox(){var t=this.getAttribute('x').getPixels('x'),e=this.getAttribute('y').getPixels('y'),r=this.getStyle('width').getPixels('x'),i=this.getStyle('height').getPixels('y');return new ft(t,e,t+r,e+i)}}class Zt extends mt{constructor(){super(...arguments),this.type='symbol'}render(t){}}class Jt{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,e){var r=this;return(0,h.default)(function*(){try{var{document:i}=r,n=(yield i.canvg.parser.load(e)).getElementsByTagName('font');Array.from(n).forEach(e=>{var r=i.createElement(e);i.definitions[t]=r})}catch(t){console.error("Error while loading font \"".concat(e,"\":"),t)}r.loaded=!0})()}}class Kt extends lt{constructor(t,e,r){super(t,e,r),this.type='style',f(Array.from(e.childNodes).map(t=>t.textContent).join('').replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,'').replace(/@import.*;/g,'')).split('}').forEach(e=>{var r=e.trim();if(r){var i=r.split('{'),n=i[0].split(','),s=i[1].split(';');n.forEach(e=>{var r=e.trim();if(r){var i=t.styles[r]||{};if(s.forEach(e=>{var r=e.indexOf(':'),n=e.substr(0,r).trim(),s=e.substr(r+1,e.length-r).trim();n&&s&&(i[n]=new Y(t,n,s))}),t.styles[r]=i,t.stylesSpecificity[r]=k(r),'@font-face'===r){var n=i['font-family'].getString().replace(/"|'/g,'');i.src.getString().split(',').forEach(e=>{if(e.indexOf('format("svg")')>0){var r=P(e);r&&new Jt(t).load(n,r)}})}}})}})}}Kt.parseExternalUrl=P;class te extends mt{constructor(){super(...arguments),this.type='use'}setContext(t){super.setContext(t);var e=this.getAttribute('x'),r=this.getAttribute('y');e.hasValue()&&t.translate(e.getPixels('x'),0),r.hasValue()&&t.translate(0,r.getPixels('y'))}path(t){var{element:e}=this;e&&e.path(t)}renderChildren(t){var{document:e,element:r}=this;if(r){var i=r;if('symbol'===r.type&&((i=new wt(e,null)).attributes.viewBox=new Y(e,'viewBox',r.getAttribute('viewBox').getString()),i.attributes.preserveAspectRatio=new Y(e,'preserveAspectRatio',r.getAttribute('preserveAspectRatio').getString()),i.attributes.overflow=new Y(e,'overflow',r.getAttribute('overflow').getString()),i.children=r.children,r.styles.opacity=new Y(e,'opacity',this.calculateOpacity())),'svg'===i.type){var n=this.getStyle('width',!1,!0),s=this.getStyle('height',!1,!0);n.hasValue()&&(i.attributes.width=new Y(e,'width',n.getString())),s.hasValue()&&(i.attributes.height=new Y(e,'height',s.getString()))}var a=i.parent;i.parent=this,i.render(t),i.parent=a}}getBoundingBox(t){var{element:e}=this;return e?e.getBoundingBox(t):null}elementTransform(){var{document:t,element:e}=this;return ht.fromElement(t,e)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function ee(t,e,r,i,n,s){return t[r*i*4+4*e+s]}function re(t,e,r,i,n,s,a){t[r*i*4+4*e+s]=a}function ie(t,e,r){return t[e]*r}function ne(t,e,r,i){return e+Math.cos(t)*r+Math.sin(t)*i}class se extends lt{constructor(t,e,r){super(t,e,r),this.type='feColorMatrix';var i=v(this.getAttribute('values').getString());switch(this.getAttribute('type').getString('matrix')){case'saturate':var n=i[0];i=[.213+.787*n,.715-.715*n,.072-.072*n,0,0,.213-.213*n,.715+.285*n,.072-.072*n,0,0,.213-.213*n,.715-.715*n,.072+.928*n,0,0,0,0,0,1,0,0,0,0,0,1];break;case'hueRotate':var s=i[0]*Math.PI/180;i=[ne(s,.213,.787,-.213),ne(s,.715,-.715,-.715),ne(s,.072,-.072,.928),0,0,ne(s,.213,-.213,.143),ne(s,.715,.285,.14),ne(s,.072,-.072,-.283),0,0,ne(s,.213,-.213,-.787),ne(s,.715,-.715,.715),ne(s,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case'luminanceToAlpha':i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}this.matrix=i,this.includeOpacity=this.getAttribute('includeOpacity').hasValue()}apply(t,e,r,i,n){for(var{includeOpacity:s,matrix:a}=this,o=t.getImageData(0,0,i,n),h=0;h<n;h++)for(var l=0;l<i;l++){var u=ee(o.data,l,h,i,0,0),c=ee(o.data,l,h,i,0,1),g=ee(o.data,l,h,i,0,2),d=ee(o.data,l,h,i,0,3),p=ie(a,0,u)+ie(a,1,c)+ie(a,2,g)+ie(a,3,d)+ie(a,4,1),f=ie(a,5,u)+ie(a,6,c)+ie(a,7,g)+ie(a,8,d)+ie(a,9,1),y=ie(a,10,u)+ie(a,11,c)+ie(a,12,g)+ie(a,13,d)+ie(a,14,1),m=ie(a,15,u)+ie(a,16,c)+ie(a,17,g)+ie(a,18,d)+ie(a,19,1);s&&(p=0,f=0,y=0,m*=d/255),re(o.data,l,h,i,0,0,p),re(o.data,l,h,i,0,1,f),re(o.data,l,h,i,0,2,y),re(o.data,l,h,i,0,3,m)}t.clearRect(0,0,i,n),t.putImageData(o,0,0)}}class ae extends lt{constructor(){super(...arguments),this.type='mask'}apply(t,e){var{document:r}=this,i=this.getAttribute('x').getPixels('x'),n=this.getAttribute('y').getPixels('y'),s=this.getStyle('width').getPixels('x'),a=this.getStyle('height').getPixels('y');if(!s&&!a){var o=new ft;this.children.forEach(e=>{o.addBoundingBox(e.getBoundingBox(t))}),i=Math.floor(o.x1),n=Math.floor(o.y1),s=Math.floor(o.width),a=Math.floor(o.height)}var h=this.removeStyles(e,ae.ignoreStyles),l=r.createCanvas(i+s,n+a),u=l.getContext('2d');r.screen.setDefaults(u),this.renderChildren(u),new se(r,{nodeType:1,childNodes:[],attributes:[{nodeName:'type',value:'luminanceToAlpha'},{nodeName:'includeOpacity',value:'true'}]}).apply(u,0,0,i+s,n+a);var c=r.createCanvas(i+s,n+a),g=c.getContext('2d');r.screen.setDefaults(g),e.render(g),g.globalCompositeOperation='destination-in',g.fillStyle=u.createPattern(l,'no-repeat'),g.fillRect(0,0,i+s,n+a),t.fillStyle=g.createPattern(c,'no-repeat'),t.fillRect(0,0,i+s,n+a),this.restoreStyles(e,h)}render(t){}}ae.ignoreStyles=['mask','transform','clip-path'];var oe=()=>{};class he extends lt{constructor(){super(...arguments),this.type='clipPath'}apply(t){var{document:e}=this,r=Reflect.getPrototypeOf(t),{beginPath:i,closePath:n}=t;r&&(r.beginPath=oe,r.closePath=oe),Reflect.apply(i,t,[]),this.children.forEach(i=>{if(void 0!==i.path){var s=void 0!==i.elementTransform?i.elementTransform():null;s||(s=ht.fromElement(e,i)),s&&s.apply(t),i.path(t),r&&(r.closePath=n),s&&s.unapply(t)}}),Reflect.apply(n,t,[]),t.clip(),r&&(r.beginPath=i,r.closePath=n)}render(t){}}class le extends lt{constructor(){super(...arguments),this.type='filter'}apply(t,e){var{document:r,children:i}=this,n=e.getBoundingBox(t);if(n){var s=0,a=0;i.forEach(t=>{var e=t.extraFilterDistance||0;s=Math.max(s,e),a=Math.max(a,e)});var o=Math.floor(n.width),h=Math.floor(n.height),l=o+2*s,u=h+2*a;if(!(l<1||u<1)){var c=Math.floor(n.x),g=Math.floor(n.y),d=this.removeStyles(e,le.ignoreStyles),p=r.createCanvas(l,u),f=p.getContext('2d');r.screen.setDefaults(f),f.translate(-c+s,-g+a),e.render(f),i.forEach(t=>{'function'==typeof t.apply&&t.apply(f,0,0,l,u)}),t.drawImage(p,0,0,l,u,c-s,g-a,l,u),this.restoreStyles(e,d)}}}render(t){}}le.ignoreStyles=['filter','transform','clip-path'];class ue extends lt{constructor(t,e,r){super(t,e,r),this.type='feDropShadow',this.addStylesFromStyleDefinition()}apply(t,e,r,i,n){}}class ce extends lt{constructor(){super(...arguments),this.type='feMorphology'}apply(t,e,r,i,n){}}class ge extends lt{constructor(){super(...arguments),this.type='feComposite'}apply(t,e,r,i,n){}}class de extends lt{constructor(t,e,r){super(t,e,r),this.type='feGaussianBlur',this.blurRadius=Math.floor(this.getAttribute('stdDeviation').getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,e,r,i,n){var{document:s,blurRadius:a}=this,o=s.window?s.window.document.body:null,h=t.canvas;h.id=s.getUniqueId(),o&&(h.style.display='none',o.appendChild(h)),(0,d.canvasRGBA)(h,e,r,i,n,a),o&&o.removeChild(h)}}class pe extends lt{constructor(){super(...arguments),this.type='title'}}class fe extends lt{constructor(){super(...arguments),this.type='desc'}}var ye={svg:wt,rect:At,circle:Ot,ellipse:Ct,line:Tt,polyline:Vt,polygon:Et,path:vt,pattern:Mt,marker:kt,defs:jt,linearGradient:Bt,radialGradient:zt,stop:Lt,animate:It,animateColor:Rt,animateTransform:Ft,font:_t,'font-face':Xt,'missing-glyph':Yt,glyph:xt,text:bt,tspan:Pt,tref:Ut,a:Ht,textPath:qt,image:Qt,g:Nt,symbol:Zt,style:Kt,use:te,mask:ae,clipPath:he,filter:le,feDropShadow:ue,feMorphology:ce,feComposite:ge,feColorMatrix:se,feGaussianBlur:de,title:pe,desc:fe};function me(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,i)}return r}function ve(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?me(Object(r),!0).forEach(function(e){(0,l.default)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function xe(){return xe=(0,h.default)(function*(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.createElement('img');return e&&(r.crossOrigin='Anonymous'),new Promise((e,i)=>{r.onload=()=>{e(r)},r.onerror=(t,e,r,n,s)=>{i(s)},r.src=t})}),xe.apply(this,arguments)}class be{constructor(t){var{rootEmSize:e=12,emSize:r=12,createCanvas:i=be.createCanvas,createImage:n=be.createImage,anonymousCrossOrigin:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.canvg=t,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=t.screen,this.rootEmSize=e,this.emSize=r,this.createCanvas=i,this.createImage=this.bindCreateImage(n,s),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(t,e){return'boolean'==typeof e?(r,i)=>t(r,'boolean'==typeof i?i:e):t}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:t}=this;return t[t.length-1]}set emSize(t){var{emSizeStack:e}=this;e.push(t)}popEmSize(){var{emSizeStack:t}=this;t.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(t=>t.loaded)}isFontsLoaded(){return this.fonts.every(t=>t.loaded)}createDocumentElement(t){var e=this.createElement(t.documentElement);return e.root=!0,e.addStylesFromStyleDefinition(),this.documentElement=e,e}createElement(t){var e=t.nodeName.replace(/^[^:]+:/,''),r=be.elementTypes[e];return void 0!==r?new r(this,t):new ut(this,t)}createTextNode(t){return new St(this,t)}setViewBox(t){this.screen.setViewBox(ve({document:this},t))}}function Pe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,i)}return r}function Se(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pe(Object(r),!0).forEach(function(e){(0,l.default)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pe(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}be.createCanvas=function(t,e){var r=document.createElement('canvas');return r.width=t,r.height=e,r},be.createImage=function(t){return xe.apply(this,arguments)},be.elementTypes=ye;class we{constructor(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.parser=new J(r),this.screen=new $(t,r),this.options=r;var i=new be(this,r),n=i.createDocumentElement(e);this.document=i,this.documentElement=n}static from(t,e){var r=arguments;return(0,h.default)(function*(){var i=r.length>2&&void 0!==r[2]?r[2]:{},n=new J(i),s=yield n.parse(e);return new we(t,s,i)})()}static fromString(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=new J(r).parseFromString(e);return new we(t,i,r)}fork(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return we.from(t,e,Se(Se({},this.options),r))}forkString(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return we.fromString(t,e,Se(Se({},this.options),r))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,e=this;return(0,h.default)(function*(){var r=t.length>0&&void 0!==t[0]?t[0]:{};e.start(Se({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},r)),yield e.ready(),e.stop()})()}start(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{documentElement:e,screen:r,options:i}=this;r.start(e,Se(Se({enableRedraw:!0},i),t))}stop(){this.screen.stop()}resize(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(t,e,r)}}},2858,[2859,2974,2975,2992,2994,2998,3006,103,3009,3012,3013,3014,3016,3020,3021,3022,3023,3025,3026,3027]);
|
|
2
|
-
__d(function(g,r,i,a,m,e,d){'use strict';r(d[0]),r(d[1]),r(d[2]),r(d[3]),r(d[4]),r(d[5])},2859,[2860,2960,2969,2970,2971,2972]);
|
|
3
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t,n,o,c,s=r(d[0]),u=r(d[1]),f=r(d[2]),v=r(d[3]),h=r(d[4]),l=r(d[5]),p=r(d[6]),j=r(d[7]),y=r(d[8]),E=r(d[9]),w=r(d[10]),P=r(d[11]),T=r(d[12]),C=r(d[13]),N=r(d[14]),O=r(d[15]).set,R=r(d[16]),S=r(d[17]),b=r(d[18]),U=r(d[19]),_=r(d[20]),k=r(d[21]),x=r(d[22]),I=r(d[23]),A='Promise',B=x.CONSTRUCTOR,F=x.REJECTION_EVENT,G=x.SUBCLASSING,H=_.getterFor(A),J=_.set,L=k&&k.prototype,V=k,q=L,z=v.TypeError,D=v.document,K=v.process,M=I.f,Q=M,W=!!(D&&D.createEvent&&v.dispatchEvent),X='unhandledrejection',Y=function(t){var n;return!(!T(t)||!P(n=t.then))&&n},Z=function(t,n){var o,c,s,u=n.value,f=1===n.state,v=f?t.ok:t.fail,h=t.resolve,p=t.reject,j=t.domain;try{v?(f||(2===n.rejection&&oe(n),n.rejection=1),!0===v?o=u:(j&&j.enter(),o=v(u),j&&(j.exit(),s=!0)),o===t.promise?p(new z('Promise-chain cycle')):(c=Y(o))?l(c,o,h,p):h(o)):p(u)}catch(t){j&&!s&&j.exit(),p(t)}},$=function(t,n){t.notified||(t.notified=!0,R(function(){for(var o,c=t.reactions;o=c.get();)Z(o,t);t.notified=!1,n&&!t.rejection&&te(t)}))},ee=function(t,n,o){var c,s;W?((c=D.createEvent('Event')).promise=n,c.reason=o,c.initEvent(t,!1,!0),v.dispatchEvent(c)):c={promise:n,reason:o},!F&&(s=v['on'+t])?s(c):t===X&&S('Unhandled promise rejection',o)},te=function(t){l(O,v,function(){var n,o=t.facade,c=t.value;if(ne(t)&&(n=b(function(){f?K.emit('unhandledRejection',c,o):ee(X,o,c)}),t.rejection=f||ne(t)?2:1,n.error))throw n.value})},ne=function(t){return 1!==t.rejection&&!t.parent},oe=function(t){l(O,v,function(){var n=t.facade;f?K.emit('rejectionHandled',n):ee("rejectionhandled",n,t.value)})},re=function(t,n,o){return function(c){t(n,c,o)}},ie=function(t,n,o){t.done||(t.done=!0,o&&(t=o),t.value=n,t.state=2,$(t,!0))},ce=function(t,n,o){if(!t.done){t.done=!0,o&&(t=o);try{if(t.facade===n)throw new z("Promise can't be resolved itself");var c=Y(n);c?R(function(){var o={done:!1};try{l(c,n,re(ce,o,t),re(ie,o,t))}catch(n){ie(o,n,t)}}):(t.value=n,t.state=1,$(t,!1))}catch(n){ie({done:!1},n,t)}}};if(B&&(q=(V=function(n){C(this,q),w(n),l(t,this);var o=H(this);try{n(re(ce,o),re(ie,o))}catch(t){ie(o,t)}}).prototype,(t=function(t){J(this,{type:A,done:!1,notified:!1,parent:!1,reactions:new U,rejection:!1,state:0,value:null})}).prototype=p(q,'then',function(t,n){var o=H(this),c=M(N(this,V));return o.parent=!0,c.ok=!P(t)||t,c.fail=P(n)&&n,c.domain=f?K.domain:void 0,0===o.state?o.reactions.add(c):R(function(){Z(c,o)}),c.promise}),n=function(){var n=new t,o=H(n);this.promise=n,this.resolve=re(ce,o),this.reject=re(ie,o)},I.f=M=function(t){return t===V||t===o?new n(t):Q(t)},!u&&P(k)&&L!==Object.prototype)){c=L.then,G||p(L,'then',function(t,n){var o=this;return new V(function(t,n){l(c,o,t,n)}).then(t,n)},{unsafe:!0});try{delete L.constructor}catch(t){}j&&j(L,q)}s({global:!0,constructor:!0,wrap:!0,forced:B},{Promise:V}),o=h.Promise,y(V,A,!1,!0),E(A)},2860,[2861,2894,2926,2862,2928,2866,2905,2929,2933,2934,2888,2879,2878,2936,2937,2942,2950,2955,2956,2952,2909,2957,2958,2959]);
|
|
4
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]).f,f=r(d[2]),n=r(d[3]),s=r(d[4]),c=r(d[5]),l=r(d[6]);m.exports=function(p,u){var v,h,y,_,b,x=p.target,C=p.global,G=p.stat;if(v=C?t:G?t[x]||s(x,{}):t[x]&&t[x].prototype)for(h in u){if(_=u[h],y=p.dontCallGetSet?(b=o(v,h))&&b.value:v[h],!l(C?h:x+(G?'.':'#')+h,p.forced)&&void 0!==y){if(typeof _==typeof y)continue;c(_,y)}(p.sham||y&&y.sham)&&f(_,'sham',!0),n(v,h,_,p)}}},2861,[2862,2863,2901,2905,2895,2913,2925]);
|
|
5
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=function(t){return t&&t.Math===Math&&t};m.exports=t('object'==typeof globalThis&&globalThis)||t('object'==typeof window&&window)||t('object'==typeof self&&self)||t('object'==typeof g&&g)||t('object'==typeof this&&this)||(function(){return this})()||Function('return this')()},2862,[]);
|
|
6
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]),n=r(d[2]),f=r(d[3]),u=r(d[4]),o=r(d[5]),s=r(d[6]),p=r(d[7]),y=Object.getOwnPropertyDescriptor;e.f=t?y:function(t,O){if(t=u(t),O=o(O),p)try{return y(t,O)}catch(t){}if(s(t,O))return f(!c(n.f,t,O),t[O])}},2863,[2864,2866,2868,2869,2870,2876,2896,2899]);
|
|
7
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},2864,[2865]);
|
|
8
|
-
__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){try{return!!t()}catch(t){return!0}}},2865,[]);
|
|
9
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=Function.prototype.call;m.exports=t?n.bind(n):function(){return n.apply(n,arguments)}},2866,[2867]);
|
|
10
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=!t(function(){var t=function(){}.bind();return'function'!=typeof t||t.hasOwnProperty('prototype')})},2867,[2865]);
|
|
11
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,c=n&&!t.call({1:2},1);e.f=c?function(t){var c=n(this,t);return!!c&&c.enumerable}:t},2868,[]);
|
|
12
|
-
__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}}},2869,[]);
|
|
13
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);m.exports=function(u){return t(n(u))}},2870,[2871,2874]);
|
|
14
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=r(d[2]),c=Object,o=t(''.split);m.exports=n(function(){return!c('z').propertyIsEnumerable(0)})?function(t){return'String'===u(t)?o(t,''):c(t)}:c},2871,[2872,2865,2873]);
|
|
15
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=Function.prototype,o=t.call,u=n&&t.bind.bind(o,o);m.exports=n?u:function(n){return function(){return o.apply(n,arguments)}}},2872,[2867]);
|
|
16
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=t({}.toString),c=t(''.slice);m.exports=function(t){return c(n(t),8,-1)}},2873,[2872]);
|
|
17
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=TypeError;m.exports=function(o){if(t(o))throw new n("Can't call method on "+o);return o}},2874,[2875]);
|
|
18
|
-
__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(n){return null==n}},2875,[]);
|
|
19
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);m.exports=function(s){var u=t(s,'string');return n(u)?u:u+''}},2876,[2877,2880]);
|
|
20
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=r(d[3]),v=r(d[4]),f=r(d[5]),c=TypeError,p=f('toPrimitive');m.exports=function(f,s){if(!n(f)||o(f))return f;var b,l=u(f,p);if(l){if(void 0===s&&(s='default'),b=t(l,f,s),!n(b)||o(b))return b;throw new c("Can't convert object to primitive value")}return void 0===s&&(s='number'),v(f,s)}},2877,[2866,2878,2880,2887,2890,2891]);
|
|
21
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(n){return'object'==typeof n?null!==n:t(n)}},2878,[2879]);
|
|
22
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t='object'==typeof document&&document.all;m.exports=void 0===t&&void 0!==t?function(n){return'function'==typeof n||n===t}:function(t){return'function'==typeof t}},2879,[]);
|
|
23
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=r(d[2]),u=r(d[3]),c=Object;m.exports=u?function(t){return'symbol'==typeof t}:function(u){var f=t('Symbol');return o(f)&&n(f.prototype,c(u))}},2880,[2881,2879,2882,2883]);
|
|
24
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);m.exports=function(o,u){return arguments.length<2?(c=t[o],n(c)?c:void 0):t[o]&&t[o][u];var c}},2881,[2862,2879]);
|
|
25
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=t({}.isPrototypeOf)},2882,[2872]);
|
|
26
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]);m.exports=o&&!Symbol.sham&&'symbol'==typeof Symbol.iterator},2883,[2884]);
|
|
27
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=r(d[2]).String;m.exports=!!Object.getOwnPropertySymbols&&!o(function(){var o=Symbol('symbol detection');return!n(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&t&&t<41})},2884,[2885,2865,2862]);
|
|
28
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var s,o,t=r(d[0]),c=r(d[1]),n=t.process,v=t.Deno,h=n&&n.versions||v&&v.version,p=h&&h.v8;p&&(o=(s=p.split('.'))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!o&&c&&(!(s=c.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=c.match(/Chrome\/(\d+)/))&&(o=+s[1]),m.exports=o},2885,[2862,2886]);
|
|
29
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]).navigator,n=t&&t.userAgent;m.exports=n?String(n):''},2886,[2862]);
|
|
30
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);m.exports=function(o,u){var c=o[u];return n(c)?void 0:t(c)}},2887,[2888,2875]);
|
|
31
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),o=TypeError;m.exports=function(u){if(n(u))return u;throw new o(t(u)+' is not a function')}},2888,[2879,2889]);
|
|
32
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=String;m.exports=function(n){try{return t(n)}catch(t){return'Object'}}},2889,[]);
|
|
33
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=TypeError;m.exports=function(f,v){var c,s;if('string'===v&&n(c=f.toString)&&!o(s=t(c,f)))return s;if(n(c=f.valueOf)&&!o(s=t(c,f)))return s;if('string'!==v&&n(c=f.toString)&&!o(s=t(c,f)))return s;throw new u("Can't convert object to primitive value")}},2890,[2866,2879,2878]);
|
|
34
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=r(d[2]),u=r(d[3]),s=r(d[4]),c=r(d[5]),f=t.Symbol,S=o('wks'),b=c?f.for||f:f&&f.withoutSetter||u;m.exports=function(t){return n(S,t)||(S[t]=s&&n(f,t)?f[t]:b('Symbol.'+t)),S[t]}},2891,[2862,2892,2896,2898,2884,2883]);
|
|
35
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(n,u){return t[n]||(t[n]=u||{})}},2892,[2893]);
|
|
36
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]),s=r(d[1]),c=r(d[2]),t='__core-js_shared__',h=m.exports=s[t]||c(t,{});(h.versions||(h.versions=[])).push({version:'3.48.0',mode:o?'pure':'global',copyright:'\xa9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.',license:'https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE',source:'https://github.com/zloirock/core-js'})},2893,[2894,2862,2895]);
|
|
37
|
-
__d(function(g,r,i,a,m,e,d){'use strict';m.exports=!1},2894,[]);
|
|
38
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=Object.defineProperty;m.exports=function(n,u){try{c(t,n,{value:u,configurable:!0,writable:!0})}catch(c){t[n]=u}return u}},2895,[2862]);
|
|
39
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=t({}.hasOwnProperty);m.exports=Object.hasOwn||function(t,c){return s(n(t),c)}},2896,[2872,2897]);
|
|
40
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=Object;m.exports=function(c){return n(t(c))}},2897,[2874]);
|
|
41
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=0,o=Math.random(),u=t(1.1.toString);m.exports=function(t){return'Symbol('+(void 0===t?'':t)+')_'+u(++n+o,36)}},2898,[2872]);
|
|
42
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=r(d[2]);m.exports=!t&&!n(function(){return 7!==Object.defineProperty(u('div'),'a',{get:function(){return 7}}).a})},2899,[2864,2865,2900]);
|
|
43
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=t.document,u=n(c)&&n(c.createElement);m.exports=function(t){return u?c.createElement(t):{}}},2900,[2862,2878]);
|
|
44
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),u=r(d[2]);m.exports=n?function(n,c,f){return t.f(n,c,u(1,f))}:function(n,t,u){return n[t]=u,n}},2901,[2864,2902,2869]);
|
|
45
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=r(d[3]),c=r(d[4]),f=TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,b='enumerable',s='configurable',v='writable';e.f=t?o?function(t,n,o){if(u(t),n=c(n),u(o),'function'==typeof t&&'prototype'===n&&'value'in o&&v in o&&!o[v]){var f=p(t,n);f&&f[v]&&(t[n]=o.value,o={configurable:s in o?o[s]:f[s],enumerable:b in o?o[b]:f[b],writable:!1})}return l(t,n,o)}:l:function(t,o,p){if(u(t),o=c(o),u(p),n)try{return l(t,o,p)}catch(t){}if('get'in p||'set'in p)throw new f('Accessors not supported');return'value'in p&&(t[o]=p.value),t}},2902,[2864,2899,2903,2904,2876]);
|
|
46
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]);m.exports=t&&o(function(){return 42!==Object.defineProperty(function(){},'prototype',{value:42,writable:!1}).prototype})},2903,[2864,2865]);
|
|
47
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=String,o=TypeError;m.exports=function(c){if(t(c))return c;throw new o(n(c)+' is not an object')}},2904,[2878]);
|
|
48
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),l=r(d[1]),t=r(d[2]),u=r(d[3]);m.exports=function(o,b,f,c){c||(c={});var s=c.enumerable,v=void 0!==c.name?c.name:b;if(n(f)&&t(f,v,c),c.global)s?o[b]=f:u(b,f);else{try{c.unsafe?o[b]&&(s=!0):delete o[b]}catch(n){}s?o[b]=f:l.f(o,b,{value:f,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return o}},2905,[2879,2902,2906,2895]);
|
|
49
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),c=r(d[3]),u=r(d[4]),s=r(d[5]).CONFIGURABLE,l=r(d[6]),p=r(d[7]),y=p.enforce,f=p.get,h=String,S=Object.defineProperty,v=t(''.slice),b=t(''.replace),j=t([].join),F=u&&!n(function(){return 8!==S(function(){},'length',{value:8}).length}),O=String(String).split('String'),$=m.exports=function(t,n,o){'Symbol('===v(h(n),0,7)&&(n='['+b(h(n),/^Symbol\(([^)]*)\).*$/,'$1')+']'),o&&o.getter&&(n='get '+n),o&&o.setter&&(n='set '+n),(!c(t,'name')||s&&t.name!==n)&&(u?S(t,'name',{value:n,configurable:!0}):t.name=n),F&&o&&c(o,'arity')&&t.length!==o.arity&&S(t,'length',{value:o.arity});try{o&&c(o,'constructor')&&o.constructor?u&&S(t,'prototype',{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var l=y(t);return c(l,'source')||(l.source=j(O,'string'==typeof n?n:'')),t};Function.prototype.toString=$(function(){return o(this)&&f(this).source||l(this)},'toString')},2906,[2872,2865,2879,2896,2864,2907,2908,2909]);
|
|
50
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=Function.prototype,c=t&&Object.getOwnPropertyDescriptor,p=n(o,'name'),s=p&&'something'===function(){}.name,u=p&&(!t||t&&c(o,'name').configurable);m.exports={EXISTS:p,PROPER:s,CONFIGURABLE:u}},2907,[2864,2896]);
|
|
51
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=r(d[2]),o=t(Function.toString);n(c.inspectSource)||(c.inspectSource=function(t){return o(t)}),m.exports=c.inspectSource},2908,[2872,2879,2893]);
|
|
52
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t,n,u,o=r(d[0]),c=r(d[1]),f=r(d[2]),s=r(d[3]),h=r(d[4]),w=r(d[5]),p=r(d[6]),v=r(d[7]),l='Object already initialized',y=c.TypeError,b=c.WeakMap;if(o||w.state){var _=w.state||(w.state=new b);_.get=_.get,_.has=_.has,_.set=_.set,t=function(t,n){if(_.has(t))throw new y(l);return n.facade=t,_.set(t,n),n},n=function(t){return _.get(t)||{}},u=function(t){return _.has(t)}}else{var j=p('state');v[j]=!0,t=function(t,n){if(h(t,j))throw new y(l);return n.facade=t,s(t,j,n),n},n=function(t){return h(t,j)?t[j]:{}},u=function(t){return h(t,j)}}m.exports={set:t,get:n,has:u,enforce:function(o){return u(o)?n(o):t(o,{})},getterFor:function(t){return function(u){var o;if(!f(u)||(o=n(u)).type!==t)throw new y('Incompatible receiver, '+t+' required');return o}}}},2909,[2910,2862,2878,2901,2896,2893,2911,2912]);
|
|
53
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=t.WeakMap;m.exports=n(s)&&/native code/.test(String(s))},2910,[2862,2879]);
|
|
54
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=t('keys');m.exports=function(t){return s[t]||(s[t]=n(t))}},2911,[2892,2898]);
|
|
55
|
-
__d(function(g,r,i,a,m,e,d){'use strict';m.exports={}},2912,[]);
|
|
56
|
-
__d(function(g,r,_i,a,m,e,d){'use strict';var t=r(d[0]),f=r(d[1]),n=r(d[2]),o=r(d[3]);m.exports=function(c,i,s){for(var u=f(i),v=o.f,_=n.f,h=0;h<u.length;h++){var l=u[h];t(c,l)||s&&t(s,l)||v(c,l,_(i,l))}}},2913,[2896,2914,2863,2902]);
|
|
57
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=r(d[2]),f=r(d[3]),o=r(d[4]),s=n([].concat);m.exports=t('Reflect','ownKeys')||function(t){var n=c.f(o(t)),u=f.f;return u?s(n,u(t)):n}},2914,[2881,2872,2915,2924,2904]);
|
|
58
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]).concat('length','prototype');e.f=Object.getOwnPropertyNames||function(c){return t(c,n)}},2915,[2916,2923]);
|
|
59
|
-
__d(function(g,r,_i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),f=r(d[2]),i=r(d[3]).indexOf,o=r(d[4]),u=n([].push);m.exports=function(n,s){var c,h=f(n),p=0,v=[];for(c in h)!t(o,c)&&t(h,c)&&u(v,c);for(;s.length>p;)t(h,c=s[p++])&&(~i(v,c)||u(v,c));return v}},2916,[2872,2896,2870,2917,2912]);
|
|
60
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),f=r(d[2]),u=function(u){return function(o,c,s){var v=n(o),l=f(v);if(0===l)return!u&&-1;var x,_=t(s,l);if(u&&c!=c){for(;l>_;)if((x=v[_++])!=x)return!0}else for(;l>_;_++)if((u||_ in v)&&v[_]===c)return u||_||0;return!u&&-1}};m.exports={includes:u(!0),indexOf:u(!1)}},2917,[2870,2918,2921]);
|
|
61
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=Math.max,u=Math.min;m.exports=function(c,o){var s=t(c);return s<0?n(s+o,0):u(s,o)}},2918,[2919]);
|
|
62
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(n){var u=+n;return u!=u||0===u?0:t(u)}},2919,[2920]);
|
|
63
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=Math.ceil,n=Math.floor;m.exports=Math.trunc||function(c){var o=+c;return(o>0?n:t)(o)}},2920,[]);
|
|
64
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(n){return t(n.length)}},2921,[2922]);
|
|
65
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=Math.min;m.exports=function(u){var c=t(u);return c>0?n(c,9007199254740991):0}},2922,[2919]);
|
|
66
|
-
__d(function(g,r,i,a,m,e,d){'use strict';m.exports=['constructor','hasOwnProperty','isPrototypeOf','propertyIsEnumerable','toLocaleString','toString','valueOf']},2923,[]);
|
|
67
|
-
__d(function(g,r,i,a,m,e,d){'use strict';e.f=Object.getOwnPropertySymbols},2924,[]);
|
|
68
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=/#|\.prototype\./,u=function(o,u){var f=p[c(o)];return f===L||f!==s&&(n(u)?t(u):!!u)},c=u.normalize=function(t){return String(t).replace(o,'.').toLowerCase()},p=u.data={},s=u.NATIVE='N',L=u.POLYFILL='P';m.exports=u},2925,[2865,2879]);
|
|
69
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports='NODE'===t},2926,[2927]);
|
|
70
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]),n=r(d[1]),s=r(d[2]),t=function(o){return n.slice(0,o.length)===o};m.exports=t('Bun/')?'BUN':t('Cloudflare-Workers')?'CLOUDFLARE':t('Deno/')?'DENO':t('Node.js/')?'NODE':o.Bun&&'string'==typeof Bun.version?'BUN':o.Deno&&'object'==typeof Deno.version?'DENO':'process'===s(o.process)?'NODE':o.window&&o.document?'BROWSER':'REST'},2927,[2862,2886,2873]);
|
|
71
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=t},2928,[2862]);
|
|
72
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),_=r(d[2]),n=r(d[3]);m.exports=Object.setPrototypeOf||('__proto__'in{}?(function(){var c,p=!1,s={};try{(c=t(Object.prototype,'__proto__','set'))(s,[]),p=s instanceof Array}catch(t){}return function(t,s){return _(t),n(s),o(t)?(p?c(t,s):t.__proto__=s,t):t}})():void 0)},2929,[2930,2878,2874,2931]);
|
|
73
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]);m.exports=function(n,o,s){try{return t(c(Object.getOwnPropertyDescriptor(n,o)[s]))}catch(t){}}},2930,[2872,2888]);
|
|
74
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=String,o=TypeError;m.exports=function(s){if(t(s))return s;throw new o("Can't set "+n(s)+' as a prototype')}},2931,[2932]);
|
|
75
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);m.exports=function(t){return n(t)||null===t}},2932,[2878]);
|
|
76
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]).f,o=r(d[1]),n=r(d[2])('toStringTag');m.exports=function(u,c,f){u&&!f&&(u=u.prototype),u&&!o(u,n)&&t(u,n,{configurable:!0,value:c})}},2933,[2902,2896,2891]);
|
|
77
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=r(d[2]),s=r(d[3]),u=c('species');m.exports=function(c){var o=t(c);s&&o&&!o[u]&&n(o,u,{configurable:!0,get:function(){return this}})}},2934,[2881,2935,2891,2864]);
|
|
78
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]);m.exports=function(n,u,c){return c.get&&t(c.get,u,{getter:!0}),c.set&&t(c.set,u,{setter:!0}),s.f(n,u,c)}},2935,[2906,2902]);
|
|
79
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=TypeError;m.exports=function(o,c){if(n(c,o))return o;throw new t('Incorrect invocation')}},2936,[2882]);
|
|
80
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]),n=r(d[2]),o=r(d[3])('species');m.exports=function(s,u){var v,f=t(s).constructor;return void 0===f||n(v=t(f)[o])?u:c(v)}},2937,[2904,2938,2875,2891]);
|
|
81
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=TypeError;m.exports=function(c){if(t(c))return c;throw new o(n(c)+' is not a constructor')}},2938,[2939,2889]);
|
|
82
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=r(d[2]),u=r(d[3]),s=r(d[4]),o=r(d[5]),f=function(){},h=s('Reflect','construct'),l=/^\s*(?:class|function)\b/,y=t(l.exec),F=!l.test(f),b=function(t){if(!c(t))return!1;try{return h(f,[],t),!0}catch(t){return!1}},v=function(t){if(!c(t))return!1;switch(u(t)){case'AsyncFunction':case'GeneratorFunction':case'AsyncGeneratorFunction':return!1}try{return F||!!y(l,o(t))}catch(t){return!0}};v.sham=!0,m.exports=!h||n(function(){var t;return b(b.call)||!b(Object)||!b(function(){t=!0})||t})?v:b},2939,[2872,2865,2879,2940,2881,2908]);
|
|
83
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=r(d[2]),c=r(d[3])('toStringTag'),o=Object,f='Arguments'===u((function(){return arguments})()),l=function(t,n){try{return t[n]}catch(t){}};m.exports=t?u:function(t){var s,v,b;return void 0===t?'Undefined':null===t?'Null':'string'==typeof(v=l(s=o(t),c))?v:f?u(s):'Object'===(b=u(s))&&n(s.callee)?'Arguments':b}},2940,[2941,2879,2873,2891]);
|
|
84
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t={};t[r(d[0])('toStringTag')]='z',m.exports='[object z]'===String(t)},2941,[2891]);
|
|
85
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t,n,o,s,c=r(d[0]),u=r(d[1]),f=r(d[2]),p=r(d[3]),l=r(d[4]),h=r(d[5]),v=r(d[6]),M=r(d[7]),w=r(d[8]),C=r(d[9]),x=r(d[10]),E=r(d[11]),I=c.setImmediate,L=c.clearImmediate,S=c.process,T=c.Dispatch,_=c.Function,k=c.MessageChannel,y=c.String,D=0,F={},b='onreadystatechange';h(function(){t=c.location});var j=function(t){if(l(F,t)){var n=F[t];delete F[t],n()}},q=function(t){return function(){j(t)}},z=function(t){j(t.data)},A=function(n){c.postMessage(y(n),t.protocol+'//'+t.host)};I&&L||(I=function(t){C(arguments.length,1);var o=p(t)?t:_(t),s=M(arguments,1);return F[++D]=function(){u(o,void 0,s)},n(D),D},L=function(t){delete F[t]},E?n=function(t){S.nextTick(q(t))}:T&&T.now?n=function(t){T.now(q(t))}:k&&!x?(s=(o=new k).port2,o.port1.onmessage=z,n=f(s.postMessage,s)):c.addEventListener&&p(c.postMessage)&&!c.importScripts&&t&&'file:'!==t.protocol&&!h(A)?(n=A,c.addEventListener('message',z,!1)):n=b in w('script')?function(t){v.appendChild(w('script'))[b]=function(){v.removeChild(this),j(t)}}:function(t){setTimeout(q(t),0)}),m.exports={set:I,clear:L}},2942,[2862,2943,2944,2879,2896,2865,2946,2947,2900,2948,2949,2926]);
|
|
86
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),p=Function.prototype,c=p.apply,n=p.call;m.exports='object'==typeof Reflect&&Reflect.apply||(t?n.bind(c):function(){return n.apply(c,arguments)})},2943,[2867]);
|
|
87
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),u=r(d[2]),o=n(n.bind);m.exports=function(n,c){return t(n),void 0===c?n:u?o(n,c):function(){return n.apply(c,arguments)}}},2944,[2945,2888,2867]);
|
|
88
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]);m.exports=function(u){if('Function'===n(u))return t(u)}},2945,[2873,2872]);
|
|
89
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=t('document','documentElement')},2946,[2881]);
|
|
90
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var s=r(d[0]);m.exports=s([].slice)},2947,[2872]);
|
|
91
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=TypeError;m.exports=function(n,o){if(n<o)throw new t('Not enough arguments');return n}},2948,[]);
|
|
92
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)},2949,[2886]);
|
|
93
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t,n,o,c,s,u=r(d[0]),f=r(d[1]),v=r(d[2]),h=r(d[3]).set,b=r(d[4]),x=r(d[5]),w=r(d[6]),M=r(d[7]),k=r(d[8]),l=u.MutationObserver||u.WebKitMutationObserver,p=u.document,O=u.process,T=u.Promise,_=f('queueMicrotask');if(!_){var q=new b,y=function(){var n,o;for(k&&(n=O.domain)&&n.exit();o=q.get();)try{o()}catch(n){throw q.head&&t(),n}n&&n.enter()};x||k||M||!l||!p?!w&&T&&T.resolve?((c=T.resolve(void 0)).constructor=T,s=v(c.then,c),t=function(){s(y)}):k?t=function(){O.nextTick(y)}:(h=v(h,u),t=function(){h(y)}):(n=!0,o=p.createTextNode(''),new l(y).observe(o,{characterData:!0}),t=function(){o.data=n=!n}),_=function(n){q.head||t(),q.add(n)}}m.exports=_},2950,[2862,2951,2944,2942,2952,2949,2953,2954,2926]);
|
|
94
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=Object.getOwnPropertyDescriptor;m.exports=function(c){if(!n)return t[c];var o=u(t,c);return o&&o.value}},2951,[2862,2864]);
|
|
95
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=function(){this.head=null,this.tail=null};t.prototype={add:function(t){var n={item:t,next:null},l=this.tail;l?l.next=n:this.head=n,this.tail=n},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},m.exports=t},2952,[]);
|
|
96
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=/ipad|iphone|ipod/i.test(t)&&'undefined'!=typeof Pebble},2953,[2886]);
|
|
97
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=/web0s(?!.*chrome)/i.test(t)},2954,[2886]);
|
|
98
|
-
__d(function(g,r,i,_a,m,e,d){'use strict';m.exports=function(o,t){try{1===arguments.length?console.error(o):console.error(o,t)}catch(o){}}},2955,[]);
|
|
99
|
-
__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},2956,[]);
|
|
100
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var s=r(d[0]);m.exports=s.Promise},2957,[2862]);
|
|
101
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),o=r(d[2]),c=r(d[3]),f=r(d[4]),u=r(d[5]),s=r(d[6]),E=r(d[7]),R=r(d[8]),S=t&&t.prototype,v=u('species'),N=!1,O=o(n.PromiseRejectionEvent),p=c('Promise',function(){var n=f(t),o=n!==String(t);if(!o&&66===R)return!0;if(E&&(!S.catch||!S.finally))return!0;if(!R||R<51||!/native code/.test(n)){var c=new t(function(n){n(1)}),u=function(n){n(function(){},function(){})};if((c.constructor={})[v]=u,!(N=c.then(function(){})instanceof u))return!0}return!(o||'BROWSER'!==s&&'DENO'!==s||O)});m.exports={CONSTRUCTOR:p,REJECTION_EVENT:O,SUBCLASSING:N}},2958,[2862,2957,2879,2925,2908,2891,2927,2894,2885]);
|
|
102
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=TypeError,n=function(n){var s,c;this.promise=new n(function(t,n){if(void 0!==s||void 0!==c)throw new o('Bad Promise constructor');s=t,c=n}),this.resolve=t(s),this.reject=t(c)};m.exports.f=function(t){return new n(t)}},2959,[2888]);
|
|
103
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),c=r(d[3]),s=r(d[4]),u=r(d[5]);t({target:'Promise',stat:!0,forced:r(d[6])},{all:function(t){var f=this,v=c.f(f),l=v.resolve,h=v.reject,_=s(function(){var c=o(f.resolve),s=[],v=0,_=1;u(t,function(t){var o=v++,u=!1;_++,n(c,f,t).then(function(t){u||(u=!0,s[o]=t,--_||l(s))},h)}),--_||l(s)});return _.error&&h(_.value),v.promise}})},2960,[2861,2866,2888,2959,2956,2961,2967]);
|
|
104
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),f=r(d[3]),u=r(d[4]),s=r(d[5]),c=r(d[6]),p=r(d[7]),E=r(d[8]),R=r(d[9]),h=TypeError,l=function(t,n){this.stopped=t,this.result=n},w=l.prototype;m.exports=function(T,I,_){var y,S,v,x,b,A,D,N=_&&_.that,O=!(!_||!_.AS_ENTRIES),j=!(!_||!_.IS_RECORD),C=!(!_||!_.IS_ITERATOR),P=!(!_||!_.INTERRUPTED),U=t(I,N),k=function(t){return y&&R(y,'normal'),new l(!0,t)},q=function(t){return O?(o(t),P?U(t[0],t[1],k):U(t[0],t[1])):P?U(t,k):U(t)};if(j)y=T.iterator;else if(C)y=T;else{if(!(S=E(T)))throw new h(f(T)+' is not iterable');if(u(S)){for(v=0,x=s(T);x>v;v++)if((b=q(T[v]))&&c(w,b))return b;return new l(!1)}y=p(T,S)}for(A=j?T.next:y.next;!(D=n(A,y)).done;){try{b=q(D.value)}catch(t){R(y,'throw',t)}if('object'==typeof b&&b&&c(w,b))return b}return new l(!1)}},2961,[2944,2866,2904,2889,2962,2921,2882,2964,2965,2966]);
|
|
105
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=t('iterator'),u=Array.prototype;m.exports=function(t){return void 0!==t&&(o.Array===t||u[n]===t)}},2962,[2891,2963]);
|
|
106
|
-
__d(function(g,r,i,a,m,e,d){'use strict';m.exports={}},2963,[]);
|
|
107
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),u=r(d[4]),c=TypeError;m.exports=function(f,h){var l=arguments.length<2?u(f):h;if(n(l))return o(t(l,f));throw new c(s(f)+' is not iterable')}},2964,[2866,2888,2904,2889,2965]);
|
|
108
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=r(d[3]),c=r(d[4])('iterator');m.exports=function(f){if(!o(f))return n(f,c)||n(f,'@@iterator')||u[t(f)]}},2965,[2940,2887,2875,2963,2891]);
|
|
109
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=r(d[2]);m.exports=function(f,h,u){var c,w;o(f);try{if(!(c=n(f,'return'))){if('throw'===h)throw u;return u}c=t(c,f)}catch(t){w=!0,c=t}if('throw'===h)throw u;if(w)throw c;return o(c),u}},2966,[2866,2904,2887]);
|
|
110
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),o=r(d[2]).CONSTRUCTOR;m.exports=o||!t(function(t){n.all(t).then(void 0,function(){})})},2967,[2957,2968,2958]);
|
|
111
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])('iterator'),n=!1;try{var u=0,c={next:function(){return{done:!!u++}},return:function(){n=!0}};c[t]=function(){return this},Array.from(c,function(){throw 2})}catch(t){}m.exports=function(u,c){try{if(!c&&!n)return!1}catch(t){return!1}var o=!1;try{var f={};f[t]=function(){return{next:function(){return{done:o=!0}}}},u(f)}catch(t){}return o}},2968,[2891]);
|
|
112
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]),o=r(d[2]).CONSTRUCTOR,n=r(d[3]),h=r(d[4]),s=r(d[5]),f=r(d[6]),p=n&&n.prototype;if(t({target:'Promise',proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!c&&s(n)){var u=h('Promise').prototype.catch;p.catch!==u&&f(p,'catch',u,{unsafe:!0})}},2969,[2861,2894,2958,2957,2881,2879,2905]);
|
|
113
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),c=r(d[3]),s=r(d[4]),u=r(d[5]);t({target:'Promise',stat:!0,forced:r(d[6])},{race:function(t){var f=this,v=c.f(f),l=v.reject,h=s(function(){var c=o(f.resolve);u(t,function(t){n(c,f,t).then(v.resolve,l)})});return h.error&&l(h.value),v.promise}})},2970,[2861,2866,2888,2959,2956,2961,2967]);
|
|
114
|
-
__d(function(g,_r,i,a,m,e,d){'use strict';var t=_r(d[0]),r=_r(d[1]);t({target:'Promise',stat:!0,forced:_r(d[2]).CONSTRUCTOR},{reject:function(t){var c=r.f(this);return(0,c.reject)(t),c.promise}})},2971,[2861,2959,2958]);
|
|
115
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]),o=r(d[2]),n=r(d[3]),c=r(d[4]).CONSTRUCTOR,u=r(d[5]),f=s('Promise'),h=o&&!c;t({target:'Promise',stat:!0,forced:o||c},{resolve:function(t){return u(h&&this===f?n:this,t)}})},2972,[2861,2881,2894,2957,2958,2973]);
|
|
116
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]);m.exports=function(s,u){if(t(s),n(u)&&u.constructor===s)return u;var c=o.f(s);return(0,c.resolve)(u),c.promise}},2973,[2904,2878,2959]);
|
|
117
|
-
__d(function(g,_r,_i,_a,m,_e,d){"use strict";function e(e,n,t,r,o,u,i){try{var c=e[u](i),f=c.value}catch(e){return void t(e)}c.done?n(f):Promise.resolve(f).then(r,o)}function n(n){return function(){var t=this,r=arguments;return new Promise(function(o,u){var i=n.apply(t,r);function c(n){e(i,o,u,c,f,"next",n)}function f(n){e(i,o,u,c,f,"throw",n)}c(void 0)})}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return n}})},2974,[]);
|
|
118
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),u=r(d[2]),v=r(d[3]),f=r(d[4]),l=r(d[5]),o=r(d[6]),s=r(d[7]),c=r(d[8]),x=r(d[9]),h=r(d[10]),I=r(d[11]),_=t(''.indexOf);u('match',function(t,u,p){return[function(u){var v=s(this),l=f(u)?c(u,t):void 0;return l?n(l,u,v):new RegExp(u)[t](o(v))},function(n){var t=v(this),f=o(n),s=p(u,t,f);if(s.done)return s.value;var c=o(h(t));if(-1===_(c,'g'))return I(t,f);var w=-1!==_(c,'u');t.lastIndex=0;for(var E,O=[],R=0;null!==(E=I(t,f));){var b=o(E[0]);O[R]=b,''===b&&(t.lastIndex=x(f,l(t.lastIndex),w)),R++}return 0===R?null:O}]})},2975,[2866,2872,2976,2904,2878,2922,2979,2874,2887,2987,2989,2991]);
|
|
119
|
-
__d(function(g,r,i,a,m,e,d){'use strict';r(d[0]);var n=r(d[1]),t=r(d[2]),u=r(d[3]),o=r(d[4]),c=r(d[5]),f=r(d[6]),s=c('species'),v=RegExp.prototype;m.exports=function(p,l,x,y){var _=c(p),h=!o(function(){var n={};return n[_]=function(){return 7},7!==''[p](n)}),E=h&&!o(function(){var n=!1,t=/a/;if('split'===p){var u={};u[s]=function(){return t},(t={constructor:u,flags:''})[_]=/./[_]}return t.exec=function(){return n=!0,null},t[_](''),!n});if(!h||!E||x){var R=/./[_],S=l(_,''[p],function(t,o,c,f,s){var p=o.exec;return p===u||p===v.exec?h&&!s?{done:!0,value:n(R,o,c,f)}:{done:!0,value:n(t,c,o,f)}:{done:!1}});t(String.prototype,p,S[0]),t(v,_,S[1])}y&&f(v[_],'sham',!0)}},2976,[2977,2866,2905,2978,2865,2891,2901]);
|
|
120
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]);t({target:'RegExp',proto:!0,forced:/./.exec!==c},{exec:c})},2977,[2861,2978]);
|
|
121
|
-
__d(function(g,r,_i,a,m,e,d){'use strict';var t,n,l=r(d[0]),s=r(d[1]),i=r(d[2]),x=r(d[3]),o=r(d[4]),p=r(d[5]),u=r(d[6]),I=r(d[7]).get,c=r(d[8]),f=r(d[9]),h=p('native-string-replace',String.prototype.replace),v=RegExp.prototype.exec,E=v,R=s(''.charAt),y=s(''.indexOf),w=s(''.replace),_=s(''.slice),b=(n=/b*/g,l(v,t=/a/,'a'),l(v,n,'a'),0!==t.lastIndex||0!==n.lastIndex),A=o.BROKEN_CARET,O=void 0!==/()??/.exec('')[1];(b||O||A||c||f)&&(E=function(t){var n,s,o,p,c,f,k,B=this,C=I(B),K=i(t),N=C.raw;if(N)return N.lastIndex=B.lastIndex,n=l(E,N,K),B.lastIndex=N.lastIndex,n;var S=C.groups,T=A&&B.sticky,$=l(x,B),j=B.source,q=0,z=K;if(T&&($=w($,'y',''),-1===y($,'g')&&($+='g'),z=_(K,B.lastIndex),B.lastIndex>0&&(!B.multiline||B.multiline&&'\n'!==R(K,B.lastIndex-1))&&(j='(?: '+j+')',z=' '+z,q++),s=new RegExp('^(?:'+j+')',$)),O&&(s=new RegExp('^'+j+'$(?!\\s)',$)),b&&(o=B.lastIndex),p=l(v,T?s:B,z),T?p?(p.input=_(p.input,q),p[0]=_(p[0],q),p.index=B.lastIndex,B.lastIndex+=p[0].length):B.lastIndex=0:b&&p&&(B.lastIndex=B.global?p.index+p[0].length:o),O&&p&&p.length>1&&l(h,p[0],s,function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(p[c]=void 0)}),p&&S)for(p.groups=f=u(null),c=0;c<S.length;c++)f[(k=S[c])[0]]=p[k[1]];return p}),m.exports=E},2978,[2866,2872,2979,2980,2981,2892,2982,2909,2985,2986]);
|
|
122
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=String;m.exports=function(o){if('Symbol'===t(o))throw new TypeError('Cannot convert a Symbol value to a string');return n(o)}},2979,[2940]);
|
|
123
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(){var n=t(this),s='';return n.hasIndices&&(s+='d'),n.global&&(s+='g'),n.ignoreCase&&(s+='i'),n.multiline&&(s+='m'),n.dotAll&&(s+='s'),n.unicode&&(s+='u'),n.unicodeSets&&(s+='v'),n.sticky&&(s+='y'),s}},2980,[2904]);
|
|
124
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]).RegExp,u=n(function(){var n=t('a','y');return n.lastIndex=2,null!==n.exec('abcd')}),c=u||n(function(){return!t('a','y').sticky}),s=u||n(function(){var n=t('^r','gy');return n.lastIndex=2,null!==n.exec('str')});m.exports={BROKEN_CARET:s,MISSED_STICKY:c,UNSUPPORTED_Y:u}},2981,[2865,2862]);
|
|
125
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t,n=r(d[0]),c=r(d[1]),o=r(d[2]),u=r(d[3]),l=r(d[4]),f=r(d[5]),p=r(d[6]),s='prototype',v=p('IE_PROTO'),w=function(){},O=function(t){return"<script>"+t+"<\/script>"},j=function(t){t.write(O('')),t.close();var n=t.parentWindow.Object;return t=null,n},y=function(){try{t=new ActiveXObject('htmlfile')}catch(t){}var n,c;y='undefined'!=typeof document?document.domain&&t?j(t):((c=f('iframe')).style.display='none',l.appendChild(c),c.src=String("javascript:"),(n=c.contentWindow.document).open(),n.write(O('document.F=Object')),n.close(),n.F):j(t);for(var u=o.length;u--;)delete y[s][o[u]];return y()};u[v]=!0,m.exports=Object.create||function(t,o){var u;return null!==t?(w[s]=n(t),u=new w,w[s]=null,u[v]=t):u=y(),void 0===o?u:c.f(u,o)}},2982,[2904,2983,2923,2912,2946,2900,2911]);
|
|
126
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),f=r(d[2]),c=r(d[3]),o=r(d[4]),u=r(d[5]);e.f=t&&!n?Object.defineProperties:function(t,n){c(t);for(var s,v=o(n),_=u(n),b=_.length,h=0;b>h;)f.f(t,s=_[h++],v[s]);return t}},2983,[2864,2903,2902,2904,2870,2984]);
|
|
127
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);m.exports=Object.keys||function(c){return t(c,n)}},2984,[2916,2923]);
|
|
128
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]).RegExp;m.exports=t(function(){var t=s('.','s');return!(t.dotAll&&t.test('\n')&&'s'===t.flags)})},2985,[2865,2862]);
|
|
129
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var c=r(d[0]),t=r(d[1]).RegExp;m.exports=c(function(){var c=t('(?<a>b)','g');return'b'!==c.exec('b').groups.a||'bc'!=='b'.replace(c,'$<a>c')})},2986,[2865,2862]);
|
|
130
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]).charAt;m.exports=function(n,c,u){return c+(u?t(n,c).length:1)}},2987,[2988]);
|
|
131
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]),n=r(d[2]),o=r(d[3]),u=t(''.charAt),h=t(''.charCodeAt),s=t(''.slice),A=function(t){return function(A,f){var v,l,_=n(o(A)),p=c(f),x=_.length;return p<0||p>=x?t?'':void 0:(v=h(_,p))<55296||v>56319||p+1===x||(l=h(_,p+1))<56320||l>57343?t?u(_,p):v:t?s(_,p,p+2):l-56320+(v-55296<<10)+65536}};m.exports={codeAt:A(!1),charAt:A(!0)}},2988,[2872,2919,2979,2874]);
|
|
132
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]),n=r(d[2]),o=r(d[3]),f=r(d[4]),s=RegExp.prototype;m.exports=o.correct?function(t){return t.flags}:function(u){return o.correct||!n(s,u)||c(u,'flags')?u.flags:t(f,u)}},2989,[2866,2896,2882,2990,2980]);
|
|
133
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=t.RegExp,o=!n(function(){var t=!0;try{c('.','d')}catch(n){t=!1}var n={},o='',s=t?'dgimsy':'gimsy',l=function(t,c){Object.defineProperty(n,t,{get:function(){return o+=c,!0}})},u={dotAll:'s',global:'g',ignoreCase:'i',multiline:'m',sticky:'y'};for(var y in t&&(u.hasIndices='d'),u)l(y,u[y]);return Object.getOwnPropertyDescriptor(c.prototype,'flags').get.call(n)!==s||o!==s});m.exports={correct:o}},2990,[2862,2865]);
|
|
134
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),c=r(d[2]),o=r(d[3]),u=r(d[4]),l=TypeError;m.exports=function(p,x){var f=p.exec;if(c(f)){var v=n(f,p,x);return null!==v&&t(v),v}if('RegExp'===o(p))return n(u,p,x);throw new l('RegExp#exec called on incompatible receiver')}},2991,[2866,2904,2879,2873,2978]);
|
|
135
|
-
__d(function(g,r,_i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),i=r(d[2]),u=r(d[3]),o=r(d[4]),v=r(d[5]),c=r(d[6]),l=r(d[7]),f=r(d[8]),s=r(d[9]),h=r(d[10]),p=r(d[11]),x=r(d[12]),$=r(d[13]),I=r(d[14]),M=r(d[15]),_=r(d[16]),y=r(d[17])('replace'),O=Math.max,S=Math.min,b=i([].concat),j=i([].push),k=i(''.indexOf),q=i(''.slice),w=function(n){return void 0===n?n:String(n)},z='$0'==='a'.replace(/./,'$0'),A=!!/./[y]&&''===/./[y]('a','$0');u('replace',function(i,u,o){var z=A?'$':'$0';return[function(n,i){var o=p(this),v=l(n)?$(n,y):void 0;return v?t(v,n,o,i):t(u,h(o),n,i)},function(t,i){var l=v(this),p=h(t);if('string'==typeof i&&-1===k(i,z)&&-1===k(i,'$<')){var $=o(u,l,p,i);if($.done)return $.value}var y=c(i);y||(i=h(i));var A,B=h(M(l)),C=-1!==k(B,'g');C&&(A=-1!==k(B,'u'),l.lastIndex=0);for(var D,E=[];null!==(D=_(l,p))&&(j(E,D),C);){''===h(D[0])&&(l.lastIndex=x(p,s(l.lastIndex),A))}for(var F='',G=0,H=0;H<E.length;H++){for(var J,K=h((D=E[H])[0]),L=O(S(f(D.index),p.length),0),N=[],P=1;P<D.length;P++)j(N,w(D[P]));var Q=D.groups;if(y){var R=b([K],N,L,p);void 0!==Q&&j(R,Q),J=h(n(i,void 0,R))}else J=I(K,p,L,N,Q,i);L>=G&&(F+=q(p,G,L)+J,G=L+K.length)}return F+q(p,G)}]},!!o(function(){var n=/./;return n.exec=function(){var n=[];return n.groups={a:'7'},n},'7'!==''.replace(n,'$<a>')})||!z||A)},2992,[2943,2866,2872,2976,2865,2904,2879,2878,2919,2922,2979,2874,2987,2887,2993,2989,2991,2891]);
|
|
136
|
-
__d(function(g,r,i,a,_m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=Math.floor,u=t(''.charAt),s=t(''.replace),o=t(''.slice),v=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;_m.exports=function(t,l,$,h,p,_){var b=$+t.length,k=h.length,w=f;return void 0!==p&&(p=n(p),w=v),s(_,w,function(n,s){var v;switch(u(s,0)){case'$':return'$';case'&':return t;case'`':return o(l,0,$);case"'":return o(l,b);case'<':v=p[o(s,1,-1)];break;default:var f=+s;if(0===f)return n;if(f>k){var _=c(f/10);return 0===_?n:_<=k?void 0===h[_-1]?u(s,1):h[_-1]+u(s,1):n}v=h[f-1]}return void 0===v?'':v})}},2993,[2872,2897]);
|
|
137
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t,n=r(d[0]),s=r(d[1]),h=r(d[2]).f,o=r(d[3]),c=r(d[4]),l=r(d[5]),f=r(d[6]),u=r(d[7]),v=r(d[8]),p=s(''.slice),W=Math.min,S=u('startsWith');n({target:'String',proto:!0,forced:!!(v||S||(t=h(String.prototype,'startsWith'),!t||t.writable))&&!S},{startsWith:function(t){var n=c(f(this));l(t);var s=o(W(arguments.length>1?arguments[1]:void 0,n.length)),h=c(t);return p(n,s,s+h.length)===h}})},2994,[2861,2945,2863,2922,2979,2995,2874,2997,2894]);
|
|
138
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=TypeError;m.exports=function(o){if(t(o))throw new n("The method doesn't accept regular expressions");return o}},2995,[2996]);
|
|
139
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=r(d[2])('match');m.exports=function(o){var u;return t(o)&&(void 0!==(u=o[c])?!!u:'RegExp'===n(o))}},2996,[2878,2873,2891]);
|
|
140
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])('match');m.exports=function(c){var n=/./;try{'/./'[c](n)}catch(u){try{return n[t]=!1,'/./'[c](n)}catch(t){}}return!1}},2997,[2891]);
|
|
141
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=r(d[2]),u=r(d[3]),v=r(d[4]).f,c=r(d[5]),l=r(d[6]),y=r(d[7]),o=r(d[8]),f='Array Iterator',h=u.set,A=u.getterFor(f);m.exports=c(Array,'Array',function(n,s){h(this,{type:f,target:t(n),index:0,kind:s})},function(){var t=A(this),n=t.target,s=t.index++;if(!n||s>=n.length)return t.target=null,l(void 0,!0);switch(t.kind){case'keys':return l(s,!1);case'values':return l(n[s],!1)}return l([s,n[s]],!1)},'values');var k=s.Arguments=s.Array;if(n('keys'),n('values'),n('entries'),!y&&o&&'values'!==k.name)try{v(k,'name',{value:'values'})}catch(t){}},2998,[2870,2999,2963,2909,2902,3000,3005,2894,2864]);
|
|
142
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]),n=r(d[1]),t=r(d[2]).f,u=o('unscopables'),c=Array.prototype;void 0===c[u]&&t(c,u,{configurable:!0,value:n(null)}),m.exports=function(o){c[u][o]=!0}},2999,[2891,2982,2902]);
|
|
143
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),u=r(d[4]),c=r(d[5]),f=r(d[6]),p=r(d[7]),y=r(d[8]),R=r(d[9]),h=r(d[10]),l=r(d[11]),A=r(d[12]),I=r(d[13]),v=s.PROPER,w=s.CONFIGURABLE,O=I.IteratorPrototype,_=I.BUGGY_SAFARI_ITERATORS,E=l('iterator'),G='keys',P='values',k='entries',x=function(){return this};m.exports=function(s,l,I,B,F,S,T){c(I,l,B);var U,b,j,C=function(t){if(t===F&&z)return z;if(!_&&t&&t in Y)return Y[t];switch(t){case G:case P:case k:return function(){return new I(this,t)}}return function(){return new I(this)}},L=l+' Iterator',N=!1,Y=s.prototype,q=Y[E]||Y['@@iterator']||F&&Y[F],z=!_&&q||C(F),D='Array'===l&&Y.entries||q;if(D&&(U=f(D.call(new s)))!==Object.prototype&&U.next&&(o||f(U)===O||(p?p(U,O):u(U[E])||h(U,E,x)),y(U,L,!0,!0),o&&(A[L]=x)),v&&F===P&&q&&q.name!==P&&(!o&&w?R(Y,'name',P):(N=!0,z=function(){return n(q,this)})),F)if(b={values:C(P),keys:S?z:C(G),entries:C(k)},T)for(j in b)(_||N||!(j in Y))&&h(Y,j,b[j]);else t({target:l,proto:!0,forced:_||N},b);return o&&!T||Y[E]===z||h(Y,E,z,{name:F}),A[l]=z,b}},3000,[2861,2866,2894,2907,2879,3001,3003,2929,2933,2901,2905,2891,2963,3002]);
|
|
144
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]).IteratorPrototype,o=r(d[1]),n=r(d[2]),u=r(d[3]),c=r(d[4]),p=function(){return this};m.exports=function(s,f,v,x){var y=f+' Iterator';return s.prototype=o(t,{next:n(+!x,v)}),u(s,y,!1,!0),c[y]=p,s}},3001,[3002,2982,2869,2933,2963]);
|
|
145
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t,n,o,c=r(d[0]),s=r(d[1]),u=r(d[2]),p=r(d[3]),y=r(d[4]),_=r(d[5]),f=r(d[6]),A=r(d[7]),I=f('iterator'),R=!1;[].keys&&('next'in(o=[].keys())?(n=y(y(o)))!==Object.prototype&&(t=n):R=!0),!u(t)||c(function(){var n={};return t[I].call(n)!==n})?t={}:A&&(t=p(t)),s(t[I])||_(t,I,function(){return this}),m.exports={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:R}},3002,[2865,2879,2878,2982,3003,2905,2891,2894]);
|
|
146
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=r(d[2]),c=r(d[3]),u=r(d[4]),f=c('IE_PROTO'),p=Object,s=p.prototype;m.exports=u?p.getPrototypeOf:function(c){var u=n(c);if(t(u,f))return u[f];var O=u.constructor;return o(O)&&u instanceof O?O.prototype:u instanceof p?s:null}},3003,[2896,2879,2897,2911,3004]);
|
|
147
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},3004,[2865]);
|
|
148
|
-
__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(n,t){return{value:n,done:t}}},3005,[]);
|
|
149
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),f=r(d[1]),o=r(d[2]),c=r(d[3]),n=r(d[4]),s=r(d[5]),u=r(d[6])('iterator'),v=c.values,y=function(t,o){if(t){if(t[u]!==v)try{n(t,u,v)}catch(f){t[u]=v}if(s(t,o,!0),f[o])for(var y in c)if(t[y]!==c[y])try{n(t,y,c[y])}catch(f){t[y]=c[y]}}};for(var h in f)y(t[h]&&t[h].prototype,h);y(o,'DOMTokenList')},3006,[2862,3007,3008,2998,2901,2933,2891]);
|
|
150
|
-
__d(function(g,r,i,a,m,e,d){'use strict';m.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},3007,[]);
|
|
151
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])('span').classList,o=t&&t.constructor&&t.constructor.prototype;m.exports=o===Object.prototype?void 0:o},3008,[2900]);
|
|
152
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]).left,n=r(d[2]),o=r(d[3]);t({target:'Array',proto:!0,forced:!r(d[4])&&o>79&&o<83||!n('reduce')},{reduce:function(t){var n=arguments.length;return c(this,t,n,n>1?arguments[1]:void 0)}})},3009,[2861,3010,3011,2885,2926]);
|
|
153
|
-
__d(function(g,r,_i,a,m,e,d){'use strict';var i=r(d[0]),t=r(d[1]),n=r(d[2]),f=r(d[3]),o=TypeError,u='Reduce of empty array with no initial value',c=function(c){return function(w,h,v,l){var p=t(w),s=n(p),y=f(p);if(i(h),0===y&&v<2)throw new o(u);var _=c?y-1:0,b=c?-1:1;if(v<2)for(;;){if(_ in s){l=s[_],_+=b;break}if(_+=b,c?_<0:y<=_)throw new o(u)}for(;c?_>=0:y>_;_+=b)_ in s&&(l=h(l,s[_],_,p));return l}};m.exports={left:c(!1),right:c(!0)}},3010,[2888,2897,2871,2921]);
|
|
154
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);m.exports=function(t,u){var c=[][t];return!!c&&n(function(){c.call(null,u||function(){return 1},1)})}},3011,[2865]);
|
|
155
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t,n=r(d[0]),o=r(d[1]),h=r(d[2]).f,s=r(d[3]),c=r(d[4]),l=r(d[5]),v=r(d[6]),f=r(d[7]),u=r(d[8]),p=o(''.slice),W=Math.min,S=f('endsWith');n({target:'String',proto:!0,forced:!!(u||S||(t=h(String.prototype,'endsWith'),!t||t.writable))&&!S},{endsWith:function(t){var n=c(v(this));l(t);var o=arguments.length>1?arguments[1]:void 0,h=n.length,f=void 0===o?h:W(s(o),h),u=c(t);return p(n,f-u.length,f)===u}})},3012,[2861,2945,2863,2922,2979,2995,2874,2997,2894]);
|
|
156
|
-
__d(function(g,r,_i,a,m,_e,d){'use strict';var t=r(d[0]),n=r(d[1]),e=r(d[2]),i=r(d[3]),l=r(d[4]),u=r(d[5]),s=r(d[6]),h=r(d[7]),o=r(d[8]),c=r(d[9]),f=r(d[10]),v=r(d[11]),p=r(d[12]),b=r(d[13]),x=p.UNSUPPORTED_Y,_=Math.min,y=n([].push),E=n(''.slice),I=!b(function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e='ab'.split(t);return 2!==e.length||'a'!==e[0]||'b'!==e[1]}),P='c'==='abbc'.split(/(b)*/)[1]||4!=='test'.split(/(?:)/,-1).length||2!=='ab'.split(/(?:ab)*/).length||4!=='.'.split(/(.?)(.?)/).length||'.'.split(/()()/).length>1||''.split(/.?/).length;e('split',function(n,e,p){var b='0'.split(void 0,0).length?function(n,i){return void 0===n&&0===i?[]:t(e,this,n,i)}:e;return[function(e,i){var s=u(this),h=l(e)?f(e,n):void 0;return h?t(h,e,s,i):t(b,c(s),e,i)},function(t,n){var l=i(this),u=c(t);if(!P){var f=p(b,l,u,n,b!==e);if(f.done)return f.value}var I=s(l,RegExp),R=l.unicode,U=(l.ignoreCase?'i':'')+(l.multiline?'m':'')+(l.unicode?'u':'')+(x?'g':'y'),w=new I(x?'^(?:'+l.source+')':l,U),C=void 0===n?4294967295:n>>>0;if(0===C)return[];if(0===u.length)return null===v(w,u)?[u]:[];for(var D=0,M=0,N=[];M<u.length;){w.lastIndex=x?0:M;var O,S=v(w,x?E(u,M):u);if(null===S||(O=_(o(w.lastIndex+(x?M:0)),u.length))===D)M=h(u,M,R);else{if(y(N,E(u,D,M)),N.length===C)return N;for(var T=1;T<=S.length-1;T++)if(y(N,S[T]),N.length===C)return N;M=D=O}}return y(N,E(u,D)),N}]},P||!I,x)},3013,[2866,2872,2976,2904,2878,2874,2937,2987,2922,2979,2887,2991,2981,2865]);
|
|
157
|
-
__d(function(g,r,_i,a,m,_e,d){for(var n=r(d[0]),e='undefined'==typeof window?g:window,t=['moz','webkit'],c='AnimationFrame',i=e.requestAnimationFrame,l=e.cancelAnimationFrame||e.cancelRequestAnimationFrame,o=0;!i&&o<t.length;o++)i=e[t[o]+'Request'+c],l=e[t[o]+'Cancel'+c]||e[t[o]+'CancelRequest'+c];if(!i||!l){var u=0,f=0,h=[];i=function(e){if(0===h.length){var t=n(),c=Math.max(0,16.666666666666668-(t-u));u=c+t,setTimeout(function(){var n=h.slice(0);h.length=0;for(var e=0;e<n.length;e++)if(!n[e].cancelled)try{n[e].callback(u)}catch(n){setTimeout(function(){throw n},0)}},Math.round(c))}return h.push({handle:++f,callback:e,cancelled:!1}),f},l=function(n){for(var e=0;e<h.length;e++)h[e].handle===n&&(h[e].cancelled=!0)}}m.exports=function(n){return i.call(e,n)},m.exports.cancel=function(){l.apply(e,arguments)},m.exports.polyfill=function(n){n||(n=e),n.requestAnimationFrame=i,n.cancelAnimationFrame=l}},3014,[3015]);
|
|
158
|
-
__d(function(g,r,i,a,m,e,d){(function(){var n,t,o,c,u,p;"undefined"!=typeof performance&&null!==performance&&performance.now?m.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(m.exports=function(){return(n()-u)/1e6},t=process.hrtime,c=(n=function(){var n;return 1e9*(n=t())[0]+n[1]})(),p=1e9*process.uptime(),u=c-p):Date.now?(m.exports=function(){return Date.now()-o},o=Date.now()):(m.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)},3015,[]);
|
|
159
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]).trim;t({target:'String',proto:!0,forced:r(d[2])('trim')},{trim:function(){return n(this)}})},3016,[2861,3017,3019]);
|
|
160
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=r(d[2]),c=r(d[3]),o=t(''.replace),p=RegExp('^['+c+']+'),s=RegExp('(^|[^'+c+'])['+c+']+$'),f=function(t){return function(c){var f=u(n(c));return 1&t&&(f=o(f,p,'')),2&t&&(f=o(f,s,'$1')),f}};m.exports={start:f(1),end:f(2),trim:f(3)}},3017,[2872,2874,2979,3018]);
|
|
161
|
-
__d(function(g,r,i,a,m,e,d){'use strict';m.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},3018,[]);
|
|
162
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]).PROPER,t=r(d[1]),u=r(d[2]);m.exports=function(c){return t(function(){return!!u[c]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[c]()||n&&u[c].name!==c})}},3019,[2907,2865,3018]);
|
|
163
|
-
__d(function(_g,_r,_i,a,m,_e,d){m.exports=function(e){this.ok=!1,this.alpha=1,'#'==e.charAt(0)&&(e=e.substr(1,6)),e=(e=e.replace(/ /g,'')).toLowerCase();var f={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',darkgreen:'006400',darkkhaki:'bdb76b',darkmagenta:'8b008b',darkolivegreen:'556b2f',darkorange:'ff8c00',darkorchid:'9932cc',darkred:'8b0000',darksalmon:'e9967a',darkseagreen:'8fbc8f',darkslateblue:'483d8b',darkslategray:'2f4f4f',darkturquoise:'00ced1',darkviolet:'9400d3',deeppink:'ff1493',deepskyblue:'00bfff',dimgray:'696969',dodgerblue:'1e90ff',feldspar:'d19275',firebrick:'b22222',floralwhite:'fffaf0',forestgreen:'228b22',fuchsia:'ff00ff',gainsboro:'dcdcdc',ghostwhite:'f8f8ff',gold:'ffd700',goldenrod:'daa520',gray:'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',lightgrey:'d3d3d3',lightgreen:'90ee90',lightpink:'ffb6c1',lightsalmon:'ffa07a',lightseagreen:'20b2aa',lightskyblue:'87cefa',lightslateblue:'8470ff',lightslategray:'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',snow:'fffafa',springgreen:'00ff7f',steelblue:'4682b4',tan:'d2b48c',teal:'008080',thistle:'d8bfd8',tomato:'ff6347',turquoise:'40e0d0',violet:'ee82ee',violetred:'d02090',wheat:'f5deb3',white:'ffffff',whitesmoke:'f5f5f5',yellow:'ffff00',yellowgreen:'9acd32'};e=f[e]||e;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:['rgba(123, 234, 45, 0.8)','rgba(255,234,245,1.0)'],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),parseFloat(e[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:['rgb(123, 234, 45)','rgb(255,234,245)'],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:['#00ff00','336699'],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:['#fb0','f0f'],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],t=0;t<r.length;t++){var i=r[t].re,l=r[t].process,n=i.exec(e);if(n){var s=l(n);this.r=s[0],this.g=s[1],this.b=s[2],s.length>3&&(this.alpha=s[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return'rgb('+this.r+', '+this.g+', '+this.b+')'},this.toRGBA=function(){return'rgba('+this.r+', '+this.g+', '+this.b+', '+this.alpha+')'},this.toHex=function(){var e=this.r.toString(16),f=this.g.toString(16),r=this.b.toString(16);return 1==e.length&&(e='0'+e),1==f.length&&(f='0'+f),1==r.length&&(r='0'+r),'#'+e+f+r},this.getHelpXML=function(){for(var e=new Array,t=0;t<r.length;t++)for(var i=r[t].example,l=0;l<i.length;l++)e[e.length]=i[l];for(var n in f)e[e.length]=n;var s=document.createElement('ul');s.setAttribute('id','rgbcolor-examples');for(t=0;t<e.length;t++)try{var o=document.createElement('li'),c=new RGBColor(e[t]),h=document.createElement('div');h.style.cssText="margin: 3px; border: 1px solid black; background:"+c.toHex()+"; color:"+c.toHex(),h.appendChild(document.createTextNode('test'));var b=document.createTextNode(' '+e[t]+' -> '+c.toRGB()+' -> '+c.toHex());o.appendChild(h),o.appendChild(b),s.appendChild(o)}catch(e){}return s}}},3020,[]);
|
|
164
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),f=r(d[2]).indexOf,o=r(d[3]),c=n([].indexOf),s=!!c&&1/c([1],1,-0)<0;t({target:'Array',proto:!0,forced:s||!o('indexOf')},{indexOf:function(t){var n=arguments.length>1?arguments[1]:void 0;return s?c(this,t,n)||0:f(this,t,n)}})},3021,[2861,2945,2917,3011]);
|
|
165
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=r(d[2]),o=r(d[3]),u=r(d[4]),s=r(d[5]),f=n(''.indexOf);t({target:'String',proto:!0,forced:!s('includes')},{includes:function(t){return!!~f(u(o(this)),u(c(t)),arguments.length>1?arguments[1]:void 0)}})},3022,[2861,2872,2995,2874,2979,2997]);
|
|
166
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=r(d[2]),h=n([].reverse),o=[1,2];t({target:'Array',proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return s(this)&&(this.length=this.length),h(this)}})},3023,[2861,2872,3024]);
|
|
167
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=Array.isArray||function(n){return'Array'===t(n)}},3024,[2873]);
|
|
168
|
-
__d(function(_g,_r,_i,_a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"COMMAND_ARG_COUNTS",{enumerable:!0,get:function(){return N}}),Object.defineProperty(_e,"SVGPathData",{enumerable:!0,get:function(){return _}}),Object.defineProperty(_e,"SVGPathDataParser",{enumerable:!0,get:function(){return v}}),Object.defineProperty(_e,"SVGPathDataTransformer",{enumerable:!0,get:function(){return u}}),Object.defineProperty(_e,"encodeSVGPath",{enumerable:!0,get:function(){return e}});
|
|
169
|
-
/*! *****************************************************************************
|
|
170
|
-
Copyright (c) Microsoft Corporation.
|
|
171
|
-
|
|
172
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
173
|
-
purpose with or without fee is hereby granted.
|
|
174
|
-
|
|
175
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
176
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
177
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
178
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
179
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
180
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
181
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
182
|
-
***************************************************************************** */
|
|
183
|
-
var t=function(r,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])})(r,e)};function r(r,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=r}t(r,e),r.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}function e(t){var r="";Array.isArray(t)||(t=[t]);for(var e=0;e<t.length;e++){var i=t[e];if(i.type===_.CLOSE_PATH)r+="z";else if(i.type===_.HORIZ_LINE_TO)r+=(i.relative?"h":"H")+i.x;else if(i.type===_.VERT_LINE_TO)r+=(i.relative?"v":"V")+i.y;else if(i.type===_.MOVE_TO)r+=(i.relative?"m":"M")+i.x+" "+i.y;else if(i.type===_.LINE_TO)r+=(i.relative?"l":"L")+i.x+" "+i.y;else if(i.type===_.CURVE_TO)r+=(i.relative?"c":"C")+i.x1+" "+i.y1+" "+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===_.SMOOTH_CURVE_TO)r+=(i.relative?"s":"S")+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===_.QUAD_TO)r+=(i.relative?"q":"Q")+i.x1+" "+i.y1+" "+i.x+" "+i.y;else if(i.type===_.SMOOTH_QUAD_TO)r+=(i.relative?"t":"T")+i.x+" "+i.y;else{if(i.type!==_.ARC)throw new Error('Unexpected command type "'+i.type+'" at index '+e+".");r+=(i.relative?"a":"A")+i.rX+" "+i.rY+" "+i.xRot+" "+ +i.lArcFlag+" "+ +i.sweepFlag+" "+i.x+" "+i.y}}return r}function i(t,r){var e=t[0],i=t[1];return[e*Math.cos(r)-i*Math.sin(r),e*Math.sin(r)+i*Math.cos(r)]}function a(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var e=0;e<t.length;e++)if("number"!=typeof t[e])throw new Error("assertNumbers arguments["+e+"] is not a number. "+typeof t[e]+" == typeof "+t[e]);return!0}var n=Math.PI;function o(t,r,e){t.lArcFlag=0===t.lArcFlag?0:1,t.sweepFlag=0===t.sweepFlag?0:1;var a=t.rX,o=t.rY,s=t.x,u=t.y;a=Math.abs(t.rX),o=Math.abs(t.rY);var c=i([(r-s)/2,(e-u)/2],-t.xRot/180*n),h=c[0],y=c[1],p=Math.pow(h,2)/Math.pow(a,2)+Math.pow(y,2)/Math.pow(o,2);1<p&&(a*=Math.sqrt(p),o*=Math.sqrt(p)),t.rX=a,t.rY=o;var m=Math.pow(a,2)*Math.pow(y,2)+Math.pow(o,2)*Math.pow(h,2),O=(t.lArcFlag!==t.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(a,2)*Math.pow(o,2)-m)/m)),l=a*y/o*O,f=-o*h/a*O,T=i([l,f],t.xRot/180*n);t.cX=T[0]+(r+s)/2,t.cY=T[1]+(e+u)/2,t.phi1=Math.atan2((y-f)/o,(h-l)/a),t.phi2=Math.atan2((-y-f)/o,(-h-l)/a),0===t.sweepFlag&&t.phi2>t.phi1&&(t.phi2-=2*n),1===t.sweepFlag&&t.phi2<t.phi1&&(t.phi2+=2*n),t.phi1*=180/n,t.phi2*=180/n}function s(t,r,e){a(t,r,e);var i=t*t+r*r-e*e;if(0>i)return[];if(0===i)return[[t*e/(t*t+r*r),r*e/(t*t+r*r)]];var n=Math.sqrt(i);return[[(t*e+r*n)/(t*t+r*r),(r*e-t*n)/(t*t+r*r)],[(t*e-r*n)/(t*t+r*r),(r*e+t*n)/(t*t+r*r)]]}var u,c=Math.PI/180;function h(t,r,e){return(1-e)*t+e*r}function y(t,r,e,i){return t+Math.cos(i/180*n)*r+Math.sin(i/180*n)*e}function p(t,r,e,i){var a=1e-6,n=r-t,o=e-r,s=3*n+3*(i-e)-6*o,u=6*(o-n),c=3*n;return Math.abs(s)<a?[-c/u]:(function(t,r,e){void 0===e&&(e=1e-6);var i=t*t/4-r;if(i<-e)return[];if(i<=e)return[-t/2];var a=Math.sqrt(i);return[-t/2-a,-t/2+a]})(u/s,c/s,a)}function m(t,r,e,i,a){var n=1-a;return t*(n*n*n)+r*(3*n*n*a)+e*(3*n*a*a)+i*(a*a*a)}!(function(t){function r(){return u(function(t,r,e){return t.relative&&(void 0!==t.x1&&(t.x1+=r),void 0!==t.y1&&(t.y1+=e),void 0!==t.x2&&(t.x2+=r),void 0!==t.y2&&(t.y2+=e),void 0!==t.x&&(t.x+=r),void 0!==t.y&&(t.y+=e),t.relative=!1),t})}function e(){var t=NaN,r=NaN,e=NaN,i=NaN;return u(function(a,n,o){return a.type&_.SMOOTH_CURVE_TO&&(a.type=_.CURVE_TO,t=isNaN(t)?n:t,r=isNaN(r)?o:r,a.x1=a.relative?n-t:2*n-t,a.y1=a.relative?o-r:2*o-r),a.type&_.CURVE_TO?(t=a.relative?n+a.x2:a.x2,r=a.relative?o+a.y2:a.y2):(t=NaN,r=NaN),a.type&_.SMOOTH_QUAD_TO&&(a.type=_.QUAD_TO,e=isNaN(e)?n:e,i=isNaN(i)?o:i,a.x1=a.relative?n-e:2*n-e,a.y1=a.relative?o-i:2*o-i),a.type&_.QUAD_TO?(e=a.relative?n+a.x1:a.x1,i=a.relative?o+a.y1:a.y1):(e=NaN,i=NaN),a})}function n(){var t=NaN,r=NaN;return u(function(e,i,a){if(e.type&_.SMOOTH_QUAD_TO&&(e.type=_.QUAD_TO,t=isNaN(t)?i:t,r=isNaN(r)?a:r,e.x1=e.relative?i-t:2*i-t,e.y1=e.relative?a-r:2*a-r),e.type&_.QUAD_TO){t=e.relative?i+e.x1:e.x1,r=e.relative?a+e.y1:e.y1;var n=e.x1,o=e.y1;e.type=_.CURVE_TO,e.x1=((e.relative?0:i)+2*n)/3,e.y1=((e.relative?0:a)+2*o)/3,e.x2=(e.x+2*n)/3,e.y2=(e.y+2*o)/3}else t=NaN,r=NaN;return e})}function u(t){var r=0,e=0,i=NaN,a=NaN;return function(n){if(isNaN(i)&&!(n.type&_.MOVE_TO))throw new Error("path must start with moveto");var o=t(n,r,e,i,a);return n.type&_.CLOSE_PATH&&(r=i,e=a),void 0!==n.x&&(r=n.relative?r+n.x:n.x),void 0!==n.y&&(e=n.relative?e+n.y:n.y),n.type&_.MOVE_TO&&(i=r,a=e),o}}function O(t,r,e,i,n,o){return a(t,r,e,i,n,o),u(function(a,s,u,c){var h=a.x1,y=a.x2,p=a.relative&&!isNaN(c),m=void 0!==a.x?a.x:p?0:s,O=void 0!==a.y?a.y:p?0:u;function l(t){return t*t}a.type&_.HORIZ_LINE_TO&&0!==r&&(a.type=_.LINE_TO,a.y=a.relative?0:u),a.type&_.VERT_LINE_TO&&0!==e&&(a.type=_.LINE_TO,a.x=a.relative?0:s),void 0!==a.x&&(a.x=a.x*t+O*e+(p?0:n)),void 0!==a.y&&(a.y=m*r+a.y*i+(p?0:o)),void 0!==a.x1&&(a.x1=a.x1*t+a.y1*e+(p?0:n)),void 0!==a.y1&&(a.y1=h*r+a.y1*i+(p?0:o)),void 0!==a.x2&&(a.x2=a.x2*t+a.y2*e+(p?0:n)),void 0!==a.y2&&(a.y2=y*r+a.y2*i+(p?0:o));var f=t*i-r*e;if(void 0!==a.xRot&&(1!==t||0!==r||0!==e||1!==i))if(0===f)delete a.rX,delete a.rY,delete a.xRot,delete a.lArcFlag,delete a.sweepFlag,a.type=_.LINE_TO;else{var T=a.xRot*Math.PI/180,v=Math.sin(T),N=Math.cos(T),d=1/l(a.rX),x=1/l(a.rY),A=l(N)*d+l(v)*x,E=2*v*N*(d-x),C=l(v)*d+l(N)*x,M=A*i*i-E*r*i+C*r*r,R=E*(t*i+r*e)-2*(A*e*i+C*t*r),g=A*e*e-E*t*e+C*t*t,I=(Math.atan2(R,M-g)+Math.PI)%Math.PI/2,S=Math.sin(I),L=Math.cos(I);a.rX=Math.abs(f)/Math.sqrt(M*l(L)+R*S*L+g*l(S)),a.rY=Math.abs(f)/Math.sqrt(M*l(S)-R*S*L+g*l(L)),a.xRot=180*I/Math.PI}return void 0!==a.sweepFlag&&0>f&&(a.sweepFlag=+!a.sweepFlag),a})}t.ROUND=function(t){function r(r){return Math.round(r*t)/t}return void 0===t&&(t=1e13),a(t),function(t){return void 0!==t.x1&&(t.x1=r(t.x1)),void 0!==t.y1&&(t.y1=r(t.y1)),void 0!==t.x2&&(t.x2=r(t.x2)),void 0!==t.y2&&(t.y2=r(t.y2)),void 0!==t.x&&(t.x=r(t.x)),void 0!==t.y&&(t.y=r(t.y)),void 0!==t.rX&&(t.rX=r(t.rX)),void 0!==t.rY&&(t.rY=r(t.rY)),t}},t.TO_ABS=r,t.TO_REL=function(){return u(function(t,r,e){return t.relative||(void 0!==t.x1&&(t.x1-=r),void 0!==t.y1&&(t.y1-=e),void 0!==t.x2&&(t.x2-=r),void 0!==t.y2&&(t.y2-=e),void 0!==t.x&&(t.x-=r),void 0!==t.y&&(t.y-=e),t.relative=!0),t})},t.NORMALIZE_HVZ=function(t,r,e){return void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===e&&(e=!0),u(function(i,a,n,o,s){if(isNaN(o)&&!(i.type&_.MOVE_TO))throw new Error("path must start with moveto");return r&&i.type&_.HORIZ_LINE_TO&&(i.type=_.LINE_TO,i.y=i.relative?0:n),e&&i.type&_.VERT_LINE_TO&&(i.type=_.LINE_TO,i.x=i.relative?0:a),t&&i.type&_.CLOSE_PATH&&(i.type=_.LINE_TO,i.x=i.relative?o-a:o,i.y=i.relative?s-n:s),i.type&_.ARC&&(0===i.rX||0===i.rY)&&(i.type=_.LINE_TO,delete i.rX,delete i.rY,delete i.xRot,delete i.lArcFlag,delete i.sweepFlag),i})},t.NORMALIZE_ST=e,t.QT_TO_C=n,t.INFO=u,t.SANITIZE=function(t){void 0===t&&(t=0),a(t);var r=NaN,e=NaN,i=NaN,n=NaN;return u(function(a,o,s,u,c){var h=Math.abs,y=!1,p=0,m=0;if(a.type&_.SMOOTH_CURVE_TO&&(p=isNaN(r)?0:o-r,m=isNaN(e)?0:s-e),a.type&(_.CURVE_TO|_.SMOOTH_CURVE_TO)?(r=a.relative?o+a.x2:a.x2,e=a.relative?s+a.y2:a.y2):(r=NaN,e=NaN),a.type&_.SMOOTH_QUAD_TO?(i=isNaN(i)?o:2*o-i,n=isNaN(n)?s:2*s-n):a.type&_.QUAD_TO?(i=a.relative?o+a.x1:a.x1,n=a.relative?s+a.y1:a.y2):(i=NaN,n=NaN),a.type&_.LINE_COMMANDS||a.type&_.ARC&&(0===a.rX||0===a.rY||!a.lArcFlag)||a.type&_.CURVE_TO||a.type&_.SMOOTH_CURVE_TO||a.type&_.QUAD_TO||a.type&_.SMOOTH_QUAD_TO){var O=void 0===a.x?0:a.relative?a.x:a.x-o,l=void 0===a.y?0:a.relative?a.y:a.y-s;p=isNaN(i)?void 0===a.x1?p:a.relative?a.x:a.x1-o:i-o,m=isNaN(n)?void 0===a.y1?m:a.relative?a.y:a.y1-s:n-s;var f=void 0===a.x2?0:a.relative?a.x:a.x2-o,T=void 0===a.y2?0:a.relative?a.y:a.y2-s;h(O)<=t&&h(l)<=t&&h(p)<=t&&h(m)<=t&&h(f)<=t&&h(T)<=t&&(y=!0)}return a.type&_.CLOSE_PATH&&h(o-u)<=t&&h(s-c)<=t&&(y=!0),y?[]:a})},t.MATRIX=O,t.ROTATE=function(t,r,e){void 0===r&&(r=0),void 0===e&&(e=0),a(t,r,e);var i=Math.sin(t),n=Math.cos(t);return O(n,i,-i,n,r-r*n+e*i,e-r*i-e*n)},t.TRANSLATE=function(t,r){return void 0===r&&(r=0),a(t,r),O(1,0,0,1,t,r)},t.SCALE=function(t,r){return void 0===r&&(r=t),a(t,r),O(t,0,0,r,0,0)},t.SKEW_X=function(t){return a(t),O(1,0,Math.atan(t),1,0,0)},t.SKEW_Y=function(t){return a(t),O(1,Math.atan(t),0,1,0,0)},t.X_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),a(t),O(-1,0,0,1,t,0)},t.Y_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),a(t),O(1,0,0,-1,0,t)},t.A_TO_C=function(){return u(function(t,r,e){return _.ARC===t.type?(function(t,r,e){var a,n,s,u;t.cX||o(t,r,e);for(var y=Math.min(t.phi1,t.phi2),p=Math.max(t.phi1,t.phi2)-y,m=Math.ceil(p/90),O=new Array(m),l=r,f=e,T=0;T<m;T++){var v=h(t.phi1,t.phi2,T/m),N=h(t.phi1,t.phi2,(T+1)/m),d=N-v,x=1.3333333333333333*Math.tan(d*c/4),A=[Math.cos(v*c)-x*Math.sin(v*c),Math.sin(v*c)+x*Math.cos(v*c)],E=A[0],C=A[1],M=[Math.cos(N*c),Math.sin(N*c)],R=M[0],g=M[1],I=[R+x*Math.sin(N*c),g-x*Math.cos(N*c)],S=I[0],L=I[1];O[T]={relative:t.relative,type:_.CURVE_TO};var b=function(r,e){var a=i([r*t.rX,e*t.rY],t.xRot),n=a[0],o=a[1];return[t.cX+n,t.cY+o]};a=b(E,C),O[T].x1=a[0],O[T].y1=a[1],n=b(S,L),O[T].x2=n[0],O[T].y2=n[1],s=b(R,g),O[T].x=s[0],O[T].y=s[1],t.relative&&(O[T].x1-=l,O[T].y1-=f,O[T].x2-=l,O[T].y2-=f,O[T].x-=l,O[T].y-=f),l=(u=[O[T].x,O[T].y])[0],f=u[1]}return O})(t,t.relative?0:r,t.relative?0:e):t})},t.ANNOTATE_ARCS=function(){return u(function(t,r,e){return t.relative&&(r=0,e=0),_.ARC===t.type&&o(t,r,e),t})},t.CLONE=function(){return function(t){var r={};for(var e in t)r[e]=t[e];return r}},t.CALCULATE_BOUNDS=function(){var t=function(t){var r={};for(var e in t)r[e]=t[e];return r},i=r(),a=n(),c=e(),h=u(function(r,e,n){var u=c(a(i(t(r))));function O(t){t>h.maxX&&(h.maxX=t),t<h.minX&&(h.minX=t)}function l(t){t>h.maxY&&(h.maxY=t),t<h.minY&&(h.minY=t)}if(u.type&_.DRAWING_COMMANDS&&(O(e),l(n)),u.type&_.HORIZ_LINE_TO&&O(u.x),u.type&_.VERT_LINE_TO&&l(u.y),u.type&_.LINE_TO&&(O(u.x),l(u.y)),u.type&_.CURVE_TO){O(u.x),l(u.y);for(var f=0,T=p(e,u.x1,u.x2,u.x);f<T.length;f++)0<(U=T[f])&&1>U&&O(m(e,u.x1,u.x2,u.x,U));for(var v=0,N=p(n,u.y1,u.y2,u.y);v<N.length;v++)0<(U=N[v])&&1>U&&l(m(n,u.y1,u.y2,u.y,U))}if(u.type&_.ARC){O(u.x),l(u.y),o(u,e,n);for(var d=u.xRot/180*Math.PI,x=Math.cos(d)*u.rX,A=Math.sin(d)*u.rX,E=-Math.sin(d)*u.rY,C=Math.cos(d)*u.rY,M=u.phi1<u.phi2?[u.phi1,u.phi2]:-180>u.phi2?[u.phi2+360,u.phi1+360]:[u.phi2,u.phi1],R=M[0],g=M[1],I=function(t){var r=t[0],e=t[1],i=180*Math.atan2(e,r)/Math.PI;return i<R?i+360:i},S=0,L=s(E,-x,0).map(I);S<L.length;S++)(U=L[S])>R&&U<g&&O(y(u.cX,x,E,U));for(var b=0,H=s(C,-A,0).map(I);b<H.length;b++){var U;(U=H[b])>R&&U<g&&l(y(u.cY,A,C,U))}}return r});return h.minX=1/0,h.maxX=-1/0,h.minY=1/0,h.maxY=-1/0,h}})(u||(u={}));var O,l=(function(){function t(){}return t.prototype.round=function(t){return this.transform(u.ROUND(t))},t.prototype.toAbs=function(){return this.transform(u.TO_ABS())},t.prototype.toRel=function(){return this.transform(u.TO_REL())},t.prototype.normalizeHVZ=function(t,r,e){return this.transform(u.NORMALIZE_HVZ(t,r,e))},t.prototype.normalizeST=function(){return this.transform(u.NORMALIZE_ST())},t.prototype.qtToC=function(){return this.transform(u.QT_TO_C())},t.prototype.aToC=function(){return this.transform(u.A_TO_C())},t.prototype.sanitize=function(t){return this.transform(u.SANITIZE(t))},t.prototype.translate=function(t,r){return this.transform(u.TRANSLATE(t,r))},t.prototype.scale=function(t,r){return this.transform(u.SCALE(t,r))},t.prototype.rotate=function(t,r,e){return this.transform(u.ROTATE(t,r,e))},t.prototype.matrix=function(t,r,e,i,a,n){return this.transform(u.MATRIX(t,r,e,i,a,n))},t.prototype.skewX=function(t){return this.transform(u.SKEW_X(t))},t.prototype.skewY=function(t){return this.transform(u.SKEW_Y(t))},t.prototype.xSymmetry=function(t){return this.transform(u.X_AXIS_SYMMETRY(t))},t.prototype.ySymmetry=function(t){return this.transform(u.Y_AXIS_SYMMETRY(t))},t.prototype.annotateArcs=function(){return this.transform(u.ANNOTATE_ARCS())},t})(),f=function(t){return" "===t||"\t"===t||"\r"===t||"\n"===t},T=function(t){return"0".charCodeAt(0)<=t.charCodeAt(0)&&t.charCodeAt(0)<="9".charCodeAt(0)},v=(function(t){function e(){var r=t.call(this)||this;return r.curNumber="",r.curCommandType=-1,r.curCommandRelative=!1,r.canParseCommandOrComma=!0,r.curNumberHasExp=!1,r.curNumberHasExpDigits=!1,r.curNumberHasDecimal=!1,r.curArgs=[],r}return r(e,t),e.prototype.finish=function(t){if(void 0===t&&(t=[]),this.parse(" ",t),0!==this.curArgs.length||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return t},e.prototype.parse=function(t,r){var e=this;void 0===r&&(r=[]);for(var i=function(t){r.push(t),e.curArgs.length=0,e.canParseCommandOrComma=!0},a=0;a<t.length;a++){var n=t[a],o=!(this.curCommandType!==_.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),s=T(n)&&("0"===this.curNumber&&"0"===n||o);if(!T(n)||s)if("e"!==n&&"E"!==n)if("-"!==n&&"+"!==n||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==n||this.curNumberHasExp||this.curNumberHasDecimal||o){if(this.curNumber&&-1!==this.curCommandType){var u=Number(this.curNumber);if(isNaN(u))throw new SyntaxError("Invalid number ending at "+a);if(this.curCommandType===_.ARC)if(0===this.curArgs.length||1===this.curArgs.length){if(0>u)throw new SyntaxError('Expected positive number, got "'+u+'" at index "'+a+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+a+'"');this.curArgs.push(u),this.curArgs.length===N[this.curCommandType]&&(_.HORIZ_LINE_TO===this.curCommandType?i({type:_.HORIZ_LINE_TO,relative:this.curCommandRelative,x:u}):_.VERT_LINE_TO===this.curCommandType?i({type:_.VERT_LINE_TO,relative:this.curCommandRelative,y:u}):this.curCommandType===_.MOVE_TO||this.curCommandType===_.LINE_TO||this.curCommandType===_.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),_.MOVE_TO===this.curCommandType&&(this.curCommandType=_.LINE_TO)):this.curCommandType===_.CURVE_TO?i({type:_.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===_.SMOOTH_CURVE_TO?i({type:_.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===_.QUAD_TO?i({type:_.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===_.ARC&&i({type:_.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!f(n))if(","===n&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==n&&"-"!==n&&"."!==n)if(s)this.curNumber=n,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+a+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+n+'" at index '+a+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==n&&"Z"!==n)if("h"===n||"H"===n)this.curCommandType=_.HORIZ_LINE_TO,this.curCommandRelative="h"===n;else if("v"===n||"V"===n)this.curCommandType=_.VERT_LINE_TO,this.curCommandRelative="v"===n;else if("m"===n||"M"===n)this.curCommandType=_.MOVE_TO,this.curCommandRelative="m"===n;else if("l"===n||"L"===n)this.curCommandType=_.LINE_TO,this.curCommandRelative="l"===n;else if("c"===n||"C"===n)this.curCommandType=_.CURVE_TO,this.curCommandRelative="c"===n;else if("s"===n||"S"===n)this.curCommandType=_.SMOOTH_CURVE_TO,this.curCommandRelative="s"===n;else if("q"===n||"Q"===n)this.curCommandType=_.QUAD_TO,this.curCommandRelative="q"===n;else if("t"===n||"T"===n)this.curCommandType=_.SMOOTH_QUAD_TO,this.curCommandRelative="t"===n;else{if("a"!==n&&"A"!==n)throw new SyntaxError('Unexpected character "'+n+'" at index '+a+".");this.curCommandType=_.ARC,this.curCommandRelative="a"===n}else r.push({type:_.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=n,this.curNumberHasDecimal="."===n}else this.curNumber+=n,this.curNumberHasDecimal=!0;else this.curNumber+=n;else this.curNumber+=n,this.curNumberHasExp=!0;else this.curNumber+=n,this.curNumberHasExpDigits=this.curNumberHasExp}return r},e.prototype.transform=function(t){return Object.create(this,{parse:{value:function(r,e){void 0===e&&(e=[]);for(var i=0,a=Object.getPrototypeOf(this).parse.call(this,r);i<a.length;i++){var n=a[i],o=t(n);Array.isArray(o)?e.push.apply(e,o):e.push(o)}return e}}})},e})(l),_=(function(t){function i(r){var e=t.call(this)||this;return e.commands="string"==typeof r?i.parse(r):r,e}return r(i,t),i.prototype.encode=function(){return i.encode(this.commands)},i.prototype.getBounds=function(){var t=u.CALCULATE_BOUNDS();return this.transform(t),t},i.prototype.transform=function(t){for(var r=[],e=0,i=this.commands;e<i.length;e++){var a=t(i[e]);Array.isArray(a)?r.push.apply(r,a):r.push(a)}return this.commands=r,this},i.encode=function(t){return e(t)},i.parse=function(t){var r=new v,e=[];return r.parse(t,e),r.finish(e),e},i.CLOSE_PATH=1,i.MOVE_TO=2,i.HORIZ_LINE_TO=4,i.VERT_LINE_TO=8,i.LINE_TO=16,i.CURVE_TO=32,i.SMOOTH_CURVE_TO=64,i.QUAD_TO=128,i.SMOOTH_QUAD_TO=256,i.ARC=512,i.LINE_COMMANDS=i.LINE_TO|i.HORIZ_LINE_TO|i.VERT_LINE_TO,i.DRAWING_COMMANDS=i.HORIZ_LINE_TO|i.VERT_LINE_TO|i.LINE_TO|i.CURVE_TO|i.SMOOTH_CURVE_TO|i.QUAD_TO|i.SMOOTH_QUAD_TO|i.ARC,i})(l),N=((O={})[_.MOVE_TO]=2,O[_.LINE_TO]=2,O[_.HORIZ_LINE_TO]=1,O[_.VERT_LINE_TO]=1,O[_.CLOSE_PATH]=0,O[_.QUAD_TO]=4,O[_.SMOOTH_QUAD_TO]=2,O[_.CURVE_TO]=6,O[_.SMOOTH_CURVE_TO]=4,O[_.ARC]=7,O)},3025,[]);
|
|
184
|
-
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]).PROPER,n=r(d[1]),u=r(d[2]),o=r(d[3]),c=r(d[4]),s=r(d[5]),f='toString',l=RegExp.prototype,p=l[f],R=c(function(){return'/a/b'!==p.call({source:'a',flags:'b'})}),b=t&&p.name!==f;(R||b)&&n(l,f,function(){var t=u(this);return'/'+o(t.source)+'/'+o(s(t))},{unsafe:!0})},3026,[2907,2905,2904,2979,2865,2989]);
|
|
185
|
-
__d(function(_g2,_r2,_i9,_a3,m,_e,d){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}
|
|
186
|
-
/**
|
|
187
|
-
* StackBlur - a fast almost Gaussian Blur For Canvas
|
|
188
|
-
*
|
|
189
|
-
* In case you find this class useful - especially in commercial projects -
|
|
190
|
-
* I am not totally unhappy for a small donation to my PayPal account
|
|
191
|
-
* mario@quasimondo.de
|
|
192
|
-
*
|
|
193
|
-
* Or support me on flattr:
|
|
194
|
-
* {@link https://flattr.com/thing/72791/StackBlur-a-fast-almost-Gaussian-Blur-Effect-for-CanvasJavascript}.
|
|
195
|
-
*
|
|
196
|
-
* @module StackBlur
|
|
197
|
-
* @author Mario Klingemann
|
|
198
|
-
* Contact: mario@quasimondo.com
|
|
199
|
-
* Website: {@link http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html}
|
|
200
|
-
* Twitter: @quasimondo
|
|
201
|
-
*
|
|
202
|
-
* @copyright (c) 2010 Mario Klingemann
|
|
203
|
-
*
|
|
204
|
-
* Permission is hereby granted, free of charge, to any person
|
|
205
|
-
* obtaining a copy of this software and associated documentation
|
|
206
|
-
* files (the "Software"), to deal in the Software without
|
|
207
|
-
* restriction, including without limitation the rights to use,
|
|
208
|
-
* copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
209
|
-
* copies of the Software, and to permit persons to whom the
|
|
210
|
-
* Software is furnished to do so, subject to the following
|
|
211
|
-
* conditions:
|
|
212
|
-
*
|
|
213
|
-
* The above copyright notice and this permission notice shall be
|
|
214
|
-
* included in all copies or substantial portions of the Software.
|
|
215
|
-
*
|
|
216
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
217
|
-
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
218
|
-
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
219
|
-
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
220
|
-
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
221
|
-
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
222
|
-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
223
|
-
* OTHER DEALINGS IN THE SOFTWARE.
|
|
224
|
-
*/Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"BlurStack",{enumerable:!0,get:function(){return c}}),Object.defineProperty(_e,"canvasRGB",{enumerable:!0,get:function(){return g}}),Object.defineProperty(_e,"canvasRGBA",{enumerable:!0,get:function(){return i}}),Object.defineProperty(_e,"image",{enumerable:!0,get:function(){return a}}),Object.defineProperty(_e,"imageDataRGB",{enumerable:!0,get:function(){return u}}),Object.defineProperty(_e,"imageDataRGBA",{enumerable:!0,get:function(){return f}});var r=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],n=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function a(t,e,r,n,a,o){if('string'==typeof t&&(t=document.getElementById(t)),t&&('HTMLImageElement'!==Object.prototype.toString.call(t).slice(8,-1)||'naturalWidth'in t)){var f=a?'offset':'natural',u=t[f+'Width'],c=t[f+'Height'];if('ImageBitmap'===Object.prototype.toString.call(t).slice(8,-1)&&(u=t.width,c=t.height),'string'==typeof e&&(e=document.getElementById(e)),e&&'getContext'in e){o||(e.style.width=u+'px',e.style.height=c+'px'),e.width=u,e.height=c;var l=e.getContext('2d');l.clearRect(0,0,u,c),l.drawImage(t,0,0,t.naturalWidth,t.naturalHeight,0,0,u,c),isNaN(r)||r<1||(n?i(e,0,0,u,c,r):g(e,0,0,u,c,r))}}}function o(e,r,n,a,o){if('string'==typeof e&&(e=document.getElementById(e)),!e||'object'!==t(e)||!('getContext'in e))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var i=e.getContext('2d');try{return i.getImageData(r,n,a,o)}catch(t){throw new Error('unable to access image data: '+t)}}function i(t,e,r,n,a,i){if(!(isNaN(i)||i<1)){i|=0;var g=o(t,e,r,n,a);g=f(g,e,r,n,a,i),t.getContext('2d').putImageData(g,e,r)}}function f(t,e,a,o,i,f){for(var g,u=t.data,l=2*f+1,b=o-1,v=i-1,s=f+1,y=s*(s+1)/2,x=new c,p=x,h=1;h<l;h++)p=p.next=new c,h===s&&(g=p);p.next=x;for(var w=null,j=null,B=0,C=0,I=r[f],O=n[f],E=0;E<i;E++){p=x;for(var S=u[C],P=u[C+1],N=u[C+2],R=u[C+3],D=0;D<s;D++)p.r=S,p.g=P,p.b=N,p.a=R,p=p.next;for(var G=0,_=0,A=0,H=0,T=s*S,W=s*P,M=s*N,k=s*R,L=y*S,q=y*P,z=y*N,F=y*R,J=1;J<s;J++){var K=C+((b<J?b:J)<<2),Q=u[K],U=u[K+1],V=u[K+2],X=u[K+3],Y=s-J;L+=(p.r=Q)*Y,q+=(p.g=U)*Y,z+=(p.b=V)*Y,F+=(p.a=X)*Y,G+=Q,_+=U,A+=V,H+=X,p=p.next}w=x,j=g;for(var Z=0;Z<o;Z++){var $=F*I>>>O;if(u[C+3]=$,0!==$){var tt=255/$;u[C]=(L*I>>>O)*tt,u[C+1]=(q*I>>>O)*tt,u[C+2]=(z*I>>>O)*tt}else u[C]=u[C+1]=u[C+2]=0;L-=T,q-=W,z-=M,F-=k,T-=w.r,W-=w.g,M-=w.b,k-=w.a;var et=Z+f+1;et=B+(et<b?et:b)<<2,L+=G+=w.r=u[et],q+=_+=w.g=u[et+1],z+=A+=w.b=u[et+2],F+=H+=w.a=u[et+3],w=w.next;var rt=j,nt=rt.r,at=rt.g,ot=rt.b,it=rt.a;T+=nt,W+=at,M+=ot,k+=it,G-=nt,_-=at,A-=ot,H-=it,j=j.next,C+=4}B+=o}for(var ft=0;ft<o;ft++){var gt=u[C=ft<<2],ut=u[C+1],ct=u[C+2],lt=u[C+3],bt=s*gt,vt=s*ut,st=s*ct,yt=s*lt,mt=y*gt,xt=y*ut,dt=y*ct,pt=y*lt;p=x;for(var ht=0;ht<s;ht++)p.r=gt,p.g=ut,p.b=ct,p.a=lt,p=p.next;for(var wt=o,jt=0,Bt=0,Ct=0,It=0,Ot=1;Ot<=f;Ot++){C=wt+ft<<2;var Et=s-Ot;mt+=(p.r=gt=u[C])*Et,xt+=(p.g=ut=u[C+1])*Et,dt+=(p.b=ct=u[C+2])*Et,pt+=(p.a=lt=u[C+3])*Et,It+=gt,jt+=ut,Bt+=ct,Ct+=lt,p=p.next,Ot<v&&(wt+=o)}C=ft,w=x,j=g;for(var St=0;St<i;St++){var Pt=C<<2;u[Pt+3]=lt=pt*I>>>O,lt>0?(lt=255/lt,u[Pt]=(mt*I>>>O)*lt,u[Pt+1]=(xt*I>>>O)*lt,u[Pt+2]=(dt*I>>>O)*lt):u[Pt]=u[Pt+1]=u[Pt+2]=0,mt-=bt,xt-=vt,dt-=st,pt-=yt,bt-=w.r,vt-=w.g,st-=w.b,yt-=w.a,Pt=ft+((Pt=St+s)<v?Pt:v)*o<<2,mt+=It+=w.r=u[Pt],xt+=jt+=w.g=u[Pt+1],dt+=Bt+=w.b=u[Pt+2],pt+=Ct+=w.a=u[Pt+3],w=w.next,bt+=gt=j.r,vt+=ut=j.g,st+=ct=j.b,yt+=lt=j.a,It-=gt,jt-=ut,Bt-=ct,Ct-=lt,j=j.next,C+=o}}return t}function g(t,e,r,n,a,i){if(!(isNaN(i)||i<1)){i|=0;var f=o(t,e,r,n,a);f=u(f,e,r,n,a,i),t.getContext('2d').putImageData(f,e,r)}}function u(t,e,a,o,i,f){for(var g,u=t.data,l=2*f+1,b=o-1,v=i-1,s=f+1,y=s*(s+1)/2,x=new c,p=x,h=1;h<l;h++)p=p.next=new c,h===s&&(g=p);p.next=x;for(var w,j,B=null,C=null,I=r[f],O=n[f],E=0,S=0,P=0;P<i;P++){var N=u[S],R=u[S+1],D=u[S+2],G=s*N,_=s*R,A=s*D,H=y*N,T=y*R,W=y*D;p=x;for(var M=0;M<s;M++)p.r=N,p.g=R,p.b=D,p=p.next;for(var k=0,L=0,q=0,z=1;z<s;z++)w=S+((b<z?b:z)<<2),H+=(p.r=N=u[w])*(j=s-z),T+=(p.g=R=u[w+1])*j,W+=(p.b=D=u[w+2])*j,k+=N,L+=R,q+=D,p=p.next;B=x,C=g;for(var F=0;F<o;F++)u[S]=H*I>>>O,u[S+1]=T*I>>>O,u[S+2]=W*I>>>O,H-=G,T-=_,W-=A,G-=B.r,_-=B.g,A-=B.b,w=E+((w=F+f+1)<b?w:b)<<2,H+=k+=B.r=u[w],T+=L+=B.g=u[w+1],W+=q+=B.b=u[w+2],B=B.next,G+=N=C.r,_+=R=C.g,A+=D=C.b,k-=N,L-=R,q-=D,C=C.next,S+=4;E+=o}for(var J=0;J<o;J++){var K=u[S=J<<2],Q=u[S+1],U=u[S+2],V=s*K,X=s*Q,Y=s*U,Z=y*K,$=y*Q,tt=y*U;p=x;for(var et=0;et<s;et++)p.r=K,p.g=Q,p.b=U,p=p.next;for(var rt=0,nt=0,at=0,ot=1,it=o;ot<=f;ot++)S=it+J<<2,Z+=(p.r=K=u[S])*(j=s-ot),$+=(p.g=Q=u[S+1])*j,tt+=(p.b=U=u[S+2])*j,rt+=K,nt+=Q,at+=U,p=p.next,ot<v&&(it+=o);S=J,B=x,C=g;for(var ft=0;ft<i;ft++)u[w=S<<2]=Z*I>>>O,u[w+1]=$*I>>>O,u[w+2]=tt*I>>>O,Z-=V,$-=X,tt-=Y,V-=B.r,X-=B.g,Y-=B.b,w=J+((w=ft+s)<v?w:v)*o<<2,Z+=rt+=B.r=u[w],$+=nt+=B.g=u[w+1],tt+=at+=B.b=u[w+2],B=B.next,V+=K=C.r,X+=Q=C.g,Y+=U=C.b,rt-=K,nt-=Q,at-=U,C=C.next,S+=o}return t}var c=function t(){e(this,t),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}},3027,[]);
|