@rainbow-robotics/preview-host 0.1.2-dev.0 → 0.1.2-dev.11
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/build.mjs +14 -1
- package/dist/assets/AmrCapabilityControl.BppT8lfW.js +1 -0
- package/dist/assets/ConveyorBelt.DYgETvU-.png +0 -0
- package/dist/assets/FactoryMap.CBpf9N92.js +4881 -0
- package/dist/assets/MapInfo.Bit_2DfJ.js +1 -0
- package/dist/assets/PretendardVariable.CJuje-Rk.woff2 +0 -0
- package/dist/assets/__federation_expose_App.DTILpvFM.js +1126 -0
- package/dist/assets/__federation_fn_import.Drmbxo5T.js +23 -0
- package/dist/assets/__federation_shared_@emotion/styled.wOy85H_m.js +1 -0
- package/dist/assets/__federation_shared_@tanstack/react-query.BqXJhb-5.js +1 -0
- package/dist/assets/__federation_shared_react-dom.znG_qyPl.js +1 -0
- package/dist/assets/__federation_shared_react-simple-keyboard.BDWRGEbM.js +19 -0
- package/dist/assets/__federation_shared_react.Wsh8dz5j.js +1 -0
- package/dist/assets/_commonjsHelpers.Cpj98o6Y.js +1 -0
- package/dist/assets/abap.DLDM7-KI.js +1 -0
- package/dist/assets/apex.DNDY2TF8.js +1 -0
- package/dist/assets/azcli.Y6nb8tq_.js +1 -0
- package/dist/assets/bat.BwHxbl9M.js +1 -0
- package/dist/assets/bicep.CFznDFnq.js +2 -0
- package/dist/assets/cameligo.Bf6VGUru.js +1 -0
- package/dist/assets/clojure.Dnu-v4kV.js +1 -0
- package/dist/assets/codicon.ngg6Pgfi.ttf +0 -0
- package/dist/assets/coffee.Bd8akH9Z.js +1 -0
- package/dist/assets/cpp.BbWJElDN.js +1 -0
- package/dist/assets/csharp.Co3qMtFm.js +1 -0
- package/dist/assets/csp.D-4FJmMZ.js +1 -0
- package/dist/assets/css.DdJfP1eB.js +3 -0
- package/dist/assets/css.worker-uch7pA5g.js +93 -0
- package/dist/assets/cssMode.CxPsxiNP.js +1 -0
- package/dist/assets/cypher.cTPe9QuQ.js +1 -0
- package/dist/assets/dart.BOtBlQCF.js +1 -0
- package/dist/assets/dockerfile.BG73LgW2.js +1 -0
- package/dist/assets/ecl.BEgZUVRK.js +1 -0
- package/dist/assets/elixir.BkW5O-1t.js +1 -0
- package/dist/assets/emotion-styled-base.browser.esm.JngGwqgu.js +1 -0
- package/dist/assets/flow9.BeJ5waoc.js +1 -0
- package/dist/assets/freemarker2.e18W-vVC.js +3 -0
- package/dist/assets/fsharp.PahG7c26.js +1 -0
- package/dist/assets/go.acbASCJo.js +1 -0
- package/dist/assets/graphql.BxJiqAUM.js +1 -0
- package/dist/assets/handlebars.DpGUQTlC.js +1 -0
- package/dist/assets/hcl.DtV1sZF8.js +1 -0
- package/dist/assets/html.qS8AwR-R.js +1 -0
- package/dist/assets/html.worker-C8KWqYYR.js +470 -0
- package/dist/assets/htmlMode.D4pEgAMn.js +1 -0
- package/dist/assets/index.CHuCXVak.js +24 -0
- package/dist/assets/index.ChsGqxH_.js +9 -0
- package/dist/assets/index.Dxudgz78.js +1 -0
- package/dist/assets/index.FxRLAiU5.js +1 -0
- package/dist/assets/index.ayADrA9_.js +1 -0
- package/dist/assets/ini.Kd9XrMLS.js +1 -0
- package/dist/assets/java.CXBNlu9o.js +1 -0
- package/dist/assets/javascript.CIRAbwTJ.js +1 -0
- package/dist/assets/json.worker-MyEhrfQg.js +58 -0
- package/dist/assets/jsonMode.CJcA6JGm.js +7 -0
- package/dist/assets/jsx-runtime.CKZTQYsb.js +9 -0
- package/dist/assets/julia.cl7-CwDS.js +1 -0
- package/dist/assets/keymapTileIndex.worker-C2HCGd-D.js +1 -0
- package/dist/assets/kotlin.s7OhZKlX.js +1 -0
- package/dist/assets/less.9HpZscsL.js +2 -0
- package/dist/assets/lexon.OrD6JF1K.js +1 -0
- package/dist/assets/liquid.Cd_ynsyQ.js +1 -0
- package/dist/assets/lspLanguageFeatures.ZrhgItxw.js +4 -0
- package/dist/assets/lua.Cyyb5UIc.js +1 -0
- package/dist/assets/m3.B8OfTtLu.js +1 -0
- package/dist/assets/markdown.BFxVWTOG.js +1 -0
- package/dist/assets/mdx.E9Mhxtu7.js +1 -0
- package/dist/assets/mips.CiqrrVzr.js +1 -0
- package/dist/assets/msdax.DmeGPVcC.js +1 -0
- package/dist/assets/mysql.C_tMU-Nz.js +1 -0
- package/dist/assets/objective-c.BDtDVThU.js +1 -0
- package/dist/assets/oxanium-latin-200-normal.BJrRQIDG.woff2 +0 -0
- package/dist/assets/oxanium-latin-200-normal.eBzwIuok.woff +0 -0
- package/dist/assets/oxanium-latin-300-normal.BdR1Ie96.woff +0 -0
- package/dist/assets/oxanium-latin-300-normal.CNxMgW97.woff2 +0 -0
- package/dist/assets/oxanium-latin-400-normal.BnNz-3Mf.woff +0 -0
- package/dist/assets/oxanium-latin-400-normal.DcSlRu53.woff2 +0 -0
- package/dist/assets/oxanium-latin-500-normal.BsTRBkab.woff +0 -0
- package/dist/assets/oxanium-latin-500-normal.tnlOn7Ka.woff2 +0 -0
- package/dist/assets/oxanium-latin-600-normal.DNQhW0y0.woff +0 -0
- package/dist/assets/oxanium-latin-600-normal.DW9ldEDP.woff2 +0 -0
- package/dist/assets/oxanium-latin-700-normal.b_KP-pae.woff +0 -0
- package/dist/assets/oxanium-latin-700-normal.l0hKEjh4.woff2 +0 -0
- package/dist/assets/oxanium-latin-800-normal.7VoEFedH.woff +0 -0
- package/dist/assets/oxanium-latin-800-normal.C_tm0Sz6.woff2 +0 -0
- package/dist/assets/oxanium-latin-ext-200-normal.B125DHRo.woff +0 -0
- package/dist/assets/oxanium-latin-ext-200-normal.Bn7N9BTE.woff2 +0 -0
- package/dist/assets/oxanium-latin-ext-300-normal.D2_sjTbl.woff +0 -0
- package/dist/assets/oxanium-latin-ext-300-normal.UUi4I1xh.woff2 +0 -0
- package/dist/assets/oxanium-latin-ext-400-normal.B1qoybeA.woff2 +0 -0
- package/dist/assets/oxanium-latin-ext-400-normal.ngSbnDVv.woff +0 -0
- package/dist/assets/oxanium-latin-ext-500-normal.BUvOBSxU.woff +0 -0
- package/dist/assets/oxanium-latin-ext-500-normal.i_PHuczN.woff2 +0 -0
- package/dist/assets/oxanium-latin-ext-600-normal.B2S5WIA4.woff2 +0 -0
- package/dist/assets/oxanium-latin-ext-600-normal.DywhiVWf.woff +0 -0
- package/dist/assets/oxanium-latin-ext-700-normal.BSlCClLu.woff2 +0 -0
- package/dist/assets/oxanium-latin-ext-700-normal.CPlnVieJ.woff +0 -0
- package/dist/assets/oxanium-latin-ext-800-normal.BAseU-U5.woff2 +0 -0
- package/dist/assets/oxanium-latin-ext-800-normal.T45cF6jC.woff +0 -0
- package/dist/assets/pascal.vHIfCaH5.js +1 -0
- package/dist/assets/pascaligo.DtZ0uQbO.js +1 -0
- package/dist/assets/perl.Ub6l9XKa.js +1 -0
- package/dist/assets/pgsql.BlNEE0v7.js +1 -0
- package/dist/assets/php.BBUBE1dy.js +1 -0
- package/dist/assets/pla.DSh2-awV.js +1 -0
- package/dist/assets/postiats.CocnycG-.js +1 -0
- package/dist/assets/powerquery.tScXyioY.js +1 -0
- package/dist/assets/powershell.COWaemsV.js +1 -0
- package/dist/assets/protobuf.Brw8urJB.js +2 -0
- package/dist/assets/pug.8SOpv6rk.js +1 -0
- package/dist/assets/python.BUTzvd2f.js +1 -0
- package/dist/assets/qsharp.Bw9ernYp.js +1 -0
- package/dist/assets/r.j7ic8hl3.js +1 -0
- package/dist/assets/razor.CI_gj0Fd.js +1 -0
- package/dist/assets/redis.Bu5POkcn.js +1 -0
- package/dist/assets/redshift.Bs9aos_-.js +1 -0
- package/dist/assets/remoteEntry.js +1 -0
- package/dist/assets/restructuredtext.CqXO7rUv.js +1 -0
- package/dist/assets/ruby.zBfavPgS.js +1 -0
- package/dist/assets/rust.BzKRNQWT.js +1 -0
- package/dist/assets/sb.BBc9UKZt.js +1 -0
- package/dist/assets/scala.D9hQfWCl.js +1 -0
- package/dist/assets/scheme.BPhDTwHR.js +1 -0
- package/dist/assets/scss.CBJaRo0y.js +3 -0
- package/dist/assets/shell.DiJ1NA_G.js +1 -0
- package/dist/assets/solidity.Db0IVjzk.js +1 -0
- package/dist/assets/sophia.CnS9iZB_.js +1 -0
- package/dist/assets/sparql.CJmd_6j2.js +1 -0
- package/dist/assets/sql.ClhHkBeG.js +1 -0
- package/dist/assets/st.CHwy0fLd.js +1 -0
- package/dist/assets/swift.Bqt4WxQ4.js +3 -0
- package/dist/assets/systemverilog.Bs9z6M-B.js +1 -0
- package/dist/assets/tcl.Dm6ycUr_.js +1 -0
- package/dist/assets/ts.worker-BjWGAzqc.js +67731 -0
- package/dist/assets/tsMode.DBpdjX7n.js +11 -0
- package/dist/assets/twig.Csy3S7wG.js +1 -0
- package/dist/assets/typescript.WM3o_g0z.js +1 -0
- package/dist/assets/typespec.Btyra-wh.js +1 -0
- package/dist/assets/vb.Db0cS2oM.js +1 -0
- package/dist/assets/wgsl.DumH7NcR.js +298 -0
- package/dist/assets/xml.D7f39jWM.js +1 -0
- package/dist/assets/yaml.BLLpRCf_.js +1 -0
- package/dist/data/joint/joint_data_20250617_101757_1.csv +449 -0
- package/dist/data/robots/models.json +48 -0
- package/dist/data/robots/test.json +39 -0
- package/dist/data/service-info.json +102 -0
- package/dist/fonts/Pretendard/variable/PretendardVariable.woff2 +0 -0
- package/dist/fonts/Pretendard/woff/Pretendard-Black.woff +0 -0
- package/dist/fonts/Pretendard/woff/Pretendard-Bold.woff +0 -0
- package/dist/fonts/Pretendard/woff/Pretendard-ExtraBold.woff +0 -0
- package/dist/fonts/Pretendard/woff/Pretendard-ExtraLight.woff +0 -0
- package/dist/fonts/Pretendard/woff/Pretendard-Light.woff +0 -0
- package/dist/fonts/Pretendard/woff/Pretendard-Medium.woff +0 -0
- package/dist/fonts/Pretendard/woff/Pretendard-Regular.woff +0 -0
- package/dist/fonts/Pretendard/woff/Pretendard-SemiBold.woff +0 -0
- package/dist/fonts/Pretendard/woff/Pretendard-Thin.woff +0 -0
- package/dist/fonts/Pretendard/woff-subset/Pretendard-Black.subset.woff +0 -0
- package/dist/fonts/Pretendard/woff-subset/Pretendard-Bold.subset.woff +0 -0
- package/dist/fonts/Pretendard/woff-subset/Pretendard-ExtraBold.subset.woff +0 -0
- package/dist/fonts/Pretendard/woff-subset/Pretendard-ExtraLight.subset.woff +0 -0
- package/dist/fonts/Pretendard/woff-subset/Pretendard-Light.subset.woff +0 -0
- package/dist/fonts/Pretendard/woff-subset/Pretendard-Medium.subset.woff +0 -0
- package/dist/fonts/Pretendard/woff-subset/Pretendard-Regular.subset.woff +0 -0
- package/dist/fonts/Pretendard/woff-subset/Pretendard-SemiBold.subset.woff +0 -0
- package/dist/fonts/Pretendard/woff-subset/Pretendard-Thin.subset.woff +0 -0
- package/dist/fonts/Pretendard/woff2/Pretendard-Black.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2/Pretendard-Bold.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2/Pretendard-ExtraBold.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2/Pretendard-ExtraLight.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2/Pretendard-Light.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2/Pretendard-Medium.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2/Pretendard-Regular.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2/Pretendard-SemiBold.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2/Pretendard-Thin.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2-subset/Pretendard-Black.subset.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2-subset/Pretendard-Bold.subset.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2-subset/Pretendard-ExtraBold.subset.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2-subset/Pretendard-ExtraLight.subset.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2-subset/Pretendard-Light.subset.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2-subset/Pretendard-Medium.subset.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2-subset/Pretendard-Regular.subset.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2-subset/Pretendard-SemiBold.subset.woff2 +0 -0
- package/dist/fonts/Pretendard/woff2-subset/Pretendard-Thin.subset.woff2 +0 -0
- package/dist/imgs/emo-button-info.jpeg +0 -0
- package/dist/imgs/nexus/commands/action_prepost.png +0 -0
- package/dist/imgs/nexus/commands/additional_axis.png +0 -0
- package/dist/imgs/nexus/commands/alarm.png +0 -0
- package/dist/imgs/nexus/commands/an_out.png +0 -0
- package/dist/imgs/nexus/commands/arc_sensing.png +0 -0
- package/dist/imgs/nexus/commands/arc_weld.png +0 -0
- package/dist/imgs/nexus/commands/break.png +0 -0
- package/dist/imgs/nexus/commands/circle.png +0 -0
- package/dist/imgs/nexus/commands/conveyor.png +0 -0
- package/dist/imgs/nexus/commands/d_out.png +0 -0
- package/dist/imgs/nexus/commands/debug.png +0 -0
- package/dist/imgs/nexus/commands/folder.png +0 -0
- package/dist/imgs/nexus/commands/force_control.png +0 -0
- package/dist/imgs/nexus/commands/gcode.png +0 -0
- package/dist/imgs/nexus/commands/gripper.png +0 -0
- package/dist/imgs/nexus/commands/if.png +0 -0
- package/dist/imgs/nexus/commands/interface.png +0 -0
- package/dist/imgs/nexus/commands/io_expand.png +0 -0
- package/dist/imgs/nexus/commands/memo.png +0 -0
- package/dist/imgs/nexus/commands/modbus.png +0 -0
- package/dist/imgs/nexus/commands/monitoring.png +0 -0
- package/dist/imgs/nexus/commands/motion_macro.png +0 -0
- package/dist/imgs/nexus/commands/move.png +0 -0
- package/dist/imgs/nexus/commands/move_j.png +0 -0
- package/dist/imgs/nexus/commands/move_jb.png +0 -0
- package/dist/imgs/nexus/commands/move_jl.png +0 -0
- package/dist/imgs/nexus/commands/move_l.png +0 -0
- package/dist/imgs/nexus/commands/move_lb.png +0 -0
- package/dist/imgs/nexus/commands/move_pb.png +0 -0
- package/dist/imgs/nexus/commands/move_point_plus.png +0 -0
- package/dist/imgs/nexus/commands/passivity_control.png +0 -0
- package/dist/imgs/nexus/commands/pattern.png +0 -0
- package/dist/imgs/nexus/commands/pin_joint.png +0 -0
- package/dist/imgs/nexus/commands/pinpoint.png +0 -0
- package/dist/imgs/nexus/commands/point.png +0 -0
- package/dist/imgs/nexus/commands/point_itpl.png +0 -0
- package/dist/imgs/nexus/commands/pos_home.png +0 -0
- package/dist/imgs/nexus/commands/repeat.png +0 -0
- package/dist/imgs/nexus/commands/replay.png +0 -0
- package/dist/imgs/nexus/commands/script.png +0 -0
- package/dist/imgs/nexus/commands/serial_communication.png +0 -0
- package/dist/imgs/nexus/commands/setting.png +0 -0
- package/dist/imgs/nexus/commands/socket_communication.png +0 -0
- package/dist/imgs/nexus/commands/sub_routine.png +0 -0
- package/dist/imgs/nexus/commands/switch.png +0 -0
- package/dist/imgs/nexus/commands/sync.png +0 -0
- package/dist/imgs/nexus/commands/tcp_setting.png +0 -0
- package/dist/imgs/nexus/commands/tcp_weaving.png +0 -0
- package/dist/imgs/nexus/commands/thread.png +0 -0
- package/dist/imgs/nexus/commands/tool_out.png +0 -0
- package/dist/imgs/nexus/commands/touch_sensing.png +0 -0
- package/dist/imgs/nexus/commands/ui_mode_select-01.png +0 -0
- package/dist/imgs/nexus/commands/user_input.png +0 -0
- package/dist/imgs/nexus/commands/variables.png +0 -0
- package/dist/imgs/nexus/commands/wait.png +0 -0
- package/dist/imgs/nexus/commands/weaving.png +0 -0
- package/dist/imgs/nexus/commands/welder.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/alarm.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/amr/dock.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/amr/loc_init.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/amr/map.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/amr/move_rotate.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/amr/obs_area.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/amr/obs_detect.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/amr/safety.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/amr/stream.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/amr/undock.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/arc_sensing.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/assign.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/break.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/color_folder.svg +9 -0
- package/dist/imgs/nexus/commands_tree_icons/condition.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/conveyor.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/debug.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/empty.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/event_big.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/event_thread.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/ext_axis.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/folder.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/folder_halt.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/force.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/gcode.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/goto.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/gripper.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/halt.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/home.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/interface.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/io_extension.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/m_direct.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/memo.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/modbus.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/monitor.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/motion_macro.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/move.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/moving_point.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/output.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/pattern.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/pattern_action.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/pattern_anchor.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/pattern_property.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/pin_joint.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/pin_point.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/point.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/point_joint.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/point_linear.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/post_program.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/repeat.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/replay.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/script_multi.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/script_single.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/socket.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/subp.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/sync.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/tcp_set.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/thread.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/touch_sensing.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/user_input.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/wait.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/weaving.png +0 -0
- package/dist/imgs/nexus/commands_tree_icons/weld.png +0 -0
- package/dist/imgs/nexus/forms/arcsensing/tcp_arc_sensing_fig.png +0 -0
- package/dist/imgs/nexus/forms/dout/unit_pulse_out.png +0 -0
- package/dist/imgs/nexus/forms/gripper/gripper_0.png +0 -0
- package/dist/imgs/nexus/forms/gripper/gripper_1.png +0 -0
- package/dist/imgs/nexus/forms/gripper/gripper_2.png +0 -0
- package/dist/imgs/nexus/forms/gripper/gripper_3.png +0 -0
- package/dist/imgs/nexus/forms/gripper/gripper_4.png +0 -0
- package/dist/imgs/nexus/forms/gripper/gripper_5.png +0 -0
- package/dist/imgs/nexus/forms/gripper/gripper_6.png +0 -0
- package/dist/imgs/nexus/forms/motion_macro/mm_type_0.png +0 -0
- package/dist/imgs/nexus/forms/motion_macro/mm_type_1.png +0 -0
- package/dist/imgs/nexus/forms/motion_macro/mm_type_2.png +0 -0
- package/dist/imgs/nexus/forms/motion_macro/mm_type_3.png +0 -0
- package/dist/imgs/nexus/forms/motion_macro/mm_type_4.png +0 -0
- package/dist/imgs/nexus/language.png +0 -0
- package/dist/imgs/nexus/model_plane.png +0 -0
- package/dist/imgs/nexus/move/calibration/option_0.png +0 -0
- package/dist/imgs/nexus/move/calibration/option_1.png +0 -0
- package/dist/imgs/nexus/move/calibration/option_2.png +0 -0
- package/dist/imgs/nexus/settings/gravity-direction-magic.png +0 -0
- package/dist/imgs/nexus/settings/gravity-direction.png +0 -0
- package/dist/imgs/profile.svg +4 -0
- package/dist/imgs/qr-bar-code-guide-dark-img.png +0 -0
- package/dist/imgs/qr-bar-code-guide-img.webp +0 -0
- package/dist/imgs/quadrupedal-robot-base-bg.png +0 -0
- package/dist/imgs/rb_black_symbol.png +0 -0
- package/dist/imgs/rb_red_symbol.png +0 -0
- package/dist/imgs/rb_white_symbol.png +0 -0
- package/dist/imgs/test/mouse-hand.png +0 -0
- package/dist/index.html +2 -2
- package/dist/plugin-demo/assets/icon.svg +3 -0
- package/dist/plugin-demo/content.js +9149 -0
- package/dist/plugin-demo/manifest.json +25 -0
- package/dist/plugin-demo/sandbox.html +10 -0
- package/dist/plugin-runtime/@rainbow-robotics/plugin-ui/chunks/chunk-37HVFFJB.js +1 -0
- package/dist/plugin-runtime/@rainbow-robotics/plugin-ui/chunks/chunk-4MGSRUAS.js +1 -0
- package/dist/plugin-runtime/@rainbow-robotics/plugin-ui/chunks/chunk-Q6XGCIPE.js +1 -0
- package/dist/plugin-runtime/@rainbow-robotics/plugin-ui/connect.js +1 -0
- package/dist/plugin-runtime/@rainbow-robotics/plugin-ui/elements.js +1 -0
- package/dist/plugin-runtime/@rainbow-robotics/plugin-ui/react.js +1 -0
- package/dist/plugin-runtime/@rainbow-robotics/plugin-ui/sdk.js +1 -0
- package/dist/plugin-runtime/vendor/react-dom-client.js +1 -0
- package/dist/plugin-runtime/vendor/react-jsx-dev-runtime.js +1 -0
- package/dist/plugin-runtime/vendor/react-jsx-runtime.js +1 -0
- package/dist/plugin-runtime/vendor/react-runtime.js +65 -0
- package/dist/plugin-runtime/vendor/react.js +1 -0
- package/dist/sounds/bottle.mp3 +0 -0
- package/package.json +3 -10
- package/serve.mjs +14 -21
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as a}from"../emotion-styled-base.browser.esm.JngGwqgu.js";var r=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],t=a.bind(null);r.forEach(function(e){t[e]=t(e)});export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{importShared as P}from"../__federation_fn_import.Drmbxo5T.js";import{j as Mt}from"../jsx-runtime.CKZTQYsb.js";var T=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Xt=class extends T{#e;#t;#s;constructor(){super(),this.#s=t=>{if(typeof window<"u"&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#t||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#s=t,this.#t?.(),this.#t=t(e=>{typeof e=="boolean"?this.setFocused(e):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},ot=new Xt,Yt={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},te=class{#e=Yt;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,e){return this.#e.setTimeout(t,e)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,e){return this.#e.setInterval(t,e)}clearInterval(t){this.#e.clearInterval(t)}},D=new te;function ee(t){setTimeout(t,0)}var se=typeof window>"u"||"Deno"in globalThis;function b(){}function re(t,e){return typeof t=="function"?t(e):t}function Y(t){return typeof t=="number"&&t>=0&&t!==1/0}function Ft(t,e){return Math.max(t+(e||0)-Date.now(),0)}function F(t,e){return typeof t=="function"?t(e):t}function R(t,e){return typeof t=="function"?t(e):t}function vt(t,e){const{type:s="all",exact:r,fetchStatus:i,predicate:n,queryKey:a,stale:o}=t;if(a){if(r){if(e.queryHash!==ut(a,e.options))return!1}else if(!k(e.queryKey,a))return!1}if(s!=="all"){const c=e.isActive();if(s==="active"&&!c||s==="inactive"&&c)return!1}return!(typeof o=="boolean"&&e.isStale()!==o||i&&i!==e.state.fetchStatus||n&&!n(e))}function mt(t,e){const{exact:s,status:r,predicate:i,mutationKey:n}=t;if(n){if(!e.options.mutationKey)return!1;if(s){if(I(e.options.mutationKey)!==I(n))return!1}else if(!k(e.options.mutationKey,n))return!1}return!(r&&e.state.status!==r||i&&!i(e))}function ut(t,e){return(e?.queryKeyHashFn||I)(t)}function I(t){return JSON.stringify(t,(e,s)=>tt(s)?Object.keys(s).sort().reduce((r,i)=>(r[i]=s[i],r),{}):s)}function k(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(s=>k(t[s],e[s])):!1}var ie=Object.prototype.hasOwnProperty;function Z(t,e,s=0){if(t===e)return t;if(s>500)return e;const r=gt(t)&>(e);if(!r&&!(tt(t)&&tt(e)))return e;const n=(r?t:Object.keys(t)).length,a=r?e:Object.keys(e),o=a.length,c=r?new Array(o):{};let l=0;for(let u=0;u<o;u++){const d=r?u:a[u],h=t[d],v=e[d];if(h===v){c[d]=h,(r?u<n:ie.call(t,d))&&l++;continue}if(h===null||v===null||typeof h!="object"||typeof v!="object"){c[d]=v;continue}const m=Z(h,v,s+1);c[d]=m,m===h&&l++}return n===o&&l===n?t:c}function K(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(t[s]!==e[s])return!1;return!0}function gt(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function tt(t){if(!bt(t))return!1;const e=t.constructor;if(e===void 0)return!0;const s=e.prototype;return!(!bt(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function bt(t){return Object.prototype.toString.call(t)==="[object Object]"}function ne(t){return new Promise(e=>{D.setTimeout(e,t)})}function et(t,e,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,e):s.structuralSharing!==!1?Z(t,e):e}function Ae(t){return t}function Dt(t,e,s=0){const r=[...t,e];return s&&r.length>s?r.slice(1):r}function ae(t,e,s=0){const r=[e,...t];return s&&r.length>s?r.slice(0,-1):r}var ct=Symbol();function It(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===ct?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function ht(t,e){return typeof t=="function"?t(...e):!!t}function Tt(t,e,s){let r=!1,i;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(i??=e(),r||(r=!0,i.aborted?s():i.addEventListener("abort",s,{once:!0})),i)}),t}var L=(()=>{let t=()=>se;return{isServer(){return t()},setIsServer(e){t=e}}})();function st(){let t,e;const s=new Promise((i,n)=>{t=i,e=n});s.status="pending",s.catch(()=>{});function r(i){Object.assign(s,i),delete s.resolve,delete s.reject}return s.resolve=i=>{r({status:"fulfilled",value:i}),t(i)},s.reject=i=>{r({status:"rejected",reason:i}),e(i)},s}function oe(t){let e;if(t.then(s=>(e=s,s),b)?.catch(b),e!==void 0)return{data:e}}function xt(t){return t}function ue(t){return{mutationKey:t.options.mutationKey,state:t.state,...t.options.scope&&{scope:t.options.scope},...t.meta&&{meta:t.meta}}}function ce(t,e,s){const r=()=>{const i=t.promise?.then(e).catch(n=>s(n)?Promise.reject(new Error("redacted")):Promise.reject(n));return i?.catch(b),i};return{dehydratedAt:Date.now(),state:{...t.state,...t.state.data!==void 0&&{data:e(t.state.data)}},queryKey:t.queryKey,queryHash:t.queryHash,...t.state.status==="pending"&&{promise:r()},...t.meta&&{meta:t.meta}}}function he(t){return t.state.isPaused}function le(t){return t.state.status==="success"}function fe(t){return!0}function qe(t,e={}){const s=e.shouldDehydrateMutation??t.getDefaultOptions().dehydrate?.shouldDehydrateMutation??he,r=t.getMutationCache().getAll().flatMap(c=>s(c)?[ue(c)]:[]),i=e.shouldDehydrateQuery??t.getDefaultOptions().dehydrate?.shouldDehydrateQuery??le,n=e.shouldRedactErrors??t.getDefaultOptions().dehydrate?.shouldRedactErrors??fe,a=e.serializeData??t.getDefaultOptions().dehydrate?.serializeData??xt,o=t.getQueryCache().getAll().flatMap(c=>i(c)?[ce(c,a,n)]:[]);return{mutations:r,queries:o}}function Ot(t,e,s){if(typeof e!="object"||e===null)return;const r=t.getMutationCache(),i=t.getQueryCache(),n=s?.defaultOptions?.deserializeData??t.getDefaultOptions().hydrate?.deserializeData??xt,a=e.mutations||[],o=e.queries||[];a.forEach(({state:c,...l})=>{r.build(t,{...t.getDefaultOptions().hydrate?.mutations,...s?.defaultOptions?.mutations,...l},c)}),o.forEach(({queryKey:c,state:l,queryHash:u,meta:d,promise:h,dehydratedAt:v})=>{const m=h?oe(h):void 0,f=l.data===void 0?m?.data:l.data,y=f===void 0?f:n(f);let p=i.get(u);const O=p?.state.status==="pending",w=p?.state.fetchStatus==="fetching";if(p){const C=m&&v!==void 0&&v>p.state.dataUpdatedAt;if(l.dataUpdatedAt>p.state.dataUpdatedAt||C){const{fetchStatus:E,...x}=l;p.setState({...x,data:y})}}else p=i.build(t,{...t.getDefaultOptions().hydrate?.queries,...s?.defaultOptions?.queries,queryKey:c,queryHash:u,meta:d},{...l,data:y,fetchStatus:"idle",status:y!==void 0?"success":l.status});h&&!O&&!w&&(v===void 0||v>p.state.dataUpdatedAt)&&p.fetch(void 0,{initialPromise:Promise.resolve(h).then(n)}).catch(b)})}var de=ee;function pe(){let t=[],e=0,s=o=>{o()},r=o=>{o()},i=de;const n=o=>{e?t.push(o):i(()=>{s(o)})},a=()=>{const o=t;t=[],o.length&&i(()=>{r(()=>{o.forEach(c=>{s(c)})})})};return{batch:o=>{let c;e++;try{c=o()}finally{e--,e||a()}return c},batchCalls:o=>(...c)=>{n(()=>{o(...c)})},schedule:n,setNotifyFunction:o=>{s=o},setBatchNotifyFunction:o=>{r=o},setScheduler:o=>{i=o}}}var g=pe(),ye=class extends T{#e=!0;#t;#s;constructor(){super(),this.#s=t=>{if(typeof window<"u"&&window.addEventListener){const e=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#t||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#s=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(s=>{s(t)}))}isOnline(){return this.#e}},W=new ye;function ve(t){return Math.min(1e3*2**t,3e4)}function At(t){return(t??"online")==="online"?W.isOnline():!0}var V=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function Ue(t){return t instanceof V}function qt(t){let e=!1,s=0,r;const i=st(),n=()=>i.status!=="pending",a=f=>{if(!n()){const y=new V(f);h(y),t.onCancel?.(y)}},o=()=>{e=!0},c=()=>{e=!1},l=()=>ot.isFocused()&&(t.networkMode==="always"||W.isOnline())&&t.canRun(),u=()=>At(t.networkMode)&&t.canRun(),d=f=>{n()||(r?.(),i.resolve(f))},h=f=>{n()||(r?.(),i.reject(f))},v=()=>new Promise(f=>{r=y=>{(n()||l())&&f(y)},t.onPause?.()}).then(()=>{r=void 0,n()||t.onContinue?.()}),m=()=>{if(n())return;let f;const y=s===0?t.initialPromise:void 0;try{f=y??t.fn()}catch(p){f=Promise.reject(p)}Promise.resolve(f).then(d).catch(p=>{if(n())return;const O=t.retry??(L.isServer()?0:3),w=t.retryDelay??ve,C=typeof w=="function"?w(s,p):w,E=O===!0||typeof O=="number"&&s<O||typeof O=="function"&&O(s,p);if(e||!E){h(p);return}s++,t.onFail?.(s,p),ne(C).then(()=>l()?void 0:v()).then(()=>{e?h(p):m()})})};return{promise:i,status:()=>i.status,cancel:a,continue:()=>(r?.(),i),cancelRetry:o,continueRetry:c,canStart:u,start:()=>(u()?m():v().then(m),i)}}var Ut=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Y(this.gcTime)&&(this.#e=D.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(L.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e&&(D.clearTimeout(this.#e),this.#e=void 0)}},me=class extends Ut{#e;#t;#s;#i;#r;#n;#a;constructor(t){super(),this.#a=!1,this.#n=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#i=t.client,this.#s=this.#i.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=Rt(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(t){if(this.options={...this.#n,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const e=Rt(this.options);e.data!==void 0&&(this.setState(St(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#s.remove(this)}setData(t,e){const s=et(this.state.data,t,this.options);return this.#u({data:s,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),s}setState(t,e){this.#u({type:"setState",state:t,setStateOptions:e})}cancel(t){const e=this.#r?.promise;return this.#r?.cancel(t),e?e.then(b).catch(b):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>R(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ct||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>F(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Ft(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#r&&(this.#a||this.#o()?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}#o(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#u({type:"invalidate"})}async fetch(t,e){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(t&&this.setOptions(t),!this.options.queryFn){const o=this.observers.find(c=>c.options.queryFn);o&&this.setOptions(o.options)}const s=new AbortController,r=o=>{Object.defineProperty(o,"signal",{enumerable:!0,get:()=>(this.#a=!0,s.signal)})},i=()=>{const o=It(this.options,e),l=(()=>{const u={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(u),u})();return this.#a=!1,this.options.persister?this.options.persister(o,l,this):o(l)},a=(()=>{const o={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(o),o})();this.options.behavior?.onFetch(a,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#u({type:"fetch",meta:a.fetchOptions?.meta}),this.#r=qt({initialPromise:e?.initialPromise,fn:a.fetchFn,onCancel:o=>{o instanceof V&&o.revert&&this.setState({...this.#t,fetchStatus:"idle"}),s.abort()},onFail:(o,c)=>{this.#u({type:"failed",failureCount:o,error:c})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{const o=await this.#r.start();if(o===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(o),this.#s.config.onSuccess?.(o,this),this.#s.config.onSettled?.(o,this.state.error,this),o}catch(o){if(o instanceof V){if(o.silent)return this.#r.promise;if(o.revert){if(this.state.data===void 0)throw o;return this.state.data}}throw this.#u({type:"error",error:o}),this.#s.config.onError?.(o,this),this.#s.config.onSettled?.(this.state.data,o,this),o}finally{this.scheduleGc()}}#u(t){const e=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...jt(s.data,this.options),fetchMeta:t.meta??null};case"success":const r={...s,...St(t.data,t.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=t.manual?r:void 0,r;case"error":const i=t.error;return{...s,error:i,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=e(this.state),g.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#s.notify({query:this,type:"updated",action:t})})}};function jt(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:At(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function St(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Rt(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,s=e!==void 0,r=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var _=class extends T{constructor(t,e){super(),this.options=e,this.#e=t,this.#o=null,this.#a=st(),this.bindMethods(),this.setOptions(e)}#e;#t=void 0;#s=void 0;#i=void 0;#r;#n;#a;#o;#u;#f;#d;#h;#l;#c;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),wt(this.#t,this.options)?this.#y():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return rt(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return rt(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#O(),this.#S(),this.#t.removeObserver(this)}setOptions(t){const e=this.options,s=this.#t;if(this.options=this.#e.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof R(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#R(),this.#t.setOptions(this.options),e._defaulted&&!K(this.options,e)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&Pt(this.#t,s,this.options,e)&&this.#y(),this.updateResult(),r&&(this.#t!==s||R(this.options.enabled,this.#t)!==R(e.enabled,this.#t)||F(this.options.staleTime,this.#t)!==F(e.staleTime,this.#t))&&this.#v();const i=this.#m();r&&(this.#t!==s||R(this.options.enabled,this.#t)!==R(e.enabled,this.#t)||i!==this.#c)&&this.#g(i)}getOptimisticResult(t){const e=this.#e.getQueryCache().build(this.#e,t),s=this.createResult(e,t);return be(this,s)&&(this.#i=s,this.#n=this.options,this.#r=this.#t.state),s}getCurrentResult(){return this.#i}trackResult(t,e){return new Proxy(t,{get:(s,r)=>(this.trackProp(r),e?.(r),r==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#a.status==="pending"&&this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,r))})}trackProp(t){this.#p.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=this.#e.defaultQueryOptions(t),s=this.#e.getQueryCache().build(this.#e,e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#y({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#y(t){this.#R();let e=this.#t.fetch(this.options,t);return t?.throwOnError||(e=e.catch(b)),e}#v(){this.#O();const t=F(this.options.staleTime,this.#t);if(L.isServer()||this.#i.isStale||!Y(t))return;const s=Ft(this.#i.dataUpdatedAt,t)+1;this.#h=D.setTimeout(()=>{this.#i.isStale||this.updateResult()},s)}#m(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#g(t){this.#S(),this.#c=t,!(L.isServer()||R(this.options.enabled,this.#t)===!1||!Y(this.#c)||this.#c===0)&&(this.#l=D.setInterval(()=>{(this.options.refetchIntervalInBackground||ot.isFocused())&&this.#y()},this.#c))}#b(){this.#v(),this.#g(this.#m())}#O(){this.#h&&(D.clearTimeout(this.#h),this.#h=void 0)}#S(){this.#l&&(D.clearInterval(this.#l),this.#l=void 0)}createResult(t,e){const s=this.#t,r=this.options,i=this.#i,n=this.#r,a=this.#n,c=t!==s?t.state:this.#s,{state:l}=t;let u={...l},d=!1,h;if(e._optimisticResults){const S=this.hasListeners(),A=!S&&wt(t,e),N=S&&Pt(t,s,e,r);(A||N)&&(u={...u,...jt(l.data,t.options)}),e._optimisticResults==="isRestoring"&&(u.fetchStatus="idle")}let{error:v,errorUpdatedAt:m,status:f}=u;h=u.data;let y=!1;if(e.placeholderData!==void 0&&h===void 0&&f==="pending"){let S;i?.isPlaceholderData&&e.placeholderData===a?.placeholderData?(S=i.data,y=!0):S=typeof e.placeholderData=="function"?e.placeholderData(this.#d?.state.data,this.#d):e.placeholderData,S!==void 0&&(f="success",h=et(i?.data,S,e),d=!0)}if(e.select&&h!==void 0&&!y)if(i&&h===n?.data&&e.select===this.#u)h=this.#f;else try{this.#u=e.select,h=e.select(h),h=et(i?.data,h,e),this.#f=h,this.#o=null}catch(S){this.#o=S}this.#o&&(v=this.#o,h=this.#f,m=Date.now(),f="error");const p=u.fetchStatus==="fetching",O=f==="pending",w=f==="error",C=O&&p,E=h!==void 0,M={status:f,fetchStatus:u.fetchStatus,isPending:O,isSuccess:f==="success",isError:w,isInitialLoading:C,isLoading:C,data:h,dataUpdatedAt:u.dataUpdatedAt,error:v,errorUpdatedAt:m,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:u.dataUpdateCount>c.dataUpdateCount||u.errorUpdateCount>c.errorUpdateCount,isFetching:p,isRefetching:p&&!O,isLoadingError:w&&!E,isPaused:u.fetchStatus==="paused",isPlaceholderData:d,isRefetchError:w&&E,isStale:lt(t,e),refetch:this.refetch,promise:this.#a,isEnabled:R(e.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const S=M.data!==void 0,A=M.status==="error"&&!S,N=B=>{A?B.reject(M.error):S&&B.resolve(M.data)},yt=()=>{const B=this.#a=M.promise=st();N(B)},H=this.#a;switch(H.status){case"pending":t.queryHash===s.queryHash&&N(H);break;case"fulfilled":(A||M.data!==H.value)&&yt();break;case"rejected":(!A||M.error!==H.reason)&&yt();break}}return M}updateResult(){const t=this.#i,e=this.createResult(this.#t,this.options);if(this.#r=this.#t.state,this.#n=this.options,this.#r.data!==void 0&&(this.#d=this.#t),K(e,t))return;this.#i=e;const s=()=>{if(!t)return!0;const{notifyOnChangeProps:r}=this.options,i=typeof r=="function"?r():r;if(i==="all"||!i&&!this.#p.size)return!0;const n=new Set(i??this.#p);return this.options.throwOnError&&n.add("error"),Object.keys(this.#i).some(a=>{const o=a;return this.#i[o]!==t[o]&&n.has(o)})};this.#w({listeners:s()})}#R(){const t=this.#e.getQueryCache().build(this.#e,this.options);if(t===this.#t)return;const e=this.#t;this.#t=t,this.#s=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#w(t){g.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(this.#i)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function ge(t,e){return R(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function wt(t,e){return ge(t,e)||t.state.data!==void 0&&rt(t,e,e.refetchOnMount)}function rt(t,e,s){if(R(e.enabled,t)!==!1&&F(e.staleTime,t)!=="static"){const r=typeof s=="function"?s(t):s;return r==="always"||r!==!1&<(t,e)}return!1}function Pt(t,e,s,r){return(t!==e||R(r.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&<(t,s)}function lt(t,e){return R(e.enabled,t)!==!1&&t.isStaleByTime(F(e.staleTime,t))}function be(t,e){return!K(t.getCurrentResult(),e)}function J(t){return{onFetch:(e,s)=>{const r=e.options,i=e.fetchOptions?.meta?.fetchMore?.direction,n=e.state.data?.pages||[],a=e.state.data?.pageParams||[];let o={pages:[],pageParams:[]},c=0;const l=async()=>{let u=!1;const d=m=>{Tt(m,()=>e.signal,()=>u=!0)},h=It(e.options,e.fetchOptions),v=async(m,f,y)=>{if(u)return Promise.reject();if(f==null&&m.pages.length)return Promise.resolve(m);const O=(()=>{const x={client:e.client,queryKey:e.queryKey,pageParam:f,direction:y?"backward":"forward",meta:e.options.meta};return d(x),x})(),w=await h(O),{maxPages:C}=e.options,E=y?ae:Dt;return{pages:E(m.pages,w,C),pageParams:E(m.pageParams,f,C)}};if(i&&n.length){const m=i==="backward",f=m?kt:it,y={pages:n,pageParams:a},p=f(r,y);o=await v(y,p,m)}else{const m=t??n.length;do{const f=c===0?a[0]??r.initialPageParam:it(r,o);if(c>0&&f==null)break;o=await v(o,f),c++}while(c<m)}return o};e.options.persister?e.fetchFn=()=>e.options.persister?.(l,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s):e.fetchFn=l}}}function it(t,{pages:e,pageParams:s}){const r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,s[r],s):void 0}function kt(t,{pages:e,pageParams:s}){return e.length>0?t.getPreviousPageParam?.(e[0],e,s[0],s):void 0}function Oe(t,e){return e?it(t,e)!=null:!1}function Se(t,e){return!e||!t.getPreviousPageParam?!1:kt(t,e)!=null}var Kt=class extends _{constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t){super.setOptions({...t,behavior:J()})}getOptimisticResult(t){return t.behavior=J(),super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"backward"}}})}createResult(t,e){const{state:s}=t,r=super.createResult(t,e),{isFetching:i,isRefetching:n,isError:a,isRefetchError:o}=r,c=s.fetchMeta?.fetchMore?.direction,l=a&&c==="forward",u=i&&c==="forward",d=a&&c==="backward",h=i&&c==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Oe(e,s.data),hasPreviousPage:Se(e,s.data),isFetchNextPageError:l,isFetchingNextPage:u,isFetchPreviousPageError:d,isFetchingPreviousPage:h,isRefetchError:o&&!l&&!d,isRefetching:n&&!u&&!h}}},Re=class extends Ut{#e;#t;#s;#i;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#s=t.mutationCache,this.#t=[],this.state=t.state||Lt(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(e=>e!==t),this.scheduleGc(),this.#s.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#s.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(t){const e=()=>{this.#r({type:"continue"})},s={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=qt({fn:()=>this.options.mutationFn?this.options.mutationFn(t,s):Promise.reject(new Error("No mutationFn found")),onFail:(n,a)=>{this.#r({type:"failed",failureCount:n,error:a})},onPause:()=>{this.#r({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#s.canRun(this)});const r=this.state.status==="pending",i=!this.#i.canStart();try{if(r)e();else{this.#r({type:"pending",variables:t,isPaused:i}),this.#s.config.onMutate&&await this.#s.config.onMutate(t,this,s);const a=await this.options.onMutate?.(t,s);a!==this.state.context&&this.#r({type:"pending",context:a,variables:t,isPaused:i})}const n=await this.#i.start();return await this.#s.config.onSuccess?.(n,t,this.state.context,this,s),await this.options.onSuccess?.(n,t,this.state.context,s),await this.#s.config.onSettled?.(n,null,this.state.variables,this.state.context,this,s),await this.options.onSettled?.(n,null,t,this.state.context,s),this.#r({type:"success",data:n}),n}catch(n){try{await this.#s.config.onError?.(n,t,this.state.context,this,s)}catch(a){Promise.reject(a)}try{await this.options.onError?.(n,t,this.state.context,s)}catch(a){Promise.reject(a)}try{await this.#s.config.onSettled?.(void 0,n,this.state.variables,this.state.context,this,s)}catch(a){Promise.reject(a)}try{await this.options.onSettled?.(void 0,n,t,this.state.context,s)}catch(a){Promise.reject(a)}throw this.#r({type:"error",error:n}),n}finally{this.#s.runNext(this)}}#r(t){const e=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),g.batch(()=>{this.#t.forEach(s=>{s.onMutationUpdate(t)}),this.#s.notify({mutation:this,type:"updated",action:t})})}};function Lt(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var we=class extends T{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#s=0}#e;#t;#s;build(t,e,s){const r=new Re({client:t,mutationCache:this,mutationId:++this.#s,options:t.defaultMutationOptions(e),state:s});return this.add(r),r}add(t){this.#e.add(t);const e=z(t);if(typeof e=="string"){const s=this.#t.get(e);s?s.push(t):this.#t.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const e=z(t);if(typeof e=="string"){const s=this.#t.get(e);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&this.#t.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){const e=z(t);if(typeof e=="string"){const r=this.#t.get(e)?.find(i=>i.state.status==="pending");return!r||r===t}else return!0}runNext(t){const e=z(t);return typeof e=="string"?this.#t.get(e)?.find(r=>r!==t&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){g.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const e={exact:!0,...t};return this.getAll().find(s=>mt(e,s))}findAll(t={}){return this.getAll().filter(e=>mt(t,e))}notify(t){g.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return g.batch(()=>Promise.all(t.map(e=>e.continue().catch(b))))}};function z(t){return t.options.scope?.id}var Pe=class extends T{#e;#t=void 0;#s;#i;constructor(t,e){super(),this.#e=t,this.setOptions(e),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const e=this.options;this.options=this.#e.defaultMutationOptions(t),K(this.options,e)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),e?.mutationKey&&this.options.mutationKey&&I(e.mutationKey)!==I(this.options.mutationKey)?this.reset():this.#s?.state.status==="pending"&&this.#s.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(t){this.#r(),this.#n(t)}getCurrentResult(){return this.#t}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#r(),this.#n()}mutate(t,e){return this.#i=e,this.#s?.removeObserver(this),this.#s=this.#e.getMutationCache().build(this.#e,this.options),this.#s.addObserver(this),this.#s.execute(t)}#r(){const t=this.#s?.state??Lt();this.#t={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#n(t){g.batch(()=>{if(this.#i&&this.hasListeners()){const e=this.#t.variables,s=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#i.onSuccess?.(t.data,e,s,r)}catch(i){Promise.reject(i)}try{this.#i.onSettled?.(t.data,null,e,s,r)}catch(i){Promise.reject(i)}}else if(t?.type==="error"){try{this.#i.onError?.(t.error,e,s,r)}catch(i){Promise.reject(i)}try{this.#i.onSettled?.(void 0,t.error,e,s,r)}catch(i){Promise.reject(i)}}}this.listeners.forEach(e=>{e(this.#t)})})}};function Ct(t,e){const s=new Set(e);return t.filter(r=>!s.has(r))}function Ce(t,e,s){const r=t.slice(0);return r[e]=s,r}var Qe=class extends T{#e;#t;#s;#i;#r;#n;#a;#o;#u;#f=[];constructor(t,e,s){super(),this.#e=t,this.#i=s,this.#s=[],this.#r=[],this.#t=[],this.setQueries(e)}onSubscribe(){this.listeners.size===1&&this.#r.forEach(t=>{t.subscribe(e=>{this.#c(t,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#r.forEach(t=>{t.destroy()})}setQueries(t,e){this.#s=t,this.#i=e,g.batch(()=>{const s=this.#r,r=this.#l(this.#s);r.forEach(u=>u.observer.setOptions(u.defaultedQueryOptions));const i=r.map(u=>u.observer),n=i.map(u=>u.getCurrentResult()),a=s.length!==i.length,o=i.some((u,d)=>u!==s[d]),c=a||o,l=c?!0:n.some((u,d)=>{const h=this.#t[d];return!h||!K(u,h)});!c&&!l||(c&&(this.#f=r,this.#r=i),this.#t=n,this.hasListeners()&&(c&&(Ct(s,i).forEach(u=>{u.destroy()}),Ct(i,s).forEach(u=>{u.subscribe(d=>{this.#c(u,d)})})),this.#p()))})}getCurrentResult(){return this.#t}getQueries(){return this.#r.map(t=>t.getCurrentQuery())}getObservers(){return this.#r}getOptimisticResult(t,e){const s=this.#l(t),r=s.map(n=>n.observer.getOptimisticResult(n.defaultedQueryOptions)),i=s.map(n=>n.defaultedQueryOptions.queryHash);return[r,n=>this.#h(n??r,e,i),()=>this.#d(r,s)]}#d(t,e){return e.map((s,r)=>{const i=t[r];return s.defaultedQueryOptions.notifyOnChangeProps?i:s.observer.trackResult(i,n=>{e.forEach(a=>{a.observer.trackProp(n)})})})}#h(t,e,s){if(e){const r=this.#u,i=s!==void 0&&r!==void 0&&(r.length!==s.length||s.some((n,a)=>n!==r[a]));return(!this.#n||this.#t!==this.#o||i||e!==this.#a)&&(this.#a=e,this.#o=this.#t,s!==void 0&&(this.#u=s),this.#n=Z(this.#n,e(t))),this.#n}return t}#l(t){const e=new Map;this.#r.forEach(r=>{const i=r.options.queryHash;if(!i)return;const n=e.get(i);n?n.push(r):e.set(i,[r])});const s=[];return t.forEach(r=>{const i=this.#e.defaultQueryOptions(r),a=e.get(i.queryHash)?.shift()??new _(this.#e,i);s.push({defaultedQueryOptions:i,observer:a})}),s}#c(t,e){const s=this.#r.indexOf(t);s!==-1&&(this.#t=Ce(this.#t,s,e),this.#p())}#p(){if(this.hasListeners()){const t=this.#n,e=this.#d(this.#t,this.#f),s=this.#h(e,this.#i?.combine);t!==s&&g.batch(()=>{this.listeners.forEach(r=>{r(this.#t)})})}}},Ee=class extends T{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,e,s){const r=e.queryKey,i=e.queryHash??ut(r,e);let n=this.get(i);return n||(n=new me({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(n)),n}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=this.#e.get(t.queryHash);e&&(t.destroy(),e===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){g.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const e={exact:!0,...t};return this.getAll().find(s=>vt(e,s))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(s=>vt(t,s)):e}notify(t){g.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){g.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){g.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},je=class{#e;#t;#s;#i;#r;#n;#a;#o;constructor(t={}){this.#e=t.queryCache||new Ee,this.#t=t.mutationCache||new we,this.#s=t.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#n=0}mount(){this.#n++,this.#n===1&&(this.#a=ot.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#o=W.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#n--,this.#n===0&&(this.#a?.(),this.#a=void 0,this.#o?.(),this.#o=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),s=this.#e.build(this,e),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(F(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:e,state:s})=>{const r=s.data;return[e,r]})}setQueryData(t,e,s){const r=this.defaultQueryOptions({queryKey:t}),n=this.#e.get(r.queryHash)?.state.data,a=re(e,n);if(a!==void 0)return this.#e.build(this,r).setData(a,{...s,manual:!0})}setQueriesData(t,e,s){return g.batch(()=>this.#e.findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,e,s)]))}getQueryState(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state}removeQueries(t){const e=this.#e;g.batch(()=>{e.findAll(t).forEach(s=>{e.remove(s)})})}resetQueries(t,e){const s=this.#e;return g.batch(()=>(s.findAll(t).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const s={revert:!0,...e},r=g.batch(()=>this.#e.findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(b).catch(b)}invalidateQueries(t,e={}){return g.batch(()=>(this.#e.findAll(t).forEach(s=>{s.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e)))}refetchQueries(t,e={}){const s={...e,cancelRefetch:e.cancelRefetch??!0},r=g.batch(()=>this.#e.findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let n=i.fetch(void 0,s);return s.throwOnError||(n=n.catch(b)),i.state.fetchStatus==="paused"?Promise.resolve():n}));return Promise.all(r).then(b)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const s=this.#e.build(this,e);return s.isStaleByTime(F(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(b).catch(b)}fetchInfiniteQuery(t){return t.behavior=J(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(b).catch(b)}ensureInfiniteQueryData(t){return t.behavior=J(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return W.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#s}setDefaultOptions(t){this.#s=t}setQueryDefaults(t,e){this.#i.set(I(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#i.values()],s={};return e.forEach(r=>{k(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,e){this.#r.set(I(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#r.values()],s={};return e.forEach(r=>{k(t,r.mutationKey)&&Object.assign(s,r.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const e={...this.#s.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ut(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===ct&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#s.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};function ke({streamFn:t,refetchMode:e="reset",reducer:s=(i,n)=>Dt(i,n),initialValue:r=[]}){return async i=>{const n=i.client.getQueryCache().find({queryKey:i.queryKey,exact:!0}),a=!!n&&n.isFetched();a&&e==="reset"&&n.setState({...n.resetState,fetchStatus:"fetching"});let o=r,c=!1;const l=Tt({client:i.client,meta:i.meta,queryKey:i.queryKey,pageParam:i.pageParam,direction:i.direction},()=>i.signal,()=>c=!0),u=await t(l),d=a&&e==="replace";for await(const h of u){if(c)break;d?o=s(o,h):i.client.setQueryData(i.queryKey,v=>s(v===void 0?r:v,h))}return d&&!c&&i.client.setQueryData(i.queryKey,o),i.client.getQueryData(i.queryKey)??r}}var Ke=Symbol("dataTagSymbol"),Le=Symbol("dataTagErrorSymbol"),_e=Symbol("unsetMarker");const ft=await P("react");var _t=ft.createContext(void 0),Q=t=>{const e=ft.useContext(_t);if(t)return t;if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Ne=({client:t,children:e})=>(ft.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),Mt.jsx(_t.Provider,{value:t,children:e}));const Nt=await P("react");var Ht=Nt.createContext(!1),Bt=()=>Nt.useContext(Ht),He=Ht.Provider;const dt=await P("react");function zt(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var Gt=dt.createContext(zt()),$t=()=>dt.useContext(Gt),Be=({children:t})=>{const[e]=dt.useState(()=>zt());return Mt.jsx(Gt.Provider,{value:e,children:typeof t=="function"?t(e):t})};const Me=await P("react");var Wt=(t,e,s)=>{const r=s?.state.error&&typeof t.throwOnError=="function"?ht(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||r)&&(e.isReset()||(t.retryOnMount=!1))},Vt=t=>{Me.useEffect(()=>{t.clearReset()},[t])},Jt=({result:t,errorResetBoundary:e,throwOnError:s,query:r,suspense:i})=>t.isError&&!e.isReset()&&!t.isFetching&&r&&(i&&t.data===void 0||ht(s,[t.error,r])),pt=(t,e)=>e.state.data===void 0,Zt=t=>{if(t.suspense){const s=i=>i==="static"?i:Math.max(i??1e3,1e3),r=t.staleTime;t.staleTime=typeof r=="function"?(...i)=>s(r(...i)):s(r),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},Fe=(t,e)=>t.isLoading&&t.isFetching&&!e,nt=(t,e)=>t?.suspense&&e.isPending,at=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});const q=await P("react");function De({queries:t,...e},s){const r=Q(s),i=Bt(),n=$t(),a=q.useMemo(()=>t.map(f=>{const y=r.defaultQueryOptions(f);return y._optimisticResults=i?"isRestoring":"optimistic",y}),[t,r,i]);a.forEach(f=>{Zt(f);const y=r.getQueryCache().get(f.queryHash);Wt(f,n,y)}),Vt(n);const[o]=q.useState(()=>new Qe(r,a,e)),[c,l,u]=o.getOptimisticResult(a,e.combine),d=!i&&e.subscribed!==!1;q.useSyncExternalStore(q.useCallback(f=>d?o.subscribe(g.batchCalls(f)):b,[o,d]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),q.useEffect(()=>{o.setQueries(a,e)},[a,e,o]);const v=c.some((f,y)=>nt(a[y],f))?c.flatMap((f,y)=>{const p=a[y];if(p&&nt(p,f)){const O=new _(r,p);return at(p,O,n)}return[]}):[];if(v.length>0)throw Promise.all(v);const m=c.find((f,y)=>{const p=a[y];return p&&Jt({result:f,errorResetBoundary:n,throwOnError:p.throwOnError,query:r.getQueryCache().get(p.queryHash),suspense:p.suspense})});if(m?.error)throw m.error;return l(u())}const G=await P("react");function X(t,e,s){const r=Bt(),i=$t(),n=Q(s),a=n.defaultQueryOptions(t);n.getDefaultOptions().queries?._experimental_beforeQuery?.(a);const o=n.getQueryCache().get(a.queryHash);a._optimisticResults=r?"isRestoring":"optimistic",Zt(a),Wt(a,i,o),Vt(i);const c=!n.getQueryCache().get(a.queryHash),[l]=G.useState(()=>new e(n,a)),u=l.getOptimisticResult(a),d=!r&&t.subscribed!==!1;if(G.useSyncExternalStore(G.useCallback(h=>{const v=d?l.subscribe(g.batchCalls(h)):b;return l.updateResult(),v},[l,d]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),G.useEffect(()=>{l.setOptions(a)},[a,l]),nt(a,u))throw at(a,l,i);if(Jt({result:u,errorResetBoundary:i,throwOnError:a.throwOnError,query:o,suspense:a.suspense}))throw u.error;return n.getDefaultOptions().queries?._experimental_afterQuery?.(a,u),a.experimental_prefetchInRender&&!L.isServer()&&Fe(u,r)&&(c?at(a,l,i):o?.promise)?.catch(b).finally(()=>{l.updateResult()}),a.notifyOnChangeProps?u:l.trackResult(u)}function ze(t,e){return X(t,_,e)}function Ge(t,e){return X({...t,enabled:!0,suspense:!0,throwOnError:pt,placeholderData:void 0},_,e)}function $e(t,e){return X({...t,enabled:!0,suspense:!0,throwOnError:pt},Kt,e)}function We(t,e){return De({...t,queries:t.queries.map(s=>({...s,suspense:!0,throwOnError:pt,enabled:!0,placeholderData:void 0}))},e)}function Ve(t,e){const s=Q(e);s.getQueryState(t.queryKey)||s.prefetchQuery(t)}function Je(t,e){const s=Q(e);s.getQueryState(t.queryKey)||s.prefetchInfiniteQuery(t)}function Ze(t){return t}function Xe(t){return t}const $=await P("react");var Ye=({children:t,options:e={},state:s,queryClient:r})=>{const i=Q(r),n=$.useRef(e);$.useEffect(()=>{n.current=e});const a=$.useMemo(()=>{if(s){if(typeof s!="object")return;const o=i.getQueryCache(),c=s.queries||[],l=[],u=[];for(const d of c){const h=o.get(d.queryHash);h?(d.state.dataUpdatedAt>h.state.dataUpdatedAt||d.promise&&h.state.status!=="pending"&&h.state.fetchStatus!=="fetching"&&d.dehydratedAt!==void 0&&d.dehydratedAt>h.state.dataUpdatedAt)&&u.push(d):l.push(d)}if(l.length>0&&Ot(i,{queries:l},n.current),u.length>0)return u}},[i,s]);return $.useEffect(()=>{a&&Ot(i,{queries:a},n.current)},[i,a]),t};const Qt=await P("react");function ts(t,e){const s=Q(e),r=s.getQueryCache();return Qt.useSyncExternalStore(Qt.useCallback(i=>r.subscribe(g.batchCalls(i)),[r]),()=>s.isFetching(t),()=>s.isFetching(t))}const U=await P("react");function es(t,e){const s=Q(e);return Ie({filters:{...t,status:"pending"}},s).length}function Et(t,e){return t.findAll(e.filters).map(s=>e.select?e.select(s):s.state)}function Ie(t={},e){const s=Q(e).getMutationCache(),r=U.useRef(t),i=U.useRef(null);return i.current===null&&(i.current=Et(s,t)),U.useEffect(()=>{r.current=t}),U.useSyncExternalStore(U.useCallback(n=>s.subscribe(()=>{const a=Z(i.current,Et(s,r.current));i.current!==a&&(i.current=a,g.schedule(n))}),[s]),()=>i.current,()=>i.current)}const j=await P("react");function ss(t,e){const s=Q(e),[r]=j.useState(()=>new Pe(s,t));j.useEffect(()=>{r.setOptions(t)},[r,t]);const i=j.useSyncExternalStore(j.useCallback(a=>r.subscribe(g.batchCalls(a)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),n=j.useCallback((a,o)=>{r.mutate(a,o).catch(b)},[r]);if(i.error&&ht(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:n,mutateAsync:i.mutate}}function rs(t){return t}function is(t,e){return X(t,Kt,e)}export{V as CancelledError,Ye as HydrationBoundary,Kt as InfiniteQueryObserver,He as IsRestoringProvider,Re as Mutation,we as MutationCache,Pe as MutationObserver,Qe as QueriesObserver,me as Query,Ee as QueryCache,je as QueryClient,_t as QueryClientContext,Ne as QueryClientProvider,Be as QueryErrorResetBoundary,_ as QueryObserver,Le as dataTagErrorSymbol,Ke as dataTagSymbol,de as defaultScheduler,he as defaultShouldDehydrateMutation,le as defaultShouldDehydrateQuery,qe as dehydrate,L as environmentManager,ke as experimental_streamedQuery,ot as focusManager,I as hashKey,Ot as hydrate,Xe as infiniteQueryOptions,Ue as isCancelledError,se as isServer,Ae as keepPreviousData,mt as matchMutation,vt as matchQuery,rs as mutationOptions,b as noop,g as notifyManager,W as onlineManager,k as partialMatchKey,Ze as queryOptions,Z as replaceEqualDeep,ht as shouldThrowError,ct as skipToken,D as timeoutManager,_e as unsetMarker,is as useInfiniteQuery,ts as useIsFetching,es as useIsMutating,Bt as useIsRestoring,ss as useMutation,Ie as useMutationState,Je as usePrefetchInfiniteQuery,Ve as usePrefetchQuery,De as useQueries,ze as useQuery,Q as useQueryClient,$t as useQueryErrorResetBoundary,$e as useSuspenseInfiniteQuery,We as useSuspenseQueries,Ge as useSuspenseQuery};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as r}from"./_commonjsHelpers.Cpj98o6Y.js";import{r as o}from"./index.CHuCXVak.js";var t=o();const m=r(t);export{m as default};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import{g as fe}from"./_commonjsHelpers.Cpj98o6Y.js";import{r as de}from"./index.ChsGqxH_.js";var Wt={exports:{}};/*!
|
|
2
|
+
*
|
|
3
|
+
* react-simple-keyboard v3.8.183
|
|
4
|
+
* https://github.com/hodgef/react-simple-keyboard
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
*/var pe=Wt.exports,ue;function he(){return ue||(ue=1,(function(se,ge){(function(Zt,qt){se.exports=qt(de())})(pe,(function(Zt){return(function(){var qt={981:function(){typeof Element>"u"||"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),typeof self<"u"&&"document"in self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&(function(W){if("Element"in W){var ut="classList",it="prototype",D=W.Element[it],pt=Object,vt=String[it].trim||function(){return this.replace(/^\s+|\s+$/g,"")},Ot=Array[it].indexOf||function(V){for(var F=0,tt=this.length;F<tt;F++)if(F in this&&this[F]===V)return F;return-1},It=function(V,F){this.name=V,this.code=DOMException[V],this.message=F},bt=function(V,F){if(F==="")throw new It("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(F))throw new It("INVALID_CHARACTER_ERR","The token must not contain space characters.");return Ot.call(V,F)},Bt=function(V){for(var F=vt.call(V.getAttribute("class")||""),tt=F?F.split(/\s+/):[],nt=0,Et=tt.length;nt<Et;nt++)this.push(tt[nt]);this._updateClassName=function(){V.setAttribute("class",this.toString())}},Y=Bt[it]=[],rt=function(){return new Bt(this)};if(It[it]=Error[it],Y.item=function(V){return this[V]||null},Y.contains=function(V){return~bt(this,V+"")},Y.add=function(){var V,F=arguments,tt=0,nt=F.length,Et=!1;do~bt(this,V=F[tt]+"")||(this.push(V),Et=!0);while(++tt<nt);Et&&this._updateClassName()},Y.remove=function(){var V,F,tt=arguments,nt=0,Et=tt.length,Mt=!1;do for(F=bt(this,V=tt[nt]+"");~F;)this.splice(F,1),Mt=!0,F=bt(this,V);while(++nt<Et);Mt&&this._updateClassName()},Y.toggle=function(V,F){var tt=this.contains(V),nt=tt?F!==!0&&"remove":F!==!1&&"add";return nt&&this[nt](V),F===!0||F===!1?F:!tt},Y.replace=function(V,F){var tt=bt(V+"");~tt&&(this.splice(tt,1,F),this._updateClassName())},Y.toString=function(){return this.join(" ")},pt.defineProperty){var at={get:rt,enumerable:!0,configurable:!0};try{pt.defineProperty(D,ut,at)}catch(V){V.number!==void 0&&V.number!==-2146823252||(at.enumerable=!1,pt.defineProperty(D,ut,at))}}else pt[it].__defineGetter__&&D.__defineGetter__(ut,rt)}})(self),(function(){var W=document.createElement("_");if(W.classList.add("c1","c2"),!W.classList.contains("c2")){var ut=function(D){var pt=DOMTokenList.prototype[D];DOMTokenList.prototype[D]=function(vt){var Ot,It=arguments.length;for(Ot=0;Ot<It;Ot++)vt=arguments[Ot],pt.call(this,vt)}};ut("add"),ut("remove")}if(W.classList.toggle("c3",!1),W.classList.contains("c3")){var it=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(D,pt){return 1 in arguments&&!this.contains(D)==!pt?pt:it.call(this,D)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(D,pt){var vt=this.toString().split(" "),Ot=vt.indexOf(D+"");~Ot&&(vt=vt.slice(Ot),this.remove.apply(this,vt),this.add(pt),this.add.apply(this,vt.slice(1)))}),W=null})())},548:function(W){W.exports=(function(){var ut={9306:function(i,s,t){var e=t(4901),r=t(6823),n=TypeError;i.exports=function(o){if(e(o))return o;throw new n(r(o)+" is not a function")}},5548:function(i,s,t){var e=t(3517),r=t(6823),n=TypeError;i.exports=function(o){if(e(o))return o;throw new n(r(o)+" is not a constructor")}},3506:function(i,s,t){var e=t(3925),r=String,n=TypeError;i.exports=function(o){if(e(o))return o;throw new n("Can't set "+r(o)+" as a prototype")}},6469:function(i,s,t){var e=t(8227),r=t(2360),n=t(4913).f,o=e("unscopables"),a=Array.prototype;a[o]===void 0&&n(a,o,{configurable:!0,value:r(null)}),i.exports=function(u){a[o][u]=!0}},7829:function(i,s,t){var e=t(8183).charAt;i.exports=function(r,n,o){return n+(o&&e(r,n).length||1)}},8551:function(i,s,t){var e=t(34),r=String,n=TypeError;i.exports=function(o){if(e(o))return o;throw new n(r(o)+" is not an object")}},235:function(i,s,t){var e=t(9213).forEach,r=t(4598)("forEach");i.exports=r?[].forEach:function(n){return e(this,n,arguments.length>1?arguments[1]:void 0)}},7916:function(i,s,t){var e=t(6080),r=t(9565),n=t(8981),o=t(6319),a=t(4209),u=t(3517),c=t(6198),l=t(4659),d=t(4527),v=t(81),p=t(851),f=t(9539),g=Array;i.exports=function(h){var y=u(this),m=arguments.length,b=m>1?arguments[1]:void 0,O=b!==void 0;O&&(b=e(b,m>2?arguments[2]:void 0));var w,S,k,E,P,I,x=n(h),B=p(x),T=0;if(!B||this===g&&a(B))for(w=c(x),S=y?new this(w):g(w);w>T;T++)I=O?b(x[T],T):x[T],l(S,T,I);else for(S=y?new this:[],P=(E=v(x,B)).next;!(k=r(P,E)).done;T++){I=O?o(E,b,[k.value,T],!0):k.value;try{l(S,T,I)}catch(M){f(E,"throw",M)}}return d(S,T),S}},9617:function(i,s,t){var e=t(5397),r=t(5610),n=t(6198),o=function(a){return function(u,c,l){var d=e(u),v=n(d);if(v===0)return!a&&-1;var p,f=r(l,v);if(a&&c!=c){for(;v>f;)if((p=d[f++])!=p)return!0}else for(;v>f;f++)if((a||f in d)&&d[f]===c)return a||f||0;return!a&&-1}};i.exports={includes:o(!0),indexOf:o(!1)}},9213:function(i,s,t){var e=t(6080),r=t(7055),n=t(8981),o=t(6198),a=t(1469),u=t(4659),c=function(l){var d=l===1,v=l===2,p=l===3,f=l===4,g=l===6,h=l===7,y=l===5||g;return function(m,b,O){for(var w,S,k=n(m),E=r(k),P=o(E),I=e(b,O),x=0,B=0,T=d?a(m,P):v||h?a(m,0):void 0;P>x;x++)if((y||x in E)&&(S=I(w=E[x],x,k),l))if(d)u(T,x,S);else if(S)switch(l){case 3:return!0;case 5:return w;case 6:return x;case 2:u(T,B++,w)}else switch(l){case 4:return!1;case 7:u(T,B++,w)}return g?-1:p||f?f:T}};i.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},597:function(i,s,t){var e=t(9039),r=t(8227),n=t(9519),o=r("species");i.exports=function(a){return n>=51||!e((function(){var u=[];return(u.constructor={})[o]=function(){return{foo:1}},u[a](Boolean).foo!==1}))}},4598:function(i,s,t){var e=t(9039);i.exports=function(r,n){var o=[][r];return!!o&&e((function(){o.call(null,n||function(){return 1},1)}))}},926:function(i,s,t){var e=t(9306),r=t(8981),n=t(7055),o=t(6198),a=TypeError,u="Reduce of empty array with no initial value",c=function(l){return function(d,v,p,f){var g=r(d),h=n(g),y=o(g);if(e(v),y===0&&p<2)throw new a(u);var m=l?y-1:0,b=l?-1:1;if(p<2)for(;;){if(m in h){f=h[m],m+=b;break}if(m+=b,l?m<0:y<=m)throw new a(u)}for(;l?m>=0:y>m;m+=b)m in h&&(f=v(f,h[m],m,g));return f}};i.exports={left:c(!1),right:c(!0)}},4527:function(i,s,t){var e=t(3724),r=t(4376),n=TypeError,o=Object.getOwnPropertyDescriptor,a=e&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}})();i.exports=a?function(u,c){if(r(u)&&!o(u,"length").writable)throw new n("Cannot set read only .length");return u.length=c}:function(u,c){return u.length=c}},7680:function(i,s,t){var e=t(9504);i.exports=e([].slice)},4488:function(i,s,t){var e=t(7680),r=Math.floor,n=function(o,a){var u=o.length;if(u<8)for(var c,l,d=1;d<u;){for(l=d,c=o[d];l&&a(o[l-1],c)>0;)o[l]=o[--l];l!==d++&&(o[l]=c)}else for(var v=r(u/2),p=n(e(o,0,v),a),f=n(e(o,v),a),g=p.length,h=f.length,y=0,m=0;y<g||m<h;)o[y+m]=y<g&&m<h?a(p[y],f[m])<=0?p[y++]:f[m++]:y<g?p[y++]:f[m++];return o};i.exports=n},7433:function(i,s,t){var e=t(4376),r=t(3517),n=t(34),o=t(8227)("species"),a=Array;i.exports=function(u){var c;return e(u)&&(c=u.constructor,(r(c)&&(c===a||e(c.prototype))||n(c)&&(c=c[o])===null)&&(c=void 0)),c===void 0?a:c}},1469:function(i,s,t){var e=t(7433);i.exports=function(r,n){return new(e(r))(n===0?0:n)}},6319:function(i,s,t){var e=t(8551),r=t(9539);i.exports=function(n,o,a,u){try{return u?o(e(a)[0],a[1]):o(a)}catch(c){r(n,"throw",c)}}},4428:function(i,s,t){var e=t(8227)("iterator"),r=!1;try{var n=0,o={next:function(){return{done:!!n++}},return:function(){r=!0}};o[e]=function(){return this},Array.from(o,(function(){throw 2}))}catch{}i.exports=function(a,u){try{if(!u&&!r)return!1}catch{return!1}var c=!1;try{var l={};l[e]=function(){return{next:function(){return{done:c=!0}}}},a(l)}catch{}return c}},2195:function(i,s,t){var e=t(9504),r=e({}.toString),n=e("".slice);i.exports=function(o){return n(r(o),8,-1)}},6955:function(i,s,t){var e=t(2140),r=t(4901),n=t(2195),o=t(8227)("toStringTag"),a=Object,u=n((function(){return arguments})())==="Arguments";i.exports=e?n:function(c){var l,d,v;return c===void 0?"Undefined":c===null?"Null":typeof(d=(function(p,f){try{return p[f]}catch{}})(l=a(c),o))=="string"?d:u?n(l):(v=n(l))==="Object"&&r(l.callee)?"Arguments":v}},7740:function(i,s,t){var e=t(9297),r=t(5031),n=t(7347),o=t(4913);i.exports=function(a,u,c){for(var l=r(u),d=o.f,v=n.f,p=0;p<l.length;p++){var f=l[p];e(a,f)||c&&e(c,f)||d(a,f,v(u,f))}}},1436:function(i,s,t){var e=t(8227)("match");i.exports=function(r){var n=/./;try{"/./"[r](n)}catch{try{return n[e]=!1,"/./"[r](n)}catch{}}return!1}},2211:function(i,s,t){var e=t(9039);i.exports=!e((function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype}))},2529:function(i){i.exports=function(s,t){return{value:s,done:t}}},6699:function(i,s,t){var e=t(3724),r=t(4913),n=t(6980);i.exports=e?function(o,a,u){return r.f(o,a,n(1,u))}:function(o,a,u){return o[a]=u,o}},6980:function(i){i.exports=function(s,t){return{enumerable:!(1&s),configurable:!(2&s),writable:!(4&s),value:t}}},4659:function(i,s,t){var e=t(3724),r=t(4913),n=t(6980);i.exports=function(o,a,u){e?r.f(o,a,n(0,u)):o[a]=u}},3640:function(i,s,t){var e=t(8551),r=t(4270),n=TypeError;i.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new n("Incorrect hint");return r(this,o)}},2106:function(i,s,t){var e=t(283),r=t(4913);i.exports=function(n,o,a){return a.get&&e(a.get,o,{getter:!0}),a.set&&e(a.set,o,{setter:!0}),r.f(n,o,a)}},6840:function(i,s,t){var e=t(4901),r=t(4913),n=t(283),o=t(9433);i.exports=function(a,u,c,l){l||(l={});var d=l.enumerable,v=l.name!==void 0?l.name:u;if(e(c)&&n(c,v,l),l.global)d?a[u]=c:o(u,c);else{try{l.unsafe?a[u]&&(d=!0):delete a[u]}catch{}d?a[u]=c:r.f(a,u,{value:c,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return a}},9433:function(i,s,t){var e=t(4576),r=Object.defineProperty;i.exports=function(n,o){try{r(e,n,{value:o,configurable:!0,writable:!0})}catch{e[n]=o}return o}},4606:function(i,s,t){var e=t(6823),r=TypeError;i.exports=function(n,o){if(!delete n[o])throw new r("Cannot delete property "+e(o)+" of "+e(n))}},3724:function(i,s,t){var e=t(9039);i.exports=!e((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))},4055:function(i,s,t){var e=t(4576),r=t(34),n=e.document,o=r(n)&&r(n.createElement);i.exports=function(a){return o?n.createElement(a):{}}},6837:function(i){var s=TypeError;i.exports=function(t){if(t>9007199254740991)throw new s("Maximum allowed index exceeded");return t}},7400:function(i){i.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}},9296:function(i,s,t){var e=t(4055)("span").classList,r=e&&e.constructor&&e.constructor.prototype;i.exports=r===Object.prototype?void 0:r},8727:function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3709:function(i,s,t){var e=t(2839).match(/firefox\/(\d+)/i);i.exports=!!e&&+e[1]},3763:function(i,s,t){var e=t(2839);i.exports=/MSIE|Trident/.test(e)},6193:function(i,s,t){var e=t(4215);i.exports=e==="NODE"},2839:function(i,s,t){var e=t(4576).navigator,r=e&&e.userAgent;i.exports=r?String(r):""},9519:function(i,s,t){var e,r,n=t(4576),o=t(2839),a=n.process,u=n.Deno,c=a&&a.versions||u&&u.version,l=c&&c.v8;l&&(r=(e=l.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!r&&o&&(!(e=o.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=o.match(/Chrome\/(\d+)/))&&(r=+e[1]),i.exports=r},3607:function(i,s,t){var e=t(2839).match(/AppleWebKit\/(\d+)\./);i.exports=!!e&&+e[1]},4215:function(i,s,t){var e=t(4576),r=t(2839),n=t(2195),o=function(a){return r.slice(0,a.length)===a};i.exports=o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":e.Bun&&typeof Bun.version=="string"?"BUN":e.Deno&&typeof Deno.version=="object"?"DENO":n(e.process)==="process"?"NODE":e.window&&e.document?"BROWSER":"REST"},6518:function(i,s,t){var e=t(4576),r=t(7347).f,n=t(6699),o=t(6840),a=t(9433),u=t(7740),c=t(2796);i.exports=function(l,d){var v,p,f,g,h,y=l.target,m=l.global,b=l.stat;if(v=m?e:b?e[y]||a(y,{}):e[y]&&e[y].prototype)for(p in d){if(g=d[p],f=l.dontCallGetSet?(h=r(v,p))&&h.value:v[p],!c(m?p:y+(b?".":"#")+p,l.forced)&&f!==void 0){if(typeof g==typeof f)continue;u(g,f)}(l.sham||f&&f.sham)&&n(g,"sham",!0),o(v,p,g,l)}}},9039:function(i){i.exports=function(s){try{return!!s()}catch{return!0}}},9228:function(i,s,t){t(7495);var e=t(9565),r=t(6840),n=t(7323),o=t(9039),a=t(8227),u=t(6699),c=a("species"),l=RegExp.prototype;i.exports=function(d,v,p,f){var g=a(d),h=!o((function(){var O={};return O[g]=function(){return 7},""[d](O)!==7})),y=h&&!o((function(){var O=!1,w=/a/;if(d==="split"){var S={};S[c]=function(){return w},(w={constructor:S,flags:""})[g]=/./[g]}return w.exec=function(){return O=!0,null},w[g](""),!O}));if(!h||!y||p){var m=/./[g],b=v(g,""[d],(function(O,w,S,k,E){var P=w.exec;return P===n||P===l.exec?h&&!E?{done:!0,value:e(m,w,S,k)}:{done:!0,value:e(O,S,w,k)}:{done:!1}}));r(String.prototype,d,b[0]),r(l,g,b[1])}f&&u(l[g],"sham",!0)}},8745:function(i,s,t){var e=t(616),r=Function.prototype,n=r.apply,o=r.call;i.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(n):function(){return o.apply(n,arguments)})},6080:function(i,s,t){var e=t(7476),r=t(9306),n=t(616),o=e(e.bind);i.exports=function(a,u){return r(a),u===void 0?a:n?o(a,u):function(){return a.apply(u,arguments)}}},616:function(i,s,t){var e=t(9039);i.exports=!e((function(){var r=function(){}.bind();return typeof r!="function"||r.hasOwnProperty("prototype")}))},566:function(i,s,t){var e=t(9504),r=t(9306),n=t(34),o=t(9297),a=t(7680),u=t(616),c=Function,l=e([].concat),d=e([].join),v={};i.exports=u?c.bind:function(p){var f=r(this),g=f.prototype,h=a(arguments,1),y=function(){var m=l(h,a(arguments));return this instanceof y?(function(b,O,w){if(!o(v,O)){for(var S=[],k=0;k<O;k++)S[k]="a["+k+"]";v[O]=c("C,a","return new C("+d(S,",")+")")}return v[O](b,w)})(f,m.length,m):f.apply(p,m)};return n(g)&&(y.prototype=g),y}},9565:function(i,s,t){var e=t(616),r=Function.prototype.call;i.exports=e?r.bind(r):function(){return r.apply(r,arguments)}},350:function(i,s,t){var e=t(3724),r=t(9297),n=Function.prototype,o=e&&Object.getOwnPropertyDescriptor,a=r(n,"name"),u=a&&function(){}.name==="something",c=a&&(!e||e&&o(n,"name").configurable);i.exports={EXISTS:a,PROPER:u,CONFIGURABLE:c}},6706:function(i,s,t){var e=t(9504),r=t(9306);i.exports=function(n,o,a){try{return e(r(Object.getOwnPropertyDescriptor(n,o)[a]))}catch{}}},7476:function(i,s,t){var e=t(2195),r=t(9504);i.exports=function(n){if(e(n)==="Function")return r(n)}},9504:function(i,s,t){var e=t(616),r=Function.prototype,n=r.call,o=e&&r.bind.bind(n,n);i.exports=e?o:function(a){return function(){return n.apply(a,arguments)}}},7751:function(i,s,t){var e=t(4576),r=t(4901);i.exports=function(n,o){return arguments.length<2?(a=e[n],r(a)?a:void 0):e[n]&&e[n][o];var a}},851:function(i,s,t){var e=t(6955),r=t(5966),n=t(4117),o=t(6269),a=t(8227)("iterator");i.exports=function(u){if(!n(u))return r(u,a)||r(u,"@@iterator")||o[e(u)]}},81:function(i,s,t){var e=t(9565),r=t(9306),n=t(8551),o=t(6823),a=t(851),u=TypeError;i.exports=function(c,l){var d=arguments.length<2?a(c):l;if(r(d))return n(e(d,c));throw new u(o(c)+" is not iterable")}},5966:function(i,s,t){var e=t(9306),r=t(4117);i.exports=function(n,o){var a=n[o];return r(a)?void 0:e(a)}},2478:function(i,s,t){var e=t(9504),r=t(8981),n=Math.floor,o=e("".charAt),a=e("".replace),u=e("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;i.exports=function(d,v,p,f,g,h){var y=p+d.length,m=f.length,b=l;return g!==void 0&&(g=r(g),b=c),a(h,b,(function(O,w){var S;switch(o(w,0)){case"$":return"$";case"&":return d;case"`":return u(v,0,p);case"'":return u(v,y);case"<":S=g[u(w,1,-1)];break;default:var k=+w;if(k===0)return O;if(k>m){var E=n(k/10);return E===0?O:E<=m?f[E-1]===void 0?o(w,1):f[E-1]+o(w,1):O}S=f[k-1]}return S===void 0?"":S}))}},4576:function(i,s,t){var e=function(r){return r&&r.Math===Math&&r};i.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof t.g=="object"&&t.g)||e(typeof this=="object"&&this)||(function(){return this})()||Function("return this")()},9297:function(i,s,t){var e=t(9504),r=t(8981),n=e({}.hasOwnProperty);i.exports=Object.hasOwn||function(o,a){return n(r(o),a)}},421:function(i){i.exports={}},397:function(i,s,t){var e=t(7751);i.exports=e("document","documentElement")},5917:function(i,s,t){var e=t(3724),r=t(9039),n=t(4055);i.exports=!e&&!r((function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7}))},7055:function(i,s,t){var e=t(9504),r=t(9039),n=t(2195),o=Object,a=e("".split);i.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(u){return n(u)==="String"?a(u,""):o(u)}:o},3167:function(i,s,t){var e=t(4901),r=t(34),n=t(2967);i.exports=function(o,a,u){var c,l;return n&&e(c=a.constructor)&&c!==u&&r(l=c.prototype)&&l!==u.prototype&&n(o,l),o}},3706:function(i,s,t){var e=t(9504),r=t(4901),n=t(7629),o=e(Function.toString);r(n.inspectSource)||(n.inspectSource=function(a){return o(a)}),i.exports=n.inspectSource},1181:function(i,s,t){var e,r,n,o=t(8622),a=t(4576),u=t(34),c=t(6699),l=t(9297),d=t(7629),v=t(6119),p=t(421),f="Object already initialized",g=a.TypeError,h=a.WeakMap;if(o||d.state){var y=d.state||(d.state=new h);y.get=y.get,y.has=y.has,y.set=y.set,e=function(b,O){if(y.has(b))throw new g(f);return O.facade=b,y.set(b,O),O},r=function(b){return y.get(b)||{}},n=function(b){return y.has(b)}}else{var m=v("state");p[m]=!0,e=function(b,O){if(l(b,m))throw new g(f);return O.facade=b,c(b,m,O),O},r=function(b){return l(b,m)?b[m]:{}},n=function(b){return l(b,m)}}i.exports={set:e,get:r,has:n,enforce:function(b){return n(b)?r(b):e(b,{})},getterFor:function(b){return function(O){var w;if(!u(O)||(w=r(O)).type!==b)throw new g("Incompatible receiver, "+b+" required");return w}}}},4209:function(i,s,t){var e=t(8227),r=t(6269),n=e("iterator"),o=Array.prototype;i.exports=function(a){return a!==void 0&&(r.Array===a||o[n]===a)}},4376:function(i,s,t){var e=t(2195);i.exports=Array.isArray||function(r){return e(r)==="Array"}},4901:function(i){var s=typeof document=="object"&&document.all;i.exports=s===void 0&&s!==void 0?function(t){return typeof t=="function"||t===s}:function(t){return typeof t=="function"}},3517:function(i,s,t){var e=t(9504),r=t(9039),n=t(4901),o=t(6955),a=t(7751),u=t(3706),c=function(){},l=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,v=e(d.exec),p=!d.test(c),f=function(h){if(!n(h))return!1;try{return l(c,[],h),!0}catch{return!1}},g=function(h){if(!n(h))return!1;switch(o(h)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!v(d,u(h))}catch{return!0}};g.sham=!0,i.exports=!l||r((function(){var h;return f(f.call)||!f(Object)||!f((function(){h=!0}))||h}))?g:f},2796:function(i,s,t){var e=t(9039),r=t(4901),n=/#|\.prototype\./,o=function(d,v){var p=u[a(d)];return p===l||p!==c&&(r(v)?e(v):!!v)},a=o.normalize=function(d){return String(d).replace(n,".").toLowerCase()},u=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";i.exports=o},2087:function(i,s,t){var e=t(34),r=Math.floor;i.exports=Number.isInteger||function(n){return!e(n)&&isFinite(n)&&r(n)===n}},4117:function(i){i.exports=function(s){return s==null}},34:function(i,s,t){var e=t(4901);i.exports=function(r){return typeof r=="object"?r!==null:e(r)}},3925:function(i,s,t){var e=t(34);i.exports=function(r){return e(r)||r===null}},6395:function(i){i.exports=!1},5810:function(i,s,t){var e=t(34),r=t(1181).get;i.exports=function(n){if(!e(n))return!1;var o=r(n);return!!o&&o.type==="RawJSON"}},788:function(i,s,t){var e=t(34),r=t(2195),n=t(8227)("match");i.exports=function(o){var a;return e(o)&&((a=o[n])!==void 0?!!a:r(o)==="RegExp")}},757:function(i,s,t){var e=t(7751),r=t(4901),n=t(1625),o=t(7040),a=Object;i.exports=o?function(u){return typeof u=="symbol"}:function(u){var c=e("Symbol");return r(c)&&n(c.prototype,a(u))}},9539:function(i,s,t){var e=t(9565),r=t(8551),n=t(5966);i.exports=function(o,a,u){var c,l;r(o);try{if(!(c=n(o,"return"))){if(a==="throw")throw u;return u}c=e(c,o)}catch(d){l=!0,c=d}if(a==="throw")throw u;if(l)throw c;return r(c),u}},3994:function(i,s,t){var e=t(7657).IteratorPrototype,r=t(2360),n=t(6980),o=t(687),a=t(6269),u=function(){return this};i.exports=function(c,l,d,v){var p=l+" Iterator";return c.prototype=r(e,{next:n(+!v,d)}),o(c,p,!1,!0),a[p]=u,c}},1088:function(i,s,t){var e=t(6518),r=t(9565),n=t(6395),o=t(350),a=t(4901),u=t(3994),c=t(2787),l=t(2967),d=t(687),v=t(6699),p=t(6840),f=t(8227),g=t(6269),h=t(7657),y=o.PROPER,m=o.CONFIGURABLE,b=h.IteratorPrototype,O=h.BUGGY_SAFARI_ITERATORS,w=f("iterator"),S="keys",k="values",E="entries",P=function(){return this};i.exports=function(I,x,B,T,M,q,j){u(B,x,T);var U,H,R,K=function(L){if(L===M&&C)return C;if(!O&&L&&L in N)return N[L];switch(L){case S:case k:case E:return function(){return new B(this,L)}}return function(){return new B(this)}},z=x+" Iterator",J=!1,N=I.prototype,A=N[w]||N["@@iterator"]||M&&N[M],C=!O&&A||K(M),$=x==="Array"&&N.entries||A;if($&&(U=c($.call(new I)))!==Object.prototype&&U.next&&(n||c(U)===b||(l?l(U,b):a(U[w])||p(U,w,P)),d(U,z,!0,!0),n&&(g[z]=P)),y&&M===k&&A&&A.name!==k&&(!n&&m?v(N,"name",k):(J=!0,C=function(){return r(A,this)})),M)if(H={values:K(k),keys:q?C:K(S),entries:K(E)},j)for(R in H)(O||J||!(R in N))&&p(N,R,H[R]);else e({target:x,proto:!0,forced:O||J},H);return n&&!j||N[w]===C||p(N,w,C,{name:M}),g[x]=C,H}},7657:function(i,s,t){var e,r,n,o=t(9039),a=t(4901),u=t(34),c=t(2360),l=t(2787),d=t(6840),v=t(8227),p=t(6395),f=v("iterator"),g=!1;[].keys&&("next"in(n=[].keys())?(r=l(l(n)))!==Object.prototype&&(e=r):g=!0),!u(e)||o((function(){var h={};return e[f].call(h)!==h}))?e={}:p&&(e=c(e)),a(e[f])||d(e,f,(function(){return this})),i.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:g}},6269:function(i){i.exports={}},6198:function(i,s,t){var e=t(8014);i.exports=function(r){return e(r.length)}},283:function(i,s,t){var e=t(9504),r=t(9039),n=t(4901),o=t(9297),a=t(3724),u=t(350).CONFIGURABLE,c=t(3706),l=t(1181),d=l.enforce,v=l.get,p=String,f=Object.defineProperty,g=e("".slice),h=e("".replace),y=e([].join),m=a&&!r((function(){return f((function(){}),"length",{value:8}).length!==8})),b=String(String).split("String"),O=i.exports=function(w,S,k){g(p(S),0,7)==="Symbol("&&(S="["+h(p(S),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),k&&k.getter&&(S="get "+S),k&&k.setter&&(S="set "+S),(!o(w,"name")||u&&w.name!==S)&&(a?f(w,"name",{value:S,configurable:!0}):w.name=S),m&&k&&o(k,"arity")&&w.length!==k.arity&&f(w,"length",{value:k.arity});try{k&&o(k,"constructor")&&k.constructor?a&&f(w,"prototype",{writable:!1}):w.prototype&&(w.prototype=void 0)}catch{}var E=d(w);return o(E,"source")||(E.source=y(b,typeof S=="string"?S:"")),w};Function.prototype.toString=O((function(){return n(this)&&v(this).source||c(this)}),"toString")},741:function(i){var s=Math.ceil,t=Math.floor;i.exports=Math.trunc||function(e){var r=+e;return(r>0?t:s)(r)}},7819:function(i,s,t){var e=t(9039);i.exports=!e((function(){var r="9007199254740993",n=JSON.rawJSON(r);return!JSON.isRawJSON(n)||JSON.stringify(n)!==r}))},5749:function(i,s,t){var e=t(788),r=TypeError;i.exports=function(n){if(e(n))throw new r("The method doesn't accept regular expressions");return n}},4213:function(i,s,t){var e=t(3724),r=t(9504),n=t(9565),o=t(9039),a=t(1072),u=t(3717),c=t(8773),l=t(8981),d=t(7055),v=Object.assign,p=Object.defineProperty,f=r([].concat);i.exports=!v||o((function(){if(e&&v({b:1},v(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var g={},h={},y=Symbol("assign detection"),m="abcdefghijklmnopqrst";return g[y]=7,m.split("").forEach((function(b){h[b]=b})),v({},g)[y]!==7||a(v({},h)).join("")!==m}))?function(g,h){for(var y=l(g),m=arguments.length,b=1,O=u.f,w=c.f;m>b;)for(var S,k=d(arguments[b++]),E=O?f(a(k),O(k)):a(k),P=E.length,I=0;P>I;)S=E[I++],e&&!n(w,k,S)||(y[S]=k[S]);return y}:v},2360:function(i,s,t){var e,r=t(8551),n=t(6801),o=t(8727),a=t(421),u=t(397),c=t(4055),l=t(6119),d="prototype",v="script",p=l("IE_PROTO"),f=function(){},g=function(m){return"<"+v+">"+m+"</"+v+">"},h=function(m){m.write(g("")),m.close();var b=m.parentWindow.Object;return m=null,b},y=function(){try{e=new ActiveXObject("htmlfile")}catch{}var m,b,O;y=typeof document<"u"?document.domain&&e?h(e):(b=c("iframe"),O="java"+v+":",b.style.display="none",u.appendChild(b),b.src=String(O),(m=b.contentWindow.document).open(),m.write(g("document.F=Object")),m.close(),m.F):h(e);for(var w=o.length;w--;)delete y[d][o[w]];return y()};a[p]=!0,i.exports=Object.create||function(m,b){var O;return m!==null?(f[d]=r(m),O=new f,f[d]=null,O[p]=m):O=y(),b===void 0?O:n.f(O,b)}},6801:function(i,s,t){var e=t(3724),r=t(8686),n=t(4913),o=t(8551),a=t(5397),u=t(1072);s.f=e&&!r?Object.defineProperties:function(c,l){o(c);for(var d,v=a(l),p=u(l),f=p.length,g=0;f>g;)n.f(c,d=p[g++],v[d]);return c}},4913:function(i,s,t){var e=t(3724),r=t(5917),n=t(8686),o=t(8551),a=t(6969),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",v="configurable",p="writable";s.f=e?n?function(f,g,h){if(o(f),g=a(g),o(h),typeof f=="function"&&g==="prototype"&&"value"in h&&p in h&&!h[p]){var y=l(f,g);y&&y[p]&&(f[g]=h.value,h={configurable:v in h?h[v]:y[v],enumerable:d in h?h[d]:y[d],writable:!1})}return c(f,g,h)}:c:function(f,g,h){if(o(f),g=a(g),o(h),r)try{return c(f,g,h)}catch{}if("get"in h||"set"in h)throw new u("Accessors not supported");return"value"in h&&(f[g]=h.value),f}},7347:function(i,s,t){var e=t(3724),r=t(9565),n=t(8773),o=t(6980),a=t(5397),u=t(6969),c=t(9297),l=t(5917),d=Object.getOwnPropertyDescriptor;s.f=e?d:function(v,p){if(v=a(v),p=u(p),l)try{return d(v,p)}catch{}if(c(v,p))return o(!r(n.f,v,p),v[p])}},298:function(i,s,t){var e=t(2195),r=t(5397),n=t(8480).f,o=t(7680),a=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];i.exports.f=function(u){return a&&e(u)==="Window"?(function(c){try{return n(c)}catch{return o(a)}})(u):n(r(u))}},8480:function(i,s,t){var e=t(1828),r=t(8727).concat("length","prototype");s.f=Object.getOwnPropertyNames||function(n){return e(n,r)}},3717:function(i,s){s.f=Object.getOwnPropertySymbols},2787:function(i,s,t){var e=t(9297),r=t(4901),n=t(8981),o=t(6119),a=t(2211),u=o("IE_PROTO"),c=Object,l=c.prototype;i.exports=a?c.getPrototypeOf:function(d){var v=n(d);if(e(v,u))return v[u];var p=v.constructor;return r(p)&&v instanceof p?p.prototype:v instanceof c?l:null}},1625:function(i,s,t){var e=t(9504);i.exports=e({}.isPrototypeOf)},1828:function(i,s,t){var e=t(9504),r=t(9297),n=t(5397),o=t(9617).indexOf,a=t(421),u=e([].push);i.exports=function(c,l){var d,v=n(c),p=0,f=[];for(d in v)!r(a,d)&&r(v,d)&&u(f,d);for(;l.length>p;)r(v,d=l[p++])&&(~o(f,d)||u(f,d));return f}},1072:function(i,s,t){var e=t(1828),r=t(8727);i.exports=Object.keys||function(n){return e(n,r)}},8773:function(i,s){var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);s.f=r?function(n){var o=e(this,n);return!!o&&o.enumerable}:t},2551:function(i,s,t){var e=t(6395),r=t(4576),n=t(9039),o=t(3607);i.exports=e||!n((function(){if(!(o&&o<535)){var a=Math.random();__defineSetter__.call(null,a,(function(){})),delete r[a]}}))},2967:function(i,s,t){var e=t(6706),r=t(34),n=t(7750),o=t(3506);i.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var a,u=!1,c={};try{(a=e(Object.prototype,"__proto__","set"))(c,[]),u=c instanceof Array}catch{}return function(l,d){return n(l),o(d),r(l)&&(u?a(l,d):l.__proto__=d),l}})():void 0)},3179:function(i,s,t){var e=t(2140),r=t(6955);i.exports=e?{}.toString:function(){return"[object "+r(this)+"]"}},4270:function(i,s,t){var e=t(9565),r=t(4901),n=t(34),o=TypeError;i.exports=function(a,u){var c,l;if(u==="string"&&r(c=a.toString)&&!n(l=e(c,a))||r(c=a.valueOf)&&!n(l=e(c,a))||u!=="string"&&r(c=a.toString)&&!n(l=e(c,a)))return l;throw new o("Can't convert object to primitive value")}},5031:function(i,s,t){var e=t(7751),r=t(9504),n=t(8480),o=t(3717),a=t(8551),u=r([].concat);i.exports=e("Reflect","ownKeys")||function(c){var l=n.f(a(c)),d=o.f;return d?u(l,d(c)):l}},8235:function(i,s,t){var e=t(9504),r=t(9297),n=SyntaxError,o=parseInt,a=String.fromCharCode,u=e("".charAt),c=e("".slice),l=e(/./.exec),d={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":`
|
|
12
|
+
`,"\\r":"\r","\\t":" "},v=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;i.exports=function(f,g){for(var h=!0,y="";g<f.length;){var m=u(f,g);if(m==="\\"){var b=c(f,g,g+2);if(r(d,b))y+=d[b],g+=2;else{if(b!=="\\u")throw new n('Unknown escape sequence: "'+b+'"');var O=c(f,g+=2,g+4);if(!l(v,O))throw new n("Bad Unicode escape at: "+g);y+=a(o(O,16)),g+=4}}else{if(m==='"'){h=!1,g++;break}if(l(p,m))throw new n("Bad control character in string literal at: "+g);y+=m,g++}}if(h)throw new n("Unterminated string at: "+g);return{value:y,end:g}}},9167:function(i,s,t){var e=t(4576);i.exports=e},1056:function(i,s,t){var e=t(4913).f;i.exports=function(r,n,o){o in r||e(r,o,{configurable:!0,get:function(){return n[o]},set:function(a){n[o]=a}})}},6682:function(i,s,t){var e=t(9565),r=t(8551),n=t(4901),o=t(2195),a=t(7323),u=TypeError;i.exports=function(c,l){var d=c.exec;if(n(d)){var v=e(d,c,l);return v!==null&&r(v),v}if(o(c)==="RegExp")return e(a,c,l);throw new u("RegExp#exec called on incompatible receiver")}},7323:function(i,s,t){var e,r,n=t(9565),o=t(9504),a=t(655),u=t(7979),c=t(8429),l=t(5745),d=t(2360),v=t(1181).get,p=t(3635),f=t(8814),g=l("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,y=h,m=o("".charAt),b=o("".indexOf),O=o("".replace),w=o("".slice),S=(r=/b*/g,n(h,e=/a/,"a"),n(h,r,"a"),e.lastIndex!==0||r.lastIndex!==0),k=c.BROKEN_CARET,E=/()??/.exec("")[1]!==void 0,P=function(I,x){for(var B=I.groups=d(null),T=0;T<x.length;T++){var M=x[T];B[M[0]]=I[M[1]]}};(S||E||k||p||f)&&(y=function(I){var x,B,T,M=this,q=v(M),j=a(I),U=q.raw;if(U)return U.lastIndex=M.lastIndex,x=n(y,U,j),M.lastIndex=U.lastIndex,x&&q.groups&&P(x,q.groups),x;var H=q.groups,R=k&&M.sticky,K=n(u,M),z=M.source,J=0,N=j;if(R){K=O(K,"y",""),b(K,"g")===-1&&(K+="g"),N=w(j,M.lastIndex);var A=M.lastIndex>0&&m(j,M.lastIndex-1);M.lastIndex>0&&(!M.multiline||M.multiline&&A!==`
|
|
13
|
+
`&&A!=="\r"&&A!=="\u2028"&&A!=="\u2029")&&(z="(?: (?:"+z+"))",N=" "+N,J++),B=new RegExp("^(?:"+z+")",K)}E&&(B=new RegExp("^"+z+"$(?!\\s)",K)),S&&(T=M.lastIndex);var C=n(h,R?B:M,N);return R?C?(C.input=j,C[0]=w(C[0],J),C.index=M.lastIndex,M.lastIndex+=C[0].length):M.lastIndex=0:S&&C&&(M.lastIndex=M.global?C.index+C[0].length:T),E&&C&&C.length>1&&n(g,C[0],B,(function(){for(var $=1;$<arguments.length-2;$++)arguments[$]===void 0&&(C[$]=void 0)})),C&&H&&P(C,H),C}),i.exports=y},5213:function(i,s,t){var e=t(4576),r=t(9039),n=e.RegExp,o=!r((function(){var a=!0;try{n(".","d")}catch{a=!1}var u={},c="",l=a?"dgimsy":"gimsy",d=function(f,g){Object.defineProperty(u,f,{get:function(){return c+=g,!0}})},v={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var p in a&&(v.hasIndices="d"),v)d(p,v[p]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(u)!==l||c!==l}));i.exports={correct:o}},7979:function(i,s,t){var e=t(8551);i.exports=function(){var r=e(this),n="";return r.hasIndices&&(n+="d"),r.global&&(n+="g"),r.ignoreCase&&(n+="i"),r.multiline&&(n+="m"),r.dotAll&&(n+="s"),r.unicode&&(n+="u"),r.unicodeSets&&(n+="v"),r.sticky&&(n+="y"),n}},1034:function(i,s,t){var e=t(9565),r=t(9297),n=t(1625),o=t(5213),a=t(7979),u=RegExp.prototype;i.exports=o.correct?function(c){return c.flags}:function(c){return o.correct||!n(u,c)||r(c,"flags")?c.flags:e(a,c)}},8429:function(i,s,t){var e=t(9039),r=t(4576).RegExp,n=e((function(){var u=r("a","y");return u.lastIndex=2,u.exec("abcd")!==null})),o=n||e((function(){return!r("a","y").sticky})),a=n||e((function(){var u=r("^r","gy");return u.lastIndex=2,u.exec("str")!==null}));i.exports={BROKEN_CARET:a,MISSED_STICKY:o,UNSUPPORTED_Y:n}},3635:function(i,s,t){var e=t(9039),r=t(4576).RegExp;i.exports=e((function(){var n=r(".","s");return!(n.dotAll&&n.test(`
|
|
14
|
+
`)&&n.flags==="s")}))},8814:function(i,s,t){var e=t(9039),r=t(4576).RegExp;i.exports=e((function(){var n=r("(?<a>b)","g");return n.exec("b").groups.a!=="b"||"b".replace(n,"$<a>c")!=="bc"}))},7750:function(i,s,t){var e=t(4117),r=TypeError;i.exports=function(n){if(e(n))throw new r("Can't call method on "+n);return n}},7633:function(i,s,t){var e=t(7751),r=t(2106),n=t(8227),o=t(3724),a=n("species");i.exports=function(u){var c=e(u);o&&c&&!c[a]&&r(c,a,{configurable:!0,get:function(){return this}})}},687:function(i,s,t){var e=t(4913).f,r=t(9297),n=t(8227)("toStringTag");i.exports=function(o,a,u){o&&!u&&(o=o.prototype),o&&!r(o,n)&&e(o,n,{configurable:!0,value:a})}},6119:function(i,s,t){var e=t(5745),r=t(3392),n=e("keys");i.exports=function(o){return n[o]||(n[o]=r(o))}},7629:function(i,s,t){var e=t(6395),r=t(4576),n=t(9433),o="__core-js_shared__",a=i.exports=r[o]||n(o,{});(a.versions||(a.versions=[])).push({version:"3.49.0",mode:e?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(i,s,t){var e=t(7629);i.exports=function(r,n){return e[r]||(e[r]=n||{})}},2293:function(i,s,t){var e=t(8551),r=t(5548),n=t(4117),o=t(8227)("species");i.exports=function(a,u){var c,l=e(a).constructor;return l===void 0||n(c=e(l)[o])?u:r(c)}},8183:function(i,s,t){var e=t(9504),r=t(1291),n=t(655),o=t(7750),a=e("".charAt),u=e("".charCodeAt),c=e("".slice),l=function(d){return function(v,p){var f,g,h=n(o(v)),y=r(p),m=h.length;return y<0||y>=m?d?"":void 0:(f=u(h,y))<55296||f>56319||y+1===m||(g=u(h,y+1))<56320||g>57343?d?a(h,y):f:d?c(h,y,y+2):g-56320+(f-55296<<10)+65536}};i.exports={codeAt:l(!1),charAt:l(!0)}},706:function(i,s,t){var e=t(350).PROPER,r=t(9039),n=t(7452);i.exports=function(o){return r((function(){return!!n[o]()||"
"[o]()!=="
"||e&&n[o].name!==o}))}},3802:function(i,s,t){var e=t(9504),r=t(7750),n=t(655),o=t(7452),a=e("".replace),u=RegExp("^["+o+"]+"),c=RegExp("(^|[^"+o+"])["+o+"]+$"),l=function(d){return function(v){var p=n(r(v));return 1&d&&(p=a(p,u,"")),2&d&&(p=a(p,c,"$1")),p}};i.exports={start:l(1),end:l(2),trim:l(3)}},4495:function(i,s,t){var e=t(9519),r=t(9039),n=t(4576).String;i.exports=!!Object.getOwnPropertySymbols&&!r((function(){var o=Symbol("symbol detection");return!n(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},8242:function(i,s,t){var e=t(9565),r=t(7751),n=t(8227),o=t(6840);i.exports=function(){var a=r("Symbol"),u=a&&a.prototype,c=u&&u.valueOf,l=n("toPrimitive");u&&!u[l]&&o(u,l,(function(d){return e(c,this)}),{arity:1})}},1296:function(i,s,t){var e=t(4495);i.exports=e&&!!Symbol.for&&!!Symbol.keyFor},1240:function(i,s,t){var e=t(9504);i.exports=e(1.1.valueOf)},5610:function(i,s,t){var e=t(1291),r=Math.max,n=Math.min;i.exports=function(o,a){var u=e(o);return u<0?r(u+a,0):n(u,a)}},5397:function(i,s,t){var e=t(7055),r=t(7750);i.exports=function(n){return e(r(n))}},1291:function(i,s,t){var e=t(741);i.exports=function(r){var n=+r;return n!=n||n===0?0:e(n)}},8014:function(i,s,t){var e=t(1291),r=Math.min;i.exports=function(n){var o=e(n);return o>0?r(o,9007199254740991):0}},8981:function(i,s,t){var e=t(7750),r=Object;i.exports=function(n){return r(e(n))}},2777:function(i,s,t){var e=t(9565),r=t(34),n=t(757),o=t(5966),a=t(4270),u=t(8227),c=TypeError,l=u("toPrimitive");i.exports=function(d,v){if(!r(d)||n(d))return d;var p,f=o(d,l);if(f){if(v===void 0&&(v="default"),p=e(f,d,v),!r(p)||n(p))return p;throw new c("Can't convert object to primitive value")}return v===void 0&&(v="number"),a(d,v)}},6969:function(i,s,t){var e=t(2777),r=t(757);i.exports=function(n){var o=e(n,"string");return r(o)?o:o+""}},2140:function(i,s,t){var e={};e[t(8227)("toStringTag")]="z",i.exports=String(e)==="[object z]"},655:function(i,s,t){var e=t(6955),r=String;i.exports=function(n){if(e(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return r(n)}},6823:function(i){var s=String;i.exports=function(t){try{return s(t)}catch{return"Object"}}},3392:function(i,s,t){var e=t(9504),r=0,n=Math.random(),o=e(1.1.toString);i.exports=function(a){return"Symbol("+(a===void 0?"":a)+")_"+o(++r+n,36)}},7040:function(i,s,t){var e=t(4495);i.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},8686:function(i,s,t){var e=t(3724),r=t(9039);i.exports=e&&r((function(){return Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype!==42}))},8622:function(i,s,t){var e=t(4576),r=t(4901),n=e.WeakMap;i.exports=r(n)&&/native code/.test(String(n))},511:function(i,s,t){var e=t(9167),r=t(9297),n=t(1951),o=t(4913).f;i.exports=function(a){var u=e.Symbol||(e.Symbol={});r(u,a)||o(u,a,{value:n.f(a)})}},1951:function(i,s,t){var e=t(8227);s.f=e},8227:function(i,s,t){var e=t(4576),r=t(5745),n=t(9297),o=t(3392),a=t(4495),u=t(7040),c=e.Symbol,l=r("wks"),d=u?c.for||c:c&&c.withoutSetter||o;i.exports=function(v){return n(l,v)||(l[v]=a&&n(c,v)?c[v]:d("Symbol."+v)),l[v]}},7452:function(i){i.exports=`
|
|
15
|
+
\v\f\r \u2028\u2029\uFEFF`},8706:function(i,s,t){var e=t(6518),r=t(9039),n=t(4376),o=t(34),a=t(8981),u=t(6198),c=t(6837),l=t(4659),d=t(4527),v=t(1469),p=t(597),f=t(8227),g=t(9519),h=f("isConcatSpreadable"),y=g>=51||!r((function(){var b=[];return b[h]=!1,b.concat()[0]!==b})),m=function(b){if(!o(b))return!1;var O=b[h];return O!==void 0?!!O:n(b)};e({target:"Array",proto:!0,arity:1,forced:!y||!p("concat")},{concat:function(b){var O,w,S,k,E,P=a(this),I=v(P,0),x=0;for(O=-1,S=arguments.length;O<S;O++)if(m(E=O===-1?P:arguments[O]))for(k=u(E),c(x+k),w=0;w<k;w++,x++)w in E&&l(I,x,E[w]);else c(x+1),l(I,x++,E);return d(I,x),I}})},2008:function(i,s,t){var e=t(6518),r=t(9213).filter;e({target:"Array",proto:!0,forced:!t(597)("filter")},{filter:function(n){return r(this,n,arguments.length>1?arguments[1]:void 0)}})},3418:function(i,s,t){var e=t(6518),r=t(7916);e({target:"Array",stat:!0,forced:!t(4428)((function(n){Array.from(n)}))},{from:r})},4423:function(i,s,t){var e=t(6518),r=t(9617).includes,n=t(9039),o=t(6469),a=n((function(){return!Array(1).includes()})),u=n((function(){return[,1].includes(void 0,1)}));e({target:"Array",proto:!0,forced:a||u},{includes:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),o("includes")},5276:function(i,s,t){var e=t(6518),r=t(7476),n=t(9617).indexOf,o=t(4598),a=r([].indexOf),u=!!a&&1/a([1],1,-0)<0;e({target:"Array",proto:!0,forced:u||!o("indexOf")},{indexOf:function(c){var l=arguments.length>1?arguments[1]:void 0;return u?a(this,c,l)||0:n(this,c,l)}})},3792:function(i,s,t){var e=t(5397),r=t(6469),n=t(6269),o=t(1181),a=t(4913).f,u=t(1088),c=t(2529),l=t(6395),d=t(3724),v="Array Iterator",p=o.set,f=o.getterFor(v);i.exports=u(Array,"Array",(function(h,y){p(this,{type:v,target:e(h),index:0,kind:y})}),(function(){var h=f(this),y=h.target,m=h.index++;if(!y||m>=y.length)return h.target=null,c(void 0,!0);switch(h.kind){case"keys":return c(m,!1);case"values":return c(y[m],!1)}return c([m,y[m]],!1)}),"values");var g=n.Arguments=n.Array;if(r("keys"),r("values"),r("entries"),!l&&d&&g.name!=="values")try{a(g,"name",{value:"values"})}catch{}},8598:function(i,s,t){var e=t(6518),r=t(9504),n=t(7055),o=t(5397),a=t(4598),u=r([].join);e({target:"Array",proto:!0,forced:n!==Object||!a("join",",")},{join:function(c){return u(o(this),c===void 0?",":c)}})},2062:function(i,s,t){var e=t(6518),r=t(9213).map;e({target:"Array",proto:!0,forced:!t(597)("map")},{map:function(n){return r(this,n,arguments.length>1?arguments[1]:void 0)}})},2712:function(i,s,t){var e=t(6518),r=t(926).left,n=t(4598),o=t(9519);e({target:"Array",proto:!0,forced:!t(6193)&&o>79&&o<83||!n("reduce")},{reduce:function(a){var u=arguments.length;return r(this,a,u,u>1?arguments[1]:void 0)}})},4782:function(i,s,t){var e=t(6518),r=t(4376),n=t(3517),o=t(34),a=t(5610),u=t(6198),c=t(5397),l=t(4659),d=t(4527),v=t(8227),p=t(597),f=t(7680),g=p("slice"),h=v("species"),y=Array,m=Math.max;e({target:"Array",proto:!0,forced:!g},{slice:function(b,O){var w,S,k,E=c(this),P=u(E),I=a(b,P),x=a(O===void 0?P:O,P);if(r(E)&&(w=E.constructor,(n(w)&&(w===y||r(w.prototype))||o(w)&&(w=w[h])===null)&&(w=void 0),w===y||w===void 0))return f(E,I,x);for(S=new(w===void 0?y:w)(m(x-I,0)),k=0;I<x;I++,k++)I in E&&l(S,k,E[I]);return d(S,k),S}})},6910:function(i,s,t){var e=t(6518),r=t(9504),n=t(9306),o=t(8981),a=t(6198),u=t(4606),c=t(655),l=t(9039),d=t(4488),v=t(4598),p=t(3709),f=t(3763),g=t(9519),h=t(3607),y=[],m=r(y.sort),b=r(y.push),O=l((function(){y.sort(void 0)})),w=l((function(){y.sort(null)})),S=v("sort"),k=!l((function(){if(g)return g<70;if(!(p&&p>3)){if(f)return!0;if(h)return h<603;var E,P,I,x,B="";for(E=65;E<76;E++){switch(P=String.fromCharCode(E),E){case 66:case 69:case 70:case 72:I=3;break;case 68:case 71:I=4;break;default:I=2}for(x=0;x<47;x++)y.push({k:P+x,v:I})}for(y.sort((function(T,M){return M.v-T.v})),x=0;x<y.length;x++)P=y[x].k.charAt(0),B.charAt(B.length-1)!==P&&(B+=P);return B!=="DGBEFHACIJK"}}));e({target:"Array",proto:!0,forced:O||!w||!S||!k},{sort:function(E){E!==void 0&&n(E);var P=o(this);if(k)return E===void 0?m(P):m(P,E);var I,x,B=[],T=a(P);for(x=0;x<T;x++)x in P&&b(B,P[x]);for(d(B,(function(M){return function(q,j){if(j===void 0)return-1;if(q===void 0)return 1;if(M!==void 0)return+M(q,j)||0;var U=c(q),H=c(j);return U===H?0:U>H?1:-1}})(E)),I=a(B),x=0;x<I;)P[x]=B[x++];for(;x<T;)u(P,x++);return P}})},4554:function(i,s,t){var e=t(6518),r=t(8981),n=t(5610),o=t(1291),a=t(6198),u=t(4527),c=t(6837),l=t(1469),d=t(4659),v=t(4606),p=t(597)("splice"),f=Math.max,g=Math.min;e({target:"Array",proto:!0,forced:!p},{splice:function(h,y){var m,b,O,w,S,k,E=r(this),P=a(E),I=n(h,P),x=arguments.length;for(x===0?m=b=0:x===1?(m=0,b=P-I):(m=x-2,b=g(f(o(y),0),P-I)),c(P+m-b),O=l(E,b),w=0;w<b;w++)(S=I+w)in E&&d(O,w,E[S]);if(u(O,b),m<b){for(w=I;w<P-b;w++)k=w+m,(S=w+b)in E?E[k]=E[S]:v(E,k);for(w=P;w>P-b+m;w--)v(E,w-1)}else if(m>b)for(w=P-b;w>I;w--)k=w+m-1,(S=w+b-1)in E?E[k]=E[S]:v(E,k);for(w=0;w<m;w++)E[w+I]=arguments[w+2];return u(E,P-b+m),O}})},739:function(i,s,t){var e=t(6518),r=t(9039),n=t(8981),o=t(2777);e({target:"Date",proto:!0,arity:1,forced:r((function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1}))},{toJSON:function(a){var u=n(this),c=o(u,"number");return typeof c!="number"||isFinite(c)?u.toISOString():null}})},9572:function(i,s,t){var e=t(9297),r=t(6840),n=t(3640),o=t(8227)("toPrimitive"),a=Date.prototype;e(a,o)||r(a,o,n)},2010:function(i,s,t){var e=t(3724),r=t(350).EXISTS,n=t(9504),o=t(2106),a=Function.prototype,u=n(a.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=n(c.exec);e&&!r&&o(a,"name",{configurable:!0,get:function(){try{return l(c,u(this))[1]}catch{return""}}})},3110:function(i,s,t){var e=t(6518),r=t(7751),n=t(8745),o=t(9565),a=t(9504),u=t(9039),c=t(4376),l=t(4901),d=t(5810),v=t(757),p=t(2195),f=t(655),g=t(7680),h=t(8235),y=t(3392),m=t(4495),b=t(7819),O=String,w=r("JSON","stringify"),S=a(/./.exec),k=a("".charAt),E=a("".charCodeAt),P=a("".replace),I=a("".slice),x=a([].push),B=a(1.1.toString),T=/[\uD800-\uDFFF]/g,M=/^[\uD800-\uDBFF]$/,q=/^[\uDC00-\uDFFF]$/,j=y(),U=j.length,H=!m||u((function(){var N=r("Symbol")("stringify detection");return w([N])!=="[null]"||w({a:N})!=="{}"||w(Object(N))!=="{}"})),R=u((function(){return w("\uDF06\uD834")!=='"\\udf06\\ud834"'||w("\uDEAD")!=='"\\udead"'})),K=H?function(N,A){var C=g(arguments),$=J(A);if(l($)||N!==void 0&&!v(N))return C[1]=function(L,G){if(l($)&&(G=o($,this,O(L),G)),!v(G))return G},n(w,null,C)}:w,z=function(N,A,C){var $=k(C,A-1),L=k(C,A+1);return S(M,N)&&!S(q,L)||S(q,N)&&!S(M,$)?"\\u"+B(E(N,0),16):N},J=function(N){if(l(N))return N;if(c(N)){for(var A=N.length,C=[],$=0;$<A;$++){var L=N[$];typeof L=="string"?x(C,L):typeof L!="number"&&p(L)!=="Number"&&p(L)!=="String"||x(C,f(L))}var G=C.length,ot=!0;return function(lt,st){if(ot)return ot=!1,st;if(c(this))return st;for(var yt=0;yt<G;yt++)if(C[yt]===lt)return st}}};w&&e({target:"JSON",stat:!0,arity:3,forced:H||R||!b},{stringify:function(N,A,C){var $=J(A),L=[],G=K(N,(function(Ct,gt){var Pt=l($)?o($,this,O(Ct),gt):gt;return!b&&d(Pt)?j+(x(L,Pt.rawJSON)-1):Pt}),C);if(typeof G!="string"||(R&&(G=P(G,T,z)),b))return G;for(var ot="",lt=G.length,st=0;st<lt;st++){var yt=k(G,st);if(yt==='"'){var kt=h(G,++st).end-1,dt=I(G,st,kt);ot+=I(dt,0,U)===j?L[I(dt,U)]:'"'+dt+'"',st=kt}else ot+=yt}return ot}})},2892:function(i,s,t){var e=t(6518),r=t(6395),n=t(3724),o=t(4576),a=t(9167),u=t(9504),c=t(2796),l=t(9297),d=t(3167),v=t(1625),p=t(757),f=t(2777),g=t(9039),h=t(8480).f,y=t(7347).f,m=t(4913).f,b=t(1240),O=t(3802).trim,w="Number",S=o[w],k=a[w],E=S.prototype,P=o.TypeError,I=u("".slice),x=u("".charCodeAt),B=function(j){var U,H,R,K,z,J,N,A,C=f(j,"number");if(p(C))throw new P("Cannot convert a Symbol value to a number");if(typeof C=="string"&&C.length>2){if(C=O(C),(U=x(C,0))===43||U===45){if((H=x(C,2))===88||H===120)return NaN}else if(U===48){switch(x(C,1)){case 66:case 98:R=2,K=49;break;case 79:case 111:R=8,K=55;break;default:return+C}for(J=(z=I(C,2)).length,N=0;N<J;N++)if((A=x(z,N))<48||A>K)return NaN;return parseInt(z,R)}}return+C},T=c(w,!S(" 0o1")||!S("0b1")||S("+0x1")),M=function(j){var U,H=arguments.length<1?0:S((function(R){var K=f(R,"number");return typeof K=="bigint"?K:B(K)})(j));return v(E,U=this)&&g((function(){b(U)}))?d(Object(H),this,M):H};M.prototype=E,T&&!r&&(E.constructor=M),e({global:!0,constructor:!0,wrap:!0,forced:T},{Number:M});var q=function(j,U){for(var H,R=n?h(U):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),K=0;R.length>K;K++)l(U,H=R[K])&&!l(j,H)&&m(j,H,y(U,H))};r&&k&&q(a[w],k),(T||r)&&q(a[w],S)},2637:function(i,s,t){t(6518)({target:"Number",stat:!0},{isInteger:t(2087)})},9085:function(i,s,t){var e=t(6518),r=t(4213);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},7427:function(i,s,t){var e=t(6518),r=t(3724),n=t(2551),o=t(9306),a=t(8981),u=t(4913);r&&e({target:"Object",proto:!0,forced:n},{__defineGetter__:function(c,l){u.f(a(this),c,{get:o(l),enumerable:!0,configurable:!0})}})},3851:function(i,s,t){var e=t(6518),r=t(9039),n=t(5397),o=t(7347).f,a=t(3724);e({target:"Object",stat:!0,forced:!a||r((function(){o(1)})),sham:!a},{getOwnPropertyDescriptor:function(u,c){return o(n(u),c)}})},1278:function(i,s,t){var e=t(6518),r=t(3724),n=t(5031),o=t(5397),a=t(7347),u=t(4659);e({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(c){for(var l,d,v=o(c),p=a.f,f=n(v),g={},h=0;f.length>h;)(d=p(v,l=f[h++]))!==void 0&&u(g,l,d);return g}})},1480:function(i,s,t){var e=t(6518),r=t(9039),n=t(298).f;e({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:n})},9773:function(i,s,t){var e=t(6518),r=t(4495),n=t(9039),o=t(3717),a=t(8981);e({target:"Object",stat:!0,forced:!r||n((function(){o.f(1)}))},{getOwnPropertySymbols:function(u){var c=o.f;return c?c(a(u)):[]}})},9432:function(i,s,t){var e=t(6518),r=t(8981),n=t(1072);e({target:"Object",stat:!0,forced:t(9039)((function(){n(1)}))},{keys:function(o){return n(r(o))}})},6099:function(i,s,t){var e=t(2140),r=t(6840),n=t(3179);e||r(Object.prototype,"toString",n,{unsafe:!0})},825:function(i,s,t){var e=t(6518),r=t(7751),n=t(8745),o=t(566),a=t(5548),u=t(8551),c=t(34),l=t(2360),d=t(9039),v=r("Reflect","construct"),p=Object.prototype,f=[].push,g=d((function(){function m(){}return!(v((function(){}),[],m)instanceof m)})),h=!d((function(){v((function(){}))})),y=g||h;e({target:"Reflect",stat:!0,forced:y,sham:y},{construct:function(m,b){a(m);var O=arguments.length<3?m:a(arguments[2]);if(u(b),h&&!g)return v(m,b,O);if(m===O){switch(b.length){case 0:return new m;case 1:return new m(b[0]);case 2:return new m(b[0],b[1]);case 3:return new m(b[0],b[1],b[2]);case 4:return new m(b[0],b[1],b[2],b[3])}var w=[null];return n(f,w,b),new(n(o,m,w))}var S=O.prototype,k=l(c(S)?S:p),E=n(m,k,b);return c(E)?E:k}})},4864:function(i,s,t){var e=t(3724),r=t(4576),n=t(9504),o=t(2796),a=t(3167),u=t(6699),c=t(2360),l=t(8480).f,d=t(1625),v=t(788),p=t(655),f=t(1034),g=t(8429),h=t(1056),y=t(6840),m=t(9039),b=t(9297),O=t(1181).enforce,w=t(7633),S=t(8227),k=t(3635),E=t(8814),P=S("match"),I=r.RegExp,x=I.prototype,B=r.SyntaxError,T=n(x.exec),M=n("".charAt),q=n("".replace),j=n("".indexOf),U=n("".slice),H=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,R=/a/g,K=/a/g,z=new I(R)!==R,J=g.MISSED_STICKY,N=g.UNSUPPORTED_Y;if(o("RegExp",e&&(!z||J||k||E||m((function(){return K[P]=!1,I(R)!==R||I(K)===K||String(I(R,"i"))!=="/a/i"}))))){for(var A=function(L,G){var ot,lt,st,yt,kt,dt,Ct=d(x,this),gt=v(L),Pt=G===void 0,Dt=[],Rt=L;if(!Ct&>&&Pt&&L.constructor===A)return L;if((gt||d(x,L))&&(L=L.source,Pt&&(G=f(Rt))),L=L===void 0?"":p(L),G=G===void 0?"":p(G),Rt=L,k&&"dotAll"in R&&(lt=!!G&&j(G,"s")>-1)&&(G=q(G,/s/g,"")),ot=G,J&&"sticky"in R&&(st=!!G&&j(G,"y")>-1)&&N&&(G=q(G,/y/g,"")),E&&(yt=(function(ft){for(var ct,Gt=ft.length,mt=0,wt="",St=[],Ht=c(null),Lt=!1,Nt=!1,_t=0,Tt="";mt<Gt;mt++){if((ct=M(ft,mt))==="\\"){if(ct+=M(ft,++mt),!Nt&&M(ct,1)==="\\"){wt+="\\x5c";continue}}else if(ct==="]")Lt=!1;else if(!Lt)switch(!0){case ct==="[":Lt=!0;break;case ct==="(":wt+=ct,T(H,U(ft,mt+1))?(mt+=2,Nt=!0,_t++):M(ft,mt+1)!=="?"&&_t++;continue;case(ct===">"&&Nt):if(Tt===""||b(Ht,Tt))throw new B("Invalid capture group name");Ht[Tt]=!0,St[St.length]=[Tt,_t],Nt=!1,Tt="";continue}Nt?Tt+=ct:wt+=ct}for(var Ft=0;Ft<St.length;Ft++)for(var Vt="\\k<"+St[Ft][0]+">",_="\\"+St[Ft][1];j(wt,Vt)>-1;)wt=q(wt,Vt,_);return[wt,St]})(L),L=yt[0],Dt=yt[1]),kt=a(I(L,G),Ct?this:x,A),(lt||st||Dt.length)&&(dt=O(kt),lt&&(dt.dotAll=!0,dt.raw=A((function(ft){for(var ct,Gt=ft.length,mt=0,wt="",St=!1;mt<Gt;mt++)(ct=M(ft,mt))!=="\\"?St||ct!=="."?(ct==="["?St=!0:ct==="]"&&(St=!1),wt+=ct):wt+="[\\s\\S]":wt+=ct+M(ft,++mt);return wt})(L),ot)),st&&(dt.sticky=!0),Dt.length&&(dt.groups=Dt)),L!==Rt)try{u(kt,"source",Rt===""?"(?:)":Rt)}catch{}return kt},C=l(I),$=0;C.length>$;)h(A,I,C[$++]);x.constructor=A,A.prototype=x,y(r,"RegExp",A,{constructor:!0})}w("RegExp")},7495:function(i,s,t){var e=t(6518),r=t(7323);e({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},8781:function(i,s,t){var e=t(350).PROPER,r=t(6840),n=t(8551),o=t(655),a=t(9039),u=t(1034),c="toString",l=RegExp.prototype,d=l[c],v=a((function(){return d.call({source:"a",flags:"b"})!=="/a/b"})),p=e&&d.name!==c;(v||p)&&r(l,c,(function(){var f=n(this);return"/"+o(f.source)+"/"+o(u(f))}),{unsafe:!0})},1699:function(i,s,t){var e=t(6518),r=t(9504),n=t(5749),o=t(7750),a=t(655),u=t(1436),c=r("".indexOf);e({target:"String",proto:!0,forced:!u("includes")},{includes:function(l){return!!~c(a(o(this)),a(n(l)),arguments.length>1?arguments[1]:void 0)}})},7764:function(i,s,t){var e=t(8183).charAt,r=t(655),n=t(1181),o=t(1088),a=t(2529),u="String Iterator",c=n.set,l=n.getterFor(u);o(String,"String",(function(d){c(this,{type:u,string:r(d),index:0})}),(function(){var d,v=l(this),p=v.string,f=v.index;return f>=p.length?a(void 0,!0):(d=e(p,f),v.index+=d.length,a(d,!1))}))},8543:function(i,s,t){var e=t(6518),r=t(9565),n=t(7476),o=t(3994),a=t(2529),u=t(7750),c=t(8014),l=t(655),d=t(8551),v=t(34),p=t(2195),f=t(788),g=t(1034),h=t(5966),y=t(6840),m=t(9039),b=t(8227),O=t(2293),w=t(7829),S=t(6682),k=t(1181),E=t(6395),P=b("matchAll"),I="RegExp String",x=I+" Iterator",B=k.set,T=k.getterFor(x),M=RegExp.prototype,q=TypeError,j=n("".indexOf),U=n("".matchAll),H=!!U&&!m((function(){U("a",/./)})),R=o((function(z,J,N,A){B(this,{type:x,regexp:z,string:J,global:N,unicode:A,done:!1})}),I,(function(){var z=T(this);if(z.done)return a(void 0,!0);var J=z.regexp,N=z.string,A=S(J,N);return A===null?(z.done=!0,a(void 0,!0)):z.global?(l(A[0])===""&&(J.lastIndex=w(N,c(J.lastIndex),z.unicode)),a(A,!1)):(z.done=!0,a(A,!1))})),K=function(z){var J,N,A,C=d(this),$=l(z),L=O(C,RegExp),G=l(g(C));return J=new L(L===RegExp?C.source:C,G),N=!!~j(G,"g"),A=!!~j(G,"u")||!!~j(G,"v"),J.lastIndex=c(C.lastIndex),new R(J,$,N,A)};e({target:"String",proto:!0,forced:H},{matchAll:function(z){var J,N,A,C,$=u(this);if(v(z)){if(f(z)&&(J=l(u(g(z))),!~j(J,"g")))throw new q("`.matchAll` does not allow non-global regexes");if(H)return U($,z);if((A=h(z,P))===void 0&&E&&p(z)==="RegExp"&&(A=K),A)return r(A,z,$)}else if(H)return U($,z);return N=l($),C=new RegExp(z,"g"),E?r(K,C,N):C[P](N)}}),E||P in M||y(M,P,K)},1761:function(i,s,t){var e=t(9565),r=t(9504),n=t(9228),o=t(8551),a=t(34),u=t(8014),c=t(655),l=t(7750),d=t(5966),v=t(7829),p=t(1034),f=t(6682),g=r("".indexOf);n("match",(function(h,y,m){return[function(b){var O=l(this),w=a(b)?d(b,h):void 0;return w?e(w,b,O):new RegExp(b)[h](c(O))},function(b){var O=o(this),w=c(b),S=m(y,O,w);if(S.done)return S.value;var k=c(p(O));if(!~g(k,"g"))return f(O,w);var E=!!~g(k,"u")||!!~g(k,"v");O.lastIndex=0;for(var P,I=[],x=0;(P=f(O,w))!==null;){var B=c(P[0]);I[x]=B,B===""&&(O.lastIndex=v(w,u(O.lastIndex),E)),x++}return x===0?null:I}]}))},5440:function(i,s,t){var e=t(8745),r=t(9565),n=t(9504),o=t(9228),a=t(9039),u=t(8551),c=t(4901),l=t(34),d=t(1291),v=t(8014),p=t(655),f=t(7750),g=t(7829),h=t(5966),y=t(2478),m=t(1034),b=t(6682),O=t(8227)("replace"),w=Math.max,S=Math.min,k=n([].concat),E=n([].push),P=n("".indexOf),I=n("".slice),x="a".replace(/./,"$0")==="$0",B=!!/./[O]&&/./[O]("a","$0")==="";o("replace",(function(T,M,q){var j=B?"$":"$0";return[function(U,H){var R=f(this),K=l(U)?h(U,O):void 0;return K?r(K,U,R,H):r(M,p(R),U,H)},function(U,H){var R=u(this),K=p(U),z=c(H);z||(H=p(H));var J=p(m(R));if(typeof H=="string"&&!~P(H,j)&&!~P(H,"$<")&&!~P(J,"y")){var N=q(M,R,K,H);if(N.done)return N.value}var A,C=!!~P(J,"g");C&&(A=!!~P(J,"u")||!!~P(J,"v"),R.lastIndex=0);for(var $,L=[];($=b(R,K))!==null&&(E(L,$),C);)p($[0])===""&&(R.lastIndex=g(K,v(R.lastIndex),A));for(var G,ot="",lt=0,st=0;st<L.length;st++){for(var yt,kt=p(($=L[st])[0]),dt=w(S(d($.index),K.length),0),Ct=[],gt=1;gt<$.length;gt++)E(Ct,(G=$[gt])===void 0?G:String(G));var Pt=$.groups;if(z){var Dt=k([kt],Ct,dt,K);Pt!==void 0&&E(Dt,Pt),yt=p(e(H,void 0,Dt))}else yt=y(kt,K,dt,Ct,Pt,H);dt>=lt&&(ot+=I(K,lt,dt)+yt,lt=dt+kt.length)}return ot+I(K,lt)}]}),!!a((function(){var T=/./;return T.exec=function(){var M=[];return M.groups={a:"7"},M},"".replace(T,"$<a>")!=="7"}))||!x||B)},744:function(i,s,t){var e=t(9565),r=t(9504),n=t(9228),o=t(8551),a=t(34),u=t(7750),c=t(2293),l=t(7829),d=t(8014),v=t(655),p=t(5966),f=t(1034),g=t(6682),h=t(8429),y=t(9039),m=h.UNSUPPORTED_Y,b=Math.min,O=r([].push),w=r("".slice),S=r("".indexOf),k=!y((function(){var P=/(?:)/,I=P.exec;P.exec=function(){return I.apply(this,arguments)};var x="ab".split(P);return x.length!==2||x[0]!=="a"||x[1]!=="b"})),E="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;n("split",(function(P,I,x){var B="0".split(void 0,0).length?function(T,M){return T===void 0&&M===0?[]:e(I,this,T,M)}:I;return[function(T,M){var q=u(this),j=a(T)?p(T,P):void 0;return j?e(j,T,q,M):e(B,v(q),T,M)},function(T,M){var q=o(this),j=v(T);if(!E){var U=x(B,q,j,M,B!==I);if(U.done)return U.value}var H=c(q,RegExp),R=v(f(q)),K=!!~S(R,"u")||!!~S(R,"v");m?~S(R,"g")||(R+="g"):~S(R,"y")||(R+="y");var z=new H(m?"^(?:"+q.source+")":q,R),J=M===void 0?4294967295:M>>>0;if(J===0)return[];if(j.length===0)return g(z,j)===null?[j]:[];for(var N=0,A=0,C=[];A<j.length;){z.lastIndex=m?0:A;var $,L=g(z,m?w(j,A):j);if(L===null||($=b(d(z.lastIndex+(m?A:0)),j.length))===N)A=l(j,A,K);else{if(O(C,w(j,N,A)),C.length===J)return C;for(var G=1;G<=L.length-1;G++)if(O(C,L[G]),C.length===J)return C;A=N=$}}return O(C,w(j,N)),C}]}),E||!k,m)},2762:function(i,s,t){var e=t(6518),r=t(3802).trim;e({target:"String",proto:!0,forced:t(706)("trim")},{trim:function(){return r(this)}})},6761:function(i,s,t){var e=t(6518),r=t(4576),n=t(9565),o=t(9504),a=t(6395),u=t(3724),c=t(4495),l=t(9039),d=t(9297),v=t(1625),p=t(8551),f=t(5397),g=t(6969),h=t(655),y=t(6980),m=t(2360),b=t(1072),O=t(8480),w=t(298),S=t(3717),k=t(7347),E=t(4913),P=t(6801),I=t(8773),x=t(6840),B=t(2106),T=t(5745),M=t(6119),q=t(421),j=t(3392),U=t(8227),H=t(1951),R=t(511),K=t(8242),z=t(687),J=t(1181),N=t(9213).forEach,A=M("hidden"),C="Symbol",$="prototype",L=J.set,G=J.getterFor(C),ot=Object[$],lt=r.Symbol,st=lt&<[$],yt=r.RangeError,kt=r.TypeError,dt=r.QObject,Ct=k.f,gt=E.f,Pt=w.f,Dt=I.f,Rt=o([].push),ft=T("symbols"),ct=T("op-symbols"),Gt=T("wks"),mt=!dt||!dt[$]||!dt[$].findChild,wt=function(_,X,Q){var et=Ct(ot,X);return et&&delete ot[X],gt(_,X,Q),et&&_!==ot&>(ot,X,et),_},St=u&&l((function(){return m(gt({},"a",{get:function(){return gt(this,"a",{value:7}).a}})).a!==7}))?wt:gt,Ht=function(_,X){var Q=ft[_]=m(st);return L(Q,{type:C,tag:_,description:X}),u||(Q.description=X),Q},Lt=function(_,X,Q){_===ot&&Lt(ct,X,Q),p(_);var et=g(X);return p(Q),d(ft,et)?(("enumerable"in Q?!Q.enumerable:!d(_,et)||d(_,A)&&_[A][et])?(d(_,A)||gt(_,A,y(1,m(null))),_[A][et]=!0):(d(_,A)&&_[A][et]&&(_[A][et]=!1),Q=m(Q,{enumerable:y(0,!1)})),St(_,et,Q)):gt(_,et,Q)},Nt=function(_,X){p(_);var Q=f(X),et=b(Q).concat(Vt(Q));return N(et,(function(ht){u&&!n(_t,Q,ht)||Lt(_,ht,Q[ht])})),_},_t=function(_){var X=g(_),Q=n(Dt,this,X);return!(this===ot&&d(ft,X)&&!d(ct,X))&&(!(Q||!d(this,X)||!d(ft,X)||d(this,A)&&this[A][X])||Q)},Tt=function(_,X){var Q=f(_),et=g(X);if(Q!==ot||!d(ft,et)||d(ct,et)){var ht=Ct(Q,et);return!ht||!d(ft,et)||d(Q,A)&&Q[A][et]||(ht.enumerable=!0),ht}},Ft=function(_){var X=Pt(f(_)),Q=[];return N(X,(function(et){d(ft,et)||d(q,et)||Rt(Q,et)})),Q},Vt=function(_){var X=_===ot,Q=Pt(X?ct:f(_)),et=[];return N(Q,(function(ht){!d(ft,ht)||X&&!d(ot,ht)||Rt(et,ft[ht])})),et};c||(lt=function(){if(v(st,this))throw new kt("Symbol is not a constructor");var _=arguments.length&&arguments[0]!==void 0?h(arguments[0]):void 0,X=j(_),Q=function(et){var ht=this===void 0?r:this;ht===ot&&n(Q,ct,et),d(ht,A)&&d(ht[A],X)&&(ht[A][X]=!1);var ie=y(1,et);try{St(ht,X,ie)}catch(ae){if(!(ae instanceof yt))throw ae;wt(ht,X,ie)}};return u&&mt&&St(ot,X,{configurable:!0,set:Q}),Ht(X,_)},x(st=lt[$],"toString",(function(){return G(this).tag})),x(lt,"withoutSetter",(function(_){return Ht(j(_),_)})),I.f=_t,E.f=Lt,P.f=Nt,k.f=Tt,O.f=w.f=Ft,S.f=Vt,H.f=function(_){return Ht(U(_),_)},u&&(B(st,"description",{configurable:!0,get:function(){return G(this).description}}),a||x(ot,"propertyIsEnumerable",_t,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:lt}),N(b(Gt),(function(_){R(_)})),e({target:C,stat:!0,forced:!c},{useSetter:function(){mt=!0},useSimple:function(){mt=!1}}),e({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(_,X){return X===void 0?m(_):Nt(m(_),X)},defineProperty:Lt,defineProperties:Nt,getOwnPropertyDescriptor:Tt}),e({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:Ft}),K(),z(lt,C),q[A]=!0},9463:function(i,s,t){var e=t(6518),r=t(3724),n=t(4576),o=t(9565),a=t(9504),u=t(9297),c=t(4901),l=t(1625),d=t(655),v=t(2106),p=t(7740),f=n.Symbol,g=f&&f.prototype;if(r&&c(f)&&(!("description"in g)||f().description!==void 0)){var h={},y=function(){var P=arguments.length<1||arguments[0]===void 0?void 0:d(arguments[0]),I=l(g,this)?new f(P):P===void 0?f():f(P);return P===""&&(h[I]=!0),I};p(y,f);var m=y.for;y.for=function(P){var I=d(P),x=o(m,this,I);return I===""&&(h[x]=!0),x},y.prototype=g,g.constructor=y;var b=String(f("description detection"))==="Symbol(description detection)",O=a(g.valueOf),w=a(g.toString),S=/^Symbol\((.*)\)[^)]+$/,k=a("".replace),E=a("".slice);v(g,"description",{configurable:!0,get:function(){var P=O(this);if(u(h,P))return"";var I=w(P),x=b?E(I,7,-1):k(I,S,"$1");return x===""?void 0:x}}),e({global:!0,constructor:!0,forced:!0},{Symbol:y})}},1510:function(i,s,t){var e=t(6518),r=t(7751),n=t(9297),o=t(655),a=t(5745),u=t(1296),c=a("string-to-symbol-registry"),l=a("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!u},{for:function(d){var v=o(d);if(n(c,v))return c[v];var p=r("Symbol")(v);return c[v]=p,l[p]=v,p}})},2259:function(i,s,t){t(511)("iterator")},2675:function(i,s,t){t(6761),t(1510),t(7812),t(3110),t(9773)},7812:function(i,s,t){var e=t(6518),r=t(9297),n=t(757),o=t(6823),a=t(5745),u=t(1296),c=a("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!u},{keyFor:function(l){if(!n(l))throw new TypeError(o(l)+" is not a symbol");if(r(c,l))return c[l]}})},5700:function(i,s,t){var e=t(511),r=t(8242);e("toPrimitive"),r()},8344:function(i,s,t){t(8543)},3500:function(i,s,t){var e=t(4576),r=t(7400),n=t(9296),o=t(235),a=t(6699),u=function(l){if(l&&l.forEach!==o)try{a(l,"forEach",o)}catch{l.forEach=o}};for(var c in r)r[c]&&u(e[c]&&e[c].prototype);u(n)},2953:function(i,s,t){var e=t(4576),r=t(7400),n=t(9296),o=t(3792),a=t(6699),u=t(687),c=t(8227)("iterator"),l=o.values,d=function(p,f){if(p){if(p[c]!==l)try{a(p,c,l)}catch{p[c]=l}if(u(p,f,!0),r[f]){for(var g in o)if(p[g]!==o[g])try{a(p,g,o[g])}catch{p[g]=o[g]}}}};for(var v in r)d(e[v]&&e[v].prototype,v);d(n,"DOMTokenList")}},it={};function D(i){var s=it[i];if(s!==void 0)return s.exports;var t=it[i]={exports:{}};return ut[i].call(t.exports,t,t.exports,D),t.exports}D.d=function(i,s){for(var t in s)D.o(s,t)&&!D.o(i,t)&&Object.defineProperty(i,t,{enumerable:!0,get:s[t]})},D.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})(),D.o=function(i,s){return Object.prototype.hasOwnProperty.call(i,s)},D.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var pt={};function vt(i){return(function(s){if(Array.isArray(s))return It(s)})(i)||(function(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)})(i)||Ot(i)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
16
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function Ot(i,s){if(i){if(typeof i=="string")return It(i,s);var t={}.toString.call(i).slice(8,-1);return t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set"?Array.from(i):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?It(i,s):void 0}}function It(i,s){(s==null||s>i.length)&&(s=i.length);for(var t=0,e=Array(s);t<s;t++)e[t]=i[t];return e}function bt(i){return bt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},bt(i)}function Bt(i,s){for(var t=0;t<s.length;t++){var e=s[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,rt(e.key),e)}}function Y(i,s,t){return(s=rt(s))in i?Object.defineProperty(i,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[s]=t,i}function rt(i){var s=(function(t,e){if(bt(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(bt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)})(i,"string");return bt(s)=="symbol"?s:s+""}D.r(pt),D.d(pt,{SimpleKeyboard:function(){return oe},default:function(){return le}}),D(5276),D(8598),D(4782),D(4554),D(2010),D(7427),D(6099),D(7495),D(8781),D(5440),D(744),D(2762),typeof Element>"u"||"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),typeof self<"u"&&"document"in self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&(function(i){if("Element"in i){var s="classList",t="prototype",e=i.Element[t],r=Object,n=String[t].trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Array[t].indexOf||function(p){for(var f=0,g=this.length;f<g;f++)if(f in this&&this[f]===p)return f;return-1},a=function(p,f){this.name=p,this.code=DOMException[p],this.message=f},u=function(p,f){if(f==="")throw new a("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(f))throw new a("INVALID_CHARACTER_ERR","The token must not contain space characters.");return o.call(p,f)},c=function(p){for(var f=n.call(p.getAttribute("class")||""),g=f?f.split(/\s+/):[],h=0,y=g.length;h<y;h++)this.push(g[h]);this._updateClassName=function(){p.setAttribute("class",this.toString())}},l=c[t]=[],d=function(){return new c(this)};if(a[t]=Error[t],l.item=function(p){return this[p]||null},l.contains=function(p){return~u(this,p+"")},l.add=function(){var p,f=arguments,g=0,h=f.length,y=!1;do~u(this,p=f[g]+"")||(this.push(p),y=!0);while(++g<h);y&&this._updateClassName()},l.remove=function(){var p,f,g=arguments,h=0,y=g.length,m=!1;do for(f=u(this,p=g[h]+"");~f;)this.splice(f,1),m=!0,f=u(this,p);while(++h<y);m&&this._updateClassName()},l.toggle=function(p,f){var g=this.contains(p),h=g?f!==!0&&"remove":f!==!1&&"add";return h&&this[h](p),f===!0||f===!1?f:!g},l.replace=function(p,f){var g=u(p+"");~g&&(this.splice(g,1,f),this._updateClassName())},l.toString=function(){return this.join(" ")},r.defineProperty){var v={get:d,enumerable:!0,configurable:!0};try{r.defineProperty(e,s,v)}catch(p){p.number!==void 0&&p.number!==-2146823252||(v.enumerable=!1,r.defineProperty(e,s,v))}}else r[t].__defineGetter__&&e.__defineGetter__(s,d)}})(self),(function(){var i=document.createElement("_");if(i.classList.add("c1","c2"),!i.classList.contains("c2")){var s=function(e){var r=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(n){var o,a=arguments.length;for(o=0;o<a;o++)n=arguments[o],r.call(this,n)}};s("add"),s("remove")}if(i.classList.toggle("c3",!1),i.classList.contains("c3")){var t=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,r){return 1 in arguments&&!this.contains(e)==!r?r:t.call(this,e)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(e,r){var n=this.toString().split(" "),o=n.indexOf(e+"");~o&&(n=n.slice(o),this.remove.apply(this,n),this.add(r),this.add.apply(this,n.slice(1)))}),i=null})()),D(2675),D(9463),D(2259),D(5700),D(8706),D(2008),D(3418),D(4423),D(3792),D(2062),D(6910),D(739),D(9572),D(2892),D(9085),D(3851),D(1278),D(9432),D(4864),D(1699),D(7764),D(8344),D(3500),D(2953),D(2712),D(2637),D(1480),D(825),D(1761);var at=(function(){return i=function e(r){var n=r.getOptions,o=r.getCaretPosition,a=r.getCaretPositionEnd,u=r.dispatch;(function(c,l){if(!(c instanceof l))throw new TypeError("Cannot call a class as a function")})(this,e),Y(this,"getOptions",void 0),Y(this,"getCaretPosition",void 0),Y(this,"getCaretPositionEnd",void 0),Y(this,"dispatch",void 0),Y(this,"maxLengthReached",void 0),Y(this,"isStandardButton",(function(c){return c&&!(c[0]==="{"&&c[c.length-1]==="}")})),this.getOptions=n,this.getCaretPosition=o,this.getCaretPositionEnd=a,this.dispatch=u,e.bindMethods(e,this)},s=[{key:"getButtonType",value:function(e){return e.includes("{")&&e.includes("}")&&e!=="{//}"?"functionBtn":"standardBtn"}},{key:"getButtonClass",value:function(e){var r=this.getButtonType(e),n=e.replace("{","").replace("}",""),o="";return r!=="standardBtn"&&(o=" hg-button-".concat(n)),"hg-".concat(r).concat(o)}},{key:"getDefaultDiplay",value:function(){return{"{bksp}":"backspace","{backspace}":"backspace","{enter}":"< enter","{shift}":"shift","{shiftleft}":"shift","{shiftright}":"shift","{alt}":"alt","{s}":"shift","{tab}":"tab","{lock}":"caps","{capslock}":"caps","{accept}":"Submit","{space}":" ","{//}":" ","{esc}":"esc","{escape}":"esc","{f1}":"f1","{f2}":"f2","{f3}":"f3","{f4}":"f4","{f5}":"f5","{f6}":"f6","{f7}":"f7","{f8}":"f8","{f9}":"f9","{f10}":"f10","{f11}":"f11","{f12}":"f12","{numpaddivide}":"/","{numlock}":"lock","{arrowup}":"↑","{arrowleft}":"←","{arrowdown}":"↓","{arrowright}":"→","{prtscr}":"print","{scrolllock}":"scroll","{pause}":"pause","{insert}":"ins","{home}":"home","{pageup}":"up","{delete}":"del","{forwarddelete}":"del","{end}":"end","{pagedown}":"down","{numpadmultiply}":"*","{numpadsubtract}":"-","{numpadadd}":"+","{numpadenter}":"enter","{period}":".","{numpaddecimal}":".","{numpad0}":"0","{numpad1}":"1","{numpad2}":"2","{numpad3}":"3","{numpad4}":"4","{numpad5}":"5","{numpad6}":"6","{numpad7}":"7","{numpad8}":"8","{numpad9}":"9"}}},{key:"getButtonDisplayName",value:function(e,r){return(r=arguments.length>2&&arguments[2]!==void 0&&arguments[2]?Object.assign({},this.getDefaultDiplay(),r):r||this.getDefaultDiplay())[e]||e}},{key:"getUpdatedInput",value:function(e,r,n){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:n,a=arguments.length>4&&arguments[4]!==void 0&&arguments[4],u=this.getOptions(),c=[n,o,a],l=r;return(e==="{bksp}"||e==="{backspace}")&&l.length>0?l=this.removeAt.apply(this,[l].concat(c)):(e==="{delete}"||e==="{forwarddelete}")&&l.length>0?l=this.removeForwardsAt.apply(this,[l].concat(c)):e==="{space}"?l=this.addStringAt.apply(this,[l," "].concat(c)):e!=="{tab}"||typeof u.tabCharOnTab=="boolean"&&u.tabCharOnTab===!1?e!=="{enter}"&&e!=="{numpadenter}"||!u.newLineOnEnter?e.includes("numpad")&&Number.isInteger(Number(e[e.length-2]))?l=this.addStringAt.apply(this,[l,e[e.length-2]].concat(c)):e==="{numpaddivide}"?l=this.addStringAt.apply(this,[l,"/"].concat(c)):e==="{numpadmultiply}"?l=this.addStringAt.apply(this,[l,"*"].concat(c)):e==="{numpadsubtract}"?l=this.addStringAt.apply(this,[l,"-"].concat(c)):e==="{numpadadd}"?l=this.addStringAt.apply(this,[l,"+"].concat(c)):e==="{numpaddecimal}"?l=this.addStringAt.apply(this,[l,"."].concat(c)):e==="{"||e==="}"?l=this.addStringAt.apply(this,[l,e].concat(c)):e.includes("{")||e.includes("}")||(l=this.addStringAt.apply(this,[l,e].concat(c))):l=this.addStringAt.apply(this,[l,`
|
|
17
|
+
`].concat(c)):l=this.addStringAt.apply(this,[l," "].concat(c)),u.debug&&console.log("Input will be: "+l),l}},{key:"updateCaretPos",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=this.updateCaretPosAction(e,r);this.dispatch((function(o){o.setCaretPosition(n)}))}},{key:"updateCaretPosAction",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=this.getOptions(),o=this.getCaretPosition();return o!=null&&(r?o>0&&(o-=e):o+=e),n.debug&&console.log("Caret at:",o),o}},{key:"addStringAt",value:function(e,r){var n,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:e.length,u=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return o||o===0?(n=[e.slice(0,o),r,e.slice(a)].join(""),this.isMaxLengthReached()||u&&this.updateCaretPos(r.length)):n=e+r,n}},{key:"removeAt",value:function(e){var r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.length,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,a=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(n===0&&o===0)return e;if(n===o){var u=/([\uD800-\uDBFF][\uDC00-\uDFFF])/g;n&&n>=0?e.substring(n-2,n).match(u)?(r=e.substr(0,n-2)+e.substr(n),a&&this.updateCaretPos(2,!0)):(r=e.substr(0,n-1)+e.substr(n),a&&this.updateCaretPos(1,!0)):e.slice(-2).match(u)?(r=e.slice(0,-2),a&&this.updateCaretPos(2,!0)):(r=e.slice(0,-1),a&&this.updateCaretPos(1,!0))}else r=e.slice(0,n)+e.slice(o),a&&this.dispatch((function(c){c.setCaretPosition(n)}));return r}},{key:"removeForwardsAt",value:function(e){var r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.length,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,a=arguments.length>3&&arguments[3]!==void 0&&arguments[3];return e!=null&&e.length&&n!==null?(n===o?r=e.substring(n,n+2).match(/([\uD800-\uDBFF][\uDC00-\uDFFF])/g)?e.substr(0,n)+e.substr(n+2):e.substr(0,n)+e.substr(n+1):(r=e.slice(0,n)+e.slice(o),a&&this.dispatch((function(u){u.setCaretPosition(n)}))),r):e}},{key:"handleMaxLength",value:function(e,r){var n=this.getOptions(),o=n.maxLength,a=e[n.inputName||"default"],u=r.length-1>=o;if(r.length<=a.length)return!1;if(Number.isInteger(o))return n.debug&&console.log("maxLength (num) reached:",u),u?(this.maxLengthReached=!0,!0):(this.maxLengthReached=!1,!1);if(bt(o)==="object"){var c=r.length-1>=o[n.inputName||"default"];return n.debug&&console.log("maxLength (obj) reached:",c),c?(this.maxLengthReached=!0,!0):(this.maxLengthReached=!1,!1)}}},{key:"isMaxLengthReached",value:function(){return!!this.maxLengthReached}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints}},{key:"pointerEventsSupported",value:function(){return!!window.PointerEvent}},{key:"camelCase",value:function(e){return e?e.toLowerCase().trim().split(/[.\-_\s]/g).reduce((function(r,n){return n.length?r+n[0].toUpperCase()+n.slice(1):r})):""}},{key:"chunkArray",value:function(e,r){return vt(Array(Math.ceil(e.length/r))).map((function(n,o){return e.slice(r*o,r+r*o)}))}},{key:"escapeRegex",value:function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}},{key:"getRtlOffset",value:function(e,r){var n=e,o=r.indexOf("");return o<e&&o!=-1&&n--,r.indexOf("")<e&&o!=-1&&n--,n<0?0:n}},{key:"isConstructor",value:function(e){try{Reflect.construct(String,[],e)}catch{return!1}return!0}}],t=[{key:"bindMethods",value:function(e,r){var n,o=(function(u,c){var l=typeof Symbol<"u"&&u[Symbol.iterator]||u["@@iterator"];if(!l){if(Array.isArray(u)||(l=Ot(u))||c){l&&(u=l);var d=0,v=function(){};return{s:v,n:function(){return d>=u.length?{done:!0}:{done:!1,value:u[d++]}},e:function(h){throw h},f:v}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
18
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var p,f=!0,g=!1;return{s:function(){l=l.call(u)},n:function(){var h=l.next();return f=h.done,h},e:function(h){g=!0,p=h},f:function(){try{f||l.return==null||l.return()}finally{if(g)throw p}}}})(Object.getOwnPropertyNames(e.prototype));try{for(o.s();!(n=o.n()).done;){var a=n.value;a==="constructor"||a==="bindMethods"||(r[a]=r[a].bind(r))}}catch(u){o.e(u)}finally{o.f()}}}],s&&Bt(i.prototype,s),t&&Bt(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,s,t})();Y(at,"noop",(function(){}));var V=at;function F(i){return F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},F(i)}function tt(i,s){for(var t=0;t<s.length;t++){var e=s[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,Et(e.key),e)}}function nt(i,s,t){return(s=Et(s))in i?Object.defineProperty(i,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[s]=t,i}function Et(i){var s=(function(t,e){if(F(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(F(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)})(i,"string");return F(s)=="symbol"?s:s+""}var Mt=(function(){return i=function e(r){var n=this,o=r.dispatch,a=r.getOptions;(function(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")})(this,e),nt(this,"getOptions",void 0),nt(this,"dispatch",void 0),nt(this,"isModifierKey",(function(u){return u.altKey||u.ctrlKey||u.shiftKey||["Tab","CapsLock","Esc","ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(u.code||u.key||n.keyCodeToKey(u?.keyCode))})),this.dispatch=o,this.getOptions=a,V.bindMethods(e,this)},s=[{key:"handleHighlightKeyDown",value:function(e){var r=this.getOptions();r.physicalKeyboardHighlightPreventDefault&&this.isModifierKey(e)&&(e.preventDefault(),e.stopImmediatePropagation());var n=this.getSimpleKeyboardLayoutKey(e);this.dispatch((function(o){var a,u,c=o.getButtonElement(n),l=o.getButtonElement("{".concat(n,"}"));if(c)a=c,u=n;else{if(!l)return;a=l,u="{".concat(n,"}")}var d,v,p,f,g=function(y){y.style.background=r.physicalKeyboardHighlightBgColor||"#dadce4",y.style.color=r.physicalKeyboardHighlightTextColor||"black"};if(a)if(Array.isArray(a)){if(a.forEach((function(y){return g(y)})),r.physicalKeyboardHighlightPress)if(r.physicalKeyboardHighlightPressUsePointerEvents)(d=a[0])===null||d===void 0||(v=d.onpointerdown)===null||v===void 0||v.call(d,e);else if(r.physicalKeyboardHighlightPressUseClick){var h;(h=a[0])===null||h===void 0||h.click()}else o.handleButtonClicked(u,e)}else g(a),r.physicalKeyboardHighlightPress&&(r.physicalKeyboardHighlightPressUsePointerEvents?(p=a)===null||p===void 0||(f=p.onpointerdown)===null||f===void 0||f.call(p,e):r.physicalKeyboardHighlightPressUseClick?a.click():o.handleButtonClicked(u,e))}))}},{key:"handleHighlightKeyUp",value:function(e){var r=this.getOptions();r.physicalKeyboardHighlightPreventDefault&&this.isModifierKey(e)&&(e.preventDefault(),e.stopImmediatePropagation());var n=this.getSimpleKeyboardLayoutKey(e);this.dispatch((function(o){var a,u,c,l=o.getButtonElement(n)||o.getButtonElement("{".concat(n,"}")),d=function(v){v.removeAttribute&&v.removeAttribute("style")};l&&(Array.isArray(l)?(l.forEach((function(v){return d(v)})),r.physicalKeyboardHighlightPressUsePointerEvents&&((a=l[0])===null||a===void 0||(u=a.onpointerup)===null||u===void 0||u.call(a,e))):(d(l),r.physicalKeyboardHighlightPressUsePointerEvents&&(l==null||(c=l.onpointerup)===null||c===void 0||c.call(l,e))))}))}},{key:"getSimpleKeyboardLayoutKey",value:function(e){var r,n="",o=e.code||e.key||this.keyCodeToKey(e?.keyCode);return(n=o!=null&&o.includes("Numpad")||o!=null&&o.includes("Shift")||o!=null&&o.includes("Space")||o!=null&&o.includes("Backspace")||o!=null&&o.includes("Control")||o!=null&&o.includes("Alt")||o!=null&&o.includes("Meta")?e.code||"":e.key||this.keyCodeToKey(e?.keyCode)||"").length>1?(r=n)===null||r===void 0?void 0:r.toLowerCase():n}},{key:"keyCodeToKey",value:function(e){return{8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",91:"Meta",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9",106:"NumpadMultiply",107:"NumpadAdd",109:"NumpadSubtract",110:"NumpadDecimal",111:"NumpadDivide",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}[e]||""}}],s&&tt(i.prototype,s),t&&tt(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,s,t})();function jt(i){return jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},jt(i)}function $t(i,s){for(var t=0;t<s.length;t++){var e=s[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,zt(e.key),e)}}function At(i,s,t){return(s=zt(s))in i?Object.defineProperty(i,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[s]=t,i}function zt(i){var s=(function(t,e){if(jt(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(jt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)})(i,"string");return jt(s)=="symbol"?s:s+""}var Jt=(function(){return i=function e(r){var n=r.utilities,o=r.options;(function(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")})(this,e),At(this,"utilities",void 0),At(this,"options",void 0),At(this,"candidateBoxElement",void 0),At(this,"pageIndex",0),At(this,"pageSize",void 0),this.utilities=n,this.options=o,V.bindMethods(e,this),this.pageSize=this.utilities.getOptions().layoutCandidatesPageSize||5},s=[{key:"destroy",value:function(){this.candidateBoxElement&&(this.candidateBoxElement.remove(),this.pageIndex=0)}},{key:"show",value:function(e){var r=this,n=e.candidateValue,o=e.targetElement,a=e.onSelect;if(n&&n.length){var u=this.utilities.chunkArray(n.split(" "),this.pageSize);this.renderPage({candidateListPages:u,targetElement:o,pageIndex:this.pageIndex,nbPages:u.length,onItemSelected:function(c,l){a(c,l),r.destroy()}})}}},{key:"renderPage",value:function(e){var r,n=this,o=e.candidateListPages,a=e.targetElement,u=e.pageIndex,c=e.nbPages,l=e.onItemSelected;(r=this.candidateBoxElement)===null||r===void 0||r.remove(),this.candidateBoxElement=document.createElement("div"),this.candidateBoxElement.className="hg-candidate-box";var d=document.createElement("ul");d.className="hg-candidate-box-list",o[u].forEach((function(m){var b,O=document.createElement("li"),w=function(){var S=new(n.options.useTouchEvents?TouchEvent:MouseEvent)("click");return Object.defineProperty(S,"target",{value:O}),S};O.className="hg-candidate-box-list-item",O.innerHTML=((b=n.options.display)===null||b===void 0?void 0:b[m])||m,n.options.useTouchEvents?O.ontouchstart=function(S){return l(m,S||w())}:O.onclick=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:w();return l(m,S)},d.appendChild(O)}));var v=u>0,p=document.createElement("div");p.classList.add("hg-candidate-box-prev"),v&&p.classList.add("hg-candidate-box-btn-active");var f=function(){v&&n.renderPage({candidateListPages:o,targetElement:a,pageIndex:u-1,nbPages:c,onItemSelected:l})};this.options.useTouchEvents?p.ontouchstart=f:p.onclick=f,this.candidateBoxElement.appendChild(p),this.candidateBoxElement.appendChild(d);var g=u<c-1,h=document.createElement("div");h.classList.add("hg-candidate-box-next"),g&&h.classList.add("hg-candidate-box-btn-active");var y=function(){g&&n.renderPage({candidateListPages:o,targetElement:a,pageIndex:u+1,nbPages:c,onItemSelected:l})};this.options.useTouchEvents?h.ontouchstart=y:h.onclick=y,this.candidateBoxElement.appendChild(h),a.prepend(this.candidateBoxElement)}}],s&&$t(i.prototype,s),t&&$t(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,s,t})(),Yt=Jt;function Kt(i){return(function(s){if(Array.isArray(s))return Qt(s)})(i)||(function(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)})(i)||(function(s,t){if(s){if(typeof s=="string")return Qt(s,t);var e={}.toString.call(s).slice(8,-1);return e==="Object"&&s.constructor&&(e=s.constructor.name),e==="Map"||e==="Set"?Array.from(s):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Qt(s,t):void 0}})(i)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
19
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function Qt(i,s){(s==null||s>i.length)&&(s=i.length);for(var t=0,e=Array(s);t<s;t++)e[t]=i[t];return e}function Ut(i){return Ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ut(i)}function ee(i,s){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(i);s&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(i,r).enumerable}))),t.push.apply(t,e)}return t}function re(i,s){for(var t=0;t<s.length;t++){var e=s[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,ne(e.key),e)}}function Z(i,s,t){return(s=ne(s))in i?Object.defineProperty(i,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[s]=t,i}function ne(i){var s=(function(t,e){if(Ut(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(Ut(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)})(i,"string");return Ut(s)=="symbol"?s:s+""}var ce=(function(){return i=function e(r,n){var o=this;if((function(f,g){if(!(f instanceof g))throw new TypeError("Cannot call a class as a function")})(this,e),Z(this,"input",void 0),Z(this,"options",void 0),Z(this,"utilities",void 0),Z(this,"caretPosition",void 0),Z(this,"caretPositionEnd",void 0),Z(this,"keyboardDOM",void 0),Z(this,"keyboardPluginClasses",void 0),Z(this,"keyboardDOMClass",void 0),Z(this,"buttonElements",void 0),Z(this,"currentInstanceName",void 0),Z(this,"allKeyboardInstances",void 0),Z(this,"keyboardInstanceNames",void 0),Z(this,"isFirstKeyboardInstance",void 0),Z(this,"physicalKeyboard",void 0),Z(this,"modules",void 0),Z(this,"activeButtonClass",void 0),Z(this,"holdInteractionTimeout",void 0),Z(this,"holdTimeout",void 0),Z(this,"isMouseHold",void 0),Z(this,"initialized",void 0),Z(this,"candidateBox",void 0),Z(this,"keyboardRowsDOM",void 0),Z(this,"defaultName","default"),Z(this,"activeInputElement",null),Z(this,"handleParams",(function(f,g){var h,y,m;if(typeof f=="string")h=f.split(".").join(""),y=document.querySelector(".".concat(h)),m=g;else if(f instanceof HTMLDivElement){if(!f.className)throw console.warn("Any DOM element passed as parameter must have a class."),new Error("KEYBOARD_DOM_CLASS_ERROR");h=f.className.split(" ")[0],y=f,m=g}else h="simple-keyboard",y=document.querySelector(".".concat(h)),m=f;return{keyboardDOMClass:h,keyboardDOM:y,options:m}})),Z(this,"getOptions",(function(){return o.options})),Z(this,"getCaretPosition",(function(){return o.caretPosition})),Z(this,"getCaretPositionEnd",(function(){return o.caretPositionEnd})),Z(this,"registerModule",(function(f,g){o.modules[f]||(o.modules[f]={}),g(o.modules[f])})),Z(this,"getKeyboardClassString",(function(){for(var f=arguments.length,g=new Array(f),h=0;h<f;h++)g[h]=arguments[h];return[o.keyboardDOMClass].concat(g).filter((function(y){return!!y})).join(" ")})),typeof window<"u"){var a=this.handleParams(r,n),u=a.keyboardDOMClass,c=a.keyboardDOM,l=a.options,d=l===void 0?{}:l;this.utilities=new V({getOptions:this.getOptions,getCaretPosition:this.getCaretPosition,getCaretPositionEnd:this.getCaretPositionEnd,dispatch:this.dispatch}),this.caretPosition=null,this.caretPositionEnd=null,this.keyboardDOM=c,this.options=(function(f){for(var g=1;g<arguments.length;g++){var h=arguments[g]!=null?arguments[g]:{};g%2?ee(Object(h),!0).forEach((function(y){Z(f,y,h[y])})):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(h)):ee(Object(h)).forEach((function(y){Object.defineProperty(f,y,Object.getOwnPropertyDescriptor(h,y))}))}return f})({layoutName:"default",theme:"hg-theme-default",inputName:"default",preventMouseDownDefault:!1,enableLayoutCandidates:!0,excludeFromLayout:{}},d),this.keyboardPluginClasses="",V.bindMethods(e,this);var v=this.options.inputName,p=v===void 0?this.defaultName:v;if(this.input={},this.input[p]="",this.keyboardDOMClass=u,this.buttonElements={},window.SimpleKeyboardInstances||(window.SimpleKeyboardInstances={}),this.currentInstanceName=this.utilities.camelCase(this.keyboardDOMClass),window.SimpleKeyboardInstances[this.currentInstanceName]=this,this.allKeyboardInstances=window.SimpleKeyboardInstances,this.keyboardInstanceNames=Object.keys(window.SimpleKeyboardInstances),this.isFirstKeyboardInstance=this.keyboardInstanceNames[0]===this.currentInstanceName,this.physicalKeyboard=new Mt({dispatch:this.dispatch,getOptions:this.getOptions}),this.candidateBox=this.options.enableLayoutCandidates?new Yt({utilities:this.utilities,options:this.options}):null,!this.keyboardDOM)throw console.warn('".'.concat(u,'" was not found in the DOM.')),new Error("KEYBOARD_DOM_ERROR");this.render(),this.modules={},this.loadModules()}},s=[{key:"setCaretPosition",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;this.caretPosition=e,this.caretPositionEnd=r}},{key:"getInputCandidates",value:function(e){var r=this,n=this.options,o=n.layoutCandidates,a=n.layoutCandidatesCaseSensitiveMatch;if(!o||Ut(o)!=="object")return{};var u=Object.keys(o).filter((function(d){var v=e.substring(0,r.getCaretPositionEnd()||0)||e,p=new RegExp("".concat(r.utilities.escapeRegex(d),"$"),a?"g":"gi");return!!Kt(v.matchAll(p)).length}));if(u.length>1){var c=u.sort((function(d,v){return v.length-d.length}))[0];return{candidateKey:c,candidateValue:o[c]}}if(u.length){var l=u[0];return{candidateKey:l,candidateValue:o[l]}}return{}}},{key:"showCandidatesBox",value:function(e,r,n){var o=this;this.candidateBox&&this.candidateBox.show({candidateValue:r,targetElement:n,onSelect:function(a,u){var c=o.options,l=c.layoutCandidatesCaseSensitiveMatch,d=c.disableCandidateNormalization,v=c.enableLayoutCandidatesKeyPress,p=a;d||(p=a.normalize("NFD")),typeof o.options.beforeInputUpdate=="function"&&o.options.beforeInputUpdate(o);var f=o.getInput(o.options.inputName,!0),g=o.getCaretPositionEnd()||0,h=f.substring(0,g||0)||f,y=new RegExp("".concat(o.utilities.escapeRegex(e),"$"),l?"g":"gi"),m=h.replace(y,p),b=f.replace(h,m),O=m.length-h.length,w=(g||f.length)+O;w<0&&(w=0),o.setInput(b,o.options.inputName,!0),o.setCaretPosition(w),v&&typeof o.options.onKeyPress=="function"&&o.options.onKeyPress(a,u),typeof o.options.onChange=="function"&&o.options.onChange(o.getInput(o.options.inputName,!0),u),typeof o.options.onChangeAll=="function"&&o.options.onChangeAll(o.getAllInputs(),u)}})}},{key:"handleButtonClicked",value:function(e,r){var n=this.options,o=n.inputName,a=o===void 0?this.defaultName:o,u=n.debug;if(e!=="{//}"){this.input[a]||(this.input[a]=""),typeof this.options.beforeInputUpdate=="function"&&this.options.beforeInputUpdate(this);var c=this.utilities.getUpdatedInput(e,this.input[a],this.caretPosition,this.caretPositionEnd);if(this.utilities.isStandardButton(e)&&this.activeInputElement&&this.input[a]&&this.input[a]===c&&this.caretPosition===0&&this.caretPositionEnd===c.length)return this.setInput("",this.options.inputName,!0),this.setCaretPosition(0),this.activeInputElement.value="",this.activeInputElement.setSelectionRange(0,0),void this.handleButtonClicked(e,r);if(typeof this.options.onKeyPress=="function"&&this.options.onKeyPress(e,r),this.input[a]!==c&&(!this.options.inputPattern||this.options.inputPattern&&this.inputPatternIsValid(c))){if(this.options.maxLength&&this.utilities.handleMaxLength(this.input,c))return;var l=this.utilities.getUpdatedInput(e,this.input[a],this.caretPosition,this.caretPositionEnd,!0);if(this.setInput(l,this.options.inputName,!0),u&&console.log("Input changed:",this.getAllInputs()),this.options.debug&&console.log("Caret at: ",this.getCaretPosition(),this.getCaretPositionEnd(),"(".concat(this.keyboardDOMClass,")"),r?.type),this.options.syncInstanceInputs&&this.syncInstanceInputs(),typeof this.options.onChange=="function"&&this.options.onChange(this.getInput(this.options.inputName,!0),r),typeof this.options.onChangeAll=="function"&&this.options.onChangeAll(this.getAllInputs(),r),r!=null&&r.target&&this.options.enableLayoutCandidates){var d,v=this.getInputCandidates(c),p=v.candidateKey,f=v.candidateValue;p&&f?this.showCandidatesBox(p,f,this.keyboardDOM):(d=this.candidateBox)===null||d===void 0||d.destroy()}}this.caretPositionEnd&&this.caretPosition!==this.caretPositionEnd&&(this.setCaretPosition(this.caretPositionEnd,this.caretPositionEnd),this.activeInputElement&&this.activeInputElement.setSelectionRange(this.caretPositionEnd,this.caretPositionEnd),this.options.debug&&console.log("Caret position aligned",this.caretPosition)),u&&console.log("Key pressed:",e)}}},{key:"getMouseHold",value:function(){return this.isMouseHold}},{key:"setMouseHold",value:function(e){this.options.syncInstanceInputs?this.dispatch((function(r){r.isMouseHold=e})):this.isMouseHold=e}},{key:"handleButtonMouseDown",value:function(e,r){var n=this;r&&(this.options.preventMouseDownDefault&&r.preventDefault(),this.options.stopMouseDownPropagation&&r.stopPropagation(),r.target.classList.add(this.activeButtonClass)),this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),this.holdTimeout&&clearTimeout(this.holdTimeout),this.setMouseHold(!0),this.options.disableButtonHold||(this.holdTimeout=window.setTimeout((function(){(n.getMouseHold()&&(!e.includes("{")&&!e.includes("}")||e==="{delete}"||e==="{backspace}"||e==="{bksp}"||e==="{space}"||e==="{tab}")||e==="{arrowright}"||e==="{arrowleft}"||e==="{arrowup}"||e==="{arrowdown}")&&(n.options.debug&&console.log("Button held:",e),n.handleButtonHold(e)),clearTimeout(n.holdTimeout)}),500))}},{key:"handleButtonMouseUp",value:function(e,r){var n=this;r&&(this.options.preventMouseUpDefault&&r.preventDefault&&r.preventDefault(),this.options.stopMouseUpPropagation&&r.stopPropagation&&r.stopPropagation(),!(r.target===this.keyboardDOM||r.target&&this.keyboardDOM.contains(r.target)||this.candidateBox&&this.candidateBox.candidateBoxElement&&(r.target===this.candidateBox.candidateBoxElement||r.target&&this.candidateBox.candidateBoxElement.contains(r.target)))&&this.candidateBox&&this.candidateBox.destroy()),this.recurseButtons((function(o){o.classList.remove(n.activeButtonClass)})),this.setMouseHold(!1),this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),e&&typeof this.options.onKeyReleased=="function"&&this.options.onKeyReleased(e,r)}},{key:"handleKeyboardContainerMouseDown",value:function(e){this.options.preventMouseDownDefault&&e.preventDefault()}},{key:"handleButtonHold",value:function(e){var r=this;this.holdInteractionTimeout&&clearTimeout(this.holdInteractionTimeout),this.holdInteractionTimeout=window.setTimeout((function(){r.getMouseHold()?(r.handleButtonClicked(e),r.handleButtonHold(e)):clearTimeout(r.holdInteractionTimeout)}),100)}},{key:"syncInstanceInputs",value:function(){var e=this;this.dispatch((function(r){r.replaceInput(e.input),r.setCaretPosition(e.caretPosition,e.caretPositionEnd)}))}},{key:"clearInput",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.inputName||this.defaultName;this.input[e]="",this.setCaretPosition(0),this.options.syncInstanceInputs&&this.syncInstanceInputs()}},{key:"getInput",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.inputName||this.defaultName,r=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.options.syncInstanceInputs&&!r&&this.syncInstanceInputs(),this.options.rtl?""+this.input[e].replace("","").replace("","")+"":this.input[e]}},{key:"getAllInputs",value:function(){var e=this,r={};return Object.keys(this.input).forEach((function(n){r[n]=e.getInput(n,!0)})),r}},{key:"setInput",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.inputName||this.defaultName,n=arguments.length>2?arguments[2]:void 0;this.input[r]=e,!n&&this.options.syncInstanceInputs&&this.syncInstanceInputs()}},{key:"replaceInput",value:function(e){this.input=e}},{key:"setOptions",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=this.changedOptions(e);this.options=Object.assign(this.options,e),r.length&&(this.options.debug&&console.log("changedOptions",r),this.onSetOptions(r),this.render())}},{key:"changedOptions",value:function(e){var r=this;return Object.keys(e).filter((function(n){return JSON.stringify(e[n])!==JSON.stringify(r.options[n])}))}},{key:"onSetOptions",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];e.includes("layoutName")&&this.candidateBox&&this.candidateBox.destroy(),(e.includes("layoutCandidatesPageSize")||e.includes("layoutCandidates"))&&this.candidateBox&&(this.candidateBox.destroy(),this.candidateBox=new Yt({utilities:this.utilities,options:this.options}))}},{key:"resetRows",value:function(){this.keyboardRowsDOM&&this.keyboardRowsDOM.remove(),this.keyboardDOM.className=this.keyboardDOMClass,this.keyboardDOM.setAttribute("data-skInstance",this.currentInstanceName),this.buttonElements={}}},{key:"dispatch",value:function(e){if(!window.SimpleKeyboardInstances)throw console.warn("SimpleKeyboardInstances is not defined. Dispatch cannot be called."),new Error("INSTANCES_VAR_ERROR");return Object.keys(window.SimpleKeyboardInstances).forEach((function(r){e(window.SimpleKeyboardInstances[r],r)}))}},{key:"addButtonTheme",value:function(e,r){var n=this;r&&e&&(e.split(" ").forEach((function(o){r.split(" ").forEach((function(a){n.options.buttonTheme||(n.options.buttonTheme=[]);var u=!1;n.options.buttonTheme.map((function(c){if(c!=null&&c.class.split(" ").includes(a)){u=!0;var l=c.buttons.split(" ");l.includes(o)||(u=!0,l.push(o),c.buttons=l.join(" "))}return c})),u||n.options.buttonTheme.push({class:a,buttons:e})}))})),this.render())}},{key:"removeButtonTheme",value:function(e,r){var n=this;if(!e&&!r)return this.options.buttonTheme=[],void this.render();e&&Array.isArray(this.options.buttonTheme)&&this.options.buttonTheme.length&&(e.split(" ").forEach((function(o){var a;(a=n.options)===null||a===void 0||(a=a.buttonTheme)===null||a===void 0||a.map((function(u,c){if(u&&r&&r.includes(u.class)||!r){var l,d,v=(l=u)===null||l===void 0?void 0:l.buttons.split(" ").filter((function(p){return p!==o}));u&&v!=null&&v.length?u.buttons=v.join(" "):((d=n.options.buttonTheme)===null||d===void 0||d.splice(c,1),u=null)}return u}))})),this.render())}},{key:"getButtonElement",value:function(e){var r,n=this.buttonElements[e];return n&&(r=n.length>1?n:n[0]),r}},{key:"inputPatternIsValid",value:function(e){var r,n=this.options.inputPattern;if((r=n instanceof RegExp?n:n[this.options.inputName||this.defaultName])&&e){var o=r.test(e);return this.options.debug&&console.log('inputPattern ("'.concat(r,'"): ').concat(o?"passed":"did not pass!")),o}return!0}},{key:"setEventListeners",value:function(){if(this.isFirstKeyboardInstance||!this.allKeyboardInstances){this.options.debug&&console.log("Caret handling started (".concat(this.keyboardDOMClass,")"));var e=this.options.physicalKeyboardHighlightPreventDefault,r=e!==void 0&&e;document.addEventListener("keyup",this.handleKeyUp,r),document.addEventListener("keydown",this.handleKeyDown,r),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("touchend",this.handleTouchEnd),this.options.updateCaretOnSelectionChange&&document.addEventListener("selectionchange",this.handleSelectionChange),document.addEventListener("select",this.handleSelect)}}},{key:"handleKeyUp",value:function(e){this.caretEventHandler(e),this.options.physicalKeyboardHighlight&&this.physicalKeyboard.handleHighlightKeyUp(e)}},{key:"handleKeyDown",value:function(e){this.options.physicalKeyboardHighlight&&this.physicalKeyboard.handleHighlightKeyDown(e)}},{key:"handleMouseUp",value:function(e){this.caretEventHandler(e)}},{key:"handleTouchEnd",value:function(e){this.caretEventHandler(e)}},{key:"handleSelect",value:function(e){this.caretEventHandler(e)}},{key:"handleSelectionChange",value:function(e){navigator.userAgent.includes("Firefox")||this.caretEventHandler(e)}},{key:"caretEventHandler",value:function(e){var r,n=this;e.target.tagName&&(r=e.target.tagName.toLowerCase()),this.dispatch((function(o){var a=e.target===o.keyboardDOM||e.target&&o.keyboardDOM.contains(e.target);if(n.options.syncInstanceInputs&&Array.isArray(e.path)&&(a=e.path.some((function(l){var d;return l==null||(d=l.hasAttribute)===null||d===void 0?void 0:d.call(l,"data-skInstance")}))),(r==="textarea"||r==="input"&&["text","search","url","tel","password"].includes(e.target.type))&&!o.options.disableCaretPositioning){var u=e.target.selectionStart,c=e.target.selectionEnd;o.options.rtl&&(u=o.utilities.getRtlOffset(u,o.getInput()),c=o.utilities.getRtlOffset(c,o.getInput())),o.setCaretPosition(u,c),o.activeInputElement=e.target,o.options.debug&&console.log("Caret at: ",o.getCaretPosition(),o.getCaretPositionEnd(),e&&e.target.tagName.toLowerCase(),"(".concat(o.keyboardDOMClass,")"),e?.type)}else!o.options.disableCaretPositioning&&a||e?.type==="selectionchange"||(o.setCaretPosition(null),o.activeInputElement=null,o.options.debug&&console.log('Caret position reset due to "'.concat(e?.type,'" event'),e))}))}},{key:"recurseButtons",value:function(e){var r=this;e&&Object.keys(this.buttonElements).forEach((function(n){return r.buttonElements[n].forEach(e)}))}},{key:"destroy",value:function(){this.options.debug&&console.log("Destroying simple-keyboard instance: ".concat(this.currentInstanceName));var e=this.options.physicalKeyboardHighlightPreventDefault,r=e!==void 0&&e;document.removeEventListener("keyup",this.handleKeyUp,r),document.removeEventListener("keydown",this.handleKeyDown,r),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("touchend",this.handleTouchEnd),document.removeEventListener("select",this.handleSelect),this.options.updateCaretOnSelectionChange&&document.removeEventListener("selectionchange",this.handleSelectionChange),document.onpointerup=null,document.ontouchend=null,document.ontouchcancel=null,document.onmouseup=null,this.recurseButtons((function(n){n&&(n.onpointerdown=null,n.onpointerup=null,n.onpointercancel=null,n.ontouchstart=null,n.ontouchend=null,n.ontouchcancel=null,n.onclick=null,n.onmousedown=null,n.onmouseup=null,n.remove(),n=null)})),this.keyboardDOM.onpointerdown=null,this.keyboardDOM.ontouchstart=null,this.keyboardDOM.onmousedown=null,this.resetRows(),this.candidateBox&&(this.candidateBox.destroy(),this.candidateBox=null),this.activeInputElement=null,this.keyboardDOM.removeAttribute("data-skInstance"),this.keyboardDOM.innerHTML="",window.SimpleKeyboardInstances[this.currentInstanceName]=null,delete window.SimpleKeyboardInstances[this.currentInstanceName],this.initialized=!1}},{key:"getButtonThemeClasses",value:function(e){var r=this.options.buttonTheme,n=[];return Array.isArray(r)&&r.forEach((function(o){if(o&&o.class&&typeof o.class=="string"&&o.buttons&&typeof o.buttons=="string"){var a=o.class.split(" ");o.buttons.split(" ").includes(e)&&(n=[].concat(Kt(n),Kt(a)))}else console.warn('Incorrect "buttonTheme". Please check the documentation.',o)})),n}},{key:"setDOMButtonAttributes",value:function(e,r){var n=this.options.buttonAttributes;Array.isArray(n)&&n.forEach((function(o){o.attribute&&typeof o.attribute=="string"&&o.value&&typeof o.value=="string"?o.buttons&&typeof o.buttons=="string"?o.buttons.split(" ").includes(e)&&r(o.attribute,o.value):r(o.attribute,o.value):console.warn('Incorrect "buttonAttributes". Please check the documentation.',o)}))}},{key:"onTouchDeviceDetected",value:function(){this.processAutoTouchEvents(),this.disableContextualWindow()}},{key:"disableContextualWindow",value:function(){window.oncontextmenu=function(e){var r;if((r=e.target.classList)!==null&&r!==void 0&&r.contains("hg-button"))return e.preventDefault(),e.stopPropagation(),!1}}},{key:"processAutoTouchEvents",value:function(){this.options.autoUseTouchEvents&&(this.options.useTouchEvents=!0,this.options.debug&&console.log("autoUseTouchEvents: Touch device detected, useTouchEvents enabled."))}},{key:"onInit",value:function(){this.options.debug&&console.log("".concat(this.keyboardDOMClass," Initialized")),this.setEventListeners(),typeof this.options.onInit=="function"&&this.options.onInit(this)}},{key:"beforeFirstRender",value:function(){this.utilities.isTouchDevice()&&this.onTouchDeviceDetected(),typeof this.options.beforeFirstRender=="function"&&this.options.beforeFirstRender(this),this.isFirstKeyboardInstance&&this.utilities.pointerEventsSupported()&&!this.options.useTouchEvents&&!this.options.useMouseEvents&&this.options.debug&&console.log("Using PointerEvents as it is supported by this browser"),this.options.useTouchEvents&&this.options.debug&&console.log("useTouchEvents has been enabled. Only touch events will be used.")}},{key:"beforeRender",value:function(){typeof this.options.beforeRender=="function"&&this.options.beforeRender(this)}},{key:"onRender",value:function(){typeof this.options.onRender=="function"&&this.options.onRender(this)}},{key:"onModulesLoaded",value:function(){typeof this.options.onModulesLoaded=="function"&&this.options.onModulesLoaded(this)}},{key:"loadModules",value:function(){var e=this;Array.isArray(this.options.modules)&&(this.options.modules.forEach((function(r){var n=e.utilities.isConstructor(r)?new r(e):r(e);n.init&&n.init(e)})),this.keyboardPluginClasses="modules-loaded",this.render(),this.onModulesLoaded())}},{key:"getModuleProp",value:function(e,r){return!!this.modules[e]&&this.modules[e][r]}},{key:"getModulesList",value:function(){return Object.keys(this.modules)}},{key:"parseRowDOMContainers",value:function(e,r,n,o){var a=this,u=Array.from(e.children),c=0;return u.length&&n.forEach((function(l,d){var v=o[d];if(!(v&&v>l))return!1;var p=l-c,f=v-c,g=document.createElement("div");g.className+="hg-button-container";var h="".concat(a.options.layoutName,"-r").concat(r,"c").concat(d);g.setAttribute("data-skUID",h);var y=u.splice(p,f-p+1);c+=f-p,y.forEach((function(m){return g.appendChild(m)})),u.splice(p,0,g),e.innerHTML="",u.forEach((function(m){return e.appendChild(m)})),a.options.debug&&console.log("rowDOMContainer",y,p,f,c+1)})),e}},{key:"render",value:function(){var e=this;this.resetRows(),this.initialized||this.beforeFirstRender(),this.beforeRender();var r="hg-layout-".concat(this.options.layoutName),n=this.options.layout||{default:["` 1 2 3 4 5 6 7 8 9 0 - = {bksp}","{tab} q w e r t y u i o p [ ] \\","{lock} a s d f g h j k l ; ' {enter}","{shift} z x c v b n m , . / {shift}",".com @ {space}"],shift:["~ ! @ # $ % ^ & * ( ) _ + {bksp}","{tab} Q W E R T Y U I O P { } |",'{lock} A S D F G H J K L : " {enter}',"{shift} Z X C V B N M < > ? {shift}",".com @ {space}"]},o=this.options.useTouchEvents||!1,a=o?"hg-touch-events":"",u=this.options.useMouseEvents||!1,c=this.options.disableRowButtonContainers;this.keyboardDOM.className=this.getKeyboardClassString(this.options.theme,r,this.keyboardPluginClasses,a),this.keyboardDOM.setAttribute("data-skInstance",this.currentInstanceName),this.keyboardRowsDOM=document.createElement("div"),this.keyboardRowsDOM.className="hg-rows",n[this.options.layoutName||this.defaultName].forEach((function(l,d){var v=l.split(" ");e.options.excludeFromLayout&&e.options.excludeFromLayout[e.options.layoutName||e.defaultName]&&(v=v.filter((function(h){return e.options.excludeFromLayout&&!e.options.excludeFromLayout[e.options.layoutName||e.defaultName].includes(h)})));var p=document.createElement("div");p.className+="hg-row";var f=[],g=[];v.forEach((function(h,y){var m,b=!c&&typeof h=="string"&&h.length>1&&h.indexOf("[")===0,O=!c&&typeof h=="string"&&h.length>1&&h.indexOf("]")===h.length-1;b&&(f.push(y),h=h.replace(/\[/g,"")),O&&(g.push(y),h=h.replace(/\]/g,""));var w=e.utilities.getButtonClass(h),S=e.utilities.getButtonDisplayName(h,e.options.display,e.options.mergeDisplay),k=e.options.useButtonTag?"button":"div",E=document.createElement(k);E.className+="hg-button ".concat(w),(m=E.classList).add.apply(m,Kt(e.getButtonThemeClasses(h))),e.setDOMButtonAttributes(h,(function(x,B){E.setAttribute(x,B)})),e.activeButtonClass="hg-activeButton",!e.utilities.pointerEventsSupported()||o||u?o?(E.ontouchstart=function(x){e.handleButtonClicked(h,x),e.handleButtonMouseDown(h,x)},E.ontouchend=function(x){e.handleButtonMouseUp(h,x)},E.ontouchcancel=function(x){e.handleButtonMouseUp(h,x)}):(E.onclick=function(x){e.setMouseHold(!1),typeof e.options.onKeyReleased=="function"||e.options.useMouseEvents&&e.options.clickOnMouseDown||e.handleButtonClicked(h,x)},E.onmousedown=function(x){(typeof e.options.onKeyReleased=="function"||e.options.useMouseEvents&&e.options.clickOnMouseDown)&&!e.isMouseHold&&e.handleButtonClicked(h,x),e.handleButtonMouseDown(h,x)},E.onmouseup=function(x){e.handleButtonMouseUp(h,x)}):(E.onpointerdown=function(x){e.handleButtonClicked(h,x),e.handleButtonMouseDown(h,x)},E.onpointerup=function(x){e.handleButtonMouseUp(h,x)},E.onpointercancel=function(x){e.handleButtonMouseUp(h,x)}),E.setAttribute("data-skBtn",h);var P="".concat(e.options.layoutName,"-r").concat(d,"b").concat(y);E.setAttribute("data-skBtnUID",P);var I=document.createElement("span");I.innerHTML=S,E.appendChild(I),e.buttonElements[h]||(e.buttonElements[h]=[]),e.buttonElements[h].push(E),p.appendChild(E)})),p=e.parseRowDOMContainers(p,d,f,g),e.keyboardRowsDOM.appendChild(p)})),this.keyboardDOM.appendChild(this.keyboardRowsDOM),this.onRender(),this.initialized||(this.initialized=!0,!this.utilities.pointerEventsSupported()||o||u?o?(document.ontouchend=function(l){return e.handleButtonMouseUp(void 0,l)},document.ontouchcancel=function(l){return e.handleButtonMouseUp(void 0,l)},this.keyboardDOM.ontouchstart=function(l){return e.handleKeyboardContainerMouseDown(l)}):o||(document.onmouseup=function(l){return e.handleButtonMouseUp(void 0,l)},this.keyboardDOM.onmousedown=function(l){return e.handleKeyboardContainerMouseDown(l)}):(document.onpointerup=function(l){return e.handleButtonMouseUp(void 0,l)},this.keyboardDOM.onpointerdown=function(l){return e.handleKeyboardContainerMouseDown(l)}),this.onInit())}}],s&&re(i.prototype,s),t&&re(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,s,t})(),oe=ce,le=oe;return pt})()},442:function(W){W.exports=Zt}},te={};function xt(W){var ut=te[W];if(ut!==void 0)return ut.exports;var it=te[W]={exports:{}};return qt[W].call(it.exports,it,it.exports,xt),it.exports}xt.n=function(W){var ut=W&&W.__esModule?function(){return W.default}:function(){return W};return xt.d(ut,{a:ut}),ut},xt.d=function(W,ut){for(var it in ut)xt.o(ut,it)&&!xt.o(W,it)&&Object.defineProperty(W,it,{enumerable:!0,get:ut[it]})},xt.o=function(W,ut){return Object.prototype.hasOwnProperty.call(W,ut)},xt.r=function(W){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(W,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(W,"__esModule",{value:!0})};var Xt={};return(function(){xt.r(Xt),xt.d(Xt,{KeyboardReact:function(){return bt},default:function(){return Bt}}),xt(981);var W=xt(442),ut=xt(548),it=xt.n(ut);function D(Y){return D=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(rt){return typeof rt}:function(rt){return rt&&typeof Symbol=="function"&&rt.constructor===Symbol&&rt!==Symbol.prototype?"symbol":typeof rt},D(Y)}function pt(Y,rt){var at=Object.keys(Y);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(Y);rt&&(V=V.filter((function(F){return Object.getOwnPropertyDescriptor(Y,F).enumerable}))),at.push.apply(at,V)}return at}function vt(Y){for(var rt=1;rt<arguments.length;rt++){var at=arguments[rt]!=null?arguments[rt]:{};rt%2?pt(Object(at),!0).forEach((function(V){Ot(Y,V,at[V])})):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(at)):pt(Object(at)).forEach((function(V){Object.defineProperty(Y,V,Object.getOwnPropertyDescriptor(at,V))}))}return Y}function Ot(Y,rt,at){return(rt=(function(V){var F=(function(tt,nt){if(D(tt)!="object"||!tt)return tt;var Et=tt[Symbol.toPrimitive];if(Et!==void 0){var Mt=Et.call(tt,nt);if(D(Mt)!="object")return Mt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(nt==="string"?String:Number)(tt)})(V,"string");return D(F)=="symbol"?F:F+""})(rt))in Y?Object.defineProperty(Y,rt,{value:at,enumerable:!0,configurable:!0,writable:!0}):Y[rt]=at,Y}var It=function(Y){return vt(vt({},Y),{},{keyboardRef:null})},bt=function(Y){var rt=Y.baseClass||"react-simple-keyboard",at=W.useRef(null),V=W.useRef(null),F=W.useRef(null),tt=W.useRef(Y);return W.useEffect((function(){return function(){F.current&&F.current.destroy(),at.current=!1}}),[]),W.useEffect((function(){var nt=(function(At){return vt(vt({},At),{},{theme:"simple-keyboard ".concat(At.theme||"hg-theme-default")})})(Y);if(!at.current){at.current=!0,nt.debug&&console.log("ReactSimpleKeyboard: Init");var Et=V.current,Mt=".".concat(rt);F.current=new(it())(Et||Mt,nt),nt.keyboardRef&&nt.keyboardRef(F.current)}var jt=(function(At,zt){var Jt=It(zt),Yt=It(At);return Object.keys(Jt).filter((function(Kt){return Jt[Kt]!==Yt[Kt]}))})(tt.current,nt);if(jt.length){var $t=F.current;tt.current=nt,$t?.setOptions(nt),nt.debug&&console.log("ReactSimpleKeyboard - setOptions called due to updated props:",jt)}}),[at,rt,tt,Y]),W.createElement("div",{className:rt,ref:V})},Bt=bt})(),Xt})()}))})(Wt)),Wt.exports}var ve=he();const be=fe(ve);export{be as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as r}from"./_commonjsHelpers.Cpj98o6Y.js";import{r as t}from"./index.ChsGqxH_.js";var e=t();const s=r(e);export{s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{o as c,l as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},t={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","and","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","between","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condense","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","equiv","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","find","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","in","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","insert","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","lines","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","match","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","no-scrolling","no-sign","no-title","no-topofpage","no-zero","node","nodes","non-unicode","non-unique","not","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","or","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replace","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","table","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","translate","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abap_system_timezone","abap_user_timezone","access","action","adabas","adjust_numbers","allow_precision_loss","allowed","amdp","applicationuser","as_geo_json","as400","associations","balance","behavior","breakup","bulk","cds","cds_client","check_before_save","child","clients","corr","corr_spearman","cross","cycles","datn_add_days","datn_add_months","datn_days_between","dats_from_datn","dats_tims_to_tstmp","dats_to_datn","db2","db6","ddl","dense_rank","depth","deterministic","discarding","entities","entity","error","failed","finalize","first_value","fltp_to_dec","following","fractional","full","graph","grouping","hierarchy","hierarchy_ancestors","hierarchy_ancestors_aggregate","hierarchy_descendants","hierarchy_descendants_aggregate","hierarchy_siblings","incremental","indicators","lag","last_value","lead","leaves","like_regexpr","link","locale_sap","lock","locks","many","mapped","matched","measures","median","mssqlnt","multiple","nodetype","ntile","nulls","occurrences_regexpr","one","operations","oracle","orphans","over","parent","parents","partition","pcre","period","pfcg_mapping","preceding","privileged","product","projection","rank","redirected","replace_regexpr","reported","response","responses","root","row","row_number","sap_system_date","save","schema","session","sets","shortdump","siblings","spantree","start","stddev","string_agg","subtotal","sybase","tims_from_timn","tims_to_timn","to_blob","to_clob","total","trace-entry","tstmp_to_dats","tstmp_to_dst","tstmp_to_tims","tstmpl_from_utcl","tstmpl_to_utcl","unbounded","utcl_add_seconds","utcl_current","utcl_seconds_between","uuid","var","verbatim"],builtinFunctions:["abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","ipow","line_exists","line_index","log","log10","matches","nmax","nmin","numofchar","repeat","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","accp","char","clnt","cuky","curr","datn","dats","d16d","d16n","d16r","d34d","d34n","d34r","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","geom_ewkb","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","timn","tims","unit","utcl","df16_scl","df34_scl","prec","varc","abap_bool","abap_false","abap_true","abap_undefined","me","screen","space","super","sy","syst","table_line","*sys*"],builtinMethods:["class_constructor","constructor"],derivedTypes:["%CID","%CID_REF","%CONTROL","%DATA","%ELEMENT","%FAIL","%KEY","%MSG","%PARAM","%PID","%PID_ASSOC","%PID_PARENT","%_HINTS"],cdsLanguage:["@AbapAnnotation","@AbapCatalog","@AccessControl","@API","@ClientDependent","@ClientHandling","@CompatibilityContract","@DataAging","@EndUserText","@Environment","@LanguageDependency","@MappingRole","@Metadata","@MetadataExtension","@ObjectModel","@Scope","@Semantics","$EXTENSION","$SELF"],selectors:["->","->*","=>","~","~*"],operators:[" +"," -","/","*","**","div","mod","=","#","@","+=","-=","*=","/=","**=","&&=","?=","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","<"," >","<=",">=","<>","><","=<","=>","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","le","lt","na","nb","ne","np","ns","*/","*:","--","/*","//"],symbols:/[=><!~?&+\-*\/\^%#@]+/,tokenizer:{root:[[/[a-z_\/$%@]([\w\/$%]|-(?!>))*/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@cdsLanguage":"annotation","@derivedTypes":"type","@builtinFunctions":"type","@builtinMethods":"type","@operators":"key","@default":"identifier"}}],[/<[\w]+>/,"identifier"],[/##[\w|_]+/,"comment"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@selectors":"tag","@operators":"key","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},s=["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"],o=e=>e.charAt(0).toUpperCase()+e.substr(1);let t=[];s.forEach(e=>{t.push(e),t.push(e.toUpperCase()),t.push(o(e))});const i={defaultToken:"",tokenPostfix:".apex",keywords:t,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}};export{n as conf,i as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={comments:{lineComment:"#"}},t={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}};export{e as conf,s as language};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const n=e=>`\\b${e}\\b`,t="[_a-zA-Z]",o="[_a-zA-Z0-9]",i=n(`${t}${o}*`),r=["targetScope","resource","module","param","var","output","for","in","if","existing"],s=["true","false","null"],c="[ \\t\\r\\n]",a="[0-9]+",g={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:"'''",close:"'''"}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:"'''",close:"'''",notIn:["string","comment"]}],autoCloseBefore:`:.,=}])'
|
|
2
|
+
`,indentationRules:{increaseIndentPattern:new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),decreaseIndentPattern:new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")}},l={defaultToken:"",tokenPostfix:".bicep",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],symbols:/[=><!~?:&|+\-*/^%]+/,keywords:r,namedLiterals:s,escapes:"\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)",tokenizer:{root:[{include:"@expression"},{include:"@whitespace"}],stringVerbatim:[{regex:"(|'|'')[^']",action:{token:"string"}},{regex:"'''",action:{token:"string.quote",next:"@pop"}}],stringLiteral:[{regex:"\\${",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"[^\\\\'$]+",action:{token:"string"}},{regex:"@escapes",action:{token:"string.escape"}},{regex:"\\\\.",action:{token:"string.escape.invalid"}},{regex:"'",action:{token:"string",next:"@pop"}}],bracketCounting:[{regex:"{",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"}",action:{token:"delimiter.bracket",next:"@pop"}},{include:"expression"}],comment:[{regex:"[^\\*]+",action:{token:"comment"}},{regex:"\\*\\/",action:{token:"comment",next:"@pop"}},{regex:"[\\/*]",action:{token:"comment"}}],whitespace:[{regex:c},{regex:"\\/\\*",action:{token:"comment",next:"@comment"}},{regex:"\\/\\/.*$",action:{token:"comment"}}],expression:[{regex:"'''",action:{token:"string.quote",next:"@stringVerbatim"}},{regex:"'",action:{token:"string.quote",next:"@stringLiteral"}},{regex:a,action:{token:"number"}},{regex:i,action:{cases:{"@keywords":{token:"keyword"},"@namedLiterals":{token:"keyword"},"@default":{token:"identifier"}}}}]}};export{g as conf,l as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}]},o={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","assert","block","Bytes","case","Crypto","Current","else","failwith","false","for","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","record","Set","set","sender","skip","source","String","then","to","true","type","with"],typeKeywords:["int","unit","string","tz","nat","bool"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-","&&","||"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};export{e as conf,o as language};
|